You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/3372.6358bfcf.async.js

182 lines
1.5 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!(function(){var hu=Object.defineProperty,gu=Object.defineProperties;var mu=Object.getOwnPropertyDescriptors;var Ms=Object.getOwnPropertySymbols;var wl=Object.prototype.hasOwnProperty,kl=Object.prototype.propertyIsEnumerable;var Ks=Math.pow,Al=(x,c,r)=>c in x?hu(x,c,{enumerable:!0,configurable:!0,writable:!0,value:r}):x[c]=r,Cr=(x,c)=>{for(var r in c||(c={}))wl.call(c,r)&&Al(x,r,c[r]);if(Ms)for(var r of Ms(c))kl.call(c,r)&&Al(x,r,c[r]);return x},ts=(x,c)=>gu(x,mu(c));var Nl=(x,c)=>{var r={};for(var u in x)wl.call(x,u)&&c.indexOf(u)<0&&(r[u]=x[u]);if(x!=null&&Ms)for(var u of Ms(x))c.indexOf(u)<0&&kl.call(x,u)&&(r[u]=x[u]);return r};var js=(x,c,r)=>new Promise((u,y)=>{var v=f=>{try{k(r.next(f))}catch(R){y(R)}},b=f=>{try{k(r.throw(f))}catch(R){y(R)}},k=f=>f.done?u(f.value):Promise.resolve(f.value).then(v,b);k((r=r.apply(x,c)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3372],{78318:function(){"use strict"},44084:function(){"use strict"},99498:function(x,c,r){(function(u){u(r(89780))})(function(u){u.defineOption("placeholder","",function(z,D,I){var ae=I&&I!=u.Init;if(D&&!ae)z.on("blur",k),z.on("change",f),z.on("swapDoc",f),u.on(z.getInputField(),"compositionupdate",z.state.placeholderCompose=function(){b(z)}),f(z);else if(!D&&ae){z.off("blur",k),z.off("change",f),z.off("swapDoc",f),u.off(z.getInputField(),"compositionupdate",z.state.placeholderCompose),y(z);var G=z.getWrapperElement();G.className=G.className.replace(" CodeMirror-empty","")}D&&!z.hasFocus()&&k(z)});function y(z){z.state.placeholder&&(z.state.placeholder.parentNode.removeChild(z.state.placeholder),z.state.placeholder=null)}function v(z){y(z);var D=z.state.placeholder=document.createElement("pre");D.style.cssText="height: 0; overflow: visible",D.style.direction=z.getOption("direction"),D.className="CodeMirror-placeholder CodeMirror-line-like";var I=z.getOption("placeholder");typeof I=="string"&&(I=document.createTextNode(I)),D.appendChild(I),z.display.lineSpace.insertBefore(D,z.display.lineSpace.firstChild)}function b(z){setTimeout(function(){var D=!1,I=z.getInputField();I.nodeName=="TEXTAREA"?D=!I.value:z.lineCount()==1&&(D=!/[^\u200b]/.test(I.querySelector(".CodeMirror-line").textContent)),D?v(z):y(z)},20)}function k(z){R(z)&&v(z)}function f(z){var D=z.getWrapperElement(),I=R(z);D.className=D.className.replace(" CodeMirror-empty","")+(I?" CodeMirror-empty":""),I?v(z):y(z)}function R(z){return z.lineCount()===1&&z.getLine(0)===""}})},25717:function(x,c,r){(function(u){u(r(89780))})(function(u){var y={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},v=u.Pos;u.defineOption("autoCloseBrackets",!1,function(ue,te,X){X&&X!=u.Init&&(ue.removeKeyMap(k),ue.state.closeBrackets=null),te&&(f(b(te,"pairs")),ue.state.closeBrackets=te,ue.addKeyMap(k))});function b(ue,te){return te=="pairs"&&typeof ue=="string"?ue:typeof ue=="object"&&ue[te]!=null?ue[te]:y[te]}var k={Backspace:D,Enter:I};function f(ue){for(var te=0;te<ue.length;te++){var X=ue.charAt(te),q="'"+X+"'";k[q]||(k[q]=R(X))}}f(y.pairs+"`");function R(ue){return function(te){return G(te,ue)}}function z(ue){var te=ue.state.closeBrackets;if(!te||te.override)return te;var X=ue.getModeAt(ue.getCursor());return X.closeBrackets||te}function D(ue){var te=z(ue);if(!te||ue.getOption("disableInput"))return u.Pass;for(var X=b(te,"pairs"),q=ue.listSelections(),Z=0;Z<q.length;Z++){if(!q[Z].empty())return u.Pass;var j=be(ue,q[Z].head);if(!j||X.indexOf(j)%2!=0)return u.Pass}for(var Z=q.length-1;Z>=0;Z--){var P=q[Z].head;ue.replaceRange("",v(P.line,P.ch-1),v(P.line,P.ch+1),"+delete")}}function I(ue){var te=z(ue),X=te&&b(te,"explode");if(!X||ue.getOption("disableInput"))return u.Pass;for(var q=ue.listSelections(),Z=0;Z<q.length;Z++){if(!q[Z].empty())return u.Pass;var j=be(ue,q[Z].head);if(!j||X.indexOf(j)%2!=0)return u.Pass}ue.operation(function(){var P=ue.lineSeparator()||`
`;ue.replaceSelection(P+P,null),ue.execCommand("goCharLeft"),q=ue.listSelections();for(var U=0;U<q.length;U++){var _=q[U].head.line;ue.indentLine(_,null,!0),ue.indentLine(_+1,null,!0)}})}function ae(ue){var te=u.cmpPos(ue.anchor,ue.head)>0;return{anchor:new v(ue.anchor.line,ue.anchor.ch+(te?-1:1)),head:new v(ue.head.line,ue.head.ch+(te?1:-1))}}function G(ue,te){var X=z(ue);if(!X||ue.getOption("disableInput"))return u.Pass;var q=b(X,"pairs"),Z=q.indexOf(te);if(Z==-1)return u.Pass;for(var j=b(X,"closeBefore"),P=b(X,"triples"),U=q.charAt(Z+1)==te,_=ue.listSelections(),J=Z%2==0,de,H=0;H<_.length;H++){var fe=_[H],re=fe.head,V,le=ue.getRange(re,v(re.line,re.ch+1));if(J&&!fe.empty())V="surround";else if((U||!J)&&le==te)U&&ce(ue,re)?V="both":P.indexOf(te)>=0&&ue.getRange(re,v(re.line,re.ch+3))==te+te+te?V="skipThree":V="skip";else if(U&&re.ch>1&&P.indexOf(te)>=0&&ue.getRange(v(re.line,re.ch-2),re)==te+te){if(re.ch>2&&/\bstring/.test(ue.getTokenTypeAt(v(re.line,re.ch-2))))return u.Pass;V="addFour"}else if(U){var ne=re.ch==0?" ":ue.getRange(v(re.line,re.ch-1),re);if(!u.isWordChar(le)&&ne!=te&&!u.isWordChar(ne))V="both";else return u.Pass}else if(J&&(le.length===0||/\s/.test(le)||j.indexOf(le)>-1))V="both";else return u.Pass;if(!de)de=V;else if(de!=V)return u.Pass}var ge=Z%2?q.charAt(Z-1):te,Le=Z%2?te:q.charAt(Z+1);ue.operation(function(){if(de=="skip")ue.execCommand("goCharRight");else if(de=="skipThree")for(var Re=0;Re<3;Re++)ue.execCommand("goCharRight");else if(de=="surround"){for(var Ie=ue.getSelections(),Re=0;Re<Ie.length;Re++)Ie[Re]=ge+Ie[Re]+Le;ue.replaceSelections(Ie,"around"),Ie=ue.listSelections().slice();for(var Re=0;Re<Ie.length;Re++)Ie[Re]=ae(Ie[Re]);ue.setSelections(Ie)}else de=="both"?(ue.replaceSelection(ge+Le,null),ue.triggerElectric(ge+Le),ue.execCommand("goCharLeft")):de=="addFour"&&(ue.replaceSelection(ge+ge+ge+ge,"before"),ue.execCommand("goCharRight"))})}function be(ue,te){var X=ue.getRange(v(te.line,te.ch-1),v(te.line,te.ch+1));return X.length==2?X:null}function ce(ue,te){var X=ue.getTokenAt(v(te.line,te.ch+1));return/\bstring/.test(X.type)&&X.start==te.ch&&(te.ch==0||!/\bstring/.test(ue.getTokenTypeAt(te)))}})},6313:function(x,c,r){(function(u){u(r(89780),r(32855))})(function(u){u.defineOption("autoCloseTags",!1,function(D,I,ae){if(ae!=u.Init&&ae&&D.removeKeyMap("autoCloseTags"),!!I){var G={name:"autoCloseTags"};(typeof I!="object"||I.whenClosing!==!1)&&(G["'/'"]=function(be){return f(be)}),(typeof I!="object"||I.whenOpening!==!1)&&(G["'>'"]=function(be){return b(be)}),D.addKeyMap(G)}});var y=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],v=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function b(D){if(D.getOption("disableInput"))return u.Pass;for(var I=D.listSelections(),ae=[],G=D.getOption("autoCloseTags"),be=0;be<I.length;be++){if(!I[be].empty())return u.Pass;var ce=I[be].head,ue=D.getTokenAt(ce),te=u.innerMode(D.getMode(),ue.state),X=te.state,q=te.mode.xmlCurrentTag&&te.mode.xmlCurrentTag(X),Z=q&&q.name;if(!Z)return u.Pass;var j=te.mode.configuration=="html",P=typeof G=="object"&&G.dontCloseTags||j&&y,U=typeof G=="object"&&G.indentTags||j&&v;ue.end>ce.ch&&(Z=Z.slice(0,Z.length-ue.end+ce.ch));var _=Z.toLowerCase();if(!Z||ue.type=="string"&&(ue.end!=ce.ch||!/[\"\']/.test(ue.string.charAt(ue.string.length-1))||ue.string.length==1)||ue.type=="tag"&&q.close||ue.string.indexOf("/")==ce.ch-ue.start-1||P&&R(P,_)>-1||z(D,te.mode.xmlCurrentContext&&te.mode.xmlCurrentContext(X)||[],Z,ce,!0))return u.Pass;var J=typeof G=="object"&&G.emptyTags;if(J&&R(J,Z)>-1){ae[be]={text:"/>",newPos:u.Pos(ce.line,ce.ch+2)};continue}var de=U&&R(U,_)>-1;ae[be]={indent:de,text:">"+(de?`
`:"")+"</"+Z+">",newPos:de?u.Pos(ce.line+1,0):u.Pos(ce.line,ce.ch+1)}}for(var H=typeof G=="object"&&G.dontIndentOnAutoClose,be=I.length-1;be>=0;be--){var fe=ae[be];D.replaceRange(fe.text,I[be].head,I[be].anchor,"+insert");var re=D.listSelections().slice(0);re[be]={head:fe.newPos,anchor:fe.newPos},D.setSelections(re),!H&&fe.indent&&(D.indentLine(fe.newPos.line,null,!0),D.indentLine(fe.newPos.line+1,null,!0))}}function k(D,I){for(var ae=D.listSelections(),G=[],be=I?"/":"</",ce=D.getOption("autoCloseTags"),ue=typeof ce=="object"&&ce.dontIndentOnSlash,te=0;te<ae.length;te++){if(!ae[te].empty())return u.Pass;var X=ae[te].head,q=D.getTokenAt(X),Z=u.innerMode(D.getMode(),q.state),j=Z.state;if(I&&(q.type=="string"||q.string.charAt(0)!="<"||q.start!=X.ch-1))return u.Pass;var P,U=Z.mode.name!="xml"&&D.getMode().name=="htmlmixed";if(U&&Z.mode.name=="javascript")P=be+"script";else if(U&&Z.mode.name=="css")P=be+"style";else{var _=Z.mode.xmlCurrentContext&&Z.mode.xmlCurrentContext(j);if(!_||_.length&&z(D,_,_[_.length-1],X))return u.Pass;P=be+_[_.length-1]}D.getLine(X.line).charAt(q.end)!=">"&&(P+=">"),G[te]=P}if(D.replaceSelections(G),ae=D.listSelections(),!ue)for(var te=0;te<ae.length;te++)(te==ae.length-1||ae[te].head.line<ae[te+1].head.line)&&D.indentLine(ae[te].head.line)}function f(D){return D.getOption("disableInput")?u.Pass:k(D,!0)}u.commands.closeTag=function(D){return k(D)};function R(D,I){if(D.indexOf)return D.indexOf(I);for(var ae=0,G=D.length;ae<G;++ae)if(D[ae]==I)return ae;return-1}function z(D,I,ae,G,be){if(!u.scanForClosingTag)return!1;var ce=Math.min(D.lastLine()+1,G.line+500),ue=u.scanForClosingTag(D,G,null,ce);if(!ue||ue.tag!=ae)return!1;for(var te=be?1:0,X=I.length-1;X>=0&&I[X]==ae;X--)++te;G=ue.to;for(var X=1;X<te;X++){var q=u.scanForClosingTag(D,G,null,ce);if(!q||q.tag!=ae)return!1;G=q.to}return!0}})},32855:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";var y=u.Pos;function v(X,q){return X.line-q.line||X.ch-q.ch}var b="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",k=b+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",f=new RegExp("<(/?)(["+b+"]["+k+"]*)","g");function R(X,q,Z,j){this.line=q,this.ch=Z,this.cm=X,this.text=X.getLine(q),this.min=j?Math.max(j.from,X.firstLine()):X.firstLine(),this.max=j?Math.min(j.to-1,X.lastLine()):X.lastLine()}function z(X,q){var Z=X.cm.getTokenTypeAt(y(X.line,q));return Z&&/\btag\b/.test(Z)}function D(X){if(!(X.line>=X.max))return X.ch=0,X.text=X.cm.getLine(++X.line),!0}function I(X){if(!(X.line<=X.min))return X.text=X.cm.getLine(--X.line),X.ch=X.text.length,!0}function ae(X){for(;;){var q=X.text.indexOf(">",X.ch);if(q==-1){if(D(X))continue;return}if(!z(X,q+1)){X.ch=q+1;continue}var Z=X.text.lastIndexOf("/",q),j=Z>-1&&!/\S/.test(X.text.slice(Z+1,q));return X.ch=q+1,j?"selfClose":"regular"}}function G(X){for(;;){var q=X.ch?X.text.lastIndexOf("<",X.ch-1):-1;if(q==-1){if(I(X))continue;return}if(!z(X,q+1)){X.ch=q;continue}f.lastIndex=q,X.ch=q;var Z=f.exec(X.text);if(Z&&Z.index==q)return Z}}function be(X){for(;;){f.lastIndex=X.ch;var q=f.exec(X.text);if(!q){if(D(X))continue;return}if(!z(X,q.index+1)){X.ch=q.index+1;continue}return X.ch=q.index+q[0].length,q}}function ce(X){for(;;){var q=X.ch?X.text.lastIndexOf(">",X.ch-1):-1;if(q==-1){if(I(X))continue;return}if(!z(X,q+1)){X.ch=q;continue}var Z=X.text.lastIndexOf("/",q),j=Z>-1&&!/\S/.test(X.text.slice(Z+1,q));return X.ch=q+1,j?"selfClose":"regular"}}function ue(X,q){for(var Z=[];;){var j=be(X),P,U=X.line,_=X.ch-(j?j[0].length:0);if(!j||!(P=ae(X)))return;if(P!="selfClose")if(j[1]){for(var J=Z.length-1;J>=0;--J)if(Z[J]==j[2]){Z.length=J;break}if(J<0&&(!q||q==j[2]))return{tag:j[2],from:y(U,_),to:y(X.line,X.ch)}}else Z.push(j[2])}}function te(X,q){for(var Z=[];;){var j=ce(X);if(!j)return;if(j=="selfClose"){G(X);continue}var P=X.line,U=X.ch,_=G(X);if(!_)return;if(_[1])Z.push(_[2]);else{for(var J=Z.length-1;J>=0;--J)if(Z[J]==_[2]){Z.length=J;break}if(J<0&&(!q||q==_[2]))return{tag:_[2],from:y(X.line,X.ch),to:y(P,U)}}}}u.registerHelper("fold","xml",function(X,q){for(var Z=new R(X,q.line,0);;){var j=be(Z);if(!j||Z.line!=q.line)return;var P=ae(Z);if(!P)return;if(!j[1]&&P!="selfClose"){var U=y(Z.line,Z.ch),_=ue(Z,j[2]);return _&&v(_.from,U)>0?{from:U,to:_.from}:null}}}),u.findMatchingTag=function(X,q,Z){var j=new R(X,q.line,q.ch,Z);if(!(j.text.indexOf(">")==-1&&j.text.indexOf("<")==-1)){var P=ae(j),U=P&&y(j.line,j.ch),_=P&&G(j);if(!(!P||!_||v(j,q)>0)){var J={from:y(j.line,j.ch),to:U,tag:_[2]};return P=="selfClose"?{open:J,close:null,at:"open"}:_[1]?{open:te(j,_[2]),close:J,at:"close"}:(j=new R(X,U.line,U.ch,Z),{open:J,close:ue(j,_[2]),at:"open"})}}},u.findEnclosingTag=function(X,q,Z,j){for(var P=new R(X,q.line,q.ch,Z);;){var U=te(P,j);if(!U)break;var _=new R(X,q.line,q.ch,Z),J=ue(_,U.tag);if(J)return{open:U,close:J}}},u.scanForClosingTag=function(X,q,Z,j){var P=new R(X,q.line,q.ch,j?{from:0,to:j}:null);return ue(P,Z)}})},89780:function(x){(function(c,r){x.exports=r()})(this,function(){"use strict";var c=navigator.userAgent,r=navigator.platform,u=/gecko\/\d/i.test(c),y=/MSIE \d/.test(c),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(c),b=/Edge\/(\d+)/.exec(c),k=y||v||b,f=k&&(y?document.documentMode||6:+(b||v)[1]),R=!b&&/WebKit\//.test(c),z=R&&/Qt\/\d+\.\d+/.test(c),D=!b&&/Chrome\//.test(c),I=/Opera\//.test(c),ae=/Apple Computer/.test(navigator.vendor),G=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(c),be=/PhantomJS/.test(c),ce=!b&&/AppleWebKit/.test(c)&&/Mobile\/\w+/.test(c),ue=/Android/.test(c),te=ce||ue||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(c),X=ce||/Mac/.test(r),q=/\bCrOS\b/.test(c),Z=/win/i.test(r),j=I&&c.match(/Version\/(\d*\.\d*)/);j&&(j=Number(j[1])),j&&j>=15&&(I=!1,R=!0);var P=X&&(z||I&&(j==null||j<12.11)),U=u||k&&f>=9;function _(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var J=function(e,t){var o=e.className,i=_(t).exec(o);if(i){var s=o.slice(i.index+i[0].length);e.className=o.slice(0,i.index)+(s?i[1]+s:"")}};function de(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function H(e,t){return de(e).appendChild(t)}function fe(e,t,o,i){var s=document.createElement(e);if(o&&(s.className=o),i&&(s.style.cssText=i),typeof t=="string")s.appendChild(document.createTextNode(t));else if(t)for(var h=0;h<t.length;++h)s.appendChild(t[h]);return s}function re(e,t,o,i){var s=fe(e,t,o,i);return s.setAttribute("role","presentation"),s}var V;document.createRange?V=function(e,t,o,i){var s=document.createRange();return s.setEnd(i||e,o),s.setStart(e,t),s}:V=function(e,t,o){var i=document.body.createTextRange();try{i.moveToElementText(e.parentNode)}catch(s){return i}return i.collapse(!0),i.moveEnd("character",o),i.moveStart("character",t),i};function le(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function ne(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function ge(e,t){var o=e.className;_(t).test(o)||(e.className+=(o?" ":"")+t)}function Le(e,t){for(var o=e.split(" "),i=0;i<o.length;i++)o[i]&&!_(o[i]).test(t)&&(t+=" "+o[i]);return t}var Re=function(e){e.select()};ce?Re=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:k&&(Re=function(e){try{e.select()}catch(t){}});function Ie(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function He(e,t,o){t||(t={});for(var i in e)e.hasOwnProperty(i)&&(o!==!1||!t.hasOwnProperty(i))&&(t[i]=e[i]);return t}function oe(e,t,o,i,s){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var h=i||0,w=s||0;;){var B=e.indexOf(" ",h);if(B<0||B>=t)return w+(t-h);w+=B-h,w+=o-w%o,h=B+1}}var F=function(){this.id=null,this.f=null,this.time=0,this.handler=Ie(this.onTimeout,this)};F.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},F.prototype.set=function(e,t){this.f=t;var o=+new Date+e;(!this.id||o<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=o)};function L(e,t){for(var o=0;o<e.length;++o)if(e[o]==t)return o;return-1}var we=50,Ue={toString:function(){return"CodeMirror.Pass"}},Ne={scroll:!1},xt={origin:"*mouse"},pt={origin:"+move"};function Lt(e,t,o){for(var i=0,s=0;;){var h=e.indexOf(" ",i);h==-1&&(h=e.length);var w=h-i;if(h==e.length||s+w>=t)return i+Math.min(w,t-s);if(s+=h-i,s+=o-s%o,i=h+1,s>=t)return i}}var ze=[""];function Te(e){for(;ze.length<=e;)ze.push(_e(ze)+" ");return ze[e]}function _e(e){return e[e.length-1]}function $e(e,t){for(var o=[],i=0;i<e.length;i++)o[i]=t(e[i],i);return o}function St(e,t,o){for(var i=0,s=o(t);i<e.length&&o(e[i])<=s;)i++;e.splice(i,0,t)}function A(){}function p(e,t){var o;return Object.create?o=Object.create(e):(A.prototype=e,o=new A),t&&He(t,o),o}var d=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function T(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||d.test(e))}function O(e,t){return t?t.source.indexOf("\\w")>-1&&T(e)?!0:t.test(e):T(e)}function g(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var M=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function xe(e){return e.charCodeAt(0)>=768&&M.test(e)}function tt(e,t,o){for(;(o<0?t>0:t<e.length)&&xe(e.charAt(t));)t+=o;return t}function nt(e,t,o){for(var i=t>o?-1:1;;){if(t==o)return t;var s=(t+o)/2,h=i<0?Math.ceil(s):Math.floor(s);if(h==t)return e(h)?t:o;e(h)?o=h:t=h+i}}function Ee(e,t,o,i){if(!e)return i(t,o,"ltr",0);for(var s=!1,h=0;h<e.length;++h){var w=e[h];(w.from<o&&w.to>t||t==o&&w.to==t)&&(i(Math.max(w.from,t),Math.min(w.to,o),w.level==1?"rtl":"ltr",h),s=!0)}s||i(t,o,"ltr")}var Be=null;function Oe(e,t,o){var i;Be=null;for(var s=0;s<e.length;++s){var h=e[s];if(h.from<t&&h.to>t)return s;h.to==t&&(h.from!=h.to&&o=="before"?i=s:Be=s),h.from==t&&(h.from!=h.to&&o!="before"?i=s:Be=s)}return i!=null?i:Be}var qe=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o(ee){return ee<=247?e.charAt(ee):1424<=ee&&ee<=1524?"R":1536<=ee&&ee<=1785?t.charAt(ee-1536):1774<=ee&&ee<=2220?"r":8192<=ee&&ee<=8203?"w":ee==8204?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=/[stwN]/,h=/[LRr]/,w=/[Lb1n]/,B=/[1n]/;function W(ee,ke,Me){this.level=ee,this.from=ke,this.to=Me}return function(ee,ke){var Me=ke=="ltr"?"L":"R";if(ee.length==0||ke=="ltr"&&!i.test(ee))return!1;for(var ht=ee.length,ut=[],Pt=0;Pt<ht;++Pt)ut.push(o(ee.charCodeAt(Pt)));for(var Vt=0,rn=Me;Vt<ht;++Vt){var vn=ut[Vt];vn=="m"?ut[Vt]=rn:rn=vn}for(var Ln=0,yn=Me;Ln<ht;++Ln){var Fn=ut[Ln];Fn=="1"&&yn=="r"?ut[Ln]="n":h.test(Fn)&&(yn=Fn,Fn=="r"&&(ut[Ln]="R"))}for(var cr=1,Jn=ut[0];cr<ht-1;++cr){var Hr=ut[cr];Hr=="+"&&Jn=="1"&&ut[cr+1]=="1"?ut[cr]="1":Hr==","&&Jn==ut[cr+1]&&(Jn=="1"||Jn=="n")&&(ut[cr]=Jn),Jn=Hr}for(var ya=0;ya<ht;++ya){var ri=ut[ya];if(ri==",")ut[ya]="N";else if(ri=="%"){var Da=void 0;for(Da=ya+1;Da<ht&&ut[Da]=="%";++Da);for(var Zi=ya&&ut[ya-1]=="!"||Da<ht&&ut[Da]=="1"?"1":"N",Pi=ya;Pi<Da;++Pi)ut[Pi]=Zi;ya=Da-1}}for(var Wa=0,Fi=Me;Wa<ht;++Wa){var pi=ut[Wa];Fi=="L"&&pi=="1"?ut[Wa]="L":h.test(pi)&&(Fi=pi)}for(var Xa=0;Xa<ht;++Xa)if(s.test(ut[Xa])){var Za=void 0;for(Za=Xa+1;Za<ht&&s.test(ut[Za]);++Za);for(var Ma=(Xa?ut[Xa-1]:Me)=="L",Bi=(Za<ht?ut[Za]:Me)=="L",ds=Ma==Bi?Ma?"L":"R":Me,Yo=Xa;Yo<Za;++Yo)ut[Yo]=ds;Xa=Za-1}for(var Ei=[],Io,ai=0;ai<ht;)if(w.test(ut[ai])){var $s=ai;for(++ai;ai<ht&&w.test(ut[ai]);++ai);Ei.push(new W(0,$s,ai))}else{var Ho=ai,Jo=Ei.length,es=ke=="rtl"?1:0;for(++ai;ai<ht&&ut[ai]!="L";++ai);for(var Ni=Ho;Ni<ai;)if(B.test(ut[Ni])){Ho<Ni&&(Ei.splice(Jo,0,new W(1,Ho,Ni)),Jo+=es);var fs=Ni;for(++Ni;Ni<ai&&B.test(ut[Ni]);++Ni);Ei.splice(Jo,0,new W(2,fs,Ni)),Jo+=es,Ho=Ni}else++Ni;Ho<ai&&Ei.splice(Jo,0,new W(1,Ho,ai))}return ke=="ltr"&&(Ei[0].level==1&&(Io=ee.match(/^\s+/))&&(Ei[0].from=Io[0].length,Ei.unshift(new W(0,0,Io[0].length))),_e(Ei).level==1&&(Io=ee.match(/\s+$/))&&(_e(Ei).to-=Io[0].length,Ei.push(new W(0,ht-Io[0].length,ht)))),ke=="rtl"?Ei.reverse():Ei}}();function lt(e,t){var o=e.order;return o==null&&(o=e.order=qe(e.text,t)),o}var Ge=[],pe=function(e,t,o){if(e.addEventListener)e.addEventListener(t,o,!1);else if(e.attachEvent)e.attachEvent("on"+t,o);else{var i=e._handlers||(e._handlers={});i[t]=(i[t]||Ge).concat(o)}};function rt(e,t){return e._handlers&&e._handlers[t]||Ge}function st(e,t,o){if(e.removeEventListener)e.removeEventListener(t,o,!1);else if(e.detachEvent)e.detachEvent("on"+t,o);else{var i=e._handlers,s=i&&i[t];if(s){var h=L(s,o);h>-1&&(i[t]=s.slice(0,h).concat(s.slice(h+1)))}}}function Ve(e,t){var o=rt(e,t);if(o.length)for(var i=Array.prototype.slice.call(arguments,2),s=0;s<o.length;++s)o[s].apply(null,i)}function at(e,t,o){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Ve(e,o||t.type,e,t),ye(t)||t.codemirrorIgnore}function Nt(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var o=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),i=0;i<t.length;++i)L(o,t[i])==-1&&o.push(t[i])}function it(e,t){return rt(e,t).length>0}function Q(e){e.prototype.on=function(t,o){pe(this,t,o)},e.prototype.off=function(t,o){st(this,t,o)}}function Et(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function wt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ye(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function zt(e){Et(e),wt(e)}function nn(e){return e.target||e.srcElement}function Xt(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),X&&e.ctrlKey&&t==1&&(t=3),t}var je=function(){if(k&&f<9)return!1;var e=fe("div");return"draggable"in e||"dragDrop"in e}(),En;function hn(e){if(En==null){var t=fe("span","\u200B");H(e,fe("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(En=t.offsetWidth<=1&&t.offsetHeight>2&&!(k&&f<8))}var o=En?fe("span","\u200B"):fe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var Ht;function Kt(e){if(Ht!=null)return Ht;var t=H(e,document.createTextNode("A\u062EA")),o=V(t,0,1).getBoundingClientRect(),i=V(t,1,2).getBoundingClientRect();return de(e),!o||o.left==o.right?!1:Ht=i.right-o.right<3}var gn=`
b`.split(/\n/).length!=3?function(e){for(var t=0,o=[],i=e.length;t<=i;){var s=e.indexOf(`
`,t);s==-1&&(s=e.length);var h=e.slice(t,e.charAt(s-1)=="\r"?s-1:s),w=h.indexOf("\r");w!=-1?(o.push(h.slice(0,w)),t+=w+1):(o.push(h),t=s+1)}return o}:function(e){return e.split(/\r\n?|\n/)},Wt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(o){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Ft=function(){var e=fe("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Dt=null;function Qt(e){if(Dt!=null)return Dt;var t=H(e,fe("span","x")),o=t.getBoundingClientRect(),i=V(t,0,1).getBoundingClientRect();return Dt=Math.abs(o.left-i.left)>1}var wn={},un={};function dn(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),wn[e]=t}function Lr(e,t){un[e]=t}function _n(e){if(typeof e=="string"&&un.hasOwnProperty(e))e=un[e];else if(e&&typeof e.name=="string"&&un.hasOwnProperty(e.name)){var t=un[e.name];typeof t=="string"&&(t={name:t}),e=p(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return _n("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return _n("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Vn(e,t){t=_n(t);var o=wn[t.name];if(!o)return Vn(e,"text/plain");var i=o(e,t);if(gr.hasOwnProperty(t.name)){var s=gr[t.name];for(var h in s)s.hasOwnProperty(h)&&(i.hasOwnProperty(h)&&(i["_"+h]=i[h]),i[h]=s[h])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var w in t.modeProps)i[w]=t.modeProps[w];return i}var gr={};function xr(e,t){var o=gr.hasOwnProperty(e)?gr[e]:gr[e]={};He(t,o)}function Xn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var o={};for(var i in t){var s=t[i];s instanceof Array&&(s=s.concat([])),o[i]=s}return o}function Cn(e,t){for(var o;e.innerMode&&(o=e.innerMode(t),!(!o||o.mode==e));)t=o.state,e=o.mode;return o||{mode:e,state:t}}function On(e,t,o){return e.startState?e.startState(t,o):!0}var Hn=function(e,t,o){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};Hn.prototype.eol=function(){return this.pos>=this.string.length},Hn.prototype.sol=function(){return this.pos==this.lineStart},Hn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Hn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Hn.prototype.eat=function(e){var t=this.string.charAt(this.pos),o;if(typeof e=="string"?o=t==e:o=t&&(e.test?e.test(t):e(t)),o)return++this.pos,t},Hn.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Hn.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Hn.prototype.skipToEnd=function(){this.pos=this.string.length},Hn.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Hn.prototype.backUp=function(e){this.pos-=e},Hn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=oe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?oe(this.string,this.lineStart,this.tabSize):0)},Hn.prototype.indentation=function(){return oe(this.string,null,this.tabSize)-(this.lineStart?oe(this.string,this.lineStart,this.tabSize):0)},Hn.prototype.match=function(e,t,o){if(typeof e=="string"){var i=function(w){return o?w.toLowerCase():w},s=this.string.substr(this.pos,e.length);if(i(s)==i(e))return t!==!1&&(this.pos+=e.length),!0}else{var h=this.string.slice(this.pos).match(e);return h&&h.index>0?null:(h&&t!==!1&&(this.pos+=h[0].length),h)}},Hn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Hn.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Hn.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Hn.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Zt(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var o=e;!o.lines;)for(var i=0;;++i){var s=o.children[i],h=s.chunkSize();if(t<h){o=s;break}t-=h}return o.lines[t]}function Rn(e,t,o){var i=[],s=t.line;return e.iter(t.line,o.line+1,function(h){var w=h.text;s==o.line&&(w=w.slice(0,o.ch)),s==t.line&&(w=w.slice(t.ch)),i.push(w),++s}),i}function mr(e,t,o){var i=[];return e.iter(t,o,function(s){i.push(s.text)}),i}function Or(e,t){var o=t-e.height;if(o)for(var i=e;i;i=i.parent)i.height+=o}function Pe(e){if(e.parent==null)return null;for(var t=e.parent,o=L(t.lines,e),i=t.parent;i;t=i,i=i.parent)for(var s=0;i.children[s]!=t;++s)o+=i.children[s].chunkSize();return o+t.first}function De(e,t){var o=e.first;e:do{for(var i=0;i<e.children.length;++i){var s=e.children[i],h=s.height;if(t<h){e=s;continue e}t-=h,o+=s.chunkSize()}return o}while(!e.lines);for(var w=0;w<e.lines.length;++w){var B=e.lines[w],W=B.height;if(t<W)break;t-=W}return o+w}function Bt(e,t){return t>=e.first&&t<e.first+e.size}function Rt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function me(e,t,o){if(o===void 0&&(o=null),!(this instanceof me))return new me(e,t,o);this.line=e,this.ch=t,this.sticky=o}function Ct(e,t){return e.line-t.line||e.ch-t.ch}function _t(e,t){return e.sticky==t.sticky&&Ct(e,t)==0}function Ce(e){return me(e.line,e.ch)}function m(e,t){return Ct(e,t)<0?t:e}function Yt(e,t){return Ct(e,t)<0?e:t}function qt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function Ze(e,t){if(t.line<e.first)return me(e.first,0);var o=e.first+e.size-1;return t.line>o?me(o,Zt(e,o).text.length):xn(t,Zt(e,t.line).text.length)}function xn(e,t){var o=e.ch;return o==null||o>t?me(e.line,t):o<0?me(e.line,0):e}function jt(e,t){for(var o=[],i=0;i<t.length;i++)o[i]=Ze(e,t[i]);return o}var fn=function(e,t){this.state=e,this.lookAhead=t},an=function(e,t,o,i){this.state=t,this.doc=e,this.line=o,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};an.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},an.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},an.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},an.fromSaved=function(e,t,o){return t instanceof fn?new an(e,Xn(e.mode,t.state),o,t.lookAhead):new an(e,Xn(e.mode,t),o)},an.prototype.save=function(e){var t=e!==!1?Xn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new fn(t,this.maxLookAhead):t};function he(e,t,o,i){var s=[e.state.modeGen],h={};br(e,t.text,e.doc.mode,o,function(ee,ke){return s.push(ee,ke)},h,i);for(var w=o.state,B=function(ee){o.baseTokens=s;var ke=e.state.overlays[ee],Me=1,ht=0;o.state=!0,br(e,t.text,ke.mode,o,function(ut,Pt){for(var Vt=Me;ht<ut;){var rn=s[Me];rn>ut&&s.splice(Me,1,ut,s[Me+1],rn),Me+=2,ht=Math.min(ut,rn)}if(Pt)if(ke.opaque)s.splice(Vt,Me-Vt,ut,"overlay "+Pt),Me=Vt+2;else for(;Vt<Me;Vt+=2){var vn=s[Vt+1];s[Vt+1]=(vn?vn+" ":"")+"overlay "+Pt}},h),o.state=w,o.baseTokens=null,o.baseTokenPos=1},W=0;W<e.state.overlays.length;++W)B(W);return{styles:s,classes:h.bgClass||h.textClass?h:null}}function Sn(e,t,o){if(!t.styles||t.styles[0]!=e.state.modeGen){var i=or(e,Pe(t)),s=t.text.length>e.options.maxHighlightLength&&Xn(e.doc.mode,i.state),h=he(e,t,i);s&&(i.state=s),t.stateAfter=i.save(!s),t.styles=h.styles,h.classes?t.styleClasses=h.classes:t.styleClasses&&(t.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function or(e,t,o){var i=e.doc,s=e.display;if(!i.mode.startState)return new an(i,!0,t);var h=_r(e,t,o),w=h>i.first&&Zt(i,h-1).stateAfter,B=w?an.fromSaved(i,w,h):new an(i,On(i.mode),h);return i.iter(h,t,function(W){on(e,W.text,B);var ee=B.line;W.stateAfter=ee==t-1||ee%5==0||ee>=s.viewFrom&&ee<s.viewTo?B.save():null,B.nextLine()}),o&&(i.modeFrontier=B.line),B}function on(e,t,o,i){var s=e.doc.mode,h=new Hn(t,e.options.tabSize,o);for(h.start=h.pos=i||0,t==""&&Jt(s,o.state);!h.eol();)Tn(s,h,o.state),h.start=h.pos}function Jt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var o=Cn(e,t);if(o.mode.blankLine)return o.mode.blankLine(o.state)}}function Tn(e,t,o,i){for(var s=0;s<10;s++){i&&(i[0]=Cn(e,o).mode);var h=e.token(t,o);if(t.pos>t.start)return h}throw new Error("Mode "+e.name+" failed to advance stream.")}var en=function(e,t,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=o};function Yn(e,t,o,i){var s=e.doc,h=s.mode,w;t=Ze(s,t);var B=Zt(s,t.line),W=or(e,t.line,o),ee=new Hn(B.text,e.options.tabSize,W),ke;for(i&&(ke=[]);(i||ee.pos<t.ch)&&!ee.eol();)ee.start=ee.pos,w=Tn(h,ee,W.state),i&&ke.push(new en(ee,w,Xn(s.mode,W.state)));return i?ke:new en(ee,w,W.state)}function Sr(e,t){if(e)for(;;){var o=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!o)break;e=e.slice(0,o.index)+e.slice(o.index+o[0].length);var i=o[1]?"bgClass":"textClass";t[i]==null?t[i]=o[2]:new RegExp("(?:^|\\s)"+o[2]+"(?:$|\\s)").test(t[i])||(t[i]+=" "+o[2])}return e}function br(e,t,o,i,s,h,w){var B=o.flattenSpans;B==null&&(B=e.options.flattenSpans);var W=0,ee=null,ke=new Hn(t,e.options.tabSize,i),Me,ht=e.options.addModeClass&&[null];for(t==""&&Sr(Jt(o,i.state),h);!ke.eol();){if(ke.pos>e.options.maxHighlightLength?(B=!1,w&&on(e,t,i,ke.pos),ke.pos=t.length,Me=null):Me=Sr(Tn(o,ke,i.state,ht),h),ht){var ut=ht[0].name;ut&&(Me="m-"+(Me?ut+" "+Me:ut))}if(!B||ee!=Me){for(;W<ke.start;)W=Math.min(ke.start,W+5e3),s(W,ee);ee=Me}ke.start=ke.pos}for(;W<ke.pos;){var Pt=Math.min(ke.pos,W+5e3);s(Pt,ee),W=Pt}}function _r(e,t,o){for(var i,s,h=e.doc,w=o?-1:t-(e.doc.mode.innerMode?1e3:100),B=t;B>w;--B){if(B<=h.first)return h.first;var W=Zt(h,B-1),ee=W.stateAfter;if(ee&&(!o||B+(ee instanceof fn?ee.lookAhead:0)<=h.modeFrontier))return B;var ke=oe(W.text,null,e.options.tabSize);(s==null||i>ke)&&(s=B-1,i=ke)}return s}function zr(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var o=e.first,i=t-1;i>o;i--){var s=Zt(e,i).stateAfter;if(s&&(!(s instanceof fn)||i+s.lookAhead<t)){o=i+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,o)}}var Br=!1,vr=!1;function Gr(){Br=!0}function Wr(){vr=!0}function mn(e,t,o){this.marker=e,this.from=t,this.to=o}function Bn(e,t){if(e)for(var o=0;o<e.length;++o){var i=e[o];if(i.marker==t)return i}}function zn(e,t){for(var o,i=0;i<e.length;++i)e[i]!=t&&(o||(o=[])).push(e[i]);return o}function dr(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function yr(e,t,o){var i;if(e)for(var s=0;s<e.length;++s){var h=e[s],w=h.marker,B=h.from==null||(w.inclusiveLeft?h.from<=t:h.from<t);if(B||h.from==t&&w.type=="bookmark"&&(!o||!h.marker.insertLeft)){var W=h.to==null||(w.inclusiveRight?h.to>=t:h.to>t);(i||(i=[])).push(new mn(w,h.from,W?null:h.to))}}return i}function Pr(e,t,o){var i;if(e)for(var s=0;s<e.length;++s){var h=e[s],w=h.marker,B=h.to==null||(w.inclusiveRight?h.to>=t:h.to>t);if(B||h.from==t&&w.type=="bookmark"&&(!o||h.marker.insertLeft)){var W=h.from==null||(w.inclusiveLeft?h.from<=t:h.from<t);(i||(i=[])).push(new mn(w,W?null:h.from-t,h.to==null?null:h.to-t))}}return i}function sa(e,t){if(t.full)return null;var o=Bt(e,t.from.line)&&Zt(e,t.from.line).markedSpans,i=Bt(e,t.to.line)&&Zt(e,t.to.line).markedSpans;if(!o&&!i)return null;var s=t.from.ch,h=t.to.ch,w=Ct(t.from,t.to)==0,B=yr(o,s,w),W=Pr(i,h,w),ee=t.text.length==1,ke=_e(t.text).length+(ee?s:0);if(B)for(var Me=0;Me<B.length;++Me){var ht=B[Me];if(ht.to==null){var ut=Bn(W,ht.marker);ut?ee&&(ht.to=ut.to==null?null:ut.to+ke):ht.to=s}}if(W)for(var Pt=0;Pt<W.length;++Pt){var Vt=W[Pt];if(Vt.to!=null&&(Vt.to+=ke),Vt.from==null){var rn=Bn(B,Vt.marker);rn||(Vt.from=ke,ee&&(B||(B=[])).push(Vt))}else Vt.from+=ke,ee&&(B||(B=[])).push(Vt)}B&&(B=Se(B)),W&&W!=B&&(W=Se(W));var vn=[B];if(!ee){var Ln=t.text.length-2,yn;if(Ln>0&&B)for(var Fn=0;Fn<B.length;++Fn)B[Fn].to==null&&(yn||(yn=[])).push(new mn(B[Fn].marker,null,null));for(var cr=0;cr<Ln;++cr)vn.push(yn);vn.push(W)}return vn}function Se(e){for(var t=0;t<e.length;++t){var o=e[t];o.from!=null&&o.from==o.to&&o.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function ct(e,t,o){var i=null;if(e.iter(t.line,o.line+1,function(ut){if(ut.markedSpans)for(var Pt=0;Pt<ut.markedSpans.length;++Pt){var Vt=ut.markedSpans[Pt].marker;Vt.readOnly&&(!i||L(i,Vt)==-1)&&(i||(i=[])).push(Vt)}}),!i)return null;for(var s=[{from:t,to:o}],h=0;h<i.length;++h)for(var w=i[h],B=w.find(0),W=0;W<s.length;++W){var ee=s[W];if(!(Ct(ee.to,B.from)<0||Ct(ee.from,B.to)>0)){var ke=[W,1],Me=Ct(ee.from,B.from),ht=Ct(ee.to,B.to);(Me<0||!w.inclusiveLeft&&!Me)&&ke.push({from:ee.from,to:B.from}),(ht>0||!w.inclusiveRight&&!ht)&&ke.push({from:B.to,to:ee.to}),s.splice.apply(s,ke),W+=ke.length-3}}return s}function Ke(e){var t=e.markedSpans;if(t){for(var o=0;o<t.length;++o)t[o].marker.detachLine(e);e.markedSpans=null}}function dt(e,t){if(t){for(var o=0;o<t.length;++o)t[o].marker.attachLine(e);e.markedSpans=t}}function yt(e){return e.inclusiveLeft?-1:0}function Tt(e){return e.inclusiveRight?1:0}function Ut(e,t){var o=e.lines.length-t.lines.length;if(o!=0)return o;var i=e.find(),s=t.find(),h=Ct(i.from,s.from)||yt(e)-yt(t);if(h)return-h;var w=Ct(i.to,s.to)||Tt(e)-Tt(t);return w||t.id-e.id}function Mt(e,t){var o=vr&&e.markedSpans,i;if(o)for(var s=void 0,h=0;h<o.length;++h)s=o[h],s.marker.collapsed&&(t?s.from:s.to)==null&&(!i||Ut(i,s.marker)<0)&&(i=s.marker);return i}function It(e){return Mt(e,!0)}function Xe(e){return Mt(e,!1)}function mt(e,t){var o=vr&&e.markedSpans,i;if(o)for(var s=0;s<o.length;++s){var h=o[s];h.marker.collapsed&&(h.from==null||h.from<t)&&(h.to==null||h.to>t)&&(!i||Ut(i,h.marker)<0)&&(i=h.marker)}return i}function vt(e,t,o,i,s){var h=Zt(e,t),w=vr&&h.markedSpans;if(w)for(var B=0;B<w.length;++B){var W=w[B];if(W.marker.collapsed){var ee=W.marker.find(0),ke=Ct(ee.from,o)||yt(W.marker)-yt(s),Me=Ct(ee.to,i)||Tt(W.marker)-Tt(s);if(!(ke>=0&&Me<=0||ke<=0&&Me>=0)&&(ke<=0&&(W.marker.inclusiveRight&&s.inclusiveLeft?Ct(ee.to,o)>=0:Ct(ee.to,o)>0)||ke>=0&&(W.marker.inclusiveRight&&s.inclusiveLeft?Ct(ee.from,i)<=0:Ct(ee.from,i)<0)))return!0}}}function bt(e){for(var t;t=It(e);)e=t.find(-1,!0).line;return e}function kt(e){for(var t;t=Xe(e);)e=t.find(1,!0).line;return e}function $t(e){for(var t,o;t=Xe(e);)e=t.find(1,!0).line,(o||(o=[])).push(e);return o}function pn(e,t){var o=Zt(e,t),i=bt(o);return o==i?t:Pe(i)}function sn(e,t){if(t>e.lastLine())return t;var o=Zt(e,t),i;if(!kn(e,o))return t;for(;i=Xe(o);)o=i.find(1,!0).line;return Pe(o)+1}function kn(e,t){var o=vr&&t.markedSpans;if(o){for(var i=void 0,s=0;s<o.length;++s)if(i=o[s],!!i.marker.collapsed){if(i.from==null)return!0;if(!i.marker.widgetNode&&i.from==0&&i.marker.inclusiveLeft&&Gn(e,t,i))return!0}}}function Gn(e,t,o){if(o.to==null){var i=o.marker.find(1,!0);return Gn(e,i.line,Bn(i.line.markedSpans,o.marker))}if(o.marker.inclusiveRight&&o.to==t.text.length)return!0;for(var s=void 0,h=0;h<t.markedSpans.length;++h)if(s=t.markedSpans[h],s.marker.collapsed&&!s.marker.widgetNode&&s.from==o.to&&(s.to==null||s.to!=o.from)&&(s.marker.inclusiveLeft||o.marker.inclusiveRight)&&Gn(e,t,s))return!0}function An(e){e=bt(e);for(var t=0,o=e.parent,i=0;i<o.lines.length;++i){var s=o.lines[i];if(s==e)break;t+=s.height}for(var h=o.parent;h;o=h,h=o.parent)for(var w=0;w<h.children.length;++w){var B=h.children[w];if(B==o)break;t+=B.height}return t}function qn(e){if(e.height==0)return 0;for(var t=e.text.length,o,i=e;o=It(i);){var s=o.find(0,!0);i=s.from.line,t+=s.from.ch-s.to.ch}for(i=e;o=Xe(i);){var h=o.find(0,!0);t-=i.text.length-h.from.ch,i=h.to.line,t+=i.text.length-h.to.ch}return t}function Nn(e){var t=e.display,o=e.doc;t.maxLine=Zt(o,o.first),t.maxLineLength=qn(t.maxLine),t.maxLineChanged=!0,o.iter(function(i){var s=qn(i);s>t.maxLineLength&&(t.maxLineLength=s,t.maxLine=i)})}var Ar=function(e,t,o){this.text=e,dt(this,t),this.height=o?o(this):1};Ar.prototype.lineNo=function(){return Pe(this)},Q(Ar);function Tr(e,t,o,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Ke(e),dt(e,o);var s=i?i(e):1;s!=e.height&&Or(e,s)}function Er(e){e.parent=null,Ke(e)}var rr={},pr={};function wr(e,t){if(!e||/^\s*$/.test(e))return null;var o=t.addModeClass?pr:rr;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function sr(e,t){var o=re("span",null,null,R?"padding-right: .1px":null),i={pre:re("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var s=0;s<=(t.rest?t.rest.length:0);s++){var h=s?t.rest[s-1]:t.line,w=void 0;i.pos=0,i.addToken=Un,Kt(e.display.measure)&&(w=lt(h,e.doc.direction))&&(i.addToken=Dn(i.addToken,w)),i.map=[];var B=t!=e.display.externalMeasured&&Pe(h);ar(h,i,Sn(e,h,B)),h.styleClasses&&(h.styleClasses.bgClass&&(i.bgClass=Le(h.styleClasses.bgClass,i.bgClass||"")),h.styleClasses.textClass&&(i.textClass=Le(h.styleClasses.textClass,i.textClass||""))),i.map.length==0&&i.map.push(0,0,i.content.appendChild(hn(e.display.measure))),s==0?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(R){var W=i.content.lastChild;(/\bcm-tab\b/.test(W.className)||W.querySelector&&W.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return Ve(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=Le(i.pre.className,i.textClass||"")),i}function fr(e){var t=fe("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Un(e,t,o,i,s,h,w){if(t){var B=e.splitSpaces?bn(t,e.trailingSpace):t,W=e.cm.state.specialChars,ee=!1,ke;if(!W.test(t))e.col+=t.length,ke=document.createTextNode(B),e.map.push(e.pos,e.pos+t.length,ke),k&&f<9&&(ee=!0),e.pos+=t.length;else{ke=document.createDocumentFragment();for(var Me=0;;){W.lastIndex=Me;var ht=W.exec(t),ut=ht?ht.index-Me:t.length-Me;if(ut){var Pt=document.createTextNode(B.slice(Me,Me+ut));k&&f<9?ke.appendChild(fe("span",[Pt])):ke.appendChild(Pt),e.map.push(e.pos,e.pos+ut,Pt),e.col+=ut,e.pos+=ut}if(!ht)break;Me+=ut+1;var Vt=void 0;if(ht[0]==" "){var rn=e.cm.options.tabSize,vn=rn-e.col%rn;Vt=ke.appendChild(fe("span",Te(vn),"cm-tab")),Vt.setAttribute("role","presentation"),Vt.setAttribute("cm-text"," "),e.col+=vn}else ht[0]=="\r"||ht[0]==`
`?(Vt=ke.appendChild(fe("span",ht[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Vt.setAttribute("cm-text",ht[0]),e.col+=1):(Vt=e.cm.options.specialCharPlaceholder(ht[0]),Vt.setAttribute("cm-text",ht[0]),k&&f<9?ke.appendChild(fe("span",[Vt])):ke.appendChild(Vt),e.col+=1);e.map.push(e.pos,e.pos+1,Vt),e.pos++}}if(e.trailingSpace=B.charCodeAt(t.length-1)==32,o||i||s||ee||h||w){var Ln=o||"";i&&(Ln+=i),s&&(Ln+=s);var yn=fe("span",[ke],Ln,h);if(w)for(var Fn in w)w.hasOwnProperty(Fn)&&Fn!="style"&&Fn!="class"&&yn.setAttribute(Fn,w[Fn]);return e.content.appendChild(yn)}e.content.appendChild(ke)}}function bn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var o=t,i="",s=0;s<e.length;s++){var h=e.charAt(s);h==" "&&o&&(s==e.length-1||e.charCodeAt(s+1)==32)&&(h="\xA0"),i+=h,o=h==" "}return i}function Dn(e,t){return function(o,i,s,h,w,B,W){s=s?s+" cm-force-border":"cm-force-border";for(var ee=o.pos,ke=ee+i.length;;){for(var Me=void 0,ht=0;ht<t.length&&(Me=t[ht],!(Me.to>ee&&Me.from<=ee));ht++);if(Me.to>=ke)return e(o,i,s,h,w,B,W);e(o,i.slice(0,Me.to-ee),s,h,null,B,W),h=null,i=i.slice(Me.to-ee),ee=Me.to}}}function jn(e,t,o,i){var s=!i&&o.widgetNode;s&&e.map.push(e.pos,e.pos+t,s),!i&&e.cm.display.input.needsContentAttribute&&(s||(s=e.content.appendChild(document.createElement("span"))),s.setAttribute("cm-marker",o.id)),s&&(e.cm.display.input.setUneditable(s),e.content.appendChild(s)),e.pos+=t,e.trailingSpace=!1}function ar(e,t,o){var i=e.markedSpans,s=e.text,h=0;if(!i){for(var w=1;w<o.length;w+=2)t.addToken(t,s.slice(h,h=o[w]),wr(o[w+1],t.cm.options));return}for(var B=s.length,W=0,ee=1,ke="",Me,ht,ut=0,Pt,Vt,rn,vn,Ln;;){if(ut==W){Pt=Vt=rn=ht="",Ln=null,vn=null,ut=1/0;for(var yn=[],Fn=void 0,cr=0;cr<i.length;++cr){var Jn=i[cr],Hr=Jn.marker;if(Hr.type=="bookmark"&&Jn.from==W&&Hr.widgetNode)yn.push(Hr);else if(Jn.from<=W&&(Jn.to==null||Jn.to>W||Hr.collapsed&&Jn.to==W&&Jn.from==W)){if(Jn.to!=null&&Jn.to!=W&&ut>Jn.to&&(ut=Jn.to,Vt=""),Hr.className&&(Pt+=" "+Hr.className),Hr.css&&(ht=(ht?ht+";":"")+Hr.css),Hr.startStyle&&Jn.from==W&&(rn+=" "+Hr.startStyle),Hr.endStyle&&Jn.to==ut&&(Fn||(Fn=[])).push(Hr.endStyle,Jn.to),Hr.title&&((Ln||(Ln={})).title=Hr.title),Hr.attributes)for(var ya in Hr.attributes)(Ln||(Ln={}))[ya]=Hr.attributes[ya];Hr.collapsed&&(!vn||Ut(vn.marker,Hr)<0)&&(vn=Jn)}else Jn.from>W&&ut>Jn.from&&(ut=Jn.from)}if(Fn)for(var ri=0;ri<Fn.length;ri+=2)Fn[ri+1]==ut&&(Vt+=" "+Fn[ri]);if(!vn||vn.from==W)for(var Da=0;Da<yn.length;++Da)jn(t,0,yn[Da]);if(vn&&(vn.from||0)==W){if(jn(t,(vn.to==null?B+1:vn.to)-W,vn.marker,vn.from==null),vn.to==null)return;vn.to==W&&(vn=!1)}}if(W>=B)break;for(var Zi=Math.min(B,ut);;){if(ke){var Pi=W+ke.length;if(!vn){var Wa=Pi>Zi?ke.slice(0,Zi-W):ke;t.addToken(t,Wa,Me?Me+Pt:Pt,rn,W+Wa.length==ut?Vt:"",ht,Ln)}if(Pi>=Zi){ke=ke.slice(Zi-W),W=Zi;break}W=Pi,rn=""}ke=s.slice(h,h=o[ee++]),Me=wr(o[ee++],t.cm.options)}}}function Ae(e,t,o){this.line=t,this.rest=$t(t),this.size=this.rest?Pe(_e(this.rest))-o+1:1,this.node=this.text=null,this.hidden=kn(e,t)}function hr(e,t,o){for(var i=[],s,h=t;h<o;h=s){var w=new Ae(e.doc,Zt(e.doc,h),h);s=h+w.size,i.push(w)}return i}var Vr=null;function Ia(e){Vr?Vr.ops.push(e):e.ownsGroup=Vr={ops:[e],delayedCallbacks:[]}}function Ra(e){var t=e.delayedCallbacks,o=0;do{for(;o<t.length;o++)t[o].call(null);for(var i=0;i<e.ops.length;i++){var s=e.ops[i];if(s.cursorActivityHandlers)for(;s.cursorActivityCalled<s.cursorActivityHandlers.length;)s.cursorActivityHandlers[s.cursorActivityCalled++].call(null,s.cm)}}while(o<t.length)}function hi(e,t){var o=e.ownsGroup;if(o)try{Ra(o)}finally{Vr=null,t(o)}}var Pa=null;function qr(e,t){var o=rt(e,t);if(o.length){var i=Array.prototype.slice.call(arguments,2),s;Vr?s=Vr.delayedCallbacks:Pa?s=Pa:(s=Pa=[],setTimeout(Kr,0));for(var h=function(B){s.push(function(){return o[B].apply(null,i)})},w=0;w<o.length;++w)h(w)}}function Kr(){var e=Pa;Pa=null;for(var t=0;t<e.length;++t)e[t]()}function jr(e,t,o,i){for(var s=0;s<t.changes.length;s++){var h=t.changes[s];h=="text"?ta(e,t):h=="gutter"?Kn(e,t,o,i):h=="class"?In(e,t):h=="widget"&&Qn(e,t,i)}t.changes=null}function Ta(e){return e.node==e.text&&(e.node=fe("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),k&&f<8&&(e.node.style.zIndex=2)),e.node}function Xr(e,t){var o=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(o&&(o+=" CodeMirror-linebackground"),t.background)o?t.background.className=o:(t.background.parentNode.removeChild(t.background),t.background=null);else if(o){var i=Ta(t);t.background=i.insertBefore(fe("div",null,o),i.firstChild),e.display.input.setUneditable(t.background)}}function ea(e,t){var o=e.display.externalMeasured;return o&&o.line==t.line?(e.display.externalMeasured=null,t.measure=o.measure,o.built):sr(e,t)}function ta(e,t){var o=t.text.className,i=ea(e,t);t.text==t.node&&(t.node=i.pre),t.text.parentNode.replaceChild(i.pre,t.text),t.text=i.pre,i.bgClass!=t.bgClass||i.textClass!=t.textClass?(t.bgClass=i.bgClass,t.textClass=i.textClass,In(e,t)):o&&(t.text.className=o)}function In(e,t){Xr(e,t),t.line.wrapClass?Ta(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var o=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=o||""}function Kn(e,t,o,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var s=Ta(t);t.gutterBackground=fe("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),s.insertBefore(t.gutterBackground,t.text)}var h=t.line.gutterMarkers;if(e.options.lineNumbers||h){var w=Ta(t),B=t.gutter=fe("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(e.display.input.setUneditable(B),w.insertBefore(B,t.text),t.line.gutterClass&&(B.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!h||!h["CodeMirror-linenumbers"])&&(t.lineNumber=B.appendChild(fe("div",Rt(e.options,o),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),h)for(var W=0;W<e.display.gutterSpecs.length;++W){var ee=e.display.gutterSpecs[W].className,ke=h.hasOwnProperty(ee)&&h[ee];ke&&B.appendChild(fe("div",[ke],"CodeMirror-gutter-elt","left: "+i.gutterLeft[ee]+"px; width: "+i.gutterWidth[ee]+"px"))}}}function Qn(e,t,o){t.alignable&&(t.alignable=null);for(var i=_("CodeMirror-linewidget"),s=t.node.firstChild,h=void 0;s;s=h)h=s.nextSibling,i.test(s.className)&&t.node.removeChild(s);Dr(e,t,o)}function Zn(e,t,o,i){var s=ea(e,t);return t.text=t.node=s.pre,s.bgClass&&(t.bgClass=s.bgClass),s.textClass&&(t.textClass=s.textClass),In(e,t),Kn(e,t,o,i),Dr(e,t,i),t.node}function Dr(e,t,o){if(Zr(e,t.line,t,o,!0),t.rest)for(var i=0;i<t.rest.length;i++)Zr(e,t.rest[i],t,o,!1)}function Zr(e,t,o,i,s){if(t.widgets)for(var h=Ta(o),w=0,B=t.widgets;w<B.length;++w){var W=B[w],ee=fe("div",[W.node],"CodeMirror-linewidget"+(W.className?" "+W.className:""));W.handleMouseEvents||ee.setAttribute("cm-ignore-events","true"),Aa(W,ee,o,i),e.display.input.setUneditable(ee),s&&W.above?h.insertBefore(ee,o.gutter||o.text):h.appendChild(ee),qr(W,"redraw")}}function Aa(e,t,o,i){if(e.noHScroll){(o.alignable||(o.alignable=[])).push(t);var s=i.wrapperWidth;t.style.left=i.fixedPos+"px",e.coverGutter||(s-=i.gutterTotalWidth,t.style.paddingLeft=i.gutterTotalWidth+"px"),t.style.width=s+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-i.gutterTotalWidth+"px"))}function la(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!le(document.body,e.node)){var o="position: relative;";e.coverGutter&&(o+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(o+="width: "+t.display.wrapper.clientWidth+"px;"),H(t.display.measure,fe("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function ua(e,t){for(var o=nn(t);o!=e.wrapper;o=o.parentNode)if(!o||o.nodeType==1&&o.getAttribute("cm-ignore-events")=="true"||o.parentNode==e.sizer&&o!=e.mover)return!0}function tr(e){return e.lineSpace.offsetTop}function Mr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function za(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=H(e.measure,fe("pre","x","CodeMirror-line-like")),o=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,i={left:parseInt(o.paddingLeft),right:parseInt(o.paddingRight)};return!isNaN(i.left)&&!isNaN(i.right)&&(e.cachedPaddingH=i),i}function Ur(e){return we-e.display.nativeBarWidth}function Fa(e){return e.display.scroller.clientWidth-Ur(e)-e.display.barWidth}function $a(e){return e.display.scroller.clientHeight-Ur(e)-e.display.barHeight}function Ba(e,t,o){var i=e.options.lineWrapping,s=i&&Fa(e);if(!t.measure.heights||i&&t.measure.width!=s){var h=t.measure.heights=[];if(i){t.measure.width=s;for(var w=t.text.firstChild.getClientRects(),B=0;B<w.length-1;B++){var W=w[B],ee=w[B+1];Math.abs(W.bottom-ee.bottom)>2&&h.push((W.bottom+ee.top)/2-o.top)}}h.push(o.bottom-o.top)}}function aa(e,t,o){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(var s=0;s<e.rest.length;s++)if(Pe(e.rest[s])>o)return{map:e.measure.maps[s],cache:e.measure.caches[s],before:!0}}function Si(e,t){t=bt(t);var o=Pe(t),i=e.display.externalMeasured=new Ae(e.doc,t,o);i.lineN=o;var s=i.built=sr(e,i);return i.text=s.pre,H(e.display.lineMeasure,s.pre),i}function co(e,t,o,i){return Ka(e,ii(e,t),o,i)}function Va(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Ti(e,t)];var o=e.display.externalMeasured;if(o&&t>=o.lineN&&t<o.lineN+o.size)return o}function ii(e,t){var o=Pe(t),i=Va(e,o);i&&!i.text?i=null:i&&i.changes&&(jr(e,i,o,si(e)),e.curOp.forceUpdate=!0),i||(i=Si(e,t));var s=aa(i,t,o);return{line:t,view:i,rect:null,map:s.map,cache:s.cache,before:s.before,hasHeights:!1}}function Ka(e,t,o,i,s){t.before&&(o=-1);var h=o+(i||""),w;return t.cache.hasOwnProperty(h)?w=t.cache[h]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Ba(e,t.view,t.rect),t.hasHeights=!0),w=So(e,t,o,i),w.bogus||(t.cache[h]=w)),{left:w.left,right:w.right,top:s?w.rtop:w.top,bottom:s?w.rbottom:w.bottom}}var Ui={left:0,right:0,top:0,bottom:0};function yo(e,t,o){for(var i,s,h,w,B,W,ee=0;ee<e.length;ee+=3)if(B=e[ee],W=e[ee+1],t<B?(s=0,h=1,w="left"):t<W?(s=t-B,h=s+1):(ee==e.length-3||t==W&&e[ee+3]>t)&&(h=W-B,s=h-1,t>=W&&(w="right")),s!=null){if(i=e[ee+2],B==W&&o==(i.insertLeft?"left":"right")&&(w=o),o=="left"&&s==0)for(;ee&&e[ee-2]==e[ee-3]&&e[ee-1].insertLeft;)i=e[(ee-=3)+2],w="left";if(o=="right"&&s==W-B)for(;ee<e.length-3&&e[ee+3]==e[ee+4]&&!e[ee+5].insertLeft;)i=e[(ee+=3)+2],w="right";break}return{node:i,start:s,end:h,collapse:w,coverStart:B,coverEnd:W}}function Eo(e,t){var o=Ui;if(t=="left")for(var i=0;i<e.length&&(o=e[i]).left==o.right;i++);else for(var s=e.length-1;s>=0&&(o=e[s]).left==o.right;s--);return o}function So(e,t,o,i){var s=yo(t.map,o,i),h=s.node,w=s.start,B=s.end,W=s.collapse,ee;if(h.nodeType==3){for(var ke=0;ke<4;ke++){for(;w&&xe(t.line.text.charAt(s.coverStart+w));)--w;for(;s.coverStart+B<s.coverEnd&&xe(t.line.text.charAt(s.coverStart+B));)++B;if(k&&f<9&&w==0&&B==s.coverEnd-s.coverStart?ee=h.parentNode.getBoundingClientRect():ee=Eo(V(h,w,B).getClientRects(),i),ee.left||ee.right||w==0)break;B=w,w=w-1,W="right"}k&&f<11&&(ee=Ji(e.display.measure,ee))}else{w>0&&(W=i="right");var Me;e.options.lineWrapping&&(Me=h.getClientRects()).length>1?ee=Me[i=="right"?Me.length-1:0]:ee=h.getBoundingClientRect()}if(k&&f<9&&!w&&(!ee||!ee.left&&!ee.right)){var ht=h.parentNode.getClientRects()[0];ht?ee={left:ht.left,right:ht.left+Qa(e.display),top:ht.top,bottom:ht.bottom}:ee=Ui}for(var ut=ee.top-t.rect.top,Pt=ee.bottom-t.rect.top,Vt=(ut+Pt)/2,rn=t.view.measure.heights,vn=0;vn<rn.length-1&&!(Vt<rn[vn]);vn++);var Ln=vn?rn[vn-1]:0,yn=rn[vn],Fn={left:(W=="right"?ee.right:ee.left)-t.rect.left,right:(W=="left"?ee.left:ee.right)-t.rect.left,top:Ln,bottom:yn};return!ee.left&&!ee.right&&(Fn.bogus=!0),e.options.singleCursorHeightPerLine||(Fn.rtop=ut,Fn.rbottom=Pt),Fn}function Ji(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Qt(e))return t;var o=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*o,right:t.right*o,top:t.top*i,bottom:t.bottom*i}}function fo(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function eo(e){e.display.externalMeasure=null,de(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)fo(e.display.view[t])}function $i(e){eo(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function to(){return D&&ue?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function To(){return D&&ue?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function no(e){var t=0;if(e.widgets)for(var o=0;o<e.widgets.length;++o)e.widgets[o].above&&(t+=la(e.widgets[o]));return t}function Vi(e,t,o,i,s){if(!s){var h=no(t);o.top+=h,o.bottom+=h}if(i=="line")return o;i||(i="local");var w=An(t);if(i=="local"?w+=tr(e.display):w-=e.display.viewOffset,i=="page"||i=="window"){var B=e.display.lineSpace.getBoundingClientRect();w+=B.top+(i=="window"?0:To());var W=B.left+(i=="window"?0:to());o.left+=W,o.right+=W}return o.top+=w,o.bottom+=w,o}function Ki(e,t,o){if(o=="div")return t;var i=t.left,s=t.top;if(o=="page")i-=to(),s-=To();else if(o=="local"||!o){var h=e.display.sizer.getBoundingClientRect();i+=h.left,s+=h.top}var w=e.display.lineSpace.getBoundingClientRect();return{left:i-w.left,top:s-w.top}}function Ua(e,t,o,i,s){return i||(i=Zt(e.doc,t.line)),Vi(e,i,co(e,i,t.ch,s),o)}function fa(e,t,o,i,s,h){i=i||Zt(e.doc,t.line),s||(s=ii(e,i));function w(Pt,Vt){var rn=Ka(e,s,Pt,Vt?"right":"left",h);return Vt?rn.left=rn.right:rn.right=rn.left,Vi(e,i,rn,o)}var B=lt(i,e.doc.direction),W=t.ch,ee=t.sticky;if(W>=i.text.length?(W=i.text.length,ee="before"):W<=0&&(W=0,ee="after"),!B)return w(ee=="before"?W-1:W,ee=="before");function ke(Pt,Vt,rn){var vn=B[Vt],Ln=vn.level==1;return w(rn?Pt-1:Pt,Ln!=rn)}var Me=Oe(B,W,ee),ht=Be,ut=ke(W,Me,ee=="before");return ht!=null&&(ut.other=ke(W,ht,ee!="before")),ut}function Rr(e,t){var o=0;t=Ze(e.doc,t),e.options.lineWrapping||(o=Qa(e.display)*t.ch);var i=Zt(e.doc,t.line),s=An(i)+tr(e.display);return{left:o,right:o,top:s,bottom:s+i.height}}function lr(e,t,o,i,s){var h=me(e,t,o);return h.xRel=s,i&&(h.outside=i),h}function pa(e,t,o){var i=e.doc;if(o+=e.display.viewOffset,o<0)return lr(i.first,0,null,-1,-1);var s=De(i,o),h=i.first+i.size-1;if(s>h)return lr(i.first+i.size-1,Zt(i,h).text.length,null,1,1);t<0&&(t=0);for(var w=Zt(i,s);;){var B=gi(e,w,s,t,o),W=mt(w,B.ch+(B.xRel>0||B.outside>0?1:0));if(!W)return B;var ee=W.find(1);if(ee.line==s)return ee;w=Zt(i,s=ee.line)}}function ha(e,t,o,i){i-=no(t);var s=t.text.length,h=nt(function(w){return Ka(e,o,w-1).bottom<=i},s,0);return s=nt(function(w){return Ka(e,o,w).top>i},h,s),{begin:h,end:s}}function va(e,t,o,i){o||(o=ii(e,t));var s=Vi(e,t,Ka(e,o,i),"line").top;return ha(e,t,o,s)}function Ca(e,t,o,i){return e.bottom<=o?!1:e.top>o?!0:(i?e.left:e.right)>t}function gi(e,t,o,i,s){s-=An(t);var h=ii(e,t),w=no(t),B=0,W=t.text.length,ee=!0,ke=lt(t,e.doc.direction);if(ke){var Me=(e.options.lineWrapping?Ii:oi)(e,t,o,h,ke,i,s);ee=Me.level!=1,B=ee?Me.from:Me.to-1,W=ee?Me.to:Me.from-1}var ht=null,ut=null,Pt=nt(function(cr){var Jn=Ka(e,h,cr);return Jn.top+=w,Jn.bottom+=w,Ca(Jn,i,s,!1)?(Jn.top<=s&&Jn.left<=i&&(ht=cr,ut=Jn),!0):!1},B,W),Vt,rn,vn=!1;if(ut){var Ln=i-ut.left<ut.right-i,yn=Ln==ee;Pt=ht+(yn?0:1),rn=yn?"after":"before",Vt=Ln?ut.left:ut.right}else{!ee&&(Pt==W||Pt==B)&&Pt++,rn=Pt==0?"after":Pt==t.text.length?"before":Ka(e,h,Pt-(ee?1:0)).bottom+w<=s==ee?"after":"before";var Fn=fa(e,me(o,Pt,rn),"line",t,h);Vt=Fn.left,vn=s<Fn.top?-1:s>=Fn.bottom?1:0}return Pt=tt(t.text,Pt,1),lr(o,Pt,rn,vn,i-Vt)}function oi(e,t,o,i,s,h,w){var B=nt(function(Me){var ht=s[Me],ut=ht.level!=1;return Ca(fa(e,me(o,ut?ht.to:ht.from,ut?"before":"after"),"line",t,i),h,w,!0)},0,s.length-1),W=s[B];if(B>0){var ee=W.level!=1,ke=fa(e,me(o,ee?W.from:W.to,ee?"after":"before"),"line",t,i);Ca(ke,h,w,!0)&&ke.top>w&&(W=s[B-1])}return W}function Ii(e,t,o,i,s,h,w){var B=ha(e,t,i,w),W=B.begin,ee=B.end;/\s/.test(t.text.charAt(ee-1))&&ee--;for(var ke=null,Me=null,ht=0;ht<s.length;ht++){var ut=s[ht];if(!(ut.from>=ee||ut.to<=W)){var Pt=ut.level!=1,Vt=Ka(e,i,Pt?Math.min(ee,ut.to)-1:Math.max(W,ut.from)).right,rn=Vt<h?h-Vt+1e9:Vt-h;(!ke||Me>rn)&&(ke=ut,Me=rn)}}return ke||(ke=s[s.length-1]),ke.from<W&&(ke={from:W,to:ke.to,level:ke.level}),ke.to>ee&&(ke={from:ke.from,to:ee,level:ke.level}),ke}var ca;function xa(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(ca==null){ca=fe("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)ca.appendChild(document.createTextNode("x")),ca.appendChild(fe("br"));ca.appendChild(document.createTextNode("x"))}H(e.measure,ca);var o=ca.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),de(e.measure),o||1}function Qa(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=fe("span","xxxxxxxxxx"),o=fe("pre",[t],"CodeMirror-line-like");H(e.measure,o);var i=t.getBoundingClientRect(),s=(i.right-i.left)/10;return s>2&&(e.cachedCharWidth=s),s||10}function si(e){for(var t=e.display,o={},i={},s=t.gutters.clientLeft,h=t.gutters.firstChild,w=0;h;h=h.nextSibling,++w){var B=e.display.gutterSpecs[w].className;o[B]=h.offsetLeft+h.clientLeft+s,i[B]=h.clientWidth}return{fixedPos:po(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:o,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function po(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Ro(e){var t=xa(e.display),o=e.options.lineWrapping,i=o&&Math.max(5,e.display.scroller.clientWidth/Qa(e.display)-3);return function(s){if(kn(e.doc,s))return 0;var h=0;if(s.widgets)for(var w=0;w<s.widgets.length;w++)s.widgets[w].height&&(h+=s.widgets[w].height);return o?h+(Math.ceil(s.text.length/i)||1)*t:h+t}}function Lo(e){var t=e.doc,o=Ro(e);t.iter(function(i){var s=o(i);s!=i.height&&Or(i,s)})}function mi(e,t,o,i){var s=e.display;if(!o&&nn(t).getAttribute("cm-not-content")=="true")return null;var h,w,B=s.lineSpace.getBoundingClientRect();try{h=t.clientX-B.left,w=t.clientY-B.top}catch(Me){return null}var W=pa(e,h,w),ee;if(i&&W.xRel>0&&(ee=Zt(e.doc,W.line).text).length==W.ch){var ke=oe(ee,ee.length,e.options.tabSize)-ee.length;W=me(W.line,Math.max(0,Math.round((h-za(e.display).left)/Qa(e.display))-ke))}return W}function Ti(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var o=e.display.view,i=0;i<o.length;i++)if(t-=o[i].size,t<0)return i}function Qr(e,t,o,i){t==null&&(t=e.doc.first),o==null&&(o=e.doc.first+e.doc.size),i||(i=0);var s=e.display;if(i&&o<s.viewTo&&(s.updateLineNumbers==null||s.updateLineNumbers>t)&&(s.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=s.viewTo)vr&&pn(e.doc,t)<s.viewTo&&qa(e);else if(o<=s.viewFrom)vr&&sn(e.doc,o+i)>s.viewFrom?qa(e):(s.viewFrom+=i,s.viewTo+=i);else if(t<=s.viewFrom&&o>=s.viewTo)qa(e);else if(t<=s.viewFrom){var h=Co(e,o,o+i,1);h?(s.view=s.view.slice(h.index),s.viewFrom=h.lineN,s.viewTo+=i):qa(e)}else if(o>=s.viewTo){var w=Co(e,t,t,-1);w?(s.view=s.view.slice(0,w.index),s.viewTo=w.lineN):qa(e)}else{var B=Co(e,t,t,-1),W=Co(e,o,o+i,1);B&&W?(s.view=s.view.slice(0,B.index).concat(hr(e,B.lineN,W.lineN)).concat(s.view.slice(W.index)),s.viewTo+=i):qa(e)}var ee=s.externalMeasured;ee&&(o<ee.lineN?ee.lineN+=i:t<ee.lineN+ee.size&&(s.externalMeasured=null))}function bi(e,t,o){e.curOp.viewChanged=!0;var i=e.display,s=e.display.externalMeasured;if(s&&t>=s.lineN&&t<s.lineN+s.size&&(i.externalMeasured=null),!(t<i.viewFrom||t>=i.viewTo)){var h=i.view[Ti(e,t)];if(h.node!=null){var w=h.changes||(h.changes=[]);L(w,o)==-1&&w.push(o)}}}function qa(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Co(e,t,o,i){var s=Ti(e,t),h,w=e.display.view;if(!vr||o==e.doc.first+e.doc.size)return{index:s,lineN:o};for(var B=e.display.viewFrom,W=0;W<s;W++)B+=w[W].size;if(B!=t){if(i>0){if(s==w.length-1)return null;h=B+w[s].size-t,s++}else h=B-t;t+=h,o+=h}for(;pn(e.doc,o)!=o;){if(s==(i<0?0:w.length-1))return null;o+=i*w[s-(i<0?1:0)].size,s+=i}return{index:s,lineN:o}}function zo(e,t,o){var i=e.display,s=i.view;s.length==0||t>=i.viewTo||o<=i.viewFrom?(i.view=hr(e,t,o),i.viewFrom=t):(i.viewFrom>t?i.view=hr(e,t,i.viewFrom).concat(i.view):i.viewFrom<t&&(i.view=i.view.slice(Ti(e,t))),i.viewFrom=t,i.viewTo<o?i.view=i.view.concat(hr(e,i.viewTo,o)):i.viewTo>o&&(i.view=i.view.slice(0,Ti(e,o)))),i.viewTo=o}function Go(e){for(var t=e.display.view,o=0,i=0;i<t.length;i++){var s=t[i];!s.hidden&&(!s.node||s.changes)&&++o}return o}function ji(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Oo(e,t){t===void 0&&(t=!0);for(var o=e.doc,i={},s=i.cursors=document.createDocumentFragment(),h=i.selection=document.createDocumentFragment(),w=0;w<o.sel.ranges.length;w++)if(!(!t&&w==o.sel.primIndex)){var B=o.sel.ranges[w];if(!(B.from().line>=e.display.viewTo||B.to().line<e.display.viewFrom)){var W=B.empty();(W||e.options.showCursorWhenSelecting)&&Do(e,B.head,s),W||xo(e,B,h)}}return i}function Do(e,t,o){var i=fa(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),s=o.appendChild(fe("div","\xA0","CodeMirror-cursor"));if(s.style.left=i.left+"px",s.style.top=i.top+"px",s.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",i.other){var h=o.appendChild(fe("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));h.style.display="",h.style.left=i.other.left+"px",h.style.top=i.other.top+"px",h.style.height=(i.other.bottom-i.other.top)*.85+"px"}}function Hi(e,t){return e.top-t.top||e.left-t.left}function xo(e,t,o){var i=e.display,s=e.doc,h=document.createDocumentFragment(),w=za(e.display),B=w.left,W=Math.max(i.sizerWidth,Fa(e)-i.sizer.offsetLeft)-w.right,ee=s.direction=="ltr";function ke(yn,Fn,cr,Jn){Fn<0&&(Fn=0),Fn=Math.round(Fn),Jn=Math.round(Jn),h.appendChild(fe("div",null,"CodeMirror-selected","position: absolute; left: "+yn+`px;
top: `+Fn+"px; width: "+(cr==null?W-yn:cr)+`px;
height: `+(Jn-Fn)+"px"))}function Me(yn,Fn,cr){var Jn=Zt(s,yn),Hr=Jn.text.length,ya,ri;function Da(Wa,Fi){return Ua(e,me(yn,Wa),"div",Jn,Fi)}function Zi(Wa,Fi,pi){var Xa=va(e,Jn,null,Wa),Za=Fi=="ltr"==(pi=="after")?"left":"right",Ma=pi=="after"?Xa.begin:Xa.end-(/\s/.test(Jn.text.charAt(Xa.end-1))?2:1);return Da(Ma,Za)[Za]}var Pi=lt(Jn,s.direction);return Ee(Pi,Fn||0,cr==null?Hr:cr,function(Wa,Fi,pi,Xa){var Za=pi=="ltr",Ma=Da(Wa,Za?"left":"right"),Bi=Da(Fi-1,Za?"right":"left"),ds=Fn==null&&Wa==0,Yo=cr==null&&Fi==Hr,Ei=Xa==0,Io=!Pi||Xa==Pi.length-1;if(Bi.top-Ma.top<=3){var ai=(ee?ds:Yo)&&Ei,$s=(ee?Yo:ds)&&Io,Ho=ai?B:(Za?Ma:Bi).left,Jo=$s?W:(Za?Bi:Ma).right;ke(Ho,Ma.top,Jo-Ho,Ma.bottom)}else{var es,Ni,fs,Vs;Za?(es=ee&&ds&&Ei?B:Ma.left,Ni=ee?W:Zi(Wa,pi,"before"),fs=ee?B:Zi(Fi,pi,"after"),Vs=ee&&Yo&&Io?W:Bi.right):(es=ee?Zi(Wa,pi,"before"):B,Ni=!ee&&ds&&Ei?W:Ma.right,fs=!ee&&Yo&&Io?B:Bi.left,Vs=ee?Zi(Fi,pi,"after"):W),ke(es,Ma.top,Ni-es,Ma.bottom),Ma.bottom<Bi.top&&ke(B,Ma.bottom,null,Bi.top),ke(fs,Bi.top,Vs-fs,Bi.bottom)}(!ya||Hi(Ma,ya)<0)&&(ya=Ma),Hi(Bi,ya)<0&&(ya=Bi),(!ri||Hi(Ma,ri)<0)&&(ri=Ma),Hi(Bi,ri)<0&&(ri=Bi)}),{start:ya,end:ri}}var ht=t.from(),ut=t.to();if(ht.line==ut.line)Me(ht.line,ht.ch,ut.ch);else{var Pt=Zt(s,ht.line),Vt=Zt(s,ut.line),rn=bt(Pt)==bt(Vt),vn=Me(ht.line,ht.ch,rn?Pt.text.length+1:null).end,Ln=Me(ut.line,rn?0:null,ut.ch).start;rn&&(vn.top<Ln.top-2?(ke(vn.right,vn.top,null,vn.bottom),ke(B,Ln.top,Ln.left,Ln.bottom)):ke(vn.right,vn.top,Ln.left-vn.right,vn.bottom)),vn.bottom<Ln.top&&ke(B,vn.bottom,null,Ln.top)}o.appendChild(h)}function ro(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var o=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||io(e),t.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ao(e){e.state.focused||(e.display.input.focus(),li(e))}function Ao(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,io(e))},100)}function li(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(Ve(e,"focus",e,t),e.state.focused=!0,ge(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),R&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),ro(e))}function io(e,t){e.state.delayingBlurEvent||(e.state.focused&&(Ve(e,"blur",e,t),e.state.focused=!1,J(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function oo(e){for(var t=e.display,o=t.lineDiv.offsetTop,i=0;i<t.view.length;i++){var s=t.view[i],h=e.options.lineWrapping,w=void 0,B=0;if(!s.hidden){if(k&&f<8){var W=s.node.offsetTop+s.node.offsetHeight;w=W-o,o=W}else{var ee=s.node.getBoundingClientRect();w=ee.bottom-ee.top,!h&&s.text.firstChild&&(B=s.text.firstChild.getBoundingClientRect().right-ee.left-1)}var ke=s.line.height-w;if((ke>.005||ke<-.005)&&(Or(s.line,w),_o(s.line),s.rest))for(var Me=0;Me<s.rest.length;Me++)_o(s.rest[Me]);if(B>e.display.sizerWidth){var ht=Math.ceil(B/Qa(e.display));ht>e.display.maxLineLength&&(e.display.maxLineLength=ht,e.display.maxLine=s.line,e.display.maxLineChanged=!0)}}}}function _o(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var o=e.widgets[t],i=o.node.parentNode;i&&(o.height=i.offsetHeight)}}function Yi(e,t,o){var i=o&&o.top!=null?Math.max(0,o.top):e.scroller.scrollTop;i=Math.floor(i-tr(e));var s=o&&o.bottom!=null?o.bottom:i+e.wrapper.clientHeight,h=De(t,i),w=De(t,s);if(o&&o.ensure){var B=o.ensure.from.line,W=o.ensure.to.line;B<h?(h=B,w=De(t,An(Zt(t,B))+e.wrapper.clientHeight)):Math.min(W,t.lastLine())>=w&&(h=De(t,An(Zt(t,W))-e.wrapper.clientHeight),w=W)}return{from:h,to:Math.max(w,h+1)}}function Mo(e,t){if(!at(e,"scrollCursorIntoView")){var o=e.display,i=o.sizer.getBoundingClientRect(),s=null;if(t.top+i.top<0?s=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(s=!1),s!=null&&!be){var h=fe("div","\u200B",null,`position: absolute;
top: `+(t.top-o.viewOffset-tr(e.display))+`px;
height: `+(t.bottom-t.top+Ur(e)+o.barHeight)+`px;
left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(h),h.scrollIntoView(s),e.display.lineSpace.removeChild(h)}}}function Po(e,t,o,i){i==null&&(i=0);var s;!e.options.lineWrapping&&t==o&&(t=t.ch?me(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t,o=t.sticky=="before"?me(t.line,t.ch+1,"before"):t);for(var h=0;h<5;h++){var w=!1,B=fa(e,t),W=!o||o==t?B:fa(e,o);s={left:Math.min(B.left,W.left),top:Math.min(B.top,W.top)-i,right:Math.max(B.left,W.left),bottom:Math.max(B.bottom,W.bottom)+i};var ee=wo(e,s),ke=e.doc.scrollTop,Me=e.doc.scrollLeft;if(ee.scrollTop!=null&&(xi(e,ee.scrollTop),Math.abs(e.doc.scrollTop-ke)>1&&(w=!0)),ee.scrollLeft!=null&&(Oi(e,ee.scrollLeft),Math.abs(e.doc.scrollLeft-Me)>1&&(w=!0)),!w)break}return s}function so(e,t){var o=wo(e,t);o.scrollTop!=null&&xi(e,o.scrollTop),o.scrollLeft!=null&&Oi(e,o.scrollLeft)}function wo(e,t){var o=e.display,i=xa(e.display);t.top<0&&(t.top=0);var s=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,h=$a(e),w={};t.bottom-t.top>h&&(t.bottom=t.top+h);var B=e.doc.height+Mr(o),W=t.top<i,ee=t.bottom>B-i;if(t.top<s)w.scrollTop=W?0:t.top;else if(t.bottom>s+h){var ke=Math.min(t.top,(ee?B:t.bottom)-h);ke!=s&&(w.scrollTop=ke)}var Me=e.options.fixedGutter?0:o.gutters.offsetWidth,ht=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-Me,ut=Fa(e)-o.gutters.offsetWidth,Pt=t.right-t.left>ut;return Pt&&(t.right=t.left+ut),t.left<10?w.scrollLeft=0:t.left<ht?w.scrollLeft=Math.max(0,t.left+Me-(Pt?0:10)):t.right>ut+ht-3&&(w.scrollLeft=t.right+(Pt?0:10)-ut),w}function ko(e,t){t!=null&&(ui(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Ri(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ci(e,t,o){(t!=null||o!=null)&&ui(e),t!=null&&(e.curOp.scrollLeft=t),o!=null&&(e.curOp.scrollTop=o)}function lo(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var o=Rr(e,t.from),i=Rr(e,t.to);ho(e,o,i,t.margin)}}function ho(e,t,o,i){var s=wo(e,{left:Math.min(t.left,o.left),top:Math.min(t.top,o.top)-i,right:Math.max(t.right,o.right),bottom:Math.max(t.bottom,o.bottom)+i});Ci(e,s.scrollLeft,s.scrollTop)}function xi(e,t){Math.abs(e.doc.scrollTop-t)<2||(u||C(e,{top:t}),Li(e,t,!0),u&&C(e),go(e,100))}function Li(e,t,o){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!o)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Oi(e,t,o,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i)&&(e.doc.scrollLeft=t,se(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function kr(e){var t=e.display,o=t.gutters.offsetWidth,i=Math.round(e.doc.height+Mr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:i,scrollHeight:i+Ur(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:o}}var Nr=function(e,t,o){this.cm=o;var i=this.vert=fe("div",[fe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),s=this.horiz=fe("div",[fe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=s.tabIndex=-1,e(i),e(s),pe(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),pe(s,"scroll",function(){s.clientWidth&&t(s.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,k&&f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Nr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var s=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+s)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=o?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var h=e.viewWidth-e.barLeft-(o?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+h)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(i==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?i:0,bottom:t?i:0}},Nr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Nr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Nr.prototype.zeroWidthHack=function(){var e=X&&!G?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new F,this.disableVert=new F},Nr.prototype.enableZeroWidthBar=function(e,t,o){e.style.pointerEvents="auto";function i(){var s=e.getBoundingClientRect(),h=o=="vert"?document.elementFromPoint(s.right-1,(s.top+s.bottom)/2):document.elementFromPoint((s.right+s.left)/2,s.bottom-1);h!=e?e.style.pointerEvents="none":t.set(1e3,i)}t.set(1e3,i)},Nr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ba=function(){};ba.prototype.update=function(){return{bottom:0,right:0}},ba.prototype.setScrollLeft=function(){},ba.prototype.setScrollTop=function(){},ba.prototype.clear=function(){};function wa(e,t){t||(t=kr(e));var o=e.display.barWidth,i=e.display.barHeight;Ea(e,t);for(var s=0;s<4&&o!=e.display.barWidth||i!=e.display.barHeight;s++)o!=e.display.barWidth&&e.options.lineWrapping&&oo(e),Ea(e,kr(e)),o=e.display.barWidth,i=e.display.barHeight}function Ea(e,t){var o=e.display,i=o.scrollbars.update(t);o.sizer.style.paddingRight=(o.barWidth=i.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=i.bottom)+"px",o.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=i.bottom+"px",o.scrollbarFiller.style.width=i.right+"px"):o.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=i.bottom+"px",o.gutterFiller.style.width=t.gutterWidth+"px"):o.gutterFiller.style.display=""}var ci={native:Nr,null:ba};function di(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&J(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ci[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,o){o=="horizontal"?Oi(e,t):xi(e,t)},e),e.display.scrollbars.addClass&&ge(e.display.wrapper,e.display.scrollbars.addClass)}var fi=0;function Ja(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++fi},Ia(e.curOp)}function Ai(e){var t=e.curOp;t&&hi(t,function(o){for(var i=0;i<o.ops.length;i++)o.ops[i].cm.curOp=null;Wo(o)})}function Wo(e){for(var t=e.ops,o=0;o<t.length;o++)ns(t[o]);for(var i=0;i<t.length;i++)rs(t[i]);for(var s=0;s<t.length;s++)ps(t[s]);for(var h=0;h<t.length;h++)hs(t[h]);for(var w=0;w<t.length;w++)as(t[w])}function ns(e){var t=e.cm,o=t.display;Xo(t),e.updateMaxLine&&Nn(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<o.viewFrom||e.scrollToPos.to.line>=o.viewTo)||o.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new No(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function rs(e){e.updatedDisplay=e.mustUpdate&&l(e.cm,e.update)}function ps(e){var t=e.cm,o=t.display;e.updatedDisplay&&oo(t),e.barMeasure=kr(t),o.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=co(t,o.maxLine,o.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+Ur(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Fa(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function hs(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Oi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var o=e.focus&&e.focus==ne();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=t.doc.height)&&wa(t,e.barMeasure),e.updatedDisplay&&Y(t,e.barMeasure),e.selectionChanged&&ro(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),o&&ao(e.cm)}function as(e){var t=e.cm,o=t.display,i=t.doc;if(e.updatedDisplay&&E(t,e.update),o.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(o.wheelStartX=o.wheelStartY=null),e.scrollTop!=null&&Li(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&Oi(t,e.scrollLeft,!0,!0),e.scrollToPos){var s=Po(t,Ze(i,e.scrollToPos.from),Ze(i,e.scrollToPos.to),e.scrollToPos.margin);Mo(t,s)}var h=e.maybeHiddenMarkers,w=e.maybeUnhiddenMarkers;if(h)for(var B=0;B<h.length;++B)h[B].lines.length||Ve(h[B],"hide");if(w)for(var W=0;W<w.length;++W)w[W].lines.length&&Ve(w[W],"unhide");o.wrapper.offsetHeight&&(i.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Ve(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function ei(e,t){if(e.curOp)return t();Ja(e);try{return t()}finally{Ai(e)}}function La(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Ja(e);try{return t.apply(e,arguments)}finally{Ai(e)}}}function ja(e){return function(){if(this.curOp)return e.apply(this,arguments);Ja(this);try{return e.apply(this,arguments)}finally{Ai(this)}}}function Oa(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Ja(t);try{return e.apply(this,arguments)}finally{Ai(t)}}}function go(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,Ie(ks,e))}function ks(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var o=+new Date+e.options.workTime,i=or(e,t.highlightFrontier),s=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(h){if(i.line>=e.display.viewFrom){var w=h.styles,B=h.text.length>e.options.maxHighlightLength?Xn(t.mode,i.state):null,W=he(e,h,i,!0);B&&(i.state=B),h.styles=W.styles;var ee=h.styleClasses,ke=W.classes;ke?h.styleClasses=ke:ee&&(h.styleClasses=null);for(var Me=!w||w.length!=h.styles.length||ee!=ke&&(!ee||!ke||ee.bgClass!=ke.bgClass||ee.textClass!=ke.textClass),ht=0;!Me&&ht<w.length;++ht)Me=w[ht]!=h.styles[ht];Me&&s.push(i.line),h.stateAfter=i.save(),i.nextLine()}else h.text.length<=e.options.maxHighlightLength&&on(e,h.text,i),h.stateAfter=i.line%5==0?i.save():null,i.nextLine();if(+new Date>o)return go(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),s.length&&ei(e,function(){for(var h=0;h<s.length;h++)bi(e,s[h],"text")})}}var No=function(e,t,o){var i=e.display;this.viewport=t,this.visible=Yi(i,e.doc,t),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=Fa(e),this.force=o,this.dims=si(e),this.events=[]};No.prototype.signal=function(e,t){it(e,t)&&this.events.push(arguments)},No.prototype.finish=function(){for(var e=0;e<this.events.length;e++)Ve.apply(null,this.events[e])};function Xo(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Ur(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Ur(e)+"px",t.scrollbarsClipped=!0)}function Qo(e){if(e.hasFocus())return null;var t=ne();if(!t||!le(e.display.lineDiv,t))return null;var o={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&le(e.display.lineDiv,i.anchorNode)&&(o.anchorNode=i.anchorNode,o.anchorOffset=i.anchorOffset,o.focusNode=i.focusNode,o.focusOffset=i.focusOffset)}return o}function gs(e){if(!(!e||!e.activeElt||e.activeElt==ne())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&le(document.body,e.anchorNode)&&le(document.body,e.focusNode))){var t=window.getSelection(),o=document.createRange();o.setEnd(e.anchorNode,e.anchorOffset),o.collapse(!1),t.removeAllRanges(),t.addRange(o),t.extend(e.focusNode,e.focusOffset)}}function l(e,t){var o=e.display,i=e.doc;if(t.editorIsHidden)return qa(e),!1;if(!t.force&&t.visible.from>=o.viewFrom&&t.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&Go(e)==0)return!1;ve(e)&&(qa(e),t.dims=si(e));var s=i.first+i.size,h=Math.max(t.visible.from-e.options.viewportMargin,i.first),w=Math.min(s,t.visible.to+e.options.viewportMargin);o.viewFrom<h&&h-o.viewFrom<20&&(h=Math.max(i.first,o.viewFrom)),o.viewTo>w&&o.viewTo-w<20&&(w=Math.min(s,o.viewTo)),vr&&(h=pn(e.doc,h),w=sn(e.doc,w));var B=h!=o.viewFrom||w!=o.viewTo||o.lastWrapHeight!=t.wrapperHeight||o.lastWrapWidth!=t.wrapperWidth;zo(e,h,w),o.viewOffset=An(Zt(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var W=Go(e);if(!B&&W==0&&!t.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var ee=Qo(e);return W>4&&(o.lineDiv.style.display="none"),N(e,o.updateLineNumbers,t.dims),W>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,gs(ee),de(o.cursorDiv),de(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,B&&(o.lastWrapHeight=t.wrapperHeight,o.lastWrapWidth=t.wrapperWidth,go(e,400)),o.updateLineNumbers=null,!0}function E(e,t){for(var o=t.viewport,i=!0;;i=!1){if(!i||!e.options.lineWrapping||t.oldDisplayWidth==Fa(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+Mr(e.display)-$a(e),o.top)}),t.visible=Yi(e.display,e.doc,o),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else i&&(t.visible=Yi(e.display,e.doc,o));if(!l(e,t))break;oo(e);var s=kr(e);ji(e),wa(e,s),Y(e,s),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function C(e,t){var o=new No(e,t);if(l(e,o)){oo(e),E(e,o);var i=kr(e);ji(e),wa(e,i),Y(e,i),o.finish()}}function N(e,t,o){var i=e.display,s=e.options.lineNumbers,h=i.lineDiv,w=h.firstChild;function B(Pt){var Vt=Pt.nextSibling;return R&&X&&e.display.currentWheelTarget==Pt?Pt.style.display="none":Pt.parentNode.removeChild(Pt),Vt}for(var W=i.view,ee=i.viewFrom,ke=0;ke<W.length;ke++){var Me=W[ke];if(!Me.hidden)if(!Me.node||Me.node.parentNode!=h){var ht=Zn(e,Me,ee,o);h.insertBefore(ht,w)}else{for(;w!=Me.node;)w=B(w);var ut=s&&t!=null&&t<=ee&&Me.lineNumber;Me.changes&&(L(Me.changes,"gutter")>-1&&(ut=!1),jr(e,Me,ee,o)),ut&&(de(Me.lineNumber),Me.lineNumber.appendChild(document.createTextNode(Rt(e.options,ee)))),w=Me.node.nextSibling}ee+=Me.size}for(;w;)w=B(w)}function K(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Y(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Ur(e)+"px"}function se(e){var t=e.display,o=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var i=po(t)-t.scroller.scrollLeft+e.doc.scrollLeft,s=t.gutters.offsetWidth,h=i+"px",w=0;w<o.length;w++)if(!o[w].hidden){e.options.fixedGutter&&(o[w].gutter&&(o[w].gutter.style.left=h),o[w].gutterBackground&&(o[w].gutterBackground.style.left=h));var B=o[w].alignable;if(B)for(var W=0;W<B.length;W++)B[W].style.left=h}e.options.fixedGutter&&(t.gutters.style.left=i+s+"px")}}function ve(e){if(!e.options.lineNumbers)return!1;var t=e.doc,o=Rt(e.options,t.first+t.size-1),i=e.display;if(o.length!=i.lineNumChars){var s=i.measure.appendChild(fe("div",[fe("div",o)],"CodeMirror-linenumber CodeMirror-gutter-elt")),h=s.firstChild.offsetWidth,w=s.offsetWidth-h;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(h,i.lineGutter.offsetWidth-w)+1,i.lineNumWidth=i.lineNumInnerWidth+w,i.lineNumChars=i.lineNumInnerWidth?o.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",K(e.display),!0}return!1}function Je(e,t){for(var o=[],i=!1,s=0;s<e.length;s++){var h=e[s],w=null;if(typeof h!="string"&&(w=h.style,h=h.className),h=="CodeMirror-linenumbers")if(t)i=!0;else continue;o.push({className:h,style:w})}return t&&!i&&o.push({className:"CodeMirror-linenumbers",style:null}),o}function Qe(e){var t=e.gutters,o=e.gutterSpecs;de(t),e.lineGutter=null;for(var i=0;i<o.length;++i){var s=o[i],h=s.className,w=s.style,B=t.appendChild(fe("div",null,"CodeMirror-gutter "+h));w&&(B.style.cssText=w),h=="CodeMirror-linenumbers"&&(e.lineGutter=B,B.style.width=(e.lineNumWidth||1)+"px")}t.style.display=o.length?"":"none",K(e)}function Fe(e){Qe(e.display),Qr(e),se(e)}function gt(e,t,o,i){var s=this;this.input=o,s.scrollbarFiller=fe("div",null,"CodeMirror-scrollbar-filler"),s.scrollbarFiller.setAttribute("cm-not-content","true"),s.gutterFiller=fe("div",null,"CodeMirror-gutter-filler"),s.gutterFiller.setAttribute("cm-not-content","true"),s.lineDiv=re("div",null,"CodeMirror-code"),s.selectionDiv=fe("div",null,null,"position: relative; z-index: 1"),s.cursorDiv=fe("div",null,"CodeMirror-cursors"),s.measure=fe("div",null,"CodeMirror-measure"),s.lineMeasure=fe("div",null,"CodeMirror-measure"),s.lineSpace=re("div",[s.measure,s.lineMeasure,s.selectionDiv,s.cursorDiv,s.lineDiv],null,"position: relative; outline: none");var h=re("div",[s.lineSpace],"CodeMirror-lines");s.mover=fe("div",[h],null,"position: relative"),s.sizer=fe("div",[s.mover],"CodeMirror-sizer"),s.sizerWidth=null,s.heightForcer=fe("div",null,null,"position: absolute; height: "+we+"px; width: 1px;"),s.gutters=fe("div",null,"CodeMirror-gutters"),s.lineGutter=null,s.scroller=fe("div",[s.sizer,s.heightForcer,s.gutters],"CodeMirror-scroll"),s.scroller.setAttribute("tabIndex","-1"),s.wrapper=fe("div",[s.scrollbarFiller,s.gutterFiller,s.scroller],"CodeMirror"),k&&f<8&&(s.gutters.style.zIndex=-1,s.scroller.style.paddingRight=0),!R&&!(u&&te)&&(s.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(s.wrapper):e(s.wrapper)),s.viewFrom=s.viewTo=t.first,s.reportedViewFrom=s.reportedViewTo=t.first,s.view=[],s.renderedView=null,s.externalMeasured=null,s.viewOffset=0,s.lastWrapHeight=s.lastWrapWidth=0,s.updateLineNumbers=null,s.nativeBarWidth=s.barHeight=s.barWidth=0,s.scrollbarsClipped=!1,s.lineNumWidth=s.lineNumInnerWidth=s.lineNumChars=null,s.alignWidgets=!1,s.cachedCharWidth=s.cachedTextHeight=s.cachedPaddingH=null,s.maxLine=null,s.maxLineLength=0,s.maxLineChanged=!1,s.wheelDX=s.wheelDY=s.wheelStartX=s.wheelStartY=null,s.shift=!1,s.selForContextMenu=null,s.activeTouch=null,s.gutterSpecs=Je(i.gutters,i.lineNumbers),Qe(s),o.init(s)}var ft=0,We=null;k?We=-.53:u?We=15:D?We=-.7:ae&&(We=-1/3);function $n(e){var t=e.wheelDeltaX,o=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:t,y:o}}function Ir(e){var t=$n(e);return t.x*=We,t.y*=We,t}function $r(e,t){var o=$n(t),i=o.x,s=o.y,h=e.display,w=h.scroller,B=w.scrollWidth>w.clientWidth,W=w.scrollHeight>w.clientHeight;if(i&&B||s&&W){if(s&&X&&R){e:for(var ee=t.target,ke=h.view;ee!=w;ee=ee.parentNode)for(var Me=0;Me<ke.length;Me++)if(ke[Me].node==ee){e.display.currentWheelTarget=ee;break e}}if(i&&!u&&!I&&We!=null){s&&W&&xi(e,Math.max(0,w.scrollTop+s*We)),Oi(e,Math.max(0,w.scrollLeft+i*We)),(!s||s&&W)&&Et(t),h.wheelStartX=null;return}if(s&&We!=null){var ht=s*We,ut=e.doc.scrollTop,Pt=ut+h.wrapper.clientHeight;ht<0?ut=Math.max(0,ut+ht-50):Pt=Math.min(e.doc.height,Pt+ht+50),C(e,{top:ut,bottom:Pt})}ft<20&&(h.wheelStartX==null?(h.wheelStartX=w.scrollLeft,h.wheelStartY=w.scrollTop,h.wheelDX=i,h.wheelDY=s,setTimeout(function(){if(h.wheelStartX!=null){var Vt=w.scrollLeft-h.wheelStartX,rn=w.scrollTop-h.wheelStartY,vn=rn&&h.wheelDY&&rn/h.wheelDY||Vt&&h.wheelDX&&Vt/h.wheelDX;h.wheelStartX=h.wheelStartY=null,vn&&(We=(We*ft+vn)/(ft+1),++ft)}},200)):(h.wheelDX+=i,h.wheelDY+=s))}}var cn=function(e,t){this.ranges=e,this.primIndex=t};cn.prototype.primary=function(){return this.ranges[this.primIndex]},cn.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var o=this.ranges[t],i=e.ranges[t];if(!_t(o.anchor,i.anchor)||!_t(o.head,i.head))return!1}return!0},cn.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Mn(Ce(this.ranges[t].anchor),Ce(this.ranges[t].head));return new cn(e,this.primIndex)},cn.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},cn.prototype.contains=function(e,t){t||(t=e);for(var o=0;o<this.ranges.length;o++){var i=this.ranges[o];if(Ct(t,i.from())>=0&&Ct(e,i.to())<=0)return o}return-1};var Mn=function(e,t){this.anchor=e,this.head=t};Mn.prototype.from=function(){return Yt(this.anchor,this.head)},Mn.prototype.to=function(){return m(this.anchor,this.head)},Mn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Wn(e,t,o){var i=e&&e.options.selectionsMayTouch,s=t[o];t.sort(function(ht,ut){return Ct(ht.from(),ut.from())}),o=L(t,s);for(var h=1;h<t.length;h++){var w=t[h],B=t[h-1],W=Ct(B.to(),w.from());if(i&&!w.empty()?W>0:W>=0){var ee=Yt(B.from(),w.from()),ke=m(B.to(),w.to()),Me=B.empty()?w.from()==w.head:B.from()==B.head;h<=o&&--o,t.splice(--h,2,new Mn(Me?ke:ee,Me?ee:ke))}}return new cn(t,o)}function na(e,t){return new cn([new Mn(e,t||e)],0)}function Jr(e){return e.text?me(e.from.line+e.text.length-1,_e(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function tn(e,t){if(Ct(e,t.from)<0)return e;if(Ct(e,t.to)<=0)return Jr(t);var o=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=Jr(t).ch-t.to.ch),me(o,i)}function ia(e,t){for(var o=[],i=0;i<e.sel.ranges.length;i++){var s=e.sel.ranges[i];o.push(new Mn(tn(s.anchor,t),tn(s.head,t)))}return Wn(e.cm,o,e.sel.primIndex)}function ka(e,t,o){return e.line==t.line?me(o.line,e.ch-t.ch+o.ch):me(o.line+(e.line-t.line),e.ch)}function ra(e,t,o){for(var i=[],s=me(e.first,0),h=s,w=0;w<t.length;w++){var B=t[w],W=ka(B.from,s,h),ee=ka(Jr(B),s,h);if(s=B.to,h=ee,o=="around"){var ke=e.sel.ranges[w],Me=Ct(ke.head,ke.anchor)<0;i[w]=new Mn(Me?ee:W,Me?W:ee)}else i[w]=new Mn(W,W)}return new cn(i,e.sel.primIndex)}function ga(e){e.doc.mode=Vn(e.options,e.doc.modeOption),Ya(e)}function Ya(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,go(e,100),e.state.modeGen++,e.curOp&&Qr(e)}function da(e,t){return t.from.ch==0&&t.to.ch==0&&_e(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function nr(e,t,o,i){function s(Ln){return o?o[Ln]:null}function h(Ln,yn,Fn){Tr(Ln,yn,Fn,i),qr(Ln,"change",Ln,t)}function w(Ln,yn){for(var Fn=[],cr=Ln;cr<yn;++cr)Fn.push(new Ar(ee[cr],s(cr),i));return Fn}var B=t.from,W=t.to,ee=t.text,ke=Zt(e,B.line),Me=Zt(e,W.line),ht=_e(ee),ut=s(ee.length-1),Pt=W.line-B.line;if(t.full)e.insert(0,w(0,ee.length)),e.remove(ee.length,e.size-ee.length);else if(da(e,t)){var Vt=w(0,ee.length-1);h(Me,Me.text,ut),Pt&&e.remove(B.line,Pt),Vt.length&&e.insert(B.line,Vt)}else if(ke==Me)if(ee.length==1)h(ke,ke.text.slice(0,B.ch)+ht+ke.text.slice(W.ch),ut);else{var rn=w(1,ee.length-1);rn.push(new Ar(ht+ke.text.slice(W.ch),ut,i)),h(ke,ke.text.slice(0,B.ch)+ee[0],s(0)),e.insert(B.line+1,rn)}else if(ee.length==1)h(ke,ke.text.slice(0,B.ch)+ee[0]+Me.text.slice(W.ch),s(0)),e.remove(B.line+1,Pt);else{h(ke,ke.text.slice(0,B.ch)+ee[0],s(0)),h(Me,ht+Me.text.slice(W.ch),ut);var vn=w(1,ee.length-1);Pt>1&&e.remove(B.line+1,Pt-1),e.insert(B.line+1,vn)}qr(e,"change",e,t)}function ir(e,t,o){function i(s,h,w){if(s.linked)for(var B=0;B<s.linked.length;++B){var W=s.linked[B];if(W.doc!=h){var ee=w&&W.sharedHist;o&&!ee||(t(W.doc,ee),i(W.doc,s,ee))}}}i(e,null,!0)}function Fr(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Lo(e),ga(e),Sa(e),e.options.lineWrapping||Nn(e),e.options.mode=t.modeOption,Qr(e)}function Sa(e){(e.doc.direction=="rtl"?ge:J)(e.display.lineDiv,"CodeMirror-rtl")}function _a(e){ei(e,function(){Sa(e),Qr(e)})}function ti(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function vi(e,t){var o={from:Ce(t.from),to:Jr(t),text:Rn(e,t.from,t.to)};return Fo(e,o,t.from.line,t.to.line+1),ir(e,function(i){return Fo(i,o,t.from.line,t.to.line+1)},!0),o}function et(e){for(;e.length;){var t=_e(e);if(t.ranges)e.pop();else break}}function wi(e,t){if(t)return et(e.done),_e(e.done);if(e.done.length&&!_e(e.done).ranges)return _e(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),_e(e.done)}function zi(e,t,o,i){var s=e.history;s.undone.length=0;var h=+new Date,w,B;if((s.lastOp==i||s.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&s.lastModTime>h-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(w=wi(s,s.lastOp==i)))B=_e(w.changes),Ct(t.from,t.to)==0&&Ct(t.from,B.to)==0?B.to=Jr(t):w.changes.push(vi(e,t));else{var W=_e(s.done);for((!W||!W.ranges)&&Gi(e.sel,s.done),w={changes:[vi(e,t)],generation:s.generation},s.done.push(w);s.done.length>s.undoDepth;)s.done.shift(),s.done[0].ranges||s.done.shift()}s.done.push(o),s.generation=++s.maxGeneration,s.lastModTime=s.lastSelTime=h,s.lastOp=s.lastSelOp=i,s.lastOrigin=s.lastSelOrigin=t.origin,B||Ve(e,"historyAdded")}function ot(e,t,o,i){var s=t.charAt(0);return s=="*"||s=="+"&&o.ranges.length==i.ranges.length&&o.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function yi(e,t,o,i){var s=e.history,h=i&&i.origin;o==s.lastSelOp||h&&s.lastSelOrigin==h&&(s.lastModTime==s.lastSelTime&&s.lastOrigin==h||ot(e,h,_e(s.done),t))?s.done[s.done.length-1]=t:Gi(t,s.done),s.lastSelTime=+new Date,s.lastSelOrigin=h,s.lastSelOp=o,i&&i.clearRedo!==!1&&et(s.undone)}function Gi(e,t){var o=_e(t);o&&o.ranges&&o.equals(e)||t.push(e)}function Fo(e,t,o,i){var s=t["spans_"+e.id],h=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,i),function(w){w.markedSpans&&((s||(s=t["spans_"+e.id]={}))[h]=w.markedSpans),++h})}function Zo(e){if(!e)return null;for(var t,o=0;o<e.length;++o)e[o].marker.explicitlyCleared?t||(t=e.slice(0,o)):t&&t.push(e[o]);return t?t.length?t:null:e}function Ga(e,t){var o=t["spans_"+e.id];if(!o)return null;for(var i=[],s=0;s<t.text.length;++s)i.push(Zo(o[s]));return i}function Di(e,t){var o=Ga(e,t),i=sa(e,t);if(!o)return i;if(!i)return o;for(var s=0;s<o.length;++s){var h=o[s],w=i[s];if(h&&w)e:for(var B=0;B<w.length;++B){for(var W=w[B],ee=0;ee<h.length;++ee)if(h[ee].marker==W.marker)continue e;h.push(W)}else w&&(o[s]=w)}return o}function ni(e,t,o){for(var i=[],s=0;s<e.length;++s){var h=e[s];if(h.ranges){i.push(o?cn.prototype.deepCopy.call(h):h);continue}var w=h.changes,B=[];i.push({changes:B});for(var W=0;W<w.length;++W){var ee=w[W],ke=void 0;if(B.push({from:ee.from,to:ee.to,text:ee.text}),t)for(var Me in ee)(ke=Me.match(/^spans_(\d+)$/))&&L(t,Number(ke[1]))>-1&&(_e(B)[Me]=ee[Me],delete ee[Me])}}return i}function Xi(e,t,o,i){if(i){var s=e.anchor;if(o){var h=Ct(t,s)<0;h!=Ct(o,s)<0?(s=t,t=o):h!=Ct(t,o)<0&&(t=o)}return new Mn(s,t)}else return new Mn(o||t,t)}function Qi(e,t,o,i,s){s==null&&(s=e.cm&&(e.cm.display.shift||e.extend)),a(e,new cn([Xi(e.sel.primary(),t,o,s)],0),i)}function $o(e,t,o){for(var i=[],s=e.cm&&(e.cm.display.shift||e.extend),h=0;h<e.sel.ranges.length;h++)i[h]=Xi(e.sel.ranges[h],t[h],null,s);var w=Wn(e.cm,i,e.sel.primIndex);a(e,w,o)}function mo(e,t,o,i){var s=e.sel.ranges.slice(0);s[t]=o,a(e,Wn(e.cm,s,e.sel.primIndex),i)}function qo(e,t,o,i){a(e,na(t,o),i)}function is(e,t,o){var i={ranges:t.ranges,update:function(s){this.ranges=[];for(var h=0;h<s.length;h++)this.ranges[h]=new Mn(Ze(e,s[h].anchor),Ze(e,s[h].head))},origin:o&&o.origin};return Ve(e,"beforeSelectionChange",e,i),e.cm&&Ve(e.cm,"beforeSelectionChange",e.cm,i),i.ranges!=t.ranges?Wn(e.cm,i.ranges,i.ranges.length-1):t}function n(e,t,o){var i=e.history.done,s=_e(i);s&&s.ranges?(i[i.length-1]=t,S(e,t,o)):a(e,t,o)}function a(e,t,o){S(e,t,o),yi(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function S(e,t,o){(it(e,"beforeSelectionChange")||e.cm&&it(e.cm,"beforeSelectionChange"))&&(t=is(e,t,o));var i=o&&o.bias||(Ct(t.primary().head,e.sel.primary().head)<0?-1:1);ie(e,At(e,t,i,!0)),!(o&&o.scroll===!1)&&e.cm&&Ri(e.cm)}function ie(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Nt(e.cm)),qr(e,"cursorActivity",e))}function Ye(e){ie(e,At(e,e.sel,null,!1))}function At(e,t,o,i){for(var s,h=0;h<t.ranges.length;h++){var w=t.ranges[h],B=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[h],W=Pn(e,w.anchor,B&&B.anchor,o,i),ee=Pn(e,w.head,B&&B.head,o,i);(s||W!=w.anchor||ee!=w.head)&&(s||(s=t.ranges.slice(0,h)),s[h]=new Mn(W,ee))}return s?Wn(e.cm,s,t.primIndex):t}function Gt(e,t,o,i,s){var h=Zt(e,t.line);if(h.markedSpans)for(var w=0;w<h.markedSpans.length;++w){var B=h.markedSpans[w],W=B.marker,ee="selectLeft"in W?!W.selectLeft:W.inclusiveLeft,ke="selectRight"in W?!W.selectRight:W.inclusiveRight;if((B.from==null||(ee?B.from<=t.ch:B.from<t.ch))&&(B.to==null||(ke?B.to>=t.ch:B.to>t.ch))){if(s&&(Ve(W,"beforeCursorEnter"),W.explicitlyCleared))if(h.markedSpans){--w;continue}else break;if(!W.atomic)continue;if(o){var Me=W.find(i<0?1:-1),ht=void 0;if((i<0?ke:ee)&&(Me=er(e,Me,-i,Me&&Me.line==t.line?h:null)),Me&&Me.line==t.line&&(ht=Ct(Me,o))&&(i<0?ht<0:ht>0))return Gt(e,Me,t,i,s)}var ut=W.find(i<0?-1:1);return(i<0?ee:ke)&&(ut=er(e,ut,i,ut.line==t.line?h:null)),ut?Gt(e,ut,t,i,s):null}}return t}function Pn(e,t,o,i,s){var h=i||1,w=Gt(e,t,o,h,s)||!s&&Gt(e,t,o,h,!0)||Gt(e,t,o,-h,s)||!s&&Gt(e,t,o,-h,!0);return w||(e.cantEdit=!0,me(e.first,0))}function er(e,t,o,i){return o<0&&t.ch==0?t.line>e.first?Ze(e,me(t.line-1)):null:o>0&&t.ch==(i||Zt(e,t.line)).text.length?t.line<e.first+e.size-1?me(t.line+1,0):null:new me(t.line,t.ch+o)}function Ot(e){e.setSelection(me(e.firstLine(),0),me(e.lastLine()),Ne)}function ln(e,t,o){var i={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return i.canceled=!0}};return o&&(i.update=function(s,h,w,B){s&&(i.from=Ze(e,s)),h&&(i.to=Ze(e,h)),w&&(i.text=w),B!==void 0&&(i.origin=B)}),Ve(e,"beforeChange",e,i),e.cm&&Ve(e.cm,"beforeChange",e.cm,i),i.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:i.from,to:i.to,text:i.text,origin:i.origin}}function ur(e,t,o){if(e.cm){if(!e.cm.curOp)return La(e.cm,ur)(e,t,o);if(e.cm.state.suppressEdits)return}if(!((it(e,"beforeChange")||e.cm&&it(e.cm,"beforeChange"))&&(t=ln(e,t,!0),!t))){var i=Br&&!o&&ct(e,t.from,t.to);if(i)for(var s=i.length-1;s>=0;--s)Yr(e,{from:i[s].from,to:i[s].to,text:s?[""]:t.text,origin:t.origin});else Yr(e,t)}}function Yr(e,t){if(!(t.text.length==1&&t.text[0]==""&&Ct(t.from,t.to)==0)){var o=ia(e,t);zi(e,t,o,e.cm?e.cm.curOp.id:NaN),qi(e,t,o,sa(e,t));var i=[];ir(e,function(s,h){!h&&L(i,s.history)==-1&&(Bo(s.history,t),i.push(s.history)),qi(s,t,null,sa(s,t))})}}function oa(e,t,o){var i=e.cm&&e.cm.state.suppressEdits;if(!(i&&!o)){for(var s=e.history,h,w=e.sel,B=t=="undo"?s.done:s.undone,W=t=="undo"?s.undone:s.done,ee=0;ee<B.length&&(h=B[ee],!(o?h.ranges&&!h.equals(e.sel):!h.ranges));ee++);if(ee!=B.length){for(s.lastOrigin=s.lastSelOrigin=null;;)if(h=B.pop(),h.ranges){if(Gi(h,W),o&&!h.equals(e.sel)){a(e,h,{clearRedo:!1});return}w=h}else if(i){B.push(h);return}else break;var ke=[];Gi(w,W),W.push({changes:ke,generation:s.generation}),s.generation=h.generation||++s.maxGeneration;for(var Me=it(e,"beforeChange")||e.cm&&it(e.cm,"beforeChange"),ht=function(Vt){var rn=h.changes[Vt];if(rn.origin=t,Me&&!ln(e,rn,!1))return B.length=0,{};ke.push(vi(e,rn));var vn=Vt?ia(e,rn):_e(B);qi(e,rn,vn,Di(e,rn)),!Vt&&e.cm&&e.cm.scrollIntoView({from:rn.from,to:Jr(rn)});var Ln=[];ir(e,function(yn,Fn){!Fn&&L(Ln,yn.history)==-1&&(Bo(yn.history,rn),Ln.push(yn.history)),qi(yn,rn,null,Di(yn,rn))})},ut=h.changes.length-1;ut>=0;--ut){var Pt=ht(ut);if(Pt)return Pt.v}}}}function Wi(e,t){if(t!=0&&(e.first+=t,e.sel=new cn($e(e.sel.ranges,function(s){return new Mn(me(s.anchor.line+t,s.anchor.ch),me(s.head.line+t,s.head.ch))}),e.sel.primIndex),e.cm)){Qr(e.cm,e.first,e.first-t,t);for(var o=e.cm.display,i=o.viewFrom;i<o.viewTo;i++)bi(e.cm,i,"gutter")}}function qi(e,t,o,i){if(e.cm&&!e.cm.curOp)return La(e.cm,qi)(e,t,o,i);if(t.to.line<e.first){Wi(e,t.text.length-1-(t.to.line-t.from.line));return}if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var s=t.text.length-1-(e.first-t.from.line);Wi(e,s),t={from:me(e.first,0),to:me(t.to.line+s,t.to.ch),text:[_e(t.text)],origin:t.origin}}var h=e.lastLine();t.to.line>h&&(t={from:t.from,to:me(h,Zt(e,h).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Rn(e,t.from,t.to),o||(o=ia(e,t)),e.cm?bo(e.cm,t,i):nr(e,t,i),S(e,o,Ne),e.cantEdit&&Pn(e,me(e.firstLine(),0))&&(e.cantEdit=!1)}}function bo(e,t,o){var i=e.doc,s=e.display,h=t.from,w=t.to,B=!1,W=h.line;e.options.lineWrapping||(W=Pe(bt(Zt(i,h.line))),i.iter(W,w.line+1,function(ut){if(ut==s.maxLine)return B=!0,!0})),i.sel.contains(t.from,t.to)>-1&&Nt(e),nr(i,t,o,Ro(e)),e.options.lineWrapping||(i.iter(W,h.line+t.text.length,function(ut){var Pt=qn(ut);Pt>s.maxLineLength&&(s.maxLine=ut,s.maxLineLength=Pt,s.maxLineChanged=!0,B=!1)}),B&&(e.curOp.updateMaxLine=!0)),zr(i,h.line),go(e,400);var ee=t.text.length-(w.line-h.line)-1;t.full?Qr(e):h.line==w.line&&t.text.length==1&&!da(e.doc,t)?bi(e,h.line,"text"):Qr(e,h.line,w.line+1,ee);var ke=it(e,"changes"),Me=it(e,"change");if(Me||ke){var ht={from:h,to:w,text:t.text,removed:t.removed,origin:t.origin};Me&&qr(e,"change",e,ht),ke&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(ht)}e.display.selForContextMenu=null}function uo(e,t,o,i,s){var h;i||(i=o),Ct(i,o)<0&&(h=[i,o],o=h[0],i=h[1]),typeof t=="string"&&(t=e.splitLines(t)),ur(e,{from:o,to:i,text:t,origin:s})}function Vo(e,t,o,i){o<e.line?e.line+=i:t<e.line&&(e.line=t,e.ch=0)}function ki(e,t,o,i){for(var s=0;s<e.length;++s){var h=e[s],w=!0;if(h.ranges){h.copied||(h=e[s]=h.deepCopy(),h.copied=!0);for(var B=0;B<h.ranges.length;B++)Vo(h.ranges[B].anchor,t,o,i),Vo(h.ranges[B].head,t,o,i);continue}for(var W=0;W<h.changes.length;++W){var ee=h.changes[W];if(o<ee.from.line)ee.from=me(ee.from.line+i,ee.from.ch),ee.to=me(ee.to.line+i,ee.to.ch);else if(t<=ee.to.line){w=!1;break}}w||(e.splice(0,s+1),s=0)}}function Bo(e,t){var o=t.from.line,i=t.to.line,s=t.text.length-(i-o)-1;ki(e.done,o,i,s),ki(e.undone,o,i,s)}function _i(e,t,o,i){var s=t,h=t;return typeof t=="number"?h=Zt(e,qt(e,t)):s=Pe(t),s==null?null:(i(h,s)&&e.cm&&bi(e.cm,s,o),h)}function ms(e){this.lines=e,this.parent=null;for(var t=0,o=0;o<e.length;++o)e[o].parent=this,t+=e[o].height;this.height=t}ms.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var o=e,i=e+t;o<i;++o){var s=this.lines[o];this.height-=s.height,Er(s),qr(s,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,o){this.height+=o,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=this},iterN:function(e,t,o){for(var i=e+t;e<i;++e)if(o(this.lines[e]))return!0}};function bs(e){this.children=e;for(var t=0,o=0,i=0;i<e.length;++i){var s=e[i];t+=s.chunkSize(),o+=s.height,s.parent=this}this.size=t,this.height=o,this.parent=null}bs.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var o=0;o<this.children.length;++o){var i=this.children[o],s=i.chunkSize();if(e<s){var h=Math.min(t,s-e),w=i.height;if(i.removeInner(e,h),this.height-=w-i.height,s==h&&(this.children.splice(o--,1),i.parent=null),(t-=h)==0)break;e=0}else e-=s}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ms))){var B=[];this.collapse(B),this.children=[new ms(B)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,o){this.size+=t.length,this.height+=o;for(var i=0;i<this.children.length;++i){var s=this.children[i],h=s.chunkSize();if(e<=h){if(s.insertInner(e,t,o),s.lines&&s.lines.length>50){for(var w=s.lines.length%25+25,B=w;B<s.lines.length;){var W=new ms(s.lines.slice(B,B+=25));s.height-=W.height,this.children.splice(++i,0,W),W.parent=this}s.lines=s.lines.slice(0,w),this.maybeSpill()}break}e-=h}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),o=new bs(t);if(e.parent){e.size-=o.size,e.height-=o.height;var s=L(e.parent.children,e);e.parent.children.splice(s+1,0,o)}else{var i=new bs(e.children);i.parent=e,e.children=[i,o],e=i}o.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,o){for(var i=0;i<this.children.length;++i){var s=this.children[i],h=s.chunkSize();if(e<h){var w=Math.min(t,h-e);if(s.iterN(e,w,o))return!0;if((t-=w)==0)break;e=0}else e-=h}}};var vs=function(e,t,o){if(o)for(var i in o)o.hasOwnProperty(i)&&(this[i]=o[i]);this.doc=e,this.node=t};vs.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,o=this.line,i=Pe(o);if(!(i==null||!t)){for(var s=0;s<t.length;++s)t[s]==this&&t.splice(s--,1);t.length||(o.widgets=null);var h=la(this);Or(o,Math.max(0,o.height-h)),e&&(ei(e,function(){Ys(e,o,-h),bi(e,i,"widget")}),qr(e,"lineWidgetCleared",e,this,i))}},vs.prototype.changed=function(){var e=this,t=this.height,o=this.doc.cm,i=this.line;this.height=null;var s=la(this)-t;s&&(kn(this.doc,i)||Or(i,i.height+s),o&&ei(o,function(){o.curOp.forceUpdate=!0,Ys(o,i,s),qr(o,"lineWidgetChanged",o,e,Pe(i))}))},Q(vs);function Ys(e,t,o){An(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&ko(e,o)}function Il(e,t,o,i){var s=new vs(e,o,i),h=e.cm;return h&&s.noHScroll&&(h.display.alignWidgets=!0),_i(e,t,"widget",function(w){var B=w.widgets||(w.widgets=[]);if(s.insertAt==null?B.push(s):B.splice(Math.min(B.length-1,Math.max(0,s.insertAt)),0,s),s.line=w,h&&!kn(e,w)){var W=An(w)<e.scrollTop;Or(w,w.height+la(s)),W&&ko(h,s.height),h.curOp.forceUpdate=!0}return!0}),h&&qr(h,"lineWidgetAdded",h,s,typeof t=="number"?t:Pe(t)),s}var Xs=0,Ko=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Xs};Ko.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ja(e),it(this,"clear")){var o=this.find();o&&qr(this,"clear",o.from,o.to)}for(var i=null,s=null,h=0;h<this.lines.length;++h){var w=this.lines[h],B=Bn(w.markedSpans,this);e&&!this.collapsed?bi(e,Pe(w),"text"):e&&(B.to!=null&&(s=Pe(w)),B.from!=null&&(i=Pe(w))),w.markedSpans=zn(w.markedSpans,B),B.from==null&&this.collapsed&&!kn(this.doc,w)&&e&&Or(w,xa(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var W=0;W<this.lines.length;++W){var ee=bt(this.lines[W]),ke=qn(ee);ke>e.display.maxLineLength&&(e.display.maxLine=ee,e.display.maxLineLength=ke,e.display.maxLineChanged=!0)}i!=null&&e&&this.collapsed&&Qr(e,i,s+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ye(e.doc)),e&&qr(e,"markerCleared",e,this,i,s),t&&Ai(e),this.parent&&this.parent.clear()}},Ko.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var o,i,s=0;s<this.lines.length;++s){var h=this.lines[s],w=Bn(h.markedSpans,this);if(w.from!=null&&(o=me(t?h:Pe(h),w.from),e==-1))return o;if(w.to!=null&&(i=me(t?h:Pe(h),w.to),e==1))return i}return o&&{from:o,to:i}},Ko.prototype.changed=function(){var e=this,t=this.find(-1,!0),o=this,i=this.doc.cm;!t||!i||ei(i,function(){var s=t.line,h=Pe(t.line),w=Va(i,h);if(w&&(fo(w),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!kn(o.doc,s)&&o.height!=null){var B=o.height;o.height=null;var W=la(o)-B;W&&Or(s,s.height+W)}qr(i,"markerChanged",i,e)})},Ko.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||L(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Ko.prototype.detachLine=function(e){if(this.lines.splice(L(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},Q(Ko);function os(e,t,o,i,s){if(i&&i.shared)return Rl(e,t,o,i,s);if(e.cm&&!e.cm.curOp)return La(e.cm,os)(e,t,o,i,s);var h=new Ko(e,s),w=Ct(t,o);if(i&&He(i,h,!1),w>0||w==0&&h.clearWhenEmpty!==!1)return h;if(h.replacedWith&&(h.collapsed=!0,h.widgetNode=re("span",[h.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||h.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(h.widgetNode.insertLeft=!0)),h.collapsed){if(vt(e,t.line,t,o,h)||t.line!=o.line&&vt(e,o.line,t,o,h))throw new Error("Inserting collapsed marker partially overlapping an existing one");Wr()}h.addToHistory&&zi(e,{from:t,to:o,origin:"markText"},e.sel,NaN);var B=t.line,W=e.cm,ee;if(e.iter(B,o.line+1,function(Me){W&&h.collapsed&&!W.options.lineWrapping&&bt(Me)==W.display.maxLine&&(ee=!0),h.collapsed&&B!=t.line&&Or(Me,0),dr(Me,new mn(h,B==t.line?t.ch:null,B==o.line?o.ch:null)),++B}),h.collapsed&&e.iter(t.line,o.line+1,function(Me){kn(e,Me)&&Or(Me,0)}),h.clearOnEnter&&pe(h,"beforeCursorEnter",function(){return h.clear()}),h.readOnly&&(Gr(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),h.collapsed&&(h.id=++Xs,h.atomic=!0),W){if(ee&&(W.curOp.updateMaxLine=!0),h.collapsed)Qr(W,t.line,o.line+1);else if(h.className||h.startStyle||h.endStyle||h.css||h.attributes||h.title)for(var ke=t.line;ke<=o.line;ke++)bi(W,ke,"text");h.atomic&&Ye(W.doc),qr(W,"markerAdded",W,h)}return h}var ys=function(e,t){this.markers=e,this.primary=t;for(var o=0;o<e.length;++o)e[o].parent=this};ys.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();qr(this,"clear")}},ys.prototype.find=function(e,t){return this.primary.find(e,t)},Q(ys);function Rl(e,t,o,i,s){i=He(i),i.shared=!1;var h=[os(e,t,o,i,s)],w=h[0],B=i.widgetNode;return ir(e,function(W){B&&(i.widgetNode=B.cloneNode(!0)),h.push(os(W,Ze(W,t),Ze(W,o),i,s));for(var ee=0;ee<W.linked.length;++ee)if(W.linked[ee].isParent)return;w=_e(h)}),new ys(h,w)}function Qs(e){return e.findMarks(me(e.first,0),e.clipPos(me(e.lastLine())),function(t){return t.parent})}function Ll(e,t){for(var o=0;o<t.length;o++){var i=t[o],s=i.find(),h=e.clipPos(s.from),w=e.clipPos(s.to);if(Ct(h,w)){var B=os(e,h,w,i.primary,i.primary.type);i.markers.push(B),B.parent=i}}}function Ol(e){for(var t=function(i){var s=e[i],h=[s.primary.doc];ir(s.primary.doc,function(W){return h.push(W)});for(var w=0;w<s.markers.length;w++){var B=s.markers[w];L(h,B.doc)==-1&&(B.parent=null,s.markers.splice(w--,1))}},o=0;o<e.length;o++)t(o)}var Dl=0,Mi=function(e,t,o,i,s){if(!(this instanceof Mi))return new Mi(e,t,o,i,s);o==null&&(o=0),bs.call(this,[new ms([new Ar("",null)])]),this.first=o,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=o;var h=me(o,0);this.sel=na(h),this.history=new ti(null),this.id=++Dl,this.modeOption=t,this.lineSep=i,this.direction=s=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),nr(this,{from:h,to:h,text:e}),a(this,na(h),Ne)};Mi.prototype=p(bs.prototype,{constructor:Mi,iter:function(e,t,o){o?this.iterN(e-this.first,t-e,o):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var o=0,i=0;i<t.length;++i)o+=t[i].height;this.insertInner(e-this.first,t,o)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=mr(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:Oa(function(e){var t=me(this.first,0),o=this.first+this.size-1;ur(this,{from:t,to:me(o,Zt(this,o).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Ci(this.cm,0,0),a(this,na(t),Ne)}),replaceRange:function(e,t,o,i){t=Ze(this,t),o=o?Ze(this,o):t,uo(this,e,t,o,i)},getRange:function(e,t,o){var i=Rn(this,Ze(this,e),Ze(this,t));return o===!1?i:i.join(o||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Bt(this,e))return Zt(this,e)},getLineNumber:function(e){return Pe(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Zt(this,e)),bt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return Ze(this,e)},getCursor:function(e){var t=this.sel.primary(),o;return e==null||e=="head"?o=t.head:e=="anchor"?o=t.anchor:e=="end"||e=="to"||e===!1?o=t.to():o=t.from(),o},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Oa(function(e,t,o){qo(this,Ze(this,typeof e=="number"?me(e,t||0):e),null,o)}),setSelection:Oa(function(e,t,o){qo(this,Ze(this,e),Ze(this,t||e),o)}),extendSelection:Oa(function(e,t,o){Qi(this,Ze(this,e),t&&Ze(this,t),o)}),extendSelections:Oa(function(e,t){$o(this,jt(this,e),t)}),extendSelectionsBy:Oa(function(e,t){var o=$e(this.sel.ranges,e);$o(this,jt(this,o),t)}),setSelections:Oa(function(e,t,o){if(e.length){for(var i=[],s=0;s<e.length;s++)i[s]=new Mn(Ze(this,e[s].anchor),Ze(this,e[s].head));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),a(this,Wn(this.cm,i,t),o)}}),addSelection:Oa(function(e,t,o){var i=this.sel.ranges.slice(0);i.push(new Mn(Ze(this,e),Ze(this,t||e))),a(this,Wn(this.cm,i,i.length-1),o)}),getSelection:function(e){for(var t=this.sel.ranges,o,i=0;i<t.length;i++){var s=Rn(this,t[i].from(),t[i].to());o=o?o.concat(s):s}return e===!1?o:o.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],o=this.sel.ranges,i=0;i<o.length;i++){var s=Rn(this,o[i].from(),o[i].to());e!==!1&&(s=s.join(e||this.lineSeparator())),t[i]=s}return t},replaceSelection:function(e,t,o){for(var i=[],s=0;s<this.sel.ranges.length;s++)i[s]=e;this.replaceSelections(i,t,o||"+input")},replaceSelections:Oa(function(e,t,o){for(var i=[],s=this.sel,h=0;h<s.ranges.length;h++){var w=s.ranges[h];i[h]={from:w.from(),to:w.to(),text:this.splitLines(e[h]),origin:o}}for(var B=t&&t!="end"&&ra(this,i,t),W=i.length-1;W>=0;W--)ur(this,i[W]);B?n(this,B):this.cm&&Ri(this.cm)}),undo:Oa(function(){oa(this,"undo")}),redo:Oa(function(){oa(this,"redo")}),undoSelection:Oa(function(){oa(this,"undo",!0)}),redoSelection:Oa(function(){oa(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,o=0,i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(var s=0;s<e.undone.length;s++)e.undone[s].ranges||++o;return{undo:t,redo:o}},clearHistory:function(){var e=this;this.history=new ti(this.history.maxGeneration),ir(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:ni(this.history.done),undone:ni(this.history.undone)}},setHistory:function(e){var t=this.history=new ti(this.history.maxGeneration);t.done=ni(e.done.slice(0),null,!0),t.undone=ni(e.undone.slice(0),null,!0)},setGutterMarker:Oa(function(e,t,o){return _i(this,e,"gutter",function(i){var s=i.gutterMarkers||(i.gutterMarkers={});return s[t]=o,!o&&g(s)&&(i.gutterMarkers=null),!0})}),clearGutter:Oa(function(e){var t=this;this.iter(function(o){o.gutterMarkers&&o.gutterMarkers[e]&&_i(t,o,"gutter",function(){return o.gutterMarkers[e]=null,g(o.gutterMarkers)&&(o.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!Bt(this,e)||(t=e,e=Zt(this,e),!e))return null}else if(t=Pe(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Oa(function(e,t,o){return _i(this,e,t=="gutter"?"gutter":"class",function(i){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!i[s])i[s]=o;else{if(_(o).test(i[s]))return!1;i[s]+=" "+o}return!0})}),removeLineClass:Oa(function(e,t,o){return _i(this,e,t=="gutter"?"gutter":"class",function(i){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",h=i[s];if(h)if(o==null)i[s]=null;else{var w=h.match(_(o));if(!w)return!1;var B=w.index+w[0].length;i[s]=h.slice(0,w.index)+(!w.index||B==h.length?"":" ")+h.slice(B)||null}else return!1;return!0})}),addLineWidget:Oa(function(e,t,o){return Il(this,e,t,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,o){return os(this,Ze(this,e),Ze(this,t),o,o&&o.type||"range")},setBookmark:function(e,t){var o={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=Ze(this,e),os(this,e,e,o,"bookmark")},findMarksAt:function(e){e=Ze(this,e);var t=[],o=Zt(this,e.line).markedSpans;if(o)for(var i=0;i<o.length;++i){var s=o[i];(s.from==null||s.from<=e.ch)&&(s.to==null||s.to>=e.ch)&&t.push(s.marker.parent||s.marker)}return t},findMarks:function(e,t,o){e=Ze(this,e),t=Ze(this,t);var i=[],s=e.line;return this.iter(e.line,t.line+1,function(h){var w=h.markedSpans;if(w)for(var B=0;B<w.length;B++){var W=w[B];!(W.to!=null&&s==e.line&&e.ch>=W.to||W.from==null&&s!=e.line||W.from!=null&&s==t.line&&W.from>=t.ch)&&(!o||o(W.marker))&&i.push(W.marker.parent||W.marker)}++s}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var o=t.markedSpans;if(o)for(var i=0;i<o.length;++i)o[i].from!=null&&e.push(o[i].marker)}),e},posFromIndex:function(e){var t,o=this.first,i=this.lineSeparator().length;return this.iter(function(s){var h=s.text.length+i;if(h>e)return t=e,!0;e-=h,++o}),Ze(this,me(o,t))},indexFromPos:function(e){e=Ze(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var o=this.lineSeparator().length;return this.iter(this.first,e.line,function(i){t+=i.text.length+o}),t},copy:function(e){var t=new Mi(mr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,o=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<o&&(o=e.to);var i=new Mi(mr(this,t,o),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:e.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Ll(i,Qs(this)),i},unlinkDoc:function(e){if(e instanceof Na&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var o=this.linked[t];if(o.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Ol(Qs(this));break}}if(e.history==this.history){var i=[e.id];ir(e,function(s){return i.push(s.id)},!0),e.history=new ti(null),e.history.done=ni(this.history.done,i),e.history.undone=ni(this.history.undone,i)}},iterLinkedDocs:function(e){ir(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):gn(e)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Oa(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&_a(this.cm))})}),Mi.prototype.eachLine=Mi.prototype.iter;var qs=0;function _l(e){var t=this;if(Js(t),!(at(t,e)||ua(t.display,e))){Et(e),k&&(qs=+new Date);var o=mi(t,e,!0),i=e.dataTransfer.files;if(!(!o||t.isReadOnly()))if(i&&i.length&&window.FileReader&&window.File)for(var s=i.length,h=Array(s),w=0,B=function(){++w==s&&La(t,function(){o=Ze(t.doc,o);var ut={from:o,to:o,text:t.doc.splitLines(h.filter(function(Pt){return Pt!=null}).join(t.doc.lineSeparator())),origin:"paste"};ur(t.doc,ut),n(t.doc,na(Ze(t.doc,o),Ze(t.doc,Jr(ut))))})()},W=function(ut,Pt){if(t.options.allowDropFileTypes&&L(t.options.allowDropFileTypes,ut.type)==-1){B();return}var Vt=new FileReader;Vt.onerror=function(){return B()},Vt.onload=function(){var rn=Vt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(rn)){B();return}h[Pt]=rn,B()},Vt.readAsText(ut)},ee=0;ee<i.length;ee++)W(i[ee],ee);else{if(t.state.draggingText&&t.doc.sel.contains(o)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var ke=e.dataTransfer.getData("Text");if(ke){var Me;if(t.state.draggingText&&!t.state.draggingText.copy&&(Me=t.listSelections()),S(t.doc,na(o,o)),Me)for(var ht=0;ht<Me.length;++ht)uo(t.doc,"",Me[ht].anchor,Me[ht].head,"drag");t.replaceSelection(ke,"around","paste"),t.display.input.focus()}}catch(ut){}}}}function Ml(e,t){if(k&&(!e.state.draggingText||+new Date-qs<100)){zt(t);return}if(!(at(e,t)||ua(e.display,t))&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!ae)){var o=fe("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",I&&(o.width=o.height=1,e.display.wrapper.appendChild(o),o._top=o.offsetTop),t.dataTransfer.setDragImage(o,0,0),I&&o.parentNode.removeChild(o)}}function Pl(e,t){var o=mi(e,t);if(o){var i=document.createDocumentFragment();Do(e,o,i),e.display.dragCursor||(e.display.dragCursor=fe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),H(e.display.dragCursor,i)}}function Js(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function el(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),o=[],i=0;i<t.length;i++){var s=t[i].CodeMirror;s&&o.push(s)}o.length&&o[0].operation(function(){for(var h=0;h<o.length;h++)e(o[h])})}}var tl=!1;function Fl(){tl||(Bl(),tl=!0)}function Bl(){var e;pe(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,el(Ul)},100))}),pe(window,"blur",function(){return el(io)})}function Ul(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var jo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Es=0;Es<10;Es++)jo[Es+48]=jo[Es+96]=String(Es);for(var Ns=65;Ns<=90;Ns++)jo[Ns]=String.fromCharCode(Ns);for(var Ss=1;Ss<=12;Ss++)jo[Ss+111]=jo[Ss+63235]="F"+Ss;var Uo={};Uo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Uo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Uo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Uo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Uo.default=X?Uo.macDefault:Uo.pcDefault;function Hl(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var o,i,s,h,w=0;w<t.length-1;w++){var B=t[w];if(/^(cmd|meta|m)$/i.test(B))h=!0;else if(/^a(lt)?$/i.test(B))o=!0;else if(/^(c|ctrl|control)$/i.test(B))i=!0;else if(/^s(hift)?$/i.test(B))s=!0;else throw new Error("Unrecognized modifier name: "+B)}return o&&(e="Alt-"+e),i&&(e="Ctrl-"+e),h&&(e="Cmd-"+e),s&&(e="Shift-"+e),e}function zl(e){var t={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];if(/^(name|fallthrough|(de|at)tach)$/.test(o))continue;if(i=="..."){delete e[o];continue}for(var s=$e(o.split(" "),Hl),h=0;h<s.length;h++){var w=void 0,B=void 0;h==s.length-1?(B=s.join(" "),w=i):(B=s.slice(0,h+1).join(" "),w="...");var W=t[B];if(!W)t[B]=w;else if(W!=w)throw new Error("Inconsistent bindings for "+B)}delete e[o]}for(var ee in t)e[ee]=t[ee];return e}function ss(e,t,o,i){t=Is(t);var s=t.call?t.call(e,i):t[e];if(s===!1)return"nothing";if(s==="...")return"multi";if(s!=null&&o(s))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return ss(e,t.fallthrough,o,i);for(var h=0;h<t.fallthrough.length;h++){var w=ss(e,t.fallthrough[h],o,i);if(w)return w}}}function nl(e){var t=typeof e=="string"?e:jo[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function rl(e,t,o){var i=e;return t.altKey&&i!="Alt"&&(e="Alt-"+e),(P?t.metaKey:t.ctrlKey)&&i!="Ctrl"&&(e="Ctrl-"+e),(P?t.ctrlKey:t.metaKey)&&i!="Mod"&&(e="Cmd-"+e),!o&&t.shiftKey&&i!="Shift"&&(e="Shift-"+e),e}function al(e,t){if(I&&e.keyCode==34&&e.char)return!1;var o=jo[e.keyCode];return o==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(o=e.code),rl(o,e,t))}function Is(e){return typeof e=="string"?Uo[e]:e}function ls(e,t){for(var o=e.doc.sel.ranges,i=[],s=0;s<o.length;s++){for(var h=t(o[s]);i.length&&Ct(h.from,_e(i).to)<=0;){var w=i.pop();if(Ct(w.from,h.from)<0){h.from=w.from;break}}i.push(h)}ei(e,function(){for(var B=i.length-1;B>=0;B--)uo(e.doc,"",i[B].from,i[B].to,"+delete");Ri(e)})}function Ps(e,t,o){var i=tt(e.text,t+o,o);return i<0||i>e.text.length?null:i}function Fs(e,t,o){var i=Ps(e,t.ch,o);return i==null?null:new me(t.line,i,o<0?"after":"before")}function Bs(e,t,o,i,s){if(e){t.doc.direction=="rtl"&&(s=-s);var h=lt(o,t.doc.direction);if(h){var w=s<0?_e(h):h[0],B=s<0==(w.level==1),W=B?"after":"before",ee;if(w.level>0||t.doc.direction=="rtl"){var ke=ii(t,o);ee=s<0?o.text.length-1:0;var Me=Ka(t,ke,ee).top;ee=nt(function(ht){return Ka(t,ke,ht).top==Me},s<0==(w.level==1)?w.from:w.to-1,ee),W=="before"&&(ee=Ps(o,ee,1))}else ee=s<0?w.to:w.from;return new me(i,ee,W)}}return new me(i,s<0?o.text.length:0,s<0?"before":"after")}function Gl(e,t,o,i){var s=lt(t,e.doc.direction);if(!s)return Fs(t,o,i);o.ch>=t.text.length?(o.ch=t.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var h=Oe(s,o.ch,o.sticky),w=s[h];if(e.doc.direction=="ltr"&&w.level%2==0&&(i>0?w.to>o.ch:w.from<o.ch))return Fs(t,o,i);var B=function(vn,Ln){return Ps(t,vn instanceof me?vn.ch:vn,Ln)},W,ee=function(vn){return e.options.lineWrapping?(W=W||ii(e,t),va(e,t,W,vn)):{begin:0,end:t.text.length}},ke=ee(o.sticky=="before"?B(o,-1):o.ch);if(e.doc.direction=="rtl"||w.level==1){var Me=w.level==1==i<0,ht=B(o,Me?1:-1);if(ht!=null&&(Me?ht<=w.to&&ht<=ke.end:ht>=w.from&&ht>=ke.begin)){var ut=Me?"before":"after";return new me(o.line,ht,ut)}}var Pt=function(vn,Ln,yn){for(var Fn=function(ya,ri){return ri?new me(o.line,B(ya,1),"before"):new me(o.line,ya,"after")};vn>=0&&vn<s.length;vn+=Ln){var cr=s[vn],Jn=Ln>0==(cr.level!=1),Hr=Jn?yn.begin:B(yn.end,-1);if(cr.from<=Hr&&Hr<cr.to||(Hr=Jn?cr.from:B(cr.to,-1),yn.begin<=Hr&&Hr<yn.end))return Fn(Hr,Jn)}},Vt=Pt(h+i,i,ke);if(Vt)return Vt;var rn=i>0?ke.end:B(ke.begin,-1);return rn!=null&&!(i>0&&rn==t.text.length)&&(Vt=Pt(i>0?0:s.length-1,i,ee(rn)),Vt)?Vt:null}var Ts={selectAll:Ot,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ne)},killLine:function(e){return ls(e,function(t){if(t.empty()){var o=Zt(e.doc,t.head.line).text.length;return t.head.ch==o&&t.head.line<e.lastLine()?{from:t.head,to:me(t.head.line+1,0)}:{from:t.head,to:me(t.head.line,o)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return ls(e,function(t){return{from:me(t.from().line,0),to:Ze(e.doc,me(t.to().line+1,0))}})},delLineLeft:function(e){return ls(e,function(t){return{from:me(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return ls(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return{from:i,to:t.from()}})},delWrappedLineRight:function(e){return ls(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div");return{from:t.from(),to:i}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(me(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(me(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return il(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return ol(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return Wl(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div")},pt)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:o},"div")},pt)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return i.ch<e.getLine(i.line).search(/\S/)?ol(e,t.head):i},pt)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],o=e.listSelections(),i=e.options.tabSize,s=0;s<o.length;s++){var h=o[s].from(),w=oe(e.getLine(h.line),h.ch,i);t.push(Te(i-w%i))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return ei(e,function(){for(var t=e.listSelections(),o=[],i=0;i<t.length;i++)if(t[i].empty()){var s=t[i].head,h=Zt(e.doc,s.line).text;if(h){if(s.ch==h.length&&(s=new me(s.line,s.ch-1)),s.ch>0)s=new me(s.line,s.ch+1),e.replaceRange(h.charAt(s.ch-1)+h.charAt(s.ch-2),me(s.line,s.ch-2),s,"+transpose");else if(s.line>e.doc.first){var w=Zt(e.doc,s.line-1).text;w&&(s=new me(s.line,1),e.replaceRange(h.charAt(0)+e.doc.lineSeparator()+w.charAt(w.length-1),me(s.line-1,w.length-1),s,"+transpose"))}}o.push(new Mn(s,s))}e.setSelections(o)})},newlineAndIndent:function(e){return ei(e,function(){for(var t=e.listSelections(),o=t.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),t[o].anchor,t[o].head,"+input");t=e.listSelections();for(var i=0;i<t.length;i++)e.indentLine(t[i].from().line,null,!0);Ri(e)})},openLine:function(e){return e.replaceSelection(`
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function il(e,t){var o=Zt(e.doc,t),i=bt(o);return i!=o&&(t=Pe(i)),Bs(!0,e,i,t,1)}function Wl(e,t){var o=Zt(e.doc,t),i=kt(o);return i!=o&&(t=Pe(i)),Bs(!0,e,o,t,-1)}function ol(e,t){var o=il(e,t.line),i=Zt(e.doc,o.line),s=lt(i,e.doc.direction);if(!s||s[0].level==0){var h=Math.max(o.ch,i.text.search(/\S/)),w=t.line==o.line&&t.ch<=h&&t.ch;return me(o.line,w?0:h,o.sticky)}return o}function Rs(e,t,o){if(typeof t=="string"&&(t=Ts[t],!t))return!1;e.display.input.ensurePolled();var i=e.display.shift,s=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),o&&(e.display.shift=!1),s=t(e)!=Ue}finally{e.display.shift=i,e.state.suppressEdits=!1}return s}function Zl(e,t,o){for(var i=0;i<e.state.keyMaps.length;i++){var s=ss(t,e.state.keyMaps[i],o,e);if(s)return s}return e.options.extraKeys&&ss(t,e.options.extraKeys,o,e)||ss(t,e.options.keyMap,o,e)}var $l=new F;function Cs(e,t,o,i){var s=e.state.keySeq;if(s){if(nl(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:$l.set(50,function(){e.state.keySeq==s&&(e.state.keySeq=null,e.display.input.reset())}),sl(e,s+" "+t,o,i))return!0}return sl(e,t,o,i)}function sl(e,t,o,i){var s=Zl(e,t,i);return s=="multi"&&(e.state.keySeq=t),s=="handled"&&qr(e,"keyHandled",e,t,o),(s=="handled"||s=="multi")&&(Et(o),ro(e)),!!s}function ll(e,t){var o=al(t,!0);return o?t.shiftKey&&!e.state.keySeq?Cs(e,"Shift-"+o,t,function(i){return Rs(e,i,!0)})||Cs(e,o,t,function(i){if(typeof i=="string"?/^go[A-Z]/.test(i):i.motion)return Rs(e,i)}):Cs(e,o,t,function(i){return Rs(e,i)}):!1}function Vl(e,t,o){return Cs(e,"'"+o+"'",t,function(i){return Rs(e,i,!0)})}var Us=null;function ul(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&(t.curOp.focus=ne(),!at(t,e))){k&&f<11&&e.keyCode==27&&(e.returnValue=!1);var o=e.keyCode;t.display.shift=o==16||e.shiftKey;var i=ll(t,e);I&&(Us=i?o:null,!i&&o==88&&!Ft&&(X?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),u&&!X&&!i&&o==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),o==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&Kl(t)}}function Kl(e){var t=e.display.lineDiv;ge(t,"CodeMirror-crosshair");function o(i){(i.keyCode==18||!i.altKey)&&(J(t,"CodeMirror-crosshair"),st(document,"keyup",o),st(document,"mouseover",o))}pe(document,"keyup",o),pe(document,"mouseover",o)}function cl(e){e.keyCode==16&&(this.doc.sel.shift=!1),at(this,e)}function dl(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&!(ua(t.display,e)||at(t,e)||e.ctrlKey&&!e.altKey||X&&e.metaKey)){var o=e.keyCode,i=e.charCode;if(I&&o==Us){Us=null,Et(e);return}if(!(I&&(!e.which||e.which<10)&&ll(t,e))){var s=String.fromCharCode(i==null?o:i);s!="\b"&&(Vl(t,e,s)||t.display.input.onKeyPress(e))}}}var jl=400,Hs=function(e,t,o){this.time=e,this.pos=t,this.button=o};Hs.prototype.compare=function(e,t,o){return this.time+jl>e&&Ct(t,this.pos)==0&&o==this.button};var xs,As;function Yl(e,t){var o=+new Date;return As&&As.compare(o,e,t)?(xs=As=null,"triple"):xs&&xs.compare(o,e,t)?(As=new Hs(o,e,t),xs=null,"double"):(xs=new Hs(o,e,t),As=null,"single")}function fl(e){var t=this,o=t.display;if(!(at(t,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,ua(o,e)){R||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!zs(t,e)){var i=mi(t,e),s=Xt(e),h=i?Yl(i,s):"single";window.focus(),s==1&&t.state.selectingText&&t.state.selectingText(e),!(i&&Xl(t,s,i,h,e))&&(s==1?i?ql(t,i,h,e):nn(e)==o.scroller&&Et(e):s==2?(i&&Qi(t.doc,i),setTimeout(function(){return o.input.focus()},20)):s==3&&(U?t.display.input.onContextMenu(e):Ao(t)))}}}function Xl(e,t,o,i,s){var h="Click";return i=="double"?h="Double"+h:i=="triple"&&(h="Triple"+h),h=(t==1?"Left":t==2?"Middle":"Right")+h,Cs(e,rl(h,s),s,function(w){if(typeof w=="string"&&(w=Ts[w]),!w)return!1;var B=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),B=w(e,o)!=Ue}finally{e.state.suppressEdits=!1}return B})}function Ql(e,t,o){var i=e.getOption("configureMouse"),s=i?i(e,t,o):{};if(s.unit==null){var h=q?o.shiftKey&&o.metaKey:o.altKey;s.unit=h?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(s.extend==null||e.doc.extend)&&(s.extend=e.doc.extend||o.shiftKey),s.addNew==null&&(s.addNew=X?o.metaKey:o.ctrlKey),s.moveOnDrag==null&&(s.moveOnDrag=!(X?o.altKey:o.ctrlKey)),s}function ql(e,t,o,i){k?setTimeout(Ie(ao,e),0):e.curOp.focus=ne();var s=Ql(e,o,i),h=e.doc.sel,w;e.options.dragDrop&&je&&!e.isReadOnly()&&o=="single"&&(w=h.contains(t))>-1&&(Ct((w=h.ranges[w]).from(),t)<0||t.xRel>0)&&(Ct(w.to(),t)>0||t.xRel<0)?Jl(e,i,t,s):eu(e,i,t,s)}function Jl(e,t,o,i){var s=e.display,h=!1,w=La(e,function(ee){R&&(s.scroller.draggable=!1),e.state.draggingText=!1,st(s.wrapper.ownerDocument,"mouseup",w),st(s.wrapper.ownerDocument,"mousemove",B),st(s.scroller,"dragstart",W),st(s.scroller,"drop",w),h||(Et(ee),i.addNew||Qi(e.doc,o,null,null,i.extend),R&&!ae||k&&f==9?setTimeout(function(){s.wrapper.ownerDocument.body.focus({preventScroll:!0}),s.input.focus()},20):s.input.focus())}),B=function(ee){h=h||Math.abs(t.clientX-ee.clientX)+Math.abs(t.clientY-ee.clientY)>=10},W=function(){return h=!0};R&&(s.scroller.draggable=!0),e.state.draggingText=w,w.copy=!i.moveOnDrag,s.scroller.dragDrop&&s.scroller.dragDrop(),pe(s.wrapper.ownerDocument,"mouseup",w),pe(s.wrapper.ownerDocument,"mousemove",B),pe(s.scroller,"dragstart",W),pe(s.scroller,"drop",w),Ao(e),setTimeout(function(){return s.input.focus()},20)}function pl(e,t,o){if(o=="char")return new Mn(t,t);if(o=="word")return e.findWordAt(t);if(o=="line")return new Mn(me(t.line,0),Ze(e.doc,me(t.line+1,0)));var i=o(e,t);return new Mn(i.from,i.to)}function eu(e,t,o,i){var s=e.display,h=e.doc;Et(t);var w,B,W=h.sel,ee=W.ranges;if(i.addNew&&!i.extend?(B=h.sel.contains(o),B>-1?w=ee[B]:w=new Mn(o,o)):(w=h.sel.primary(),B=h.sel.primIndex),i.unit=="rectangle")i.addNew||(w=new Mn(o,o)),o=mi(e,t,!0,!0),B=-1;else{var ke=pl(e,o,i.unit);i.extend?w=Xi(w,ke.anchor,ke.head,i.extend):w=ke}i.addNew?B==-1?(B=ee.length,a(h,Wn(e,ee.concat([w]),B),{scroll:!1,origin:"*mouse"})):ee.length>1&&ee[B].empty()&&i.unit=="char"&&!i.extend?(a(h,Wn(e,ee.slice(0,B).concat(ee.slice(B+1)),0),{scroll:!1,origin:"*mouse"}),W=h.sel):mo(h,B,w,xt):(B=0,a(h,new cn([w],0),xt),W=h.sel);var Me=o;function ht(yn){if(Ct(Me,yn)!=0)if(Me=yn,i.unit=="rectangle"){for(var Fn=[],cr=e.options.tabSize,Jn=oe(Zt(h,o.line).text,o.ch,cr),Hr=oe(Zt(h,yn.line).text,yn.ch,cr),ya=Math.min(Jn,Hr),ri=Math.max(Jn,Hr),Da=Math.min(o.line,yn.line),Zi=Math.min(e.lastLine(),Math.max(o.line,yn.line));Da<=Zi;Da++){var Pi=Zt(h,Da).text,Wa=Lt(Pi,ya,cr);ya==ri?Fn.push(new Mn(me(Da,Wa),me(Da,Wa))):Pi.length>Wa&&Fn.push(new Mn(me(Da,Wa),me(Da,Lt(Pi,ri,cr))))}Fn.length||Fn.push(new Mn(o,o)),a(h,Wn(e,W.ranges.slice(0,B).concat(Fn),B),{origin:"*mouse",scroll:!1}),e.scrollIntoView(yn)}else{var Fi=w,pi=pl(e,yn,i.unit),Xa=Fi.anchor,Za;Ct(pi.anchor,Xa)>0?(Za=pi.head,Xa=Yt(Fi.from(),pi.anchor)):(Za=pi.anchor,Xa=m(Fi.to(),pi.head));var Ma=W.ranges.slice(0);Ma[B]=tu(e,new Mn(Ze(h,Xa),Za)),a(h,Wn(e,Ma,B),xt)}}var ut=s.wrapper.getBoundingClientRect(),Pt=0;function Vt(yn){var Fn=++Pt,cr=mi(e,yn,!0,i.unit=="rectangle");if(cr)if(Ct(cr,Me)!=0){e.curOp.focus=ne(),ht(cr);var Jn=Yi(s,h);(cr.line>=Jn.to||cr.line<Jn.from)&&setTimeout(La(e,function(){Pt==Fn&&Vt(yn)}),150)}else{var Hr=yn.clientY<ut.top?-20:yn.clientY>ut.bottom?20:0;Hr&&setTimeout(La(e,function(){Pt==Fn&&(s.scroller.scrollTop+=Hr,Vt(yn))}),50)}}function rn(yn){e.state.selectingText=!1,Pt=1/0,yn&&(Et(yn),s.input.focus()),st(s.wrapper.ownerDocument,"mousemove",vn),st(s.wrapper.ownerDocument,"mouseup",Ln),h.history.lastSelOrigin=null}var vn=La(e,function(yn){yn.buttons===0||!Xt(yn)?rn(yn):Vt(yn)}),Ln=La(e,rn);e.state.selectingText=Ln,pe(s.wrapper.ownerDocument,"mousemove",vn),pe(s.wrapper.ownerDocument,"mouseup",Ln)}function tu(e,t){var o=t.anchor,i=t.head,s=Zt(e.doc,o.line);if(Ct(o,i)==0&&o.sticky==i.sticky)return t;var h=lt(s);if(!h)return t;var w=Oe(h,o.ch,o.sticky),B=h[w];if(B.from!=o.ch&&B.to!=o.ch)return t;var W=w+(B.from==o.ch==(B.level!=1)?0:1);if(W==0||W==h.length)return t;var ee;if(i.line!=o.line)ee=(i.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var ke=Oe(h,i.ch,i.sticky),Me=ke-w||(i.ch-o.ch)*(B.level==1?-1:1);ke==W-1||ke==W?ee=Me<0:ee=Me>0}var ht=h[W+(ee?-1:0)],ut=ee==(ht.level==1),Pt=ut?ht.from:ht.to,Vt=ut?"after":"before";return o.ch==Pt&&o.sticky==Vt?t:new Mn(new me(o.line,Pt,Vt),i)}function hl(e,t,o,i){var s,h;if(t.touches)s=t.touches[0].clientX,h=t.touches[0].clientY;else try{s=t.clientX,h=t.clientY}catch(ht){return!1}if(s>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&Et(t);var w=e.display,B=w.lineDiv.getBoundingClientRect();if(h>B.bottom||!it(e,o))return ye(t);h-=B.top-w.viewOffset;for(var W=0;W<e.display.gutterSpecs.length;++W){var ee=w.gutters.childNodes[W];if(ee&&ee.getBoundingClientRect().right>=s){var ke=De(e.doc,h),Me=e.display.gutterSpecs[W];return Ve(e,o,e,ke,Me.className,t),ye(t)}}}function zs(e,t){return hl(e,t,"gutterClick",!0)}function gl(e,t){ua(e.display,t)||nu(e,t)||at(e,t,"contextmenu")||U||e.display.input.onContextMenu(t)}function nu(e,t){return it(e,"gutterContextMenu")?hl(e,t,"gutterContextMenu",!1):!1}function ml(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),$i(e)}var us={toString:function(){return"CodeMirror.Init"}},bl={},Ls={};function ru(e){var t=e.optionHandlers;function o(i,s,h,w){e.defaults[i]=s,h&&(t[i]=w?function(B,W,ee){ee!=us&&h(B,W,ee)}:h)}e.defineOption=o,e.Init=us,o("value","",function(i,s){return i.setValue(s)},!0),o("mode",null,function(i,s){i.doc.modeOption=s,ga(i)},!0),o("indentUnit",2,ga,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(i){Ya(i),$i(i),Qr(i)},!0),o("lineSeparator",null,function(i,s){if(i.doc.lineSep=s,!!s){var h=[],w=i.doc.first;i.doc.iter(function(W){for(var ee=0;;){var ke=W.text.indexOf(s,ee);if(ke==-1)break;ee=ke+s.length,h.push(me(w,ke))}w++});for(var B=h.length-1;B>=0;B--)uo(i.doc,s,h[B],me(h[B].line,h[B].ch+s.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(i,s,h){i.state.specialChars=new RegExp(s.source+(s.test(" ")?"":"| "),"g"),h!=us&&i.refresh()}),o("specialCharPlaceholder",fr,function(i){return i.refresh()},!0),o("electricChars",!0),o("inputStyle",te?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(i,s){return i.getInputField().spellcheck=s},!0),o("autocorrect",!1,function(i,s){return i.getInputField().autocorrect=s},!0),o("autocapitalize",!1,function(i,s){return i.getInputField().autocapitalize=s},!0),o("rtlMoveVisually",!Z),o("wholeLineUpdateBefore",!0),o("theme","default",function(i){ml(i),Fe(i)},!0),o("keyMap","default",function(i,s,h){var w=Is(s),B=h!=us&&Is(h);B&&B.detach&&B.detach(i,w),w.attach&&w.attach(i,B||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,iu,!0),o("gutters",[],function(i,s){i.display.gutterSpecs=Je(s,i.options.lineNumbers),Fe(i)},!0),o("fixedGutter",!0,function(i,s){i.display.gutters.style.left=s?po(i.display)+"px":"0",i.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(i){return wa(i)},!0),o("scrollbarStyle","native",function(i){di(i),wa(i),i.display.scrollbars.setScrollTop(i.doc.scrollTop),i.display.scrollbars.setScrollLeft(i.doc.scrollLeft)},!0),o("lineNumbers",!1,function(i,s){i.display.gutterSpecs=Je(i.options.gutters,s),Fe(i)},!0),o("firstLineNumber",1,Fe,!0),o("lineNumberFormatter",function(i){return i},Fe,!0),o("showCursorWhenSelecting",!1,ji,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(i,s){s=="nocursor"&&(io(i),i.display.input.blur()),i.display.input.readOnlyChanged(s)}),o("screenReaderLabel",null,function(i,s){s=s===""?null:s,i.display.input.screenReaderLabelChanged(s)}),o("disableInput",!1,function(i,s){s||i.display.input.reset()},!0),o("dragDrop",!0,au),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,ji,!0),o("singleCursorHeightPerLine",!0,ji,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,Ya,!0),o("addModeClass",!1,Ya,!0),o("pollInterval",100),o("undoDepth",200,function(i,s){return i.doc.history.undoDepth=s}),o("historyEventDelay",1250),o("viewportMargin",10,function(i){return i.refresh()},!0),o("maxHighlightLength",1e4,Ya,!0),o("moveInputWithCursor",!0,function(i,s){s||i.display.input.resetPosition()}),o("tabindex",null,function(i,s){return i.display.input.getField().tabIndex=s||""}),o("autofocus",null),o("direction","ltr",function(i,s){return i.doc.setDirection(s)},!0),o("phrases",null)}function au(e,t,o){var i=o&&o!=us;if(!t!=!i){var s=e.display.dragFunctions,h=t?pe:st;h(e.display.scroller,"dragstart",s.start),h(e.display.scroller,"dragenter",s.enter),h(e.display.scroller,"dragover",s.over),h(e.display.scroller,"dragleave",s.leave),h(e.display.scroller,"drop",s.drop)}}function iu(e){e.options.lineWrapping?(ge(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(J(e.display.wrapper,"CodeMirror-wrap"),Nn(e)),Lo(e),Qr(e),$i(e),setTimeout(function(){return wa(e)},100)}function Na(e,t){var o=this;if(!(this instanceof Na))return new Na(e,t);this.options=t=t?He(t):{},He(bl,t,!1);var i=t.value;typeof i=="string"?i=new Mi(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var s=new Na.inputStyles[t.inputStyle](this),h=this.display=new gt(e,i,s,t);h.wrapper.CodeMirror=this,ml(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),di(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new F,keySeq:null,specialChars:null},t.autofocus&&!te&&h.input.focus(),k&&f<11&&setTimeout(function(){return o.display.input.reset(!0)},20),ou(this),Fl(),Ja(this),this.curOp.forceUpdate=!0,Fr(this,i),t.autofocus&&!te||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&li(o)},20):io(this);for(var w in Ls)Ls.hasOwnProperty(w)&&Ls[w](this,t[w],us);ve(this),t.finishInit&&t.finishInit(this);for(var B=0;B<Gs.length;++B)Gs[B](this);Ai(this),R&&t.lineWrapping&&getComputedStyle(h.lineDiv).textRendering=="optimizelegibility"&&(h.lineDiv.style.textRendering="auto")}Na.defaults=bl,Na.optionHandlers=Ls;function ou(e){var t=e.display;pe(t.scroller,"mousedown",La(e,fl)),k&&f<11?pe(t.scroller,"dblclick",La(e,function(W){if(!at(e,W)){var ee=mi(e,W);if(!(!ee||zs(e,W)||ua(e.display,W))){Et(W);var ke=e.findWordAt(ee);Qi(e.doc,ke.anchor,ke.head)}}})):pe(t.scroller,"dblclick",function(W){return at(e,W)||Et(W)}),pe(t.scroller,"contextmenu",function(W){return gl(e,W)}),pe(t.input.getField(),"contextmenu",function(W){t.scroller.contains(W.target)||gl(e,W)});var o,i={end:0};function s(){t.activeTouch&&(o=setTimeout(function(){return t.activeTouch=null},1e3),i=t.activeTouch,i.end=+new Date)}function h(W){if(W.touches.length!=1)return!1;var ee=W.touches[0];return ee.radiusX<=1&&ee.radiusY<=1}function w(W,ee){if(ee.left==null)return!0;var ke=ee.left-W.left,Me=ee.top-W.top;return ke*ke+Me*Me>20*20}pe(t.scroller,"touchstart",function(W){if(!at(e,W)&&!h(W)&&!zs(e,W)){t.input.ensurePolled(),clearTimeout(o);var ee=+new Date;t.activeTouch={start:ee,moved:!1,prev:ee-i.end<=300?i:null},W.touches.length==1&&(t.activeTouch.left=W.touches[0].pageX,t.activeTouch.top=W.touches[0].pageY)}}),pe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),pe(t.scroller,"touchend",function(W){var ee=t.activeTouch;if(ee&&!ua(t,W)&&ee.left!=null&&!ee.moved&&new Date-ee.start<300){var ke=e.coordsChar(t.activeTouch,"page"),Me;!ee.prev||w(ee,ee.prev)?Me=new Mn(ke,ke):!ee.prev.prev||w(ee,ee.prev.prev)?Me=e.findWordAt(ke):Me=new Mn(me(ke.line,0),Ze(e.doc,me(ke.line+1,0))),e.setSelection(Me.anchor,Me.head),e.focus(),Et(W)}s()}),pe(t.scroller,"touchcancel",s),pe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(xi(e,t.scroller.scrollTop),Oi(e,t.scroller.scrollLeft,!0),Ve(e,"scroll",e))}),pe(t.scroller,"mousewheel",function(W){return $r(e,W)}),pe(t.scroller,"DOMMouseScroll",function(W){return $r(e,W)}),pe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(W){at(e,W)||zt(W)},over:function(W){at(e,W)||(Pl(e,W),zt(W))},start:function(W){return Ml(e,W)},drop:La(e,_l),leave:function(W){at(e,W)||Js(e)}};var B=t.input.getField();pe(B,"keyup",function(W){return cl.call(e,W)}),pe(B,"keydown",La(e,ul)),pe(B,"keypress",La(e,dl)),pe(B,"focus",function(W){return li(e,W)}),pe(B,"blur",function(W){return io(e,W)})}var Gs=[];Na.defineInitHook=function(e){return Gs.push(e)};function ws(e,t,o,i){var s=e.doc,h;o==null&&(o="add"),o=="smart"&&(s.mode.indent?h=or(e,t).state:o="prev");var w=e.options.tabSize,B=Zt(s,t),W=oe(B.text,null,w);B.stateAfter&&(B.stateAfter=null);var ee=B.text.match(/^\s*/)[0],ke;if(!i&&!/\S/.test(B.text))ke=0,o="not";else if(o=="smart"&&(ke=s.mode.indent(h,B.text.slice(ee.length),B.text),ke==Ue||ke>150)){if(!i)return;o="prev"}o=="prev"?t>s.first?ke=oe(Zt(s,t-1).text,null,w):ke=0:o=="add"?ke=W+e.options.indentUnit:o=="subtract"?ke=W-e.options.indentUnit:typeof o=="number"&&(ke=W+o),ke=Math.max(0,ke);var Me="",ht=0;if(e.options.indentWithTabs)for(var ut=Math.floor(ke/w);ut;--ut)ht+=w,Me+=" ";if(ht<ke&&(Me+=Te(ke-ht)),Me!=ee)return uo(s,Me,me(t,0),me(t,ee.length),"+input"),B.stateAfter=null,!0;for(var Pt=0;Pt<s.sel.ranges.length;Pt++){var Vt=s.sel.ranges[Pt];if(Vt.head.line==t&&Vt.head.ch<ee.length){var rn=me(t,ee.length);mo(s,Pt,new Mn(rn,rn));break}}}var vo=null;function Os(e){vo=e}function Ws(e,t,o,i,s){var h=e.doc;e.display.shift=!1,i||(i=h.sel);var w=+new Date-200,B=s=="paste"||e.state.pasteIncoming>w,W=gn(t),ee=null;if(B&&i.ranges.length>1)if(vo&&vo.text.join(`
`)==t){if(i.ranges.length%vo.text.length==0){ee=[];for(var ke=0;ke<vo.text.length;ke++)ee.push(h.splitLines(vo.text[ke]))}}else W.length==i.ranges.length&&e.options.pasteLinesPerSelection&&(ee=$e(W,function(vn){return[vn]}));for(var Me=e.curOp.updateInput,ht=i.ranges.length-1;ht>=0;ht--){var ut=i.ranges[ht],Pt=ut.from(),Vt=ut.to();ut.empty()&&(o&&o>0?Pt=me(Pt.line,Pt.ch-o):e.state.overwrite&&!B?Vt=me(Vt.line,Math.min(Zt(h,Vt.line).text.length,Vt.ch+_e(W).length)):B&&vo&&vo.lineWise&&vo.text.join(`
`)==W.join(`
`)&&(Pt=Vt=me(Pt.line,0)));var rn={from:Pt,to:Vt,text:ee?ee[ht%ee.length]:W,origin:s||(B?"paste":e.state.cutIncoming>w?"cut":"+input")};ur(e.doc,rn),qr(e,"inputRead",e,rn)}t&&!B&&yl(e,t),Ri(e),e.curOp.updateInput<2&&(e.curOp.updateInput=Me),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function vl(e,t){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&ei(t,function(){return Ws(t,o,0,null,"paste")}),!0}function yl(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,i=o.ranges.length-1;i>=0;i--){var s=o.ranges[i];if(!(s.head.ch>100||i&&o.ranges[i-1].head.line==s.head.line)){var h=e.getModeAt(s.head),w=!1;if(h.electricChars){for(var B=0;B<h.electricChars.length;B++)if(t.indexOf(h.electricChars.charAt(B))>-1){w=ws(e,s.head.line,"smart");break}}else h.electricInput&&h.electricInput.test(Zt(e.doc,s.head.line).text.slice(0,s.head.ch))&&(w=ws(e,s.head.line,"smart"));w&&qr(e,"electricInput",e,s.head.line)}}}function El(e){for(var t=[],o=[],i=0;i<e.doc.sel.ranges.length;i++){var s=e.doc.sel.ranges[i].head.line,h={anchor:me(s,0),head:me(s+1,0)};o.push(h),t.push(e.getRange(h.anchor,h.head))}return{text:t,ranges:o}}function Sl(e,t,o,i){e.setAttribute("autocorrect",o?"":"off"),e.setAttribute("autocapitalize",i?"":"off"),e.setAttribute("spellcheck",!!t)}function Tl(){var e=fe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=fe("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return R?e.style.width="1000px":e.setAttribute("wrap","off"),ce&&(e.style.border="1px solid black"),Sl(e),t}function su(e){var t=e.optionHandlers,o=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(i,s){var h=this.options,w=h[i];h[i]==s&&i!="mode"||(h[i]=s,t.hasOwnProperty(i)&&La(this,t[i])(this,s,w),Ve(this,"optionChange",this,i))},getOption:function(i){return this.options[i]},getDoc:function(){return this.doc},addKeyMap:function(i,s){this.state.keyMaps[s?"push":"unshift"](Is(i))},removeKeyMap:function(i){for(var s=this.state.keyMaps,h=0;h<s.length;++h)if(s[h]==i||s[h].name==i)return s.splice(h,1),!0},addOverlay:ja(function(i,s){var h=i.token?i:e.getMode(this.options,i);if(h.startState)throw new Error("Overlays may not be stateful.");St(this.state.overlays,{mode:h,modeSpec:i,opaque:s&&s.opaque,priority:s&&s.priority||0},function(w){return w.priority}),this.state.modeGen++,Qr(this)}),removeOverlay:ja(function(i){for(var s=this.state.overlays,h=0;h<s.length;++h){var w=s[h].modeSpec;if(w==i||typeof i=="string"&&w.name==i){s.splice(h,1),this.state.modeGen++,Qr(this);return}}}),indentLine:ja(function(i,s,h){typeof s!="string"&&typeof s!="number"&&(s==null?s=this.options.smartIndent?"smart":"prev":s=s?"add":"subtract"),Bt(this.doc,i)&&ws(this,i,s,h)}),indentSelection:ja(function(i){for(var s=this.doc.sel.ranges,h=-1,w=0;w<s.length;w++){var B=s[w];if(B.empty())B.head.line>h&&(ws(this,B.head.line,i,!0),h=B.head.line,w==this.doc.sel.primIndex&&Ri(this));else{var W=B.from(),ee=B.to(),ke=Math.max(h,W.line);h=Math.min(this.lastLine(),ee.line-(ee.ch?0:1))+1;for(var Me=ke;Me<h;++Me)ws(this,Me,i);var ht=this.doc.sel.ranges;W.ch==0&&s.length==ht.length&&ht[w].from().ch>0&&mo(this.doc,w,new Mn(W,ht[w].to()),Ne)}}}),getTokenAt:function(i,s){return Yn(this,i,s)},getLineTokens:function(i,s){return Yn(this,me(i),s,!0)},getTokenTypeAt:function(i){i=Ze(this.doc,i);var s=Sn(this,Zt(this.doc,i.line)),h=0,w=(s.length-1)/2,B=i.ch,W;if(B==0)W=s[2];else for(;;){var ee=h+w>>1;if((ee?s[ee*2-1]:0)>=B)w=ee;else if(s[ee*2+1]<B)h=ee+1;else{W=s[ee*2+2];break}}var ke=W?W.indexOf("overlay "):-1;return ke<0?W:ke==0?null:W.slice(0,ke-1)},getModeAt:function(i){var s=this.doc.mode;return s.innerMode?e.innerMode(s,this.getTokenAt(i).state).mode:s},getHelper:function(i,s){return this.getHelpers(i,s)[0]},getHelpers:function(i,s){var h=[];if(!o.hasOwnProperty(s))return h;var w=o[s],B=this.getModeAt(i);if(typeof B[s]=="string")w[B[s]]&&h.push(w[B[s]]);else if(B[s])for(var W=0;W<B[s].length;W++){var ee=w[B[s][W]];ee&&h.push(ee)}else B.helperType&&w[B.helperType]?h.push(w[B.helperType]):w[B.name]&&h.push(w[B.name]);for(var ke=0;ke<w._global.length;ke++){var Me=w._global[ke];Me.pred(B,this)&&L(h,Me.val)==-1&&h.push(Me.val)}return h},getStateAfter:function(i,s){var h=this.doc;return i=qt(h,i==null?h.first+h.size-1:i),or(this,i+1,s).state},cursorCoords:function(i,s){var h,w=this.doc.sel.primary();return i==null?h=w.head:typeof i=="object"?h=Ze(this.doc,i):h=i?w.from():w.to(),fa(this,h,s||"page")},charCoords:function(i,s){return Ua(this,Ze(this.doc,i),s||"page")},coordsChar:function(i,s){return i=Ki(this,i,s||"page"),pa(this,i.left,i.top)},lineAtHeight:function(i,s){return i=Ki(this,{top:i,left:0},s||"page").top,De(this.doc,i+this.display.viewOffset)},heightAtLine:function(i,s,h){var w=!1,B;if(typeof i=="number"){var W=this.doc.first+this.doc.size-1;i<this.doc.first?i=this.doc.first:i>W&&(i=W,w=!0),B=Zt(this.doc,i)}else B=i;return Vi(this,B,{top:0,left:0},s||"page",h||w).top+(w?this.doc.height-An(B):0)},defaultTextHeight:function(){return xa(this.display)},defaultCharWidth:function(){return Qa(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(i,s,h,w,B){var W=this.display;i=fa(this,Ze(this.doc,i));var ee=i.bottom,ke=i.left;if(s.style.position="absolute",s.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(s),W.sizer.appendChild(s),w=="over")ee=i.top;else if(w=="above"||w=="near"){var Me=Math.max(W.wrapper.clientHeight,this.doc.height),ht=Math.max(W.sizer.clientWidth,W.lineSpace.clientWidth);(w=="above"||i.bottom+s.offsetHeight>Me)&&i.top>s.offsetHeight?ee=i.top-s.offsetHeight:i.bottom+s.offsetHeight<=Me&&(ee=i.bottom),ke+s.offsetWidth>ht&&(ke=ht-s.offsetWidth)}s.style.top=ee+"px",s.style.left=s.style.right="",B=="right"?(ke=W.sizer.clientWidth-s.offsetWidth,s.style.right="0px"):(B=="left"?ke=0:B=="middle"&&(ke=(W.sizer.clientWidth-s.offsetWidth)/2),s.style.left=ke+"px"),h&&so(this,{left:ke,top:ee,right:ke+s.offsetWidth,bottom:ee+s.offsetHeight})},triggerOnKeyDown:ja(ul),triggerOnKeyPress:ja(dl),triggerOnKeyUp:cl,triggerOnMouseDown:ja(fl),execCommand:function(i){if(Ts.hasOwnProperty(i))return Ts[i].call(null,this)},triggerElectric:ja(function(i){yl(this,i)}),findPosH:function(i,s,h,w){var B=1;s<0&&(B=-1,s=-s);for(var W=Ze(this.doc,i),ee=0;ee<s&&(W=Zs(this.doc,W,B,h,w),!W.hitSide);++ee);return W},moveH:ja(function(i,s){var h=this;this.extendSelectionsBy(function(w){return h.display.shift||h.doc.extend||w.empty()?Zs(h.doc,w.head,i,s,h.options.rtlMoveVisually):i<0?w.from():w.to()},pt)}),deleteH:ja(function(i,s){var h=this.doc.sel,w=this.doc;h.somethingSelected()?w.replaceSelection("",null,"+delete"):ls(this,function(B){var W=Zs(w,B.head,i,s,!1);return i<0?{from:W,to:B.head}:{from:B.head,to:W}})}),findPosV:function(i,s,h,w){var B=1,W=w;s<0&&(B=-1,s=-s);for(var ee=Ze(this.doc,i),ke=0;ke<s;++ke){var Me=fa(this,ee,"div");if(W==null?W=Me.left:Me.left=W,ee=Cl(this,Me,B,h),ee.hitSide)break}return ee},moveV:ja(function(i,s){var h=this,w=this.doc,B=[],W=!this.display.shift&&!w.extend&&w.sel.somethingSelected();if(w.extendSelectionsBy(function(ke){if(W)return i<0?ke.from():ke.to();var Me=fa(h,ke.head,"div");ke.goalColumn!=null&&(Me.left=ke.goalColumn),B.push(Me.left);var ht=Cl(h,Me,i,s);return s=="page"&&ke==w.sel.primary()&&ko(h,Ua(h,ht,"div").top-Me.top),ht},pt),B.length)for(var ee=0;ee<w.sel.ranges.length;ee++)w.sel.ranges[ee].goalColumn=B[ee]}),findWordAt:function(i){var s=this.doc,h=Zt(s,i.line).text,w=i.ch,B=i.ch;if(h){var W=this.getHelper(i,"wordChars");(i.sticky=="before"||B==h.length)&&w?--w:++B;for(var ee=h.charAt(w),ke=O(ee,W)?function(Me){return O(Me,W)}:/\s/.test(ee)?function(Me){return/\s/.test(Me)}:function(Me){return!/\s/.test(Me)&&!O(Me)};w>0&&ke(h.charAt(w-1));)--w;for(;B<h.length&&ke(h.charAt(B));)++B}return new Mn(me(i.line,w),me(i.line,B))},toggleOverwrite:function(i){i!=null&&i==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ge(this.display.cursorDiv,"CodeMirror-overwrite"):J(this.display.cursorDiv,"CodeMirror-overwrite"),Ve(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ne()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:ja(function(i,s){Ci(this,i,s)}),getScrollInfo:function(){var i=this.display.scroller;return{left:i.scrollLeft,top:i.scrollTop,height:i.scrollHeight-Ur(this)-this.display.barHeight,width:i.scrollWidth-Ur(this)-this.display.barWidth,clientHeight:$a(this),clientWidth:Fa(this)}},scrollIntoView:ja(function(i,s){i==null?(i={from:this.doc.sel.primary().head,to:null},s==null&&(s=this.options.cursorScrollMargin)):typeof i=="number"?i={from:me(i,0),to:null}:i.from==null&&(i={from:i,to:null}),i.to||(i.to=i.from),i.margin=s||0,i.from.line!=null?lo(this,i):ho(this,i.from,i.to,i.margin)}),setSize:ja(function(i,s){var h=this,w=function(W){return typeof W=="number"||/^\d+$/.test(String(W))?W+"px":W};i!=null&&(this.display.wrapper.style.width=w(i)),s!=null&&(this.display.wrapper.style.height=w(s)),this.options.lineWrapping&&eo(this);var B=this.display.viewFrom;this.doc.iter(B,this.display.viewTo,function(W){if(W.widgets){for(var ee=0;ee<W.widgets.length;ee++)if(W.widgets[ee].noHScroll){bi(h,B,"widget");break}}++B}),this.curOp.forceUpdate=!0,Ve(this,"refresh",this)}),operation:function(i){return ei(this,i)},startOperation:function(){return Ja(this)},endOperation:function(){return Ai(this)},refresh:ja(function(){var i=this.display.cachedTextHeight;Qr(this),this.curOp.forceUpdate=!0,$i(this),Ci(this,this.doc.scrollLeft,this.doc.scrollTop),K(this.display),(i==null||Math.abs(i-xa(this.display))>.5||this.options.lineWrapping)&&Lo(this),Ve(this,"refresh",this)}),swapDoc:ja(function(i){var s=this.doc;return s.cm=null,this.state.selectingText&&this.state.selectingText(),Fr(this,i),$i(this),this.display.input.reset(),Ci(this,i.scrollLeft,i.scrollTop),this.curOp.forceScroll=!0,qr(this,"swapDoc",this,s),s}),phrase:function(i){var s=this.options.phrases;return s&&Object.prototype.hasOwnProperty.call(s,i)?s[i]:i},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Q(e),e.registerHelper=function(i,s,h){o.hasOwnProperty(i)||(o[i]=e[i]={_global:[]}),o[i][s]=h},e.registerGlobalHelper=function(i,s,h,w){e.registerHelper(i,s,w),o[i]._global.push({pred:h,val:w})}}function Zs(e,t,o,i,s){var h=t,w=o,B=Zt(e,t.line),W=s&&e.direction=="rtl"?-o:o;function ee(){var Ln=t.line+W;return Ln<e.first||Ln>=e.first+e.size?!1:(t=new me(Ln,t.ch,t.sticky),B=Zt(e,Ln))}function ke(Ln){var yn;if(i=="codepoint"){var Fn=B.text.charCodeAt(t.ch+(i>0?0:-1));isNaN(Fn)?yn=null:yn=new me(t.line,Math.max(0,Math.min(B.text.length,t.ch+o*(Fn>=55296&&Fn<56320?2:1))),-o)}else s?yn=Gl(e.cm,B,t,o):yn=Fs(B,t,o);if(yn==null)if(!Ln&&ee())t=Bs(s,e.cm,B,t.line,W);else return!1;else t=yn;return!0}if(i=="char"||i=="codepoint")ke();else if(i=="column")ke(!0);else if(i=="word"||i=="group")for(var Me=null,ht=i=="group",ut=e.cm&&e.cm.getHelper(t,"wordChars"),Pt=!0;!(o<0&&!ke(!Pt));Pt=!1){var Vt=B.text.charAt(t.ch)||`
`,rn=O(Vt,ut)?"w":ht&&Vt==`
`?"n":!ht||/\s/.test(Vt)?null:"p";if(ht&&!Pt&&!rn&&(rn="s"),Me&&Me!=rn){o<0&&(o=1,ke(),t.sticky="after");break}if(rn&&(Me=rn),o>0&&!ke(!Pt))break}var vn=Pn(e,t,h,w,!0);return _t(h,vn)&&(vn.hitSide=!0),vn}function Cl(e,t,o,i){var s=e.doc,h=t.left,w;if(i=="page"){var B=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),W=Math.max(B-.5*xa(e.display),3);w=(o>0?t.bottom:t.top)+o*W}else i=="line"&&(w=o>0?t.bottom+3:t.top-3);for(var ee;ee=pa(e,h,w),!!ee.outside;){if(o<0?w<=0:w>=s.height){ee.hitSide=!0;break}w+=o*5}return ee}var ma=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new F,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ma.prototype.init=function(e){var t=this,o=this,i=o.cm,s=o.div=e.lineDiv;Sl(s,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize);function h(B){for(var W=B.target;W;W=W.parentNode){if(W==s)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(W.className))break}return!1}pe(s,"paste",function(B){!h(B)||at(i,B)||vl(B,i)||f<=11&&setTimeout(La(i,function(){return t.updateFromDOM()}),20)}),pe(s,"compositionstart",function(B){t.composing={data:B.data,done:!1}}),pe(s,"compositionupdate",function(B){t.composing||(t.composing={data:B.data,done:!1})}),pe(s,"compositionend",function(B){t.composing&&(B.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),pe(s,"touchstart",function(){return o.forceCompositionEnd()}),pe(s,"input",function(){t.composing||t.readFromDOMSoon()});function w(B){if(!(!h(B)||at(i,B))){if(i.somethingSelected())Os({lineWise:!1,text:i.getSelections()}),B.type=="cut"&&i.replaceSelection("",null,"cut");else if(i.options.lineWiseCopyCut){var W=El(i);Os({lineWise:!0,text:W.text}),B.type=="cut"&&i.operation(function(){i.setSelections(W.ranges,0,Ne),i.replaceSelection("",null,"cut")})}else return;if(B.clipboardData){B.clipboardData.clearData();var ee=vo.text.join(`
`);if(B.clipboardData.setData("Text",ee),B.clipboardData.getData("Text")==ee){B.preventDefault();return}}var ke=Tl(),Me=ke.firstChild;i.display.lineSpace.insertBefore(ke,i.display.lineSpace.firstChild),Me.value=vo.text.join(`
`);var ht=document.activeElement;Re(Me),setTimeout(function(){i.display.lineSpace.removeChild(ke),ht.focus(),ht==s&&o.showPrimarySelection()},50)}}pe(s,"copy",w),pe(s,"cut",w)},ma.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},ma.prototype.prepareSelection=function(){var e=Oo(this.cm,!1);return e.focus=document.activeElement==this.div,e},ma.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},ma.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ma.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,o=t.doc.sel.primary(),i=o.from(),s=o.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||s.line<t.display.viewFrom){e.removeAllRanges();return}var h=Ds(t,e.anchorNode,e.anchorOffset),w=Ds(t,e.focusNode,e.focusOffset);if(!(h&&!h.bad&&w&&!w.bad&&Ct(Yt(h,w),i)==0&&Ct(m(h,w),s)==0)){var B=t.display.view,W=i.line>=t.display.viewFrom&&xl(t,i)||{node:B[0].measure.map[2],offset:0},ee=s.line<t.display.viewTo&&xl(t,s);if(!ee){var ke=B[B.length-1].measure,Me=ke.maps?ke.maps[ke.maps.length-1]:ke.map;ee={node:Me[Me.length-1],offset:Me[Me.length-2]-Me[Me.length-3]}}if(!W||!ee){e.removeAllRanges();return}var ht=e.rangeCount&&e.getRangeAt(0),ut;try{ut=V(W.node,W.offset,ee.offset,ee.node)}catch(Pt){}ut&&(!u&&t.state.focused?(e.collapse(W.node,W.offset),ut.collapsed||(e.removeAllRanges(),e.addRange(ut))):(e.removeAllRanges(),e.addRange(ut)),ht&&e.anchorNode==null?e.addRange(ht):u&&this.startGracePeriod()),this.rememberSelection()}},ma.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},ma.prototype.showMultipleSelections=function(e){H(this.cm.display.cursorDiv,e.cursors),H(this.cm.display.selectionDiv,e.selection)},ma.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},ma.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return le(this.div,t)},ma.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ma.prototype.blur=function(){this.div.blur()},ma.prototype.getField=function(){return this.div},ma.prototype.supportsTouch=function(){return!0},ma.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():ei(this.cm,function(){return e.cm.curOp.selectionChanged=!0});function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.polling.set(this.cm.options.pollInterval,t)},ma.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},ma.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),t=this.cm;if(ue&&D&&this.cm.display.gutterSpecs.length&&lu(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var o=Ds(t,e.anchorNode,e.anchorOffset),i=Ds(t,e.focusNode,e.focusOffset);o&&i&&ei(t,function(){a(t.doc,na(o,i),Ne),(o.bad||i.bad)&&(t.curOp.selectionChanged=!0)})}}},ma.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,o=e.doc.sel.primary(),i=o.from(),s=o.to();if(i.ch==0&&i.line>e.firstLine()&&(i=me(i.line-1,Zt(e.doc,i.line-1).length)),s.ch==Zt(e.doc,s.line).text.length&&s.line<e.lastLine()&&(s=me(s.line+1,0)),i.line<t.viewFrom||s.line>t.viewTo-1)return!1;var h,w,B;i.line==t.viewFrom||(h=Ti(e,i.line))==0?(w=Pe(t.view[0].line),B=t.view[0].node):(w=Pe(t.view[h].line),B=t.view[h-1].node.nextSibling);var W=Ti(e,s.line),ee,ke;if(W==t.view.length-1?(ee=t.viewTo-1,ke=t.lineDiv.lastChild):(ee=Pe(t.view[W+1].line)-1,ke=t.view[W+1].node.previousSibling),!B)return!1;for(var Me=e.doc.splitLines(uu(e,B,ke,w,ee)),ht=Rn(e.doc,me(w,0),me(ee,Zt(e.doc,ee).text.length));Me.length>1&&ht.length>1;)if(_e(Me)==_e(ht))Me.pop(),ht.pop(),ee--;else if(Me[0]==ht[0])Me.shift(),ht.shift(),w++;else break;for(var ut=0,Pt=0,Vt=Me[0],rn=ht[0],vn=Math.min(Vt.length,rn.length);ut<vn&&Vt.charCodeAt(ut)==rn.charCodeAt(ut);)++ut;for(var Ln=_e(Me),yn=_e(ht),Fn=Math.min(Ln.length-(Me.length==1?ut:0),yn.length-(ht.length==1?ut:0));Pt<Fn&&Ln.charCodeAt(Ln.length-Pt-1)==yn.charCodeAt(yn.length-Pt-1);)++Pt;if(Me.length==1&&ht.length==1&&w==i.line)for(;ut&&ut>i.ch&&Ln.charCodeAt(Ln.length-Pt-1)==yn.charCodeAt(yn.length-Pt-1);)ut--,Pt++;Me[Me.length-1]=Ln.slice(0,Ln.length-Pt).replace(/^\u200b+/,""),Me[0]=Me[0].slice(ut).replace(/\u200b+$/,"");var cr=me(w,ut),Jn=me(ee,ht.length?_e(ht).length-Pt:0);if(Me.length>1||Me[0]||Ct(cr,Jn))return uo(e.doc,Me,cr,Jn,"+input"),!0},ma.prototype.ensurePolled=function(){this.forceCompositionEnd()},ma.prototype.reset=function(){this.forceCompositionEnd()},ma.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ma.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},ma.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&ei(this.cm,function(){return Qr(e.cm)})},ma.prototype.setUneditable=function(e){e.contentEditable="false"},ma.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||La(this.cm,Ws)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},ma.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},ma.prototype.onContextMenu=function(){},ma.prototype.resetPosition=function(){},ma.prototype.needsContentAttribute=!0;function xl(e,t){var o=Va(e,t.line);if(!o||o.hidden)return null;var i=Zt(e.doc,t.line),s=aa(o,i,t.line),h=lt(i,e.doc.direction),w="left";if(h){var B=Oe(h,t.ch);w=B%2?"right":"left"}var W=yo(s.map,t.ch,w);return W.offset=W.collapse=="right"?W.end:W.start,W}function lu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function cs(e,t){return t&&(e.bad=!0),e}function uu(e,t,o,i,s){var h="",w=!1,B=e.doc.lineSeparator(),W=!1;function ee(ut){return function(Pt){return Pt.id==ut}}function ke(){w&&(h+=B,W&&(h+=B),w=W=!1)}function Me(ut){ut&&(ke(),h+=ut)}function ht(ut){if(ut.nodeType==1){var Pt=ut.getAttribute("cm-text");if(Pt){Me(Pt);return}var Vt=ut.getAttribute("cm-marker"),rn;if(Vt){var vn=e.findMarks(me(i,0),me(s+1,0),ee(+Vt));vn.length&&(rn=vn[0].find(0))&&Me(Rn(e.doc,rn.from,rn.to).join(B));return}if(ut.getAttribute("contenteditable")=="false")return;var Ln=/^(pre|div|p|li|table|br)$/i.test(ut.nodeName);if(!/^br$/i.test(ut.nodeName)&&ut.textContent.length==0)return;Ln&&ke();for(var yn=0;yn<ut.childNodes.length;yn++)ht(ut.childNodes[yn]);/^(pre|p)$/i.test(ut.nodeName)&&(W=!0),Ln&&(w=!0)}else ut.nodeType==3&&Me(ut.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;ht(t),t!=o;)t=t.nextSibling,W=!1;return h}function Ds(e,t,o){var i;if(t==e.display.lineDiv){if(i=e.display.lineDiv.childNodes[o],!i)return cs(e.clipPos(me(e.display.viewTo-1)),!0);t=null,o=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var s=0;s<e.display.view.length;s++){var h=e.display.view[s];if(h.node==i)return cu(h,t,o)}}function cu(e,t,o){var i=e.text.firstChild,s=!1;if(!t||!le(i,t))return cs(me(Pe(e.line),0),!0);if(t==i&&(s=!0,t=i.childNodes[o],o=0,!t)){var h=e.rest?_e(e.rest):e.line;return cs(me(Pe(h),h.text.length),s)}var w=t.nodeType==3?t:null,B=t;for(!w&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(w=t.firstChild,o&&(o=w.nodeValue.length));B.parentNode!=i;)B=B.parentNode;var W=e.measure,ee=W.maps;function ke(rn,vn,Ln){for(var yn=-1;yn<(ee?ee.length:0);yn++)for(var Fn=yn<0?W.map:ee[yn],cr=0;cr<Fn.length;cr+=3){var Jn=Fn[cr+2];if(Jn==rn||Jn==vn){var Hr=Pe(yn<0?e.line:e.rest[yn]),ya=Fn[cr]+Ln;return(Ln<0||Jn!=rn)&&(ya=Fn[cr+(Ln?1:0)]),me(Hr,ya)}}}var Me=ke(w,B,o);if(Me)return cs(Me,s);for(var ht=B.nextSibling,ut=w?w.nodeValue.length-o:0;ht;ht=ht.nextSibling){if(Me=ke(ht,ht.firstChild,0),Me)return cs(me(Me.line,Me.ch-ut),s);ut+=ht.textContent.length}for(var Pt=B.previousSibling,Vt=o;Pt;Pt=Pt.previousSibling){if(Me=ke(Pt,Pt.firstChild,-1),Me)return cs(me(Me.line,Me.ch+Vt),s);Vt+=Pt.textContent.length}}var Ha=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new F,this.hasSelection=!1,this.composing=null};Ha.prototype.init=function(e){var t=this,o=this,i=this.cm;this.createField(e);var s=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),ce&&(s.style.width="0px"),pe(s,"input",function(){k&&f>=9&&t.hasSelection&&(t.hasSelection=null),o.poll()}),pe(s,"paste",function(w){at(i,w)||vl(w,i)||(i.state.pasteIncoming=+new Date,o.fastPoll())});function h(w){if(!at(i,w)){if(i.somethingSelected())Os({lineWise:!1,text:i.getSelections()});else if(i.options.lineWiseCopyCut){var B=El(i);Os({lineWise:!0,text:B.text}),w.type=="cut"?i.setSelections(B.ranges,null,Ne):(o.prevInput="",s.value=B.text.join(`
`),Re(s))}else return;w.type=="cut"&&(i.state.cutIncoming=+new Date)}}pe(s,"cut",h),pe(s,"copy",h),pe(e.scroller,"paste",function(w){if(!(ua(e,w)||at(i,w))){if(!s.dispatchEvent){i.state.pasteIncoming=+new Date,o.focus();return}var B=new Event("paste");B.clipboardData=w.clipboardData,s.dispatchEvent(B)}}),pe(e.lineSpace,"selectstart",function(w){ua(e,w)||Et(w)}),pe(s,"compositionstart",function(){var w=i.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:w,range:i.markText(w,i.getCursor("to"),{className:"CodeMirror-composing"})}}),pe(s,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},Ha.prototype.createField=function(e){this.wrapper=Tl(),this.textarea=this.wrapper.firstChild},Ha.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ha.prototype.prepareSelection=function(){var e=this.cm,t=e.display,o=e.doc,i=Oo(e);if(e.options.moveInputWithCursor){var s=fa(e,o.sel.primary().head,"div"),h=t.wrapper.getBoundingClientRect(),w=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,s.top+w.top-h.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,s.left+w.left-h.left))}return i},Ha.prototype.showSelection=function(e){var t=this.cm,o=t.display;H(o.cursorDiv,e.cursors),H(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ha.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var o=t.getSelection();this.textarea.value=o,t.state.focused&&Re(this.textarea),k&&f>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",k&&f>=9&&(this.hasSelection=null))}},Ha.prototype.getField=function(){return this.textarea},Ha.prototype.supportsTouch=function(){return!1},Ha.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!te||ne()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ha.prototype.blur=function(){this.textarea.blur()},Ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ha.prototype.receivedFocus=function(){this.slowPoll()},Ha.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ha.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function o(){var i=t.poll();!i&&!e?(e=!0,t.polling.set(60,o)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,o)},Ha.prototype.poll=function(){var e=this,t=this.cm,o=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||Wt(o)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var s=o.value;if(s==i&&!t.somethingSelected())return!1;if(k&&f>=9&&this.hasSelection===s||X&&/[\uf700-\uf7ff]/.test(s))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var h=s.charCodeAt(0);if(h==8203&&!i&&(i="\u200B"),h==8666)return this.reset(),this.cm.execCommand("undo")}for(var w=0,B=Math.min(i.length,s.length);w<B&&i.charCodeAt(w)==s.charCodeAt(w);)++w;return ei(t,function(){Ws(t,s.slice(w),i.length-w,null,e.composing?"*compose":null),s.length>1e3||s.indexOf(`
`)>-1?o.value=e.prevInput="":e.prevInput=s,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ha.prototype.onKeyPress=function(){k&&f>=9&&(this.hasSelection=null),this.fastPoll()},Ha.prototype.onContextMenu=function(e){var t=this,o=t.cm,i=o.display,s=t.textarea;t.contextMenuPending&&t.contextMenuPending();var h=mi(o,e),w=i.scroller.scrollTop;if(!h||I)return;var B=o.options.resetSelectionOnContextMenu;B&&o.doc.sel.contains(h)==-1&&La(o,a)(o.doc,na(h),Ne);var W=s.style.cssText,ee=t.wrapper.style.cssText,ke=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",s.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(e.clientY-ke.top-5)+"px; left: "+(e.clientX-ke.left-5)+`px;
z-index: 1000; background: `+(k?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Me;R&&(Me=window.scrollY),i.input.focus(),R&&window.scrollTo(null,Me),i.input.reset(),o.somethingSelected()||(s.value=t.prevInput=" "),t.contextMenuPending=ut,i.selForContextMenu=o.doc.sel,clearTimeout(i.detectingSelectAll);function ht(){if(s.selectionStart!=null){var Vt=o.somethingSelected(),rn="\u200B"+(Vt?s.value:"");s.value="\u21DA",s.value=rn,t.prevInput=Vt?"":"\u200B",s.selectionStart=1,s.selectionEnd=rn.length,i.selForContextMenu=o.doc.sel}}function ut(){if(t.contextMenuPending==ut&&(t.contextMenuPending=!1,t.wrapper.style.cssText=ee,s.style.cssText=W,k&&f<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=w),s.selectionStart!=null)){(!k||k&&f<9)&&ht();var Vt=0,rn=function(){i.selForContextMenu==o.doc.sel&&s.selectionStart==0&&s.selectionEnd>0&&t.prevInput=="\u200B"?La(o,Ot)(o):Vt++<10?i.detectingSelectAll=setTimeout(rn,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(rn,200)}}if(k&&f>=9&&ht(),U){zt(e);var Pt=function(){st(window,"mouseup",Pt),setTimeout(ut,20)};pe(window,"mouseup",Pt)}else setTimeout(ut,50)},Ha.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},Ha.prototype.setUneditable=function(){},Ha.prototype.needsContentAttribute=!1;function du(e,t){if(t=t?He(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var o=ne();t.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function i(){e.value=B.getValue()}var s;if(e.form&&(pe(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var h=e.form;s=h.submit;try{var w=h.submit=function(){i(),h.submit=s,h.submit(),h.submit=w}}catch(W){}}t.finishInit=function(W){W.save=i,W.getTextArea=function(){return e},W.toTextArea=function(){W.toTextArea=isNaN,i(),e.parentNode.removeChild(W.getWrapperElement()),e.style.display="",e.form&&(st(e.form,"submit",i),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=s))}},e.style.display="none";var B=Na(function(W){return e.parentNode.insertBefore(W,e.nextSibling)},t);return B}function fu(e){e.off=st,e.on=pe,e.wheelEventPixels=Ir,e.Doc=Mi,e.splitLines=gn,e.countColumn=oe,e.findColumn=Lt,e.isWordChar=T,e.Pass=Ue,e.signal=Ve,e.Line=Ar,e.changeEnd=Jr,e.scrollbarModel=ci,e.Pos=me,e.cmpPos=Ct,e.modes=wn,e.mimeModes=un,e.resolveMode=_n,e.getMode=Vn,e.modeExtensions=gr,e.extendMode=xr,e.copyState=Xn,e.startState=On,e.innerMode=Cn,e.commands=Ts,e.keyMap=Uo,e.keyName=al,e.isModifierKey=nl,e.lookupKey=ss,e.normalizeKeyMap=zl,e.StringStream=Hn,e.SharedTextMarker=ys,e.TextMarker=Ko,e.LineWidget=vs,e.e_preventDefault=Et,e.e_stopPropagation=wt,e.e_stop=zt,e.addClass=ge,e.contains=le,e.rmClass=J,e.keyNames=jo}ru(Na),su(Na);var pu="iter insert remove copy getEditor constructor".split(" ");for(var _s in Mi.prototype)Mi.prototype.hasOwnProperty(_s)&&L(pu,_s)<0&&(Na.prototype[_s]=function(e){return function(){return e.apply(this.doc,arguments)}}(Mi.prototype[_s]));return Q(Mi),Na.inputStyles={textarea:Ha,contenteditable:ma},Na.defineMode=function(e){!Na.defaults.mode&&e!="null"&&(Na.defaults.mode=e),dn.apply(this,arguments)},Na.defineMIME=Lr,Na.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Na.defineMIME("text/plain","null"),Na.defineExtension=function(e,t){Na.prototype[e]=t},Na.defineDocExtension=function(e,t){Mi.prototype[e]=t},Na.fromTextArea=du,fu(Na),Na.version="5.58.2",Na})},25419:function(x,c,r){(function(u){u(r(89780),r(15525),r(98101))})(function(u){"use strict";u.defineMode("markdown",function(y,v){var b=u.getMode(y,"text/html"),k=b.name=="null";function f(oe){if(u.findModeByName){var F=u.findModeByName(oe);F&&(oe=F.mime||F.mimes[0])}var L=u.getMode(y,oe);return L.name=="null"?null:L}v.highlightFormatting===void 0&&(v.highlightFormatting=!1),v.maxBlockquoteDepth===void 0&&(v.maxBlockquoteDepth=0),v.taskLists===void 0&&(v.taskLists=!1),v.strikethrough===void 0&&(v.strikethrough=!1),v.emoji===void 0&&(v.emoji=!1),v.fencedCodeBlockHighlighting===void 0&&(v.fencedCodeBlockHighlighting=!0),v.fencedCodeBlockDefaultMode===void 0&&(v.fencedCodeBlockDefaultMode="text/plain"),v.xml===void 0&&(v.xml=!0),v.tokenTypeOverrides===void 0&&(v.tokenTypeOverrides={});var R={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var z in R)R.hasOwnProperty(z)&&v.tokenTypeOverrides[z]&&(R[z]=v.tokenTypeOverrides[z]);var D=/^([*\-_])(?:\s*\1){2,}\s*$/,I=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,ae=/^\[(x| )\](?=\s)/i,G=v.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,be=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ce=/^[^#!\[\]*_\\<>` "'(~:]+/,ue=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,te=/^\s*\[[^\]]+?\]:.*$/,X=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,q=" ";function Z(oe,F,L){return F.f=F.inline=L,L(oe,F)}function j(oe,F,L){return F.f=F.block=L,L(oe,F)}function P(oe){return!oe||!/\S/.test(oe.string)}function U(oe){if(oe.linkTitle=!1,oe.linkHref=!1,oe.linkText=!1,oe.em=!1,oe.strong=!1,oe.strikethrough=!1,oe.quote=0,oe.indentedCode=!1,oe.f==J){var F=k;if(!F){var L=u.innerMode(b,oe.htmlState);F=L.mode.name=="xml"&&L.state.tagStart===null&&!L.state.context&&L.state.tokenize.isInText}F&&(oe.f=re,oe.block=_,oe.htmlState=null)}return oe.trailingSpace=0,oe.trailingSpaceNewLine=!1,oe.prevLine=oe.thisLine,oe.thisLine={stream:null},null}function _(oe,F){var L=oe.column()===F.indentation,we=P(F.prevLine.stream),Ue=F.indentedCode,Ne=F.prevLine.hr,xt=F.list!==!1,pt=(F.listStack[F.listStack.length-1]||0)+3;F.indentedCode=!1;var Lt=F.indentation;if(F.indentationDiff===null&&(F.indentationDiff=F.indentation,xt)){for(F.list=null;Lt<F.listStack[F.listStack.length-1];)F.listStack.pop(),F.listStack.length?F.indentation=F.listStack[F.listStack.length-1]:F.list=!1;F.list!==!1&&(F.indentationDiff=Lt-F.listStack[F.listStack.length-1])}var ze=!we&&!Ne&&!F.prevLine.header&&(!xt||!Ue)&&!F.prevLine.fencedCodeEnd,Te=(F.list===!1||Ne||we)&&F.indentation<=pt&&oe.match(D),_e=null;if(F.indentationDiff>=4&&(Ue||F.prevLine.fencedCodeEnd||F.prevLine.header||we))return oe.skipToEnd(),F.indentedCode=!0,R.code;if(oe.eatSpace())return null;if(L&&F.indentation<=pt&&(_e=oe.match(G))&&_e[1].length<=6)return F.quote=0,F.header=_e[1].length,F.thisLine.header=!0,v.highlightFormatting&&(F.formatting="header"),F.f=F.inline,H(F);if(F.indentation<=pt&&oe.eat(">"))return F.quote=L?1:F.quote+1,v.highlightFormatting&&(F.formatting="quote"),oe.eatSpace(),H(F);if(!Te&&!F.setext&&L&&F.indentation<=pt&&(_e=oe.match(I))){var $e=_e[1]?"ol":"ul";return F.indentation=Lt+oe.current().length,F.list=!0,F.quote=0,F.listStack.push(F.indentation),F.em=!1,F.strong=!1,F.code=!1,F.strikethrough=!1,v.taskLists&&oe.match(ae,!1)&&(F.taskList=!0),F.f=F.inline,v.highlightFormatting&&(F.formatting=["list","list-"+$e]),H(F)}else{if(L&&F.indentation<=pt&&(_e=oe.match(ue,!0)))return F.quote=0,F.fencedEndRE=new RegExp(_e[1]+"+ *$"),F.localMode=v.fencedCodeBlockHighlighting&&f(_e[2]||v.fencedCodeBlockDefaultMode),F.localMode&&(F.localState=u.startState(F.localMode)),F.f=F.block=de,v.highlightFormatting&&(F.formatting="code-block"),F.code=-1,H(F);if(F.setext||(!ze||!xt)&&!F.quote&&F.list===!1&&!F.code&&!Te&&!te.test(oe.string)&&(_e=oe.lookAhead(1))&&(_e=_e.match(be)))return F.setext?(F.header=F.setext,F.setext=0,oe.skipToEnd(),v.highlightFormatting&&(F.formatting="header")):(F.header=_e[0].charAt(0)=="="?1:2,F.setext=F.header),F.thisLine.header=!0,F.f=F.inline,H(F);if(Te)return oe.skipToEnd(),F.hr=!0,F.thisLine.hr=!0,R.hr;if(oe.peek()==="[")return Z(oe,F,Le)}return Z(oe,F,F.inline)}function J(oe,F){var L=b.token(oe,F.htmlState);if(!k){var we=u.innerMode(b,F.htmlState);(we.mode.name=="xml"&&we.state.tagStart===null&&!we.state.context&&we.state.tokenize.isInText||F.md_inside&&oe.current().indexOf(">")>-1)&&(F.f=re,F.block=_,F.htmlState=null)}return L}function de(oe,F){var L=F.listStack[F.listStack.length-1]||0,we=F.indentation<L,Ue=L+3;if(F.fencedEndRE&&F.indentation<=Ue&&(we||oe.match(F.fencedEndRE))){v.highlightFormatting&&(F.formatting="code-block");var Ne;return we||(Ne=H(F)),F.localMode=F.localState=null,F.block=_,F.f=re,F.fencedEndRE=null,F.code=0,F.thisLine.fencedCodeEnd=!0,we?j(oe,F,F.block):Ne}else return F.localMode?F.localMode.token(oe,F.localState):(oe.skipToEnd(),R.code)}function H(oe){var F=[];if(oe.formatting){F.push(R.formatting),typeof oe.formatting=="string"&&(oe.formatting=[oe.formatting]);for(var L=0;L<oe.formatting.length;L++)F.push(R.formatting+"-"+oe.formatting[L]),oe.formatting[L]==="header"&&F.push(R.formatting+"-"+oe.formatting[L]+"-"+oe.header),oe.formatting[L]==="quote"&&(!v.maxBlockquoteDepth||v.maxBlockquoteDepth>=oe.quote?F.push(R.formatting+"-"+oe.formatting[L]+"-"+oe.quote):F.push("error"))}if(oe.taskOpen)return F.push("meta"),F.length?F.join(" "):null;if(oe.taskClosed)return F.push("property"),F.length?F.join(" "):null;if(oe.linkHref?F.push(R.linkHref,"url"):(oe.strong&&F.push(R.strong),oe.em&&F.push(R.em),oe.strikethrough&&F.push(R.strikethrough),oe.emoji&&F.push(R.emoji),oe.linkText&&F.push(R.linkText),oe.code&&F.push(R.code),oe.image&&F.push(R.image),oe.imageAltText&&F.push(R.imageAltText,"link"),oe.imageMarker&&F.push(R.imageMarker)),oe.header&&F.push(R.header,R.header+"-"+oe.header),oe.quote&&(F.push(R.quote),!v.maxBlockquoteDepth||v.maxBlockquoteDepth>=oe.quote?F.push(R.quote+"-"+oe.quote):F.push(R.quote+"-"+v.maxBlockquoteDepth)),oe.list!==!1){var we=(oe.listStack.length-1)%3;we?we===1?F.push(R.list2):F.push(R.list3):F.push(R.list1)}return oe.trailingSpaceNewLine?F.push("trailing-space-new-line"):oe.trailingSpace&&F.push("trailing-space-"+(oe.trailingSpace%2?"a":"b")),F.length?F.join(" "):null}function fe(oe,F){if(oe.match(ce,!0))return H(F)}function re(oe,F){var L=F.text(oe,F);if(typeof L!="undefined")return L;if(F.list)return F.list=null,H(F);if(F.taskList){var we=oe.match(ae,!0)[1]===" ";return we?F.taskOpen=!0:F.taskClosed=!0,v.highlightFormatting&&(F.formatting="task"),F.taskList=!1,H(F)}if(F.taskOpen=!1,F.taskClosed=!1,F.header&&oe.match(/^#+$/,!0))return v.highlightFormatting&&(F.formatting="header"),H(F);var Ue=oe.next();if(F.linkTitle){F.linkTitle=!1;var Ne=Ue;Ue==="("&&(Ne=")"),Ne=(Ne+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var xt="^\\s*(?:[^"+Ne+"\\\\]+|\\\\\\\\|\\\\.)"+Ne;if(oe.match(new RegExp(xt),!0))return R.linkHref}if(Ue==="`"){var pt=F.formatting;v.highlightFormatting&&(F.formatting="code"),oe.eatWhile("`");var Lt=oe.current().length;if(F.code==0&&(!F.quote||Lt==1))return F.code=Lt,H(F);if(Lt==F.code){var ze=H(F);return F.code=0,ze}else return F.formatting=pt,H(F)}else if(F.code)return H(F);if(Ue==="\\"&&(oe.next(),v.highlightFormatting)){var Te=H(F),_e=R.formatting+"-escape";return Te?Te+" "+_e:_e}if(Ue==="!"&&oe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return F.imageMarker=!0,F.image=!0,v.highlightFormatting&&(F.formatting="image"),H(F);if(Ue==="["&&F.imageMarker&&oe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return F.imageMarker=!1,F.imageAltText=!0,v.highlightFormatting&&(F.formatting="image"),H(F);if(Ue==="]"&&F.imageAltText){v.highlightFormatting&&(F.formatting="image");var Te=H(F);return F.imageAltText=!1,F.image=!1,F.inline=F.f=le,Te}if(Ue==="["&&!F.image)return F.linkText&&oe.match(/^.*?\]/)||(F.linkText=!0,v.highlightFormatting&&(F.formatting="link")),H(F);if(Ue==="]"&&F.linkText){v.highlightFormatting&&(F.formatting="link");var Te=H(F);return F.linkText=!1,F.inline=F.f=oe.match(/\(.*?\)| ?\[.*?\]/,!1)?le:re,Te}if(Ue==="<"&&oe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){F.f=F.inline=V,v.highlightFormatting&&(F.formatting="link");var Te=H(F);return Te?Te+=" ":Te="",Te+R.linkInline}if(Ue==="<"&&oe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){F.f=F.inline=V,v.highlightFormatting&&(F.formatting="link");var Te=H(F);return Te?Te+=" ":Te="",Te+R.linkEmail}if(v.xml&&Ue==="<"&&oe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var $e=oe.string.indexOf(">",oe.pos);if($e!=-1){var St=oe.string.substring(oe.start,$e);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(St)&&(F.md_inside=!0)}return oe.backUp(1),F.htmlState=u.startState(b),j(oe,F,J)}if(v.xml&&Ue==="<"&&oe.match(/^\/\w*?>/))return F.md_inside=!1,"tag";if(Ue==="*"||Ue==="_"){for(var A=1,p=oe.pos==1?" ":oe.string.charAt(oe.pos-2);A<3&&oe.eat(Ue);)A++;var d=oe.peek()||" ",T=!/\s/.test(d)&&(!X.test(d)||/\s/.test(p)||X.test(p)),O=!/\s/.test(p)&&(!X.test(p)||/\s/.test(d)||X.test(d)),g=null,M=null;if(A%2&&(!F.em&&T&&(Ue==="*"||!O||X.test(p))?g=!0:F.em==Ue&&O&&(Ue==="*"||!T||X.test(d))&&(g=!1)),A>1&&(!F.strong&&T&&(Ue==="*"||!O||X.test(p))?M=!0:F.strong==Ue&&O&&(Ue==="*"||!T||X.test(d))&&(M=!1)),M!=null||g!=null){v.highlightFormatting&&(F.formatting=g==null?"strong":M==null?"em":"strong em"),g===!0&&(F.em=Ue),M===!0&&(F.strong=Ue);var ze=H(F);return g===!1&&(F.em=!1),M===!1&&(F.strong=!1),ze}}else if(Ue===" "&&(oe.eat("*")||oe.eat("_"))){if(oe.peek()===" ")return H(F);oe.backUp(1)}if(v.strikethrough){if(Ue==="~"&&oe.eatWhile(Ue)){if(F.strikethrough){v.highlightFormatting&&(F.formatting="strikethrough");var ze=H(F);return F.strikethrough=!1,ze}else if(oe.match(/^[^\s]/,!1))return F.strikethrough=!0,v.highlightFormatting&&(F.formatting="strikethrough"),H(F)}else if(Ue===" "&&oe.match(/^~~/,!0)){if(oe.peek()===" ")return H(F);oe.backUp(2)}}if(v.emoji&&Ue===":"&&oe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){F.emoji=!0,v.highlightFormatting&&(F.formatting="emoji");var xe=H(F);return F.emoji=!1,xe}return Ue===" "&&(oe.match(/^ +$/,!1)?F.trailingSpace++:F.trailingSpace&&(F.trailingSpaceNewLine=!0)),H(F)}function V(oe,F){var L=oe.next();if(L===">"){F.f=F.inline=re,v.highlightFormatting&&(F.formatting="link");var we=H(F);return we?we+=" ":we="",we+R.linkInline}return oe.match(/^[^>]+/,!0),R.linkInline}function le(oe,F){if(oe.eatSpace())return null;var L=oe.next();return L==="("||L==="["?(F.f=F.inline=ge(L==="("?")":"]"),v.highlightFormatting&&(F.formatting="link-string"),F.linkHref=!0,H(F)):"error"}var ne={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ge(oe){return function(F,L){var we=F.next();if(we===oe){L.f=L.inline=re,v.highlightFormatting&&(L.formatting="link-string");var Ue=H(L);return L.linkHref=!1,Ue}return F.match(ne[oe]),L.linkHref=!0,H(L)}}function Le(oe,F){return oe.match(/^([^\]\\]|\\.)*\]:/,!1)?(F.f=Re,oe.next(),v.highlightFormatting&&(F.formatting="link"),F.linkText=!0,H(F)):Z(oe,F,re)}function Re(oe,F){if(oe.match(/^\]:/,!0)){F.f=F.inline=Ie,v.highlightFormatting&&(F.formatting="link");var L=H(F);return F.linkText=!1,L}return oe.match(/^([^\]\\]|\\.)+/,!0),R.linkText}function Ie(oe,F){return oe.eatSpace()?null:(oe.match(/^[^\s]+/,!0),oe.peek()===void 0?F.linkTitle=!0:oe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),F.f=F.inline=re,R.linkHref+" url")}var He={startState:function(){return{f:_,prevLine:{stream:null},thisLine:{stream:null},block:_,htmlState:null,indentation:0,inline:re,text:fe,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(oe){return{f:oe.f,prevLine:oe.prevLine,thisLine:oe.thisLine,block:oe.block,htmlState:oe.htmlState&&u.copyState(b,oe.htmlState),indentation:oe.indentation,localMode:oe.localMode,localState:oe.localMode?u.copyState(oe.localMode,oe.localState):null,inline:oe.inline,text:oe.text,formatting:!1,linkText:oe.linkText,linkTitle:oe.linkTitle,linkHref:oe.linkHref,code:oe.code,em:oe.em,strong:oe.strong,strikethrough:oe.strikethrough,emoji:oe.emoji,header:oe.header,setext:oe.setext,hr:oe.hr,taskList:oe.taskList,list:oe.list,listStack:oe.listStack.slice(0),quote:oe.quote,indentedCode:oe.indentedCode,trailingSpace:oe.trailingSpace,trailingSpaceNewLine:oe.trailingSpaceNewLine,md_inside:oe.md_inside,fencedEndRE:oe.fencedEndRE}},token:function(oe,F){if(F.formatting=!1,oe!=F.thisLine.stream){if(F.header=0,F.hr=!1,oe.match(/^\s*$/,!0))return U(F),null;if(F.prevLine=F.thisLine,F.thisLine={stream:oe},F.taskList=!1,F.trailingSpace=0,F.trailingSpaceNewLine=!1,!F.localState&&(F.f=F.block,F.f!=J)){var L=oe.match(/^\s*/,!0)[0].replace(/\t/g,q).length;if(F.indentation=L,F.indentationDiff=null,L>0)return null}}return F.f(oe,F)},innerMode:function(oe){return oe.block==J?{state:oe.htmlState,mode:b}:oe.localState?{state:oe.localState,mode:oe.localMode}:{state:oe,mode:He}},indent:function(oe,F,L){return oe.block==J&&b.indent?b.indent(oe.htmlState,F,L):oe.localState&&oe.localMode.indent?oe.localMode.indent(oe.localState,F,L):u.Pass},blankLine:U,getType:H,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return He},"xml"),u.defineMIME("text/markdown","markdown"),u.defineMIME("text/x-markdown","markdown")})},98101:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";u.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var y=0;y<u.modeInfo.length;y++){var v=u.modeInfo[y];v.mimes&&(v.mime=v.mimes[0])}u.findModeByMIME=function(b){b=b.toLowerCase();for(var k=0;k<u.modeInfo.length;k++){var f=u.modeInfo[k];if(f.mime==b)return f;if(f.mimes){for(var R=0;R<f.mimes.length;R++)if(f.mimes[R]==b)return f}}if(/\+xml$/.test(b))return u.findModeByMIME("application/xml");if(/\+json$/.test(b))return u.findModeByMIME("application/json")},u.findModeByExtension=function(b){b=b.toLowerCase();for(var k=0;k<u.modeInfo.length;k++){var f=u.modeInfo[k];if(f.ext){for(var R=0;R<f.ext.length;R++)if(f.ext[R]==b)return f}}},u.findModeByFileName=function(b){for(var k=0;k<u.modeInfo.length;k++){var f=u.modeInfo[k];if(f.file&&f.file.test(b))return f}var R=b.lastIndexOf("."),z=R>-1&&b.substring(R+1,b.length);if(z)return u.findModeByExtension(z)},u.findModeByName=function(b){b=b.toLowerCase();for(var k=0;k<u.modeInfo.length;k++){var f=u.modeInfo[k];if(f.name.toLowerCase()==b)return f;if(f.alias){for(var R=0;R<f.alias.length;R++)if(f.alias[R].toLowerCase()==b)return f}}}})},67549:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";u.defineMode("stex",function(y,v){"use strict";function b(ce,ue){ce.cmdState.push(ue)}function k(ce){return ce.cmdState.length>0?ce.cmdState[ce.cmdState.length-1]:null}function f(ce){var ue=ce.cmdState.pop();ue&&ue.closeBracket()}function R(ce){for(var ue=ce.cmdState,te=ue.length-1;te>=0;te--){var X=ue[te];if(X.name!="DEFAULT")return X}return{styleIdentifier:function(){return null}}}function z(ce,ue,te){return function(){this.name=ce,this.bracketNo=0,this.style=ue,this.styles=te,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var D={};D.importmodule=z("importmodule","tag",["string","builtin"]),D.documentclass=z("documentclass","tag",["","atom"]),D.usepackage=z("usepackage","tag",["atom"]),D.begin=z("begin","tag",["atom"]),D.end=z("end","tag",["atom"]),D.label=z("label","tag",["atom"]),D.ref=z("ref","tag",["atom"]),D.eqref=z("eqref","tag",["atom"]),D.cite=z("cite","tag",["atom"]),D.bibitem=z("bibitem","tag",["atom"]),D.Bibitem=z("Bibitem","tag",["atom"]),D.RBibitem=z("RBibitem","tag",["atom"]),D.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function I(ce,ue){ce.f=ue}function ae(ce,ue){var te;if(ce.match(/^\\[a-zA-Z@]+/)){var X=ce.current().slice(1);return te=D.hasOwnProperty(X)?D[X]:D.DEFAULT,te=new te,b(ue,te),I(ue,be),te.style}if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/\\]/))return"tag";if(ce.match("\\["))return I(ue,function(Z,j){return G(Z,j,"\\]")}),"keyword";if(ce.match("\\("))return I(ue,function(Z,j){return G(Z,j,"\\)")}),"keyword";if(ce.match("$$"))return I(ue,function(Z,j){return G(Z,j,"$$")}),"keyword";if(ce.match("$"))return I(ue,function(Z,j){return G(Z,j,"$")}),"keyword";var q=ce.next();if(q=="%")return ce.skipToEnd(),"comment";if(q=="}"||q=="]"){if(te=k(ue),te)te.closeBracket(q),I(ue,be);else return"error";return"bracket"}else return q=="{"||q=="["?(te=D.DEFAULT,te=new te,b(ue,te),"bracket"):/\d/.test(q)?(ce.eatWhile(/[\w.%]/),"atom"):(ce.eatWhile(/[\w\-_]/),te=R(ue),te.name=="begin"&&(te.argument=ce.current()),te.styleIdentifier())}function G(ce,ue,te){if(ce.eatSpace())return null;if(te&&ce.match(te))return I(ue,ae),"keyword";if(ce.match(/^\\[a-zA-Z@]+/))return"tag";if(ce.match(/^[a-zA-Z]+/))return"variable-2";if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/]/)||ce.match(/^[\^_&]/))return"tag";if(ce.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ce.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var X=ce.next();return X=="{"||X=="}"||X=="["||X=="]"||X=="("||X==")"?"bracket":X=="%"?(ce.skipToEnd(),"comment"):"error"}function be(ce,ue){var te=ce.peek(),X;return te=="{"||te=="["?(X=k(ue),X.openBracket(te),ce.eat(te),I(ue,ae),"bracket"):/[ \t\r]/.test(te)?(ce.eat(te),null):(I(ue,ae),f(ue),ae(ce,ue))}return{startState:function(){var ce=v.inMathMode?function(ue,te){return G(ue,te)}:ae;return{cmdState:[],f:ce}},copyState:function(ce){return{cmdState:ce.cmdState.slice(),f:ce.f}},token:function(ce,ue){return ue.f(ce,ue)},blankLine:function(ce){ce.f=ae,ce.cmdState.length=0},lineComment:"%"}}),u.defineMIME("text/x-stex","stex"),u.defineMIME("text/x-latex","stex")})},15525:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";var y={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},v={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};u.defineMode("xml",function(b,k){var f=b.indentUnit,R={},z=k.htmlMode?y:v;for(var D in z)R[D]=z[D];for(var D in k)R[D]=k[D];var I,ae;function G(V,le){function ne(Re){return le.tokenize=Re,Re(V,le)}var ge=V.next();if(ge=="<")return V.eat("!")?V.eat("[")?V.match("CDATA[")?ne(ue("atom","]]>")):null:V.match("--")?ne(ue("comment","-->")):V.match("DOCTYPE",!0,!0)?(V.eatWhile(/[\w\._\-]/),ne(te(1))):null:V.eat("?")?(V.eatWhile(/[\w\._\-]/),le.tokenize=ue("meta","?>"),"meta"):(I=V.eat("/")?"closeTag":"openTag",le.tokenize=be,"tag bracket");if(ge=="&"){var Le;return V.eat("#")?V.eat("x")?Le=V.eatWhile(/[a-fA-F\d]/)&&V.eat(";"):Le=V.eatWhile(/[\d]/)&&V.eat(";"):Le=V.eatWhile(/[\w\.\-:]/)&&V.eat(";"),Le?"atom":"error"}else return V.eatWhile(/[^&<]/),null}G.isInText=!0;function be(V,le){var ne=V.next();if(ne==">"||ne=="/"&&V.eat(">"))return le.tokenize=G,I=ne==">"?"endTag":"selfcloseTag","tag bracket";if(ne=="=")return I="equals",null;if(ne=="<"){le.tokenize=G,le.state=j,le.tagName=le.tagStart=null;var ge=le.tokenize(V,le);return ge?ge+" tag error":"tag error"}else return/[\'\"]/.test(ne)?(le.tokenize=ce(ne),le.stringStartCol=V.column(),le.tokenize(V,le)):(V.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ce(V){var le=function(ne,ge){for(;!ne.eol();)if(ne.next()==V){ge.tokenize=be;break}return"string"};return le.isInAttribute=!0,le}function ue(V,le){return function(ne,ge){for(;!ne.eol();){if(ne.match(le)){ge.tokenize=G;break}ne.next()}return V}}function te(V){return function(le,ne){for(var ge;(ge=le.next())!=null;){if(ge=="<")return ne.tokenize=te(V+1),ne.tokenize(le,ne);if(ge==">")if(V==1){ne.tokenize=G;break}else return ne.tokenize=te(V-1),ne.tokenize(le,ne)}return"meta"}}function X(V,le,ne){this.prev=V.context,this.tagName=le,this.indent=V.indented,this.startOfLine=ne,(R.doNotIndent.hasOwnProperty(le)||V.context&&V.context.noIndent)&&(this.noIndent=!0)}function q(V){V.context&&(V.context=V.context.prev)}function Z(V,le){for(var ne;;){if(!V.context||(ne=V.context.tagName,!R.contextGrabbers.hasOwnProperty(ne)||!R.contextGrabbers[ne].hasOwnProperty(le)))return;q(V)}}function j(V,le,ne){return V=="openTag"?(ne.tagStart=le.column(),P):V=="closeTag"?U:j}function P(V,le,ne){return V=="word"?(ne.tagName=le.current(),ae="tag",de):R.allowMissingTagName&&V=="endTag"?(ae="tag bracket",de(V,le,ne)):(ae="error",P)}function U(V,le,ne){if(V=="word"){var ge=le.current();return ne.context&&ne.context.tagName!=ge&&R.implicitlyClosed.hasOwnProperty(ne.context.tagName)&&q(ne),ne.context&&ne.context.tagName==ge||R.matchClosing===!1?(ae="tag",_):(ae="tag error",J)}else return R.allowMissingTagName&&V=="endTag"?(ae="tag bracket",_(V,le,ne)):(ae="error",J)}function _(V,le,ne){return V!="endTag"?(ae="error",_):(q(ne),j)}function J(V,le,ne){return ae="error",_(V,le,ne)}function de(V,le,ne){if(V=="word")return ae="attribute",H;if(V=="endTag"||V=="selfcloseTag"){var ge=ne.tagName,Le=ne.tagStart;return ne.tagName=ne.tagStart=null,V=="selfcloseTag"||R.autoSelfClosers.hasOwnProperty(ge)?Z(ne,ge):(Z(ne,ge),ne.context=new X(ne,ge,Le==ne.indented)),j}return ae="error",de}function H(V,le,ne){return V=="equals"?fe:(R.allowMissing||(ae="error"),de(V,le,ne))}function fe(V,le,ne){return V=="string"?re:V=="word"&&R.allowUnquoted?(ae="string",de):(ae="error",de(V,le,ne))}function re(V,le,ne){return V=="string"?re:de(V,le,ne)}return{startState:function(V){var le={tokenize:G,state:j,indented:V||0,tagName:null,tagStart:null,context:null};return V!=null&&(le.baseIndent=V),le},token:function(V,le){if(!le.tagName&&V.sol()&&(le.indented=V.indentation()),V.eatSpace())return null;I=null;var ne=le.tokenize(V,le);return(ne||I)&&ne!="comment"&&(ae=null,le.state=le.state(I||ne,V,le),ae&&(ne=ae=="error"?ne+" error":ae)),ne},indent:function(V,le,ne){var ge=V.context;if(V.tokenize.isInAttribute)return V.tagStart==V.indented?V.stringStartCol+1:V.indented+f;if(ge&&ge.noIndent)return u.Pass;if(V.tokenize!=be&&V.tokenize!=G)return ne?ne.match(/^(\s*)/)[0].length:0;if(V.tagName)return R.multilineTagIndentPastTag!==!1?V.tagStart+V.tagName.length+2:V.tagStart+f*(R.multilineTagIndentFactor||1);if(R.alignCDATA&&/<!\[CDATA\[/.test(le))return 0;var Le=le&&/^<(\/)?([\w_:\.-]*)/.exec(le);if(Le&&Le[1])for(;ge;)if(ge.tagName==Le[2]){ge=ge.prev;break}else if(R.implicitlyClosed.hasOwnProperty(ge.tagName))ge=ge.prev;else break;else if(Le)for(;ge;){var Re=R.contextGrabbers[ge.tagName];if(Re&&Re.hasOwnProperty(Le[2]))ge=ge.prev;else break}for(;ge&&ge.prev&&!ge.startOfLine;)ge=ge.prev;return ge?ge.indent+f:V.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:R.htmlMode?"html":"xml",helperType:R.htmlMode?"html":"xml",skipAttribute:function(V){V.state==fe&&(V.state=de)},xmlCurrentTag:function(V){return V.tagName?{name:V.tagName,close:V.type=="closeTag"}:null},xmlCurrentContext:function(V){for(var le=[],ne=V.context;ne;ne=ne.prev)ne.tagName&&le.push(ne.tagName);return le.reverse()}}}),u.defineMIME("text/xml","xml"),u.defineMIME("application/xml","xml"),u.mimeModes.hasOwnProperty("text/html")||u.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(x,c){"use strict";var r;c.Q=b,r=k;var u=",",y=" ",v="";function b(f){for(var R=[],z=String(f||v),D=z.indexOf(u),I=0,ae=!1,G;!ae;)D===-1&&(D=z.length,ae=!0),G=z.slice(I,D).trim(),(G||!ae)&&R.push(G),I=D+1,D=z.indexOf(u,I);return R}function k(f,R){var z=R||{},D=z.padLeft===!1?v:y,I=z.padRight?y:v;return f[f.length-1]===v&&(f=f.concat(v)),f.join(I+u+D).trim()}},86204:function(x){"use strict";var c=typeof Reflect=="object"?Reflect:null,r=c&&typeof c.apply=="function"?c.apply:function(j,P,U){return Function.prototype.apply.call(j,P,U)},u;c&&typeof c.ownKeys=="function"?u=c.ownKeys:Object.getOwnPropertySymbols?u=function(j){return Object.getOwnPropertyNames(j).concat(Object.getOwnPropertySymbols(j))}:u=function(j){return Object.getOwnPropertyNames(j)};function y(Z){console&&console.warn&&console.warn(Z)}var v=Number.isNaN||function(j){return j!==j};function b(){b.init.call(this)}x.exports=b,x.exports.once=te,b.EventEmitter=b,b.prototype._events=void 0,b.prototype._eventsCount=0,b.prototype._maxListeners=void 0;var k=10;function f(Z){if(typeof Z!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Z)}Object.defineProperty(b,"defaultMaxListeners",{enumerable:!0,get:function(){return k},set:function(Z){if(typeof Z!="number"||Z<0||v(Z))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Z+".");k=Z}}),b.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},b.prototype.setMaxListeners=function(j){if(typeof j!="number"||j<0||v(j))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+j+".");return this._maxListeners=j,this};function R(Z){return Z._maxListeners===void 0?b.defaultMaxListeners:Z._maxListeners}b.prototype.getMaxListeners=function(){return R(this)},b.prototype.emit=function(j){for(var P=[],U=1;U<arguments.length;U++)P.push(arguments[U]);var _=j==="error",J=this._events;if(J!==void 0)_=_&&J.error===void 0;else if(!_)return!1;if(_){var de;if(P.length>0&&(de=P[0]),de instanceof Error)throw de;var H=new Error("Unhandled error."+(de?" ("+de.message+")":""));throw H.context=de,H}var fe=J[j];if(fe===void 0)return!1;if(typeof fe=="function")r(fe,this,P);else for(var re=fe.length,V=be(fe,re),U=0;U<re;++U)r(V[U],this,P);return!0};function z(Z,j,P,U){var _,J,de;if(f(P),J=Z._events,J===void 0?(J=Z._events=Object.create(null),Z._eventsCount=0):(J.newListener!==void 0&&(Z.emit("newListener",j,P.listener?P.listener:P),J=Z._events),de=J[j]),de===void 0)de=J[j]=P,++Z._eventsCount;else if(typeof de=="function"?de=J[j]=U?[P,de]:[de,P]:U?de.unshift(P):de.push(P),_=R(Z),_>0&&de.length>_&&!de.warned){de.warned=!0;var H=new Error("Possible EventEmitter memory leak detected. "+de.length+" "+String(j)+" listeners added. Use emitter.setMaxListeners() to increase limit");H.name="MaxListenersExceededWarning",H.emitter=Z,H.type=j,H.count=de.length,y(H)}return Z}b.prototype.addListener=function(j,P){return z(this,j,P,!1)},b.prototype.on=b.prototype.addListener,b.prototype.prependListener=function(j,P){return z(this,j,P,!0)};function D(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function I(Z,j,P){var U={fired:!1,wrapFn:void 0,target:Z,type:j,listener:P},_=D.bind(U);return _.listener=P,U.wrapFn=_,_}b.prototype.once=function(j,P){return f(P),this.on(j,I(this,j,P)),this},b.prototype.prependOnceListener=function(j,P){return f(P),this.prependListener(j,I(this,j,P)),this},b.prototype.removeListener=function(j,P){var U,_,J,de,H;if(f(P),_=this._events,_===void 0)return this;if(U=_[j],U===void 0)return this;if(U===P||U.listener===P)--this._eventsCount===0?this._events=Object.create(null):(delete _[j],_.removeListener&&this.emit("removeListener",j,U.listener||P));else if(typeof U!="function"){for(J=-1,de=U.length-1;de>=0;de--)if(U[de]===P||U[de].listener===P){H=U[de].listener,J=de;break}if(J<0)return this;J===0?U.shift():ce(U,J),U.length===1&&(_[j]=U[0]),_.removeListener!==void 0&&this.emit("removeListener",j,H||P)}return this},b.prototype.off=b.prototype.removeListener,b.prototype.removeAllListeners=function(j){var P,U,_;if(U=this._events,U===void 0)return this;if(U.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):U[j]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete U[j]),this;if(arguments.length===0){var J=Object.keys(U),de;for(_=0;_<J.length;++_)de=J[_],de!=="removeListener"&&this.removeAllListeners(de);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(P=U[j],typeof P=="function")this.removeListener(j,P);else if(P!==void 0)for(_=P.length-1;_>=0;_--)this.removeListener(j,P[_]);return this};function ae(Z,j,P){var U=Z._events;if(U===void 0)return[];var _=U[j];return _===void 0?[]:typeof _=="function"?P?[_.listener||_]:[_]:P?ue(_):be(_,_.length)}b.prototype.listeners=function(j){return ae(this,j,!0)},b.prototype.rawListeners=function(j){return ae(this,j,!1)},b.listenerCount=function(Z,j){return typeof Z.listenerCount=="function"?Z.listenerCount(j):G.call(Z,j)},b.prototype.listenerCount=G;function G(Z){var j=this._events;if(j!==void 0){var P=j[Z];if(typeof P=="function")return 1;if(P!==void 0)return P.length}return 0}b.prototype.eventNames=function(){return this._eventsCount>0?u(this._events):[]};function be(Z,j){for(var P=new Array(j),U=0;U<j;++U)P[U]=Z[U];return P}function ce(Z,j){for(;j+1<Z.length;j++)Z[j]=Z[j+1];Z.pop()}function ue(Z){for(var j=new Array(Z.length),P=0;P<j.length;++P)j[P]=Z[P].listener||Z[P];return j}function te(Z,j){return new Promise(function(P,U){function _(de){Z.removeListener(j,J),U(de)}function J(){typeof Z.removeListener=="function"&&Z.removeListener("error",_),P([].slice.call(arguments))}q(Z,j,J,{once:!0}),j!=="error"&&X(Z,_,{once:!0})})}function X(Z,j,P){typeof Z.on=="function"&&q(Z,"error",j,P)}function q(Z,j,P,U){if(typeof Z.on=="function")U.once?Z.once(j,P):Z.on(j,P);else if(typeof Z.addEventListener=="function")Z.addEventListener(j,function _(J){U.once&&Z.removeEventListener(j,_),P(J)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Z)}},58847:function(x){"use strict";var c=Object.prototype.hasOwnProperty,r=Object.prototype.toString,u=Object.defineProperty,y=Object.getOwnPropertyDescriptor,v=function(z){return typeof Array.isArray=="function"?Array.isArray(z):r.call(z)==="[object Array]"},b=function(z){if(!z||r.call(z)!=="[object Object]")return!1;var D=c.call(z,"constructor"),I=z.constructor&&z.constructor.prototype&&c.call(z.constructor.prototype,"isPrototypeOf");if(z.constructor&&!D&&!I)return!1;var ae;for(ae in z);return typeof ae=="undefined"||c.call(z,ae)},k=function(z,D){u&&D.name==="__proto__"?u(z,D.name,{enumerable:!0,configurable:!0,value:D.newValue,writable:!0}):z[D.name]=D.newValue},f=function(z,D){if(D==="__proto__")if(c.call(z,D)){if(y)return y(z,D).value}else return;return z[D]};x.exports=function R(){var z,D,I,ae,G,be,ce=arguments[0],ue=1,te=arguments.length,X=!1;for(typeof ce=="boolean"&&(X=ce,ce=arguments[1]||{},ue=2),(ce==null||typeof ce!="object"&&typeof ce!="function")&&(ce={});ue<te;++ue)if(z=arguments[ue],z!=null)for(D in z)I=f(ce,D),ae=f(z,D),ce!==ae&&(X&&ae&&(b(ae)||(G=v(ae)))?(G?(G=!1,be=I&&v(I)?I:[]):be=I&&b(I)?I:{},k(ce,{name:D,newValue:R(X,be,ae)})):typeof ae!="undefined"&&k(ce,{name:D,newValue:ae}));return ce}},46963:function(x){"use strict";x.exports=r;var c=/[#.]/g;function r(u,y){for(var v=u||"",b=y||"div",k={},f=0,R,z,D;f<v.length;)c.lastIndex=f,D=c.exec(v),R=v.slice(f,D?D.index:v.length),R&&(z?z==="#"?k.id=R:k.className?k.className.push(R):k.className=[R]:b=R,f+=R.length),D&&(z=D[0],f++);return{type:"element",tagName:b,properties:k,children:[]}}},5641:function(x,c,r){"use strict";var u=r(88914),y=r(47178),v=r(46963),b=r(92848).Q,k=r(58951).Q;x.exports=R;var f={}.hasOwnProperty;function R(ue,te,X){var q=X?ce(X):null;return Z;function Z(P,U){var _=v(P,te),J=Array.prototype.slice.call(arguments,2),de=_.tagName.toLowerCase(),H;if(_.tagName=q&&f.call(q,de)?q[de]:de,U&&z(U,_)&&(J.unshift(U),U=null),U)for(H in U)j(_.properties,H,U[H]);return I(_.children,J),_.tagName==="template"&&(_.content={type:"root",children:_.children},_.children=[]),_}function j(P,U,_){var J,de,H;_==null||_!==_||(J=u(ue,U),de=J.property,H=_,typeof H=="string"&&(J.spaceSeparated?H=b(H):J.commaSeparated?H=k(H):J.commaOrSpaceSeparated&&(H=b(k(H).join(" ")))),de==="style"&&typeof _!="string"&&(H=be(H)),de==="className"&&P.className&&(H=P.className.concat(H)),P[de]=ae(J,de,H))}}function z(ue,te){return typeof ue=="string"||"length"in ue||D(te.tagName,ue)}function D(ue,te){var X=te.type;return ue==="input"||!X||typeof X!="string"?!1:typeof te.children=="object"&&"length"in te.children?!0:(X=X.toLowerCase(),ue==="button"?X!=="menu"&&X!=="submit"&&X!=="reset"&&X!=="button":"value"in te)}function I(ue,te){var X,q;if(typeof te=="string"||typeof te=="number"){ue.push({type:"text",value:String(te)});return}if(typeof te=="object"&&"length"in te){for(X=-1,q=te.length;++X<q;)I(ue,te[X]);return}if(typeof te!="object"||!("type"in te))throw new Error("Expected node, nodes, or string, got `"+te+"`");ue.push(te)}function ae(ue,te,X){var q,Z,j;if(typeof X!="object"||!("length"in X))return G(ue,te,X);for(Z=X.length,q=-1,j=[];++q<Z;)j[q]=G(ue,te,X[q]);return j}function G(ue,te,X){var q=X;return ue.number||ue.positiveNumber?!isNaN(q)&&q!==""&&(q=Number(q)):(ue.boolean||ue.overloadedBoolean)&&typeof q=="string"&&(q===""||y(X)===y(te))&&(q=!0),q}function be(ue){var te=[],X;for(X in ue)te.push([X,ue[X]].join(": "));return te.join("; ")}function ce(ue){for(var te=ue.length,X=-1,q={},Z;++X<te;)Z=ue[X],q[Z.toLowerCase()]=Z;return q}},82073:function(x,c,r){"use strict";var u=r(18795),y=r(5641),v=y(u,"div");v.displayName="html",x.exports=v},43621:function(x,c,r){"use strict";x.exports=r(82073)},93193:function(x){var c=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,u=/^\s*/,y=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,v=/^:\s*/,b=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,k=/^[;\s]*/,f=/^\s+|\s+$/g,R=`
`,z="/",D="*",I="",ae="comment",G="declaration";x.exports=function(ce,ue){if(typeof ce!="string")throw new TypeError("First argument must be a string");if(!ce)return[];ue=ue||{};var te=1,X=1;function q(V){var le=V.match(r);le&&(te+=le.length);var ne=V.lastIndexOf(R);X=~ne?V.length-ne:X+V.length}function Z(){var V={line:te,column:X};return function(le){return le.position=new j(V),J(),le}}function j(V){this.start=V,this.end={line:te,column:X},this.source=ue.source}j.prototype.content=ce;var P=[];function U(V){var le=new Error(ue.source+":"+te+":"+X+": "+V);if(le.reason=V,le.filename=ue.source,le.line=te,le.column=X,le.source=ce,ue.silent)P.push(le);else throw le}function _(V){var le=V.exec(ce);if(le){var ne=le[0];return q(ne),ce=ce.slice(ne.length),le}}function J(){_(u)}function de(V){var le;for(V=V||[];le=H();)le!==!1&&V.push(le);return V}function H(){var V=Z();if(!(z!=ce.charAt(0)||D!=ce.charAt(1))){for(var le=2;I!=ce.charAt(le)&&(D!=ce.charAt(le)||z!=ce.charAt(le+1));)++le;if(le+=2,I===ce.charAt(le-1))return U("End of comment missing");var ne=ce.slice(2,le-2);return X+=2,q(ne),ce=ce.slice(le),X+=2,V({type:ae,comment:ne})}}function fe(){var V=Z(),le=_(y);if(le){if(H(),!_(v))return U("property missing ':'");var ne=_(b),ge=V({type:G,property:be(le[0].replace(c,I)),value:ne?be(ne[0].replace(c,I)):I});return _(k),ge}}function re(){var V=[];de(V);for(var le;le=fe();)le!==!1&&(V.push(le),de(V));return V}return J(),re()};function be(ce){return ce?ce.replace(f,I):I}},91241:function(x){"use strict";x.exports=c;function c(r){var u=typeof r=="string"?r.charCodeAt(0):r;return u>=97&&u<=122||u>=65&&u<=90}},21127:function(x,c,r){"use strict";var u=r(91241),y=r(22347);x.exports=v;function v(b){return u(b)||y(b)}},22347:function(x){"use strict";x.exports=c;function c(r){var u=typeof r=="string"?r.charCodeAt(0):r;return u>=48&&u<=57}},65207:function(x){"use strict";x.exports=c;function c(r){var u=typeof r=="string"?r.charCodeAt(0):r;return u>=97&&u<=102||u>=65&&u<=70||u>=48&&u<=57}},24334:function(x,c,r){var u,y;(function(v,b){x.exports=b(v)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof r.g!="undefined"?r.g:this,function(v){"use strict";v=v||{};var b=v.Base64,k="2.6.4",f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R=function(ne){for(var ge={},Le=0,Re=ne.length;Le<Re;Le++)ge[ne.charAt(Le)]=Le;return ge}(f),z=String.fromCharCode,D=function(ne){if(ne.length<2){var ge=ne.charCodeAt(0);return ge<128?ne:ge<2048?z(192|ge>>>6)+z(128|ge&63):z(224|ge>>>12&15)+z(128|ge>>>6&63)+z(128|ge&63)}else{var ge=65536+(ne.charCodeAt(0)-55296)*1024+(ne.charCodeAt(1)-56320);return z(240|ge>>>18&7)+z(128|ge>>>12&63)+z(128|ge>>>6&63)+z(128|ge&63)}},I=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(ne){return ne.replace(I,D)},G=function(ne){var ge=[0,2,1][ne.length%3],Le=ne.charCodeAt(0)<<16|(ne.length>1?ne.charCodeAt(1):0)<<8|(ne.length>2?ne.charCodeAt(2):0),Re=[f.charAt(Le>>>18),f.charAt(Le>>>12&63),ge>=2?"=":f.charAt(Le>>>6&63),ge>=1?"=":f.charAt(Le&63)];return Re.join("")},be=v.btoa&&typeof v.btoa=="function"?function(ne){return v.btoa(ne)}:function(ne){if(ne.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ne.replace(/[\s\S]{1,3}/g,G)},ce=function(ne){return be(ae(String(ne)))},ue=function(ne){return ne.replace(/[+\/]/g,function(ge){return ge=="+"?"-":"_"}).replace(/=/g,"")},te=function(ne,ge){return ge?ue(ce(ne)):ce(ne)},X=function(ne){return te(ne,!0)},q;v.Uint8Array&&(q=function(ne,ge){for(var Le="",Re=0,Ie=ne.length;Re<Ie;Re+=3){var He=ne[Re],oe=ne[Re+1],F=ne[Re+2],L=He<<16|oe<<8|F;Le+=f.charAt(L>>>18)+f.charAt(L>>>12&63)+(typeof oe!="undefined"?f.charAt(L>>>6&63):"=")+(typeof F!="undefined"?f.charAt(L&63):"=")}return ge?ue(Le):Le});var Z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,j=function(ne){switch(ne.length){case 4:var ge=(7&ne.charCodeAt(0))<<18|(63&ne.charCodeAt(1))<<12|(63&ne.charCodeAt(2))<<6|63&ne.charCodeAt(3),Le=ge-65536;return z((Le>>>10)+55296)+z((Le&1023)+56320);case 3:return z((15&ne.charCodeAt(0))<<12|(63&ne.charCodeAt(1))<<6|63&ne.charCodeAt(2));default:return z((31&ne.charCodeAt(0))<<6|63&ne.charCodeAt(1))}},P=function(ne){return ne.replace(Z,j)},U=function(ne){var ge=ne.length,Le=ge%4,Re=(ge>0?R[ne.charAt(0)]<<18:0)|(ge>1?R[ne.charAt(1)]<<12:0)|(ge>2?R[ne.charAt(2)]<<6:0)|(ge>3?R[ne.charAt(3)]:0),Ie=[z(Re>>>16),z(Re>>>8&255),z(Re&255)];return Ie.length-=[0,0,2,1][Le],Ie.join("")},_=v.atob&&typeof v.atob=="function"?function(ne){return v.atob(ne)}:function(ne){return ne.replace(/\S{1,4}/g,U)},J=function(ne){return _(String(ne).replace(/[^A-Za-z0-9\+\/]/g,""))},de=function(ne){return P(_(ne))},H=function(ne){return String(ne).replace(/[-_]/g,function(ge){return ge=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},fe=function(ne){return de(H(ne))},re;v.Uint8Array&&(re=function(ne){return Uint8Array.from(J(H(ne)),function(ge){return ge.charCodeAt(0)})});var V=function(){var ne=v.Base64;return v.Base64=b,ne};if(v.Base64={VERSION:k,atob:J,btoa:be,fromBase64:fe,toBase64:te,utob:ae,encode:te,encodeURI:X,btou:P,decode:fe,noConflict:V,fromUint8Array:q,toUint8Array:re},typeof Object.defineProperty=="function"){var le=function(ne){return{value:ne,enumerable:!1,writable:!0,configurable:!0}};v.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",le(function(){return fe(this)})),Object.defineProperty(String.prototype,"toBase64",le(function(ne){return te(this,ne)})),Object.defineProperty(String.prototype,"toBase64URI",le(function(){return te(this,!0)}))}}return v.Meteor&&(Base64=v.Base64),x.exports?x.exports.Base64=v.Base64:(u=[],y=function(){return v.Base64}.apply(c,u),y!==void 0&&(x.exports=y)),{Base64:v.Base64}})},2859:function(x,c,r){"use strict";r.d(c,{hP:function(){return St}});var u=function(A,p){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,T){d.__proto__=T}||function(d,T){for(var O in T)Object.prototype.hasOwnProperty.call(T,O)&&(d[O]=T[O])})(A,p)};function y(A,p){function d(){this.constructor=A}u(A,p),A.prototype=p===null?Object.create(p):(d.prototype=p.prototype,new d)}function v(A,p,d,T){return new(d||(d=Promise))(function(O,g){function M(nt){try{tt(T.next(nt))}catch(Ee){g(Ee)}}function xe(nt){try{tt(T.throw(nt))}catch(Ee){g(Ee)}}function tt(nt){var Ee;nt.done?O(nt.value):(Ee=nt.value,Ee instanceof d?Ee:new d(function(Be){Be(Ee)})).then(M,xe)}tt((T=T.apply(A,p||[])).next())})}function b(A,p){var d,T,O,g,M={label:0,sent:function(){if(1&O[0])throw O[1];return O[1]},trys:[],ops:[]};return g={next:xe(0),throw:xe(1),return:xe(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function xe(tt){return function(nt){return function(Ee){if(d)throw new TypeError("Generator is already executing.");for(;M;)try{if(d=1,T&&(O=2&Ee[0]?T.return:Ee[0]?T.throw||((O=T.return)&&O.call(T),0):T.next)&&!(O=O.call(T,Ee[1])).done)return O;switch(T=0,O&&(Ee=[2&Ee[0],O.value]),Ee[0]){case 0:case 1:O=Ee;break;case 4:return M.label++,{value:Ee[1],done:!1};case 5:M.label++,T=Ee[1],Ee=[0];continue;case 7:Ee=M.ops.pop(),M.trys.pop();continue;default:if(O=M.trys,!((O=O.length>0&&O[O.length-1])||Ee[0]!==6&&Ee[0]!==2)){M=0;continue}if(Ee[0]===3&&(!O||Ee[1]>O[0]&&Ee[1]<O[3])){M.label=Ee[1];break}if(Ee[0]===6&&M.label<O[1]){M.label=O[1],O=Ee;break}if(O&&M.label<O[2]){M.label=O[2],M.ops.push(Ee);break}O[2]&&M.ops.pop(),M.trys.pop();continue}Ee=p.call(A,M)}catch(Be){Ee=[6,Be],T=0}finally{d=O=0}if(5&Ee[0])throw Ee[1];return{value:Ee[0]?Ee[1]:void 0,done:!0}}([tt,nt])}}}function k(){for(var A=0,p=0,d=arguments.length;p<d;p++)A+=arguments[p].length;var T=Array(A),O=0;for(p=0;p<d;p++)for(var g=arguments[p],M=0,xe=g.length;M<xe;M++,O++)T[O]=g[M];return T}var f=function(){function A(){}return A.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},A.setAttributes=function(p,d){for(var T=0,O=d;T<O.length;T++){var g=O[T],M=g[0],xe=g[1];p.setAttribute(M,xe)}},A.createRect=function(p,d,T){var O=document.createElementNS("http://www.w3.org/2000/svg","rect");return O.setAttribute("width",p.toString()),O.setAttribute("height",d.toString()),T&&A.setAttributes(O,T),O},A.createLine=function(p,d,T,O,g){var M=document.createElementNS("http://www.w3.org/2000/svg","line");return M.setAttribute("x1",p.toString()),M.setAttribute("y1",d.toString()),M.setAttribute("x2",T.toString()),M.setAttribute("y2",O.toString()),g&&A.setAttributes(M,g),M},A.createPolygon=function(p,d){var T=document.createElementNS("http://www.w3.org/2000/svg","polygon");return T.setAttribute("points",p),d&&A.setAttributes(T,d),T},A.createCircle=function(p,d){var T=document.createElementNS("http://www.w3.org/2000/svg","circle");return T.setAttribute("cx",(p/2).toString()),T.setAttribute("cy",(p/2).toString()),T.setAttribute("r",p.toString()),d&&A.setAttributes(T,d),T},A.createEllipse=function(p,d,T){var O=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return O.setAttribute("cx",(p/2).toString()),O.setAttribute("cy",(d/2).toString()),O.setAttribute("rx",(p/2).toString()),O.setAttribute("ry",(d/2).toString()),T&&A.setAttributes(O,T),O},A.createGroup=function(p){var d=document.createElementNS("http://www.w3.org/2000/svg","g");return p&&A.setAttributes(d,p),d},A.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},A.createMarker=function(p,d,T,O,g,M,xe){var tt=document.createElementNS("http://www.w3.org/2000/svg","marker");return A.setAttributes(tt,[["id",p],["orient",d],["markerWidth",T.toString()],["markerHeight",O.toString()],["refX",g.toString()],["refY",M.toString()]]),tt.appendChild(xe),tt},A.createText=function(p){var d=document.createElementNS("http://www.w3.org/2000/svg","text");return d.setAttribute("x","0"),d.setAttribute("y","0"),p&&A.setAttributes(d,p),d},A.createTSpan=function(p,d){var T=document.createElementNS("http://www.w3.org/2000/svg","tspan");return T.textContent=p,d&&A.setAttributes(T,d),T},A.createImage=function(p){var d=document.createElementNS("http://www.w3.org/2000/svg","image");return p&&A.setAttributes(d,p),d},A.createPoint=function(p,d){var T=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return T.x=p,T.y=d,T},A.createPath=function(p,d){var T=document.createElementNS("http://www.w3.org/2000/svg","path");return T.setAttribute("d",p),d&&A.setAttributes(T,d),T},A}(),R=function(){function A(){}return A.addKey=function(p){A.key=p},Object.defineProperty(A,"isLicensed",{get:function(){return!!A.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(A.key)},enumerable:!1,configurable:!0}),A}(),z=function(){function A(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return A.prototype.rasterize=function(p,d,T){var O=this;return new Promise(function(g){var M=T!==void 0?T:document.createElement("canvas");p===null&&(O.markersOnly=!0,O.naturalSize=!1);var xe=document.createElementNS("http://www.w3.org/2000/svg","svg");xe.setAttribute("xmlns","http://www.w3.org/2000/svg"),xe.setAttribute("width",d.width.baseVal.valueAsString),xe.setAttribute("height",d.height.baseVal.valueAsString),xe.setAttribute("viewBox","0 0 "+d.viewBox.baseVal.width.toString()+" "+d.viewBox.baseVal.height.toString()),xe.innerHTML=d.innerHTML,O.naturalSize===!0?(xe.width.baseVal.value=p.naturalWidth,xe.height.baseVal.value=p.naturalHeight):O.width!==void 0&&O.height!==void 0&&(xe.width.baseVal.value=O.width,xe.height.baseVal.value=O.height),M.width=xe.width.baseVal.value,M.height=xe.height.baseVal.value;var tt=xe.outerHTML,nt=M.getContext("2d");O.markersOnly!==!0&&nt.drawImage(p,0,0,M.width,M.height);var Ee=window.URL,Be=new Image(M.width,M.height);Be.setAttribute("crossOrigin","anonymous");var Oe=new Blob([tt],{type:"image/svg+xml"}),qe=Ee.createObjectURL(Oe);Be.onload=function(){nt.drawImage(Be,0,0),Ee.revokeObjectURL(qe);var lt=M.toDataURL(O.imageType,O.imageQuality);g(lt)},Be.src=qe})},A}(),D=function(){},I=function(){function A(p){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+p+"_"}return Object.defineProperty(A.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),A.prototype.addClass=function(p){return this.styleSheet===void 0&&this.addStyleSheet(),p.name=""+this.classNamePrefix+p.localName,this.classes.push(p),this.styleSheet.sheet.insertRule("."+p.name+" {"+p.style+"}",this.styleSheet.sheet.cssRules.length),p},A.prototype.addRule=function(p){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(p),this.styleSheet.sheet.insertRule(p.selector+" {"+p.style+"}",this.styleSheet.sheet.cssRules.length)},A.prototype.addStyleSheet=function(){var p;this.styleSheet=document.createElement("style"),((p=this.styleSheetRoot)!==null&&p!==void 0?p:document.head).appendChild(this.styleSheet),this.addRule(new ae("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new ae("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new ae("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new G("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new G("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},A.prototype.removeStyleSheet=function(){var p;this.styleSheet&&(((p=this.styleSheetRoot)!==null&&p!==void 0?p:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},A}(),ae=function(A,p){this.selector=A,this.style=p},G=function(A,p){this.localName=A,this.style=p},be=function(){function A(p,d,T,O,g){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=p,this.displayMode=d,this.markerItems=T,this.uiStyleSettings=O,this.styles=g,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return A.prototype.show=function(p){var d=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=p,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var T=document.createElement("div");T.className=this.toolbarBlockStyleClass.name,T.style.whiteSpace="nowrap",this.uiContainer.appendChild(T),this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(T,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(g){var M=document.createElement("div");M.className=""+d.toolbarButtonStyleClass.name,M.setAttribute("data-type-name",g.typeName),M.innerHTML=g.icon,M.addEventListener("click",function(){d.markerToolbarButtonClicked(M,g)}),d.buttons.push(M),d.markerButtons.push(M)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var O=document.createElement("div");O.className=this.toolbarBlockStyleClass.name,O.style.whiteSpace="nowrap",O.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(O),this.addActionButton(O,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(O,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},A.prototype.addButtonClickListener=function(p){this.buttonClickListeners.push(p)},A.prototype.removeButtonClickListener=function(p){this.buttonClickListeners.indexOf(p)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(p),1)},A.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},A.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var p=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var d=0;d<this.markerButtons.length;d++)d<p||d===p&&this.markerButtons.length-1===p?this.markerButtonBlock.appendChild(this.markerButtons[d]):(d===p&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[d]))}},A.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},A.prototype.resetButtonStyles=function(){var p=this;this.buttons.forEach(function(d){d.className=d.className.replace(p.uiStyleSettings.toolbarButtonStyleColorsClassName?p.uiStyleSettings.toolbarButtonStyleColorsClassName:p.toolbarButtonStyleColorsClass.name,"").trim(),d.className=d.className.replace(p.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?p.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:p.toolbarActiveButtonStyleColorsClass.name,"").trim(),d.className+=" "+(p.uiStyleSettings.toolbarButtonStyleColorsClassName?p.uiStyleSettings.toolbarButtonStyleColorsClassName:p.toolbarButtonStyleColorsClass.name)})},A.prototype.addActionButton=function(p,d,T){var O=this,g=document.createElement("div");switch(g.className=""+this.toolbarButtonStyleClass.name,g.innerHTML=d,g.setAttribute("data-action",T),g.addEventListener("click",function(){O.actionToolbarButtonClicked(g,T)}),T){case"select":g.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":g.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":g.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":g.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":g.style.fill=this.uiStyleSettings.closeButtonColor}p.appendChild(g),this.buttons.push(g)},A.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new G("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new G("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new G("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new G("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new G("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var p=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new G("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*p)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*p)+`px;
padding: `+p+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new G("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new G("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ae("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new ae("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},A.prototype.markerToolbarButtonClicked=function(p,d){this.setActiveButton(p),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(T){return T("marker",d)}),this.markerButtonOverflowBlock.style.display="none"},A.prototype.actionToolbarButtonClicked=function(p,d){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(T){return T("action",d)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},A.prototype.setActiveButton=function(p){this.resetButtonStyles(),p.className=p.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),p.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},A.prototype.setActiveMarkerButton=function(p){var d=this.markerButtons.find(function(T){return T.getAttribute("data-type-name")===p});d&&this.setActiveButton(d)},A.prototype.setCurrentMarker=function(p){var d=this;this.currentMarker=p,this.buttons.filter(function(T){return/delete|notes/.test(T.getAttribute("data-action"))}).forEach(function(T){d.currentMarker===void 0?(T.style.fillOpacity="0.4",T.style.pointerEvents="none"):(T.style.fillOpacity="1",T.style.pointerEvents="all")})},A}(),ce=function(){function A(p,d,T,O){this.panels=[],this.panelButtons=[],this.markerjsContainer=p,this.displayMode=d,this.uiStyleSettings=T,this.styles=O,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return A.prototype.addStyles=function(){var p;this.toolboxStyleClass=this.styles.addClass(new G("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new G("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var d=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new G("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new G("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new G("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new G("toolbox-panel-row_colors",`
background-color: `+((p=this.uiStyleSettings.toolboxBackgroundColor)!==null&&p!==void 0?p:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new G("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*d)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*d)+`px;
padding: `+d+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new G("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new G("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new ae("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ae("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},A.prototype.show=function(p){var d;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=p,this.uiContainer.className=this.toolboxStyleClass.name+" "+((d=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&d!==void 0?d:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},A.prototype.setPanelButtons=function(p){var d,T,O=this;this.panels=p,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((d=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&d!==void 0?d:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((T=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&T!==void 0?T:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(g){var M;g.uiStyleSettings=O.uiStyleSettings;var xe=document.createElement("div");xe.className=O.toolboxButtonStyleClass.name+" "+((M=O.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&M!==void 0?M:O.toolboxButtonStyleColorsClass.name),xe.innerHTML=g.icon,xe.title=g.title,xe.addEventListener("click",function(){O.panelButtonClick(g)}),O.panelButtons.push(xe),O.buttonRow.appendChild(xe)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},A.prototype.panelButtonClick=function(p){var d=this,T=-1;if(p!==this.activePanel){T=this.panels.indexOf(p),this.panelRow.innerHTML="";var O=p.getUi();O.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(O),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=p}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){d.displayMode==="inline"?d.panelRow.style.display="none":d.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(g,M){var xe,tt;g.className=d.toolboxButtonStyleClass.name+" "+(M===T?""+((xe=d.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&xe!==void 0?xe:d.toolboxActiveButtonStyleColorsClass.name):""+((tt=d.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&tt!==void 0?tt:d.toolboxButtonStyleColorsClass.name))})},A}(),ue=function(A,p){this.title=A,this.icon=p},te=function(A){function p(d,T,O,g){var M=A.call(this,d,g||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return M.colors=[],M.addTransparent=!1,M.colorBoxes=[],M.colors=T,M.currentColor=O,M.setCurrentColor=M.setCurrentColor.bind(M),M.getColorBox=M.getColorBox.bind(M),M}return y(p,A),p.prototype.getUi=function(){var d=this,T=document.createElement("div");return T.style.overflow="hidden",T.style.whiteSpace="nowrap",this.colors.forEach(function(O){var g=d.getColorBox(O);T.appendChild(g),d.colorBoxes.push(g)}),T},p.prototype.getColorBox=function(d){var T=this,O=this.uiStyleSettings.toolbarHeight/4,g=this.uiStyleSettings.toolbarHeight-O,M=document.createElement("div");M.style.display="inline-block",M.style.boxSizing="content-box",M.style.width=g-2+"px",M.style.height=g-2+"px",M.style.padding="1px",M.style.marginRight="2px",M.style.marginBottom="2px",M.style.borderWidth="2px",M.style.borderStyle="solid",M.style.borderRadius=(g+2)/2+"px",M.style.borderColor=d===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",M.addEventListener("click",function(){T.setCurrentColor(d,M)});var xe=document.createElement("div");return xe.style.display="inline-block",xe.style.width=g-2+"px",xe.style.height=g-2+"px",xe.style.backgroundColor=d,xe.style.borderRadius=g/2+"px",d==="transparent"&&(xe.style.fill=this.uiStyleSettings.toolboxAccentColor,xe.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),M.appendChild(xe),M},p.prototype.setCurrentColor=function(d,T){var O=this;this.currentColor=d,this.colorBoxes.forEach(function(g){g.style.borderColor=g===T?O.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(d)},p}(ue),X=function(){function A(p,d,T){this._state="new",this._isSelected=!1,this._container=p,this._overlayContainer=d,this.globalSettings=T,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(A.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),A.prototype.ownsTarget=function(p){return!1},Object.defineProperty(A.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),A.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},A.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},A.prototype.pointerDown=function(p,d){},A.prototype.dblClick=function(p,d){},A.prototype.manipulate=function(p){},A.prototype.pointerUp=function(p){this.stateChanged()},A.prototype.dispose=function(){},A.prototype.addMarkerVisualToContainer=function(p){this.container.childNodes.length>0?this.container.insertBefore(p,this.container.childNodes[0]):this.container.appendChild(p)},A.prototype.getState=function(){return{typeName:A.typeName,state:this.state,notes:this.notes}},A.prototype.restoreState=function(p){this._state=p.state,this.notes=p.notes},A.prototype.scale=function(p,d){},A.prototype.colorChanged=function(p){this.onColorChanged&&this.onColorChanged(p),this.stateChanged()},A.prototype.fillColorChanged=function(p){this.onFillColorChanged&&this.onFillColorChanged(p),this.stateChanged()},A.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var p=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),p.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(p)&&this.onStateChanged(this)}},A.typeName="MarkerBase",A}(),q=function(){function A(){this.findGripByVisual=this.findGripByVisual.bind(this)}return A.prototype.findGripByVisual=function(p){return this.topLeft.ownsTarget(p)?this.topLeft:this.topCenter.ownsTarget(p)?this.topCenter:this.topRight.ownsTarget(p)?this.topRight:this.centerLeft.ownsTarget(p)?this.centerLeft:this.centerRight.ownsTarget(p)?this.centerRight:this.bottomLeft.ownsTarget(p)?this.bottomLeft:this.bottomCenter.ownsTarget(p)?this.bottomCenter:this.bottomRight.ownsTarget(p)?this.bottomRight:void 0},A}(),Z=function(){function A(){this.GRIP_SIZE=10,this.visual=f.createGroup(),this.visual.appendChild(f.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(f.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return A.prototype.ownsTarget=function(p){return p===this.visual||p===this.visual.childNodes[0]||p===this.visual.childNodes[1]},A}(),j=function(){function A(){}return A.toITransformMatrix=function(p){return{a:p.a,b:p.b,c:p.c,d:p.d,e:p.e,f:p.f}},A.toSVGMatrix=function(p,d){return p.a=d.a,p.b=d.b,p.c=d.c,p.d=d.d,p.e=d.e,p.f=d.f,p},A}(),P=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.left=0,g.top=0,g.width=0,g.height=0,g.defaultSize={x:50,y:20},g.offsetX=0,g.offsetY=0,g.rotationAngle=0,g.CB_DISTANCE=10,g._suppressMarkerCreateEvent=!1,g.container.transform.baseVal.appendItem(f.createTransform()),g.setupControlBox(),g}return y(p,A),Object.defineProperty(p.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"visual",{get:function(){return this._visual},set:function(d){this._visual=d;var T=f.createTransform();this._visual.transform.baseVal.appendItem(T)},enumerable:!1,configurable:!0}),p.prototype.ownsTarget=function(d){return!!A.prototype.ownsTarget.call(this,d)||!!(this.controlGrips.findGripByVisual(d)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(d))},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.state==="new"&&(this.left=d.x,this.top=d.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var O=this.unrotatePoint(d);if(this.manipulationStartX=O.x,this.manipulationStartY=O.y,this.offsetX=O.x-this.left,this.offsetY=O.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(T),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(T)){this.activeGrip=this.rotatorGrip;var g=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=g.x-this.width/2,this.top=g.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var M=this.container.transform.baseVal.getItem(0);M.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(M,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},p.prototype.pointerUp=function(d){var T=this.state;A.prototype.pointerUp.call(this,d),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(d),this._state="select",T==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},p.prototype.moveVisual=function(d){this.visual.style.transform="translate("+d.x+"px, "+d.y+"px)"},p.prototype.manipulate=function(d){var T=this.unrotatePoint(d);this.state==="creating"?this.resize(d):this.state==="move"?(this.left=this.manipulationStartLeft+(T.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(T.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(T):this.state==="rotate"&&this.rotate(d)},p.prototype.resize=function(d){var T=this.manipulationStartLeft,O=this.manipulationStartWidth,g=this.manipulationStartTop,M=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:T=this.manipulationStartLeft+d.x-this.manipulationStartX,O=this.manipulationStartWidth+this.manipulationStartLeft-T;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:O=this.manipulationStartWidth+d.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:g=this.manipulationStartTop+d.y-this.manipulationStartY,M=this.manipulationStartHeight+this.manipulationStartTop-g;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:M=this.manipulationStartHeight+d.y-this.manipulationStartY}O>=0?(this.left=T,this.width=O):(this.left=T+O,this.width=-O),M>=0?(this.top=g,this.height=M):(this.top=g+M,this.height=-M),this.setSize()},p.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},p.prototype.rotate=function(d){if(Math.abs(d.x-this.centerX)>.1){var T=Math.sign(d.x-this.centerX);this.rotationAngle=180*Math.atan((d.y-this.centerY)/(d.x-this.centerX))/Math.PI+90*T,this.applyRotation()}},p.prototype.applyRotation=function(){var d=this.container.transform.baseVal.getItem(0);d.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(d,0)},p.prototype.rotatePoint=function(d){if(this.rotationAngle===0)return d;var T=this.container.getCTM(),O=f.createPoint(d.x,d.y);return{x:(O=O.matrixTransform(T)).x,y:O.y}},p.prototype.unrotatePoint=function(d){if(this.rotationAngle===0)return d;var T=this.container.getCTM();T=T.inverse();var O=f.createPoint(d.x,d.y);return{x:(O=O.matrixTransform(T)).x,y:O.y}},p.prototype.select=function(){A.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},p.prototype.deselect=function(){A.prototype.deselect.call(this),this.controlBox.style.display="none"},p.prototype.setupControlBox=function(){this.controlBox=f.createGroup();var d=f.createTransform();d.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(d),this.container.appendChild(this.controlBox),this.controlRect=f.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=f.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new q,this.addControlGrips(),this.controlBox.style.display="none"},p.prototype.adjustControlBox=function(){var d=this.controlBox.transform.baseVal.getItem(0);d.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(d,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},p.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},p.prototype.createGrip=function(){var d=new Z;return d.visual.transform.baseVal.appendItem(f.createTransform()),this.controlBox.appendChild(d.visual),d},p.prototype.positionGrips=function(){var d=this.controlGrips.topLeft.GRIP_SIZE,T=-d/2,O=T,g=(this.width+this.CB_DISTANCE)/2-d/2,M=(this.height+this.CB_DISTANCE)/2-d/2,xe=this.height+this.CB_DISTANCE-d/2,tt=this.width+this.CB_DISTANCE-d/2;this.positionGrip(this.controlGrips.topLeft.visual,T,O),this.positionGrip(this.controlGrips.topCenter.visual,g,O),this.positionGrip(this.controlGrips.topRight.visual,tt,O),this.positionGrip(this.controlGrips.centerLeft.visual,T,M),this.positionGrip(this.controlGrips.centerRight.visual,tt,M),this.positionGrip(this.controlGrips.bottomLeft.visual,T,xe),this.positionGrip(this.controlGrips.bottomCenter.visual,g,xe),this.positionGrip(this.controlGrips.bottomRight.visual,tt,xe),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,g,O-3*this.CB_DISTANCE)},p.prototype.positionGrip=function(d,T,O){var g=d.transform.baseVal.getItem(0);g.setTranslate(T,O),d.transform.baseVal.replaceItem(g,0)},p.prototype.hideControlBox=function(){this.controlBox.style.display="none"},p.prototype.showControlBox=function(){this.controlBox.style.display=""},p.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:j.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:j.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},A.prototype.getState.call(this))},p.prototype.restoreState=function(d){A.prototype.restoreState.call(this,d);var T=d;this.left=T.left,this.top=T.top,this.width=T.width,this.height=T.height,this.rotationAngle=T.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(j.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,T.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(j.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,T.containerTransformMatrix))},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T);var O=this.rotatePoint({x:this.left,y:this.top}),g=this.unrotatePoint({x:O.x*d,y:O.y*T});this.left=g.x,this.top=g.y,this.width=this.width*d,this.height=this.height*T,this.adjustControlBox()},p}(X),U=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.fillColor="transparent",g.strokeColor="transparent",g.strokeWidth=0,g.strokeDasharray="",g.opacity=1,g.setStrokeColor=g.setStrokeColor.bind(g),g.setFillColor=g.setFillColor.bind(g),g.setStrokeWidth=g.setStrokeWidth.bind(g),g.setStrokeDasharray=g.setStrokeDasharray.bind(g),g.createVisual=g.createVisual.bind(g),g}return y(p,A),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.visual)},p.prototype.createVisual=function(){this.visual=f.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.state==="new"&&(this.createVisual(),this.moveVisual(d),this._state="creating")},p.prototype.manipulate=function(d){A.prototype.manipulate.call(this,d)},p.prototype.resize=function(d){A.prototype.resize.call(this,d),this.setSize()},p.prototype.setSize=function(){A.prototype.setSize.call(this),f.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},p.prototype.pointerUp=function(d){A.prototype.pointerUp.call(this,d),this.setSize()},p.prototype.setStrokeColor=function(d){this.strokeColor=d,this.visual&&f.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(d),this.stateChanged()},p.prototype.setFillColor=function(d){this.fillColor=d,this.visual&&f.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},p.prototype.setStrokeWidth=function(d){this.strokeWidth=d,this.visual&&f.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},p.prototype.setStrokeDasharray=function(d){this.strokeDasharray=d,this.visual&&f.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},p.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},A.prototype.getState.call(this))},p.prototype.restoreState=function(d){var T=d;this.fillColor=T.fillColor,this.strokeColor=T.strokeColor,this.strokeWidth=T.strokeWidth,this.strokeDasharray=T.strokeDasharray,this.opacity=T.opacity,this.createVisual(),A.prototype.restoreState.call(this,d),this.setSize()},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T),this.setSize()},p.title="Rectangle marker",p}(P),_=function(A){function p(d,T,O,g){var M=A.call(this,d,g||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return M.widths=[],M.widthBoxes=[],M.widths=T,M.currentWidth=O,M.setCurrentWidth=M.setCurrentWidth.bind(M),M}return y(p,A),p.prototype.getUi=function(){var d=this,T=document.createElement("div");return T.style.display="flex",T.style.overflow="hidden",T.style.flexGrow="2",this.widths.forEach(function(O){var g=document.createElement("div");g.style.display="flex",g.style.flexGrow="2",g.style.alignItems="center",g.style.justifyContent="space-between",g.style.padding="5px",g.style.borderWidth="2px",g.style.borderStyle="solid",g.style.borderColor=O===d.currentWidth?d.uiStyleSettings.toolboxAccentColor:"transparent",g.addEventListener("click",function(){d.setCurrentWidth(O,g)}),T.appendChild(g);var M=document.createElement("div");M.innerText=O.toString(),M.style.marginRight="5px",g.appendChild(M);var xe=document.createElement("div");xe.style.minHeight="20px",xe.style.flexGrow="2",xe.style.display="flex",xe.style.alignItems="center";var tt=document.createElement("hr");tt.style.minWidth="20px",tt.style.border="0px",tt.style.borderTop=O+"px solid "+d.uiStyleSettings.toolboxColor,tt.style.flexGrow="2",xe.appendChild(tt),g.appendChild(xe),d.widthBoxes.push(g)}),T},p.prototype.setCurrentWidth=function(d,T){var O=this;this.currentWidth=d,this.widthBoxes.forEach(function(g){g.style.borderColor=g===T?O.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},p}(ue),J=function(A){function p(d,T,O,g){var M=A.call(this,d,g||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return M.styles=[],M.styleBoxes=[],M.styles=T,M.currentStyle=O,M.setCurrentStyle=M.setCurrentStyle.bind(M),M}return y(p,A),p.prototype.getUi=function(){var d=this,T=document.createElement("div");return T.style.display="flex",T.style.overflow="hidden",T.style.flexGrow="2",this.styles.forEach(function(O){var g=document.createElement("div");g.style.display="flex",g.style.alignItems="center",g.style.justifyContent="space-between",g.style.padding="5px",g.style.borderWidth="2px",g.style.borderStyle="solid",g.style.overflow="hidden",g.style.maxWidth=100/d.styles.length-5+"%",g.style.borderColor=O===d.currentStyle?d.uiStyleSettings.toolboxAccentColor:"transparent",g.addEventListener("click",function(){d.setCurrentStyle(O,g)}),T.appendChild(g);var M=document.createElement("div");M.style.minHeight="20px",M.style.flexGrow="2",M.style.overflow="hidden";var xe=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+d.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(O!==""?'stroke-dasharray="'+O+'"':"")+` />
</svg>`;M.innerHTML=xe,g.appendChild(M),d.styleBoxes.push(g)}),T},p.prototype.setCurrentStyle=function(d,T){var O=this;this.currentStyle=d,this.styleBoxes.forEach(function(g){g.style.borderColor=g===T?O.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},p}(ue),de=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.strokeColor=O.defaultColor,g.strokeWidth=O.defaultStrokeWidth,g.strokeDasharray=O.defaultStrokeDasharray,g.strokePanel=new te("Line color",O.defaultColorSet,O.defaultColor),g.strokePanel.onColorChanged=g.setStrokeColor,g.strokeWidthPanel=new _("Line width",O.defaultStrokeWidths,O.defaultStrokeWidth),g.strokeWidthPanel.onWidthChanged=g.setStrokeWidth,g.strokeStylePanel=new J("Line style",O.defaultStrokeDasharrays,O.defaultStrokeDasharray),g.strokeStylePanel.onStyleChanged=g.setStrokeDasharray,g}return y(p,A),Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=A.prototype.getState.call(this);return d.typeName=p.typeName,d},p.typeName="FrameMarker",p.title="Frame marker",p.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',p}(U),H=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},fe=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.x1=0,g.y1=0,g.x2=0,g.y2=0,g.defaultLength=50,g.manipulationStartX=0,g.manipulationStartY=0,g.manipulationStartX1=0,g.manipulationStartY1=0,g.manipulationStartX2=0,g.manipulationStartY2=0,g.setupControlBox(),g}return y(p,A),p.prototype.ownsTarget=function(d){return!!A.prototype.ownsTarget.call(this,d)||!(!this.grip1.ownsTarget(d)&&!this.grip2.ownsTarget(d))},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.manipulationStartX=d.x,this.manipulationStartY=d.y,this.state==="new"&&(this.x1=d.x,this.y1=d.y,this.x2=d.x,this.y2=d.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(T)?this.activeGrip=this.grip1:this.grip2.ownsTarget(T)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},p.prototype.pointerUp=function(d){var T=this.state;A.prototype.pointerUp.call(this,d),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(d),this._state="select",T==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},p.prototype.adjustVisual=function(){},p.prototype.manipulate=function(d){this.state==="creating"?this.resize(d):this.state==="move"?(this.x1=this.manipulationStartX1+d.x-this.manipulationStartX,this.y1=this.manipulationStartY1+d.y-this.manipulationStartY,this.x2=this.manipulationStartX2+d.x-this.manipulationStartX,this.y2=this.manipulationStartY2+d.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(d)},p.prototype.resize=function(d){switch(this.activeGrip){case this.grip1:this.x1=d.x,this.y1=d.y;break;case this.grip2:case void 0:this.x2=d.x,this.y2=d.y}this.adjustVisual(),this.adjustControlBox()},p.prototype.select=function(){A.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},p.prototype.deselect=function(){A.prototype.deselect.call(this),this.controlBox.style.display="none"},p.prototype.setupControlBox=function(){this.controlBox=f.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},p.prototype.adjustControlBox=function(){this.positionGrips()},p.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},p.prototype.createGrip=function(){var d=new Z;return d.visual.transform.baseVal.appendItem(f.createTransform()),this.controlBox.appendChild(d.visual),d},p.prototype.positionGrips=function(){var d=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-d/2,this.y1-d/2),this.positionGrip(this.grip2.visual,this.x2-d/2,this.y2-d/2)},p.prototype.positionGrip=function(d,T,O){var g=d.transform.baseVal.getItem(0);g.setTranslate(T,O),d.transform.baseVal.replaceItem(g,0)},p.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},A.prototype.getState.call(this))},p.prototype.restoreState=function(d){A.prototype.restoreState.call(this,d);var T=d;this.x1=T.x1,this.y1=T.y1,this.x2=T.x2,this.y2=T.y2},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T),this.x1=this.x1*d,this.y1=this.y1*T,this.x2=this.x2*d,this.y2=this.y2*T,this.adjustVisual(),this.adjustControlBox()},p}(X),re=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.strokeColor="transparent",g.strokeWidth=0,g.strokeDasharray="",g.setStrokeColor=g.setStrokeColor.bind(g),g.setStrokeWidth=g.setStrokeWidth.bind(g),g.setStrokeDasharray=g.setStrokeDasharray.bind(g),g.strokeColor=O.defaultColor,g.strokeWidth=O.defaultStrokeWidth,g.strokeDasharray=O.defaultStrokeDasharray,g.strokePanel=new te("Line color",O.defaultColorSet,O.defaultColor),g.strokePanel.onColorChanged=g.setStrokeColor,g.strokeWidthPanel=new _("Line width",O.defaultStrokeWidths,O.defaultStrokeWidth),g.strokeWidthPanel.onWidthChanged=g.setStrokeWidth,g.strokeStylePanel=new J("Line style",O.defaultStrokeDasharrays,O.defaultStrokeDasharray),g.strokeStylePanel.onStyleChanged=g.setStrokeDasharray,g}return y(p,A),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.visual&&d!==this.selectorLine&&d!==this.visibleLine)},p.prototype.createVisual=function(){this.visual=f.createGroup(),this.selectorLine=f.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=f.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},p.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),f.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),f.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),f.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},p.prototype.setStrokeColor=function(d){this.strokeColor=d,this.adjustVisual(),this.colorChanged(d)},p.prototype.setStrokeWidth=function(d){this.strokeWidth=d,this.adjustVisual()},p.prototype.setStrokeDasharray=function(d){this.strokeDasharray=d,this.adjustVisual(),this.stateChanged()},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},A.prototype.getState.call(this));return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){A.prototype.restoreState.call(this,d);var T=d;this.strokeColor=T.strokeColor,this.strokeWidth=T.strokeWidth,this.strokeDasharray=T.strokeDasharray,this.createVisual(),this.adjustVisual()},p.typeName="LineMarker",p.title="Line marker",p.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',p}(fe),V=function(A){function p(d,T,O,g){var M=A.call(this,d,g||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return M.fonts=[],M.fontBoxes=[],M.fonts=T,M.currentFont=O,M.setCurrentFont=M.setCurrentFont.bind(M),M}return y(p,A),p.prototype.getUi=function(){var d=this,T=document.createElement("div");return T.style.overflow="hidden",T.style.flexGrow="2",this.fonts.forEach(function(O){var g=document.createElement("div");g.style.display="inline-block",g.style.alignItems="center",g.style.justifyContent="space-between",g.style.padding="5px",g.style.borderWidth="2px",g.style.borderStyle="solid",g.style.overflow="hidden",g.style.maxWidth=100/d.fonts.length-5+"%",g.style.borderColor=O===d.currentFont?d.uiStyleSettings.toolboxAccentColor:"transparent",g.addEventListener("click",function(){d.setCurrentFont(O,g)}),T.appendChild(g);var M=document.createElement("div");M.style.display="flex",M.style.minHeight="20px",M.style.flexGrow="2",M.style.fontFamily=O,M.style.overflow="hidden";var xe=document.createElement("div");xe.style.whiteSpace="nowrap",xe.style.overflow="hidden",xe.style.textOverflow="ellipsis",xe.innerHTML="The quick brown fox jumps over the lazy dog",M.appendChild(xe),g.appendChild(M),d.fontBoxes.push(g)}),T},p.prototype.setCurrentFont=function(d,T){var O=this;this.currentFont=d,this.fontBoxes.forEach(function(g){g.style.borderColor=g===T?O.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},p}(ue),le=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.color="transparent",g.padding=5,g.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",g.text=g.DEFAULT_TEXT,g.isMoved=!1,g.color=O.defaultColor,g.fontFamily=O.defaultFontFamily,g.defaultSize={x:100,y:30},g.setColor=g.setColor.bind(g),g.setFont=g.setFont.bind(g),g.renderText=g.renderText.bind(g),g.sizeText=g.sizeText.bind(g),g.textEditDivClicked=g.textEditDivClicked.bind(g),g.showTextEditor=g.showTextEditor.bind(g),g.setSize=g.setSize.bind(g),g.positionTextEditor=g.positionTextEditor.bind(g),g.colorPanel=new te("Color",O.defaultColorSet,O.defaultColor),g.colorPanel.onColorChanged=g.setColor,g.fontFamilyPanel=new V("Font",O.defaultFontFamilies,O.defaultFontFamily),g.fontFamilyPanel.onFontChanged=g.setFont,g}return y(p,A),p.prototype.ownsTarget=function(d){if(A.prototype.ownsTarget.call(this,d)||d===this.visual||d===this.textElement||d===this.bgRectangle)return!0;var T=!1;return this.textElement.childNodes.forEach(function(O){O===d&&(T=!0)}),T},p.prototype.createVisual=function(){this.visual=f.createGroup(),this.bgRectangle=f.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=f.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(f.createTransform()),this.textElement.transform.baseVal.appendItem(f.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.isMoved=!1,this.pointerDownPoint=d,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(d),this._state="creating")},p.prototype.renderText=function(){var d=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(T){d.textElement.appendChild(f.createTSpan(T.trim()===""?" ":T.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},p.prototype.getTextScale=function(){var d=this.textElement.getBBox(),T=1;if(d.width>0&&d.height>0){var O=(1*this.width-this.width*this.padding*2/100)/d.width,g=(1*this.height-this.height*this.padding*2/100)/d.height;T=Math.min(O,g)}return T},p.prototype.getTextPosition=function(d){var T=this.textElement.getBBox(),O=0,g=0;return T.width>0&&T.height>0&&(O=(this.width-T.width*d)/2,g=this.height/2-T.height*d/2),{x:O,y:g}},p.prototype.sizeText=function(){var d=this.textElement.getBBox(),T=this.getTextScale(),O=this.getTextPosition(T);O.y-=d.y*T,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+O.x+"px, "+O.y+"px) scale("+T+", "+T+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(O.x,O.y),this.textElement.transform.baseVal.getItem(1).setScale(T,T))},p.prototype.manipulate=function(d){A.prototype.manipulate.call(this,d),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(d.x-this.pointerDownPoint.x)>5||Math.abs(d.y-this.pointerDownPoint.y)>5)},p.prototype.resize=function(d){A.prototype.resize.call(this,d),this.isMoved=!0,this.setSize(),this.sizeText()},p.prototype.setSize=function(){A.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(f.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),f.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},p.prototype.pointerUp=function(d){var T=this.state;T==="creating"&&(this._suppressMarkerCreateEvent=!0),A.prototype.pointerUp.call(this,d),this.setSize(),(T==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},p.prototype.showTextEditor=function(){var d=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(T){T.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var T=Number.parseFloat(d.textEditor.style.fontSize);d.textEditor.clientWidth>=Number.parseInt(d.textEditor.style.maxWidth)&&T>.9;)T-=.1,d.textEditor.style.fontSize=Math.max(T,.9)+"em"}),this.textEditor.addEventListener("keyup",function(T){T.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(T){if(T.clipboardData){var O=T.clipboardData.getData("text"),g=window.getSelection();if(!g.rangeCount)return!1;g.deleteFromDocument(),g.getRangeAt(0).insertNode(document.createTextNode(O)),T.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){d.textEditDivClicked(d.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},p.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var d=this.getTextScale(),T=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),O=this.textElement.getBBox(),g={x:O.width*d,y:O.height*d};T.x-=g.x/2,T.y-=g.y/2,this.textEditor.style.top=T.y+"px",this.textEditor.style.left=T.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-T.x+"px",this.textEditor.style.fontSize=Math.max(16*d,12)+"px",this.textElement.style.display="none"}},p.prototype.textEditDivClicked=function(d){this.text=d.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},p.prototype.select=function(){A.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},p.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),A.prototype.deselect.call(this)},p.prototype.dblClick=function(d,T){A.prototype.dblClick.call(this,d,T),this.showTextEditor()},p.prototype.setColor=function(d){this.textElement&&f.setAttributes(this.textElement,[["fill",d]]),this.color=d,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(d)},p.prototype.setFont=function(d){this.textElement&&f.setAttributes(this.textElement,[["font-family",d]]),this.fontFamily=d,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},p.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},p.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},A.prototype.getState.call(this));return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){var T=d;this.color=T.color,this.fontFamily=T.fontFamily,this.padding=T.padding,this.text=T.text,this.createVisual(),A.prototype.restoreState.call(this,d),this.setSize()},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T),this.setSize(),this.sizeText(),this.positionTextEditor()},p.typeName="TextMarker",p.title="Text marker",p.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',p}(P),ne=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.color="transparent",g.lineWidth=3,g.drawing=!1,g.pixelRatio=1,g.color=O.defaultColor,g.lineWidth=O.defaultStrokeWidth,g.pixelRatio=O.freehandPixelRatio,g.setColor=g.setColor.bind(g),g.addCanvas=g.addCanvas.bind(g),g.finishCreation=g.finishCreation.bind(g),g.setLineWidth=g.setLineWidth.bind(g),g.colorPanel=new te("Color",O.defaultColorSet,O.defaultColor),g.colorPanel.onColorChanged=g.setColor,g.lineWidthPanel=new _("Line width",O.defaultStrokeWidths,O.defaultStrokeWidth),g.lineWidthPanel.onWidthChanged=g.setLineWidth,g}return y(p,A),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.visual&&d!==this.drawingImage)},p.prototype.createVisual=function(){this.visual=f.createGroup(),this.drawingImage=f.createImage(),this.visual.appendChild(this.drawingImage);var d=f.createTransform();this.visual.transform.baseVal.appendItem(d),this.addMarkerVisualToContainer(this.visual)},p.prototype.pointerDown=function(d,T){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(d.x,d.y),this.drawing=!0):A.prototype.pointerDown.call(this,d,T)},p.prototype.manipulate=function(d){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(d.x,d.y),this.canvasContext.stroke()):A.prototype.manipulate.call(this,d)},p.prototype.resize=function(d){A.prototype.resize.call(this,d),f.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),f.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},p.prototype.pointerUp=function(d){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):A.prototype.pointerUp.call(this,d)},p.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},p.prototype.select=function(){this.state==="creating"&&this.finishCreation(),A.prototype.select.call(this)},p.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),A.prototype.deselect.call(this)},p.prototype.finishCreation=function(){for(var d=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),T=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],O=T[0],g=T[1],M=T[2],xe=T[3],tt=!1,nt=0;nt<this.canvasElement.height;nt++)for(var Ee=0;Ee<this.canvasElement.width;Ee++)d.data[nt*this.canvasElement.width*4+4*Ee+3]>0&&(tt=!0,nt<g&&(g=nt),Ee<O&&(O=Ee),nt>xe&&(xe=nt),Ee>M&&(M=Ee));if(tt){this.left=O/this.pixelRatio,this.top=g/this.pixelRatio,this.width=(M-O)/this.pixelRatio,this.height=(xe-g)/this.pixelRatio;var Be=document.createElement("canvas");Be.width=M-O,Be.height=xe-g,Be.getContext("2d").putImageData(this.canvasContext.getImageData(O,g,M-O,xe-g),0,0),this.drawingImgUrl=Be.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},p.prototype.setDrawingImage=function(){f.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),f.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},p.prototype.setColor=function(d){this.color=d,this.colorChanged(d)},p.prototype.setLineWidth=function(d){this.lineWidth=d},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=Object.assign({drawingImgUrl:this.drawingImgUrl},A.prototype.getState.call(this));return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){this.createVisual(),A.prototype.restoreState.call(this,d),this.drawingImgUrl=d.drawingImgUrl,this.setDrawingImage()},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T),this.setDrawingImage()},p.typeName="FreehandMarker",p.title="Freehand marker",p.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',p}(P),ge=function(A){function p(d,T,O){var g=A.call(this,d,O||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return g.typeBoxes=[],g.currentType=T,g.setCurrentType=g.setCurrentType.bind(g),g}return y(p,A),p.prototype.getUi=function(){var d=this,T=document.createElement("div");T.style.display="flex",T.style.overflow="hidden",T.style.flexGrow="2";for(var O=function(xe){var tt="both";switch(xe){case 0:tt="both";break;case 1:tt="start";break;case 2:tt="end";break;case 3:tt="none"}var nt=document.createElement("div");if(nt.style.display="flex",nt.style.flexGrow="2",nt.style.alignItems="center",nt.style.justifyContent="space-between",nt.style.padding="5px",nt.style.borderWidth="2px",nt.style.borderStyle="solid",nt.style.borderColor=tt===g.currentType?g.uiStyleSettings.toolboxAccentColor:"transparent",nt.addEventListener("click",function(){d.setCurrentType(tt,nt)}),T.appendChild(nt),tt==="both"||tt==="start"){var Ee=document.createElement("div");Ee.style.display="flex",Ee.style.alignItems="center",Ee.style.minHeight="20px",Ee.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(g.uiStyleSettings!==void 0?g.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Ee.style.marginLeft="5px",nt.appendChild(Ee)}var Be=document.createElement("div");Be.style.display="flex",Be.style.alignItems="center",Be.style.minHeight="20px",Be.style.flexGrow="2";var Oe=document.createElement("hr");if(Oe.style.minWidth="20px",Oe.style.border="0px",Oe.style.borderTop="3px solid "+(g.uiStyleSettings!==void 0?g.uiStyleSettings.toolboxColor:"#eeeeee"),Oe.style.flexGrow="2",Be.appendChild(Oe),nt.appendChild(Be),tt==="both"||tt==="end"){var qe=document.createElement("div");qe.style.display="flex",qe.style.alignItems="center",qe.style.minHeight="20px",qe.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(g.uiStyleSettings!==void 0?g.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,qe.style.marginRight="5px",nt.appendChild(qe)}g.typeBoxes.push(nt)},g=this,M=0;M<4;M++)O(M);return T},p.prototype.setCurrentType=function(d,T){var O=this;this.currentType=d,this.typeBoxes.forEach(function(g){g.style.borderColor=g===T?O.uiStyleSettings!==void 0?O.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},p}(ue),Le=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.arrowType="end",g.arrowBaseHeight=10,g.arrowBaseWidth=10,g.getArrowPoints=g.getArrowPoints.bind(g),g.setArrowType=g.setArrowType.bind(g),g.arrowTypePanel=new ge("Arrow type","end"),g.arrowTypePanel.onArrowTypeChanged=g.setArrowType,g}return y(p,A),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.arrow1&&d!==this.arrow2)},p.prototype.getArrowPoints=function(d,T){var O=this.arrowBaseWidth+2*this.strokeWidth,g=this.arrowBaseHeight+2*this.strokeWidth;return d-O/2+","+(T+g/2)+" "+d+","+(T-g/2)+" "+(d+O/2)+","+(T+g/2)},p.prototype.createTips=function(){this.arrow1=f.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(f.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=f.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(f.createTransform()),this.visual.appendChild(this.arrow2)},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.state==="creating"&&this.createTips()},p.prototype.adjustVisual=function(){if(A.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",f.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),f.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var d=0;Math.abs(this.x1-this.x2)>.1&&(d=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var T=this.arrow1.transform.baseVal.getItem(0);T.setRotate(d,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(T,0);var O=this.arrow2.transform.baseVal.getItem(0);O.setRotate(d+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(O,0)}},p.prototype.setArrowType=function(d){this.arrowType=d,this.adjustVisual(),this.stateChanged()},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=Object.assign({arrowType:this.arrowType},A.prototype.getState.call(this));return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){A.prototype.restoreState.call(this,d);var T=d;this.arrowType=T.arrowType,this.createTips(),this.adjustVisual()},p.typeName="ArrowMarker",p.title="Arrow marker",p.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',p}(re),Re=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.fillColor=O.defaultFillColor,g.strokeWidth=0,g.fillPanel=new te("Color",O.defaultColorSet,O.defaultFillColor),g.fillPanel.onColorChanged=g.setFillColor,g}return y(p,A),Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=A.prototype.getState.call(this);return d.typeName=p.typeName,d},p.typeName="CoverMarker",p.title="Cover marker",p.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',p}(U),Ie=function(A){function p(d,T,O,g){var M=A.call(this,d,g||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return M.opacities=[],M.opacityBoxes=[],M.opacities=T,M.currentOpacity=O,M.setCurrentOpacity=M.setCurrentOpacity.bind(M),M}return y(p,A),p.prototype.getUi=function(){var d=this,T=document.createElement("div");return T.style.display="flex",T.style.overflow="hidden",T.style.flexGrow="2",T.style.justifyContent="space-between",this.opacities.forEach(function(O){var g=document.createElement("div");g.style.display="flex",g.style.alignItems="center",g.style.justifyContent="center",g.style.padding="5px",g.style.borderWidth="2px",g.style.borderStyle="solid",g.style.borderColor=O===d.currentOpacity?d.uiStyleSettings.toolboxAccentColor:"transparent",g.addEventListener("click",function(){d.setCurrentOpacity(O,g)}),T.appendChild(g);var M=document.createElement("div");M.innerText=100*O+"%",g.appendChild(M),d.opacityBoxes.push(g)}),T},p.prototype.setCurrentOpacity=function(d,T){var O=this;this.currentOpacity=d,this.opacityBoxes.forEach(function(g){g.style.borderColor=g===T?O.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},p}(ue),He=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.setOpacity=g.setOpacity.bind(g),g.fillColor=O.defaultHighlightColor,g.strokeWidth=0,g.opacity=O.defaultHighlightOpacity,g.fillPanel=new te("Color",O.defaultColorSet,g.fillColor),g.fillPanel.onColorChanged=g.setFillColor,g.opacityPanel=new Ie("Opacity",O.defaultOpacitySteps,g.opacity),g.opacityPanel.onOpacityChanged=g.setOpacity,g}return y(p,A),p.prototype.setOpacity=function(d){this.opacity=d,this.visual&&f.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=A.prototype.getState.call(this);return d.typeName=p.typeName,d},p.typeName="HighlightMarker",p.title="Highlight marker",p.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',p}(Re),oe='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',F='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',L=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.bgColor="transparent",g.tipPosition={x:0,y:0},g.tipBase1Position={x:0,y:0},g.tipBase2Position={x:0,y:0},g.tipMoving=!1,g.color=O.defaultStrokeColor,g.bgColor=O.defaultFillColor,g.fontFamily=O.defaultFontFamily,g.defaultSize={x:100,y:30},g.setBgColor=g.setBgColor.bind(g),g.getTipPoints=g.getTipPoints.bind(g),g.positionTip=g.positionTip.bind(g),g.setTipPoints=g.setTipPoints.bind(g),g.colorPanel=new te("Text color",O.defaultColorSet,g.color,oe),g.colorPanel.onColorChanged=g.setColor,g.bgColorPanel=new te("Fill color",O.defaultColorSet,g.bgColor,F),g.bgColorPanel.onColorChanged=g.setBgColor,g.fontFamilyPanel=new V("Font",O.defaultFontFamilies,O.defaultFontFamily),g.fontFamilyPanel.onFontChanged=g.setFont,g.tipGrip=new Z,g.tipGrip.visual.transform.baseVal.appendItem(f.createTransform()),g.controlBox.appendChild(g.tipGrip.visual),g}return y(p,A),p.prototype.ownsTarget=function(d){return A.prototype.ownsTarget.call(this,d)||this.tipGrip.ownsTarget(d)||this.tip===d},p.prototype.createTip=function(){f.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=f.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},p.prototype.pointerDown=function(d,T){this.state==="new"&&A.prototype.pointerDown.call(this,d,T),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(T)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):A.prototype.pointerDown.call(this,d,T)},p.prototype.pointerUp=function(d){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,A.prototype.pointerUp.call(this,d);else{var T=this.state==="creating";A.prototype.pointerUp.call(this,d),this.setTipPoints(T),this.positionTip()}},p.prototype.manipulate=function(d){if(this.tipMoving){var T=this.unrotatePoint(d);this.tipPosition={x:T.x-this.manipulationStartLeft,y:T.y-this.manipulationStartTop},this.positionTip()}else A.prototype.manipulate.call(this,d)},p.prototype.setBgColor=function(d){this.bgRectangle&&this.tip&&(f.setAttributes(this.bgRectangle,[["fill",d]]),f.setAttributes(this.tip,[["fill",d]])),this.bgColor=d,this.fillColorChanged(d)},p.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},p.prototype.setTipPoints=function(d){d===void 0&&(d=!1);var T=Math.min(this.height/2,15),O=this.height/5;d&&(this.tipPosition={x:T+O/2,y:this.height+20});var g=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?g<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(O=this.width/5,T=Math.min(this.width/2,15),this.tipBase1Position={x:T,y:0},this.tipBase2Position={x:T+O,y:0}):(this.tipBase1Position={x:0,y:T},this.tipBase2Position={x:0,y:T+O}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?g<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(O=this.width/5,T=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-T-O,y:0},this.tipBase2Position={x:this.width-T,y:0}):(this.tipBase1Position={x:this.width,y:T},this.tipBase2Position={x:this.width,y:T+O}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?g<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(O=this.width/5,T=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-T-O,y:this.height},this.tipBase2Position={x:this.width-T,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-T-O},this.tipBase2Position={x:this.width,y:this.height-T}):g<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(O=this.width/5,T=Math.min(this.width/2,15),this.tipBase1Position={x:T,y:this.height},this.tipBase2Position={x:T+O,y:this.height}):(this.tipBase1Position={x:0,y:this.height-T},this.tipBase2Position={x:0,y:this.height-T-O})},p.prototype.resize=function(d){A.prototype.resize.call(this,d),this.positionTip()},p.prototype.positionTip=function(){f.setAttributes(this.tip,[["points",this.getTipPoints()]]);var d=this.tipGrip.visual.transform.baseVal.getItem(0);d.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(d,0)},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),p.prototype.select=function(){this.positionTip(),A.prototype.select.call(this)},p.prototype.getState=function(){var d=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},A.prototype.getState.call(this));return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){var T=d;this.bgColor=T.bgColor,this.tipPosition=T.tipPosition,A.prototype.restoreState.call(this,d),this.createTip(),this.setTipPoints()},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T),this.tipPosition={x:this.tipPosition.x*d,y:this.tipPosition.y*T},this.positionTip()},p.typeName="CalloutMarker",p.title="Callout marker",p.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',p}(le),we=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.fillColor="transparent",g.strokeColor="transparent",g.strokeWidth=0,g.strokeDasharray="",g.opacity=1,g.strokeColor=O.defaultColor,g.strokeWidth=O.defaultStrokeWidth,g.strokeDasharray=O.defaultStrokeDasharray,g.fillColor=O.defaultFillColor,g.setStrokeColor=g.setStrokeColor.bind(g),g.setFillColor=g.setFillColor.bind(g),g.setStrokeWidth=g.setStrokeWidth.bind(g),g.setStrokeDasharray=g.setStrokeDasharray.bind(g),g.setOpacity=g.setOpacity.bind(g),g.createVisual=g.createVisual.bind(g),g.strokePanel=new te("Line color",k(O.defaultColorSet,["transparent"]),O.defaultColor),g.strokePanel.onColorChanged=g.setStrokeColor,g.fillPanel=new te("Fill color",k(O.defaultColorSet,["transparent"]),g.fillColor,F),g.fillPanel.onColorChanged=g.setFillColor,g.strokeWidthPanel=new _("Line width",O.defaultStrokeWidths,O.defaultStrokeWidth),g.strokeWidthPanel.onWidthChanged=g.setStrokeWidth,g.strokeStylePanel=new J("Line style",O.defaultStrokeDasharrays,O.defaultStrokeDasharray),g.strokeStylePanel.onStyleChanged=g.setStrokeDasharray,g.opacityPanel=new Ie("Opacity",O.defaultOpacitySteps,g.opacity),g.opacityPanel.onOpacityChanged=g.setOpacity,g}return y(p,A),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.visual)},p.prototype.createVisual=function(){this.visual=f.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.state==="new"&&(this.createVisual(),this.moveVisual(d),this._state="creating")},p.prototype.manipulate=function(d){A.prototype.manipulate.call(this,d)},p.prototype.resize=function(d){A.prototype.resize.call(this,d),this.setSize()},p.prototype.setSize=function(){A.prototype.setSize.call(this),f.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},p.prototype.pointerUp=function(d){A.prototype.pointerUp.call(this,d),this.setSize()},p.prototype.setStrokeColor=function(d){this.strokeColor=d,this.visual&&f.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(d),this.stateChanged()},p.prototype.setFillColor=function(d){this.fillColor=d,this.visual&&f.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(d),this.stateChanged()},p.prototype.setStrokeWidth=function(d){this.strokeWidth=d,this.visual&&f.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},p.prototype.setStrokeDasharray=function(d){this.strokeDasharray=d,this.visual&&f.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},p.prototype.setOpacity=function(d){this.opacity=d,this.visual&&f.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},A.prototype.getState.call(this));return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){var T=d;this.fillColor=T.fillColor,this.strokeColor=T.strokeColor,this.strokeWidth=T.strokeWidth,this.strokeDasharray=T.strokeDasharray,this.opacity=T.opacity,this.createVisual(),A.prototype.restoreState.call(this,d),this.setSize()},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T),this.setSize()},p.typeName="EllipseMarker",p.title="Ellipse marker",p.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',p}(P),Ue=function(A){function p(d,T,O){return A.call(this,d,T,O)||this}return y(p,A),Object.defineProperty(p.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.tip1&&d!==this.tip2)},p.prototype.createTips=function(){this.tip1=f.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(f.createTransform()),this.visual.appendChild(this.tip1),this.tip2=f.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(f.createTransform()),this.visual.appendChild(this.tip2)},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.state==="creating"&&this.createTips()},p.prototype.adjustVisual=function(){if(A.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(f.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),f.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var d=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),T=this.tip1.transform.baseVal.getItem(0);T.setRotate(d,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(T,0);var O=this.tip2.transform.baseVal.getItem(0);O.setRotate(d+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(O,0)}},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=A.prototype.getState.call(this);return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){A.prototype.restoreState.call(this,d),this.createTips(),this.adjustVisual()},p.typeName="MeasurementMarker",p.title="Measurement marker",p.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',p}(re),Ne=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.strokePanel.colors=O.defaultColorSet,g.fillColor="transparent",g}return y(p,A),Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=A.prototype.getState.call(this);return d.typeName=p.typeName,d},p.typeName="EllipseFrameMarker",p.title="Ellipse frame marker",p.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',p}(we),xt=function(){function A(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(A.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),A.prototype.addUndoStep=function(p){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(p)||(this.undoStack.push(p),JSON.stringify(this.lastRedoStep)!==JSON.stringify(p)&&this.redoStack.splice(0,this.redoStack.length))},A.prototype.replaceLastUndoStep=function(p){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=p)},A.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},A.prototype.undo=function(){if(this.undoStack.length>1){var p=this.undoStack.pop();return p!==void 0&&this.redoStack.push(p),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},A.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},A}(),pt=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.strokeColor="transparent",g.strokeWidth=0,g.strokeDasharray="",g.curveX=0,g.curveY=0,g.manipulationStartCurveX=0,g.manipulationStartCurveY=0,g.setStrokeColor=g.setStrokeColor.bind(g),g.setStrokeWidth=g.setStrokeWidth.bind(g),g.setStrokeDasharray=g.setStrokeDasharray.bind(g),g.positionGrips=g.positionGrips.bind(g),g.addControlGrips=g.addControlGrips.bind(g),g.adjustVisual=g.adjustVisual.bind(g),g.setupControlBox=g.setupControlBox.bind(g),g.resize=g.resize.bind(g),g.strokeColor=O.defaultColor,g.strokeWidth=O.defaultStrokeWidth,g.strokeDasharray=O.defaultStrokeDasharray,g.strokePanel=new te("Line color",O.defaultColorSet,O.defaultColor),g.strokePanel.onColorChanged=g.setStrokeColor,g.strokeWidthPanel=new _("Line width",O.defaultStrokeWidths,O.defaultStrokeWidth),g.strokeWidthPanel.onWidthChanged=g.setStrokeWidth,g.strokeStylePanel=new J("Line style",O.defaultStrokeDasharrays,O.defaultStrokeDasharray),g.strokeStylePanel.onStyleChanged=g.setStrokeDasharray,g}return y(p,A),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.visual&&d!==this.selectorCurve&&d!==this.visibleCurve&&!this.curveGrip.ownsTarget(d))},p.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},p.prototype.createVisual=function(){this.visual=f.createGroup(),this.selectorCurve=f.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=f.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=d.x,this.curveY=d.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(T)&&(this.activeGrip=this.curveGrip,this._state="resize")},p.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),f.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),f.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),f.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},p.prototype.setupControlBox=function(){A.prototype.setupControlBox.call(this),this.curveControlLine1=f.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=f.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},p.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,A.prototype.addControlGrips.call(this)},p.prototype.positionGrips=function(){A.prototype.positionGrips.call(this);var d=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-d/2,this.curveY-d/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},p.prototype.manipulate=function(d){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+d.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+d.y-this.manipulationStartY),A.prototype.manipulate.call(this,d)},p.prototype.resize=function(d){this.activeGrip===this.curveGrip&&(this.curveX=d.x,this.curveY=d.y),A.prototype.resize.call(this,d),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},p.prototype.setStrokeColor=function(d){this.strokeColor=d,this.adjustVisual(),this.colorChanged(d)},p.prototype.setStrokeWidth=function(d){this.strokeWidth=d,this.adjustVisual()},p.prototype.setStrokeDasharray=function(d){this.strokeDasharray=d,this.adjustVisual()},p.prototype.scale=function(d,T){this.curveX=this.curveX*d,this.curveY=this.curveY*T,A.prototype.scale.call(this,d,T)},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},A.prototype.getState.call(this));return d.typeName=p.typeName,d},p.prototype.restoreState=function(d){A.prototype.restoreState.call(this,d);var T=d;this.strokeColor=T.strokeColor,this.strokeWidth=T.strokeWidth,this.strokeDasharray=T.strokeDasharray,this.curveX=T.curveX,this.curveY=T.curveY,this.createVisual(),this.adjustVisual()},p.typeName="CurveMarker",p.title="Curve marker",p.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',p}(fe),Lt=function(A){function p(d,T,O){var g=A.call(this,d,T,O)||this;return g.fillColor="transparent",g.strokeColor="transparent",g.strokeWidth=0,g.strokeDasharray="",g.textColor="transparent",g.fontSize="1rem",g.isMoved=!1,g.captionText="Caption",g.PADDING=5,g.captionBoxWidth=0,g.captionBoxHeight=0,g.strokeColor=O.defaultColor,g.strokeWidth=O.defaultStrokeWidth,g.strokeDasharray=O.defaultStrokeDasharray,g.fillColor=O.defaultFillColor,g.textColor=O.defaultStrokeColor,g.fontFamily=O.defaultFontFamily,g.fontSize=O.defaultCaptionFontSize,g.captionText=O.defaultCaptionText,g.setStrokeColor=g.setStrokeColor.bind(g),g.setFillColor=g.setFillColor.bind(g),g.setStrokeWidth=g.setStrokeWidth.bind(g),g.setStrokeDasharray=g.setStrokeDasharray.bind(g),g.createVisual=g.createVisual.bind(g),g.sizeCaption=g.sizeCaption.bind(g),g.setCaptionText=g.setCaptionText.bind(g),g.showTextEditor=g.showTextEditor.bind(g),g.positionTextEditor=g.positionTextEditor.bind(g),g.finishTextEditing=g.finishTextEditing.bind(g),g.setFont=g.setFont.bind(g),g.setTextColor=g.setTextColor.bind(g),g.strokePanel=new te("Line color",k(O.defaultColorSet,["transparent"]),g.strokeColor),g.strokePanel.onColorChanged=g.setStrokeColor,g.fillPanel=new te("Fill color",k(O.defaultColorSet,["transparent"]),g.fillColor,F),g.fillPanel.onColorChanged=g.setFillColor,g.strokeWidthPanel=new _("Line width",O.defaultStrokeWidths,O.defaultStrokeWidth),g.strokeWidthPanel.onWidthChanged=g.setStrokeWidth,g.strokeStylePanel=new J("Line style",O.defaultStrokeDasharrays,O.defaultStrokeDasharray),g.strokeStylePanel.onStyleChanged=g.setStrokeDasharray,g.fontFamilyPanel=new V("Font",O.defaultFontFamilies,O.defaultFontFamily),g.fontFamilyPanel.onFontChanged=g.setFont,g.textColorPanel=new te("Text color",O.defaultColorSet,g.textColor,oe),g.textColorPanel.onColorChanged=g.setTextColor,g}return y(p,A),p.prototype.ownsTarget=function(d){return!(!A.prototype.ownsTarget.call(this,d)&&d!==this.visual&&d!==this.frame&&d!==this.captionBg&&d!==this.captionElement)},p.prototype.createVisual=function(){this.visual=f.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=f.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=f.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=f.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},p.prototype.setCaptionText=function(d){this.captionText=d,this.captionElement.textContent=this.captionText,this.sizeCaption()},p.prototype.pointerDown=function(d,T){A.prototype.pointerDown.call(this,d,T),this.isMoved=!1,this.pointerDownPoint=d,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(d),this._state="creating")},p.prototype.manipulate=function(d){A.prototype.manipulate.call(this,d),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(d.x-this.pointerDownPoint.x)>5||Math.abs(d.y-this.pointerDownPoint.y)>5)},p.prototype.resize=function(d){A.prototype.resize.call(this,d),this.setSize()},p.prototype.sizeCaption=function(){var d=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=d.width+2*this.PADDING,this.captionBoxHeight=d.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),f.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),f.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},p.prototype.showTextEditor=function(){var d=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(T){T.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(T){T.key==="Enter"&&d.finishTextEditing(d.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(T){T.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){d.finishTextEditing(d.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){d.finishTextEditing(d.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},p.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},p.prototype.finishTextEditing=function(d){this.setCaptionText(d.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},p.prototype.setFont=function(d){this.captionElement&&f.setAttributes(this.captionElement,[["font-family",d]]),this.fontFamily=d,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},p.prototype.setTextColor=function(d){this.captionElement&&f.setAttributes(this.captionElement,[["fill",d]]),this.textColor=d,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},p.prototype.setSize=function(){A.prototype.setSize.call(this),f.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},p.prototype.pointerUp=function(d){A.prototype.pointerUp.call(this,d),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},p.prototype.dblClick=function(d,T){A.prototype.dblClick.call(this,d,T),this.showTextEditor()},p.prototype.setStrokeColor=function(d){this.strokeColor=d,this.frame&&f.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(d),this.stateChanged()},p.prototype.setFillColor=function(d){this.fillColor=d,this.captionBg&&f.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(d),this.stateChanged()},p.prototype.setStrokeWidth=function(d){this.strokeWidth=d,this.frame&&f.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},p.prototype.setStrokeDasharray=function(d){this.strokeDasharray=d,this.frame&&f.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(p.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),p.prototype.getState=function(){var d=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},A.prototype.getState.call(this));return d.typeName=this.typeName,d},p.prototype.restoreState=function(d){var T=d;this.fillColor=T.fillColor,this.strokeColor=T.strokeColor,this.strokeWidth=T.strokeWidth,this.strokeDasharray=T.strokeDasharray,this.textColor=T.textColor,this.fontFamily=T.fontFamily,this.captionText=T.captionText,this.fontSize=T.fontSize,this.createVisual(),A.prototype.restoreState.call(this,d),this.setSize()},p.prototype.scale=function(d,T){A.prototype.scale.call(this,d,T),this.setSize()},p.typeName="CaptionFrameMarker",p.title="Caption frame marker",p.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',p}(P),ze=function(){function A(p,d){d===void 0&&(d=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=p,this.cancelable=d}return Object.defineProperty(A.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),A.prototype.preventDefault=function(){this._defaultPrevented=!0},A}(),Te=function(A){function p(d,T,O){var g=A.call(this,d,!1)||this;return g.dataUrl=T,g.state=O,g}return y(p,A),p}(ze),_e=function(A){function p(d,T,O){O===void 0&&(O=!1);var g=A.call(this,d,O)||this;return g.marker=T,g}return y(p,A),p}(ze),$e=function(){function A(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return A.prototype.addEventListener=function(p,d){this[p].push(d)},A.prototype.removeEventListener=function(p,d){var T=this[p].indexOf(d);T>-1&&this[p].splice(T,1)},A}(),St=function(){function A(p){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new H,this._isOpen=!1,this.undoRedoManager=new xt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new $e,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=A.instanceCounter++,this.styles=new I(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=p,this.targetRoot=document.body,this.width=p.clientWidth,this.height=p.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(A.prototype,"ALL_MARKER_TYPES",{get:function(){return[de,ne,Le,le,Ne,we,He,L,Ue,Re,re,pt,Lt]},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[de,ne,Le,le,we,He,L]},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"BASIC_MARKER_TYPES",{get:function(){return[de,ne,Le,le,He]},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(p){var d=this;this._availableMarkerTypes.splice(0),p.forEach(function(T){if(typeof T=="string"){var O=d.ALL_MARKER_TYPES.find(function(g){return g.typeName===T});O!==void 0&&d._availableMarkerTypes.push(O)}else d._availableMarkerTypes.push(T)})},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(p){this._zoomLevel=p,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),A.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),R.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},A.prototype.show=function(){var p=this;this.styles.styleSheetRoot===void 0&&D.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=D.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(d){return d(new ze(p))})},A.prototype.render=function(){return v(this,void 0,void 0,function(){var p;return b(this,function(d){switch(d.label){case 0:return this.setCurrentMarker(),(p=new z).naturalSize=this.renderAtNaturalSize,p.imageType=this.renderImageType,p.imageQuality=this.renderImageQuality,p.markersOnly=this.renderMarkersOnly,p.width=this.renderWidth,p.height=this.renderHeight,[4,p.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return d.sent(),[4,p.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,d.sent()]}})})},A.prototype.close=function(p){var d=this;if(p===void 0&&(p=!1),this.isOpen){var T=!1;p||this.eventListeners.beforeclose.forEach(function(O){var g=new ze(d,!0);O(g),g.defaultPrevented&&(T=!0)}),T||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(O){return O(new ze(d))}),this.detachEvents(),this._isOpen=!1)}},A.prototype.addMarkersToToolbar=function(){for(var p,d=[],T=0;T<arguments.length;T++)d[T]=arguments[T];(p=this._availableMarkerTypes).push.apply(p,d)},A.prototype.addRenderEventListener=function(p){this.addEventListener("render",function(d){p(d.dataUrl,d.state)})},A.prototype.removeRenderEventListener=function(p){},A.prototype.addCloseEventListener=function(p){this.addEventListener("close",function(){p()})},A.prototype.removeCloseEventListener=function(p){},A.prototype.setupResizeObserver=function(){var p=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){p.resize(p.target.clientWidth,p.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return p.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},A.prototype.onPopupTargetResize=function(){var p=1*this.target.clientWidth/this.target.clientHeight,d=this.editorCanvas.clientWidth/p>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*p:this.editorCanvas.clientWidth,T=d<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/p;this.resize(d,T)},A.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},A.prototype.resize=function(p,d){this._isResizing=!0;var T=p/this.imageWidth,O=d/this.imageHeight;this.imageWidth=Math.round(p),this.imageHeight=Math.round(d),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(T,O),this._isResizing=!1},A.prototype.scaleMarkers=function(p,d){var T,O=this;this._currentMarker&&this._currentMarker instanceof le?this._currentMarker.scale(p,d):(T=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(g){g!==O._currentMarker&&g.scale(p,d)}),T!==void 0&&this.setCurrentMarker(T)},A.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},A.prototype.setTopLeft=function(){var p=this.editingTarget.getBoundingClientRect(),d=this.editorCanvas.getBoundingClientRect();this.left=p.left-d.left,this.top=p.top-d.top},A.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},A.prototype.addDefs=function(){for(var p,d=[],T=0;T<arguments.length;T++)d[T]=arguments[T];this.defs=f.createDefs(),this.addDefsToImage(),(p=this.defs).append.apply(p,d)},A.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},A.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},A.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},A.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},A.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},A.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},A.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},A.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var p=document.createElement("a");p.href="https://markerjs.com/",p.target="_blank",p.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',p.title="Powered by marker.js",p.style.display="grid",p.style.alignItems="center",p.style.justifyItems="center",p.style.padding="3px",p.style.width="20px",p.style.height="20px",this.logoUI.appendChild(p),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},A.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},A.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},A.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},A.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var p=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=p+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new be(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new ce(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},A.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},A.prototype.removeMarker=function(p){this.markerImage.removeChild(p.container),this.markers.indexOf(p)>-1&&this.markers.splice(this.markers.indexOf(p),1),p.dispose()},A.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},A.prototype.toolbarButtonClicked=function(p,d){if(p==="marker"&&d!==void 0)this.createNewMarker(d);else if(p==="action")switch(d){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},A.prototype.deleteSelectedMarker=function(){var p=this;if(this._currentMarker!==void 0){var d=!1;if(this.eventListeners.markerbeforedelete.forEach(function(O){var g=new _e(p,p._currentMarker,!0);O(g),g.defaultPrevented&&(d=!0)}),!d){var T=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(O){return O(new _e(p,T))})}}},A.prototype.clear=function(){var p=this,d=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(M){var xe=new _e(p,void 0,!0);M(xe),xe.defaultPrevented&&(d=!0)}),!d)){this.setCurrentMarker();for(var T=function(M){var xe=O.markers[M];O.setCurrentMarker(O.markers[M]),O._currentMarker.dispose(),O.markerImage.removeChild(O._currentMarker.container),O.markers.splice(O.markers.indexOf(O._currentMarker),1),O.eventListeners.markerdelete.forEach(function(tt){return tt(new _e(p,xe))})},O=this,g=this.markers.length-1;g>=0;g--)T(g);this.addUndoStep()}},Object.defineProperty(A.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),A.prototype.showNotesEditor=function(){var p;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(p=this._currentMarker.notes)!==null&&p!==void 0?p:"",this.overlayContainer.appendChild(this.notesArea))},A.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},A.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},A.prototype.addUndoStep=function(){var p=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var d=this.getState(),T=this.undoRedoManager.getLastUndoStep();if(!T||T.width===d.width&&T.height===d.height){var O=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(d),O<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(g){return g(new ze(p))})}else this.undoRedoManager.replaceLastUndoStep(d),this.eventListeners.statechange.forEach(function(g){return g(new ze(p))})}},A.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},A.prototype.undoStep=function(){var p=this,d=this.undoRedoManager.undo();d!==void 0&&(this.restoreState(d),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(T){return T(new ze(p))}))},A.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},A.prototype.redoStep=function(){var p=this,d=this.undoRedoManager.redo();d!==void 0&&(this.restoreState(d),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(T){return T(new ze(p))}))},A.prototype.stepZoom=function(){var p=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=p<this.zoomSteps.length-1?this.zoomSteps[p+1]:this.zoomSteps[0]},A.prototype.panTo=function(p){this.contentDiv.scrollBy({left:this.prevPanPoint.x-p.x,top:this.prevPanPoint.y-p.y}),this.prevPanPoint=p},A.prototype.startRenderAndClose=function(){return v(this,void 0,void 0,function(){var p,d,T=this;return b(this,function(O){switch(O.label){case 0:return[4,this.render()];case 1:return p=O.sent(),d=this.getState(),this.eventListeners.render.forEach(function(g){return g(new Te(T,p,d))}),this.close(!0),[2]}})})},A.prototype.getState=function(p){p===!0&&this.setCurrentMarker();var d={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(T){return d.markers.push(T.getState())}),d},A.prototype.restoreState=function(p){var d=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);p.markers.forEach(function(T){var O=d._availableMarkerTypes.find(function(M){return M.typeName===T.typeName});if(O!==void 0){var g=d.addNewMarker(O);g.restoreState(T),d.markers.push(g)}}),p.width&&p.height&&(p.width!==this.imageWidth||p.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/p.width,this.imageHeight/p.height),this.eventListeners.restorestate.forEach(function(T){return T(new ze(d))})},A.prototype.addNewMarker=function(p){var d=f.createGroup();return this.markerImage.appendChild(d),new p(d,this.overlayContainer,this.settings)},A.prototype.createNewMarker=function(p){var d,T=this;(d=typeof p=="string"?this._availableMarkerTypes.find(function(O){return O.typeName===p}):p)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(d),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(d.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(O){return O(new _e(T,T._currentMarker))}))},A.prototype.markerCreated=function(p){var d=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(p),this.setCurrentMarker(p),p instanceof ne&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(ne):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(T){return T(new _e(d,d._currentMarker))})},A.prototype.colorChanged=function(p){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=p,this.settings.defaultStrokeColor=p)},A.prototype.fillColorChanged=function(p){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=p)},A.prototype.markerStateChanged=function(p){var d=this;this.eventListeners.markerchange.forEach(function(T){return T(new _e(d,p))})},A.prototype.setCurrentMarker=function(p){var d=this;this._currentMarker!==p&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(T){return T(new _e(d,d._currentMarker))})),this._currentMarker=p,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(T){return T(new _e(d,d._currentMarker))}))},A.prototype.onPointerDown=function(p){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||p.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var d=this.markers.find(function(T){return T.ownsTarget(p.target)});d!==void 0?(this.setCurrentMarker(d),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(p.clientX,p.clientY),p.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:p.clientX,y:p.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(p.clientX,p.clientY))},A.prototype.onDblClick=function(p){if(this._isFocused||this.focus(),this.mode==="select"){var d=this.markers.find(function(T){return T.ownsTarget(p.target)});d!==void 0&&d!==this._currentMarker&&this.setCurrentMarker(d),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(p.clientX,p.clientY),p.target):this.setCurrentMarker()}},A.prototype.onPointerMove=function(p){this.touchPoints!==1&&p.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||p.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(p.clientX,p.clientY)):this.zoomLevel>1&&this.panTo({x:p.clientX,y:p.clientY}))},A.prototype.onPointerUp=function(p){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(p.clientX,p.clientY)),this.isDragging=!1,this.addUndoStep()},A.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},A.prototype.onKeyUp=function(p){this._currentMarker===void 0||this.notesArea!==void 0||p.key!=="Delete"&&p.key!=="Backspace"||this.deleteSelectedMarker()},A.prototype.clientToLocalCoordinates=function(p,d){var T=this.markerImage.getBoundingClientRect();return{x:(p-T.left)/this.zoomLevel,y:(d-T.top)/this.zoomLevel}},A.prototype.onWindowResize=function(){this.positionUI()},A.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var p=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=p+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},A.prototype.addLicenseKey=function(p){R.addKey(p)},A.prototype.addEventListener=function(p,d){this.eventListeners.addEventListener(p,d)},A.prototype.removeEventListener=function(p,d){this.eventListeners.removeEventListener(p,d)},A.prototype.renderState=function(p){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(p),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(A.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),A.prototype.focus=function(){var p=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(d){return d(new ze(p))}))},A.prototype.blur=function(){var p=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(d){return d(new ze(p))}))},A.instanceCounter=0,A}()},67842:function(x){"use strict";var c,r=59;x.exports=u;function u(y){var v="&"+y+";",b;return c=c||document.createElement("i"),c.innerHTML=v,b=c.textContent,b.charCodeAt(b.length-1)===r&&y!=="semi"||b===v?!1:b}},12256:function(x,c,r){"use strict";var u=r(47854),y=r(80501),v=r(22347),b=r(65207),k=r(21127),f=r(67842);x.exports=He;var R={}.hasOwnProperty,z=String.fromCharCode,D=Function.prototype,I={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},ae=9,G=10,be=12,ce=32,ue=38,te=59,X=60,q=61,Z=35,j=88,P=120,U=65533,_="named",J="hexadecimal",de="decimal",H={};H[J]=16,H[de]=10;var fe={};fe[_]=k,fe[de]=v,fe[J]=b;var re=1,V=2,le=3,ne=4,ge=5,Le=6,Re=7,Ie={};Ie[re]="Named character references must be terminated by a semicolon",Ie[V]="Numeric character references must be terminated by a semicolon",Ie[le]="Named character references cannot be empty",Ie[ne]="Numeric character references cannot be empty",Ie[ge]="Named character references must be known",Ie[Le]="Numeric character references cannot be disallowed",Ie[Re]="Numeric character references cannot be outside the permissible Unicode range";function He(we,Ue){var Ne={},xt,pt;Ue||(Ue={});for(pt in I)xt=Ue[pt],Ne[pt]=xt==null?I[pt]:xt;return(Ne.position.indent||Ne.position.start)&&(Ne.indent=Ne.position.indent||[],Ne.position=Ne.position.start),oe(we,Ne)}function oe(we,Ue){var Ne=Ue.additional,xt=Ue.nonTerminated,pt=Ue.text,Lt=Ue.reference,ze=Ue.warning,Te=Ue.textContext,_e=Ue.referenceContext,$e=Ue.warningContext,St=Ue.position,A=Ue.indent||[],p=we.length,d=0,T=-1,O=St.column||1,g=St.line||1,M="",xe=[],tt,nt,Ee,Be,Oe,qe,lt,Ge,pe,rt,st,Ve,at,Nt,it,Q,Et,wt,ye;for(typeof Ne=="string"&&(Ne=Ne.charCodeAt(0)),Q=zt(),Ge=ze?nn:D,d--,p++;++d<p;)if(Oe===G&&(O=A[T]||1),Oe=we.charCodeAt(d),Oe===ue){if(lt=we.charCodeAt(d+1),lt===ae||lt===G||lt===be||lt===ce||lt===ue||lt===X||lt!==lt||Ne&&lt===Ne){M+=z(Oe),O++;continue}for(at=d+1,Ve=at,ye=at,lt===Z?(ye=++Ve,lt=we.charCodeAt(ye),lt===j||lt===P?(Nt=J,ye=++Ve):Nt=de):Nt=_,tt="",st="",Be="",it=fe[Nt],ye--;++ye<p&&(lt=we.charCodeAt(ye),!!it(lt));)Be+=z(lt),Nt===_&&R.call(u,Be)&&(tt=Be,st=u[Be]);Ee=we.charCodeAt(ye)===te,Ee&&(ye++,nt=Nt===_?f(Be):!1,nt&&(tt=Be,st=nt)),wt=1+ye-at,!Ee&&!xt||(Be?Nt===_?(Ee&&!st?Ge(ge,1):(tt!==Be&&(ye=Ve+tt.length,wt=1+ye-Ve,Ee=!1),Ee||(pe=tt?re:le,Ue.attribute?(lt=we.charCodeAt(ye),lt===q?(Ge(pe,wt),st=null):k(lt)?st=null:Ge(pe,wt)):Ge(pe,wt))),qe=st):(Ee||Ge(V,wt),qe=parseInt(Be,H[Nt]),F(qe)?(Ge(Re,wt),qe=z(U)):qe in y?(Ge(Le,wt),qe=y[qe]):(rt="",L(qe)&&Ge(Le,wt),qe>65535&&(qe-=65536,rt+=z(qe>>>10|55296),qe=56320|qe&1023),qe=rt+z(qe))):Nt!==_&&Ge(ne,wt)),qe?(Xt(),Q=zt(),d=ye-1,O+=ye-at+1,xe.push(qe),Et=zt(),Et.offset++,Lt&&Lt.call(_e,qe,{start:Q,end:Et},we.slice(at-1,ye)),Q=Et):(Be=we.slice(at-1,ye),M+=Be,O+=Be.length,d=ye-1)}else Oe===10&&(g++,T++,O=0),Oe===Oe?(M+=z(Oe),O++):Xt();return xe.join("");function zt(){return{line:g,column:O,offset:d+(St.offset||0)}}function nn(je,En){var hn=zt();hn.column+=En,hn.offset+=En,ze.call($e,Ie[je],hn,je)}function Xt(){M&&(xe.push(M),pt&&pt.call(Te,M,{start:Q,end:zt()}),M="")}}function F(we){return we>=55296&&we<=57343||we>1114111}function L(we){return we>=1&&we<=8||we===11||we>=13&&we<=31||we>=127&&we<=159||we>=64976&&we<=65007||(we&65535)===65535||(we&65535)===65534}},68398:function(x,c,r){var u=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var y=function(v){var b=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,k=0,f={},R={manual:v.Prism&&v.Prism.manual,disableWorkerMessageHandler:v.Prism&&v.Prism.disableWorkerMessageHandler,util:{encode:function q(Z){return Z instanceof z?new z(Z.type,q(Z.content),Z.alias):Array.isArray(Z)?Z.map(q):Z.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(q){return Object.prototype.toString.call(q).slice(8,-1)},objId:function(q){return q.__id||Object.defineProperty(q,"__id",{value:++k}),q.__id},clone:function q(Z,j){j=j||{};var P,U;switch(R.util.type(Z)){case"Object":if(U=R.util.objId(Z),j[U])return j[U];P={},j[U]=P;for(var _ in Z)Z.hasOwnProperty(_)&&(P[_]=q(Z[_],j));return P;case"Array":return U=R.util.objId(Z),j[U]?j[U]:(P=[],j[U]=P,Z.forEach(function(J,de){P[de]=q(J,j)}),P);default:return Z}},getLanguage:function(q){for(;q;){var Z=b.exec(q.className);if(Z)return Z[1].toLowerCase();q=q.parentElement}return"none"},setLanguage:function(q,Z){q.className=q.className.replace(RegExp(b,"gi"),""),q.classList.add("language-"+Z)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(P){var q=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(P.stack)||[])[1];if(q){var Z=document.getElementsByTagName("script");for(var j in Z)if(Z[j].src==q)return Z[j]}return null}},isActive:function(q,Z,j){for(var P="no-"+Z;q;){var U=q.classList;if(U.contains(Z))return!0;if(U.contains(P))return!1;q=q.parentElement}return!!j}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(q,Z){var j=R.util.clone(R.languages[q]);for(var P in Z)j[P]=Z[P];return j},insertBefore:function(q,Z,j,P){P=P||R.languages;var U=P[q],_={};for(var J in U)if(U.hasOwnProperty(J)){if(J==Z)for(var de in j)j.hasOwnProperty(de)&&(_[de]=j[de]);j.hasOwnProperty(J)||(_[J]=U[J])}var H=P[q];return P[q]=_,R.languages.DFS(R.languages,function(fe,re){re===H&&fe!=q&&(this[fe]=_)}),_},DFS:function q(Z,j,P,U){U=U||{};var _=R.util.objId;for(var J in Z)if(Z.hasOwnProperty(J)){j.call(Z,J,Z[J],P||J);var de=Z[J],H=R.util.type(de);H==="Object"&&!U[_(de)]?(U[_(de)]=!0,q(de,j,null,U)):H==="Array"&&!U[_(de)]&&(U[_(de)]=!0,q(de,j,J,U))}}},plugins:{},highlightAll:function(q,Z){R.highlightAllUnder(document,q,Z)},highlightAllUnder:function(q,Z,j){var P={callback:j,container:q,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};R.hooks.run("before-highlightall",P),P.elements=Array.prototype.slice.apply(P.container.querySelectorAll(P.selector)),R.hooks.run("before-all-elements-highlight",P);for(var U=0,_;_=P.elements[U++];)R.highlightElement(_,Z===!0,P.callback)},highlightElement:function(q,Z,j){var P=R.util.getLanguage(q),U=R.languages[P];R.util.setLanguage(q,P);var _=q.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&R.util.setLanguage(_,P);var J=q.textContent,de={element:q,language:P,grammar:U,code:J};function H(re){de.highlightedCode=re,R.hooks.run("before-insert",de),de.element.innerHTML=de.highlightedCode,R.hooks.run("after-highlight",de),R.hooks.run("complete",de),j&&j.call(de.element)}if(R.hooks.run("before-sanity-check",de),_=de.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!de.code){R.hooks.run("complete",de),j&&j.call(de.element);return}if(R.hooks.run("before-highlight",de),!de.grammar){H(R.util.encode(de.code));return}if(Z&&v.Worker){var fe=new Worker(R.filename);fe.onmessage=function(re){H(re.data)},fe.postMessage(JSON.stringify({language:de.language,code:de.code,immediateClose:!0}))}else H(R.highlight(de.code,de.grammar,de.language))},highlight:function(q,Z,j){var P={code:q,grammar:Z,language:j};if(R.hooks.run("before-tokenize",P),!P.grammar)throw new Error('The language "'+P.language+'" has no grammar.');return P.tokens=R.tokenize(P.code,P.grammar),R.hooks.run("after-tokenize",P),z.stringify(R.util.encode(P.tokens),P.language)},tokenize:function(q,Z){var j=Z.rest;if(j){for(var P in j)Z[P]=j[P];delete Z.rest}var U=new ae;return G(U,U.head,q),I(q,U,Z,U.head,0),ce(U)},hooks:{all:{},add:function(q,Z){var j=R.hooks.all;j[q]=j[q]||[],j[q].push(Z)},run:function(q,Z){var j=R.hooks.all[q];if(!(!j||!j.length))for(var P=0,U;U=j[P++];)U(Z)}},Token:z};v.Prism=R;function z(q,Z,j,P){this.type=q,this.content=Z,this.alias=j,this.length=(P||"").length|0}z.stringify=function q(Z,j){if(typeof Z=="string")return Z;if(Array.isArray(Z)){var P="";return Z.forEach(function(H){P+=q(H,j)}),P}var U={type:Z.type,content:q(Z.content,j),tag:"span",classes:["token",Z.type],attributes:{},language:j},_=Z.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(U.classes,_):U.classes.push(_)),R.hooks.run("wrap",U);var J="";for(var de in U.attributes)J+=" "+de+'="'+(U.attributes[de]||"").replace(/"/g,"&quot;")+'"';return"<"+U.tag+' class="'+U.classes.join(" ")+'"'+J+">"+U.content+"</"+U.tag+">"};function D(q,Z,j,P){q.lastIndex=Z;var U=q.exec(j);if(U&&P&&U[1]){var _=U[1].length;U.index+=_,U[0]=U[0].slice(_)}return U}function I(q,Z,j,P,U,_){for(var J in j)if(!(!j.hasOwnProperty(J)||!j[J])){var de=j[J];de=Array.isArray(de)?de:[de];for(var H=0;H<de.length;++H){if(_&&_.cause==J+","+H)return;var fe=de[H],re=fe.inside,V=!!fe.lookbehind,le=!!fe.greedy,ne=fe.alias;if(le&&!fe.pattern.global){var ge=fe.pattern.toString().match(/[imsuy]*$/)[0];fe.pattern=RegExp(fe.pattern.source,ge+"g")}for(var Le=fe.pattern||fe,Re=P.next,Ie=U;Re!==Z.tail&&!(_&&Ie>=_.reach);Ie+=Re.value.length,Re=Re.next){var He=Re.value;if(Z.length>q.length)return;if(!(He instanceof z)){var oe=1,F;if(le){if(F=D(Le,Ie,q,V),!F||F.index>=q.length)break;var Ne=F.index,L=F.index+F[0].length,we=Ie;for(we+=Re.value.length;Ne>=we;)Re=Re.next,we+=Re.value.length;if(we-=Re.value.length,Ie=we,Re.value instanceof z)continue;for(var Ue=Re;Ue!==Z.tail&&(we<L||typeof Ue.value=="string");Ue=Ue.next)oe++,we+=Ue.value.length;oe--,He=q.slice(Ie,we),F.index-=Ie}else if(F=D(Le,0,He,V),!F)continue;var Ne=F.index,xt=F[0],pt=He.slice(0,Ne),Lt=He.slice(Ne+xt.length),ze=Ie+He.length;_&&ze>_.reach&&(_.reach=ze);var Te=Re.prev;pt&&(Te=G(Z,Te,pt),Ie+=pt.length),be(Z,Te,oe);var _e=new z(J,re?R.tokenize(xt,re):xt,ne,xt);if(Re=G(Z,Te,_e),Lt&&G(Z,Re,Lt),oe>1){var $e={cause:J+","+H,reach:ze};I(q,Z,j,Re.prev,Ie,$e),_&&$e.reach>_.reach&&(_.reach=$e.reach)}}}}}}function ae(){var q={value:null,prev:null,next:null},Z={value:null,prev:q,next:null};q.next=Z,this.head=q,this.tail=Z,this.length=0}function G(q,Z,j){var P=Z.next,U={value:j,prev:Z,next:P};return Z.next=U,P.prev=U,q.length++,U}function be(q,Z,j){for(var P=Z.next,U=0;U<j&&P!==q.tail;U++)P=P.next;Z.next=P,P.prev=Z,q.length-=U}function ce(q){for(var Z=[],j=q.head.next;j!==q.tail;)Z.push(j.value),j=j.next;return Z}if(!v.document)return v.addEventListener&&(R.disableWorkerMessageHandler||v.addEventListener("message",function(q){var Z=JSON.parse(q.data),j=Z.language,P=Z.code,U=Z.immediateClose;v.postMessage(R.highlight(P,R.languages[j],j)),U&&v.close()},!1)),R;var ue=R.util.currentScript();ue&&(R.filename=ue.src,ue.hasAttribute("data-manual")&&(R.manual=!0));function te(){R.manual||R.highlightAll()}if(!R.manual){var X=document.readyState;X==="loading"||X==="interactive"&&ue&&ue.defer?document.addEventListener("DOMContentLoaded",te):window.requestAnimationFrame?window.requestAnimationFrame(te):window.setTimeout(te,16)}return R}(u);x.exports&&(x.exports=y),typeof r.g!="undefined"&&(r.g.Prism=y)},88914:function(x,c,r){"use strict";var u=r(47178),y=r(19095),v=r(1969),b="data";x.exports=z;var k=/^data[-\w.:]+$/i,f=/-[a-z]/g,R=/[A-Z]/g;function z(be,ce){var ue=u(ce),te=ce,X=v;return ue in be.normal?be.property[be.normal[ue]]:(ue.length>4&&ue.slice(0,4)===b&&k.test(ce)&&(ce.charAt(4)==="-"?te=D(ce):ce=I(ce),X=y),new X(te,ce))}function D(be){var ce=be.slice(5).replace(f,G);return b+ce.charAt(0).toUpperCase()+ce.slice(1)}function I(be){var ce=be.slice(4);return f.test(ce)?be:(ce=ce.replace(R,ae),ce.charAt(0)!=="-"&&(ce="-"+ce),b+ce)}function ae(be){return"-"+be.toLowerCase()}function G(be){return be.charAt(1).toUpperCase()}},18795:function(x,c,r){"use strict";var u=r(83576),y=r(8179),v=r(59780),b=r(68244),k=r(20019),f=r(38567);x.exports=u([v,y,b,k,f])},20019:function(x,c,r){"use strict";var u=r(70167),y=r(79318),v=u.booleanish,b=u.number,k=u.spaceSeparated;x.exports=y({transform:f,properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:k,ariaCurrent:null,ariaDescribedBy:k,ariaDetails:null,ariaDisabled:v,ariaDropEffect:k,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:k,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:k,ariaLevel:b,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:k,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:k,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:v,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null}});function f(R,z){return z==="role"?z:"aria-"+z.slice(4).toLowerCase()}},38567:function(x,c,r){"use strict";var u=r(70167),y=r(79318),v=r(85804),b=u.boolean,k=u.overloadedBoolean,f=u.booleanish,R=u.number,z=u.spaceSeparated,D=u.commaSeparated;x.exports=y({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:v,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:D,acceptCharset:z,accessKey:z,action:null,allow:null,allowFullScreen:b,allowPaymentRequest:b,allowUserMedia:b,alt:null,as:null,async:b,autoCapitalize:null,autoComplete:z,autoFocus:b,autoPlay:b,capture:b,charSet:null,checked:b,cite:null,className:z,cols:R,colSpan:null,content:null,contentEditable:f,controls:b,controlsList:z,coords:R|D,crossOrigin:null,data:null,dateTime:null,decoding:null,default:b,defer:b,dir:null,dirName:null,disabled:b,download:k,draggable:f,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:b,formTarget:null,headers:z,height:R,hidden:b,high:R,href:null,hrefLang:null,htmlFor:z,httpEquiv:z,id:null,imageSizes:null,imageSrcSet:D,inputMode:null,integrity:null,is:null,isMap:b,itemId:null,itemProp:z,itemRef:z,itemScope:b,itemType:z,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:b,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:b,muted:b,name:null,nonce:null,noModule:b,noValidate:b,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:b,optimum:R,pattern:null,ping:z,placeholder:null,playsInline:b,poster:null,preload:null,readOnly:b,referrerPolicy:null,rel:z,required:b,reversed:b,rows:R,rowSpan:R,sandbox:z,scope:null,scoped:b,seamless:b,selected:b,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:f,src:null,srcDoc:null,srcLang:null,srcSet:D,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:b,useMap:null,value:f,width:R,wrap:null,align:null,aLink:null,archive:z,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:b,declare:b,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:b,noHref:b,noShade:b,noWrap:b,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:f,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:b,disableRemotePlayback:b,prefix:null,property:null,results:R,security:null,unselectable:null}})},85804:function(x,c,r){"use strict";var u=r(56432);x.exports=y;function y(v,b){return u(v,b.toLowerCase())}},56432:function(x){"use strict";x.exports=c;function c(r,u){return u in r?r[u]:u}},79318:function(x,c,r){"use strict";var u=r(47178),y=r(44347),v=r(19095);x.exports=b;function b(k){var f=k.space,R=k.mustUseProperty||[],z=k.attributes||{},D=k.properties,I=k.transform,ae={},G={},be,ce;for(be in D)ce=new v(be,I(z,be),D[be],f),R.indexOf(be)!==-1&&(ce.mustUseProperty=!0),ae[be]=ce,G[u(be)]=be,G[u(ce.attribute)]=be;return new y(ae,G,f)}},19095:function(x,c,r){"use strict";var u=r(1969),y=r(70167);x.exports=k,k.prototype=new u,k.prototype.defined=!0;var v=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],b=v.length;function k(R,z,D,I){var ae=-1,G;for(f(this,"space",I),u.call(this,R,z);++ae<b;)G=v[ae],f(this,G,(D&y[G])===y[G])}function f(R,z,D){D&&(R[z]=D)}},1969:function(x){"use strict";x.exports=r;var c=r.prototype;c.space=null,c.attribute=null,c.property=null,c.boolean=!1,c.booleanish=!1,c.overloadedBoolean=!1,c.number=!1,c.commaSeparated=!1,c.spaceSeparated=!1,c.commaOrSpaceSeparated=!1,c.mustUseProperty=!1,c.defined=!1;function r(u,y){this.property=u,this.attribute=y}},83576:function(x,c,r){"use strict";var u=r(97270),y=r(44347);x.exports=v;function v(b){for(var k=b.length,f=[],R=[],z=-1,D,I;++z<k;)D=b[z],f.push(D.property),R.push(D.normal),I=D.space;return new y(u.apply(null,f),u.apply(null,R),I)}},44347:function(x){"use strict";x.exports=r;var c=r.prototype;c.space=null,c.normal={},c.property={};function r(u,y,v){this.property=u,this.normal=y,v&&(this.space=v)}},70167:function(x,c){"use strict";var r=0;c.boolean=u(),c.booleanish=u(),c.overloadedBoolean=u(),c.number=u(),c.spaceSeparated=u(),c.commaSeparated=u(),c.commaOrSpaceSeparated=u();function u(){return Math.pow(2,++r)}},8179:function(x,c,r){"use strict";var u=r(79318);x.exports=u({space:"xlink",transform:y,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function y(v,b){return"xlink:"+b.slice(5).toLowerCase()}},59780:function(x,c,r){"use strict";var u=r(79318);x.exports=u({space:"xml",transform:y,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function y(v,b){return"xml:"+b.slice(3).toLowerCase()}},68244:function(x,c,r){"use strict";var u=r(79318),y=r(85804);x.exports=u({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:y,properties:{xmlns:null,xmlnsXLink:null}})},47178:function(x){"use strict";x.exports=c;function c(r){return r.toLowerCase()}},66042:function(x,c,r){"use strict";r.d(c,{Z:function(){return le}});var u=r(33885),y=r(42978),v=r(43403),b=r(34280),k=r(59301),f=k.createContext(null),R=k.createContext({}),z=f,D=r(20068),I=r(54476),ae=r(92310),G=r.n(ae),be=r(77900),ce=r(10228),ue=r(26112),te=r(75931),X=r(8654),q=["prefixCls","className","containerRef"],Z=function(ge){var Le=ge.prefixCls,Re=ge.className,Ie=ge.containerRef,He=(0,te.Z)(ge,q),oe=k.useContext(R),F=oe.panel,L=(0,X.x1)(F,Ie);return k.createElement("div",(0,I.Z)({className:G()("".concat(Le,"-content"),Re),role:"dialog",ref:L},(0,ue.Z)(ge,{aria:!0}),{"aria-modal":"true"},He))},j=Z,P=r(48736);function U(ne){return typeof ne=="string"&&String(Number(ne))===ne?((0,P.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ne)):ne}function _(ne){warning(!("wrapperClassName"in ne),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ne.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var J={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function de(ne,ge){var Le,Re,Ie,He=ne.prefixCls,oe=ne.open,F=ne.placement,L=ne.inline,we=ne.push,Ue=ne.forceRender,Ne=ne.autoFocus,xt=ne.keyboard,pt=ne.classNames,Lt=ne.rootClassName,ze=ne.rootStyle,Te=ne.zIndex,_e=ne.className,$e=ne.id,St=ne.style,A=ne.motion,p=ne.width,d=ne.height,T=ne.children,O=ne.mask,g=ne.maskClosable,M=ne.maskMotion,xe=ne.maskClassName,tt=ne.maskStyle,nt=ne.afterOpenChange,Ee=ne.onClose,Be=ne.onMouseEnter,Oe=ne.onMouseOver,qe=ne.onMouseLeave,lt=ne.onClick,Ge=ne.onKeyDown,pe=ne.onKeyUp,rt=ne.styles,st=ne.drawerRender,Ve=k.useRef(),at=k.useRef(),Nt=k.useRef();k.useImperativeHandle(ge,function(){return Ve.current});var it=function(Dt){var Qt=Dt.keyCode,wn=Dt.shiftKey;switch(Qt){case ce.Z.TAB:{if(Qt===ce.Z.TAB){if(!wn&&document.activeElement===Nt.current){var un;(un=at.current)===null||un===void 0||un.focus({preventScroll:!0})}else if(wn&&document.activeElement===at.current){var dn;(dn=Nt.current)===null||dn===void 0||dn.focus({preventScroll:!0})}}break}case ce.Z.ESC:{Ee&&xt&&(Dt.stopPropagation(),Ee(Dt));break}}};k.useEffect(function(){if(oe&&Ne){var Ft;(Ft=Ve.current)===null||Ft===void 0||Ft.focus({preventScroll:!0})}},[oe]);var Q=k.useState(!1),Et=(0,y.Z)(Q,2),wt=Et[0],ye=Et[1],zt=k.useContext(z),nn;typeof we=="boolean"?nn=we?{}:{distance:0}:nn=we||{};var Xt=(Le=(Re=(Ie=nn)===null||Ie===void 0?void 0:Ie.distance)!==null&&Re!==void 0?Re:zt==null?void 0:zt.pushDistance)!==null&&Le!==void 0?Le:180,je=k.useMemo(function(){return{pushDistance:Xt,push:function(){ye(!0)},pull:function(){ye(!1)}}},[Xt]);k.useEffect(function(){if(oe){var Ft;zt==null||(Ft=zt.push)===null||Ft===void 0||Ft.call(zt)}else{var Dt;zt==null||(Dt=zt.pull)===null||Dt===void 0||Dt.call(zt)}},[oe]),k.useEffect(function(){return function(){var Ft;zt==null||(Ft=zt.pull)===null||Ft===void 0||Ft.call(zt)}},[]);var En=O&&k.createElement(be.default,(0,I.Z)({key:"mask"},M,{visible:oe}),function(Ft,Dt){var Qt=Ft.className,wn=Ft.style;return k.createElement("div",{className:G()("".concat(He,"-mask"),Qt,pt==null?void 0:pt.mask,xe),style:(0,u.Z)((0,u.Z)((0,u.Z)({},wn),tt),rt==null?void 0:rt.mask),onClick:g&&oe?Ee:void 0,ref:Dt})}),hn=typeof A=="function"?A(F):A,Ht={};if(wt&&Xt)switch(F){case"top":Ht.transform="translateY(".concat(Xt,"px)");break;case"bottom":Ht.transform="translateY(".concat(-Xt,"px)");break;case"left":Ht.transform="translateX(".concat(Xt,"px)");break;default:Ht.transform="translateX(".concat(-Xt,"px)");break}F==="left"||F==="right"?Ht.width=U(p):Ht.height=U(d);var Kt={onMouseEnter:Be,onMouseOver:Oe,onMouseLeave:qe,onClick:lt,onKeyDown:Ge,onKeyUp:pe},gn=k.createElement(be.default,(0,I.Z)({key:"panel"},hn,{visible:oe,forceRender:Ue,onVisibleChanged:function(Dt){nt==null||nt(Dt)},removeOnLeave:!1,leavedClassName:"".concat(He,"-content-wrapper-hidden")}),function(Ft,Dt){var Qt=Ft.className,wn=Ft.style,un=k.createElement(j,(0,I.Z)({id:$e,containerRef:Dt,prefixCls:He,className:G()(_e,pt==null?void 0:pt.content),style:(0,u.Z)((0,u.Z)({},St),rt==null?void 0:rt.content)},(0,ue.Z)(ne,{aria:!0}),Kt),T);return k.createElement("div",(0,I.Z)({className:G()("".concat(He,"-content-wrapper"),pt==null?void 0:pt.wrapper,Qt),style:(0,u.Z)((0,u.Z)((0,u.Z)({},Ht),wn),rt==null?void 0:rt.wrapper)},(0,ue.Z)(ne,{data:!0})),st?st(un):un)}),Wt=(0,u.Z)({},ze);return Te&&(Wt.zIndex=Te),k.createElement(z.Provider,{value:je},k.createElement("div",{className:G()(He,"".concat(He,"-").concat(F),Lt,(0,D.Z)((0,D.Z)({},"".concat(He,"-open"),oe),"".concat(He,"-inline"),L)),style:Wt,tabIndex:-1,ref:Ve,onKeyDown:it},En,k.createElement("div",{tabIndex:0,ref:at,style:J,"aria-hidden":"true","data-sentinel":"start"}),gn,k.createElement("div",{tabIndex:0,ref:Nt,style:J,"aria-hidden":"true","data-sentinel":"end"})))}var H=k.forwardRef(de),fe=H,re=function(ge){var Le=ge.open,Re=Le===void 0?!1:Le,Ie=ge.prefixCls,He=Ie===void 0?"rc-drawer":Ie,oe=ge.placement,F=oe===void 0?"right":oe,L=ge.autoFocus,we=L===void 0?!0:L,Ue=ge.keyboard,Ne=Ue===void 0?!0:Ue,xt=ge.width,pt=xt===void 0?378:xt,Lt=ge.mask,ze=Lt===void 0?!0:Lt,Te=ge.maskClosable,_e=Te===void 0?!0:Te,$e=ge.getContainer,St=ge.forceRender,A=ge.afterOpenChange,p=ge.destroyOnClose,d=ge.onMouseEnter,T=ge.onMouseOver,O=ge.onMouseLeave,g=ge.onClick,M=ge.onKeyDown,xe=ge.onKeyUp,tt=ge.panelRef,nt=k.useState(!1),Ee=(0,y.Z)(nt,2),Be=Ee[0],Oe=Ee[1],qe=k.useState(!1),lt=(0,y.Z)(qe,2),Ge=lt[0],pe=lt[1];(0,b.Z)(function(){pe(!0)},[]);var rt=Ge?Re:!1,st=k.useRef(),Ve=k.useRef();(0,b.Z)(function(){rt&&(Ve.current=document.activeElement)},[rt]);var at=function(wt){var ye;if(Oe(wt),A==null||A(wt),!wt&&Ve.current&&!((ye=st.current)!==null&&ye!==void 0&&ye.contains(Ve.current))){var zt;(zt=Ve.current)===null||zt===void 0||zt.focus({preventScroll:!0})}},Nt=k.useMemo(function(){return{panel:tt}},[tt]);if(!St&&!Be&&!rt&&p)return null;var it={onMouseEnter:d,onMouseOver:T,onMouseLeave:O,onClick:g,onKeyDown:M,onKeyUp:xe},Q=(0,u.Z)((0,u.Z)({},ge),{},{open:rt,prefixCls:He,placement:F,autoFocus:we,keyboard:Ne,width:pt,mask:ze,maskClosable:_e,inline:$e===!1,afterOpenChange:at,ref:st},it);return k.createElement(R.Provider,{value:Nt},k.createElement(v.Z,{open:rt||St||Be,autoDestroy:!1,getContainer:$e,autoLock:ze&&(rt||Be)},k.createElement(fe,Q)))},V=re,le=V},91574:function(x,c,r){"use strict";r.d(c,{Z:function(){return lt}});var u=r(54476),y=r(33885),v=r(20068),b=r(42978),k=r(76190),f=r(75931),R=r(92310),z=r.n(R),D=/margin|padding|width|height|max|min|offset/,I={left:!0,top:!0},ae={cssFloat:1,styleFloat:1,float:1};function G(Ge){return Ge.nodeType===1?Ge.ownerDocument.defaultView.getComputedStyle(Ge,null):{}}function be(Ge,pe,rt){if(pe=pe.toLowerCase(),rt==="auto"){if(pe==="height")return Ge.offsetHeight;if(pe==="width")return Ge.offsetWidth}return pe in I||(I[pe]=D.test(pe)),I[pe]?parseFloat(rt)||0:rt}function ce(Ge,pe){var rt=arguments.length,st=G(Ge);return pe=ae[pe]?"cssFloat"in Ge.style?"cssFloat":"styleFloat":pe,rt===1?st:be(Ge,pe,st[pe]||Ge.style[pe])}function ue(Ge,pe,rt){var st=arguments.length;if(pe=ae[pe]?"cssFloat"in Ge.style?"cssFloat":"styleFloat":pe,st===3)return typeof rt=="number"&&D.test(pe)&&(rt="".concat(rt,"px")),Ge.style[pe]=rt,rt;for(var Ve in pe)pe.hasOwnProperty(Ve)&&ue(Ge,Ve,pe[Ve]);return G(Ge)}function te(Ge){return Ge===document.body?document.documentElement.clientWidth:Ge.offsetWidth}function X(Ge){return Ge===document.body?window.innerHeight||document.documentElement.clientHeight:Ge.offsetHeight}function q(){var Ge=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),pe=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ge,height:pe}}function Z(){var Ge=document.documentElement.clientWidth,pe=window.innerHeight||document.documentElement.clientHeight;return{width:Ge,height:pe}}function j(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function P(Ge){var pe=Ge.getBoundingClientRect(),rt=document.documentElement;return{left:pe.left+(window.pageXOffset||rt.scrollLeft)-(rt.clientLeft||document.body.clientLeft||0),top:pe.top+(window.pageYOffset||rt.scrollTop)-(rt.clientTop||document.body.clientTop||0)}}var U=r(18929),_=r(59301),J=r(55311),de=r(8224),H=r(10228),fe=r(43403),re=r(77900),V=_.createContext(null),le=function(pe){var rt=pe.visible,st=pe.maskTransitionName,Ve=pe.getContainer,at=pe.prefixCls,Nt=pe.rootClassName,it=pe.icons,Q=pe.countRender,Et=pe.showSwitch,wt=pe.showProgress,ye=pe.current,zt=pe.transform,nn=pe.count,Xt=pe.scale,je=pe.minScale,En=pe.maxScale,hn=pe.closeIcon,Ht=pe.onActive,Kt=pe.onClose,gn=pe.onZoomIn,Wt=pe.onZoomOut,Ft=pe.onRotateRight,Dt=pe.onRotateLeft,Qt=pe.onFlipX,wn=pe.onFlipY,un=pe.onReset,dn=pe.toolbarRender,Lr=pe.zIndex,_n=pe.image,Vn=(0,_.useContext)(V),gr=it.rotateLeft,xr=it.rotateRight,Xn=it.zoomIn,Cn=it.zoomOut,On=it.close,Hn=it.left,Zt=it.right,Rn=it.flipX,mr=it.flipY,Or="".concat(at,"-operations-operation");_.useEffect(function(){var Ze=function(jt){jt.keyCode===H.Z.ESC&&Kt()};return rt&&window.addEventListener("keydown",Ze),function(){window.removeEventListener("keydown",Ze)}},[rt]);var Pe=function(xn,jt){xn.preventDefault(),xn.stopPropagation(),Ht(jt)},De=_.useCallback(function(Ze){var xn=Ze.type,jt=Ze.disabled,fn=Ze.onClick,an=Ze.icon;return _.createElement("div",{key:xn,className:z()(Or,"".concat(at,"-operations-operation-").concat(xn),(0,v.Z)({},"".concat(at,"-operations-operation-disabled"),!!jt)),onClick:fn},an)},[Or,at]),Bt=Et?De({icon:Hn,onClick:function(xn){return Pe(xn,-1)},type:"prev",disabled:ye===0}):void 0,Rt=Et?De({icon:Zt,onClick:function(xn){return Pe(xn,1)},type:"next",disabled:ye===nn-1}):void 0,me=De({icon:mr,onClick:wn,type:"flipY"}),Ct=De({icon:Rn,onClick:Qt,type:"flipX"}),_t=De({icon:gr,onClick:Dt,type:"rotateLeft"}),Ce=De({icon:xr,onClick:Ft,type:"rotateRight"}),m=De({icon:Cn,onClick:Wt,type:"zoomOut",disabled:Xt<=je}),Yt=De({icon:Xn,onClick:gn,type:"zoomIn",disabled:Xt===En}),qt=_.createElement("div",{className:"".concat(at,"-operations")},me,Ct,_t,Ce,m,Yt);return _.createElement(re.default,{visible:rt,motionName:st},function(Ze){var xn=Ze.className,jt=Ze.style;return _.createElement(fe.Z,{open:!0,getContainer:Ve!=null?Ve:document.body},_.createElement("div",{className:z()("".concat(at,"-operations-wrapper"),xn,Nt),style:(0,y.Z)((0,y.Z)({},jt),{},{zIndex:Lr})},hn===null?null:_.createElement("button",{className:"".concat(at,"-close"),onClick:Kt},hn||On),Et&&_.createElement(_.Fragment,null,_.createElement("div",{className:z()("".concat(at,"-switch-left"),(0,v.Z)({},"".concat(at,"-switch-left-disabled"),ye===0)),onClick:function(an){return Pe(an,-1)}},Hn),_.createElement("div",{className:z()("".concat(at,"-switch-right"),(0,v.Z)({},"".concat(at,"-switch-right-disabled"),ye===nn-1)),onClick:function(an){return Pe(an,1)}},Zt)),_.createElement("div",{className:"".concat(at,"-footer")},wt&&_.createElement("div",{className:"".concat(at,"-progress")},Q?Q(ye+1,nn):"".concat(ye+1," / ").concat(nn)),dn?dn(qt,(0,y.Z)((0,y.Z)({icons:{prevIcon:Bt,nextIcon:Rt,flipYIcon:me,flipXIcon:Ct,rotateLeftIcon:_t,rotateRightIcon:Ce,zoomOutIcon:m,zoomInIcon:Yt},actions:{onActive:Ht,onFlipY:wn,onFlipX:Qt,onRotateLeft:Dt,onRotateRight:Ft,onZoomOut:Wt,onZoomIn:gn,onReset:un,onClose:Kt},transform:zt},Vn?{current:ye,total:nn}:{}),{},{image:_n})):qt)))})},ne=le,ge=r(13697),Le=r(16089),Re={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ie(Ge,pe,rt,st){var Ve=(0,_.useRef)(null),at=(0,_.useRef)([]),Nt=(0,_.useState)(Re),it=(0,b.Z)(Nt,2),Q=it[0],Et=it[1],wt=function(Xt){Et(Re),(0,ge.Z)(Re,Q)||st==null||st({transform:Re,action:Xt})},ye=function(Xt,je){Ve.current===null&&(at.current=[],Ve.current=(0,Le.Z)(function(){Et(function(En){var hn=En;return at.current.forEach(function(Ht){hn=(0,y.Z)((0,y.Z)({},hn),Ht)}),Ve.current=null,st==null||st({transform:hn,action:je}),hn})})),at.current.push((0,y.Z)((0,y.Z)({},Q),Xt))},zt=function(Xt,je,En,hn,Ht){var Kt=Ge.current,gn=Kt.width,Wt=Kt.height,Ft=Kt.offsetWidth,Dt=Kt.offsetHeight,Qt=Kt.offsetLeft,wn=Kt.offsetTop,un=Xt,dn=Q.scale*Xt;dn>rt?(dn=rt,un=rt/Q.scale):dn<pe&&(dn=Ht?dn:pe,un=dn/Q.scale);var Lr=En!=null?En:innerWidth/2,_n=hn!=null?hn:innerHeight/2,Vn=un-1,gr=Vn*gn*.5,xr=Vn*Wt*.5,Xn=Vn*(Lr-Q.x-Qt),Cn=Vn*(_n-Q.y-wn),On=Q.x-(Xn-gr),Hn=Q.y-(Cn-xr);if(Xt<1&&dn===1){var Zt=Ft*dn,Rn=Dt*dn,mr=Z(),Or=mr.width,Pe=mr.height;Zt<=Or&&Rn<=Pe&&(On=0,Hn=0)}ye({x:On,y:Hn,scale:dn},je)};return{transform:Q,resetTransform:wt,updateTransform:ye,dispatchZoomChange:zt}}var He=r(48736);function oe(Ge,pe,rt,st){var Ve=pe+rt,at=(rt-st)/2;if(rt>st){if(pe>0)return(0,v.Z)({},Ge,at);if(pe<0&&Ve<st)return(0,v.Z)({},Ge,-at)}else if(pe<0||Ve>st)return(0,v.Z)({},Ge,pe<0?at:-at);return{}}function F(Ge,pe,rt,st){var Ve=Z(),at=Ve.width,Nt=Ve.height,it=null;return Ge<=at&&pe<=Nt?it={x:0,y:0}:(Ge>at||pe>Nt)&&(it=(0,y.Z)((0,y.Z)({},oe("x",rt,Ge,at)),oe("y",st,pe,Nt))),it}var L=1,we=1;function Ue(Ge,pe,rt,st,Ve,at,Nt){var it=Ve.rotate,Q=Ve.scale,Et=Ve.x,wt=Ve.y,ye=(0,_.useState)(!1),zt=(0,b.Z)(ye,2),nn=zt[0],Xt=zt[1],je=(0,_.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),En=function(Wt){!pe||Wt.button!==0||(Wt.preventDefault(),Wt.stopPropagation(),je.current={diffX:Wt.pageX-Et,diffY:Wt.pageY-wt,transformX:Et,transformY:wt},Xt(!0))},hn=function(Wt){rt&&nn&&at({x:Wt.pageX-je.current.diffX,y:Wt.pageY-je.current.diffY},"move")},Ht=function(){if(rt&&nn){Xt(!1);var Wt=je.current,Ft=Wt.transformX,Dt=Wt.transformY,Qt=Et!==Ft&&wt!==Dt;if(!Qt)return;var wn=Ge.current.offsetWidth*Q,un=Ge.current.offsetHeight*Q,dn=Ge.current.getBoundingClientRect(),Lr=dn.left,_n=dn.top,Vn=it%180!==0,gr=F(Vn?un:wn,Vn?wn:un,Lr,_n);gr&&at((0,y.Z)({},gr),"dragRebound")}},Kt=function(Wt){if(!(!rt||Wt.deltaY==0)){var Ft=Math.abs(Wt.deltaY/100),Dt=Math.min(Ft,we),Qt=L+Dt*st;Wt.deltaY>0&&(Qt=L/Qt),Nt(Qt,"wheel",Wt.clientX,Wt.clientY)}};return(0,_.useEffect)(function(){var gn,Wt,Ft,Dt;if(pe){Ft=(0,de.Z)(window,"mouseup",Ht,!1),Dt=(0,de.Z)(window,"mousemove",hn,!1);try{window.top!==window.self&&(gn=(0,de.Z)(window.top,"mouseup",Ht,!1),Wt=(0,de.Z)(window.top,"mousemove",hn,!1))}catch(Qt){(0,He.Kp)(!1,"[rc-image] ".concat(Qt))}}return function(){var Qt,wn,un,dn;(Qt=Ft)===null||Qt===void 0||Qt.remove(),(wn=Dt)===null||wn===void 0||wn.remove(),(un=gn)===null||un===void 0||un.remove(),(dn=Wt)===null||dn===void 0||dn.remove()}},[rt,nn,Et,wt,it,pe]),{isMoving:nn,onMouseDown:En,onMouseMove:hn,onMouseUp:Ht,onWheel:Kt}}function Ne(Ge){return new Promise(function(pe){if(!Ge){pe(!1);return}var rt=document.createElement("img");rt.onerror=function(){return pe(!1)},rt.onload=function(){return pe(!0)},rt.src=Ge})}function xt(Ge){var pe=Ge.src,rt=Ge.isCustomPlaceholder,st=Ge.fallback,Ve=(0,_.useState)(rt?"loading":"normal"),at=(0,b.Z)(Ve,2),Nt=at[0],it=at[1],Q=(0,_.useRef)(!1),Et=Nt==="error";(0,_.useEffect)(function(){var nn=!0;return Ne(pe).then(function(Xt){!Xt&&nn&&it("error")}),function(){nn=!1}},[pe]),(0,_.useEffect)(function(){rt&&!Q.current?it("loading"):Et&&it("normal")},[pe]);var wt=function(){it("normal")},ye=function(Xt){Q.current=!1,Nt==="loading"&&Xt!==null&&Xt!==void 0&&Xt.complete&&(Xt.naturalWidth||Xt.naturalHeight)&&(Q.current=!0,wt())},zt=Et&&st?{src:st}:{onLoad:wt,src:pe};return[ye,zt,Nt]}function pt(Ge,pe){var rt=Ge.x-pe.x,st=Ge.y-pe.y;return Math.hypot(rt,st)}function Lt(Ge,pe,rt,st){var Ve=pt(Ge,rt),at=pt(pe,st);if(Ve===0&&at===0)return[Ge.x,Ge.y];var Nt=Ve/(Ve+at),it=Ge.x+Nt*(pe.x-Ge.x),Q=Ge.y+Nt*(pe.y-Ge.y);return[it,Q]}function ze(Ge,pe,rt,st,Ve,at,Nt){var it=Ve.rotate,Q=Ve.scale,Et=Ve.x,wt=Ve.y,ye=(0,_.useState)(!1),zt=(0,b.Z)(ye,2),nn=zt[0],Xt=zt[1],je=(0,_.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),En=function(Wt){je.current=(0,y.Z)((0,y.Z)({},je.current),Wt)},hn=function(Wt){if(pe){Wt.stopPropagation(),Xt(!0);var Ft=Wt.touches,Dt=Ft===void 0?[]:Ft;Dt.length>1?En({point1:{x:Dt[0].clientX,y:Dt[0].clientY},point2:{x:Dt[1].clientX,y:Dt[1].clientY},eventType:"touchZoom"}):En({point1:{x:Dt[0].clientX-Et,y:Dt[0].clientY-wt},eventType:"move"})}},Ht=function(Wt){var Ft=Wt.touches,Dt=Ft===void 0?[]:Ft,Qt=je.current,wn=Qt.point1,un=Qt.point2,dn=Qt.eventType;if(Dt.length>1&&dn==="touchZoom"){var Lr={x:Dt[0].clientX,y:Dt[0].clientY},_n={x:Dt[1].clientX,y:Dt[1].clientY},Vn=Lt(wn,un,Lr,_n),gr=(0,b.Z)(Vn,2),xr=gr[0],Xn=gr[1],Cn=pt(Lr,_n)/pt(wn,un);Nt(Cn,"touchZoom",xr,Xn,!0),En({point1:Lr,point2:_n,eventType:"touchZoom"})}else dn==="move"&&(at({x:Dt[0].clientX-wn.x,y:Dt[0].clientY-wn.y},"move"),En({eventType:"move"}))},Kt=function(){if(rt){if(nn&&Xt(!1),En({eventType:"none"}),st>Q)return at({x:0,y:0,scale:st},"touchZoom");var Wt=Ge.current.offsetWidth*Q,Ft=Ge.current.offsetHeight*Q,Dt=Ge.current.getBoundingClientRect(),Qt=Dt.left,wn=Dt.top,un=it%180!==0,dn=F(un?Ft:Wt,un?Wt:Ft,Qt,wn);dn&&at((0,y.Z)({},dn),"dragRebound")}};return(0,_.useEffect)(function(){var gn;return rt&&pe&&(gn=(0,de.Z)(window,"touchmove",function(Wt){return Wt.preventDefault()},{passive:!1})),function(){var Wt;(Wt=gn)===null||Wt===void 0||Wt.remove()}},[rt,pe]),{isTouching:nn,onTouchStart:hn,onTouchMove:Ht,onTouchEnd:Kt}}var Te=["fallback","src","imgRef"],_e=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],$e=function(pe){var rt=pe.fallback,st=pe.src,Ve=pe.imgRef,at=(0,f.Z)(pe,Te),Nt=xt({src:st,fallback:rt}),it=(0,b.Z)(Nt,2),Q=it[0],Et=it[1];return _.createElement("img",(0,u.Z)({ref:function(ye){Ve.current=ye,Q(ye)}},at,Et))},St=function(pe){var rt=pe.prefixCls,st=pe.src,Ve=pe.alt,at=pe.imageInfo,Nt=pe.fallback,it=pe.movable,Q=it===void 0?!0:it,Et=pe.onClose,wt=pe.visible,ye=pe.icons,zt=ye===void 0?{}:ye,nn=pe.rootClassName,Xt=pe.closeIcon,je=pe.getContainer,En=pe.current,hn=En===void 0?0:En,Ht=pe.count,Kt=Ht===void 0?1:Ht,gn=pe.countRender,Wt=pe.scaleStep,Ft=Wt===void 0?.5:Wt,Dt=pe.minScale,Qt=Dt===void 0?1:Dt,wn=pe.maxScale,un=wn===void 0?50:wn,dn=pe.transitionName,Lr=dn===void 0?"zoom":dn,_n=pe.maskTransitionName,Vn=_n===void 0?"fade":_n,gr=pe.imageRender,xr=pe.imgCommonProps,Xn=pe.toolbarRender,Cn=pe.onTransform,On=pe.onChange,Hn=(0,f.Z)(pe,_e),Zt=(0,_.useRef)(),Rn=(0,_.useContext)(V),mr=Rn&&Kt>1,Or=Rn&&Kt>=1,Pe=(0,_.useState)(!0),De=(0,b.Z)(Pe,2),Bt=De[0],Rt=De[1],me=Ie(Zt,Qt,un,Cn),Ct=me.transform,_t=me.resetTransform,Ce=me.updateTransform,m=me.dispatchZoomChange,Yt=Ue(Zt,Q,wt,Ft,Ct,Ce,m),qt=Yt.isMoving,Ze=Yt.onMouseDown,xn=Yt.onWheel,jt=ze(Zt,Q,wt,Qt,Ct,Ce,m),fn=jt.isTouching,an=jt.onTouchStart,he=jt.onTouchMove,Sn=jt.onTouchEnd,or=Ct.rotate,on=Ct.scale,Jt=z()((0,v.Z)({},"".concat(rt,"-moving"),qt));(0,_.useEffect)(function(){Bt||Rt(!0)},[Bt]);var Tn=function(){_t("close")},en=function(){m(L+Ft,"zoomIn")},Yn=function(){m(L/(L+Ft),"zoomOut")},Sr=function(){Ce({rotate:or+90},"rotateRight")},br=function(){Ce({rotate:or-90},"rotateLeft")},_r=function(){Ce({flipX:!Ct.flipX},"flipX")},zr=function(){Ce({flipY:!Ct.flipY},"flipY")},Br=function(){_t("reset")},vr=function(dr){var yr=hn+dr;!Number.isInteger(yr)||yr<0||yr>Kt-1||(Rt(!1),_t(dr<0?"prev":"next"),On==null||On(yr,hn))},Gr=function(dr){!wt||!mr||(dr.keyCode===H.Z.LEFT?vr(-1):dr.keyCode===H.Z.RIGHT&&vr(1))},Wr=function(dr){wt&&(on!==1?Ce({x:0,y:0,scale:1},"doubleClick"):m(L+Ft,"doubleClick",dr.clientX,dr.clientY))};(0,_.useEffect)(function(){var zn=(0,de.Z)(window,"keydown",Gr,!1);return function(){zn.remove()}},[wt,mr,hn]);var mn=_.createElement($e,(0,u.Z)({},xr,{width:pe.width,height:pe.height,imgRef:Zt,className:"".concat(rt,"-img"),alt:Ve,style:{transform:"translate3d(".concat(Ct.x,"px, ").concat(Ct.y,"px, 0) scale3d(").concat(Ct.flipX?"-":"").concat(on,", ").concat(Ct.flipY?"-":"").concat(on,", 1) rotate(").concat(or,"deg)"),transitionDuration:(!Bt||fn)&&"0s"},fallback:Nt,src:st,onWheel:xn,onMouseDown:Ze,onDoubleClick:Wr,onTouchStart:an,onTouchMove:he,onTouchEnd:Sn,onTouchCancel:Sn})),Bn=(0,y.Z)({url:st,alt:Ve},at);return _.createElement(_.Fragment,null,_.createElement(J.Z,(0,u.Z)({transitionName:Lr,maskTransitionName:Vn,closable:!1,keyboard:!0,prefixCls:rt,onClose:Et,visible:wt,classNames:{wrapper:Jt},rootClassName:nn,getContainer:je},Hn,{afterClose:Tn}),_.createElement("div",{className:"".concat(rt,"-img-wrapper")},gr?gr(mn,(0,y.Z)({transform:Ct,image:Bn},Rn?{current:hn}:{})):mn)),_.createElement(ne,{visible:wt,transform:Ct,maskTransitionName:Vn,closeIcon:Xt,getContainer:je,prefixCls:rt,rootClassName:nn,icons:zt,countRender:gn,showSwitch:mr,showProgress:Or,current:hn,count:Kt,scale:on,minScale:Qt,maxScale:un,toolbarRender:Xn,onActive:vr,onZoomIn:en,onZoomOut:Yn,onRotateRight:Sr,onRotateLeft:br,onFlipX:_r,onFlipY:zr,onClose:Et,onReset:Br,zIndex:Hn.zIndex!==void 0?Hn.zIndex+1:void 0,image:Bn}))},A=St,p=r(94480),d=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function T(Ge){var pe=_.useState({}),rt=(0,b.Z)(pe,2),st=rt[0],Ve=rt[1],at=_.useCallback(function(it,Q){return Ve(function(Et){return(0,y.Z)((0,y.Z)({},Et),{},(0,v.Z)({},it,Q))}),function(){Ve(function(Et){var wt=(0,y.Z)({},Et);return delete wt[it],wt})}},[]),Nt=_.useMemo(function(){return Ge?Ge.map(function(it){if(typeof it=="string")return{data:{src:it}};var Q={};return Object.keys(it).forEach(function(Et){["src"].concat((0,p.Z)(d)).includes(Et)&&(Q[Et]=it[Et])}),{data:Q}}):Object.keys(st).reduce(function(it,Q){var Et=st[Q],wt=Et.canPreview,ye=Et.data;return wt&&it.push({data:ye,id:Q}),it},[])},[Ge,st]);return[Nt,at,!!Ge]}var O=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],g=["src"],M=function(pe){var rt,st=pe.previewPrefixCls,Ve=st===void 0?"rc-image-preview":st,at=pe.children,Nt=pe.icons,it=Nt===void 0?{}:Nt,Q=pe.items,Et=pe.preview,wt=pe.fallback,ye=(0,k.Z)(Et)==="object"?Et:{},zt=ye.visible,nn=ye.onVisibleChange,Xt=ye.getContainer,je=ye.current,En=ye.movable,hn=ye.minScale,Ht=ye.maxScale,Kt=ye.countRender,gn=ye.closeIcon,Wt=ye.onChange,Ft=ye.onTransform,Dt=ye.toolbarRender,Qt=ye.imageRender,wn=(0,f.Z)(ye,O),un=T(Q),dn=(0,b.Z)(un,3),Lr=dn[0],_n=dn[1],Vn=dn[2],gr=(0,U.Z)(0,{value:je}),xr=(0,b.Z)(gr,2),Xn=xr[0],Cn=xr[1],On=(0,_.useState)(!1),Hn=(0,b.Z)(On,2),Zt=Hn[0],Rn=Hn[1],mr=((rt=Lr[Xn])===null||rt===void 0?void 0:rt.data)||{},Or=mr.src,Pe=(0,f.Z)(mr,g),De=(0,U.Z)(!!zt,{value:zt,onChange:function(fn,an){nn==null||nn(fn,an,Xn)}}),Bt=(0,b.Z)(De,2),Rt=Bt[0],me=Bt[1],Ct=(0,_.useState)(null),_t=(0,b.Z)(Ct,2),Ce=_t[0],m=_t[1],Yt=_.useCallback(function(jt,fn,an,he){var Sn=Vn?Lr.findIndex(function(or){return or.data.src===fn}):Lr.findIndex(function(or){return or.id===jt});Cn(Sn<0?0:Sn),me(!0),m({x:an,y:he}),Rn(!0)},[Lr,Vn]);_.useEffect(function(){Rt?Zt||Cn(0):Rn(!1)},[Rt]);var qt=function(fn,an){Cn(fn),Wt==null||Wt(fn,an)},Ze=function(){me(!1),m(null)},xn=_.useMemo(function(){return{register:_n,onPreview:Yt}},[_n,Yt]);return _.createElement(V.Provider,{value:xn},at,_.createElement(A,(0,u.Z)({"aria-hidden":!Rt,movable:En,visible:Rt,prefixCls:Ve,closeIcon:gn,onClose:Ze,mousePosition:Ce,imgCommonProps:Pe,src:Or,fallback:wt,icons:it,minScale:hn,maxScale:Ht,getContainer:Xt,current:Xn,count:Lr.length,countRender:Kt,onTransform:Ft,toolbarRender:Dt,imageRender:Qt,onChange:qt},wn)))},xe=M,tt=0;function nt(Ge,pe){var rt=_.useState(function(){return tt+=1,String(tt)}),st=(0,b.Z)(rt,1),Ve=st[0],at=_.useContext(V),Nt={data:pe,canPreview:Ge};return _.useEffect(function(){if(at)return at.register(Ve,Nt)},[]),_.useEffect(function(){at&&at.register(Ve,Nt)},[Ge,pe]),Ve}var Ee=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Be=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Oe=function(pe){var rt=pe.src,st=pe.alt,Ve=pe.onPreviewClose,at=pe.prefixCls,Nt=at===void 0?"rc-image":at,it=pe.previewPrefixCls,Q=it===void 0?"".concat(Nt,"-preview"):it,Et=pe.placeholder,wt=pe.fallback,ye=pe.width,zt=pe.height,nn=pe.style,Xt=pe.preview,je=Xt===void 0?!0:Xt,En=pe.className,hn=pe.onClick,Ht=pe.onError,Kt=pe.wrapperClassName,gn=pe.wrapperStyle,Wt=pe.rootClassName,Ft=(0,f.Z)(pe,Ee),Dt=Et&&Et!==!0,Qt=(0,k.Z)(je)==="object"?je:{},wn=Qt.src,un=Qt.visible,dn=un===void 0?void 0:un,Lr=Qt.onVisibleChange,_n=Lr===void 0?Ve:Lr,Vn=Qt.getContainer,gr=Vn===void 0?void 0:Vn,xr=Qt.mask,Xn=Qt.maskClassName,Cn=Qt.movable,On=Qt.icons,Hn=Qt.scaleStep,Zt=Qt.minScale,Rn=Qt.maxScale,mr=Qt.imageRender,Or=Qt.toolbarRender,Pe=(0,f.Z)(Qt,Be),De=wn!=null?wn:rt,Bt=(0,U.Z)(!!dn,{value:dn,onChange:_n}),Rt=(0,b.Z)(Bt,2),me=Rt[0],Ct=Rt[1],_t=xt({src:rt,isCustomPlaceholder:Dt,fallback:wt}),Ce=(0,b.Z)(_t,3),m=Ce[0],Yt=Ce[1],qt=Ce[2],Ze=(0,_.useState)(null),xn=(0,b.Z)(Ze,2),jt=xn[0],fn=xn[1],an=(0,_.useContext)(V),he=!!je,Sn=function(){Ct(!1),fn(null)},or=z()(Nt,Kt,Wt,(0,v.Z)({},"".concat(Nt,"-error"),qt==="error")),on=(0,_.useMemo)(function(){var Yn={};return d.forEach(function(Sr){pe[Sr]!==void 0&&(Yn[Sr]=pe[Sr])}),Yn},d.map(function(Yn){return pe[Yn]})),Jt=(0,_.useMemo)(function(){return(0,y.Z)((0,y.Z)({},on),{},{src:De})},[De,on]),Tn=nt(he,Jt),en=function(Sr){var br=P(Sr.target),_r=br.left,zr=br.top;an?an.onPreview(Tn,De,_r,zr):(fn({x:_r,y:zr}),Ct(!0)),hn==null||hn(Sr)};return _.createElement(_.Fragment,null,_.createElement("div",(0,u.Z)({},Ft,{className:or,onClick:he?en:hn,style:(0,y.Z)({width:ye,height:zt},gn)}),_.createElement("img",(0,u.Z)({},on,{className:z()("".concat(Nt,"-img"),(0,v.Z)({},"".concat(Nt,"-img-placeholder"),Et===!0),En),style:(0,y.Z)({height:zt},nn),ref:m},Yt,{width:ye,height:zt,onError:Ht})),qt==="loading"&&_.createElement("div",{"aria-hidden":"true",className:"".concat(Nt,"-placeholder")},Et),xr&&he&&_.createElement("div",{className:z()("".concat(Nt,"-mask"),Xn),style:{display:(nn==null?void 0:nn.display)==="none"?"none":void 0}},xr)),!an&&he&&_.createElement(A,(0,u.Z)({"aria-hidden":!me,visible:me,prefixCls:Q,onClose:Sn,mousePosition:jt,src:De,alt:st,imageInfo:{width:ye,height:zt},fallback:wt,getContainer:gr,icons:On,movable:Cn,scaleStep:Hn,minScale:Zt,maxScale:Rn,rootClassName:Wt,imageRender:mr,imgCommonProps:on,toolbarRender:Or},Pe)))};Oe.PreviewGroup=xe;var qe=Oe,lt=qe},20922:function(x,c,r){"use strict";r.d(c,{Z:function(){return ze}});var u=r(54476),y=r(20068),v=r(76190),b=r(42978),k=r(75931),f=r(67732),R=r(83652);function z(){return typeof BigInt=="function"}function D(Te){return!Te&&Te!==0&&!Number.isNaN(Te)||!String(Te).trim()}function I(Te){var _e=Te.trim(),$e=_e.startsWith("-");$e&&(_e=_e.slice(1)),_e=_e.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),_e.startsWith(".")&&(_e="0".concat(_e));var St=_e||"0",A=St.split("."),p=A[0]||"0",d=A[1]||"0";p==="0"&&d==="0"&&($e=!1);var T=$e?"-":"";return{negative:$e,negativeStr:T,trimStr:St,integerStr:p,decimalStr:d,fullStr:"".concat(T).concat(St)}}function ae(Te){var _e=String(Te);return!Number.isNaN(Number(_e))&&_e.includes("e")}function G(Te){var _e=String(Te);if(ae(Te)){var $e=Number(_e.slice(_e.indexOf("e-")+2)),St=_e.match(/\.(\d+)/);return St!=null&&St[1]&&($e+=St[1].length),$e}return _e.includes(".")&&ce(_e)?_e.length-_e.indexOf(".")-1:0}function be(Te){var _e=String(Te);if(ae(Te)){if(Te>Number.MAX_SAFE_INTEGER)return String(z()?BigInt(Te).toString():Number.MAX_SAFE_INTEGER);if(Te<Number.MIN_SAFE_INTEGER)return String(z()?BigInt(Te).toString():Number.MIN_SAFE_INTEGER);_e=Te.toFixed(G(_e))}return I(_e).fullStr}function ce(Te){return typeof Te=="number"?!Number.isNaN(Te):Te?/^\s*-?\d+(\.\d+)?\s*$/.test(Te)||/^\s*-?\d+\.\s*$/.test(Te)||/^\s*-?\.\d+\s*$/.test(Te):!1}var ue=function(){function Te(_e){if((0,f.Z)(this,Te),(0,y.Z)(this,"origin",""),(0,y.Z)(this,"negative",void 0),(0,y.Z)(this,"integer",void 0),(0,y.Z)(this,"decimal",void 0),(0,y.Z)(this,"decimalLen",void 0),(0,y.Z)(this,"empty",void 0),(0,y.Z)(this,"nan",void 0),D(_e)){this.empty=!0;return}if(this.origin=String(_e),_e==="-"||Number.isNaN(_e)){this.nan=!0;return}var $e=_e;if(ae($e)&&($e=Number($e)),$e=typeof $e=="string"?$e:be($e),ce($e)){var St=I($e);this.negative=St.negative;var A=St.trimStr.split(".");this.integer=BigInt(A[0]);var p=A[1]||"0";this.decimal=BigInt(p),this.decimalLen=p.length}else this.nan=!0}return(0,R.Z)(Te,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function($e){var St="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd($e,"0"));return BigInt(St)}},{key:"negate",value:function(){var $e=new Te(this.toString());return $e.negative=!$e.negative,$e}},{key:"cal",value:function($e,St,A){var p=Math.max(this.getDecimalStr().length,$e.getDecimalStr().length),d=this.alignDecimal(p),T=$e.alignDecimal(p),O=St(d,T).toString(),g=A(p),M=I(O),xe=M.negativeStr,tt=M.trimStr,nt="".concat(xe).concat(tt.padStart(g+1,"0"));return new Te("".concat(nt.slice(0,-g),".").concat(nt.slice(-g)))}},{key:"add",value:function($e){if(this.isInvalidate())return new Te($e);var St=new Te($e);return St.isInvalidate()?this:this.cal(St,function(A,p){return A+p},function(A){return A})}},{key:"multi",value:function($e){var St=new Te($e);return this.isInvalidate()||St.isInvalidate()?new Te(NaN):this.cal(St,function(A,p){return A*p},function(A){return A*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function($e){return this.toString()===($e==null?void 0:$e.toString())}},{key:"lessEquals",value:function($e){return this.add($e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return $e?this.isInvalidate()?"":I("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Te}(),te=function(){function Te(_e){if((0,f.Z)(this,Te),(0,y.Z)(this,"origin",""),(0,y.Z)(this,"number",void 0),(0,y.Z)(this,"empty",void 0),D(_e)){this.empty=!0;return}this.origin=String(_e),this.number=Number(_e)}return(0,R.Z)(Te,[{key:"negate",value:function(){return new Te(-this.toNumber())}},{key:"add",value:function($e){if(this.isInvalidate())return new Te($e);var St=Number($e);if(Number.isNaN(St))return this;var A=this.number+St;if(A>Number.MAX_SAFE_INTEGER)return new Te(Number.MAX_SAFE_INTEGER);if(A<Number.MIN_SAFE_INTEGER)return new Te(Number.MIN_SAFE_INTEGER);var p=Math.max(G(this.number),G(St));return new Te(A.toFixed(p))}},{key:"multi",value:function($e){var St=Number($e);if(this.isInvalidate()||Number.isNaN(St))return new Te(NaN);var A=this.number*St;if(A>Number.MAX_SAFE_INTEGER)return new Te(Number.MAX_SAFE_INTEGER);if(A<Number.MIN_SAFE_INTEGER)return new Te(Number.MIN_SAFE_INTEGER);var p=Math.max(G(this.number),G(St));return new Te(A.toFixed(p))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function($e){return this.toNumber()===($e==null?void 0:$e.toNumber())}},{key:"lessEquals",value:function($e){return this.add($e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return $e?this.isInvalidate()?"":be(this.number):this.origin}}]),Te}();function X(Te){return z()?new ue(Te):new te(Te)}function q(Te,_e,$e){var St=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Te==="")return"";var A=I(Te),p=A.negativeStr,d=A.integerStr,T=A.decimalStr,O="".concat(_e).concat(T),g="".concat(p).concat(d);if($e>=0){var M=Number(T[$e]);if(M>=5&&!St){var xe=X(Te).add("".concat(p,"0.").concat("0".repeat($e)).concat(10-M));return q(xe.toString(),_e,$e,St)}return $e===0?g:"".concat(g).concat(_e).concat(T.padEnd($e,"0").slice(0,$e))}return O===".0"?g:"".concat(g).concat(O)}var Z=X,j=r(92310),P=r.n(j),U=r(36901),_=r(34280);function J(Te,_e){return typeof Proxy!="undefined"&&Te?new Proxy(Te,{get:function(St,A){if(_e[A])return _e[A];var p=St[A];return typeof p=="function"?p.bind(St):p}}):Te}var de=r(8654),H=r(59301),fe=r(48736);function re(Te,_e){var $e=(0,H.useRef)(null);function St(){try{var p=Te.selectionStart,d=Te.selectionEnd,T=Te.value,O=T.substring(0,p),g=T.substring(d);$e.current={start:p,end:d,value:T,beforeTxt:O,afterTxt:g}}catch(M){}}function A(){if(Te&&$e.current&&_e)try{var p=Te.value,d=$e.current,T=d.beforeTxt,O=d.afterTxt,g=d.start,M=p.length;if(p.startsWith(T))M=T.length;else if(p.endsWith(O))M=p.length-$e.current.afterTxt.length;else{var xe=T[g-1],tt=p.indexOf(xe,g-1);tt!==-1&&(M=tt+1)}Te.setSelectionRange(M,M)}catch(nt){(0,fe.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(nt.message))}}return[St,A]}var V=r(49658),le=function(){var _e=(0,H.useState)(!1),$e=(0,b.Z)(_e,2),St=$e[0],A=$e[1];return(0,_.Z)(function(){A((0,V.Z)())},[]),St},ne=le,ge=r(16089),Le=200,Re=600;function Ie(Te){var _e=Te.prefixCls,$e=Te.upNode,St=Te.downNode,A=Te.upDisabled,p=Te.downDisabled,d=Te.onStep,T=H.useRef(),O=H.useRef([]),g=H.useRef();g.current=d;var M=function(){clearTimeout(T.current)},xe=function(Ge,pe){Ge.preventDefault(),M(),g.current(pe);function rt(){g.current(pe),T.current=setTimeout(rt,Le)}T.current=setTimeout(rt,Re)};H.useEffect(function(){return function(){M(),O.current.forEach(function(lt){return ge.Z.cancel(lt)})}},[]);var tt=ne();if(tt)return null;var nt="".concat(_e,"-handler"),Ee=P()(nt,"".concat(nt,"-up"),(0,y.Z)({},"".concat(nt,"-up-disabled"),A)),Be=P()(nt,"".concat(nt,"-down"),(0,y.Z)({},"".concat(nt,"-down-disabled"),p)),Oe=function(){return O.current.push((0,ge.Z)(M))},qe={unselectable:"on",role:"button",onMouseUp:Oe,onMouseLeave:Oe};return H.createElement("div",{className:"".concat(nt,"-wrap")},H.createElement("span",(0,u.Z)({},qe,{onMouseDown:function(Ge){xe(Ge,!0)},"aria-label":"Increase Value","aria-disabled":A,className:Ee}),$e||H.createElement("span",{unselectable:"on",className:"".concat(_e,"-handler-up-inner")})),H.createElement("span",(0,u.Z)({},qe,{onMouseDown:function(Ge){xe(Ge,!1)},"aria-label":"Decrease Value","aria-disabled":p,className:Be}),St||H.createElement("span",{unselectable:"on",className:"".concat(_e,"-handler-down-inner")})))}function He(Te){var _e=typeof Te=="number"?be(Te):I(Te).fullStr,$e=_e.includes(".");return $e?I(_e.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Te+"0"}var oe=r(30292),F=function(){var Te=(0,H.useRef)(0),_e=function(){ge.Z.cancel(Te.current)};return(0,H.useEffect)(function(){return _e},[]),function($e){_e(),Te.current=(0,ge.Z)(function(){$e()})}},L=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],we=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Ue=function(_e,$e){return _e||$e.isEmpty()?$e.toString():$e.toNumber()},Ne=function(_e){var $e=Z(_e);return $e.isInvalidate()?null:$e},xt=H.forwardRef(function(Te,_e){var $e=Te.prefixCls,St=Te.className,A=Te.style,p=Te.min,d=Te.max,T=Te.step,O=T===void 0?1:T,g=Te.defaultValue,M=Te.value,xe=Te.disabled,tt=Te.readOnly,nt=Te.upHandler,Ee=Te.downHandler,Be=Te.keyboard,Oe=Te.changeOnWheel,qe=Oe===void 0?!1:Oe,lt=Te.controls,Ge=lt===void 0?!0:lt,pe=Te.classNames,rt=Te.stringMode,st=Te.parser,Ve=Te.formatter,at=Te.precision,Nt=Te.decimalSeparator,it=Te.onChange,Q=Te.onInput,Et=Te.onPressEnter,wt=Te.onStep,ye=Te.changeOnBlur,zt=ye===void 0?!0:ye,nn=Te.domRef,Xt=(0,k.Z)(Te,L),je="".concat($e,"-input"),En=H.useRef(null),hn=H.useState(!1),Ht=(0,b.Z)(hn,2),Kt=Ht[0],gn=Ht[1],Wt=H.useRef(!1),Ft=H.useRef(!1),Dt=H.useRef(!1),Qt=H.useState(function(){return Z(M!=null?M:g)}),wn=(0,b.Z)(Qt,2),un=wn[0],dn=wn[1];function Lr(on){M===void 0&&dn(on)}var _n=H.useCallback(function(on,Jt){if(!Jt)return at>=0?at:Math.max(G(on),G(O))},[at,O]),Vn=H.useCallback(function(on){var Jt=String(on);if(st)return st(Jt);var Tn=Jt;return Nt&&(Tn=Tn.replace(Nt,".")),Tn.replace(/[^\w.-]+/g,"")},[st,Nt]),gr=H.useRef(""),xr=H.useCallback(function(on,Jt){if(Ve)return Ve(on,{userTyping:Jt,input:String(gr.current)});var Tn=typeof on=="number"?be(on):on;if(!Jt){var en=_n(Tn,Jt);if(ce(Tn)&&(Nt||en>=0)){var Yn=Nt||".";Tn=q(Tn,Yn,en)}}return Tn},[Ve,_n,Nt]),Xn=H.useState(function(){var on=g!=null?g:M;return un.isInvalidate()&&["string","number"].includes((0,v.Z)(on))?Number.isNaN(on)?"":on:xr(un.toString(),!1)}),Cn=(0,b.Z)(Xn,2),On=Cn[0],Hn=Cn[1];gr.current=On;function Zt(on,Jt){Hn(xr(on.isInvalidate()?on.toString(!1):on.toString(!Jt),Jt))}var Rn=H.useMemo(function(){return Ne(d)},[d,at]),mr=H.useMemo(function(){return Ne(p)},[p,at]),Or=H.useMemo(function(){return!Rn||!un||un.isInvalidate()?!1:Rn.lessEquals(un)},[Rn,un]),Pe=H.useMemo(function(){return!mr||!un||un.isInvalidate()?!1:un.lessEquals(mr)},[mr,un]),De=re(En.current,Kt),Bt=(0,b.Z)(De,2),Rt=Bt[0],me=Bt[1],Ct=function(Jt){return Rn&&!Jt.lessEquals(Rn)?Rn:mr&&!mr.lessEquals(Jt)?mr:null},_t=function(Jt){return!Ct(Jt)},Ce=function(Jt,Tn){var en=Jt,Yn=_t(en)||en.isEmpty();if(!en.isEmpty()&&!Tn&&(en=Ct(en)||en,Yn=!0),!tt&&!xe&&Yn){var Sr=en.toString(),br=_n(Sr,Tn);return br>=0&&(en=Z(q(Sr,".",br)),_t(en)||(en=Z(q(Sr,".",br,!0)))),en.equals(un)||(Lr(en),it==null||it(en.isEmpty()?null:Ue(rt,en)),M===void 0&&Zt(en,Tn)),en}return un},m=F(),Yt=function on(Jt){if(Rt(),gr.current=Jt,Hn(Jt),!Ft.current){var Tn=Vn(Jt),en=Z(Tn);en.isNaN()||Ce(en,!0)}Q==null||Q(Jt),m(function(){var Yn=Jt;st||(Yn=Jt.replace(/。/g,".")),Yn!==Jt&&on(Yn)})},qt=function(){Ft.current=!0},Ze=function(){Ft.current=!1,Yt(En.current.value)},xn=function(Jt){Yt(Jt.target.value)},jt=function(Jt){var Tn;if(!(Jt&&Or||!Jt&&Pe)){Wt.current=!1;var en=Z(Dt.current?He(O):O);Jt||(en=en.negate());var Yn=(un||Z(0)).add(en.toString()),Sr=Ce(Yn,!1);wt==null||wt(Ue(rt,Sr),{offset:Dt.current?He(O):O,type:Jt?"up":"down"}),(Tn=En.current)===null||Tn===void 0||Tn.focus()}},fn=function(Jt){var Tn=Z(Vn(On)),en;Tn.isNaN()?en=Ce(un,Jt):en=Ce(Tn,Jt),M!==void 0?Zt(un,!1):en.isNaN()||Zt(en,!1)},an=function(){Wt.current=!0},he=function(Jt){var Tn=Jt.key,en=Jt.shiftKey;Wt.current=!0,Dt.current=en,Tn==="Enter"&&(Ft.current||(Wt.current=!1),fn(!1),Et==null||Et(Jt)),Be!==!1&&!Ft.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Tn)&&(jt(Tn==="Up"||Tn==="ArrowUp"),Jt.preventDefault())},Sn=function(){Wt.current=!1,Dt.current=!1};H.useEffect(function(){if(qe&&Kt){var on=function(en){jt(en.deltaY<0),en.preventDefault()},Jt=En.current;if(Jt)return Jt.addEventListener("wheel",on,{passive:!1}),function(){return Jt.removeEventListener("wheel",on)}}});var or=function(){zt&&fn(!1),gn(!1),Wt.current=!1};return(0,_.o)(function(){un.isInvalidate()||Zt(un,!1)},[at,Ve]),(0,_.o)(function(){var on=Z(M);dn(on);var Jt=Z(Vn(On));(!on.equals(Jt)||!Wt.current||Ve)&&Zt(on,Wt.current)},[M]),(0,_.o)(function(){Ve&&me()},[On]),H.createElement("div",{ref:nn,className:P()($e,St,(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},"".concat($e,"-focused"),Kt),"".concat($e,"-disabled"),xe),"".concat($e,"-readonly"),tt),"".concat($e,"-not-a-number"),un.isNaN()),"".concat($e,"-out-of-range"),!un.isInvalidate()&&!_t(un))),style:A,onFocus:function(){gn(!0)},onBlur:or,onKeyDown:he,onKeyUp:Sn,onCompositionStart:qt,onCompositionEnd:Ze,onBeforeInput:an},Ge&&H.createElement(Ie,{prefixCls:$e,upNode:nt,downNode:Ee,upDisabled:Or,downDisabled:Pe,onStep:jt}),H.createElement("div",{className:"".concat(je,"-wrap")},H.createElement("input",(0,u.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":p,"aria-valuemax":d,"aria-valuenow":un.isInvalidate()?null:un.toString(),step:O},Xt,{ref:(0,de.sQ)(En,_e),className:je,value:On,onChange:xn,disabled:xe,readOnly:tt}))))}),pt=H.forwardRef(function(Te,_e){var $e=Te.disabled,St=Te.style,A=Te.prefixCls,p=A===void 0?"rc-input-number":A,d=Te.value,T=Te.prefix,O=Te.suffix,g=Te.addonBefore,M=Te.addonAfter,xe=Te.className,tt=Te.classNames,nt=(0,k.Z)(Te,we),Ee=H.useRef(null),Be=H.useRef(null),Oe=H.useRef(null),qe=function(Ge){Oe.current&&(0,oe.nH)(Oe.current,Ge)};return H.useImperativeHandle(_e,function(){return J(Oe.current,{focus:qe,nativeElement:Ee.current.nativeElement||Be.current})}),H.createElement(U.BaseInput,{className:xe,triggerFocus:qe,prefixCls:p,value:d,disabled:$e,style:St,prefix:T,suffix:O,addonAfter:M,addonBefore:g,classNames:tt,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Ee},H.createElement(xt,(0,u.Z)({prefixCls:p,disabled:$e,ref:Oe,domRef:Be,className:tt==null?void 0:tt.input},nt)))}),Lt=pt,ze=Lt},23425:function(x,c,r){"use strict";r.d(c,{Z:function(){return J}});var u=r(20068),y=r(54476),v=r(76190),b=r(33885),k=r(42978),f=r(92310),R=r.n(f),z=r(18929),D=r(10228),I=r(26112),ae=r(48736),G=r(59301),be=r(17119),ce=[10,20,50,100],ue=function(H){var fe=H.pageSizeOptions,re=fe===void 0?ce:fe,V=H.locale,le=H.changeSize,ne=H.pageSize,ge=H.goButton,Le=H.quickGo,Re=H.rootPrefixCls,Ie=H.disabled,He=H.buildOptionText,oe=H.showSizeChanger,F=H.sizeChangerRender,L=G.useState(""),we=(0,k.Z)(L,2),Ue=we[0],Ne=we[1],xt=function(){return!Ue||Number.isNaN(Ue)?void 0:Number(Ue)},pt=typeof He=="function"?He:function(d){return"".concat(d," ").concat(V.items_per_page)},Lt=function(T){Ne(T.target.value)},ze=function(T){ge||Ue===""||(Ne(""),!(T.relatedTarget&&(T.relatedTarget.className.indexOf("".concat(Re,"-item-link"))>=0||T.relatedTarget.className.indexOf("".concat(Re,"-item"))>=0))&&(Le==null||Le(xt())))},Te=function(T){Ue!==""&&(T.keyCode===D.Z.ENTER||T.type==="click")&&(Ne(""),Le==null||Le(xt()))},_e=function(){return re.some(function(T){return T.toString()===ne.toString()})?re:re.concat([ne]).sort(function(T,O){var g=Number.isNaN(Number(T))?0:Number(T),M=Number.isNaN(Number(O))?0:Number(O);return g-M})},$e="".concat(Re,"-options");if(!oe&&!Le)return null;var St=null,A=null,p=null;return oe&&F&&(St=F({disabled:Ie,size:ne,onSizeChange:function(T){le==null||le(Number(T))},"aria-label":V.page_size,className:"".concat($e,"-size-changer"),options:_e().map(function(d){return{label:pt(d),value:d}})})),Le&&(ge&&(p=typeof ge=="boolean"?G.createElement("button",{type:"button",onClick:Te,onKeyUp:Te,disabled:Ie,className:"".concat($e,"-quick-jumper-button")},V.jump_to_confirm):G.createElement("span",{onClick:Te,onKeyUp:Te},ge)),A=G.createElement("div",{className:"".concat($e,"-quick-jumper")},V.jump_to,G.createElement("input",{disabled:Ie,type:"text",value:Ue,onChange:Lt,onKeyUp:Te,onBlur:ze,"aria-label":V.page}),V.page,p)),G.createElement("li",{className:$e},St,A)},te=ue,X=function(H){var fe=H.rootPrefixCls,re=H.page,V=H.active,le=H.className,ne=H.showTitle,ge=H.onClick,Le=H.onKeyPress,Re=H.itemRender,Ie="".concat(fe,"-item"),He=R()(Ie,"".concat(Ie,"-").concat(re),(0,u.Z)((0,u.Z)({},"".concat(Ie,"-active"),V),"".concat(Ie,"-disabled"),!re),le),oe=function(){ge(re)},F=function(Ue){Le(Ue,ge,re)},L=Re(re,"page",G.createElement("a",{rel:"nofollow"},re));return L?G.createElement("li",{title:ne?String(re):null,className:He,onClick:oe,onKeyDown:F,tabIndex:0},L):null},q=X,Z=function(H,fe,re){return re};function j(){}function P(de){var H=Number(de);return typeof H=="number"&&!Number.isNaN(H)&&isFinite(H)&&Math.floor(H)===H}function U(de,H,fe){var re=typeof de=="undefined"?H:de;return Math.floor((fe-1)/re)+1}var _=function(H){var fe=H.prefixCls,re=fe===void 0?"rc-pagination":fe,V=H.selectPrefixCls,le=V===void 0?"rc-select":V,ne=H.className,ge=H.current,Le=H.defaultCurrent,Re=Le===void 0?1:Le,Ie=H.total,He=Ie===void 0?0:Ie,oe=H.pageSize,F=H.defaultPageSize,L=F===void 0?10:F,we=H.onChange,Ue=we===void 0?j:we,Ne=H.hideOnSinglePage,xt=H.align,pt=H.showPrevNextJumpers,Lt=pt===void 0?!0:pt,ze=H.showQuickJumper,Te=H.showLessItems,_e=H.showTitle,$e=_e===void 0?!0:_e,St=H.onShowSizeChange,A=St===void 0?j:St,p=H.locale,d=p===void 0?be.Z:p,T=H.style,O=H.totalBoundaryShowSizeChanger,g=O===void 0?50:O,M=H.disabled,xe=H.simple,tt=H.showTotal,nt=H.showSizeChanger,Ee=nt===void 0?He>g:nt,Be=H.sizeChangerRender,Oe=H.pageSizeOptions,qe=H.itemRender,lt=qe===void 0?Z:qe,Ge=H.jumpPrevIcon,pe=H.jumpNextIcon,rt=H.prevIcon,st=H.nextIcon,Ve=G.useRef(null),at=(0,z.Z)(10,{value:oe,defaultValue:L}),Nt=(0,k.Z)(at,2),it=Nt[0],Q=Nt[1],Et=(0,z.Z)(1,{value:ge,defaultValue:Re,postState:function(Bn){return Math.max(1,Math.min(Bn,U(void 0,it,He)))}}),wt=(0,k.Z)(Et,2),ye=wt[0],zt=wt[1],nn=G.useState(ye),Xt=(0,k.Z)(nn,2),je=Xt[0],En=Xt[1];(0,G.useEffect)(function(){En(ye)},[ye]);var hn=Ue!==j,Ht="current"in H,Kt=Math.max(1,ye-(Te?3:5)),gn=Math.min(U(void 0,it,He),ye+(Te?3:5));function Wt(mn,Bn){var zn=mn||G.createElement("button",{type:"button","aria-label":Bn,className:"".concat(re,"-item-link")});return typeof mn=="function"&&(zn=G.createElement(mn,(0,b.Z)({},H))),zn}function Ft(mn){var Bn=mn.target.value,zn=U(void 0,it,He),dr;return Bn===""?dr=Bn:Number.isNaN(Number(Bn))?dr=je:Bn>=zn?dr=zn:dr=Number(Bn),dr}function Dt(mn){return P(mn)&&mn!==ye&&P(He)&&He>0}var Qt=He>it?ze:!1;function wn(mn){(mn.keyCode===D.Z.UP||mn.keyCode===D.Z.DOWN)&&mn.preventDefault()}function un(mn){var Bn=Ft(mn);switch(Bn!==je&&En(Bn),mn.keyCode){case D.Z.ENTER:_n(Bn);break;case D.Z.UP:_n(Bn-1);break;case D.Z.DOWN:_n(Bn+1);break;default:break}}function dn(mn){_n(Ft(mn))}function Lr(mn){var Bn=U(mn,it,He),zn=ye>Bn&&Bn!==0?Bn:ye;Q(mn),En(zn),A==null||A(ye,mn),zt(zn),Ue==null||Ue(zn,mn)}function _n(mn){if(Dt(mn)&&!M){var Bn=U(void 0,it,He),zn=mn;return mn>Bn?zn=Bn:mn<1&&(zn=1),zn!==je&&En(zn),zt(zn),Ue==null||Ue(zn,it),zn}return ye}var Vn=ye>1,gr=ye<U(void 0,it,He);function xr(){Vn&&_n(ye-1)}function Xn(){gr&&_n(ye+1)}function Cn(){_n(Kt)}function On(){_n(gn)}function Hn(mn,Bn){if(mn.key==="Enter"||mn.charCode===D.Z.ENTER||mn.keyCode===D.Z.ENTER){for(var zn=arguments.length,dr=new Array(zn>2?zn-2:0),yr=2;yr<zn;yr++)dr[yr-2]=arguments[yr];Bn.apply(void 0,dr)}}function Zt(mn){Hn(mn,xr)}function Rn(mn){Hn(mn,Xn)}function mr(mn){Hn(mn,Cn)}function Or(mn){Hn(mn,On)}function Pe(mn){var Bn=lt(mn,"prev",Wt(rt,"prev page"));return G.isValidElement(Bn)?G.cloneElement(Bn,{disabled:!Vn}):Bn}function De(mn){var Bn=lt(mn,"next",Wt(st,"next page"));return G.isValidElement(Bn)?G.cloneElement(Bn,{disabled:!gr}):Bn}function Bt(mn){(mn.type==="click"||mn.keyCode===D.Z.ENTER)&&_n(je)}var Rt=null,me=(0,I.Z)(H,{aria:!0,data:!0}),Ct=tt&&G.createElement("li",{className:"".concat(re,"-total-text")},tt(He,[He===0?0:(ye-1)*it+1,ye*it>He?He:ye*it])),_t=null,Ce=U(void 0,it,He);if(Ne&&He<=it)return null;var m=[],Yt={rootPrefixCls:re,onClick:_n,onKeyPress:Hn,showTitle:$e,itemRender:lt,page:-1},qt=ye-1>0?ye-1:0,Ze=ye+1<Ce?ye+1:Ce,xn=ze&&ze.goButton,jt=(0,v.Z)(xe)==="object"?xe.readOnly:!xe,fn=xn,an=null;xe&&(xn&&(typeof xn=="boolean"?fn=G.createElement("button",{type:"button",onClick:Bt,onKeyUp:Bt},d.jump_to_confirm):fn=G.createElement("span",{onClick:Bt,onKeyUp:Bt},xn),fn=G.createElement("li",{title:$e?"".concat(d.jump_to).concat(ye,"/").concat(Ce):null,className:"".concat(re,"-simple-pager")},fn)),an=G.createElement("li",{title:$e?"".concat(ye,"/").concat(Ce):null,className:"".concat(re,"-simple-pager")},jt?je:G.createElement("input",{type:"text","aria-label":d.jump_to,value:je,disabled:M,onKeyDown:wn,onKeyUp:un,onChange:un,onBlur:dn,size:3}),G.createElement("span",{className:"".concat(re,"-slash")},"/"),Ce));var he=Te?1:2;if(Ce<=3+he*2){Ce||m.push(G.createElement(q,(0,y.Z)({},Yt,{key:"noPager",page:1,className:"".concat(re,"-item-disabled")})));for(var Sn=1;Sn<=Ce;Sn+=1)m.push(G.createElement(q,(0,y.Z)({},Yt,{key:Sn,page:Sn,active:ye===Sn})))}else{var or=Te?d.prev_3:d.prev_5,on=Te?d.next_3:d.next_5,Jt=lt(Kt,"jump-prev",Wt(Ge,"prev page")),Tn=lt(gn,"jump-next",Wt(pe,"next page"));Lt&&(Rt=Jt?G.createElement("li",{title:$e?or:null,key:"prev",onClick:Cn,tabIndex:0,onKeyDown:mr,className:R()("".concat(re,"-jump-prev"),(0,u.Z)({},"".concat(re,"-jump-prev-custom-icon"),!!Ge))},Jt):null,_t=Tn?G.createElement("li",{title:$e?on:null,key:"next",onClick:On,tabIndex:0,onKeyDown:Or,className:R()("".concat(re,"-jump-next"),(0,u.Z)({},"".concat(re,"-jump-next-custom-icon"),!!pe))},Tn):null);var en=Math.max(1,ye-he),Yn=Math.min(ye+he,Ce);ye-1<=he&&(Yn=1+he*2),Ce-ye<=he&&(en=Ce-he*2);for(var Sr=en;Sr<=Yn;Sr+=1)m.push(G.createElement(q,(0,y.Z)({},Yt,{key:Sr,page:Sr,active:ye===Sr})));if(ye-1>=he*2&&ye!==3&&(m[0]=G.cloneElement(m[0],{className:R()("".concat(re,"-item-after-jump-prev"),m[0].props.className)}),m.unshift(Rt)),Ce-ye>=he*2&&ye!==Ce-2){var br=m[m.length-1];m[m.length-1]=G.cloneElement(br,{className:R()("".concat(re,"-item-before-jump-next"),br.props.className)}),m.push(_t)}en!==1&&m.unshift(G.createElement(q,(0,y.Z)({},Yt,{key:1,page:1}))),Yn!==Ce&&m.push(G.createElement(q,(0,y.Z)({},Yt,{key:Ce,page:Ce})))}var _r=Pe(qt);if(_r){var zr=!Vn||!Ce;_r=G.createElement("li",{title:$e?d.prev_page:null,onClick:xr,tabIndex:zr?null:0,onKeyDown:Zt,className:R()("".concat(re,"-prev"),(0,u.Z)({},"".concat(re,"-disabled"),zr)),"aria-disabled":zr},_r)}var Br=De(Ze);if(Br){var vr,Gr;xe?(vr=!gr,Gr=Vn?0:null):(vr=!gr||!Ce,Gr=vr?null:0),Br=G.createElement("li",{title:$e?d.next_page:null,onClick:Xn,tabIndex:Gr,onKeyDown:Rn,className:R()("".concat(re,"-next"),(0,u.Z)({},"".concat(re,"-disabled"),vr)),"aria-disabled":vr},Br)}var Wr=R()(re,ne,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(re,"-start"),xt==="start"),"".concat(re,"-center"),xt==="center"),"".concat(re,"-end"),xt==="end"),"".concat(re,"-simple"),xe),"".concat(re,"-disabled"),M));return G.createElement("ul",(0,y.Z)({className:Wr,style:T,ref:Ve},me),Ct,_r,xe?an:m,Br,G.createElement(te,{locale:d,rootPrefixCls:re,disabled:M,selectPrefixCls:le,changeSize:Lr,pageSize:it,pageSizeOptions:Oe,quickGo:Qt?_n:null,goButton:fn,showSizeChanger:Ee,sizeChangerRender:Be}))},J=_},25930:function(x,c,r){"use strict";r.d(c,{Cd:function(){return re}});var u=r(54476),y=r(33885),v=r(75931),b=r(59301),k=r(92310),f=r.n(k),R={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var ne=(0,b.useRef)([]),ge=(0,b.useRef)(null);return(0,b.useEffect)(function(){var Le=Date.now(),Re=!1;ne.current.forEach(function(Ie){if(Ie){Re=!0;var He=Ie.style;He.transitionDuration=".3s, .3s, .3s, .06s",ge.current&&Le-ge.current<100&&(He.transitionDuration="0s, 0s")}}),Re&&(ge.current=Date.now())}),ne.current},D=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],I=function(ne){var ge=(0,y.Z)((0,y.Z)({},R),ne),Le=ge.className,Re=ge.percent,Ie=ge.prefixCls,He=ge.strokeColor,oe=ge.strokeLinecap,F=ge.strokeWidth,L=ge.style,we=ge.trailColor,Ue=ge.trailWidth,Ne=ge.transition,xt=(0,v.Z)(ge,D);delete xt.gapPosition;var pt=Array.isArray(Re)?Re:[Re],Lt=Array.isArray(He)?He:[He],ze=z(),Te=F/2,_e=100-F/2,$e="M ".concat(oe==="round"?Te:0,",").concat(Te,`
L `).concat(oe==="round"?_e:100,",").concat(Te),St="0 0 100 ".concat(F),A=0;return b.createElement("svg",(0,u.Z)({className:f()("".concat(Ie,"-line"),Le),viewBox:St,preserveAspectRatio:"none",style:L},xt),b.createElement("path",{className:"".concat(Ie,"-line-trail"),d:$e,strokeLinecap:oe,stroke:we,strokeWidth:Ue||F,fillOpacity:"0"}),pt.map(function(p,d){var T=1;switch(oe){case"round":T=1-F/100;break;case"square":T=1-F/2/100;break;default:T=1;break}var O={strokeDasharray:"".concat(p*T,"px, 100px"),strokeDashoffset:"-".concat(A,"px"),transition:Ne||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},g=Lt[d]||Lt[Lt.length-1];return A+=p,b.createElement("path",{key:d,className:"".concat(Ie,"-line-path"),d:$e,strokeLinecap:oe,stroke:g,strokeWidth:F,fillOpacity:"0",ref:function(xe){ze[d]=xe},style:O})}))},ae=I,G=r(76190),be=r(42978),ce=r(47273),ue=0,te=(0,ce.Z)();function X(){var le;return te?(le=ue,ue+=1):le="TEST_OR_SSR",le}var q=function(le){var ne=b.useState(),ge=(0,be.Z)(ne,2),Le=ge[0],Re=ge[1];return b.useEffect(function(){Re("rc_progress_".concat(X()))},[]),le||Le},Z=function(ne){var ge=ne.bg,Le=ne.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:ge}},Le)};function j(le,ne){return Object.keys(le).map(function(ge){var Le=parseFloat(ge),Re="".concat(Math.floor(Le*ne),"%");return"".concat(le[ge]," ").concat(Re)})}var P=b.forwardRef(function(le,ne){var ge=le.prefixCls,Le=le.color,Re=le.gradientId,Ie=le.radius,He=le.style,oe=le.ptg,F=le.strokeLinecap,L=le.strokeWidth,we=le.size,Ue=le.gapDegree,Ne=Le&&(0,G.Z)(Le)==="object",xt=Ne?"#FFF":void 0,pt=we/2,Lt=b.createElement("circle",{className:"".concat(ge,"-circle-path"),r:Ie,cx:pt,cy:pt,stroke:xt,strokeLinecap:F,strokeWidth:L,opacity:oe===0?0:1,style:He,ref:ne});if(!Ne)return Lt;var ze="".concat(Re,"-conic"),Te=Ue?"".concat(180+Ue/2,"deg"):"0deg",_e=j(Le,(360-Ue)/360),$e=j(Le,1),St="conic-gradient(from ".concat(Te,", ").concat(_e.join(", "),")"),A="linear-gradient(to ".concat(Ue?"bottom":"top",", ").concat($e.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:ze},Lt),b.createElement("foreignObject",{x:0,y:0,width:we,height:we,mask:"url(#".concat(ze,")")},b.createElement(Z,{bg:A},b.createElement(Z,{bg:St}))))}),U=P,_=100,J=function(ne,ge,Le,Re,Ie,He,oe,F,L,we){var Ue=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ne=Le/100*360*((360-He)/360),xt=He===0?0:{bottom:0,top:180,left:90,right:-90}[oe],pt=(100-Re)/100*ge;L==="round"&&Re!==100&&(pt+=we/2,pt>=ge&&(pt=ge-.01));var Lt=_/2;return{stroke:typeof F=="string"?F:void 0,strokeDasharray:"".concat(ge,"px ").concat(ne),strokeDashoffset:pt+Ue,transform:"rotate(".concat(Ie+Ne+xt,"deg)"),transformOrigin:"".concat(Lt,"px ").concat(Lt,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},de=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function H(le){var ne=le!=null?le:[];return Array.isArray(ne)?ne:[ne]}var fe=function(ne){var ge=(0,y.Z)((0,y.Z)({},R),ne),Le=ge.id,Re=ge.prefixCls,Ie=ge.steps,He=ge.strokeWidth,oe=ge.trailWidth,F=ge.gapDegree,L=F===void 0?0:F,we=ge.gapPosition,Ue=ge.trailColor,Ne=ge.strokeLinecap,xt=ge.style,pt=ge.className,Lt=ge.strokeColor,ze=ge.percent,Te=(0,v.Z)(ge,de),_e=_/2,$e=q(Le),St="".concat($e,"-gradient"),A=_e-He/2,p=Math.PI*2*A,d=L>0?90+L/2:-90,T=p*((360-L)/360),O=(0,G.Z)(Ie)==="object"?Ie:{count:Ie,gap:2},g=O.count,M=O.gap,xe=H(ze),tt=H(Lt),nt=tt.find(function(pe){return pe&&(0,G.Z)(pe)==="object"}),Ee=nt&&(0,G.Z)(nt)==="object",Be=Ee?"butt":Ne,Oe=J(p,T,0,100,d,L,we,Ue,Be,He),qe=z(),lt=function(){var rt=0;return xe.map(function(st,Ve){var at=tt[Ve]||tt[tt.length-1],Nt=J(p,T,rt,st,d,L,we,at,Be,He);return rt+=st,b.createElement(U,{key:Ve,color:at,ptg:st,radius:A,prefixCls:Re,gradientId:St,style:Nt,strokeLinecap:Be,strokeWidth:He,gapDegree:L,ref:function(Q){qe[Ve]=Q},size:_})}).reverse()},Ge=function(){var rt=Math.round(g*(xe[0]/100)),st=100/g,Ve=0;return new Array(g).fill(null).map(function(at,Nt){var it=Nt<=rt-1?tt[0]:Ue,Q=it&&(0,G.Z)(it)==="object"?"url(#".concat(St,")"):void 0,Et=J(p,T,Ve,st,d,L,we,it,"butt",He,M);return Ve+=(T-Et.strokeDashoffset+M)*100/T,b.createElement("circle",{key:Nt,className:"".concat(Re,"-circle-path"),r:A,cx:_e,cy:_e,stroke:Q,strokeWidth:He,opacity:1,style:Et,ref:function(ye){qe[Nt]=ye}})})};return b.createElement("svg",(0,u.Z)({className:f()("".concat(Re,"-circle"),pt),viewBox:"0 0 ".concat(_," ").concat(_),style:xt,id:Le,role:"presentation"},Te),!g&&b.createElement("circle",{className:"".concat(Re,"-circle-trail"),r:A,cx:_e,cy:_e,stroke:Ue,strokeLinecap:Be,strokeWidth:oe||He,style:Oe}),g?Ge():lt())},re=fe,V={Line:ae,Circle:re}},738:function(x,c,r){"use strict";r.d(c,{Z:function(){return j}});var u=r(54476),y=r(20068),v=r(42978),b=r(75931),k=r(92310),f=r.n(k),R=r(18929),z=r(10228),D=r(26112),I=r(59301);function ae(P,U){var _=P.disabled,J=P.prefixCls,de=P.character,H=P.characterRender,fe=P.index,re=P.count,V=P.value,le=P.allowHalf,ne=P.focused,ge=P.onHover,Le=P.onClick,Re=function(Ne){ge(Ne,fe)},Ie=function(Ne){Le(Ne,fe)},He=function(Ne){Ne.keyCode===z.Z.ENTER&&Le(Ne,fe)},oe=fe+1,F=new Set([J]);V===0&&fe===0&&ne?F.add("".concat(J,"-focused")):le&&V+.5>=oe&&V<oe?(F.add("".concat(J,"-half")),F.add("".concat(J,"-active")),ne&&F.add("".concat(J,"-focused"))):(oe<=V?F.add("".concat(J,"-full")):F.add("".concat(J,"-zero")),oe===V&&ne&&F.add("".concat(J,"-focused")));var L=typeof de=="function"?de(P):de,we=I.createElement("li",{className:f()(Array.from(F)),ref:U},I.createElement("div",{onClick:_?null:Ie,onKeyDown:_?null:He,onMouseMove:_?null:Re,role:"radio","aria-checked":V>fe?"true":"false","aria-posinset":fe+1,"aria-setsize":re,tabIndex:_?-1:0},I.createElement("div",{className:"".concat(J,"-first")},L),I.createElement("div",{className:"".concat(J,"-second")},L)));return H&&(we=H(we,P)),we}var G=I.forwardRef(ae);function be(){var P=I.useRef({});function U(J){return P.current[J]}function _(J){return function(de){P.current[J]=de}}return[U,_]}function ce(P){var U=P.pageXOffset,_="scrollLeft";if(typeof U!="number"){var J=P.document;U=J.documentElement[_],typeof U!="number"&&(U=J.body[_])}return U}function ue(P){var U,_,J=P.ownerDocument,de=J.body,H=J&&J.documentElement,fe=P.getBoundingClientRect();return U=fe.left,_=fe.top,U-=H.clientLeft||de.clientLeft||0,_-=H.clientTop||de.clientTop||0,{left:U,top:_}}function te(P){var U=ue(P),_=P.ownerDocument,J=_.defaultView||_.parentWindow;return U.left+=ce(J),U.left}var X=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function q(P,U){var _=P.prefixCls,J=_===void 0?"rc-rate":_,de=P.className,H=P.defaultValue,fe=P.value,re=P.count,V=re===void 0?5:re,le=P.allowHalf,ne=le===void 0?!1:le,ge=P.allowClear,Le=ge===void 0?!0:ge,Re=P.keyboard,Ie=Re===void 0?!0:Re,He=P.character,oe=He===void 0?"\u2605":He,F=P.characterRender,L=P.disabled,we=P.direction,Ue=we===void 0?"ltr":we,Ne=P.tabIndex,xt=Ne===void 0?0:Ne,pt=P.autoFocus,Lt=P.onHoverChange,ze=P.onChange,Te=P.onFocus,_e=P.onBlur,$e=P.onKeyDown,St=P.onMouseLeave,A=(0,b.Z)(P,X),p=be(),d=(0,v.Z)(p,2),T=d[0],O=d[1],g=I.useRef(null),M=function(){if(!L){var Kt;(Kt=g.current)===null||Kt===void 0||Kt.focus()}};I.useImperativeHandle(U,function(){return{focus:M,blur:function(){if(!L){var Kt;(Kt=g.current)===null||Kt===void 0||Kt.blur()}}}});var xe=(0,R.Z)(H||0,{value:fe}),tt=(0,v.Z)(xe,2),nt=tt[0],Ee=tt[1],Be=(0,R.Z)(null),Oe=(0,v.Z)(Be,2),qe=Oe[0],lt=Oe[1],Ge=function(Kt,gn){var Wt=Ue==="rtl",Ft=Kt+1;if(ne){var Dt=T(Kt),Qt=te(Dt),wn=Dt.clientWidth;(Wt&&gn-Qt>wn/2||!Wt&&gn-Qt<wn/2)&&(Ft-=.5)}return Ft},pe=function(Kt){Ee(Kt),ze==null||ze(Kt)},rt=I.useState(!1),st=(0,v.Z)(rt,2),Ve=st[0],at=st[1],Nt=function(){at(!0),Te==null||Te()},it=function(){at(!1),_e==null||_e()},Q=I.useState(null),Et=(0,v.Z)(Q,2),wt=Et[0],ye=Et[1],zt=function(Kt,gn){var Wt=Ge(gn,Kt.pageX);Wt!==qe&&(ye(Wt),lt(null)),Lt==null||Lt(Wt)},nn=function(Kt){L||(ye(null),lt(null),Lt==null||Lt(void 0)),Kt&&(St==null||St(Kt))},Xt=function(Kt,gn){var Wt=Ge(gn,Kt.pageX),Ft=!1;Le&&(Ft=Wt===nt),nn(),pe(Ft?0:Wt),lt(Ft?Wt:null)},je=function(Kt){var gn=Kt.keyCode,Wt=Ue==="rtl",Ft=ne?.5:1;Ie&&(gn===z.Z.RIGHT&&nt<V&&!Wt?(pe(nt+Ft),Kt.preventDefault()):gn===z.Z.LEFT&&nt>0&&!Wt||gn===z.Z.RIGHT&&nt>0&&Wt?(pe(nt-Ft),Kt.preventDefault()):gn===z.Z.LEFT&&nt<V&&Wt&&(pe(nt+Ft),Kt.preventDefault())),$e==null||$e(Kt)};I.useEffect(function(){pt&&!L&&M()},[]);var En=new Array(V).fill(0).map(function(Ht,Kt){return I.createElement(G,{ref:O(Kt),index:Kt,count:V,disabled:L,prefixCls:"".concat(J,"-star"),allowHalf:ne,value:wt===null?nt:wt,onClick:Xt,onHover:zt,key:Ht||Kt,character:oe,characterRender:F,focused:Ve})}),hn=f()(J,de,(0,y.Z)((0,y.Z)({},"".concat(J,"-disabled"),L),"".concat(J,"-rtl"),Ue==="rtl"));return I.createElement("ul",(0,u.Z)({className:hn,onMouseLeave:nn,tabIndex:L?-1:xt,onFocus:L?null:Nt,onBlur:L?null:it,onKeyDown:L?null:je,ref:g},(0,D.Z)(A,{aria:!0,data:!0,attr:!0})),En)}var Z=I.forwardRef(q),j=Z},6551:function(x,c,r){"use strict";r.d(c,{ZP:function(){return R}});var u=r(42978),y=r(59301),v=r(47273),b=0,k=(0,v.Z)();function f(){var z;return k?(z=b,b+=1):z="TEST_OR_SSR",z}function R(z){var D=y.useState(),I=(0,u.Z)(D,2),ae=I[0],G=I[1];return y.useEffect(function(){G("rc_select_".concat(f()))},[]),z||ae}},37463:function(x,c,r){"use strict";r.d(c,{Ac:function(){return at},Xo:function(){return it},Wx:function(){return Et},ZP:function(){return Or},lk:function(){return j}});var u=r(54476),y=r(94480),v=r(20068),b=r(33885),k=r(42978),f=r(75931),R=r(76190),z=r(18929),D=r(48736),I=r(59301),ae=r(92310),G=r.n(ae),be=r(34280),ce=r(49658),ue=r(8654),te=function(De){var Bt=De.className,Rt=De.customizeIcon,me=De.customizeIconProps,Ct=De.children,_t=De.onMouseDown,Ce=De.onClick,m=typeof Rt=="function"?Rt(me):Rt;return I.createElement("span",{className:Bt,onMouseDown:function(qt){qt.preventDefault(),_t==null||_t(qt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ce,"aria-hidden":!0},m!==void 0?m:I.createElement("span",{className:G()(Bt.split(/\s+/).map(function(Yt){return"".concat(Yt,"-icon")}))},Ct))},X=te,q=function(De,Bt,Rt,me,Ct){var _t=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ce=arguments.length>6?arguments[6]:void 0,m=arguments.length>7?arguments[7]:void 0,Yt=I.useMemo(function(){if((0,R.Z)(me)==="object")return me.clearIcon;if(Ct)return Ct},[me,Ct]),qt=I.useMemo(function(){return!!(!_t&&me&&(Rt.length||Ce)&&!(m==="combobox"&&Ce===""))},[me,_t,Rt.length,Ce,m]);return{allowClear:qt,clearIcon:I.createElement(X,{className:"".concat(De,"-clear"),onMouseDown:Bt,customizeIcon:Yt},"\xD7")}},Z=I.createContext(null);function j(){return I.useContext(Z)}function P(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,De=I.useState(!1),Bt=(0,k.Z)(De,2),Rt=Bt[0],me=Bt[1],Ct=I.useRef(null),_t=function(){window.clearTimeout(Ct.current)};I.useEffect(function(){return _t},[]);var Ce=function(Yt,qt){_t(),Ct.current=window.setTimeout(function(){me(Yt),qt&&qt()},Pe)};return[Rt,Ce,_t]}function U(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,De=I.useRef(null),Bt=I.useRef(null);I.useEffect(function(){return function(){window.clearTimeout(Bt.current)}},[]);function Rt(me){(me||De.current===null)&&(De.current=me),window.clearTimeout(Bt.current),Bt.current=window.setTimeout(function(){De.current=null},Pe)}return[function(){return De.current},Rt]}function _(Pe,De,Bt,Rt){var me=I.useRef(null);me.current={open:De,triggerOpen:Bt,customizedTrigger:Rt},I.useEffect(function(){function Ct(_t){var Ce;if(!((Ce=me.current)!==null&&Ce!==void 0&&Ce.customizedTrigger)){var m=_t.target;m.shadowRoot&&_t.composed&&(m=_t.composedPath()[0]||m),me.current.open&&Pe().filter(function(Yt){return Yt}).every(function(Yt){return!Yt.contains(m)&&Yt!==m})&&me.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ct),function(){return window.removeEventListener("mousedown",Ct)}},[])}var J=r(10228);function de(Pe){return Pe&&![J.Z.ESC,J.Z.SHIFT,J.Z.BACKSPACE,J.Z.TAB,J.Z.WIN_KEY,J.Z.ALT,J.Z.META,J.Z.WIN_KEY_RIGHT,J.Z.CTRL,J.Z.SEMICOLON,J.Z.EQUALS,J.Z.CAPS_LOCK,J.Z.CONTEXT_MENU,J.Z.F1,J.Z.F2,J.Z.F3,J.Z.F4,J.Z.F5,J.Z.F6,J.Z.F7,J.Z.F8,J.Z.F9,J.Z.F10,J.Z.F11,J.Z.F12].includes(Pe)}var H=r(26112),fe=r(11780);function re(Pe,De,Bt){var Rt=(0,b.Z)((0,b.Z)({},Pe),Bt?De:{});return Object.keys(De).forEach(function(me){var Ct=De[me];typeof Ct=="function"&&(Rt[me]=function(){for(var _t,Ce=arguments.length,m=new Array(Ce),Yt=0;Yt<Ce;Yt++)m[Yt]=arguments[Yt];return Ct.apply(void 0,m),(_t=Pe[me])===null||_t===void 0?void 0:_t.call.apply(_t,[Pe].concat(m))})}),Rt}var V=re,le=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],ne=function(De,Bt){var Rt=De.prefixCls,me=De.id,Ct=De.inputElement,_t=De.autoFocus,Ce=De.autoComplete,m=De.editable,Yt=De.activeDescendantId,qt=De.value,Ze=De.open,xn=De.attrs,jt=(0,f.Z)(De,le),fn=Ct||I.createElement("input",null),an=fn,he=an.ref,Sn=an.props;return(0,D.Kp)(!("maxLength"in fn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),fn=I.cloneElement(fn,(0,b.Z)((0,b.Z)((0,b.Z)({type:"search"},V(jt,Sn,!0)),{},{id:me,ref:(0,ue.sQ)(Bt,he),autoComplete:Ce||"off",autoFocus:_t,className:G()("".concat(Rt,"-selection-search-input"),Sn==null?void 0:Sn.className),role:"combobox","aria-expanded":Ze||!1,"aria-haspopup":"listbox","aria-owns":"".concat(me,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(me,"_list"),"aria-activedescendant":Ze?Yt:void 0},xn),{},{value:m?qt:"",readOnly:!m,unselectable:m?null:"on",style:(0,b.Z)((0,b.Z)({},Sn.style),{},{opacity:m?null:0})})),fn},ge=I.forwardRef(ne),Le=ge;function Re(Pe){return Array.isArray(Pe)?Pe:Pe!==void 0?[Pe]:[]}var Ie=typeof window!="undefined"&&window.document&&window.document.documentElement,He=Ie;function oe(Pe){return Pe!=null}function F(Pe){return!Pe&&Pe!==0}function L(Pe){return["string","number"].includes((0,R.Z)(Pe))}function we(Pe){var De=void 0;return Pe&&(L(Pe.title)?De=Pe.title.toString():L(Pe.label)&&(De=Pe.label.toString())),De}function Ue(Pe,De){He?I.useLayoutEffect(Pe,De):I.useEffect(Pe,De)}function Ne(Pe){var De;return(De=Pe.key)!==null&&De!==void 0?De:Pe.value}var xt=function(De){De.preventDefault(),De.stopPropagation()},pt=function(De){var Bt=De.id,Rt=De.prefixCls,me=De.values,Ct=De.open,_t=De.searchValue,Ce=De.autoClearSearchValue,m=De.inputRef,Yt=De.placeholder,qt=De.disabled,Ze=De.mode,xn=De.showSearch,jt=De.autoFocus,fn=De.autoComplete,an=De.activeDescendantId,he=De.tabIndex,Sn=De.removeIcon,or=De.maxTagCount,on=De.maxTagTextLength,Jt=De.maxTagPlaceholder,Tn=Jt===void 0?function(vt){return"+ ".concat(vt.length," ...")}:Jt,en=De.tagRender,Yn=De.onToggleOpen,Sr=De.onRemove,br=De.onInputChange,_r=De.onInputPaste,zr=De.onInputKeyDown,Br=De.onInputMouseDown,vr=De.onInputCompositionStart,Gr=De.onInputCompositionEnd,Wr=De.onInputBlur,mn=I.useRef(null),Bn=(0,I.useState)(0),zn=(0,k.Z)(Bn,2),dr=zn[0],yr=zn[1],Pr=(0,I.useState)(!1),sa=(0,k.Z)(Pr,2),Se=sa[0],ct=sa[1],Ke="".concat(Rt,"-selection"),dt=Ct||Ze==="multiple"&&Ce===!1||Ze==="tags"?_t:"",yt=Ze==="tags"||Ze==="multiple"&&Ce===!1||xn&&(Ct||Se);Ue(function(){yr(mn.current.scrollWidth)},[dt]);var Tt=function(bt,kt,$t,pn,sn){return I.createElement("span",{title:we(bt),className:G()("".concat(Ke,"-item"),(0,v.Z)({},"".concat(Ke,"-item-disabled"),$t))},I.createElement("span",{className:"".concat(Ke,"-item-content")},kt),pn&&I.createElement(X,{className:"".concat(Ke,"-item-remove"),onMouseDown:xt,onClick:sn,customizeIcon:Sn},"\xD7"))},Ut=function(bt,kt,$t,pn,sn,kn){var Gn=function(qn){xt(qn),Yn(!Ct)};return I.createElement("span",{onMouseDown:Gn},en({label:kt,value:bt,disabled:$t,closable:pn,onClose:sn,isMaxTag:!!kn}))},Mt=function(bt){var kt=bt.disabled,$t=bt.label,pn=bt.value,sn=!qt&&!kt,kn=$t;if(typeof on=="number"&&(typeof $t=="string"||typeof $t=="number")){var Gn=String(kn);Gn.length>on&&(kn="".concat(Gn.slice(0,on),"..."))}var An=function(Nn){Nn&&Nn.stopPropagation(),Sr(bt)};return typeof en=="function"?Ut(pn,kn,kt,sn,An):Tt(bt,kn,kt,sn,An)},It=function(bt){if(!me.length)return null;var kt=typeof Tn=="function"?Tn(bt):Tn;return typeof en=="function"?Ut(void 0,kt,!1,!1,void 0,!0):Tt({title:kt},kt,!1)},Xe=I.createElement("div",{className:"".concat(Ke,"-search"),style:{width:dr},onFocus:function(){ct(!0)},onBlur:function(){ct(!1)}},I.createElement(Le,{ref:m,open:Ct,prefixCls:Rt,id:Bt,inputElement:null,disabled:qt,autoFocus:jt,autoComplete:fn,editable:yt,activeDescendantId:an,value:dt,onKeyDown:zr,onMouseDown:Br,onChange:br,onPaste:_r,onCompositionStart:vr,onCompositionEnd:Gr,onBlur:Wr,tabIndex:he,attrs:(0,H.Z)(De,!0)}),I.createElement("span",{ref:mn,className:"".concat(Ke,"-search-mirror"),"aria-hidden":!0},dt,"\xA0")),mt=I.createElement(fe.Z,{prefixCls:"".concat(Ke,"-overflow"),data:me,renderItem:Mt,renderRest:It,suffix:Xe,itemKey:Ne,maxCount:or});return I.createElement("span",{className:"".concat(Ke,"-wrap")},mt,!me.length&&!dt&&I.createElement("span",{className:"".concat(Ke,"-placeholder")},Yt))},Lt=pt,ze=function(De){var Bt=De.inputElement,Rt=De.prefixCls,me=De.id,Ct=De.inputRef,_t=De.disabled,Ce=De.autoFocus,m=De.autoComplete,Yt=De.activeDescendantId,qt=De.mode,Ze=De.open,xn=De.values,jt=De.placeholder,fn=De.tabIndex,an=De.showSearch,he=De.searchValue,Sn=De.activeValue,or=De.maxLength,on=De.onInputKeyDown,Jt=De.onInputMouseDown,Tn=De.onInputChange,en=De.onInputPaste,Yn=De.onInputCompositionStart,Sr=De.onInputCompositionEnd,br=De.onInputBlur,_r=De.title,zr=I.useState(!1),Br=(0,k.Z)(zr,2),vr=Br[0],Gr=Br[1],Wr=qt==="combobox",mn=Wr||an,Bn=xn[0],zn=he||"";Wr&&Sn&&!vr&&(zn=Sn),I.useEffect(function(){Wr&&Gr(!1)},[Wr,Sn]);var dr=qt!=="combobox"&&!Ze&&!an?!1:!!zn,yr=_r===void 0?we(Bn):_r,Pr=I.useMemo(function(){return Bn?null:I.createElement("span",{className:"".concat(Rt,"-selection-placeholder"),style:dr?{visibility:"hidden"}:void 0},jt)},[Bn,dr,jt,Rt]);return I.createElement("span",{className:"".concat(Rt,"-selection-wrap")},I.createElement("span",{className:"".concat(Rt,"-selection-search")},I.createElement(Le,{ref:Ct,prefixCls:Rt,id:me,open:Ze,inputElement:Bt,disabled:_t,autoFocus:Ce,autoComplete:m,editable:mn,activeDescendantId:Yt,value:zn,onKeyDown:on,onMouseDown:Jt,onChange:function(Se){Gr(!0),Tn(Se)},onPaste:en,onCompositionStart:Yn,onCompositionEnd:Sr,onBlur:br,tabIndex:fn,attrs:(0,H.Z)(De,!0),maxLength:Wr?or:void 0})),!Wr&&Bn?I.createElement("span",{className:"".concat(Rt,"-selection-item"),title:yr,style:dr?{visibility:"hidden"}:void 0},Bn.label):null,Pr)},Te=ze,_e=function(De,Bt){var Rt=(0,I.useRef)(null),me=(0,I.useRef)(!1),Ct=De.prefixCls,_t=De.open,Ce=De.mode,m=De.showSearch,Yt=De.tokenWithEnter,qt=De.disabled,Ze=De.prefix,xn=De.autoClearSearchValue,jt=De.onSearch,fn=De.onSearchSubmit,an=De.onToggleOpen,he=De.onInputKeyDown,Sn=De.onInputBlur,or=De.domRef;I.useImperativeHandle(Bt,function(){return{focus:function(yr){Rt.current.focus(yr)},blur:function(){Rt.current.blur()}}});var on=U(0),Jt=(0,k.Z)(on,2),Tn=Jt[0],en=Jt[1],Yn=function(yr){var Pr=yr.which,sa=Rt.current instanceof HTMLTextAreaElement;!sa&&_t&&(Pr===J.Z.UP||Pr===J.Z.DOWN)&&yr.preventDefault(),he&&he(yr),Pr===J.Z.ENTER&&Ce==="tags"&&!me.current&&!_t&&(fn==null||fn(yr.target.value)),!(sa&&!_t&&~[J.Z.UP,J.Z.DOWN,J.Z.LEFT,J.Z.RIGHT].indexOf(Pr))&&de(Pr)&&an(!0)},Sr=function(){en(!0)},br=(0,I.useRef)(null),_r=function(yr){jt(yr,!0,me.current)!==!1&&an(!0)},zr=function(){me.current=!0},Br=function(yr){me.current=!1,Ce!=="combobox"&&_r(yr.target.value)},vr=function(yr){var Pr=yr.target.value;if(Yt&&br.current&&/[\r\n]/.test(br.current)){var sa=br.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Pr=Pr.replace(sa,br.current)}br.current=null,_r(Pr)},Gr=function(yr){var Pr=yr.clipboardData,sa=Pr==null?void 0:Pr.getData("text");br.current=sa||""},Wr=function(yr){var Pr=yr.target;if(Pr!==Rt.current){var sa=document.body.style.msTouchAction!==void 0;sa?setTimeout(function(){Rt.current.focus()}):Rt.current.focus()}},mn=function(yr){var Pr=Tn();yr.target!==Rt.current&&!Pr&&!(Ce==="combobox"&&qt)&&yr.preventDefault(),(Ce!=="combobox"&&(!m||!Pr)||!_t)&&(_t&&xn!==!1&&jt("",!0,!1),an())},Bn={inputRef:Rt,onInputKeyDown:Yn,onInputMouseDown:Sr,onInputChange:vr,onInputPaste:Gr,onInputCompositionStart:zr,onInputCompositionEnd:Br,onInputBlur:Sn},zn=Ce==="multiple"||Ce==="tags"?I.createElement(Lt,(0,u.Z)({},De,Bn)):I.createElement(Te,(0,u.Z)({},De,Bn));return I.createElement("div",{ref:or,className:"".concat(Ct,"-selector"),onClick:Wr,onMouseDown:mn},Ze&&I.createElement("div",{className:"".concat(Ct,"-prefix")},Ze),zn)},$e=I.forwardRef(_e),St=$e,A=r(65030),p=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],d=function(De){var Bt=De===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"}}},T=function(De,Bt){var Rt=De.prefixCls,me=De.disabled,Ct=De.visible,_t=De.children,Ce=De.popupElement,m=De.animation,Yt=De.transitionName,qt=De.dropdownStyle,Ze=De.dropdownClassName,xn=De.direction,jt=xn===void 0?"ltr":xn,fn=De.placement,an=De.builtinPlacements,he=De.dropdownMatchSelectWidth,Sn=De.dropdownRender,or=De.dropdownAlign,on=De.getPopupContainer,Jt=De.empty,Tn=De.getTriggerDOMNode,en=De.onPopupVisibleChange,Yn=De.onPopupMouseEnter,Sr=(0,f.Z)(De,p),br="".concat(Rt,"-dropdown"),_r=Ce;Sn&&(_r=Sn(Ce));var zr=I.useMemo(function(){return an||d(he)},[an,he]),Br=m?"".concat(br,"-").concat(m):Yt,vr=typeof he=="number",Gr=I.useMemo(function(){return vr?null:he===!1?"minWidth":"width"},[he,vr]),Wr=qt;vr&&(Wr=(0,b.Z)((0,b.Z)({},Wr),{},{width:he}));var mn=I.useRef(null);return I.useImperativeHandle(Bt,function(){return{getPopupElement:function(){var zn;return(zn=mn.current)===null||zn===void 0?void 0:zn.popupElement}}}),I.createElement(A.Z,(0,u.Z)({},Sr,{showAction:en?["click"]:[],hideAction:en?["click"]:[],popupPlacement:fn||(jt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:zr,prefixCls:br,popupTransitionName:Br,popup:I.createElement("div",{onMouseEnter:Yn},_r),ref:mn,stretch:Gr,popupAlign:or,popupVisible:Ct,getPopupContainer:on,popupClassName:G()(Ze,(0,v.Z)({},"".concat(br,"-empty"),Jt)),popupStyle:Wr,getTriggerDOMNode:Tn,onPopupVisibleChange:en}),_t)},O=I.forwardRef(T),g=O,M=r(66712);function xe(Pe,De){var Bt=Pe.key,Rt;return"value"in Pe&&(Rt=Pe.value),Bt!=null?Bt:Rt!==void 0?Rt:"rc-index-key-".concat(De)}function tt(Pe){return typeof Pe!="undefined"&&!Number.isNaN(Pe)}function nt(Pe,De){var Bt=Pe||{},Rt=Bt.label,me=Bt.value,Ct=Bt.options,_t=Bt.groupLabel,Ce=Rt||(De?"children":"label");return{label:Ce,value:me||"value",options:Ct||"options",groupLabel:_t||Ce}}function Ee(Pe){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bt=De.fieldNames,Rt=De.childrenAsData,me=[],Ct=nt(Bt,!1),_t=Ct.label,Ce=Ct.value,m=Ct.options,Yt=Ct.groupLabel;function qt(Ze,xn){Array.isArray(Ze)&&Ze.forEach(function(jt){if(xn||!(m in jt)){var fn=jt[Ce];me.push({key:xe(jt,me.length),groupOption:xn,data:jt,label:jt[_t],value:fn})}else{var an=jt[Yt];an===void 0&&Rt&&(an=jt.label),me.push({key:xe(jt,me.length),group:!0,data:jt,label:an}),qt(jt[m],!0)}})}return qt(Pe,!1),me}function Be(Pe){var De=(0,b.Z)({},Pe);return"props"in De||Object.defineProperty(De,"props",{get:function(){return(0,D.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),De}}),De}var Oe=function(De,Bt,Rt){if(!Bt||!Bt.length)return null;var me=!1,Ct=function Ce(m,Yt){var qt=(0,M.Z)(Yt),Ze=qt[0],xn=qt.slice(1);if(!Ze)return[m];var jt=m.split(Ze);return me=me||jt.length>1,jt.reduce(function(fn,an){return[].concat((0,y.Z)(fn),(0,y.Z)(Ce(an,xn)))},[]).filter(Boolean)},_t=Ct(De,Bt);return me?typeof Rt!="undefined"?_t.slice(0,Rt):_t:null},qe=I.createContext(null),lt=qe;function Ge(Pe){var De=Pe.visible,Bt=Pe.values;if(!De)return null;var Rt=50;return I.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Bt.slice(0,Rt).map(function(me){var Ct=me.label,_t=me.value;return["number","string"].includes((0,R.Z)(Ct))?Ct:_t}).join(", ")),Bt.length>Rt?", ...":null)}var pe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],rt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],st=function(De){return De==="tags"||De==="multiple"},Ve=I.forwardRef(function(Pe,De){var Bt,Rt=Pe.id,me=Pe.prefixCls,Ct=Pe.className,_t=Pe.showSearch,Ce=Pe.tagRender,m=Pe.direction,Yt=Pe.omitDomProps,qt=Pe.displayValues,Ze=Pe.onDisplayValuesChange,xn=Pe.emptyOptions,jt=Pe.notFoundContent,fn=jt===void 0?"Not Found":jt,an=Pe.onClear,he=Pe.mode,Sn=Pe.disabled,or=Pe.loading,on=Pe.getInputElement,Jt=Pe.getRawInputElement,Tn=Pe.open,en=Pe.defaultOpen,Yn=Pe.onDropdownVisibleChange,Sr=Pe.activeValue,br=Pe.onActiveValueChange,_r=Pe.activeDescendantId,zr=Pe.searchValue,Br=Pe.autoClearSearchValue,vr=Pe.onSearch,Gr=Pe.onSearchSplit,Wr=Pe.tokenSeparators,mn=Pe.allowClear,Bn=Pe.prefix,zn=Pe.suffixIcon,dr=Pe.clearIcon,yr=Pe.OptionList,Pr=Pe.animation,sa=Pe.transitionName,Se=Pe.dropdownStyle,ct=Pe.dropdownClassName,Ke=Pe.dropdownMatchSelectWidth,dt=Pe.dropdownRender,yt=Pe.dropdownAlign,Tt=Pe.placement,Ut=Pe.builtinPlacements,Mt=Pe.getPopupContainer,It=Pe.showAction,Xe=It===void 0?[]:It,mt=Pe.onFocus,vt=Pe.onBlur,bt=Pe.onKeyUp,kt=Pe.onKeyDown,$t=Pe.onMouseDown,pn=(0,f.Z)(Pe,pe),sn=st(he),kn=(_t!==void 0?_t:sn)||he==="combobox",Gn=(0,b.Z)({},pn);rt.forEach(function(Rr){delete Gn[Rr]}),Yt==null||Yt.forEach(function(Rr){delete Gn[Rr]});var An=I.useState(!1),qn=(0,k.Z)(An,2),Nn=qn[0],Ar=qn[1];I.useEffect(function(){Ar((0,ce.Z)())},[]);var Tr=I.useRef(null),Er=I.useRef(null),rr=I.useRef(null),pr=I.useRef(null),wr=I.useRef(null),sr=I.useRef(!1),fr=P(),Un=(0,k.Z)(fr,3),bn=Un[0],Dn=Un[1],jn=Un[2];I.useImperativeHandle(De,function(){var Rr,lr;return{focus:(Rr=pr.current)===null||Rr===void 0?void 0:Rr.focus,blur:(lr=pr.current)===null||lr===void 0?void 0:lr.blur,scrollTo:function(ha){var va;return(va=wr.current)===null||va===void 0?void 0:va.scrollTo(ha)},nativeElement:Tr.current||Er.current}});var ar=I.useMemo(function(){var Rr;if(he!=="combobox")return zr;var lr=(Rr=qt[0])===null||Rr===void 0?void 0:Rr.value;return typeof lr=="string"||typeof lr=="number"?String(lr):""},[zr,he,qt]),Ae=he==="combobox"&&typeof on=="function"&&on()||null,hr=typeof Jt=="function"&&Jt(),Vr=(0,ue.x1)(Er,hr==null||(Bt=hr.props)===null||Bt===void 0?void 0:Bt.ref),Ia=I.useState(!1),Ra=(0,k.Z)(Ia,2),hi=Ra[0],Pa=Ra[1];(0,be.Z)(function(){Pa(!0)},[]);var qr=(0,z.Z)(!1,{defaultValue:en,value:Tn}),Kr=(0,k.Z)(qr,2),jr=Kr[0],Ta=Kr[1],Xr=hi?jr:!1,ea=!fn&&xn;(Sn||ea&&Xr&&he==="combobox")&&(Xr=!1);var ta=ea?!1:Xr,In=I.useCallback(function(Rr){var lr=Rr!==void 0?Rr:!Xr;Sn||(Ta(lr),Xr!==lr&&(Yn==null||Yn(lr)))},[Sn,Xr,Ta,Yn]),Kn=I.useMemo(function(){return(Wr||[]).some(function(Rr){return[`
`,`\r
`].includes(Rr)})},[Wr]),Qn=I.useContext(lt)||{},Zn=Qn.maxCount,Dr=Qn.rawValues,Zr=function(lr,pa,ha){if(!(sn&&tt(Zn)&&(Dr==null?void 0:Dr.size)>=Zn)){var va=!0,Ca=lr;br==null||br(null);var gi=Oe(lr,Wr,tt(Zn)?Zn-Dr.size:void 0),oi=ha?null:gi;return he!=="combobox"&&oi&&(Ca="",Gr==null||Gr(oi),In(!1),va=!1),vr&&ar!==Ca&&vr(Ca,{source:pa?"typing":"effect"}),va}},Aa=function(lr){!lr||!lr.trim()||vr(lr,{source:"submit"})};I.useEffect(function(){!Xr&&!sn&&he!=="combobox"&&Zr("",!1,!1)},[Xr]),I.useEffect(function(){jr&&Sn&&Ta(!1),Sn&&!sr.current&&Dn(!1)},[Sn]);var la=U(),ua=(0,k.Z)(la,2),tr=ua[0],Mr=ua[1],za=I.useRef(!1),Ur=function(lr){var pa=tr(),ha=lr.key,va=ha==="Enter";if(va&&(he!=="combobox"&&lr.preventDefault(),Xr||In(!0)),Mr(!!ar),ha==="Backspace"&&!pa&&sn&&!ar&&qt.length){for(var Ca=(0,y.Z)(qt),gi=null,oi=Ca.length-1;oi>=0;oi-=1){var Ii=Ca[oi];if(!Ii.disabled){Ca.splice(oi,1),gi=Ii;break}}gi&&Ze(Ca,{type:"remove",values:[gi]})}for(var ca=arguments.length,xa=new Array(ca>1?ca-1:0),Qa=1;Qa<ca;Qa++)xa[Qa-1]=arguments[Qa];if(Xr&&(!va||!za.current)){var si;va&&(za.current=!0),(si=wr.current)===null||si===void 0||si.onKeyDown.apply(si,[lr].concat(xa))}kt==null||kt.apply(void 0,[lr].concat(xa))},Fa=function(lr){for(var pa=arguments.length,ha=new Array(pa>1?pa-1:0),va=1;va<pa;va++)ha[va-1]=arguments[va];if(Xr){var Ca;(Ca=wr.current)===null||Ca===void 0||Ca.onKeyUp.apply(Ca,[lr].concat(ha))}lr.key==="Enter"&&(za.current=!1),bt==null||bt.apply(void 0,[lr].concat(ha))},$a=function(lr){var pa=qt.filter(function(ha){return ha!==lr});Ze(pa,{type:"remove",values:[lr]})},Ba=function(){za.current=!1},aa=I.useRef(!1),Si=function(){Dn(!0),Sn||(mt&&!aa.current&&mt.apply(void 0,arguments),Xe.includes("focus")&&In(!0)),aa.current=!0},co=function(){sr.current=!0,Dn(!1,function(){aa.current=!1,sr.current=!1,In(!1)}),!Sn&&(ar&&(he==="tags"?vr(ar,{source:"submit"}):he==="multiple"&&vr("",{source:"blur"})),vt&&vt.apply(void 0,arguments))},Va=[];I.useEffect(function(){return function(){Va.forEach(function(Rr){return clearTimeout(Rr)}),Va.splice(0,Va.length)}},[]);var ii=function(lr){var pa,ha=lr.target,va=(pa=rr.current)===null||pa===void 0?void 0:pa.getPopupElement();if(va&&va.contains(ha)){var Ca=setTimeout(function(){var ca=Va.indexOf(Ca);if(ca!==-1&&Va.splice(ca,1),jn(),!Nn&&!va.contains(document.activeElement)){var xa;(xa=pr.current)===null||xa===void 0||xa.focus()}});Va.push(Ca)}for(var gi=arguments.length,oi=new Array(gi>1?gi-1:0),Ii=1;Ii<gi;Ii++)oi[Ii-1]=arguments[Ii];$t==null||$t.apply(void 0,[lr].concat(oi))},Ka=I.useState({}),Ui=(0,k.Z)(Ka,2),yo=Ui[1];function Eo(){yo({})}var So;hr&&(So=function(lr){In(lr)}),_(function(){var Rr;return[Tr.current,(Rr=rr.current)===null||Rr===void 0?void 0:Rr.getPopupElement()]},ta,In,!!hr);var Ji=I.useMemo(function(){return(0,b.Z)((0,b.Z)({},Pe),{},{notFoundContent:fn,open:Xr,triggerOpen:ta,id:Rt,showSearch:kn,multiple:sn,toggleOpen:In})},[Pe,fn,ta,Xr,Rt,kn,sn,In]),fo=!!zn||or,eo;fo&&(eo=I.createElement(X,{className:G()("".concat(me,"-arrow"),(0,v.Z)({},"".concat(me,"-arrow-loading"),or)),customizeIcon:zn,customizeIconProps:{loading:or,searchValue:ar,open:Xr,focused:bn,showSearch:kn}}));var $i=function(){var lr;an==null||an(),(lr=pr.current)===null||lr===void 0||lr.focus(),Ze([],{type:"clear",values:qt}),Zr("",!1,!1)},to=q(me,$i,qt,mn,dr,Sn,ar,he),To=to.allowClear,no=to.clearIcon,Vi=I.createElement(yr,{ref:wr}),Ki=G()(me,Ct,(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(me,"-focused"),bn),"".concat(me,"-multiple"),sn),"".concat(me,"-single"),!sn),"".concat(me,"-allow-clear"),mn),"".concat(me,"-show-arrow"),fo),"".concat(me,"-disabled"),Sn),"".concat(me,"-loading"),or),"".concat(me,"-open"),Xr),"".concat(me,"-customize-input"),Ae),"".concat(me,"-show-search"),kn)),Ua=I.createElement(g,{ref:rr,disabled:Sn,prefixCls:me,visible:ta,popupElement:Vi,animation:Pr,transitionName:sa,dropdownStyle:Se,dropdownClassName:ct,direction:m,dropdownMatchSelectWidth:Ke,dropdownRender:dt,dropdownAlign:yt,placement:Tt,builtinPlacements:Ut,getPopupContainer:Mt,empty:xn,getTriggerDOMNode:function(lr){return Er.current||lr},onPopupVisibleChange:So,onPopupMouseEnter:Eo},hr?I.cloneElement(hr,{ref:Vr}):I.createElement(St,(0,u.Z)({},Pe,{domRef:Er,prefixCls:me,inputElement:Ae,ref:pr,id:Rt,prefix:Bn,showSearch:kn,autoClearSearchValue:Br,mode:he,activeDescendantId:_r,tagRender:Ce,values:qt,open:Xr,onToggleOpen:In,activeValue:Sr,searchValue:ar,onSearch:Zr,onSearchSubmit:Aa,onRemove:$a,tokenWithEnter:Kn,onInputBlur:Ba}))),fa;return hr?fa=Ua:fa=I.createElement("div",(0,u.Z)({className:Ki},Gn,{ref:Tr,onMouseDown:ii,onKeyDown:Ur,onKeyUp:Fa,onFocus:Si,onBlur:co}),I.createElement(Ge,{visible:bn&&!Xr,values:qt}),Ua,eo,To&&no),I.createElement(Z.Provider,{value:Ji},fa)}),at=Ve,Nt=function(){return null};Nt.isSelectOptGroup=!0;var it=Nt,Q=function(){return null};Q.isSelectOption=!0;var Et=Q,wt=r(80547),ye=r(2738),zt=r(48911);function nn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Xt=["disabled","title","children","style","className"];function je(Pe){return typeof Pe=="string"||typeof Pe=="number"}var En=function(De,Bt){var Rt=j(),me=Rt.prefixCls,Ct=Rt.id,_t=Rt.open,Ce=Rt.multiple,m=Rt.mode,Yt=Rt.searchValue,qt=Rt.toggleOpen,Ze=Rt.notFoundContent,xn=Rt.onPopupScroll,jt=I.useContext(lt),fn=jt.maxCount,an=jt.flattenOptions,he=jt.onActiveValue,Sn=jt.defaultActiveFirstOption,or=jt.onSelect,on=jt.menuItemSelectedIcon,Jt=jt.rawValues,Tn=jt.fieldNames,en=jt.virtual,Yn=jt.direction,Sr=jt.listHeight,br=jt.listItemHeight,_r=jt.optionRender,zr="".concat(me,"-item"),Br=(0,wt.Z)(function(){return an},[_t,an],function(It,Xe){return Xe[0]&&It[1]!==Xe[1]}),vr=I.useRef(null),Gr=I.useMemo(function(){return Ce&&tt(fn)&&(Jt==null?void 0:Jt.size)>=fn},[Ce,fn,Jt==null?void 0:Jt.size]),Wr=function(Xe){Xe.preventDefault()},mn=function(Xe){var mt;(mt=vr.current)===null||mt===void 0||mt.scrollTo(typeof Xe=="number"?{index:Xe}:Xe)},Bn=I.useCallback(function(It){return m==="combobox"?!1:Jt.has(It)},[m,(0,y.Z)(Jt).toString(),Jt.size]),zn=function(Xe){for(var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,vt=Br.length,bt=0;bt<vt;bt+=1){var kt=(Xe+bt*mt+vt)%vt,$t=Br[kt]||{},pn=$t.group,sn=$t.data;if(!pn&&!(sn!=null&&sn.disabled)&&(Bn(sn.value)||!Gr))return kt}return-1},dr=I.useState(function(){return zn(0)}),yr=(0,k.Z)(dr,2),Pr=yr[0],sa=yr[1],Se=function(Xe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;sa(Xe);var vt={source:mt?"keyboard":"mouse"},bt=Br[Xe];if(!bt){he(null,-1,vt);return}he(bt.value,Xe,vt)};(0,I.useEffect)(function(){Se(Sn!==!1?zn(0):-1)},[Br.length,Yt]);var ct=I.useCallback(function(It){return m==="combobox"?String(It).toLowerCase()===Yt.toLowerCase():Jt.has(It)},[m,Yt,(0,y.Z)(Jt).toString(),Jt.size]);(0,I.useEffect)(function(){var It=setTimeout(function(){if(!Ce&&_t&&Jt.size===1){var mt=Array.from(Jt)[0],vt=Br.findIndex(function(bt){var kt=bt.data;return Yt?String(kt.value).startsWith(Yt):kt.value===mt});vt!==-1&&(Se(vt),mn(vt))}});if(_t){var Xe;(Xe=vr.current)===null||Xe===void 0||Xe.scrollTo(void 0)}return function(){return clearTimeout(It)}},[_t,Yt]);var Ke=function(Xe){Xe!==void 0&&or(Xe,{selected:!Jt.has(Xe)}),Ce||qt(!1)};if(I.useImperativeHandle(Bt,function(){return{onKeyDown:function(Xe){var mt=Xe.which,vt=Xe.ctrlKey;switch(mt){case J.Z.N:case J.Z.P:case J.Z.UP:case J.Z.DOWN:{var bt=0;if(mt===J.Z.UP?bt=-1:mt===J.Z.DOWN?bt=1:nn()&&vt&&(mt===J.Z.N?bt=1:mt===J.Z.P&&(bt=-1)),bt!==0){var kt=zn(Pr+bt,bt);mn(kt),Se(kt,!0)}break}case J.Z.TAB:case J.Z.ENTER:{var $t,pn=Br[Pr];pn&&!(pn!=null&&($t=pn.data)!==null&&$t!==void 0&&$t.disabled)&&!Gr?Ke(pn.value):Ke(void 0),_t&&Xe.preventDefault();break}case J.Z.ESC:qt(!1),_t&&Xe.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Xe){mn(Xe)}}}),Br.length===0)return I.createElement("div",{role:"listbox",id:"".concat(Ct,"_list"),className:"".concat(zr,"-empty"),onMouseDown:Wr},Ze);var dt=Object.keys(Tn).map(function(It){return Tn[It]}),yt=function(Xe){return Xe.label};function Tt(It,Xe){var mt=It.group;return{role:mt?"presentation":"option",id:"".concat(Ct,"_list_").concat(Xe)}}var Ut=function(Xe){var mt=Br[Xe];if(!mt)return null;var vt=mt.data||{},bt=vt.value,kt=mt.group,$t=(0,H.Z)(vt,!0),pn=yt(mt);return mt?I.createElement("div",(0,u.Z)({"aria-label":typeof pn=="string"&&!kt?pn:null},$t,{key:Xe},Tt(mt,Xe),{"aria-selected":ct(bt)}),bt):null},Mt={role:"listbox",id:"".concat(Ct,"_list")};return I.createElement(I.Fragment,null,en&&I.createElement("div",(0,u.Z)({},Mt,{style:{height:0,width:0,overflow:"hidden"}}),Ut(Pr-1),Ut(Pr),Ut(Pr+1)),I.createElement(zt.Z,{itemKey:"key",ref:vr,data:Br,height:Sr,itemHeight:br,fullHeight:!1,onMouseDown:Wr,onScroll:xn,virtual:en,direction:Yn,innerProps:en?null:Mt},function(It,Xe){var mt=It.group,vt=It.groupOption,bt=It.data,kt=It.label,$t=It.value,pn=bt.key;if(mt){var sn,kn=(sn=bt.title)!==null&&sn!==void 0?sn:je(kt)?kt.toString():void 0;return I.createElement("div",{className:G()(zr,"".concat(zr,"-group"),bt.className),title:kn},kt!==void 0?kt:pn)}var Gn=bt.disabled,An=bt.title,qn=bt.children,Nn=bt.style,Ar=bt.className,Tr=(0,f.Z)(bt,Xt),Er=(0,ye.Z)(Tr,dt),rr=Bn($t),pr=Gn||!rr&&Gr,wr="".concat(zr,"-option"),sr=G()(zr,wr,Ar,(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(wr,"-grouped"),vt),"".concat(wr,"-active"),Pr===Xe&&!pr),"".concat(wr,"-disabled"),pr),"".concat(wr,"-selected"),rr)),fr=yt(It),Un=!on||typeof on=="function"||rr,bn=typeof fr=="number"?fr:fr||$t,Dn=je(bn)?bn.toString():void 0;return An!==void 0&&(Dn=An),I.createElement("div",(0,u.Z)({},(0,H.Z)(Er),en?{}:Tt(It,Xe),{"aria-selected":ct($t),className:sr,title:Dn,onMouseMove:function(){Pr===Xe||pr||Se(Xe)},onClick:function(){pr||Ke($t)},style:Nn}),I.createElement("div",{className:"".concat(wr,"-content")},typeof _r=="function"?_r(It,{index:Xe}):bn),I.isValidElement(on)||rr,Un&&I.createElement(X,{className:"".concat(zr,"-option-state"),customizeIcon:on,customizeIconProps:{value:$t,disabled:pr,isSelected:rr}},rr?"\u2713":null))}))},hn=I.forwardRef(En),Ht=hn,Kt=function(Pe,De){var Bt=I.useRef({values:new Map,options:new Map}),Rt=I.useMemo(function(){var Ct=Bt.current,_t=Ct.values,Ce=Ct.options,m=Pe.map(function(Ze){if(Ze.label===void 0){var xn;return(0,b.Z)((0,b.Z)({},Ze),{},{label:(xn=_t.get(Ze.value))===null||xn===void 0?void 0:xn.label})}return Ze}),Yt=new Map,qt=new Map;return m.forEach(function(Ze){Yt.set(Ze.value,Ze),qt.set(Ze.value,De.get(Ze.value)||Ce.get(Ze.value))}),Bt.current.values=Yt,Bt.current.options=qt,m},[Pe,De]),me=I.useCallback(function(Ct){return De.get(Ct)||Bt.current.options.get(Ct)},[De]);return[Rt,me]};function gn(Pe,De){return Re(Pe).join("").toUpperCase().includes(De)}var Wt=function(Pe,De,Bt,Rt,me){return I.useMemo(function(){if(!Bt||Rt===!1)return Pe;var Ct=De.options,_t=De.label,Ce=De.value,m=[],Yt=typeof Rt=="function",qt=Bt.toUpperCase(),Ze=Yt?Rt:function(jt,fn){return me?gn(fn[me],qt):fn[Ct]?gn(fn[_t!=="children"?_t:"label"],qt):gn(fn[Ce],qt)},xn=Yt?function(jt){return Be(jt)}:function(jt){return jt};return Pe.forEach(function(jt){if(jt[Ct]){var fn=Ze(Bt,xn(jt));if(fn)m.push(jt);else{var an=jt[Ct].filter(function(he){return Ze(Bt,xn(he))});an.length&&m.push((0,b.Z)((0,b.Z)({},jt),{},(0,v.Z)({},Ct,an)))}return}Ze(Bt,xn(jt))&&m.push(jt)}),m},[Pe,Rt,me,Bt,De])},Ft=r(6551),Dt=r(11592),Qt=["children","value"],wn=["children"];function un(Pe){var De=Pe,Bt=De.key,Rt=De.props,me=Rt.children,Ct=Rt.value,_t=(0,f.Z)(Rt,Qt);return(0,b.Z)({key:Bt,value:Ct!==void 0?Ct:Bt,children:me},_t)}function dn(Pe){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Dt.Z)(Pe).map(function(Bt,Rt){if(!I.isValidElement(Bt)||!Bt.type)return null;var me=Bt,Ct=me.type.isSelectOptGroup,_t=me.key,Ce=me.props,m=Ce.children,Yt=(0,f.Z)(Ce,wn);return De||!Ct?un(Bt):(0,b.Z)((0,b.Z)({key:"__RC_SELECT_GRP__".concat(_t===null?Rt:_t,"__"),label:_t},Yt),{},{options:dn(m)})}).filter(function(Bt){return Bt})}var Lr=function(De,Bt,Rt,me,Ct){return I.useMemo(function(){var _t=De,Ce=!De;Ce&&(_t=dn(Bt));var m=new Map,Yt=new Map,qt=function(jt,fn,an){an&&typeof an=="string"&&jt.set(fn[an],fn)},Ze=function xn(jt){for(var fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,an=0;an<jt.length;an+=1){var he=jt[an];!he[Rt.options]||fn?(m.set(he[Rt.value],he),qt(Yt,he,Rt.label),qt(Yt,he,me),qt(Yt,he,Ct)):xn(he[Rt.options],!0)}};return Ze(_t),{options:_t,valueOptions:m,labelOptions:Yt}},[De,Bt,Rt,me,Ct])},_n=Lr;function Vn(Pe){var De=I.useRef();De.current=Pe;var Bt=I.useCallback(function(){return De.current.apply(De,arguments)},[]);return Bt}function gr(Pe){var De=Pe.mode,Bt=Pe.options,Rt=Pe.children,me=Pe.backfill,Ct=Pe.allowClear,_t=Pe.placeholder,Ce=Pe.getInputElement,m=Pe.showSearch,Yt=Pe.onSearch,qt=Pe.defaultOpen,Ze=Pe.autoFocus,xn=Pe.labelInValue,jt=Pe.value,fn=Pe.inputValue,an=Pe.optionLabelProp,he=isMultiple(De),Sn=m!==void 0?m:he||De==="combobox",or=Bt||convertChildrenToData(Rt);if(warning(De!=="tags"||or.every(function(en){return!en.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),De==="tags"||De==="combobox"){var on=or.some(function(en){return en.options?en.options.some(function(Yn){return typeof("value"in Yn?Yn.value:Yn.key)=="number"}):typeof("value"in en?en.value:en.key)=="number"});warning(!on,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(De!=="combobox"||!an,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(De==="combobox"||!me,"`backfill` only works with `combobox` mode."),warning(De==="combobox"||!Ce,"`getInputElement` only work with `combobox` mode."),noteOnce(De!=="combobox"||!Ce||!Ct||!_t,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Yt&&!Sn&&De!=="combobox"&&De!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!qt||Ze,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),jt!=null){var Jt=toArray(jt);warning(!xn||Jt.every(function(en){return _typeof(en)==="object"&&("key"in en||"value"in en)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!he||Array.isArray(jt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Rt){var Tn=null;toNodeArray(Rt).some(function(en){if(!React.isValidElement(en)||!en.type)return!1;var Yn=en,Sr=Yn.type;if(Sr.isSelectOption)return!1;if(Sr.isSelectOptGroup){var br=toNodeArray(en.props.children).every(function(_r){return!React.isValidElement(_r)||!en.type||_r.type.isSelectOption?!0:(Tn=_r.type,!1)});return!br}return Tn=Sr,!0}),Tn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Tn.displayName||Tn.name||Tn,"`.")),warning(fn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function xr(Pe,De){if(Pe){var Bt=function Rt(me){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=0;_t<me.length;_t++){var Ce=me[_t];if(Ce[De==null?void 0:De.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ct&&Array.isArray(Ce[De==null?void 0:De.options])&&Rt(Ce[De==null?void 0:De.options],!0))break}};Bt(Pe)}}var Xn=null,Cn=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],On=["inputValue"];function Hn(Pe){return!Pe||(0,R.Z)(Pe)!=="object"}var Zt=I.forwardRef(function(Pe,De){var Bt=Pe.id,Rt=Pe.mode,me=Pe.prefixCls,Ct=me===void 0?"rc-select":me,_t=Pe.backfill,Ce=Pe.fieldNames,m=Pe.inputValue,Yt=Pe.searchValue,qt=Pe.onSearch,Ze=Pe.autoClearSearchValue,xn=Ze===void 0?!0:Ze,jt=Pe.onSelect,fn=Pe.onDeselect,an=Pe.dropdownMatchSelectWidth,he=an===void 0?!0:an,Sn=Pe.filterOption,or=Pe.filterSort,on=Pe.optionFilterProp,Jt=Pe.optionLabelProp,Tn=Pe.options,en=Pe.optionRender,Yn=Pe.children,Sr=Pe.defaultActiveFirstOption,br=Pe.menuItemSelectedIcon,_r=Pe.virtual,zr=Pe.direction,Br=Pe.listHeight,vr=Br===void 0?200:Br,Gr=Pe.listItemHeight,Wr=Gr===void 0?20:Gr,mn=Pe.labelRender,Bn=Pe.value,zn=Pe.defaultValue,dr=Pe.labelInValue,yr=Pe.onChange,Pr=Pe.maxCount,sa=(0,f.Z)(Pe,Cn),Se=(0,Ft.ZP)(Bt),ct=st(Rt),Ke=!!(!Tn&&Yn),dt=I.useMemo(function(){return Sn===void 0&&Rt==="combobox"?!1:Sn},[Sn,Rt]),yt=I.useMemo(function(){return nt(Ce,Ke)},[JSON.stringify(Ce),Ke]),Tt=(0,z.Z)("",{value:Yt!==void 0?Yt:m,postState:function(Kn){return Kn||""}}),Ut=(0,k.Z)(Tt,2),Mt=Ut[0],It=Ut[1],Xe=_n(Tn,Yn,yt,on,Jt),mt=Xe.valueOptions,vt=Xe.labelOptions,bt=Xe.options,kt=I.useCallback(function(In){var Kn=Re(In);return Kn.map(function(Qn){var Zn,Dr,Zr,Aa,la;if(Hn(Qn))Zn=Qn;else{var ua;Zr=Qn.key,Dr=Qn.label,Zn=(ua=Qn.value)!==null&&ua!==void 0?ua:Zr}var tr=mt.get(Zn);if(tr){var Mr;if(Dr===void 0&&(Dr=tr==null?void 0:tr[Jt||yt.label]),Zr===void 0&&(Zr=(Mr=tr==null?void 0:tr.key)!==null&&Mr!==void 0?Mr:Zn),Aa=tr==null?void 0:tr.disabled,la=tr==null?void 0:tr.title,0)var za}return{label:Dr,value:Zn,key:Zr,disabled:Aa,title:la}})},[yt,Jt,mt]),$t=(0,z.Z)(zn,{value:Bn}),pn=(0,k.Z)($t,2),sn=pn[0],kn=pn[1],Gn=I.useMemo(function(){var In,Kn=ct&&sn===null?[]:sn,Qn=kt(Kn);return Rt==="combobox"&&F((In=Qn[0])===null||In===void 0?void 0:In.value)?[]:Qn},[sn,kt,Rt,ct]),An=Kt(Gn,mt),qn=(0,k.Z)(An,2),Nn=qn[0],Ar=qn[1],Tr=I.useMemo(function(){if(!Rt&&Nn.length===1){var In=Nn[0];if(In.value===null&&(In.label===null||In.label===void 0))return[]}return Nn.map(function(Kn){var Qn;return(0,b.Z)((0,b.Z)({},Kn),{},{label:(Qn=typeof mn=="function"?mn(Kn):Kn.label)!==null&&Qn!==void 0?Qn:Kn.value})})},[Rt,Nn,mn]),Er=I.useMemo(function(){return new Set(Nn.map(function(In){return In.value}))},[Nn]);I.useEffect(function(){if(Rt==="combobox"){var In,Kn=(In=Nn[0])===null||In===void 0?void 0:In.value;It(oe(Kn)?String(Kn):"")}},[Nn]);var rr=Vn(function(In,Kn){var Qn=Kn!=null?Kn:In;return(0,v.Z)((0,v.Z)({},yt.value,In),yt.label,Qn)}),pr=I.useMemo(function(){if(Rt!=="tags")return bt;var In=(0,y.Z)(bt),Kn=function(Zn){return mt.has(Zn)};return(0,y.Z)(Nn).sort(function(Qn,Zn){return Qn.value<Zn.value?-1:1}).forEach(function(Qn){var Zn=Qn.value;Kn(Zn)||In.push(rr(Zn,Qn.label))}),In},[rr,bt,mt,Nn,Rt]),wr=Wt(pr,yt,Mt,dt,on),sr=I.useMemo(function(){return Rt!=="tags"||!Mt||wr.some(function(In){return In[on||"value"]===Mt})||wr.some(function(In){return In[yt.value]===Mt})?wr:[rr(Mt)].concat((0,y.Z)(wr))},[rr,on,Rt,wr,Mt,yt]),fr=function In(Kn){var Qn=(0,y.Z)(Kn).sort(function(Zn,Dr){return or(Zn,Dr,{searchValue:Mt})});return Qn.map(function(Zn){return Array.isArray(Zn.options)?(0,b.Z)((0,b.Z)({},Zn),{},{options:Zn.options.length>0?In(Zn.options):Zn.options}):Zn})},Un=I.useMemo(function(){return or?fr(sr):sr},[sr,or,Mt]),bn=I.useMemo(function(){return Ee(Un,{fieldNames:yt,childrenAsData:Ke})},[Un,yt,Ke]),Dn=function(Kn){var Qn=kt(Kn);if(kn(Qn),yr&&(Qn.length!==Nn.length||Qn.some(function(Zr,Aa){var la;return((la=Nn[Aa])===null||la===void 0?void 0:la.value)!==(Zr==null?void 0:Zr.value)}))){var Zn=dr?Qn:Qn.map(function(Zr){return Zr.value}),Dr=Qn.map(function(Zr){return Be(Ar(Zr.value))});yr(ct?Zn:Zn[0],ct?Dr:Dr[0])}},jn=I.useState(null),ar=(0,k.Z)(jn,2),Ae=ar[0],hr=ar[1],Vr=I.useState(0),Ia=(0,k.Z)(Vr,2),Ra=Ia[0],hi=Ia[1],Pa=Sr!==void 0?Sr:Rt!=="combobox",qr=I.useCallback(function(In,Kn){var Qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Zn=Qn.source,Dr=Zn===void 0?"keyboard":Zn;hi(Kn),_t&&Rt==="combobox"&&In!==null&&Dr==="keyboard"&&hr(String(In))},[_t,Rt]),Kr=function(Kn,Qn,Zn){var Dr=function(){var $a,Ba=Ar(Kn);return[dr?{label:Ba==null?void 0:Ba[yt.label],value:Kn,key:($a=Ba==null?void 0:Ba.key)!==null&&$a!==void 0?$a:Kn}:Kn,Be(Ba)]};if(Qn&&jt){var Zr=Dr(),Aa=(0,k.Z)(Zr,2),la=Aa[0],ua=Aa[1];jt(la,ua)}else if(!Qn&&fn&&Zn!=="clear"){var tr=Dr(),Mr=(0,k.Z)(tr,2),za=Mr[0],Ur=Mr[1];fn(za,Ur)}},jr=Vn(function(In,Kn){var Qn,Zn=ct?Kn.selected:!0;Zn?Qn=ct?[].concat((0,y.Z)(Nn),[In]):[In]:Qn=Nn.filter(function(Dr){return Dr.value!==In}),Dn(Qn),Kr(In,Zn),Rt==="combobox"?hr(""):(!st||xn)&&(It(""),hr(""))}),Ta=function(Kn,Qn){Dn(Kn);var Zn=Qn.type,Dr=Qn.values;(Zn==="remove"||Zn==="clear")&&Dr.forEach(function(Zr){Kr(Zr.value,!1,Zn)})},Xr=function(Kn,Qn){if(It(Kn),hr(null),Qn.source==="submit"){var Zn=(Kn||"").trim();if(Zn){var Dr=Array.from(new Set([].concat((0,y.Z)(Er),[Zn])));Dn(Dr),Kr(Zn,!0),It("")}return}Qn.source!=="blur"&&(Rt==="combobox"&&Dn(Kn),qt==null||qt(Kn))},ea=function(Kn){var Qn=Kn;Rt!=="tags"&&(Qn=Kn.map(function(Dr){var Zr=vt.get(Dr);return Zr==null?void 0:Zr.value}).filter(function(Dr){return Dr!==void 0}));var Zn=Array.from(new Set([].concat((0,y.Z)(Er),(0,y.Z)(Qn))));Dn(Zn),Zn.forEach(function(Dr){Kr(Dr,!0)})},ta=I.useMemo(function(){var In=_r!==!1&&he!==!1;return(0,b.Z)((0,b.Z)({},Xe),{},{flattenOptions:bn,onActiveValue:qr,defaultActiveFirstOption:Pa,onSelect:jr,menuItemSelectedIcon:br,rawValues:Er,fieldNames:yt,virtual:In,direction:zr,listHeight:vr,listItemHeight:Wr,childrenAsData:Ke,maxCount:Pr,optionRender:en})},[Pr,Xe,bn,qr,Pa,jr,br,Er,yt,_r,he,zr,vr,Wr,Ke,en]);return I.createElement(lt.Provider,{value:ta},I.createElement(at,(0,u.Z)({},sa,{id:Se,prefixCls:Ct,ref:De,omitDomProps:On,mode:Rt,displayValues:Tr,onDisplayValuesChange:Ta,direction:zr,searchValue:Mt,onSearch:Xr,autoClearSearchValue:xn,onSearchSplit:ea,dropdownMatchSelectWidth:he,OptionList:Ht,emptyOptions:!bn.length,activeValue:Ae,activeDescendantId:"".concat(Se,"_list_").concat(Ra)})))}),Rn=Zt;Rn.Option=Et,Rn.OptGroup=it;var mr=Rn,Or=mr},63158:function(x,c,r){"use strict";var u=r(54476),y=r(20068),v=r(42978),b=r(75931),k=r(59301),f=r(92310),R=r.n(f),z=r(18929),D=r(10228),I=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ae=k.forwardRef(function(G,be){var ce,ue=G.prefixCls,te=ue===void 0?"rc-switch":ue,X=G.className,q=G.checked,Z=G.defaultChecked,j=G.disabled,P=G.loadingIcon,U=G.checkedChildren,_=G.unCheckedChildren,J=G.onClick,de=G.onChange,H=G.onKeyDown,fe=(0,b.Z)(G,I),re=(0,z.Z)(!1,{value:q,defaultValue:Z}),V=(0,v.Z)(re,2),le=V[0],ne=V[1];function ge(He,oe){var F=le;return j||(F=He,ne(F),de==null||de(F,oe)),F}function Le(He){He.which===D.Z.LEFT?ge(!1,He):He.which===D.Z.RIGHT&&ge(!0,He),H==null||H(He)}function Re(He){var oe=ge(!le,He);J==null||J(oe,He)}var Ie=R()(te,X,(ce={},(0,y.Z)(ce,"".concat(te,"-checked"),le),(0,y.Z)(ce,"".concat(te,"-disabled"),j),ce));return k.createElement("button",(0,u.Z)({},fe,{type:"button",role:"switch","aria-checked":le,disabled:j,className:Ie,ref:be,onKeyDown:Le,onClick:Re}),P,k.createElement("span",{className:"".concat(te,"-inner")},k.createElement("span",{className:"".concat(te,"-inner-checked")},U),k.createElement("span",{className:"".concat(te,"-inner-unchecked")},_)))});ae.displayName="Switch",c.Z=ae},86351:function(x,c,r){"use strict";r.d(c,{R:function(){return y},w:function(){return u}});var u={},y="rc-table-internal-hook"},97347:function(x,c,r){"use strict";r.d(c,{L:function(){return te},Z:function(){return P}});var u=r(42978),y=r(20068),v=r(94480),b=r(76190),k=r(33885),f=r(75931),R=r(11592),z=r(48736),D=r(59301),I=r(86351),ae=r(54451);function G(U){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof _=="number"?_:_.endsWith("%")?U*parseFloat(_)/100:null}function be(U,_,J){return D.useMemo(function(){if(_&&_>0){var de=0,H=0;U.forEach(function(Re){var Ie=G(_,Re.width);Ie?de+=Ie:H+=1});var fe=Math.max(_,J),re=Math.max(fe-de,H),V=H,le=re/H,ne=0,ge=U.map(function(Re){var Ie=(0,k.Z)({},Re),He=G(_,Ie.width);if(He)Ie.width=He;else{var oe=Math.floor(le);Ie.width=V===1?re:oe,re-=oe,V-=1}return ne+=Ie.width,Ie});if(ne<fe){var Le=fe/ne;re=fe,ge.forEach(function(Re,Ie){var He=Math.floor(Re.width*Le);Re.width=Ie===ge.length-1?re:He,re-=He})}return[ge,Math.max(ne,fe)]}return[U,_]},[U,_,J])}var ce=["children"],ue=["fixed"];function te(U){return(0,R.Z)(U).filter(function(_){return D.isValidElement(_)}).map(function(_){var J=_.key,de=_.props,H=de.children,fe=(0,f.Z)(de,ce),re=(0,k.Z)({key:J},fe);return H&&(re.children=te(H)),re})}function X(U){return U.filter(function(_){return _&&(0,b.Z)(_)==="object"&&!_.hidden}).map(function(_){var J=_.children;return J&&J.length>0?(0,k.Z)((0,k.Z)({},_),{},{children:X(J)}):_})}function q(U){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return U.filter(function(J){return J&&(0,b.Z)(J)==="object"}).reduce(function(J,de,H){var fe=de.fixed,re=fe===!0?"left":fe,V="".concat(_,"-").concat(H),le=de.children;return le&&le.length>0?[].concat((0,v.Z)(J),(0,v.Z)(q(le,V).map(function(ne){return(0,k.Z)({fixed:re},ne)}))):[].concat((0,v.Z)(J),[(0,k.Z)((0,k.Z)({key:V},de),{},{fixed:re})])},[])}function Z(U){return U.map(function(_){var J=_.fixed,de=(0,f.Z)(_,ue),H=J;return J==="left"?H="right":J==="right"&&(H="left"),(0,k.Z)({fixed:H},de)})}function j(U,_){var J=U.prefixCls,de=U.columns,H=U.children,fe=U.expandable,re=U.expandedKeys,V=U.columnTitle,le=U.getRowKey,ne=U.onTriggerExpand,ge=U.expandIcon,Le=U.rowExpandable,Re=U.expandIconColumnIndex,Ie=U.direction,He=U.expandRowByClick,oe=U.columnWidth,F=U.fixed,L=U.scrollWidth,we=U.clientWidth,Ue=D.useMemo(function(){var St=de||te(H)||[];return X(St.slice())},[de,H]),Ne=D.useMemo(function(){if(fe){var St=Ue.slice();if(!St.includes(I.w)){var A=Re||0;A>=0&&(A||F==="left"||!F)&&St.splice(A,0,I.w),F==="right"&&St.splice(Ue.length,0,I.w)}var p=St.indexOf(I.w);St=St.filter(function(g,M){return g!==I.w||M===p});var d=Ue[p],T;F?T=F:T=d?d.fixed:null;var O=(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},ae.v,{className:"".concat(J,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",V),"fixed",T),"className","".concat(J,"-row-expand-icon-cell")),"width",oe),"render",function(M,xe,tt){var nt=le(xe,tt),Ee=re.has(nt),Be=Le?Le(xe):!0,Oe=ge({prefixCls:J,expanded:Ee,expandable:Be,record:xe,onExpand:ne});return He?D.createElement("span",{onClick:function(lt){return lt.stopPropagation()}},Oe):Oe});return St.map(function(g){return g===I.w?O:g})}return Ue.filter(function(g){return g!==I.w})},[fe,Ue,le,re,ge,Ie]),xt=D.useMemo(function(){var St=Ne;return _&&(St=_(St)),St.length||(St=[{render:function(){return null}}]),St},[_,Ne,Ie]),pt=D.useMemo(function(){return Ie==="rtl"?Z(q(xt)):q(xt)},[xt,Ie,L]),Lt=D.useMemo(function(){for(var St=-1,A=pt.length-1;A>=0;A-=1){var p=pt[A].fixed;if(p==="left"||p===!0){St=A;break}}if(St>=0)for(var d=0;d<=St;d+=1){var T=pt[d].fixed;if(T!=="left"&&T!==!0)return!0}var O=pt.findIndex(function(xe){var tt=xe.fixed;return tt==="right"});if(O>=0)for(var g=O;g<pt.length;g+=1){var M=pt[g].fixed;if(M!=="right")return!0}return!1},[pt]),ze=be(pt,L,we),Te=(0,u.Z)(ze,2),_e=Te[0],$e=Te[1];return[xt,_e,$e,Lt]}var P=j},4030:function(x,c,r){"use strict";r.d(c,{w2:function(){return u.w},vP:function(){return je.v},RQ:function(){return u.R},ER:function(){return nt},Q$:function(){return Sn},TN:function(){return yr}});var u=r(86351),y=r(42978),v=r(6089),b=r(34280),k=r(13697),f=r(59301),R=r(4676);function z(Se){var ct=f.createContext(void 0),Ke=function(yt){var Tt=yt.value,Ut=yt.children,Mt=f.useRef(Tt);Mt.current=Tt;var It=f.useState(function(){return{getValue:function(){return Mt.current},listeners:new Set}}),Xe=(0,y.Z)(It,1),mt=Xe[0];return(0,b.Z)(function(){(0,R.unstable_batchedUpdates)(function(){mt.listeners.forEach(function(vt){vt(Tt)})})},[Tt]),f.createElement(ct.Provider,{value:mt},Ut)};return{Context:ct,Provider:Ke,defaultValue:Se}}function D(Se,ct){var Ke=(0,v.Z)(typeof ct=="function"?ct:function(vt){if(ct===void 0)return vt;if(!Array.isArray(ct))return vt[ct];var bt={};return ct.forEach(function(kt){bt[kt]=vt[kt]}),bt}),dt=f.useContext(Se==null?void 0:Se.Context),yt=dt||{},Tt=yt.listeners,Ut=yt.getValue,Mt=f.useRef();Mt.current=Ke(dt?Ut():Se==null?void 0:Se.defaultValue);var It=f.useState({}),Xe=(0,y.Z)(It,2),mt=Xe[1];return(0,b.Z)(function(){if(!dt)return;function vt(bt){var kt=Ke(bt);(0,k.Z)(Mt.current,kt,!0)||mt({})}return Tt.add(vt),function(){Tt.delete(vt)}},[dt]),Mt.current}var I=r(54476),ae=r(8654);function G(){var Se=f.createContext(null);function ct(){return f.useContext(Se)}function Ke(yt,Tt){var Ut=(0,ae.Yr)(yt),Mt=function(Xe,mt){var vt=Ut?{ref:mt}:{},bt=f.useRef(0),kt=f.useRef(Xe),$t=ct();return $t!==null?f.createElement(yt,(0,I.Z)({},Xe,vt)):((!Tt||Tt(kt.current,Xe))&&(bt.current+=1),kt.current=Xe,f.createElement(Se.Provider,{value:bt.current},f.createElement(yt,(0,I.Z)({},Xe,vt))))};return Ut?f.forwardRef(Mt):Mt}function dt(yt,Tt){var Ut=(0,ae.Yr)(yt),Mt=function(Xe,mt){var vt=Ut?{ref:mt}:{};return ct(),f.createElement(yt,(0,I.Z)({},Xe,vt))};return Ut?f.memo(f.forwardRef(Mt),Tt):f.memo(Mt,Tt)}return{makeImmutable:Ke,responseImmutable:dt,useImmutableMark:ct}}var be=G(),ce=be.makeImmutable,ue=be.responseImmutable,te=be.useImmutableMark,X=G(),q=X.makeImmutable,Z=X.responseImmutable,j=X.useImmutableMark,P=z(),U=P;function _(Se,ct){var Ke=React.useRef(0);Ke.current+=1;var dt=React.useRef(Se),yt=[];Object.keys(Se||{}).map(function(Ut){var Mt;(Se==null?void 0:Se[Ut])!==((Mt=dt.current)===null||Mt===void 0?void 0:Mt[Ut])&&yt.push(Ut)}),dt.current=Se;var Tt=React.useRef([]);return yt.length&&(Tt.current=yt),React.useDebugValue(Ke.current),React.useDebugValue(Tt.current.join(", ")),ct&&console.log("".concat(ct,":"),Ke.current,Tt.current),Ke.current}var J=null,de=null,H=r(76190),fe=r(33885),re=r(20068),V=r(92310),le=r.n(V),ne=r(80547),ge=r(97938),Le=r(48736),Re=f.createContext({renderWithProps:!1}),Ie=Re,He="RC_TABLE_KEY";function oe(Se){return Se==null?[]:Array.isArray(Se)?Se:[Se]}function F(Se){var ct=[],Ke={};return Se.forEach(function(dt){for(var yt=dt||{},Tt=yt.key,Ut=yt.dataIndex,Mt=Tt||oe(Ut).join("-")||He;Ke[Mt];)Mt="".concat(Mt,"_next");Ke[Mt]=!0,ct.push(Mt)}),ct}function L(Se){return Se!=null}function we(Se){return typeof Se=="number"&&!Number.isNaN(Se)}function Ue(Se){return Se&&(0,H.Z)(Se)==="object"&&!Array.isArray(Se)&&!f.isValidElement(Se)}function Ne(Se,ct,Ke,dt,yt,Tt){var Ut=f.useContext(Ie),Mt=j(),It=(0,ne.Z)(function(){if(L(dt))return[dt];var Xe=ct==null||ct===""?[]:Array.isArray(ct)?ct:[ct],mt=(0,ge.Z)(Se,Xe),vt=mt,bt=void 0;if(yt){var kt=yt(mt,Se,Ke);Ue(kt)?(vt=kt.children,bt=kt.props,Ut.renderWithProps=!0):vt=kt}return[vt,bt]},[Mt,Se,dt,ct,yt,Ke],function(Xe,mt){if(Tt){var vt=(0,y.Z)(Xe,2),bt=vt[1],kt=(0,y.Z)(mt,2),$t=kt[1];return Tt($t,bt)}return Ut.renderWithProps?!0:!(0,k.Z)(Xe,mt,!0)});return It}function xt(Se,ct,Ke,dt){var yt=Se+ct-1;return Se<=dt&&yt>=Ke}function pt(Se,ct){return D(U,function(Ke){var dt=xt(Se,ct||1,Ke.hoverStartRow,Ke.hoverEndRow);return[dt,Ke.onHover]})}var Lt=r(70425),ze=function(ct){var Ke=ct.ellipsis,dt=ct.rowType,yt=ct.children,Tt,Ut=Ke===!0?{showTitle:!0}:Ke;return Ut&&(Ut.showTitle||dt==="header")&&(typeof yt=="string"||typeof yt=="number"?Tt=yt.toString():f.isValidElement(yt)&&typeof yt.props.children=="string"&&(Tt=yt.props.children)),Tt};function Te(Se){var ct,Ke,dt,yt,Tt,Ut,Mt,It,Xe=Se.component,mt=Se.children,vt=Se.ellipsis,bt=Se.scope,kt=Se.prefixCls,$t=Se.className,pn=Se.align,sn=Se.record,kn=Se.render,Gn=Se.dataIndex,An=Se.renderIndex,qn=Se.shouldCellUpdate,Nn=Se.index,Ar=Se.rowType,Tr=Se.colSpan,Er=Se.rowSpan,rr=Se.fixLeft,pr=Se.fixRight,wr=Se.firstFixLeft,sr=Se.lastFixLeft,fr=Se.firstFixRight,Un=Se.lastFixRight,bn=Se.appendNode,Dn=Se.additionalProps,jn=Dn===void 0?{}:Dn,ar=Se.isSticky,Ae="".concat(kt,"-cell"),hr=D(U,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Vr=hr.supportSticky,Ia=hr.allColumnsFixedLeft,Ra=hr.rowHoverable,hi=Ne(sn,Gn,An,mt,kn,qn),Pa=(0,y.Z)(hi,2),qr=Pa[0],Kr=Pa[1],jr={},Ta=typeof rr=="number"&&Vr,Xr=typeof pr=="number"&&Vr;Ta&&(jr.position="sticky",jr.left=rr),Xr&&(jr.position="sticky",jr.right=pr);var ea=(ct=(Ke=(dt=Kr==null?void 0:Kr.colSpan)!==null&&dt!==void 0?dt:jn.colSpan)!==null&&Ke!==void 0?Ke:Tr)!==null&&ct!==void 0?ct:1,ta=(yt=(Tt=(Ut=Kr==null?void 0:Kr.rowSpan)!==null&&Ut!==void 0?Ut:jn.rowSpan)!==null&&Tt!==void 0?Tt:Er)!==null&&yt!==void 0?yt:1,In=pt(Nn,ta),Kn=(0,y.Z)(In,2),Qn=Kn[0],Zn=Kn[1],Dr=(0,Lt.zX)(function(za){var Ur;sn&&Zn(Nn,Nn+ta-1),jn==null||(Ur=jn.onMouseEnter)===null||Ur===void 0||Ur.call(jn,za)}),Zr=(0,Lt.zX)(function(za){var Ur;sn&&Zn(-1,-1),jn==null||(Ur=jn.onMouseLeave)===null||Ur===void 0||Ur.call(jn,za)});if(ea===0||ta===0)return null;var Aa=(Mt=jn.title)!==null&&Mt!==void 0?Mt:ze({rowType:Ar,ellipsis:vt,children:qr}),la=le()(Ae,$t,(It={},(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)(It,"".concat(Ae,"-fix-left"),Ta&&Vr),"".concat(Ae,"-fix-left-first"),wr&&Vr),"".concat(Ae,"-fix-left-last"),sr&&Vr),"".concat(Ae,"-fix-left-all"),sr&&Ia&&Vr),"".concat(Ae,"-fix-right"),Xr&&Vr),"".concat(Ae,"-fix-right-first"),fr&&Vr),"".concat(Ae,"-fix-right-last"),Un&&Vr),"".concat(Ae,"-ellipsis"),vt),"".concat(Ae,"-with-append"),bn),"".concat(Ae,"-fix-sticky"),(Ta||Xr)&&ar&&Vr),(0,re.Z)(It,"".concat(Ae,"-row-hover"),!Kr&&Qn)),jn.className,Kr==null?void 0:Kr.className),ua={};pn&&(ua.textAlign=pn);var tr=(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},Kr==null?void 0:Kr.style),jr),ua),jn.style),Mr=qr;return(0,H.Z)(Mr)==="object"&&!Array.isArray(Mr)&&!f.isValidElement(Mr)&&(Mr=null),vt&&(sr||fr)&&(Mr=f.createElement("span",{className:"".concat(Ae,"-content")},Mr)),f.createElement(Xe,(0,I.Z)({},Kr,jn,{className:la,style:tr,title:Aa,scope:bt,onMouseEnter:Ra?Dr:void 0,onMouseLeave:Ra?Zr:void 0,colSpan:ea!==1?ea:null,rowSpan:ta!==1?ta:null}),bn,Mr)}var _e=f.memo(Te);function $e(Se,ct,Ke,dt,yt){var Tt=Ke[Se]||{},Ut=Ke[ct]||{},Mt,It;Tt.fixed==="left"?Mt=dt.left[yt==="rtl"?ct:Se]:Ut.fixed==="right"&&(It=dt.right[yt==="rtl"?Se:ct]);var Xe=!1,mt=!1,vt=!1,bt=!1,kt=Ke[ct+1],$t=Ke[Se-1],pn=kt&&!kt.fixed||$t&&!$t.fixed||Ke.every(function(qn){return qn.fixed==="left"});if(yt==="rtl"){if(Mt!==void 0){var sn=$t&&$t.fixed==="left";bt=!sn&&pn}else if(It!==void 0){var kn=kt&&kt.fixed==="right";vt=!kn&&pn}}else if(Mt!==void 0){var Gn=kt&&kt.fixed==="left";Xe=!Gn&&pn}else if(It!==void 0){var An=$t&&$t.fixed==="right";mt=!An&&pn}return{fixLeft:Mt,fixRight:It,lastFixLeft:Xe,firstFixRight:mt,lastFixRight:vt,firstFixLeft:bt,isSticky:dt.isSticky}}var St=f.createContext({}),A=St;function p(Se){var ct=Se.className,Ke=Se.index,dt=Se.children,yt=Se.colSpan,Tt=yt===void 0?1:yt,Ut=Se.rowSpan,Mt=Se.align,It=D(U,["prefixCls","direction"]),Xe=It.prefixCls,mt=It.direction,vt=f.useContext(A),bt=vt.scrollColumnIndex,kt=vt.stickyOffsets,$t=vt.flattenColumns,pn=Ke+Tt-1,sn=pn+1===bt?Tt+1:Tt,kn=$e(Ke,Ke+sn-1,$t,kt,mt);return f.createElement(_e,(0,I.Z)({className:ct,index:Ke,component:"td",prefixCls:Xe,record:null,dataIndex:null,align:Mt,colSpan:sn,rowSpan:Ut,render:function(){return dt}},kn))}var d=r(75931),T=["children"];function O(Se){var ct=Se.children,Ke=(0,d.Z)(Se,T);return f.createElement("tr",Ke,ct)}function g(Se){var ct=Se.children;return ct}g.Row=O,g.Cell=p;var M=g;function xe(Se){var ct=Se.children,Ke=Se.stickyOffsets,dt=Se.flattenColumns,yt=D(U,"prefixCls"),Tt=dt.length-1,Ut=dt[Tt],Mt=f.useMemo(function(){return{stickyOffsets:Ke,flattenColumns:dt,scrollColumnIndex:Ut!=null&&Ut.scrollbar?Tt:null}},[Ut,dt,Tt,Ke]);return f.createElement(A.Provider,{value:Mt},f.createElement("tfoot",{className:"".concat(yt,"-summary")},ct))}var tt=Z(xe),nt=M,Ee=r(29301),Be=r(24514),Oe=r(75152),qe=r(26112);function lt(Se,ct,Ke,dt,yt,Tt,Ut){Se.push({record:ct,indent:Ke,index:Ut});var Mt=Tt(ct),It=yt==null?void 0:yt.has(Mt);if(ct&&Array.isArray(ct[dt])&&It)for(var Xe=0;Xe<ct[dt].length;Xe+=1)lt(Se,ct[dt][Xe],Ke+1,dt,yt,Tt,Xe)}function Ge(Se,ct,Ke,dt){var yt=f.useMemo(function(){if(Ke!=null&&Ke.size){for(var Tt=[],Ut=0;Ut<(Se==null?void 0:Se.length);Ut+=1){var Mt=Se[Ut];lt(Tt,Mt,0,ct,Ke,dt,Ut)}return Tt}return Se==null?void 0:Se.map(function(It,Xe){return{record:It,indent:0,index:Xe}})},[Se,ct,Ke,dt]);return yt}function pe(Se,ct,Ke,dt){var yt=D(U,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Tt=yt.flattenColumns,Ut=yt.expandableType,Mt=yt.expandedKeys,It=yt.childrenColumnName,Xe=yt.onTriggerExpand,mt=yt.rowExpandable,vt=yt.onRow,bt=yt.expandRowByClick,kt=yt.rowClassName,$t=Ut==="nest",pn=Ut==="row"&&(!mt||mt(Se)),sn=pn||$t,kn=Mt&&Mt.has(ct),Gn=It&&Se&&Se[It],An=(0,Lt.zX)(Xe),qn=vt==null?void 0:vt(Se,Ke),Nn=qn==null?void 0:qn.onClick,Ar=function(pr){bt&&sn&&Xe(Se,pr);for(var wr=arguments.length,sr=new Array(wr>1?wr-1:0),fr=1;fr<wr;fr++)sr[fr-1]=arguments[fr];Nn==null||Nn.apply(void 0,[pr].concat(sr))},Tr;typeof kt=="string"?Tr=kt:typeof kt=="function"&&(Tr=kt(Se,Ke,dt));var Er=F(Tt);return(0,fe.Z)((0,fe.Z)({},yt),{},{columnsKey:Er,nestExpandable:$t,expanded:kn,hasNestChildren:Gn,record:Se,onTriggerExpand:An,rowSupportExpand:pn,expandable:sn,rowProps:(0,fe.Z)((0,fe.Z)({},qn),{},{className:le()(Tr,qn==null?void 0:qn.className),onClick:Ar})})}function rt(Se){var ct=Se.prefixCls,Ke=Se.children,dt=Se.component,yt=Se.cellComponent,Tt=Se.className,Ut=Se.expanded,Mt=Se.colSpan,It=Se.isEmpty,Xe=D(U,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),mt=Xe.scrollbarSize,vt=Xe.fixHeader,bt=Xe.fixColumn,kt=Xe.componentWidth,$t=Xe.horizonScroll,pn=Ke;return(It?$t&&kt:bt)&&(pn=f.createElement("div",{style:{width:kt-(vt&&!It?mt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ct,"-expanded-row-fixed")},pn)),f.createElement(dt,{className:Tt,style:{display:Ut?null:"none"}},f.createElement(_e,{component:yt,prefixCls:ct,colSpan:Mt},pn))}var st=rt;function Ve(Se){var ct=Se.prefixCls,Ke=Se.record,dt=Se.onExpand,yt=Se.expanded,Tt=Se.expandable,Ut="".concat(ct,"-row-expand-icon");if(!Tt)return f.createElement("span",{className:le()(Ut,"".concat(ct,"-row-spaced"))});var Mt=function(Xe){dt(Ke,Xe),Xe.stopPropagation()};return f.createElement("span",{className:le()(Ut,(0,re.Z)((0,re.Z)({},"".concat(ct,"-row-expanded"),yt),"".concat(ct,"-row-collapsed"),!yt)),onClick:Mt})}function at(Se,ct,Ke){var dt=[];function yt(Tt){(Tt||[]).forEach(function(Ut,Mt){dt.push(ct(Ut,Mt)),yt(Ut[Ke])})}return yt(Se),dt}function Nt(Se,ct,Ke,dt){return typeof Se=="string"?Se:typeof Se=="function"?Se(ct,Ke,dt):""}function it(Se,ct,Ke,dt,yt){var Tt=Se.record,Ut=Se.prefixCls,Mt=Se.columnsKey,It=Se.fixedInfoList,Xe=Se.expandIconColumnIndex,mt=Se.nestExpandable,vt=Se.indentSize,bt=Se.expandIcon,kt=Se.expanded,$t=Se.hasNestChildren,pn=Se.onTriggerExpand,sn=Mt[Ke],kn=It[Ke],Gn;Ke===(Xe||0)&&mt&&(Gn=f.createElement(f.Fragment,null,f.createElement("span",{style:{paddingLeft:"".concat(vt*dt,"px")},className:"".concat(Ut,"-row-indent indent-level-").concat(dt)}),bt({prefixCls:Ut,expanded:kt,expandable:$t,record:Tt,onExpand:pn})));var An;return ct.onCell&&(An=ct.onCell(Tt,yt)),{key:sn,fixedInfo:kn,appendCellNode:Gn,additionalCellProps:An||{}}}function Q(Se){var ct=Se.className,Ke=Se.style,dt=Se.record,yt=Se.index,Tt=Se.renderIndex,Ut=Se.rowKey,Mt=Se.indent,It=Mt===void 0?0:Mt,Xe=Se.rowComponent,mt=Se.cellComponent,vt=Se.scopeCellComponent,bt=pe(dt,Ut,yt,It),kt=bt.prefixCls,$t=bt.flattenColumns,pn=bt.expandedRowClassName,sn=bt.expandedRowRender,kn=bt.rowProps,Gn=bt.expanded,An=bt.rowSupportExpand,qn=f.useRef(!1);qn.current||(qn.current=Gn);var Nn=Nt(pn,dt,yt,It),Ar=f.createElement(Xe,(0,I.Z)({},kn,{"data-row-key":Ut,className:le()(ct,"".concat(kt,"-row"),"".concat(kt,"-row-level-").concat(It),kn==null?void 0:kn.className,(0,re.Z)({},Nn,It>=1)),style:(0,fe.Z)((0,fe.Z)({},Ke),kn==null?void 0:kn.style)}),$t.map(function(rr,pr){var wr=rr.render,sr=rr.dataIndex,fr=rr.className,Un=it(bt,rr,pr,It,yt),bn=Un.key,Dn=Un.fixedInfo,jn=Un.appendCellNode,ar=Un.additionalCellProps;return f.createElement(_e,(0,I.Z)({className:fr,ellipsis:rr.ellipsis,align:rr.align,scope:rr.rowScope,component:rr.rowScope?vt:mt,prefixCls:kt,key:bn,record:dt,index:yt,renderIndex:Tt,dataIndex:sr,render:wr,shouldCellUpdate:rr.shouldCellUpdate},Dn,{appendNode:jn,additionalProps:ar}))})),Tr;if(An&&(qn.current||Gn)){var Er=sn(dt,yt,It+1,Gn);Tr=f.createElement(st,{expanded:Gn,className:le()("".concat(kt,"-expanded-row"),"".concat(kt,"-expanded-row-level-").concat(It+1),Nn),prefixCls:kt,component:Xe,cellComponent:mt,colSpan:$t.length,isEmpty:!1},Er)}return f.createElement(f.Fragment,null,Ar,Tr)}var Et=Z(Q);function wt(Se){var ct=Se.columnKey,Ke=Se.onColumnResize,dt=f.useRef();return(0,b.Z)(function(){dt.current&&Ke(ct,dt.current.offsetWidth)},[]),f.createElement(Ee.Z,{data:ct},f.createElement("td",{ref:dt,style:{padding:0,border:0,height:0}},f.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ye=r(29194);function zt(Se){var ct=Se.prefixCls,Ke=Se.columnsKey,dt=Se.onColumnResize,yt=f.useRef(null);return f.createElement("tr",{"aria-hidden":"true",className:"".concat(ct,"-measure-row"),style:{height:0,fontSize:0},ref:yt},f.createElement(Ee.Z.Collection,{onBatchResize:function(Ut){(0,ye.Z)(yt.current)&&Ut.forEach(function(Mt){var It=Mt.data,Xe=Mt.size;dt(It,Xe.offsetWidth)})}},Ke.map(function(Tt){return f.createElement(wt,{key:Tt,columnKey:Tt,onColumnResize:dt})})))}function nn(Se){var ct=Se.data,Ke=Se.measureColumnWidth,dt=D(U,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),yt=dt.prefixCls,Tt=dt.getComponent,Ut=dt.onColumnResize,Mt=dt.flattenColumns,It=dt.getRowKey,Xe=dt.expandedKeys,mt=dt.childrenColumnName,vt=dt.emptyNode,bt=Ge(ct,mt,Xe,It),kt=f.useRef({renderWithProps:!1}),$t=Tt(["body","wrapper"],"tbody"),pn=Tt(["body","row"],"tr"),sn=Tt(["body","cell"],"td"),kn=Tt(["body","cell"],"th"),Gn;ct.length?Gn=bt.map(function(qn,Nn){var Ar=qn.record,Tr=qn.indent,Er=qn.index,rr=It(Ar,Nn);return f.createElement(Et,{key:rr,rowKey:rr,record:Ar,index:Nn,renderIndex:Er,rowComponent:pn,cellComponent:sn,scopeCellComponent:kn,indent:Tr})}):Gn=f.createElement(st,{expanded:!0,className:"".concat(yt,"-placeholder"),prefixCls:yt,component:pn,cellComponent:sn,colSpan:Mt.length,isEmpty:!0},vt);var An=F(Mt);return f.createElement(Ie.Provider,{value:kt.current},f.createElement($t,{className:"".concat(yt,"-tbody")},Ke&&f.createElement(zt,{prefixCls:yt,columnsKey:An,onColumnResize:Ut}),Gn))}var Xt=Z(nn),je=r(54451),En=["columnType"];function hn(Se){for(var ct=Se.colWidths,Ke=Se.columns,dt=Se.columCount,yt=D(U,["tableLayout"]),Tt=yt.tableLayout,Ut=[],Mt=dt||Ke.length,It=!1,Xe=Mt-1;Xe>=0;Xe-=1){var mt=ct[Xe],vt=Ke&&Ke[Xe],bt=void 0,kt=void 0;if(vt&&(bt=vt[je.v],Tt==="auto"&&(kt=vt.minWidth)),mt||kt||bt||It){var $t=bt||{},pn=$t.columnType,sn=(0,d.Z)($t,En);Ut.unshift(f.createElement("col",(0,I.Z)({key:Xe,style:{width:mt,minWidth:kt}},sn))),It=!0}}return f.createElement("colgroup",null,Ut)}var Ht=hn,Kt=r(94480),gn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Wt(Se,ct){return(0,f.useMemo)(function(){for(var Ke=[],dt=0;dt<ct;dt+=1){var yt=Se[dt];if(yt!==void 0)Ke[dt]=yt;else return null}return Ke},[Se.join("_"),ct])}var Ft=f.forwardRef(function(Se,ct){var Ke=Se.className,dt=Se.noData,yt=Se.columns,Tt=Se.flattenColumns,Ut=Se.colWidths,Mt=Se.columCount,It=Se.stickyOffsets,Xe=Se.direction,mt=Se.fixHeader,vt=Se.stickyTopOffset,bt=Se.stickyBottomOffset,kt=Se.stickyClassName,$t=Se.onScroll,pn=Se.maxContentScroll,sn=Se.children,kn=(0,d.Z)(Se,gn),Gn=D(U,["prefixCls","scrollbarSize","isSticky","getComponent"]),An=Gn.prefixCls,qn=Gn.scrollbarSize,Nn=Gn.isSticky,Ar=Gn.getComponent,Tr=Ar(["header","table"],"table"),Er=Nn&&!mt?0:qn,rr=f.useRef(null),pr=f.useCallback(function(ar){(0,ae.mH)(ct,ar),(0,ae.mH)(rr,ar)},[]);f.useEffect(function(){var ar;function Ae(hr){var Vr=hr,Ia=Vr.currentTarget,Ra=Vr.deltaX;Ra&&($t({currentTarget:Ia,scrollLeft:Ia.scrollLeft+Ra}),hr.preventDefault())}return(ar=rr.current)===null||ar===void 0||ar.addEventListener("wheel",Ae,{passive:!1}),function(){var hr;(hr=rr.current)===null||hr===void 0||hr.removeEventListener("wheel",Ae)}},[]);var wr=f.useMemo(function(){return Tt.every(function(ar){return ar.width})},[Tt]),sr=Tt[Tt.length-1],fr={fixed:sr?sr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(An,"-cell-scrollbar")}}},Un=(0,f.useMemo)(function(){return Er?[].concat((0,Kt.Z)(yt),[fr]):yt},[Er,yt]),bn=(0,f.useMemo)(function(){return Er?[].concat((0,Kt.Z)(Tt),[fr]):Tt},[Er,Tt]),Dn=(0,f.useMemo)(function(){var ar=It.right,Ae=It.left;return(0,fe.Z)((0,fe.Z)({},It),{},{left:Xe==="rtl"?[].concat((0,Kt.Z)(Ae.map(function(hr){return hr+Er})),[0]):Ae,right:Xe==="rtl"?ar:[].concat((0,Kt.Z)(ar.map(function(hr){return hr+Er})),[0]),isSticky:Nn})},[Er,It,Nn]),jn=Wt(Ut,Mt);return f.createElement("div",{style:(0,fe.Z)({overflow:"hidden"},Nn?{top:vt,bottom:bt}:{}),ref:pr,className:le()(Ke,(0,re.Z)({},kt,!!kt))},f.createElement(Tr,{style:{tableLayout:"fixed",visibility:dt||jn?null:"hidden"}},(!dt||!pn||wr)&&f.createElement(Ht,{colWidths:jn?[].concat((0,Kt.Z)(jn),[Er]):[],columCount:Mt+1,columns:bn}),sn((0,fe.Z)((0,fe.Z)({},kn),{},{stickyOffsets:Dn,columns:Un,flattenColumns:bn}))))}),Dt=f.memo(Ft),Qt=function(ct){var Ke=ct.cells,dt=ct.stickyOffsets,yt=ct.flattenColumns,Tt=ct.rowComponent,Ut=ct.cellComponent,Mt=ct.onHeaderRow,It=ct.index,Xe=D(U,["prefixCls","direction"]),mt=Xe.prefixCls,vt=Xe.direction,bt;Mt&&(bt=Mt(Ke.map(function($t){return $t.column}),It));var kt=F(Ke.map(function($t){return $t.column}));return f.createElement(Tt,bt,Ke.map(function($t,pn){var sn=$t.column,kn=$e($t.colStart,$t.colEnd,yt,dt,vt),Gn;return sn&&sn.onHeaderCell&&(Gn=$t.column.onHeaderCell(sn)),f.createElement(_e,(0,I.Z)({},$t,{scope:sn.title?$t.colSpan>1?"colgroup":"col":null,ellipsis:sn.ellipsis,align:sn.align,component:Ut,prefixCls:mt,key:kt[pn]},kn,{additionalProps:Gn,rowType:"header"}))}))},wn=Qt;function un(Se){var ct=[];function Ke(Ut,Mt){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ct[It]=ct[It]||[];var Xe=Mt,mt=Ut.filter(Boolean).map(function(vt){var bt={key:vt.key,className:vt.className||"",children:vt.title,column:vt,colStart:Xe},kt=1,$t=vt.children;return $t&&$t.length>0&&(kt=Ke($t,Xe,It+1).reduce(function(pn,sn){return pn+sn},0),bt.hasSubColumns=!0),"colSpan"in vt&&(kt=vt.colSpan),"rowSpan"in vt&&(bt.rowSpan=vt.rowSpan),bt.colSpan=kt,bt.colEnd=bt.colStart+kt-1,ct[It].push(bt),Xe+=kt,kt});return mt}Ke(Se,0);for(var dt=ct.length,yt=function(Mt){ct[Mt].forEach(function(It){!("rowSpan"in It)&&!It.hasSubColumns&&(It.rowSpan=dt-Mt)})},Tt=0;Tt<dt;Tt+=1)yt(Tt);return ct}var dn=function(ct){var Ke=ct.stickyOffsets,dt=ct.columns,yt=ct.flattenColumns,Tt=ct.onHeaderRow,Ut=D(U,["prefixCls","getComponent"]),Mt=Ut.prefixCls,It=Ut.getComponent,Xe=f.useMemo(function(){return un(dt)},[dt]),mt=It(["header","wrapper"],"thead"),vt=It(["header","row"],"tr"),bt=It(["header","cell"],"th");return f.createElement(mt,{className:"".concat(Mt,"-thead")},Xe.map(function(kt,$t){var pn=f.createElement(wn,{key:$t,flattenColumns:yt,cells:kt,stickyOffsets:Ke,rowComponent:vt,cellComponent:bt,onHeaderRow:Tt,index:$t});return pn}))},Lr=Z(dn),_n=r(97347);function Vn(Se,ct,Ke){var dt=(0,je.g)(Se),yt=dt.expandIcon,Tt=dt.expandedRowKeys,Ut=dt.defaultExpandedRowKeys,Mt=dt.defaultExpandAllRows,It=dt.expandedRowRender,Xe=dt.onExpand,mt=dt.onExpandedRowsChange,vt=dt.childrenColumnName,bt=yt||Ve,kt=vt||"children",$t=f.useMemo(function(){return It?"row":Se.expandable&&Se.internalHooks===u.R&&Se.expandable.__PARENT_RENDER_ICON__||ct.some(function(Nn){return Nn&&(0,H.Z)(Nn)==="object"&&Nn[kt]})?"nest":!1},[!!It,ct]),pn=f.useState(function(){return Ut||(Mt?at(ct,Ke,kt):[])}),sn=(0,y.Z)(pn,2),kn=sn[0],Gn=sn[1],An=f.useMemo(function(){return new Set(Tt||kn||[])},[Tt,kn]),qn=f.useCallback(function(Nn){var Ar=Ke(Nn,ct.indexOf(Nn)),Tr,Er=An.has(Ar);Er?(An.delete(Ar),Tr=(0,Kt.Z)(An)):Tr=[].concat((0,Kt.Z)(An),[Ar]),Gn(Tr),Xe&&Xe(!Er,Nn),mt&&mt(Tr)},[Ke,An,ct,Xe,mt]);return[dt,$t,An,bt,kt,qn]}function gr(Se,ct,Ke){var dt=Se.map(function(yt,Tt){return $e(Tt,Tt,Se,ct,Ke)});return(0,ne.Z)(function(){return dt},[dt],function(yt,Tt){return!(0,k.Z)(yt,Tt)})}function xr(Se){var ct=(0,f.useRef)(Se),Ke=(0,f.useState)({}),dt=(0,y.Z)(Ke,2),yt=dt[1],Tt=(0,f.useRef)(null),Ut=(0,f.useRef)([]);function Mt(It){Ut.current.push(It);var Xe=Promise.resolve();Tt.current=Xe,Xe.then(function(){if(Tt.current===Xe){var mt=Ut.current,vt=ct.current;Ut.current=[],mt.forEach(function(bt){ct.current=bt(ct.current)}),Tt.current=null,vt!==ct.current&&yt({})}})}return(0,f.useEffect)(function(){return function(){Tt.current=null}},[]),[ct.current,Mt]}function Xn(Se){var ct=(0,f.useRef)(Se||null),Ke=(0,f.useRef)();function dt(){window.clearTimeout(Ke.current)}function yt(Ut){ct.current=Ut,dt(),Ke.current=window.setTimeout(function(){ct.current=null,Ke.current=void 0},100)}function Tt(){return ct.current}return(0,f.useEffect)(function(){return dt},[]),[yt,Tt]}function Cn(){var Se=f.useState(-1),ct=(0,y.Z)(Se,2),Ke=ct[0],dt=ct[1],yt=f.useState(-1),Tt=(0,y.Z)(yt,2),Ut=Tt[0],Mt=Tt[1],It=f.useCallback(function(Xe,mt){dt(Xe),Mt(mt)},[]);return[Ke,Ut,It]}var On=r(47273),Hn=(0,On.Z)()?window:null;function Zt(Se,ct){var Ke=(0,H.Z)(Se)==="object"?Se:{},dt=Ke.offsetHeader,yt=dt===void 0?0:dt,Tt=Ke.offsetSummary,Ut=Tt===void 0?0:Tt,Mt=Ke.offsetScroll,It=Mt===void 0?0:Mt,Xe=Ke.getContainer,mt=Xe===void 0?function(){return Hn}:Xe,vt=mt()||Hn,bt=!!Se;return f.useMemo(function(){return{isSticky:bt,stickyClassName:bt?"".concat(ct,"-sticky-holder"):"",offsetHeader:yt,offsetSummary:Ut,offsetScroll:It,container:vt}},[bt,It,yt,Ut,ct,vt])}function Rn(Se,ct,Ke){var dt=(0,f.useMemo)(function(){var yt=ct.length,Tt=function(Xe,mt,vt){for(var bt=[],kt=0,$t=Xe;$t!==mt;$t+=vt)bt.push(kt),ct[$t].fixed&&(kt+=Se[$t]||0);return bt},Ut=Tt(0,yt,1),Mt=Tt(yt-1,-1,-1).reverse();return Ke==="rtl"?{left:Mt,right:Ut}:{left:Ut,right:Mt}},[Se,ct,Ke]);return dt}var mr=Rn;function Or(Se){var ct=Se.className,Ke=Se.children;return f.createElement("div",{className:ct},Ke)}var Pe=Or,De=r(8224),Bt=r(16089),Rt=r(76846);function me(Se){var ct=(0,Rt.bn)(Se),Ke=ct.getBoundingClientRect(),dt=document.documentElement;return{left:Ke.left+(window.pageXOffset||dt.scrollLeft)-(dt.clientLeft||document.body.clientLeft||0),top:Ke.top+(window.pageYOffset||dt.scrollTop)-(dt.clientTop||document.body.clientTop||0)}}var Ct=function(ct,Ke){var dt,yt,Tt=ct.scrollBodyRef,Ut=ct.onScroll,Mt=ct.offsetScroll,It=ct.container,Xe=ct.direction,mt=D(U,"prefixCls"),vt=((dt=Tt.current)===null||dt===void 0?void 0:dt.scrollWidth)||0,bt=((yt=Tt.current)===null||yt===void 0?void 0:yt.clientWidth)||0,kt=vt&&bt*(bt/vt),$t=f.useRef(),pn=xr({scrollLeft:0,isHiddenScrollBar:!0}),sn=(0,y.Z)(pn,2),kn=sn[0],Gn=sn[1],An=f.useRef({delta:0,x:0}),qn=f.useState(!1),Nn=(0,y.Z)(qn,2),Ar=Nn[0],Tr=Nn[1],Er=f.useRef(null);f.useEffect(function(){return function(){Bt.Z.cancel(Er.current)}},[]);var rr=function(){Tr(!1)},pr=function(bn){bn.persist(),An.current.delta=bn.pageX-kn.scrollLeft,An.current.x=0,Tr(!0),bn.preventDefault()},wr=function(bn){var Dn,jn=bn||((Dn=window)===null||Dn===void 0?void 0:Dn.event),ar=jn.buttons;if(!Ar||ar===0){Ar&&Tr(!1);return}var Ae=An.current.x+bn.pageX-An.current.x-An.current.delta,hr=Xe==="rtl";Ae=Math.max(hr?kt-bt:0,Math.min(hr?0:bt-kt,Ae));var Vr=!hr||Math.abs(Ae)+Math.abs(kt)<bt;Vr&&(Ut({scrollLeft:Ae/bt*(vt+2)}),An.current.x=bn.pageX)},sr=function(){Bt.Z.cancel(Er.current),Er.current=(0,Bt.Z)(function(){if(Tt.current){var bn=me(Tt.current).top,Dn=bn+Tt.current.offsetHeight,jn=It===window?document.documentElement.scrollTop+window.innerHeight:me(It).top+It.clientHeight;Dn-(0,Oe.Z)()<=jn||bn>=jn-Mt?Gn(function(ar){return(0,fe.Z)((0,fe.Z)({},ar),{},{isHiddenScrollBar:!0})}):Gn(function(ar){return(0,fe.Z)((0,fe.Z)({},ar),{},{isHiddenScrollBar:!1})})}})},fr=function(bn){Gn(function(Dn){return(0,fe.Z)((0,fe.Z)({},Dn),{},{scrollLeft:bn/vt*bt||0})})};return f.useImperativeHandle(Ke,function(){return{setScrollLeft:fr,checkScrollBarVisible:sr}}),f.useEffect(function(){var Un=(0,De.Z)(document.body,"mouseup",rr,!1),bn=(0,De.Z)(document.body,"mousemove",wr,!1);return sr(),function(){Un.remove(),bn.remove()}},[kt,Ar]),f.useEffect(function(){if(Tt.current){for(var Un=[],bn=(0,Rt.bn)(Tt.current);bn;)Un.push(bn),bn=bn.parentElement;return Un.forEach(function(Dn){return Dn.addEventListener("scroll",sr,!1)}),window.addEventListener("resize",sr,!1),window.addEventListener("scroll",sr,!1),It.addEventListener("scroll",sr,!1),function(){Un.forEach(function(Dn){return Dn.removeEventListener("scroll",sr)}),window.removeEventListener("resize",sr),window.removeEventListener("scroll",sr),It.removeEventListener("scroll",sr)}}},[It]),f.useEffect(function(){kn.isHiddenScrollBar||Gn(function(Un){var bn=Tt.current;return bn?(0,fe.Z)((0,fe.Z)({},Un),{},{scrollLeft:bn.scrollLeft/bn.scrollWidth*bn.clientWidth}):Un})},[kn.isHiddenScrollBar]),vt<=bt||!kt||kn.isHiddenScrollBar?null:f.createElement("div",{style:{height:(0,Oe.Z)(),width:bt,bottom:Mt},className:"".concat(mt,"-sticky-scroll")},f.createElement("div",{onMouseDown:pr,ref:$t,className:le()("".concat(mt,"-sticky-scroll-bar"),(0,re.Z)({},"".concat(mt,"-sticky-scroll-bar-active"),Ar)),style:{width:"".concat(kt,"px"),transform:"translate3d(".concat(kn.scrollLeft,"px, 0, 0)")}}))},_t=f.forwardRef(Ct);function Ce(Se){return null}var m=Ce;function Yt(Se){return null}var qt=Yt,Ze="rc-table",xn=[],jt={};function fn(){return"No Data"}function an(Se,ct){var Ke=(0,fe.Z)({rowKey:"key",prefixCls:Ze,emptyText:fn},Se),dt=Ke.prefixCls,yt=Ke.className,Tt=Ke.rowClassName,Ut=Ke.style,Mt=Ke.data,It=Ke.rowKey,Xe=Ke.scroll,mt=Ke.tableLayout,vt=Ke.direction,bt=Ke.title,kt=Ke.footer,$t=Ke.summary,pn=Ke.caption,sn=Ke.id,kn=Ke.showHeader,Gn=Ke.components,An=Ke.emptyText,qn=Ke.onRow,Nn=Ke.onHeaderRow,Ar=Ke.onScroll,Tr=Ke.internalHooks,Er=Ke.transformColumns,rr=Ke.internalRefs,pr=Ke.tailor,wr=Ke.getContainerWidth,sr=Ke.sticky,fr=Ke.rowHoverable,Un=fr===void 0?!0:fr,bn=Mt||xn,Dn=!!bn.length,jn=Tr===u.R,ar=f.useCallback(function(kr,Nr){return(0,ge.Z)(Gn,kr)||Nr},[Gn]),Ae=f.useMemo(function(){return typeof It=="function"?It:function(kr){var Nr=kr&&kr[It];return Nr}},[It]),hr=ar(["body"]),Vr=Cn(),Ia=(0,y.Z)(Vr,3),Ra=Ia[0],hi=Ia[1],Pa=Ia[2],qr=Vn(Ke,bn,Ae),Kr=(0,y.Z)(qr,6),jr=Kr[0],Ta=Kr[1],Xr=Kr[2],ea=Kr[3],ta=Kr[4],In=Kr[5],Kn=Xe==null?void 0:Xe.x,Qn=f.useState(0),Zn=(0,y.Z)(Qn,2),Dr=Zn[0],Zr=Zn[1],Aa=(0,_n.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},Ke),jr),{},{expandable:!!jr.expandedRowRender,columnTitle:jr.columnTitle,expandedKeys:Xr,getRowKey:Ae,onTriggerExpand:In,expandIcon:ea,expandIconColumnIndex:jr.expandIconColumnIndex,direction:vt,scrollWidth:jn&&pr&&typeof Kn=="number"?Kn:null,clientWidth:Dr}),jn?Er:null),la=(0,y.Z)(Aa,4),ua=la[0],tr=la[1],Mr=la[2],za=la[3],Ur=Mr!=null?Mr:Kn,Fa=f.useMemo(function(){return{columns:ua,flattenColumns:tr}},[ua,tr]),$a=f.useRef(),Ba=f.useRef(),aa=f.useRef(),Si=f.useRef();f.useImperativeHandle(ct,function(){return{nativeElement:$a.current,scrollTo:function(Nr){var ba;if(aa.current instanceof HTMLElement){var wa=Nr.index,Ea=Nr.top,ci=Nr.key;if(we(Ea)){var di;(di=aa.current)===null||di===void 0||di.scrollTo({top:Ea})}else{var fi,Ja=ci!=null?ci:Ae(bn[wa]);(fi=aa.current.querySelector('[data-row-key="'.concat(Ja,'"]')))===null||fi===void 0||fi.scrollIntoView()}}else(ba=aa.current)!==null&&ba!==void 0&&ba.scrollTo&&aa.current.scrollTo(Nr)}}});var co=f.useRef(),Va=f.useState(!1),ii=(0,y.Z)(Va,2),Ka=ii[0],Ui=ii[1],yo=f.useState(!1),Eo=(0,y.Z)(yo,2),So=Eo[0],Ji=Eo[1],fo=f.useState(new Map),eo=(0,y.Z)(fo,2),$i=eo[0],to=eo[1],To=F(tr),no=To.map(function(kr){return $i.get(kr)}),Vi=f.useMemo(function(){return no},[no.join("_")]),Ki=mr(Vi,tr,vt),Ua=Xe&&L(Xe.y),fa=Xe&&L(Ur)||!!jr.fixed,Rr=fa&&tr.some(function(kr){var Nr=kr.fixed;return Nr}),lr=f.useRef(),pa=Zt(sr,dt),ha=pa.isSticky,va=pa.offsetHeader,Ca=pa.offsetSummary,gi=pa.offsetScroll,oi=pa.stickyClassName,Ii=pa.container,ca=f.useMemo(function(){return $t==null?void 0:$t(bn)},[$t,bn]),xa=(Ua||ha)&&f.isValidElement(ca)&&ca.type===M&&ca.props.fixed,Qa,si,po;Ua&&(si={overflowY:Dn?"scroll":"auto",maxHeight:Xe.y}),fa&&(Qa={overflowX:"auto"},Ua||(si={overflowY:"hidden"}),po={width:Ur===!0?"auto":Ur,minWidth:"100%"});var Ro=f.useCallback(function(kr,Nr){to(function(ba){if(ba.get(kr)!==Nr){var wa=new Map(ba);return wa.set(kr,Nr),wa}return ba})},[]),Lo=Xn(null),mi=(0,y.Z)(Lo,2),Ti=mi[0],Qr=mi[1];function bi(kr,Nr){Nr&&(typeof Nr=="function"?Nr(kr):Nr.scrollLeft!==kr&&(Nr.scrollLeft=kr,Nr.scrollLeft!==kr&&setTimeout(function(){Nr.scrollLeft=kr},0)))}var qa=(0,v.Z)(function(kr){var Nr=kr.currentTarget,ba=kr.scrollLeft,wa=vt==="rtl",Ea=typeof ba=="number"?ba:Nr.scrollLeft,ci=Nr||jt;if(!Qr()||Qr()===ci){var di;Ti(ci),bi(Ea,Ba.current),bi(Ea,aa.current),bi(Ea,co.current),bi(Ea,(di=lr.current)===null||di===void 0?void 0:di.setScrollLeft)}var fi=Nr||Ba.current;if(fi){var Ja=jn&&pr&&typeof Ur=="number"?Ur:fi.scrollWidth,Ai=fi.clientWidth;if(Ja===Ai){Ui(!1),Ji(!1);return}wa?(Ui(-Ea<Ja-Ai),Ji(-Ea>0)):(Ui(Ea>0),Ji(Ea<Ja-Ai))}}),Co=(0,v.Z)(function(kr){qa(kr),Ar==null||Ar(kr)}),zo=function(){if(fa&&aa.current){var Nr;qa({currentTarget:(0,Rt.bn)(aa.current),scrollLeft:(Nr=aa.current)===null||Nr===void 0?void 0:Nr.scrollLeft})}else Ui(!1),Ji(!1)},Go=function(Nr){var ba,wa=Nr.width;(ba=lr.current)===null||ba===void 0||ba.checkScrollBarVisible();var Ea=$a.current?$a.current.offsetWidth:wa;jn&&wr&&$a.current&&(Ea=wr($a.current,Ea)||Ea),Ea!==Dr&&(zo(),Zr(Ea))},ji=f.useRef(!1);f.useEffect(function(){ji.current&&zo()},[fa,Mt,ua.length]),f.useEffect(function(){ji.current=!0},[]);var Oo=f.useState(0),Do=(0,y.Z)(Oo,2),Hi=Do[0],xo=Do[1],ro=f.useState(!0),ao=(0,y.Z)(ro,2),Ao=ao[0],li=ao[1];(0,b.Z)(function(){(!pr||!jn)&&(aa.current instanceof Element?xo((0,Oe.o)(aa.current).width):xo((0,Oe.o)(Si.current).width)),li((0,Be.G)("position","sticky"))},[]),f.useEffect(function(){jn&&rr&&(rr.body.current=aa.current)});var io=f.useCallback(function(kr){return f.createElement(f.Fragment,null,f.createElement(Lr,kr),xa==="top"&&f.createElement(tt,kr,ca))},[xa,ca]),oo=f.useCallback(function(kr){return f.createElement(tt,kr,ca)},[ca]),_o=ar(["table"],"table"),Yi=f.useMemo(function(){return mt||(Rr?Ur==="max-content"?"auto":"fixed":Ua||ha||tr.some(function(kr){var Nr=kr.ellipsis;return Nr})?"fixed":"auto")},[Ua,Rr,tr,mt,ha]),Mo,Po={colWidths:Vi,columCount:tr.length,stickyOffsets:Ki,onHeaderRow:Nn,fixHeader:Ua,scroll:Xe},so=f.useMemo(function(){return Dn?null:typeof An=="function"?An():An},[Dn,An]),wo=f.createElement(Xt,{data:bn,measureColumnWidth:Ua||fa||ha}),ko=f.createElement(Ht,{colWidths:tr.map(function(kr){var Nr=kr.width;return Nr}),columns:tr}),Ri=pn!=null?f.createElement("caption",{className:"".concat(dt,"-caption")},pn):void 0,Ci=(0,qe.Z)(Ke,{data:!0}),lo=(0,qe.Z)(Ke,{aria:!0});if(Ua||ha){var ui;typeof hr=="function"?(ui=hr(bn,{scrollbarSize:Hi,ref:aa,onScroll:qa}),Po.colWidths=tr.map(function(kr,Nr){var ba=kr.width,wa=Nr===tr.length-1?ba-Hi:ba;return typeof wa=="number"&&!Number.isNaN(wa)?wa:0})):ui=f.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Qa),si),onScroll:Co,ref:aa,className:le()("".concat(dt,"-body"))},f.createElement(_o,(0,I.Z)({style:(0,fe.Z)((0,fe.Z)({},po),{},{tableLayout:Yi})},lo),Ri,ko,wo,!xa&&ca&&f.createElement(tt,{stickyOffsets:Ki,flattenColumns:tr},ca)));var ho=(0,fe.Z)((0,fe.Z)((0,fe.Z)({noData:!bn.length,maxContentScroll:fa&&Ur==="max-content"},Po),Fa),{},{direction:vt,stickyClassName:oi,onScroll:qa});Mo=f.createElement(f.Fragment,null,kn!==!1&&f.createElement(Dt,(0,I.Z)({},ho,{stickyTopOffset:va,className:"".concat(dt,"-header"),ref:Ba}),io),ui,xa&&xa!=="top"&&f.createElement(Dt,(0,I.Z)({},ho,{stickyBottomOffset:Ca,className:"".concat(dt,"-summary"),ref:co}),oo),ha&&aa.current&&aa.current instanceof Element&&f.createElement(_t,{ref:lr,offsetScroll:gi,scrollBodyRef:aa,onScroll:qa,container:Ii,direction:vt}))}else Mo=f.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Qa),si),className:le()("".concat(dt,"-content")),onScroll:qa,ref:aa},f.createElement(_o,(0,I.Z)({style:(0,fe.Z)((0,fe.Z)({},po),{},{tableLayout:Yi})},lo),Ri,ko,kn!==!1&&f.createElement(Lr,(0,I.Z)({},Po,Fa)),wo,ca&&f.createElement(tt,{stickyOffsets:Ki,flattenColumns:tr},ca)));var xi=f.createElement("div",(0,I.Z)({className:le()(dt,yt,(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(dt,"-rtl"),vt==="rtl"),"".concat(dt,"-ping-left"),Ka),"".concat(dt,"-ping-right"),So),"".concat(dt,"-layout-fixed"),mt==="fixed"),"".concat(dt,"-fixed-header"),Ua),"".concat(dt,"-fixed-column"),Rr),"".concat(dt,"-fixed-column-gapped"),Rr&&za),"".concat(dt,"-scroll-horizontal"),fa),"".concat(dt,"-has-fix-left"),tr[0]&&tr[0].fixed),"".concat(dt,"-has-fix-right"),tr[tr.length-1]&&tr[tr.length-1].fixed==="right")),style:Ut,id:sn,ref:$a},Ci),bt&&f.createElement(Pe,{className:"".concat(dt,"-title")},bt(bn)),f.createElement("div",{ref:Si,className:"".concat(dt,"-container")},Mo),kt&&f.createElement(Pe,{className:"".concat(dt,"-footer")},kt(bn)));fa&&(xi=f.createElement(Ee.Z,{onResize:Go},xi));var Li=gr(tr,Ki,vt),Oi=f.useMemo(function(){return{scrollX:Ur,prefixCls:dt,getComponent:ar,scrollbarSize:Hi,direction:vt,fixedInfoList:Li,isSticky:ha,supportSticky:Ao,componentWidth:Dr,fixHeader:Ua,fixColumn:Rr,horizonScroll:fa,tableLayout:Yi,rowClassName:Tt,expandedRowClassName:jr.expandedRowClassName,expandIcon:ea,expandableType:Ta,expandRowByClick:jr.expandRowByClick,expandedRowRender:jr.expandedRowRender,onTriggerExpand:In,expandIconColumnIndex:jr.expandIconColumnIndex,indentSize:jr.indentSize,allColumnsFixedLeft:tr.every(function(kr){return kr.fixed==="left"}),emptyNode:so,columns:ua,flattenColumns:tr,onColumnResize:Ro,hoverStartRow:Ra,hoverEndRow:hi,onHover:Pa,rowExpandable:jr.rowExpandable,onRow:qn,getRowKey:Ae,expandedKeys:Xr,childrenColumnName:ta,rowHoverable:Un}},[Ur,dt,ar,Hi,vt,Li,ha,Ao,Dr,Ua,Rr,fa,Yi,Tt,jr.expandedRowClassName,ea,Ta,jr.expandRowByClick,jr.expandedRowRender,In,jr.expandIconColumnIndex,jr.indentSize,so,ua,tr,Ro,Ra,hi,Pa,jr.rowExpandable,qn,Ae,Xr,ta,Un]);return f.createElement(U.Provider,{value:Oi},xi)}var he=f.forwardRef(an);function Sn(Se){return q(he,Se)}var or=Sn();or.EXPAND_COLUMN=u.w,or.INTERNAL_HOOKS=u.R,or.Column=m,or.ColumnGroup=qt,or.Summary=nt;var on=or,Jt=r(48911),Tn=z(null),en=z(null);function Yn(Se,ct,Ke){var dt=ct||1;return Ke[Se+dt]-(Ke[Se]||0)}function Sr(Se){var ct=Se.rowInfo,Ke=Se.column,dt=Se.colIndex,yt=Se.indent,Tt=Se.index,Ut=Se.component,Mt=Se.renderIndex,It=Se.record,Xe=Se.style,mt=Se.className,vt=Se.inverse,bt=Se.getHeight,kt=Ke.render,$t=Ke.dataIndex,pn=Ke.className,sn=Ke.width,kn=D(en,["columnsOffset"]),Gn=kn.columnsOffset,An=it(ct,Ke,dt,yt,Tt),qn=An.key,Nn=An.fixedInfo,Ar=An.appendCellNode,Tr=An.additionalCellProps,Er=Tr.style,rr=Tr.colSpan,pr=rr===void 0?1:rr,wr=Tr.rowSpan,sr=wr===void 0?1:wr,fr=dt-1,Un=Yn(fr,pr,Gn),bn=pr>1?sn-Un:0,Dn=(0,fe.Z)((0,fe.Z)((0,fe.Z)({},Er),Xe),{},{flex:"0 0 ".concat(Un,"px"),width:"".concat(Un,"px"),marginRight:bn,pointerEvents:"auto"}),jn=f.useMemo(function(){return vt?sr<=1:pr===0||sr===0||sr>1},[sr,pr,vt]);jn?Dn.visibility="hidden":vt&&(Dn.height=bt==null?void 0:bt(sr));var ar=jn?function(){return null}:kt,Ae={};return(sr===0||pr===0)&&(Ae.rowSpan=1,Ae.colSpan=1),f.createElement(_e,(0,I.Z)({className:le()(pn,mt),ellipsis:Ke.ellipsis,align:Ke.align,scope:Ke.rowScope,component:Ut,prefixCls:ct.prefixCls,key:qn,record:It,index:Tt,renderIndex:Mt,dataIndex:$t,render:ar,shouldCellUpdate:Ke.shouldCellUpdate},Nn,{appendNode:Ar,additionalProps:(0,fe.Z)((0,fe.Z)({},Tr),{},{style:Dn},Ae)}))}var br=Sr,_r=["data","index","className","rowKey","style","extra","getHeight"],zr=f.forwardRef(function(Se,ct){var Ke=Se.data,dt=Se.index,yt=Se.className,Tt=Se.rowKey,Ut=Se.style,Mt=Se.extra,It=Se.getHeight,Xe=(0,d.Z)(Se,_r),mt=Ke.record,vt=Ke.indent,bt=Ke.index,kt=D(U,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),$t=kt.scrollX,pn=kt.flattenColumns,sn=kt.prefixCls,kn=kt.fixColumn,Gn=kt.componentWidth,An=D(Tn,["getComponent"]),qn=An.getComponent,Nn=pe(mt,Tt,dt,vt),Ar=qn(["body","row"],"div"),Tr=qn(["body","cell"],"div"),Er=Nn.rowSupportExpand,rr=Nn.expanded,pr=Nn.rowProps,wr=Nn.expandedRowRender,sr=Nn.expandedRowClassName,fr;if(Er&&rr){var Un=wr(mt,dt,vt+1,rr),bn=Nt(sr,mt,dt,vt),Dn={};kn&&(Dn={style:(0,re.Z)({},"--virtual-width","".concat(Gn,"px"))});var jn="".concat(sn,"-expanded-row-cell");fr=f.createElement(Ar,{className:le()("".concat(sn,"-expanded-row"),"".concat(sn,"-expanded-row-level-").concat(vt+1),bn)},f.createElement(_e,{component:Tr,prefixCls:sn,className:le()(jn,(0,re.Z)({},"".concat(jn,"-fixed"),kn)),additionalProps:Dn},Un))}var ar=(0,fe.Z)((0,fe.Z)({},Ut),{},{width:$t});Mt&&(ar.position="absolute",ar.pointerEvents="none");var Ae=f.createElement(Ar,(0,I.Z)({},pr,Xe,{"data-row-key":Tt,ref:Er?null:ct,className:le()(yt,"".concat(sn,"-row"),pr==null?void 0:pr.className,(0,re.Z)({},"".concat(sn,"-row-extra"),Mt)),style:(0,fe.Z)((0,fe.Z)({},ar),pr==null?void 0:pr.style)}),pn.map(function(hr,Vr){return f.createElement(br,{key:Vr,component:Tr,rowInfo:Nn,column:hr,colIndex:Vr,indent:vt,index:dt,renderIndex:bt,record:mt,inverse:Mt,getHeight:It})}));return Er?f.createElement("div",{ref:ct},Ae,fr):Ae}),Br=Z(zr),vr=Br,Gr=f.forwardRef(function(Se,ct){var Ke=Se.data,dt=Se.onScroll,yt=D(U,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Tt=yt.flattenColumns,Ut=yt.onColumnResize,Mt=yt.getRowKey,It=yt.expandedKeys,Xe=yt.prefixCls,mt=yt.childrenColumnName,vt=yt.scrollX,bt=yt.direction,kt=D(Tn),$t=kt.sticky,pn=kt.scrollY,sn=kt.listItemHeight,kn=kt.getComponent,Gn=kt.onScroll,An=f.useRef(),qn=Ge(Ke,mt,It,Mt),Nn=f.useMemo(function(){var fr=0;return Tt.map(function(Un){var bn=Un.width,Dn=Un.key;return fr+=bn,[Dn,bn,fr]})},[Tt]),Ar=f.useMemo(function(){return Nn.map(function(fr){return fr[2]})},[Nn]);f.useEffect(function(){Nn.forEach(function(fr){var Un=(0,y.Z)(fr,2),bn=Un[0],Dn=Un[1];Ut(bn,Dn)})},[Nn]),f.useImperativeHandle(ct,function(){var fr,Un={scrollTo:function(Dn){var jn;(jn=An.current)===null||jn===void 0||jn.scrollTo(Dn)},nativeElement:(fr=An.current)===null||fr===void 0?void 0:fr.nativeElement};return Object.defineProperty(Un,"scrollLeft",{get:function(){var Dn;return((Dn=An.current)===null||Dn===void 0?void 0:Dn.getScrollInfo().x)||0},set:function(Dn){var jn;(jn=An.current)===null||jn===void 0||jn.scrollTo({left:Dn})}}),Un});var Tr=function(Un,bn){var Dn,jn=(Dn=qn[bn])===null||Dn===void 0?void 0:Dn.record,ar=Un.onCell;if(ar){var Ae,hr=ar(jn,bn);return(Ae=hr==null?void 0:hr.rowSpan)!==null&&Ae!==void 0?Ae:1}return 1},Er=function(Un){var bn=Un.start,Dn=Un.end,jn=Un.getSize,ar=Un.offsetY;if(Dn<0)return null;for(var Ae=Tt.filter(function(ea){return Tr(ea,bn)===0}),hr=bn,Vr=function(ta){if(Ae=Ae.filter(function(In){return Tr(In,ta)===0}),!Ae.length)return hr=ta,1},Ia=bn;Ia>=0&&!Vr(Ia);Ia-=1);for(var Ra=Tt.filter(function(ea){return Tr(ea,Dn)!==1}),hi=Dn,Pa=function(ta){if(Ra=Ra.filter(function(In){return Tr(In,ta)!==1}),!Ra.length)return hi=Math.max(ta-1,Dn),1},qr=Dn;qr<qn.length&&!Pa(qr);qr+=1);for(var Kr=[],jr=function(ta){var In=qn[ta];if(!In)return 1;Tt.some(function(Kn){return Tr(Kn,ta)>1})&&Kr.push(ta)},Ta=hr;Ta<=hi;Ta+=1)jr(Ta);var Xr=Kr.map(function(ea){var ta=qn[ea],In=Mt(ta.record,ea),Kn=function(Dr){var Zr=ea+Dr-1,Aa=Mt(qn[Zr].record,Zr),la=jn(In,Aa);return la.bottom-la.top},Qn=jn(In);return f.createElement(vr,{key:ea,data:ta,rowKey:In,index:ea,style:{top:-ar+Qn.top},extra:!0,getHeight:Kn})});return Xr},rr=f.useMemo(function(){return{columnsOffset:Ar}},[Ar]),pr="".concat(Xe,"-tbody"),wr=kn(["body","wrapper"]),sr={};return $t&&(sr.position="sticky",sr.bottom=0,(0,H.Z)($t)==="object"&&$t.offsetScroll&&(sr.bottom=$t.offsetScroll)),f.createElement(en.Provider,{value:rr},f.createElement(Jt.Z,{fullHeight:!1,ref:An,prefixCls:"".concat(pr,"-virtual"),styles:{horizontalScrollBar:sr},className:pr,height:pn,itemHeight:sn||24,data:qn,itemKey:function(Un){return Mt(Un.record)},component:wr,scrollWidth:vt,direction:bt,onVirtualScroll:function(Un){var bn,Dn=Un.x;dt({currentTarget:(bn=An.current)===null||bn===void 0?void 0:bn.nativeElement,scrollLeft:Dn})},onScroll:Gn,extraRender:Er},function(fr,Un,bn){var Dn=Mt(fr.record,Un);return f.createElement(vr,{data:fr,rowKey:Dn,index:Un,style:bn.style})}))}),Wr=Z(Gr),mn=Wr,Bn=function(ct,Ke){var dt=Ke.ref,yt=Ke.onScroll;return f.createElement(mn,{ref:dt,data:ct,onScroll:yt})};function zn(Se,ct){var Ke=Se.data,dt=Se.columns,yt=Se.scroll,Tt=Se.sticky,Ut=Se.prefixCls,Mt=Ut===void 0?Ze:Ut,It=Se.className,Xe=Se.listItemHeight,mt=Se.components,vt=Se.onScroll,bt=yt||{},kt=bt.x,$t=bt.y;typeof kt!="number"&&(kt=1),typeof $t!="number"&&($t=500);var pn=(0,Lt.zX)(function(Gn,An){return(0,ge.Z)(mt,Gn)||An}),sn=(0,Lt.zX)(vt),kn=f.useMemo(function(){return{sticky:Tt,scrollY:$t,listItemHeight:Xe,getComponent:pn,onScroll:sn}},[Tt,$t,Xe,pn,sn]);return f.createElement(Tn.Provider,{value:kn},f.createElement(on,(0,I.Z)({},Se,{className:le()(It,"".concat(Mt,"-virtual")),scroll:(0,fe.Z)((0,fe.Z)({},yt),{},{x:kt}),components:(0,fe.Z)((0,fe.Z)({},mt),{},{body:Ke!=null&&Ke.length?Bn:void 0}),columns:dt,internalHooks:u.R,tailor:!0,ref:ct})))}var dr=f.forwardRef(zn);function yr(Se){return q(dr,Se)}var Pr=yr(),sa=null},54451:function(x,c,r){"use strict";r.d(c,{g:function(){return f},v:function(){return k}});var u=r(33885),y=r(75931),v=r(48736),b=["expandable"],k="RC_TABLE_INTERNAL_COL_DEFINE";function f(R){var z=R.expandable,D=(0,y.Z)(R,b),I;return"expandable"in R?I=(0,u.Z)((0,u.Z)({},D),z):I=D,I.showExpandColumn===!1&&(I.expandIconColumnIndex=-1),I}},22711:function(x,c,r){"use strict";r.r(c),r.d(c,{ResizableTextArea:function(){return V},default:function(){return Le}});var u=r(54476),y=r(20068),v=r(33885),b=r(94480),k=r(42978),f=r(75931),R=r(92310),z=r.n(R),D=r(36901),I=r(66003),ae=r(30292),G=r(18929),be=r(59301),ce=r(76190),ue=r(29301),te=r(34280),X=r(16089),q=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Z=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],j={},P;function U(Re){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,He=Re.getAttribute("id")||Re.getAttribute("data-reactid")||Re.getAttribute("name");if(Ie&&j[He])return j[He];var oe=window.getComputedStyle(Re),F=oe.getPropertyValue("box-sizing")||oe.getPropertyValue("-moz-box-sizing")||oe.getPropertyValue("-webkit-box-sizing"),L=parseFloat(oe.getPropertyValue("padding-bottom"))+parseFloat(oe.getPropertyValue("padding-top")),we=parseFloat(oe.getPropertyValue("border-bottom-width"))+parseFloat(oe.getPropertyValue("border-top-width")),Ue=Z.map(function(xt){return"".concat(xt,":").concat(oe.getPropertyValue(xt))}).join(";"),Ne={sizingStyle:Ue,paddingSize:L,borderSize:we,boxSizing:F};return Ie&&He&&(j[He]=Ne),Ne}function _(Re){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;P||(P=document.createElement("textarea"),P.setAttribute("tab-index","-1"),P.setAttribute("aria-hidden","true"),P.setAttribute("name","hiddenTextarea"),document.body.appendChild(P)),Re.getAttribute("wrap")?P.setAttribute("wrap",Re.getAttribute("wrap")):P.removeAttribute("wrap");var F=U(Re,Ie),L=F.paddingSize,we=F.borderSize,Ue=F.boxSizing,Ne=F.sizingStyle;P.setAttribute("style","".concat(Ne,";").concat(q)),P.value=Re.value||Re.placeholder||"";var xt=void 0,pt=void 0,Lt,ze=P.scrollHeight;if(Ue==="border-box"?ze+=we:Ue==="content-box"&&(ze-=L),He!==null||oe!==null){P.value=" ";var Te=P.scrollHeight-L;He!==null&&(xt=Te*He,Ue==="border-box"&&(xt=xt+L+we),ze=Math.max(xt,ze)),oe!==null&&(pt=Te*oe,Ue==="border-box"&&(pt=pt+L+we),Lt=ze>pt?"":"hidden",ze=Math.min(pt,ze))}var _e={height:ze,overflowY:Lt,resize:"none"};return xt&&(_e.minHeight=xt),pt&&(_e.maxHeight=pt),_e}var J=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],de=0,H=1,fe=2,re=be.forwardRef(function(Re,Ie){var He=Re,oe=He.prefixCls,F=He.defaultValue,L=He.value,we=He.autoSize,Ue=He.onResize,Ne=He.className,xt=He.style,pt=He.disabled,Lt=He.onChange,ze=He.onInternalAutoSize,Te=(0,f.Z)(He,J),_e=(0,G.Z)(F,{value:L,postState:function(Et){return Et!=null?Et:""}}),$e=(0,k.Z)(_e,2),St=$e[0],A=$e[1],p=function(Et){A(Et.target.value),Lt==null||Lt(Et)},d=be.useRef();be.useImperativeHandle(Ie,function(){return{textArea:d.current}});var T=be.useMemo(function(){return we&&(0,ce.Z)(we)==="object"?[we.minRows,we.maxRows]:[]},[we]),O=(0,k.Z)(T,2),g=O[0],M=O[1],xe=!!we,tt=function(){try{if(document.activeElement===d.current){var Et=d.current,wt=Et.selectionStart,ye=Et.selectionEnd,zt=Et.scrollTop;d.current.setSelectionRange(wt,ye),d.current.scrollTop=zt}}catch(nn){}},nt=be.useState(fe),Ee=(0,k.Z)(nt,2),Be=Ee[0],Oe=Ee[1],qe=be.useState(),lt=(0,k.Z)(qe,2),Ge=lt[0],pe=lt[1],rt=function(){Oe(de)};(0,te.Z)(function(){xe&&rt()},[L,g,M,xe]),(0,te.Z)(function(){if(Be===de)Oe(H);else if(Be===H){var Q=_(d.current,!1,g,M);Oe(fe),pe(Q)}else tt()},[Be]);var st=be.useRef(),Ve=function(){X.Z.cancel(st.current)},at=function(Et){Be===fe&&(Ue==null||Ue(Et),we&&(Ve(),st.current=(0,X.Z)(function(){rt()})))};be.useEffect(function(){return Ve},[]);var Nt=xe?Ge:null,it=(0,v.Z)((0,v.Z)({},xt),Nt);return(Be===de||Be===H)&&(it.overflowY="hidden",it.overflowX="hidden"),be.createElement(ue.Z,{onResize:at,disabled:!(we||Ue)},be.createElement("textarea",(0,u.Z)({},Te,{ref:d,style:it,className:z()(oe,Ne,(0,y.Z)({},"".concat(oe,"-disabled"),pt)),disabled:pt,value:St,onChange:p})))}),V=re,le=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],ne=be.forwardRef(function(Re,Ie){var He,oe=Re.defaultValue,F=Re.value,L=Re.onFocus,we=Re.onBlur,Ue=Re.onChange,Ne=Re.allowClear,xt=Re.maxLength,pt=Re.onCompositionStart,Lt=Re.onCompositionEnd,ze=Re.suffix,Te=Re.prefixCls,_e=Te===void 0?"rc-textarea":Te,$e=Re.showCount,St=Re.count,A=Re.className,p=Re.style,d=Re.disabled,T=Re.hidden,O=Re.classNames,g=Re.styles,M=Re.onResize,xe=Re.onClear,tt=Re.onPressEnter,nt=Re.readOnly,Ee=Re.autoSize,Be=Re.onKeyDown,Oe=(0,f.Z)(Re,le),qe=(0,G.Z)(oe,{value:F,defaultValue:oe}),lt=(0,k.Z)(qe,2),Ge=lt[0],pe=lt[1],rt=Ge==null?"":String(Ge),st=be.useState(!1),Ve=(0,k.Z)(st,2),at=Ve[0],Nt=Ve[1],it=be.useRef(!1),Q=be.useState(null),Et=(0,k.Z)(Q,2),wt=Et[0],ye=Et[1],zt=(0,be.useRef)(null),nn=(0,be.useRef)(null),Xt=function(){var Rn;return(Rn=nn.current)===null||Rn===void 0?void 0:Rn.textArea},je=function(){Xt().focus()};(0,be.useImperativeHandle)(Ie,function(){var Zt;return{resizableTextArea:nn.current,focus:je,blur:function(){Xt().blur()},nativeElement:((Zt=zt.current)===null||Zt===void 0?void 0:Zt.nativeElement)||Xt()}}),(0,be.useEffect)(function(){Nt(function(Zt){return!d&&Zt})},[d]);var En=be.useState(null),hn=(0,k.Z)(En,2),Ht=hn[0],Kt=hn[1];be.useEffect(function(){if(Ht){var Zt;(Zt=Xt()).setSelectionRange.apply(Zt,(0,b.Z)(Ht))}},[Ht]);var gn=(0,I.Z)(St,$e),Wt=(He=gn.max)!==null&&He!==void 0?He:xt,Ft=Number(Wt)>0,Dt=gn.strategy(rt),Qt=!!Wt&&Dt>Wt,wn=function(Rn,mr){var Or=mr;!it.current&&gn.exceedFormatter&&gn.max&&gn.strategy(mr)>gn.max&&(Or=gn.exceedFormatter(mr,{max:gn.max}),mr!==Or&&Kt([Xt().selectionStart||0,Xt().selectionEnd||0])),pe(Or),(0,ae.rJ)(Rn.currentTarget,Rn,Ue,Or)},un=function(Rn){it.current=!0,pt==null||pt(Rn)},dn=function(Rn){it.current=!1,wn(Rn,Rn.currentTarget.value),Lt==null||Lt(Rn)},Lr=function(Rn){wn(Rn,Rn.target.value)},_n=function(Rn){Rn.key==="Enter"&&tt&&tt(Rn),Be==null||Be(Rn)},Vn=function(Rn){Nt(!0),L==null||L(Rn)},gr=function(Rn){Nt(!1),we==null||we(Rn)},xr=function(Rn){pe(""),je(),(0,ae.rJ)(Xt(),Rn,Ue)},Xn=ze,Cn;gn.show&&(gn.showFormatter?Cn=gn.showFormatter({value:rt,count:Dt,maxLength:Wt}):Cn="".concat(Dt).concat(Ft?" / ".concat(Wt):""),Xn=be.createElement(be.Fragment,null,Xn,be.createElement("span",{className:z()("".concat(_e,"-data-count"),O==null?void 0:O.count),style:g==null?void 0:g.count},Cn)));var On=function(Rn){var mr;M==null||M(Rn),(mr=Xt())!==null&&mr!==void 0&&mr.style.height&&ye(!0)},Hn=!Ee&&!$e&&!Ne;return be.createElement(D.BaseInput,{ref:zt,value:rt,allowClear:Ne,handleReset:xr,suffix:Xn,prefixCls:_e,classNames:(0,v.Z)((0,v.Z)({},O),{},{affixWrapper:z()(O==null?void 0:O.affixWrapper,(0,y.Z)((0,y.Z)({},"".concat(_e,"-show-count"),$e),"".concat(_e,"-textarea-allow-clear"),Ne))}),disabled:d,focused:at,className:z()(A,Qt&&"".concat(_e,"-out-of-range")),style:(0,v.Z)((0,v.Z)({},p),wt&&!Hn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Cn=="string"?Cn:void 0}},hidden:T,readOnly:nt,onClear:xe},be.createElement(V,(0,u.Z)({},Oe,{autoSize:Ee,maxLength:xt,onKeyDown:_n,onChange:Lr,onFocus:Vn,onBlur:gr,onCompositionStart:un,onCompositionEnd:dn,className:z()(O==null?void 0:O.textarea),style:(0,v.Z)((0,v.Z)({},g==null?void 0:g.textarea),{},{resize:p==null?void 0:p.resize}),disabled:d,prefixCls:_e,onResize:On,ref:nn,readOnly:nt})))}),ge=ne,Le=ge},639:function(x,c,r){"use strict";r.d(c,{Z:function(){return j}});var u=r(54476),y=r(20068),v=r(33885),b=r(42978),k=r(75931),f=r(59301),R=r(92310),z=r.n(R),D=r(26112),I=r(30699),ae=function(U){for(var _=U.prefixCls,J=U.level,de=U.isStart,H=U.isEnd,fe="".concat(_,"-indent-unit"),re=[],V=0;V<J;V+=1)re.push(f.createElement("span",{key:V,className:z()(fe,(0,y.Z)((0,y.Z)({},"".concat(fe,"-start"),de[V]),"".concat(fe,"-end"),H[V]))}));return f.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},re)},G=f.memo(ae),be=r(65065),ce=r(34061),ue=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",X="close",q="---",Z=function(U){var _,J,de,H=U.eventKey,fe=U.className,re=U.style,V=U.dragOver,le=U.dragOverGapTop,ne=U.dragOverGapBottom,ge=U.isLeaf,Le=U.isStart,Re=U.isEnd,Ie=U.expanded,He=U.selected,oe=U.checked,F=U.halfChecked,L=U.loading,we=U.domRef,Ue=U.active,Ne=U.data,xt=U.onMouseMove,pt=U.selectable,Lt=(0,k.Z)(U,ue),ze=f.useContext(I.k),Te=f.useContext(I.y),_e=f.useRef(null),$e=f.useState(!1),St=(0,b.Z)($e,2),A=St[0],p=St[1],d=!!(ze.disabled||U.disabled||(_=Te.nodeDisabled)!==null&&_!==void 0&&_.call(Te,Ne)),T=f.useMemo(function(){return!ze.checkable||U.checkable===!1?!1:ze.checkable},[ze.checkable,U.checkable]),O=function(Dt){d||ze.onNodeSelect(Dt,(0,ce.F)(U))},g=function(Dt){d||!T||U.disableCheckbox||ze.onNodeCheck(Dt,(0,ce.F)(U),!oe)},M=f.useMemo(function(){return typeof pt=="boolean"?pt:ze.selectable},[pt,ze.selectable]),xe=function(Dt){ze.onNodeClick(Dt,(0,ce.F)(U)),M?O(Dt):g(Dt)},tt=function(Dt){ze.onNodeDoubleClick(Dt,(0,ce.F)(U))},nt=function(Dt){ze.onNodeMouseEnter(Dt,(0,ce.F)(U))},Ee=function(Dt){ze.onNodeMouseLeave(Dt,(0,ce.F)(U))},Be=function(Dt){ze.onNodeContextMenu(Dt,(0,ce.F)(U))},Oe=f.useMemo(function(){return!!(ze.draggable&&(!ze.draggable.nodeDraggable||ze.draggable.nodeDraggable(Ne)))},[ze.draggable,Ne]),qe=function(Dt){Dt.stopPropagation(),p(!0),ze.onNodeDragStart(Dt,U);try{Dt.dataTransfer.setData("text/plain","")}catch(Qt){}},lt=function(Dt){Dt.preventDefault(),Dt.stopPropagation(),ze.onNodeDragEnter(Dt,U)},Ge=function(Dt){Dt.preventDefault(),Dt.stopPropagation(),ze.onNodeDragOver(Dt,U)},pe=function(Dt){Dt.stopPropagation(),ze.onNodeDragLeave(Dt,U)},rt=function(Dt){Dt.stopPropagation(),p(!1),ze.onNodeDragEnd(Dt,U)},st=function(Dt){Dt.preventDefault(),Dt.stopPropagation(),p(!1),ze.onNodeDrop(Dt,U)},Ve=function(Dt){L||ze.onNodeExpand(Dt,(0,ce.F)(U))},at=f.useMemo(function(){var Ft=(0,be.Z)(ze.keyEntities,H)||{},Dt=Ft.children;return!!(Dt||[]).length},[ze.keyEntities,H]),Nt=f.useMemo(function(){return ge===!1?!1:ge||!ze.loadData&&!at||ze.loadData&&U.loaded&&!at},[ge,ze.loadData,at,U.loaded]);f.useEffect(function(){L||typeof ze.loadData=="function"&&Ie&&!Nt&&!U.loaded&&ze.onNodeLoad((0,ce.F)(U))},[L,ze.loadData,ze.onNodeLoad,Ie,Nt,U]);var it=f.useMemo(function(){var Ft;return(Ft=ze.draggable)!==null&&Ft!==void 0&&Ft.icon?f.createElement("span",{className:"".concat(ze.prefixCls,"-draggable-icon")},ze.draggable.icon):null},[ze.draggable]),Q=function(Dt){var Qt=U.switcherIcon||ze.switcherIcon;return typeof Qt=="function"?Qt((0,v.Z)((0,v.Z)({},U),{},{isLeaf:Dt})):Qt},Et=function(){if(Nt){var Dt=Q(!0);return Dt!==!1?f.createElement("span",{className:z()("".concat(ze.prefixCls,"-switcher"),"".concat(ze.prefixCls,"-switcher-noop"))},Dt):null}var Qt=Q(!1);return Qt!==!1?f.createElement("span",{onClick:Ve,className:z()("".concat(ze.prefixCls,"-switcher"),"".concat(ze.prefixCls,"-switcher_").concat(Ie?te:X))},Qt):null},wt=f.useMemo(function(){if(!T)return null;var Ft=typeof T!="boolean"?T:null;return f.createElement("span",{className:z()("".concat(ze.prefixCls,"-checkbox"),(0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(ze.prefixCls,"-checkbox-checked"),oe),"".concat(ze.prefixCls,"-checkbox-indeterminate"),!oe&&F),"".concat(ze.prefixCls,"-checkbox-disabled"),d||U.disableCheckbox)),onClick:g,role:"checkbox","aria-checked":F?"mixed":oe,"aria-disabled":d||U.disableCheckbox,"aria-label":"Select ".concat(typeof U.title=="string"?U.title:"tree node")},Ft)},[T,oe,F,d,U.disableCheckbox,U.title]),ye=f.useMemo(function(){return Nt?null:Ie?te:X},[Nt,Ie]),zt=f.useMemo(function(){return f.createElement("span",{className:z()("".concat(ze.prefixCls,"-iconEle"),"".concat(ze.prefixCls,"-icon__").concat(ye||"docu"),(0,y.Z)({},"".concat(ze.prefixCls,"-icon_loading"),L))})},[ze.prefixCls,ye,L]),nn=f.useMemo(function(){var Ft=!!ze.draggable,Dt=!U.disabled&&Ft&&ze.dragOverNodeKey===H;return Dt?ze.dropIndicatorRender({dropPosition:ze.dropPosition,dropLevelOffset:ze.dropLevelOffset,indent:ze.indent,prefixCls:ze.prefixCls,direction:ze.direction}):null},[ze.dropPosition,ze.dropLevelOffset,ze.indent,ze.prefixCls,ze.direction,ze.draggable,ze.dragOverNodeKey,ze.dropIndicatorRender]),Xt=f.useMemo(function(){var Ft=U.title,Dt=Ft===void 0?q:Ft,Qt="".concat(ze.prefixCls,"-node-content-wrapper"),wn;if(ze.showIcon){var un=U.icon||ze.icon;wn=un?f.createElement("span",{className:z()("".concat(ze.prefixCls,"-iconEle"),"".concat(ze.prefixCls,"-icon__customize"))},typeof un=="function"?un(U):un):zt}else ze.loadData&&L&&(wn=zt);var dn;return typeof Dt=="function"?dn=Dt(Ne):ze.titleRender?dn=ze.titleRender(Ne):dn=Dt,f.createElement("span",{ref:_e,title:typeof Dt=="string"?Dt:"",className:z()(Qt,"".concat(Qt,"-").concat(ye||"normal"),(0,y.Z)({},"".concat(ze.prefixCls,"-node-selected"),!d&&(He||A))),onMouseEnter:nt,onMouseLeave:Ee,onContextMenu:Be,onClick:xe,onDoubleClick:tt},wn,f.createElement("span",{className:"".concat(ze.prefixCls,"-title")},dn),nn)},[ze.prefixCls,ze.showIcon,U,ze.icon,zt,ze.titleRender,Ne,ye,nt,Ee,Be,xe,tt]),je=(0,D.Z)(Lt,{aria:!0,data:!0}),En=(0,be.Z)(ze.keyEntities,H)||{},hn=En.level,Ht=Re[Re.length-1],Kt=!d&&Oe,gn=ze.draggingNodeKey===H,Wt=pt!==void 0?{"aria-selected":!!pt}:void 0;return f.createElement("div",(0,u.Z)({ref:we,role:"treeitem","aria-expanded":ge?void 0:Ie,className:z()(fe,"".concat(ze.prefixCls,"-treenode"),(de={},(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)(de,"".concat(ze.prefixCls,"-treenode-disabled"),d),"".concat(ze.prefixCls,"-treenode-switcher-").concat(Ie?"open":"close"),!ge),"".concat(ze.prefixCls,"-treenode-checkbox-checked"),oe),"".concat(ze.prefixCls,"-treenode-checkbox-indeterminate"),F),"".concat(ze.prefixCls,"-treenode-selected"),He),"".concat(ze.prefixCls,"-treenode-loading"),L),"".concat(ze.prefixCls,"-treenode-active"),Ue),"".concat(ze.prefixCls,"-treenode-leaf-last"),Ht),"".concat(ze.prefixCls,"-treenode-draggable"),Oe),"dragging",gn),(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)(de,"drop-target",ze.dropTargetKey===H),"drop-container",ze.dropContainerKey===H),"drag-over",!d&&V),"drag-over-gap-top",!d&&le),"drag-over-gap-bottom",!d&&ne),"filter-node",(J=ze.filterTreeNode)===null||J===void 0?void 0:J.call(ze,(0,ce.F)(U))),"".concat(ze.prefixCls,"-treenode-leaf"),Nt))),style:re,draggable:Kt,onDragStart:Kt?qe:void 0,onDragEnter:Oe?lt:void 0,onDragOver:Oe?Ge:void 0,onDragLeave:Oe?pe:void 0,onDrop:Oe?st:void 0,onDragEnd:Oe?rt:void 0,onMouseMove:xt},Wt,je),f.createElement(G,{prefixCls:ze.prefixCls,level:hn,isStart:Le,isEnd:Re}),it,Et(),wt,Xt)};Z.isTreeNode=1;var j=Z},30699:function(x,c,r){"use strict";r.d(c,{k:function(){return y},y:function(){return v}});var u=r(59301),y=u.createContext(null),v=u.createContext({})},3741:function(x,c,r){"use strict";r.d(c,{OF:function(){return H.Z},y6:function(){return X.y},ZP:function(){return d}});var u=r(54476),y=r(76190),v=r(33885),b=r(94480),k=r(67732),f=r(83652),R=r(31226),z=r(42403),D=r(158),I=r(20068),ae=r(92310),G=r.n(ae),be=r(10228),ce=r(26112),ue=r(48736),te=r(59301),X=r(30699),q=function(O){var g=O.dropPosition,M=O.dropLevelOffset,xe=O.indent,tt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(g){case-1:tt.top=0,tt.left=-M*xe;break;case 1:tt.bottom=0,tt.left=-M*xe;break;case 0:tt.bottom=0,tt.left=xe;break}return te.createElement("div",{style:tt})},Z=q;function j(T){if(T==null)throw new TypeError("Cannot destructure "+T)}var P=r(42978),U=r(75931),_=r(34280),J=r(48911),de=r(77900),H=r(639);function fe(T,O){var g=te.useState(!1),M=(0,P.Z)(g,2),xe=M[0],tt=M[1];(0,_.Z)(function(){if(xe)return T(),function(){O()}},[xe]),(0,_.Z)(function(){return tt(!0),function(){tt(!1)}},[])}var re=fe,V=r(34061),le=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ne=te.forwardRef(function(T,O){var g=T.className,M=T.style,xe=T.motion,tt=T.motionNodes,nt=T.motionType,Ee=T.onMotionStart,Be=T.onMotionEnd,Oe=T.active,qe=T.treeNodeRequiredProps,lt=(0,U.Z)(T,le),Ge=te.useState(!0),pe=(0,P.Z)(Ge,2),rt=pe[0],st=pe[1],Ve=te.useContext(X.k),at=Ve.prefixCls,Nt=tt&&nt!=="hide";(0,_.Z)(function(){tt&&Nt!==rt&&st(Nt)},[tt]);var it=function(){tt&&Ee()},Q=te.useRef(!1),Et=function(){tt&&!Q.current&&(Q.current=!0,Be())};re(it,Et);var wt=function(zt){Nt===zt&&Et()};return tt?te.createElement(de.default,(0,u.Z)({ref:O,visible:rt},xe,{motionAppear:nt==="show",onVisibleChanged:wt}),function(ye,zt){var nn=ye.className,Xt=ye.style;return te.createElement("div",{ref:zt,className:G()("".concat(at,"-treenode-motion"),nn),style:Xt},tt.map(function(je){var En=Object.assign({},(j(je.data),je.data)),hn=je.title,Ht=je.key,Kt=je.isStart,gn=je.isEnd;delete En.children;var Wt=(0,V.H8)(Ht,qe);return te.createElement(H.Z,(0,u.Z)({},En,Wt,{title:hn,active:Oe,data:je.data,key:Ht,isStart:Kt,isEnd:gn}))}))}):te.createElement(H.Z,(0,u.Z)({domRef:O,className:g,style:M},lt,{active:Oe}))}),ge=ne;function Le(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],g=T.length,M=O.length;if(Math.abs(g-M)!==1)return{add:!1,key:null};function xe(tt,nt){var Ee=new Map;tt.forEach(function(Oe){Ee.set(Oe,!0)});var Be=nt.filter(function(Oe){return!Ee.has(Oe)});return Be.length===1?Be[0]:null}return g<M?{add:!0,key:xe(T,O)}:{add:!1,key:xe(O,T)}}function Re(T,O,g){var M=T.findIndex(function(Ee){return Ee.key===g}),xe=T[M+1],tt=O.findIndex(function(Ee){return Ee.key===g});if(xe){var nt=O.findIndex(function(Ee){return Ee.key===xe.key});return O.slice(tt+1,nt)}return O.slice(tt+1)}var Ie=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],He={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},oe=function(){},F="RC_TREE_MOTION_".concat(Math.random()),L={key:F},we={key:F,level:0,index:0,pos:"0",node:L,nodes:[L]},Ue={parent:null,children:[],pos:we.pos,data:L,title:null,key:F,isStart:[],isEnd:[]};function Ne(T,O,g,M){return O===!1||!g?T:T.slice(0,Math.ceil(g/M)+1)}function xt(T){var O=T.key,g=T.pos;return(0,V.km)(O,g)}function pt(T){for(var O=String(T.data.key),g=T;g.parent;)g=g.parent,O="".concat(g.data.key," > ").concat(O);return O}var Lt=te.forwardRef(function(T,O){var g=T.prefixCls,M=T.data,xe=T.selectable,tt=T.checkable,nt=T.expandedKeys,Ee=T.selectedKeys,Be=T.checkedKeys,Oe=T.loadedKeys,qe=T.loadingKeys,lt=T.halfCheckedKeys,Ge=T.keyEntities,pe=T.disabled,rt=T.dragging,st=T.dragOverNodeKey,Ve=T.dropPosition,at=T.motion,Nt=T.height,it=T.itemHeight,Q=T.virtual,Et=T.scrollWidth,wt=T.focusable,ye=T.activeItem,zt=T.focused,nn=T.tabIndex,Xt=T.onKeyDown,je=T.onFocus,En=T.onBlur,hn=T.onActiveChange,Ht=T.onListChangeStart,Kt=T.onListChangeEnd,gn=(0,U.Z)(T,Ie),Wt=te.useRef(null),Ft=te.useRef(null);te.useImperativeHandle(O,function(){return{scrollTo:function(Ce){Wt.current.scrollTo(Ce)},getIndentWidth:function(){return Ft.current.offsetWidth}}});var Dt=te.useState(nt),Qt=(0,P.Z)(Dt,2),wn=Qt[0],un=Qt[1],dn=te.useState(M),Lr=(0,P.Z)(dn,2),_n=Lr[0],Vn=Lr[1],gr=te.useState(M),xr=(0,P.Z)(gr,2),Xn=xr[0],Cn=xr[1],On=te.useState([]),Hn=(0,P.Z)(On,2),Zt=Hn[0],Rn=Hn[1],mr=te.useState(null),Or=(0,P.Z)(mr,2),Pe=Or[0],De=Or[1],Bt=te.useRef(M);Bt.current=M;function Rt(){var _t=Bt.current;Vn(_t),Cn(_t),Rn([]),De(null),Kt()}(0,_.Z)(function(){un(nt);var _t=Le(wn,nt);if(_t.key!==null)if(_t.add){var Ce=_n.findIndex(function(jt){var fn=jt.key;return fn===_t.key}),m=Ne(Re(_n,M,_t.key),Q,Nt,it),Yt=_n.slice();Yt.splice(Ce+1,0,Ue),Cn(Yt),Rn(m),De("show")}else{var qt=M.findIndex(function(jt){var fn=jt.key;return fn===_t.key}),Ze=Ne(Re(M,_n,_t.key),Q,Nt,it),xn=M.slice();xn.splice(qt+1,0,Ue),Cn(xn),Rn(Ze),De("hide")}else _n!==M&&(Vn(M),Cn(M))},[nt,M]),te.useEffect(function(){rt||Rt()},[rt]);var me=at?Xn:M,Ct={expandedKeys:nt,selectedKeys:Ee,loadedKeys:Oe,loadingKeys:qe,checkedKeys:Be,halfCheckedKeys:lt,dragOverNodeKey:st,dropPosition:Ve,keyEntities:Ge};return te.createElement(te.Fragment,null,zt&&ye&&te.createElement("span",{style:He,"aria-live":"assertive"},pt(ye)),te.createElement("div",null,te.createElement("input",{style:He,disabled:wt===!1||pe,tabIndex:wt!==!1?nn:null,onKeyDown:Xt,onFocus:je,onBlur:En,value:"",onChange:oe,"aria-label":"for screen reader"})),te.createElement("div",{className:"".concat(g,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},te.createElement("div",{className:"".concat(g,"-indent")},te.createElement("div",{ref:Ft,className:"".concat(g,"-indent-unit")}))),te.createElement(J.Z,(0,u.Z)({},gn,{data:me,itemKey:xt,height:Nt,fullHeight:!1,virtual:Q,itemHeight:it,scrollWidth:Et,prefixCls:"".concat(g,"-list"),ref:Wt,role:"tree",onVisibleChange:function(Ce){Ce.every(function(m){return xt(m)!==F})&&Rt()}}),function(_t){var Ce=_t.pos,m=Object.assign({},(j(_t.data),_t.data)),Yt=_t.title,qt=_t.key,Ze=_t.isStart,xn=_t.isEnd,jt=(0,V.km)(qt,Ce);delete m.key,delete m.children;var fn=(0,V.H8)(jt,Ct);return te.createElement(ge,(0,u.Z)({},m,fn,{title:Yt,active:!!ye&&qt===ye.key,pos:Ce,data:_t.data,isStart:Ze,isEnd:xn,motion:at,motionNodes:qt===F?Zt:null,motionType:Pe,onMotionStart:Ht,onMotionEnd:Rt,treeNodeRequiredProps:Ct,onMouseMove:function(){hn(null)}}))}))}),ze=Lt,Te=r(82661),_e=r(34643),$e=r(65065),St=10,A=function(T){(0,z.Z)(g,T);var O=(0,D.Z)(g);function g(){var M;(0,k.Z)(this,g);for(var xe=arguments.length,tt=new Array(xe),nt=0;nt<xe;nt++)tt[nt]=arguments[nt];return M=O.call.apply(O,[this].concat(tt)),(0,I.Z)((0,R.Z)(M),"destroyed",!1),(0,I.Z)((0,R.Z)(M),"delayedDragEnterLogic",void 0),(0,I.Z)((0,R.Z)(M),"loadingRetryTimes",{}),(0,I.Z)((0,R.Z)(M),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,V.w$)()}),(0,I.Z)((0,R.Z)(M),"dragStartMousePosition",null),(0,I.Z)((0,R.Z)(M),"dragNodeProps",null),(0,I.Z)((0,R.Z)(M),"currentMouseOverDroppableNodeKey",null),(0,I.Z)((0,R.Z)(M),"listRef",te.createRef()),(0,I.Z)((0,R.Z)(M),"onNodeDragStart",function(Ee,Be){var Oe=M.state,qe=Oe.expandedKeys,lt=Oe.keyEntities,Ge=M.props.onDragStart,pe=Be.eventKey;M.dragNodeProps=Be,M.dragStartMousePosition={x:Ee.clientX,y:Ee.clientY};var rt=(0,Te._5)(qe,pe);M.setState({draggingNodeKey:pe,dragChildrenKeys:(0,Te.wA)(pe,lt),indent:M.listRef.current.getIndentWidth()}),M.setExpandedKeys(rt),window.addEventListener("dragend",M.onWindowDragEnd),Ge==null||Ge({event:Ee,node:(0,V.F)(Be)})}),(0,I.Z)((0,R.Z)(M),"onNodeDragEnter",function(Ee,Be){var Oe=M.state,qe=Oe.expandedKeys,lt=Oe.keyEntities,Ge=Oe.dragChildrenKeys,pe=Oe.flattenNodes,rt=Oe.indent,st=M.props,Ve=st.onDragEnter,at=st.onExpand,Nt=st.allowDrop,it=st.direction,Q=Be.pos,Et=Be.eventKey;if(M.currentMouseOverDroppableNodeKey!==Et&&(M.currentMouseOverDroppableNodeKey=Et),!M.dragNodeProps){M.resetDragState();return}var wt=(0,Te.OM)(Ee,M.dragNodeProps,Be,rt,M.dragStartMousePosition,Nt,pe,lt,qe,it),ye=wt.dropPosition,zt=wt.dropLevelOffset,nn=wt.dropTargetKey,Xt=wt.dropContainerKey,je=wt.dropTargetPos,En=wt.dropAllowed,hn=wt.dragOverNodeKey;if(Ge.includes(nn)||!En){M.resetDragState();return}if(M.delayedDragEnterLogic||(M.delayedDragEnterLogic={}),Object.keys(M.delayedDragEnterLogic).forEach(function(Ht){clearTimeout(M.delayedDragEnterLogic[Ht])}),M.dragNodeProps.eventKey!==Be.eventKey&&(Ee.persist(),M.delayedDragEnterLogic[Q]=window.setTimeout(function(){if(M.state.draggingNodeKey!==null){var Ht=(0,b.Z)(qe),Kt=(0,$e.Z)(lt,Be.eventKey);Kt&&(Kt.children||[]).length&&(Ht=(0,Te.L0)(qe,Be.eventKey)),M.props.hasOwnProperty("expandedKeys")||M.setExpandedKeys(Ht),at==null||at(Ht,{node:(0,V.F)(Be),expanded:!0,nativeEvent:Ee.nativeEvent})}},800)),M.dragNodeProps.eventKey===nn&&zt===0){M.resetDragState();return}M.setState({dragOverNodeKey:hn,dropPosition:ye,dropLevelOffset:zt,dropTargetKey:nn,dropContainerKey:Xt,dropTargetPos:je,dropAllowed:En}),Ve==null||Ve({event:Ee,node:(0,V.F)(Be),expandedKeys:qe})}),(0,I.Z)((0,R.Z)(M),"onNodeDragOver",function(Ee,Be){var Oe=M.state,qe=Oe.dragChildrenKeys,lt=Oe.flattenNodes,Ge=Oe.keyEntities,pe=Oe.expandedKeys,rt=Oe.indent,st=M.props,Ve=st.onDragOver,at=st.allowDrop,Nt=st.direction;if(M.dragNodeProps){var it=(0,Te.OM)(Ee,M.dragNodeProps,Be,rt,M.dragStartMousePosition,at,lt,Ge,pe,Nt),Q=it.dropPosition,Et=it.dropLevelOffset,wt=it.dropTargetKey,ye=it.dropContainerKey,zt=it.dropTargetPos,nn=it.dropAllowed,Xt=it.dragOverNodeKey;qe.includes(wt)||!nn||(M.dragNodeProps.eventKey===wt&&Et===0?M.state.dropPosition===null&&M.state.dropLevelOffset===null&&M.state.dropTargetKey===null&&M.state.dropContainerKey===null&&M.state.dropTargetPos===null&&M.state.dropAllowed===!1&&M.state.dragOverNodeKey===null||M.resetDragState():Q===M.state.dropPosition&&Et===M.state.dropLevelOffset&&wt===M.state.dropTargetKey&&ye===M.state.dropContainerKey&&zt===M.state.dropTargetPos&&nn===M.state.dropAllowed&&Xt===M.state.dragOverNodeKey||M.setState({dropPosition:Q,dropLevelOffset:Et,dropTargetKey:wt,dropContainerKey:ye,dropTargetPos:zt,dropAllowed:nn,dragOverNodeKey:Xt}),Ve==null||Ve({event:Ee,node:(0,V.F)(Be)}))}}),(0,I.Z)((0,R.Z)(M),"onNodeDragLeave",function(Ee,Be){M.currentMouseOverDroppableNodeKey===Be.eventKey&&!Ee.currentTarget.contains(Ee.relatedTarget)&&(M.resetDragState(),M.currentMouseOverDroppableNodeKey=null);var Oe=M.props.onDragLeave;Oe==null||Oe({event:Ee,node:(0,V.F)(Be)})}),(0,I.Z)((0,R.Z)(M),"onWindowDragEnd",function(Ee){M.onNodeDragEnd(Ee,null,!0),window.removeEventListener("dragend",M.onWindowDragEnd)}),(0,I.Z)((0,R.Z)(M),"onNodeDragEnd",function(Ee,Be){var Oe=M.props.onDragEnd;M.setState({dragOverNodeKey:null}),M.cleanDragState(),Oe==null||Oe({event:Ee,node:(0,V.F)(Be)}),M.dragNodeProps=null,window.removeEventListener("dragend",M.onWindowDragEnd)}),(0,I.Z)((0,R.Z)(M),"onNodeDrop",function(Ee,Be){var Oe,qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,lt=M.state,Ge=lt.dragChildrenKeys,pe=lt.dropPosition,rt=lt.dropTargetKey,st=lt.dropTargetPos,Ve=lt.dropAllowed;if(Ve){var at=M.props.onDrop;if(M.setState({dragOverNodeKey:null}),M.cleanDragState(),rt!==null){var Nt=(0,v.Z)((0,v.Z)({},(0,V.H8)(rt,M.getTreeNodeRequiredProps())),{},{active:((Oe=M.getActiveItem())===null||Oe===void 0?void 0:Oe.key)===rt,data:(0,$e.Z)(M.state.keyEntities,rt).node}),it=Ge.includes(rt);(0,ue.ZP)(!it,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Q=(0,Te.yx)(st),Et={event:Ee,node:(0,V.F)(Nt),dragNode:M.dragNodeProps?(0,V.F)(M.dragNodeProps):null,dragNodesKeys:[M.dragNodeProps.eventKey].concat(Ge),dropToGap:pe!==0,dropPosition:pe+Number(Q[Q.length-1])};qe||at==null||at(Et),M.dragNodeProps=null}}}),(0,I.Z)((0,R.Z)(M),"cleanDragState",function(){var Ee=M.state.draggingNodeKey;Ee!==null&&M.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),M.dragStartMousePosition=null,M.currentMouseOverDroppableNodeKey=null}),(0,I.Z)((0,R.Z)(M),"triggerExpandActionExpand",function(Ee,Be){var Oe=M.state,qe=Oe.expandedKeys,lt=Oe.flattenNodes,Ge=Be.expanded,pe=Be.key,rt=Be.isLeaf;if(!(rt||Ee.shiftKey||Ee.metaKey||Ee.ctrlKey)){var st=lt.filter(function(at){return at.key===pe})[0],Ve=(0,V.F)((0,v.Z)((0,v.Z)({},(0,V.H8)(pe,M.getTreeNodeRequiredProps())),{},{data:st.data}));M.setExpandedKeys(Ge?(0,Te._5)(qe,pe):(0,Te.L0)(qe,pe)),M.onNodeExpand(Ee,Ve)}}),(0,I.Z)((0,R.Z)(M),"onNodeClick",function(Ee,Be){var Oe=M.props,qe=Oe.onClick,lt=Oe.expandAction;lt==="click"&&M.triggerExpandActionExpand(Ee,Be),qe==null||qe(Ee,Be)}),(0,I.Z)((0,R.Z)(M),"onNodeDoubleClick",function(Ee,Be){var Oe=M.props,qe=Oe.onDoubleClick,lt=Oe.expandAction;lt==="doubleClick"&&M.triggerExpandActionExpand(Ee,Be),qe==null||qe(Ee,Be)}),(0,I.Z)((0,R.Z)(M),"onNodeSelect",function(Ee,Be){var Oe=M.state.selectedKeys,qe=M.state,lt=qe.keyEntities,Ge=qe.fieldNames,pe=M.props,rt=pe.onSelect,st=pe.multiple,Ve=Be.selected,at=Be[Ge.key],Nt=!Ve;Nt?st?Oe=(0,Te.L0)(Oe,at):Oe=[at]:Oe=(0,Te._5)(Oe,at);var it=Oe.map(function(Q){var Et=(0,$e.Z)(lt,Q);return Et?Et.node:null}).filter(Boolean);M.setUncontrolledState({selectedKeys:Oe}),rt==null||rt(Oe,{event:"select",selected:Nt,node:Be,selectedNodes:it,nativeEvent:Ee.nativeEvent})}),(0,I.Z)((0,R.Z)(M),"onNodeCheck",function(Ee,Be,Oe){var qe=M.state,lt=qe.keyEntities,Ge=qe.checkedKeys,pe=qe.halfCheckedKeys,rt=M.props,st=rt.checkStrictly,Ve=rt.onCheck,at=Be.key,Nt,it={event:"check",node:Be,checked:Oe,nativeEvent:Ee.nativeEvent};if(st){var Q=Oe?(0,Te.L0)(Ge,at):(0,Te._5)(Ge,at),Et=(0,Te._5)(pe,at);Nt={checked:Q,halfChecked:Et},it.checkedNodes=Q.map(function(je){return(0,$e.Z)(lt,je)}).filter(Boolean).map(function(je){return je.node}),M.setUncontrolledState({checkedKeys:Q})}else{var wt=(0,_e.S)([].concat((0,b.Z)(Ge),[at]),!0,lt),ye=wt.checkedKeys,zt=wt.halfCheckedKeys;if(!Oe){var nn=new Set(ye);nn.delete(at);var Xt=(0,_e.S)(Array.from(nn),{checked:!1,halfCheckedKeys:zt},lt);ye=Xt.checkedKeys,zt=Xt.halfCheckedKeys}Nt=ye,it.checkedNodes=[],it.checkedNodesPositions=[],it.halfCheckedKeys=zt,ye.forEach(function(je){var En=(0,$e.Z)(lt,je);if(En){var hn=En.node,Ht=En.pos;it.checkedNodes.push(hn),it.checkedNodesPositions.push({node:hn,pos:Ht})}}),M.setUncontrolledState({checkedKeys:ye},!1,{halfCheckedKeys:zt})}Ve==null||Ve(Nt,it)}),(0,I.Z)((0,R.Z)(M),"onNodeLoad",function(Ee){var Be,Oe=Ee.key,qe=M.state.keyEntities,lt=(0,$e.Z)(qe,Oe);if(!(lt!=null&&(Be=lt.children)!==null&&Be!==void 0&&Be.length)){var Ge=new Promise(function(pe,rt){M.setState(function(st){var Ve=st.loadedKeys,at=Ve===void 0?[]:Ve,Nt=st.loadingKeys,it=Nt===void 0?[]:Nt,Q=M.props,Et=Q.loadData,wt=Q.onLoad;if(!Et||at.includes(Oe)||it.includes(Oe))return null;var ye=Et(Ee);return ye.then(function(){var zt=M.state.loadedKeys,nn=(0,Te.L0)(zt,Oe);wt==null||wt(nn,{event:"load",node:Ee}),M.setUncontrolledState({loadedKeys:nn}),M.setState(function(Xt){return{loadingKeys:(0,Te._5)(Xt.loadingKeys,Oe)}}),pe()}).catch(function(zt){if(M.setState(function(Xt){return{loadingKeys:(0,Te._5)(Xt.loadingKeys,Oe)}}),M.loadingRetryTimes[Oe]=(M.loadingRetryTimes[Oe]||0)+1,M.loadingRetryTimes[Oe]>=St){var nn=M.state.loadedKeys;(0,ue.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),M.setUncontrolledState({loadedKeys:(0,Te.L0)(nn,Oe)}),pe()}rt(zt)}),{loadingKeys:(0,Te.L0)(it,Oe)}})});return Ge.catch(function(){}),Ge}}),(0,I.Z)((0,R.Z)(M),"onNodeMouseEnter",function(Ee,Be){var Oe=M.props.onMouseEnter;Oe==null||Oe({event:Ee,node:Be})}),(0,I.Z)((0,R.Z)(M),"onNodeMouseLeave",function(Ee,Be){var Oe=M.props.onMouseLeave;Oe==null||Oe({event:Ee,node:Be})}),(0,I.Z)((0,R.Z)(M),"onNodeContextMenu",function(Ee,Be){var Oe=M.props.onRightClick;Oe&&(Ee.preventDefault(),Oe({event:Ee,node:Be}))}),(0,I.Z)((0,R.Z)(M),"onFocus",function(){var Ee=M.props.onFocus;M.setState({focused:!0});for(var Be=arguments.length,Oe=new Array(Be),qe=0;qe<Be;qe++)Oe[qe]=arguments[qe];Ee==null||Ee.apply(void 0,Oe)}),(0,I.Z)((0,R.Z)(M),"onBlur",function(){var Ee=M.props.onBlur;M.setState({focused:!1}),M.onActiveChange(null);for(var Be=arguments.length,Oe=new Array(Be),qe=0;qe<Be;qe++)Oe[qe]=arguments[qe];Ee==null||Ee.apply(void 0,Oe)}),(0,I.Z)((0,R.Z)(M),"getTreeNodeRequiredProps",function(){var Ee=M.state,Be=Ee.expandedKeys,Oe=Ee.selectedKeys,qe=Ee.loadedKeys,lt=Ee.loadingKeys,Ge=Ee.checkedKeys,pe=Ee.halfCheckedKeys,rt=Ee.dragOverNodeKey,st=Ee.dropPosition,Ve=Ee.keyEntities;return{expandedKeys:Be||[],selectedKeys:Oe||[],loadedKeys:qe||[],loadingKeys:lt||[],checkedKeys:Ge||[],halfCheckedKeys:pe||[],dragOverNodeKey:rt,dropPosition:st,keyEntities:Ve}}),(0,I.Z)((0,R.Z)(M),"setExpandedKeys",function(Ee){var Be=M.state,Oe=Be.treeData,qe=Be.fieldNames,lt=(0,V.oH)(Oe,Ee,qe);M.setUncontrolledState({expandedKeys:Ee,flattenNodes:lt},!0)}),(0,I.Z)((0,R.Z)(M),"onNodeExpand",function(Ee,Be){var Oe=M.state.expandedKeys,qe=M.state,lt=qe.listChanging,Ge=qe.fieldNames,pe=M.props,rt=pe.onExpand,st=pe.loadData,Ve=Be.expanded,at=Be[Ge.key];if(!lt){var Nt=Oe.includes(at),it=!Ve;if((0,ue.ZP)(Ve&&Nt||!Ve&&!Nt,"Expand state not sync with index check"),Oe=it?(0,Te.L0)(Oe,at):(0,Te._5)(Oe,at),M.setExpandedKeys(Oe),rt==null||rt(Oe,{node:Be,expanded:it,nativeEvent:Ee.nativeEvent}),it&&st){var Q=M.onNodeLoad(Be);Q&&Q.then(function(){var Et=(0,V.oH)(M.state.treeData,Oe,Ge);M.setUncontrolledState({flattenNodes:Et})}).catch(function(){var Et=M.state.expandedKeys,wt=(0,Te._5)(Et,at);M.setExpandedKeys(wt)})}}}),(0,I.Z)((0,R.Z)(M),"onListChangeStart",function(){M.setUncontrolledState({listChanging:!0})}),(0,I.Z)((0,R.Z)(M),"onListChangeEnd",function(){setTimeout(function(){M.setUncontrolledState({listChanging:!1})})}),(0,I.Z)((0,R.Z)(M),"onActiveChange",function(Ee){var Be=M.state.activeKey,Oe=M.props,qe=Oe.onActiveChange,lt=Oe.itemScrollOffset,Ge=lt===void 0?0:lt;Be!==Ee&&(M.setState({activeKey:Ee}),Ee!==null&&M.scrollTo({key:Ee,offset:Ge}),qe==null||qe(Ee))}),(0,I.Z)((0,R.Z)(M),"getActiveItem",function(){var Ee=M.state,Be=Ee.activeKey,Oe=Ee.flattenNodes;return Be===null?null:Oe.find(function(qe){var lt=qe.key;return lt===Be})||null}),(0,I.Z)((0,R.Z)(M),"offsetActiveKey",function(Ee){var Be=M.state,Oe=Be.flattenNodes,qe=Be.activeKey,lt=Oe.findIndex(function(rt){var st=rt.key;return st===qe});lt===-1&&Ee<0&&(lt=Oe.length),lt=(lt+Ee+Oe.length)%Oe.length;var Ge=Oe[lt];if(Ge){var pe=Ge.key;M.onActiveChange(pe)}else M.onActiveChange(null)}),(0,I.Z)((0,R.Z)(M),"onKeyDown",function(Ee){var Be=M.state,Oe=Be.activeKey,qe=Be.expandedKeys,lt=Be.checkedKeys,Ge=Be.fieldNames,pe=M.props,rt=pe.onKeyDown,st=pe.checkable,Ve=pe.selectable;switch(Ee.which){case be.Z.UP:{M.offsetActiveKey(-1),Ee.preventDefault();break}case be.Z.DOWN:{M.offsetActiveKey(1),Ee.preventDefault();break}}var at=M.getActiveItem();if(at&&at.data){var Nt=M.getTreeNodeRequiredProps(),it=at.data.isLeaf===!1||!!(at.data[Ge.children]||[]).length,Q=(0,V.F)((0,v.Z)((0,v.Z)({},(0,V.H8)(Oe,Nt)),{},{data:at.data,active:!0}));switch(Ee.which){case be.Z.LEFT:{it&&qe.includes(Oe)?M.onNodeExpand({},Q):at.parent&&M.onActiveChange(at.parent.key),Ee.preventDefault();break}case be.Z.RIGHT:{it&&!qe.includes(Oe)?M.onNodeExpand({},Q):at.children&&at.children.length&&M.onActiveChange(at.children[0].key),Ee.preventDefault();break}case be.Z.ENTER:case be.Z.SPACE:{st&&!Q.disabled&&Q.checkable!==!1&&!Q.disableCheckbox?M.onNodeCheck({},Q,!lt.includes(Oe)):!st&&Ve&&!Q.disabled&&Q.selectable!==!1&&M.onNodeSelect({},Q);break}}}rt==null||rt(Ee)}),(0,I.Z)((0,R.Z)(M),"setUncontrolledState",function(Ee){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!M.destroyed){var qe=!1,lt=!0,Ge={};Object.keys(Ee).forEach(function(pe){if(M.props.hasOwnProperty(pe)){lt=!1;return}qe=!0,Ge[pe]=Ee[pe]}),qe&&(!Be||lt)&&M.setState((0,v.Z)((0,v.Z)({},Ge),Oe))}}),(0,I.Z)((0,R.Z)(M),"scrollTo",function(Ee){M.listRef.current.scrollTo(Ee)}),M}return(0,f.Z)(g,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var xe=this.props,tt=xe.activeKey,nt=xe.itemScrollOffset,Ee=nt===void 0?0:nt;tt!==void 0&&tt!==this.state.activeKey&&(this.setState({activeKey:tt}),tt!==null&&this.scrollTo({key:tt,offset:Ee}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var xe=this.state,tt=xe.focused,nt=xe.flattenNodes,Ee=xe.keyEntities,Be=xe.draggingNodeKey,Oe=xe.activeKey,qe=xe.dropLevelOffset,lt=xe.dropContainerKey,Ge=xe.dropTargetKey,pe=xe.dropPosition,rt=xe.dragOverNodeKey,st=xe.indent,Ve=this.props,at=Ve.prefixCls,Nt=Ve.className,it=Ve.style,Q=Ve.showLine,Et=Ve.focusable,wt=Ve.tabIndex,ye=wt===void 0?0:wt,zt=Ve.selectable,nn=Ve.showIcon,Xt=Ve.icon,je=Ve.switcherIcon,En=Ve.draggable,hn=Ve.checkable,Ht=Ve.checkStrictly,Kt=Ve.disabled,gn=Ve.motion,Wt=Ve.loadData,Ft=Ve.filterTreeNode,Dt=Ve.height,Qt=Ve.itemHeight,wn=Ve.scrollWidth,un=Ve.virtual,dn=Ve.titleRender,Lr=Ve.dropIndicatorRender,_n=Ve.onContextMenu,Vn=Ve.onScroll,gr=Ve.direction,xr=Ve.rootClassName,Xn=Ve.rootStyle,Cn=(0,ce.Z)(this.props,{aria:!0,data:!0}),On;En&&((0,y.Z)(En)==="object"?On=En:typeof En=="function"?On={nodeDraggable:En}:On={});var Hn={prefixCls:at,selectable:zt,showIcon:nn,icon:Xt,switcherIcon:je,draggable:On,draggingNodeKey:Be,checkable:hn,checkStrictly:Ht,disabled:Kt,keyEntities:Ee,dropLevelOffset:qe,dropContainerKey:lt,dropTargetKey:Ge,dropPosition:pe,dragOverNodeKey:rt,indent:st,direction:gr,dropIndicatorRender:Lr,loadData:Wt,filterTreeNode:Ft,titleRender:dn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return te.createElement(X.k.Provider,{value:Hn},te.createElement("div",{className:G()(at,Nt,xr,(0,I.Z)((0,I.Z)((0,I.Z)({},"".concat(at,"-show-line"),Q),"".concat(at,"-focused"),tt),"".concat(at,"-active-focused"),Oe!==null)),style:Xn},te.createElement(ze,(0,u.Z)({ref:this.listRef,prefixCls:at,style:it,data:nt,disabled:Kt,selectable:zt,checkable:!!hn,motion:gn,dragging:Be!==null,height:Dt,itemHeight:Qt,virtual:un,focusable:Et,focused:tt,tabIndex:ye,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_n,onScroll:Vn,scrollWidth:wn},this.getTreeNodeRequiredProps(),Cn))))}}],[{key:"getDerivedStateFromProps",value:function(xe,tt){var nt=tt.prevProps,Ee={prevProps:xe};function Be(ye){return!nt&&xe.hasOwnProperty(ye)||nt&&nt[ye]!==xe[ye]}var Oe,qe=tt.fieldNames;if(Be("fieldNames")&&(qe=(0,V.w$)(xe.fieldNames),Ee.fieldNames=qe),Be("treeData")?Oe=xe.treeData:Be("children")&&((0,ue.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Oe=(0,V.zn)(xe.children)),Oe){Ee.treeData=Oe;var lt=(0,V.I8)(Oe,{fieldNames:qe});Ee.keyEntities=(0,v.Z)((0,I.Z)({},F,we),lt.keyEntities)}var Ge=Ee.keyEntities||tt.keyEntities;if(Be("expandedKeys")||nt&&Be("autoExpandParent"))Ee.expandedKeys=xe.autoExpandParent||!nt&&xe.defaultExpandParent?(0,Te.r7)(xe.expandedKeys,Ge):xe.expandedKeys;else if(!nt&&xe.defaultExpandAll){var pe=(0,v.Z)({},Ge);delete pe[F];var rt=[];Object.keys(pe).forEach(function(ye){var zt=pe[ye];zt.children&&zt.children.length&&rt.push(zt.key)}),Ee.expandedKeys=rt}else!nt&&xe.defaultExpandedKeys&&(Ee.expandedKeys=xe.autoExpandParent||xe.defaultExpandParent?(0,Te.r7)(xe.defaultExpandedKeys,Ge):xe.defaultExpandedKeys);if(Ee.expandedKeys||delete Ee.expandedKeys,Oe||Ee.expandedKeys){var st=(0,V.oH)(Oe||tt.treeData,Ee.expandedKeys||tt.expandedKeys,qe);Ee.flattenNodes=st}if(xe.selectable&&(Be("selectedKeys")?Ee.selectedKeys=(0,Te.BT)(xe.selectedKeys,xe):!nt&&xe.defaultSelectedKeys&&(Ee.selectedKeys=(0,Te.BT)(xe.defaultSelectedKeys,xe))),xe.checkable){var Ve;if(Be("checkedKeys")?Ve=(0,Te.E6)(xe.checkedKeys)||{}:!nt&&xe.defaultCheckedKeys?Ve=(0,Te.E6)(xe.defaultCheckedKeys)||{}:Oe&&(Ve=(0,Te.E6)(xe.checkedKeys)||{checkedKeys:tt.checkedKeys,halfCheckedKeys:tt.halfCheckedKeys}),Ve){var at=Ve,Nt=at.checkedKeys,it=Nt===void 0?[]:Nt,Q=at.halfCheckedKeys,Et=Q===void 0?[]:Q;if(!xe.checkStrictly){var wt=(0,_e.S)(it,!0,Ge);it=wt.checkedKeys,Et=wt.halfCheckedKeys}Ee.checkedKeys=it,Ee.halfCheckedKeys=Et}}return Be("loadedKeys")&&(Ee.loadedKeys=xe.loadedKeys),Ee}}]),g}(te.Component);(0,I.Z)(A,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Z,allowDrop:function(){return!0},expandAction:!1}),(0,I.Z)(A,"TreeNode",H.Z);var p=A,d=p},82661:function(x,c,r){"use strict";r.d(c,{BT:function(){return te},E6:function(){return Z},L0:function(){return I},OM:function(){return ue},_5:function(){return D},r7:function(){return j},wA:function(){return G},yx:function(){return ae}});var u=r(94480),y=r(76190),v=r(48736),b=r(59301),k=r(639),f=r(65065),R=r(34061),z=null;function D(P,U){if(!P)return[];var _=P.slice(),J=_.indexOf(U);return J>=0&&_.splice(J,1),_}function I(P,U){var _=(P||[]).slice();return _.indexOf(U)===-1&&_.push(U),_}function ae(P){return P.split("-")}function G(P,U){var _=[],J=(0,f.Z)(U,P);function de(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];H.forEach(function(fe){var re=fe.key,V=fe.children;_.push(re),de(V)})}return de(J.children),_}function be(P){if(P.parent){var U=ae(P.pos);return Number(U[U.length-1])===P.parent.children.length-1}return!1}function ce(P){var U=ae(P.pos);return Number(U[U.length-1])===0}function ue(P,U,_,J,de,H,fe,re,V,le){var ne,ge=P.clientX,Le=P.clientY,Re=P.target.getBoundingClientRect(),Ie=Re.top,He=Re.height,oe=(le==="rtl"?-1:1)*(((de==null?void 0:de.x)||0)-ge),F=(oe-12)/J,L=V.filter(function(d){var T;return(T=re[d])===null||T===void 0||(T=T.children)===null||T===void 0?void 0:T.length}),we=(0,f.Z)(re,_.eventKey);if(Le<Ie+He/2){var Ue=fe.findIndex(function(d){return d.key===we.key}),Ne=Ue<=0?0:Ue-1,xt=fe[Ne].key;we=(0,f.Z)(re,xt)}var pt=we.key,Lt=we,ze=we.key,Te=0,_e=0;if(!L.includes(pt))for(var $e=0;$e<F&&be(we);$e+=1)we=we.parent,_e+=1;var St=U.data,A=we.node,p=!0;return ce(we)&&we.level===0&&Le<Ie+He/2&&H({dragNode:St,dropNode:A,dropPosition:-1})&&we.key===_.eventKey?Te=-1:(Lt.children||[]).length&&L.includes(ze)?H({dragNode:St,dropNode:A,dropPosition:0})?Te=0:p=!1:_e===0?F>-1.5?H({dragNode:St,dropNode:A,dropPosition:1})?Te=1:p=!1:H({dragNode:St,dropNode:A,dropPosition:0})?Te=0:H({dragNode:St,dropNode:A,dropPosition:1})?Te=1:p=!1:H({dragNode:St,dropNode:A,dropPosition:1})?Te=1:p=!1,{dropPosition:Te,dropLevelOffset:_e,dropTargetKey:we.key,dropTargetPos:we.pos,dragOverNodeKey:ze,dropContainerKey:Te===0?null:((ne=we.parent)===null||ne===void 0?void 0:ne.key)||null,dropAllowed:p}}function te(P,U){if(P){var _=U.multiple;return _?P.slice():P.length?[P[0]]:P}}var X=function(U){return U};function q(P,U){if(!P)return[];var _=U||{},J=_.processProps,de=J===void 0?X:J,H=Array.isArray(P)?P:[P];return H.map(function(fe){var re=fe.children,V=_objectWithoutProperties(fe,z),le=q(re,U);return React.createElement(TreeNode,_extends({key:V.key},de(V)),le)})}function Z(P){if(!P)return null;var U;if(Array.isArray(P))U={checkedKeys:P,halfCheckedKeys:void 0};else if((0,y.Z)(P)==="object")U={checkedKeys:P.checked||void 0,halfCheckedKeys:P.halfChecked||void 0};else return(0,v.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return U}function j(P,U){var _=new Set;function J(de){if(!_.has(de)){var H=(0,f.Z)(U,de);if(H){_.add(de);var fe=H.parent,re=H.node;re.disabled||fe&&J(fe.key)}}}return(P||[]).forEach(function(de){J(de)}),(0,u.Z)(_)}},34643:function(x,c,r){"use strict";r.d(c,{S:function(){return R}});var u=r(48736),y=r(65065);function v(z,D){var I=new Set;return z.forEach(function(ae){D.has(ae)||I.add(ae)}),I}function b(z){var D=z||{},I=D.disabled,ae=D.disableCheckbox,G=D.checkable;return!!(I||ae)||G===!1}function k(z,D,I,ae){for(var G=new Set(z),be=new Set,ce=0;ce<=I;ce+=1){var ue=D.get(ce)||new Set;ue.forEach(function(Z){var j=Z.key,P=Z.node,U=Z.children,_=U===void 0?[]:U;G.has(j)&&!ae(P)&&_.filter(function(J){return!ae(J.node)}).forEach(function(J){G.add(J.key)})})}for(var te=new Set,X=I;X>=0;X-=1){var q=D.get(X)||new Set;q.forEach(function(Z){var j=Z.parent,P=Z.node;if(!(ae(P)||!Z.parent||te.has(Z.parent.key))){if(ae(Z.parent.node)){te.add(j.key);return}var U=!0,_=!1;(j.children||[]).filter(function(J){return!ae(J.node)}).forEach(function(J){var de=J.key,H=G.has(de);U&&!H&&(U=!1),!_&&(H||be.has(de))&&(_=!0)}),U&&G.add(j.key),_&&be.add(j.key),te.add(j.key)}})}return{checkedKeys:Array.from(G),halfCheckedKeys:Array.from(v(be,G))}}function f(z,D,I,ae,G){for(var be=new Set(z),ce=new Set(D),ue=0;ue<=ae;ue+=1){var te=I.get(ue)||new Set;te.forEach(function(j){var P=j.key,U=j.node,_=j.children,J=_===void 0?[]:_;!be.has(P)&&!ce.has(P)&&!G(U)&&J.filter(function(de){return!G(de.node)}).forEach(function(de){be.delete(de.key)})})}ce=new Set;for(var X=new Set,q=ae;q>=0;q-=1){var Z=I.get(q)||new Set;Z.forEach(function(j){var P=j.parent,U=j.node;if(!(G(U)||!j.parent||X.has(j.parent.key))){if(G(j.parent.node)){X.add(P.key);return}var _=!0,J=!1;(P.children||[]).filter(function(de){return!G(de.node)}).forEach(function(de){var H=de.key,fe=be.has(H);_&&!fe&&(_=!1),!J&&(fe||ce.has(H))&&(J=!0)}),_||be.delete(P.key),J&&ce.add(P.key),X.add(P.key)}})}return{checkedKeys:Array.from(be),halfCheckedKeys:Array.from(v(ce,be))}}function R(z,D,I,ae){var G=[],be;ae?be=ae:be=b;var ce=new Set(z.filter(function(q){var Z=!!(0,y.Z)(I,q);return Z||G.push(q),Z})),ue=new Map,te=0;Object.keys(I).forEach(function(q){var Z=I[q],j=Z.level,P=ue.get(j);P||(P=new Set,ue.set(j,P)),P.add(Z),te=Math.max(te,j)}),(0,u.ZP)(!G.length,"Tree missing follow keys: ".concat(G.slice(0,100).map(function(q){return"'".concat(q,"'")}).join(", ")));var X;return D===!0?X=k(ce,ue,te,be):X=f(ce,D.halfCheckedKeys,ue,te,be),X}},65065:function(x,c,r){"use strict";r.d(c,{Z:function(){return u}});function u(y,v){return y[v]}},34061:function(x,c,r){"use strict";r.d(c,{F:function(){return j},H8:function(){return Z},I8:function(){return q},km:function(){return G},oH:function(){return te},w$:function(){return be},zn:function(){return ue}});var u=r(76190),y=r(94480),v=r(33885),b=r(75931),k=r(11592),f=r(2738),R=r(48736),z=r(65065),D=["children"];function I(P,U){return"".concat(P,"-").concat(U)}function ae(P){return P&&P.type&&P.type.isTreeNode}function G(P,U){return P!=null?P:U}function be(P){var U=P||{},_=U.title,J=U._title,de=U.key,H=U.children,fe=_||"title";return{title:fe,_title:J||[fe],key:de||"key",children:H||"children"}}function ce(P,U){var _=new Map;function J(de){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(de||[]).forEach(function(fe){var re=fe[U.key],V=fe[U.children];warning(re!=null,"Tree node must have a certain key: [".concat(H).concat(re,"]"));var le=String(re);warning(!_.has(le)||re===null||re===void 0,"Same 'key' exist in the Tree: ".concat(le)),_.set(le,!0),J(V,"".concat(H).concat(le," > "))})}J(P)}function ue(P){function U(_){var J=(0,k.Z)(_);return J.map(function(de){if(!ae(de))return(0,R.ZP)(!de,"Tree/TreeNode can only accept TreeNode as children."),null;var H=de.key,fe=de.props,re=fe.children,V=(0,b.Z)(fe,D),le=(0,v.Z)({key:H},V),ne=U(re);return ne.length&&(le.children=ne),le}).filter(function(de){return de})}return U(P)}function te(P,U,_){var J=be(_),de=J._title,H=J.key,fe=J.children,re=new Set(U===!0?[]:U),V=[];function le(ne){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return ne.map(function(Le,Re){for(var Ie=I(ge?ge.pos:"0",Re),He=G(Le[H],Ie),oe,F=0;F<de.length;F+=1){var L=de[F];if(Le[L]!==void 0){oe=Le[L];break}}var we=Object.assign((0,f.Z)(Le,[].concat((0,y.Z)(de),[H,fe])),{title:oe,key:He,parent:ge,pos:Ie,children:null,data:Le,isStart:[].concat((0,y.Z)(ge?ge.isStart:[]),[Re===0]),isEnd:[].concat((0,y.Z)(ge?ge.isEnd:[]),[Re===ne.length-1])});return V.push(we),U===!0||re.has(He)?we.children=le(Le[fe]||[],we):we.children=[],we})}return le(P),V}function X(P,U,_){var J={};(0,u.Z)(_)==="object"?J=_:J={externalGetKey:_},J=J||{};var de=J,H=de.childrenPropName,fe=de.externalGetKey,re=de.fieldNames,V=be(re),le=V.key,ne=V.children,ge=H||ne,Le;fe?typeof fe=="string"?Le=function(He){return He[fe]}:typeof fe=="function"&&(Le=function(He){return fe(He)}):Le=function(He,oe){return G(He[le],oe)};function Re(Ie,He,oe,F){var L=Ie?Ie[ge]:P,we=Ie?I(oe.pos,He):"0",Ue=Ie?[].concat((0,y.Z)(F),[Ie]):[];if(Ie){var Ne=Le(Ie,we),xt={node:Ie,index:He,pos:we,key:Ne,parentPos:oe.node?oe.pos:null,level:oe.level+1,nodes:Ue};U(xt)}L&&L.forEach(function(pt,Lt){Re(pt,Lt,{node:Ie,pos:we,level:oe?oe.level+1:-1},Ue)})}Re(null)}function q(P){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=U.initWrapper,J=U.processEntity,de=U.onProcessFinished,H=U.externalGetKey,fe=U.childrenPropName,re=U.fieldNames,V=arguments.length>2?arguments[2]:void 0,le=H||V,ne={},ge={},Le={posEntities:ne,keyEntities:ge};return _&&(Le=_(Le)||Le),X(P,function(Re){var Ie=Re.node,He=Re.index,oe=Re.pos,F=Re.key,L=Re.parentPos,we=Re.level,Ue=Re.nodes,Ne={node:Ie,nodes:Ue,index:He,key:F,pos:oe,level:we},xt=G(F,oe);ne[oe]=Ne,ge[xt]=Ne,Ne.parent=ne[L],Ne.parent&&(Ne.parent.children=Ne.parent.children||[],Ne.parent.children.push(Ne)),J&&J(Ne,Le)},{externalGetKey:le,childrenPropName:fe,fieldNames:re}),de&&de(Le),Le}function Z(P,U){var _=U.expandedKeys,J=U.selectedKeys,de=U.loadedKeys,H=U.loadingKeys,fe=U.checkedKeys,re=U.halfCheckedKeys,V=U.dragOverNodeKey,le=U.dropPosition,ne=U.keyEntities,ge=(0,z.Z)(ne,P),Le={eventKey:P,expanded:_.indexOf(P)!==-1,selected:J.indexOf(P)!==-1,loaded:de.indexOf(P)!==-1,loading:H.indexOf(P)!==-1,checked:fe.indexOf(P)!==-1,halfChecked:re.indexOf(P)!==-1,pos:String(ge?ge.pos:""),dragOver:V===P&&le===0,dragOverGapTop:V===P&&le===-1,dragOverGapBottom:V===P&&le===1};return Le}function j(P){var U=P.data,_=P.expanded,J=P.selected,de=P.checked,H=P.loaded,fe=P.loading,re=P.halfChecked,V=P.dragOver,le=P.dragOverGapTop,ne=P.dragOverGapBottom,ge=P.pos,Le=P.active,Re=P.eventKey,Ie=(0,v.Z)((0,v.Z)({},U),{},{expanded:_,selected:J,checked:de,loaded:H,loading:fe,halfChecked:re,dragOver:V,dragOverGapTop:le,dragOverGapBottom:ne,pos:ge,active:Le,key:Re});return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,R.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),P}}),Ie}},90472:function(x,c,r){"use strict";r.d(c,{Z:function(){return Re}});var u=r(54476),y=r(67732),v=r(83652),b=r(31226),k=r(42403),f=r(158),R=r(20068),z=r(59301),D=r(33885),I=r(75931),ae=r(76190),G=r(75044),be=r(3202),ce=r(94480),ue=r(92310),te=r.n(ue),X=r(26112),q=r(48736),Z=function(Ie,He){if(Ie&&He){var oe=Array.isArray(He)?He:He.split(","),F=Ie.name||"",L=Ie.type||"",we=L.replace(/\/.*$/,"");return oe.some(function(Ue){var Ne=Ue.trim();if(/^\*(\/\*)?$/.test(Ue))return!0;if(Ne.charAt(0)==="."){var xt=F.toLowerCase(),pt=Ne.toLowerCase(),Lt=[pt];return(pt===".jpg"||pt===".jpeg")&&(Lt=[".jpg",".jpeg"]),Lt.some(function(ze){return xt.endsWith(ze)})}return/\/\*$/.test(Ne)?we===Ne.replace(/\/.*$/,""):L===Ne?!0:/^\w+$/.test(Ne)?((0,q.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Ne,"'.Skip for check.")),!0):!1})}return!0};function j(Ie,He){var oe="cannot ".concat(Ie.method," ").concat(Ie.action," ").concat(He.status,"'"),F=new Error(oe);return F.status=He.status,F.method=Ie.method,F.url=Ie.action,F}function P(Ie){var He=Ie.responseText||Ie.response;if(!He)return He;try{return JSON.parse(He)}catch(oe){return He}}function U(Ie){var He=new XMLHttpRequest;Ie.onProgress&&He.upload&&(He.upload.onprogress=function(we){we.total>0&&(we.percent=we.loaded/we.total*100),Ie.onProgress(we)});var oe=new FormData;Ie.data&&Object.keys(Ie.data).forEach(function(L){var we=Ie.data[L];if(Array.isArray(we)){we.forEach(function(Ue){oe.append("".concat(L,"[]"),Ue)});return}oe.append(L,we)}),Ie.file instanceof Blob?oe.append(Ie.filename,Ie.file,Ie.file.name):oe.append(Ie.filename,Ie.file),He.onerror=function(we){Ie.onError(we)},He.onload=function(){return He.status<200||He.status>=300?Ie.onError(j(Ie,He),P(He)):Ie.onSuccess(P(He),He)},He.open(Ie.method,Ie.action,!0),Ie.withCredentials&&"withCredentials"in He&&(He.withCredentials=!0);var F=Ie.headers||{};return F["X-Requested-With"]!==null&&He.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(F).forEach(function(L){F[L]!==null&&He.setRequestHeader(L,F[L])}),He.send(oe),{abort:function(){He.abort()}}}var _=function(){var Ie=(0,be.Z)((0,G.Z)().mark(function He(oe,F){var L,we,Ue,Ne,xt,pt,Lt,ze;return(0,G.Z)().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:pt=function(){return pt=(0,be.Z)((0,G.Z)().mark(function St(A){return(0,G.Z)().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",new Promise(function(T){A.file(function(O){F(O)?(A.fullPath&&!O.webkitRelativePath&&(Object.defineProperties(O,{webkitRelativePath:{writable:!0}}),O.webkitRelativePath=A.fullPath.replace(/^\//,""),Object.defineProperties(O,{webkitRelativePath:{writable:!1}})),T(O)):T(null)})}));case 1:case"end":return d.stop()}},St)})),pt.apply(this,arguments)},xt=function(St){return pt.apply(this,arguments)},Ne=function(){return Ne=(0,be.Z)((0,G.Z)().mark(function St(A){var p,d,T,O,g;return(0,G.Z)().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:p=A.createReader(),d=[];case 2:return xe.next=5,new Promise(function(tt){p.readEntries(tt,function(){return tt([])})});case 5:if(T=xe.sent,O=T.length,O){xe.next=9;break}return xe.abrupt("break",12);case 9:for(g=0;g<O;g++)d.push(T[g]);xe.next=2;break;case 12:return xe.abrupt("return",d);case 13:case"end":return xe.stop()}},St)})),Ne.apply(this,arguments)},Ue=function(St){return Ne.apply(this,arguments)},L=[],we=[],oe.forEach(function($e){return we.push($e.webkitGetAsEntry())}),Lt=function(){var $e=(0,be.Z)((0,G.Z)().mark(function St(A,p){var d,T;return(0,G.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(A){g.next=2;break}return g.abrupt("return");case 2:if(A.path=p||"",!A.isFile){g.next=10;break}return g.next=6,xt(A);case 6:d=g.sent,d&&L.push(d),g.next=15;break;case 10:if(!A.isDirectory){g.next=15;break}return g.next=13,Ue(A);case 13:T=g.sent,we.push.apply(we,(0,ce.Z)(T));case 15:case"end":return g.stop()}},St)}));return function(A,p){return $e.apply(this,arguments)}}(),ze=0;case 9:if(!(ze<we.length)){_e.next=15;break}return _e.next=12,Lt(we[ze]);case 12:ze++,_e.next=9;break;case 15:return _e.abrupt("return",L);case 16:case"end":return _e.stop()}},He)}));return function(oe,F){return Ie.apply(this,arguments)}}(),J=_,de=+new Date,H=0;function fe(){return"rc-upload-".concat(de,"-").concat(++H)}var re=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],V=function(Ie){(0,k.Z)(oe,Ie);var He=(0,f.Z)(oe);function oe(){var F;(0,y.Z)(this,oe);for(var L=arguments.length,we=new Array(L),Ue=0;Ue<L;Ue++)we[Ue]=arguments[Ue];return F=He.call.apply(He,[this].concat(we)),(0,R.Z)((0,b.Z)(F),"state",{uid:fe()}),(0,R.Z)((0,b.Z)(F),"reqs",{}),(0,R.Z)((0,b.Z)(F),"fileInput",void 0),(0,R.Z)((0,b.Z)(F),"_isMounted",void 0),(0,R.Z)((0,b.Z)(F),"onChange",function(Ne){var xt=F.props,pt=xt.accept,Lt=xt.directory,ze=Ne.target.files,Te=(0,ce.Z)(ze).filter(function(_e){return!Lt||Z(_e,pt)});F.uploadFiles(Te),F.reset()}),(0,R.Z)((0,b.Z)(F),"onClick",function(Ne){var xt=F.fileInput;if(xt){var pt=Ne.target,Lt=F.props.onClick;if(pt&&pt.tagName==="BUTTON"){var ze=xt.parentNode;ze.focus(),pt.blur()}xt.click(),Lt&&Lt(Ne)}}),(0,R.Z)((0,b.Z)(F),"onKeyDown",function(Ne){Ne.key==="Enter"&&F.onClick(Ne)}),(0,R.Z)((0,b.Z)(F),"onFileDrop",function(){var Ne=(0,be.Z)((0,G.Z)().mark(function xt(pt){var Lt,ze,Te;return(0,G.Z)().wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(Lt=F.props.multiple,pt.preventDefault(),pt.type!=="dragover"){$e.next=4;break}return $e.abrupt("return");case 4:if(!F.props.directory){$e.next=11;break}return $e.next=7,J(Array.prototype.slice.call(pt.dataTransfer.items),function(St){return Z(St,F.props.accept)});case 7:ze=$e.sent,F.uploadFiles(ze),$e.next=14;break;case 11:Te=(0,ce.Z)(pt.dataTransfer.files).filter(function(St){return Z(St,F.props.accept)}),Lt===!1&&(Te=Te.slice(0,1)),F.uploadFiles(Te);case 14:case"end":return $e.stop()}},xt)}));return function(xt){return Ne.apply(this,arguments)}}()),(0,R.Z)((0,b.Z)(F),"uploadFiles",function(Ne){var xt=(0,ce.Z)(Ne),pt=xt.map(function(Lt){return Lt.uid=fe(),F.processFile(Lt,xt)});Promise.all(pt).then(function(Lt){var ze=F.props.onBatchStart;ze==null||ze(Lt.map(function(Te){var _e=Te.origin,$e=Te.parsedFile;return{file:_e,parsedFile:$e}})),Lt.filter(function(Te){return Te.parsedFile!==null}).forEach(function(Te){F.post(Te)})})}),(0,R.Z)((0,b.Z)(F),"processFile",function(){var Ne=(0,be.Z)((0,G.Z)().mark(function xt(pt,Lt){var ze,Te,_e,$e,St,A,p,d,T;return(0,G.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(ze=F.props.beforeUpload,Te=pt,!ze){g.next=14;break}return g.prev=3,g.next=6,ze(pt,Lt);case 6:Te=g.sent,g.next=12;break;case 9:g.prev=9,g.t0=g.catch(3),Te=!1;case 12:if(Te!==!1){g.next=14;break}return g.abrupt("return",{origin:pt,parsedFile:null,action:null,data:null});case 14:if(_e=F.props.action,typeof _e!="function"){g.next=21;break}return g.next=18,_e(pt);case 18:$e=g.sent,g.next=22;break;case 21:$e=_e;case 22:if(St=F.props.data,typeof St!="function"){g.next=29;break}return g.next=26,St(pt);case 26:A=g.sent,g.next=30;break;case 29:A=St;case 30:return p=((0,ae.Z)(Te)==="object"||typeof Te=="string")&&Te?Te:pt,p instanceof File?d=p:d=new File([p],pt.name,{type:pt.type}),T=d,T.uid=pt.uid,g.abrupt("return",{origin:pt,data:A,parsedFile:T,action:$e});case 35:case"end":return g.stop()}},xt,null,[[3,9]])}));return function(xt,pt){return Ne.apply(this,arguments)}}()),(0,R.Z)((0,b.Z)(F),"saveFileInput",function(Ne){F.fileInput=Ne}),F}return(0,v.Z)(oe,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(L){var we=this,Ue=L.data,Ne=L.origin,xt=L.action,pt=L.parsedFile;if(this._isMounted){var Lt=this.props,ze=Lt.onStart,Te=Lt.customRequest,_e=Lt.name,$e=Lt.headers,St=Lt.withCredentials,A=Lt.method,p=Ne.uid,d=Te||U,T={action:xt,filename:_e,data:Ue,file:pt,headers:$e,withCredentials:St,method:A||"post",onProgress:function(g){var M=we.props.onProgress;M==null||M(g,pt)},onSuccess:function(g,M){var xe=we.props.onSuccess;xe==null||xe(g,pt,M),delete we.reqs[p]},onError:function(g,M){var xe=we.props.onError;xe==null||xe(g,M,pt),delete we.reqs[p]}};ze(Ne),this.reqs[p]=d(T)}}},{key:"reset",value:function(){this.setState({uid:fe()})}},{key:"abort",value:function(L){var we=this.reqs;if(L){var Ue=L.uid?L.uid:L;we[Ue]&&we[Ue].abort&&we[Ue].abort(),delete we[Ue]}else Object.keys(we).forEach(function(Ne){we[Ne]&&we[Ne].abort&&we[Ne].abort(),delete we[Ne]})}},{key:"render",value:function(){var L=this.props,we=L.component,Ue=L.prefixCls,Ne=L.className,xt=L.classNames,pt=xt===void 0?{}:xt,Lt=L.disabled,ze=L.id,Te=L.name,_e=L.style,$e=L.styles,St=$e===void 0?{}:$e,A=L.multiple,p=L.accept,d=L.capture,T=L.children,O=L.directory,g=L.openFileDialogOnClick,M=L.onMouseEnter,xe=L.onMouseLeave,tt=L.hasControlInside,nt=(0,I.Z)(L,re),Ee=te()((0,R.Z)((0,R.Z)((0,R.Z)({},Ue,!0),"".concat(Ue,"-disabled"),Lt),Ne,Ne)),Be=O?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Oe=Lt?{}:{onClick:g?this.onClick:function(){},onKeyDown:g?this.onKeyDown:function(){},onMouseEnter:M,onMouseLeave:xe,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:tt?void 0:"0"};return z.createElement(we,(0,u.Z)({},Oe,{className:Ee,role:tt?void 0:"button",style:_e}),z.createElement("input",(0,u.Z)({},(0,X.Z)(nt,{aria:!0,data:!0}),{id:ze,name:Te,disabled:Lt,type:"file",ref:this.saveFileInput,onClick:function(lt){return lt.stopPropagation()},key:this.state.uid,style:(0,D.Z)({display:"none"},St.input),className:pt.input,accept:p},Be,{multiple:A,onChange:this.onChange},d!=null?{capture:d}:{})),T)}}]),oe}(z.Component),le=V;function ne(){}var ge=function(Ie){(0,k.Z)(oe,Ie);var He=(0,f.Z)(oe);function oe(){var F;(0,y.Z)(this,oe);for(var L=arguments.length,we=new Array(L),Ue=0;Ue<L;Ue++)we[Ue]=arguments[Ue];return F=He.call.apply(He,[this].concat(we)),(0,R.Z)((0,b.Z)(F),"uploader",void 0),(0,R.Z)((0,b.Z)(F),"saveUploader",function(Ne){F.uploader=Ne}),F}return(0,v.Z)(oe,[{key:"abort",value:function(L){this.uploader.abort(L)}},{key:"render",value:function(){return z.createElement(le,(0,u.Z)({},this.props,{ref:this.saveUploader}))}}]),oe}(z.Component);(0,R.Z)(ge,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ne,onError:ne,onSuccess:ne,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Le=ge,Re=Le},8224:function(x,c,r){"use strict";r.d(c,{Z:function(){return y}});var u=r(4676);function y(v,b,k,f){var R=u.unstable_batchedUpdates?function(D){u.unstable_batchedUpdates(k,D)}:k;return v!=null&&v.addEventListener&&v.addEventListener(b,R,f),{remove:function(){v!=null&&v.removeEventListener&&v.removeEventListener(b,R,f)}}}},24514:function(x,c,r){"use strict";r.d(c,{G:function(){return b}});var u=r(47273),y=function(f){if((0,u.Z)()&&window.document.documentElement){var R=Array.isArray(f)?f:[f],z=window.document.documentElement;return R.some(function(D){return D in z.style})}return!1},v=function(f,R){if(!y(f))return!1;var z=document.createElement("div"),D=z.style[f];return z.style[f]=R,z.style[f]!==D};function b(k,f){return!Array.isArray(k)&&f!==void 0?v(k,f):y(k)}},48911:function(x,c,r){"use strict";r.d(c,{Z:function(){return St}});var u=r(54476),y=r(76190),v=r(33885),b=r(20068),k=r(42978),f=r(75931),R=r(92310),z=r.n(R),D=r(29301),I=r(70425),ae=r(34280),G=r(59301),be=r(4676),ce=G.forwardRef(function(A,p){var d=A.height,T=A.offsetY,O=A.offsetX,g=A.children,M=A.prefixCls,xe=A.onInnerResize,tt=A.innerProps,nt=A.rtl,Ee=A.extra,Be={},Oe={display:"flex",flexDirection:"column"};return T!==void 0&&(Be={height:d,position:"relative",overflow:"hidden"},Oe=(0,v.Z)((0,v.Z)({},Oe),{},(0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)({transform:"translateY(".concat(T,"px)")},nt?"marginRight":"marginLeft",-O),"position","absolute"),"left",0),"right",0),"top",0))),G.createElement("div",{style:Be},G.createElement(D.Z,{onResize:function(lt){var Ge=lt.offsetHeight;Ge&&xe&&xe()}},G.createElement("div",(0,u.Z)({style:Oe,className:z()((0,b.Z)({},"".concat(M,"-holder-inner"),M)),ref:p},tt),g,Ee)))});ce.displayName="Filler";var ue=ce;function te(A){var p=A.children,d=A.setRef,T=G.useCallback(function(O){d(O)},[]);return G.cloneElement(p,{ref:T})}function X(A,p,d,T,O,g,M,xe){var tt=xe.getKey;return A.slice(p,d+1).map(function(nt,Ee){var Be=p+Ee,Oe=M(nt,Be,{style:{width:T},offsetX:O}),qe=tt(nt);return G.createElement(te,{key:qe,setRef:function(Ge){return g(nt,Ge)}},Oe)})}function q(A,p,d,T){var O=d-A,g=p-d,M=Math.min(O,g)*2;if(T<=M){var xe=Math.floor(T/2);return T%2?d+xe+1:d-xe}return O>g?d-(T-g):d+(T-O)}function Z(A,p,d){var T=A.length,O=p.length,g,M;if(T===0&&O===0)return null;T<O?(g=A,M=p):(g=p,M=A);var xe={__EMPTY_ITEM__:!0};function tt(lt){return lt!==void 0?d(lt):xe}for(var nt=null,Ee=Math.abs(T-O)!==1,Be=0;Be<M.length;Be+=1){var Oe=tt(g[Be]),qe=tt(M[Be]);if(Oe!==qe){nt=Be,Ee=Ee||Oe!==tt(M[Be+1]);break}}return nt===null?null:{index:nt,multiple:Ee}}function j(A,p,d){var T=G.useState(A),O=(0,k.Z)(T,2),g=O[0],M=O[1],xe=G.useState(null),tt=(0,k.Z)(xe,2),nt=tt[0],Ee=tt[1];return G.useEffect(function(){var Be=Z(g||[],A||[],p);(Be==null?void 0:Be.index)!==void 0&&(d==null||d(Be.index),Ee(A[Be.index])),M(A)},[A]),[nt]}var P=r(16089),U=(typeof navigator=="undefined"?"undefined":(0,y.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),_=U,J=function(A,p,d,T){var O=(0,G.useRef)(!1),g=(0,G.useRef)(null);function M(){clearTimeout(g.current),O.current=!0,g.current=setTimeout(function(){O.current=!1},50)}var xe=(0,G.useRef)({top:A,bottom:p,left:d,right:T});return xe.current.top=A,xe.current.bottom=p,xe.current.left=d,xe.current.right=T,function(tt,nt){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Be=tt?nt<0&&xe.current.left||nt>0&&xe.current.right:nt<0&&xe.current.top||nt>0&&xe.current.bottom;return Ee&&Be?(clearTimeout(g.current),O.current=!1):(!Be||O.current)&&M(),!O.current&&Be}};function de(A,p,d,T,O,g,M){var xe=(0,G.useRef)(0),tt=(0,G.useRef)(null),nt=(0,G.useRef)(null),Ee=(0,G.useRef)(!1),Be=J(p,d,T,O);function Oe(st,Ve){if(P.Z.cancel(tt.current),!Be(!1,Ve)){var at=st;if(!at._virtualHandled)at._virtualHandled=!0;else return;xe.current+=Ve,nt.current=Ve,_||at.preventDefault(),tt.current=(0,P.Z)(function(){var Nt=Ee.current?10:1;M(xe.current*Nt,!1),xe.current=0})}}function qe(st,Ve){M(Ve,!0),_||st.preventDefault()}var lt=(0,G.useRef)(null),Ge=(0,G.useRef)(null);function pe(st){if(A){P.Z.cancel(Ge.current),Ge.current=(0,P.Z)(function(){lt.current=null},2);var Ve=st.deltaX,at=st.deltaY,Nt=st.shiftKey,it=Ve,Q=at;(lt.current==="sx"||!lt.current&&Nt&&at&&!Ve)&&(it=at,Q=0,lt.current="sx");var Et=Math.abs(it),wt=Math.abs(Q);lt.current===null&&(lt.current=g&&Et>wt?"x":"y"),lt.current==="y"?Oe(st,Q):qe(st,it)}}function rt(st){A&&(Ee.current=st.detail===nt.current)}return[pe,rt]}function H(A,p,d,T){var O=G.useMemo(function(){return[new Map,[]]},[A,d.id,T]),g=(0,k.Z)(O,2),M=g[0],xe=g[1],tt=function(Ee){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ee,Oe=M.get(Ee),qe=M.get(Be);if(Oe===void 0||qe===void 0)for(var lt=A.length,Ge=xe.length;Ge<lt;Ge+=1){var pe,rt=A[Ge],st=p(rt);M.set(st,Ge);var Ve=(pe=d.get(st))!==null&&pe!==void 0?pe:T;if(xe[Ge]=(xe[Ge-1]||0)+Ve,st===Ee&&(Oe=Ge),st===Be&&(qe=Ge),Oe!==void 0&&qe!==void 0)break}return{top:xe[Oe-1]||0,bottom:xe[qe]}};return tt}var fe=r(67732),re=r(83652),V=function(){function A(){(0,fe.Z)(this,A),(0,b.Z)(this,"maps",void 0),(0,b.Z)(this,"id",0),(0,b.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,re.Z)(A,[{key:"set",value:function(d,T){this.diffRecords.set(d,this.maps[d]),this.maps[d]=T,this.id+=1}},{key:"get",value:function(d){return this.maps[d]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),A}(),le=V;function ne(A){var p=parseFloat(A);return isNaN(p)?0:p}function ge(A,p,d){var T=G.useState(0),O=(0,k.Z)(T,2),g=O[0],M=O[1],xe=(0,G.useRef)(new Map),tt=(0,G.useRef)(new le),nt=(0,G.useRef)(0);function Ee(){nt.current+=1}function Be(){var qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ee();var lt=function(){var rt=!1;xe.current.forEach(function(st,Ve){if(st&&st.offsetParent){var at=st.offsetHeight,Nt=getComputedStyle(st),it=Nt.marginTop,Q=Nt.marginBottom,Et=ne(it),wt=ne(Q),ye=at+Et+wt;tt.current.get(Ve)!==ye&&(tt.current.set(Ve,ye),rt=!0)}}),rt&&M(function(st){return st+1})};if(qe)lt();else{nt.current+=1;var Ge=nt.current;Promise.resolve().then(function(){Ge===nt.current&&lt()})}}function Oe(qe,lt){var Ge=A(qe),pe=xe.current.get(Ge);lt?(xe.current.set(Ge,lt),Be()):xe.current.delete(Ge),!pe!=!lt&&(lt?p==null||p(qe):d==null||d(qe))}return(0,G.useEffect)(function(){return Ee},[]),[Oe,Be,tt.current,g]}var Le=14/15;function Re(A,p,d){var T=(0,G.useRef)(!1),O=(0,G.useRef)(0),g=(0,G.useRef)(0),M=(0,G.useRef)(null),xe=(0,G.useRef)(null),tt,nt=function(qe){if(T.current){var lt=Math.ceil(qe.touches[0].pageX),Ge=Math.ceil(qe.touches[0].pageY),pe=O.current-lt,rt=g.current-Ge,st=Math.abs(pe)>Math.abs(rt);st?O.current=lt:g.current=Ge;var Ve=d(st,st?pe:rt,!1,qe);Ve&&qe.preventDefault(),clearInterval(xe.current),Ve&&(xe.current=setInterval(function(){st?pe*=Le:rt*=Le;var at=Math.floor(st?pe:rt);(!d(st,at,!0)||Math.abs(at)<=.1)&&clearInterval(xe.current)},16))}},Ee=function(){T.current=!1,tt()},Be=function(qe){tt(),qe.touches.length===1&&!T.current&&(T.current=!0,O.current=Math.ceil(qe.touches[0].pageX),g.current=Math.ceil(qe.touches[0].pageY),M.current=qe.target,M.current.addEventListener("touchmove",nt,{passive:!1}),M.current.addEventListener("touchend",Ee,{passive:!0}))};tt=function(){M.current&&(M.current.removeEventListener("touchmove",nt),M.current.removeEventListener("touchend",Ee))},(0,ae.Z)(function(){return A&&p.current.addEventListener("touchstart",Be,{passive:!0}),function(){var Oe;(Oe=p.current)===null||Oe===void 0||Oe.removeEventListener("touchstart",Be),tt(),clearInterval(xe.current)}},[A])}function Ie(A){return Math.floor(Math.pow(A,.5))}function He(A,p){var d="touches"in A?A.touches[0]:A;return d[p?"pageX":"pageY"]-window[p?"scrollX":"scrollY"]}function oe(A,p,d){G.useEffect(function(){var T=p.current;if(A&&T){var O=!1,g,M,xe=function(){P.Z.cancel(g)},tt=function Oe(){xe(),g=(0,P.Z)(function(){d(M),Oe()})},nt=function(){O=!1,xe()},Ee=function(qe){if(!(qe.target.draggable||qe.button!==0)){var lt=qe;lt._virtualHandled||(lt._virtualHandled=!0,O=!0)}},Be=function(qe){if(O){var lt=He(qe,!1),Ge=T.getBoundingClientRect(),pe=Ge.top,rt=Ge.bottom;if(lt<=pe){var st=pe-lt;M=-Ie(st),tt()}else if(lt>=rt){var Ve=lt-rt;M=Ie(Ve),tt()}else xe()}};return T.addEventListener("mousedown",Ee),T.ownerDocument.addEventListener("mouseup",nt),T.ownerDocument.addEventListener("mousemove",Be),T.ownerDocument.addEventListener("dragend",nt),function(){T.removeEventListener("mousedown",Ee),T.ownerDocument.removeEventListener("mouseup",nt),T.ownerDocument.removeEventListener("mousemove",Be),T.ownerDocument.removeEventListener("dragend",nt),xe()}}},[A])}var F=10;function L(A,p,d,T,O,g,M,xe){var tt=G.useRef(),nt=G.useState(null),Ee=(0,k.Z)(nt,2),Be=Ee[0],Oe=Ee[1];return(0,ae.Z)(function(){if(Be&&Be.times<F){if(!A.current){Oe(function(gn){return(0,v.Z)({},gn)});return}g();var qe=Be.targetAlign,lt=Be.originAlign,Ge=Be.index,pe=Be.offset,rt=A.current.clientHeight,st=!1,Ve=qe,at=null;if(rt){for(var Nt=qe||lt,it=0,Q=0,Et=0,wt=Math.min(p.length-1,Ge),ye=0;ye<=wt;ye+=1){var zt=O(p[ye]);Q=it;var nn=d.get(zt);Et=Q+(nn===void 0?T:nn),it=Et}for(var Xt=Nt==="top"?pe:rt-pe,je=wt;je>=0;je-=1){var En=O(p[je]),hn=d.get(En);if(hn===void 0){st=!0;break}if(Xt-=hn,Xt<=0)break}switch(Nt){case"top":at=Q-pe;break;case"bottom":at=Et-rt+pe;break;default:{var Ht=A.current.scrollTop,Kt=Ht+rt;Q<Ht?Ve="top":Et>Kt&&(Ve="bottom")}}at!==null&&M(at),at!==Be.lastTop&&(st=!0)}st&&Oe((0,v.Z)((0,v.Z)({},Be),{},{times:Be.times+1,targetAlign:Ve,lastTop:at}))}},[Be,A.current]),function(qe){if(qe==null){xe();return}if(P.Z.cancel(tt.current),typeof qe=="number")M(qe);else if(qe&&(0,y.Z)(qe)==="object"){var lt,Ge=qe.align;"index"in qe?lt=qe.index:lt=p.findIndex(function(st){return O(st)===qe.key});var pe=qe.offset,rt=pe===void 0?0:pe;Oe({times:0,index:lt,offset:rt,originAlign:Ge})}}}var we=G.forwardRef(function(A,p){var d=A.prefixCls,T=A.rtl,O=A.scrollOffset,g=A.scrollRange,M=A.onStartMove,xe=A.onStopMove,tt=A.onScroll,nt=A.horizontal,Ee=A.spinSize,Be=A.containerSize,Oe=A.style,qe=A.thumbStyle,lt=A.showScrollBar,Ge=G.useState(!1),pe=(0,k.Z)(Ge,2),rt=pe[0],st=pe[1],Ve=G.useState(null),at=(0,k.Z)(Ve,2),Nt=at[0],it=at[1],Q=G.useState(null),Et=(0,k.Z)(Q,2),wt=Et[0],ye=Et[1],zt=!T,nn=G.useRef(),Xt=G.useRef(),je=G.useState(lt),En=(0,k.Z)(je,2),hn=En[0],Ht=En[1],Kt=G.useRef(),gn=function(){lt===!0||lt===!1||(clearTimeout(Kt.current),Ht(!0),Kt.current=setTimeout(function(){Ht(!1)},3e3))},Wt=g-Be||0,Ft=Be-Ee||0,Dt=G.useMemo(function(){if(O===0||Wt===0)return 0;var xr=O/Wt;return xr*Ft},[O,Wt,Ft]),Qt=function(Xn){Xn.stopPropagation(),Xn.preventDefault()},wn=G.useRef({top:Dt,dragging:rt,pageY:Nt,startTop:wt});wn.current={top:Dt,dragging:rt,pageY:Nt,startTop:wt};var un=function(Xn){st(!0),it(He(Xn,nt)),ye(wn.current.top),M(),Xn.stopPropagation(),Xn.preventDefault()};G.useEffect(function(){var xr=function(Hn){Hn.preventDefault()},Xn=nn.current,Cn=Xt.current;return Xn.addEventListener("touchstart",xr,{passive:!1}),Cn.addEventListener("touchstart",un,{passive:!1}),function(){Xn.removeEventListener("touchstart",xr),Cn.removeEventListener("touchstart",un)}},[]);var dn=G.useRef();dn.current=Wt;var Lr=G.useRef();Lr.current=Ft,G.useEffect(function(){if(rt){var xr,Xn=function(Hn){var Zt=wn.current,Rn=Zt.dragging,mr=Zt.pageY,Or=Zt.startTop;P.Z.cancel(xr);var Pe=nn.current.getBoundingClientRect(),De=Be/(nt?Pe.width:Pe.height);if(Rn){var Bt=(He(Hn,nt)-mr)*De,Rt=Or;!zt&&nt?Rt-=Bt:Rt+=Bt;var me=dn.current,Ct=Lr.current,_t=Ct?Rt/Ct:0,Ce=Math.ceil(_t*me);Ce=Math.max(Ce,0),Ce=Math.min(Ce,me),xr=(0,P.Z)(function(){tt(Ce,nt)})}},Cn=function(){st(!1),xe()};return window.addEventListener("mousemove",Xn,{passive:!0}),window.addEventListener("touchmove",Xn,{passive:!0}),window.addEventListener("mouseup",Cn,{passive:!0}),window.addEventListener("touchend",Cn,{passive:!0}),function(){window.removeEventListener("mousemove",Xn),window.removeEventListener("touchmove",Xn),window.removeEventListener("mouseup",Cn),window.removeEventListener("touchend",Cn),P.Z.cancel(xr)}}},[rt]),G.useEffect(function(){return gn(),function(){clearTimeout(Kt.current)}},[O]),G.useImperativeHandle(p,function(){return{delayHidden:gn}});var _n="".concat(d,"-scrollbar"),Vn={position:"absolute",visibility:hn?null:"hidden"},gr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return nt?(Object.assign(Vn,{height:8,left:0,right:0,bottom:0}),Object.assign(gr,(0,b.Z)({height:"100%",width:Ee},zt?"left":"right",Dt))):(Object.assign(Vn,(0,b.Z)({width:8,top:0,bottom:0},zt?"right":"left",0)),Object.assign(gr,{width:"100%",height:Ee,top:Dt})),G.createElement("div",{ref:nn,className:z()(_n,(0,b.Z)((0,b.Z)((0,b.Z)({},"".concat(_n,"-horizontal"),nt),"".concat(_n,"-vertical"),!nt),"".concat(_n,"-visible"),hn)),style:(0,v.Z)((0,v.Z)({},Vn),Oe),onMouseDown:Qt,onMouseMove:gn},G.createElement("div",{ref:Xt,className:z()("".concat(_n,"-thumb"),(0,b.Z)({},"".concat(_n,"-thumb-moving"),rt)),style:(0,v.Z)((0,v.Z)({},gr),qe),onMouseDown:un}))}),Ue=we,Ne=20;function xt(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=A/p*A;return isNaN(d)&&(d=0),d=Math.max(d,Ne),Math.floor(d)}var pt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Lt=[],ze={overflowY:"auto",overflowAnchor:"none"};function Te(A,p){var d=A.prefixCls,T=d===void 0?"rc-virtual-list":d,O=A.className,g=A.height,M=A.itemHeight,xe=A.fullHeight,tt=xe===void 0?!0:xe,nt=A.style,Ee=A.data,Be=A.children,Oe=A.itemKey,qe=A.virtual,lt=A.direction,Ge=A.scrollWidth,pe=A.component,rt=pe===void 0?"div":pe,st=A.onScroll,Ve=A.onVirtualScroll,at=A.onVisibleChange,Nt=A.innerProps,it=A.extraRender,Q=A.styles,Et=A.showScrollBar,wt=Et===void 0?"optional":Et,ye=(0,f.Z)(A,pt),zt=G.useCallback(function(Xe){return typeof Oe=="function"?Oe(Xe):Xe==null?void 0:Xe[Oe]},[Oe]),nn=ge(zt,null,null),Xt=(0,k.Z)(nn,4),je=Xt[0],En=Xt[1],hn=Xt[2],Ht=Xt[3],Kt=!!(qe!==!1&&g&&M),gn=G.useMemo(function(){return Object.values(hn.maps).reduce(function(Xe,mt){return Xe+mt},0)},[hn.id,hn.maps]),Wt=Kt&&Ee&&(Math.max(M*Ee.length,gn)>g||!!Ge),Ft=lt==="rtl",Dt=z()(T,(0,b.Z)({},"".concat(T,"-rtl"),Ft),O),Qt=Ee||Lt,wn=(0,G.useRef)(),un=(0,G.useRef)(),dn=(0,G.useRef)(),Lr=(0,G.useState)(0),_n=(0,k.Z)(Lr,2),Vn=_n[0],gr=_n[1],xr=(0,G.useState)(0),Xn=(0,k.Z)(xr,2),Cn=Xn[0],On=Xn[1],Hn=(0,G.useState)(!1),Zt=(0,k.Z)(Hn,2),Rn=Zt[0],mr=Zt[1],Or=function(){mr(!0)},Pe=function(){mr(!1)},De={getKey:zt};function Bt(Xe){gr(function(mt){var vt;typeof Xe=="function"?vt=Xe(mt):vt=Xe;var bt=Sr(vt);return wn.current.scrollTop=bt,bt})}var Rt=(0,G.useRef)({start:0,end:Qt.length}),me=(0,G.useRef)(),Ct=j(Qt,zt),_t=(0,k.Z)(Ct,1),Ce=_t[0];me.current=Ce;var m=G.useMemo(function(){if(!Kt)return{scrollHeight:void 0,start:0,end:Qt.length-1,offset:void 0};if(!Wt){var Xe;return{scrollHeight:((Xe=un.current)===null||Xe===void 0?void 0:Xe.offsetHeight)||0,start:0,end:Qt.length-1,offset:void 0}}for(var mt=0,vt,bt,kt,$t=Qt.length,pn=0;pn<$t;pn+=1){var sn=Qt[pn],kn=zt(sn),Gn=hn.get(kn),An=mt+(Gn===void 0?M:Gn);An>=Vn&&vt===void 0&&(vt=pn,bt=mt),An>Vn+g&&kt===void 0&&(kt=pn),mt=An}return vt===void 0&&(vt=0,bt=0,kt=Math.ceil(g/M)),kt===void 0&&(kt=Qt.length-1),kt=Math.min(kt+1,Qt.length-1),{scrollHeight:mt,start:vt,end:kt,offset:bt}},[Wt,Kt,Vn,Qt,Ht,g]),Yt=m.scrollHeight,qt=m.start,Ze=m.end,xn=m.offset;Rt.current.start=qt,Rt.current.end=Ze,G.useLayoutEffect(function(){var Xe=hn.getRecord();if(Xe.size===1){var mt=Array.from(Xe.keys())[0],vt=Xe.get(mt),bt=Qt[qt];if(bt&&vt===void 0){var kt=zt(bt);if(kt===mt){var $t=hn.get(mt),pn=$t-M;Bt(function(sn){return sn+pn})}}}hn.resetRecord()},[Yt]);var jt=G.useState({width:0,height:g}),fn=(0,k.Z)(jt,2),an=fn[0],he=fn[1],Sn=function(mt){he({width:mt.offsetWidth,height:mt.offsetHeight})},or=(0,G.useRef)(),on=(0,G.useRef)(),Jt=G.useMemo(function(){return xt(an.width,Ge)},[an.width,Ge]),Tn=G.useMemo(function(){return xt(an.height,Yt)},[an.height,Yt]),en=Yt-g,Yn=(0,G.useRef)(en);Yn.current=en;function Sr(Xe){var mt=Xe;return Number.isNaN(Yn.current)||(mt=Math.min(mt,Yn.current)),mt=Math.max(mt,0),mt}var br=Vn<=0,_r=Vn>=en,zr=Cn<=0,Br=Cn>=Ge,vr=J(br,_r,zr,Br),Gr=function(){return{x:Ft?-Cn:Cn,y:Vn}},Wr=(0,G.useRef)(Gr()),mn=(0,I.zX)(function(Xe){if(Ve){var mt=(0,v.Z)((0,v.Z)({},Gr()),Xe);(Wr.current.x!==mt.x||Wr.current.y!==mt.y)&&(Ve(mt),Wr.current=mt)}});function Bn(Xe,mt){var vt=Xe;mt?((0,be.flushSync)(function(){On(vt)}),mn()):Bt(vt)}function zn(Xe){var mt=Xe.currentTarget.scrollTop;mt!==Vn&&Bt(mt),st==null||st(Xe),mn()}var dr=function(mt){var vt=mt,bt=Ge?Ge-an.width:0;return vt=Math.max(vt,0),vt=Math.min(vt,bt),vt},yr=(0,I.zX)(function(Xe,mt){mt?((0,be.flushSync)(function(){On(function(vt){var bt=vt+(Ft?-Xe:Xe);return dr(bt)})}),mn()):Bt(function(vt){var bt=vt+Xe;return bt})}),Pr=de(Kt,br,_r,zr,Br,!!Ge,yr),sa=(0,k.Z)(Pr,2),Se=sa[0],ct=sa[1];Re(Kt,wn,function(Xe,mt,vt,bt){var kt=bt;return vr(Xe,mt,vt)?!1:!kt||!kt._virtualHandled?(kt&&(kt._virtualHandled=!0),Se({preventDefault:function(){},deltaX:Xe?mt:0,deltaY:Xe?0:mt}),!0):!1}),oe(Wt,wn,function(Xe){Bt(function(mt){return mt+Xe})}),(0,ae.Z)(function(){function Xe(vt){var bt=br&&vt.detail<0,kt=_r&&vt.detail>0;Kt&&!bt&&!kt&&vt.preventDefault()}var mt=wn.current;return mt.addEventListener("wheel",Se,{passive:!1}),mt.addEventListener("DOMMouseScroll",ct,{passive:!0}),mt.addEventListener("MozMousePixelScroll",Xe,{passive:!1}),function(){mt.removeEventListener("wheel",Se),mt.removeEventListener("DOMMouseScroll",ct),mt.removeEventListener("MozMousePixelScroll",Xe)}},[Kt,br,_r]),(0,ae.Z)(function(){if(Ge){var Xe=dr(Cn);On(Xe),mn({x:Xe})}},[an.width,Ge]);var Ke=function(){var mt,vt;(mt=or.current)===null||mt===void 0||mt.delayHidden(),(vt=on.current)===null||vt===void 0||vt.delayHidden()},dt=L(wn,Qt,hn,M,zt,function(){return En(!0)},Bt,Ke);G.useImperativeHandle(p,function(){return{nativeElement:dn.current,getScrollInfo:Gr,scrollTo:function(mt){function vt(bt){return bt&&(0,y.Z)(bt)==="object"&&("left"in bt||"top"in bt)}vt(mt)?(mt.left!==void 0&&On(dr(mt.left)),dt(mt.top)):dt(mt)}}}),(0,ae.Z)(function(){if(at){var Xe=Qt.slice(qt,Ze+1);at(Xe,Qt)}},[qt,Ze,Qt]);var yt=H(Qt,zt,hn,M),Tt=it==null?void 0:it({start:qt,end:Ze,virtual:Wt,offsetX:Cn,offsetY:xn,rtl:Ft,getSize:yt}),Ut=X(Qt,qt,Ze,Ge,Cn,je,Be,De),Mt=null;g&&(Mt=(0,v.Z)((0,b.Z)({},tt?"height":"maxHeight",g),ze),Kt&&(Mt.overflowY="hidden",Ge&&(Mt.overflowX="hidden"),Rn&&(Mt.pointerEvents="none")));var It={};return Ft&&(It.dir="rtl"),G.createElement("div",(0,u.Z)({ref:dn,style:(0,v.Z)((0,v.Z)({},nt),{},{position:"relative"}),className:Dt},It,ye),G.createElement(D.Z,{onResize:Sn},G.createElement(rt,{className:"".concat(T,"-holder"),style:Mt,ref:wn,onScroll:zn,onMouseEnter:Ke},G.createElement(ue,{prefixCls:T,height:Yt,offsetX:Cn,offsetY:xn,scrollWidth:Ge,onInnerResize:En,ref:un,innerProps:Nt,rtl:Ft,extra:Tt},Ut))),Wt&&Yt>g&&G.createElement(Ue,{ref:or,prefixCls:T,scrollOffset:Vn,scrollRange:Yt,rtl:Ft,onScroll:Bn,onStartMove:Or,onStopMove:Pe,spinSize:Tn,containerSize:an.height,style:Q==null?void 0:Q.verticalScrollBar,thumbStyle:Q==null?void 0:Q.verticalScrollBarThumb,showScrollBar:wt}),Wt&&Ge>an.width&&G.createElement(Ue,{ref:on,prefixCls:T,scrollOffset:Cn,scrollRange:Ge,rtl:Ft,onScroll:Bn,onStartMove:Or,onStopMove:Pe,spinSize:Jt,containerSize:an.width,horizontal:!0,style:Q==null?void 0:Q.horizontalScrollBar,thumbStyle:Q==null?void 0:Q.horizontalScrollBarThumb,showScrollBar:wt}))}var _e=G.forwardRef(Te);_e.displayName="List";var $e=_e,St=$e},66328:function(x,c,r){"use strict";r.d(c,{Z:function(){return F}});var u=r(75931),y=r(94480),v=r(20068),b=r(59301),k=r(54476);function f(L,we){var Ue=Object.keys(L);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(L);we&&(Ne=Ne.filter(function(xt){return Object.getOwnPropertyDescriptor(L,xt).enumerable})),Ue.push.apply(Ue,Ne)}return Ue}function R(L){for(var we=1;we<arguments.length;we++){var Ue=arguments[we]!=null?arguments[we]:{};we%2?f(Object(Ue),!0).forEach(function(Ne){(0,v.Z)(L,Ne,Ue[Ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(Ue)):f(Object(Ue)).forEach(function(Ne){Object.defineProperty(L,Ne,Object.getOwnPropertyDescriptor(Ue,Ne))})}return L}function z(L){var we=L.length;if(we===0||we===1)return L;if(we===2)return[L[0],L[1],"".concat(L[0],".").concat(L[1]),"".concat(L[1],".").concat(L[0])];if(we===3)return[L[0],L[1],L[2],"".concat(L[0],".").concat(L[1]),"".concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[0]),"".concat(L[1],".").concat(L[2]),"".concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[1]),"".concat(L[0],".").concat(L[1],".").concat(L[2]),"".concat(L[0],".").concat(L[2],".").concat(L[1]),"".concat(L[1],".").concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[0],".").concat(L[1]),"".concat(L[2],".").concat(L[1],".").concat(L[0])];if(we>=4)return[L[0],L[1],L[2],L[3],"".concat(L[0],".").concat(L[1]),"".concat(L[0],".").concat(L[2]),"".concat(L[0],".").concat(L[3]),"".concat(L[1],".").concat(L[0]),"".concat(L[1],".").concat(L[2]),"".concat(L[1],".").concat(L[3]),"".concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[1]),"".concat(L[2],".").concat(L[3]),"".concat(L[3],".").concat(L[0]),"".concat(L[3],".").concat(L[1]),"".concat(L[3],".").concat(L[2]),"".concat(L[0],".").concat(L[1],".").concat(L[2]),"".concat(L[0],".").concat(L[1],".").concat(L[3]),"".concat(L[0],".").concat(L[2],".").concat(L[1]),"".concat(L[0],".").concat(L[2],".").concat(L[3]),"".concat(L[0],".").concat(L[3],".").concat(L[1]),"".concat(L[0],".").concat(L[3],".").concat(L[2]),"".concat(L[1],".").concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[0],".").concat(L[3]),"".concat(L[1],".").concat(L[2],".").concat(L[0]),"".concat(L[1],".").concat(L[2],".").concat(L[3]),"".concat(L[1],".").concat(L[3],".").concat(L[0]),"".concat(L[1],".").concat(L[3],".").concat(L[2]),"".concat(L[2],".").concat(L[0],".").concat(L[1]),"".concat(L[2],".").concat(L[0],".").concat(L[3]),"".concat(L[2],".").concat(L[1],".").concat(L[0]),"".concat(L[2],".").concat(L[1],".").concat(L[3]),"".concat(L[2],".").concat(L[3],".").concat(L[0]),"".concat(L[2],".").concat(L[3],".").concat(L[1]),"".concat(L[3],".").concat(L[0],".").concat(L[1]),"".concat(L[3],".").concat(L[0],".").concat(L[2]),"".concat(L[3],".").concat(L[1],".").concat(L[0]),"".concat(L[3],".").concat(L[1],".").concat(L[2]),"".concat(L[3],".").concat(L[2],".").concat(L[0]),"".concat(L[3],".").concat(L[2],".").concat(L[1]),"".concat(L[0],".").concat(L[1],".").concat(L[2],".").concat(L[3]),"".concat(L[0],".").concat(L[1],".").concat(L[3],".").concat(L[2]),"".concat(L[0],".").concat(L[2],".").concat(L[1],".").concat(L[3]),"".concat(L[0],".").concat(L[2],".").concat(L[3],".").concat(L[1]),"".concat(L[0],".").concat(L[3],".").concat(L[1],".").concat(L[2]),"".concat(L[0],".").concat(L[3],".").concat(L[2],".").concat(L[1]),"".concat(L[1],".").concat(L[0],".").concat(L[2],".").concat(L[3]),"".concat(L[1],".").concat(L[0],".").concat(L[3],".").concat(L[2]),"".concat(L[1],".").concat(L[2],".").concat(L[0],".").concat(L[3]),"".concat(L[1],".").concat(L[2],".").concat(L[3],".").concat(L[0]),"".concat(L[1],".").concat(L[3],".").concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[3],".").concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[0],".").concat(L[1],".").concat(L[3]),"".concat(L[2],".").concat(L[0],".").concat(L[3],".").concat(L[1]),"".concat(L[2],".").concat(L[1],".").concat(L[0],".").concat(L[3]),"".concat(L[2],".").concat(L[1],".").concat(L[3],".").concat(L[0]),"".concat(L[2],".").concat(L[3],".").concat(L[0],".").concat(L[1]),"".concat(L[2],".").concat(L[3],".").concat(L[1],".").concat(L[0]),"".concat(L[3],".").concat(L[0],".").concat(L[1],".").concat(L[2]),"".concat(L[3],".").concat(L[0],".").concat(L[2],".").concat(L[1]),"".concat(L[3],".").concat(L[1],".").concat(L[0],".").concat(L[2]),"".concat(L[3],".").concat(L[1],".").concat(L[2],".").concat(L[0]),"".concat(L[3],".").concat(L[2],".").concat(L[0],".").concat(L[1]),"".concat(L[3],".").concat(L[2],".").concat(L[1],".").concat(L[0])]}var D={};function I(L){if(L.length===0||L.length===1)return L;var we=L.join(".");return D[we]||(D[we]=z(L)),D[we]}function ae(L){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ue=arguments.length>2?arguments[2]:void 0,Ne=L.filter(function(pt){return pt!=="token"}),xt=I(Ne);return xt.reduce(function(pt,Lt){return R(R({},pt),Ue[Lt])},we)}function G(L){return L.join(" ")}function be(L,we){var Ue=0;return function(Ne){return Ue+=1,Ne.map(function(xt,pt){return ce({node:xt,stylesheet:L,useInlineStyles:we,key:"code-segment-".concat(Ue,"-").concat(pt)})})}}function ce(L){var we=L.node,Ue=L.stylesheet,Ne=L.style,xt=Ne===void 0?{}:Ne,pt=L.useInlineStyles,Lt=L.key,ze=we.properties,Te=we.type,_e=we.tagName,$e=we.value;if(Te==="text")return $e;if(_e){var St=be(Ue,pt),A;if(!pt)A=R(R({},ze),{},{className:G(ze.className)});else{var p=Object.keys(Ue).reduce(function(g,M){return M.split(".").forEach(function(xe){g.includes(xe)||g.push(xe)}),g},[]),d=ze.className&&ze.className.includes("token")?["token"]:[],T=ze.className&&d.concat(ze.className.filter(function(g){return!p.includes(g)}));A=R(R({},ze),{},{className:G(T)||void 0,style:ae(ze.className,Object.assign({},ze.style,xt),Ue)})}var O=St(we.children);return b.createElement(_e,(0,k.Z)({key:Lt},A),O)}}var ue=function(L,we){var Ue=L.listLanguages();return Ue.indexOf(we)!==-1},te=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function X(L,we){var Ue=Object.keys(L);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(L);we&&(Ne=Ne.filter(function(xt){return Object.getOwnPropertyDescriptor(L,xt).enumerable})),Ue.push.apply(Ue,Ne)}return Ue}function q(L){for(var we=1;we<arguments.length;we++){var Ue=arguments[we]!=null?arguments[we]:{};we%2?X(Object(Ue),!0).forEach(function(Ne){(0,v.Z)(L,Ne,Ue[Ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(Ue)):X(Object(Ue)).forEach(function(Ne){Object.defineProperty(L,Ne,Object.getOwnPropertyDescriptor(Ue,Ne))})}return L}var Z=/\n/g;function j(L){return L.match(Z)}function P(L){var we=L.lines,Ue=L.startingLineNumber,Ne=L.style;return we.map(function(xt,pt){var Lt=pt+Ue;return b.createElement("span",{key:"line-".concat(pt),className:"react-syntax-highlighter-line-number",style:typeof Ne=="function"?Ne(Lt):Ne},"".concat(Lt,`
`))})}function U(L){var we=L.codeString,Ue=L.codeStyle,Ne=L.containerStyle,xt=Ne===void 0?{float:"left",paddingRight:"10px"}:Ne,pt=L.numberStyle,Lt=pt===void 0?{}:pt,ze=L.startingLineNumber;return b.createElement("code",{style:Object.assign({},Ue,xt)},P({lines:we.replace(/\n$/,"").split(`
`),style:Lt,startingLineNumber:ze}))}function _(L){return"".concat(L.toString().length,".25em")}function J(L,we){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(L),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:we},children:[{type:"text",value:L}]}}function de(L,we,Ue){var Ne={display:"inline-block",minWidth:_(Ue),paddingRight:"1em",textAlign:"right",userSelect:"none"},xt=typeof L=="function"?L(we):L,pt=q(q({},Ne),xt);return pt}function H(L){var we=L.children,Ue=L.lineNumber,Ne=L.lineNumberStyle,xt=L.largestLineNumber,pt=L.showInlineLineNumbers,Lt=L.lineProps,ze=Lt===void 0?{}:Lt,Te=L.className,_e=Te===void 0?[]:Te,$e=L.showLineNumbers,St=L.wrapLongLines,A=L.wrapLines,p=A===void 0?!1:A,d=p?q({},typeof ze=="function"?ze(Ue):ze):{};if(d.className=d.className?[].concat((0,y.Z)(d.className.trim().split(/\s+/)),(0,y.Z)(_e)):_e,Ue&&pt){var T=de(Ne,Ue,xt);we.unshift(J(Ue,T))}return St&$e&&(d.style=q({display:"flex"},d.style)),{type:"element",tagName:"span",properties:d,children:we}}function fe(L){for(var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ne=0;Ne<L.length;Ne++){var xt=L[Ne];if(xt.type==="text")Ue.push(H({children:[xt],className:(0,y.Z)(new Set(we))}));else if(xt.children){var pt=we.concat(xt.properties.className);fe(xt.children,pt).forEach(function(Lt){return Ue.push(Lt)})}}return Ue}function re(L,we,Ue,Ne,xt,pt,Lt,ze,Te){var _e,$e=fe(L.value),St=[],A=-1,p=0;function d(nt,Ee){var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return H({children:nt,lineNumber:Ee,lineNumberStyle:ze,largestLineNumber:Lt,showInlineLineNumbers:xt,lineProps:Ue,className:Be,showLineNumbers:Ne,wrapLongLines:Te,wrapLines:we})}function T(nt,Ee){if(Ne&&Ee&&xt){var Be=de(ze,Ee,Lt);nt.unshift(J(Ee,Be))}return nt}function O(nt,Ee){var Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return we||Be.length>0?d(nt,Ee,Be):T(nt,Ee)}for(var g=function(){var Ee=$e[p],Be=Ee.children[0].value,Oe=j(Be);if(Oe){var qe=Be.split(`
`);qe.forEach(function(lt,Ge){var pe=Ne&&St.length+pt,rt={type:"text",value:"".concat(lt,`
`)};if(Ge===0){var st=$e.slice(A+1,p).concat(H({children:[rt],className:Ee.properties.className})),Ve=O(st,pe);St.push(Ve)}else if(Ge===qe.length-1){var at=$e[p+1]&&$e[p+1].children&&$e[p+1].children[0],Nt={type:"text",value:"".concat(lt)};if(at){var it=H({children:[Nt],className:Ee.properties.className});$e.splice(p+1,0,it)}else{var Q=[Nt],Et=O(Q,pe,Ee.properties.className);St.push(Et)}}else{var wt=[rt],ye=O(wt,pe,Ee.properties.className);St.push(ye)}}),A=p}p++};p<$e.length;)g();if(A!==$e.length-1){var M=$e.slice(A+1,$e.length);if(M&&M.length){var xe=Ne&&St.length+pt,tt=O(M,xe);St.push(tt)}}return we?St:(_e=[]).concat.apply(_e,St)}function V(L){var we=L.rows,Ue=L.stylesheet,Ne=L.useInlineStyles;return we.map(function(xt,pt){return ce({node:xt,stylesheet:Ue,useInlineStyles:Ne,key:"code-segment-".concat(pt)})})}function le(L){return L&&typeof L.highlightAuto!="undefined"}function ne(L){var we=L.astGenerator,Ue=L.language,Ne=L.code,xt=L.defaultCodeValue;if(le(we)){var pt=ue(we,Ue);return Ue==="text"?{value:xt,language:"text"}:pt?we.highlight(Ue,Ne):we.highlightAuto(Ne)}try{return Ue&&Ue!=="text"?{value:we.highlight(Ne,Ue)}:{value:xt}}catch(Lt){return{value:xt}}}function ge(L,we){return function(Ne){var xt,pt,Lt=Ne.language,ze=Ne.children,Te=Ne.style,_e=Te===void 0?we:Te,$e=Ne.customStyle,St=$e===void 0?{}:$e,A=Ne.codeTagProps,p=A===void 0?{className:Lt?"language-".concat(Lt):void 0,style:q(q({},_e['code[class*="language-"]']),_e['code[class*="language-'.concat(Lt,'"]')])}:A,d=Ne.useInlineStyles,T=d===void 0?!0:d,O=Ne.showLineNumbers,g=O===void 0?!1:O,M=Ne.showInlineLineNumbers,xe=M===void 0?!0:M,tt=Ne.startingLineNumber,nt=tt===void 0?1:tt,Ee=Ne.lineNumberContainerStyle,Be=Ne.lineNumberStyle,Oe=Be===void 0?{}:Be,qe=Ne.wrapLines,lt=Ne.wrapLongLines,Ge=lt===void 0?!1:lt,pe=Ne.lineProps,rt=pe===void 0?{}:pe,st=Ne.renderer,Ve=Ne.PreTag,at=Ve===void 0?"pre":Ve,Nt=Ne.CodeTag,it=Nt===void 0?"code":Nt,Q=Ne.code,Et=Q===void 0?(Array.isArray(ze)?ze[0]:ze)||"":Q,wt=Ne.astGenerator,ye=(0,u.Z)(Ne,te);wt=wt||L;var zt=g?b.createElement(U,{containerStyle:Ee,codeStyle:p.style||{},numberStyle:Oe,startingLineNumber:nt,codeString:Et}):null,nn=_e.hljs||_e['pre[class*="language-"]']||{backgroundColor:"#fff"},Xt=le(wt)?"hljs":"prismjs",je=T?Object.assign({},ye,{style:Object.assign({},nn,St)}):Object.assign({},ye,{className:ye.className?"".concat(Xt," ").concat(ye.className):Xt,style:Object.assign({},St)});if(Ge?p.style=q({whiteSpace:"pre-wrap"},p.style):p.style=q({whiteSpace:"pre"},p.style),!wt)return b.createElement(at,je,zt,b.createElement(it,p,Et));(qe===void 0&&st||Ge)&&(qe=!0),st=st||V;var En=[{type:"text",value:Et}],hn=ne({astGenerator:wt,language:Lt,code:Et,defaultCodeValue:En});hn.language===null&&(hn.value=En);var Ht=(xt=(pt=Et.match(/\n/g))===null||pt===void 0?void 0:pt.length)!==null&&xt!==void 0?xt:0,Kt=nt+Ht,gn=re(hn,qe,rt,g,xe,nt,Kt,Oe,Ge);return b.createElement(at,je,b.createElement(it,p,!xe&&zt,st({rows:gn,stylesheet:_e,useInlineStyles:T})))}}var Le={'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"}},Re=r(11594),Ie=r.n(Re),He=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],oe=ge(Ie(),Le);oe.supportedLanguages=He;var F=oe},18369:function(x,c){"use strict";c.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"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",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(x,c,r){"use strict";r(84126);var u=r(59301),y=60103;if(c.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;y=v("react.element"),c.Fragment=v("react.fragment")}var b=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k=Object.prototype.hasOwnProperty,f={key:!0,ref:!0,__self:!0,__source:!0};function R(z,D,I){var ae,G={},be=null,ce=null;I!==void 0&&(be=""+I),D.key!==void 0&&(be=""+D.key),D.ref!==void 0&&(ce=D.ref);for(ae in D)k.call(D,ae)&&!f.hasOwnProperty(ae)&&(G[ae]=D[ae]);if(z&&z.defaultProps)for(ae in D=z.defaultProps,D)G[ae]===void 0&&(G[ae]=D[ae]);return{$$typeof:y,type:z,key:be,ref:ce,props:G,_owner:b.current}}c.jsx=R,c.jsxs=R},37712:function(x,c,r){"use strict";x.exports=r(19524)},95489:function(x,c,r){"use strict";var u=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof r.g=="object"?r.g:{},y=U();u.Prism={manual:!0,disableWorkerMessageHandler:!0};var v=r(43621),b=r(12256),k=r(68398),f=r(70614),R=r(54212),z=r(9720),D=r(88786);y();var I={}.hasOwnProperty;function ae(){}ae.prototype=k;var G=new ae;x.exports=G,G.highlight=ue,G.register=be,G.alias=ce,G.registered=te,G.listLanguages=X,be(f),be(R),be(z),be(D),G.util.encode=j,G.Token.stringify=q;function be(_){if(typeof _!="function"||!_.displayName)throw new Error("Expected `function` for `grammar`, got `"+_+"`");G.languages[_.displayName]===void 0&&_(G)}function ce(_,J){var de=G.languages,H=_,fe,re,V,le;J&&(H={},H[_]=J);for(fe in H)for(re=H[fe],re=typeof re=="string"?[re]:re,V=re.length,le=-1;++le<V;)de[re[le]]=de[fe]}function ue(_,J){var de=k.highlight,H;if(typeof _!="string")throw new Error("Expected `string` for `value`, got `"+_+"`");if(G.util.type(J)==="Object")H=J,J=null;else{if(typeof J!="string")throw new Error("Expected `string` for `name`, got `"+J+"`");if(I.call(G.languages,J))H=G.languages[J];else throw new Error("Unknown language: `"+J+"` is not registered")}return de.call(this,_,H,J)}function te(_){if(typeof _!="string")throw new Error("Expected `string` for `language`, got `"+_+"`");return I.call(G.languages,_)}function X(){var _=G.languages,J=[],de;for(de in _)I.call(_,de)&&typeof _[de]=="object"&&J.push(de);return J}function q(_,J,de){var H;return typeof _=="string"?{type:"text",value:_}:G.util.type(_)==="Array"?Z(_,J):(H={type:_.type,content:G.Token.stringify(_.content,J,de),tag:"span",classes:["token",_.type],attributes:{},language:J,parent:de},_.alias&&(H.classes=H.classes.concat(_.alias)),G.hooks.run("wrap",H),v(H.tag+"."+H.classes.join("."),P(H.attributes),H.content))}function Z(_,J){for(var de=[],H=_.length,fe=-1,re;++fe<H;)re=_[fe],re!==""&&re!==null&&re!==void 0&&de.push(re);for(fe=-1,H=de.length;++fe<H;)re=de[fe],de[fe]=G.Token.stringify(re,J,de);return de}function j(_){return _}function P(_){var J;for(J in _)_[J]=b(_[J]);return _}function U(){var _="Prism"in u,J=_?u.Prism:void 0;return de;function de(){_?u.Prism=J:delete u.Prism,_=void 0,J=void 0}}},11594:function(x,c,r){"use strict";var u=r(95489);x.exports=u,u.register(r(79007)),u.register(r(15465)),u.register(r(42746)),u.register(r(93281)),u.register(r(95143)),u.register(r(65924)),u.register(r(65043)),u.register(r(43556)),u.register(r(14901)),u.register(r(4248)),u.register(r(17758)),u.register(r(33335)),u.register(r(17427)),u.register(r(22956)),u.register(r(56007)),u.register(r(45652)),u.register(r(33819)),u.register(r(84230)),u.register(r(20803)),u.register(r(65235)),u.register(r(52406)),u.register(r(79571)),u.register(r(3058)),u.register(r(51422)),u.register(r(1618)),u.register(r(2505)),u.register(r(51274)),u.register(r(23796)),u.register(r(13979)),u.register(r(87994)),u.register(r(47035)),u.register(r(36142)),u.register(r(85290)),u.register(r(7407)),u.register(r(79440)),u.register(r(7110)),u.register(r(73435)),u.register(r(91372)),u.register(r(63663)),u.register(r(92987)),u.register(r(91657)),u.register(r(34367)),u.register(r(35348)),u.register(r(29293)),u.register(r(87071)),u.register(r(13652)),u.register(r(87648)),u.register(r(10617)),u.register(r(5348)),u.register(r(71053)),u.register(r(69820)),u.register(r(41929)),u.register(r(51837)),u.register(r(4182)),u.register(r(22117)),u.register(r(95627)),u.register(r(34265)),u.register(r(50618)),u.register(r(32126)),u.register(r(26737)),u.register(r(90134)),u.register(r(51348)),u.register(r(60841)),u.register(r(42857)),u.register(r(81269)),u.register(r(31134)),u.register(r(83125)),u.register(r(9438)),u.register(r(27771)),u.register(r(86549)),u.register(r(37079)),u.register(r(59250)),u.register(r(81226)),u.register(r(65245)),u.register(r(25040)),u.register(r(40284)),u.register(r(39187)),u.register(r(34302)),u.register(r(90515)),u.register(r(33534)),u.register(r(9885)),u.register(r(76364)),u.register(r(56452)),u.register(r(8477)),u.register(r(58230)),u.register(r(66192)),u.register(r(81084)),u.register(r(50318)),u.register(r(95769)),u.register(r(14155)),u.register(r(92823)),u.register(r(63092)),u.register(r(21550)),u.register(r(29710)),u.register(r(2050)),u.register(r(67967)),u.register(r(29138)),u.register(r(67915)),u.register(r(54853)),u.register(r(68330)),u.register(r(76823)),u.register(r(86712)),u.register(r(72252)),u.register(r(78634)),u.register(r(43583)),u.register(r(23328)),u.register(r(74494)),u.register(r(46745)),u.register(r(22152)),u.register(r(83698)),u.register(r(26619)),u.register(r(53990)),u.register(r(7093)),u.register(r(4005)),u.register(r(53510)),u.register(r(24799)),u.register(r(97443)),u.register(r(80746)),u.register(r(17015)),u.register(r(89246)),u.register(r(487)),u.register(r(79539)),u.register(r(15628)),u.register(r(14320)),u.register(r(73222)),u.register(r(92486)),u.register(r(24103)),u.register(r(40604)),u.register(r(23109)),u.register(r(32082)),u.register(r(77674)),u.register(r(37524)),u.register(r(6658)),u.register(r(24824)),u.register(r(22776)),u.register(r(89700)),u.register(r(99296)),u.register(r(39940)),u.register(r(34973)),u.register(r(98135)),u.register(r(36907)),u.register(r(3567)),u.register(r(23763)),u.register(r(33978)),u.register(r(40472)),u.register(r(44695)),u.register(r(53885)),u.register(r(51478)),u.register(r(16928)),u.register(r(13586)),u.register(r(37164)),u.register(r(25153)),u.register(r(33245)),u.register(r(32218)),u.register(r(65626)),u.register(r(60090)),u.register(r(40722)),u.register(r(37783)),u.register(r(41224)),u.register(r(71365)),u.register(r(42846)),u.register(r(32964)),u.register(r(78830)),u.register(r(88799)),u.register(r(66791)),u.register(r(41735)),u.register(r(13490)),u.register(r(7383)),u.register(r(66894)),u.register(r(45779)),u.register(r(27734)),u.register(r(91889)),u.register(r(55965)),u.register(r(37326)),u.register(r(92949)),u.register(r(5681)),u.register(r(70696)),u.register(r(35790)),u.register(r(25777)),u.register(r(65889)),u.register(r(53852)),u.register(r(97719)),u.register(r(63839)),u.register(r(67623)),u.register(r(32530)),u.register(r(8938)),u.register(r(55259)),u.register(r(67411)),u.register(r(15375)),u.register(r(12093)),u.register(r(83588)),u.register(r(94127)),u.register(r(21294)),u.register(r(38709)),u.register(r(15008)),u.register(r(96549)),u.register(r(5221)),u.register(r(27447)),u.register(r(73191)),u.register(r(75542)),u.register(r(50323)),u.register(r(44298)),u.register(r(9634)),u.register(r(75266)),u.register(r(48139)),u.register(r(97534)),u.register(r(90826)),u.register(r(63919)),u.register(r(68862)),u.register(r(39523)),u.register(r(31207)),u.register(r(75308)),u.register(r(45315)),u.register(r(13794)),u.register(r(41299)),u.register(r(98177)),u.register(r(48780)),u.register(r(79793)),u.register(r(52085)),u.register(r(65411)),u.register(r(84750)),u.register(r(88216)),u.register(r(66433)),u.register(r(34855)),u.register(r(12998)),u.register(r(10202)),u.register(r(41186)),u.register(r(68963)),u.register(r(5569)),u.register(r(69435)),u.register(r(42766)),u.register(r(46449)),u.register(r(89032)),u.register(r(40241)),u.register(r(24812)),u.register(r(16747)),u.register(r(73584)),u.register(r(79243)),u.register(r(31788)),u.register(r(60871)),u.register(r(21023)),u.register(r(14693)),u.register(r(8743)),u.register(r(1689)),u.register(r(69210)),u.register(r(58710)),u.register(r(60452)),u.register(r(92784)),u.register(r(36489)),u.register(r(78380)),u.register(r(10409)),u.register(r(6539)),u.register(r(82028)),u.register(r(62282)),u.register(r(55686)),u.register(r(70889)),u.register(r(37116)),u.register(r(66963)),u.register(r(21078)),u.register(r(96198)),u.register(r(17723)),u.register(r(67771)),u.register(r(30307)),u.register(r(8921)),u.register(r(13429)),u.register(r(65197)),u.register(r(88904)),u.register(r(35)),u.register(r(86095)),u.register(r(76998)),u.register(r(14409)),u.register(r(33460)),u.register(r(28108))},79007:function(x){"use strict";x.exports=c,c.displayName="abap",c.aliases=[];function c(r){r.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:/[,.:()]/}}},15465:function(x){"use strict";x.exports=c,c.displayName="abnf",c.aliases=[];function c(r){(function(u){var y="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";u.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-])"+y+"|<"+y+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(r)}},42746:function(x){"use strict";x.exports=c,c.displayName="actionscript",c.aliases=[];function c(r){r.languages.actionscript=r.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),r.languages.actionscript["class-name"].alias="function",delete r.languages.actionscript.parameter,delete r.languages.actionscript["literal-property"],r.languages.markup&&r.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:r.languages.markup}})}},93281:function(x){"use strict";x.exports=c,c.displayName="ada",c.aliases=[];function c(r){r.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}}},95143:function(x){"use strict";x.exports=c,c.displayName="agda",c.aliases=[];function c(r){(function(u){u.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/}})(r)}},65924:function(x){"use strict";x.exports=c,c.displayName="al",c.aliases=[];function c(r){r.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:/[()\[\]{}:.;,]/}}},65043:function(x){"use strict";x.exports=c,c.displayName="antlr4",c.aliases=["g4"];function c(r){r.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:/[;:()=]/},r.languages.g4=r.languages.antlr4}},43556:function(x){"use strict";x.exports=c,c.displayName="apacheconf",c.aliases=[];function c(r){r.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:/\^?.*\$|\^.*\$?/}}},14901:function(x,c,r){"use strict";var u=r(69435);x.exports=y,y.displayName="apex",y.aliases=[];function y(v){v.register(u),function(b){var k=/\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,f=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return k.source});function R(D){return RegExp(D.replace(/<CLASS-NAME>/g,function(){return f}),"i")}var z={keyword:k,punctuation:/[()\[\]{};,:.<>]/};b.languages.apex={comment:b.languages.clike.comment,string:b.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:b.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:R(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:z},{pattern:R(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:z},{pattern:R(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:z}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:k,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:/[()\[\]{};,.]/}}(v)}},4248:function(x){"use strict";x.exports=c,c.displayName="apl",c.aliases=[];function c(r){r.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"}}}},17758:function(x){"use strict";x.exports=c,c.displayName="applescript",c.aliases=[];function c(r){r.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:/[{}():,¬«»《》]/}}},33335:function(x){"use strict";x.exports=c,c.displayName="aql",c.aliases=[];function c(r){r.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:/::|[?.:,;()[\]{}]/}}},17427:function(x,c,r){"use strict";var u=r(87071);x.exports=y,y.displayName="arduino",y.aliases=["ino"];function y(v){v.register(u),v.languages.arduino=v.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/}),v.languages.ino=v.languages.arduino}},22956:function(x){"use strict";x.exports=c,c.displayName="arff",c.aliases=[];function c(r){r.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(x){"use strict";x.exports=c,c.displayName="asciidoc",c.aliases=["adoc"];function c(r){(function(u){var y={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+$).+/}},v=u.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:y,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:y.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:y,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 b(k){k=k.split(" ");for(var f={},R=0,z=k.length;R<z;R++)f[k[R]]=v[k[R]];return f}y.inside.interpreted.inside.rest=b("macro inline replacement entity"),v["passthrough-block"].inside.rest=b("macro"),v["literal-block"].inside.rest=b("callout"),v.table.inside.rest=b("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"),v["other-block"].inside.rest=b("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),v.title.inside.rest=b("macro inline replacement entity"),u.hooks.add("wrap",function(k){k.type==="entity"&&(k.attributes.title=k.content.value.replace(/&amp;/,"&"))}),u.languages.adoc=u.languages.asciidoc})(r)}},45652:function(x){"use strict";x.exports=c,c.displayName="asm6502",c.aliases=[];function c(r){r.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:/[(),:]/}}},33819:function(x){"use strict";x.exports=c,c.displayName="asmatmel",c.aliases=[];function c(r){r.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:/[(),:]/}}},84230:function(x,c,r){"use strict";var u=r(87648);x.exports=y,y.displayName="aspnet",y.aliases=[];function y(v){v.register(u),v.languages.aspnet=v.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:v.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:v.languages.csharp}}}),v.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,v.languages.insertBefore("inside","punctuation",{directive:v.languages.aspnet.directive},v.languages.aspnet.tag.inside["attr-value"]),v.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),v.languages.insertBefore("aspnet",v.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:v.languages.csharp||{}}})}},20803:function(x){"use strict";x.exports=c,c.displayName="autohotkey",c.aliases=[];function c(r){r.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:/[{}[\]():,]/}}},65235:function(x){"use strict";x.exports=c,c.displayName="autoit",c.aliases=[];function c(r){r.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:/[\[\]().,:]/}}},52406:function(x){"use strict";x.exports=c,c.displayName="avisynth",c.aliases=["avs"];function c(r){(function(u){function y(D,I){return D.replace(/<<(\d+)>>/g,function(ae,G){return I[+G]})}function v(D,I,ae){return RegExp(y(D,I),ae||"")}var b=/bool|clip|float|int|string|val/.source,k=[/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("|"),f=[/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("|"),R=[/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("|"),z=[k,f,R].join("|");u.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:v(/\b(?:<<0>>)\s+("?)\w+\1/.source,[b],"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:v(/\b(?:<<0>>)\b/.source,[z],"i"),alias:"function"},"type-cast":{pattern:v(/\b(?:<<0>>)(?=\s*\()/.source,[b],"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:/[{}\[\]();,.]/},u.languages.avs=u.languages.avisynth})(r)}},79571:function(x){"use strict";x.exports=c,c.displayName="avroIdl",c.aliases=[];function c(r){r.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:/[()\[\]{}<>.:,;-]/},r.languages.avdl=r.languages["avro-idl"]}},3058:function(x){"use strict";x.exports=c,c.displayName="bash",c.aliases=["shell"];function c(r){(function(u){var y="\\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",v={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},b={bash:v,environment:{pattern:RegExp("\\$"+y),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("(\\{)"+y),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})/};u.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;|&]|[<>]\\()"+y),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:b},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:v}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:b},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:b.entity}}],environment:{pattern:RegExp("\\$?"+y),alias:"constant"},variable:b.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}},v.inside=u.languages.bash;for(var k=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],f=b.variable[1].inside,R=0;R<k.length;R++)f[k[R]]=u.languages.bash[k[R]];u.languages.shell=u.languages.bash})(r)}},51422:function(x){"use strict";x.exports=c,c.displayName="basic",c.aliases=[];function c(r){r.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:/[,;:()]/}}},1618:function(x){"use strict";x.exports=c,c.displayName="batch",c.aliases=[];function c(r){(function(u){var y=/%%?[~:\w]+%?|!\S+!/,v={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},b=/"(?:[\\"]"|[^"])*"(?!")/,k=/(?:\b|-)\d+\b/;u.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:b,parameter:v,variable:y,number:k,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:b,parameter:v,variable:y,number:k,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:b,parameter:v,variable:[y,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:k,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:b,parameter:v,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:y,number:k,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(r)}},2505:function(x){"use strict";x.exports=c,c.displayName="bbcode",c.aliases=["shortcode"];function c(r){r.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=\]]+/}}},r.languages.shortcode=r.languages.bbcode}},51274:function(x){"use strict";x.exports=c,c.displayName="bicep",c.aliases=[];function c(r){r.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:/[{}[\];(),.:]/},r.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=r.languages.bicep}},23796:function(x){"use strict";x.exports=c,c.displayName="birb",c.aliases=[];function c(r){r.languages.birb=r.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/}),r.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(x,c,r){"use strict";var u=r(79440);x.exports=y,y.displayName="bison",y.aliases=[];function y(v){v.register(u),v.languages.bison=v.languages.extend("c",{}),v.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:v.languages.c}},comment:v.languages.c.comment,string:v.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(x){"use strict";x.exports=c,c.displayName="bnf",c.aliases=["rbnf"];function c(r){r.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}/},r.languages.rbnf=r.languages.bnf}},47035:function(x){"use strict";x.exports=c,c.displayName="brainfuck",c.aliases=[];function c(r){r.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(x){"use strict";x.exports=c,c.displayName="brightscript",c.aliases=[];function c(r){r.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},r.languages.brightscript["directive-statement"].inside.expression.inside=r.languages.brightscript}},85290:function(x){"use strict";x.exports=c,c.displayName="bro",c.aliases=[];function c(r){r.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:/[{}[\];(),.:]/}}},7407:function(x){"use strict";x.exports=c,c.displayName="bsl",c.aliases=[];function c(r){r.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"}]},r.languages.oscript=r.languages.bsl}},79440:function(x){"use strict";x.exports=c,c.displayName="c",c.aliases=[];function c(r){r.languages.c=r.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|[?:~]|[-+*/%&|^!=<>]=?/}),r.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),r.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},r.languages.c.string],char:r.languages.c.char,comment:r.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:r.languages.c}}}}),r.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 r.languages.c.boolean}},7110:function(x){"use strict";x.exports=c,c.displayName="cfscript",c.aliases=[];function c(r){r.languages.cfscript=r.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"}}),r.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 r.languages.cfscript["class-name"],r.languages.cfc=r.languages.cfscript}},73435:function(x,c,r){"use strict";var u=r(87071);x.exports=y,y.displayName="chaiscript",y.aliases=[];function y(v){v.register(u),v.languages.chaiscript=v.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:[v.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),v.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),v.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:v.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(x){"use strict";x.exports=c,c.displayName="cil",c.aliases=[];function c(r){r.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]+/}}},9720:function(x){"use strict";x.exports=c,c.displayName="clike",c.aliases=[];function c(r){r.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:/[{}[\];(),.:]/}}},63663:function(x){"use strict";x.exports=c,c.displayName="clojure",c.aliases=[];function c(r){r.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:/[{}\[\](),]/}}},92987:function(x){"use strict";x.exports=c,c.displayName="cmake",c.aliases=[];function c(r){r.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:/[()>}]|\$[<{]/}}},91657:function(x){"use strict";x.exports=c,c.displayName="cobol",c.aliases=[];function c(r){r.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:/[.:,()]/}}},34367:function(x){"use strict";x.exports=c,c.displayName="coffeescript",c.aliases=["coffee"];function c(r){(function(u){var y=/#(?!\{).+/,v={pattern:/#\{[^}]+\}/,alias:"variable"};u.languages.coffeescript=u.languages.extend("javascript",{comment:y,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:v}}],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"}}),u.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:y,interpolation:v}}}),u.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:u.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:v}}]}),u.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete u.languages.coffeescript["template-string"],u.languages.coffee=u.languages.coffeescript})(r)}},35348:function(x){"use strict";x.exports=c,c.displayName="concurnas",c.aliases=["conc"];function c(r){r.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"}},r.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:r.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:r.languages.concurnas},string:/[\s\S]+/}}}),r.languages.conc=r.languages.concurnas}},29293:function(x){"use strict";x.exports=c,c.displayName="coq",c.aliases=[];function c(r){(function(u){for(var y=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,v=0;v<2;v++)y=y.replace(/<self>/g,function(){return y});y=y.replace(/<self>/g,"[]"),u.languages.coq={comment:RegExp(y),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return y})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(y),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:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(r)}},87071:function(x,c,r){"use strict";var u=r(79440);x.exports=y,y.displayName="cpp",y.aliases=[];function y(v){v.register(u),function(b){var k=/\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/,f=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return k.source});b.languages.cpp=b.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return k.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:k,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/}),b.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 f})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),b.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:b.languages.cpp}}}}),b.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),b.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:b.languages.extend("cpp",{})}}),b.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},b.languages.cpp["base-clause"])}(v)}},13652:function(x,c,r){"use strict";var u=r(75308);x.exports=y,y.displayName="crystal",y.aliases=[];function y(v){v.register(u),function(b){b.languages.crystal=b.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:[/->/,b.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),b.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:b.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:b.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}})}(v)}},87648:function(x){"use strict";x.exports=c,c.displayName="csharp",c.aliases=["dotnet","cs"];function c(r){(function(u){function y(He,oe){return He.replace(/<<(\d+)>>/g,function(F,L){return"(?:"+oe[+L]+")"})}function v(He,oe,F){return RegExp(y(He,oe),F||"")}function b(He,oe){for(var F=0;F<oe;F++)He=He.replace(/<<self>>/g,function(){return"(?:"+He+")"});return He.replace(/<<self>>/g,"[^\\s\\S]")}var k={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 f(He){return"\\b(?:"+He.trim().replace(/ /g,"|")+")\\b"}var R=f(k.typeDeclaration),z=RegExp(f(k.type+" "+k.typeDeclaration+" "+k.contextual+" "+k.other)),D=f(k.typeDeclaration+" "+k.contextual+" "+k.other),I=f(k.type+" "+k.typeDeclaration+" "+k.other),ae=b(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),G=b(/\((?:[^()]|<<self>>)*\)/.source,2),be=/@?\b[A-Za-z_]\w*\b/.source,ce=y(/<<0>>(?:\s*<<1>>)?/.source,[be,ae]),ue=y(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[D,ce]),te=/\[\s*(?:,\s*)*\]/.source,X=y(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[ue,te]),q=y(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[ae,G,te]),Z=y(/\(<<0>>+(?:,<<0>>+)+\)/.source,[q]),j=y(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[Z,ue,te]),P={keyword:z,punctuation:/[<>()?,.:[\]]/},U=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,_=/"(?:\\.|[^\\"\r\n])*"/.source,J=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;u.languages.csharp=u.languages.extend("clike",{string:[{pattern:v(/(^|[^$\\])<<0>>/.source,[J]),lookbehind:!0,greedy:!0},{pattern:v(/(^|[^@$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:v(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[ue]),lookbehind:!0,inside:P},{pattern:v(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[be,j]),lookbehind:!0,inside:P},{pattern:v(/(\busing\s+)<<0>>(?=\s*=)/.source,[be]),lookbehind:!0},{pattern:v(/(\b<<0>>\s+)<<1>>/.source,[R,ce]),lookbehind:!0,inside:P},{pattern:v(/(\bcatch\s*\(\s*)<<0>>/.source,[ue]),lookbehind:!0,inside:P},{pattern:v(/(\bwhere\s+)<<0>>/.source,[be]),lookbehind:!0},{pattern:v(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[X]),lookbehind:!0,inside:P},{pattern:v(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[j,I,be]),inside:P}],keyword:z,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:/\?\.?|::|[{}[\];(),.:]/}),u.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),u.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:v(/([(,]\s*)<<0>>(?=\s*:)/.source,[be]),lookbehind:!0,alias:"punctuation"}}),u.languages.insertBefore("csharp","class-name",{namespace:{pattern:v(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[be]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:v(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[G]),lookbehind:!0,alias:"class-name",inside:P},"return-type":{pattern:v(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[j,ue]),inside:P,alias:"class-name"},"constructor-invocation":{pattern:v(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[j]),lookbehind:!0,inside:P,alias:"class-name"},"generic-method":{pattern:v(/<<0>>\s*<<1>>(?=\s*\()/.source,[be,ae]),inside:{function:v(/^<<0>>/.source,[be]),generic:{pattern:RegExp(ae),alias:"class-name",inside:P}}},"type-list":{pattern:v(/\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,[R,ce,be,j,z.source,G,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:v(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[ce,G]),lookbehind:!0,greedy:!0,inside:u.languages.csharp},keyword:z,"class-name":{pattern:RegExp(j),greedy:!0,inside:P},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 de=_+"|"+U,H=y(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[de]),fe=b(y(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[H]),2),re=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,V=y(/<<0>>(?:\s*\(<<1>>*\))?/.source,[ue,fe]);u.languages.insertBefore("csharp","class-name",{attribute:{pattern:v(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[re,V]),lookbehind:!0,greedy:!0,inside:{target:{pattern:v(/^<<0>>(?=\s*:)/.source,[re]),alias:"keyword"},"attribute-arguments":{pattern:v(/\(<<0>>*\)/.source,[fe]),inside:u.languages.csharp},"class-name":{pattern:RegExp(ue),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var le=/:[^}\r\n]+/.source,ne=b(y(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[H]),2),ge=y(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ne,le]),Le=b(y(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[de]),2),Re=y(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Le,le]);function Ie(He,oe){return{interpolation:{pattern:v(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[He]),lookbehind:!0,inside:{"format-string":{pattern:v(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[oe,le]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:u.languages.csharp}}},string:/[\s\S]+/}}u.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:v(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ge]),lookbehind:!0,greedy:!0,inside:Ie(ge,ne)},{pattern:v(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Re]),lookbehind:!0,greedy:!0,inside:Ie(Re,Le)}],char:{pattern:RegExp(U),greedy:!0}}),u.languages.dotnet=u.languages.cs=u.languages.csharp})(r)}},10617:function(x,c,r){"use strict";var u=r(87648);x.exports=y,y.displayName="cshtml",y.aliases=["razor"];function y(v){v.register(u),function(b){var k=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,f=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function R(X,q){for(var Z=0;Z<q;Z++)X=X.replace(/<self>/g,function(){return"(?:"+X+")"});return X.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+f+")").replace(/<comment>/g,"(?:"+k+")")}var z=R(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),D=R(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),I=R(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),ae=R(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),G=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,be=/(?!\d)[^\s>\/=$<%]+/.source+G+/\s*\/?>/.source,ce=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+G+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+be+"|"+R(/<\1/.source+G+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+be+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+be+")";b.languages.cshtml=b.languages.extend("markup",{});var ue=b.languages.insertBefore("csharp","string",{html:{pattern:RegExp(ce),greedy:!0,inside:b.languages.cshtml}},{csharp:b.languages.extend("csharp",{})}),te={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:ue};b.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[I,/(?:code|functions)\s*/.source+I,/(?:for|foreach|lock|switch|using|while)\s*/.source+z+/\s*/.source+I,/do\s*/.source+I+/\s*while\s*/.source+z+/(?:\s*;)?/.source,/try\s*/.source+I+/\s*catch\s*/.source+z+/\s*/.source+I+/\s*finally\s*/.source+I,/if\s*/.source+z+/\s*/.source+I+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+z+")?"+/\s*/.source+I+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:te}},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:te}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+z+")(?:"+/[?!]?\.\w+\b/.source+"|"+z+"|"+D+"|"+ae+z+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:te}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),b.languages.razor=b.languages.cshtml}(v)}},5348:function(x){"use strict";x.exports=c,c.displayName="csp",c.aliases=[];function c(r){(function(u){function y(v){return RegExp(/([ \t])/.source+"(?:"+v+")"+/(?=[\s;]|$)/.source,"i")}u.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:y(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:y(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:y(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:y(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:y(/[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:y(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:y(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(r)}},71053:function(x){"use strict";x.exports=c,c.displayName="cssExtras",c.aliases=[];function c(r){(function(u){var y=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,v;u.languages.css.selector={pattern:u.languages.css.selector.pattern,lookbehind:!0,inside:v={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+y.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":[y,{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:/[(),]/}},u.languages.css.atrule.inside["selector-function-argument"].inside=v,u.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var b={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},k={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};u.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:b,number:k,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:b,number:k})})(r)}},54212:function(x){"use strict";x.exports=c,c.displayName="css",c.aliases=[];function c(r){(function(u){var y=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.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\\((?:"+y.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+y.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+y.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:y,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:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var v=u.languages.markup;v&&(v.tag.addInlined("style","css"),v.tag.addAttribute("style","css"))})(r)}},69820:function(x){"use strict";x.exports=c,c.displayName="csv",c.aliases=[];function c(r){r.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(x){"use strict";x.exports=c,c.displayName="cypher",c.aliases=[];function c(r){r.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:/[()[\]{},;.]/}}},51837:function(x){"use strict";x.exports=c,c.displayName="d",c.aliases=[];function c(r){r.languages.d=r.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|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),r.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),r.languages.insertBefore("d","keyword",{property:/\B@\w*/}),r.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"}})}},4182:function(x){"use strict";x.exports=c,c.displayName="dart",c.aliases=[];function c(r){(function(u){var y=[/\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/],v=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,b={pattern:RegExp(v+/[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:/\./}}}};u.languages.dart=u.languages.extend("clike",{"class-name":[b,{pattern:RegExp(v+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:b.inside}],keyword:y,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),u.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:u.languages.dart}}},string:/[\s\S]+/}},string:void 0}),u.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),u.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":b,keyword:y,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(r)}},22117:function(x){"use strict";x.exports=c,c.displayName="dataweave",c.aliases=[];function c(r){(function(u){u.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/}})(r)}},95627:function(x){"use strict";x.exports=c,c.displayName="dax",c.aliases=[];function c(r){r.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:/[;\[\](){}`,.]/}}},34265:function(x){"use strict";x.exports=c,c.displayName="dhall",c.aliases=[];function c(r){r.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/},r.languages.dhall.string.inside.interpolation.inside.expression.inside=r.languages.dhall}},50618:function(x){"use strict";x.exports=c,c.displayName="diff",c.aliases=[];function c(r){(function(u){u.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var y={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(y).forEach(function(v){var b=y[v],k=[];/^\w+$/.test(v)||k.push(/\w+/.exec(v)[0]),v==="diff"&&k.push("bold"),u.languages.diff[v]={pattern:RegExp("^(?:["+b+`].*(?:\r
?|
|(?![\\s\\S])))+`,"m"),alias:k,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(v)[0]}}}}),Object.defineProperty(u.languages.diff,"PREFIXES",{value:y})})(r)}},32126:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="django",y.aliases=["jinja2"];function y(v){v.register(u),function(b){b.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 k=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,f=b.languages["markup-templating"];b.hooks.add("before-tokenize",function(R){f.buildPlaceholders(R,"django",k)}),b.hooks.add("after-tokenize",function(R){f.tokenizePlaceholders(R,"django")}),b.languages.jinja2=b.languages.django,b.hooks.add("before-tokenize",function(R){f.buildPlaceholders(R,"jinja2",k)}),b.hooks.add("after-tokenize",function(R){f.tokenizePlaceholders(R,"jinja2")})}(v)}},26737:function(x){"use strict";x.exports=c,c.displayName="dnsZoneFile",c.aliases=[];function c(r){r.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:/[()]/},r.languages["dns-zone"]=r.languages["dns-zone-file"]}},90134:function(x){"use strict";x.exports=c,c.displayName="docker",c.aliases=["dockerfile"];function c(r){(function(u){var y=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,v=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return y}),b=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,k=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return b}),f={pattern:RegExp(b),greedy:!0},R={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function z(D,I){return D=D.replace(/<OPT>/g,function(){return k}).replace(/<SP>/g,function(){return v}),RegExp(D,I)}u.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:z(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[f,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:z(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:z(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:z(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:R,string:f,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:R},u.languages.dockerfile=u.languages.docker})(r)}},51348:function(x){"use strict";x.exports=c,c.displayName="dot",c.aliases=["gv"];function c(r){(function(u){var y="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",v={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:u.languages.markup}};function b(k,f){return RegExp(k.replace(/<ID>/g,function(){return y}),f)}u.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:b(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:v},"attr-value":{pattern:b(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:v},"attr-name":{pattern:b(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:v},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:b(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:v},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},u.languages.gv=u.languages.dot})(r)}},60841:function(x){"use strict";x.exports=c,c.displayName="ebnf",c.aliases=[];function c(r){r.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:/[-=|*/!]/}}},42857:function(x){"use strict";x.exports=c,c.displayName="editorconfig",c.aliases=[];function c(r){r.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:/^=/}}}}},81269:function(x){"use strict";x.exports=c,c.displayName="eiffel",c.aliases=[];function c(r){r.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:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="ejs",y.aliases=["eta"];function y(v){v.register(u),function(b){b.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:b.languages.javascript}},b.hooks.add("before-tokenize",function(k){var f=/<%(?!%)[\s\S]+?%>/g;b.languages["markup-templating"].buildPlaceholders(k,"ejs",f)}),b.hooks.add("after-tokenize",function(k){b.languages["markup-templating"].tokenizePlaceholders(k,"ejs")}),b.languages.eta=b.languages.ejs}(v)}},83125:function(x){"use strict";x.exports=c,c.displayName="elixir",c.aliases=[];function c(r){r.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:/<<|>>|[.,%\[\]{}()]/},r.languages.elixir.string.forEach(function(u){u.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:r.languages.elixir}}}})}},9438:function(x){"use strict";x.exports=c,c.displayName="elm",c.aliases=[];function c(r){r.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:/[{}[\]|(),.:]/}}},27771:function(x,c,r){"use strict";var u=r(75308),y=r(51478);x.exports=v,v.displayName="erb",v.aliases=[];function v(b){b.register(u),b.register(y),function(k){k.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:k.languages.ruby}},k.hooks.add("before-tokenize",function(f){var R=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;k.languages["markup-templating"].buildPlaceholders(f,"erb",R)}),k.hooks.add("after-tokenize",function(f){k.languages["markup-templating"].tokenizePlaceholders(f,"erb")})}(b)}},86549:function(x){"use strict";x.exports=c,c.displayName="erlang",c.aliases=[];function c(r){r.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:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(x,c,r){"use strict";var u=r(33978),y=r(51478);x.exports=v,v.displayName="etlua",v.aliases=[];function v(b){b.register(u),b.register(y),function(k){k.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:k.languages.lua}},k.hooks.add("before-tokenize",function(f){var R=/<%[\s\S]+?%>/g;k.languages["markup-templating"].buildPlaceholders(f,"etlua",R)}),k.hooks.add("after-tokenize",function(f){k.languages["markup-templating"].tokenizePlaceholders(f,"etlua")})}(b)}},59250:function(x){"use strict";x.exports=c,c.displayName="excelFormula",c.aliases=[];function c(r){r.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:/[[\]();{}|]/},r.languages.xlsx=r.languages.xls=r.languages["excel-formula"]}},81226:function(x){"use strict";x.exports=c,c.displayName="factor",c.aliases=[];function c(r){(function(u){var y={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},v={number:/\\[^\s']|%\w/},b={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:y},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:y},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:y}],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:v.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:v},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:v}],"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:v}},k=function(D){return(D+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},f=function(D){return new RegExp("(^|\\s)(?:"+D.map(k).join("|")+")(?=\\s|$)")},R={"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(R).forEach(function(D){b[D].pattern=f(R[D])});var z=["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"];b.combinators.pattern=f(z),u.languages.factor=b})(r)}},65245:function(x){"use strict";x.exports=c,c.displayName="$false",c.aliases=[];function c(r){(function(u){u.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"}}})(r)}},25040:function(x){"use strict";x.exports=c,c.displayName="firestoreSecurityRules",c.aliases=[];function c(r){r.languages["firestore-security-rules"]=r.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete r.languages["firestore-security-rules"]["class-name"],r.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:/,/}}})}},40284:function(x){"use strict";x.exports=c,c.displayName="flow",c.aliases=[];function c(r){(function(u){u.languages.flow=u.languages.extend("javascript",{}),u.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),u.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 u.languages.flow.parameter,u.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(u.languages.flow.keyword)||(u.languages.flow.keyword=[u.languages.flow.keyword]),u.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})})(r)}},39187:function(x){"use strict";x.exports=c,c.displayName="fortran",c.aliases=[];function c(r){r.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:/\(\/|\/\)|[(),;:&]/}}},34302:function(x){"use strict";x.exports=c,c.displayName="fsharp",c.aliases=[];function c(r){r.languages.fsharp=r.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}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),r.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"}}}}),r.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),r.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:r.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}})}},90515:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="ftl",y.aliases=[];function y(v){v.register(u),function(b){for(var k=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,f=0;f<2;f++)k=k.replace(/<expr>/g,function(){return k});k=k.replace(/<expr>/g,/[^\s\S]/.source);var R={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return k})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return k})),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:/[,;.:()[\]{}]/};R.string[1].inside.interpolation.inside.rest=R,b.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:R}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:R}}}},b.hooks.add("before-tokenize",function(z){var D=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return k}),"gi");b.languages["markup-templating"].buildPlaceholders(z,"ftl",D)}),b.hooks.add("after-tokenize",function(z){b.languages["markup-templating"].tokenizePlaceholders(z,"ftl")})}(v)}},33534:function(x){"use strict";x.exports=c,c.displayName="gap",c.aliases=[];function c(r){r.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:/[()[\]{},;.:]/},r.languages.gap.shell.inside.gap.inside=r.languages.gap}},9885:function(x){"use strict";x.exports=c,c.displayName="gcode",c.aliases=[];function c(r){r.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:/[:*]/}}},76364:function(x){"use strict";x.exports=c,c.displayName="gdscript",c.aliases=[];function c(r){r.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:/[.:,;()[\]{}]/}}},56452:function(x){"use strict";x.exports=c,c.displayName="gedcom",c.aliases=[];function c(r){r.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"}}}},8477:function(x){"use strict";x.exports=c,c.displayName="gherkin",c.aliases=[];function c(r){(function(u){var y=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;u.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("("+y+")(?:"+y+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(y),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"}}})(r)}},58230:function(x){"use strict";x.exports=c,c.displayName="git",c.aliases=[];function c(r){r.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}}},66192:function(x,c,r){"use strict";var u=r(79440);x.exports=y,y.displayName="glsl",y.aliases=[];function y(v){v.register(u),v.languages.glsl=v.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/})}},81084:function(x){"use strict";x.exports=c,c.displayName="gml",c.aliases=[];function c(r){r.languages.gamemakerlanguage=r.languages.gml=r.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/})}},50318:function(x){"use strict";x.exports=c,c.displayName="gn",c.aliases=["gni"];function c(r){r.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:/[(){}[\],.]/},r.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=r.languages.gn,r.languages.gni=r.languages.gn}},95769:function(x){"use strict";x.exports=c,c.displayName="goModule",c.aliases=[];function c(r){r.languages["go-mod"]=r.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:/[()[\],]/}}},14155:function(x){"use strict";x.exports=c,c.displayName="go",c.aliases=[];function c(r){r.languages.go=r.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/}),r.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete r.languages.go["class-name"]}},92823:function(x){"use strict";x.exports=c,c.displayName="graphql",c.aliases=[];function c(r){r.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:r.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+/},r.hooks.add("after-tokenize",function(y){if(y.language!=="graphql")return;var v=y.tokens.filter(function(te){return typeof te!="string"&&te.type!=="comment"&&te.type!=="scalar"}),b=0;function k(te){return v[b+te]}function f(te,X){X=X||0;for(var q=0;q<te.length;q++){var Z=k(q+X);if(!Z||Z.type!==te[q])return!1}return!0}function R(te,X){for(var q=1,Z=b;Z<v.length;Z++){var j=v[Z],P=j.content;if(j.type==="punctuation"&&typeof P=="string"){if(te.test(P))q++;else if(X.test(P)&&(q--,q===0))return Z}}return-1}function z(te,X){var q=te.alias;q?Array.isArray(q)||(te.alias=q=[q]):te.alias=q=[],q.push(X)}for(;b<v.length;){var D=v[b++];if(D.type==="keyword"&&D.content==="mutation"){var I=[];if(f(["definition-mutation","punctuation"])&&k(1).content==="("){b+=2;var ae=R(/^\($/,/^\)$/);if(ae===-1)continue;for(;b<ae;b++){var G=k(0);G.type==="variable"&&(z(G,"variable-input"),I.push(G.content))}b=ae+1}if(f(["punctuation","property-query"])&&k(0).content==="{"&&(b++,z(k(0),"property-mutation"),I.length>0)){var be=R(/^\{$/,/^\}$/);if(be===-1)continue;for(var ce=b;ce<be;ce++){var ue=v[ce];ue.type==="variable"&&I.indexOf(ue.content)>=0&&z(ue,"variable-input")}}}}})}},63092:function(x){"use strict";x.exports=c,c.displayName="groovy",c.aliases=[];function c(r){r.languages.groovy=r.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:/\.+|[{}[\];(),:$]/}),r.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),r.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),r.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),r.hooks.add("wrap",function(u){if(u.language==="groovy"&&u.type==="string"){var y=u.content.value[0];if(y!="'"){var v=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;y==="$"&&(v=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),u.content.value=u.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),u.content=r.highlight(u.content.value,{expression:{pattern:v,lookbehind:!0,inside:r.languages.groovy}}),u.classes.push(y==="/"?"regex":"gstring")}}})}},21550:function(x,c,r){"use strict";var u=r(75308);x.exports=y,y.displayName="haml",y.aliases=[];function y(v){v.register(u),function(b){b.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:b.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:b.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:b.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:b.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:b.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:b.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:b.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var k="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",f=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],R={},z=0,D=f.length;z<D;z++){var I=f[z];I=typeof I=="string"?{filter:I,language:I}:I,b.languages[I.language]&&(R["filter-"+I.filter]={pattern:RegExp(k.replace("{{filter_name}}",function(){return I.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[I.language,"language-"+I.language],inside:b.languages[I.language]}}})}b.languages.insertBefore("haml","filter",R)}(v)}},29710:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="handlebars",y.aliases=["hbs"];function y(v){v.register(u),function(b){b.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]+/},b.hooks.add("before-tokenize",function(k){var f=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;b.languages["markup-templating"].buildPlaceholders(k,"handlebars",f)}),b.hooks.add("after-tokenize",function(k){b.languages["markup-templating"].tokenizePlaceholders(k,"handlebars")}),b.languages.hbs=b.languages.handlebars}(v)}},2050:function(x){"use strict";x.exports=c,c.displayName="haskell",c.aliases=["hs"];function c(r){r.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:/[{}[\];(),.:]/},r.languages.hs=r.languages.haskell}},67967:function(x){"use strict";x.exports=c,c.displayName="haxe",c.aliases=[];function c(r){r.languages.haxe=r.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}|[-+*/%!=&|^])=?|[?:~]/}),r.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:r.languages.haxe}}},string:/[\s\S]+/}}}),r.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:r.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),r.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(x){"use strict";x.exports=c,c.displayName="hcl",c.aliases=[];function c(r){r.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:/[=\[\]{}]/}}},67915:function(x,c,r){"use strict";var u=r(79440);x.exports=y,y.displayName="hlsl",y.aliases=[];function y(v){v.register(u),v.languages.hlsl=v.languages.extend("c",{"class-name":[v.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/})}},54853:function(x){"use strict";x.exports=c,c.displayName="hoon",c.aliases=[];function c(r){r.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:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(x){"use strict";x.exports=c,c.displayName="hpkp",c.aliases=[];function c(r){r.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(x){"use strict";x.exports=c,c.displayName="hsts",c.aliases=[];function c(r){r.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(x){"use strict";x.exports=c,c.displayName="http",c.aliases=[];function c(r){(function(u){function y(I){return RegExp("(^(?:"+I+"):[ ]*(?![ ]))[^]+","i")}u.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:u.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:y(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:u.languages.csp},{pattern:y(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:u.languages.hpkp},{pattern:y(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:u.languages.hsts},{pattern:y(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var v=u.languages,b={"application/javascript":v.javascript,"application/json":v.json||v.javascript,"application/xml":v.xml,"text/xml":v.xml,"text/html":v.html,"text/css":v.css,"text/plain":v.plain},k={"application/json":!0,"application/xml":!0};function f(I){var ae=I.replace(/^[a-z]+\//,""),G="\\w+/(?:[\\w.-]+\\+)+"+ae+"(?![+\\w.-])";return"(?:"+I+"|"+G+")"}var R;for(var z in b)if(b[z]){R=R||{};var D=k[z]?f(z):z;R[z.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+D+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:b[z]}}R&&u.languages.insertBefore("http","header",R)})(r)}},72252:function(x){"use strict";x.exports=c,c.displayName="ichigojam",c.aliases=[];function c(r){r.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:/[\[,;:()\]]/}}},78634:function(x){"use strict";x.exports=c,c.displayName="icon",c.aliases=[];function c(r){r.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:/[\[\](){},;]/}}},43583:function(x){"use strict";x.exports=c,c.displayName="icuMessageFormat",c.aliases=[];function c(r){(function(u){function y(z,D){return D<=0?/[]/.source:z.replace(/<SELF>/g,function(){return y(z,D-1)})}var v=/'[{}:=,](?:[^']|'')*'(?!')/,b={pattern:/''/,greedy:!0,alias:"operator"},k={pattern:v,greedy:!0,inside:{escape:b}},f=y(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return v.source}),8),R={pattern:RegExp(f),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};u.languages["icu-message-format"]={argument:{pattern:RegExp(f),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":R,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":R,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+y(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:b,string:k},R.inside.message.inside=u.languages["icu-message-format"],u.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=u.languages["icu-message-format"]})(r)}},23328:function(x,c,r){"use strict";var u=r(2050);x.exports=y,y.displayName="idris",y.aliases=["idr"];function y(v){v.register(u),v.languages.idris=v.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}),v.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),v.languages.idr=v.languages.idris}},74494:function(x){"use strict";x.exports=c,c.displayName="iecst",c.aliases=[];function c(r){r.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:/[()[\].,;]/}}},46745:function(x){"use strict";x.exports=c,c.displayName="ignore",c.aliases=["gitignore","hgignore","npmignore"];function c(r){(function(u){u.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},u.languages.gitignore=u.languages.ignore,u.languages.hgignore=u.languages.ignore,u.languages.npmignore=u.languages.ignore})(r)}},22152:function(x){"use strict";x.exports=c,c.displayName="inform7",c.aliases=[];function c(r){r.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:/[.,:;(){}]/},r.languages.inform7.string.inside.substitution.inside.rest=r.languages.inform7,r.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(x){"use strict";x.exports=c,c.displayName="ini",c.aliases=[];function c(r){r.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:/=/}}},26619:function(x){"use strict";x.exports=c,c.displayName="io",c.aliases=[];function c(r){r.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:/[{}[\];(),.:]/}}},53990:function(x){"use strict";x.exports=c,c.displayName="j",c.aliases=[];function c(r){r.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:/[()]/}}},7093:function(x){"use strict";x.exports=c,c.displayName="java",c.aliases=[];function c(r){(function(u){var y=/\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/,v=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,b={pattern:RegExp(v+/[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:/\./}};u.languages.java=u.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[b,{pattern:RegExp(v+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:b.inside}],keyword:y,function:[u.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}}),u.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),u.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":b,keyword:y,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 y.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(r)}},4005:function(x,c,r){"use strict";var u=r(7093),y=r(53510);x.exports=v,v.displayName="javadoc",v.aliases=[];function v(b){b.register(u),b.register(y),function(k){var f=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,R=/#\s*\w+(?:\s*\([^()]*\))?/.source,z=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return R});k.languages.javadoc=k.languages.extend("javadoclike",{}),k.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+z+")"),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:k.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:f,lookbehind:!0,inside:k.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:f,lookbehind:!0,inside:{tag:k.languages.markup.tag,entity:k.languages.markup.entity,code:{pattern:/.+/,inside:k.languages.java,alias:"language-java"}}}}}],tag:k.languages.markup.tag,entity:k.languages.markup.entity}),k.languages.javadoclike.addSupport("java",k.languages.javadoc)}(b)}},53510:function(x){"use strict";x.exports=c,c.displayName="javadoclike",c.aliases=[];function c(r){(function(u){var y=u.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 v(k,f){var R="doc-comment",z=u.languages[k];if(z){var D=z[R];if(!D){var I={};I[R]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},z=u.languages.insertBefore(k,"comment",I),D=z[R]}if(D instanceof RegExp&&(D=z[R]={pattern:D}),Array.isArray(D))for(var ae=0,G=D.length;ae<G;ae++)D[ae]instanceof RegExp&&(D[ae]={pattern:D[ae]}),f(D[ae]);else f(D)}}function b(k,f){typeof k=="string"&&(k=[k]),k.forEach(function(R){v(R,function(z){z.inside||(z.inside={}),z.inside.rest=f})})}Object.defineProperty(y,"addSupport",{value:b}),y.addSupport(["java","javascript","php"],y)})(r)}},88786:function(x){"use strict";x.exports=c,c.displayName="javascript",c.aliases=["js"];function c(r){r.languages.javascript=r.languages.extend("clike",{"class-name":[r.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}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.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:r.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:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.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:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.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:r.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"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.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")),r.languages.js=r.languages.javascript}},24799:function(x){"use strict";x.exports=c,c.displayName="javastacktrace",c.aliases=[];function c(r){r.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/}}}}},97443:function(x){"use strict";x.exports=c,c.displayName="jexl",c.aliases=[];function c(r){r.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:/[{}[\](),.]/}}},80746:function(x){"use strict";x.exports=c,c.displayName="jolie",c.aliases=[];function c(r){r.languages.jolie=r.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/}),r.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]*:)/}})}},17015:function(x){"use strict";x.exports=c,c.displayName="jq",c.aliases=[];function c(r){(function(u){var y=/\\\((?:[^()]|\([^()]*\))*\)/.source,v=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return y})),b={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+y),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},k=u.languages.jq={comment:/#.*/,property:{pattern:RegExp(v.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:b},string:{pattern:v,lookbehind:!0,greedy:!0,inside:b},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"}};b.interpolation.inside.content.inside=k})(r)}},89246:function(x){"use strict";x.exports=c,c.displayName="jsExtras",c.aliases=[];function c(r){(function(u){u.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+u.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),u.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+u.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),u.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 y(z,D){return RegExp(z.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),D)}u.languages.insertBefore("javascript","keyword",{imports:{pattern:y(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:u.languages.javascript},exports:{pattern:y(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:u.languages.javascript}}),u.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"}),u.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),u.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:y(/(\.\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 v=["function","function-variable","method","method-variable","property-access"],b=0;b<v.length;b++){var k=v[b],f=u.languages.javascript[k];u.util.type(f)==="RegExp"&&(f=u.languages.javascript[k]={pattern:f});var R=f.inside||{};f.inside=R,R["maybe-class-name"]=/^[A-Z][\s\S]*/}})(r)}},487:function(x){"use strict";x.exports=c,c.displayName="jsTemplates",c.aliases=[];function c(r){(function(u){var y=u.languages.javascript["template-string"],v=y.pattern.source,b=y.inside.interpolation,k=b.inside["interpolation-punctuation"],f=b.pattern.source;function R(ce,ue){if(u.languages[ce])return{pattern:RegExp("((?:"+ue+")\\s*)"+v),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:ce}}}}u.languages.javascript["template-string"]=[R("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),R("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),R("svg",/\bsvg/.source),R("markdown",/\b(?:markdown|md)/.source),R("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),R("sql",/\bsql/.source),y].filter(Boolean);function z(ce,ue){return"___"+ue.toUpperCase()+"_"+ce+"___"}function D(ce,ue,te){var X={code:ce,grammar:ue,language:te};return u.hooks.run("before-tokenize",X),X.tokens=u.tokenize(X.code,X.grammar),u.hooks.run("after-tokenize",X),X.tokens}function I(ce){var ue={};ue["interpolation-punctuation"]=k;var te=u.tokenize(ce,ue);if(te.length===3){var X=[1,1];X.push.apply(X,D(te[1],u.languages.javascript,"javascript")),te.splice.apply(te,X)}return new u.Token("interpolation",te,b.alias,ce)}function ae(ce,ue,te){var X=u.tokenize(ce,{interpolation:{pattern:RegExp(f),lookbehind:!0}}),q=0,Z={},j=X.map(function(J){if(typeof J=="string")return J;for(var de=J.content,H;ce.indexOf(H=z(q++,te))!==-1;);return Z[H]=de,H}).join(""),P=D(j,ue,te),U=Object.keys(Z);q=0;function _(J){for(var de=0;de<J.length;de++){if(q>=U.length)return;var H=J[de];if(typeof H=="string"||typeof H.content=="string"){var fe=U[q],re=typeof H=="string"?H:H.content,V=re.indexOf(fe);if(V!==-1){++q;var le=re.substring(0,V),ne=I(Z[fe]),ge=re.substring(V+fe.length),Le=[];if(le&&Le.push(le),Le.push(ne),ge){var Re=[ge];_(Re),Le.push.apply(Le,Re)}typeof H=="string"?(J.splice.apply(J,[de,1].concat(Le)),de+=Le.length-1):H.content=Le}}else{var Ie=H.content;Array.isArray(Ie)?_(Ie):_([Ie])}}}return _(P),new u.Token(te,P,"language-"+te,ce)}var G={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};u.hooks.add("after-tokenize",function(ce){if(!(ce.language in G))return;function ue(te){for(var X=0,q=te.length;X<q;X++){var Z=te[X];if(typeof Z!="string"){var j=Z.content;if(!Array.isArray(j)){typeof j!="string"&&ue([j]);continue}if(Z.type==="template-string"){var P=j[1];if(j.length===3&&typeof P!="string"&&P.type==="embedded-code"){var U=be(P),_=P.alias,J=Array.isArray(_)?_[0]:_,de=u.languages[J];if(!de)continue;j[1]=ae(U,de,J)}}else ue(j)}}}ue(ce.tokens)});function be(ce){return typeof ce=="string"?ce:Array.isArray(ce)?ce.map(be).join(""):be(ce.content)}})(r)}},79539:function(x,c,r){"use strict";var u=r(53510),y=r(92784);x.exports=v,v.displayName="jsdoc",v.aliases=[];function v(b){b.register(u),b.register(y),function(k){var f=k.languages.javascript,R=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,z="(@(?:arg|argument|param|property)\\s+(?:"+R+"\\s+)?)";k.languages.jsdoc=k.languages.extend("javadoclike",{parameter:{pattern:RegExp(z+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),k.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(z+/\[(?:(?!\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:f,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 R})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+R),lookbehind:!0,inside:{string:f.string,number:f.number,boolean:f.boolean,keyword:k.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:f,alias:"language-javascript"}}}}),k.languages.javadoclike.addSupport("javascript",k.languages.jsdoc)}(b)}},15628:function(x){"use strict";x.exports=c,c.displayName="json",c.aliases=["webmanifest"];function c(r){r.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"}},r.languages.webmanifest=r.languages.json}},14320:function(x,c,r){"use strict";var u=r(15628);x.exports=y,y.displayName="json5",y.aliases=[];function y(v){v.register(u),function(b){var k=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;b.languages.json5=b.languages.extend("json",{property:[{pattern:RegExp(k.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:k,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(v)}},73222:function(x,c,r){"use strict";var u=r(15628);x.exports=y,y.displayName="jsonp",y.aliases=[];function y(v){v.register(u),v.languages.jsonp=v.languages.extend("json",{punctuation:/[{}[\]();,.]/}),v.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(x){"use strict";x.exports=c,c.displayName="jsstacktrace",c.aliases=[];function c(r){r.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:/:/}}}}}}},24103:function(x){"use strict";x.exports=c,c.displayName="jsx",c.aliases=[];function c(r){(function(u){var y=u.util.clone(u.languages.javascript),v=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,b=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,k=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function f(D,I){return D=D.replace(/<S>/g,function(){return v}).replace(/<BRACES>/g,function(){return b}).replace(/<SPREAD>/g,function(){return k}),RegExp(D,I)}k=f(k).source,u.languages.jsx=u.languages.extend("markup",y),u.languages.jsx.tag.pattern=f(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),u.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,u.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,u.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,u.languages.jsx.tag.inside.comment=y.comment,u.languages.insertBefore("inside","attr-name",{spread:{pattern:f(/<SPREAD>/.source),inside:u.languages.jsx}},u.languages.jsx.tag),u.languages.insertBefore("inside","special-attr",{script:{pattern:f(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:u.languages.jsx}}},u.languages.jsx.tag);var R=function(D){return D?typeof D=="string"?D:typeof D.content=="string"?D.content:D.content.map(R).join(""):""},z=function(D){for(var I=[],ae=0;ae<D.length;ae++){var G=D[ae],be=!1;if(typeof G!="string"&&(G.type==="tag"&&G.content[0]&&G.content[0].type==="tag"?G.content[0].content[0].content==="</"?I.length>0&&I[I.length-1].tagName===R(G.content[0].content[1])&&I.pop():G.content[G.content.length-1].content==="/>"||I.push({tagName:R(G.content[0].content[1]),openedBraces:0}):I.length>0&&G.type==="punctuation"&&G.content==="{"?I[I.length-1].openedBraces++:I.length>0&&I[I.length-1].openedBraces>0&&G.type==="punctuation"&&G.content==="}"?I[I.length-1].openedBraces--:be=!0),(be||typeof G=="string")&&I.length>0&&I[I.length-1].openedBraces===0){var ce=R(G);ae<D.length-1&&(typeof D[ae+1]=="string"||D[ae+1].type==="plain-text")&&(ce+=R(D[ae+1]),D.splice(ae+1,1)),ae>0&&(typeof D[ae-1]=="string"||D[ae-1].type==="plain-text")&&(ce=R(D[ae-1])+ce,D.splice(ae-1,1),ae--),D[ae]=new u.Token("plain-text",ce,null,ce)}G.content&&typeof G.content!="string"&&z(G.content)}};u.hooks.add("after-tokenize",function(D){D.language!=="jsx"&&D.language!=="tsx"||z(D.tokens)})})(r)}},40604:function(x){"use strict";x.exports=c,c.displayName="julia",c.aliases=[];function c(r){r.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|[πℯ]/}}},23109:function(x){"use strict";x.exports=c,c.displayName="keepalived",c.aliases=[];function c(r){r.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:/[\{\}]/}}},32082:function(x){"use strict";x.exports=c,c.displayName="keyman",c.aliases=[];function c(r){r.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:/[()=,]/}}},77674:function(x){"use strict";x.exports=c,c.displayName="kotlin",c.aliases=["kt","kts"];function c(r){(function(u){u.languages.kotlin=u.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 u.languages.kotlin["class-name"];var y={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:u.languages.kotlin}};u.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:y},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:y},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete u.languages.kotlin.string,u.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),u.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),u.languages.kt=u.languages.kotlin,u.languages.kts=u.languages.kotlin})(r)}},37524:function(x){"use strict";x.exports=c,c.displayName="kumir",c.aliases=["kum"];function c(r){(function(u){var y=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function v(b,k){return RegExp(b.replace(/<nonId>/g,y),k)}u.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:v(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:v(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:v(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:v(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:v(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:v(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:v(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:v(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},u.languages.kum=u.languages.kumir})(r)}},6658:function(x){"use strict";x.exports=c,c.displayName="kusto",c.aliases=[];function c(r){r.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:/[()\[\]{},;.:]/}}},24824:function(x){"use strict";x.exports=c,c.displayName="latex",c.aliases=["tex","context"];function c(r){(function(u){var y=/\\(?:[^a-z()[\]]|[a-z*]+)/i,v={"equation-command":{pattern:y,alias:"regex"}};u.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:v,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:v,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:y,alias:"selector"},punctuation:/[[\]{}&]/},u.languages.tex=u.languages.latex,u.languages.context=u.languages.latex})(r)}},22776:function(x,c,r){"use strict";var u=r(51478),y=r(53852);x.exports=v,v.displayName="latte",v.aliases=[];function v(b){b.register(u),b.register(y),function(k){k.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:k.languages.php}};var f=k.languages.extend("markup",{});k.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:k.languages.php}}}}}},f.tag),k.hooks.add("before-tokenize",function(R){if(R.language==="latte"){var z=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;k.languages["markup-templating"].buildPlaceholders(R,"latte",z),R.grammar=f}}),k.hooks.add("after-tokenize",function(R){k.languages["markup-templating"].tokenizePlaceholders(R,"latte")})}(b)}},89700:function(x){"use strict";x.exports=c,c.displayName="less",c.aliases=[];function c(r){r.languages.less=r.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:/[+\-*\/]/}),r.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(x,c,r){"use strict";var u=r(48780);x.exports=y,y.displayName="lilypond",y.aliases=[];function y(v){v.register(u),function(b){for(var k=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,f=5,R=0;R<f;R++)k=k.replace(/<expr>/g,function(){return k});k=k.replace(/<expr>/g,/[^\s\S]/.source);var z=b.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return k}),"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:b.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/};z["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=z,b.languages.ly=z}(v)}},39940:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="liquid",y.aliases=[];function y(v){v.register(u),v.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"}},v.hooks.add("before-tokenize",function(b){var k=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,f=!1;v.languages["markup-templating"].buildPlaceholders(b,"liquid",k,function(R){var z=/^\{%-?\s*(\w+)/.exec(R);if(z){var D=z[1];if(D==="raw"&&!f)return f=!0,!0;if(D==="endraw")return f=!1,!0}return!f})}),v.hooks.add("after-tokenize",function(b){v.languages["markup-templating"].tokenizePlaceholders(b,"liquid")})}},34973:function(x){"use strict";x.exports=c,c.displayName="lisp",c.aliases=[];function c(r){(function(u){function y(ce){return RegExp(/(\()/.source+"(?:"+ce+")"+/(?=[\s\)])/.source)}function v(ce){return RegExp(/([\s([])/.source+"(?:"+ce+")"+/(?=[\s)])/.source)}var b=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,k="&"+b,f="(\\()",R="(?=\\))",z="(?=\\s)",D=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,I={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+b+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+b),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+b),alias:"property"},splice:{pattern:RegExp(",@?"+b),alias:["symbol","variable"]},keyword:[{pattern:RegExp(f+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+z),lookbehind:!0},{pattern:RegExp(f+"(?:append|by|collect|concat|do|finally|for|in|return)"+z),lookbehind:!0}],declare:{pattern:y(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:y(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:v(/nil|t/.source),lookbehind:!0},number:{pattern:v(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(f+"def(?:const|custom|group|var)\\s+"+b),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(b)}},defun:{pattern:RegExp(f+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+b+/\s+\(/.source+D+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+b),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(f+"lambda\\s+\\(\\s*(?:&?"+b+"(?:\\s+&?"+b+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(f+b),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},ae={"lisp-marker":RegExp(k),varform:{pattern:RegExp(/\(/.source+b+/\s+(?=\S)/.source+D+/\)/.source),inside:I},argument:{pattern:RegExp(/(^|[\s(])/.source+b),lookbehind:!0,alias:"variable"},rest:I},G="\\S+(?:\\s+\\S+)*",be={pattern:RegExp(f+D+R),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+G),inside:ae},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+G),inside:ae},keys:{pattern:RegExp("&key\\s+"+G+"(?:\\s+&allow-other-keys)?"),inside:ae},argument:{pattern:RegExp(b),alias:"variable"},punctuation:/[()]/}};I.lambda.inside.arguments=be,I.defun.inside.arguments=u.util.clone(be),I.defun.inside.arguments.inside.sublist=be,u.languages.lisp=I,u.languages.elisp=I,u.languages.emacs=I,u.languages["emacs-lisp"]=I})(r)}},98135:function(x){"use strict";x.exports=c,c.displayName="livescript",c.aliases=[];function c(r){r.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:/[(){}\[\]|.,:;`]/},r.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=r.languages.livescript}},36907:function(x){"use strict";x.exports=c,c.displayName="llvm",c.aliases=[];function c(r){(function(u){u.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:/[{}[\];(),.!*=<>]/}})(r)}},3567:function(x){"use strict";x.exports=c,c.displayName="log",c.aliases=[];function c(r){r.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:r.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:/[\[\].,]/}}},23763:function(x){"use strict";x.exports=c,c.displayName="lolcode",c.aliases=[];function c(r){r.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}|…|,|!/}}},33978:function(x){"use strict";x.exports=c,c.displayName="lua",c.aliases=[];function c(r){r.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:/[\[\](){},;]|\.+|:+/}}},40472:function(x){"use strict";x.exports=c,c.displayName="magma",c.aliases=[];function c(r){r.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:/[()[\]{}<>,;.:]/}}},44695:function(x){"use strict";x.exports=c,c.displayName="makefile",c.aliases=[];function c(r){r.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:/[:;(){}]/}}},53885:function(x){"use strict";x.exports=c,c.displayName="markdown",c.aliases=["md"];function c(r){(function(u){var y=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function v(ae){return ae=ae.replace(/<inner>/g,function(){return y}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+ae+")")}var b=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,k=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return b}),f=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;u.languages.markdown=u.languages.extend("markup",{}),u.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:u.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+k+f+"(?:"+k+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+k+f+")(?:"+k+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(b),inside:u.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+k+")"+f+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+k+"$"),inside:{"table-header":{pattern:RegExp(b),alias:"important",inside:u.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:v(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:v(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:v(/(~~?)(?:(?!~)<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:v(/!?\[(?:(?!\])<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(ae){["url","bold","italic","strike","code-snippet"].forEach(function(G){ae!==G&&(u.languages.markdown[ae].inside.content.inside[G]=u.languages.markdown[G])})}),u.hooks.add("after-tokenize",function(ae){if(ae.language!=="markdown"&&ae.language!=="md")return;function G(be){if(!(!be||typeof be=="string"))for(var ce=0,ue=be.length;ce<ue;ce++){var te=be[ce];if(te.type!=="code"){G(te.content);continue}var X=te.content[1],q=te.content[3];if(X&&q&&X.type==="code-language"&&q.type==="code-block"&&typeof X.content=="string"){var Z=X.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");Z=(/[a-z][\w-]*/i.exec(Z)||[""])[0].toLowerCase();var j="language-"+Z;q.alias?typeof q.alias=="string"?q.alias=[q.alias,j]:q.alias.push(j):q.alias=[j]}}}G(ae.tokens)}),u.hooks.add("wrap",function(ae){if(ae.type==="code-block"){for(var G="",be=0,ce=ae.classes.length;be<ce;be++){var ue=ae.classes[be],te=/language-(.+)/.exec(ue);if(te){G=te[1];break}}var X=u.languages[G];if(X)ae.content=u.highlight(I(ae.content.value),X,G);else if(G&&G!=="none"&&u.plugins.autoloader){var q="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);ae.attributes.id=q,u.plugins.autoloader.loadLanguages(G,function(){var Z=document.getElementById(q);Z&&(Z.innerHTML=u.highlight(Z.textContent,u.languages[G],G))})}}});var R=RegExp(u.languages.markup.tag.pattern.source,"gi"),z={amp:"&",lt:"<",gt:">",quot:'"'},D=String.fromCodePoint||String.fromCharCode;function I(ae){var G=ae.replace(R,"");return G=G.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(be,ce){if(ce=ce.toLowerCase(),ce[0]==="#"){var ue;return ce[1]==="x"?ue=parseInt(ce.slice(2),16):ue=Number(ce.slice(1)),D(ue)}else{var te=z[ce];return te||be}}),G}u.languages.md=u.languages.markdown})(r)}},51478:function(x){"use strict";x.exports=c,c.displayName="markupTemplating",c.aliases=[];function c(r){(function(u){function y(v,b){return"___"+v.toUpperCase()+b+"___"}Object.defineProperties(u.languages["markup-templating"]={},{buildPlaceholders:{value:function(v,b,k,f){if(v.language===b){var R=v.tokenStack=[];v.code=v.code.replace(k,function(z){if(typeof f=="function"&&!f(z))return z;for(var D=R.length,I;v.code.indexOf(I=y(b,D))!==-1;)++D;return R[D]=z,I}),v.grammar=u.languages.markup}}},tokenizePlaceholders:{value:function(v,b){if(v.language!==b||!v.tokenStack)return;v.grammar=u.languages[b];var k=0,f=Object.keys(v.tokenStack);function R(z){for(var D=0;D<z.length&&!(k>=f.length);D++){var I=z[D];if(typeof I=="string"||I.content&&typeof I.content=="string"){var ae=f[k],G=v.tokenStack[ae],be=typeof I=="string"?I:I.content,ce=y(b,ae),ue=be.indexOf(ce);if(ue>-1){++k;var te=be.substring(0,ue),X=new u.Token(b,u.tokenize(G,v.grammar),"language-"+b,G),q=be.substring(ue+ce.length),Z=[];te&&Z.push.apply(Z,R([te])),Z.push(X),q&&Z.push.apply(Z,R([q])),typeof I=="string"?z.splice.apply(z,[D,1].concat(Z)):I.content=Z}}else I.content&&R(I.content)}return z}R(v.tokens)}}})})(r)}},70614:function(x){"use strict";x.exports=c,c.displayName="markup",c.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function c(r){r.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]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(y,v){var b={};b["language-"+v]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[v]},b.cdata=/^<!\[CDATA\[|\]\]>$/i;var k={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:b}};k["language-"+v]={pattern:/[\s\S]+/,inside:r.languages[v]};var f={};f[y]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return y}),"i"),lookbehind:!0,greedy:!0,inside:k},r.languages.insertBefore("markup","cdata",f)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(u,y){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\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:[y,"language-"+y],inside:r.languages[y]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml}},16928:function(x){"use strict";x.exports=c,c.displayName="matlab",c.aliases=[];function c(r){r.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}|[.,;\[\](){}!]/}}},13586:function(x){"use strict";x.exports=c,c.displayName="maxscript",c.aliases=[];function c(r){(function(u){var y=/\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;u.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)+")[ ]*)(?!"+y.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+y.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:y,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}})(r)}},37164:function(x){"use strict";x.exports=c,c.displayName="mel",c.aliases=[];function c(r){r.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:/<<|>>|[.,:;?\[\](){}]/},r.languages.mel.code.inside.rest=r.languages.mel}},25153:function(x){"use strict";x.exports=c,c.displayName="mermaid",c.aliases=[];function c(r){r.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:/[(){};]/}}},33245:function(x){"use strict";x.exports=c,c.displayName="mizar",c.aliases=[];function c(r){r.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:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(x){"use strict";x.exports=c,c.displayName="mongodb",c.aliases=[];function c(r){(function(u){var y=["$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"],v=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];y=y.map(function(k){return k.replace("$","\\$")});var b="(?:"+y.join("|")+")\\b";u.languages.mongodb=u.languages.extend("javascript",{}),u.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(`^(['"])?`+b+"(?:\\1)?$")}}}),u.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}},u.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+v.join("|")+")\\b"),alias:"keyword"}})})(r)}},65626:function(x){"use strict";x.exports=c,c.displayName="monkey",c.aliases=[];function c(r){r.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:/[.,:;()\[\]]/}}},60090:function(x){"use strict";x.exports=c,c.displayName="moonscript",c.aliases=["moon"];function c(r){r.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:/[.,()[\]{}\\]/},r.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=r.languages.moonscript,r.languages.moon=r.languages.moonscript}},40722:function(x){"use strict";x.exports=c,c.displayName="n1ql",c.aliases=[];function c(r){r.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:/[;[\](),.{}:]/}}},37783:function(x){"use strict";x.exports=c,c.displayName="n4js",c.aliases=["n4jsd"];function c(r){r.languages.n4js=r.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/}),r.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),r.languages.n4jsd=r.languages.n4js}},41224:function(x){"use strict";x.exports=c,c.displayName="nand2tetrisHdl",c.aliases=[];function c(r){r.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:/[{}[\];(),:]/}}},71365:function(x){"use strict";x.exports=c,c.displayName="naniscript",c.aliases=[];function c(r){(function(u){var y=/\{[^\r\n\[\]{}]*\}/,v={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:y,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};u.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:y,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:v}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:y,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:v},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},u.languages.nani=u.languages.naniscript,u.hooks.add("after-tokenize",function(f){var R=f.tokens;R.forEach(function(z){if(typeof z!="string"&&z.type==="generic-text"){var D=k(z);b(D)||(z.type="bad-line",z.content=D)}})});function b(f){for(var R="[]{}",z=[],D=0;D<f.length;D++){var I=f[D],ae=R.indexOf(I);if(ae!==-1){if(ae%2===0)z.push(ae+1);else if(z.pop()!==ae)return!1}}return z.length===0}function k(f){return typeof f=="string"?f:Array.isArray(f)?f.map(k).join(""):k(f.content)}})(r)}},42846:function(x){"use strict";x.exports=c,c.displayName="nasm",c.aliases=[];function c(r){r.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:/[\[\]*+\-\/%<>=&|$!]/}}},32964:function(x){"use strict";x.exports=c,c.displayName="neon",c.aliases=[];function c(r){r.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:/[,:=[\]{}()-]/}}},78830:function(x){"use strict";x.exports=c,c.displayName="nevod",c.aliases=[];function c(r){r.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\-.]+/}}},88799:function(x){"use strict";x.exports=c,c.displayName="nginx",c.aliases=[];function c(r){(function(u){var y=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;u.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:y}},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:y}},punctuation:/[{};]/}})(r)}},66791:function(x){"use strict";x.exports=c,c.displayName="nim",c.aliases=[];function c(r){r.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:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(x){"use strict";x.exports=c,c.displayName="nix",c.aliases=[];function c(r){r.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:/[{}()[\].,:;]/},r.languages.nix.string.inside.interpolation.inside=r.languages.nix}},13490:function(x){"use strict";x.exports=c,c.displayName="nsis",c.aliases=[];function c(r){r.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}}}},7383:function(x,c,r){"use strict";var u=r(79440);x.exports=y,y.displayName="objectivec",y.aliases=["objc"];function y(v){v.register(u),v.languages.objectivec=v.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 v.languages.objectivec["class-name"],v.languages.objc=v.languages.objectivec}},66894:function(x){"use strict";x.exports=c,c.displayName="ocaml",c.aliases=[];function c(r){r.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/}}},45779:function(x,c,r){"use strict";var u=r(79440);x.exports=y,y.displayName="opencl",y.aliases=[];function y(v){v.register(u),function(b){b.languages.opencl=b.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"}}),b.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 k={"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"}};b.languages.insertBefore("c","keyword",k),b.languages.cpp&&(k["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"},b.languages.insertBefore("cpp","keyword",k))}(v)}},27734:function(x){"use strict";x.exports=c,c.displayName="openqasm",c.aliases=["qasm"];function c(r){r.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:/[(){}\[\];,:.]/},r.languages.qasm=r.languages.openqasm}},91889:function(x){"use strict";x.exports=c,c.displayName="oz",c.aliases=[];function c(r){r.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:/[\[\](){}.:;?]/}}},55965:function(x){"use strict";x.exports=c,c.displayName="parigp",c.aliases=[];function c(r){r.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var u=["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 u=u.map(function(y){return y.split("").join(" *")}).join("|"),RegExp("\\b(?:"+u+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(x){"use strict";x.exports=c,c.displayName="parser",c.aliases=[];function c(r){(function(u){var y=u.languages.parser=u.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:/[\[\](){};]/});y=u.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:y.keyword,variable:y.variable,function:y.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:y.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:y.punctuation}}}),u.languages.insertBefore("inside","punctuation",{expression:y.expression,keyword:y.keyword,variable:y.variable,function:y.function,escape:y.escape,"parser-punctuation":{pattern:y.punctuation,alias:"punctuation"}},y.tag.inside["attr-value"])})(r)}},92949:function(x){"use strict";x.exports=c,c.displayName="pascal",c.aliases=["objectpascal"];function c(r){r.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:/\(\.|\.\)|[()\[\]:;,.]/},r.languages.pascal.asm.inside=r.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),r.languages.objectpascal=r.languages.pascal}},5681:function(x){"use strict";x.exports=c,c.displayName="pascaligo",c.aliases=[];function c(r){(function(u){var y=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,v=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return y}),b=u.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 v}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return v}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return v})),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:/\(\.|\.\)|[()\[\]:;,.{}]/},k=["comment","keyword","builtin","operator","punctuation"].reduce(function(f,R){return f[R]=b[R],f},{});b["class-name"].forEach(function(f){f.inside=k})})(r)}},70696:function(x){"use strict";x.exports=c,c.displayName="pcaxis",c.aliases=["px"];function c(r){r.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/},r.languages.px=r.languages.pcaxis}},35790:function(x){"use strict";x.exports=c,c.displayName="peoplecode",c.aliases=["pcode"];function c(r){r.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:/[:.;,()[\]]/},r.languages.pcode=r.languages.peoplecode}},25777:function(x){"use strict";x.exports=c,c.displayName="perl",c.aliases=[];function c(r){(function(u){var y=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;u.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,y].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,y].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,y+/\s*/.source+y].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:/[{}[\];(),:]/}})(r)}},65889:function(x,c,r){"use strict";var u=r(53852);x.exports=y,y.displayName="phpExtras",y.aliases=[];function y(v){v.register(u),v.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:/::|\\/}}})}},53852:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="php",y.aliases=[];function y(v){v.register(u),function(b){var k=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,f=[{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*\()/],R=/\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,z=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,D=/[{}\[\](),:;]/;b.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:k,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:f,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:R,operator:z,punctuation:D};var I={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:b.languages.php},ae=[{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:I}},{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:I}}];b.languages.insertBefore("php","variable",{string:ae,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:k,string:ae,"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:f,number:R,operator:z,punctuation:D}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),b.hooks.add("before-tokenize",function(G){if(/<\?/.test(G.code)){var be=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;b.languages["markup-templating"].buildPlaceholders(G,"php",be)}}),b.hooks.add("after-tokenize",function(G){b.languages["markup-templating"].tokenizePlaceholders(G,"php")})}(v)}},97719:function(x,c,r){"use strict";var u=r(53852),y=r(53510);x.exports=v,v.displayName="phpdoc",v.aliases=[];function v(b){b.register(u),b.register(y),function(k){var f=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;k.languages.phpdoc=k.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+f+"\\s+)?)\\$\\w+"),lookbehind:!0}}),k.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+f),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),k.languages.javadoclike.addSupport("php",k.languages.phpdoc)}(b)}},63839:function(x,c,r){"use strict";var u=r(69435);x.exports=y,y.displayName="plsql",y.aliases=[];function y(v){v.register(u),v.languages.plsql=v.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:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),v.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(x){"use strict";x.exports=c,c.displayName="powerquery",c.aliases=[];function c(r){r.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:/[,;\[\](){}]/},r.languages.pq=r.languages.powerquery,r.languages.mscript=r.languages.powerquery}},32530:function(x){"use strict";x.exports=c,c.displayName="powershell",c.aliases=[];function c(r){(function(u){var y=u.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:/[|{}[\];(),.]/};y.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:y},boolean:y.boolean,variable:y.variable}})(r)}},8938:function(x){"use strict";x.exports=c,c.displayName="processing",c.aliases=[];function c(r){r.languages.processing=r.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:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),r.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"}})}},55259:function(x){"use strict";x.exports=c,c.displayName="prolog",c.aliases=[];function c(r){r.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:/[(){}\[\],]/}}},67411:function(x){"use strict";x.exports=c,c.displayName="promql",c.aliases=[];function c(r){(function(u){var y=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],v=["on","ignoring","group_right","group_left","by","without"],b=["offset"],k=y.concat(v,b);u.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+v.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(?:"+k.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:/[{};()`,.[\]]/}})(r)}},15375:function(x){"use strict";x.exports=c,c.displayName="properties",c.aliases=[];function c(r){r.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:/[=:]/}}},12093:function(x){"use strict";x.exports=c,c.displayName="protobuf",c.aliases=[];function c(r){(function(u){var y=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;u.languages.protobuf=u.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}),u.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:y}},builtin:y,"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}})})(r)}},83588:function(x){"use strict";x.exports=c,c.displayName="psl",c.aliases=[];function c(r){r.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:/[(){}\[\];,]/}}},94127:function(x){"use strict";x.exports=c,c.displayName="pug",c.aliases=[];function c(r){(function(u){u.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:u.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:u.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:u.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:u.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:u.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:u.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:u.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:u.languages.javascript}],punctuation:/[.\-!=|]+/};for(var y=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,v=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],b={},k=0,f=v.length;k<f;k++){var R=v[k];R=typeof R=="string"?{filter:R,language:R}:R,u.languages[R.language]&&(b["filter-"+R.filter]={pattern:RegExp(y.replace("<filter_name>",function(){return R.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[R.language,"language-"+R.language],inside:u.languages[R.language]}}})}u.languages.insertBefore("pug","filter",b)})(r)}},21294:function(x){"use strict";x.exports=c,c.displayName="puppet",c.aliases=[];function c(r){(function(u){u.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 y=[{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:u.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];u.languages.puppet.heredoc[0].inside.interpolation=y,u.languages.puppet.string.inside["double-quoted"].inside.interpolation=y})(r)}},38709:function(x){"use strict";x.exports=c,c.displayName="pure",c.aliases=[];function c(r){(function(u){u.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 y=["c",{lang:"c++",alias:"cpp"},"fortran"],v=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;y.forEach(function(b){var k=b;if(typeof b!="string"&&(k=b.alias,b=b.lang),u.languages[k]){var f={};f["inline-lang-"+k]={pattern:RegExp(v.replace("<lang>",b.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:u.util.clone(u.languages.pure["inline-lang"].inside)},f["inline-lang-"+k].inside.rest=u.util.clone(u.languages[k]),u.languages.insertBefore("pure","inline-lang",f)}}),u.languages.c&&(u.languages.pure["inline-lang"].inside.rest=u.util.clone(u.languages.c))})(r)}},15008:function(x){"use strict";x.exports=c,c.displayName="purebasic",c.aliases=[];function c(r){r.languages.purebasic=r.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+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),r.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 r.languages.purebasic["class-name"],delete r.languages.purebasic.boolean,r.languages.pbfasm=r.languages.purebasic}},96549:function(x,c,r){"use strict";var u=r(2050);x.exports=y,y.displayName="purescript",y.aliases=["purs"];function y(v){v.register(u),v.languages.purescript=v.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:[v.languages.haskell.operator[0],v.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]/]}),v.languages.purs=v.languages.purescript}},5221:function(x){"use strict";x.exports=c,c.displayName="python",c.aliases=["py"];function c(r){r.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:/[{}[\];(),.:]/},r.languages.python["string-interpolation"].inside.interpolation.inside.rest=r.languages.python,r.languages.py=r.languages.python}},27447:function(x){"use strict";x.exports=c,c.displayName="q",c.aliases=[];function c(r){r.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:/[(){}\[\];.]/}}},73191:function(x){"use strict";x.exports=c,c.displayName="qml",c.aliases=[];function c(r){(function(u){for(var y=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,v=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,b=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return y}).replace(/<comment>/g,function(){return v}),k=0;k<2;k++)b=b.replace(/<expr>/g,function(){return b});b=b.replace(/<expr>/g,"[^\\s\\S]"),u.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 b}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:u.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 b}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:u.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(r)}},75542:function(x){"use strict";x.exports=c,c.displayName="qore",c.aliases=[];function c(r){r.languages.qore=r.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/})}},50323:function(x){"use strict";x.exports=c,c.displayName="qsharp",c.aliases=["qs"];function c(r){(function(u){function y(be,ce){return be.replace(/<<(\d+)>>/g,function(ue,te){return"(?:"+ce[+te]+")"})}function v(be,ce,ue){return RegExp(y(be,ce),ue||"")}function b(be,ce){for(var ue=0;ue<ce;ue++)be=be.replace(/<<self>>/g,function(){return"(?:"+be+")"});return be.replace(/<<self>>/g,"[^\\s\\S]")}var k={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 f(be){return"\\b(?:"+be.trim().replace(/ /g,"|")+")\\b"}var R=RegExp(f(k.type+" "+k.other)),z=/\b[A-Za-z_]\w*\b/.source,D=y(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[z]),I={keyword:R,punctuation:/[<>()?,.:[\]]/},ae=/"(?:\\.|[^\\"])*"/.source;u.languages.qsharp=u.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:v(/(^|[^$\\])<<0>>/.source,[ae]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:v(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[D]),lookbehind:!0,inside:I},{pattern:v(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[D]),lookbehind:!0,inside:I}],keyword:R,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:/::|[{}[\];(),.:]/}),u.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var G=b(y(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[ae]),2);u.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:v(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[G]),greedy:!0,inside:{interpolation:{pattern:v(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[G]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:u.languages.qsharp}}},string:/[\s\S]+/}}})})(r),r.languages.qs=r.languages.qsharp}},44298:function(x){"use strict";x.exports=c,c.displayName="r",c.aliases=[];function c(r){r.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:/[(){}\[\],;]/}}},9634:function(x,c,r){"use strict";var u=r(48780);x.exports=y,y.displayName="racket",y.aliases=["rkt"];function y(v){v.register(u),v.languages.racket=v.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),v.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),v.languages.rkt=v.languages.racket}},75266:function(x){"use strict";x.exports=c,c.displayName="reason",c.aliases=[];function c(r){r.languages.reason=r.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/}),r.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 r.languages.reason.function}},48139:function(x){"use strict";x.exports=c,c.displayName="regex",c.aliases=[];function c(r){(function(u){var y={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},v=/\\(?: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]|.)/,b={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},k={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},f="(?:[^\\\\-]|"+v.source+")",R=RegExp(f+"-"+f),z={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};u.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:R,inside:{escape:v,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":y,"char-set":k,escape:v}},"special-escape":y,"char-set":b,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":z}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:v,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":z}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(r)}},97534:function(x){"use strict";x.exports=c,c.displayName="rego",c.aliases=[];function c(r){r.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:/[,;.\[\]{}()]/}}},90826:function(x){"use strict";x.exports=c,c.displayName="renpy",c.aliases=["rpy"];function c(r){r.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:/[{}[\];(),.:]/},r.languages.rpy=r.languages.renpy}},63919:function(x){"use strict";x.exports=c,c.displayName="rest",c.aliases=[];function c(r){r.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}}}},68862:function(x){"use strict";x.exports=c,c.displayName="rip",c.aliases=[];function c(r){r.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`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(x){"use strict";x.exports=c,c.displayName="roboconf",c.aliases=[];function c(r){r.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:/[{},.;:=]/}}},31207:function(x){"use strict";x.exports=c,c.displayName="robotframework",c.aliases=[];function c(r){(function(u){var y={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},v={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function b(z,D){var I={};I["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var ae in D)I[ae]=D[ae];return I.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},I.variable=v,I.comment=y,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return z}),"im"),alias:"section",inside:I}}var k={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},f={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:v}},R={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:v}};u.languages.robotframework={settings:b("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:b("Variables"),"test-cases":b("Test Cases",{"test-name":f,documentation:k,property:R}),keywords:b("Keywords",{"keyword-name":f,documentation:k,property:R}),tasks:b("Tasks",{"task-name":f,documentation:k,property:R}),comment:y},u.languages.robot=u.languages.robotframework})(r)}},75308:function(x){"use strict";x.exports=c,c.displayName="ruby",c.aliases=["rb"];function c(r){(function(u){u.languages.ruby=u.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:/[(){}[\].,;]/}),u.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var y={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:u.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete u.languages.ruby.function;var v="(?:"+[/([^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("|")+")",b=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;u.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+v+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:y,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:y,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+b),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+b+/(?=:(?!:))/.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:/\./}}}),u.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+v),greedy:!0,inside:{interpolation:y,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:y,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:y,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+v),greedy:!0,inside:{interpolation:y,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:y,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete u.languages.ruby.string,u.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)/}),u.languages.rb=u.languages.ruby})(r)}},45315:function(x){"use strict";x.exports=c,c.displayName="rust",c.aliases=[];function c(r){(function(u){for(var y=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,v=0;v<2;v++)y=y.replace(/<self>/g,function(){return y});y=y.replace(/<self>/g,function(){return/[^\s\S]/.source}),u.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+y),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},u.languages.rust["closure-params"].inside.rest=u.languages.rust,u.languages.rust.attribute.inside.string=u.languages.rust.string})(r)}},13794:function(x){"use strict";x.exports=c,c.displayName="sas",c.aliases=[];function c(r){(function(u){var y=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,v=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,b={pattern:RegExp(y+"[bx]"),alias:"number"},k={pattern:/&[a-z_]\w*/i},f={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"},R={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},z=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],D={pattern:RegExp(y),greedy:!0},I=/[$%@.(){}\[\];,\\]/,ae={pattern:/%?\b\w+(?=\()/,alias:"keyword"},G={function:ae,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":k,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:v,"numeric-constant":b,punctuation:I,string:D},be={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},ce={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},ue={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"},te={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},X=/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,q={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return X}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return X}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:z,function:ae,"arg-value":G["arg-value"],operator:G.operator,argument:G.arg,number:v,"numeric-constant":b,punctuation:I,string:D}},Z={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};u.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 y}),"im"),alias:"language-sql",inside:u.languages.sql},"global-statements":ue,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:v,"numeric-constant":b,punctuation:I,string:D}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:z,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return y}),"im"),lookbehind:!0,alias:"language-groovy",inside:u.languages.groovy},keyword:Z,"submit-statement":te,"global-statements":ue,number:v,"numeric-constant":b,punctuation:I,string:D}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:z,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return y}),"im"),lookbehind:!0,alias:"language-lua",inside:u.languages.lua},keyword:Z,"submit-statement":te,"global-statements":ue,number:v,"numeric-constant":b,punctuation:I,string:D}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:z,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:G}},"cas-actions":q,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:G},step:R,keyword:Z,function:ae,format:be,altformat:ce,"global-statements":ue,number:v,"numeric-constant":b,punctuation:I,string:D}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return y}),"im"),lookbehind:!0,inside:G},"macro-keyword":f,"macro-variable":k,"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":f,"macro-variable":k,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:I}},"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:z,number:v,"numeric-constant":b}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:G},"cas-actions":q,comment:z,function:ae,format:be,altformat:ce,"numeric-constant":b,datetime:{pattern:RegExp(y+"(?:dt?|t)"),alias:"number"},string:D,step:R,keyword:Z,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:v,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:I}})(r)}},41299:function(x){"use strict";x.exports=c,c.displayName="sass",c.aliases=[];function c(r){(function(u){u.languages.sass=u.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),u.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete u.languages.sass.atrule;var y=/\$[-\w]+|#\{\$[-\w]+\}/,v=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];u.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:y,operator:v}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:y,operator:v,important:u.languages.sass.important}}}),delete u.languages.sass.property,delete u.languages.sass.important,u.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}})})(r)}},98177:function(x,c,r){"use strict";var u=r(7093);x.exports=y,y.displayName="scala",y.aliases=[];function y(v){v.register(u),v.languages.scala=v.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*/}),v.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:v.languages.scala}}},string:/[\s\S]+/}}}),delete v.languages.scala["class-name"],delete v.languages.scala.function}},48780:function(x){"use strict";x.exports=c,c.displayName="scheme",c.aliases=[];function c(r){(function(u){u.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(y({"<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 y(v){for(var b in v)v[b]=v[b].replace(/<[\w\s]+>/g,function(k){return"(?:"+v[k].trim()+")"});return v[b]}})(r)}},79793:function(x){"use strict";x.exports=c,c.displayName="scss",c.aliases=[];function c(r){r.languages.scss=r.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]+\}/}}}),r.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}]}),r.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),r.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}}),r.languages.scss.atrule.inside.rest=r.languages.scss}},52085:function(x,c,r){"use strict";var u=r(3058);x.exports=y,y.displayName="shellSession",y.aliases=[];function y(v){v.register(u),function(b){var k=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");b.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 k}),"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:b.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},b.languages["sh-session"]=b.languages.shellsession=b.languages["shell-session"]}(v)}},65411:function(x){"use strict";x.exports=c,c.displayName="smali",c.aliases=[];function c(r){r.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:/[{}(),;:]/}}},84750:function(x){"use strict";x.exports=c,c.displayName="smalltalk",c.aliases=[];function c(r){r.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:/[.;:?\[\](){}]/}}},88216:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="smarty",y.aliases=[];function y(v){v.register(u),function(b){b.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:b.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/]},b.languages.smarty["embedded-php"].inside.smarty.inside=b.languages.smarty,b.languages.smarty.string[0].inside.interpolation.inside.expression.inside=b.languages.smarty;var k=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,f=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return k.source}),"g");b.hooks.add("before-tokenize",function(R){var z="{literal}",D="{/literal}",I=!1;b.languages["markup-templating"].buildPlaceholders(R,"smarty",f,function(ae){return ae===D&&(I=!1),I?!1:(ae===z&&(I=!0),!0)})}),b.hooks.add("after-tokenize",function(R){b.languages["markup-templating"].tokenizePlaceholders(R,"smarty")})}(v)}},66433:function(x){"use strict";x.exports=c,c.displayName="sml",c.aliases=["smlnj"];function c(r){(function(u){var y=/\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;u.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 y.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:y,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:/[(){}\[\].:,;]/},u.languages.sml["class-name"][0].inside=u.languages.sml,u.languages.smlnj=u.languages.sml})(r)}},34855:function(x){"use strict";x.exports=c,c.displayName="solidity",c.aliases=["sol"];function c(r){r.languages.solidity=r.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:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),r.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/}),r.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),r.languages.sol=r.languages.solidity}},12998:function(x){"use strict";x.exports=c,c.displayName="solutionFile",c.aliases=[];function c(r){(function(u){var y={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};u.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:y}},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:y}},guid:y,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},u.languages.sln=u.languages["solution-file"]})(r)}},10202:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="soy",y.aliases=[];function y(v){v.register(u),function(b){var k=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,f=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;b.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:k,greedy:!0},number:f,punctuation:/[\[\].?]/}},string:{pattern:k,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:f,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},b.hooks.add("before-tokenize",function(R){var z=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,D="{literal}",I="{/literal}",ae=!1;b.languages["markup-templating"].buildPlaceholders(R,"soy",z,function(G){return G===I&&(ae=!1),ae?!1:(G===D&&(ae=!0),!0)})}),b.hooks.add("after-tokenize",function(R){b.languages["markup-templating"].tokenizePlaceholders(R,"soy")})}(v)}},41186:function(x,c,r){"use strict";var u=r(58710);x.exports=y,y.displayName="sparql",y.aliases=["rq"];function y(v){v.register(u),v.languages.sparql=v.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),v.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]}),v.languages.rq=v.languages.sparql}},68963:function(x){"use strict";x.exports=c,c.displayName="splunkSpl",c.aliases=[];function c(r){r.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:/[()[\],]/}}},5569:function(x){"use strict";x.exports=c,c.displayName="sqf",c.aliases=[];function c(r){r.languages.sqf=r.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}),r.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:r.languages.sqf.comment}}}),delete r.languages.sqf["class-name"]}},69435:function(x){"use strict";x.exports=c,c.displayName="sql",c.aliases=[];function c(r){r.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:/[;[\]()`,.]/}}},42766:function(x){"use strict";x.exports=c,c.displayName="squirrel",c.aliases=[];function c(r){r.languages.squirrel=r.languages.extend("clike",{comment:[r.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:/[(){}\[\],;.]/}),r.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(x){"use strict";x.exports=c,c.displayName="stan",c.aliases=[];function c(r){(function(u){var y=/\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/;u.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("("+y.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/,y],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:/[()\[\]{},;]/},u.languages.stan.constraint.inside.expression.inside=u.languages.stan})(r)}},89032:function(x){"use strict";x.exports=c,c.displayName="stylus",c.aliases=[];function c(r){(function(u){var y={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},v={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},b={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:y,number:v,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:y,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:v,punctuation:/[{}()\[\];:,]/};b.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:b}},b.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:b}},u.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:b}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:b}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:b}},"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:b.interpolation}},rest:b}},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:b.interpolation,comment:b.comment,punctuation:/[{},]/}},func:b.func,string:b.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:b.interpolation,punctuation:/[{}()\[\];:.]/}})(r)}},40241:function(x){"use strict";x.exports=c,c.displayName="swift",c.aliases=[];function c(r){r.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:/[{}[\]();,.:\\]/},r.languages.swift["string-literal"].forEach(function(u){u.inside.interpolation.inside=r.languages.swift})}},24812:function(x){"use strict";x.exports=c,c.displayName="systemd",c.aliases=[];function c(r){(function(u){var y={pattern:/^[;#].*/m,greedy:!0},v=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;u.languages.systemd={comment:y,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+"(?:"+v+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+v+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:y,quoted:{pattern:RegExp(/(^|\s)/.source+v),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(r)}},16747:function(x,c,r){"use strict";var u=r(73584),y=r(87648);x.exports=v,v.displayName="t4Cs",v.aliases=[];function v(b){b.register(u),b.register(y),b.languages.t4=b.languages["t4-cs"]=b.languages["t4-templating"].createT4("csharp")}},73584:function(x){"use strict";x.exports=c,c.displayName="t4Templating",c.aliases=[];function c(r){(function(u){function y(b,k,f){return{pattern:RegExp("<#"+b+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+b+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:k,alias:f}}}}function v(b){var k=u.languages[b],f="language-"+b;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:y("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:y("=",k,f),"class-feature":y("\\+",k,f),standard:y("",k,f)}}}}u.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:v})})(r)}},79243:function(x,c,r){"use strict";var u=r(73584),y=r(55686);x.exports=v,v.displayName="t4Vb",v.aliases=[];function v(b){b.register(u),b.register(y),b.languages["t4-vb"]=b.languages["t4-templating"].createT4("vbnet")}},31788:function(x,c,r){"use strict";var u=r(14409);x.exports=y,y.displayName="tap",y.aliases=[];function y(v){v.register(u),v.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:v.languages.yaml,alias:"language-yaml"}}}},60871:function(x){"use strict";x.exports=c,c.displayName="tcl",c.aliases=[];function c(r){r.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:/[{}()\[\]]/}}},21023:function(x){"use strict";x.exports=c,c.displayName="textile",c.aliases=[];function c(r){(function(u){var y=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,v=/\)|\((?![^|()\n]+\))/.source;function b(ae,G){return RegExp(ae.replace(/<MOD>/g,function(){return"(?:"+y+")"}).replace(/<PAR>/g,function(){return"(?:"+v+")"}),G||"")}var k={css:{pattern:/\{[^{}]+\}/,inside:{rest:u.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},f=u.languages.textile=u.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:b(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:b(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:k},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:b(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:b(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:k},punctuation:/^[*#]+/}},table:{pattern:b(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:b(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:k},punctuation:/\||^\./}},inline:{pattern:b(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:b(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:b(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:b(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:b(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:b(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:b(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:b(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:b(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:k},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:b(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:b(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:b(/(^")<MOD>+/.source),lookbehind:!0,inside:k},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:b(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:b(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:b(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:k},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:/[()]/}}}}}),R=f.phrase.inside,z={inline:R.inline,link:R.link,image:R.image,footnote:R.footnote,acronym:R.acronym,mark:R.mark};f.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var D=R.inline.inside;D.bold.inside=z,D.italic.inside=z,D.inserted.inside=z,D.deleted.inside=z,D.span.inside=z;var I=R.table.inside;I.inline=z.inline,I.link=z.link,I.image=z.image,I.footnote=z.footnote,I.acronym=z.acronym,I.mark=z.mark})(r)}},14693:function(x){"use strict";x.exports=c,c.displayName="toml",c.aliases=[];function c(r){(function(u){var y=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function v(b){return b.replace(/__/g,function(){return y})}u.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(v(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(v(/(^[\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:/[.,=[\]{}]/}})(r)}},8743:function(x){"use strict";x.exports=c,c.displayName="tremor",c.aliases=[];function c(r){(function(u){u.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 y=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;u.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+y+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+y+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(y),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:u.languages.tremor}}},string:/[\s\S]+/}},u.languages.troy=u.languages.tremor,u.languages.trickle=u.languages.tremor})(r)}},1689:function(x,c,r){"use strict";var u=r(24103),y=r(92784);x.exports=v,v.displayName="tsx",v.aliases=[];function v(b){b.register(u),b.register(y),function(k){var f=k.util.clone(k.languages.typescript);k.languages.tsx=k.languages.extend("jsx",f),delete k.languages.tsx.parameter,delete k.languages.tsx["literal-property"];var R=k.languages.tsx.tag;R.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+R.pattern.source+")",R.pattern.flags),R.lookbehind=!0}(b)}},69210:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="tt2",y.aliases=[];function y(v){v.register(u),function(b){b.languages.tt2=b.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:/[[\]{},()]/}),b.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),b.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),b.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 b.languages.tt2.string,b.hooks.add("before-tokenize",function(k){var f=/\[%[\s\S]+?%\]/g;b.languages["markup-templating"].buildPlaceholders(k,"tt2",f)}),b.hooks.add("after-tokenize",function(k){b.languages["markup-templating"].tokenizePlaceholders(k,"tt2")})}(v)}},58710:function(x){"use strict";x.exports=c,c.displayName="turtle",c.aliases=[];function c(r){r.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:/@/}}},r.languages.trig=r.languages.turtle}},60452:function(x,c,r){"use strict";var u=r(51478);x.exports=y,y.displayName="twig",y.aliases=[];function y(v){v.register(u),v.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:/[()\[\]{}:.,]/},v.hooks.add("before-tokenize",function(b){if(b.language==="twig"){var k=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;v.languages["markup-templating"].buildPlaceholders(b,"twig",k)}}),v.hooks.add("after-tokenize",function(b){v.languages["markup-templating"].tokenizePlaceholders(b,"twig")})}},92784:function(x){"use strict";x.exports=c,c.displayName="typescript",c.aliases=["ts"];function c(r){(function(u){u.languages.typescript=u.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/}),u.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 u.languages.typescript.parameter,delete u.languages.typescript["literal-property"];var y=u.languages.extend("typescript",{});delete y["class-name"],u.languages.typescript["class-name"].inside=y,u.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:y}}}}),u.languages.ts=u.languages.typescript})(r)}},36489:function(x){"use strict";x.exports=c,c.displayName="typoscript",c.aliases=["tsconfig"];function c(r){(function(u){var y=/\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/;u.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:y}},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:y,number:/^\d+$/,punctuation:/[,|:]/}},keyword:y,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},u.languages.tsconfig=u.languages.typoscript})(r)}},78380:function(x){"use strict";x.exports=c,c.displayName="unrealscript",c.aliases=["uc","uscript"];function c(r){r.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:/[()[\]{};,.]/},r.languages.uc=r.languages.uscript=r.languages.unrealscript}},10409:function(x){"use strict";x.exports=c,c.displayName="uorazor",c.aliases=[];function c(r){r.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:/[()\[\]{}:.,]/}}},6539:function(x){"use strict";x.exports=c,c.displayName="uri",c.aliases=["url"];function c(r){r.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":/\//}}},r.languages.url=r.languages.uri}},82028:function(x){"use strict";x.exports=c,c.displayName="v",c.aliases=[];function c(r){(function(u){var y={pattern:/[\s\S]+/,inside:null};u.languages.v=u.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":y}}}},"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/}),y.inside=u.languages.v,u.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),u.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+/}}}),u.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:u.languages.v.generic.inside}}}})})(r)}},62282:function(x){"use strict";x.exports=c,c.displayName="vala",c.aliases=[];function c(r){r.languages.vala=r.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/}),r.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:r.languages.vala}},string:/[\s\S]+/}}}),r.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:r.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(x,c,r){"use strict";var u=r(51422);x.exports=y,y.displayName="vbnet",y.aliases=[];function y(v){v.register(u),v.languages.vbnet=v.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:/[,;:(){}]/})}},70889:function(x){"use strict";x.exports=c,c.displayName="velocity",c.aliases=[];function c(r){(function(u){u.languages.velocity=u.languages.extend("markup",{});var y={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:/[(){}[\]:,.]/};y.variable.inside={string:y.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:y.number,boolean:y.boolean,punctuation:y.punctuation},u.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:y}},variable:y.variable}),u.languages.velocity.tag.inside["attr-value"].inside.rest=u.languages.velocity})(r)}},37116:function(x){"use strict";x.exports=c,c.displayName="verilog",c.aliases=[];function c(r){r.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:/[[\];(),.:]/}}},66963:function(x){"use strict";x.exports=c,c.displayName="vhdl",c.aliases=[];function c(r){r.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:/[{}[\];(),.:]/}}},21078:function(x){"use strict";x.exports=c,c.displayName="vim",c.aliases=[];function c(r){r.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:/[{}[\](),;:]/}}},96198:function(x){"use strict";x.exports=c,c.displayName="visualBasic",c.aliases=[];function c(r){r.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:/[{}().,:?]/},r.languages.vb=r.languages["visual-basic"],r.languages.vba=r.languages["visual-basic"]}},17723:function(x){"use strict";x.exports=c,c.displayName="warpscript",c.aliases=[];function c(r){r.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/}}},67771:function(x){"use strict";x.exports=c,c.displayName="wasm",c.aliases=[];function c(r){r.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:/[()]/}}},30307:function(x){"use strict";x.exports=c,c.displayName="webIdl",c.aliases=[];function c(r){(function(u){var y=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,v="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+y+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,b={};u.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+y),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:b},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+v),lookbehind:!0,inside:b},{pattern:RegExp("("+/\bcallback\s+/.source+y+/\s*=\s*/.source+")"+v),lookbehind:!0,inside:b},{pattern:RegExp(/(\btypedef\b\s*)/.source+v),lookbehind:!0,inside:b},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+y),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+y),lookbehind:!0},RegExp(y+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+y),lookbehind:!0},{pattern:RegExp(v+"(?="+/\s*(?:\.{3}\s*)?/.source+y+/\s*[(),;=]/.source+")"),inside:b}],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 k in u.languages["web-idl"])k!=="class-name"&&(b[k]=u.languages["web-idl"][k]);u.languages.webidl=u.languages["web-idl"]})(r)}},8921:function(x){"use strict";x.exports=c,c.displayName="wiki",c.aliases=[];function c(r){r.languages.wiki=r.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:r.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),r.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:r.languages.markup.tag.inside}}}})}},13429:function(x){"use strict";x.exports=c,c.displayName="wolfram",c.aliases=["mathematica","wl","nb"];function c(r){r.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:/[{}[\];(),.:]/},r.languages.mathematica=r.languages.wolfram,r.languages.wl=r.languages.wolfram,r.languages.nb=r.languages.wolfram}},65197:function(x){"use strict";x.exports=c,c.displayName="wren",c.aliases=[];function c(r){r.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:/[\[\](){}.,;]/},r.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:r.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(x){"use strict";x.exports=c,c.displayName="xeora",c.aliases=["xeoracube"];function c(r){(function(u){u.languages.xeora=u.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"}}),u.languages.insertBefore("inside","punctuation",{variable:u.languages.xeora["function-inline"].inside.variable},u.languages.xeora["function-block"]),u.languages.xeoracube=u.languages.xeora})(r)}},35:function(x){"use strict";x.exports=c,c.displayName="xmlDoc",c.aliases=[];function c(r){(function(u){function y(f,R){u.languages[f]&&u.languages.insertBefore(f,"comment",{"doc-comment":R})}var v=u.languages.markup.tag,b={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:v}},k={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:v}};y("csharp",b),y("fsharp",b),y("vbnet",k)})(r)}},86095:function(x){"use strict";x.exports=c,c.displayName="xojo",c.aliases=[];function c(r){r.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:/[.,;:()]/}}},76998:function(x){"use strict";x.exports=c,c.displayName="xquery",c.aliases=[];function c(r){(function(u){u.languages.xquery=u.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:/[[\](){},;:/]/}),u.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,u.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,u.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,u.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:u.languages.xquery,alias:"language-xquery"};var y=function(b){return typeof b=="string"?b:typeof b.content=="string"?b.content:b.content.map(y).join("")},v=function(b){for(var k=[],f=0;f<b.length;f++){var R=b[f],z=!1;if(typeof R!="string"&&(R.type==="tag"&&R.content[0]&&R.content[0].type==="tag"?R.content[0].content[0].content==="</"?k.length>0&&k[k.length-1].tagName===y(R.content[0].content[1])&&k.pop():R.content[R.content.length-1].content==="/>"||k.push({tagName:y(R.content[0].content[1]),openedBraces:0}):k.length>0&&R.type==="punctuation"&&R.content==="{"&&(!b[f+1]||b[f+1].type!=="punctuation"||b[f+1].content!=="{")&&(!b[f-1]||b[f-1].type!=="plain-text"||b[f-1].content!=="{")?k[k.length-1].openedBraces++:k.length>0&&k[k.length-1].openedBraces>0&&R.type==="punctuation"&&R.content==="}"?k[k.length-1].openedBraces--:R.type!=="comment"&&(z=!0)),(z||typeof R=="string")&&k.length>0&&k[k.length-1].openedBraces===0){var D=y(R);f<b.length-1&&(typeof b[f+1]=="string"||b[f+1].type==="plain-text")&&(D+=y(b[f+1]),b.splice(f+1,1)),f>0&&(typeof b[f-1]=="string"||b[f-1].type==="plain-text")&&(D=y(b[f-1])+D,b.splice(f-1,1),f--),/^\s+$/.test(D)?b[f]=D:b[f]=new u.Token("plain-text",D,null,D)}R.content&&typeof R.content!="string"&&v(R.content)}};u.hooks.add("after-tokenize",function(b){b.language==="xquery"&&v(b.tokens)})})(r)}},14409:function(x){"use strict";x.exports=c,c.displayName="yaml",c.aliases=["yml"];function c(r){(function(u){var y=/[*&][^\s[\]{},]+/,v=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,b="(?:"+v.source+"(?:[ ]+"+y.source+")?|"+y.source+"(?:[ ]+"+v.source+")?)",k=/(?:[^\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}),f=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function R(z,D){D=(D||"").replace(/m/g,"")+"m";var I=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return b}).replace(/<<value>>/g,function(){return z});return RegExp(I,D)}u.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 b})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return b}).replace(/<<key>>/g,function(){return"(?:"+k+"|"+f+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:R(/\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:R(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:R(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:R(f),lookbehind:!0,greedy:!0},number:{pattern:R(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:v,important:y,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},u.languages.yml=u.languages.yaml})(r)}},33460:function(x){"use strict";x.exports=c,c.displayName="yang",c.aliases=[];function c(r){r.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:/[{};:]/}}},28108:function(x){"use strict";x.exports=c,c.displayName="zig",c.aliases=[];function c(r){(function(u){function y(D){return function(){return D}}var v=/\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/,b="\\b(?!"+v.source+")(?!\\d)\\w+\\b",k=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,f=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,y(k)),R=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,y(b)),z="(?!\\s)(?:!?\\s*(?:"+f+"\\s*)*"+R+")+";u.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,y(z)).replace(/<ALIGN>/g,y(k))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,y(z)).replace(/<ALIGN>/g,y(k))),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:v,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:/[.:,;(){}[\]]/},u.languages.zig["class-name"].forEach(function(D){D.inside===null&&(D.inside=u.languages.zig)})})(r)}},92848:function(x,c){"use strict";var r;c.Q=b,r=k;var u="",y=" ",v=/[ \t\n\r\f]+/g;function b(f){var R=String(f||u).trim();return R===u?[]:R.split(v)}function k(f){return f.join(y).trim()}},6526:function(x,c,r){"use strict";var u=this&&this.__importDefault||function(k){return k&&k.__esModule?k:{default:k}},y=u(r(78846)),v=r(11160);function b(k,f){var R={};return!k||typeof k!="string"||(0,y.default)(k,function(z,D){z&&D&&(R[(0,v.camelCase)(z,f)]=D)}),R}b.default=b,x.exports=b},11160:function(x,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,u=/-([a-z])/g,y=/^[^-]+$/,v=/^-(webkit|moz|ms|o|khtml)-/,b=/^-(ms)-/,k=function(D){return!D||y.test(D)||r.test(D)},f=function(D,I){return I.toUpperCase()},R=function(D,I){return"".concat(I,"-")},z=function(D,I){return I===void 0&&(I={}),k(D)?D:(D=D.toLowerCase(),I.reactCompat?D=D.replace(b,R):D=D.replace(v,R),D.replace(u,f))};c.camelCase=z},78846:function(x,c,r){"use strict";var u=this&&this.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(c,"__esModule",{value:!0}),c.default=v;var y=u(r(93193));function v(b,k){var f=null;if(!b||typeof b!="string")return f;var R=(0,y.default)(b),z=typeof k=="function";return R.forEach(function(D){if(D.type==="declaration"){var I=D.property,ae=D.value;z?k(I,ae,D):ae&&(f=f||{},f[I]=ae)}}),f}},97270:function(x){x.exports=r;var c=Object.prototype.hasOwnProperty;function r(){for(var u={},y=0;y<arguments.length;y++){var v=arguments[y];for(var b in v)c.call(v,b)&&(u[b]=v[b])}return u}},90302:function(x,c,r){"use strict";r.d(c,{ZP:function(){return P}});const u=-1,y=0,v=1,b=2,k=3,f=4,R=5,z=6,D=7,I=8,ae=typeof self=="object"?self:globalThis,G=(U,_)=>{const J=(H,fe)=>(U.set(fe,H),H),de=H=>{if(U.has(H))return U.get(H);const[fe,re]=_[H];switch(fe){case y:case u:return J(re,H);case v:{const V=J([],H);for(const le of re)V.push(de(le));return V}case b:{const V=J({},H);for(const[le,ne]of re)V[de(le)]=de(ne);return V}case k:return J(new Date(re),H);case f:{const{source:V,flags:le}=re;return J(new RegExp(V,le),H)}case R:{const V=J(new Map,H);for(const[le,ne]of re)V.set(de(le),de(ne));return V}case z:{const V=J(new Set,H);for(const le of re)V.add(de(le));return V}case D:{const{name:V,message:le}=re;return J(new ae[V](le),H)}case I:return J(BigInt(re),H);case"BigInt":return J(Object(BigInt(re)),H);case"ArrayBuffer":return J(new Uint8Array(re).buffer,re);case"DataView":{const{buffer:V}=new Uint8Array(re);return J(new DataView(V),re)}}return J(new ae[fe](re),H)};return de},be=U=>G(new Map,U)(0),ce="",{toString:ue}={},{keys:te}=Object,X=U=>{const _=typeof U;if(_!=="object"||!U)return[y,_];const J=ue.call(U).slice(8,-1);switch(J){case"Array":return[v,ce];case"Object":return[b,ce];case"Date":return[k,ce];case"RegExp":return[f,ce];case"Map":return[R,ce];case"Set":return[z,ce];case"DataView":return[v,J]}return J.includes("Array")?[v,J]:J.includes("Error")?[D,J]:[b,J]},q=([U,_])=>U===y&&(_==="function"||_==="symbol"),Z=(U,_,J,de)=>{const H=(re,V)=>{const le=de.push(re)-1;return J.set(V,le),le},fe=re=>{if(J.has(re))return J.get(re);let[V,le]=X(re);switch(V){case y:{let ge=re;switch(le){case"bigint":V=I,ge=re.toString();break;case"function":case"symbol":if(U)throw new TypeError("unable to serialize "+le);ge=null;break;case"undefined":return H([u],re)}return H([V,ge],re)}case v:{if(le){let Re=re;return le==="DataView"?Re=new Uint8Array(re.buffer):le==="ArrayBuffer"&&(Re=new Uint8Array(re)),H([le,[...Re]],re)}const ge=[],Le=H([V,ge],re);for(const Re of re)ge.push(fe(Re));return Le}case b:{if(le)switch(le){case"BigInt":return H([le,re.toString()],re);case"Boolean":case"Number":case"String":return H([le,re.valueOf()],re)}if(_&&"toJSON"in re)return fe(re.toJSON());const ge=[],Le=H([V,ge],re);for(const Re of te(re))(U||!q(X(re[Re])))&&ge.push([fe(Re),fe(re[Re])]);return Le}case k:return H([V,re.toISOString()],re);case f:{const{source:ge,flags:Le}=re;return H([V,{source:ge,flags:Le}],re)}case R:{const ge=[],Le=H([V,ge],re);for(const[Re,Ie]of re)(U||!(q(X(Re))||q(X(Ie))))&&ge.push([fe(Re),fe(Ie)]);return Le}case z:{const ge=[],Le=H([V,ge],re);for(const Re of re)(U||!q(X(Re)))&&ge.push(fe(Re));return Le}}const{message:ne}=re;return H([V,{name:le,message:ne}],re)};return fe},j=(U,{json:_,lossy:J}={})=>{const de=[];return Z(!(_||J),!!_,new Map,de)(U),de};var P=typeof structuredClone=="function"?(U,_)=>_&&("json"in _||"lossy"in _)?be(j(U,_)):structuredClone(U):(U,_)=>be(j(U,_))},11630:function(x,c,r){"use strict";r.d(c,{P:function(){return y},Q:function(){return u}});function u(v){const b=[],k=String(v||"");let f=k.indexOf(","),R=0,z=!1;for(;!z;){f===-1&&(f=k.length,z=!0);const D=k.slice(R,f).trim();(D||!z)&&b.push(D),R=f+1,f=k.indexOf(",",R)}return b}function y(v,b){const k=b||{};return(v[v.length-1]===""?[...v,""]:v).join((k.padRight?" ":"")+","+(k.padLeft===!1?"":" ")).trim()}},87342:function(x,c,r){"use strict";r.d(c,{ok:function(){return v},t1:function(){return b}});function u(k){return k}function y(){}function v(){}function b(){}},40797:function(x,c,r){"use strict";r.d(c,{N:function(){return be}});var u=r(81994),y=r(43309);function v(ue,te){return b(ue,te||{})||{type:"root",children:[]}}function b(ue,te){const X=k(ue,te);return X&&te.afterTransform&&te.afterTransform(ue,X),X}function k(ue,te){switch(ue.nodeType){case 1:return I(ue,te);case 3:return z(ue);case 8:return D(ue);case 9:return f(ue,te);case 10:return R();case 11:return f(ue,te);default:return}}function f(ue,te){return{type:"root",children:ae(ue,te)}}function R(){return{type:"doctype"}}function z(ue){return{type:"text",value:ue.nodeValue||""}}function D(ue){return{type:"comment",value:ue.nodeValue||""}}function I(ue,te){const X=ue.namespaceURI,q=X===y.t.svg?u.s:u.h,Z=X===y.t.html?ue.tagName.toLowerCase():ue.tagName,j=X===y.t.html&&Z==="template"?ue.content:ue,P=ue.getAttributeNames(),U={};let _=-1;for(;++_<P.length;)U[P[_]]=ue.getAttribute(P[_])||"";return q(Z,U,ae(j,te))}function ae(ue,te){const X=ue.childNodes,q=[];let Z=-1;for(;++Z<X.length;){const j=b(X[Z],te);j!==void 0&&q.push(j)}return q}const G=new DOMParser;function be(ue,te){const X=te!=null&&te.fragment?ce(ue):G.parseFromString(ue,"text/html");return v(X)}function ce(ue){const te=document.createElement("template");return te.innerHTML=ue,te.content}},91378:function(x,c,r){"use strict";r.d(c,{l:function(){return q}});var u=r(10502);const y=function(re,V,le){const ne=(0,u.O)(le);if(!re||!re.type||!re.children)throw new Error("Expected parent node");if(typeof V=="number"){if(V<0||V===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(V=re.children.indexOf(V),V<0)throw new Error("Expected child node or index");for(;++V<re.children.length;)if(ne(re.children[V],V,re))return re.children[V]},v=function(re,V,le,ne,ge){const Le=b(V);if(le!=null&&(typeof le!="number"||le<0||le===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(ne!=null&&(!ne.type||!ne.children))throw new Error("Expected valid `parent`");if(le==null!=(ne==null))throw new Error("Expected both `index` and `parent`");return D(re)?Le.call(ge,re,le,ne):!1},b=function(re){if(re==null)return z;if(typeof re=="string")return f(re);if(typeof re=="object")return k(re);if(typeof re=="function")return R(re);throw new Error("Expected function, string, or array as `test`")};function k(re){const V=[];let le=-1;for(;++le<re.length;)V[le]=b(re[le]);return R(ne);function ne(...ge){let Le=-1;for(;++Le<V.length;)if(V[Le].apply(this,ge))return!0;return!1}}function f(re){return R(V);function V(le){return le.tagName===re}}function R(re){return V;function V(le,ne,ge){return!!(D(le)&&re.call(this,le,typeof ne=="number"?ne:void 0,ge||void 0))}}function z(re){return!!(re&&typeof re=="object"&&"type"in re&&re.type==="element"&&"tagName"in re&&typeof re.tagName=="string")}function D(re){return re!==null&&typeof re=="object"&&"type"in re&&"tagName"in re}const I=/\n/g,ae=/[\t ]+/g,G=b("br"),be=b(H),ce=b("p"),ue=b("tr"),te=b(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",de,fe]),X=b(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function q(re,V){const le=V||{},ne="children"in re?re.children:[],ge=X(re),Le=J(re,{whitespace:le.whitespace||"normal",breakBefore:!1,breakAfter:!1}),Re=[];(re.type==="text"||re.type==="comment")&&Re.push(...P(re,{whitespace:Le,breakBefore:!0,breakAfter:!0}));let Ie=-1;for(;++Ie<ne.length;)Re.push(...Z(ne[Ie],re,{whitespace:Le,breakBefore:Ie?void 0:ge,breakAfter:Ie<ne.length-1?G(ne[Ie+1]):ge}));const He=[];let oe;for(Ie=-1;++Ie<Re.length;){const F=Re[Ie];typeof F=="number"?oe!==void 0&&F>oe&&(oe=F):F&&(oe!==void 0&&oe>-1&&He.push(`
`.repeat(oe)||" "),oe=-1,He.push(F))}return He.join("")}function Z(re,V,le){return re.type==="element"?j(re,V,le):re.type==="text"?le.whitespace==="normal"?P(re,le):U(re):[]}function j(re,V,le){const ne=J(re,le),ge=re.children||[];let Le=-1,Re=[];if(te(re))return Re;let Ie,He;for(G(re)||ue(re)&&y(V,re,ue)?He=`
`:ce(re)?(Ie=2,He=2):X(re)&&(Ie=1,He=1);++Le<ge.length;)Re=Re.concat(Z(ge[Le],re,{whitespace:ne,breakBefore:Le?void 0:Ie,breakAfter:Le<ge.length-1?G(ge[Le+1]):He}));return be(re)&&y(V,re,be)&&Re.push(" "),Ie&&Re.unshift(Ie),He&&Re.push(He),Re}function P(re,V){const le=String(re.value),ne=[],ge=[];let Le=0;for(;Le<=le.length;){I.lastIndex=Le;const He=I.exec(le),oe=He&&"index"in He?He.index:le.length;ne.push(_(le.slice(Le,oe).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),Le===0?V.breakBefore:!0,oe===le.length?V.breakAfter:!0)),Le=oe+1}let Re=-1,Ie;for(;++Re<ne.length;)ne[Re].charCodeAt(ne[Re].length-1)===8203||Re<ne.length-1&&ne[Re+1].charCodeAt(0)===8203?(ge.push(ne[Re]),Ie=void 0):ne[Re]?(typeof Ie=="number"&&ge.push(Ie),ge.push(ne[Re]),Ie=0):(Re===0||Re===ne.length-1)&&ge.push(0);return ge}function U(re){return[String(re.value)]}function _(re,V,le){const ne=[];let ge=0,Le;for(;ge<re.length;){ae.lastIndex=ge;const Re=ae.exec(re);Le=Re?Re.index:re.length,!ge&&!Le&&Re&&!V&&ne.push(""),ge!==Le&&ne.push(re.slice(ge,Le)),ge=Re?Le+Re[0].length:Le}return ge!==Le&&!le&&ne.push(""),ne.join(" ")}function J(re,V){if(re.type==="element"){const le=re.properties||{};switch(re.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return le.wrap?"pre-wrap":"pre";case"td":case"th":return le.noWrap?"nowrap":V.whitespace;case"textarea":return"pre-wrap";default:}}return V.whitespace}function de(re){return!!(re.properties||{}).hidden}function H(re){return re.tagName==="td"||re.tagName==="th"}function fe(re){return re.tagName==="dialog"&&!(re.properties||{}).open}},81994:function(x,c,r){"use strict";r.d(c,{h:function(){return te},s:function(){return X}});var u=r(14470),y=r(11630);const v=/[#.]/g;function b(q,Z){const j=q||"",P={};let U=0,_,J;for(;U<j.length;){v.lastIndex=U;const de=v.exec(j),H=j.slice(U,de?de.index:j.length);H&&(_?_==="#"?P.id=H:Array.isArray(P.className)?P.className.push(H):P.className=[H]:J=H,U+=H.length),de&&(_=de[0],U++)}return{type:"element",tagName:J||Z||"div",properties:P,children:[]}}var k=r(86825),f=r(13830),R=r(71523);function z(q,Z,j){const P=j?ce(j):void 0;function U(_,J,...de){let H;if(_==null){H={type:"root",children:[]};const fe=J;de.unshift(fe)}else{H=b(_,Z);const fe=H.tagName.toLowerCase(),re=P?P.get(fe):void 0;if(H.tagName=re||fe,D(J))de.unshift(J);else for(const[V,le]of Object.entries(J))I(q,H.properties,V,le)}for(const fe of de)ae(H.children,fe);return H.type==="element"&&H.tagName==="template"&&(H.content={type:"root",children:H.children},H.children=[]),H}return U}function D(q){if(q===null||typeof q!="object"||Array.isArray(q))return!0;if(typeof q.type!="string")return!1;const Z=q,j=Object.keys(q);for(const P of j){const U=Z[P];if(U&&typeof U=="object"){if(!Array.isArray(U))return!0;const _=U;for(const J of _)if(typeof J!="number"&&typeof J!="string")return!0}}return!!("children"in q&&Array.isArray(q.children))}function I(q,Z,j,P){const U=(0,k.s)(q,j);let _;if(P!=null){if(typeof P=="number"){if(Number.isNaN(P))return;_=P}else typeof P=="boolean"?_=P:typeof P=="string"?U.spaceSeparated?_=(0,R.Q)(P):U.commaSeparated?_=(0,y.Q)(P):U.commaOrSpaceSeparated?_=(0,R.Q)((0,y.Q)(P).join(" ")):_=G(U,U.property,P):Array.isArray(P)?_=[...P]:_=U.property==="style"?be(P):String(P);if(Array.isArray(_)){const J=[];for(const de of _)J.push(G(U,U.property,de));_=J}U.property==="className"&&Array.isArray(Z.className)&&(_=Z.className.concat(_)),Z[U.property]=_}}function ae(q,Z){if(Z!=null)if(typeof Z=="number"||typeof Z=="string")q.push({type:"text",value:String(Z)});else if(Array.isArray(Z))for(const j of Z)ae(q,j);else if(typeof Z=="object"&&"type"in Z)Z.type==="root"?ae(q,Z.children):q.push(Z);else throw new Error("Expected node, nodes, or string, got `"+Z+"`")}function G(q,Z,j){if(typeof j=="string"){if(q.number&&j&&!Number.isNaN(Number(j)))return Number(j);if((q.boolean||q.overloadedBoolean)&&(j===""||(0,f.F)(j)===(0,f.F)(Z)))return!0}return j}function be(q){const Z=[];for(const[j,P]of Object.entries(q))Z.push([j,P].join(": "));return Z.join("; ")}function ce(q){const Z=new Map;for(const j of q)Z.set(j.toLowerCase(),j);return Z}const ue=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],te=z(u.dy,"div"),X=z(u.YP,"g",ue)},26735:function(x,c,r){"use strict";r.d(c,{f:function(){return y}});var u=r(80722);function y(v,b,k,f){const R=f?f-1:Number.POSITIVE_INFINITY;let z=0;return D;function D(ae){return(0,u.xz)(ae)?(v.enter(k),I(ae)):b(ae)}function I(ae){return(0,u.xz)(ae)&&z++<R?(v.consume(ae),I):(v.exit(k),b(ae))}}},80722:function(x,c,r){"use strict";r.d(c,{AF:function(){return f},Av:function(){return b},B8:function(){return G},Ch:function(){return z},H$:function(){return y},Xh:function(){return ae},jv:function(){return u},n9:function(){return v},pY:function(){return k},sR:function(){return R},xz:function(){return I},z3:function(){return D}});const u=be(/[A-Za-z]/),y=be(/[\dA-Za-z]/),v=be(/[#-'*+\--9=?A-Z^-~]/);function b(ce){return ce!==null&&(ce<32||ce===127)}const k=be(/\d/),f=be(/[\dA-Fa-f]/),R=be(/[!-/:-@[-`{-~]/);function z(ce){return ce!==null&&ce<-2}function D(ce){return ce!==null&&(ce<0||ce===32)}function I(ce){return ce===-2||ce===-1||ce===32}const ae=be(new RegExp("\\p{P}|\\p{S}","u")),G=be(/\s/);function be(ce){return ue;function ue(te){return te!==null&&te>-1&&ce.test(String.fromCharCode(te))}}},14470:function(x,c,r){"use strict";r.d(c,{dy:function(){return ue},YP:function(){return te}});class u{constructor(q,Z,j){this.normal=Z,this.property=q,j&&(this.space=j)}}u.prototype.normal={},u.prototype.property={},u.prototype.space=void 0;function y(X,q){const Z={},j={};for(const P of X)Object.assign(Z,P.property),Object.assign(j,P.normal);return new u(Z,j,q)}var v=r(13830),b=r(53538);function k(X){const q={},Z={};for(const[j,P]of Object.entries(X.properties)){const U=new b.I(j,X.transform(X.attributes||{},j),P,X.space);X.mustUseProperty&&X.mustUseProperty.includes(j)&&(U.mustUseProperty=!0),q[j]=U,Z[(0,v.F)(j)]=j,Z[(0,v.F)(U.attribute)]=j}return new u(q,Z,X.space)}var f=r(71337);const R=k({properties:{ariaActiveDescendant:null,ariaAtomic:f.booleanish,ariaAutoComplete:null,ariaBusy:f.booleanish,ariaChecked:f.booleanish,ariaColCount:f.number,ariaColIndex:f.number,ariaColSpan:f.number,ariaControls:f.spaceSeparated,ariaCurrent:null,ariaDescribedBy:f.spaceSeparated,ariaDetails:null,ariaDisabled:f.booleanish,ariaDropEffect:f.spaceSeparated,ariaErrorMessage:null,ariaExpanded:f.booleanish,ariaFlowTo:f.spaceSeparated,ariaGrabbed:f.booleanish,ariaHasPopup:null,ariaHidden:f.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:f.spaceSeparated,ariaLevel:f.number,ariaLive:null,ariaModal:f.booleanish,ariaMultiLine:f.booleanish,ariaMultiSelectable:f.booleanish,ariaOrientation:null,ariaOwns:f.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:f.number,ariaPressed:f.booleanish,ariaReadOnly:f.booleanish,ariaRelevant:null,ariaRequired:f.booleanish,ariaRoleDescription:f.spaceSeparated,ariaRowCount:f.number,ariaRowIndex:f.number,ariaRowSpan:f.number,ariaSelected:f.booleanish,ariaSetSize:f.number,ariaSort:null,ariaValueMax:f.number,ariaValueMin:f.number,ariaValueNow:f.number,ariaValueText:null,role:null},transform(X,q){return q==="role"?q:"aria-"+q.slice(4).toLowerCase()}});function z(X,q){return q in X?X[q]:q}function D(X,q){return z(X,q.toLowerCase())}const I=k({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f.commaSeparated,acceptCharset:f.spaceSeparated,accessKey:f.spaceSeparated,action:null,allow:null,allowFullScreen:f.boolean,allowPaymentRequest:f.boolean,allowUserMedia:f.boolean,alt:null,as:null,async:f.boolean,autoCapitalize:null,autoComplete:f.spaceSeparated,autoFocus:f.boolean,autoPlay:f.boolean,blocking:f.spaceSeparated,capture:null,charSet:null,checked:f.boolean,cite:null,className:f.spaceSeparated,cols:f.number,colSpan:null,content:null,contentEditable:f.booleanish,controls:f.boolean,controlsList:f.spaceSeparated,coords:f.number|f.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:f.boolean,defer:f.boolean,dir:null,dirName:null,disabled:f.boolean,download:f.overloadedBoolean,draggable:f.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:f.boolean,formTarget:null,headers:f.spaceSeparated,height:f.number,hidden:f.overloadedBoolean,high:f.number,href:null,hrefLang:null,htmlFor:f.spaceSeparated,httpEquiv:f.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:f.boolean,inputMode:null,integrity:null,is:null,isMap:f.boolean,itemId:null,itemProp:f.spaceSeparated,itemRef:f.spaceSeparated,itemScope:f.boolean,itemType:f.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:f.boolean,low:f.number,manifest:null,max:null,maxLength:f.number,media:null,method:null,min:null,minLength:f.number,multiple:f.boolean,muted:f.boolean,name:null,nonce:null,noModule:f.boolean,noValidate:f.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:f.boolean,optimum:f.number,pattern:null,ping:f.spaceSeparated,placeholder:null,playsInline:f.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:f.boolean,referrerPolicy:null,rel:f.spaceSeparated,required:f.boolean,reversed:f.boolean,rows:f.number,rowSpan:f.number,sandbox:f.spaceSeparated,scope:null,scoped:f.boolean,seamless:f.boolean,selected:f.boolean,shadowRootClonable:f.boolean,shadowRootDelegatesFocus:f.boolean,shadowRootMode:null,shape:null,size:f.number,sizes:null,slot:null,span:f.number,spellCheck:f.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:f.number,step:null,style:null,tabIndex:f.number,target:null,title:null,translate:null,type:null,typeMustMatch:f.boolean,useMap:null,value:f.booleanish,width:f.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f.spaceSeparated,axis:null,background:null,bgColor:null,border:f.number,borderColor:null,bottomMargin:f.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:f.boolean,declare:f.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:f.number,leftMargin:f.number,link:null,longDesc:null,lowSrc:null,marginHeight:f.number,marginWidth:f.number,noResize:f.boolean,noHref:f.boolean,noShade:f.boolean,noWrap:f.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:f.number,rules:null,scheme:null,scrolling:f.booleanish,standby:null,summary:null,text:null,topMargin:f.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:f.boolean,disableRemotePlayback:f.boolean,prefix:null,property:null,results:f.number,security:null,unselectable:null},space:"html",transform:D}),ae=k({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:f.commaOrSpaceSeparated,accentHeight:f.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:f.number,amplitude:f.number,arabicForm:null,ascent:f.number,attributeName:null,attributeType:null,azimuth:f.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:f.number,by:null,calcMode:null,capHeight:f.number,className:f.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:f.number,diffuseConstant:f.number,direction:null,display:null,dur:null,divisor:f.number,dominantBaseline:null,download:f.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:f.number,enableBackground:null,end:null,event:null,exponent:f.number,externalResourcesRequired:null,fill:null,fillOpacity:f.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:f.commaSeparated,g2:f.commaSeparated,glyphName:f.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:f.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:f.number,horizOriginX:f.number,horizOriginY:f.number,id:null,ideographic:f.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:f.number,k:f.number,k1:f.number,k2:f.number,k3:f.number,k4:f.number,kernelMatrix:f.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:f.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:f.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:f.number,overlineThickness:f.number,paintOrder:null,panose1:null,path:null,pathLength:f.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:f.number,pointsAtY:f.number,pointsAtZ:f.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:f.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:f.commaOrSpaceSeparated,rev:f.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:f.commaOrSpaceSeparated,requiredFeatures:f.commaOrSpaceSeparated,requiredFonts:f.commaOrSpaceSeparated,requiredFormats:f.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:f.number,specularExponent:f.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:f.number,strikethroughThickness:f.number,string:null,stroke:null,strokeDashArray:f.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:f.number,strokeOpacity:f.number,strokeWidth:null,style:null,surfaceScale:f.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:f.commaOrSpaceSeparated,tabIndex:f.number,tableValues:null,target:null,targetX:f.number,targetY:f.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:f.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:f.number,underlineThickness:f.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:f.number,values:null,vAlphabetic:f.number,vMathematical:f.number,vectorEffect:null,vHanging:f.number,vIdeographic:f.number,version:null,vertAdvY:f.number,vertOriginX:f.number,vertOriginY:f.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:f.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:z}),G=k({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(X,q){return"xlink:"+q.slice(5).toLowerCase()}}),be=k({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:D}),ce=k({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(X,q){return"xml:"+q.slice(3).toLowerCase()}}),ue=y([R,I,G,be,ce],"html"),te=y([R,ae,G,be,ce],"svg")},86825:function(x,c,r){"use strict";r.d(c,{s:function(){return R}});var u=r(53538),y=r(25629),v=r(13830);const b=/[A-Z]/g,k=/-[a-z]/g,f=/^data[-\w.:]+$/i;function R(I,ae){const G=(0,v.F)(ae);let be=ae,ce=y.k;if(G in I.normal)return I.property[I.normal[G]];if(G.length>4&&G.slice(0,4)==="data"&&f.test(ae)){if(ae.charAt(4)==="-"){const ue=ae.slice(5).replace(k,D);be="data"+ue.charAt(0).toUpperCase()+ue.slice(1)}else{const ue=ae.slice(4);if(!k.test(ue)){let te=ue.replace(b,z);te.charAt(0)!=="-"&&(te="-"+te),ae="data"+te}}ce=u.I}return new ce(be,ae)}function z(I){return"-"+I.toLowerCase()}function D(I){return I.charAt(1).toUpperCase()}},13830:function(x,c,r){"use strict";r.d(c,{F:function(){return u}});function u(y){return y.toLowerCase()}},53538:function(x,c,r){"use strict";r.d(c,{I:function(){return b}});var u=r(25629),y=r(71337);const v=Object.keys(y);class b extends u.k{constructor(R,z,D,I){let ae=-1;if(super(R,z),k(this,"space",I),typeof D=="number")for(;++ae<v.length;){const G=v[ae];k(this,v[ae],(D&y[G])===y[G])}}}b.prototype.defined=!0;function k(f,R,z){z&&(f[R]=z)}},25629:function(x,c,r){"use strict";r.d(c,{k:function(){return u}});class u{constructor(v,b){this.attribute=b,this.property=v}}u.prototype.attribute="",u.prototype.booleanish=!1,u.prototype.boolean=!1,u.prototype.commaOrSpaceSeparated=!1,u.prototype.commaSeparated=!1,u.prototype.defined=!1,u.prototype.mustUseProperty=!1,u.prototype.number=!1,u.prototype.overloadedBoolean=!1,u.prototype.property="",u.prototype.spaceSeparated=!1,u.prototype.space=void 0},71337:function(x,c,r){"use strict";r.r(c),r.d(c,{boolean:function(){return y},booleanish:function(){return v},commaOrSpaceSeparated:function(){return z},commaSeparated:function(){return R},number:function(){return k},overloadedBoolean:function(){return b},spaceSeparated:function(){return f}});let u=0;const y=D(),v=D(),b=D(),k=D(),f=D(),R=D(),z=D();function D(){return Ks(2,++u)}},97831:function(x,c,r){"use strict";r.d(c,{UG:function(){return Oa}});var u={};r.r(u),r.d(u,{attentionMarkers:function(){return jr},contentInitial:function(){return Ia},disable:function(){return Ta},document:function(){return Vr},flow:function(){return hi},flowInitial:function(){return Ra},insideSpan:function(){return Kr},string:function(){return Pa},text:function(){return qr}});var y=r(87342),v=r(11630);const b=/[$_\p{ID_Start}]/u,k=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,f=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,R=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,z=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,D={};function I(l){return l?b.test(String.fromCodePoint(l)):!1}function ae(l,E){const N=(E||D).jsx?f:k;return l?N.test(String.fromCodePoint(l)):!1}function G(l,E){return((E||D).jsx?z:R).test(l)}const be=/[ \t\n\f\r]/g;function ce(l){return typeof l=="object"?l.type==="text"?ue(l.value):!1:ue(l)}function ue(l){return l.replace(be,"")===""}var te=r(14470),X=r(86825);const q={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Z=r(71523),j=r(6526),P=r(17970);function U(l){return!l||typeof l!="object"?"":"position"in l||"type"in l?J(l.position):"start"in l||"end"in l?J(l):"line"in l||"column"in l?_(l):""}function _(l){return de(l&&l.line)+":"+de(l&&l.column)}function J(l){return _(l&&l.start)+"-"+_(l&&l.end)}function de(l){return l&&typeof l=="number"?l:1}class H extends Error{constructor(E,C,N){super(),typeof C=="string"&&(N=C,C=void 0);let K="",Y={},se=!1;if(C&&("line"in C&&"column"in C?Y={place:C}:"start"in C&&"end"in C?Y={place:C}:"type"in C?Y={ancestors:[C],place:C.position}:Y=Cr({},C)),typeof E=="string"?K=E:!Y.cause&&E&&(se=!0,K=E.message,Y.cause=E),!Y.ruleId&&!Y.source&&typeof N=="string"){const Je=N.indexOf(":");Je===-1?Y.ruleId=N:(Y.source=N.slice(0,Je),Y.ruleId=N.slice(Je+1))}if(!Y.place&&Y.ancestors&&Y.ancestors){const Je=Y.ancestors[Y.ancestors.length-1];Je&&(Y.place=Je.position)}const ve=Y.place&&"start"in Y.place?Y.place.start:Y.place;this.ancestors=Y.ancestors||void 0,this.cause=Y.cause||void 0,this.column=ve?ve.column:void 0,this.fatal=void 0,this.file="",this.message=K,this.line=ve?ve.line:void 0,this.name=U(Y.place)||"1:1",this.place=Y.place||void 0,this.reason=this.message,this.ruleId=Y.ruleId||void 0,this.source=Y.source||void 0,this.stack=se&&Y.cause&&typeof Y.cause.stack=="string"?Y.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}H.prototype.file="",H.prototype.name="",H.prototype.reason="",H.prototype.message="",H.prototype.stack="",H.prototype.column=void 0,H.prototype.line=void 0,H.prototype.ancestors=void 0,H.prototype.cause=void 0,H.prototype.fatal=void 0,H.prototype.place=void 0,H.prototype.ruleId=void 0,H.prototype.source=void 0;const fe={}.hasOwnProperty,re=new Map,V=/[A-Z]/g,le=new Set(["table","tbody","thead","tfoot","tr"]),ne=new Set(["td","th"]),ge="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Le(l,E){if(!E||E.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const C=E.filePath||void 0;let N;if(E.development){if(typeof E.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");N=pt(C,E.jsxDEV)}else{if(typeof E.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof E.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");N=xt(C,E.jsx,E.jsxs)}const K={Fragment:E.Fragment,ancestors:[],components:E.components||{},create:N,elementAttributeNameCase:E.elementAttributeNameCase||"react",evaluater:E.createEvaluater?E.createEvaluater():void 0,filePath:C,ignoreInvalidStyle:E.ignoreInvalidStyle||!1,passKeys:E.passKeys!==!1,passNode:E.passNode||!1,schema:E.space==="svg"?te.YP:te.dy,stylePropertyNameCase:E.stylePropertyNameCase||"dom",tableCellAlignToStyle:E.tableCellAlignToStyle!==!1},Y=Re(K,l,void 0);return Y&&typeof Y!="string"?Y:K.create(l,K.Fragment,{children:Y||void 0},void 0)}function Re(l,E,C){if(E.type==="element")return Ie(l,E,C);if(E.type==="mdxFlowExpression"||E.type==="mdxTextExpression")return He(l,E);if(E.type==="mdxJsxFlowElement"||E.type==="mdxJsxTextElement")return F(l,E,C);if(E.type==="mdxjsEsm")return oe(l,E);if(E.type==="root")return L(l,E,C);if(E.type==="text")return we(l,E)}function Ie(l,E,C){const N=l.schema;let K=N;E.tagName.toLowerCase()==="svg"&&N.space==="html"&&(K=te.YP,l.schema=K),l.ancestors.push(E);const Y=St(l,E.tagName,!1),se=Lt(l,E);let ve=Te(l,E);return le.has(E.tagName)&&(ve=ve.filter(function(Je){return typeof Je=="string"?!ce(Je):!0})),Ue(l,se,Y,E),Ne(se,ve),l.ancestors.pop(),l.schema=N,l.create(E,Y,se,C)}function He(l,E){if(E.data&&E.data.estree&&l.evaluater){const N=E.data.estree.body[0];return(0,y.ok)(N.type==="ExpressionStatement"),l.evaluater.evaluateExpression(N.expression)}A(l,E.position)}function oe(l,E){if(E.data&&E.data.estree&&l.evaluater)return l.evaluater.evaluateProgram(E.data.estree);A(l,E.position)}function F(l,E,C){const N=l.schema;let K=N;E.name==="svg"&&N.space==="html"&&(K=te.YP,l.schema=K),l.ancestors.push(E);const Y=E.name===null?l.Fragment:St(l,E.name,!0),se=ze(l,E),ve=Te(l,E);return Ue(l,se,Y,E),Ne(se,ve),l.ancestors.pop(),l.schema=N,l.create(E,Y,se,C)}function L(l,E,C){const N={};return Ne(N,Te(l,E)),l.create(E,l.Fragment,N,C)}function we(l,E){return E.value}function Ue(l,E,C,N){typeof C!="string"&&C!==l.Fragment&&l.passNode&&(E.node=N)}function Ne(l,E){if(E.length>0){const C=E.length>1?E:E[0];C&&(l.children=C)}}function xt(l,E,C){return N;function N(K,Y,se,ve){const Qe=Array.isArray(se.children)?C:E;return ve?Qe(Y,se,ve):Qe(Y,se)}}function pt(l,E){return C;function C(N,K,Y,se){const ve=Array.isArray(Y.children),Je=(0,P.Pk)(N);return E(K,Y,se,ve,{columnNumber:Je?Je.column-1:void 0,fileName:l,lineNumber:Je?Je.line:void 0},void 0)}}function Lt(l,E){const C={};let N,K;for(K in E.properties)if(K!=="children"&&fe.call(E.properties,K)){const Y=_e(l,K,E.properties[K]);if(Y){const[se,ve]=Y;l.tableCellAlignToStyle&&se==="align"&&typeof ve=="string"&&ne.has(E.tagName)?N=ve:C[se]=ve}}if(N){const Y=C.style||(C.style={});Y[l.stylePropertyNameCase==="css"?"text-align":"textAlign"]=N}return C}function ze(l,E){const C={};for(const N of E.attributes)if(N.type==="mdxJsxExpressionAttribute")if(N.data&&N.data.estree&&l.evaluater){const Y=N.data.estree.body[0];(0,y.ok)(Y.type==="ExpressionStatement");const se=Y.expression;(0,y.ok)(se.type==="ObjectExpression");const ve=se.properties[0];(0,y.ok)(ve.type==="SpreadElement"),Object.assign(C,l.evaluater.evaluateExpression(ve.argument))}else A(l,E.position);else{const K=N.name;let Y;if(N.value&&typeof N.value=="object")if(N.value.data&&N.value.data.estree&&l.evaluater){const ve=N.value.data.estree.body[0];(0,y.ok)(ve.type==="ExpressionStatement"),Y=l.evaluater.evaluateExpression(ve.expression)}else A(l,E.position);else Y=N.value===null?!0:N.value;C[K]=Y}return C}function Te(l,E){const C=[];let N=-1;const K=l.passKeys?new Map:re;for(;++N<E.children.length;){const Y=E.children[N];let se;if(l.passKeys){const Je=Y.type==="element"?Y.tagName:Y.type==="mdxJsxFlowElement"||Y.type==="mdxJsxTextElement"?Y.name:void 0;if(Je){const Qe=K.get(Je)||0;se=Je+"-"+Qe,K.set(Je,Qe+1)}}const ve=Re(l,Y,se);ve!==void 0&&C.push(ve)}return C}function _e(l,E,C){const N=(0,X.s)(l.schema,E);if(!(C==null||typeof C=="number"&&Number.isNaN(C))){if(Array.isArray(C)&&(C=N.commaSeparated?(0,v.P)(C):(0,Z.P)(C)),N.property==="style"){let K=typeof C=="object"?C:$e(l,String(C));return l.stylePropertyNameCase==="css"&&(K=p(K)),["style",K]}return[l.elementAttributeNameCase==="react"&&N.space?q[N.property]||N.property:N.attribute,C]}}function $e(l,E){try{return j(E,{reactCompat:!0})}catch(C){if(l.ignoreInvalidStyle)return{};const N=C,K=new H("Cannot parse `style` attribute",{ancestors:l.ancestors,cause:N,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw K.file=l.filePath||void 0,K.url=ge+"#cannot-parse-style-attribute",K}}function St(l,E,C){let N;if(!C)N={type:"Literal",value:E};else if(E.includes(".")){const K=E.split(".");let Y=-1,se;for(;++Y<K.length;){const ve=G(K[Y])?{type:"Identifier",name:K[Y]}:{type:"Literal",value:K[Y]};se=se?{type:"MemberExpression",object:se,property:ve,computed:!!(Y&&ve.type==="Literal"),optional:!1}:ve}(0,y.ok)(se,"always a result"),N=se}else N=G(E)&&!/^[a-z]/.test(E)?{type:"Identifier",name:E}:{type:"Literal",value:E};if(N.type==="Literal"){const K=N.value;return fe.call(l.components,K)?l.components[K]:K}if(l.evaluater)return l.evaluater.evaluateExpression(N);A(l)}function A(l,E){const C=new H("Cannot handle MDX estrees without `createEvaluater`",{ancestors:l.ancestors,place:E,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw C.file=l.filePath||void 0,C.url=ge+"#cannot-handle-mdx-estrees-without-createevaluater",C}function p(l){const E={};let C;for(C in l)fe.call(l,C)&&(E[d(C)]=l[C]);return E}function d(l){let E=l.replace(V,T);return E.slice(0,3)==="ms-"&&(E="-"+E),E}function T(l){return"-"+l.toLowerCase()}const O={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var g=r(37712),M=r(59301);const xe={};function tt(l,E){const C=E||xe,N=typeof C.includeImageAlt=="boolean"?C.includeImageAlt:!0,K=typeof C.includeHtml=="boolean"?C.includeHtml:!0;return nt(l,N,K)}function nt(l,E,C){if(Be(l)){if("value"in l)return l.type==="html"&&!C?"":l.value;if(E&&"alt"in l&&l.alt)return l.alt;if("children"in l)return Ee(l.children,E,C)}return Array.isArray(l)?Ee(l,E,C):""}function Ee(l,E,C){const N=[];let K=-1;for(;++K<l.length;)N[K]=nt(l[K],E,C);return N.join("")}function Be(l){return!!(l&&typeof l=="object")}function Oe(l,E,C,N){const K=l.length;let Y=0,se;if(E<0?E=-E>K?0:K+E:E=E>K?K:E,C=C>0?C:0,N.length<1e4)se=Array.from(N),se.unshift(E,C),l.splice(...se);else for(C&&l.splice(E,C);Y<N.length;)se=N.slice(Y,Y+1e4),se.unshift(E,0),l.splice(...se),Y+=1e4,E+=1e4}function qe(l,E){return l.length>0?(Oe(l,l.length,0,E),l):E}class lt{constructor(E){this.left=E?[...E]:[],this.right=[]}get(E){if(E<0||E>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+E+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return E<this.left.length?this.left[E]:this.right[this.right.length-E+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(E,C){const N=C==null?Number.POSITIVE_INFINITY:C;return N<this.left.length?this.left.slice(E,N):E>this.left.length?this.right.slice(this.right.length-N+this.left.length,this.right.length-E+this.left.length).reverse():this.left.slice(E).concat(this.right.slice(this.right.length-N+this.left.length).reverse())}splice(E,C,N){const K=C||0;this.setCursor(Math.trunc(E));const Y=this.right.splice(this.right.length-K,Number.POSITIVE_INFINITY);return N&&Ge(this.left,N),Y.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(E){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(E)}pushMany(E){this.setCursor(Number.POSITIVE_INFINITY),Ge(this.left,E)}unshift(E){this.setCursor(0),this.right.push(E)}unshiftMany(E){this.setCursor(0),Ge(this.right,E.reverse())}setCursor(E){if(!(E===this.left.length||E>this.left.length&&this.right.length===0||E<0&&this.left.length===0))if(E<this.left.length){const C=this.left.splice(E,Number.POSITIVE_INFINITY);Ge(this.right,C.reverse())}else{const C=this.right.splice(this.left.length+this.right.length-E,Number.POSITIVE_INFINITY);Ge(this.left,C.reverse())}}}function Ge(l,E){let C=0;if(E.length<1e4)l.push(...E);else for(;C<E.length;)l.push(...E.slice(C,C+1e4)),C+=1e4}function pe(l){const E={};let C=-1,N,K,Y,se,ve,Je,Qe;const Fe=new lt(l);for(;++C<Fe.length;){for(;C in E;)C=E[C];if(N=Fe.get(C),C&&N[1].type==="chunkFlow"&&Fe.get(C-1)[1].type==="listItemPrefix"&&(Je=N[1]._tokenizer.events,Y=0,Y<Je.length&&Je[Y][1].type==="lineEndingBlank"&&(Y+=2),Y<Je.length&&Je[Y][1].type==="content"))for(;++Y<Je.length&&Je[Y][1].type!=="content";)Je[Y][1].type==="chunkText"&&(Je[Y][1]._isInFirstContentOfListItem=!0,Y++);if(N[0]==="enter")N[1].contentType&&(Object.assign(E,rt(Fe,C)),C=E[C],Qe=!0);else if(N[1]._container){for(Y=C,K=void 0;Y--;)if(se=Fe.get(Y),se[1].type==="lineEnding"||se[1].type==="lineEndingBlank")se[0]==="enter"&&(K&&(Fe.get(K)[1].type="lineEndingBlank"),se[1].type="lineEnding",K=Y);else if(!(se[1].type==="linePrefix"||se[1].type==="listItemIndent"))break;K&&(N[1].end=Cr({},Fe.get(K)[1].start),ve=Fe.slice(K,C),ve.unshift(N),Fe.splice(K,C-K+1,ve))}}return Oe(l,0,Number.POSITIVE_INFINITY,Fe.slice(0)),!Qe}function rt(l,E){const C=l.get(E)[1],N=l.get(E)[2];let K=E-1;const Y=[];let se=C._tokenizer;se||(se=N.parser[C.contentType](C.start),C._contentTypeTextTrailing&&(se._contentTypeTextTrailing=!0));const ve=se.events,Je=[],Qe={};let Fe,gt,ft=-1,We=C,$n=0,Ir=0;const $r=[Ir];for(;We;){for(;l.get(++K)[1]!==We;);Y.push(K),We._tokenizer||(Fe=N.sliceStream(We),We.next||Fe.push(null),gt&&se.defineSkip(We.start),We._isInFirstContentOfListItem&&(se._gfmTasklistFirstContentOfListItem=!0),se.write(Fe),We._isInFirstContentOfListItem&&(se._gfmTasklistFirstContentOfListItem=void 0)),gt=We,We=We.next}for(We=C;++ft<ve.length;)ve[ft][0]==="exit"&&ve[ft-1][0]==="enter"&&ve[ft][1].type===ve[ft-1][1].type&&ve[ft][1].start.line!==ve[ft][1].end.line&&(Ir=ft+1,$r.push(Ir),We._tokenizer=void 0,We.previous=void 0,We=We.next);for(se.events=[],We?(We._tokenizer=void 0,We.previous=void 0):$r.pop(),ft=$r.length;ft--;){const cn=ve.slice($r[ft],$r[ft+1]),Mn=Y.pop();Je.push([Mn,Mn+cn.length-1]),l.splice(Mn,2,cn)}for(Je.reverse(),ft=-1;++ft<Je.length;)Qe[$n+Je[ft][0]]=$n+Je[ft][1],$n+=Je[ft][1]-Je[ft][0]-1;return Qe}function st(l){for(;!pe(l););return l}const Ve={}.hasOwnProperty;function at(l){const E={};let C=-1;for(;++C<l.length;)Nt(E,l[C]);return E}function Nt(l,E){let C;for(C in E){const K=(Ve.call(l,C)?l[C]:void 0)||(l[C]={}),Y=E[C];let se;if(Y)for(se in Y){Ve.call(K,se)||(K[se]=[]);const ve=Y[se];it(K[se],Array.isArray(ve)?ve:ve?[ve]:[])}}}function it(l,E){let C=-1;const N=[];for(;++C<E.length;)(E[C].add==="after"?l:N).push(E[C]);Oe(l,0,0,N)}function Q(l){const E={};let C=-1;for(;++C<l.length;)Et(E,l[C]);return E}function Et(l,E){let C;for(C in E){const K=(Ve.call(l,C)?l[C]:void 0)||(l[C]={}),Y=E[C];let se;if(Y)for(se in Y)K[se]=Y[se]}}var wt=r(26735),ye=r(80722);const zt={tokenize:nn};function nn(l){const E=l.attempt(this.parser.constructs.contentInitial,N,K);let C;return E;function N(ve){if(ve===null){l.consume(ve);return}return l.enter("lineEnding"),l.consume(ve),l.exit("lineEnding"),(0,wt.f)(l,E,"linePrefix")}function K(ve){return l.enter("paragraph"),Y(ve)}function Y(ve){const Je=l.enter("chunkText",{contentType:"text",previous:C});return C&&(C.next=Je),C=Je,se(ve)}function se(ve){if(ve===null){l.exit("chunkText"),l.exit("paragraph"),l.consume(ve);return}return(0,ye.Ch)(ve)?(l.consume(ve),l.exit("chunkText"),Y):(l.consume(ve),se)}}const Xt={tokenize:En},je={tokenize:hn};function En(l){const E=this,C=[];let N=0,K,Y,se;return ve;function ve(Wn){if(N<C.length){const na=C[N];return E.containerState=na[1],l.attempt(na[0].continuation,Je,Qe)(Wn)}return Qe(Wn)}function Je(Wn){if(N++,E.containerState._closeFlow){E.containerState._closeFlow=void 0,K&&Mn();const na=E.events.length;let Jr=na,tn;for(;Jr--;)if(E.events[Jr][0]==="exit"&&E.events[Jr][1].type==="chunkFlow"){tn=E.events[Jr][1].end;break}cn(N);let ia=na;for(;ia<E.events.length;)E.events[ia][1].end=Cr({},tn),ia++;return Oe(E.events,Jr+1,0,E.events.slice(na)),E.events.length=ia,Qe(Wn)}return ve(Wn)}function Qe(Wn){if(N===C.length){if(!K)return ft(Wn);if(K.currentConstruct&&K.currentConstruct.concrete)return $n(Wn);E.interrupt=!!(K.currentConstruct&&!K._gfmTableDynamicInterruptHack)}return E.containerState={},l.check(je,Fe,gt)(Wn)}function Fe(Wn){return K&&Mn(),cn(N),ft(Wn)}function gt(Wn){return E.parser.lazy[E.now().line]=N!==C.length,se=E.now().offset,$n(Wn)}function ft(Wn){return E.containerState={},l.attempt(je,We,$n)(Wn)}function We(Wn){return N++,C.push([E.currentConstruct,E.containerState]),ft(Wn)}function $n(Wn){if(Wn===null){K&&Mn(),cn(0),l.consume(Wn);return}return K=K||E.parser.flow(E.now()),l.enter("chunkFlow",{_tokenizer:K,contentType:"flow",previous:Y}),Ir(Wn)}function Ir(Wn){if(Wn===null){$r(l.exit("chunkFlow"),!0),cn(0),l.consume(Wn);return}return(0,ye.Ch)(Wn)?(l.consume(Wn),$r(l.exit("chunkFlow")),N=0,E.interrupt=void 0,ve):(l.consume(Wn),Ir)}function $r(Wn,na){const Jr=E.sliceStream(Wn);if(na&&Jr.push(null),Wn.previous=Y,Y&&(Y.next=Wn),Y=Wn,K.defineSkip(Wn.start),K.write(Jr),E.parser.lazy[Wn.start.line]){let tn=K.events.length;for(;tn--;)if(K.events[tn][1].start.offset<se&&(!K.events[tn][1].end||K.events[tn][1].end.offset>se))return;const ia=E.events.length;let ka=ia,ra,ga;for(;ka--;)if(E.events[ka][0]==="exit"&&E.events[ka][1].type==="chunkFlow"){if(ra){ga=E.events[ka][1].end;break}ra=!0}for(cn(N),tn=ia;tn<E.events.length;)E.events[tn][1].end=Cr({},ga),tn++;Oe(E.events,ka+1,0,E.events.slice(ia)),E.events.length=tn}}function cn(Wn){let na=C.length;for(;na-- >Wn;){const Jr=C[na];E.containerState=Jr[1],Jr[0].exit.call(E,l)}C.length=Wn}function Mn(){K.write([null]),Y=void 0,K=void 0,E.containerState._closeFlow=void 0}}function hn(l,E,C){return(0,wt.f)(l,l.attempt(this.parser.constructs.document,E,C),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Ht={partial:!0,tokenize:Kt};function Kt(l,E,C){return N;function N(Y){return(0,ye.xz)(Y)?(0,wt.f)(l,K,"linePrefix")(Y):K(Y)}function K(Y){return Y===null||(0,ye.Ch)(Y)?E(Y):C(Y)}}const gn={resolve:Ft,tokenize:Dt},Wt={partial:!0,tokenize:Qt};function Ft(l){return pe(l),l}function Dt(l,E){let C;return N;function N(ve){return l.enter("content"),C=l.enter("chunkContent",{contentType:"content"}),K(ve)}function K(ve){return ve===null?Y(ve):(0,ye.Ch)(ve)?l.check(Wt,se,Y)(ve):(l.consume(ve),K)}function Y(ve){return l.exit("chunkContent"),l.exit("content"),E(ve)}function se(ve){return l.consume(ve),l.exit("chunkContent"),C.next=l.enter("chunkContent",{contentType:"content",previous:C}),C=C.next,K}}function Qt(l,E,C){const N=this;return K;function K(se){return l.exit("chunkContent"),l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),(0,wt.f)(l,Y,"linePrefix")}function Y(se){if(se===null||(0,ye.Ch)(se))return C(se);const ve=N.events[N.events.length-1];return!N.parser.constructs.disable.null.includes("codeIndented")&&ve&&ve[1].type==="linePrefix"&&ve[2].sliceSerialize(ve[1],!0).length>=4?E(se):l.interrupt(N.parser.constructs.flow,C,E)(se)}}const wn={tokenize:un};function un(l){const E=this,C=l.attempt(Ht,N,l.attempt(this.parser.constructs.flowInitial,K,(0,wt.f)(l,l.attempt(this.parser.constructs.flow,K,l.attempt(gn,K)),"linePrefix")));return C;function N(Y){if(Y===null){l.consume(Y);return}return l.enter("lineEndingBlank"),l.consume(Y),l.exit("lineEndingBlank"),E.currentConstruct=void 0,C}function K(Y){if(Y===null){l.consume(Y);return}return l.enter("lineEnding"),l.consume(Y),l.exit("lineEnding"),E.currentConstruct=void 0,C}}const dn={resolveAll:gr()},Lr=Vn("string"),_n=Vn("text");function Vn(l){return{resolveAll:gr(l==="text"?xr:void 0),tokenize:E};function E(C){const N=this,K=this.parser.constructs[l],Y=C.attempt(K,se,ve);return se;function se(Fe){return Qe(Fe)?Y(Fe):ve(Fe)}function ve(Fe){if(Fe===null){C.consume(Fe);return}return C.enter("data"),C.consume(Fe),Je}function Je(Fe){return Qe(Fe)?(C.exit("data"),Y(Fe)):(C.consume(Fe),Je)}function Qe(Fe){if(Fe===null)return!0;const gt=K[Fe];let ft=-1;if(gt)for(;++ft<gt.length;){const We=gt[ft];if(!We.previous||We.previous.call(N,N.previous))return!0}return!1}}}function gr(l){return E;function E(C,N){let K=-1,Y;for(;++K<=C.length;)Y===void 0?C[K]&&C[K][1].type==="data"&&(Y=K,K++):(!C[K]||C[K][1].type!=="data")&&(K!==Y+2&&(C[Y][1].end=C[K-1][1].end,C.splice(Y+2,K-Y-2),K=Y+2),Y=void 0);return l?l(C,N):C}}function xr(l,E){let C=0;for(;++C<=l.length;)if((C===l.length||l[C][1].type==="lineEnding")&&l[C-1][1].type==="data"){const N=l[C-1][1],K=E.sliceStream(N);let Y=K.length,se=-1,ve=0,Je;for(;Y--;){const Qe=K[Y];if(typeof Qe=="string"){for(se=Qe.length;Qe.charCodeAt(se-1)===32;)ve++,se--;if(se)break;se=-1}else if(Qe===-2)Je=!0,ve++;else if(Qe!==-1){Y++;break}}if(E._contentTypeTextTrailing&&C===l.length&&(ve=0),ve){const Qe={type:C===l.length||Je||ve<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:Y?se:N.start._bufferIndex+se,_index:N.start._index+Y,line:N.end.line,column:N.end.column-ve,offset:N.end.offset-ve},end:Cr({},N.end)};N.end=Cr({},Qe.start),N.start.offset===N.end.offset?Object.assign(N,Qe):(l.splice(C,0,["enter",Qe,E],["exit",Qe,E]),C+=2)}C++}return l}const Xn={name:"thematicBreak",tokenize:Cn};function Cn(l,E,C){let N=0,K;return Y;function Y(Qe){return l.enter("thematicBreak"),se(Qe)}function se(Qe){return K=Qe,ve(Qe)}function ve(Qe){return Qe===K?(l.enter("thematicBreakSequence"),Je(Qe)):N>=3&&(Qe===null||(0,ye.Ch)(Qe))?(l.exit("thematicBreak"),E(Qe)):C(Qe)}function Je(Qe){return Qe===K?(l.consume(Qe),N++,Je):(l.exit("thematicBreakSequence"),(0,ye.xz)(Qe)?(0,wt.f)(l,ve,"whitespace")(Qe):ve(Qe))}}const On={continuation:{tokenize:mr},exit:Pe,name:"list",tokenize:Rn},Hn={partial:!0,tokenize:De},Zt={partial:!0,tokenize:Or};function Rn(l,E,C){const N=this,K=N.events[N.events.length-1];let Y=K&&K[1].type==="linePrefix"?K[2].sliceSerialize(K[1],!0).length:0,se=0;return ve;function ve(We){const $n=N.containerState.type||(We===42||We===43||We===45?"listUnordered":"listOrdered");if($n==="listUnordered"?!N.containerState.marker||We===N.containerState.marker:(0,ye.pY)(We)){if(N.containerState.type||(N.containerState.type=$n,l.enter($n,{_container:!0})),$n==="listUnordered")return l.enter("listItemPrefix"),We===42||We===45?l.check(Xn,C,Qe)(We):Qe(We);if(!N.interrupt||We===49)return l.enter("listItemPrefix"),l.enter("listItemValue"),Je(We)}return C(We)}function Je(We){return(0,ye.pY)(We)&&++se<10?(l.consume(We),Je):(!N.interrupt||se<2)&&(N.containerState.marker?We===N.containerState.marker:We===41||We===46)?(l.exit("listItemValue"),Qe(We)):C(We)}function Qe(We){return l.enter("listItemMarker"),l.consume(We),l.exit("listItemMarker"),N.containerState.marker=N.containerState.marker||We,l.check(Ht,N.interrupt?C:Fe,l.attempt(Hn,ft,gt))}function Fe(We){return N.containerState.initialBlankLine=!0,Y++,ft(We)}function gt(We){return(0,ye.xz)(We)?(l.enter("listItemPrefixWhitespace"),l.consume(We),l.exit("listItemPrefixWhitespace"),ft):C(We)}function ft(We){return N.containerState.size=Y+N.sliceSerialize(l.exit("listItemPrefix"),!0).length,E(We)}}function mr(l,E,C){const N=this;return N.containerState._closeFlow=void 0,l.check(Ht,K,Y);function K(ve){return N.containerState.furtherBlankLines=N.containerState.furtherBlankLines||N.containerState.initialBlankLine,(0,wt.f)(l,E,"listItemIndent",N.containerState.size+1)(ve)}function Y(ve){return N.containerState.furtherBlankLines||!(0,ye.xz)(ve)?(N.containerState.furtherBlankLines=void 0,N.containerState.initialBlankLine=void 0,se(ve)):(N.containerState.furtherBlankLines=void 0,N.containerState.initialBlankLine=void 0,l.attempt(Zt,E,se)(ve))}function se(ve){return N.containerState._closeFlow=!0,N.interrupt=void 0,(0,wt.f)(l,l.attempt(On,E,C),"linePrefix",N.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve)}}function Or(l,E,C){const N=this;return(0,wt.f)(l,K,"listItemIndent",N.containerState.size+1);function K(Y){const se=N.events[N.events.length-1];return se&&se[1].type==="listItemIndent"&&se[2].sliceSerialize(se[1],!0).length===N.containerState.size?E(Y):C(Y)}}function Pe(l){l.exit(this.containerState.type)}function De(l,E,C){const N=this;return(0,wt.f)(l,K,"listItemPrefixWhitespace",N.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function K(Y){const se=N.events[N.events.length-1];return!(0,ye.xz)(Y)&&se&&se[1].type==="listItemPrefixWhitespace"?E(Y):C(Y)}}const Bt={continuation:{tokenize:me},exit:Ct,name:"blockQuote",tokenize:Rt};function Rt(l,E,C){const N=this;return K;function K(se){if(se===62){const ve=N.containerState;return ve.open||(l.enter("blockQuote",{_container:!0}),ve.open=!0),l.enter("blockQuotePrefix"),l.enter("blockQuoteMarker"),l.consume(se),l.exit("blockQuoteMarker"),Y}return C(se)}function Y(se){return(0,ye.xz)(se)?(l.enter("blockQuotePrefixWhitespace"),l.consume(se),l.exit("blockQuotePrefixWhitespace"),l.exit("blockQuotePrefix"),E):(l.exit("blockQuotePrefix"),E(se))}}function me(l,E,C){const N=this;return K;function K(se){return(0,ye.xz)(se)?(0,wt.f)(l,Y,"linePrefix",N.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(se):Y(se)}function Y(se){return l.attempt(Bt,E,C)(se)}}function Ct(l){l.exit("blockQuote")}function _t(l,E,C,N,K,Y,se,ve,Je){const Qe=Je||Number.POSITIVE_INFINITY;let Fe=0;return gt;function gt(cn){return cn===60?(l.enter(N),l.enter(K),l.enter(Y),l.consume(cn),l.exit(Y),ft):cn===null||cn===32||cn===41||(0,ye.Av)(cn)?C(cn):(l.enter(N),l.enter(se),l.enter(ve),l.enter("chunkString",{contentType:"string"}),Ir(cn))}function ft(cn){return cn===62?(l.enter(Y),l.consume(cn),l.exit(Y),l.exit(K),l.exit(N),E):(l.enter(ve),l.enter("chunkString",{contentType:"string"}),We(cn))}function We(cn){return cn===62?(l.exit("chunkString"),l.exit(ve),ft(cn)):cn===null||cn===60||(0,ye.Ch)(cn)?C(cn):(l.consume(cn),cn===92?$n:We)}function $n(cn){return cn===60||cn===62||cn===92?(l.consume(cn),We):We(cn)}function Ir(cn){return!Fe&&(cn===null||cn===41||(0,ye.z3)(cn))?(l.exit("chunkString"),l.exit(ve),l.exit(se),l.exit(N),E(cn)):Fe<Qe&&cn===40?(l.consume(cn),Fe++,Ir):cn===41?(l.consume(cn),Fe--,Ir):cn===null||cn===32||cn===40||(0,ye.Av)(cn)?C(cn):(l.consume(cn),cn===92?$r:Ir)}function $r(cn){return cn===40||cn===41||cn===92?(l.consume(cn),Ir):Ir(cn)}}function Ce(l,E,C,N,K,Y){const se=this;let ve=0,Je;return Qe;function Qe(We){return l.enter(N),l.enter(K),l.consume(We),l.exit(K),l.enter(Y),Fe}function Fe(We){return ve>999||We===null||We===91||We===93&&!Je||We===94&&!ve&&"_hiddenFootnoteSupport"in se.parser.constructs?C(We):We===93?(l.exit(Y),l.enter(K),l.consume(We),l.exit(K),l.exit(N),E):(0,ye.Ch)(We)?(l.enter("lineEnding"),l.consume(We),l.exit("lineEnding"),Fe):(l.enter("chunkString",{contentType:"string"}),gt(We))}function gt(We){return We===null||We===91||We===93||(0,ye.Ch)(We)||ve++>999?(l.exit("chunkString"),Fe(We)):(l.consume(We),Je||(Je=!(0,ye.xz)(We)),We===92?ft:gt)}function ft(We){return We===91||We===92||We===93?(l.consume(We),ve++,gt):gt(We)}}function m(l,E,C,N,K,Y){let se;return ve;function ve(ft){return ft===34||ft===39||ft===40?(l.enter(N),l.enter(K),l.consume(ft),l.exit(K),se=ft===40?41:ft,Je):C(ft)}function Je(ft){return ft===se?(l.enter(K),l.consume(ft),l.exit(K),l.exit(N),E):(l.enter(Y),Qe(ft))}function Qe(ft){return ft===se?(l.exit(Y),Je(se)):ft===null?C(ft):(0,ye.Ch)(ft)?(l.enter("lineEnding"),l.consume(ft),l.exit("lineEnding"),(0,wt.f)(l,Qe,"linePrefix")):(l.enter("chunkString",{contentType:"string"}),Fe(ft))}function Fe(ft){return ft===se||ft===null||(0,ye.Ch)(ft)?(l.exit("chunkString"),Qe(ft)):(l.consume(ft),ft===92?gt:Fe)}function gt(ft){return ft===se||ft===92?(l.consume(ft),Fe):Fe(ft)}}function Yt(l,E){let C;return N;function N(K){return(0,ye.Ch)(K)?(l.enter("lineEnding"),l.consume(K),l.exit("lineEnding"),C=!0,N):(0,ye.xz)(K)?(0,wt.f)(l,N,C?"linePrefix":"lineSuffix")(K):E(K)}}function qt(l){return l.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ze={name:"definition",tokenize:jt},xn={partial:!0,tokenize:fn};function jt(l,E,C){const N=this;let K;return Y;function Y(We){return l.enter("definition"),se(We)}function se(We){return Ce.call(N,l,ve,C,"definitionLabel","definitionLabelMarker","definitionLabelString")(We)}function ve(We){return K=qt(N.sliceSerialize(N.events[N.events.length-1][1]).slice(1,-1)),We===58?(l.enter("definitionMarker"),l.consume(We),l.exit("definitionMarker"),Je):C(We)}function Je(We){return(0,ye.z3)(We)?Yt(l,Qe)(We):Qe(We)}function Qe(We){return _t(l,Fe,C,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(We)}function Fe(We){return l.attempt(xn,gt,gt)(We)}function gt(We){return(0,ye.xz)(We)?(0,wt.f)(l,ft,"whitespace")(We):ft(We)}function ft(We){return We===null||(0,ye.Ch)(We)?(l.exit("definition"),N.parser.defined.push(K),E(We)):C(We)}}function fn(l,E,C){return N;function N(ve){return(0,ye.z3)(ve)?Yt(l,K)(ve):C(ve)}function K(ve){return m(l,Y,C,"definitionTitle","definitionTitleMarker","definitionTitleString")(ve)}function Y(ve){return(0,ye.xz)(ve)?(0,wt.f)(l,se,"whitespace")(ve):se(ve)}function se(ve){return ve===null||(0,ye.Ch)(ve)?E(ve):C(ve)}}const an={name:"codeIndented",tokenize:Sn},he={partial:!0,tokenize:or};function Sn(l,E,C){const N=this;return K;function K(Qe){return l.enter("codeIndented"),(0,wt.f)(l,Y,"linePrefix",5)(Qe)}function Y(Qe){const Fe=N.events[N.events.length-1];return Fe&&Fe[1].type==="linePrefix"&&Fe[2].sliceSerialize(Fe[1],!0).length>=4?se(Qe):C(Qe)}function se(Qe){return Qe===null?Je(Qe):(0,ye.Ch)(Qe)?l.attempt(he,se,Je)(Qe):(l.enter("codeFlowValue"),ve(Qe))}function ve(Qe){return Qe===null||(0,ye.Ch)(Qe)?(l.exit("codeFlowValue"),se(Qe)):(l.consume(Qe),ve)}function Je(Qe){return l.exit("codeIndented"),E(Qe)}}function or(l,E,C){const N=this;return K;function K(se){return N.parser.lazy[N.now().line]?C(se):(0,ye.Ch)(se)?(l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),K):(0,wt.f)(l,Y,"linePrefix",5)(se)}function Y(se){const ve=N.events[N.events.length-1];return ve&&ve[1].type==="linePrefix"&&ve[2].sliceSerialize(ve[1],!0).length>=4?E(se):(0,ye.Ch)(se)?K(se):C(se)}}const on={name:"headingAtx",resolve:Jt,tokenize:Tn};function Jt(l,E){let C=l.length-2,N=3,K,Y;return l[N][1].type==="whitespace"&&(N+=2),C-2>N&&l[C][1].type==="whitespace"&&(C-=2),l[C][1].type==="atxHeadingSequence"&&(N===C-1||C-4>N&&l[C-2][1].type==="whitespace")&&(C-=N+1===C?2:4),C>N&&(K={type:"atxHeadingText",start:l[N][1].start,end:l[C][1].end},Y={type:"chunkText",start:l[N][1].start,end:l[C][1].end,contentType:"text"},Oe(l,N,C-N+1,[["enter",K,E],["enter",Y,E],["exit",Y,E],["exit",K,E]])),l}function Tn(l,E,C){let N=0;return K;function K(Fe){return l.enter("atxHeading"),Y(Fe)}function Y(Fe){return l.enter("atxHeadingSequence"),se(Fe)}function se(Fe){return Fe===35&&N++<6?(l.consume(Fe),se):Fe===null||(0,ye.z3)(Fe)?(l.exit("atxHeadingSequence"),ve(Fe)):C(Fe)}function ve(Fe){return Fe===35?(l.enter("atxHeadingSequence"),Je(Fe)):Fe===null||(0,ye.Ch)(Fe)?(l.exit("atxHeading"),E(Fe)):(0,ye.xz)(Fe)?(0,wt.f)(l,ve,"whitespace")(Fe):(l.enter("atxHeadingText"),Qe(Fe))}function Je(Fe){return Fe===35?(l.consume(Fe),Je):(l.exit("atxHeadingSequence"),ve(Fe))}function Qe(Fe){return Fe===null||Fe===35||(0,ye.z3)(Fe)?(l.exit("atxHeadingText"),ve(Fe)):(l.consume(Fe),Qe)}}const en={name:"setextUnderline",resolveTo:Yn,tokenize:Sr};function Yn(l,E){let C=l.length,N,K,Y;for(;C--;)if(l[C][0]==="enter"){if(l[C][1].type==="content"){N=C;break}l[C][1].type==="paragraph"&&(K=C)}else l[C][1].type==="content"&&l.splice(C,1),!Y&&l[C][1].type==="definition"&&(Y=C);const se={type:"setextHeading",start:Cr({},l[N][1].start),end:Cr({},l[l.length-1][1].end)};return l[K][1].type="setextHeadingText",Y?(l.splice(K,0,["enter",se,E]),l.splice(Y+1,0,["exit",l[N][1],E]),l[N][1].end=Cr({},l[Y][1].end)):l[N][1]=se,l.push(["exit",se,E]),l}function Sr(l,E,C){const N=this;let K;return Y;function Y(Qe){let Fe=N.events.length,gt;for(;Fe--;)if(N.events[Fe][1].type!=="lineEnding"&&N.events[Fe][1].type!=="linePrefix"&&N.events[Fe][1].type!=="content"){gt=N.events[Fe][1].type==="paragraph";break}return!N.parser.lazy[N.now().line]&&(N.interrupt||gt)?(l.enter("setextHeadingLine"),K=Qe,se(Qe)):C(Qe)}function se(Qe){return l.enter("setextHeadingLineSequence"),ve(Qe)}function ve(Qe){return Qe===K?(l.consume(Qe),ve):(l.exit("setextHeadingLineSequence"),(0,ye.xz)(Qe)?(0,wt.f)(l,Je,"lineSuffix")(Qe):Je(Qe))}function Je(Qe){return Qe===null||(0,ye.Ch)(Qe)?(l.exit("setextHeadingLine"),E(Qe)):C(Qe)}}const br=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],_r=["pre","script","style","textarea"],zr={concrete:!0,name:"htmlFlow",resolveTo:Gr,tokenize:Wr},Br={partial:!0,tokenize:Bn},vr={partial:!0,tokenize:mn};function Gr(l){let E=l.length;for(;E--&&!(l[E][0]==="enter"&&l[E][1].type==="htmlFlow"););return E>1&&l[E-2][1].type==="linePrefix"&&(l[E][1].start=l[E-2][1].start,l[E+1][1].start=l[E-2][1].start,l.splice(E-2,2)),l}function Wr(l,E,C){const N=this;let K,Y,se,ve,Je;return Qe;function Qe(ot){return Fe(ot)}function Fe(ot){return l.enter("htmlFlow"),l.enter("htmlFlowData"),l.consume(ot),gt}function gt(ot){return ot===33?(l.consume(ot),ft):ot===47?(l.consume(ot),Y=!0,Ir):ot===63?(l.consume(ot),K=3,N.interrupt?E:et):(0,ye.jv)(ot)?(l.consume(ot),se=String.fromCharCode(ot),$r):C(ot)}function ft(ot){return ot===45?(l.consume(ot),K=2,We):ot===91?(l.consume(ot),K=5,ve=0,$n):(0,ye.jv)(ot)?(l.consume(ot),K=4,N.interrupt?E:et):C(ot)}function We(ot){return ot===45?(l.consume(ot),N.interrupt?E:et):C(ot)}function $n(ot){const yi="CDATA[";return ot===yi.charCodeAt(ve++)?(l.consume(ot),ve===yi.length?N.interrupt?E:da:$n):C(ot)}function Ir(ot){return(0,ye.jv)(ot)?(l.consume(ot),se=String.fromCharCode(ot),$r):C(ot)}function $r(ot){if(ot===null||ot===47||ot===62||(0,ye.z3)(ot)){const yi=ot===47,Gi=se.toLowerCase();return!yi&&!Y&&_r.includes(Gi)?(K=1,N.interrupt?E(ot):da(ot)):br.includes(se.toLowerCase())?(K=6,yi?(l.consume(ot),cn):N.interrupt?E(ot):da(ot)):(K=7,N.interrupt&&!N.parser.lazy[N.now().line]?C(ot):Y?Mn(ot):Wn(ot))}return ot===45||(0,ye.H$)(ot)?(l.consume(ot),se+=String.fromCharCode(ot),$r):C(ot)}function cn(ot){return ot===62?(l.consume(ot),N.interrupt?E:da):C(ot)}function Mn(ot){return(0,ye.xz)(ot)?(l.consume(ot),Mn):ga(ot)}function Wn(ot){return ot===47?(l.consume(ot),ga):ot===58||ot===95||(0,ye.jv)(ot)?(l.consume(ot),na):(0,ye.xz)(ot)?(l.consume(ot),Wn):ga(ot)}function na(ot){return ot===45||ot===46||ot===58||ot===95||(0,ye.H$)(ot)?(l.consume(ot),na):Jr(ot)}function Jr(ot){return ot===61?(l.consume(ot),tn):(0,ye.xz)(ot)?(l.consume(ot),Jr):Wn(ot)}function tn(ot){return ot===null||ot===60||ot===61||ot===62||ot===96?C(ot):ot===34||ot===39?(l.consume(ot),Je=ot,ia):(0,ye.xz)(ot)?(l.consume(ot),tn):ka(ot)}function ia(ot){return ot===Je?(l.consume(ot),Je=null,ra):ot===null||(0,ye.Ch)(ot)?C(ot):(l.consume(ot),ia)}function ka(ot){return ot===null||ot===34||ot===39||ot===47||ot===60||ot===61||ot===62||ot===96||(0,ye.z3)(ot)?Jr(ot):(l.consume(ot),ka)}function ra(ot){return ot===47||ot===62||(0,ye.xz)(ot)?Wn(ot):C(ot)}function ga(ot){return ot===62?(l.consume(ot),Ya):C(ot)}function Ya(ot){return ot===null||(0,ye.Ch)(ot)?da(ot):(0,ye.xz)(ot)?(l.consume(ot),Ya):C(ot)}function da(ot){return ot===45&&K===2?(l.consume(ot),Sa):ot===60&&K===1?(l.consume(ot),_a):ot===62&&K===4?(l.consume(ot),wi):ot===63&&K===3?(l.consume(ot),et):ot===93&&K===5?(l.consume(ot),vi):(0,ye.Ch)(ot)&&(K===6||K===7)?(l.exit("htmlFlowData"),l.check(Br,zi,nr)(ot)):ot===null||(0,ye.Ch)(ot)?(l.exit("htmlFlowData"),nr(ot)):(l.consume(ot),da)}function nr(ot){return l.check(vr,ir,zi)(ot)}function ir(ot){return l.enter("lineEnding"),l.consume(ot),l.exit("lineEnding"),Fr}function Fr(ot){return ot===null||(0,ye.Ch)(ot)?nr(ot):(l.enter("htmlFlowData"),da(ot))}function Sa(ot){return ot===45?(l.consume(ot),et):da(ot)}function _a(ot){return ot===47?(l.consume(ot),se="",ti):da(ot)}function ti(ot){if(ot===62){const yi=se.toLowerCase();return _r.includes(yi)?(l.consume(ot),wi):da(ot)}return(0,ye.jv)(ot)&&se.length<8?(l.consume(ot),se+=String.fromCharCode(ot),ti):da(ot)}function vi(ot){return ot===93?(l.consume(ot),et):da(ot)}function et(ot){return ot===62?(l.consume(ot),wi):ot===45&&K===2?(l.consume(ot),et):da(ot)}function wi(ot){return ot===null||(0,ye.Ch)(ot)?(l.exit("htmlFlowData"),zi(ot)):(l.consume(ot),wi)}function zi(ot){return l.exit("htmlFlow"),E(ot)}}function mn(l,E,C){const N=this;return K;function K(se){return(0,ye.Ch)(se)?(l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),Y):C(se)}function Y(se){return N.parser.lazy[N.now().line]?C(se):E(se)}}function Bn(l,E,C){return N;function N(K){return l.enter("lineEnding"),l.consume(K),l.exit("lineEnding"),l.attempt(Ht,E,C)}}const zn={partial:!0,tokenize:Pr},dr={concrete:!0,name:"codeFenced",tokenize:yr};function yr(l,E,C){const N=this,K={partial:!0,tokenize:Jr};let Y=0,se=0,ve;return Je;function Je(tn){return Qe(tn)}function Qe(tn){const ia=N.events[N.events.length-1];return Y=ia&&ia[1].type==="linePrefix"?ia[2].sliceSerialize(ia[1],!0).length:0,ve=tn,l.enter("codeFenced"),l.enter("codeFencedFence"),l.enter("codeFencedFenceSequence"),Fe(tn)}function Fe(tn){return tn===ve?(se++,l.consume(tn),Fe):se<3?C(tn):(l.exit("codeFencedFenceSequence"),(0,ye.xz)(tn)?(0,wt.f)(l,gt,"whitespace")(tn):gt(tn))}function gt(tn){return tn===null||(0,ye.Ch)(tn)?(l.exit("codeFencedFence"),N.interrupt?E(tn):l.check(zn,Ir,na)(tn)):(l.enter("codeFencedFenceInfo"),l.enter("chunkString",{contentType:"string"}),ft(tn))}function ft(tn){return tn===null||(0,ye.Ch)(tn)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),gt(tn)):(0,ye.xz)(tn)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),(0,wt.f)(l,We,"whitespace")(tn)):tn===96&&tn===ve?C(tn):(l.consume(tn),ft)}function We(tn){return tn===null||(0,ye.Ch)(tn)?gt(tn):(l.enter("codeFencedFenceMeta"),l.enter("chunkString",{contentType:"string"}),$n(tn))}function $n(tn){return tn===null||(0,ye.Ch)(tn)?(l.exit("chunkString"),l.exit("codeFencedFenceMeta"),gt(tn)):tn===96&&tn===ve?C(tn):(l.consume(tn),$n)}function Ir(tn){return l.attempt(K,na,$r)(tn)}function $r(tn){return l.enter("lineEnding"),l.consume(tn),l.exit("lineEnding"),cn}function cn(tn){return Y>0&&(0,ye.xz)(tn)?(0,wt.f)(l,Mn,"linePrefix",Y+1)(tn):Mn(tn)}function Mn(tn){return tn===null||(0,ye.Ch)(tn)?l.check(zn,Ir,na)(tn):(l.enter("codeFlowValue"),Wn(tn))}function Wn(tn){return tn===null||(0,ye.Ch)(tn)?(l.exit("codeFlowValue"),Mn(tn)):(l.consume(tn),Wn)}function na(tn){return l.exit("codeFenced"),E(tn)}function Jr(tn,ia,ka){let ra=0;return ga;function ga(Fr){return tn.enter("lineEnding"),tn.consume(Fr),tn.exit("lineEnding"),Ya}function Ya(Fr){return tn.enter("codeFencedFence"),(0,ye.xz)(Fr)?(0,wt.f)(tn,da,"linePrefix",N.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Fr):da(Fr)}function da(Fr){return Fr===ve?(tn.enter("codeFencedFenceSequence"),nr(Fr)):ka(Fr)}function nr(Fr){return Fr===ve?(ra++,tn.consume(Fr),nr):ra>=se?(tn.exit("codeFencedFenceSequence"),(0,ye.xz)(Fr)?(0,wt.f)(tn,ir,"whitespace")(Fr):ir(Fr)):ka(Fr)}function ir(Fr){return Fr===null||(0,ye.Ch)(Fr)?(tn.exit("codeFencedFence"),ia(Fr)):ka(Fr)}}}function Pr(l,E,C){const N=this;return K;function K(se){return se===null?C(se):(l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),Y)}function Y(se){return N.parser.lazy[N.now().line]?C(se):E(se)}}const sa=document.createElement("i");function Se(l){const E="&"+l+";";sa.innerHTML=E;const C=sa.textContent;return C.charCodeAt(C.length-1)===59&&l!=="semi"||C===E?!1:C}const ct={name:"characterReference",tokenize:Ke};function Ke(l,E,C){const N=this;let K=0,Y,se;return ve;function ve(gt){return l.enter("characterReference"),l.enter("characterReferenceMarker"),l.consume(gt),l.exit("characterReferenceMarker"),Je}function Je(gt){return gt===35?(l.enter("characterReferenceMarkerNumeric"),l.consume(gt),l.exit("characterReferenceMarkerNumeric"),Qe):(l.enter("characterReferenceValue"),Y=31,se=ye.H$,Fe(gt))}function Qe(gt){return gt===88||gt===120?(l.enter("characterReferenceMarkerHexadecimal"),l.consume(gt),l.exit("characterReferenceMarkerHexadecimal"),l.enter("characterReferenceValue"),Y=6,se=ye.AF,Fe):(l.enter("characterReferenceValue"),Y=7,se=ye.pY,Fe(gt))}function Fe(gt){if(gt===59&&K){const ft=l.exit("characterReferenceValue");return se===ye.H$&&!Se(N.sliceSerialize(ft))?C(gt):(l.enter("characterReferenceMarker"),l.consume(gt),l.exit("characterReferenceMarker"),l.exit("characterReference"),E)}return se(gt)&&K++<Y?(l.consume(gt),Fe):C(gt)}}const dt={name:"characterEscape",tokenize:yt};function yt(l,E,C){return N;function N(Y){return l.enter("characterEscape"),l.enter("escapeMarker"),l.consume(Y),l.exit("escapeMarker"),K}function K(Y){return(0,ye.sR)(Y)?(l.enter("characterEscapeValue"),l.consume(Y),l.exit("characterEscapeValue"),l.exit("characterEscape"),E):C(Y)}}const Tt={name:"lineEnding",tokenize:Ut};function Ut(l,E){return C;function C(N){return l.enter("lineEnding"),l.consume(N),l.exit("lineEnding"),(0,wt.f)(l,E,"linePrefix")}}function Mt(l,E,C){const N=[];let K=-1;for(;++K<l.length;){const Y=l[K].resolveAll;Y&&!N.includes(Y)&&(E=Y(E,C),N.push(Y))}return E}const It={name:"labelEnd",resolveAll:bt,resolveTo:kt,tokenize:$t},Xe={tokenize:pn},mt={tokenize:sn},vt={tokenize:kn};function bt(l){let E=-1;const C=[];for(;++E<l.length;){const N=l[E][1];if(C.push(l[E]),N.type==="labelImage"||N.type==="labelLink"||N.type==="labelEnd"){const K=N.type==="labelImage"?4:2;N.type="data",E+=K}}return l.length!==C.length&&Oe(l,0,l.length,C),l}function kt(l,E){let C=l.length,N=0,K,Y,se,ve;for(;C--;)if(K=l[C][1],Y){if(K.type==="link"||K.type==="labelLink"&&K._inactive)break;l[C][0]==="enter"&&K.type==="labelLink"&&(K._inactive=!0)}else if(se){if(l[C][0]==="enter"&&(K.type==="labelImage"||K.type==="labelLink")&&!K._balanced&&(Y=C,K.type!=="labelLink")){N=2;break}}else K.type==="labelEnd"&&(se=C);const Je={type:l[Y][1].type==="labelLink"?"link":"image",start:Cr({},l[Y][1].start),end:Cr({},l[l.length-1][1].end)},Qe={type:"label",start:Cr({},l[Y][1].start),end:Cr({},l[se][1].end)},Fe={type:"labelText",start:Cr({},l[Y+N+2][1].end),end:Cr({},l[se-2][1].start)};return ve=[["enter",Je,E],["enter",Qe,E]],ve=qe(ve,l.slice(Y+1,Y+N+3)),ve=qe(ve,[["enter",Fe,E]]),ve=qe(ve,Mt(E.parser.constructs.insideSpan.null,l.slice(Y+N+4,se-3),E)),ve=qe(ve,[["exit",Fe,E],l[se-2],l[se-1],["exit",Qe,E]]),ve=qe(ve,l.slice(se+1)),ve=qe(ve,[["exit",Je,E]]),Oe(l,Y,l.length,ve),l}function $t(l,E,C){const N=this;let K=N.events.length,Y,se;for(;K--;)if((N.events[K][1].type==="labelImage"||N.events[K][1].type==="labelLink")&&!N.events[K][1]._balanced){Y=N.events[K][1];break}return ve;function ve(ft){return Y?Y._inactive?gt(ft):(se=N.parser.defined.includes(qt(N.sliceSerialize({start:Y.end,end:N.now()}))),l.enter("labelEnd"),l.enter("labelMarker"),l.consume(ft),l.exit("labelMarker"),l.exit("labelEnd"),Je):C(ft)}function Je(ft){return ft===40?l.attempt(Xe,Fe,se?Fe:gt)(ft):ft===91?l.attempt(mt,Fe,se?Qe:gt)(ft):se?Fe(ft):gt(ft)}function Qe(ft){return l.attempt(vt,Fe,gt)(ft)}function Fe(ft){return E(ft)}function gt(ft){return Y._balanced=!0,C(ft)}}function pn(l,E,C){return N;function N(gt){return l.enter("resource"),l.enter("resourceMarker"),l.consume(gt),l.exit("resourceMarker"),K}function K(gt){return(0,ye.z3)(gt)?Yt(l,Y)(gt):Y(gt)}function Y(gt){return gt===41?Fe(gt):_t(l,se,ve,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(gt)}function se(gt){return(0,ye.z3)(gt)?Yt(l,Je)(gt):Fe(gt)}function ve(gt){return C(gt)}function Je(gt){return gt===34||gt===39||gt===40?m(l,Qe,C,"resourceTitle","resourceTitleMarker","resourceTitleString")(gt):Fe(gt)}function Qe(gt){return(0,ye.z3)(gt)?Yt(l,Fe)(gt):Fe(gt)}function Fe(gt){return gt===41?(l.enter("resourceMarker"),l.consume(gt),l.exit("resourceMarker"),l.exit("resource"),E):C(gt)}}function sn(l,E,C){const N=this;return K;function K(ve){return Ce.call(N,l,Y,se,"reference","referenceMarker","referenceString")(ve)}function Y(ve){return N.parser.defined.includes(qt(N.sliceSerialize(N.events[N.events.length-1][1]).slice(1,-1)))?E(ve):C(ve)}function se(ve){return C(ve)}}function kn(l,E,C){return N;function N(Y){return l.enter("reference"),l.enter("referenceMarker"),l.consume(Y),l.exit("referenceMarker"),K}function K(Y){return Y===93?(l.enter("referenceMarker"),l.consume(Y),l.exit("referenceMarker"),l.exit("reference"),E):C(Y)}}const Gn={name:"labelStartImage",resolveAll:It.resolveAll,tokenize:An};function An(l,E,C){const N=this;return K;function K(ve){return l.enter("labelImage"),l.enter("labelImageMarker"),l.consume(ve),l.exit("labelImageMarker"),Y}function Y(ve){return ve===91?(l.enter("labelMarker"),l.consume(ve),l.exit("labelMarker"),l.exit("labelImage"),se):C(ve)}function se(ve){return ve===94&&"_hiddenFootnoteSupport"in N.parser.constructs?C(ve):E(ve)}}function qn(l){if(l===null||(0,ye.z3)(l)||(0,ye.B8)(l))return 1;if((0,ye.Xh)(l))return 2}const Nn={name:"attention",resolveAll:Ar,tokenize:Tr};function Ar(l,E){let C=-1,N,K,Y,se,ve,Je,Qe,Fe;for(;++C<l.length;)if(l[C][0]==="enter"&&l[C][1].type==="attentionSequence"&&l[C][1]._close){for(N=C;N--;)if(l[N][0]==="exit"&&l[N][1].type==="attentionSequence"&&l[N][1]._open&&E.sliceSerialize(l[N][1]).charCodeAt(0)===E.sliceSerialize(l[C][1]).charCodeAt(0)){if((l[N][1]._close||l[C][1]._open)&&(l[C][1].end.offset-l[C][1].start.offset)%3&&!((l[N][1].end.offset-l[N][1].start.offset+l[C][1].end.offset-l[C][1].start.offset)%3))continue;Je=l[N][1].end.offset-l[N][1].start.offset>1&&l[C][1].end.offset-l[C][1].start.offset>1?2:1;const gt=Cr({},l[N][1].end),ft=Cr({},l[C][1].start);Er(gt,-Je),Er(ft,Je),se={type:Je>1?"strongSequence":"emphasisSequence",start:gt,end:Cr({},l[N][1].end)},ve={type:Je>1?"strongSequence":"emphasisSequence",start:Cr({},l[C][1].start),end:ft},Y={type:Je>1?"strongText":"emphasisText",start:Cr({},l[N][1].end),end:Cr({},l[C][1].start)},K={type:Je>1?"strong":"emphasis",start:Cr({},se.start),end:Cr({},ve.end)},l[N][1].end=Cr({},se.start),l[C][1].start=Cr({},ve.end),Qe=[],l[N][1].end.offset-l[N][1].start.offset&&(Qe=qe(Qe,[["enter",l[N][1],E],["exit",l[N][1],E]])),Qe=qe(Qe,[["enter",K,E],["enter",se,E],["exit",se,E],["enter",Y,E]]),Qe=qe(Qe,Mt(E.parser.constructs.insideSpan.null,l.slice(N+1,C),E)),Qe=qe(Qe,[["exit",Y,E],["enter",ve,E],["exit",ve,E],["exit",K,E]]),l[C][1].end.offset-l[C][1].start.offset?(Fe=2,Qe=qe(Qe,[["enter",l[C][1],E],["exit",l[C][1],E]])):Fe=0,Oe(l,N-1,C-N+3,Qe),C=N+Qe.length-Fe-2;break}}for(C=-1;++C<l.length;)l[C][1].type==="attentionSequence"&&(l[C][1].type="data");return l}function Tr(l,E){const C=this.parser.constructs.attentionMarkers.null,N=this.previous,K=qn(N);let Y;return se;function se(Je){return Y=Je,l.enter("attentionSequence"),ve(Je)}function ve(Je){if(Je===Y)return l.consume(Je),ve;const Qe=l.exit("attentionSequence"),Fe=qn(Je),gt=!Fe||Fe===2&&K||C.includes(Je),ft=!K||K===2&&Fe||C.includes(N);return Qe._open=!!(Y===42?gt:gt&&(K||!ft)),Qe._close=!!(Y===42?ft:ft&&(Fe||!gt)),E(Je)}}function Er(l,E){l.column+=E,l.offset+=E,l._bufferIndex+=E}const rr={name:"autolink",tokenize:pr};function pr(l,E,C){let N=0;return K;function K(We){return l.enter("autolink"),l.enter("autolinkMarker"),l.consume(We),l.exit("autolinkMarker"),l.enter("autolinkProtocol"),Y}function Y(We){return(0,ye.jv)(We)?(l.consume(We),se):We===64?C(We):Qe(We)}function se(We){return We===43||We===45||We===46||(0,ye.H$)(We)?(N=1,ve(We)):Qe(We)}function ve(We){return We===58?(l.consume(We),N=0,Je):(We===43||We===45||We===46||(0,ye.H$)(We))&&N++<32?(l.consume(We),ve):(N=0,Qe(We))}function Je(We){return We===62?(l.exit("autolinkProtocol"),l.enter("autolinkMarker"),l.consume(We),l.exit("autolinkMarker"),l.exit("autolink"),E):We===null||We===32||We===60||(0,ye.Av)(We)?C(We):(l.consume(We),Je)}function Qe(We){return We===64?(l.consume(We),Fe):(0,ye.n9)(We)?(l.consume(We),Qe):C(We)}function Fe(We){return(0,ye.H$)(We)?gt(We):C(We)}function gt(We){return We===46?(l.consume(We),N=0,Fe):We===62?(l.exit("autolinkProtocol").type="autolinkEmail",l.enter("autolinkMarker"),l.consume(We),l.exit("autolinkMarker"),l.exit("autolink"),E):ft(We)}function ft(We){if((We===45||(0,ye.H$)(We))&&N++<63){const $n=We===45?ft:gt;return l.consume(We),$n}return C(We)}}const wr={name:"htmlText",tokenize:sr};function sr(l,E,C){const N=this;let K,Y,se;return ve;function ve(et){return l.enter("htmlText"),l.enter("htmlTextData"),l.consume(et),Je}function Je(et){return et===33?(l.consume(et),Qe):et===47?(l.consume(et),Jr):et===63?(l.consume(et),Wn):(0,ye.jv)(et)?(l.consume(et),ka):C(et)}function Qe(et){return et===45?(l.consume(et),Fe):et===91?(l.consume(et),Y=0,$n):(0,ye.jv)(et)?(l.consume(et),Mn):C(et)}function Fe(et){return et===45?(l.consume(et),We):C(et)}function gt(et){return et===null?C(et):et===45?(l.consume(et),ft):(0,ye.Ch)(et)?(se=gt,_a(et)):(l.consume(et),gt)}function ft(et){return et===45?(l.consume(et),We):gt(et)}function We(et){return et===62?Sa(et):et===45?ft(et):gt(et)}function $n(et){const wi="CDATA[";return et===wi.charCodeAt(Y++)?(l.consume(et),Y===wi.length?Ir:$n):C(et)}function Ir(et){return et===null?C(et):et===93?(l.consume(et),$r):(0,ye.Ch)(et)?(se=Ir,_a(et)):(l.consume(et),Ir)}function $r(et){return et===93?(l.consume(et),cn):Ir(et)}function cn(et){return et===62?Sa(et):et===93?(l.consume(et),cn):Ir(et)}function Mn(et){return et===null||et===62?Sa(et):(0,ye.Ch)(et)?(se=Mn,_a(et)):(l.consume(et),Mn)}function Wn(et){return et===null?C(et):et===63?(l.consume(et),na):(0,ye.Ch)(et)?(se=Wn,_a(et)):(l.consume(et),Wn)}function na(et){return et===62?Sa(et):Wn(et)}function Jr(et){return(0,ye.jv)(et)?(l.consume(et),tn):C(et)}function tn(et){return et===45||(0,ye.H$)(et)?(l.consume(et),tn):ia(et)}function ia(et){return(0,ye.Ch)(et)?(se=ia,_a(et)):(0,ye.xz)(et)?(l.consume(et),ia):Sa(et)}function ka(et){return et===45||(0,ye.H$)(et)?(l.consume(et),ka):et===47||et===62||(0,ye.z3)(et)?ra(et):C(et)}function ra(et){return et===47?(l.consume(et),Sa):et===58||et===95||(0,ye.jv)(et)?(l.consume(et),ga):(0,ye.Ch)(et)?(se=ra,_a(et)):(0,ye.xz)(et)?(l.consume(et),ra):Sa(et)}function ga(et){return et===45||et===46||et===58||et===95||(0,ye.H$)(et)?(l.consume(et),ga):Ya(et)}function Ya(et){return et===61?(l.consume(et),da):(0,ye.Ch)(et)?(se=Ya,_a(et)):(0,ye.xz)(et)?(l.consume(et),Ya):ra(et)}function da(et){return et===null||et===60||et===61||et===62||et===96?C(et):et===34||et===39?(l.consume(et),K=et,nr):(0,ye.Ch)(et)?(se=da,_a(et)):(0,ye.xz)(et)?(l.consume(et),da):(l.consume(et),ir)}function nr(et){return et===K?(l.consume(et),K=void 0,Fr):et===null?C(et):(0,ye.Ch)(et)?(se=nr,_a(et)):(l.consume(et),nr)}function ir(et){return et===null||et===34||et===39||et===60||et===61||et===96?C(et):et===47||et===62||(0,ye.z3)(et)?ra(et):(l.consume(et),ir)}function Fr(et){return et===47||et===62||(0,ye.z3)(et)?ra(et):C(et)}function Sa(et){return et===62?(l.consume(et),l.exit("htmlTextData"),l.exit("htmlText"),E):C(et)}function _a(et){return l.exit("htmlTextData"),l.enter("lineEnding"),l.consume(et),l.exit("lineEnding"),ti}function ti(et){return(0,ye.xz)(et)?(0,wt.f)(l,vi,"linePrefix",N.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(et):vi(et)}function vi(et){return l.enter("htmlTextData"),se(et)}}const fr={name:"labelStartLink",resolveAll:It.resolveAll,tokenize:Un};function Un(l,E,C){const N=this;return K;function K(se){return l.enter("labelLink"),l.enter("labelMarker"),l.consume(se),l.exit("labelMarker"),l.exit("labelLink"),Y}function Y(se){return se===94&&"_hiddenFootnoteSupport"in N.parser.constructs?C(se):E(se)}}const bn={name:"hardBreakEscape",tokenize:Dn};function Dn(l,E,C){return N;function N(Y){return l.enter("hardBreakEscape"),l.consume(Y),K}function K(Y){return(0,ye.Ch)(Y)?(l.exit("hardBreakEscape"),E(Y)):C(Y)}}const jn={name:"codeText",previous:Ae,resolve:ar,tokenize:hr};function ar(l){let E=l.length-4,C=3,N,K;if((l[C][1].type==="lineEnding"||l[C][1].type==="space")&&(l[E][1].type==="lineEnding"||l[E][1].type==="space")){for(N=C;++N<E;)if(l[N][1].type==="codeTextData"){l[C][1].type="codeTextPadding",l[E][1].type="codeTextPadding",C+=2,E-=2;break}}for(N=C-1,E++;++N<=E;)K===void 0?N!==E&&l[N][1].type!=="lineEnding"&&(K=N):(N===E||l[N][1].type==="lineEnding")&&(l[K][1].type="codeTextData",N!==K+2&&(l[K][1].end=l[N-1][1].end,l.splice(K+2,N-K-2),E-=N-K-2,N=K+2),K=void 0);return l}function Ae(l){return l!==96||this.events[this.events.length-1][1].type==="characterEscape"}function hr(l,E,C){const N=this;let K=0,Y,se;return ve;function ve(ft){return l.enter("codeText"),l.enter("codeTextSequence"),Je(ft)}function Je(ft){return ft===96?(l.consume(ft),K++,Je):(l.exit("codeTextSequence"),Qe(ft))}function Qe(ft){return ft===null?C(ft):ft===32?(l.enter("space"),l.consume(ft),l.exit("space"),Qe):ft===96?(se=l.enter("codeTextSequence"),Y=0,gt(ft)):(0,ye.Ch)(ft)?(l.enter("lineEnding"),l.consume(ft),l.exit("lineEnding"),Qe):(l.enter("codeTextData"),Fe(ft))}function Fe(ft){return ft===null||ft===32||ft===96||(0,ye.Ch)(ft)?(l.exit("codeTextData"),Qe(ft)):(l.consume(ft),Fe)}function gt(ft){return ft===96?(l.consume(ft),Y++,gt):Y===K?(l.exit("codeTextSequence"),l.exit("codeText"),E(ft)):(se.type="codeTextData",Fe(ft))}}const Vr={42:On,43:On,45:On,48:On,49:On,50:On,51:On,52:On,53:On,54:On,55:On,56:On,57:On,62:Bt},Ia={91:Ze},Ra={[-2]:an,[-1]:an,32:an},hi={35:on,42:Xn,45:[en,Xn],60:zr,61:en,95:Xn,96:dr,126:dr},Pa={38:ct,92:dt},qr={[-5]:Tt,[-4]:Tt,[-3]:Tt,33:Gn,38:ct,42:Nn,60:[rr,wr],91:fr,92:[bn,dt],93:It,95:Nn,96:jn},Kr={null:[Nn,dn]},jr={null:[42,95]},Ta={null:[]};function Xr(l,E,C){let N={_bufferIndex:-1,_index:0,line:C&&C.line||1,column:C&&C.column||1,offset:C&&C.offset||0};const K={},Y=[];let se=[],ve=[],Je=!0;const Qe={attempt:ra(ia),check:ra(ka),consume:na,enter:Jr,exit:tn,interrupt:ra(ka,{interrupt:!0})},Fe={code:null,containerState:{},defineSkip:cn,events:[],now:$r,parser:l,previous:null,sliceSerialize:$n,sliceStream:Ir,write:We};let gt=E.tokenize.call(Fe,Qe),ft;return E.resolveAll&&Y.push(E),Fe;function We(nr){return se=qe(se,nr),Mn(),se[se.length-1]!==null?[]:(ga(E,0),Fe.events=Mt(Y,Fe.events,Fe),Fe.events)}function $n(nr,ir){return ta(Ir(nr),ir)}function Ir(nr){return ea(se,nr)}function $r(){const{_bufferIndex:nr,_index:ir,line:Fr,column:Sa,offset:_a}=N;return{_bufferIndex:nr,_index:ir,line:Fr,column:Sa,offset:_a}}function cn(nr){K[nr.line]=nr.column,da()}function Mn(){let nr;for(;N._index<se.length;){const ir=se[N._index];if(typeof ir=="string")for(nr=N._index,N._bufferIndex<0&&(N._bufferIndex=0);N._index===nr&&N._bufferIndex<ir.length;)Wn(ir.charCodeAt(N._bufferIndex));else Wn(ir)}}function Wn(nr){Je=void 0,ft=nr,gt=gt(nr)}function na(nr){(0,ye.Ch)(nr)?(N.line++,N.column=1,N.offset+=nr===-3?2:1,da()):nr!==-1&&(N.column++,N.offset++),N._bufferIndex<0?N._index++:(N._bufferIndex++,N._bufferIndex===se[N._index].length&&(N._bufferIndex=-1,N._index++)),Fe.previous=nr,Je=!0}function Jr(nr,ir){const Fr=ir||{};return Fr.type=nr,Fr.start=$r(),Fe.events.push(["enter",Fr,Fe]),ve.push(Fr),Fr}function tn(nr){const ir=ve.pop();return ir.end=$r(),Fe.events.push(["exit",ir,Fe]),ir}function ia(nr,ir){ga(nr,ir.from)}function ka(nr,ir){ir.restore()}function ra(nr,ir){return Fr;function Fr(Sa,_a,ti){let vi,et,wi,zi;return Array.isArray(Sa)?yi(Sa):"tokenize"in Sa?yi([Sa]):ot(Sa);function ot(Ga){return Di;function Di(ni){const Xi=ni!==null&&Ga[ni],Qi=ni!==null&&Ga.null,$o=[...Array.isArray(Xi)?Xi:Xi?[Xi]:[],...Array.isArray(Qi)?Qi:Qi?[Qi]:[]];return yi($o)(ni)}}function yi(Ga){return vi=Ga,et=0,Ga.length===0?ti:Gi(Ga[et])}function Gi(Ga){return Di;function Di(ni){return zi=Ya(),wi=Ga,Ga.partial||(Fe.currentConstruct=Ga),Ga.name&&Fe.parser.constructs.disable.null.includes(Ga.name)?Zo(ni):Ga.tokenize.call(ir?Object.assign(Object.create(Fe),ir):Fe,Qe,Fo,Zo)(ni)}}function Fo(Ga){return Je=!0,nr(wi,zi),_a}function Zo(Ga){return Je=!0,zi.restore(),++et<vi.length?Gi(vi[et]):ti}}}function ga(nr,ir){nr.resolveAll&&!Y.includes(nr)&&Y.push(nr),nr.resolve&&Oe(Fe.events,ir,Fe.events.length-ir,nr.resolve(Fe.events.slice(ir),Fe)),nr.resolveTo&&(Fe.events=nr.resolveTo(Fe.events,Fe))}function Ya(){const nr=$r(),ir=Fe.previous,Fr=Fe.currentConstruct,Sa=Fe.events.length,_a=Array.from(ve);return{from:Sa,restore:ti};function ti(){N=nr,Fe.previous=ir,Fe.currentConstruct=Fr,Fe.events.length=Sa,ve=_a,da()}}function da(){N.line in K&&N.column<2&&(N.column=K[N.line],N.offset+=K[N.line]-1)}}function ea(l,E){const C=E.start._index,N=E.start._bufferIndex,K=E.end._index,Y=E.end._bufferIndex;let se;if(C===K)se=[l[C].slice(N,Y)];else{if(se=l.slice(C,K),N>-1){const ve=se[0];typeof ve=="string"?se[0]=ve.slice(N):se.shift()}Y>0&&se.push(l[K].slice(0,Y))}return se}function ta(l,E){let C=-1;const N=[];let K;for(;++C<l.length;){const Y=l[C];let se;if(typeof Y=="string")se=Y;else switch(Y){case-5:{se="\r";break}case-4:{se=`
`;break}case-3:{se=`\r
`;break}case-2:{se=E?" ":" ";break}case-1:{if(!E&&K)continue;se=" ";break}default:se=String.fromCharCode(Y)}K=Y===-2,N.push(se)}return N.join("")}function In(l){const N={constructs:at([u,...(l||{}).extensions||[]]),content:K(zt),defined:[],document:K(Xt),flow:K(wn),lazy:{},string:K(Lr),text:K(_n)};return N;function K(Y){return se;function se(ve){return Xr(N,Y,ve)}}}const Kn=/[\0\t\n\r]/g;function Qn(){let l=1,E="",C=!0,N;return K;function K(Y,se,ve){const Je=[];let Qe,Fe,gt,ft,We;for(Y=E+(typeof Y=="string"?Y.toString():new TextDecoder(se||void 0).decode(Y)),gt=0,E="",C&&(Y.charCodeAt(0)===65279&&gt++,C=void 0);gt<Y.length;){if(Kn.lastIndex=gt,Qe=Kn.exec(Y),ft=Qe&&Qe.index!==void 0?Qe.index:Y.length,We=Y.charCodeAt(ft),!Qe){E=Y.slice(gt);break}if(We===10&&gt===ft&&N)Je.push(-3),N=void 0;else switch(N&&(Je.push(-5),N=void 0),gt<ft&&(Je.push(Y.slice(gt,ft)),l+=ft-gt),We){case 0:{Je.push(65533),l++;break}case 9:{for(Fe=Math.ceil(l/4)*4,Je.push(-2);l++<Fe;)Je.push(-1);break}case 10:{Je.push(-4),l=1;break}default:N=!0,l=1}gt=ft+1}return ve&&(N&&Je.push(-5),E&&Je.push(E),Je.push(null)),Je}}function Zn(l,E){const C=Number.parseInt(l,E);return C<9||C===11||C>13&&C<32||C>126&&C<160||C>55295&&C<57344||C>64975&&C<65008||(C&65535)===65535||(C&65535)===65534||C>1114111?"\uFFFD":String.fromCodePoint(C)}const Dr=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Zr(l){return l.replace(Dr,Aa)}function Aa(l,E,C){if(E)return E;if(C.charCodeAt(0)===35){const K=C.charCodeAt(1),Y=K===120||K===88;return Zn(C.slice(Y?2:1),Y?16:10)}return Se(C)||l}const la={}.hasOwnProperty;function ua(l,E,C){return typeof E!="string"&&(C=E,E=void 0),tr(C)(st(In(C).document().write(Qn()(l,E,!0))))}function tr(l){const E={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:Y(S),autolinkProtocol:ra,autolinkEmail:ra,atxHeading:Y(qo),blockQuote:Y(ni),characterEscape:ra,characterReference:ra,codeFenced:Y(Xi),codeFencedFenceInfo:se,codeFencedFenceMeta:se,codeIndented:Y(Xi,se),codeText:Y(Qi,se),codeTextData:ra,data:ra,codeFlowValue:ra,definition:Y($o),definitionDestinationString:se,definitionLabelString:se,definitionTitleString:se,emphasis:Y(mo),hardBreakEscape:Y(is),hardBreakTrailing:Y(is),htmlFlow:Y(n,se),htmlFlowData:ra,htmlText:Y(n,se),htmlTextData:ra,image:Y(a),label:se,link:Y(S),listItem:Y(Ye),listItemValue:ft,listOrdered:Y(ie,gt),listUnordered:Y(ie),paragraph:Y(At),reference:ot,referenceString:se,resourceDestinationString:se,resourceTitleString:se,setextHeading:Y(qo),strong:Y(Gt),thematicBreak:Y(er)},exit:{atxHeading:Je(),atxHeadingSequence:Jr,autolink:Je(),autolinkEmail:Di,autolinkProtocol:Ga,blockQuote:Je(),characterEscapeValue:ga,characterReferenceMarkerHexadecimal:Gi,characterReferenceMarkerNumeric:Gi,characterReferenceValue:Fo,characterReference:Zo,codeFenced:Je($r),codeFencedFence:Ir,codeFencedFenceInfo:We,codeFencedFenceMeta:$n,codeFlowValue:ga,codeIndented:Je(cn),codeText:Je(Fr),codeTextData:ga,data:ga,definition:Je(),definitionDestinationString:na,definitionLabelString:Mn,definitionTitleString:Wn,emphasis:Je(),hardBreakEscape:Je(da),hardBreakTrailing:Je(da),htmlFlow:Je(nr),htmlFlowData:ga,htmlText:Je(ir),htmlTextData:ga,image:Je(_a),label:vi,labelText:ti,lineEnding:Ya,link:Je(Sa),listItem:Je(),listOrdered:Je(),listUnordered:Je(),paragraph:Je(),referenceString:yi,resourceDestinationString:et,resourceTitleString:wi,resource:zi,setextHeading:Je(ka),setextHeadingLineSequence:ia,setextHeadingText:tn,strong:Je(),thematicBreak:Je()}};za(E,(l||{}).mdastExtensions||[]);const C={};return N;function N(Ot){let ln={type:"root",children:[]};const ur={stack:[ln],tokenStack:[],config:E,enter:ve,exit:Qe,buffer:se,resume:Fe,data:C},Yr=[];let oa=-1;for(;++oa<Ot.length;)if(Ot[oa][1].type==="listOrdered"||Ot[oa][1].type==="listUnordered")if(Ot[oa][0]==="enter")Yr.push(oa);else{const Wi=Yr.pop();oa=K(Ot,Wi,oa)}for(oa=-1;++oa<Ot.length;){const Wi=E[Ot[oa][0]];la.call(Wi,Ot[oa][1].type)&&Wi[Ot[oa][1].type].call(Object.assign({sliceSerialize:Ot[oa][2].sliceSerialize},ur),Ot[oa][1])}if(ur.tokenStack.length>0){const Wi=ur.tokenStack[ur.tokenStack.length-1];(Wi[1]||Fa).call(ur,void 0,Wi[0])}for(ln.position={start:Mr(Ot.length>0?Ot[0][1].start:{line:1,column:1,offset:0}),end:Mr(Ot.length>0?Ot[Ot.length-2][1].end:{line:1,column:1,offset:0})},oa=-1;++oa<E.transforms.length;)ln=E.transforms[oa](ln)||ln;return ln}function K(Ot,ln,ur){let Yr=ln-1,oa=-1,Wi=!1,qi,bo,uo,Vo;for(;++Yr<=ur;){const ki=Ot[Yr];switch(ki[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ki[0]==="enter"?oa++:oa--,Vo=void 0;break}case"lineEndingBlank":{ki[0]==="enter"&&(qi&&!Vo&&!oa&&!uo&&(uo=Yr),Vo=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vo=void 0}if(!oa&&ki[0]==="enter"&&ki[1].type==="listItemPrefix"||oa===-1&&ki[0]==="exit"&&(ki[1].type==="listUnordered"||ki[1].type==="listOrdered")){if(qi){let Bo=Yr;for(bo=void 0;Bo--;){const _i=Ot[Bo];if(_i[1].type==="lineEnding"||_i[1].type==="lineEndingBlank"){if(_i[0]==="exit")continue;bo&&(Ot[bo][1].type="lineEndingBlank",Wi=!0),_i[1].type="lineEnding",bo=Bo}else if(!(_i[1].type==="linePrefix"||_i[1].type==="blockQuotePrefix"||_i[1].type==="blockQuotePrefixWhitespace"||_i[1].type==="blockQuoteMarker"||_i[1].type==="listItemIndent"))break}uo&&(!bo||uo<bo)&&(qi._spread=!0),qi.end=Object.assign({},bo?Ot[bo][1].start:ki[1].end),Ot.splice(bo||Yr,0,["exit",qi,ki[2]]),Yr++,ur++}if(ki[1].type==="listItemPrefix"){const Bo={type:"listItem",_spread:!1,start:Object.assign({},ki[1].start),end:void 0};qi=Bo,Ot.splice(Yr,0,["enter",Bo,ki[2]]),Yr++,ur++,uo=void 0,Vo=!0}}}return Ot[ln][1]._spread=Wi,ur}function Y(Ot,ln){return ur;function ur(Yr){ve.call(this,Ot(Yr),Yr),ln&&ln.call(this,Yr)}}function se(){this.stack.push({type:"fragment",children:[]})}function ve(Ot,ln,ur){this.stack[this.stack.length-1].children.push(Ot),this.stack.push(Ot),this.tokenStack.push([ln,ur||void 0]),Ot.position={start:Mr(ln.start),end:void 0}}function Je(Ot){return ln;function ln(ur){Ot&&Ot.call(this,ur),Qe.call(this,ur)}}function Qe(Ot,ln){const ur=this.stack.pop(),Yr=this.tokenStack.pop();if(Yr)Yr[0].type!==Ot.type&&(ln?ln.call(this,Ot,Yr[0]):(Yr[1]||Fa).call(this,Ot,Yr[0]));else throw new Error("Cannot close `"+Ot.type+"` ("+U({start:Ot.start,end:Ot.end})+"): it\u2019s not open");ur.position.end=Mr(Ot.end)}function Fe(){return tt(this.stack.pop())}function gt(){this.data.expectingFirstListItemValue=!0}function ft(Ot){if(this.data.expectingFirstListItemValue){const ln=this.stack[this.stack.length-2];ln.start=Number.parseInt(this.sliceSerialize(Ot),10),this.data.expectingFirstListItemValue=void 0}}function We(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.lang=Ot}function $n(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.meta=Ot}function Ir(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function $r(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.value=Ot.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function cn(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.value=Ot.replace(/(\r?\n|\r)$/g,"")}function Mn(Ot){const ln=this.resume(),ur=this.stack[this.stack.length-1];ur.label=ln,ur.identifier=qt(this.sliceSerialize(Ot)).toLowerCase()}function Wn(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.title=Ot}function na(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.url=Ot}function Jr(Ot){const ln=this.stack[this.stack.length-1];if(!ln.depth){const ur=this.sliceSerialize(Ot).length;ln.depth=ur}}function tn(){this.data.setextHeadingSlurpLineEnding=!0}function ia(Ot){const ln=this.stack[this.stack.length-1];ln.depth=this.sliceSerialize(Ot).codePointAt(0)===61?1:2}function ka(){this.data.setextHeadingSlurpLineEnding=void 0}function ra(Ot){const ur=this.stack[this.stack.length-1].children;let Yr=ur[ur.length-1];(!Yr||Yr.type!=="text")&&(Yr=Pn(),Yr.position={start:Mr(Ot.start),end:void 0},ur.push(Yr)),this.stack.push(Yr)}function ga(Ot){const ln=this.stack.pop();ln.value+=this.sliceSerialize(Ot),ln.position.end=Mr(Ot.end)}function Ya(Ot){const ln=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ur=ln.children[ln.children.length-1];ur.position.end=Mr(Ot.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&E.canContainEols.includes(ln.type)&&(ra.call(this,Ot),ga.call(this,Ot))}function da(){this.data.atHardBreak=!0}function nr(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.value=Ot}function ir(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.value=Ot}function Fr(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.value=Ot}function Sa(){const Ot=this.stack[this.stack.length-1];if(this.data.inReference){const ln=this.data.referenceType||"shortcut";Ot.type+="Reference",Ot.referenceType=ln,delete Ot.url,delete Ot.title}else delete Ot.identifier,delete Ot.label;this.data.referenceType=void 0}function _a(){const Ot=this.stack[this.stack.length-1];if(this.data.inReference){const ln=this.data.referenceType||"shortcut";Ot.type+="Reference",Ot.referenceType=ln,delete Ot.url,delete Ot.title}else delete Ot.identifier,delete Ot.label;this.data.referenceType=void 0}function ti(Ot){const ln=this.sliceSerialize(Ot),ur=this.stack[this.stack.length-2];ur.label=Zr(ln),ur.identifier=qt(ln).toLowerCase()}function vi(){const Ot=this.stack[this.stack.length-1],ln=this.resume(),ur=this.stack[this.stack.length-1];if(this.data.inReference=!0,ur.type==="link"){const Yr=Ot.children;ur.children=Yr}else ur.alt=ln}function et(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.url=Ot}function wi(){const Ot=this.resume(),ln=this.stack[this.stack.length-1];ln.title=Ot}function zi(){this.data.inReference=void 0}function ot(){this.data.referenceType="collapsed"}function yi(Ot){const ln=this.resume(),ur=this.stack[this.stack.length-1];ur.label=ln,ur.identifier=qt(this.sliceSerialize(Ot)).toLowerCase(),this.data.referenceType="full"}function Gi(Ot){this.data.characterReferenceType=Ot.type}function Fo(Ot){const ln=this.sliceSerialize(Ot),ur=this.data.characterReferenceType;let Yr;ur?(Yr=Zn(ln,ur==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Yr=Se(ln);const oa=this.stack[this.stack.length-1];oa.value+=Yr}function Zo(Ot){const ln=this.stack.pop();ln.position.end=Mr(Ot.end)}function Ga(Ot){ga.call(this,Ot);const ln=this.stack[this.stack.length-1];ln.url=this.sliceSerialize(Ot)}function Di(Ot){ga.call(this,Ot);const ln=this.stack[this.stack.length-1];ln.url="mailto:"+this.sliceSerialize(Ot)}function ni(){return{type:"blockquote",children:[]}}function Xi(){return{type:"code",lang:null,meta:null,value:""}}function Qi(){return{type:"inlineCode",value:""}}function $o(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mo(){return{type:"emphasis",children:[]}}function qo(){return{type:"heading",depth:0,children:[]}}function is(){return{type:"break"}}function n(){return{type:"html",value:""}}function a(){return{type:"image",title:null,url:"",alt:null}}function S(){return{type:"link",title:null,url:"",children:[]}}function ie(Ot){return{type:"list",ordered:Ot.type==="listOrdered",start:null,spread:Ot._spread,children:[]}}function Ye(Ot){return{type:"listItem",spread:Ot._spread,checked:null,children:[]}}function At(){return{type:"paragraph",children:[]}}function Gt(){return{type:"strong",children:[]}}function Pn(){return{type:"text",value:""}}function er(){return{type:"thematicBreak"}}}function Mr(l){return{line:l.line,column:l.column,offset:l.offset}}function za(l,E){let C=-1;for(;++C<E.length;){const N=E[C];Array.isArray(N)?za(l,N):Ur(l,N)}}function Ur(l,E){let C;for(C in E)if(la.call(E,C))switch(C){case"canContainEols":{const N=E[C];N&&l[C].push(...N);break}case"transforms":{const N=E[C];N&&l[C].push(...N);break}case"enter":case"exit":{const N=E[C];N&&Object.assign(l[C],N);break}}}function Fa(l,E){throw l?new Error("Cannot close `"+l.type+"` ("+U({start:l.start,end:l.end})+"): a different token (`"+E.type+"`, "+U({start:E.start,end:E.end})+") is open"):new Error("Cannot close document, a token (`"+E.type+"`, "+U({start:E.start,end:E.end})+") is still open")}function $a(l){const E=this;E.parser=C;function C(N){return ua(N,ts(Cr(Cr({},E.data("settings")),l),{extensions:E.data("micromarkExtensions")||[],mdastExtensions:E.data("fromMarkdownExtensions")||[]}))}}var Ba=r(90302);function aa(l,E){const C=encode(Si(l||""));if(!E)return C;const N=C.indexOf(":"),K=C.indexOf("?"),Y=C.indexOf("#"),se=C.indexOf("/");return N<0||se>-1&&N>se||K>-1&&N>K||Y>-1&&N>Y||E.test(C.slice(0,N))?C:""}function Si(l){const E=[];let C=-1,N=0,K=0;for(;++C<l.length;){const Y=l.charCodeAt(C);let se="";if(Y===37&&(0,ye.H$)(l.charCodeAt(C+1))&&(0,ye.H$)(l.charCodeAt(C+2)))K=2;else if(Y<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(Y))||(se=String.fromCharCode(Y));else if(Y>55295&&Y<57344){const ve=l.charCodeAt(C+1);Y<56320&&ve>56319&&ve<57344?(se=String.fromCharCode(Y,ve),K=1):se="\uFFFD"}else se=String.fromCharCode(Y);se&&(E.push(l.slice(N,C),encodeURIComponent(se)),N=C+K+1,se=""),K&&(C+=K,K=0)}return E.join("")+l.slice(N)}function co(l,E){const C=[{type:"text",value:"\u21A9"}];return E>1&&C.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(E)}]}),C}function Va(l,E){return"Back to reference "+(l+1)+(E>1?"-"+E:"")}function ii(l){const E=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",C=l.options.footnoteBackContent||co,N=l.options.footnoteBackLabel||Va,K=l.options.footnoteLabel||"Footnotes",Y=l.options.footnoteLabelTagName||"h2",se=l.options.footnoteLabelProperties||{className:["sr-only"]},ve=[];let Je=-1;for(;++Je<l.footnoteOrder.length;){const Qe=l.footnoteById.get(l.footnoteOrder[Je]);if(!Qe)continue;const Fe=l.all(Qe),gt=String(Qe.identifier).toUpperCase(),ft=Si(gt.toLowerCase());let We=0;const $n=[],Ir=l.footnoteCounts.get(gt);for(;Ir!==void 0&&++We<=Ir;){$n.length>0&&$n.push({type:"text",value:" "});let Mn=typeof C=="string"?C:C(Je,We);typeof Mn=="string"&&(Mn={type:"text",value:Mn}),$n.push({type:"element",tagName:"a",properties:{href:"#"+E+"fnref-"+ft+(We>1?"-"+We:""),dataFootnoteBackref:"",ariaLabel:typeof N=="string"?N:N(Je,We),className:["data-footnote-backref"]},children:Array.isArray(Mn)?Mn:[Mn]})}const $r=Fe[Fe.length-1];if($r&&$r.type==="element"&&$r.tagName==="p"){const Mn=$r.children[$r.children.length-1];Mn&&Mn.type==="text"?Mn.value+=" ":$r.children.push({type:"text",value:" "}),$r.children.push(...$n)}else Fe.push(...$n);const cn={type:"element",tagName:"li",properties:{id:E+"fn-"+ft},children:l.wrap(Fe,!0)};l.patch(Qe,cn),ve.push(cn)}if(ve.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:Y,properties:ts(Cr({},(0,Ba.ZP)(se)),{id:"footnote-label"}),children:[{type:"text",value:K}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:l.wrap(ve,!0)},{type:"text",value:`
`}]}}var Ka=r(10528);function Ui(l,E){const C={type:"element",tagName:"blockquote",properties:{},children:l.wrap(l.all(E),!0)};return l.patch(E,C),l.applyData(E,C)}function yo(l,E){const C={type:"element",tagName:"br",properties:{},children:[]};return l.patch(E,C),[l.applyData(E,C),{type:"text",value:`
`}]}function Eo(l,E){const C=E.value?E.value+`
`:"",N={};E.lang&&(N.className=["language-"+E.lang]);let K={type:"element",tagName:"code",properties:N,children:[{type:"text",value:C}]};return E.meta&&(K.data={meta:E.meta}),l.patch(E,K),K=l.applyData(E,K),K={type:"element",tagName:"pre",properties:{},children:[K]},l.patch(E,K),K}function So(l,E){const C={type:"element",tagName:"del",properties:{},children:l.all(E)};return l.patch(E,C),l.applyData(E,C)}function Ji(l,E){const C={type:"element",tagName:"em",properties:{},children:l.all(E)};return l.patch(E,C),l.applyData(E,C)}function fo(l,E){const C=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",N=String(E.identifier).toUpperCase(),K=Si(N.toLowerCase()),Y=l.footnoteOrder.indexOf(N);let se,ve=l.footnoteCounts.get(N);ve===void 0?(ve=0,l.footnoteOrder.push(N),se=l.footnoteOrder.length):se=Y+1,ve+=1,l.footnoteCounts.set(N,ve);const Je={type:"element",tagName:"a",properties:{href:"#"+C+"fn-"+K,id:C+"fnref-"+K+(ve>1?"-"+ve:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(se)}]};l.patch(E,Je);const Qe={type:"element",tagName:"sup",properties:{},children:[Je]};return l.patch(E,Qe),l.applyData(E,Qe)}function eo(l,E){const C={type:"element",tagName:"h"+E.depth,properties:{},children:l.all(E)};return l.patch(E,C),l.applyData(E,C)}function $i(l,E){if(l.options.allowDangerousHtml){const C={type:"raw",value:E.value};return l.patch(E,C),l.applyData(E,C)}}function to(l,E){const C=E.referenceType;let N="]";if(C==="collapsed"?N+="[]":C==="full"&&(N+="["+(E.label||E.identifier)+"]"),E.type==="imageReference")return[{type:"text",value:"!["+E.alt+N}];const K=l.all(E),Y=K[0];Y&&Y.type==="text"?Y.value="["+Y.value:K.unshift({type:"text",value:"["});const se=K[K.length-1];return se&&se.type==="text"?se.value+=N:K.push({type:"text",value:N}),K}function To(l,E){const C=String(E.identifier).toUpperCase(),N=l.definitionById.get(C);if(!N)return to(l,E);const K={src:Si(N.url||""),alt:E.alt};N.title!==null&&N.title!==void 0&&(K.title=N.title);const Y={type:"element",tagName:"img",properties:K,children:[]};return l.patch(E,Y),l.applyData(E,Y)}function no(l,E){const C={src:Si(E.url)};E.alt!==null&&E.alt!==void 0&&(C.alt=E.alt),E.title!==null&&E.title!==void 0&&(C.title=E.title);const N={type:"element",tagName:"img",properties:C,children:[]};return l.patch(E,N),l.applyData(E,N)}function Vi(l,E){const C={type:"text",value:E.value.replace(/\r?\n|\r/g," ")};l.patch(E,C);const N={type:"element",tagName:"code",properties:{},children:[C]};return l.patch(E,N),l.applyData(E,N)}function Ki(l,E){const C=String(E.identifier).toUpperCase(),N=l.definitionById.get(C);if(!N)return to(l,E);const K={href:Si(N.url||"")};N.title!==null&&N.title!==void 0&&(K.title=N.title);const Y={type:"element",tagName:"a",properties:K,children:l.all(E)};return l.patch(E,Y),l.applyData(E,Y)}function Ua(l,E){const C={href:Si(E.url)};E.title!==null&&E.title!==void 0&&(C.title=E.title);const N={type:"element",tagName:"a",properties:C,children:l.all(E)};return l.patch(E,N),l.applyData(E,N)}function fa(l,E,C){const N=l.all(E),K=C?Rr(C):lr(E),Y={},se=[];if(typeof E.checked=="boolean"){const Fe=N[0];let gt;Fe&&Fe.type==="element"&&Fe.tagName==="p"?gt=Fe:(gt={type:"element",tagName:"p",properties:{},children:[]},N.unshift(gt)),gt.children.length>0&&gt.children.unshift({type:"text",value:" "}),gt.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:E.checked,disabled:!0},children:[]}),Y.className=["task-list-item"]}let ve=-1;for(;++ve<N.length;){const Fe=N[ve];(K||ve!==0||Fe.type!=="element"||Fe.tagName!=="p")&&se.push({type:"text",value:`
`}),Fe.type==="element"&&Fe.tagName==="p"&&!K?se.push(...Fe.children):se.push(Fe)}const Je=N[N.length-1];Je&&(K||Je.type!=="element"||Je.tagName!=="p")&&se.push({type:"text",value:`
`});const Qe={type:"element",tagName:"li",properties:Y,children:se};return l.patch(E,Qe),l.applyData(E,Qe)}function Rr(l){let E=!1;if(l.type==="list"){E=l.spread||!1;const C=l.children;let N=-1;for(;!E&&++N<C.length;)E=lr(C[N])}return E}function lr(l){const E=l.spread;return E==null?l.children.length>1:E}function pa(l,E){const C={},N=l.all(E);let K=-1;for(typeof E.start=="number"&&E.start!==1&&(C.start=E.start);++K<N.length;){const se=N[K];if(se.type==="element"&&se.tagName==="li"&&se.properties&&Array.isArray(se.properties.className)&&se.properties.className.includes("task-list-item")){C.className=["contains-task-list"];break}}const Y={type:"element",tagName:E.ordered?"ol":"ul",properties:C,children:l.wrap(N,!0)};return l.patch(E,Y),l.applyData(E,Y)}function ha(l,E){const C={type:"element",tagName:"p",properties:{},children:l.all(E)};return l.patch(E,C),l.applyData(E,C)}function va(l,E){const C={type:"root",children:l.wrap(l.all(E))};return l.patch(E,C),l.applyData(E,C)}function Ca(l,E){const C={type:"element",tagName:"strong",properties:{},children:l.all(E)};return l.patch(E,C),l.applyData(E,C)}function gi(l,E){const C=l.all(E),N=C.shift(),K=[];if(N){const se={type:"element",tagName:"thead",properties:{},children:l.wrap([N],!0)};l.patch(E.children[0],se),K.push(se)}if(C.length>0){const se={type:"element",tagName:"tbody",properties:{},children:l.wrap(C,!0)},ve=(0,P.Pk)(E.children[1]),Je=(0,P.rb)(E.children[E.children.length-1]);ve&&Je&&(se.position={start:ve,end:Je}),K.push(se)}const Y={type:"element",tagName:"table",properties:{},children:l.wrap(K,!0)};return l.patch(E,Y),l.applyData(E,Y)}function oi(l,E,C){const N=C?C.children:void 0,Y=(N?N.indexOf(E):1)===0?"th":"td",se=C&&C.type==="table"?C.align:void 0,ve=se?se.length:E.children.length;let Je=-1;const Qe=[];for(;++Je<ve;){const gt=E.children[Je],ft={},We=se?se[Je]:void 0;We&&(ft.align=We);let $n={type:"element",tagName:Y,properties:ft,children:[]};gt&&($n.children=l.all(gt),l.patch(gt,$n),$n=l.applyData(gt,$n)),Qe.push($n)}const Fe={type:"element",tagName:"tr",properties:{},children:l.wrap(Qe,!0)};return l.patch(E,Fe),l.applyData(E,Fe)}function Ii(l,E){const C={type:"element",tagName:"td",properties:{},children:l.all(E)};return l.patch(E,C),l.applyData(E,C)}const ca=9,xa=32;function Qa(l){const E=String(l),C=/\r?\n|\r/g;let N=C.exec(E),K=0;const Y=[];for(;N;)Y.push(si(E.slice(K,N.index),K>0,!0),N[0]),K=N.index+N[0].length,N=C.exec(E);return Y.push(si(E.slice(K),K>0,!1)),Y.join("")}function si(l,E,C){let N=0,K=l.length;if(E){let Y=l.codePointAt(N);for(;Y===ca||Y===xa;)N++,Y=l.codePointAt(N)}if(C){let Y=l.codePointAt(K-1);for(;Y===ca||Y===xa;)K--,Y=l.codePointAt(K-1)}return K>N?l.slice(N,K):""}function po(l,E){const C={type:"text",value:Qa(String(E.value))};return l.patch(E,C),l.applyData(E,C)}function Ro(l,E){const C={type:"element",tagName:"hr",properties:{},children:[]};return l.patch(E,C),l.applyData(E,C)}const Lo={blockquote:Ui,break:yo,code:Eo,delete:So,emphasis:Ji,footnoteReference:fo,heading:eo,html:$i,imageReference:To,image:no,inlineCode:Vi,linkReference:Ki,link:Ua,listItem:fa,list:pa,paragraph:ha,root:va,strong:Ca,table:gi,tableCell:Ii,tableRow:oi,text:po,thematicBreak:Ro,toml:mi,yaml:mi,definition:mi,footnoteDefinition:mi};function mi(){}const Ti={}.hasOwnProperty,Qr={};function bi(l,E){const C=E||Qr,N=new Map,K=new Map,Y=new Map,se=Cr(Cr({},Lo),C.handlers),ve={all:Qe,applyData:Co,definitionById:N,footnoteById:K,footnoteCounts:Y,footnoteOrder:[],handlers:se,one:Je,options:C,patch:qa,wrap:Go};return(0,Ka.Vn)(l,function(Fe){if(Fe.type==="definition"||Fe.type==="footnoteDefinition"){const gt=Fe.type==="definition"?N:K,ft=String(Fe.identifier).toUpperCase();gt.has(ft)||gt.set(ft,Fe)}}),ve;function Je(Fe,gt){const ft=Fe.type,We=ve.handlers[ft];if(Ti.call(ve.handlers,ft)&&We)return We(ve,Fe,gt);if(ve.options.passThrough&&ve.options.passThrough.includes(ft)){if("children"in Fe){const Ir=Fe,{children:$r}=Ir,cn=Nl(Ir,["children"]),Mn=(0,Ba.ZP)(cn);return Mn.children=ve.all(Fe),Mn}return(0,Ba.ZP)(Fe)}return(ve.options.unknownHandler||zo)(ve,Fe,gt)}function Qe(Fe){const gt=[];if("children"in Fe){const ft=Fe.children;let We=-1;for(;++We<ft.length;){const $n=ve.one(ft[We],Fe);if($n){if(We&&ft[We-1].type==="break"&&(!Array.isArray($n)&&$n.type==="text"&&($n.value=ji($n.value)),!Array.isArray($n)&&$n.type==="element")){const Ir=$n.children[0];Ir&&Ir.type==="text"&&(Ir.value=ji(Ir.value))}Array.isArray($n)?gt.push(...$n):gt.push($n)}}}return gt}}function qa(l,E){l.position&&(E.position=(0,P.FK)(l))}function Co(l,E){let C=E;if(l&&l.data){const N=l.data.hName,K=l.data.hChildren,Y=l.data.hProperties;if(typeof N=="string")if(C.type==="element")C.tagName=N;else{const se="children"in C?C.children:[C];C={type:"element",tagName:N,properties:{},children:se}}C.type==="element"&&Y&&Object.assign(C.properties,(0,Ba.ZP)(Y)),"children"in C&&C.children&&K!==null&&K!==void 0&&(C.children=K)}return C}function zo(l,E){const C=E.data||{},N="value"in E&&!(Ti.call(C,"hProperties")||Ti.call(C,"hChildren"))?{type:"text",value:E.value}:{type:"element",tagName:"div",properties:{},children:l.all(E)};return l.patch(E,N),l.applyData(E,N)}function Go(l,E){const C=[];let N=-1;for(E&&C.push({type:"text",value:`
`});++N<l.length;)N&&C.push({type:"text",value:`
`}),C.push(l[N]);return E&&l.length>0&&C.push({type:"text",value:`
`}),C}function ji(l){let E=0,C=l.charCodeAt(E);for(;C===9||C===32;)E++,C=l.charCodeAt(E);return l.slice(E)}function Oo(l,E){const C=bi(l,E),N=C.one(l,void 0),K=ii(C),Y=Array.isArray(N)?{type:"root",children:N}:N||{type:"root",children:[]};return K&&((0,y.ok)("children"in Y),Y.children.push({type:"text",value:`
`},K)),Y}function Do(l,E){return l&&"run"in l?function(C,N){return js(this,null,function*(){const K=Oo(C,Cr({file:N},E));yield l.run(K,N)})}:function(C,N){return Oo(C,Cr({file:N},l||E))}}function Hi(l){if(l)throw l}var xo=r(58847);function ro(l){if(typeof l!="object"||l===null)return!1;const E=Object.getPrototypeOf(l);return(E===null||E===Object.prototype||Object.getPrototypeOf(E)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function ao(){const l=[],E={run:C,use:N};return E;function C(...K){let Y=-1;const se=K.pop();if(typeof se!="function")throw new TypeError("Expected function as last argument, not "+se);ve(null,...K);function ve(Je,...Qe){const Fe=l[++Y];let gt=-1;if(Je){se(Je);return}for(;++gt<K.length;)(Qe[gt]===null||Qe[gt]===void 0)&&(Qe[gt]=K[gt]);K=Qe,Fe?Ao(Fe,ve)(...Qe):se(null,...Qe)}}function N(K){if(typeof K!="function")throw new TypeError("Expected `middelware` to be a function, not "+K);return l.push(K),E}}function Ao(l,E){let C;return N;function N(...se){const ve=l.length>se.length;let Je;ve&&se.push(K);try{Je=l.apply(this,se)}catch(Qe){const Fe=Qe;if(ve&&C)throw Fe;return K(Fe)}ve||(Je&&Je.then&&typeof Je.then=="function"?Je.then(Y,K):Je instanceof Error?K(Je):Y(Je))}function K(se,...ve){C||(C=!0,E(se,...ve))}function Y(se){K(null,se)}}const li={basename:io,dirname:oo,extname:_o,join:Yi,sep:"/"};function io(l,E){if(E!==void 0&&typeof E!="string")throw new TypeError('"ext" argument must be a string');so(l);let C=0,N=-1,K=l.length,Y;if(E===void 0||E.length===0||E.length>l.length){for(;K--;)if(l.codePointAt(K)===47){if(Y){C=K+1;break}}else N<0&&(Y=!0,N=K+1);return N<0?"":l.slice(C,N)}if(E===l)return"";let se=-1,ve=E.length-1;for(;K--;)if(l.codePointAt(K)===47){if(Y){C=K+1;break}}else se<0&&(Y=!0,se=K+1),ve>-1&&(l.codePointAt(K)===E.codePointAt(ve--)?ve<0&&(N=K):(ve=-1,N=se));return C===N?N=se:N<0&&(N=l.length),l.slice(C,N)}function oo(l){if(so(l),l.length===0)return".";let E=-1,C=l.length,N;for(;--C;)if(l.codePointAt(C)===47){if(N){E=C;break}}else N||(N=!0);return E<0?l.codePointAt(0)===47?"/":".":E===1&&l.codePointAt(0)===47?"//":l.slice(0,E)}function _o(l){so(l);let E=l.length,C=-1,N=0,K=-1,Y=0,se;for(;E--;){const ve=l.codePointAt(E);if(ve===47){if(se){N=E+1;break}continue}C<0&&(se=!0,C=E+1),ve===46?K<0?K=E:Y!==1&&(Y=1):K>-1&&(Y=-1)}return K<0||C<0||Y===0||Y===1&&K===C-1&&K===N+1?"":l.slice(K,C)}function Yi(...l){let E=-1,C;for(;++E<l.length;)so(l[E]),l[E]&&(C=C===void 0?l[E]:C+"/"+l[E]);return C===void 0?".":Mo(C)}function Mo(l){so(l);const E=l.codePointAt(0)===47;let C=Po(l,!E);return C.length===0&&!E&&(C="."),C.length>0&&l.codePointAt(l.length-1)===47&&(C+="/"),E?"/"+C:C}function Po(l,E){let C="",N=0,K=-1,Y=0,se=-1,ve,Je;for(;++se<=l.length;){if(se<l.length)ve=l.codePointAt(se);else{if(ve===47)break;ve=47}if(ve===47){if(!(K===se-1||Y===1))if(K!==se-1&&Y===2){if(C.length<2||N!==2||C.codePointAt(C.length-1)!==46||C.codePointAt(C.length-2)!==46){if(C.length>2){if(Je=C.lastIndexOf("/"),Je!==C.length-1){Je<0?(C="",N=0):(C=C.slice(0,Je),N=C.length-1-C.lastIndexOf("/")),K=se,Y=0;continue}}else if(C.length>0){C="",N=0,K=se,Y=0;continue}}E&&(C=C.length>0?C+"/..":"..",N=2)}else C.length>0?C+="/"+l.slice(K+1,se):C=l.slice(K+1,se),N=se-K-1;K=se,Y=0}else ve===46&&Y>-1?Y++:Y=-1}return C}function so(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}const wo={cwd:ko};function ko(){return"/"}function Ri(l){return!!(l!==null&&typeof l=="object"&&"href"in l&&l.href&&"protocol"in l&&l.protocol&&l.auth===void 0)}function Ci(l){if(typeof l=="string")l=new URL(l);else if(!Ri(l)){const E=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+l+"`");throw E.code="ERR_INVALID_ARG_TYPE",E}if(l.protocol!=="file:"){const E=new TypeError("The URL must be of scheme file");throw E.code="ERR_INVALID_URL_SCHEME",E}return lo(l)}function lo(l){if(l.hostname!==""){const N=new TypeError('File URL host must be "localhost" or empty on darwin');throw N.code="ERR_INVALID_FILE_URL_HOST",N}const E=l.pathname;let C=-1;for(;++C<E.length;)if(E.codePointAt(C)===37&&E.codePointAt(C+1)===50){const N=E.codePointAt(C+2);if(N===70||N===102){const K=new TypeError("File URL path must not include encoded / characters");throw K.code="ERR_INVALID_FILE_URL_PATH",K}}return decodeURIComponent(E)}const ui=["history","path","basename","stem","extname","dirname"];class ho{constructor(E){let C;E?Ri(E)?C={path:E}:typeof E=="string"||kr(E)?C={value:E}:C=E:C={},this.cwd="cwd"in C?"":wo.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let N=-1;for(;++N<ui.length;){const Y=ui[N];Y in C&&C[Y]!==void 0&&C[Y]!==null&&(this[Y]=Y==="history"?[...C[Y]]:C[Y])}let K;for(K in C)ui.includes(K)||(this[K]=C[K])}get basename(){return typeof this.path=="string"?li.basename(this.path):void 0}set basename(E){Li(E,"basename"),xi(E,"basename"),this.path=li.join(this.dirname||"",E)}get dirname(){return typeof this.path=="string"?li.dirname(this.path):void 0}set dirname(E){Oi(this.basename,"dirname"),this.path=li.join(E||"",this.basename)}get extname(){return typeof this.path=="string"?li.extname(this.path):void 0}set extname(E){if(xi(E,"extname"),Oi(this.dirname,"extname"),E){if(E.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(E.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=li.join(this.dirname,this.stem+(E||""))}get path(){return this.history[this.history.length-1]}set path(E){Ri(E)&&(E=Ci(E)),Li(E,"path"),this.path!==E&&this.history.push(E)}get stem(){return typeof this.path=="string"?li.basename(this.path,this.extname):void 0}set stem(E){Li(E,"stem"),xi(E,"stem"),this.path=li.join(this.dirname||"",E+(this.extname||""))}fail(E,C,N){const K=this.message(E,C,N);throw K.fatal=!0,K}info(E,C,N){const K=this.message(E,C,N);return K.fatal=void 0,K}message(E,C,N){const K=new H(E,C,N);return this.path&&(K.name=this.path+":"+K.name,K.file=this.path),K.fatal=!1,this.messages.push(K),K}toString(E){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(E||void 0).decode(this.value)}}function xi(l,E){if(l&&l.includes(li.sep))throw new Error("`"+E+"` cannot be a path: did not expect `"+li.sep+"`")}function Li(l,E){if(!l)throw new Error("`"+E+"` cannot be empty")}function Oi(l,E){if(!l)throw new Error("Setting `"+E+"` requires `path` to be set too")}function kr(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const Nr=function(l){const N=this.constructor.prototype,K=N[l],Y=function(){return K.apply(Y,arguments)};return Object.setPrototypeOf(Y,N),Y},ba={}.hasOwnProperty;class wa extends Nr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ao()}copy(){const E=new wa;let C=-1;for(;++C<this.attachers.length;){const N=this.attachers[C];E.use(...N)}return E.data(xo(!0,{},this.namespace)),E}data(E,C){return typeof E=="string"?arguments.length===2?(fi("data",this.frozen),this.namespace[E]=C,this):ba.call(this.namespace,E)&&this.namespace[E]||void 0:E?(fi("data",this.frozen),this.namespace=E,this):this.namespace}freeze(){if(this.frozen)return this;const E=this;for(;++this.freezeIndex<this.attachers.length;){const[C,...N]=this.attachers[this.freezeIndex];if(N[0]===!1)continue;N[0]===!0&&(N[0]=void 0);const K=C.call(E,...N);typeof K=="function"&&this.transformers.use(K)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(E){this.freeze();const C=Wo(E),N=this.parser||this.Parser;return ci("parse",N),N(String(C),C)}process(E,C){const N=this;return this.freeze(),ci("process",this.parser||this.Parser),di("process",this.compiler||this.Compiler),C?K(void 0,C):new Promise(K);function K(Y,se){const ve=Wo(E),Je=N.parse(ve);N.run(Je,ve,function(Fe,gt,ft){if(Fe||!gt||!ft)return Qe(Fe);const We=gt,$n=N.stringify(We,ft);rs($n)?ft.value=$n:ft.result=$n,Qe(Fe,ft)});function Qe(Fe,gt){Fe||!gt?se(Fe):Y?Y(gt):((0,y.ok)(C,"`done` is defined if `resolve` is not"),C(void 0,gt))}}}processSync(E){let C=!1,N;return this.freeze(),ci("processSync",this.parser||this.Parser),di("processSync",this.compiler||this.Compiler),this.process(E,K),Ai("processSync","process",C),(0,y.ok)(N,"we either bailed on an error or have a tree"),N;function K(Y,se){C=!0,Hi(Y),N=se}}run(E,C,N){Ja(E),this.freeze();const K=this.transformers;return!N&&typeof C=="function"&&(N=C,C=void 0),N?Y(void 0,N):new Promise(Y);function Y(se,ve){(0,y.ok)(typeof C!="function","`file` can\u2019t be a `done` anymore, we checked");const Je=Wo(C);K.run(E,Je,Qe);function Qe(Fe,gt,ft){const We=gt||E;Fe?ve(Fe):se?se(We):((0,y.ok)(N,"`done` is defined if `resolve` is not"),N(void 0,We,ft))}}}runSync(E,C){let N=!1,K;return this.run(E,C,Y),Ai("runSync","run",N),(0,y.ok)(K,"we either bailed on an error or have a tree"),K;function Y(se,ve){Hi(se),K=ve,N=!0}}stringify(E,C){this.freeze();const N=Wo(C),K=this.compiler||this.Compiler;return di("stringify",K),Ja(E),K(E,N)}use(E,...C){const N=this.attachers,K=this.namespace;if(fi("use",this.frozen),E!=null)if(typeof E=="function")Je(E,C);else if(typeof E=="object")Array.isArray(E)?ve(E):se(E);else throw new TypeError("Expected usable value, not `"+E+"`");return this;function Y(Qe){if(typeof Qe=="function")Je(Qe,[]);else if(typeof Qe=="object")if(Array.isArray(Qe)){const[Fe,...gt]=Qe;Je(Fe,gt)}else se(Qe);else throw new TypeError("Expected usable value, not `"+Qe+"`")}function se(Qe){if(!("plugins"in Qe)&&!("settings"in Qe))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");ve(Qe.plugins),Qe.settings&&(K.settings=xo(!0,K.settings,Qe.settings))}function ve(Qe){let Fe=-1;if(Qe!=null)if(Array.isArray(Qe))for(;++Fe<Qe.length;){const gt=Qe[Fe];Y(gt)}else throw new TypeError("Expected a list of plugins, not `"+Qe+"`")}function Je(Qe,Fe){let gt=-1,ft=-1;for(;++gt<N.length;)if(N[gt][0]===Qe){ft=gt;break}if(ft===-1)N.push([Qe,...Fe]);else if(Fe.length>0){let[We,...$n]=Fe;const Ir=N[ft][1];ro(Ir)&&ro(We)&&(We=xo(!0,Ir,We)),N[ft]=[Qe,We,...$n]}}}}const Ea=new wa().freeze();function ci(l,E){if(typeof E!="function")throw new TypeError("Cannot `"+l+"` without `parser`")}function di(l,E){if(typeof E!="function")throw new TypeError("Cannot `"+l+"` without `compiler`")}function fi(l,E){if(E)throw new Error("Cannot call `"+l+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ja(l){if(!ro(l)||typeof l.type!="string")throw new TypeError("Expected node, got `"+l+"`")}function Ai(l,E,C){if(!C)throw new Error("`"+l+"` finished async. Use `"+E+"` instead")}function Wo(l){return ns(l)?l:new ho(l)}function ns(l){return!!(l&&typeof l=="object"&&"message"in l&&"messages"in l)}function rs(l){return typeof l=="string"||ps(l)}function ps(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const hs="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",as=[],ei={allowDangerousHtml:!0},La=/^(https?|ircs?|mailto|xmpp)$/i,ja=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Oa(l){const E=No(l),C=Xo(l);return Qo(E.runSync(E.parse(C),C),l)}function go(l){return js(this,null,function*(){const E=No(l),C=Xo(l),N=yield E.run(E.parse(C),C);return Qo(N,l)})}function ks(l){const E=No(l),[C,N]=useState(void 0),[K,Y]=useState(void 0);if(useEffect(function(){const se=Xo(l);E.run(E.parse(se),se,function(ve,Je){N(ve),Y(Je)})},[l.children,l.rehypePlugins,l.remarkPlugins,l.remarkRehypeOptions]),C)throw C;return K?Qo(K,l):createElement(Fragment)}function No(l){const E=l.rehypePlugins||as,C=l.remarkPlugins||as,N=l.remarkRehypeOptions?Cr(Cr({},l.remarkRehypeOptions),ei):ei;return Ea().use($a).use(C).use(Do,N).use(E)}function Xo(l){const E=l.children||"",C=new ho;return typeof E=="string"?C.value=E:(0,y.t1)("Unexpected value `"+E+"` for `children` prop, expected `string`"),C}function Qo(l,E){const C=E.allowedElements,N=E.allowElement,K=E.components,Y=E.disallowedElements,se=E.skipHtml,ve=E.unwrapDisallowed,Je=E.urlTransform||gs;for(const Fe of ja)Object.hasOwn(E,Fe.from)&&(0,y.t1)("Unexpected `"+Fe.from+"` prop, "+(Fe.to?"use `"+Fe.to+"` instead":"remove it")+" (see <"+hs+"#"+Fe.id+"> for more info)");return C&&Y&&(0,y.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),E.className&&(l={type:"element",tagName:"div",properties:{className:E.className},children:l.type==="root"?l.children:[l]}),(0,Ka.Vn)(l,Qe),Le(l,{Fragment:g.Fragment,components:K,ignoreInvalidStyle:!0,jsx:g.jsx,jsxs:g.jsxs,passKeys:!0,passNode:!0});function Qe(Fe,gt,ft){if(Fe.type==="raw"&&ft&&typeof gt=="number")return se?ft.children.splice(gt,1):ft.children[gt]={type:"text",value:Fe.value},gt;if(Fe.type==="element"){let We;for(We in O)if(Object.hasOwn(O,We)&&Object.hasOwn(Fe.properties,We)){const $n=Fe.properties[We],Ir=O[We];(Ir===null||Ir.includes(Fe.tagName))&&(Fe.properties[We]=Je(String($n||""),We,Fe))}}if(Fe.type==="element"){let We=C?!C.includes(Fe.tagName):Y?Y.includes(Fe.tagName):!1;if(!We&&N&&typeof gt=="number"&&(We=!N(Fe,gt,ft)),We&&ft&&typeof gt=="number")return ve&&Fe.children?ft.children.splice(gt,1,...Fe.children):ft.children.splice(gt,1),gt}}}function gs(l){const E=l.indexOf(":"),C=l.indexOf("?"),N=l.indexOf("#"),K=l.indexOf("/");return E===-1||K!==-1&&E>K||C!==-1&&E>C||N!==-1&&E>N||La.test(l.slice(0,E))?l:""}},3977:function(x,c,r){"use strict";r.d(c,{Z:function(){return is}});var u={};r.r(u),r.d(u,{boolean:function(){return H},booleanish:function(){return fe},commaOrSpaceSeparated:function(){return ge},commaSeparated:function(){return ne},number:function(){return V},overloadedBoolean:function(){return re},spaceSeparated:function(){return le}});var y=r(90302),v=r(87342),b=r(81994),k=r(14470),f=r(86825);function R(n){const a=String(n),S=[];return{toOffset:Ye,toPoint:ie};function ie(At){if(typeof At=="number"&&At>-1&&At<=a.length){let Gt=0;for(;;){let Pn=S[Gt];if(Pn===void 0){const er=z(a,S[Gt-1]);Pn=er===-1?a.length+1:er+1,S[Gt]=Pn}if(Pn>At)return{line:Gt+1,column:At-(Gt>0?S[Gt-1]:0)+1,offset:At};Gt++}}}function Ye(At){if(At&&typeof At.line=="number"&&typeof At.column=="number"&&!Number.isNaN(At.line)&&!Number.isNaN(At.column)){for(;S.length<At.line;){const Pn=S[S.length-1],er=z(a,Pn),Ot=er===-1?a.length+1:er+1;if(Pn===Ot)break;S.push(Ot)}const Gt=(At.line>1?S[At.line-2]:0)+At.column-1;if(Gt<S[At.line-1])return Gt}}}function z(n,a){const S=n.indexOf("\r",a),ie=n.indexOf(`
`,a);return ie===-1?S:S===-1||S+1===ie?ie:S<ie?S:ie}var D=r(43309);const I={}.hasOwnProperty,ae=Object.prototype;function G(n,a){const S=a||{};return be({file:S.file||void 0,location:!1,schema:S.space==="svg"?k.YP:k.dy,verbose:S.verbose||!1},n)}function be(n,a){let S;switch(a.nodeName){case"#comment":{const ie=a;return S={type:"comment",value:ie.data},te(n,ie,S),S}case"#document":case"#document-fragment":{const ie=a,Ye="mode"in ie?ie.mode==="quirks"||ie.mode==="limited-quirks":!1;if(S={type:"root",children:ce(n,a.childNodes),data:{quirksMode:Ye}},n.file&&n.location){const At=String(n.file),Gt=R(At),Pn=Gt.toPoint(0),er=Gt.toPoint(At.length);(0,v.ok)(Pn,"expected `start`"),(0,v.ok)(er,"expected `end`"),S.position={start:Pn,end:er}}return S}case"#documentType":{const ie=a;return S={type:"doctype"},te(n,ie,S),S}case"#text":{const ie=a;return S={type:"text",value:ie.value},te(n,ie,S),S}default:return S=ue(n,a),S}}function ce(n,a){let S=-1;const ie=[];for(;++S<a.length;){const Ye=be(n,a[S]);ie.push(Ye)}return ie}function ue(n,a){const S=n.schema;n.schema=a.namespaceURI===D.t.svg?k.YP:k.dy;let ie=-1;const Ye={};for(;++ie<a.attrs.length;){const Pn=a.attrs[ie],er=(Pn.prefix?Pn.prefix+":":"")+Pn.name;I.call(ae,er)||(Ye[er]=Pn.value)}const Gt=(n.schema.space==="svg"?b.s:b.h)(a.tagName,Ye,ce(n,a.childNodes));if(te(n,a,Gt),Gt.tagName==="template"){const Pn=a,er=Pn.sourceCodeLocation,Ot=er&&er.startTag&&q(er.startTag),ln=er&&er.endTag&&q(er.endTag),ur=be(n,Pn.content);Ot&&ln&&n.file&&(ur.position={start:Ot.end,end:ln.start}),Gt.content=ur}return n.schema=S,Gt}function te(n,a,S){if("sourceCodeLocation"in a&&a.sourceCodeLocation&&n.file){const ie=X(n,S,a.sourceCodeLocation);ie&&(n.location=!0,S.position=ie)}}function X(n,a,S){const ie=q(S);if(a.type==="element"){const Ye=a.children[a.children.length-1];if(ie&&!S.endTag&&Ye&&Ye.position&&Ye.position.end&&(ie.end=Object.assign({},Ye.position.end)),n.verbose){const At={};let Gt;if(S.attrs)for(Gt in S.attrs)I.call(S.attrs,Gt)&&(At[(0,f.s)(n.schema,Gt).property]=q(S.attrs[Gt]));(0,v.ok)(S.startTag,"a start tag should exist");const Pn=q(S.startTag),er=S.endTag?q(S.endTag):void 0,Ot={opening:Pn};er&&(Ot.closing=er),Ot.properties=At,a.data={position:Ot}}}return ie}function q(n){const a=Z({line:n.startLine,column:n.startCol,offset:n.startOffset}),S=Z({line:n.endLine,column:n.endCol,offset:n.endOffset});return a||S?{start:a,end:S}:void 0}function Z(n){return n.line&&n.column?n:void 0}var j=r(11630);class P{constructor(a,S,ie){this.property=a,this.normal=S,ie&&(this.space=ie)}}P.prototype.property={},P.prototype.normal={},P.prototype.space=null;function U(n,a){const S={},ie={};let Ye=-1;for(;++Ye<n.length;)Object.assign(S,n[Ye].property),Object.assign(ie,n[Ye].normal);return new P(S,ie,a)}function _(n){return n.toLowerCase()}class J{constructor(a,S){this.property=a,this.attribute=S}}J.prototype.space=null,J.prototype.boolean=!1,J.prototype.booleanish=!1,J.prototype.overloadedBoolean=!1,J.prototype.number=!1,J.prototype.commaSeparated=!1,J.prototype.spaceSeparated=!1,J.prototype.commaOrSpaceSeparated=!1,J.prototype.mustUseProperty=!1,J.prototype.defined=!1;let de=0;const H=Le(),fe=Le(),re=Le(),V=Le(),le=Le(),ne=Le(),ge=Le();function Le(){return Ks(2,++de)}const Re=Object.keys(u);class Ie extends J{constructor(a,S,ie,Ye){let At=-1;if(super(a,S),He(this,"space",Ye),typeof ie=="number")for(;++At<Re.length;){const Gt=Re[At];He(this,Re[At],(ie&u[Gt])===u[Gt])}}}Ie.prototype.defined=!0;function He(n,a,S){S&&(n[a]=S)}const oe={}.hasOwnProperty;function F(n){const a={},S={};let ie;for(ie in n.properties)if(oe.call(n.properties,ie)){const Ye=n.properties[ie],At=new Ie(ie,n.transform(n.attributes||{},ie),Ye,n.space);n.mustUseProperty&&n.mustUseProperty.includes(ie)&&(At.mustUseProperty=!0),a[ie]=At,S[_(ie)]=ie,S[_(At.attribute)]=ie}return new P(a,S,n.space)}const L=F({space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),we=F({space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ue(n,a){return a in n?n[a]:a}function Ne(n,a){return Ue(n,a.toLowerCase())}const xt=F({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ne,properties:{xmlns:null,xmlnsXLink:null}}),pt=F({transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:fe,ariaAutoComplete:null,ariaBusy:fe,ariaChecked:fe,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:le,ariaCurrent:null,ariaDescribedBy:le,ariaDetails:null,ariaDisabled:fe,ariaDropEffect:le,ariaErrorMessage:null,ariaExpanded:fe,ariaFlowTo:le,ariaGrabbed:fe,ariaHasPopup:null,ariaHidden:fe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:le,ariaLevel:V,ariaLive:null,ariaModal:fe,ariaMultiLine:fe,ariaMultiSelectable:fe,ariaOrientation:null,ariaOwns:le,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:fe,ariaReadOnly:fe,ariaRelevant:null,ariaRequired:fe,ariaRoleDescription:le,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:fe,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null}}),Lt=F({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ne,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ne,acceptCharset:le,accessKey:le,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:le,autoFocus:H,autoPlay:H,blocking:le,capture:null,charSet:null,checked:H,cite:null,className:le,cols:V,colSpan:null,content:null,contentEditable:fe,controls:H,controlsList:le,coords:V|ne,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:re,draggable:fe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:le,height:V,hidden:H,high:V,href:null,hrefLang:null,htmlFor:le,httpEquiv:le,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:le,itemRef:le,itemScope:H,itemType:le,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:V,pattern:null,ping:le,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:le,required:H,reversed:H,rows:V,rowSpan:V,sandbox:le,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:fe,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:le,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:V,security:null,unselectable:null}}),ze=F({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ue,properties:{about:ge,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:le,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ne,g2:ne,glyphName:ne,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:ge,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:le,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ge,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ge,rev:ge,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ge,requiredFeatures:ge,requiredFonts:ge,requiredFormats:ge,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:ge,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ge,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ge,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Te=U([we,L,xt,pt,Lt],"html"),_e=U([we,L,xt,pt,ze],"svg"),$e=/^data[-\w.:]+$/i,St=/-[a-z]/g,A=/[A-Z]/g;function p(n,a){const S=_(a);let ie=a,Ye=J;if(S in n.normal)return n.property[n.normal[S]];if(S.length>4&&S.slice(0,4)==="data"&&$e.test(a)){if(a.charAt(4)==="-"){const At=a.slice(5).replace(St,T);ie="data"+At.charAt(0).toUpperCase()+At.slice(1)}else{const At=a.slice(4);if(!St.test(At)){let Gt=At.replace(A,d);Gt.charAt(0)!=="-"&&(Gt="-"+Gt),a="data"+Gt}}Ye=Ie}return new Ye(ie,a)}function d(n){return"-"+n.toLowerCase()}function T(n){return n.charAt(1).toUpperCase()}var O=r(71523);const g={}.hasOwnProperty;function M(n,a){const S=a||{};function ie(Ye,...At){let Gt=ie.invalid;const Pn=ie.handlers;if(Ye&&g.call(Ye,n)){const er=String(Ye[n]);Gt=g.call(Pn,er)?Pn[er]:ie.unknown}if(Gt)return Gt.call(this,Ye,...At)}return ie.handlers=S.handlers||{},ie.invalid=S.invalid,ie.unknown=S.unknown,ie}const xe={},tt={}.hasOwnProperty,nt=M("type",{handlers:{root:Be,element:pe,text:lt,comment:Ge,doctype:qe}});function Ee(n,a){const ie=(a||xe).space;return nt(n,ie==="svg"?_e:Te)}function Be(n,a){const S={nodeName:"#document",mode:(n.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return S.childNodes=st(n.children,S,a),Ve(n,S),S}function Oe(n,a){const S={nodeName:"#document-fragment",childNodes:[]};return S.childNodes=st(n.children,S,a),Ve(n,S),S}function qe(n){const a={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ve(n,a),a}function lt(n){const a={nodeName:"#text",value:n.value,parentNode:null};return Ve(n,a),a}function Ge(n){const a={nodeName:"#comment",data:n.value,parentNode:null};return Ve(n,a),a}function pe(n,a){const S=a;let ie=S;n.type==="element"&&n.tagName.toLowerCase()==="svg"&&S.space==="html"&&(ie=_e);const Ye=[];let At;if(n.properties){for(At in n.properties)if(At!=="children"&&tt.call(n.properties,At)){const er=rt(ie,At,n.properties[At]);er&&Ye.push(er)}}const Gt=ie.space;(0,v.ok)(Gt);const Pn={nodeName:n.tagName,tagName:n.tagName,attrs:Ye,namespaceURI:D.t[Gt],childNodes:[],parentNode:null};return Pn.childNodes=st(n.children,Pn,ie),Ve(n,Pn),n.tagName==="template"&&n.content&&(Pn.content=Oe(n.content,ie)),Pn}function rt(n,a,S){const ie=p(n,a);if(S===!1||S===null||S===void 0||typeof S=="number"&&Number.isNaN(S)||!S&&ie.boolean)return;Array.isArray(S)&&(S=ie.commaSeparated?(0,j.P)(S):(0,O.P)(S));const Ye={name:ie.attribute,value:S===!0?"":String(S)};if(ie.space&&ie.space!=="html"&&ie.space!=="svg"){const At=Ye.name.indexOf(":");At<0?Ye.prefix="":(Ye.name=Ye.name.slice(At+1),Ye.prefix=ie.attribute.slice(0,At)),Ye.namespace=D.t[ie.space]}return Ye}function st(n,a,S){let ie=-1;const Ye=[];if(n)for(;++ie<n.length;){const At=nt(n[ie],S);At.parentNode=a,Ye.push(At)}return Ye}function Ve(n,a){const S=n.position;S&&S.start&&S.end&&((0,v.ok)(typeof S.start.offset=="number"),(0,v.ok)(typeof S.end.offset=="number"),a.sourceCodeLocation={startLine:S.start.line,startCol:S.start.column,startOffset:S.start.offset,endLine:S.end.line,endCol:S.end.column,endOffset:S.end.offset})}const at=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Nt=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),it="\uFFFD";var Q;(function(n){n[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(Q||(Q={}));const Et={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function wt(n){return n>=55296&&n<=57343}function ye(n){return n>=56320&&n<=57343}function zt(n,a){return(n-55296)*1024+9216+a}function nn(n){return n!==32&&n!==10&&n!==13&&n!==9&&n!==12&&n>=1&&n<=31||n>=127&&n<=159}function Xt(n){return n>=64976&&n<=65007||Nt.has(n)}var je;(function(n){n.controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(je||(je={}));const En=65536;class hn{constructor(a){this.handler=a,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=En,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(a,S){const{line:ie,col:Ye,offset:At}=this,Gt=Ye+S,Pn=At+S;return{code:a,startLine:ie,endLine:ie,startCol:Gt,endCol:Gt,startOffset:Pn,endOffset:Pn}}_err(a){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(a,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(a){if(this.pos!==this.html.length-1){const S=this.html.charCodeAt(this.pos+1);if(ye(S))return this.pos++,this._addGap(),zt(a,S)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Q.EOF;return this._err(je.surrogateInInputStream),a}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(a,S){this.html.length>0?this.html+=a:this.html=a,this.endOfChunkHit=!1,this.lastChunkWritten=S}insertHtmlAtCurrentPos(a){this.html=this.html.substring(0,this.pos+1)+a+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(a,S){if(this.pos+a.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(S)return this.html.startsWith(a,this.pos);for(let ie=0;ie<a.length;ie++)if((this.html.charCodeAt(this.pos+ie)|32)!==a.charCodeAt(ie))return!1;return!0}peek(a){const S=this.pos+a;if(S>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Q.EOF;const ie=this.html.charCodeAt(S);return ie===Q.CARRIAGE_RETURN?Q.LINE_FEED:ie}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Q.EOF;let a=this.html.charCodeAt(this.pos);return a===Q.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Q.LINE_FEED):a===Q.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,wt(a)&&(a=this._processSurrogate(a)),this.handler.onParseError===null||a>31&&a<127||a===Q.LINE_FEED||a===Q.CARRIAGE_RETURN||a>159&&a<64976||this._checkForProblematicCharacters(a),a)}_checkForProblematicCharacters(a){nn(a)?this._err(je.controlCharacterInInputStream):Xt(a)&&this._err(je.noncharacterInInputStream)}retreat(a){for(this.pos-=a;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ht;(function(n){n[n.CHARACTER=0]="CHARACTER",n[n.NULL_CHARACTER=1]="NULL_CHARACTER",n[n.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",n[n.START_TAG=3]="START_TAG",n[n.END_TAG=4]="END_TAG",n[n.COMMENT=5]="COMMENT",n[n.DOCTYPE=6]="DOCTYPE",n[n.EOF=7]="EOF",n[n.HIBERNATION=8]="HIBERNATION"})(Ht||(Ht={}));function Kt(n,a){for(let S=n.attrs.length-1;S>=0;S--)if(n.attrs[S].name===a)return n.attrs[S].value;return null}const gn=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(n=>n.charCodeAt(0))),Wt=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(n=>n.charCodeAt(0)));var Ft;const Dt=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Qt=(Ft=String.fromCodePoint)!==null&&Ft!==void 0?Ft:function(n){let a="";return n>65535&&(n-=65536,a+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),a+=String.fromCharCode(n),a};function wn(n){var a;return n>=55296&&n<=57343||n>1114111?65533:(a=Dt.get(n))!==null&&a!==void 0?a:n}function un(n){return Qt(wn(n))}var dn;(function(n){n[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z"})(dn||(dn={}));const Lr=32;var _n;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(_n||(_n={}));function Vn(n){return n>=dn.ZERO&&n<=dn.NINE}function gr(n){return n>=dn.UPPER_A&&n<=dn.UPPER_F||n>=dn.LOWER_A&&n<=dn.LOWER_F}function xr(n){return n>=dn.UPPER_A&&n<=dn.UPPER_Z||n>=dn.LOWER_A&&n<=dn.LOWER_Z||Vn(n)}function Xn(n){return n===dn.EQUALS||xr(n)}var Cn;(function(n){n[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity"})(Cn||(Cn={}));var On;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(On||(On={}));class Hn{constructor(a,S,ie){this.decodeTree=a,this.emitCodePoint=S,this.errors=ie,this.state=Cn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=On.Strict}startEntity(a){this.decodeMode=a,this.state=Cn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(a,S){switch(this.state){case Cn.EntityStart:return a.charCodeAt(S)===dn.NUM?(this.state=Cn.NumericStart,this.consumed+=1,this.stateNumericStart(a,S+1)):(this.state=Cn.NamedEntity,this.stateNamedEntity(a,S));case Cn.NumericStart:return this.stateNumericStart(a,S);case Cn.NumericDecimal:return this.stateNumericDecimal(a,S);case Cn.NumericHex:return this.stateNumericHex(a,S);case Cn.NamedEntity:return this.stateNamedEntity(a,S)}}stateNumericStart(a,S){return S>=a.length?-1:(a.charCodeAt(S)|Lr)===dn.LOWER_X?(this.state=Cn.NumericHex,this.consumed+=1,this.stateNumericHex(a,S+1)):(this.state=Cn.NumericDecimal,this.stateNumericDecimal(a,S))}addToNumericResult(a,S,ie,Ye){if(S!==ie){const At=ie-S;this.result=this.result*Math.pow(Ye,At)+Number.parseInt(a.substr(S,At),Ye),this.consumed+=At}}stateNumericHex(a,S){const ie=S;for(;S<a.length;){const Ye=a.charCodeAt(S);if(Vn(Ye)||gr(Ye))S+=1;else return this.addToNumericResult(a,ie,S,16),this.emitNumericEntity(Ye,3)}return this.addToNumericResult(a,ie,S,16),-1}stateNumericDecimal(a,S){const ie=S;for(;S<a.length;){const Ye=a.charCodeAt(S);if(Vn(Ye))S+=1;else return this.addToNumericResult(a,ie,S,10),this.emitNumericEntity(Ye,2)}return this.addToNumericResult(a,ie,S,10),-1}emitNumericEntity(a,S){var ie;if(this.consumed<=S)return(ie=this.errors)===null||ie===void 0||ie.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(a===dn.SEMI)this.consumed+=1;else if(this.decodeMode===On.Strict)return 0;return this.emitCodePoint(wn(this.result),this.consumed),this.errors&&(a!==dn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(a,S){const{decodeTree:ie}=this;let Ye=ie[this.treeIndex],At=(Ye&_n.VALUE_LENGTH)>>14;for(;S<a.length;S++,this.excess++){const Gt=a.charCodeAt(S);if(this.treeIndex=Rn(ie,Ye,this.treeIndex+Math.max(1,At),Gt),this.treeIndex<0)return this.result===0||this.decodeMode===On.Attribute&&(At===0||Xn(Gt))?0:this.emitNotTerminatedNamedEntity();if(Ye=ie[this.treeIndex],At=(Ye&_n.VALUE_LENGTH)>>14,At!==0){if(Gt===dn.SEMI)return this.emitNamedEntityData(this.treeIndex,At,this.consumed+this.excess);this.decodeMode!==On.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var a;const{result:S,decodeTree:ie}=this,Ye=(ie[S]&_n.VALUE_LENGTH)>>14;return this.emitNamedEntityData(S,Ye,this.consumed),(a=this.errors)===null||a===void 0||a.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(a,S,ie){const{decodeTree:Ye}=this;return this.emitCodePoint(S===1?Ye[a]&~_n.VALUE_LENGTH:Ye[a+1],ie),S===3&&this.emitCodePoint(Ye[a+2],ie),ie}end(){var a;switch(this.state){case Cn.NamedEntity:return this.result!==0&&(this.decodeMode!==On.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Cn.NumericDecimal:return this.emitNumericEntity(0,2);case Cn.NumericHex:return this.emitNumericEntity(0,3);case Cn.NumericStart:return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Cn.EntityStart:return 0}}}function Zt(n){let a="";const S=new Hn(n,ie=>a+=fromCodePoint(ie));return function(Ye,At){let Gt=0,Pn=0;for(;(Pn=Ye.indexOf("&",Pn))>=0;){a+=Ye.slice(Gt,Pn),S.startEntity(At);const Ot=S.write(Ye,Pn+1);if(Ot<0){Gt=Pn+S.end();break}Gt=Pn+Ot,Pn=Ot===0?Gt+1:Gt}const er=a+Ye.slice(Gt);return a="",er}}function Rn(n,a,S,ie){const Ye=(a&_n.BRANCH_LENGTH)>>7,At=a&_n.JUMP_TABLE;if(Ye===0)return At!==0&&ie===At?S:-1;if(At){const er=ie-At;return er<0||er>=Ye?-1:n[S+er]-1}let Gt=S,Pn=Gt+Ye-1;for(;Gt<=Pn;){const er=Gt+Pn>>>1,Ot=n[er];if(Ot<ie)Gt=er+1;else if(Ot>ie)Pn=er-1;else return n[er+Ye]}return-1}const mr=null,Or=null;function Pe(n,a=On.Legacy){return mr(n,a)}function De(n){return mr(n,On.Attribute)}function Bt(n){return mr(n,On.Strict)}function Rt(n){return Or(n,On.Strict)}var me;(function(n){n.HTML="http://www.w3.org/1999/xhtml",n.MATHML="http://www.w3.org/1998/Math/MathML",n.SVG="http://www.w3.org/2000/svg",n.XLINK="http://www.w3.org/1999/xlink",n.XML="http://www.w3.org/XML/1998/namespace",n.XMLNS="http://www.w3.org/2000/xmlns/"})(me||(me={}));var Ct;(function(n){n.TYPE="type",n.ACTION="action",n.ENCODING="encoding",n.PROMPT="prompt",n.NAME="name",n.COLOR="color",n.FACE="face",n.SIZE="size"})(Ct||(Ct={}));var _t;(function(n){n.NO_QUIRKS="no-quirks",n.QUIRKS="quirks",n.LIMITED_QUIRKS="limited-quirks"})(_t||(_t={}));var Ce;(function(n){n.A="a",n.ADDRESS="address",n.ANNOTATION_XML="annotation-xml",n.APPLET="applet",n.AREA="area",n.ARTICLE="article",n.ASIDE="aside",n.B="b",n.BASE="base",n.BASEFONT="basefont",n.BGSOUND="bgsound",n.BIG="big",n.BLOCKQUOTE="blockquote",n.BODY="body",n.BR="br",n.BUTTON="button",n.CAPTION="caption",n.CENTER="center",n.CODE="code",n.COL="col",n.COLGROUP="colgroup",n.DD="dd",n.DESC="desc",n.DETAILS="details",n.DIALOG="dialog",n.DIR="dir",n.DIV="div",n.DL="dl",n.DT="dt",n.EM="em",n.EMBED="embed",n.FIELDSET="fieldset",n.FIGCAPTION="figcaption",n.FIGURE="figure",n.FONT="font",n.FOOTER="footer",n.FOREIGN_OBJECT="foreignObject",n.FORM="form",n.FRAME="frame",n.FRAMESET="frameset",n.H1="h1",n.H2="h2",n.H3="h3",n.H4="h4",n.H5="h5",n.H6="h6",n.HEAD="head",n.HEADER="header",n.HGROUP="hgroup",n.HR="hr",n.HTML="html",n.I="i",n.IMG="img",n.IMAGE="image",n.INPUT="input",n.IFRAME="iframe",n.KEYGEN="keygen",n.LABEL="label",n.LI="li",n.LINK="link",n.LISTING="listing",n.MAIN="main",n.MALIGNMARK="malignmark",n.MARQUEE="marquee",n.MATH="math",n.MENU="menu",n.META="meta",n.MGLYPH="mglyph",n.MI="mi",n.MO="mo",n.MN="mn",n.MS="ms",n.MTEXT="mtext",n.NAV="nav",n.NOBR="nobr",n.NOFRAMES="noframes",n.NOEMBED="noembed",n.NOSCRIPT="noscript",n.OBJECT="object",n.OL="ol",n.OPTGROUP="optgroup",n.OPTION="option",n.P="p",n.PARAM="param",n.PLAINTEXT="plaintext",n.PRE="pre",n.RB="rb",n.RP="rp",n.RT="rt",n.RTC="rtc",n.RUBY="ruby",n.S="s",n.SCRIPT="script",n.SEARCH="search",n.SECTION="section",n.SELECT="select",n.SOURCE="source",n.SMALL="small",n.SPAN="span",n.STRIKE="strike",n.STRONG="strong",n.STYLE="style",n.SUB="sub",n.SUMMARY="summary",n.SUP="sup",n.TABLE="table",n.TBODY="tbody",n.TEMPLATE="template",n.TEXTAREA="textarea",n.TFOOT="tfoot",n.TD="td",n.TH="th",n.THEAD="thead",n.TITLE="title",n.TR="tr",n.TRACK="track",n.TT="tt",n.U="u",n.UL="ul",n.SVG="svg",n.VAR="var",n.WBR="wbr",n.XMP="xmp"})(Ce||(Ce={}));var m;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.A=1]="A",n[n.ADDRESS=2]="ADDRESS",n[n.ANNOTATION_XML=3]="ANNOTATION_XML",n[n.APPLET=4]="APPLET",n[n.AREA=5]="AREA",n[n.ARTICLE=6]="ARTICLE",n[n.ASIDE=7]="ASIDE",n[n.B=8]="B",n[n.BASE=9]="BASE",n[n.BASEFONT=10]="BASEFONT",n[n.BGSOUND=11]="BGSOUND",n[n.BIG=12]="BIG",n[n.BLOCKQUOTE=13]="BLOCKQUOTE",n[n.BODY=14]="BODY",n[n.BR=15]="BR",n[n.BUTTON=16]="BUTTON",n[n.CAPTION=17]="CAPTION",n[n.CENTER=18]="CENTER",n[n.CODE=19]="CODE",n[n.COL=20]="COL",n[n.COLGROUP=21]="COLGROUP",n[n.DD=22]="DD",n[n.DESC=23]="DESC",n[n.DETAILS=24]="DETAILS",n[n.DIALOG=25]="DIALOG",n[n.DIR=26]="DIR",n[n.DIV=27]="DIV",n[n.DL=28]="DL",n[n.DT=29]="DT",n[n.EM=30]="EM",n[n.EMBED=31]="EMBED",n[n.FIELDSET=32]="FIELDSET",n[n.FIGCAPTION=33]="FIGCAPTION",n[n.FIGURE=34]="FIGURE",n[n.FONT=35]="FONT",n[n.FOOTER=36]="FOOTER",n[n.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",n[n.FORM=38]="FORM",n[n.FRAME=39]="FRAME",n[n.FRAMESET=40]="FRAMESET",n[n.H1=41]="H1",n[n.H2=42]="H2",n[n.H3=43]="H3",n[n.H4=44]="H4",n[n.H5=45]="H5",n[n.H6=46]="H6",n[n.HEAD=47]="HEAD",n[n.HEADER=48]="HEADER",n[n.HGROUP=49]="HGROUP",n[n.HR=50]="HR",n[n.HTML=51]="HTML",n[n.I=52]="I",n[n.IMG=53]="IMG",n[n.IMAGE=54]="IMAGE",n[n.INPUT=55]="INPUT",n[n.IFRAME=56]="IFRAME",n[n.KEYGEN=57]="KEYGEN",n[n.LABEL=58]="LABEL",n[n.LI=59]="LI",n[n.LINK=60]="LINK",n[n.LISTING=61]="LISTING",n[n.MAIN=62]="MAIN",n[n.MALIGNMARK=63]="MALIGNMARK",n[n.MARQUEE=64]="MARQUEE",n[n.MATH=65]="MATH",n[n.MENU=66]="MENU",n[n.META=67]="META",n[n.MGLYPH=68]="MGLYPH",n[n.MI=69]="MI",n[n.MO=70]="MO",n[n.MN=71]="MN",n[n.MS=72]="MS",n[n.MTEXT=73]="MTEXT",n[n.NAV=74]="NAV",n[n.NOBR=75]="NOBR",n[n.NOFRAMES=76]="NOFRAMES",n[n.NOEMBED=77]="NOEMBED",n[n.NOSCRIPT=78]="NOSCRIPT",n[n.OBJECT=79]="OBJECT",n[n.OL=80]="OL",n[n.OPTGROUP=81]="OPTGROUP",n[n.OPTION=82]="OPTION",n[n.P=83]="P",n[n.PARAM=84]="PARAM",n[n.PLAINTEXT=85]="PLAINTEXT",n[n.PRE=86]="PRE",n[n.RB=87]="RB",n[n.RP=88]="RP",n[n.RT=89]="RT",n[n.RTC=90]="RTC",n[n.RUBY=91]="RUBY",n[n.S=92]="S",n[n.SCRIPT=93]="SCRIPT",n[n.SEARCH=94]="SEARCH",n[n.SECTION=95]="SECTION",n[n.SELECT=96]="SELECT",n[n.SOURCE=97]="SOURCE",n[n.SMALL=98]="SMALL",n[n.SPAN=99]="SPAN",n[n.STRIKE=100]="STRIKE",n[n.STRONG=101]="STRONG",n[n.STYLE=102]="STYLE",n[n.SUB=103]="SUB",n[n.SUMMARY=104]="SUMMARY",n[n.SUP=105]="SUP",n[n.TABLE=106]="TABLE",n[n.TBODY=107]="TBODY",n[n.TEMPLATE=108]="TEMPLATE",n[n.TEXTAREA=109]="TEXTAREA",n[n.TFOOT=110]="TFOOT",n[n.TD=111]="TD",n[n.TH=112]="TH",n[n.THEAD=113]="THEAD",n[n.TITLE=114]="TITLE",n[n.TR=115]="TR",n[n.TRACK=116]="TRACK",n[n.TT=117]="TT",n[n.U=118]="U",n[n.UL=119]="UL",n[n.SVG=120]="SVG",n[n.VAR=121]="VAR",n[n.WBR=122]="WBR",n[n.XMP=123]="XMP"})(m||(m={}));const Yt=new Map([[Ce.A,m.A],[Ce.ADDRESS,m.ADDRESS],[Ce.ANNOTATION_XML,m.ANNOTATION_XML],[Ce.APPLET,m.APPLET],[Ce.AREA,m.AREA],[Ce.ARTICLE,m.ARTICLE],[Ce.ASIDE,m.ASIDE],[Ce.B,m.B],[Ce.BASE,m.BASE],[Ce.BASEFONT,m.BASEFONT],[Ce.BGSOUND,m.BGSOUND],[Ce.BIG,m.BIG],[Ce.BLOCKQUOTE,m.BLOCKQUOTE],[Ce.BODY,m.BODY],[Ce.BR,m.BR],[Ce.BUTTON,m.BUTTON],[Ce.CAPTION,m.CAPTION],[Ce.CENTER,m.CENTER],[Ce.CODE,m.CODE],[Ce.COL,m.COL],[Ce.COLGROUP,m.COLGROUP],[Ce.DD,m.DD],[Ce.DESC,m.DESC],[Ce.DETAILS,m.DETAILS],[Ce.DIALOG,m.DIALOG],[Ce.DIR,m.DIR],[Ce.DIV,m.DIV],[Ce.DL,m.DL],[Ce.DT,m.DT],[Ce.EM,m.EM],[Ce.EMBED,m.EMBED],[Ce.FIELDSET,m.FIELDSET],[Ce.FIGCAPTION,m.FIGCAPTION],[Ce.FIGURE,m.FIGURE],[Ce.FONT,m.FONT],[Ce.FOOTER,m.FOOTER],[Ce.FOREIGN_OBJECT,m.FOREIGN_OBJECT],[Ce.FORM,m.FORM],[Ce.FRAME,m.FRAME],[Ce.FRAMESET,m.FRAMESET],[Ce.H1,m.H1],[Ce.H2,m.H2],[Ce.H3,m.H3],[Ce.H4,m.H4],[Ce.H5,m.H5],[Ce.H6,m.H6],[Ce.HEAD,m.HEAD],[Ce.HEADER,m.HEADER],[Ce.HGROUP,m.HGROUP],[Ce.HR,m.HR],[Ce.HTML,m.HTML],[Ce.I,m.I],[Ce.IMG,m.IMG],[Ce.IMAGE,m.IMAGE],[Ce.INPUT,m.INPUT],[Ce.IFRAME,m.IFRAME],[Ce.KEYGEN,m.KEYGEN],[Ce.LABEL,m.LABEL],[Ce.LI,m.LI],[Ce.LINK,m.LINK],[Ce.LISTING,m.LISTING],[Ce.MAIN,m.MAIN],[Ce.MALIGNMARK,m.MALIGNMARK],[Ce.MARQUEE,m.MARQUEE],[Ce.MATH,m.MATH],[Ce.MENU,m.MENU],[Ce.META,m.META],[Ce.MGLYPH,m.MGLYPH],[Ce.MI,m.MI],[Ce.MO,m.MO],[Ce.MN,m.MN],[Ce.MS,m.MS],[Ce.MTEXT,m.MTEXT],[Ce.NAV,m.NAV],[Ce.NOBR,m.NOBR],[Ce.NOFRAMES,m.NOFRAMES],[Ce.NOEMBED,m.NOEMBED],[Ce.NOSCRIPT,m.NOSCRIPT],[Ce.OBJECT,m.OBJECT],[Ce.OL,m.OL],[Ce.OPTGROUP,m.OPTGROUP],[Ce.OPTION,m.OPTION],[Ce.P,m.P],[Ce.PARAM,m.PARAM],[Ce.PLAINTEXT,m.PLAINTEXT],[Ce.PRE,m.PRE],[Ce.RB,m.RB],[Ce.RP,m.RP],[Ce.RT,m.RT],[Ce.RTC,m.RTC],[Ce.RUBY,m.RUBY],[Ce.S,m.S],[Ce.SCRIPT,m.SCRIPT],[Ce.SEARCH,m.SEARCH],[Ce.SECTION,m.SECTION],[Ce.SELECT,m.SELECT],[Ce.SOURCE,m.SOURCE],[Ce.SMALL,m.SMALL],[Ce.SPAN,m.SPAN],[Ce.STRIKE,m.STRIKE],[Ce.STRONG,m.STRONG],[Ce.STYLE,m.STYLE],[Ce.SUB,m.SUB],[Ce.SUMMARY,m.SUMMARY],[Ce.SUP,m.SUP],[Ce.TABLE,m.TABLE],[Ce.TBODY,m.TBODY],[Ce.TEMPLATE,m.TEMPLATE],[Ce.TEXTAREA,m.TEXTAREA],[Ce.TFOOT,m.TFOOT],[Ce.TD,m.TD],[Ce.TH,m.TH],[Ce.THEAD,m.THEAD],[Ce.TITLE,m.TITLE],[Ce.TR,m.TR],[Ce.TRACK,m.TRACK],[Ce.TT,m.TT],[Ce.U,m.U],[Ce.UL,m.UL],[Ce.SVG,m.SVG],[Ce.VAR,m.VAR],[Ce.WBR,m.WBR],[Ce.XMP,m.XMP]]);function qt(n){var a;return(a=Yt.get(n))!==null&&a!==void 0?a:m.UNKNOWN}const Ze=m,xn={[me.HTML]:new Set([Ze.ADDRESS,Ze.APPLET,Ze.AREA,Ze.ARTICLE,Ze.ASIDE,Ze.BASE,Ze.BASEFONT,Ze.BGSOUND,Ze.BLOCKQUOTE,Ze.BODY,Ze.BR,Ze.BUTTON,Ze.CAPTION,Ze.CENTER,Ze.COL,Ze.COLGROUP,Ze.DD,Ze.DETAILS,Ze.DIR,Ze.DIV,Ze.DL,Ze.DT,Ze.EMBED,Ze.FIELDSET,Ze.FIGCAPTION,Ze.FIGURE,Ze.FOOTER,Ze.FORM,Ze.FRAME,Ze.FRAMESET,Ze.H1,Ze.H2,Ze.H3,Ze.H4,Ze.H5,Ze.H6,Ze.HEAD,Ze.HEADER,Ze.HGROUP,Ze.HR,Ze.HTML,Ze.IFRAME,Ze.IMG,Ze.INPUT,Ze.LI,Ze.LINK,Ze.LISTING,Ze.MAIN,Ze.MARQUEE,Ze.MENU,Ze.META,Ze.NAV,Ze.NOEMBED,Ze.NOFRAMES,Ze.NOSCRIPT,Ze.OBJECT,Ze.OL,Ze.P,Ze.PARAM,Ze.PLAINTEXT,Ze.PRE,Ze.SCRIPT,Ze.SECTION,Ze.SELECT,Ze.SOURCE,Ze.STYLE,Ze.SUMMARY,Ze.TABLE,Ze.TBODY,Ze.TD,Ze.TEMPLATE,Ze.TEXTAREA,Ze.TFOOT,Ze.TH,Ze.THEAD,Ze.TITLE,Ze.TR,Ze.TRACK,Ze.UL,Ze.WBR,Ze.XMP]),[me.MATHML]:new Set([Ze.MI,Ze.MO,Ze.MN,Ze.MS,Ze.MTEXT,Ze.ANNOTATION_XML]),[me.SVG]:new Set([Ze.TITLE,Ze.FOREIGN_OBJECT,Ze.DESC]),[me.XLINK]:new Set,[me.XML]:new Set,[me.XMLNS]:new Set},jt=new Set([Ze.H1,Ze.H2,Ze.H3,Ze.H4,Ze.H5,Ze.H6]),fn=new Set([Ce.STYLE,Ce.SCRIPT,Ce.XMP,Ce.IFRAME,Ce.NOEMBED,Ce.NOFRAMES,Ce.PLAINTEXT]);function an(n,a){return fn.has(n)||a&&n===Ce.NOSCRIPT}var he;(function(n){n[n.DATA=0]="DATA",n[n.RCDATA=1]="RCDATA",n[n.RAWTEXT=2]="RAWTEXT",n[n.SCRIPT_DATA=3]="SCRIPT_DATA",n[n.PLAINTEXT=4]="PLAINTEXT",n[n.TAG_OPEN=5]="TAG_OPEN",n[n.END_TAG_OPEN=6]="END_TAG_OPEN",n[n.TAG_NAME=7]="TAG_NAME",n[n.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",n[n.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",n[n.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",n[n.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",n[n.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",n[n.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",n[n.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",n[n.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",n[n.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",n[n.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",n[n.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",n[n.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",n[n.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",n[n.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",n[n.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",n[n.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",n[n.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",n[n.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",n[n.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",n[n.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",n[n.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",n[n.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",n[n.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",n[n.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",n[n.BOGUS_COMMENT=40]="BOGUS_COMMENT",n[n.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",n[n.COMMENT_START=42]="COMMENT_START",n[n.COMMENT_START_DASH=43]="COMMENT_START_DASH",n[n.COMMENT=44]="COMMENT",n[n.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",n[n.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",n[n.COMMENT_END_DASH=49]="COMMENT_END_DASH",n[n.COMMENT_END=50]="COMMENT_END",n[n.COMMENT_END_BANG=51]="COMMENT_END_BANG",n[n.DOCTYPE=52]="DOCTYPE",n[n.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",n[n.DOCTYPE_NAME=54]="DOCTYPE_NAME",n[n.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",n[n.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",n[n.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",n[n.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",n[n.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",n[n.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",n[n.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",n[n.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",n[n.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",n[n.CDATA_SECTION=68]="CDATA_SECTION",n[n.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",n[n.CDATA_SECTION_END=70]="CDATA_SECTION_END",n[n.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",n[n.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(he||(he={}));const Sn={DATA:he.DATA,RCDATA:he.RCDATA,RAWTEXT:he.RAWTEXT,SCRIPT_DATA:he.SCRIPT_DATA,PLAINTEXT:he.PLAINTEXT,CDATA_SECTION:he.CDATA_SECTION};function or(n){return n>=Q.DIGIT_0&&n<=Q.DIGIT_9}function on(n){return n>=Q.LATIN_CAPITAL_A&&n<=Q.LATIN_CAPITAL_Z}function Jt(n){return n>=Q.LATIN_SMALL_A&&n<=Q.LATIN_SMALL_Z}function Tn(n){return Jt(n)||on(n)}function en(n){return Tn(n)||or(n)}function Yn(n){return n+32}function Sr(n){return n===Q.SPACE||n===Q.LINE_FEED||n===Q.TABULATION||n===Q.FORM_FEED}function br(n){return Sr(n)||n===Q.SOLIDUS||n===Q.GREATER_THAN_SIGN}function _r(n){return n===Q.NULL?je.nullCharacterReference:n>1114111?je.characterReferenceOutsideUnicodeRange:wt(n)?je.surrogateCharacterReference:Xt(n)?je.noncharacterCharacterReference:nn(n)||n===Q.CARRIAGE_RETURN?je.controlCharacterReference:null}class zr{constructor(a,S){this.options=a,this.handler=S,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=he.DATA,this.returnState=he.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new hn(S),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Hn(gn,(ie,Ye)=>{this.preprocessor.pos=this.entityStartPos+Ye-1,this._flushCodePointConsumedAsCharacterReference(ie)},S.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(je.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:ie=>{this._err(je.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+ie)},validateNumericCharacterReference:ie=>{const Ye=_r(ie);Ye&&this._err(Ye,1)}}:void 0)}_err(a,S=0){var ie,Ye;(Ye=(ie=this.handler).onParseError)===null||Ye===void 0||Ye.call(ie,this.preprocessor.getError(a,S))}getCurrentLocation(a){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-a,startOffset:this.preprocessor.offset-a,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const a=this._consume();this._ensureHibernation()||this._callState(a)}this.inLoop=!1}}pause(){this.paused=!0}resume(a){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||a==null||a())}write(a,S,ie){this.active=!0,this.preprocessor.write(a,S),this._runParsingLoop(),this.paused||ie==null||ie()}insertHtmlAtCurrentPos(a){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(a),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(a){this.consumedAfterSnapshot+=a;for(let S=0;S<a;S++)this.preprocessor.advance()}_consumeSequenceIfMatch(a,S){return this.preprocessor.startsWith(a,S)?(this._advanceBy(a.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ht.START_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ht.END_TAG,tagName:"",tagID:m.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(a){this.currentToken={type:Ht.COMMENT,data:"",location:this.getCurrentLocation(a)}}_createDoctypeToken(a){this.currentToken={type:Ht.DOCTYPE,name:a,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(a,S){this.currentCharacterToken={type:a,chars:S,location:this.currentLocation}}_createAttr(a){this.currentAttr={name:a,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var a,S;const ie=this.currentToken;if(Kt(ie,this.currentAttr.name)===null){if(ie.attrs.push(this.currentAttr),ie.location&&this.currentLocation){const Ye=(a=(S=ie.location).attrs)!==null&&a!==void 0?a:S.attrs=Object.create(null);Ye[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(je.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(a){this._emitCurrentCharacterToken(a.location),this.currentToken=null,a.location&&(a.location.endLine=this.preprocessor.line,a.location.endCol=this.preprocessor.col+1,a.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const a=this.currentToken;this.prepareToken(a),a.tagID=qt(a.tagName),a.type===Ht.START_TAG?(this.lastStartTagName=a.tagName,this.handler.onStartTag(a)):(a.attrs.length>0&&this._err(je.endTagWithAttributes),a.selfClosing&&this._err(je.endTagWithTrailingSolidus),this.handler.onEndTag(a)),this.preprocessor.dropParsedChunk()}emitCurrentComment(a){this.prepareToken(a),this.handler.onComment(a),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(a){this.prepareToken(a),this.handler.onDoctype(a),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(a){if(this.currentCharacterToken){switch(a&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=a.startLine,this.currentCharacterToken.location.endCol=a.startCol,this.currentCharacterToken.location.endOffset=a.startOffset),this.currentCharacterToken.type){case Ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const a=this.getCurrentLocation(0);a&&(a.endLine=a.startLine,a.endCol=a.startCol,a.endOffset=a.startOffset),this._emitCurrentCharacterToken(a),this.handler.onEof({type:Ht.EOF,location:a}),this.active=!1}_appendCharToCurrentCharacterToken(a,S){if(this.currentCharacterToken)if(this.currentCharacterToken.type===a){this.currentCharacterToken.chars+=S;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(a,S)}_emitCodePoint(a){const S=Sr(a)?Ht.WHITESPACE_CHARACTER:a===Q.NULL?Ht.NULL_CHARACTER:Ht.CHARACTER;this._appendCharToCurrentCharacterToken(S,String.fromCodePoint(a))}_emitChars(a){this._appendCharToCurrentCharacterToken(Ht.CHARACTER,a)}_startCharacterReference(){this.returnState=this.state,this.state=he.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?On.Attribute:On.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===he.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===he.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===he.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(a){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(a):this._emitCodePoint(a)}_callState(a){switch(this.state){case he.DATA:{this._stateData(a);break}case he.RCDATA:{this._stateRcdata(a);break}case he.RAWTEXT:{this._stateRawtext(a);break}case he.SCRIPT_DATA:{this._stateScriptData(a);break}case he.PLAINTEXT:{this._statePlaintext(a);break}case he.TAG_OPEN:{this._stateTagOpen(a);break}case he.END_TAG_OPEN:{this._stateEndTagOpen(a);break}case he.TAG_NAME:{this._stateTagName(a);break}case he.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(a);break}case he.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(a);break}case he.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(a);break}case he.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(a);break}case he.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(a);break}case he.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(a);break}case he.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(a);break}case he.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(a);break}case he.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(a);break}case he.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(a);break}case he.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(a);break}case he.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(a);break}case he.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(a);break}case he.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(a);break}case he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(a);break}case he.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(a);break}case he.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(a);break}case he.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(a);break}case he.ATTRIBUTE_NAME:{this._stateAttributeName(a);break}case he.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(a);break}case he.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(a);break}case he.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(a);break}case he.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(a);break}case he.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(a);break}case he.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(a);break}case he.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(a);break}case he.BOGUS_COMMENT:{this._stateBogusComment(a);break}case he.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(a);break}case he.COMMENT_START:{this._stateCommentStart(a);break}case he.COMMENT_START_DASH:{this._stateCommentStartDash(a);break}case he.COMMENT:{this._stateComment(a);break}case he.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(a);break}case he.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(a);break}case he.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(a);break}case he.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(a);break}case he.COMMENT_END_DASH:{this._stateCommentEndDash(a);break}case he.COMMENT_END:{this._stateCommentEnd(a);break}case he.COMMENT_END_BANG:{this._stateCommentEndBang(a);break}case he.DOCTYPE:{this._stateDoctype(a);break}case he.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(a);break}case he.DOCTYPE_NAME:{this._stateDoctypeName(a);break}case he.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(a);break}case he.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(a);break}case he.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(a);break}case he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(a);break}case he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(a);break}case he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(a);break}case he.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(a);break}case he.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(a);break}case he.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(a);break}case he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(a);break}case he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(a);break}case he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(a);break}case he.BOGUS_DOCTYPE:{this._stateBogusDoctype(a);break}case he.CDATA_SECTION:{this._stateCdataSection(a);break}case he.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(a);break}case he.CDATA_SECTION_END:{this._stateCdataSectionEnd(a);break}case he.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case he.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(a);break}default:throw new Error("Unknown state")}}_stateData(a){switch(a){case Q.LESS_THAN_SIGN:{this.state=he.TAG_OPEN;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this._emitCodePoint(a);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateRcdata(a){switch(a){case Q.AMPERSAND:{this._startCharacterReference();break}case Q.LESS_THAN_SIGN:{this.state=he.RCDATA_LESS_THAN_SIGN;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this._emitChars(it);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateRawtext(a){switch(a){case Q.LESS_THAN_SIGN:{this.state=he.RAWTEXT_LESS_THAN_SIGN;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this._emitChars(it);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateScriptData(a){switch(a){case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_LESS_THAN_SIGN;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this._emitChars(it);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_statePlaintext(a){switch(a){case Q.NULL:{this._err(je.unexpectedNullCharacter),this._emitChars(it);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateTagOpen(a){if(Tn(a))this._createStartTagToken(),this.state=he.TAG_NAME,this._stateTagName(a);else switch(a){case Q.EXCLAMATION_MARK:{this.state=he.MARKUP_DECLARATION_OPEN;break}case Q.SOLIDUS:{this.state=he.END_TAG_OPEN;break}case Q.QUESTION_MARK:{this._err(je.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=he.BOGUS_COMMENT,this._stateBogusComment(a);break}case Q.EOF:{this._err(je.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(je.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=he.DATA,this._stateData(a)}}_stateEndTagOpen(a){if(Tn(a))this._createEndTagToken(),this.state=he.TAG_NAME,this._stateTagName(a);else switch(a){case Q.GREATER_THAN_SIGN:{this._err(je.missingEndTagName),this.state=he.DATA;break}case Q.EOF:{this._err(je.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(je.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=he.BOGUS_COMMENT,this._stateBogusComment(a)}}_stateTagName(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_ATTRIBUTE_NAME;break}case Q.SOLIDUS:{this.state=he.SELF_CLOSING_START_TAG;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentTagToken();break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.tagName+=it;break}case Q.EOF:{this._err(je.eofInTag),this._emitEOFToken();break}default:S.tagName+=String.fromCodePoint(on(a)?Yn(a):a)}}_stateRcdataLessThanSign(a){a===Q.SOLIDUS?this.state=he.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=he.RCDATA,this._stateRcdata(a))}_stateRcdataEndTagOpen(a){Tn(a)?(this.state=he.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(a)):(this._emitChars("</"),this.state=he.RCDATA,this._stateRcdata(a))}handleSpecialEndTag(a){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const S=this.currentToken;switch(S.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=he.BEFORE_ATTRIBUTE_NAME,!1;case Q.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=he.SELF_CLOSING_START_TAG,!1;case Q.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=he.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.RCDATA,this._stateRcdata(a))}_stateRawtextLessThanSign(a){a===Q.SOLIDUS?this.state=he.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=he.RAWTEXT,this._stateRawtext(a))}_stateRawtextEndTagOpen(a){Tn(a)?(this.state=he.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(a)):(this._emitChars("</"),this.state=he.RAWTEXT,this._stateRawtext(a))}_stateRawtextEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.RAWTEXT,this._stateRawtext(a))}_stateScriptDataLessThanSign(a){switch(a){case Q.SOLIDUS:{this.state=he.SCRIPT_DATA_END_TAG_OPEN;break}case Q.EXCLAMATION_MARK:{this.state=he.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=he.SCRIPT_DATA,this._stateScriptData(a)}}_stateScriptDataEndTagOpen(a){Tn(a)?(this.state=he.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(a)):(this._emitChars("</"),this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscapeStart(a){a===Q.HYPHEN_MINUS?(this.state=he.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscapeStartDash(a){a===Q.HYPHEN_MINUS?(this.state=he.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscaped(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this._emitChars(it);break}case Q.EOF:{this._err(je.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateScriptDataEscapedDash(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_ESCAPED,this._emitChars(it);break}case Q.EOF:{this._err(je.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataEscapedDashDash(a){switch(a){case Q.HYPHEN_MINUS:{this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.GREATER_THAN_SIGN:{this.state=he.SCRIPT_DATA,this._emitChars(">");break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_ESCAPED,this._emitChars(it);break}case Q.EOF:{this._err(je.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataEscapedLessThanSign(a){a===Q.SOLIDUS?this.state=he.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Tn(a)?(this._emitChars("<"),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(a)):(this._emitChars("<"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataEscapedEndTagOpen(a){Tn(a)?(this.state=he.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(a)):(this._emitChars("</"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataEscapedEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataDoubleEscapeStart(a){if(this.preprocessor.startsWith(Et.SCRIPT,!1)&&br(this.preprocessor.peek(Et.SCRIPT.length))){this._emitCodePoint(a);for(let S=0;S<Et.SCRIPT.length;S++)this._emitCodePoint(this._consume());this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataDoubleEscaped(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this._emitChars(it);break}case Q.EOF:{this._err(je.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedDash(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(it);break}case Q.EOF:{this._err(je.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedDashDash(a){switch(a){case Q.HYPHEN_MINUS:{this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.GREATER_THAN_SIGN:{this.state=he.SCRIPT_DATA,this._emitChars(">");break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(it);break}case Q.EOF:{this._err(je.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedLessThanSign(a){a===Q.SOLIDUS?(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(a))}_stateScriptDataDoubleEscapeEnd(a){if(this.preprocessor.startsWith(Et.SCRIPT,!1)&&br(this.preprocessor.peek(Et.SCRIPT.length))){this._emitCodePoint(a);for(let S=0;S<Et.SCRIPT.length;S++)this._emitCodePoint(this._consume());this.state=he.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(a))}_stateBeforeAttributeName(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.SOLIDUS:case Q.GREATER_THAN_SIGN:case Q.EOF:{this.state=he.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(a);break}case Q.EQUALS_SIGN:{this._err(je.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=he.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=he.ATTRIBUTE_NAME,this._stateAttributeName(a)}}_stateAttributeName(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:case Q.SOLIDUS:case Q.GREATER_THAN_SIGN:case Q.EOF:{this._leaveAttrName(),this.state=he.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(a);break}case Q.EQUALS_SIGN:{this._leaveAttrName(),this.state=he.BEFORE_ATTRIBUTE_VALUE;break}case Q.QUOTATION_MARK:case Q.APOSTROPHE:case Q.LESS_THAN_SIGN:{this._err(je.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(a);break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.currentAttr.name+=it;break}default:this.currentAttr.name+=String.fromCodePoint(on(a)?Yn(a):a)}}_stateAfterAttributeName(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.SOLIDUS:{this.state=he.SELF_CLOSING_START_TAG;break}case Q.EQUALS_SIGN:{this.state=he.BEFORE_ATTRIBUTE_VALUE;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(je.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=he.ATTRIBUTE_NAME,this._stateAttributeName(a)}}_stateBeforeAttributeValue(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{this.state=he.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this.state=he.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(je.missingAttributeValue),this.state=he.DATA,this.emitCurrentTagToken();break}default:this.state=he.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(a)}}_stateAttributeValueDoubleQuoted(a){switch(a){case Q.QUOTATION_MARK:{this.state=he.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.currentAttr.value+=it;break}case Q.EOF:{this._err(je.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAttributeValueSingleQuoted(a){switch(a){case Q.APOSTROPHE:{this.state=he.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.currentAttr.value+=it;break}case Q.EOF:{this._err(je.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAttributeValueUnquoted(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this._leaveAttrValue(),this.state=he.BEFORE_ATTRIBUTE_NAME;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=he.DATA,this.emitCurrentTagToken();break}case Q.NULL:{this._err(je.unexpectedNullCharacter),this.currentAttr.value+=it;break}case Q.QUOTATION_MARK:case Q.APOSTROPHE:case Q.LESS_THAN_SIGN:case Q.EQUALS_SIGN:case Q.GRAVE_ACCENT:{this._err(je.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(a);break}case Q.EOF:{this._err(je.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAfterAttributeValueQuoted(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this._leaveAttrValue(),this.state=he.BEFORE_ATTRIBUTE_NAME;break}case Q.SOLIDUS:{this._leaveAttrValue(),this.state=he.SELF_CLOSING_START_TAG;break}case Q.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=he.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(je.eofInTag),this._emitEOFToken();break}default:this._err(je.missingWhitespaceBetweenAttributes),this.state=he.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(a)}}_stateSelfClosingStartTag(a){switch(a){case Q.GREATER_THAN_SIGN:{const S=this.currentToken;S.selfClosing=!0,this.state=he.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(je.eofInTag),this._emitEOFToken();break}default:this._err(je.unexpectedSolidusInTag),this.state=he.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(a)}}_stateBogusComment(a){const S=this.currentToken;switch(a){case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EOF:{this.emitCurrentComment(S),this._emitEOFToken();break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.data+=it;break}default:S.data+=String.fromCodePoint(a)}}_stateMarkupDeclarationOpen(a){this._consumeSequenceIfMatch(Et.DASH_DASH,!0)?(this._createCommentToken(Et.DASH_DASH.length+1),this.state=he.COMMENT_START):this._consumeSequenceIfMatch(Et.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Et.DOCTYPE.length+1),this.state=he.DOCTYPE):this._consumeSequenceIfMatch(Et.CDATA_START,!0)?this.inForeignNode?this.state=he.CDATA_SECTION:(this._err(je.cdataInHtmlContent),this._createCommentToken(Et.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=he.BOGUS_COMMENT):this._ensureHibernation()||(this._err(je.incorrectlyOpenedComment),this._createCommentToken(2),this.state=he.BOGUS_COMMENT,this._stateBogusComment(a))}_stateCommentStart(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_START_DASH;break}case Q.GREATER_THAN_SIGN:{this._err(je.abruptClosingOfEmptyComment),this.state=he.DATA;const S=this.currentToken;this.emitCurrentComment(S);break}default:this.state=he.COMMENT,this._stateComment(a)}}_stateCommentStartDash(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_END;break}case Q.GREATER_THAN_SIGN:{this._err(je.abruptClosingOfEmptyComment),this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EOF:{this._err(je.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="-",this.state=he.COMMENT,this._stateComment(a)}}_stateComment(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_END_DASH;break}case Q.LESS_THAN_SIGN:{S.data+="<",this.state=he.COMMENT_LESS_THAN_SIGN;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.data+=it;break}case Q.EOF:{this._err(je.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+=String.fromCodePoint(a)}}_stateCommentLessThanSign(a){const S=this.currentToken;switch(a){case Q.EXCLAMATION_MARK:{S.data+="!",this.state=he.COMMENT_LESS_THAN_SIGN_BANG;break}case Q.LESS_THAN_SIGN:{S.data+="<";break}default:this.state=he.COMMENT,this._stateComment(a)}}_stateCommentLessThanSignBang(a){a===Q.HYPHEN_MINUS?this.state=he.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=he.COMMENT,this._stateComment(a))}_stateCommentLessThanSignBangDash(a){a===Q.HYPHEN_MINUS?this.state=he.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=he.COMMENT_END_DASH,this._stateCommentEndDash(a))}_stateCommentLessThanSignBangDashDash(a){a!==Q.GREATER_THAN_SIGN&&a!==Q.EOF&&this._err(je.nestedComment),this.state=he.COMMENT_END,this._stateCommentEnd(a)}_stateCommentEndDash(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_END;break}case Q.EOF:{this._err(je.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="-",this.state=he.COMMENT,this._stateComment(a)}}_stateCommentEnd(a){const S=this.currentToken;switch(a){case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EXCLAMATION_MARK:{this.state=he.COMMENT_END_BANG;break}case Q.HYPHEN_MINUS:{S.data+="-";break}case Q.EOF:{this._err(je.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="--",this.state=he.COMMENT,this._stateComment(a)}}_stateCommentEndBang(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{S.data+="--!",this.state=he.COMMENT_END_DASH;break}case Q.GREATER_THAN_SIGN:{this._err(je.incorrectlyClosedComment),this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EOF:{this._err(je.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="--!",this.state=he.COMMENT,this._stateComment(a)}}_stateDoctype(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this.state=he.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(a);break}case Q.EOF:{this._err(je.eofInDoctype),this._createDoctypeToken(null);const S=this.currentToken;S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.missingWhitespaceBeforeDoctypeName),this.state=he.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(a)}}_stateBeforeDoctypeName(a){if(on(a))this._createDoctypeToken(String.fromCharCode(Yn(a))),this.state=he.DOCTYPE_NAME;else switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.NULL:{this._err(je.unexpectedNullCharacter),this._createDoctypeToken(it),this.state=he.DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this._err(je.missingDoctypeName),this._createDoctypeToken(null);const S=this.currentToken;S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(je.eofInDoctype),this._createDoctypeToken(null);const S=this.currentToken;S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(a)),this.state=he.DOCTYPE_NAME}}_stateDoctypeName(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.AFTER_DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.name+=it;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.name+=String.fromCodePoint(on(a)?Yn(a):a)}}_stateAfterDoctypeName(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Et.PUBLIC,!1)?this.state=he.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Et.SYSTEM,!1)?this.state=he.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(je.invalidCharacterSequenceAfterDoctypeName),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a))}}_stateAfterDoctypePublicKeyword(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.QUOTATION_MARK:{this._err(je.missingWhitespaceAfterDoctypePublicKeyword),S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(je.missingWhitespaceAfterDoctypePublicKeyword),S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(je.missingDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.missingQuoteBeforeDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBeforeDoctypePublicIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(je.missingDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.missingQuoteBeforeDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateDoctypePublicIdentifierDoubleQuoted(a){const S=this.currentToken;switch(a){case Q.QUOTATION_MARK:{this.state=he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.publicId+=it;break}case Q.GREATER_THAN_SIGN:{this._err(je.abruptDoctypePublicIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.publicId+=String.fromCodePoint(a)}}_stateDoctypePublicIdentifierSingleQuoted(a){const S=this.currentToken;switch(a){case Q.APOSTROPHE:{this.state=he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.publicId+=it;break}case Q.GREATER_THAN_SIGN:{this._err(je.abruptDoctypePublicIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.publicId+=String.fromCodePoint(a)}}_stateAfterDoctypePublicIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.QUOTATION_MARK:{this._err(je.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(je.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBetweenDoctypePublicAndSystemIdentifiers(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.QUOTATION_MARK:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateAfterDoctypeSystemKeyword(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.QUOTATION_MARK:{this._err(je.missingWhitespaceAfterDoctypeSystemKeyword),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(je.missingWhitespaceAfterDoctypeSystemKeyword),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(je.missingDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBeforeDoctypeSystemIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(je.missingDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateDoctypeSystemIdentifierDoubleQuoted(a){const S=this.currentToken;switch(a){case Q.QUOTATION_MARK:{this.state=he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.systemId+=it;break}case Q.GREATER_THAN_SIGN:{this._err(je.abruptDoctypeSystemIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.systemId+=String.fromCodePoint(a)}}_stateDoctypeSystemIdentifierSingleQuoted(a){const S=this.currentToken;switch(a){case Q.APOSTROPHE:{this.state=he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.NULL:{this._err(je.unexpectedNullCharacter),S.systemId+=it;break}case Q.GREATER_THAN_SIGN:{this._err(je.abruptDoctypeSystemIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.systemId+=String.fromCodePoint(a)}}_stateAfterDoctypeSystemIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(je.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(je.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBogusDoctype(a){const S=this.currentToken;switch(a){case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.NULL:{this._err(je.unexpectedNullCharacter);break}case Q.EOF:{this.emitCurrentDoctype(S),this._emitEOFToken();break}default:}}_stateCdataSection(a){switch(a){case Q.RIGHT_SQUARE_BRACKET:{this.state=he.CDATA_SECTION_BRACKET;break}case Q.EOF:{this._err(je.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateCdataSectionBracket(a){a===Q.RIGHT_SQUARE_BRACKET?this.state=he.CDATA_SECTION_END:(this._emitChars("]"),this.state=he.CDATA_SECTION,this._stateCdataSection(a))}_stateCdataSectionEnd(a){switch(a){case Q.GREATER_THAN_SIGN:{this.state=he.DATA;break}case Q.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=he.CDATA_SECTION,this._stateCdataSection(a)}}_stateCharacterReference(){let a=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(a<0)if(this.preprocessor.lastChunkWritten)a=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}a===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Q.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&en(this.preprocessor.peek(1))?he.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(a){en(a)?this._flushCodePointConsumedAsCharacterReference(a):(a===Q.SEMICOLON&&this._err(je.unknownNamedCharacterReference),this.state=this.returnState,this._callState(a))}}const Br=new Set([m.DD,m.DT,m.LI,m.OPTGROUP,m.OPTION,m.P,m.RB,m.RP,m.RT,m.RTC]),vr=new Set([...Br,m.CAPTION,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]),Gr=new Set([m.APPLET,m.CAPTION,m.HTML,m.MARQUEE,m.OBJECT,m.TABLE,m.TD,m.TEMPLATE,m.TH]),Wr=new Set([...Gr,m.OL,m.UL]),mn=new Set([...Gr,m.BUTTON]),Bn=new Set([m.ANNOTATION_XML,m.MI,m.MN,m.MO,m.MS,m.MTEXT]),zn=new Set([m.DESC,m.FOREIGN_OBJECT,m.TITLE]),dr=new Set([m.TR,m.TEMPLATE,m.HTML]),yr=new Set([m.TBODY,m.TFOOT,m.THEAD,m.TEMPLATE,m.HTML]),Pr=new Set([m.TABLE,m.TEMPLATE,m.HTML]),sa=new Set([m.TD,m.TH]);class Se{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(a,S,ie){this.treeAdapter=S,this.handler=ie,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=m.UNKNOWN,this.current=a}_indexOf(a){return this.items.lastIndexOf(a,this.stackTop)}_isInTemplate(){return this.currentTagId===m.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===me.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(a,S){this.stackTop++,this.items[this.stackTop]=a,this.current=a,this.tagIDs[this.stackTop]=S,this.currentTagId=S,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(a,S,!0)}pop(){const a=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,!0)}replace(a,S){const ie=this._indexOf(a);this.items[ie]=S,ie===this.stackTop&&(this.current=S)}insertAfter(a,S,ie){const Ye=this._indexOf(a)+1;this.items.splice(Ye,0,S),this.tagIDs.splice(Ye,0,ie),this.stackTop++,Ye===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,Ye===this.stackTop)}popUntilTagNamePopped(a){let S=this.stackTop+1;do S=this.tagIDs.lastIndexOf(a,S-1);while(S>0&&this.treeAdapter.getNamespaceURI(this.items[S])!==me.HTML);this.shortenToLength(Math.max(S,0))}shortenToLength(a){for(;this.stackTop>=a;){const S=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(S,this.stackTop<a)}}popUntilElementPopped(a){const S=this._indexOf(a);this.shortenToLength(Math.max(S,0))}popUntilPopped(a,S){const ie=this._indexOfTagNames(a,S);this.shortenToLength(Math.max(ie,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(jt,me.HTML)}popUntilTableCellPopped(){this.popUntilPopped(sa,me.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(a,S){for(let ie=this.stackTop;ie>=0;ie--)if(a.has(this.tagIDs[ie])&&this.treeAdapter.getNamespaceURI(this.items[ie])===S)return ie;return-1}clearBackTo(a,S){const ie=this._indexOfTagNames(a,S);this.shortenToLength(ie+1)}clearBackToTableContext(){this.clearBackTo(Pr,me.HTML)}clearBackToTableBodyContext(){this.clearBackTo(yr,me.HTML)}clearBackToTableRowContext(){this.clearBackTo(dr,me.HTML)}remove(a){const S=this._indexOf(a);S>=0&&(S===this.stackTop?this.pop():(this.items.splice(S,1),this.tagIDs.splice(S,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===m.BODY?this.items[1]:null}contains(a){return this._indexOf(a)>-1}getCommonAncestor(a){const S=this._indexOf(a)-1;return S>=0?this.items[S]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===m.HTML}hasInDynamicScope(a,S){for(let ie=this.stackTop;ie>=0;ie--){const Ye=this.tagIDs[ie];switch(this.treeAdapter.getNamespaceURI(this.items[ie])){case me.HTML:{if(Ye===a)return!0;if(S.has(Ye))return!1;break}case me.SVG:{if(zn.has(Ye))return!1;break}case me.MATHML:{if(Bn.has(Ye))return!1;break}}}return!0}hasInScope(a){return this.hasInDynamicScope(a,Gr)}hasInListItemScope(a){return this.hasInDynamicScope(a,Wr)}hasInButtonScope(a){return this.hasInDynamicScope(a,mn)}hasNumberedHeaderInScope(){for(let a=this.stackTop;a>=0;a--){const S=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case me.HTML:{if(jt.has(S))return!0;if(Gr.has(S))return!1;break}case me.SVG:{if(zn.has(S))return!1;break}case me.MATHML:{if(Bn.has(S))return!1;break}}}return!0}hasInTableScope(a){for(let S=this.stackTop;S>=0;S--)if(this.treeAdapter.getNamespaceURI(this.items[S])===me.HTML)switch(this.tagIDs[S]){case a:return!0;case m.TABLE:case m.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===me.HTML)switch(this.tagIDs[a]){case m.TBODY:case m.THEAD:case m.TFOOT:return!0;case m.TABLE:case m.HTML:return!1}return!0}hasInSelectScope(a){for(let S=this.stackTop;S>=0;S--)if(this.treeAdapter.getNamespaceURI(this.items[S])===me.HTML)switch(this.tagIDs[S]){case a:return!0;case m.OPTION:case m.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Br.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&vr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(a){for(;this.currentTagId!==void 0&&this.currentTagId!==a&&vr.has(this.currentTagId);)this.pop()}}const ct=3;var Ke;(function(n){n[n.Marker=0]="Marker",n[n.Element=1]="Element"})(Ke||(Ke={}));const dt={type:Ke.Marker};class yt{constructor(a){this.treeAdapter=a,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(a,S){const ie=[],Ye=S.length,At=this.treeAdapter.getTagName(a),Gt=this.treeAdapter.getNamespaceURI(a);for(let Pn=0;Pn<this.entries.length;Pn++){const er=this.entries[Pn];if(er.type===Ke.Marker)break;const{element:Ot}=er;if(this.treeAdapter.getTagName(Ot)===At&&this.treeAdapter.getNamespaceURI(Ot)===Gt){const ln=this.treeAdapter.getAttrList(Ot);ln.length===Ye&&ie.push({idx:Pn,attrs:ln})}}return ie}_ensureNoahArkCondition(a){if(this.entries.length<ct)return;const S=this.treeAdapter.getAttrList(a),ie=this._getNoahArkConditionCandidates(a,S);if(ie.length<ct)return;const Ye=new Map(S.map(Gt=>[Gt.name,Gt.value]));let At=0;for(let Gt=0;Gt<ie.length;Gt++){const Pn=ie[Gt];Pn.attrs.every(er=>Ye.get(er.name)===er.value)&&(At+=1,At>=ct&&this.entries.splice(Pn.idx,1))}}insertMarker(){this.entries.unshift(dt)}pushElement(a,S){this._ensureNoahArkCondition(a),this.entries.unshift({type:Ke.Element,element:a,token:S})}insertElementAfterBookmark(a,S){const ie=this.entries.indexOf(this.bookmark);this.entries.splice(ie,0,{type:Ke.Element,element:a,token:S})}removeEntry(a){const S=this.entries.indexOf(a);S!==-1&&this.entries.splice(S,1)}clearToLastMarker(){const a=this.entries.indexOf(dt);a===-1?this.entries.length=0:this.entries.splice(0,a+1)}getElementEntryInScopeWithTagName(a){const S=this.entries.find(ie=>ie.type===Ke.Marker||this.treeAdapter.getTagName(ie.element)===a);return S&&S.type===Ke.Element?S:null}getElementEntry(a){return this.entries.find(S=>S.type===Ke.Element&&S.element===a)}}const Tt={createDocument(){return{nodeName:"#document",mode:_t.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(n,a,S){return{nodeName:n,tagName:n,attrs:S,namespaceURI:a,childNodes:[],parentNode:null}},createCommentNode(n){return{nodeName:"#comment",data:n,parentNode:null}},createTextNode(n){return{nodeName:"#text",value:n,parentNode:null}},appendChild(n,a){n.childNodes.push(a),a.parentNode=n},insertBefore(n,a,S){const ie=n.childNodes.indexOf(S);n.childNodes.splice(ie,0,a),a.parentNode=n},setTemplateContent(n,a){n.content=a},getTemplateContent(n){return n.content},setDocumentType(n,a,S,ie){const Ye=n.childNodes.find(At=>At.nodeName==="#documentType");if(Ye)Ye.name=a,Ye.publicId=S,Ye.systemId=ie;else{const At={nodeName:"#documentType",name:a,publicId:S,systemId:ie,parentNode:null};Tt.appendChild(n,At)}},setDocumentMode(n,a){n.mode=a},getDocumentMode(n){return n.mode},detachNode(n){if(n.parentNode){const a=n.parentNode.childNodes.indexOf(n);n.parentNode.childNodes.splice(a,1),n.parentNode=null}},insertText(n,a){if(n.childNodes.length>0){const S=n.childNodes[n.childNodes.length-1];if(Tt.isTextNode(S)){S.value+=a;return}}Tt.appendChild(n,Tt.createTextNode(a))},insertTextBefore(n,a,S){const ie=n.childNodes[n.childNodes.indexOf(S)-1];ie&&Tt.isTextNode(ie)?ie.value+=a:Tt.insertBefore(n,Tt.createTextNode(a),S)},adoptAttributes(n,a){const S=new Set(n.attrs.map(ie=>ie.name));for(let ie=0;ie<a.length;ie++)S.has(a[ie].name)||n.attrs.push(a[ie])},getFirstChild(n){return n.childNodes[0]},getChildNodes(n){return n.childNodes},getParentNode(n){return n.parentNode},getAttrList(n){return n.attrs},getTagName(n){return n.tagName},getNamespaceURI(n){return n.namespaceURI},getTextNodeContent(n){return n.value},getCommentNodeContent(n){return n.data},getDocumentTypeNodeName(n){return n.name},getDocumentTypeNodePublicId(n){return n.publicId},getDocumentTypeNodeSystemId(n){return n.systemId},isTextNode(n){return n.nodeName==="#text"},isCommentNode(n){return n.nodeName==="#comment"},isDocumentTypeNode(n){return n.nodeName==="#documentType"},isElementNode(n){return Object.prototype.hasOwnProperty.call(n,"tagName")},setNodeSourceCodeLocation(n,a){n.sourceCodeLocation=a},getNodeSourceCodeLocation(n){return n.sourceCodeLocation},updateNodeSourceCodeLocation(n,a){n.sourceCodeLocation=Cr(Cr({},n.sourceCodeLocation),a)}},Ut="html",Mt="about:legacy-compat",It="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Xe=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],mt=[...Xe,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],vt=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),bt=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],kt=[...bt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function $t(n,a){return a.some(S=>n.startsWith(S))}function pn(n){return n.name===Ut&&n.publicId===null&&(n.systemId===null||n.systemId===Mt)}function sn(n){if(n.name!==Ut)return _t.QUIRKS;const{systemId:a}=n;if(a&&a.toLowerCase()===It)return _t.QUIRKS;let{publicId:S}=n;if(S!==null){if(S=S.toLowerCase(),vt.has(S))return _t.QUIRKS;let ie=a===null?mt:Xe;if($t(S,ie))return _t.QUIRKS;if(ie=a===null?bt:kt,$t(S,ie))return _t.LIMITED_QUIRKS}return _t.NO_QUIRKS}const kn={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Gn="definitionurl",An="definitionURL",qn=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(n=>[n.toLowerCase(),n])),Nn=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:me.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:me.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:me.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:me.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:me.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:me.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:me.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:me.XML}],["xml:space",{prefix:"xml",name:"space",namespace:me.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:me.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:me.XMLNS}]]),Ar=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(n=>[n.toLowerCase(),n])),Tr=new Set([m.B,m.BIG,m.BLOCKQUOTE,m.BODY,m.BR,m.CENTER,m.CODE,m.DD,m.DIV,m.DL,m.DT,m.EM,m.EMBED,m.H1,m.H2,m.H3,m.H4,m.H5,m.H6,m.HEAD,m.HR,m.I,m.IMG,m.LI,m.LISTING,m.MENU,m.META,m.NOBR,m.OL,m.P,m.PRE,m.RUBY,m.S,m.SMALL,m.SPAN,m.STRONG,m.STRIKE,m.SUB,m.SUP,m.TABLE,m.TT,m.U,m.UL,m.VAR]);function Er(n){const a=n.tagID;return a===m.FONT&&n.attrs.some(({name:ie})=>ie===Ct.COLOR||ie===Ct.SIZE||ie===Ct.FACE)||Tr.has(a)}function rr(n){for(let a=0;a<n.attrs.length;a++)if(n.attrs[a].name===Gn){n.attrs[a].name=An;break}}function pr(n){for(let a=0;a<n.attrs.length;a++){const S=qn.get(n.attrs[a].name);S!=null&&(n.attrs[a].name=S)}}function wr(n){for(let a=0;a<n.attrs.length;a++){const S=Nn.get(n.attrs[a].name);S&&(n.attrs[a].prefix=S.prefix,n.attrs[a].name=S.name,n.attrs[a].namespace=S.namespace)}}function sr(n){const a=Ar.get(n.tagName);a!=null&&(n.tagName=a,n.tagID=qt(n.tagName))}function fr(n,a){return a===me.MATHML&&(n===m.MI||n===m.MO||n===m.MN||n===m.MS||n===m.MTEXT)}function Un(n,a,S){if(a===me.MATHML&&n===m.ANNOTATION_XML){for(let ie=0;ie<S.length;ie++)if(S[ie].name===Ct.ENCODING){const Ye=S[ie].value.toLowerCase();return Ye===kn.TEXT_HTML||Ye===kn.APPLICATION_XML}}return a===me.SVG&&(n===m.FOREIGN_OBJECT||n===m.DESC||n===m.TITLE)}function bn(n,a,S,ie){return(!ie||ie===me.HTML)&&Un(n,a,S)||(!ie||ie===me.MATHML)&&fr(n,a)}const Dn="hidden",jn=8,ar=3;var Ae;(function(n){n[n.INITIAL=0]="INITIAL",n[n.BEFORE_HTML=1]="BEFORE_HTML",n[n.BEFORE_HEAD=2]="BEFORE_HEAD",n[n.IN_HEAD=3]="IN_HEAD",n[n.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",n[n.AFTER_HEAD=5]="AFTER_HEAD",n[n.IN_BODY=6]="IN_BODY",n[n.TEXT=7]="TEXT",n[n.IN_TABLE=8]="IN_TABLE",n[n.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",n[n.IN_CAPTION=10]="IN_CAPTION",n[n.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",n[n.IN_TABLE_BODY=12]="IN_TABLE_BODY",n[n.IN_ROW=13]="IN_ROW",n[n.IN_CELL=14]="IN_CELL",n[n.IN_SELECT=15]="IN_SELECT",n[n.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",n[n.IN_TEMPLATE=17]="IN_TEMPLATE",n[n.AFTER_BODY=18]="AFTER_BODY",n[n.IN_FRAMESET=19]="IN_FRAMESET",n[n.AFTER_FRAMESET=20]="AFTER_FRAMESET",n[n.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",n[n.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(Ae||(Ae={}));const hr={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Vr=new Set([m.TABLE,m.TBODY,m.TFOOT,m.THEAD,m.TR]),Ia={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Tt,onParseError:null};class Ra{constructor(a,S,ie=null,Ye=null){this.fragmentContext=ie,this.scriptHandler=Ye,this.currentToken=null,this.stopped=!1,this.insertionMode=Ae.INITIAL,this.originalInsertionMode=Ae.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=Cr(Cr({},Ia),a),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=S!=null?S:this.treeAdapter.createDocument(),this.tokenizer=new zr(this.options,this),this.activeFormattingElements=new yt(this.treeAdapter),this.fragmentContextID=ie?qt(this.treeAdapter.getTagName(ie)):m.UNKNOWN,this._setContextModes(ie!=null?ie:this.document,this.fragmentContextID),this.openElements=new Se(this.document,this.treeAdapter,this)}static parse(a,S){const ie=new this(S);return ie.tokenizer.write(a,!0),ie.document}static getFragmentParser(a,S){const ie=Cr(Cr({},Ia),S);a!=null||(a=ie.treeAdapter.createElement(Ce.TEMPLATE,me.HTML,[]));const Ye=ie.treeAdapter.createElement("documentmock",me.HTML,[]),At=new this(ie,Ye,a);return At.fragmentContextID===m.TEMPLATE&&At.tmplInsertionModeStack.unshift(Ae.IN_TEMPLATE),At._initTokenizerForFragmentParsing(),At._insertFakeRootElement(),At._resetInsertionMode(),At._findFormInFragmentContext(),At}getFragment(){const a=this.treeAdapter.getFirstChild(this.document),S=this.treeAdapter.createDocumentFragment();return this._adoptNodes(a,S),S}_err(a,S,ie){var Ye;if(!this.onParseError)return;const At=(Ye=a.location)!==null&&Ye!==void 0?Ye:hr,Gt={code:S,startLine:At.startLine,startCol:At.startCol,startOffset:At.startOffset,endLine:ie?At.startLine:At.endLine,endCol:ie?At.startCol:At.endCol,endOffset:ie?At.startOffset:At.endOffset};this.onParseError(Gt)}onItemPush(a,S,ie){var Ye,At;(At=(Ye=this.treeAdapter).onItemPush)===null||At===void 0||At.call(Ye,a),ie&&this.openElements.stackTop>0&&this._setContextModes(a,S)}onItemPop(a,S){var ie,Ye;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(a,this.currentToken),(Ye=(ie=this.treeAdapter).onItemPop)===null||Ye===void 0||Ye.call(ie,a,this.openElements.current),S){let At,Gt;this.openElements.stackTop===0&&this.fragmentContext?(At=this.fragmentContext,Gt=this.fragmentContextID):{current:At,currentTagId:Gt}=this.openElements,this._setContextModes(At,Gt)}}_setContextModes(a,S){const ie=a===this.document||a&&this.treeAdapter.getNamespaceURI(a)===me.HTML;this.currentNotInHTML=!ie,this.tokenizer.inForeignNode=!ie&&a!==void 0&&S!==void 0&&!this._isIntegrationPoint(S,a)}_switchToTextParsing(a,S){this._insertElement(a,me.HTML),this.tokenizer.state=S,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ae.TEXT}switchToPlaintextParsing(){this.insertionMode=Ae.TEXT,this.originalInsertionMode=Ae.IN_BODY,this.tokenizer.state=Sn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let a=this.fragmentContext;for(;a;){if(this.treeAdapter.getTagName(a)===Ce.FORM){this.formElement=a;break}a=this.treeAdapter.getParentNode(a)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==me.HTML))switch(this.fragmentContextID){case m.TITLE:case m.TEXTAREA:{this.tokenizer.state=Sn.RCDATA;break}case m.STYLE:case m.XMP:case m.IFRAME:case m.NOEMBED:case m.NOFRAMES:case m.NOSCRIPT:{this.tokenizer.state=Sn.RAWTEXT;break}case m.SCRIPT:{this.tokenizer.state=Sn.SCRIPT_DATA;break}case m.PLAINTEXT:{this.tokenizer.state=Sn.PLAINTEXT;break}default:}}_setDocumentType(a){const S=a.name||"",ie=a.publicId||"",Ye=a.systemId||"";if(this.treeAdapter.setDocumentType(this.document,S,ie,Ye),a.location){const Gt=this.treeAdapter.getChildNodes(this.document).find(Pn=>this.treeAdapter.isDocumentTypeNode(Pn));Gt&&this.treeAdapter.setNodeSourceCodeLocation(Gt,a.location)}}_attachElementToTree(a,S){if(this.options.sourceCodeLocationInfo){const ie=S&&ts(Cr({},S),{startTag:S});this.treeAdapter.setNodeSourceCodeLocation(a,ie)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(a);else{const ie=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(ie!=null?ie:this.document,a)}}_appendElement(a,S){const ie=this.treeAdapter.createElement(a.tagName,S,a.attrs);this._attachElementToTree(ie,a.location)}_insertElement(a,S){const ie=this.treeAdapter.createElement(a.tagName,S,a.attrs);this._attachElementToTree(ie,a.location),this.openElements.push(ie,a.tagID)}_insertFakeElement(a,S){const ie=this.treeAdapter.createElement(a,me.HTML,[]);this._attachElementToTree(ie,null),this.openElements.push(ie,S)}_insertTemplate(a){const S=this.treeAdapter.createElement(a.tagName,me.HTML,a.attrs),ie=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(S,ie),this._attachElementToTree(S,a.location),this.openElements.push(S,a.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ie,null)}_insertFakeRootElement(){const a=this.treeAdapter.createElement(Ce.HTML,me.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null),this.treeAdapter.appendChild(this.openElements.current,a),this.openElements.push(a,m.HTML)}_appendCommentNode(a,S){const ie=this.treeAdapter.createCommentNode(a.data);this.treeAdapter.appendChild(S,ie),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ie,a.location)}_insertCharacters(a){let S,ie;if(this._shouldFosterParentOnInsertion()?({parent:S,beforeElement:ie}=this._findFosterParentingLocation(),ie?this.treeAdapter.insertTextBefore(S,a.chars,ie):this.treeAdapter.insertText(S,a.chars)):(S=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(S,a.chars)),!a.location)return;const Ye=this.treeAdapter.getChildNodes(S),At=ie?Ye.lastIndexOf(ie):Ye.length,Gt=Ye[At-1];if(this.treeAdapter.getNodeSourceCodeLocation(Gt)){const{endLine:er,endCol:Ot,endOffset:ln}=a.location;this.treeAdapter.updateNodeSourceCodeLocation(Gt,{endLine:er,endCol:Ot,endOffset:ln})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Gt,a.location)}_adoptNodes(a,S){for(let ie=this.treeAdapter.getFirstChild(a);ie;ie=this.treeAdapter.getFirstChild(a))this.treeAdapter.detachNode(ie),this.treeAdapter.appendChild(S,ie)}_setEndLocation(a,S){if(this.treeAdapter.getNodeSourceCodeLocation(a)&&S.location){const ie=S.location,Ye=this.treeAdapter.getTagName(a),At=S.type===Ht.END_TAG&&Ye===S.tagName?{endTag:Cr({},ie),endLine:ie.endLine,endCol:ie.endCol,endOffset:ie.endOffset}:{endLine:ie.startLine,endCol:ie.startCol,endOffset:ie.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(a,At)}}shouldProcessStartTagTokenInForeignContent(a){if(!this.currentNotInHTML)return!1;let S,ie;return this.openElements.stackTop===0&&this.fragmentContext?(S=this.fragmentContext,ie=this.fragmentContextID):{current:S,currentTagId:ie}=this.openElements,a.tagID===m.SVG&&this.treeAdapter.getTagName(S)===Ce.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(S)===me.MATHML?!1:this.tokenizer.inForeignNode||(a.tagID===m.MGLYPH||a.tagID===m.MALIGNMARK)&&ie!==void 0&&!this._isIntegrationPoint(ie,S,me.HTML)}_processToken(a){switch(a.type){case Ht.CHARACTER:{this.onCharacter(a);break}case Ht.NULL_CHARACTER:{this.onNullCharacter(a);break}case Ht.COMMENT:{this.onComment(a);break}case Ht.DOCTYPE:{this.onDoctype(a);break}case Ht.START_TAG:{this._processStartTag(a);break}case Ht.END_TAG:{this.onEndTag(a);break}case Ht.EOF:{this.onEof(a);break}case Ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(a);break}}}_isIntegrationPoint(a,S,ie){const Ye=this.treeAdapter.getNamespaceURI(S),At=this.treeAdapter.getAttrList(S);return bn(a,Ye,At,ie)}_reconstructActiveFormattingElements(){const a=this.activeFormattingElements.entries.length;if(a){const S=this.activeFormattingElements.entries.findIndex(Ye=>Ye.type===Ke.Marker||this.openElements.contains(Ye.element)),ie=S===-1?a-1:S-1;for(let Ye=ie;Ye>=0;Ye--){const At=this.activeFormattingElements.entries[Ye];this._insertElement(At.token,this.treeAdapter.getNamespaceURI(At.element)),At.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ae.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(m.P),this.openElements.popUntilTagNamePopped(m.P)}_resetInsertionMode(){for(let a=this.openElements.stackTop;a>=0;a--)switch(a===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[a]){case m.TR:{this.insertionMode=Ae.IN_ROW;return}case m.TBODY:case m.THEAD:case m.TFOOT:{this.insertionMode=Ae.IN_TABLE_BODY;return}case m.CAPTION:{this.insertionMode=Ae.IN_CAPTION;return}case m.COLGROUP:{this.insertionMode=Ae.IN_COLUMN_GROUP;return}case m.TABLE:{this.insertionMode=Ae.IN_TABLE;return}case m.BODY:{this.insertionMode=Ae.IN_BODY;return}case m.FRAMESET:{this.insertionMode=Ae.IN_FRAMESET;return}case m.SELECT:{this._resetInsertionModeForSelect(a);return}case m.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case m.HTML:{this.insertionMode=this.headElement?Ae.AFTER_HEAD:Ae.BEFORE_HEAD;return}case m.TD:case m.TH:{if(a>0){this.insertionMode=Ae.IN_CELL;return}break}case m.HEAD:{if(a>0){this.insertionMode=Ae.IN_HEAD;return}break}}this.insertionMode=Ae.IN_BODY}_resetInsertionModeForSelect(a){if(a>0)for(let S=a-1;S>0;S--){const ie=this.openElements.tagIDs[S];if(ie===m.TEMPLATE)break;if(ie===m.TABLE){this.insertionMode=Ae.IN_SELECT_IN_TABLE;return}}this.insertionMode=Ae.IN_SELECT}_isElementCausesFosterParenting(a){return Vr.has(a)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let a=this.openElements.stackTop;a>=0;a--){const S=this.openElements.items[a];switch(this.openElements.tagIDs[a]){case m.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(S)===me.HTML)return{parent:this.treeAdapter.getTemplateContent(S),beforeElement:null};break}case m.TABLE:{const ie=this.treeAdapter.getParentNode(S);return ie?{parent:ie,beforeElement:S}:{parent:this.openElements.items[a-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(a){const S=this._findFosterParentingLocation();S.beforeElement?this.treeAdapter.insertBefore(S.parent,a,S.beforeElement):this.treeAdapter.appendChild(S.parent,a)}_isSpecialElement(a,S){const ie=this.treeAdapter.getNamespaceURI(a);return xn[ie].has(S)}onCharacter(a){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){N(this,a);return}switch(this.insertionMode){case Ae.INITIAL:{Zn(this,a);break}case Ae.BEFORE_HTML:{Aa(this,a);break}case Ae.BEFORE_HEAD:{tr(this,a);break}case Ae.IN_HEAD:{Fa(this,a);break}case Ae.IN_HEAD_NO_SCRIPT:{aa(this,a);break}case Ae.AFTER_HEAD:{Va(this,a);break}case Ae.IN_BODY:case Ae.IN_CAPTION:case Ae.IN_CELL:case Ae.IN_TEMPLATE:{Ui(this,a);break}case Ae.TEXT:case Ae.IN_SELECT:case Ae.IN_SELECT_IN_TABLE:{this._insertCharacters(a);break}case Ae.IN_TABLE:case Ae.IN_TABLE_BODY:case Ae.IN_ROW:{oo(this,a);break}case Ae.IN_TABLE_TEXT:{xi(this,a);break}case Ae.IN_COLUMN_GROUP:{Ea(this,a);break}case Ae.AFTER_BODY:{go(this,a);break}case Ae.AFTER_AFTER_BODY:{l(this,a);break}default:}}onNullCharacter(a){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){C(this,a);return}switch(this.insertionMode){case Ae.INITIAL:{Zn(this,a);break}case Ae.BEFORE_HTML:{Aa(this,a);break}case Ae.BEFORE_HEAD:{tr(this,a);break}case Ae.IN_HEAD:{Fa(this,a);break}case Ae.IN_HEAD_NO_SCRIPT:{aa(this,a);break}case Ae.AFTER_HEAD:{Va(this,a);break}case Ae.TEXT:{this._insertCharacters(a);break}case Ae.IN_TABLE:case Ae.IN_TABLE_BODY:case Ae.IN_ROW:{oo(this,a);break}case Ae.IN_COLUMN_GROUP:{Ea(this,a);break}case Ae.AFTER_BODY:{go(this,a);break}case Ae.AFTER_AFTER_BODY:{l(this,a);break}default:}}onComment(a){if(this.skipNextNewLine=!1,this.currentNotInHTML){ea(this,a);return}switch(this.insertionMode){case Ae.INITIAL:case Ae.BEFORE_HTML:case Ae.BEFORE_HEAD:case Ae.IN_HEAD:case Ae.IN_HEAD_NO_SCRIPT:case Ae.AFTER_HEAD:case Ae.IN_BODY:case Ae.IN_TABLE:case Ae.IN_CAPTION:case Ae.IN_COLUMN_GROUP:case Ae.IN_TABLE_BODY:case Ae.IN_ROW:case Ae.IN_CELL:case Ae.IN_SELECT:case Ae.IN_SELECT_IN_TABLE:case Ae.IN_TEMPLATE:case Ae.IN_FRAMESET:case Ae.AFTER_FRAMESET:{ea(this,a);break}case Ae.IN_TABLE_TEXT:{Li(this,a);break}case Ae.AFTER_BODY:{ta(this,a);break}case Ae.AFTER_AFTER_BODY:case Ae.AFTER_AFTER_FRAMESET:{In(this,a);break}default:}}onDoctype(a){switch(this.skipNextNewLine=!1,this.insertionMode){case Ae.INITIAL:{Qn(this,a);break}case Ae.BEFORE_HEAD:case Ae.IN_HEAD:case Ae.IN_HEAD_NO_SCRIPT:case Ae.AFTER_HEAD:{this._err(a,je.misplacedDoctype);break}case Ae.IN_TABLE_TEXT:{Li(this,a);break}default:}}onStartTag(a){this.skipNextNewLine=!1,this.currentToken=a,this._processStartTag(a),a.selfClosing&&!a.ackSelfClosing&&this._err(a,je.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(a){this.shouldProcessStartTagTokenInForeignContent(a)?Y(this,a):this._startTagOutsideForeignContent(a)}_startTagOutsideForeignContent(a){switch(this.insertionMode){case Ae.INITIAL:{Zn(this,a);break}case Ae.BEFORE_HTML:{Dr(this,a);break}case Ae.BEFORE_HEAD:{la(this,a);break}case Ae.IN_HEAD:{Mr(this,a);break}case Ae.IN_HEAD_NO_SCRIPT:{$a(this,a);break}case Ae.AFTER_HEAD:{Si(this,a);break}case Ae.IN_BODY:{Qr(this,a);break}case Ae.IN_TABLE:{Ci(this,a);break}case Ae.IN_TABLE_TEXT:{Li(this,a);break}case Ae.IN_CAPTION:{kr(this,a);break}case Ae.IN_COLUMN_GROUP:{ba(this,a);break}case Ae.IN_TABLE_BODY:{ci(this,a);break}case Ae.IN_ROW:{fi(this,a);break}case Ae.IN_CELL:{Ai(this,a);break}case Ae.IN_SELECT:{ns(this,a);break}case Ae.IN_SELECT_IN_TABLE:{ps(this,a);break}case Ae.IN_TEMPLATE:{as(this,a);break}case Ae.AFTER_BODY:{ja(this,a);break}case Ae.IN_FRAMESET:{ks(this,a);break}case Ae.AFTER_FRAMESET:{Xo(this,a);break}case Ae.AFTER_AFTER_BODY:{gs(this,a);break}case Ae.AFTER_AFTER_FRAMESET:{E(this,a);break}default:}}onEndTag(a){this.skipNextNewLine=!1,this.currentToken=a,this.currentNotInHTML?se(this,a):this._endTagOutsideForeignContent(a)}_endTagOutsideForeignContent(a){switch(this.insertionMode){case Ae.INITIAL:{Zn(this,a);break}case Ae.BEFORE_HTML:{Zr(this,a);break}case Ae.BEFORE_HEAD:{ua(this,a);break}case Ae.IN_HEAD:{za(this,a);break}case Ae.IN_HEAD_NO_SCRIPT:{Ba(this,a);break}case Ae.AFTER_HEAD:{co(this,a);break}case Ae.IN_BODY:{ao(this,a);break}case Ae.TEXT:{li(this,a);break}case Ae.IN_TABLE:{lo(this,a);break}case Ae.IN_TABLE_TEXT:{Li(this,a);break}case Ae.IN_CAPTION:{Nr(this,a);break}case Ae.IN_COLUMN_GROUP:{wa(this,a);break}case Ae.IN_TABLE_BODY:{di(this,a);break}case Ae.IN_ROW:{Ja(this,a);break}case Ae.IN_CELL:{Wo(this,a);break}case Ae.IN_SELECT:{rs(this,a);break}case Ae.IN_SELECT_IN_TABLE:{hs(this,a);break}case Ae.IN_TEMPLATE:{ei(this,a);break}case Ae.AFTER_BODY:{Oa(this,a);break}case Ae.IN_FRAMESET:{No(this,a);break}case Ae.AFTER_FRAMESET:{Qo(this,a);break}case Ae.AFTER_AFTER_BODY:{l(this,a);break}default:}}onEof(a){switch(this.insertionMode){case Ae.INITIAL:{Zn(this,a);break}case Ae.BEFORE_HTML:{Aa(this,a);break}case Ae.BEFORE_HEAD:{tr(this,a);break}case Ae.IN_HEAD:{Fa(this,a);break}case Ae.IN_HEAD_NO_SCRIPT:{aa(this,a);break}case Ae.AFTER_HEAD:{Va(this,a);break}case Ae.IN_BODY:case Ae.IN_TABLE:case Ae.IN_CAPTION:case Ae.IN_COLUMN_GROUP:case Ae.IN_TABLE_BODY:case Ae.IN_ROW:case Ae.IN_CELL:case Ae.IN_SELECT:case Ae.IN_SELECT_IN_TABLE:{Ao(this,a);break}case Ae.TEXT:{io(this,a);break}case Ae.IN_TABLE_TEXT:{Li(this,a);break}case Ae.IN_TEMPLATE:{La(this,a);break}case Ae.AFTER_BODY:case Ae.IN_FRAMESET:case Ae.AFTER_FRAMESET:case Ae.AFTER_AFTER_BODY:case Ae.AFTER_AFTER_FRAMESET:{Kn(this,a);break}default:}}onWhitespaceCharacter(a){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,a.chars.charCodeAt(0)===Q.LINE_FEED)){if(a.chars.length===1)return;a.chars=a.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(a);return}switch(this.insertionMode){case Ae.IN_HEAD:case Ae.IN_HEAD_NO_SCRIPT:case Ae.AFTER_HEAD:case Ae.TEXT:case Ae.IN_COLUMN_GROUP:case Ae.IN_SELECT:case Ae.IN_SELECT_IN_TABLE:case Ae.IN_FRAMESET:case Ae.AFTER_FRAMESET:{this._insertCharacters(a);break}case Ae.IN_BODY:case Ae.IN_CAPTION:case Ae.IN_CELL:case Ae.IN_TEMPLATE:case Ae.AFTER_BODY:case Ae.AFTER_AFTER_BODY:case Ae.AFTER_AFTER_FRAMESET:{Ka(this,a);break}case Ae.IN_TABLE:case Ae.IN_TABLE_BODY:case Ae.IN_ROW:{oo(this,a);break}case Ae.IN_TABLE_TEXT:{ho(this,a);break}default:}}}function hi(n,a){let S=n.activeFormattingElements.getElementEntryInScopeWithTagName(a.tagName);return S?n.openElements.contains(S.element)?n.openElements.hasInScope(a.tagID)||(S=null):(n.activeFormattingElements.removeEntry(S),S=null):ro(n,a),S}function Pa(n,a){let S=null,ie=n.openElements.stackTop;for(;ie>=0;ie--){const Ye=n.openElements.items[ie];if(Ye===a.element)break;n._isSpecialElement(Ye,n.openElements.tagIDs[ie])&&(S=Ye)}return S||(n.openElements.shortenToLength(Math.max(ie,0)),n.activeFormattingElements.removeEntry(a)),S}function qr(n,a,S){let ie=a,Ye=n.openElements.getCommonAncestor(a);for(let At=0,Gt=Ye;Gt!==S;At++,Gt=Ye){Ye=n.openElements.getCommonAncestor(Gt);const Pn=n.activeFormattingElements.getElementEntry(Gt),er=Pn&&At>=ar;!Pn||er?(er&&n.activeFormattingElements.removeEntry(Pn),n.openElements.remove(Gt)):(Gt=Kr(n,Pn),ie===a&&(n.activeFormattingElements.bookmark=Pn),n.treeAdapter.detachNode(ie),n.treeAdapter.appendChild(Gt,ie),ie=Gt)}return ie}function Kr(n,a){const S=n.treeAdapter.getNamespaceURI(a.element),ie=n.treeAdapter.createElement(a.token.tagName,S,a.token.attrs);return n.openElements.replace(a.element,ie),a.element=ie,ie}function jr(n,a,S){const ie=n.treeAdapter.getTagName(a),Ye=qt(ie);if(n._isElementCausesFosterParenting(Ye))n._fosterParentElement(S);else{const At=n.treeAdapter.getNamespaceURI(a);Ye===m.TEMPLATE&&At===me.HTML&&(a=n.treeAdapter.getTemplateContent(a)),n.treeAdapter.appendChild(a,S)}}function Ta(n,a,S){const ie=n.treeAdapter.getNamespaceURI(S.element),{token:Ye}=S,At=n.treeAdapter.createElement(Ye.tagName,ie,Ye.attrs);n._adoptNodes(a,At),n.treeAdapter.appendChild(a,At),n.activeFormattingElements.insertElementAfterBookmark(At,Ye),n.activeFormattingElements.removeEntry(S),n.openElements.remove(S.element),n.openElements.insertAfter(a,At,Ye.tagID)}function Xr(n,a){for(let S=0;S<jn;S++){const ie=hi(n,a);if(!ie)break;const Ye=Pa(n,ie);if(!Ye)break;n.activeFormattingElements.bookmark=ie;const At=qr(n,Ye,ie.element),Gt=n.openElements.getCommonAncestor(ie.element);n.treeAdapter.detachNode(At),Gt&&jr(n,Gt,At),Ta(n,Ye,ie)}}function ea(n,a){n._appendCommentNode(a,n.openElements.currentTmplContentOrNode)}function ta(n,a){n._appendCommentNode(a,n.openElements.items[0])}function In(n,a){n._appendCommentNode(a,n.document)}function Kn(n,a){if(n.stopped=!0,a.location){const S=n.fragmentContext?0:2;for(let ie=n.openElements.stackTop;ie>=S;ie--)n._setEndLocation(n.openElements.items[ie],a);if(!n.fragmentContext&&n.openElements.stackTop>=0){const ie=n.openElements.items[0],Ye=n.treeAdapter.getNodeSourceCodeLocation(ie);if(Ye&&!Ye.endTag&&(n._setEndLocation(ie,a),n.openElements.stackTop>=1)){const At=n.openElements.items[1],Gt=n.treeAdapter.getNodeSourceCodeLocation(At);Gt&&!Gt.endTag&&n._setEndLocation(At,a)}}}}function Qn(n,a){n._setDocumentType(a);const S=a.forceQuirks?_t.QUIRKS:sn(a);pn(a)||n._err(a,je.nonConformingDoctype),n.treeAdapter.setDocumentMode(n.document,S),n.insertionMode=Ae.BEFORE_HTML}function Zn(n,a){n._err(a,je.missingDoctype,!0),n.treeAdapter.setDocumentMode(n.document,_t.QUIRKS),n.insertionMode=Ae.BEFORE_HTML,n._processToken(a)}function Dr(n,a){a.tagID===m.HTML?(n._insertElement(a,me.HTML),n.insertionMode=Ae.BEFORE_HEAD):Aa(n,a)}function Zr(n,a){const S=a.tagID;(S===m.HTML||S===m.HEAD||S===m.BODY||S===m.BR)&&Aa(n,a)}function Aa(n,a){n._insertFakeRootElement(),n.insertionMode=Ae.BEFORE_HEAD,n._processToken(a)}function la(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.HEAD:{n._insertElement(a,me.HTML),n.headElement=n.openElements.current,n.insertionMode=Ae.IN_HEAD;break}default:tr(n,a)}}function ua(n,a){const S=a.tagID;S===m.HEAD||S===m.BODY||S===m.HTML||S===m.BR?tr(n,a):n._err(a,je.endTagWithoutMatchingOpenElement)}function tr(n,a){n._insertFakeElement(Ce.HEAD,m.HEAD),n.headElement=n.openElements.current,n.insertionMode=Ae.IN_HEAD,n._processToken(a)}function Mr(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:{n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case m.TITLE:{n._switchToTextParsing(a,Sn.RCDATA);break}case m.NOSCRIPT:{n.options.scriptingEnabled?n._switchToTextParsing(a,Sn.RAWTEXT):(n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_HEAD_NO_SCRIPT);break}case m.NOFRAMES:case m.STYLE:{n._switchToTextParsing(a,Sn.RAWTEXT);break}case m.SCRIPT:{n._switchToTextParsing(a,Sn.SCRIPT_DATA);break}case m.TEMPLATE:{n._insertTemplate(a),n.activeFormattingElements.insertMarker(),n.framesetOk=!1,n.insertionMode=Ae.IN_TEMPLATE,n.tmplInsertionModeStack.unshift(Ae.IN_TEMPLATE);break}case m.HEAD:{n._err(a,je.misplacedStartTagForHeadElement);break}default:Fa(n,a)}}function za(n,a){switch(a.tagID){case m.HEAD:{n.openElements.pop(),n.insertionMode=Ae.AFTER_HEAD;break}case m.BODY:case m.BR:case m.HTML:{Fa(n,a);break}case m.TEMPLATE:{Ur(n,a);break}default:n._err(a,je.endTagWithoutMatchingOpenElement)}}function Ur(n,a){n.openElements.tmplCount>0?(n.openElements.generateImpliedEndTagsThoroughly(),n.openElements.currentTagId!==m.TEMPLATE&&n._err(a,je.closingOfElementWithOpenChildElements),n.openElements.popUntilTagNamePopped(m.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode()):n._err(a,je.endTagWithoutMatchingOpenElement)}function Fa(n,a){n.openElements.pop(),n.insertionMode=Ae.AFTER_HEAD,n._processToken(a)}function $a(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.BASEFONT:case m.BGSOUND:case m.HEAD:case m.LINK:case m.META:case m.NOFRAMES:case m.STYLE:{Mr(n,a);break}case m.NOSCRIPT:{n._err(a,je.nestedNoscriptInHead);break}default:aa(n,a)}}function Ba(n,a){switch(a.tagID){case m.NOSCRIPT:{n.openElements.pop(),n.insertionMode=Ae.IN_HEAD;break}case m.BR:{aa(n,a);break}default:n._err(a,je.endTagWithoutMatchingOpenElement)}}function aa(n,a){const S=a.type===Ht.EOF?je.openElementsLeftAfterEof:je.disallowedContentInNoscriptInHead;n._err(a,S),n.openElements.pop(),n.insertionMode=Ae.IN_HEAD,n._processToken(a)}function Si(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.BODY:{n._insertElement(a,me.HTML),n.framesetOk=!1,n.insertionMode=Ae.IN_BODY;break}case m.FRAMESET:{n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_FRAMESET;break}case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{n._err(a,je.abandonedHeadElementChild),n.openElements.push(n.headElement,m.HEAD),Mr(n,a),n.openElements.remove(n.headElement);break}case m.HEAD:{n._err(a,je.misplacedStartTagForHeadElement);break}default:Va(n,a)}}function co(n,a){switch(a.tagID){case m.BODY:case m.HTML:case m.BR:{Va(n,a);break}case m.TEMPLATE:{Ur(n,a);break}default:n._err(a,je.endTagWithoutMatchingOpenElement)}}function Va(n,a){n._insertFakeElement(Ce.BODY,m.BODY),n.insertionMode=Ae.IN_BODY,ii(n,a)}function ii(n,a){switch(a.type){case Ht.CHARACTER:{Ui(n,a);break}case Ht.WHITESPACE_CHARACTER:{Ka(n,a);break}case Ht.COMMENT:{ea(n,a);break}case Ht.START_TAG:{Qr(n,a);break}case Ht.END_TAG:{ao(n,a);break}case Ht.EOF:{Ao(n,a);break}default:}}function Ka(n,a){n._reconstructActiveFormattingElements(),n._insertCharacters(a)}function Ui(n,a){n._reconstructActiveFormattingElements(),n._insertCharacters(a),n.framesetOk=!1}function yo(n,a){n.openElements.tmplCount===0&&n.treeAdapter.adoptAttributes(n.openElements.items[0],a.attrs)}function Eo(n,a){const S=n.openElements.tryPeekProperlyNestedBodyElement();S&&n.openElements.tmplCount===0&&(n.framesetOk=!1,n.treeAdapter.adoptAttributes(S,a.attrs))}function So(n,a){const S=n.openElements.tryPeekProperlyNestedBodyElement();n.framesetOk&&S&&(n.treeAdapter.detachNode(S),n.openElements.popAllUpToHtmlElement(),n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_FRAMESET)}function Ji(n,a){n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._insertElement(a,me.HTML)}function fo(n,a){n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n.openElements.currentTagId!==void 0&&jt.has(n.openElements.currentTagId)&&n.openElements.pop(),n._insertElement(a,me.HTML)}function eo(n,a){n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._insertElement(a,me.HTML),n.skipNextNewLine=!0,n.framesetOk=!1}function $i(n,a){const S=n.openElements.tmplCount>0;(!n.formElement||S)&&(n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._insertElement(a,me.HTML),S||(n.formElement=n.openElements.current))}function to(n,a){n.framesetOk=!1;const S=a.tagID;for(let ie=n.openElements.stackTop;ie>=0;ie--){const Ye=n.openElements.tagIDs[ie];if(S===m.LI&&Ye===m.LI||(S===m.DD||S===m.DT)&&(Ye===m.DD||Ye===m.DT)){n.openElements.generateImpliedEndTagsWithExclusion(Ye),n.openElements.popUntilTagNamePopped(Ye);break}if(Ye!==m.ADDRESS&&Ye!==m.DIV&&Ye!==m.P&&n._isSpecialElement(n.openElements.items[ie],Ye))break}n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._insertElement(a,me.HTML)}function To(n,a){n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._insertElement(a,me.HTML),n.tokenizer.state=Sn.PLAINTEXT}function no(n,a){n.openElements.hasInScope(m.BUTTON)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(m.BUTTON)),n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.framesetOk=!1}function Vi(n,a){const S=n.activeFormattingElements.getElementEntryInScopeWithTagName(Ce.A);S&&(Xr(n,a),n.openElements.remove(S.element),n.activeFormattingElements.removeEntry(S)),n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.activeFormattingElements.pushElement(n.openElements.current,a)}function Ki(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.activeFormattingElements.pushElement(n.openElements.current,a)}function Ua(n,a){n._reconstructActiveFormattingElements(),n.openElements.hasInScope(m.NOBR)&&(Xr(n,a),n._reconstructActiveFormattingElements()),n._insertElement(a,me.HTML),n.activeFormattingElements.pushElement(n.openElements.current,a)}function fa(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.activeFormattingElements.insertMarker(),n.framesetOk=!1}function Rr(n,a){n.treeAdapter.getDocumentMode(n.document)!==_t.QUIRKS&&n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._insertElement(a,me.HTML),n.framesetOk=!1,n.insertionMode=Ae.IN_TABLE}function lr(n,a){n._reconstructActiveFormattingElements(),n._appendElement(a,me.HTML),n.framesetOk=!1,a.ackSelfClosing=!0}function pa(n){const a=Kt(n,Ct.TYPE);return a!=null&&a.toLowerCase()===Dn}function ha(n,a){n._reconstructActiveFormattingElements(),n._appendElement(a,me.HTML),pa(a)||(n.framesetOk=!1),a.ackSelfClosing=!0}function va(n,a){n._appendElement(a,me.HTML),a.ackSelfClosing=!0}function Ca(n,a){n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._appendElement(a,me.HTML),n.framesetOk=!1,a.ackSelfClosing=!0}function gi(n,a){a.tagName=Ce.IMG,a.tagID=m.IMG,lr(n,a)}function oi(n,a){n._insertElement(a,me.HTML),n.skipNextNewLine=!0,n.tokenizer.state=Sn.RCDATA,n.originalInsertionMode=n.insertionMode,n.framesetOk=!1,n.insertionMode=Ae.TEXT}function Ii(n,a){n.openElements.hasInButtonScope(m.P)&&n._closePElement(),n._reconstructActiveFormattingElements(),n.framesetOk=!1,n._switchToTextParsing(a,Sn.RAWTEXT)}function ca(n,a){n.framesetOk=!1,n._switchToTextParsing(a,Sn.RAWTEXT)}function xa(n,a){n._switchToTextParsing(a,Sn.RAWTEXT)}function Qa(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.framesetOk=!1,n.insertionMode=n.insertionMode===Ae.IN_TABLE||n.insertionMode===Ae.IN_CAPTION||n.insertionMode===Ae.IN_TABLE_BODY||n.insertionMode===Ae.IN_ROW||n.insertionMode===Ae.IN_CELL?Ae.IN_SELECT_IN_TABLE:Ae.IN_SELECT}function si(n,a){n.openElements.currentTagId===m.OPTION&&n.openElements.pop(),n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML)}function po(n,a){n.openElements.hasInScope(m.RUBY)&&n.openElements.generateImpliedEndTags(),n._insertElement(a,me.HTML)}function Ro(n,a){n.openElements.hasInScope(m.RUBY)&&n.openElements.generateImpliedEndTagsWithExclusion(m.RTC),n._insertElement(a,me.HTML)}function Lo(n,a){n._reconstructActiveFormattingElements(),rr(a),wr(a),a.selfClosing?n._appendElement(a,me.MATHML):n._insertElement(a,me.MATHML),a.ackSelfClosing=!0}function mi(n,a){n._reconstructActiveFormattingElements(),pr(a),wr(a),a.selfClosing?n._appendElement(a,me.SVG):n._insertElement(a,me.SVG),a.ackSelfClosing=!0}function Ti(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML)}function Qr(n,a){switch(a.tagID){case m.I:case m.S:case m.B:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.SMALL:case m.STRIKE:case m.STRONG:{Ki(n,a);break}case m.A:{Vi(n,a);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{fo(n,a);break}case m.P:case m.DL:case m.OL:case m.UL:case m.DIV:case m.DIR:case m.NAV:case m.MAIN:case m.MENU:case m.ASIDE:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.DETAILS:case m.ADDRESS:case m.ARTICLE:case m.SEARCH:case m.SECTION:case m.SUMMARY:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{Ji(n,a);break}case m.LI:case m.DD:case m.DT:{to(n,a);break}case m.BR:case m.IMG:case m.WBR:case m.AREA:case m.EMBED:case m.KEYGEN:{lr(n,a);break}case m.HR:{Ca(n,a);break}case m.RB:case m.RTC:{po(n,a);break}case m.RT:case m.RP:{Ro(n,a);break}case m.PRE:case m.LISTING:{eo(n,a);break}case m.XMP:{Ii(n,a);break}case m.SVG:{mi(n,a);break}case m.HTML:{yo(n,a);break}case m.BASE:case m.LINK:case m.META:case m.STYLE:case m.TITLE:case m.SCRIPT:case m.BGSOUND:case m.BASEFONT:case m.TEMPLATE:{Mr(n,a);break}case m.BODY:{Eo(n,a);break}case m.FORM:{$i(n,a);break}case m.NOBR:{Ua(n,a);break}case m.MATH:{Lo(n,a);break}case m.TABLE:{Rr(n,a);break}case m.INPUT:{ha(n,a);break}case m.PARAM:case m.TRACK:case m.SOURCE:{va(n,a);break}case m.IMAGE:{gi(n,a);break}case m.BUTTON:{no(n,a);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{fa(n,a);break}case m.IFRAME:{ca(n,a);break}case m.SELECT:{Qa(n,a);break}case m.OPTION:case m.OPTGROUP:{si(n,a);break}case m.NOEMBED:case m.NOFRAMES:{xa(n,a);break}case m.FRAMESET:{So(n,a);break}case m.TEXTAREA:{oi(n,a);break}case m.NOSCRIPT:{n.options.scriptingEnabled?xa(n,a):Ti(n,a);break}case m.PLAINTEXT:{To(n,a);break}case m.COL:case m.TH:case m.TD:case m.TR:case m.HEAD:case m.FRAME:case m.TBODY:case m.TFOOT:case m.THEAD:case m.CAPTION:case m.COLGROUP:break;default:Ti(n,a)}}function bi(n,a){if(n.openElements.hasInScope(m.BODY)&&(n.insertionMode=Ae.AFTER_BODY,n.options.sourceCodeLocationInfo)){const S=n.openElements.tryPeekProperlyNestedBodyElement();S&&n._setEndLocation(S,a)}}function qa(n,a){n.openElements.hasInScope(m.BODY)&&(n.insertionMode=Ae.AFTER_BODY,Oa(n,a))}function Co(n,a){const S=a.tagID;n.openElements.hasInScope(S)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(S))}function zo(n){const a=n.openElements.tmplCount>0,{formElement:S}=n;a||(n.formElement=null),(S||a)&&n.openElements.hasInScope(m.FORM)&&(n.openElements.generateImpliedEndTags(),a?n.openElements.popUntilTagNamePopped(m.FORM):S&&n.openElements.remove(S))}function Go(n){n.openElements.hasInButtonScope(m.P)||n._insertFakeElement(Ce.P,m.P),n._closePElement()}function ji(n){n.openElements.hasInListItemScope(m.LI)&&(n.openElements.generateImpliedEndTagsWithExclusion(m.LI),n.openElements.popUntilTagNamePopped(m.LI))}function Oo(n,a){const S=a.tagID;n.openElements.hasInScope(S)&&(n.openElements.generateImpliedEndTagsWithExclusion(S),n.openElements.popUntilTagNamePopped(S))}function Do(n){n.openElements.hasNumberedHeaderInScope()&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilNumberedHeaderPopped())}function Hi(n,a){const S=a.tagID;n.openElements.hasInScope(S)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(S),n.activeFormattingElements.clearToLastMarker())}function xo(n){n._reconstructActiveFormattingElements(),n._insertFakeElement(Ce.BR,m.BR),n.openElements.pop(),n.framesetOk=!1}function ro(n,a){const S=a.tagName,ie=a.tagID;for(let Ye=n.openElements.stackTop;Ye>0;Ye--){const At=n.openElements.items[Ye],Gt=n.openElements.tagIDs[Ye];if(ie===Gt&&(ie!==m.UNKNOWN||n.treeAdapter.getTagName(At)===S)){n.openElements.generateImpliedEndTagsWithExclusion(ie),n.openElements.stackTop>=Ye&&n.openElements.shortenToLength(Ye);break}if(n._isSpecialElement(At,Gt))break}}function ao(n,a){switch(a.tagID){case m.A:case m.B:case m.I:case m.S:case m.U:case m.EM:case m.TT:case m.BIG:case m.CODE:case m.FONT:case m.NOBR:case m.SMALL:case m.STRIKE:case m.STRONG:{Xr(n,a);break}case m.P:{Go(n);break}case m.DL:case m.UL:case m.OL:case m.DIR:case m.DIV:case m.NAV:case m.PRE:case m.MAIN:case m.MENU:case m.ASIDE:case m.BUTTON:case m.CENTER:case m.FIGURE:case m.FOOTER:case m.HEADER:case m.HGROUP:case m.DIALOG:case m.ADDRESS:case m.ARTICLE:case m.DETAILS:case m.SEARCH:case m.SECTION:case m.SUMMARY:case m.LISTING:case m.FIELDSET:case m.BLOCKQUOTE:case m.FIGCAPTION:{Co(n,a);break}case m.LI:{ji(n);break}case m.DD:case m.DT:{Oo(n,a);break}case m.H1:case m.H2:case m.H3:case m.H4:case m.H5:case m.H6:{Do(n);break}case m.BR:{xo(n);break}case m.BODY:{bi(n,a);break}case m.HTML:{qa(n,a);break}case m.FORM:{zo(n);break}case m.APPLET:case m.OBJECT:case m.MARQUEE:{Hi(n,a);break}case m.TEMPLATE:{Ur(n,a);break}default:ro(n,a)}}function Ao(n,a){n.tmplInsertionModeStack.length>0?La(n,a):Kn(n,a)}function li(n,a){var S;a.tagID===m.SCRIPT&&((S=n.scriptHandler)===null||S===void 0||S.call(n,n.openElements.current)),n.openElements.pop(),n.insertionMode=n.originalInsertionMode}function io(n,a){n._err(a,je.eofInElementThatCanContainOnlyText),n.openElements.pop(),n.insertionMode=n.originalInsertionMode,n.onEof(a)}function oo(n,a){if(n.openElements.currentTagId!==void 0&&Vr.has(n.openElements.currentTagId))switch(n.pendingCharacterTokens.length=0,n.hasNonWhitespacePendingCharacterToken=!1,n.originalInsertionMode=n.insertionMode,n.insertionMode=Ae.IN_TABLE_TEXT,a.type){case Ht.CHARACTER:{xi(n,a);break}case Ht.WHITESPACE_CHARACTER:{ho(n,a);break}}else ui(n,a)}function _o(n,a){n.openElements.clearBackToTableContext(),n.activeFormattingElements.insertMarker(),n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_CAPTION}function Yi(n,a){n.openElements.clearBackToTableContext(),n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_COLUMN_GROUP}function Mo(n,a){n.openElements.clearBackToTableContext(),n._insertFakeElement(Ce.COLGROUP,m.COLGROUP),n.insertionMode=Ae.IN_COLUMN_GROUP,ba(n,a)}function Po(n,a){n.openElements.clearBackToTableContext(),n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_TABLE_BODY}function so(n,a){n.openElements.clearBackToTableContext(),n._insertFakeElement(Ce.TBODY,m.TBODY),n.insertionMode=Ae.IN_TABLE_BODY,ci(n,a)}function wo(n,a){n.openElements.hasInTableScope(m.TABLE)&&(n.openElements.popUntilTagNamePopped(m.TABLE),n._resetInsertionMode(),n._processStartTag(a))}function ko(n,a){pa(a)?n._appendElement(a,me.HTML):ui(n,a),a.ackSelfClosing=!0}function Ri(n,a){!n.formElement&&n.openElements.tmplCount===0&&(n._insertElement(a,me.HTML),n.formElement=n.openElements.current,n.openElements.pop())}function Ci(n,a){switch(a.tagID){case m.TD:case m.TH:case m.TR:{so(n,a);break}case m.STYLE:case m.SCRIPT:case m.TEMPLATE:{Mr(n,a);break}case m.COL:{Mo(n,a);break}case m.FORM:{Ri(n,a);break}case m.TABLE:{wo(n,a);break}case m.TBODY:case m.TFOOT:case m.THEAD:{Po(n,a);break}case m.INPUT:{ko(n,a);break}case m.CAPTION:{_o(n,a);break}case m.COLGROUP:{Yi(n,a);break}default:ui(n,a)}}function lo(n,a){switch(a.tagID){case m.TABLE:{n.openElements.hasInTableScope(m.TABLE)&&(n.openElements.popUntilTagNamePopped(m.TABLE),n._resetInsertionMode());break}case m.TEMPLATE:{Ur(n,a);break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:ui(n,a)}}function ui(n,a){const S=n.fosterParentingEnabled;n.fosterParentingEnabled=!0,ii(n,a),n.fosterParentingEnabled=S}function ho(n,a){n.pendingCharacterTokens.push(a)}function xi(n,a){n.pendingCharacterTokens.push(a),n.hasNonWhitespacePendingCharacterToken=!0}function Li(n,a){let S=0;if(n.hasNonWhitespacePendingCharacterToken)for(;S<n.pendingCharacterTokens.length;S++)ui(n,n.pendingCharacterTokens[S]);else for(;S<n.pendingCharacterTokens.length;S++)n._insertCharacters(n.pendingCharacterTokens[S]);n.insertionMode=n.originalInsertionMode,n._processToken(a)}const Oi=new Set([m.CAPTION,m.COL,m.COLGROUP,m.TBODY,m.TD,m.TFOOT,m.TH,m.THEAD,m.TR]);function kr(n,a){const S=a.tagID;Oi.has(S)?n.openElements.hasInTableScope(m.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(m.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=Ae.IN_TABLE,Ci(n,a)):Qr(n,a)}function Nr(n,a){const S=a.tagID;switch(S){case m.CAPTION:case m.TABLE:{n.openElements.hasInTableScope(m.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(m.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=Ae.IN_TABLE,S===m.TABLE&&lo(n,a));break}case m.BODY:case m.COL:case m.COLGROUP:case m.HTML:case m.TBODY:case m.TD:case m.TFOOT:case m.TH:case m.THEAD:case m.TR:break;default:ao(n,a)}}function ba(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.COL:{n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case m.TEMPLATE:{Mr(n,a);break}default:Ea(n,a)}}function wa(n,a){switch(a.tagID){case m.COLGROUP:{n.openElements.currentTagId===m.COLGROUP&&(n.openElements.pop(),n.insertionMode=Ae.IN_TABLE);break}case m.TEMPLATE:{Ur(n,a);break}case m.COL:break;default:Ea(n,a)}}function Ea(n,a){n.openElements.currentTagId===m.COLGROUP&&(n.openElements.pop(),n.insertionMode=Ae.IN_TABLE,n._processToken(a))}function ci(n,a){switch(a.tagID){case m.TR:{n.openElements.clearBackToTableBodyContext(),n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_ROW;break}case m.TH:case m.TD:{n.openElements.clearBackToTableBodyContext(),n._insertFakeElement(Ce.TR,m.TR),n.insertionMode=Ae.IN_ROW,fi(n,a);break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=Ae.IN_TABLE,Ci(n,a));break}default:Ci(n,a)}}function di(n,a){const S=a.tagID;switch(a.tagID){case m.TBODY:case m.TFOOT:case m.THEAD:{n.openElements.hasInTableScope(S)&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=Ae.IN_TABLE);break}case m.TABLE:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=Ae.IN_TABLE,lo(n,a));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:case m.TR:break;default:lo(n,a)}}function fi(n,a){switch(a.tagID){case m.TH:case m.TD:{n.openElements.clearBackToTableRowContext(),n._insertElement(a,me.HTML),n.insertionMode=Ae.IN_CELL,n.activeFormattingElements.insertMarker();break}case m.CAPTION:case m.COL:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{n.openElements.hasInTableScope(m.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ae.IN_TABLE_BODY,ci(n,a));break}default:Ci(n,a)}}function Ja(n,a){switch(a.tagID){case m.TR:{n.openElements.hasInTableScope(m.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ae.IN_TABLE_BODY);break}case m.TABLE:{n.openElements.hasInTableScope(m.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ae.IN_TABLE_BODY,di(n,a));break}case m.TBODY:case m.TFOOT:case m.THEAD:{(n.openElements.hasInTableScope(a.tagID)||n.openElements.hasInTableScope(m.TR))&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ae.IN_TABLE_BODY,di(n,a));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:case m.TD:case m.TH:break;default:lo(n,a)}}function Ai(n,a){const S=a.tagID;Oi.has(S)?(n.openElements.hasInTableScope(m.TD)||n.openElements.hasInTableScope(m.TH))&&(n._closeTableCell(),fi(n,a)):Qr(n,a)}function Wo(n,a){const S=a.tagID;switch(S){case m.TD:case m.TH:{n.openElements.hasInTableScope(S)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(S),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=Ae.IN_ROW);break}case m.TABLE:case m.TBODY:case m.TFOOT:case m.THEAD:case m.TR:{n.openElements.hasInTableScope(S)&&(n._closeTableCell(),Ja(n,a));break}case m.BODY:case m.CAPTION:case m.COL:case m.COLGROUP:case m.HTML:break;default:ao(n,a)}}function ns(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.OPTION:{n.openElements.currentTagId===m.OPTION&&n.openElements.pop(),n._insertElement(a,me.HTML);break}case m.OPTGROUP:{n.openElements.currentTagId===m.OPTION&&n.openElements.pop(),n.openElements.currentTagId===m.OPTGROUP&&n.openElements.pop(),n._insertElement(a,me.HTML);break}case m.HR:{n.openElements.currentTagId===m.OPTION&&n.openElements.pop(),n.openElements.currentTagId===m.OPTGROUP&&n.openElements.pop(),n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case m.INPUT:case m.KEYGEN:case m.TEXTAREA:case m.SELECT:{n.openElements.hasInSelectScope(m.SELECT)&&(n.openElements.popUntilTagNamePopped(m.SELECT),n._resetInsertionMode(),a.tagID!==m.SELECT&&n._processStartTag(a));break}case m.SCRIPT:case m.TEMPLATE:{Mr(n,a);break}default:}}function rs(n,a){switch(a.tagID){case m.OPTGROUP:{n.openElements.stackTop>0&&n.openElements.currentTagId===m.OPTION&&n.openElements.tagIDs[n.openElements.stackTop-1]===m.OPTGROUP&&n.openElements.pop(),n.openElements.currentTagId===m.OPTGROUP&&n.openElements.pop();break}case m.OPTION:{n.openElements.currentTagId===m.OPTION&&n.openElements.pop();break}case m.SELECT:{n.openElements.hasInSelectScope(m.SELECT)&&(n.openElements.popUntilTagNamePopped(m.SELECT),n._resetInsertionMode());break}case m.TEMPLATE:{Ur(n,a);break}default:}}function ps(n,a){const S=a.tagID;S===m.CAPTION||S===m.TABLE||S===m.TBODY||S===m.TFOOT||S===m.THEAD||S===m.TR||S===m.TD||S===m.TH?(n.openElements.popUntilTagNamePopped(m.SELECT),n._resetInsertionMode(),n._processStartTag(a)):ns(n,a)}function hs(n,a){const S=a.tagID;S===m.CAPTION||S===m.TABLE||S===m.TBODY||S===m.TFOOT||S===m.THEAD||S===m.TR||S===m.TD||S===m.TH?n.openElements.hasInTableScope(S)&&(n.openElements.popUntilTagNamePopped(m.SELECT),n._resetInsertionMode(),n.onEndTag(a)):rs(n,a)}function as(n,a){switch(a.tagID){case m.BASE:case m.BASEFONT:case m.BGSOUND:case m.LINK:case m.META:case m.NOFRAMES:case m.SCRIPT:case m.STYLE:case m.TEMPLATE:case m.TITLE:{Mr(n,a);break}case m.CAPTION:case m.COLGROUP:case m.TBODY:case m.TFOOT:case m.THEAD:{n.tmplInsertionModeStack[0]=Ae.IN_TABLE,n.insertionMode=Ae.IN_TABLE,Ci(n,a);break}case m.COL:{n.tmplInsertionModeStack[0]=Ae.IN_COLUMN_GROUP,n.insertionMode=Ae.IN_COLUMN_GROUP,ba(n,a);break}case m.TR:{n.tmplInsertionModeStack[0]=Ae.IN_TABLE_BODY,n.insertionMode=Ae.IN_TABLE_BODY,ci(n,a);break}case m.TD:case m.TH:{n.tmplInsertionModeStack[0]=Ae.IN_ROW,n.insertionMode=Ae.IN_ROW,fi(n,a);break}default:n.tmplInsertionModeStack[0]=Ae.IN_BODY,n.insertionMode=Ae.IN_BODY,Qr(n,a)}}function ei(n,a){a.tagID===m.TEMPLATE&&Ur(n,a)}function La(n,a){n.openElements.tmplCount>0?(n.openElements.popUntilTagNamePopped(m.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode(),n.onEof(a)):Kn(n,a)}function ja(n,a){a.tagID===m.HTML?Qr(n,a):go(n,a)}function Oa(n,a){var S;if(a.tagID===m.HTML){if(n.fragmentContext||(n.insertionMode=Ae.AFTER_AFTER_BODY),n.options.sourceCodeLocationInfo&&n.openElements.tagIDs[0]===m.HTML){n._setEndLocation(n.openElements.items[0],a);const ie=n.openElements.items[1];ie&&!(!((S=n.treeAdapter.getNodeSourceCodeLocation(ie))===null||S===void 0)&&S.endTag)&&n._setEndLocation(ie,a)}}else go(n,a)}function go(n,a){n.insertionMode=Ae.IN_BODY,ii(n,a)}function ks(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.FRAMESET:{n._insertElement(a,me.HTML);break}case m.FRAME:{n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case m.NOFRAMES:{Mr(n,a);break}default:}}function No(n,a){a.tagID===m.FRAMESET&&!n.openElements.isRootHtmlElementCurrent()&&(n.openElements.pop(),!n.fragmentContext&&n.openElements.currentTagId!==m.FRAMESET&&(n.insertionMode=Ae.AFTER_FRAMESET))}function Xo(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.NOFRAMES:{Mr(n,a);break}default:}}function Qo(n,a){a.tagID===m.HTML&&(n.insertionMode=Ae.AFTER_AFTER_FRAMESET)}function gs(n,a){a.tagID===m.HTML?Qr(n,a):l(n,a)}function l(n,a){n.insertionMode=Ae.IN_BODY,ii(n,a)}function E(n,a){switch(a.tagID){case m.HTML:{Qr(n,a);break}case m.NOFRAMES:{Mr(n,a);break}default:}}function C(n,a){a.chars=it,n._insertCharacters(a)}function N(n,a){n._insertCharacters(a),n.framesetOk=!1}function K(n){for(;n.treeAdapter.getNamespaceURI(n.openElements.current)!==me.HTML&&n.openElements.currentTagId!==void 0&&!n._isIntegrationPoint(n.openElements.currentTagId,n.openElements.current);)n.openElements.pop()}function Y(n,a){if(Er(a))K(n),n._startTagOutsideForeignContent(a);else{const S=n._getAdjustedCurrentElement(),ie=n.treeAdapter.getNamespaceURI(S);ie===me.MATHML?rr(a):ie===me.SVG&&(sr(a),pr(a)),wr(a),a.selfClosing?n._appendElement(a,ie):n._insertElement(a,ie),a.ackSelfClosing=!0}}function se(n,a){if(a.tagID===m.P||a.tagID===m.BR){K(n),n._endTagOutsideForeignContent(a);return}for(let S=n.openElements.stackTop;S>0;S--){const ie=n.openElements.items[S];if(n.treeAdapter.getNamespaceURI(ie)===me.HTML){n._endTagOutsideForeignContent(a);break}const Ye=n.treeAdapter.getTagName(ie);if(Ye.toLowerCase()===a.tagName){a.tagName=Ye,n.openElements.shortenToLength(S);break}}}const ve=/["$&'<>\u0080-\uFFFF]/g,Je=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Qe=String.prototype.codePointAt==null?(n,a)=>(n.charCodeAt(a)&64512)===55296?(n.charCodeAt(a)-55296)*1024+n.charCodeAt(a+1)-56320+65536:n.charCodeAt(a):(n,a)=>n.codePointAt(a);function Fe(n){let a="",S=0,ie;for(;(ie=ve.exec(n))!==null;){const{index:Ye}=ie,At=n.charCodeAt(Ye),Gt=Je.get(At);Gt===void 0?(a+=`${n.substring(S,Ye)}&#x${Qe(n,Ye).toString(16)};`,S=ve.lastIndex+=+((At&64512)===55296)):(a+=n.substring(S,Ye)+Gt,S=Ye+1)}return a+n.substr(S)}const gt=null;function ft(n,a){return function(ie){let Ye,At=0,Gt="";for(;Ye=n.exec(ie);)At!==Ye.index&&(Gt+=ie.substring(At,Ye.index)),Gt+=a.get(Ye[0].charCodeAt(0)),At=Ye.index+1;return Gt+ie.substring(At)}}const We=null,$n=ft(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Ir=ft(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),$r=new Set([Ce.AREA,Ce.BASE,Ce.BASEFONT,Ce.BGSOUND,Ce.BR,Ce.COL,Ce.EMBED,Ce.FRAME,Ce.HR,Ce.IMG,Ce.INPUT,Ce.KEYGEN,Ce.LINK,Ce.META,Ce.PARAM,Ce.SOURCE,Ce.TRACK,Ce.WBR]);function cn(n,a){return a.treeAdapter.isElementNode(n)&&a.treeAdapter.getNamespaceURI(n)===NS.HTML&&$r.has(a.treeAdapter.getTagName(n))}const Mn={treeAdapter:Tt,scriptingEnabled:!0};function Wn(n,a){const S=Cr(Cr({},Mn),a);return cn(n,S)?"":Jr(n,S)}function na(n,a){const S=Cr(Cr({},Mn),a);return tn(n,S)}function Jr(n,a){let S="";const ie=a.treeAdapter.isElementNode(n)&&a.treeAdapter.getTagName(n)===$.TEMPLATE&&a.treeAdapter.getNamespaceURI(n)===NS.HTML?a.treeAdapter.getTemplateContent(n):n,Ye=a.treeAdapter.getChildNodes(ie);if(Ye)for(const At of Ye)S+=tn(At,a);return S}function tn(n,a){return a.treeAdapter.isElementNode(n)?ia(n,a):a.treeAdapter.isTextNode(n)?ra(n,a):a.treeAdapter.isCommentNode(n)?ga(n,a):a.treeAdapter.isDocumentTypeNode(n)?Ya(n,a):""}function ia(n,a){const S=a.treeAdapter.getTagName(n);return`<${S}${ka(n,a)}>${cn(n,a)?"":`${Jr(n,a)}</${S}>`}`}function ka(n,{treeAdapter:a}){let S="";for(const ie of a.getAttrList(n)){if(S+=" ",ie.namespace)switch(ie.namespace){case NS.XML:{S+=`xml:${ie.name}`;break}case NS.XMLNS:{ie.name!=="xmlns"&&(S+="xmlns:"),S+=ie.name;break}case NS.XLINK:{S+=`xlink:${ie.name}`;break}default:S+=`${ie.prefix}:${ie.name}`}else S+=ie.name;S+=`="${escapeAttribute(ie.value)}"`}return S}function ra(n,a){const{treeAdapter:S}=a,ie=S.getTextNodeContent(n),Ye=S.getParentNode(n),At=Ye&&S.isElementNode(Ye)&&S.getTagName(Ye);return At&&S.getNamespaceURI(Ye)===NS.HTML&&hasUnescapedText(At,a.scriptingEnabled)?ie:escapeText(ie)}function ga(n,{treeAdapter:a}){return`<!--${a.getCommentNodeContent(n)}-->`}function Ya(n,{treeAdapter:a}){return`<!DOCTYPE ${a.getDocumentTypeNodeName(n)}>`}function da(n,a){return Parser.parse(n,a)}function nr(n,a,S){typeof n=="string"&&(S=a,a=n,n=null);const ie=Parser.getFragmentParser(n,S);return ie.tokenizer.write(a,!0),ie.getFragment()}var ir=r(17970),Fr=r(10528);const Sa=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,_a=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ti={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function vi(n,a){const S=$o(n),ie=M("type",{handlers:{root:wi,element:zi,text:ot,comment:Fo,doctype:yi,raw:Zo},unknown:Ga}),Ye={parser:S?new Ra(ti):Ra.getFragmentParser(void 0,ti),handle(Pn){ie(Pn,Ye)},stitches:!1,options:a||{}};ie(n,Ye),Di(Ye,(0,ir.Pk)());const At=S?Ye.parser.document:Ye.parser.getFragment(),Gt=G(At,{file:Ye.options.file});return Ye.stitches&&(0,Fr.Vn)(Gt,"comment",function(Pn,er,Ot){const ln=Pn;if(ln.value.stitch&&Ot&&er!==void 0){const ur=Ot.children;return ur[er]=ln.value.stitch,er}}),Gt.type==="root"&&Gt.children.length===1&&Gt.children[0].type===n.type?Gt.children[0]:Gt}function et(n,a){let S=-1;if(n)for(;++S<n.length;)a.handle(n[S])}function wi(n,a){et(n.children,a)}function zi(n,a){Xi(n,a),et(n.children,a),Qi(n,a)}function ot(n,a){a.parser.tokenizer.state>4&&(a.parser.tokenizer.state=0);const S={type:Ht.CHARACTER,chars:n.value,location:mo(n)};Di(a,(0,ir.Pk)(n)),a.parser.currentToken=S,a.parser._processToken(a.parser.currentToken)}function yi(n,a){const S={type:Ht.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:mo(n)};Di(a,(0,ir.Pk)(n)),a.parser.currentToken=S,a.parser._processToken(a.parser.currentToken)}function Gi(n,a){a.stitches=!0;const S=qo(n);if("children"in n&&"children"in S){const ie=vi({type:"root",children:n.children},a.options);S.children=ie.children}Fo({type:"comment",value:{stitch:S}},a)}function Fo(n,a){const S=n.value,ie={type:Ht.COMMENT,data:S,location:mo(n)};Di(a,(0,ir.Pk)(n)),a.parser.currentToken=ie,a.parser._processToken(a.parser.currentToken)}function Zo(n,a){if(a.parser.tokenizer.preprocessor.html="",a.parser.tokenizer.preprocessor.pos=-1,a.parser.tokenizer.preprocessor.lastGapPos=-2,a.parser.tokenizer.preprocessor.gapStack=[],a.parser.tokenizer.preprocessor.skipNextNewLine=!1,a.parser.tokenizer.preprocessor.lastChunkWritten=!1,a.parser.tokenizer.preprocessor.endOfChunkHit=!1,a.parser.tokenizer.preprocessor.isEol=!1,ni(a,(0,ir.Pk)(n)),a.parser.tokenizer.write(a.options.tagfilter?n.value.replace(Sa,"&lt;$1$2"):n.value,!1),a.parser.tokenizer._runParsingLoop(),a.parser.tokenizer.state===72||a.parser.tokenizer.state===78){a.parser.tokenizer.preprocessor.lastChunkWritten=!0;const S=a.parser.tokenizer._consume();a.parser.tokenizer._callState(S)}}function Ga(n,a){const S=n;if(a.options.passThrough&&a.options.passThrough.includes(S.type))Gi(S,a);else{let ie="";throw _a.has(S.type)&&(ie=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+S.type+"` node"+ie)}}function Di(n,a){ni(n,a);const S=n.parser.tokenizer.currentCharacterToken;S&&S.location&&(S.location.endLine=n.parser.tokenizer.preprocessor.line,S.location.endCol=n.parser.tokenizer.preprocessor.col+1,S.location.endOffset=n.parser.tokenizer.preprocessor.offset+1,n.parser.currentToken=S,n.parser._processToken(n.parser.currentToken)),n.parser.tokenizer.paused=!1,n.parser.tokenizer.inLoop=!1,n.parser.tokenizer.active=!1,n.parser.tokenizer.returnState=Sn.DATA,n.parser.tokenizer.charRefCode=-1,n.parser.tokenizer.consumedAfterSnapshot=-1,n.parser.tokenizer.currentLocation=null,n.parser.tokenizer.currentCharacterToken=null,n.parser.tokenizer.currentToken=null,n.parser.tokenizer.currentAttr={name:"",value:""}}function ni(n,a){if(a&&a.offset!==void 0){const S={startLine:a.line,startCol:a.column,startOffset:a.offset,endLine:-1,endCol:-1,endOffset:-1};n.parser.tokenizer.preprocessor.lineStartPos=-a.column+1,n.parser.tokenizer.preprocessor.droppedBufferSize=a.offset,n.parser.tokenizer.preprocessor.line=a.line,n.parser.tokenizer.currentLocation=S}}function Xi(n,a){const S=n.tagName.toLowerCase();if(a.parser.tokenizer.state===Sn.PLAINTEXT)return;Di(a,(0,ir.Pk)(n));const ie=a.parser.openElements.current;let Ye="namespaceURI"in ie?ie.namespaceURI:D.t.html;Ye===D.t.html&&S==="svg"&&(Ye=D.t.svg);const At=Ee(ts(Cr({},n),{children:[]}),{space:Ye===D.t.svg?"svg":"html"}),Gt={type:Ht.START_TAG,tagName:S,tagID:qt(S),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in At?At.attrs:[],location:mo(n)};a.parser.currentToken=Gt,a.parser._processToken(a.parser.currentToken),a.parser.tokenizer.lastStartTagName=S}function Qi(n,a){const S=n.tagName.toLowerCase();if(!a.parser.tokenizer.inForeignNode&&at.includes(S)||a.parser.tokenizer.state===Sn.PLAINTEXT)return;Di(a,(0,ir.rb)(n));const ie={type:Ht.END_TAG,tagName:S,tagID:qt(S),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:mo(n)};a.parser.currentToken=ie,a.parser._processToken(a.parser.currentToken),S===a.parser.tokenizer.lastStartTagName&&(a.parser.tokenizer.state===Sn.RCDATA||a.parser.tokenizer.state===Sn.RAWTEXT||a.parser.tokenizer.state===Sn.SCRIPT_DATA)&&(a.parser.tokenizer.state=Sn.DATA)}function $o(n){const a=n.type==="root"?n.children[0]:n;return!!(a&&(a.type==="doctype"||a.type==="element"&&a.tagName.toLowerCase()==="html"))}function mo(n){const a=(0,ir.Pk)(n)||{line:void 0,column:void 0,offset:void 0},S=(0,ir.rb)(n)||{line:void 0,column:void 0,offset:void 0};return{startLine:a.line,startCol:a.column,startOffset:a.offset,endLine:S.line,endCol:S.column,endOffset:S.offset}}function qo(n){return"children"in n?(0,y.ZP)(ts(Cr({},n),{children:[]})):(0,y.ZP)(n)}function is(n){return function(a,S){return vi(a,ts(Cr({},n),{file:S}))}}},10787:function(x,c,r){"use strict";r.d(c,{Z:function(){return I}});function u(ae){if(typeof ae!="string")throw new TypeError("Expected a string");return ae.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var y=r(2348),v=r(10502);function b(ae,G,be){const ce=be||{},ue=(0,v.O)(ce.ignore||[]),te=k(G);let X=-1;for(;++X<te.length;)(0,y.S4)(ae,"text",q);function q(j,P){let U=-1,_;for(;++U<P.length;){const J=P[U],de=_?_.children:void 0;if(ue(J,de?de.indexOf(J):void 0,_))return;_=J}if(_)return Z(j,P)}function Z(j,P){const U=P[P.length-1],_=te[X][0],J=te[X][1];let de=0;const fe=U.children.indexOf(j);let re=!1,V=[];_.lastIndex=0;let le=_.exec(j.value);for(;le;){const ne=le.index,ge={index:le.index,input:le.input,stack:[...P,j]};let Le=J(...le,ge);if(typeof Le=="string"&&(Le=Le.length>0?{type:"text",value:Le}:void 0),Le===!1?_.lastIndex=ne+1:(de!==ne&&V.push({type:"text",value:j.value.slice(de,ne)}),Array.isArray(Le)?V.push(...Le):Le&&V.push(Le),de=ne+le[0].length,re=!0),!_.global)break;le=_.exec(j.value)}return re?(de<j.value.length&&V.push({type:"text",value:j.value.slice(de)}),U.children.splice(fe,1,...V)):V=[j],fe+V.length}}function k(ae){const G=[];if(!Array.isArray(ae))throw new TypeError("Expected find and replace tuple or list of tuples");const be=!ae[0]||Array.isArray(ae[0])?ae:[ae];let ce=-1;for(;++ce<be.length;){const ue=be[ce];G.push([f(ue[0]),R(ue[1])])}return G}function f(ae){return typeof ae=="string"?new RegExp(u(ae),"g"):ae}function R(ae){return typeof ae=="function"?ae:function(){return ae}}function z(ae){b(ae,[/\r?\n|\r/g,D])}function D(){return{type:"break"}}function I(){return function(ae){z(ae)}}},30084:function(x,c,r){"use strict";r.d(c,{Z:function(){return te}});var u=r(87342);function y(X,q){const Z=String(X);let j=Z.indexOf(q),P=j,U=0,_=0;if(typeof q!="string")throw new TypeError("Expected substring");for(;j!==-1;)j===P?++U>_&&(_=U):U=1,P=j+q.length,j=Z.indexOf(q,P);return _}function v(){return{enter:{mathFlow:X,mathFlowFenceMeta:q,mathText:U},exit:{mathFlow:P,mathFlowFence:j,mathFlowFenceMeta:Z,mathFlowValue:J,mathText:_,mathTextData:J}};function X(de){const H={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[H]}},de)}function q(){this.buffer()}function Z(){const de=this.resume(),H=this.stack[this.stack.length-1];(0,u.ok)(H.type==="math"),H.meta=de}function j(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function P(de){const H=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),fe=this.stack[this.stack.length-1];(0,u.ok)(fe.type==="math"),this.exit(de),fe.value=H;const re=fe.data.hChildren[0];(0,u.ok)(re.type==="element"),(0,u.ok)(re.tagName==="code"),re.children.push({type:"text",value:H}),this.data.mathFlowInside=void 0}function U(de){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},de),this.buffer()}function _(de){const H=this.resume(),fe=this.stack[this.stack.length-1];(0,u.ok)(fe.type==="inlineMath"),this.exit(de),fe.value=H,fe.data.hChildren.push({type:"text",value:H})}function J(de){this.config.enter.data.call(this,de),this.config.exit.data.call(this,de)}}function b(X){let q=(X||{}).singleDollarTextMath;return q==null&&(q=!0),j.peek=P,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:q?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:Z,inlineMath:j}};function Z(U,_,J,de){const H=U.value||"",fe=J.createTracker(de),re="$".repeat(Math.max(y(H,"$")+1,2)),V=J.enter("mathFlow");let le=fe.move(re);if(U.meta){const ne=J.enter("mathFlowMeta");le+=fe.move(J.safe(U.meta,Cr({after:`
`,before:le,encode:["$"]},fe.current()))),ne()}return le+=fe.move(`
`),H&&(le+=fe.move(H+`
`)),le+=fe.move(re),V(),le}function j(U,_,J){let de=U.value||"",H=1;for(q||H++;new RegExp("(^|[^$])"+"\\$".repeat(H)+"([^$]|$)").test(de);)H++;const fe="$".repeat(H);/[^ \r\n]/.test(de)&&(/^[ \r\n]/.test(de)&&/[ \r\n]$/.test(de)||/^\$|\$$/.test(de))&&(de=" "+de+" ");let re=-1;for(;++re<J.unsafe.length;){const V=J.unsafe[re];if(!V.atBreak)continue;const le=J.compilePattern(V);let ne;for(;ne=le.exec(de);){let ge=ne.index;de.codePointAt(ge)===10&&de.codePointAt(ge-1)===13&&ge--,de=de.slice(0,ge)+" "+de.slice(ne.index+1)}}return fe+de+fe}function P(){return"$"}}var k=r(26735),f=r(80722);const R={tokenize:D,concrete:!0,name:"mathFlow"},z={tokenize:I,partial:!0};function D(X,q,Z){const j=this,P=j.events[j.events.length-1],U=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0;let _=0;return J;function J(Ie){return X.enter("mathFlow"),X.enter("mathFlowFence"),X.enter("mathFlowFenceSequence"),de(Ie)}function de(Ie){return Ie===36?(X.consume(Ie),_++,de):_<2?Z(Ie):(X.exit("mathFlowFenceSequence"),(0,k.f)(X,H,"whitespace")(Ie))}function H(Ie){return Ie===null||(0,f.Ch)(Ie)?re(Ie):(X.enter("mathFlowFenceMeta"),X.enter("chunkString",{contentType:"string"}),fe(Ie))}function fe(Ie){return Ie===null||(0,f.Ch)(Ie)?(X.exit("chunkString"),X.exit("mathFlowFenceMeta"),re(Ie)):Ie===36?Z(Ie):(X.consume(Ie),fe)}function re(Ie){return X.exit("mathFlowFence"),j.interrupt?q(Ie):X.attempt(z,V,Le)(Ie)}function V(Ie){return X.attempt({tokenize:Re,partial:!0},Le,le)(Ie)}function le(Ie){return(U?(0,k.f)(X,ne,"linePrefix",U+1):ne)(Ie)}function ne(Ie){return Ie===null?Le(Ie):(0,f.Ch)(Ie)?X.attempt(z,V,Le)(Ie):(X.enter("mathFlowValue"),ge(Ie))}function ge(Ie){return Ie===null||(0,f.Ch)(Ie)?(X.exit("mathFlowValue"),ne(Ie)):(X.consume(Ie),ge)}function Le(Ie){return X.exit("mathFlow"),q(Ie)}function Re(Ie,He,oe){let F=0;return(0,k.f)(Ie,L,"linePrefix",j.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(Ne){return Ie.enter("mathFlowFence"),Ie.enter("mathFlowFenceSequence"),we(Ne)}function we(Ne){return Ne===36?(F++,Ie.consume(Ne),we):F<_?oe(Ne):(Ie.exit("mathFlowFenceSequence"),(0,k.f)(Ie,Ue,"whitespace")(Ne))}function Ue(Ne){return Ne===null||(0,f.Ch)(Ne)?(Ie.exit("mathFlowFence"),He(Ne)):oe(Ne)}}}function I(X,q,Z){const j=this;return P;function P(_){return _===null?q(_):(X.enter("lineEnding"),X.consume(_),X.exit("lineEnding"),U)}function U(_){return j.parser.lazy[j.now().line]?Z(_):q(_)}}function ae(X){let Z=(X||{}).singleDollarTextMath;return Z==null&&(Z=!0),{tokenize:j,resolve:G,previous:be,name:"mathText"};function j(P,U,_){const J=this;let de=0,H,fe;return re;function re(Le){return P.enter("mathText"),P.enter("mathTextSequence"),V(Le)}function V(Le){return Le===36?(P.consume(Le),de++,V):de<2&&!Z?_(Le):(P.exit("mathTextSequence"),le(Le))}function le(Le){return Le===null?_(Le):Le===36?(fe=P.enter("mathTextSequence"),H=0,ge(Le)):Le===32?(P.enter("space"),P.consume(Le),P.exit("space"),le):(0,f.Ch)(Le)?(P.enter("lineEnding"),P.consume(Le),P.exit("lineEnding"),le):(P.enter("mathTextData"),ne(Le))}function ne(Le){return Le===null||Le===32||Le===36||(0,f.Ch)(Le)?(P.exit("mathTextData"),le(Le)):(P.consume(Le),ne)}function ge(Le){return Le===36?(P.consume(Le),H++,ge):H===de?(P.exit("mathTextSequence"),P.exit("mathText"),U(Le)):(fe.type="mathTextData",ne(Le))}}}function G(X){let q=X.length-4,Z=3,j,P;if((X[Z][1].type==="lineEnding"||X[Z][1].type==="space")&&(X[q][1].type==="lineEnding"||X[q][1].type==="space")){for(j=Z;++j<q;)if(X[j][1].type==="mathTextData"){X[q][1].type="mathTextPadding",X[Z][1].type="mathTextPadding",Z+=2,q-=2;break}}for(j=Z-1,q++;++j<=q;)P===void 0?j!==q&&X[j][1].type!=="lineEnding"&&(P=j):(j===q||X[j][1].type==="lineEnding")&&(X[P][1].type="mathTextData",j!==P+2&&(X[P][1].end=X[j-1][1].end,X.splice(P+2,j-P-2),q-=j-P-2,j=P+2),P=void 0);return X}function be(X){return X!==36||this.events[this.events.length-1][1].type==="characterEscape"}function ce(X){return{flow:{36:R},text:{36:ae(X)}}}const ue={};function te(X){const q=this,Z=X||ue,j=q.data(),P=j.micromarkExtensions||(j.micromarkExtensions=[]),U=j.fromMarkdownExtensions||(j.fromMarkdownExtensions=[]),_=j.toMarkdownExtensions||(j.toMarkdownExtensions=[]);P.push(ce(Z)),U.push(v()),_.push(b(Z))}},16722:function(x,c,r){"use strict";r.d(c,{Z:function(){return z}});const u=D=>typeof D=="object"&&D!=null&&D.nodeType===1,y=(D,I)=>(!I||D!=="hidden")&&D!=="visible"&&D!=="clip",v=(D,I)=>{if(D.clientHeight<D.scrollHeight||D.clientWidth<D.scrollWidth){const ae=getComputedStyle(D,null);return y(ae.overflowY,I)||y(ae.overflowX,I)||(G=>{const be=(ce=>{if(!ce.ownerDocument||!ce.ownerDocument.defaultView)return null;try{return ce.ownerDocument.defaultView.frameElement}catch(ue){return null}})(G);return!!be&&(be.clientHeight<G.scrollHeight||be.clientWidth<G.scrollWidth)})(D)}return!1},b=(D,I,ae,G,be,ce,ue,te)=>ce<D&&ue>I||ce>D&&ue<I?0:ce<=D&&te<=ae||ue>=I&&te>=ae?ce-D-G:ue>I&&te<ae||ce<D&&te>ae?ue-I+be:0,k=D=>{const I=D.parentElement;return I==null?D.getRootNode().host||null:I},f=(D,I)=>{var ae,G,be,ce;if(typeof document=="undefined")return[];const{scrollMode:ue,block:te,inline:X,boundary:q,skipOverflowHiddenElements:Z}=I,j=typeof q=="function"?q:Ue=>Ue!==q;if(!u(D))throw new TypeError("Invalid target");const P=document.scrollingElement||document.documentElement,U=[];let _=D;for(;u(_)&&j(_);){if(_=k(_),_===P){U.push(_);break}_!=null&&_===document.body&&v(_)&&!v(document.documentElement)||_!=null&&v(_,Z)&&U.push(_)}const J=(G=(ae=window.visualViewport)==null?void 0:ae.width)!=null?G:innerWidth,de=(ce=(be=window.visualViewport)==null?void 0:be.height)!=null?ce:innerHeight,{scrollX:H,scrollY:fe}=window,{height:re,width:V,top:le,right:ne,bottom:ge,left:Le}=D.getBoundingClientRect(),{top:Re,right:Ie,bottom:He,left:oe}=(Ue=>{const Ne=window.getComputedStyle(Ue);return{top:parseFloat(Ne.scrollMarginTop)||0,right:parseFloat(Ne.scrollMarginRight)||0,bottom:parseFloat(Ne.scrollMarginBottom)||0,left:parseFloat(Ne.scrollMarginLeft)||0}})(D);let F=te==="start"||te==="nearest"?le-Re:te==="end"?ge+He:le+re/2-Re+He,L=X==="center"?Le+V/2-oe+Ie:X==="end"?ne+Ie:Le-oe;const we=[];for(let Ue=0;Ue<U.length;Ue++){const Ne=U[Ue],{height:xt,width:pt,top:Lt,right:ze,bottom:Te,left:_e}=Ne.getBoundingClientRect();if(ue==="if-needed"&&le>=0&&Le>=0&&ge<=de&&ne<=J&&(Ne===P&&!v(Ne)||le>=Lt&&ge<=Te&&Le>=_e&&ne<=ze))return we;const $e=getComputedStyle(Ne),St=parseInt($e.borderLeftWidth,10),A=parseInt($e.borderTopWidth,10),p=parseInt($e.borderRightWidth,10),d=parseInt($e.borderBottomWidth,10);let T=0,O=0;const g="offsetWidth"in Ne?Ne.offsetWidth-Ne.clientWidth-St-p:0,M="offsetHeight"in Ne?Ne.offsetHeight-Ne.clientHeight-A-d:0,xe="offsetWidth"in Ne?Ne.offsetWidth===0?0:pt/Ne.offsetWidth:0,tt="offsetHeight"in Ne?Ne.offsetHeight===0?0:xt/Ne.offsetHeight:0;if(P===Ne)T=te==="start"?F:te==="end"?F-de:te==="nearest"?b(fe,fe+de,de,A,d,fe+F,fe+F+re,re):F-de/2,O=X==="start"?L:X==="center"?L-J/2:X==="end"?L-J:b(H,H+J,J,St,p,H+L,H+L+V,V),T=Math.max(0,T+fe),O=Math.max(0,O+H);else{T=te==="start"?F-Lt-A:te==="end"?F-Te+d+M:te==="nearest"?b(Lt,Te,xt,A,d+M,F,F+re,re):F-(Lt+xt/2)+M/2,O=X==="start"?L-_e-St:X==="center"?L-(_e+pt/2)+g/2:X==="end"?L-ze+p+g:b(_e,ze,pt,St,p+g,L,L+V,V);const{scrollLeft:nt,scrollTop:Ee}=Ne;T=tt===0?0:Math.max(0,Math.min(Ee+T/tt,Ne.scrollHeight-xt/tt+M)),O=xe===0?0:Math.max(0,Math.min(nt+O/xe,Ne.scrollWidth-pt/xe+g)),F+=Ee-T,L+=nt-O}we.push({el:Ne,top:T,left:O})}return we},R=D=>D===!1?{block:"end",inline:"nearest"}:(I=>I===Object(I)&&Object.keys(I).length!==0)(D)?D:{block:"start",inline:"nearest"};function z(D,I){if(!D.isConnected||!(be=>{let ce=be;for(;ce&&ce.parentNode;){if(ce.parentNode===document)return!0;ce=ce.parentNode instanceof ShadowRoot?ce.parentNode.host:ce.parentNode}return!1})(D))return;const ae=(be=>{const ce=window.getComputedStyle(be);return{top:parseFloat(ce.scrollMarginTop)||0,right:parseFloat(ce.scrollMarginRight)||0,bottom:parseFloat(ce.scrollMarginBottom)||0,left:parseFloat(ce.scrollMarginLeft)||0}})(D);if((be=>typeof be=="object"&&typeof be.behavior=="function")(I))return I.behavior(f(D,I));const G=typeof I=="boolean"||I==null?void 0:I.behavior;for(const{el:be,top:ce,left:ue}of f(D,R(I))){const te=ce-ae.top+ae.bottom,X=ue-ae.left+ae.right;be.scroll({top:te,left:X,behavior:G})}}},71523:function(x,c,r){"use strict";r.d(c,{P:function(){return y},Q:function(){return u}});function u(v){const b=String(v||"").trim();return b?b.split(/[ \t\n\r\f]+/g):[]}function y(v){return v.join(" ").trim()}},10502:function(x,c,r){"use strict";r.d(c,{O:function(){return y}});const u=function(D,I,ae,G,be){const ce=y(I);if(ae!=null&&(typeof ae!="number"||ae<0||ae===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(G!=null&&(!u(G)||!G.children))throw new Error("Expected parent node");if(G==null!=(ae==null))throw new Error("Expected both parent and index");return z(D)?ce.call(be,D,ae,G):!1},y=function(D){if(D==null)return R;if(typeof D=="function")return f(D);if(typeof D=="object")return Array.isArray(D)?v(D):b(D);if(typeof D=="string")return k(D);throw new Error("Expected function, string, or object as test")};function v(D){const I=[];let ae=-1;for(;++ae<D.length;)I[ae]=y(D[ae]);return f(G);function G(...be){let ce=-1;for(;++ce<I.length;)if(I[ce].apply(this,be))return!0;return!1}}function b(D){const I=D;return f(ae);function ae(G){const be=G;let ce;for(ce in D)if(be[ce]!==I[ce])return!1;return!0}}function k(D){return f(I);function I(ae){return ae&&ae.type===D}}function f(D){return I;function I(ae,G,be){return!!(z(ae)&&D.call(this,ae,typeof G=="number"?G:void 0,be||void 0))}}function R(){return!0}function z(D){return D!==null&&typeof D=="object"&&"type"in D}},17970:function(x,c,r){"use strict";r.d(c,{FK:function(){return b},Pk:function(){return y},rb:function(){return u}});const u=v("end"),y=v("start");function v(k){return f;function f(R){const z=R&&R.position&&R.position[k]||{};if(typeof z.line=="number"&&z.line>0&&typeof z.column=="number"&&z.column>0)return{line:z.line,column:z.column,offset:typeof z.offset=="number"&&z.offset>-1?z.offset:void 0}}}function b(k){const f=y(k),R=u(k);if(f&&R)return{start:f,end:R}}},2348:function(x,c,r){"use strict";r.d(c,{AM:function(){return f},S4:function(){return R}});var u=r(10502);function y(D){return D}const v=[],b=!0,k=!1,f="skip";function R(D,I,ae,G){let be;typeof I=="function"&&typeof ae!="function"?(G=ae,ae=I):be=I;const ce=(0,u.O)(be),ue=G?-1:1;te(D,void 0,[])();function te(X,q,Z){const j=X&&typeof X=="object"?X:{};if(typeof j.type=="string"){const U=typeof j.tagName=="string"?j.tagName:typeof j.name=="string"?j.name:void 0;Object.defineProperty(P,"name",{value:"node ("+(X.type+(U?"<"+U+">":""))+")"})}return P;function P(){let U=v,_,J,de;if((!I||ce(X,q,Z[Z.length-1]||void 0))&&(U=z(ae(X,Z)),U[0]===k))return U;if("children"in X&&X.children){const H=X;if(H.children&&U[0]!==f)for(J=(G?H.children.length:-1)+ue,de=Z.concat(H);J>-1&&J<H.children.length;){const fe=H.children[J];if(_=te(fe,J,de)(),_[0]===k)return _;J=typeof _[1]=="number"?_[1]:J+ue}}return U}}}function z(D){return Array.isArray(D)?D:typeof D=="number"?[b,D]:D==null?v:[D]}},10528:function(x,c,r){"use strict";r.d(c,{Vn:function(){return y}});var u=r(2348);function y(v,b,k,f){let R,z,D;typeof b=="function"&&typeof k!="function"?(z=void 0,D=b,R=k):(z=b,D=k,R=f),(0,u.S4)(v,z,I,R);function I(ae,G){const be=G[G.length-1],ce=be?be.children.indexOf(ae):void 0;return D(ae,ce,be)}}},43309:function(x,c,r){"use strict";r.d(c,{t:function(){return u}});const u={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},47854:function(x){"use strict";x.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(x){"use strict";x.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]);
}());