1742 lines
985 KiB
JavaScript
1742 lines
985 KiB
JavaScript
(function(){
|
||
shadow$provide[464]=function(ya,ba,Ta,I){(function(v,Y){"object"===typeof I&&"undefined"!==typeof Ta?Ta.exports=Y():"function"===typeof define&&define.amd?define(Y):(v=v||self,v.CodeMirror=Y())})(this,function(){function v(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}function Y(x){for(var ca=x.childNodes.length;0<ca;--ca)x.removeChild(x.firstChild);return x}function y(x,ca){return Y(x).appendChild(ca)}function n(x,ca,Aa,xa){x=document.createElement(x);Aa&&(x.className=Aa);xa&&(x.style.cssText=
|
||
xa);if("string"==typeof ca)x.appendChild(document.createTextNode(ca));else if(ca)for(Aa=0;Aa<ca.length;++Aa)x.appendChild(ca[Aa]);return x}function b(x,ca,Aa,xa){x=n(x,ca,Aa,xa);x.setAttribute("role","presentation");return x}function u(x,ca){3==ca.nodeType&&(ca=ca.parentNode);if(x.contains)return x.contains(ca);do if(11==ca.nodeType&&(ca=ca.host),ca==x)return!0;while(ca=ca.parentNode)}function z(x){try{var ca=x.activeElement}catch(Aa){ca=x.body||null}for(;ca&&ca.shadowRoot&&ca.shadowRoot.activeElement;)ca=
|
||
ca.shadowRoot.activeElement;return ca}function A(x,ca){var Aa=x.className;v(ca).test(Aa)||(x.className+=(Aa?" ":"")+ca)}function B(x,ca){x=x.split(" ");for(var Aa=0;Aa<x.length;Aa++)x[Aa]&&!v(x[Aa]).test(ca)&&(ca+=" "+x[Aa]);return ca}function J(x){return x.display.wrapper.ownerDocument}function g(x){var ca=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,ca)}}function h(x,ca,Aa){ca||={};for(var xa in x)!x.hasOwnProperty(xa)||!1===Aa&&ca.hasOwnProperty(xa)||(ca[xa]=x[xa]);
|
||
return ca}function c(x,ca,Aa,xa,Ia){null==ca&&(ca=x.search(/[^\s\u00a0]/),-1==ca&&(ca=x.length));xa=xa||0;for(Ia=Ia||0;;){var $a=x.indexOf("\t",xa);if(0>$a||$a>=ca)return Ia+(ca-xa);Ia+=$a-xa;Ia+=Aa-Ia%Aa;xa=$a+1}}function p(x,ca){for(var Aa=0;Aa<x.length;++Aa)if(x[Aa]==ca)return Aa;return-1}function m(x,ca,Aa){for(var xa=0,Ia=0;;){var $a=x.indexOf("\t",xa);-1==$a&&($a=x.length);var lb=$a-xa;if($a==x.length||Ia+lb>=ca)return xa+Math.min(lb,ca-Ia);Ia+=$a-xa;Ia+=Aa-Ia%Aa;xa=$a+1;if(Ia>=ca)return xa}}
|
||
function q(x){for(;mn.length<=x;)mn.push(E(mn)+" ");return mn[x]}function E(x){return x[x.length-1]}function w(x,ca){for(var Aa=[],xa=0;xa<x.length;xa++)Aa[xa]=ca(x[xa],xa);return Aa}function t(x,ca,Aa){for(var xa=0,Ia=Aa(ca);xa<x.length&&Aa(x[xa])<=Ia;)xa++;x.splice(xa,0,ca)}function r(){}function f(x,ca){Object.create?x=Object.create(x):(r.prototype=x,x=new r);ca&&h(ca,x);return x}function F(x){return/\w/.test(x)||""<x&&(x.toUpperCase()!=x.toLowerCase()||ym.test(x))}function C(x,ca){return ca?
|
||
-1<ca.source.indexOf("\\w")&&F(x)?!0:ca.test(x):F(x)}function M(x){for(var ca in x)if(x.hasOwnProperty(ca)&&x[ca])return!1;return!0}function aa(x){return 768<=x.charCodeAt(0)&&El.test(x)}function O(x,ca,Aa){for(;(0>Aa?0<ca:ca<x.length)&&aa(x.charAt(ca));)ca+=Aa;return ca}function U(x,ca,Aa){for(var xa=ca>Aa?-1:1;;){if(ca==Aa)return ca;var Ia=(ca+Aa)/2;Ia=0>xa?Math.ceil(Ia):Math.floor(Ia);if(Ia==ca)return x(Ia)?ca:Aa;x(Ia)?Aa=Ia:ca=Ia+xa}}function P(x,ca,Aa,xa){if(!x)return xa(ca,Aa,"ltr",0);for(var Ia=
|
||
!1,$a=0;$a<x.length;++$a){var lb=x[$a];if(lb.from<Aa&&lb.to>ca||ca==Aa&&lb.to==ca)xa(Math.max(lb.from,ca),Math.min(lb.to,Aa),1==lb.level?"rtl":"ltr",$a),Ia=!0}Ia||xa(ca,Aa,"ltr")}function V(x,ca,Aa){var xa;kn=null;for(var Ia=0;Ia<x.length;++Ia){var $a=x[Ia];if($a.from<ca&&$a.to>ca)return Ia;$a.to==ca&&($a.from!=$a.to&&"before"==Aa?xa=Ia:kn=Ia);$a.from==ca&&($a.from!=$a.to&&"before"!=Aa?xa=Ia:kn=Ia)}return null!=xa?xa:kn}function T(x,ca){var Aa=x.order;null==Aa&&(Aa=x.order=mo(x.text,ca));return Aa}
|
||
function K(x,ca,Aa){if(x.removeEventListener)x.removeEventListener(ca,Aa,!1);else if(x.detachEvent)x.detachEvent("on"+ca,Aa);else{var xa=(x=x._handlers)&&x[ca];xa&&(Aa=p(xa,Aa),-1<Aa&&(x[ca]=xa.slice(0,Aa).concat(xa.slice(Aa+1))))}}function D(x,ca){var Aa=x._handlers&&x._handlers[ca]||no;if(Aa.length)for(var xa=Array.prototype.slice.call(arguments,2),Ia=0;Ia<Aa.length;++Ia)Aa[Ia].apply(null,xa)}function L(x,ca,Aa){"string"==typeof ca&&(ca={type:ca,preventDefault:function(){this.defaultPrevented=!0}});
|
||
D(x,Aa||ca.type,x,ca);return X(ca)||ca.codemirrorIgnore}function Q(x){var ca=x._handlers&&x._handlers.cursorActivity;if(ca){x=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]);for(var Aa=0;Aa<ca.length;++Aa)-1==p(x,ca[Aa])&&x.push(ca[Aa])}}function N(x,ca){return 0<(x._handlers&&x._handlers[ca]||no).length}function la(x){x.prototype.on=function(ca,Aa){Dg(this,ca,Aa)};x.prototype.off=function(ca,Aa){K(this,ca,Aa)}}function R(x){x.preventDefault?x.preventDefault():x.returnValue=!1}
|
||
function Z(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function X(x){return null!=x.defaultPrevented?x.defaultPrevented:0==x.returnValue}function S(x){R(x);Z(x)}function ha(x){var ca=x.which;null==ca&&(x.button&1?ca=1:x.button&2?ca=3:x.button&4&&(ca=2));Uk&&x.ctrlKey&&1==ca&&(ca=3);return ca}function W(x,ca){2<arguments.length&&(ca.dependencies=Array.prototype.slice.call(arguments,2));po[x]=ca}function ra(x){if("string"==typeof x&&Lm.hasOwnProperty(x))x=Lm[x];else if(x&&"string"==typeof x.name&&
|
||
Lm.hasOwnProperty(x.name)){var ca=Lm[x.name];"string"==typeof ca&&(ca={name:ca});x=f(ca,x);x.name=ca.name}else{if("string"==typeof x&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return ra("application/xml");if("string"==typeof x&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return ra("application/json")}return"string"==typeof x?{name:x}:x||{name:"null"}}function wa(x,ca){ca=ra(ca);var Aa=po[ca.name];if(!Aa)return wa(x,"text/plain");x=Aa(x,ca);if(tl.hasOwnProperty(ca.name)){Aa=tl[ca.name];for(var xa in Aa)Aa.hasOwnProperty(xa)&&
|
||
(x.hasOwnProperty(xa)&&(x["_"+xa]=x[xa]),x[xa]=Aa[xa])}x.name=ca.name;ca.helperType&&(x.helperType=ca.helperType);if(ca.modeProps)for(var Ia in ca.modeProps)x[Ia]=ca.modeProps[Ia];return x}function va(x,ca){x=tl.hasOwnProperty(x)?tl[x]:tl[x]={};h(ca,x)}function Fa(x,ca){if(!0===ca)return ca;if(x.copyState)return x.copyState(ca);x={};for(var Aa in ca){var xa=ca[Aa];xa instanceof Array&&(xa=xa.concat([]));x[Aa]=xa}return x}function Ba(x,ca){for(var Aa;x.innerMode;){Aa=x.innerMode(ca);if(!Aa||Aa.mode==
|
||
x)break;ca=Aa.state;x=Aa.mode}return Aa||{mode:x,state:ca}}function Ka(x,ca,Aa){return x.startState?x.startState(ca,Aa):!0}function Oa(x,ca){ca-=x.first;if(0>ca||ca>=x.size)throw Error("There is no line "+(ca+x.first)+" in the document.");for(;!x.lines;)for(var Aa=0;;++Aa){var xa=x.children[Aa],Ia=xa.chunkSize();if(ca<Ia){x=xa;break}ca-=Ia}return x.lines[ca]}function Va(x,ca,Aa){var xa=[],Ia=ca.line;x.iter(ca.line,Aa.line+1,function($a){$a=$a.text;Ia==Aa.line&&($a=$a.slice(0,Aa.ch));Ia==ca.line&&
|
||
($a=$a.slice(ca.ch));xa.push($a);++Ia});return xa}function Ya(x,ca,Aa){var xa=[];x.iter(ca,Aa,function(Ia){xa.push(Ia.text)});return xa}function Ua(x,ca){if(ca-=x.height)for(;x;x=x.parent)x.height+=ca}function La(x){if(null==x.parent)return null;var ca=x.parent;x=p(ca.lines,x);for(var Aa=ca.parent;Aa;ca=Aa,Aa=Aa.parent)for(var xa=0;Aa.children[xa]!=ca;++xa)x+=Aa.children[xa].chunkSize();return x+ca.first}function ma(x,ca){var Aa=x.first;a:do{for(var xa=0;xa<x.children.length;++xa){var Ia=x.children[xa],
|
||
$a=Ia.height;if(ca<$a){x=Ia;continue a}ca-=$a;Aa+=Ia.chunkSize()}return Aa}while(!x.lines);for(xa=0;xa<x.lines.length;++xa){Ia=x.lines[xa].height;if(ca<Ia)break;ca-=Ia}return Aa+xa}function ja(x,ca){return ca>=x.first&&ca<x.first+x.size}function oa(x,ca){return String(x.lineNumberFormatter(ca+x.firstLineNumber))}function ia(x,ca,Aa){void 0===Aa&&(Aa=null);if(!(this instanceof ia))return new ia(x,ca,Aa);this.line=x;this.ch=ca;this.sticky=Aa}function sa(x,ca){return x.line-ca.line||x.ch-ca.ch}function Ea(x,
|
||
ca){return x.sticky==ca.sticky&&0==sa(x,ca)}function Qa(x){return ia(x.line,x.ch)}function Xa(x,ca){return 0>sa(x,ca)?ca:x}function Pa(x,ca){return 0>sa(x,ca)?x:ca}function cb(x,ca){if(ca.line<x.first)return ia(x.first,0);var Aa=x.first+x.size-1;if(ca.line>Aa)return ia(Aa,Oa(x,Aa).text.length);x=Oa(x,ca.line).text.length;Aa=ca.ch;ca=null==Aa||Aa>x?ia(ca.line,x):0>Aa?ia(ca.line,0):ca;return ca}function tb(x,ca){for(var Aa=[],xa=0;xa<ca.length;xa++)Aa[xa]=cb(x,ca[xa]);return Aa}function Mb(x,ca,Aa,
|
||
xa){var Ia=[x.state.modeGen],$a={};Yb(x,ca.text,x.doc.mode,Aa,function(Vb,wc){return Ia.push(Vb,wc)},$a,xa);var lb=Aa.state;xa=function(Vb){Aa.baseTokens=Ia;var wc=x.state.overlays[Vb],Lc=1,od=0;Aa.state=!0;Yb(x,ca.text,wc.mode,Aa,function(rd,xd){for(var oe=Lc;od<rd;){var Af=Ia[Lc];Af>rd&&Ia.splice(Lc,1,rd,Ia[Lc+1],Af);Lc+=2;od=Math.min(rd,Af)}if(xd)if(wc.opaque)Ia.splice(oe,Lc-oe,rd,"overlay "+xd),Lc=oe+2;else for(;oe<Lc;oe+=2)rd=Ia[oe+1],Ia[oe+1]=(rd?rd+" ":"")+"overlay "+xd},$a);Aa.state=lb;Aa.baseTokens=
|
||
null;Aa.baseTokenPos=1};for(var pb=0;pb<x.state.overlays.length;++pb)xa(pb);return{styles:Ia,classes:$a.bgClass||$a.textClass?$a:null}}function yb(x,ca,Aa){if(!ca.styles||ca.styles[0]!=x.state.modeGen){var xa=ob(x,La(ca)),Ia=ca.text.length>x.options.maxHighlightLength&&Fa(x.doc.mode,xa.state),$a=Mb(x,ca,xa);Ia&&(xa.state=Ia);ca.stateAfter=xa.save(!Ia);ca.styles=$a.styles;$a.classes?ca.styleClasses=$a.classes:ca.styleClasses&&(ca.styleClasses=null);Aa===x.doc.highlightFrontier&&(x.doc.modeFrontier=
|
||
Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return ca.styles}function ob(x,ca,Aa){var xa=x.doc,Ia=x.display;if(!xa.mode.startState)return new rm(xa,!0,ca);var $a=dc(x,ca,Aa),lb=$a>xa.first&&Oa(xa,$a-1).stateAfter,pb=lb?rm.fromSaved(xa,lb,$a):new rm(xa,Ka(xa.mode),$a);xa.iter($a,ca,function(Vb){Ja(x,Vb.text,pb);var wc=pb.line;Vb.stateAfter=wc==ca-1||0==wc%5||wc>=Ia.viewFrom&&wc<Ia.viewTo?pb.save():null;pb.nextLine()});Aa&&(xa.modeFrontier=pb.line);return pb}function Ja(x,ca,Aa,xa){var Ia=
|
||
x.doc.mode;x=new Mi(ca,x.options.tabSize,Aa);x.start=x.pos=xa||0;for(""==ca&&bb(Ia,Aa.state);!x.eol();)hb(Ia,x,Aa.state),x.start=x.pos}function bb(x,ca){if(x.blankLine)return x.blankLine(ca);if(x.innerMode&&(x=Ba(x,ca),x.mode.blankLine))return x.mode.blankLine(x.state)}function hb(x,ca,Aa,xa){for(var Ia=0;10>Ia;Ia++){xa&&(xa[0]=Ba(x,Aa).mode);var $a=x.token(ca,Aa);if(ca.pos>ca.start)return $a}throw Error("Mode "+x.name+" failed to advance stream.");}function Qb(x,ca,Aa,xa){var Ia=x.doc,$a=Ia.mode;
|
||
ca=cb(Ia,ca);var lb=Oa(Ia,ca.line);Aa=ob(x,ca.line,Aa);x=new Mi(lb.text,x.options.tabSize,Aa);var pb;for(xa&&(pb=[]);(xa||x.pos<ca.ch)&&!x.eol();){x.start=x.pos;var Vb=hb($a,x,Aa.state);xa&&pb.push(new Pp(x,Vb,Fa(Ia.mode,Aa.state)))}return xa?pb:new Pp(x,Vb,Aa.state)}function ub(x,ca){if(x)for(;;){var Aa=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Aa)break;x=x.slice(0,Aa.index)+x.slice(Aa.index+Aa[0].length);var xa=Aa[1]?"bgClass":"textClass";null==ca[xa]?ca[xa]=Aa[2]:(new RegExp("(?:^|\\s)"+
|
||
Aa[2]+"(?:$|\\s)")).test(ca[xa])||(ca[xa]+=" "+Aa[2])}return x}function Yb(x,ca,Aa,xa,Ia,$a,lb){var pb=Aa.flattenSpans;null==pb&&(pb=x.options.flattenSpans);var Vb=0,wc=null,Lc=new Mi(ca,x.options.tabSize,xa),od=x.options.addModeClass&&[null];for(""==ca&&ub(bb(Aa,xa.state),$a);!Lc.eol();){if(Lc.pos>x.options.maxHighlightLength){pb=!1;lb&&Ja(x,ca,xa,Lc.pos);Lc.pos=ca.length;var rd=null}else rd=ub(hb(Aa,Lc,xa.state,od),$a);if(od){var xd=od[0].name;xd&&(rd="m-"+(rd?xd+" "+rd:xd))}if(!pb||wc!=rd){for(;Vb<
|
||
Lc.start;)Vb=Math.min(Lc.start,Vb+5E3),Ia(Vb,wc);wc=rd}Lc.start=Lc.pos}for(;Vb<Lc.pos;)x=Math.min(Lc.pos,Vb+5E3),Ia(x,wc),Vb=x}function dc(x,ca,Aa){for(var xa,Ia,$a=x.doc,lb=Aa?-1:ca-(x.doc.mode.innerMode?1E3:100);ca>lb;--ca){if(ca<=$a.first)return $a.first;var pb=Oa($a,ca-1),Vb=pb.stateAfter;if(Vb&&(!Aa||ca+(Vb instanceof Ni?Vb.lookAhead:0)<=$a.modeFrontier))return ca;pb=c(pb.text,null,x.options.tabSize);if(null==Ia||xa>pb)Ia=ca-1,xa=pb}return Ia}function uc(x,ca){x.modeFrontier=Math.min(x.modeFrontier,
|
||
ca);if(!(x.highlightFrontier<ca-10)){for(var Aa=x.first,xa=ca-1;xa>Aa;xa--){var Ia=Oa(x,xa).stateAfter;if(Ia&&(!(Ia instanceof Ni)||xa+Ia.lookAhead<ca)){Aa=xa+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,Aa)}}function xc(x,ca,Aa){this.marker=x;this.from=ca;this.to=Aa}function Gb(x,ca){if(x)for(var Aa=0;Aa<x.length;++Aa){var xa=x[Aa];if(xa.marker==ca)return xa}}function lc(x,ca){if(ca.full)return null;var Aa=ja(x,ca.from.line)&&Oa(x,ca.from.line).markedSpans,xa=ja(x,ca.to.line)&&Oa(x,
|
||
ca.to.line).markedSpans;if(!Aa&&!xa)return null;x=ca.from.ch;var Ia=ca.to.ch,$a=0==sa(ca.from,ca.to),lb;if(Aa)for(var pb=0;pb<Aa.length;++pb){var Vb=Aa[pb],wc=Vb.marker;if(null==Vb.from||(wc.inclusiveLeft?Vb.from<=x:Vb.from<x)||!(Vb.from!=x||"bookmark"!=wc.type||$a&&Vb.marker.insertLeft)){var Lc=null==Vb.to||(wc.inclusiveRight?Vb.to>=x:Vb.to>x);(lb||=[]).push(new xc(wc,Vb.from,Lc?null:Vb.to))}}Aa=lb;var od;if(xa)for(lb=0;lb<xa.length;++lb)if(pb=xa[lb],Vb=pb.marker,null==pb.to||(Vb.inclusiveRight?
|
||
pb.to>=Ia:pb.to>Ia)||pb.from==Ia&&"bookmark"==Vb.type&&(!$a||pb.marker.insertLeft))wc=null==pb.from||(Vb.inclusiveLeft?pb.from<=Ia:pb.from<Ia),(od||=[]).push(new xc(Vb,wc?null:pb.from-Ia,null==pb.to?null:pb.to-Ia));xa=1==ca.text.length;Ia=E(ca.text).length+(xa?x:0);if(Aa)for($a=0;$a<Aa.length;++$a)if(lb=Aa[$a],null==lb.to)(pb=Gb(od,lb.marker),pb)?xa&&(lb.to=null==pb.to?null:pb.to+Ia):lb.to=x;if(od)for(x=0;x<od.length;++x)$a=od[x],null!=$a.to&&($a.to+=Ia),null==$a.from?Gb(Aa,$a.marker)||($a.from=Ia,
|
||
xa&&(Aa||=[]).push($a)):($a.from+=Ia,xa&&(Aa||=[]).push($a));Aa&&=Ab(Aa);od&&od!=Aa&&(od=Ab(od));x=[Aa];if(!xa){ca=ca.text.length-2;var rd;if(0<ca&&Aa)for(xa=0;xa<Aa.length;++xa)null==Aa[xa].to&&(rd||=[]).push(new xc(Aa[xa].marker,null,null));for(Aa=0;Aa<ca;++Aa)x.push(rd);x.push(od)}return x}function Ab(x){for(var ca=0;ca<x.length;++ca){var Aa=x[ca];null!=Aa.from&&Aa.from==Aa.to&&!1!==Aa.marker.clearWhenEmpty&&x.splice(ca--,1)}return x.length?x:null}function vc(x,ca,Aa){var xa=null;x.iter(ca.line,
|
||
Aa.line+1,function(Lc){if(Lc.markedSpans)for(var od=0;od<Lc.markedSpans.length;++od){var rd=Lc.markedSpans[od].marker;!rd.readOnly||xa&&-1!=p(xa,rd)||(xa||=[]).push(rd)}});if(!xa)return null;x=[{from:ca,to:Aa}];for(ca=0;ca<xa.length;++ca){Aa=xa[ca];for(var Ia=Aa.find(0),$a=0;$a<x.length;++$a){var lb=x[$a];if(!(0>sa(lb.to,Ia.from)||0<sa(lb.from,Ia.to))){var pb=[$a,1],Vb=sa(lb.from,Ia.from),wc=sa(lb.to,Ia.to);(0>Vb||!Aa.inclusiveLeft&&!Vb)&&pb.push({from:lb.from,to:Ia.from});(0<wc||!Aa.inclusiveRight&&
|
||
!wc)&&pb.push({from:Ia.to,to:lb.to});x.splice.apply(x,pb);$a+=pb.length-3}}}return x}function Fc(x){var ca=x.markedSpans;if(ca){for(var Aa=0;Aa<ca.length;++Aa)ca[Aa].marker.detachLine(x);x.markedSpans=null}}function tc(x,ca){if(ca){for(var Aa=0;Aa<ca.length;++Aa)ca[Aa].marker.attachLine(x);x.markedSpans=ca}}function Oc(x,ca){var Aa=x.lines.length-ca.lines.length;if(0!=Aa)return Aa;Aa=x.find();var xa=ca.find(),Ia=sa(Aa.from,xa.from)||(x.inclusiveLeft?-1:0)-(ca.inclusiveLeft?-1:0);return Ia?-Ia:(Aa=
|
||
sa(Aa.to,xa.to)||(x.inclusiveRight?1:0)-(ca.inclusiveRight?1:0))?Aa:ca.id-x.id}function dd(x,ca){x=ei&&x.markedSpans;if(x)for(var Aa,xa=0;xa<x.length;++xa)if(Aa=x[xa],Aa.marker.collapsed&&null==(ca?Aa.from:Aa.to)&&(!Ia||0>Oc(Ia,Aa.marker)))var Ia=Aa.marker;return Ia}function Vc(x,ca,Aa,xa,Ia){x=Oa(x,ca);if(x=ei&&x.markedSpans)for(ca=0;ca<x.length;++ca){var $a=x[ca];if($a.marker.collapsed){var lb=$a.marker.find(0),pb=sa(lb.from,Aa)||($a.marker.inclusiveLeft?-1:0)-(Ia.inclusiveLeft?-1:0),Vb=sa(lb.to,
|
||
xa)||($a.marker.inclusiveRight?1:0)-(Ia.inclusiveRight?1:0);if(!(0<=pb&&0>=Vb||0>=pb&&0<=Vb)&&(0>=pb&&($a.marker.inclusiveRight&&Ia.inclusiveLeft?0<=sa(lb.to,Aa):0<sa(lb.to,Aa))||0<=pb&&($a.marker.inclusiveRight&&Ia.inclusiveLeft?0>=sa(lb.from,xa):0>sa(lb.from,xa))))return!0}}}function jd(x){for(var ca;ca=dd(x,!0);)x=ca.find(-1,!0).line;return x}function Cb(x,ca){x=Oa(x,ca);var Aa=jd(x);return x==Aa?ca:La(Aa)}function $b(x,ca){if(ca>x.lastLine())return ca;var Aa=Oa(x,ca);if(!Wb(x,Aa))return ca;for(;x=
|
||
dd(Aa,!1);)Aa=x.find(1,!0).line;return La(Aa)+1}function Wb(x,ca){var Aa=ei&&ca.markedSpans;if(Aa)for(var xa,Ia=0;Ia<Aa.length;++Ia)if(xa=Aa[Ia],xa.marker.collapsed&&(null==xa.from||!xa.marker.widgetNode&&0==xa.from&&xa.marker.inclusiveLeft&&jb(x,ca,xa)))return!0}function jb(x,ca,Aa){if(null==Aa.to)return ca=Aa.marker.find(1,!0),jb(x,ca.line,Gb(ca.line.markedSpans,Aa.marker));if(Aa.marker.inclusiveRight&&Aa.to==ca.text.length)return!0;for(var xa,Ia=0;Ia<ca.markedSpans.length;++Ia)if(xa=ca.markedSpans[Ia],
|
||
xa.marker.collapsed&&!xa.marker.widgetNode&&xa.from==Aa.to&&(null==xa.to||xa.to!=Aa.from)&&(xa.marker.inclusiveLeft||Aa.marker.inclusiveRight)&&jb(x,ca,xa))return!0}function sb(x){x=jd(x);for(var ca=0,Aa=x.parent,xa=0;xa<Aa.lines.length;++xa){var Ia=Aa.lines[xa];if(Ia==x)break;else ca+=Ia.height}for(x=Aa.parent;x;Aa=x,x=Aa.parent)for(xa=0;xa<x.children.length&&(Ia=x.children[xa],Ia!=Aa);++xa)ca+=Ia.height;return ca}function ac(x){if(0==x.height)return 0;for(var ca=x.text.length,Aa,xa=x;Aa=dd(xa,!0);)Aa=
|
||
Aa.find(0,!0),xa=Aa.from.line,ca+=Aa.from.ch-Aa.to.ch;for(xa=x;Aa=dd(xa,!1);)x=Aa.find(0,!0),ca-=xa.text.length-x.from.ch,xa=x.to.line,ca+=xa.text.length-x.to.ch;return ca}function Ac(x){var ca=x.display;x=x.doc;ca.maxLine=Oa(x,x.first);ca.maxLineLength=ac(ca.maxLine);ca.maxLineChanged=!0;x.iter(function(Aa){var xa=ac(Aa);xa>ca.maxLineLength&&(ca.maxLineLength=xa,ca.maxLine=Aa)})}function fd(x,ca){if(!x||/^\s*$/.test(x))return null;ca=ca.addModeClass?ks:Op;return ca[x]||(ca[x]=x.replace(/\S+/g,"cm-$\x26"))}
|
||
function kd(x,ca){var Aa=b("span",null,null,vj?"padding-right: .1px":null);Aa={pre:b("pre",[Aa],"CodeMirror-line"),content:Aa,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};ca.measure={};for(var xa=0;xa<=(ca.rest?ca.rest.length:0);xa++){var Ia=xa?ca.rest[xa-1]:ca.line,$a=void 0;Aa.pos=0;Aa.addToken=Wd;var lb=x.display.measure;if(null!=sl)lb=sl;else{var pb=y(lb,document.createTextNode("AخA")),Vb=ii(pb,0,1).getBoundingClientRect();pb=ii(pb,1,2).getBoundingClientRect();Y(lb);
|
||
lb=Vb&&Vb.left!=Vb.right?sl=3>pb.right-Vb.right:!1}lb&&($a=T(Ia,x.doc.direction))&&(Aa.addToken=Qd(Aa.addToken,$a));Aa.map=[];var wc=ca!=x.display.externalMeasured&&La(Ia);a:{var Lc=pb=Vb=lb=void 0,od=void 0,rd=void 0,xd=void 0;$a=Aa;wc=yb(x,Ia,wc);var oe=Ia.markedSpans,Af=Ia.text,Bg=0;if(oe)for(var vi=Af.length,sg=0,Di=1,Uh="",Qh=0;;){if(Qh==sg){od=Lc=pb=rd="";Vb=lb=null;Qh=Infinity;for(var di=[],qh=void 0,Wh=0;Wh<oe.length;++Wh){var Xh=oe[Wh],bi=Xh.marker;if("bookmark"==bi.type&&Xh.from==sg&&bi.widgetNode)di.push(bi);
|
||
else if(Xh.from<=sg&&(null==Xh.to||Xh.to>sg||bi.collapsed&&Xh.to==sg&&Xh.from==sg)){null!=Xh.to&&Xh.to!=sg&&Qh>Xh.to&&(Qh=Xh.to,Lc="");bi.className&&(od+=" "+bi.className);bi.css&&(rd=(rd?rd+";":"")+bi.css);bi.startStyle&&Xh.from==sg&&(pb+=" "+bi.startStyle);bi.endStyle&&Xh.to==Qh&&(qh||=[]).push(bi.endStyle,Xh.to);bi.title&&((lb||={}).title=bi.title);if(bi.attributes)for(var qj in bi.attributes)(lb||={})[qj]=bi.attributes[qj];bi.collapsed&&(!Vb||0>Oc(Vb.marker,bi))&&(Vb=Xh)}else Xh.from>sg&&Qh>Xh.from&&
|
||
(Qh=Xh.from)}if(qh)for(Wh=0;Wh<qh.length;Wh+=2)qh[Wh+1]==Qh&&(Lc+=" "+qh[Wh]);if(!Vb||Vb.from==sg)for(qh=0;qh<di.length;++qh)Ge($a,0,di[qh]);if(Vb&&(Vb.from||0)==sg){Ge($a,(null==Vb.to?vi+1:Vb.to)-sg,Vb.marker,null==Vb.from);if(null==Vb.to)break a;Vb.to==sg&&(Vb=!1)}}if(sg>=vi)break;for(di=Math.min(vi,Qh);;){if(Uh){qh=sg+Uh.length;Vb||(Wh=qh>di?Uh.slice(0,di-sg):Uh,$a.addToken($a,Wh,xd?xd+od:od,pb,sg+Wh.length==Qh?Lc:"",rd,lb));if(qh>=di){Uh=Uh.slice(di-sg);sg=di;break}sg=qh;pb=""}Uh=Af.slice(Bg,
|
||
Bg=wc[Di++]);xd=fd(wc[Di++],$a.cm.options)}}else for(lb=1;lb<wc.length;lb+=2)$a.addToken($a,Af.slice(Bg,Bg=wc[lb]),fd(wc[lb+1],$a.cm.options))}Ia.styleClasses&&(Ia.styleClasses.bgClass&&(Aa.bgClass=B(Ia.styleClasses.bgClass,Aa.bgClass||"")),Ia.styleClasses.textClass&&(Aa.textClass=B(Ia.styleClasses.textClass,Aa.textClass||"")));0==Aa.map.length&&(Ia=Aa.map,$a=Ia.push,lb=Aa.content,Vb=lb.appendChild,pb=x.display.measure,null==Fl&&(Lc=n("span",""),y(pb,n("span",[Lc,document.createTextNode("x")])),
|
||
0!=pb.firstChild.offsetHeight&&(Fl=1>=Lc.offsetWidth&&2<Lc.offsetHeight&&!(Sg&&8>ui))),pb=Fl?n("span",""):n("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px"),pb.setAttribute("cm-text",""),$a.call(Ia,0,0,Vb.call(lb,pb)));0==xa?(ca.measure.map=Aa.map,ca.measure.cache={}):((ca.measure.maps||(ca.measure.maps=[])).push(Aa.map),(ca.measure.caches||(ca.measure.caches=[])).push({}))}vj&&(qj=Aa.content.lastChild,/\bcm-tab\b/.test(qj.className)||qj.querySelector&&qj.querySelector(".cm-tab"))&&
|
||
(Aa.content.className="cm-tab-wrap-hack");D(x,"renderLine",x,ca.line,Aa.pre);Aa.pre.className&&(Aa.textClass=B(Aa.pre.className,Aa.textClass||""));return Aa}function wd(x){var ca=n("span","•","cm-invalidchar");ca.title="\\u"+x.charCodeAt(0).toString(16);ca.setAttribute("aria-label",ca.title);return ca}function Wd(x,ca,Aa,xa,Ia,$a,lb){if(ca){if(x.splitSpaces){var pb=x.trailingSpace;if(1<ca.length&&!/ /.test(ca))pb=ca;else{for(var Vb="",wc=0;wc<ca.length;wc++){var Lc=ca.charAt(wc);" "!=Lc||!pb||wc!=
|
||
ca.length-1&&32!=ca.charCodeAt(wc+1)||(Lc=" ");Vb+=Lc;pb=" "==Lc}pb=Vb}}else pb=ca;Vb=pb;wc=x.cm.state.specialChars;Lc=!1;if(wc.test(ca)){pb=document.createDocumentFragment();for(var od=0;;){wc.lastIndex=od;var rd=wc.exec(ca),xd=rd?rd.index-od:ca.length-od;if(xd){var oe=document.createTextNode(Vb.slice(od,od+xd));Sg&&9>ui?pb.appendChild(n("span",[oe])):pb.appendChild(oe);x.map.push(x.pos,x.pos+xd,oe);x.col+=xd;x.pos+=xd}if(!rd)break;od+=xd+1;"\t"==rd[0]?(rd=x.cm.options.tabSize,rd-=x.col%rd,xd=pb.appendChild(n("span",
|
||
q(rd),"cm-tab")),xd.setAttribute("role","presentation"),xd.setAttribute("cm-text","\t"),x.col+=rd):("\r"==rd[0]||"\n"==rd[0]?(xd=pb.appendChild(n("span","\r"==rd[0]?"␍":"","cm-invalidchar")),xd.setAttribute("cm-text",rd[0])):(xd=x.cm.options.specialCharPlaceholder(rd[0]),xd.setAttribute("cm-text",rd[0]),Sg&&9>ui?pb.appendChild(n("span",[xd])):pb.appendChild(xd)),x.col+=1);x.map.push(x.pos,x.pos+1,xd);x.pos++}}else x.col+=ca.length,pb=document.createTextNode(Vb),x.map.push(x.pos,x.pos+ca.length,pb),
|
||
Sg&&9>ui&&(Lc=!0),x.pos+=ca.length;x.trailingSpace=32==Vb.charCodeAt(ca.length-1);if(Aa||xa||Ia||Lc||$a||lb){ca=Aa||"";xa&&(ca+=xa);Ia&&(ca+=Ia);xa=n("span",[pb],ca,$a);if(lb)for(var Af in lb)lb.hasOwnProperty(Af)&&"style"!=Af&&"class"!=Af&&xa.setAttribute(Af,lb[Af]);return x.content.appendChild(xa)}x.content.appendChild(pb)}}function Qd(x,ca){return function(Aa,xa,Ia,$a,lb,pb,Vb){Ia=Ia?Ia+" cm-force-border":"cm-force-border";for(var wc=Aa.pos,Lc=wc+xa.length;;){for(var od=void 0,rd=0;rd<ca.length&&
|
||
!(od=ca[rd],od.to>wc&&od.from<=wc);rd++);if(od.to>=Lc)return x(Aa,xa,Ia,$a,lb,pb,Vb);x(Aa,xa.slice(0,od.to-wc),Ia,$a,null,pb,Vb);$a=null;xa=xa.slice(od.to-wc);wc=od.to}}}function Ge(x,ca,Aa,xa){var Ia=!xa&&Aa.widgetNode;Ia&&x.map.push(x.pos,x.pos+ca,Ia);!xa&&x.cm.display.input.needsContentAttribute&&(Ia||=x.content.appendChild(document.createElement("span")),Ia.setAttribute("cm-marker",Aa.id));Ia&&(x.cm.display.input.setUneditable(Ia),x.content.appendChild(Ia));x.pos+=ca;x.trailingSpace=!1}function de(x,
|
||
ca,Aa){for(var xa=this.line=ca,Ia;xa=dd(xa,!1);)xa=xa.find(1,!0).line,(Ia||=[]).push(xa);this.size=(this.rest=Ia)?La(E(this.rest))-Aa+1:1;this.node=this.text=null;this.hidden=Wb(x,ca)}function $c(x,ca,Aa){var xa=[],Ia;for(Ia=ca;Ia<Aa;)ca=new de(x.doc,Oa(x.doc,Ia),Ia),Ia+=ca.size,xa.push(ca);return xa}function Kc(x,ca){if(x=x.ownsGroup)try{var Aa=x.delayedCallbacks,xa=0;do{for(;xa<Aa.length;xa++)Aa[xa].call(null);for(var Ia=0;Ia<x.ops.length;Ia++){var $a=x.ops[Ia];if($a.cursorActivityHandlers)for(;$a.cursorActivityCalled<
|
||
$a.cursorActivityHandlers.length;)$a.cursorActivityHandlers[$a.cursorActivityCalled++].call(null,$a.cm)}}while(xa<Aa.length)}finally{zo=null,ca(x)}}function Ce(x,ca){var Aa=x._handlers&&x._handlers[ca]||no;if(Aa.length){var xa=Array.prototype.slice.call(arguments,2);if(zo)var Ia=zo.delayedCallbacks;else Gf?Ia=Gf:(Ia=Gf=[],setTimeout(mh,0));for(var $a=function(pb){Ia.push(function(){return Aa[pb].apply(null,xa)})},lb=0;lb<Aa.length;++lb)$a(lb)}}function mh(){var x=Gf;Gf=null;for(var ca=0;ca<x.length;++ca)x[ca]()}
|
||
function fg(x,ca,Aa,xa){for(var Ia=0;Ia<ca.changes.length;Ia++){var $a=ca.changes[Ia];if("text"==$a){$a=x;var lb=ca,pb=lb.text.className,Vb=re($a,lb);lb.text==lb.node&&(lb.node=Vb.pre);lb.text.parentNode.replaceChild(Vb.pre,lb.text);lb.text=Vb.pre;Vb.bgClass!=lb.bgClass||Vb.textClass!=lb.textClass?(lb.bgClass=Vb.bgClass,lb.textClass=Vb.textClass,xf($a,lb)):pb&&(lb.text.className=pb)}else if("gutter"==$a)Dh(x,ca,Aa,xa);else if("class"==$a)xf(x,ca);else if("widget"==$a){$a=x;lb=ca;pb=xa;lb.alignable&&
|
||
(lb.alignable=null);Vb=v("CodeMirror-linewidget");for(var wc=lb.node.firstChild,Lc;wc;wc=Lc)Lc=wc.nextSibling,Vb.test(wc.className)&&lb.node.removeChild(wc);yc($a,lb,pb)}}ca.changes=null}function Yf(x){x.node==x.text&&(x.node=n("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),Sg&&8>ui&&(x.node.style.zIndex=2));return x.node}function re(x,ca){var Aa=x.display.externalMeasured;return Aa&&Aa.line==ca.line?(x.display.externalMeasured=
|
||
null,ca.measure=Aa.measure,Aa.built):kd(x,ca)}function xf(x,ca){var Aa=ca.bgClass?ca.bgClass+" "+(ca.line.bgClass||""):ca.line.bgClass;Aa&&(Aa+=" CodeMirror-linebackground");if(ca.background)Aa?ca.background.className=Aa:(ca.background.parentNode.removeChild(ca.background),ca.background=null);else if(Aa){var xa=Yf(ca);ca.background=xa.insertBefore(n("div",null,Aa),xa.firstChild);x.display.input.setUneditable(ca.background)}ca.line.wrapClass?Yf(ca).className=ca.line.wrapClass:ca.node!=ca.text&&(ca.node.className=
|
||
"");ca.text.className=(ca.textClass?ca.textClass+" "+(ca.line.textClass||""):ca.line.textClass)||""}function Dh(x,ca,Aa,xa){ca.gutter&&(ca.node.removeChild(ca.gutter),ca.gutter=null);ca.gutterBackground&&(ca.node.removeChild(ca.gutterBackground),ca.gutterBackground=null);if(ca.line.gutterClass){var Ia=Yf(ca);ca.gutterBackground=n("div",null,"CodeMirror-gutter-background "+ca.line.gutterClass,"left: "+(x.options.fixedGutter?xa.fixedPos:-xa.gutterTotalWidth)+"px; width: "+xa.gutterTotalWidth+"px");
|
||
x.display.input.setUneditable(ca.gutterBackground);Ia.insertBefore(ca.gutterBackground,ca.text)}Ia=ca.line.gutterMarkers;if(x.options.lineNumbers||Ia){var $a=Yf(ca),lb=ca.gutter=n("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?xa.fixedPos:-xa.gutterTotalWidth)+"px");lb.setAttribute("aria-hidden","true");x.display.input.setUneditable(lb);$a.insertBefore(lb,ca.text);ca.line.gutterClass&&(lb.className+=" "+ca.line.gutterClass);!x.options.lineNumbers||Ia&&Ia["CodeMirror-linenumbers"]||
|
||
(ca.lineNumber=lb.appendChild(n("div",oa(x.options,Aa),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+xa.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px")));if(Ia)for(ca=0;ca<x.display.gutterSpecs.length;++ca)Aa=x.display.gutterSpecs[ca].className,($a=Ia.hasOwnProperty(Aa)&&Ia[Aa])&&lb.appendChild(n("div",[$a],"CodeMirror-gutter-elt","left: "+xa.gutterLeft[Aa]+"px; width: "+xa.gutterWidth[Aa]+"px"))}}function Tg(x,ca,Aa,xa){var Ia=re(x,ca);ca.text=ca.node=
|
||
Ia.pre;Ia.bgClass&&(ca.bgClass=Ia.bgClass);Ia.textClass&&(ca.textClass=Ia.textClass);xf(x,ca);Dh(x,ca,Aa,xa);yc(x,ca,xa);return ca.node}function yc(x,ca,Aa){Nf(x,ca.line,ca,Aa,!0);if(ca.rest)for(var xa=0;xa<ca.rest.length;xa++)Nf(x,ca.rest[xa],ca,Aa,!1)}function Nf(x,ca,Aa,xa,Ia){if(ca.widgets){var $a=Yf(Aa),lb=0;for(ca=ca.widgets;lb<ca.length;++lb){var pb=ca[lb],Vb=n("div",[pb.node],"CodeMirror-linewidget"+(pb.className?" "+pb.className:""));pb.handleMouseEvents||Vb.setAttribute("cm-ignore-events",
|
||
"true");var wc=pb,Lc=Vb,od=xa;if(wc.noHScroll){(Aa.alignable||(Aa.alignable=[])).push(Lc);var rd=od.wrapperWidth;Lc.style.left=od.fixedPos+"px";wc.coverGutter||(rd-=od.gutterTotalWidth,Lc.style.paddingLeft=od.gutterTotalWidth+"px");Lc.style.width=rd+"px"}wc.coverGutter&&(Lc.style.zIndex=5,Lc.style.position="relative",wc.noHScroll||(Lc.style.marginLeft=-od.gutterTotalWidth+"px"));x.display.input.setUneditable(Vb);Ia&&pb.above?$a.insertBefore(Vb,Aa.gutter||Aa.text):$a.appendChild(Vb);Ce(pb,"redraw")}}}
|
||
function ed(x){if(null!=x.height)return x.height;var ca=x.doc.cm;if(!ca)return 0;if(!u(document.body,x.node)){var Aa="position: relative;";x.coverGutter&&(Aa+="margin-left: -"+ca.display.gutters.offsetWidth+"px;");x.noHScroll&&(Aa+="width: "+ca.display.wrapper.clientWidth+"px;");y(ca.display.measure,n("div",[x.node],null,Aa))}return x.height=x.node.parentNode.offsetHeight}function Hb(x,ca){for(ca=ca.target||ca.srcElement;ca!=x.wrapper;ca=ca.parentNode)if(!ca||1==ca.nodeType&&"true"==ca.getAttribute("cm-ignore-events")||
|
||
ca.parentNode==x.sizer&&ca!=x.mover)return!0}function Sb(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function Ib(x){if(x.cachedPaddingH)return x.cachedPaddingH;var ca=y(x.measure,n("pre","x","CodeMirror-line-like"));ca=window.getComputedStyle?window.getComputedStyle(ca):ca.currentStyle;ca={left:parseInt(ca.paddingLeft),right:parseInt(ca.paddingRight)};isNaN(ca.left)||isNaN(ca.right)||(x.cachedPaddingH=ca);return ca}function Ad(x){return 50-x.display.nativeBarWidth}function be(x){return x.display.scroller.clientWidth-
|
||
Ad(x)-x.display.barWidth}function Od(x){return x.display.scroller.clientHeight-Ad(x)-x.display.barHeight}function Hf(x,ca,Aa){if(x.line==ca)return{map:x.measure.map,cache:x.measure.cache};if(x.rest){for(var xa=0;xa<x.rest.length;xa++)if(x.rest[xa]==ca)return{map:x.measure.maps[xa],cache:x.measure.caches[xa]};for(ca=0;ca<x.rest.length;ca++)if(La(x.rest[ca])>Aa)return{map:x.measure.maps[ca],cache:x.measure.caches[ca],before:!0}}}function kb(x,ca){if(ca>=x.display.viewFrom&&ca<x.display.viewTo)return x.display.view[Me(x,
|
||
ca)];if((x=x.display.externalMeasured)&&ca>=x.lineN&&ca<x.lineN+x.size)return x}function rb(x,ca){var Aa=La(ca),xa=kb(x,Aa);xa&&!xa.text?xa=null:xa&&xa.changes&&(fg(x,xa,Aa,Rd(x)),x.curOp.forceUpdate=!0);if(!xa){var Ia=jd(ca);xa=La(Ia);Ia=x.display.externalMeasured=new de(x.doc,Ia,xa);Ia.lineN=xa;xa=Ia.built=kd(x,Ia);Ia.text=xa.pre;y(x.display.lineMeasure,xa.pre);xa=Ia}x=Hf(xa,ca,Aa);return{line:ca,view:xa,rect:null,map:x.map,cache:x.cache,before:x.before,hasHeights:!1}}function nb(x,ca,Aa,xa,Ia){ca.before&&
|
||
(Aa=-1);var $a=Aa+(xa||"");if(ca.cache.hasOwnProperty($a))x=ca.cache[$a];else{ca.rect||(ca.rect=ca.view.text.getBoundingClientRect());if(!ca.hasHeights){var lb=ca.view,pb=ca.rect,Vb=x.options.lineWrapping,wc=Vb&&be(x);if(!lb.measure.heights||Vb&&lb.measure.width!=wc){var Lc=lb.measure.heights=[];if(Vb)for(lb.measure.width=wc,lb=lb.text.firstChild.getClientRects(),Vb=0;Vb<lb.length-1;Vb++){wc=lb[Vb];var od=lb[Vb+1];2<Math.abs(wc.bottom-od.bottom)&&Lc.push((wc.bottom+od.top)/2-pb.top)}Lc.push(pb.bottom-
|
||
pb.top)}ca.hasHeights=!0}Lc=xa;lb=Ub(ca.map,Aa,Lc);xa=lb.node;pb=lb.start;Vb=lb.end;Aa=lb.collapse;if(3==xa.nodeType){for(var rd=0;4>rd;rd++){for(;pb&&aa(ca.line.text.charAt(lb.coverStart+pb));)--pb;for(;lb.coverStart+Vb<lb.coverEnd&&aa(ca.line.text.charAt(lb.coverStart+Vb));)++Vb;if(Sg&&9>ui&&0==pb&&Vb==lb.coverEnd-lb.coverStart)var xd=xa.parentNode.getBoundingClientRect();else{xd=ii(xa,pb,Vb).getClientRects();Vb=Jk;if("left"==Lc)for(wc=0;wc<xd.length&&(Vb=xd[wc]).left==Vb.right;wc++);else for(wc=
|
||
xd.length-1;0<=wc&&(Vb=xd[wc]).left==Vb.right;wc--);xd=Vb}if(xd.left||xd.right||0==pb)break;Vb=pb;--pb;Aa="right"}Sg&&11>ui&&((rd=!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI)||(null!=Km?rd=Km:(Lc=y(x.display.measure,n("span","x")),rd=Lc.getBoundingClientRect(),Lc=ii(Lc,0,1).getBoundingClientRect(),rd=Km=1<Math.abs(rd.left-Lc.left)),rd=!rd),rd||(rd=screen.logicalXDPI/screen.deviceXDPI,Lc=screen.logicalYDPI/screen.deviceYDPI,xd={left:xd.left*rd,right:xd.right*rd,
|
||
top:xd.top*Lc,bottom:xd.bottom*Lc}))}else 0<pb&&(Aa=Lc="right"),xd=x.options.lineWrapping&&1<(rd=xa.getClientRects()).length?rd["right"==Lc?rd.length-1:0]:xa.getBoundingClientRect();!(Sg&&9>ui)||pb||xd&&(xd.left||xd.right)||(xd=(xd=xa.parentNode.getClientRects()[0])?{left:xd.left,right:xd.left+Pc(x.display),top:xd.top,bottom:xd.bottom}:Jk);xa=xd.top-ca.rect.top;pb=xd.bottom-ca.rect.top;rd=(xa+pb)/2;Lc=ca.view.measure.heights;for(lb=0;lb<Lc.length-1&&!(rd<Lc[lb]);lb++);Aa={left:("right"==Aa?xd.right:
|
||
xd.left)-ca.rect.left,right:("left"==Aa?xd.left:xd.right)-ca.rect.left,top:lb?Lc[lb-1]:0,bottom:Lc[lb]};xd.left||xd.right||(Aa.bogus=!0);x.options.singleCursorHeightPerLine||(Aa.rtop=xa,Aa.rbottom=pb);x=Aa;x.bogus||(ca.cache[$a]=x)}return{left:x.left,right:x.right,top:Ia?x.rtop:x.top,bottom:Ia?x.rbottom:x.bottom}}function Ub(x,ca,Aa){for(var xa,Ia,$a,lb,pb,Vb,wc=0;wc<x.length;wc+=3){pb=x[wc];Vb=x[wc+1];if(ca<pb)Ia=0,$a=1,lb="left";else if(ca<Vb)Ia=ca-pb,$a=Ia+1;else if(wc==x.length-3||ca==Vb&&x[wc+
|
||
3]>ca)$a=Vb-pb,Ia=$a-1,ca>=Vb&&(lb="right");if(null!=Ia){xa=x[wc+2];pb==Vb&&Aa==(xa.insertLeft?"left":"right")&&(lb=Aa);if("left"==Aa&&0==Ia)for(;wc&&x[wc-2]==x[wc-3]&&x[wc-1].insertLeft;)xa=x[(wc-=3)+2],lb="left";if("right"==Aa&&Ia==Vb-pb)for(;wc<x.length-3&&x[wc+3]==x[wc+4]&&!x[wc+5].insertLeft;)xa=x[(wc+=3)+2],lb="right";break}}return{node:xa,start:Ia,end:$a,collapse:lb,coverStart:pb,coverEnd:Vb}}function Kb(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var ca=0;ca<x.rest.length;ca++)x.measure.caches[ca]=
|
||
{}}function Yc(x){x.display.externalMeasure=null;Y(x.display.lineMeasure);for(var ca=0;ca<x.display.view.length;ca++)Kb(x.display.view[ca])}function Wc(x){Yc(x);x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null;x.options.lineWrapping||(x.display.maxLineChanged=!0);x.display.lineNumChars=null}function ud(x){return mm&&Vi?-(x.body.getBoundingClientRect().left-parseInt(getComputedStyle(x.body).marginLeft)):x.defaultView.pageXOffset||(x.documentElement||x.body).scrollLeft}
|
||
function fe(x){return mm&&Vi?-(x.body.getBoundingClientRect().top-parseInt(getComputedStyle(x.body).marginTop)):x.defaultView.pageYOffset||(x.documentElement||x.body).scrollTop}function ke(x){x=jd(x).widgets;var ca=0;if(x)for(var Aa=0;Aa<x.length;++Aa)x[Aa].above&&(ca+=ed(x[Aa]));return ca}function bf(x,ca,Aa,xa,Ia){Ia||(Ia=ke(ca),Aa.top+=Ia,Aa.bottom+=Ia);if("line"==xa)return Aa;xa||="local";ca=sb(ca);ca="local"==xa?ca+x.display.lineSpace.offsetTop:ca-x.display.viewOffset;if("page"==xa||"window"==
|
||
xa)Ia=x.display.lineSpace.getBoundingClientRect(),ca+=Ia.top+("window"==xa?0:fe(J(x))),x=Ia.left+("window"==xa?0:ud(J(x))),Aa.left+=x,Aa.right+=x;Aa.top+=ca;Aa.bottom+=ca;return Aa}function ie(x,ca,Aa){if("div"==Aa)return ca;var xa=ca.left;ca=ca.top;"page"==Aa?(xa-=ud(J(x)),ca-=fe(J(x))):"local"!=Aa&&Aa||(Aa=x.display.sizer.getBoundingClientRect(),xa+=Aa.left,ca+=Aa.top);x=x.display.lineSpace.getBoundingClientRect();return{left:xa-x.left,top:ca-x.top}}function tf(x,ca,Aa,xa,Ia){xa||=Oa(x.doc,ca.line);
|
||
var $a=xa;ca=ca.ch;xa=nb(x,rb(x,xa),ca,Ia);return bf(x,$a,xa,Aa)}function pg(x,ca,Aa,xa,Ia,$a){function lb(rd,xd){rd=nb(x,Ia,rd,xd?"right":"left",$a);xd?rd.left=rd.right:rd.right=rd.left;return bf(x,xa,rd,Aa)}function pb(rd,xd,oe){return lb(oe?rd-1:rd,1==Vb[xd].level!=oe)}xa=xa||Oa(x.doc,ca.line);Ia||=rb(x,xa);var Vb=T(xa,x.doc.direction),wc=ca.ch;ca=ca.sticky;wc>=xa.text.length?(wc=xa.text.length,ca="before"):0>=wc&&(wc=0,ca="after");if(!Vb)return lb("before"==ca?wc-1:wc,"before"==ca);var Lc=V(Vb,
|
||
wc,ca),od=kn;Lc=pb(wc,Lc,"before"==ca);null!=od&&(Lc.other=pb(wc,od,"before"!=ca));return Lc}function Eg(x,ca){var Aa=0;ca=cb(x.doc,ca);x.options.lineWrapping||(Aa=Pc(x.display)*ca.ch);ca=Oa(x.doc,ca.line);x=sb(ca)+x.display.lineSpace.offsetTop;return{left:Aa,right:Aa,top:x,bottom:x+ca.height}}function qb(x,ca,Aa,xa,Ia){x=ia(x,ca,Aa);x.xRel=Ia;xa&&(x.outside=xa);return x}function za(x,ca,Aa){var xa=x.doc;Aa+=x.display.viewOffset;if(0>Aa)return qb(xa.first,0,null,-1,-1);var Ia=ma(xa,Aa),$a=xa.first+
|
||
xa.size-1;if(Ia>$a)return qb(xa.first+xa.size-1,Oa(xa,$a).text.length,null,1,1);0>ca&&(ca=0);for(var lb=Oa(xa,Ia);;){$a=ab(x,lb,Ia,ca,Aa);var pb=void 0;var Vb=$a.ch+(0<$a.xRel||0<$a.outside?1:0);if(lb=ei&&lb.markedSpans)for(var wc=0;wc<lb.length;++wc){var Lc=lb[wc];Lc.marker.collapsed&&(null==Lc.from||Lc.from<Vb)&&(null==Lc.to||Lc.to>Vb)&&(!pb||0>Oc(pb,Lc.marker))&&(pb=Lc.marker)}if(!pb)return $a;$a=pb.find(1);if($a.line==Ia)return $a;lb=Oa(xa,Ia=$a.line)}}function ea(x,ca,Aa,xa){xa-=ke(ca);ca=ca.text.length;
|
||
var Ia=U(function($a){return nb(x,Aa,$a-1).bottom<=xa},ca,0);ca=U(function($a){return nb(x,Aa,$a).top>xa},Ia,ca);return{begin:Ia,end:ca}}function ua(x,ca,Aa,xa){Aa||=rb(x,ca);xa=bf(x,ca,nb(x,Aa,xa),"line").top;return ea(x,ca,Aa,xa)}function Na(x,ca,Aa,xa){return x.bottom<=Aa?!1:x.top>Aa?!0:(xa?x.left:x.right)>ca}function ab(x,ca,Aa,xa,Ia){Ia-=sb(ca);var $a=rb(x,ca),lb=ke(ca),pb=0,Vb=ca.text.length,wc=!0,Lc=T(ca,x.doc.direction);Lc&&(Lc=(x.options.lineWrapping?ic:Db)(x,ca,Aa,$a,Lc,xa,Ia),pb=(wc=1!=
|
||
Lc.level)?Lc.from:Lc.to-1,Vb=wc?Lc.to:Lc.from-1);var od=null,rd=null;Lc=U(function(oe){var Af=nb(x,$a,oe);Af.top+=lb;Af.bottom+=lb;if(!Na(Af,xa,Ia,!1))return!1;Af.top<=Ia&&Af.left<=xa&&(od=oe,rd=Af);return!0},pb,Vb);var xd=!1;rd?(pb=xa-rd.left<rd.right-xa,wc=pb==wc,Lc=od+(wc?0:1),wc=wc?"after":"before",pb=pb?rd.left:rd.right):(wc||Lc!=Vb&&Lc!=pb||Lc++,wc=0==Lc?"after":Lc==ca.text.length?"before":nb(x,$a,Lc-(wc?1:0)).bottom+lb<=Ia==wc?"after":"before",xd=pg(x,ia(Aa,Lc,wc),"line",ca,$a),pb=xd.left,
|
||
xd=Ia<xd.top?-1:Ia>=xd.bottom?1:0);Lc=O(ca.text,Lc,1);return qb(Aa,Lc,wc,xd,xa-pb)}function Db(x,ca,Aa,xa,Ia,$a,lb){var pb=U(function(Lc){Lc=Ia[Lc];var od=1!=Lc.level;return Na(pg(x,ia(Aa,od?Lc.to:Lc.from,od?"before":"after"),"line",ca,xa),$a,lb,!0)},0,Ia.length-1),Vb=Ia[pb];if(0<pb){var wc=1!=Vb.level;wc=pg(x,ia(Aa,wc?Vb.from:Vb.to,wc?"after":"before"),"line",ca,xa);Na(wc,$a,lb,!0)&&wc.top>lb&&(Vb=Ia[pb-1])}return Vb}function ic(x,ca,Aa,xa,Ia,$a,lb){lb=ea(x,ca,xa,lb);Aa=lb.begin;lb=lb.end;/\s/.test(ca.text.charAt(lb-
|
||
1))&&lb--;for(var pb=ca=null,Vb=0;Vb<Ia.length;Vb++){var wc=Ia[Vb];if(!(wc.from>=lb||wc.to<=Aa)){var Lc=nb(x,xa,1!=wc.level?Math.min(lb,wc.to)-1:Math.max(Aa,wc.from)).right;Lc=Lc<$a?$a-Lc+1E9:Lc-$a;if(!ca||pb>Lc)ca=wc,pb=Lc}}ca||=Ia[Ia.length-1];ca.from<Aa&&(ca={from:Aa,to:ca.to,level:ca.level});ca.to>lb&&(ca={from:ca.from,to:lb,level:ca.level});return ca}function Gc(x){if(null!=x.cachedTextHeight)return x.cachedTextHeight;if(null==vg){vg=n("pre",null,"CodeMirror-line-like");for(var ca=0;49>ca;++ca)vg.appendChild(document.createTextNode("x")),
|
||
vg.appendChild(n("br"));vg.appendChild(document.createTextNode("x"))}y(x.measure,vg);ca=vg.offsetHeight/50;3<ca&&(x.cachedTextHeight=ca);Y(x.measure);return ca||1}function Pc(x){if(null!=x.cachedCharWidth)return x.cachedCharWidth;var ca=n("span","xxxxxxxxxx"),Aa=n("pre",[ca],"CodeMirror-line-like");y(x.measure,Aa);ca=ca.getBoundingClientRect();ca=(ca.right-ca.left)/10;2<ca&&(x.cachedCharWidth=ca);return ca||10}function Rd(x){for(var ca=x.display,Aa={},xa={},Ia=ca.gutters.clientLeft,$a=ca.gutters.firstChild,
|
||
lb=0;$a;$a=$a.nextSibling,++lb){var pb=x.display.gutterSpecs[lb].className;Aa[pb]=$a.offsetLeft+$a.clientLeft+Ia;xa[pb]=$a.clientWidth}return{fixedPos:zd(ca),gutterTotalWidth:ca.gutters.offsetWidth,gutterLeft:Aa,gutterWidth:xa,wrapperWidth:ca.wrapper.clientWidth}}function zd(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Ie(x){var ca=Gc(x.display),Aa=x.options.lineWrapping,xa=Aa&&Math.max(5,x.display.scroller.clientWidth/Pc(x.display)-3);return function(Ia){if(Wb(x.doc,
|
||
Ia))return 0;var $a=0;if(Ia.widgets)for(var lb=0;lb<Ia.widgets.length;lb++)Ia.widgets[lb].height&&($a+=Ia.widgets[lb].height);return Aa?$a+(Math.ceil(Ia.text.length/xa)||1)*ca:$a+ca}}function Oe(x){var ca=x.doc,Aa=Ie(x);ca.iter(function(xa){var Ia=Aa(xa);Ia!=xa.height&&Ua(xa,Ia)})}function Ye(x,ca,Aa,xa){var Ia=x.display;if(!Aa&&"true"==(ca.target||ca.srcElement).getAttribute("cm-not-content"))return null;Aa=Ia.lineSpace.getBoundingClientRect();try{var $a=ca.clientX-Aa.left;var lb=ca.clientY-Aa.top}catch(Vb){return null}ca=
|
||
za(x,$a,lb);var pb;xa&&0<ca.xRel&&(pb=Oa(x.doc,ca.line).text).length==ca.ch&&(xa=c(pb,pb.length,x.options.tabSize)-pb.length,ca=ia(ca.line,Math.max(0,Math.round(($a-Ib(x.display).left)/Pc(x.display))-xa)));return ca}function Me(x,ca){if(ca>=x.display.viewTo)return null;ca-=x.display.viewFrom;if(0>ca)return null;x=x.display.view;for(var Aa=0;Aa<x.length;Aa++)if(ca-=x[Aa].size,0>ca)return Aa}function Ff(x,ca,Aa,xa){null==ca&&(ca=x.doc.first);null==Aa&&(Aa=x.doc.first+x.doc.size);xa||=0;var Ia=x.display;
|
||
xa&&Aa<Ia.viewTo&&(null==Ia.updateLineNumbers||Ia.updateLineNumbers>ca)&&(Ia.updateLineNumbers=ca);x.curOp.viewChanged=!0;if(ca>=Ia.viewTo)ei&&Cb(x.doc,ca)<Ia.viewTo&&jg(x);else if(Aa<=Ia.viewFrom)ei&&$b(x.doc,Aa+xa)>Ia.viewFrom?jg(x):(Ia.viewFrom+=xa,Ia.viewTo+=xa);else if(ca<=Ia.viewFrom&&Aa>=Ia.viewTo)jg(x);else if(ca<=Ia.viewFrom){var $a=Jf(x,Aa,Aa+xa,1);$a?(Ia.view=Ia.view.slice($a.index),Ia.viewFrom=$a.lineN,Ia.viewTo+=xa):jg(x)}else if(Aa>=Ia.viewTo)($a=Jf(x,ca,ca,-1))?(Ia.view=Ia.view.slice(0,
|
||
$a.index),Ia.viewTo=$a.lineN):jg(x);else{$a=Jf(x,ca,ca,-1);var lb=Jf(x,Aa,Aa+xa,1);$a&&lb?(Ia.view=Ia.view.slice(0,$a.index).concat($c(x,$a.lineN,lb.lineN)).concat(Ia.view.slice(lb.index)),Ia.viewTo+=xa):jg(x)}if(x=Ia.externalMeasured)Aa<x.lineN?x.lineN+=xa:ca<x.lineN+x.size&&(Ia.externalMeasured=null)}function If(x,ca,Aa){x.curOp.viewChanged=!0;var xa=x.display,Ia=x.display.externalMeasured;Ia&&ca>=Ia.lineN&&ca<Ia.lineN+Ia.size&&(xa.externalMeasured=null);ca<xa.viewFrom||ca>=xa.viewTo||(x=xa.view[Me(x,
|
||
ca)],null!=x.node&&(x=x.changes||(x.changes=[]),-1==p(x,Aa)&&x.push(Aa)))}function jg(x){x.display.viewFrom=x.display.viewTo=x.doc.first;x.display.view=[];x.display.viewOffset=0}function Jf(x,ca,Aa,xa){var Ia=Me(x,ca),$a=x.display.view;if(!ei||Aa==x.doc.first+x.doc.size)return{index:Ia,lineN:Aa};for(var lb=x.display.viewFrom,pb=0;pb<Ia;pb++)lb+=$a[pb].size;if(lb!=ca){if(0<xa){if(Ia==$a.length-1)return null;ca=lb+$a[Ia].size-ca;Ia++}else ca=lb-ca;Aa+=ca}for(;Cb(x.doc,Aa)!=Aa;){if(Ia==(0>xa?0:$a.length-
|
||
1))return null;Aa+=xa*$a[Ia-(0>xa?1:0)].size;Ia+=xa}return{index:Ia,lineN:Aa}}function tg(x){x=x.display.view;for(var ca=0,Aa=0;Aa<x.length;Aa++){var xa=x[Aa];xa.hidden||xa.node&&!xa.changes||++ca}return ca}function Zh(x){x.display.input.showSelection(x.display.input.prepareSelection())}function Og(x,ca){void 0===ca&&(ca=!0);var Aa=x.doc,xa={},Ia=xa.cursors=document.createDocumentFragment(),$a=xa.selection=document.createDocumentFragment(),lb=x.options.$customCursor;lb&&(ca=!0);for(var pb=0;pb<Aa.sel.ranges.length;pb++)if(ca||
|
||
pb!=Aa.sel.primIndex){var Vb=Aa.sel.ranges[pb];if(!(Vb.from().line>=x.display.viewTo||Vb.to().line<x.display.viewFrom)){var wc=Vb.empty();if(lb){var Lc=lb(x,Vb);Lc&&pi(x,Lc,Ia)}else(wc||x.options.showCursorWhenSelecting)&&pi(x,Vb.head,Ia);wc||xj(x,Vb,$a)}}return xa}function pi(x,ca,Aa){var xa=pg(x,ca,"div",null,null,!x.options.singleCursorHeightPerLine),Ia=Aa.appendChild(n("div"," ","CodeMirror-cursor"));Ia.style.left=xa.left+"px";Ia.style.top=xa.top+"px";Ia.style.height=Math.max(0,xa.bottom-xa.top)*
|
||
x.options.cursorHeight+"px";/\bcm-fat-cursor\b/.test(x.getWrapperElement().className)&&(ca=tf(x,ca,"div",null,null),ca=ca.right-ca.left,Ia.style.width=(0<ca?ca:x.defaultCharWidth())+"px");xa.other&&(x=Aa.appendChild(n("div"," ","CodeMirror-cursor CodeMirror-secondarycursor")),x.style.display="",x.style.left=xa.other.left+"px",x.style.top=xa.other.top+"px",x.style.height=.85*(xa.other.bottom-xa.other.top)+"px")}function ji(x,ca){return x.top-ca.top||x.left-ca.left}function xj(x,ca,Aa){function xa(xd,
|
||
oe,Af,Bg){0>oe&&(oe=0);oe=Math.round(oe);Bg=Math.round(Bg);pb.appendChild(n("div",null,"CodeMirror-selected","position: absolute; left: "+xd+"px;\n top: "+oe+"px; width: "+(null==Af?Lc-xd:Af)+"px;\n height: "+(Bg-oe)+"px"))}function Ia(xd,oe,Af){function Bg(qh,Wh){return tf(x,ia(xd,qh),"div",sg,Wh)}function vi(qh,Wh,Xh){qh=ua(x,sg,null,qh);Wh="ltr"==Wh==("after"==Xh)?"left":"right";Xh="after"==Xh?qh.begin:qh.end-(/\s/.test(sg.text.charAt(qh.end-
|
||
1))?2:1);return Bg(Xh,Wh)[Wh]}var sg=Oa(lb,xd),Di=sg.text.length,Uh,Qh,di=T(sg,lb.direction);P(di,oe||0,null==Af?Di:Af,function(qh,Wh,Xh,bi){var qj="ltr"==Xh,zk=Bg(qh,qj?"left":"right"),hl=Bg(Wh-1,qj?"right":"left"),un=null==oe&&0==qh,Vm=null==Af&&Wh==Di,tn=0==bi;bi=!di||bi==di.length-1;3>=hl.top-zk.top?(Wh=(od?un:Vm)&&tn?wc:(qj?zk:hl).left,xa(Wh,zk.top,((od?Vm:un)&&bi?Lc:(qj?hl:zk).right)-Wh,zk.bottom)):(qj?(qj=od&&un&&tn?wc:zk.left,un=od?Lc:vi(qh,Xh,"before"),qh=od?wc:vi(Wh,Xh,"after"),Vm=od&&Vm&&
|
||
bi?Lc:hl.right):(qj=od?vi(qh,Xh,"before"):wc,un=!od&&un&&tn?Lc:zk.right,qh=!od&&Vm&&bi?wc:hl.left,Vm=od?vi(Wh,Xh,"after"):Lc),xa(qj,zk.top,un-qj,zk.bottom),zk.bottom<hl.top&&xa(wc,zk.bottom,null,hl.top),xa(qh,hl.top,Vm-qh,hl.bottom));if(!Uh||0>ji(zk,Uh))Uh=zk;0>ji(hl,Uh)&&(Uh=hl);if(!Qh||0>ji(zk,Qh))Qh=zk;0>ji(hl,Qh)&&(Qh=hl)});return{start:Uh,end:Qh}}var $a=x.display,lb=x.doc,pb=document.createDocumentFragment(),Vb=Ib(x.display),wc=Vb.left,Lc=Math.max($a.sizerWidth,be(x)-$a.sizer.offsetLeft)-Vb.right,
|
||
od="ltr"==lb.direction;$a=ca.from();ca=ca.to();if($a.line==ca.line)Ia($a.line,$a.ch,ca.ch);else{var rd=Oa(lb,$a.line);Vb=Oa(lb,ca.line);Vb=jd(rd)==jd(Vb);$a=Ia($a.line,$a.ch,Vb?rd.text.length+1:null).end;ca=Ia(ca.line,Vb?0:null,ca.ch).start;Vb&&($a.top<ca.top-2?(xa($a.right,$a.top,null,$a.bottom),xa(wc,ca.top,ca.left,ca.bottom)):xa($a.right,$a.top,ca.left-$a.right,$a.bottom));$a.bottom<ca.top&&xa(wc,$a.bottom,null,ca.top)}Aa.appendChild(pb)}function Oj(x){if(x.state.focused){var ca=x.display;clearInterval(ca.blinker);
|
||
var Aa=!0;ca.cursorDiv.style.visibility="";0<x.options.cursorBlinkRate?ca.blinker=setInterval(function(){x.hasFocus()||Bk(x);ca.cursorDiv.style.visibility=(Aa=!Aa)?"":"hidden"},x.options.cursorBlinkRate):0>x.options.cursorBlinkRate&&(ca.cursorDiv.style.visibility="hidden")}}function rj(x){x.hasFocus()||(x.display.input.focus(),x.state.focused||th(x))}function Oi(x){x.state.delayingBlurEvent=!0;setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,x.state.focused&&Bk(x))},
|
||
100)}function th(x,ca){x.state.delayingBlurEvent&&!x.state.draggingText&&(x.state.delayingBlurEvent=!1);"nocursor"!=x.options.readOnly&&(x.state.focused||(D(x,"focus",x,ca),x.state.focused=!0,A(x.display.wrapper,"CodeMirror-focused"),x.curOp||x.display.selForContextMenu==x.doc.sel||(x.display.input.reset(),vj&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Oj(x))}function Bk(x,ca){x.state.delayingBlurEvent||(x.state.focused&&(D(x,"blur",x,ca),x.state.focused=
|
||
!1,Wm(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function yj(x){for(var ca=x.display,Aa=ca.lineDiv.offsetTop,xa=Math.max(0,ca.scroller.getBoundingClientRect().top),Ia=ca.lineDiv.getBoundingClientRect().top,$a=0,lb=0;lb<ca.view.length;lb++){var pb=ca.view[lb],Vb=x.options.lineWrapping,wc=0;if(!pb.hidden){Ia+=pb.line.height;if(Sg&&8>ui){Vb=pb.node.offsetTop+pb.node.offsetHeight;var Lc=Vb-Aa;Aa=Vb}else{var od=
|
||
pb.node.getBoundingClientRect();Lc=od.bottom-od.top;!Vb&&pb.text.firstChild&&(wc=pb.text.firstChild.getBoundingClientRect().right-od.left-1)}Vb=pb.line.height-Lc;if(.005<Vb||-.005>Vb)if(Ia<xa&&($a-=Vb),Ua(pb.line,Lc),Hl(pb.line),pb.rest)for(Lc=0;Lc<pb.rest.length;Lc++)Hl(pb.rest[Lc]);wc>x.display.sizerWidth&&(wc=Math.ceil(wc/Pc(x.display)),wc>x.display.maxLineLength&&(x.display.maxLineLength=wc,x.display.maxLine=pb.line,x.display.maxLineChanged=!0))}}2<Math.abs($a)&&(ca.scroller.scrollTop+=$a)}function Hl(x){if(x.widgets)for(var ca=
|
||
0;ca<x.widgets.length;++ca){var Aa=x.widgets[ca],xa=Aa.node.parentNode;xa&&(Aa.height=xa.offsetHeight)}}function ul(x,ca,Aa){var xa=Aa&&null!=Aa.top?Math.max(0,Aa.top):x.scroller.scrollTop;xa=Math.floor(xa-x.lineSpace.offsetTop);var Ia=Aa&&null!=Aa.bottom?Aa.bottom:xa+x.wrapper.clientHeight;xa=ma(ca,xa);Ia=ma(ca,Ia);if(Aa&&Aa.ensure){var $a=Aa.ensure.from.line;Aa=Aa.ensure.to.line;$a<xa?(xa=$a,Ia=ma(ca,sb(Oa(ca,$a))+x.wrapper.clientHeight)):Math.min(Aa,ca.lastLine())>=Ia&&(xa=ma(ca,sb(Oa(ca,Aa))-
|
||
x.wrapper.clientHeight),Ia=Aa)}return{from:xa,to:Math.max(Ia,xa+1)}}function ih(x,ca){var Aa=x.display,xa=Gc(x.display);0>ca.top&&(ca.top=0);var Ia=x.curOp&&null!=x.curOp.scrollTop?x.curOp.scrollTop:Aa.scroller.scrollTop,$a=Od(x),lb={};ca.bottom-ca.top>$a&&(ca.bottom=ca.top+$a);var pb=x.doc.height+Sb(Aa),Vb=ca.top<xa;xa=ca.bottom>pb-xa;ca.top<Ia?lb.scrollTop=Vb?0:ca.top:ca.bottom>Ia+$a&&($a=Math.min(ca.top,(xa?pb:ca.bottom)-$a),$a!=Ia&&(lb.scrollTop=$a));Ia=x.options.fixedGutter?0:Aa.gutters.offsetWidth;
|
||
$a=x.curOp&&null!=x.curOp.scrollLeft?x.curOp.scrollLeft:Aa.scroller.scrollLeft-Ia;x=be(x)-Aa.gutters.offsetWidth;if(Aa=ca.right-ca.left>x)ca.right=ca.left+x;10>ca.left?lb.scrollLeft=0:ca.left<$a?lb.scrollLeft=Math.max(0,ca.left+Ia-(Aa?0:10)):ca.right>x+$a-3&&(lb.scrollLeft=ca.right+(Aa?0:10)-x);return lb}function wf(x,ca){null!=ca&&(Il(x),x.curOp.scrollTop=(null==x.curOp.scrollTop?x.doc.scrollTop:x.curOp.scrollTop)+ca)}function Zf(x){Il(x);var ca=x.getCursor();x.curOp.scrollToPos={from:ca,to:ca,margin:x.options.cursorScrollMargin}}
|
||
function vl(x,ca,Aa){null==ca&&null==Aa||Il(x);null!=ca&&(x.curOp.scrollLeft=ca);null!=Aa&&(x.curOp.scrollTop=Aa)}function Il(x){var ca=x.curOp.scrollToPos;if(ca){x.curOp.scrollToPos=null;var Aa=Eg(x,ca.from),xa=Eg(x,ca.to);Pe(x,Aa,xa,ca.margin)}}function Pe(x,ca,Aa,xa){ca=ih(x,{left:Math.min(ca.left,Aa.left),top:Math.min(ca.top,Aa.top)-xa,right:Math.max(ca.right,Aa.right),bottom:Math.max(ca.bottom,Aa.bottom)+xa});vl(x,ca.scrollLeft,ca.scrollTop)}function ek(x,ca){2>Math.abs(x.doc.scrollTop-ca)||
|
||
(xk||qi(x,{top:ca}),pn(x,ca,!0),xk&&qi(x),li(x,100))}function pn(x,ca,Aa){ca=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,ca));if(x.display.scroller.scrollTop!=ca||Aa)x.doc.scrollTop=ca,x.display.scrollbars.setScrollTop(ca),x.display.scroller.scrollTop!=ca&&(x.display.scroller.scrollTop=ca)}function fk(x,ca,Aa,xa){ca=Math.max(0,Math.min(ca,x.display.scroller.scrollWidth-x.display.scroller.clientWidth));(Aa?ca==x.doc.scrollLeft:2>Math.abs(x.doc.scrollLeft-ca))&&
|
||
!xa||(x.doc.scrollLeft=ca,xh(x),x.display.scroller.scrollLeft!=ca&&(x.display.scroller.scrollLeft=ca),x.display.scrollbars.setScrollLeft(ca))}function sm(x){var ca=x.display,Aa=ca.gutters.offsetWidth,xa=Math.round(x.doc.height+Sb(x.display));return{clientHeight:ca.scroller.clientHeight,viewHeight:ca.wrapper.clientHeight,scrollWidth:ca.scroller.scrollWidth,clientWidth:ca.scroller.clientWidth,viewWidth:ca.wrapper.clientWidth,barLeft:x.options.fixedGutter?Aa:0,docHeight:xa,scrollHeight:xa+Ad(x)+ca.barHeight,
|
||
nativeBarWidth:ca.nativeBarWidth,gutterWidth:Aa}}function Eh(x,ca){ca||=sm(x);var Aa=x.display.barWidth,xa=x.display.barHeight;gk(x,ca);for(ca=0;4>ca&&Aa!=x.display.barWidth||xa!=x.display.barHeight;ca++)Aa!=x.display.barWidth&&x.options.lineWrapping&&yj(x),gk(x,sm(x)),Aa=x.display.barWidth,xa=x.display.barHeight}function gk(x,ca){var Aa=x.display,xa=Aa.scrollbars.update(ca);Aa.sizer.style.paddingRight=(Aa.barWidth=xa.right)+"px";Aa.sizer.style.paddingBottom=(Aa.barHeight=xa.bottom)+"px";Aa.heightForcer.style.borderBottom=
|
||
xa.bottom+"px solid transparent";xa.right&&xa.bottom?(Aa.scrollbarFiller.style.display="block",Aa.scrollbarFiller.style.height=xa.bottom+"px",Aa.scrollbarFiller.style.width=xa.right+"px"):Aa.scrollbarFiller.style.display="";xa.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(Aa.gutterFiller.style.display="block",Aa.gutterFiller.style.height=xa.bottom+"px",Aa.gutterFiller.style.width=ca.gutterWidth+"px"):Aa.gutterFiller.style.display=""}function Jl(x){x.display.scrollbars&&(x.display.scrollbars.clear(),
|
||
x.display.scrollbars.addClass&&Wm(x.display.wrapper,x.display.scrollbars.addClass));x.display.scrollbars=new yk[x.options.scrollbarStyle](function(ca){x.display.wrapper.insertBefore(ca,x.display.scrollbarFiller);Dg(ca,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)});ca.setAttribute("cm-not-content","true")},function(ca,Aa){"horizontal"==Aa?fk(x,ca):ek(x,ca)},x);x.display.scrollbars.addClass&&A(x.display.wrapper,x.display.scrollbars.addClass)}function Kk(x){x.curOp=
|
||
{cm:x,viewChanged:!1,startHeight:x.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:++pj,markArrays:null};x=x.curOp;zo?zo.ops.push(x):x.ownsGroup=zo={ops:[x],delayedCallbacks:[]}}function kg(x){(x=x.curOp)&&Kc(x,function(ca){for(var Aa=0;Aa<ca.ops.length;Aa++)ca.ops[Aa].cm.curOp=null;ca=ca.ops;for(Aa=0;Aa<ca.length;Aa++){var xa=ca[Aa],
|
||
Ia=xa.cm,$a=Ia.display,lb=Ia.display;!lb.scrollbarsClipped&&lb.scroller.offsetWidth&&(lb.nativeBarWidth=lb.scroller.offsetWidth-lb.scroller.clientWidth,lb.heightForcer.style.height=Ad(Ia)+"px",lb.sizer.style.marginBottom=-lb.nativeBarWidth+"px",lb.sizer.style.borderRightWidth=Ad(Ia)+"px",lb.scrollbarsClipped=!0);xa.updateMaxLine&&Ac(Ia);xa.mustUpdate=xa.viewChanged||xa.forceUpdate||null!=xa.scrollTop||xa.scrollToPos&&(xa.scrollToPos.from.line<$a.viewFrom||xa.scrollToPos.to.line>=$a.viewTo)||$a.maxLineChanged&&
|
||
Ia.options.lineWrapping;xa.update=xa.mustUpdate&&new Gl(Ia,xa.mustUpdate&&{top:xa.scrollTop,ensure:xa.scrollToPos},xa.forceUpdate)}for(Aa=0;Aa<ca.length;Aa++)xa=ca[Aa],xa.updatedDisplay=xa.mustUpdate&&Pg(xa.cm,xa.update);for(Aa=0;Aa<ca.length;Aa++)if(xa=ca[Aa],Ia=xa.cm,$a=Ia.display,xa.updatedDisplay&&yj(Ia),xa.barMeasure=sm(Ia),$a.maxLineChanged&&!Ia.options.lineWrapping&&(lb=$a.maxLine.text.length,lb=nb(Ia,rb(Ia,$a.maxLine),lb,void 0),xa.adjustWidthTo=lb.left+3,Ia.display.sizerWidth=xa.adjustWidthTo,
|
||
xa.barMeasure.scrollWidth=Math.max($a.scroller.clientWidth,$a.sizer.offsetLeft+xa.adjustWidthTo+Ad(Ia)+Ia.display.barWidth),xa.maxScrollLeft=Math.max(0,$a.sizer.offsetLeft+xa.adjustWidthTo-be(Ia))),xa.updatedDisplay||xa.selectionChanged)xa.preparedSelection=$a.input.prepareSelection();for(Aa=0;Aa<ca.length;Aa++)xa=ca[Aa],Ia=xa.cm,null!=xa.adjustWidthTo&&(Ia.display.sizer.style.minWidth=xa.adjustWidthTo+"px",xa.maxScrollLeft<Ia.doc.scrollLeft&&fk(Ia,Math.min(Ia.display.scroller.scrollLeft,xa.maxScrollLeft),
|
||
!0),Ia.display.maxLineChanged=!1),$a=xa.focus&&xa.focus==z(J(Ia)),xa.preparedSelection&&Ia.display.input.showSelection(xa.preparedSelection,$a),(xa.updatedDisplay||xa.startHeight!=Ia.doc.height)&&Eh(Ia,xa.barMeasure),xa.updatedDisplay&&fj(Ia,xa.barMeasure),xa.selectionChanged&&Oj(Ia),Ia.state.focused&&xa.updateInput&&Ia.display.input.reset(xa.typing),$a&&rj(xa.cm);for(Aa=0;Aa<ca.length;Aa++){var pb=void 0;xa=ca[Aa];Ia=xa.cm;$a=Ia.display;lb=Ia.doc;xa.updatedDisplay&&Mh(Ia,xa.update);null==$a.wheelStartX||
|
||
null==xa.scrollTop&&null==xa.scrollLeft&&!xa.scrollToPos||($a.wheelStartX=$a.wheelStartY=null);null!=xa.scrollTop&&pn(Ia,xa.scrollTop,xa.forceScroll);null!=xa.scrollLeft&&fk(Ia,xa.scrollLeft,!0,!0);if(xa.scrollToPos){var Vb=cb(lb,xa.scrollToPos.from);var wc=cb(lb,xa.scrollToPos.to);var Lc=xa.scrollToPos.margin;null==Lc&&(Lc=0);Ia.options.lineWrapping||Vb!=wc||(wc="before"==Vb.sticky?ia(Vb.line,Vb.ch+1,"before"):Vb,Vb=Vb.ch?ia(Vb.line,"before"==Vb.sticky?Vb.ch-1:Vb.ch,"after"):Vb);for(var od=0;5>od;od++){var rd=
|
||
!1;pb=pg(Ia,Vb);var xd=wc&&wc!=Vb?pg(Ia,wc):pb;pb={left:Math.min(pb.left,xd.left),top:Math.min(pb.top,xd.top)-Lc,right:Math.max(pb.left,xd.left),bottom:Math.max(pb.bottom,xd.bottom)+Lc};xd=ih(Ia,pb);var oe=Ia.doc.scrollTop,Af=Ia.doc.scrollLeft;null!=xd.scrollTop&&(ek(Ia,xd.scrollTop),1<Math.abs(Ia.doc.scrollTop-oe)&&(rd=!0));null!=xd.scrollLeft&&(fk(Ia,xd.scrollLeft),1<Math.abs(Ia.doc.scrollLeft-Af)&&(rd=!0));if(!rd)break}wc=pb;L(Ia,"scrollCursorIntoView")||(Lc=Ia.display,od=Lc.sizer.getBoundingClientRect(),
|
||
Vb=null,rd=Lc.wrapper.ownerDocument,0>wc.top+od.top?Vb=!0:wc.bottom+od.top>(rd.defaultView.innerHeight||rd.documentElement.clientHeight)&&(Vb=!1),null==Vb||yo||(wc=n("div","",null,"position: absolute;\n top: "+(wc.top-Lc.viewOffset-Ia.display.lineSpace.offsetTop)+"px;\n height: "+(wc.bottom-wc.top+Ad(Ia)+Lc.barHeight)+"px;\n left: "+wc.left+"px; width: "+Math.max(2,wc.right-wc.left)+"px;"),Ia.display.lineSpace.appendChild(wc),
|
||
wc.scrollIntoView(Vb),Ia.display.lineSpace.removeChild(wc)))}wc=xa.maybeHiddenMarkers;Vb=xa.maybeUnhiddenMarkers;if(wc)for(Lc=0;Lc<wc.length;++Lc)wc[Lc].lines.length||D(wc[Lc],"hide");if(Vb)for(wc=0;wc<Vb.length;++wc)Vb[wc].lines.length&&D(Vb[wc],"unhide");$a.wrapper.offsetHeight&&(lb.scrollTop=Ia.display.scroller.scrollTop);xa.changeObjs&&D(Ia,"changes",Ia,xa.changeObjs);xa.update&&xa.update.finish()}})}function rg(x,ca){if(x.curOp)return ca();Kk(x);try{return ca()}finally{kg(x)}}function ki(x,ca){return function(){if(x.curOp)return ca.apply(x,
|
||
arguments);Kk(x);try{return ca.apply(x,arguments)}finally{kg(x)}}}function Ri(x){return function(){if(this.curOp)return x.apply(this,arguments);Kk(this);try{return x.apply(this,arguments)}finally{kg(this)}}}function oh(x){return function(){var ca=this.cm;if(!ca||ca.curOp)return x.apply(this,arguments);Kk(ca);try{return x.apply(this,arguments)}finally{kg(ca)}}}function li(x,ca){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(ca,g(ej,x))}function ej(x){var ca=x.doc;if(!(ca.highlightFrontier>=
|
||
x.display.viewTo)){var Aa=+new Date+x.options.workTime,xa=ob(x,ca.highlightFrontier),Ia=[];ca.iter(xa.line,Math.min(ca.first+ca.size,x.display.viewTo+500),function($a){if(xa.line>=x.display.viewFrom){var lb=$a.styles,pb=$a.text.length>x.options.maxHighlightLength?Fa(ca.mode,xa.state):null,Vb=Mb(x,$a,xa,!0);pb&&(xa.state=pb);$a.styles=Vb.styles;pb=$a.styleClasses;(Vb=Vb.classes)?$a.styleClasses=Vb:pb&&($a.styleClasses=null);Vb=!lb||lb.length!=$a.styles.length||pb!=Vb&&(!pb||!Vb||pb.bgClass!=Vb.bgClass||
|
||
pb.textClass!=Vb.textClass);for(pb=0;!Vb&&pb<lb.length;++pb)Vb=lb[pb]!=$a.styles[pb];Vb&&Ia.push(xa.line);$a.stateAfter=xa.save()}else $a.text.length<=x.options.maxHighlightLength&&Ja(x,$a.text,xa),$a.stateAfter=0==xa.line%5?xa.save():null;xa.nextLine();if(+new Date>Aa)return li(x,x.options.workDelay),!0});ca.highlightFrontier=xa.line;ca.modeFrontier=Math.max(ca.modeFrontier,xa.line);Ia.length&&rg(x,function(){for(var $a=0;$a<Ia.length;$a++)If(x,Ia[$a],"text")})}}function Pg(x,ca){var Aa=x.display,
|
||
xa=x.doc;if(ca.editorIsHidden)return jg(x),!1;if(!ca.force&&ca.visible.from>=Aa.viewFrom&&ca.visible.to<=Aa.viewTo&&(null==Aa.updateLineNumbers||Aa.updateLineNumbers>=Aa.viewTo)&&Aa.renderedView==Aa.view&&0==tg(x))return!1;$k(x)&&(jg(x),ca.dims=Rd(x));var Ia=xa.first+xa.size,$a=Math.max(ca.visible.from-x.options.viewportMargin,xa.first),lb=Math.min(Ia,ca.visible.to+x.options.viewportMargin);Aa.viewFrom<$a&&20>$a-Aa.viewFrom&&($a=Math.max(xa.first,Aa.viewFrom));Aa.viewTo>lb&&20>Aa.viewTo-lb&&(lb=Math.min(Ia,
|
||
Aa.viewTo));ei&&($a=Cb(x.doc,$a),lb=$b(x.doc,lb));xa=$a!=Aa.viewFrom||lb!=Aa.viewTo||Aa.lastWrapHeight!=ca.wrapperHeight||Aa.lastWrapWidth!=ca.wrapperWidth;Ia=x.display;0==Ia.view.length||$a>=Ia.viewTo||lb<=Ia.viewFrom?(Ia.view=$c(x,$a,lb),Ia.viewFrom=$a):(Ia.viewFrom>$a?Ia.view=$c(x,$a,Ia.viewFrom).concat(Ia.view):Ia.viewFrom<$a&&(Ia.view=Ia.view.slice(Me(x,$a))),Ia.viewFrom=$a,Ia.viewTo<lb?Ia.view=Ia.view.concat($c(x,Ia.viewTo,lb)):Ia.viewTo>lb&&(Ia.view=Ia.view.slice(0,Me(x,lb))));Ia.viewTo=lb;
|
||
Aa.viewOffset=sb(Oa(x.doc,Aa.viewFrom));x.display.mover.style.top=Aa.viewOffset+"px";lb=tg(x);if(!xa&&0==lb&&!ca.force&&Aa.renderedView==Aa.view&&(null==Aa.updateLineNumbers||Aa.updateLineNumbers>=Aa.viewTo))return!1;x.hasFocus()?$a=null:($a=z(J(x)))&&u(x.display.lineDiv,$a)?($a={activeElt:$a},window.getSelection&&(Ia=J(x).defaultView.getSelection(),Ia.anchorNode&&Ia.extend&&u(x.display.lineDiv,Ia.anchorNode)&&($a.anchorNode=Ia.anchorNode,$a.anchorOffset=Ia.anchorOffset,$a.focusNode=Ia.focusNode,
|
||
$a.focusOffset=Ia.focusOffset))):$a=null;4<lb&&(Aa.lineDiv.style.display="none");Nm(x,Aa.updateLineNumbers,ca.dims);4<lb&&(Aa.lineDiv.style.display="");Aa.renderedView=Aa.view;(lb=$a)&&lb.activeElt&&lb.activeElt!=z(lb.activeElt.ownerDocument)&&(lb.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(lb.activeElt.nodeName)&&lb.anchorNode&&u(document.body,lb.anchorNode)&&u(document.body,lb.focusNode)&&(Ia=lb.activeElt.ownerDocument,$a=Ia.defaultView.getSelection(),Ia=Ia.createRange(),Ia.setEnd(lb.anchorNode,
|
||
lb.anchorOffset),Ia.collapse(!1),$a.removeAllRanges(),$a.addRange(Ia),$a.extend(lb.focusNode,lb.focusOffset)));Y(Aa.cursorDiv);Y(Aa.selectionDiv);Aa.gutters.style.height=Aa.sizer.style.minHeight=0;xa&&(Aa.lastWrapHeight=ca.wrapperHeight,Aa.lastWrapWidth=ca.wrapperWidth,li(x,400));Aa.updateLineNumbers=null;return!0}function Mh(x,ca){for(var Aa=ca.viewport,xa=!0;;xa=!1){if(xa&&x.options.lineWrapping&&ca.oldDisplayWidth!=be(x))xa&&(ca.visible=ul(x.display,x.doc,Aa));else if(Aa&&null!=Aa.top&&(Aa={top:Math.min(x.doc.height+
|
||
Sb(x.display)-Od(x),Aa.top)}),ca.visible=ul(x.display,x.doc,Aa),ca.visible.from>=x.display.viewFrom&&ca.visible.to<=x.display.viewTo)break;if(!Pg(x,ca))break;yj(x);xa=sm(x);Zh(x);Eh(x,xa);fj(x,xa);ca.force=!1}ca.signal(x,"update",x);if(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)ca.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo}function qi(x,ca){ca=
|
||
new Gl(x,ca);if(Pg(x,ca)){yj(x);Mh(x,ca);var Aa=sm(x);Zh(x);Eh(x,Aa);fj(x,Aa);ca.finish()}}function Nm(x,ca,Aa){function xa(rd){var xd=rd.nextSibling;vj&&Uk&&x.display.currentWheelTarget==rd?rd.style.display="none":rd.parentNode.removeChild(rd);return xd}var Ia=x.display,$a=x.options.lineNumbers,lb=Ia.lineDiv,pb=lb.firstChild,Vb=Ia.view;Ia=Ia.viewFrom;for(var wc=0;wc<Vb.length;wc++){var Lc=Vb[wc];if(!Lc.hidden)if(Lc.node&&Lc.node.parentNode==lb){for(;pb!=Lc.node;)pb=xa(pb);pb=$a&&null!=ca&&ca<=Ia&&
|
||
Lc.lineNumber;Lc.changes&&(-1<p(Lc.changes,"gutter")&&(pb=!1),fg(x,Lc,Ia,Aa));pb&&(Y(Lc.lineNumber),Lc.lineNumber.appendChild(document.createTextNode(oa(x.options,Ia))));pb=Lc.node.nextSibling}else{var od=Tg(x,Lc,Ia,Aa);lb.insertBefore(od,pb)}Ia+=Lc.size}for(;pb;)pb=xa(pb)}function zf(x){x.sizer.style.marginLeft=x.gutters.offsetWidth+"px";Ce(x,"gutterChanged",x)}function fj(x,ca){x.display.sizer.style.minHeight=ca.docHeight+"px";x.display.heightForcer.style.top=ca.docHeight+"px";x.display.gutters.style.height=
|
||
ca.docHeight+x.display.barHeight+Ad(x)+"px"}function xh(x){var ca=x.display,Aa=ca.view;if(ca.alignWidgets||ca.gutters.firstChild&&x.options.fixedGutter){for(var xa=zd(ca)-ca.scroller.scrollLeft+x.doc.scrollLeft,Ia=ca.gutters.offsetWidth,$a=xa+"px",lb=0;lb<Aa.length;lb++)if(!Aa[lb].hidden){x.options.fixedGutter&&(Aa[lb].gutter&&(Aa[lb].gutter.style.left=$a),Aa[lb].gutterBackground&&(Aa[lb].gutterBackground.style.left=$a));var pb=Aa[lb].alignable;if(pb)for(var Vb=0;Vb<pb.length;Vb++)pb[Vb].style.left=
|
||
$a}x.options.fixedGutter&&(ca.gutters.style.left=xa+Ia+"px")}}function $k(x){if(!x.options.lineNumbers)return!1;var ca=x.doc;ca=oa(x.options,ca.first+ca.size-1);var Aa=x.display;if(ca.length!=Aa.lineNumChars){var xa=Aa.measure.appendChild(n("div",[n("div",ca)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Ia=xa.firstChild.offsetWidth;xa=xa.offsetWidth-Ia;Aa.lineGutter.style.width="";Aa.lineNumInnerWidth=Math.max(Ia,Aa.lineGutter.offsetWidth-xa)+1;Aa.lineNumWidth=Aa.lineNumInnerWidth+xa;Aa.lineNumChars=
|
||
Aa.lineNumInnerWidth?ca.length:-1;Aa.lineGutter.style.width=Aa.lineNumWidth+"px";zf(x.display);return!0}return!1}function zj(x,ca){for(var Aa=[],xa=!1,Ia=0;Ia<x.length;Ia++){var $a=x[Ia],lb=null;"string"!=typeof $a&&(lb=$a.style,$a=$a.className);if("CodeMirror-linenumbers"==$a)if(ca)xa=!0;else continue;Aa.push({className:$a,style:lb})}ca&&!xa&&Aa.push({className:"CodeMirror-linenumbers",style:null});return Aa}function Om(x){var ca=x.gutters,Aa=x.gutterSpecs;Y(ca);x.lineGutter=null;for(var xa=0;xa<
|
||
Aa.length;++xa){var Ia=Aa[xa],$a=Ia.className;Ia=Ia.style;var lb=ca.appendChild(n("div",null,"CodeMirror-gutter "+$a));Ia&&(lb.style.cssText=Ia);"CodeMirror-linenumbers"==$a&&(x.lineGutter=lb,lb.style.width=(x.lineNumWidth||1)+"px")}ca.style.display=Aa.length?"":"none";zf(x)}function al(x){Om(x.display);Ff(x);xh(x)}function Zi(x,ca,Aa,xa){this.input=Aa;this.scrollbarFiller=n("div",null,"CodeMirror-scrollbar-filler");this.scrollbarFiller.setAttribute("cm-not-content","true");this.gutterFiller=n("div",
|
||
null,"CodeMirror-gutter-filler");this.gutterFiller.setAttribute("cm-not-content","true");this.lineDiv=b("div",null,"CodeMirror-code");this.selectionDiv=n("div",null,null,"position: relative; z-index: 1");this.cursorDiv=n("div",null,"CodeMirror-cursors");this.measure=n("div",null,"CodeMirror-measure");this.lineMeasure=n("div",null,"CodeMirror-measure");this.lineSpace=b("div",[this.measure,this.lineMeasure,this.selectionDiv,this.cursorDiv,this.lineDiv],null,"position: relative; outline: none");var Ia=
|
||
b("div",[this.lineSpace],"CodeMirror-lines");this.mover=n("div",[Ia],null,"position: relative");this.sizer=n("div",[this.mover],"CodeMirror-sizer");this.sizerWidth=null;this.heightForcer=n("div",null,null,"position: absolute; height: 50px; width: 1px;");this.gutters=n("div",null,"CodeMirror-gutters");this.lineGutter=null;this.scroller=n("div",[this.sizer,this.heightForcer,this.gutters],"CodeMirror-scroll");this.scroller.setAttribute("tabIndex","-1");this.wrapper=n("div",[this.scrollbarFiller,this.gutterFiller,
|
||
this.scroller],"CodeMirror");mm&&105<=To&&(this.wrapper.style.clipPath="inset(0px)");this.wrapper.setAttribute("translate","no");Sg&&8>ui&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight=0);vj||xk&&ti||(this.scroller.draggable=!0);x&&(x.appendChild?x.appendChild(this.wrapper):x(this.wrapper));this.reportedViewFrom=this.reportedViewTo=this.viewFrom=this.viewTo=ca.first;this.view=[];this.externalMeasured=this.renderedView=null;this.lastWrapHeight=this.lastWrapWidth=this.viewOffset=0;
|
||
this.updateLineNumbers=null;this.nativeBarWidth=this.barHeight=this.barWidth=0;this.scrollbarsClipped=!1;this.lineNumWidth=this.lineNumInnerWidth=this.lineNumChars=null;this.alignWidgets=!1;this.maxLine=this.cachedCharWidth=this.cachedTextHeight=this.cachedPaddingH=null;this.maxLineLength=0;this.maxLineChanged=!1;this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null;this.shift=!1;this.activeTouch=this.selForContextMenu=null;this.gutterSpecs=zj(xa.gutters,xa.lineNumbers);Om(this);Aa.init(this)}
|
||
function Zl(x){var ca=x.wheelDeltaX,Aa=x.wheelDeltaY;null==ca&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(ca=x.detail);null==Aa&&x.detail&&x.axis==x.VERTICAL_AXIS?Aa=x.detail:null==Aa&&(Aa=x.wheelDelta);return{x:ca,y:Aa}}function Ck(x){x=Zl(x);x.x*=Xl;x.y*=Xl;return x}function Qj(x,ca){mm&&102==To&&(null==x.display.chromeScrollHack?x.display.sizer.style.pointerEvents="none":clearTimeout(x.display.chromeScrollHack),x.display.chromeScrollHack=setTimeout(function(){x.display.chromeScrollHack=null;x.display.sizer.style.pointerEvents=
|
||
""},100));var Aa=Zl(ca),xa=Aa.x;Aa=Aa.y;var Ia=Xl;0===ca.deltaMode&&(xa=ca.deltaX,Aa=ca.deltaY,Ia=1);var $a=x.display,lb=$a.scroller,pb=lb.scrollWidth>lb.clientWidth,Vb=lb.scrollHeight>lb.clientHeight;if(xa&&pb||Aa&&Vb){if(Aa&&Uk&&vj){pb=ca.target;var wc=$a.view;a:for(;pb!=lb;pb=pb.parentNode)for(var Lc=0;Lc<wc.length;Lc++)if(wc[Lc].node==pb){x.display.currentWheelTarget=pb;break a}}!xa||xk||rl||null==Ia?(Aa&&null!=Ia&&(Ia*=Aa,Vb=x.doc.scrollTop,pb=Vb+$a.wrapper.clientHeight,0>Ia?Vb=Math.max(0,Vb+
|
||
Ia-50):pb=Math.min(x.doc.height,pb+Ia+50),qi(x,{top:Vb,bottom:pb})),20>mf&&0!==ca.deltaMode&&(null==$a.wheelStartX?($a.wheelStartX=lb.scrollLeft,$a.wheelStartY=lb.scrollTop,$a.wheelDX=xa,$a.wheelDY=Aa,setTimeout(function(){if(null!=$a.wheelStartX){var od=lb.scrollLeft-$a.wheelStartX,rd=lb.scrollTop-$a.wheelStartY;od=rd&&$a.wheelDY&&rd/$a.wheelDY||od&&$a.wheelDX&&od/$a.wheelDX;$a.wheelStartX=$a.wheelStartY=null;od&&(Xl=(Xl*mf+od)/(mf+1),++mf)}},200)):($a.wheelDX+=xa,$a.wheelDY+=Aa))):(Aa&&Vb&&ek(x,
|
||
Math.max(0,lb.scrollTop+Aa*Ia)),fk(x,Math.max(0,lb.scrollLeft+xa*Ia)),(!Aa||Aa&&Vb)&&R(ca),$a.wheelStartX=null)}}function Jg(x,ca,Aa){x=x&&x.options.selectionsMayTouch;Aa=ca[Aa];ca.sort(function(Vb,wc){return sa(Vb.from(),wc.from())});Aa=p(ca,Aa);for(var xa=1;xa<ca.length;xa++){var Ia=ca[xa],$a=ca[xa-1],lb=sa($a.to(),Ia.from());if(x&&!Ia.empty()?0<lb:0<=lb){lb=Pa($a.from(),Ia.from());var pb=Xa($a.to(),Ia.to());Ia=$a.empty()?Ia.from()==Ia.head:$a.from()==$a.head;xa<=Aa&&--Aa;ca.splice(--xa,2,new Xf(Ia?
|
||
pb:lb,Ia?lb:pb))}}return new Gh(ca,Aa)}function $h(x,ca){return new Gh([new Xf(x,ca||x)],0)}function mi(x){return x.text?ia(x.from.line+x.text.length-1,E(x.text).length+(1==x.text.length?x.from.ch:0)):x.to}function $l(x,ca){if(0>sa(x,ca.from))return x;if(0>=sa(x,ca.to))return mi(ca);var Aa=x.line+ca.text.length-(ca.to.line-ca.from.line)-1,xa=x.ch;x.line==ca.to.line&&(xa+=mi(ca).ch-ca.to.ch);return ia(Aa,xa)}function Pm(x,ca){for(var Aa=[],xa=0;xa<x.sel.ranges.length;xa++){var Ia=x.sel.ranges[xa];
|
||
Aa.push(new Xf($l(Ia.anchor,ca),$l(Ia.head,ca)))}return Jg(x.cm,Aa,x.sel.primIndex)}function yh(x,ca,Aa){return x.line==ca.line?ia(Aa.line,x.ch-ca.ch+Aa.ch):ia(Aa.line+(x.line-ca.line),x.ch)}function wl(x){x.doc.mode=wa(x.options,x.doc.modeOption);sj(x)}function sj(x){x.doc.iter(function(ca){ca.stateAfter&&(ca.stateAfter=null);ca.styles&&(ca.styles=null)});x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first;li(x,100);x.state.modeGen++;x.curOp&&Ff(x)}function hj(x,ca){return 0==ca.from.ch&&0==ca.to.ch&&
|
||
""==E(ca.text)&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function Ti(x,ca,Aa,xa){function Ia(oe,Af,Bg){oe.text=Af;oe.stateAfter&&(oe.stateAfter=null);oe.styles&&(oe.styles=null);null!=oe.order&&(oe.order=null);Fc(oe);tc(oe,Bg);Af=xa?xa(oe):1;Af!=oe.height&&Ua(oe,Af);Ce(oe,"change",oe,ca)}function $a(oe,Af){for(var Bg=[];oe<Af;++oe)Bg.push(new ch(Vb[oe],Aa?Aa[oe]:null,xa));return Bg}var lb=ca.from,pb=ca.to,Vb=ca.text,wc=Oa(x,lb.line),Lc=Oa(x,pb.line),od=E(Vb),rd=Aa?Aa[Vb.length-1]:null,xd=pb.line-
|
||
lb.line;ca.full?(x.insert(0,$a(0,Vb.length)),x.remove(Vb.length,x.size-Vb.length)):hj(x,ca)?(pb=$a(0,Vb.length-1),Ia(Lc,Lc.text,rd),xd&&x.remove(lb.line,xd),pb.length&&x.insert(lb.line,pb)):wc==Lc?1==Vb.length?Ia(wc,wc.text.slice(0,lb.ch)+od+wc.text.slice(pb.ch),rd):(xd=$a(1,Vb.length-1),xd.push(new ch(od+wc.text.slice(pb.ch),rd,xa)),Ia(wc,wc.text.slice(0,lb.ch)+Vb[0],Aa?Aa[0]:null),x.insert(lb.line+1,xd)):1==Vb.length?(Ia(wc,wc.text.slice(0,lb.ch)+Vb[0]+Lc.text.slice(pb.ch),Aa?Aa[0]:null),x.remove(lb.line+
|
||
1,xd)):(Ia(wc,wc.text.slice(0,lb.ch)+Vb[0],Aa?Aa[0]:null),Ia(Lc,od+Lc.text.slice(pb.ch),rd),rd=$a(1,Vb.length-1),1<xd&&x.remove(lb.line+1,xd-1),x.insert(lb.line+1,rd));Ce(x,"change",x,ca)}function jj(x,ca,Aa){function xa(Ia,$a,lb){if(Ia.linked)for(var pb=0;pb<Ia.linked.length;++pb){var Vb=Ia.linked[pb];if(Vb.doc!=$a){var wc=lb&&Vb.sharedHist;if(!Aa||wc)ca(Vb.doc,wc),xa(Vb.doc,Ia,wc)}}}xa(x,null,!0)}function Rh(x,ca){if(ca.cm)throw Error("This document is already in use.");x.doc=ca;ca.cm=x;Oe(x);wl(x);
|
||
kj(x);x.options.direction=ca.direction;x.options.lineWrapping||Ac(x);x.options.mode=ca.modeOption;Ff(x)}function kj(x){("rtl"==x.doc.direction?A:Wm)(x.display.lineDiv,"CodeMirror-rtl")}function Aj(x){rg(x,function(){kj(x);Ff(x)})}function ik(x){this.done=[];this.undone=[];this.undoDepth=x?x.undoDepth:Infinity;this.lastModTime=this.lastSelTime=0;this.lastOrigin=this.lastSelOrigin=this.lastOp=this.lastSelOp=null;this.generation=this.maxGeneration=x?x.maxGeneration:1}function uo(x,ca){var Aa={from:Qa(ca.from),
|
||
to:mi(ca),text:Va(x,ca.from,ca.to)};up(x,Aa,ca.from.line,ca.to.line+1);jj(x,function(xa){return up(xa,Aa,ca.from.line,ca.to.line+1)},!0);return Aa}function Yn(x){for(;x.length;)if(E(x).ranges)x.pop();else break}function Lk(x,ca,Aa,xa){var Ia=x.history;Ia.undone.length=0;var $a=+new Date,lb;if(lb=Ia.lastOp==xa||Ia.lastOrigin==ca.origin&&ca.origin&&("+"==ca.origin.charAt(0)&&Ia.lastModTime>$a-(x.cm?x.cm.options.historyEventDelay:500)||"*"==ca.origin.charAt(0))){if(Ia.lastOp==xa){Yn(Ia.done);var pb=
|
||
E(Ia.done)}else Ia.done.length&&!E(Ia.done).ranges?pb=E(Ia.done):1<Ia.done.length&&!Ia.done[Ia.done.length-2].ranges?(Ia.done.pop(),pb=E(Ia.done)):pb=void 0;lb=pb}if(lb){var Vb=E(pb.changes);0==sa(ca.from,ca.to)&&0==sa(ca.from,Vb.to)?Vb.to=mi(ca):pb.changes.push(uo(x,ca))}else for((pb=E(Ia.done))&&pb.ranges||Qm(x.sel,Ia.done),pb={changes:[uo(x,ca)],generation:Ia.generation},Ia.done.push(pb);Ia.done.length>Ia.undoDepth;)Ia.done.shift(),Ia.done[0].ranges||Ia.done.shift();Ia.done.push(Aa);Ia.generation=
|
||
++Ia.maxGeneration;Ia.lastModTime=Ia.lastSelTime=$a;Ia.lastOp=Ia.lastSelOp=xa;Ia.lastOrigin=Ia.lastSelOrigin=ca.origin;Vb||D(x,"historyAdded")}function Qm(x,ca){var Aa=E(ca);Aa&&Aa.ranges&&Aa.equals(x)||ca.push(x)}function up(x,ca,Aa,xa){var Ia=ca["spans_"+x.id],$a=0;x.iter(Math.max(x.first,Aa),Math.min(x.first+x.size,xa),function(lb){lb.markedSpans&&((Ia||=ca["spans_"+x.id]={})[$a]=lb.markedSpans);++$a})}function Sj(x,ca){var Aa;if(Aa=ca["spans_"+x.id]){for(var xa=[],Ia=0;Ia<ca.text.length;++Ia){var $a=
|
||
xa,lb=$a.push;var pb=void 0;var Vb=Aa[Ia];if(Vb){for(var wc=0;wc<Vb.length;++wc)Vb[wc].marker.explicitlyCleared?pb||=Vb.slice(0,wc):pb&&pb.push(Vb[wc]);pb=pb?pb.length?pb:null:Vb}else pb=null;lb.call($a,pb)}Aa=xa}else Aa=null;x=lc(x,ca);if(!Aa)return x;if(!x)return Aa;for(ca=0;ca<Aa.length;++ca)if(xa=Aa[ca],Ia=x[ca],xa&&Ia)a:for($a=0;$a<Ia.length;++$a){lb=Ia[$a];for(pb=0;pb<xa.length;++pb)if(xa[pb].marker==lb.marker)continue a;xa.push(lb)}else Ia&&(Aa[ca]=Ia);return Aa}function xl(x,ca,Aa){for(var xa=
|
||
[],Ia=0;Ia<x.length;++Ia){var $a=x[Ia];if($a.ranges)xa.push(Aa?Gh.prototype.deepCopy.call($a):$a);else{$a=$a.changes;var lb=[];xa.push({changes:lb});for(var pb=0;pb<$a.length;++pb){var Vb=$a[pb],wc;lb.push({from:Vb.from,to:Vb.to,text:Vb.text});if(ca)for(var Lc in Vb)(wc=Lc.match(/^spans_(\d+)$/))&&-1<p(ca,Number(wc[1]))&&(E(lb)[Lc]=Vb[Lc],delete Vb[Lc])}}}return xa}function Ek(x,ca,Aa,xa){return xa?(x=x.anchor,Aa&&(xa=0>sa(ca,x),xa!=0>sa(Aa,x)?(x=ca,ca=Aa):xa!=0>sa(ca,Aa)&&(ca=Aa)),new Xf(x,ca)):
|
||
new Xf(Aa||ca,ca)}function En(x,ca,Aa,xa,Ia){null==Ia&&(Ia=x.cm&&(x.cm.display.shift||x.extend));Rg(x,new Gh([Ek(x.sel.primary(),ca,Aa,Ia)],0),xa)}function am(x,ca,Aa){for(var xa=[],Ia=x.cm&&(x.cm.display.shift||x.extend),$a=0;$a<x.sel.ranges.length;$a++)xa[$a]=Ek(x.sel.ranges[$a],ca[$a],null,Ia);ca=Jg(x.cm,xa,x.sel.primIndex);Rg(x,ca,Aa)}function Rm(x,ca,Aa,xa){var Ia=x.sel.ranges.slice(0);Ia[ca]=Aa;Rg(x,Jg(x.cm,Ia,x.sel.primIndex),xa)}function hk(x,ca,Aa){Aa={ranges:ca.ranges,update:function(xa){this.ranges=
|
||
[];for(var Ia=0;Ia<xa.length;Ia++)this.ranges[Ia]=new Xf(cb(x,xa[Ia].anchor),cb(x,xa[Ia].head))},origin:Aa&&Aa.origin};D(x,"beforeSelectionChange",x,Aa);x.cm&&D(x.cm,"beforeSelectionChange",x.cm,Aa);return Aa.ranges!=ca.ranges?Jg(x.cm,Aa.ranges,Aa.ranges.length-1):ca}function Sm(x,ca,Aa){var xa=x.history.done,Ia=E(xa);Ia&&Ia.ranges?(xa[xa.length-1]=ca,um(x,ca,Aa)):Rg(x,ca,Aa)}function Rg(x,ca,Aa){um(x,ca,Aa);ca=x.sel;var xa=x.cm?x.cm.curOp.id:NaN,Ia=x.history,$a=Aa&&Aa.origin,lb;if(!(lb=xa==Ia.lastSelOp)&&
|
||
(lb=$a&&Ia.lastSelOrigin==$a)&&!(lb=Ia.lastModTime==Ia.lastSelTime&&Ia.lastOrigin==$a)){lb=E(Ia.done);var pb=$a.charAt(0);lb="*"==pb||"+"==pb&&lb.ranges.length==ca.ranges.length&&lb.somethingSelected()==ca.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}lb?Ia.done[Ia.done.length-1]=ca:Qm(ca,Ia.done);Ia.lastSelTime=+new Date;Ia.lastSelOrigin=$a;Ia.lastSelOp=xa;Aa&&!1!==Aa.clearRedo&&Yn(Ia.undone)}function um(x,ca,Aa){if(N(x,"beforeSelectionChange")||x.cm&&
|
||
N(x.cm,"beforeSelectionChange"))ca=hk(x,ca,Aa);var xa=Aa&&Aa.bias||(0>sa(ca.primary().head,x.sel.primary().head)?-1:1);vh(x,Ze(x,ca,xa,!0));Aa&&!1===Aa.scroll||!x.cm||"nocursor"==x.cm.getOption("readOnly")||Zf(x.cm)}function vh(x,ca){ca.equals(x.sel)||(x.sel=ca,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,Q(x.cm)),Ce(x,"cursorActivity",x))}function tj(x){vh(x,Ze(x,x.sel,null,!1))}function Ze(x,ca,Aa,xa){for(var Ia,$a=0;$a<ca.ranges.length;$a++){var lb=ca.ranges[$a],pb=ca.ranges.length==
|
||
x.sel.ranges.length&&x.sel.ranges[$a],Vb=Bj(x,lb.anchor,pb&&pb.anchor,Aa,xa);pb=lb.head==lb.anchor?Vb:Bj(x,lb.head,pb&&pb.head,Aa,xa);if(Ia||Vb!=lb.anchor||pb!=lb.head)Ia||=ca.ranges.slice(0,$a),Ia[$a]=new Xf(Vb,pb)}return Ia?Jg(x.cm,Ia,ca.primIndex):ca}function Si(x,ca,Aa,xa,Ia){var $a=Oa(x,ca.line);if($a.markedSpans)for(var lb=0;lb<$a.markedSpans.length;++lb){var pb=$a.markedSpans[lb],Vb=pb.marker,wc="selectLeft"in Vb?!Vb.selectLeft:Vb.inclusiveLeft,Lc="selectRight"in Vb?!Vb.selectRight:Vb.inclusiveRight;
|
||
if((null==pb.from||(wc?pb.from<=ca.ch:pb.from<ca.ch))&&(null==pb.to||(Lc?pb.to>=ca.ch:pb.to>ca.ch))){if(Ia&&(D(Vb,"beforeCursorEnter"),Vb.explicitlyCleared))if($a.markedSpans){--lb;continue}else break;if(Vb.atomic){if(Aa){lb=Vb.find(0>xa?1:-1);pb=void 0;if(0>xa?Lc:wc)lb=Fn(x,lb,-xa,lb&&lb.line==ca.line?$a:null);if(lb&&lb.line==ca.line&&(pb=sa(lb,Aa))&&(0>xa?0>pb:0<pb))return Si(x,lb,ca,xa,Ia)}Aa=Vb.find(0>xa?-1:1);if(0>xa?wc:Lc)Aa=Fn(x,Aa,xa,Aa.line==ca.line?$a:null);return Aa?Si(x,Aa,ca,xa,Ia):null}}}return ca}
|
||
function Bj(x,ca,Aa,xa,Ia){xa=xa||1;ca=Si(x,ca,Aa,xa,Ia)||!Ia&&Si(x,ca,Aa,xa,!0)||Si(x,ca,Aa,-xa,Ia)||!Ia&&Si(x,ca,Aa,-xa,!0);return ca?ca:(x.cantEdit=!0,ia(x.first,0))}function Fn(x,ca,Aa,xa){return 0>Aa&&0==ca.ch?ca.line>x.first?cb(x,ia(ca.line-1)):null:0<Aa&&ca.ch==(xa||Oa(x,ca.line)).text.length?ca.line<x.first+x.size-1?ia(ca.line+1,0):null:new ia(ca.line,ca.ch+Aa)}function yl(x){x.setSelection(ia(x.firstLine(),0),ia(x.lastLine()),om)}function sn(x,ca,Aa){var xa={canceled:!1,from:ca.from,to:ca.to,
|
||
text:ca.text,origin:ca.origin,cancel:function(){return xa.canceled=!0}};Aa&&(xa.update=function(Ia,$a,lb,pb){Ia&&(xa.from=cb(x,Ia));$a&&(xa.to=cb(x,$a));lb&&(xa.text=lb);void 0!==pb&&(xa.origin=pb)});D(x,"beforeChange",x,xa);x.cm&&D(x.cm,"beforeChange",x.cm,xa);return xa.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:xa.from,to:xa.to,text:xa.text,origin:xa.origin}}function He(x,ca,Aa){if(x.cm){if(!x.cm.curOp)return ki(x.cm,He)(x,ca,Aa);if(x.cm.state.suppressEdits)return}if(N(x,"beforeChange")||
|
||
x.cm&&N(x.cm,"beforeChange"))if(ca=sn(x,ca,!0),!ca)return;if(Aa=Aq&&!Aa&&vc(x,ca.from,ca.to))for(var xa=Aa.length-1;0<=xa;--xa)Lf(x,{from:Aa[xa].from,to:Aa[xa].to,text:xa?[""]:ca.text,origin:ca.origin});else Lf(x,ca)}function Lf(x,ca){if(1!=ca.text.length||""!=ca.text[0]||0!=sa(ca.from,ca.to)){var Aa=Pm(x,ca);Lk(x,ca,Aa,x.cm?x.cm.curOp.id:NaN);Ji(x,ca,Aa,lc(x,ca));var xa=[];jj(x,function(Ia,$a){$a||-1!=p(xa,Ia.history)||(Ei(Ia.history,ca),xa.push(Ia.history));Ji(Ia,ca,null,lc(Ia,ca))})}}function xg(x,
|
||
ca,Aa){var xa=x.cm&&x.cm.state.suppressEdits;if(!xa||Aa){for(var Ia=x.history,$a,lb=x.sel,pb="undo"==ca?Ia.done:Ia.undone,Vb="undo"==ca?Ia.undone:Ia.done,wc=0;wc<pb.length&&($a=pb[wc],Aa?!$a.ranges||$a.equals(x.sel):$a.ranges);wc++);if(wc!=pb.length){for(Ia.lastOrigin=Ia.lastSelOrigin=null;;)if($a=pb.pop(),$a.ranges){Qm($a,Vb);if(Aa&&!$a.equals(x.sel)){Rg(x,$a,{clearRedo:!1});return}lb=$a}else{if(xa){pb.push($a);return}break}var Lc=[];Qm(lb,Vb);Vb.push({changes:Lc,generation:Ia.generation});Ia.generation=
|
||
$a.generation||++Ia.maxGeneration;var od=N(x,"beforeChange")||x.cm&&N(x.cm,"beforeChange");Aa=function(rd){var xd=$a.changes[rd];xd.origin=ca;if(od&&!sn(x,xd,!1))return pb.length=0,{};Lc.push(uo(x,xd));var oe=rd?Pm(x,xd):E(pb);Ji(x,xd,oe,Sj(x,xd));!rd&&x.cm&&x.cm.scrollIntoView({from:xd.from,to:mi(xd)});var Af=[];jj(x,function(Bg,vi){vi||-1!=p(Af,Bg.history)||(Ei(Bg.history,xd),Af.push(Bg.history));Ji(Bg,xd,null,Sj(Bg,xd))})};for(xa=$a.changes.length-1;0<=xa;--xa)if(Ia=Aa(xa))return Ia.v}}}function eh(x,
|
||
ca){if(0!=ca&&(x.first+=ca,x.sel=new Gh(w(x.sel.ranges,function(Ia){return new Xf(ia(Ia.anchor.line+ca,Ia.anchor.ch),ia(Ia.head.line+ca,Ia.head.ch))}),x.sel.primIndex),x.cm)){Ff(x.cm,x.first,x.first-ca,ca);for(var Aa=x.cm.display,xa=Aa.viewFrom;xa<Aa.viewTo;xa++)If(x.cm,xa,"gutter")}}function Ji(x,ca,Aa,xa){if(x.cm&&!x.cm.curOp)return ki(x.cm,Ji)(x,ca,Aa,xa);if(ca.to.line<x.first)eh(x,ca.text.length-1-(ca.to.line-ca.from.line));else if(!(ca.from.line>x.lastLine())){if(ca.from.line<x.first){var Ia=
|
||
ca.text.length-1-(x.first-ca.from.line);eh(x,Ia);ca={from:ia(x.first,0),to:ia(ca.to.line+Ia,ca.to.ch),text:[E(ca.text)],origin:ca.origin}}Ia=x.lastLine();ca.to.line>Ia&&(ca={from:ca.from,to:ia(Ia,Oa(x,Ia).text.length),text:[ca.text[0]],origin:ca.origin});ca.removed=Va(x,ca.from,ca.to);Aa||=Pm(x,ca);x.cm?el(x.cm,ca,xa):Ti(x,ca,xa);um(x,Aa,om);x.cantEdit&&Bj(x,ia(x.firstLine(),0))&&(x.cantEdit=!1)}}function el(x,ca,Aa){var xa=x.doc,Ia=x.display,$a=ca.from,lb=ca.to,pb=!1,Vb=$a.line;x.options.lineWrapping||
|
||
(Vb=La(jd(Oa(xa,$a.line))),xa.iter(Vb,lb.line+1,function(wc){if(wc==Ia.maxLine)return pb=!0}));-1<xa.sel.contains(ca.from,ca.to)&&Q(x);Ti(xa,ca,Aa,Ie(x));x.options.lineWrapping||(xa.iter(Vb,$a.line+ca.text.length,function(wc){var Lc=ac(wc);Lc>Ia.maxLineLength&&(Ia.maxLine=wc,Ia.maxLineLength=Lc,Ia.maxLineChanged=!0,pb=!1)}),pb&&(x.curOp.updateMaxLine=!0));uc(xa,$a.line);li(x,400);Aa=ca.text.length-(lb.line-$a.line)-1;ca.full?Ff(x):$a.line!=lb.line||1!=ca.text.length||hj(x.doc,ca)?Ff(x,$a.line,lb.line+
|
||
1,Aa):If(x,$a.line,"text");Aa=N(x,"changes");if((xa=N(x,"change"))||Aa)ca={from:$a,to:lb,text:ca.text,removed:ca.removed,origin:ca.origin},xa&&Ce(x,"change",x,ca),Aa&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(ca);x.display.selForContextMenu=null}function lg(x,ca,Aa,xa,Ia){xa||=Aa;0>sa(xa,Aa)&&(xa=[xa,Aa],Aa=xa[0],xa=xa[1]);"string"==typeof ca&&(ca=x.splitLines(ca));He(x,{from:Aa,to:xa,text:ca,origin:Ia})}function fl(x,ca,Aa,xa){Aa<x.line?x.line+=xa:ca<x.line&&(x.line=ca,x.ch=0)}function Mk(x,
|
||
ca,Aa,xa){for(var Ia=0;Ia<x.length;++Ia){var $a=x[Ia],lb=!0;if($a.ranges)for($a.copied||($a=x[Ia]=$a.deepCopy(),$a.copied=!0),lb=0;lb<$a.ranges.length;lb++)fl($a.ranges[lb].anchor,ca,Aa,xa),fl($a.ranges[lb].head,ca,Aa,xa);else{for(var pb=0;pb<$a.changes.length;++pb){var Vb=$a.changes[pb];if(Aa<Vb.from.line)Vb.from=ia(Vb.from.line+xa,Vb.from.ch),Vb.to=ia(Vb.to.line+xa,Vb.to.ch);else if(ca<=Vb.to.line){lb=!1;break}}lb||(x.splice(0,Ia+1),Ia=0)}}}function Ei(x,ca){var Aa=ca.from.line,xa=ca.to.line;ca=
|
||
ca.text.length-(xa-Aa)-1;Mk(x.done,Aa,xa,ca);Mk(x.undone,Aa,xa,ca)}function Fk(x,ca,Aa,xa){var Ia=ca,$a=ca;"number"==typeof ca?$a=Oa(x,Math.max(x.first,Math.min(ca,x.first+x.size-1))):Ia=La(ca);if(null==Ia)return null;xa($a,Ia)&&x.cm&&If(x.cm,Ia,Aa);return $a}function ij(x){this.lines=x;this.parent=null;for(var ca=0,Aa=0;Aa<x.length;++Aa)x[Aa].parent=this,ca+=x[Aa].height;this.height=ca}function gj(x){this.children=x;for(var ca=0,Aa=0,xa=0;xa<x.length;++xa){var Ia=x[xa];ca+=Ia.chunkSize();Aa+=Ia.height;
|
||
Ia.parent=this}this.size=ca;this.height=Aa;this.parent=null}function bl(x,ca,Aa,xa){var Ia=new ag(x,Aa,xa),$a=x.cm;$a&&Ia.noHScroll&&($a.display.alignWidgets=!0);Fk(x,ca,"widget",function(lb){var pb=lb.widgets||(lb.widgets=[]);null==Ia.insertAt?pb.push(Ia):pb.splice(Math.min(pb.length,Math.max(0,Ia.insertAt)),0,Ia);Ia.line=lb;$a&&!Wb(x,lb)&&(pb=sb(lb)<x.scrollTop,Ua(lb,lb.height+ed(Ia)),pb&&wf($a,Ia.height),$a.curOp.forceUpdate=!0);return!0});$a&&Ce($a,"lineWidgetAdded",$a,Ia,"number"==typeof ca?
|
||
ca:La(ca));return Ia}function Nk(x,ca,Aa,xa,Ia){if(xa&&xa.shared)return Sh(x,ca,Aa,xa,Ia);if(x.cm&&!x.cm.curOp)return ki(x.cm,Nk)(x,ca,Aa,xa,Ia);var $a=new Lj(x,Ia);Ia=sa(ca,Aa);xa&&h(xa,$a,!1);if(0<Ia||0==Ia&&!1!==$a.clearWhenEmpty)return $a;$a.replacedWith&&($a.collapsed=!0,$a.widgetNode=b("span",[$a.replacedWith],"CodeMirror-widget"),xa.handleMouseEvents||$a.widgetNode.setAttribute("cm-ignore-events","true"),xa.insertLeft&&($a.widgetNode.insertLeft=!0));if($a.collapsed){if(Vc(x,ca.line,ca,Aa,$a)||
|
||
ca.line!=Aa.line&&Vc(x,Aa.line,ca,Aa,$a))throw Error("Inserting collapsed marker partially overlapping an existing one");ei=!0}$a.addToHistory&&Lk(x,{from:ca,to:Aa,origin:"markText"},x.sel,NaN);var lb=ca.line,pb=x.cm,Vb;x.iter(lb,Aa.line+1,function(wc){pb&&$a.collapsed&&!pb.options.lineWrapping&&jd(wc)==pb.display.maxLine&&(Vb=!0);$a.collapsed&&lb!=ca.line&&Ua(wc,0);var Lc=new xc($a,lb==ca.line?ca.ch:null,lb==Aa.line?Aa.ch:null),od=x.cm&&x.cm.curOp;(od=od&&window.WeakSet&&(od.markedSpans||(od.markedSpans=
|
||
new WeakSet)))&&wc.markedSpans&&od.has(wc.markedSpans)?wc.markedSpans.push(Lc):(wc.markedSpans=wc.markedSpans?wc.markedSpans.concat([Lc]):[Lc],od&&od.add(wc.markedSpans));Lc.marker.attachLine(wc);++lb});$a.collapsed&&x.iter(ca.line,Aa.line+1,function(wc){Wb(x,wc)&&Ua(wc,0)});$a.clearOnEnter&&Dg($a,"beforeCursorEnter",function(){return $a.clear()});$a.readOnly&&(Aq=!0,(x.history.done.length||x.history.undone.length)&&x.clearHistory());$a.collapsed&&($a.id=++Bn,$a.atomic=!0);if(pb){Vb&&(pb.curOp.updateMaxLine=
|
||
!0);if($a.collapsed)Ff(pb,ca.line,Aa.line+1);else if($a.className||$a.startStyle||$a.endStyle||$a.css||$a.attributes||$a.title)for(xa=ca.line;xa<=Aa.line;xa++)If(pb,xa,"text");$a.atomic&&tj(pb.doc);Ce(pb,"markerAdded",pb,$a)}return $a}function Sh(x,ca,Aa,xa,Ia){xa=h(xa);xa.shared=!1;var $a=[Nk(x,ca,Aa,xa,Ia)],lb=$a[0],pb=xa.widgetNode;jj(x,function(Vb){pb&&(xa.widgetNode=pb.cloneNode(!0));$a.push(Nk(Vb,cb(Vb,ca),cb(Vb,Aa),xa,Ia));for(var wc=0;wc<Vb.linked.length;++wc)if(Vb.linked[wc].isParent)return;
|
||
lb=E($a)});return new Nl($a,lb)}function wi(x){return x.findMarks(ia(x.first,0),x.clipPos(ia(x.lastLine())),function(ca){return ca.parent})}function cl(x){for(var ca=function(xa){xa=x[xa];var Ia=[xa.primary.doc];jj(xa.primary.doc,function(pb){return Ia.push(pb)});for(var $a=0;$a<xa.markers.length;$a++){var lb=xa.markers[$a];-1==p(Ia,lb.doc)&&(lb.parent=null,xa.markers.splice($a--,1))}},Aa=0;Aa<x.length;Aa++)ca(Aa)}function Ok(x){var ca=this;Ui(ca);if(!L(ca,x)&&!Hb(ca.display,x)){R(x);Sg&&(sh=+new Date);
|
||
var Aa=Ye(ca,x,!0),xa=x.dataTransfer.files;if(Aa&&!ca.isReadOnly())if(xa&&xa.length&&window.FileReader&&window.File)for(var Ia=xa.length,$a=Array(Ia),lb=0,pb=function(){++lb==Ia&&ki(ca,function(){Aa=cb(ca.doc,Aa);var Lc={from:Aa,to:Aa,text:ca.doc.splitLines($a.filter(function(od){return null!=od}).join(ca.doc.lineSeparator())),origin:"paste"};He(ca.doc,Lc);Sm(ca.doc,$h(cb(ca.doc,Aa),cb(ca.doc,mi(Lc))))})()},Vb=function(Lc,od){if(ca.options.allowDropFileTypes&&-1==p(ca.options.allowDropFileTypes,Lc.type))pb();
|
||
else{var rd=new FileReader;rd.onerror=function(){return pb()};rd.onload=function(){var xd=rd.result;/[\x00-\x08\x0e-\x1f]{2}/.test(xd)||($a[od]=xd);pb()};rd.readAsText(Lc)}},wc=0;wc<xa.length;wc++)Vb(xa[wc],wc);else if(ca.state.draggingText&&-1<ca.doc.sel.contains(Aa))ca.state.draggingText(x),setTimeout(function(){return ca.display.input.focus()},20);else try{if(Vb=x.dataTransfer.getData("Text")){ca.state.draggingText&&!ca.state.draggingText.copy&&(wc=ca.listSelections());um(ca.doc,$h(Aa,Aa));if(wc)for(xa=
|
||
0;xa<wc.length;++xa)lg(ca.doc,"",wc[xa].anchor,wc[xa].head,"drag");ca.replaceSelection(Vb,"around","paste");ca.display.input.focus()}}catch(Lc){}}}function Ui(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function dm(x){if(document.getElementsByClassName){for(var ca=document.getElementsByClassName("CodeMirror"),Aa=[],xa=0;xa<ca.length;xa++){var Ia=ca[xa].CodeMirror;Ia&&Aa.push(Ia)}Aa.length&&Aa[0].operation(function(){for(var $a=0;$a<Aa.length;$a++)x(Aa[$a])})}}
|
||
function vm(){var x;Dg(window,"resize",function(){null==x&&(x=setTimeout(function(){x=null;dm(Dk)},100))});Dg(window,"blur",function(){return dm(Bk)})}function Dk(x){var ca=x.display;ca.cachedCharWidth=ca.cachedTextHeight=ca.cachedPaddingH=null;ca.scrollbarsClipped=!1;x.setSize()}function Tm(x){var ca=x.split(/-(?!$)/);x=ca[ca.length-1];for(var Aa,xa,Ia,$a,lb=0;lb<ca.length-1;lb++){var pb=ca[lb];if(/^(cmd|meta|m)$/i.test(pb))$a=!0;else if(/^a(lt)?$/i.test(pb))Aa=!0;else if(/^(c|ctrl|control)$/i.test(pb))xa=
|
||
!0;else if(/^s(hift)?$/i.test(pb))Ia=!0;else throw Error("Unrecognized modifier name: "+pb);}Aa&&(x="Alt-"+x);xa&&(x="Ctrl-"+x);$a&&(x="Cmd-"+x);Ia&&(x="Shift-"+x);return x}function Hn(x){var ca={},Aa;for(Aa in x)if(x.hasOwnProperty(Aa)){var xa=x[Aa];if(!/^(name|fallthrough|(de|at)tach)$/.test(Aa)){if("..."!=xa)for(var Ia=w(Aa.split(" "),Tm),$a=0;$a<Ia.length;$a++){if($a==Ia.length-1){var lb=Ia.join(" ");var pb=xa}else lb=Ia.slice(0,$a+1).join(" "),pb="...";var Vb=ca[lb];if(!Vb)ca[lb]=pb;else if(Vb!=
|
||
pb)throw Error("Inconsistent bindings for "+lb);}delete x[Aa]}}for(var wc in ca)x[wc]=ca[wc];return x}function cm(x,ca,Aa,xa){ca=qc(ca);var Ia=ca.call?ca.call(x,xa):ca[x];if(!1===Ia)return"nothing";if("..."===Ia)return"multi";if(null!=Ia&&Aa(Ia))return"handled";if(ca.fallthrough){if("[object Array]"!=Object.prototype.toString.call(ca.fallthrough))return cm(x,ca.fallthrough,Aa,xa);for(Ia=0;Ia<ca.fallthrough.length;Ia++){var $a=cm(x,ca.fallthrough[Ia],Aa,xa);if($a)return $a}}}function Rb(x){x="string"==
|
||
typeof x?x:nh[x.keyCode];return"Ctrl"==x||"Alt"==x||"Shift"==x||"Mod"==x}function Ra(x,ca,Aa){var xa=x;ca.altKey&&"Alt"!=xa&&(x="Alt-"+x);(rn?ca.metaKey:ca.ctrlKey)&&"Ctrl"!=xa&&(x="Ctrl-"+x);(rn?ca.ctrlKey:ca.metaKey)&&"Mod"!=xa&&(x="Cmd-"+x);!Aa&&ca.shiftKey&&"Shift"!=xa&&(x="Shift-"+x);return x}function rc(x,ca){if(rl&&34==x.keyCode&&x["char"])return!1;var Aa=nh[x.keyCode];if(null==Aa||x.altGraphKey)return!1;3==x.keyCode&&x.code&&(Aa=x.code);return Ra(Aa,x,ca)}function qc(x){return"string"==typeof x?
|
||
Vo[x]:x}function Tb(x,ca){for(var Aa=x.doc.sel.ranges,xa=[],Ia=0;Ia<Aa.length;Ia++){for(var $a=ca(Aa[Ia]);xa.length&&0>=sa($a.from,E(xa).to);){var lb=xa.pop();if(0>sa(lb.from,$a.from)){$a.from=lb.from;break}}xa.push($a)}rg(x,function(){for(var pb=xa.length-1;0<=pb;pb--)lg(x.doc,"",xa[pb].from,xa[pb].to,"+delete");Zf(x)})}function nc(x,ca,Aa){ca=O(x.text,ca+Aa,Aa);return 0>ca||ca>x.text.length?null:ca}function jc(x,ca,Aa){x=nc(x,ca.ch,Aa);return null==x?null:new ia(ca.line,x,0>Aa?"after":"before")}
|
||
function Lb(x,ca,Aa,xa,Ia){if(x&&("rtl"==ca.doc.direction&&(Ia=-Ia),x=T(Aa,ca.doc.direction))){x=0>Ia?E(x):x[0];var $a=0>Ia==(1==x.level)?"after":"before";if(0<x.level||"rtl"==ca.doc.direction){var lb=rb(ca,Aa);var pb=0>Ia?Aa.text.length-1:0;var Vb=nb(ca,lb,pb).top;pb=U(function(wc){return nb(ca,lb,wc).top==Vb},0>Ia==(1==x.level)?x.from:x.to-1,pb);"before"==$a&&(pb=nc(Aa,pb,1))}else pb=0>Ia?x.to:x.from;return new ia(xa,pb,$a)}return new ia(xa,0>Ia?Aa.text.length:0,0>Ia?"before":"after")}function Jb(x,
|
||
ca,Aa,xa){var Ia=T(ca,x.doc.direction);if(!Ia)return jc(ca,Aa,xa);Aa.ch>=ca.text.length?(Aa.ch=ca.text.length,Aa.sticky="before"):0>=Aa.ch&&(Aa.ch=0,Aa.sticky="after");var $a=V(Ia,Aa.ch,Aa.sticky),lb=Ia[$a];if("ltr"==x.doc.direction&&0==lb.level%2&&(0<xa?lb.to>Aa.ch:lb.from<Aa.ch))return jc(ca,Aa,xa);var pb=function(xd,oe){return nc(ca,xd instanceof ia?xd.ch:xd,oe)},Vb,wc=function(xd){if(!x.options.lineWrapping)return{begin:0,end:ca.text.length};Vb=Vb||rb(x,ca);return ua(x,ca,Vb,xd)},Lc=wc("before"==
|
||
Aa.sticky?pb(Aa,-1):Aa.ch);if("rtl"==x.doc.direction||1==lb.level){var od=1==lb.level==0>xa,rd=pb(Aa,od?1:-1);if(null!=rd&&(od?rd<=lb.to&&rd<=Lc.end:rd>=lb.from&&rd>=Lc.begin))return new ia(Aa.line,rd,od?"before":"after")}lb=function(xd,oe,Af){for(var Bg=function(Uh,Qh){return Qh?new ia(Aa.line,pb(Uh,1),"before"):new ia(Aa.line,Uh,"after")};0<=xd&&xd<Ia.length;xd+=oe){var vi=Ia[xd],sg=0<oe==(1!=vi.level),Di=sg?Af.begin:pb(Af.end,-1);if(vi.from<=Di&&Di<vi.to)return Bg(Di,sg);Di=sg?vi.from:pb(vi.to,
|
||
-1);if(Af.begin<=Di&&Di<Af.end)return Bg(Di,sg)}};if($a=lb($a+xa,xa,Lc))return $a;Lc=0<xa?Lc.end:pb(Lc.begin,-1);return null==Lc||0<xa&&Lc==ca.text.length||!($a=lb(0<xa?0:Ia.length-1,xa,wc(Lc)))?null:$a}function fc(x,ca){var Aa=Oa(x.doc,ca),xa=jd(Aa);xa!=Aa&&(ca=La(xa));return Lb(!0,x,xa,ca,1)}function Hc(x,ca){var Aa=fc(x,ca.line),xa=Oa(x.doc,Aa.line);x=T(xa,x.doc.direction);return x&&0!=x[0].level?Aa:(xa=Math.max(Aa.ch,xa.text.search(/\S/)),ia(Aa.line,ca.line==Aa.line&&ca.ch<=xa&&ca.ch?0:xa,Aa.sticky))}
|
||
function Nc(x,ca,Aa){if("string"==typeof ca&&(ca=xp[ca],!ca))return!1;x.display.input.ensurePolled();var xa=x.display.shift,Ia=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),Aa&&(x.display.shift=!1),Ia=ca(x)!=Vl}finally{x.display.shift=xa,x.state.suppressEdits=!1}return Ia}function Sc(x,ca,Aa,xa){var Ia=x.state.keySeq;if(Ia){if(Rb(ca))return"handled";/'$/.test(ca)?x.state.keySeq=null:Qp.set(50,function(){x.state.keySeq==Ia&&(x.state.keySeq=null,x.display.input.reset())});if(hd(x,Ia+" "+ca,Aa,xa))return!0}return hd(x,
|
||
ca,Aa,xa)}function hd(x,ca,Aa,xa){a:{for(var Ia=0;Ia<x.state.keyMaps.length;Ia++){var $a=cm(ca,x.state.keyMaps[Ia],xa,x);if($a){xa=$a;break a}}xa=x.options.extraKeys&&cm(ca,x.options.extraKeys,xa,x)||cm(ca,x.options.keyMap,xa,x)}"multi"==xa&&(x.state.keySeq=ca);"handled"==xa&&Ce(x,"keyHandled",x,ca,Aa);if("handled"==xa||"multi"==xa)R(Aa),Oj(x);return!!xa}function Ld(x,ca){var Aa=rc(ca,!0);return Aa?ca.shiftKey&&!x.state.keySeq?Sc(x,"Shift-"+Aa,ca,function(xa){return Nc(x,xa,!0)})||Sc(x,Aa,ca,function(xa){if("string"==
|
||
typeof xa?/^go[A-Z]/.test(xa):xa.motion)return Nc(x,xa)}):Sc(x,Aa,ca,function(xa){return Nc(x,xa)}):!1}function pe(x,ca,Aa){return Sc(x,"'"+Aa+"'",ca,function(xa){return Nc(x,xa,!0)})}function Zd(x){if(!x.target||x.target==this.display.input.getField())if(this.curOp.focus=z(J(this)),!L(this,x)){Sg&&11>ui&&27==x.keyCode&&(x.returnValue=!1);var ca=x.keyCode;this.display.shift=16==ca||x.shiftKey;var Aa=Ld(this,x);rl&&(Ao=Aa?ca:null,!Aa&&88==ca&&!Uo&&(Uk?x.metaKey:x.ctrlKey)&&this.replaceSelection("",
|
||
null,"cut"));xk&&!Uk&&!Aa&&46==ca&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut");18!=ca||/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)||je(this)}}function je(x){function ca(xa){18!=xa.keyCode&&xa.altKey||(Wm(Aa,"CodeMirror-crosshair"),K(document,"keyup",ca),K(document,"mouseover",ca))}var Aa=x.display.lineDiv;A(Aa,"CodeMirror-crosshair");Dg(document,"keyup",ca);Dg(document,"mouseover",ca)}function af(x){16==x.keyCode&&(this.doc.sel.shift=!1);L(this,x)}
|
||
function jf(x){if(!(x.target&&x.target!=this.display.input.getField()||Hb(this.display,x)||L(this,x)||x.ctrlKey&&!x.altKey||Uk&&x.metaKey)){var ca=x.keyCode,Aa=x.charCode;if(rl&&ca==Ao)Ao=null,R(x);else if(!rl||x.which&&!(10>x.which)||!Ld(this,x))if(ca=String.fromCharCode(null==Aa?ca:Aa),"\b"!=ca&&!pe(this,x,ca))this.display.input.onKeyPress(x)}}function le(x,ca){var Aa=+new Date;if(Yg&&Yg.compare(Aa,x,ca))return Dj=Yg=null,"triple";if(Dj&&Dj.compare(Aa,x,ca))return Yg=new sp(Aa,x,ca),Dj=null,"double";
|
||
Dj=new sp(Aa,x,ca);Yg=null;return"single"}function qg(x){var ca=this.display;if(!(L(this,x)||ca.activeTouch&&ca.input.supportsTouch()))if(ca.input.ensurePolled(),ca.shift=x.shiftKey,Hb(ca,x))vj||(ca.scroller.draggable=!1,setTimeout(function(){return ca.scroller.draggable=!0},100));else if(!Oh(this,x,"gutterClick",!0)){var Aa=Ye(this,x),xa=ha(x),Ia=Aa?le(Aa,xa):"single";J(this).defaultView.focus();1==xa&&this.state.selectingText&&this.state.selectingText(x);if(!Aa||!Qg(this,xa,Aa,Ia,x))if(1==xa)Aa?
|
||
Pf(this,Aa,Ia,x):(x.target||x.srcElement)==ca.scroller&&R(x);else if(2==xa)Aa&&En(this.doc,Aa),setTimeout(function(){return ca.input.focus()},20);else if(3==xa)if(jn)this.display.input.onContextMenu(x);else Oi(this)}}function Qg(x,ca,Aa,xa,Ia){var $a="Click";"double"==xa?$a="Double"+$a:"triple"==xa&&($a="Triple"+$a);return Sc(x,Ra((1==ca?"Left":2==ca?"Middle":"Right")+$a,Ia),Ia,function(lb){"string"==typeof lb&&(lb=xp[lb]);if(!lb)return!1;var pb=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),pb=
|
||
lb(x,Aa)!=Vl}finally{x.state.suppressEdits=!1}return pb})}function Pf(x,ca,Aa,xa){Sg?setTimeout(g(rj,x),0):x.curOp.focus=z(J(x));var Ia=x.getOption("configureMouse");Ia=Ia?Ia(x,Aa,xa):{};null==Ia.unit&&(Ia.unit=(zq?xa.shiftKey&&xa.metaKey:xa.altKey)?"rectangle":"single"==Aa?"char":"double"==Aa?"word":"line");if(null==Ia.extend||x.doc.extend)Ia.extend=x.doc.extend||xa.shiftKey;null==Ia.addNew&&(Ia.addNew=Uk?xa.metaKey:xa.ctrlKey);null==Ia.moveOnDrag&&(Ia.moveOnDrag=!(Uk?xa.altKey:xa.ctrlKey));var $a=
|
||
x.doc.sel,lb;x.options.dragDrop&&oo&&!x.isReadOnly()&&"single"==Aa&&-1<(lb=$a.contains(ca))&&(0>sa((lb=$a.ranges[lb]).from(),ca)||0<ca.xRel)&&(0<sa(lb.to(),ca)||0>ca.xRel)?Qf(x,xa,ca,Ia):Vg(x,xa,ca,Ia)}function Qf(x,ca,Aa,xa){var Ia=x.display,$a=!1,lb=ki(x,function(wc){vj&&(Ia.scroller.draggable=!1);x.state.draggingText=!1;x.state.delayingBlurEvent&&(x.hasFocus()?x.state.delayingBlurEvent=!1:Oi(x));K(Ia.wrapper.ownerDocument,"mouseup",lb);K(Ia.wrapper.ownerDocument,"mousemove",pb);K(Ia.scroller,"dragstart",
|
||
Vb);K(Ia.scroller,"drop",lb);$a||(R(wc),xa.addNew||En(x.doc,Aa,null,null,xa.extend),vj&&!dj||Sg&&9==ui?setTimeout(function(){Ia.wrapper.ownerDocument.body.focus({preventScroll:!0});Ia.input.focus()},20):Ia.input.focus())}),pb=function(wc){$a=$a||10<=Math.abs(ca.clientX-wc.clientX)+Math.abs(ca.clientY-wc.clientY)},Vb=function(){return $a=!0};vj&&(Ia.scroller.draggable=!0);x.state.draggingText=lb;lb.copy=!xa.moveOnDrag;Dg(Ia.wrapper.ownerDocument,"mouseup",lb);Dg(Ia.wrapper.ownerDocument,"mousemove",
|
||
pb);Dg(Ia.scroller,"dragstart",Vb);Dg(Ia.scroller,"drop",lb);x.state.delayingBlurEvent=!0;setTimeout(function(){return Ia.input.focus()},20);Ia.scroller.dragDrop&&Ia.scroller.dragDrop()}function Gg(x,ca,Aa){if("char"==Aa)return new Xf(ca,ca);if("word"==Aa)return x.findWordAt(ca);if("line"==Aa)return new Xf(ia(ca.line,0),cb(x.doc,ia(ca.line+1,0)));x=Aa(x,ca);return new Xf(x.from,x.to)}function Vg(x,ca,Aa,xa){function Ia(sg){if(0!=sa(xd,sg))if(xd=sg,"rectangle"==xa.unit){var Di=[],Uh=x.options.tabSize,
|
||
Qh=c(Oa(Vb,Aa.line).text,Aa.ch,Uh),di=c(Oa(Vb,sg.line).text,sg.ch,Uh),qh=Math.min(Qh,di);Qh=Math.max(Qh,di);di=Math.min(Aa.line,sg.line);for(var Wh=Math.min(x.lastLine(),Math.max(Aa.line,sg.line));di<=Wh;di++){var Xh=Oa(Vb,di).text,bi=m(Xh,qh,Uh);qh==Qh?Di.push(new Xf(ia(di,bi),ia(di,bi))):Xh.length>bi&&Di.push(new Xf(ia(di,bi),ia(di,m(Xh,Qh,Uh))))}Di.length||Di.push(new Xf(Aa,Aa));Rg(Vb,Jg(x,wc.ranges.slice(0,od).concat(Di),od),{origin:"*mouse",scroll:!1});x.scrollIntoView(sg)}else Di=rd,qh=Gg(x,
|
||
sg,xa.unit),sg=Di.anchor,0<sa(qh.anchor,sg)?(Uh=qh.head,sg=Pa(Di.from(),qh.anchor)):(Uh=qh.anchor,sg=Xa(Di.to(),qh.head)),Di=wc.ranges.slice(0),Di[od]=Sf(x,new Xf(cb(Vb,sg),Uh)),Rg(Vb,Jg(x,Di,od),An)}function $a(sg){var Di=++Af,Uh=Ye(x,sg,!0,"rectangle"==xa.unit);if(Uh)if(0!=sa(Uh,xd)){x.curOp.focus=z(J(x));Ia(Uh);var Qh=ul(pb,Vb);(Uh.line>=Qh.to||Uh.line<Qh.from)&&setTimeout(ki(x,function(){Af==Di&&$a(sg)}),150)}else{var di=sg.clientY<oe.top?-20:sg.clientY>oe.bottom?20:0;di&&setTimeout(ki(x,function(){Af==
|
||
Di&&(pb.scroller.scrollTop+=di,$a(sg))}),50)}}function lb(sg){x.state.selectingText=!1;Af=Infinity;sg&&(R(sg),pb.input.focus());K(pb.wrapper.ownerDocument,"mousemove",Bg);K(pb.wrapper.ownerDocument,"mouseup",vi);Vb.history.lastSelOrigin=null}Sg&&Oi(x);var pb=x.display,Vb=x.doc;R(ca);var wc=Vb.sel,Lc=wc.ranges;if(xa.addNew&&!xa.extend){var od=Vb.sel.contains(Aa);var rd=-1<od?Lc[od]:new Xf(Aa,Aa)}else rd=Vb.sel.primary(),od=Vb.sel.primIndex;"rectangle"==xa.unit?(xa.addNew||(rd=new Xf(Aa,Aa)),Aa=Ye(x,
|
||
ca,!0,!0),od=-1):(ca=Gg(x,Aa,xa.unit),rd=xa.extend?Ek(rd,ca.anchor,ca.head,xa.extend):ca);xa.addNew?-1==od?(od=Lc.length,Rg(Vb,Jg(x,Lc.concat([rd]),od),{scroll:!1,origin:"*mouse"})):1<Lc.length&&Lc[od].empty()&&"char"==xa.unit&&!xa.extend?(Rg(Vb,Jg(x,Lc.slice(0,od).concat(Lc.slice(od+1)),0),{scroll:!1,origin:"*mouse"}),wc=Vb.sel):Rm(Vb,od,rd,An):(od=0,Rg(Vb,new Gh([rd],0),An),wc=Vb.sel);var xd=Aa,oe=pb.wrapper.getBoundingClientRect(),Af=0,Bg=ki(x,function(sg){0!==sg.buttons&&ha(sg)?$a(sg):lb(sg)}),
|
||
vi=ki(x,lb);x.state.selectingText=vi;Dg(pb.wrapper.ownerDocument,"mousemove",Bg);Dg(pb.wrapper.ownerDocument,"mouseup",vi)}function Sf(x,ca){var Aa=ca.anchor,xa=ca.head,Ia=Oa(x.doc,Aa.line);if(0==sa(Aa,xa)&&Aa.sticky==xa.sticky)return ca;Ia=T(Ia);if(!Ia)return ca;var $a=V(Ia,Aa.ch,Aa.sticky),lb=Ia[$a];if(lb.from!=Aa.ch&&lb.to!=Aa.ch)return ca;var pb=$a+(lb.from==Aa.ch==(1!=lb.level)?0:1);if(0==pb||pb==Ia.length)return ca;xa.line!=Aa.line?x=0<(xa.line-Aa.line)*("ltr"==x.doc.direction?1:-1):(x=V(Ia,
|
||
xa.ch,xa.sticky),$a=x-$a||(xa.ch-Aa.ch)*(1==lb.level?-1:1),x=x==pb-1||x==pb?0>$a:0<$a);Ia=Ia[pb+(x?-1:0)];Ia=(pb=x==(1==Ia.level))?Ia.from:Ia.to;pb=pb?"after":"before";return Aa.ch==Ia&&Aa.sticky==pb?ca:new Xf(new ia(Aa.line,Ia,pb),xa)}function Oh(x,ca,Aa,xa){if(ca.touches){var Ia=ca.touches[0].clientX;var $a=ca.touches[0].clientY}else try{Ia=ca.clientX,$a=ca.clientY}catch(Vb){return!1}if(Ia>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;xa&&R(ca);xa=x.display;var lb=xa.lineDiv.getBoundingClientRect();
|
||
if($a>lb.bottom||!N(x,Aa))return X(ca);$a-=lb.top-xa.viewOffset;for(lb=0;lb<x.display.gutterSpecs.length;++lb){var pb=xa.gutters.childNodes[lb];if(pb&&pb.getBoundingClientRect().right>=Ia)return Ia=ma(x.doc,$a),D(x,Aa,x,Ia,x.display.gutterSpecs[lb].className,ca),X(ca)}}function Jj(x,ca){var Aa;(Aa=Hb(x.display,ca))||(Aa=N(x,"gutterContextMenu")?Oh(x,ca,"gutterContextMenu",!1):!1);if(!Aa&&!L(x,ca,"contextmenu")&&!jn)x.display.input.onContextMenu(ca)}function $f(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,
|
||
"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-");Wc(x)}function xi(x,ca,Aa){!ca!=!(Aa&&Aa!=pm)&&(Aa=x.display.dragFunctions,ca=ca?Dg:K,ca(x.display.scroller,"dragstart",Aa.start),ca(x.display.scroller,"dragenter",Aa.enter),ca(x.display.scroller,"dragover",Aa.over),ca(x.display.scroller,"dragleave",Aa.leave),ca(x.display.scroller,"drop",Aa.drop))}function em(x){x.options.lineWrapping?(A(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(Wm(x.display.wrapper,
|
||
"CodeMirror-wrap"),Ac(x));Oe(x);Ff(x);Wc(x);setTimeout(function(){return Eh(x)},100)}function yg(x,ca){var Aa=this;if(!(this instanceof yg))return new yg(x,ca);this.options=ca=ca?h(ca):{};h(Bo,ca,!1);var xa=ca.value;"string"==typeof xa?xa=new mj(xa,ca.mode,null,ca.lineSeparator,ca.direction):ca.mode&&(xa.modeOption=ca.mode);this.doc=xa;var Ia=new yg.inputStyles[ca.inputStyle](this);x=this.display=new Zi(x,xa,Ia,ca);x.wrapper.CodeMirror=this;$f(this);ca.lineWrapping&&(this.display.wrapper.className+=
|
||
" CodeMirror-wrap");Jl(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 Dl,keySeq:null,specialChars:null};ca.autofocus&&!ti&&x.input.focus();Sg&&11>ui&&setTimeout(function(){return Aa.display.input.reset(!0)},20);Ki(this);Zp||(vm(),Zp=!0);Kk(this);this.curOp.forceUpdate=!0;Rh(this,xa);ca.autofocus&&!ti||this.hasFocus()?setTimeout(function(){Aa.hasFocus()&&
|
||
!Aa.state.focused&&th(Aa)},20):Bk(this);for(var $a in qm)if(qm.hasOwnProperty($a))qm[$a](this,ca[$a],pm);$k(this);ca.finishInit&&ca.finishInit(this);for(xa=0;xa<Zo.length;++xa)Zo[xa](this);kg(this);vj&&ca.lineWrapping&&"optimizelegibility"==getComputedStyle(x.lineDiv).textRendering&&(x.lineDiv.style.textRendering="auto")}function Ki(x){function ca(){xa.activeTouch&&(Ia=setTimeout(function(){return xa.activeTouch=null},1E3),$a=xa.activeTouch,$a.end=+new Date)}function Aa(pb,Vb){if(null==Vb.left)return!0;
|
||
var wc=Vb.left-pb.left;pb=Vb.top-pb.top;return 400<wc*wc+pb*pb}var xa=x.display;Dg(xa.scroller,"mousedown",ki(x,qg));Sg&&11>ui?Dg(xa.scroller,"dblclick",ki(x,function(pb){if(!L(x,pb)){var Vb=Ye(x,pb);!Vb||Oh(x,pb,"gutterClick",!0)||Hb(x.display,pb)||(R(pb),pb=x.findWordAt(Vb),En(x.doc,pb.anchor,pb.head))}})):Dg(xa.scroller,"dblclick",function(pb){return L(x,pb)||R(pb)});Dg(xa.scroller,"contextmenu",function(pb){return Jj(x,pb)});Dg(xa.input.getField(),"contextmenu",function(pb){xa.scroller.contains(pb.target)||
|
||
Jj(x,pb)});var Ia,$a={end:0};Dg(xa.scroller,"touchstart",function(pb){var Vb;if(Vb=!L(x,pb))1!=pb.touches.length?Vb=!1:(Vb=pb.touches[0],Vb=1>=Vb.radiusX&&1>=Vb.radiusY),Vb=!Vb;Vb&&!Oh(x,pb,"gutterClick",!0)&&(xa.input.ensurePolled(),clearTimeout(Ia),Vb=+new Date,xa.activeTouch={start:Vb,moved:!1,prev:300>=Vb-$a.end?$a:null},1==pb.touches.length&&(xa.activeTouch.left=pb.touches[0].pageX,xa.activeTouch.top=pb.touches[0].pageY))});Dg(xa.scroller,"touchmove",function(){xa.activeTouch&&(xa.activeTouch.moved=
|
||
!0)});Dg(xa.scroller,"touchend",function(pb){var Vb=xa.activeTouch;if(Vb&&!Hb(xa,pb)&&null!=Vb.left&&!Vb.moved&&300>new Date-Vb.start){var wc=x.coordsChar(xa.activeTouch,"page");Vb=!Vb.prev||Aa(Vb,Vb.prev)?new Xf(wc,wc):!Vb.prev.prev||Aa(Vb,Vb.prev.prev)?x.findWordAt(wc):new Xf(ia(wc.line,0),cb(x.doc,ia(wc.line+1,0)));x.setSelection(Vb.anchor,Vb.head);x.focus();R(pb)}ca()});Dg(xa.scroller,"touchcancel",ca);Dg(xa.scroller,"scroll",function(){xa.scroller.clientHeight&&(ek(x,xa.scroller.scrollTop),fk(x,
|
||
xa.scroller.scrollLeft,!0),D(x,"scroll",x))});Dg(xa.scroller,"mousewheel",function(pb){return Qj(x,pb)});Dg(xa.scroller,"DOMMouseScroll",function(pb){return Qj(x,pb)});Dg(xa.wrapper,"scroll",function(){return xa.wrapper.scrollTop=xa.wrapper.scrollLeft=0});xa.dragFunctions={enter:function(pb){L(x,pb)||S(pb)},over:function(pb){if(!L(x,pb)){var Vb=Ye(x,pb);if(Vb){var wc=document.createDocumentFragment();pi(x,Vb,wc);x.display.dragCursor||(x.display.dragCursor=n("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),
|
||
x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv));y(x.display.dragCursor,wc)}S(pb)}},start:function(pb){if(Sg&&(!x.state.draggingText||100>+new Date-sh))S(pb);else if(!L(x,pb)&&!Hb(x.display,pb)&&(pb.dataTransfer.setData("Text",x.getSelection()),pb.dataTransfer.effectAllowed="copyMove",pb.dataTransfer.setDragImage&&!dj)){var Vb=n("img",null,null,"position: fixed; left: 0; top: 0;");Vb.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw\x3d\x3d";
|
||
rl&&(Vb.width=Vb.height=1,x.display.wrapper.appendChild(Vb),Vb._top=Vb.offsetTop);pb.dataTransfer.setDragImage(Vb,0,0);rl&&Vb.parentNode.removeChild(Vb)}},drop:ki(x,Ok),leave:function(pb){L(x,pb)||Ui(x)}};var lb=xa.input.getField();Dg(lb,"keyup",function(pb){return af.call(x,pb)});Dg(lb,"keydown",ki(x,Zd));Dg(lb,"keypress",ki(x,jf));Dg(lb,"focus",function(pb){return th(x,pb)});Dg(lb,"blur",function(pb){return Bk(x,pb)})}function Fh(x,ca,Aa,xa){var Ia=x.doc,$a;null==Aa&&(Aa="add");"smart"==Aa&&(Ia.mode.indent?
|
||
$a=ob(x,ca).state:Aa="prev");var lb=x.options.tabSize,pb=Oa(Ia,ca),Vb=c(pb.text,null,lb);pb.stateAfter&&(pb.stateAfter=null);var wc=pb.text.match(/^\s*/)[0];if(!xa&&!/\S/.test(pb.text)){var Lc=0;Aa="not"}else if("smart"==Aa&&(Lc=Ia.mode.indent($a,pb.text.slice(wc.length),pb.text),Lc==Vl||150<Lc)){if(!xa)return;Aa="prev"}"prev"==Aa?Lc=ca>Ia.first?c(Oa(Ia,ca-1).text,null,lb):0:"add"==Aa?Lc=Vb+x.options.indentUnit:"subtract"==Aa?Lc=Vb-x.options.indentUnit:"number"==typeof Aa&&(Lc=Vb+Aa);Lc=Math.max(0,
|
||
Lc);Aa="";xa=0;if(x.options.indentWithTabs)for(x=Math.floor(Lc/lb);x;--x)xa+=lb,Aa+="\t";xa<Lc&&(Aa+=q(Lc-xa));if(Aa!=wc)return lg(Ia,Aa,ia(ca,0),ia(ca,wc.length),"+input"),pb.stateAfter=null,!0;for(lb=0;lb<Ia.sel.ranges.length;lb++)if(pb=Ia.sel.ranges[lb],pb.head.line==ca&&pb.head.ch<wc.length){ca=ia(ca,wc.length);Rm(Ia,lb,new Xf(ca,ca));break}}function zl(x,ca,Aa,xa,Ia){var $a=x.doc;x.display.shift=!1;xa||(xa=$a.sel);var lb=+new Date-200,pb="paste"==Ia||x.state.pasteIncoming>lb,Vb=Vk(ca),wc=null;
|
||
if(pb&&1<xa.ranges.length)if(cj&&cj.text.join("\n")==ca){if(0==xa.ranges.length%cj.text.length){wc=[];for(var Lc=0;Lc<cj.text.length;Lc++)wc.push($a.splitLines(cj.text[Lc]))}}else Vb.length==xa.ranges.length&&x.options.pasteLinesPerSelection&&(wc=w(Vb,function(Af){return[Af]}));Lc=x.curOp.updateInput;for(var od=xa.ranges.length-1;0<=od;od--){var rd=xa.ranges[od],xd=rd.from(),oe=rd.to();rd.empty()&&(Aa&&0<Aa?xd=ia(xd.line,xd.ch-Aa):x.state.overwrite&&!pb?oe=ia(oe.line,Math.min(Oa($a,oe.line).text.length,
|
||
oe.ch+E(Vb).length)):pb&&cj&&cj.lineWise&&cj.text.join("\n")==Vb.join("\n")&&(xd=oe=ia(xd.line,0)));rd={from:xd,to:oe,text:wc?wc[od%wc.length]:Vb,origin:Ia||(pb?"paste":x.state.cutIncoming>lb?"cut":"+input")};He(x.doc,rd);Ce(x,"inputRead",x,rd)}ca&&!pb&&hh(x,ca);Zf(x);2>x.curOp.updateInput&&(x.curOp.updateInput=Lc);x.curOp.typing=!0;x.state.pasteIncoming=x.state.cutIncoming=-1}function nm(x,ca){var Aa=x.clipboardData&&x.clipboardData.getData("Text");if(Aa)return x.preventDefault(),ca.isReadOnly()||
|
||
ca.options.disableInput||!ca.hasFocus()||rg(ca,function(){return zl(ca,Aa,0,null,"paste")}),!0}function hh(x,ca){if(x.options.electricChars&&x.options.smartIndent)for(var Aa=x.doc.sel,xa=Aa.ranges.length-1;0<=xa;xa--){var Ia=Aa.ranges[xa];if(!(100<Ia.head.ch||xa&&Aa.ranges[xa-1].head.line==Ia.head.line)){var $a=x.getModeAt(Ia.head),lb=!1;if($a.electricChars)for(var pb=0;pb<$a.electricChars.length;pb++){if(-1<ca.indexOf($a.electricChars.charAt(pb))){lb=Fh(x,Ia.head.line,"smart");break}}else $a.electricInput&&
|
||
$a.electricInput.test(Oa(x.doc,Ia.head.line).text.slice(0,Ia.head.ch))&&(lb=Fh(x,Ia.head.line,"smart"));lb&&Ce(x,"electricInput",x,Ia.head.line)}}}function Hj(x){for(var ca=[],Aa=[],xa=0;xa<x.doc.sel.ranges.length;xa++){var Ia=x.doc.sel.ranges[xa].head.line;Ia={anchor:ia(Ia,0),head:ia(Ia+1,0)};Aa.push(Ia);ca.push(x.getRange(Ia.anchor,Ia.head))}return{text:ca,ranges:Aa}}function Gj(x,ca,Aa,xa){x.setAttribute("autocorrect",Aa?"on":"off");x.setAttribute("autocapitalize",xa?"on":"off");x.setAttribute("spellcheck",
|
||
!!ca)}function ig(){var x=n("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),ca=n("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");vj?x.style.width="1000px":x.setAttribute("wrap","off");In&&(x.style.border="1px solid black");return ca}function yi(x,ca,Aa,xa,Ia){function $a(Af){if("codepoint"==xa){var Bg=Vb.text.charCodeAt(ca.ch+(0<Aa?0:-1));Bg=isNaN(Bg)?null:new ia(ca.line,Math.max(0,Math.min(Vb.text.length,
|
||
ca.ch+Aa*((0<Aa?55296<=Bg&&56320>Bg:56320<=Bg&&57343>Bg)?2:1))),-Aa)}else Bg=Ia?Jb(x.cm,Vb,ca,Aa):jc(Vb,ca,Aa);if(null==Bg){if(Af=!Af)Af=ca.line+wc,Af<x.first||Af>=x.first+x.size?Af=!1:(ca=new ia(Af,ca.ch,ca.sticky),Af=Vb=Oa(x,Af));if(Af)ca=Lb(Ia,x.cm,Vb,ca.line,wc);else return!1}else ca=Bg;return!0}var lb=ca,pb=Aa,Vb=Oa(x,ca.line),wc=Ia&&"rtl"==x.direction?-Aa:Aa;if("char"==xa||"codepoint"==xa)$a();else if("column"==xa)$a(!0);else if("word"==xa||"group"==xa)for(var Lc=null,od="group"==xa,rd=x.cm&&
|
||
x.cm.getHelper(ca,"wordChars"),xd=!0;!(0>Aa)||$a(!xd);xd=!1){var oe=Vb.text.charAt(ca.ch)||"\n";oe=C(oe,rd)?"w":od&&"\n"==oe?"n":!od||/\s/.test(oe)?null:"p";!od||xd||oe||(oe="s");if(Lc&&Lc!=oe){0>Aa&&(Aa=1,$a(),ca.sticky="after");break}oe&&(Lc=oe);if(0<Aa&&!$a(!xd))break}pb=Bj(x,ca,lb,pb,!0);Ea(lb,pb)&&(pb.hitSide=!0);return pb}function Tk(x,ca,Aa,xa){var Ia=x.doc,$a=ca.left;if("page"==xa){var lb=Math.min(x.display.wrapper.clientHeight,J(x).defaultView.innerHeight||Ia(x).documentElement.clientHeight);
|
||
lb=Math.max(lb-.5*Gc(x.display),3);lb=(0<Aa?ca.bottom:ca.top)+Aa*lb}else"line"==xa&&(lb=0<Aa?ca.bottom+3:ca.top-3);for(;;){ca=za(x,$a,lb);if(!ca.outside)break;if(0>Aa?0>=lb:lb>=Ia.height){ca.hitSide=!0;break}lb+=5*Aa}return ca}function Vn(x,ca){var Aa=kb(x,ca.line);if(!Aa||Aa.hidden)return null;var xa=Oa(x.doc,ca.line);Aa=Hf(Aa,xa,ca.line);x=T(xa,x.doc.direction);xa="left";x&&(xa=V(x,ca.ch)%2?"right":"left");ca=Ub(Aa.map,ca.ch,xa);ca.offset="right"==ca.collapse?ca.end:ca.start;return ca}function hi(x){for(;x;x=
|
||
x.parentNode)if(/CodeMirror-gutter-wrapper/.test(x.className))return!0;return!1}function hn(x,ca){ca&&(x.bad=!0);return x}function ck(x,ca,Aa,xa,Ia){function $a(xd){return function(oe){return oe.id==xd}}function lb(){Lc&&(wc+=od,rd&&(wc+=od),Lc=rd=!1)}function pb(xd){xd&&(lb(),wc+=xd)}function Vb(xd){if(1==xd.nodeType){var oe=xd.getAttribute("cm-text");if(oe)pb(oe);else{oe=xd.getAttribute("cm-marker");var Af;if(oe)xd=x.findMarks(ia(xa,0),ia(Ia+1,0),$a(+oe)),xd.length&&(Af=xd[0].find(0))&&pb(Va(x.doc,
|
||
Af.from,Af.to).join(od));else if("false"!=xd.getAttribute("contenteditable")&&(Af=/^(pre|div|p|li|table|br)$/i.test(xd.nodeName),/^br$/i.test(xd.nodeName)||0!=xd.textContent.length)){Af&&lb();for(oe=0;oe<xd.childNodes.length;oe++)Vb(xd.childNodes[oe]);/^(pre|p)$/i.test(xd.nodeName)&&(rd=!0);Af&&(Lc=!0)}}}else 3==xd.nodeType&&pb(xd.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(var wc="",Lc=!1,od=x.doc.lineSeparator(),rd=!1;;){Vb(ca);if(ca==Aa)break;ca=ca.nextSibling;rd=!1}return wc}function lj(x,
|
||
ca,Aa){if(ca==x.display.lineDiv){var xa=x.display.lineDiv.childNodes[Aa];if(!xa)return hn(x.clipPos(ia(x.display.viewTo-1)),!0);ca=null;Aa=0}else for(xa=ca;;xa=xa.parentNode){if(!xa||xa==x.display.lineDiv)return null;if(xa.parentNode&&xa.parentNode==x.display.lineDiv)break}for(var Ia=0;Ia<x.display.view.length;Ia++){var $a=x.display.view[Ia];if($a.node==xa)return Kj($a,ca,Aa)}}function Kj(x,ca,Aa){function xa(Lc,od,rd){for(var xd=-1;xd<(wc?wc.length:0);xd++)for(var oe=0>xd?Vb.map:wc[xd],Af=0;Af<oe.length;Af+=
|
||
3){var Bg=oe[Af+2];if(Bg==Lc||Bg==od){od=La(0>xd?x.line:x.rest[xd]);xd=oe[Af]+rd;if(0>rd||Bg!=Lc)xd=oe[Af+(rd?1:0)];return ia(od,xd)}}}var Ia=x.text.firstChild,$a=!1;if(!ca||!u(Ia,ca))return hn(ia(La(x.line),0),!0);if(ca==Ia&&($a=!0,ca=Ia.childNodes[Aa],Aa=0,!ca))return Aa=x.rest?E(x.rest):x.line,hn(ia(La(Aa),Aa.text.length),$a);var lb=3==ca.nodeType?ca:null,pb=ca;lb||1!=ca.childNodes.length||3!=ca.firstChild.nodeType||(lb=ca.firstChild,Aa&&(Aa=lb.nodeValue.length));for(;pb.parentNode!=Ia;)pb=pb.parentNode;
|
||
var Vb=x.measure,wc=Vb.maps;if(ca=xa(lb,pb,Aa))return hn(ca,$a);Ia=pb.nextSibling;for(lb=lb?lb.nodeValue.length-Aa:0;Ia;Ia=Ia.nextSibling){if(ca=xa(Ia,Ia.firstChild,0))return hn(ia(ca.line,ca.ch-lb),$a);lb+=Ia.textContent.length}for(pb=pb.previousSibling;pb;pb=pb.previousSibling){if(ca=xa(pb,pb.firstChild,-1))return hn(ia(ca.line,ca.ch+Aa),$a);Aa+=pb.textContent.length}}var Pj=navigator.userAgent,dk=navigator.platform,xk=/gecko\/\d/i.test(Pj),rp=/MSIE \d/.test(Pj),ko=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Pj),
|
||
zn=/Edge\/(\d+)/.exec(Pj),Sg=rp||ko||zn,ui=Sg&&(rp?document.documentMode||6:+(zn||ko)[1]),vj=!zn&&/WebKit\//.test(Pj),So=vj&&/Qt\/\d+\.\d+/.test(Pj),mm=!zn&&/Chrome\/(\d+)/.exec(Pj),To=mm&&+mm[1],rl=/Opera\//.test(Pj),dj=/Apple Computer/.test(navigator.vendor),xo=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Pj),yo=/PhantomJS/.test(Pj),In=dj&&(/Mobile\/\w+/.test(Pj)||2<navigator.maxTouchPoints),Vi=/Android/.test(Pj),ti=In||Vi||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Pj),Uk=In||/Mac/.test(dk),
|
||
zq=/\bCrOS\b/.test(Pj),Ll=/win/i.test(dk),xm=rl&&Pj.match(/Version\/(\d*\.\d*)/);xm&&=Number(xm[1]);xm&&15<=xm&&(rl=!1,vj=!0);var rn=Uk&&(So||rl&&(null==xm||12.11>xm)),jn=xk||Sg&&9<=ui,Wm=function(x,ca){var Aa=x.className;if(ca=v(ca).exec(Aa)){var xa=Aa.slice(ca.index+ca[0].length);x.className=Aa.slice(0,ca.index)+(xa?ca[1]+xa:"")}};var ii=document.createRange?function(x,ca,Aa,xa){var Ia=document.createRange();Ia.setEnd(xa||x,Aa);Ia.setStart(x,ca);return Ia}:function(x,ca,Aa){var xa=document.body.createTextRange();
|
||
try{xa.moveToElementText(x.parentNode)}catch(Ia){return xa}xa.collapse(!0);xa.moveEnd("character",Aa);xa.moveStart("character",ca);return xa};var lo=function(x){x.select()};In?lo=function(x){x.selectionStart=0;x.selectionEnd=x.value.length}:Sg&&(lo=function(x){try{x.select()}catch(ca){}});var Dl=function(){this.f=this.id=null;this.time=0;this.handler=g(this.onTimeout,this)};Dl.prototype.onTimeout=function(x){x.id=0;x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)};Dl.prototype.set=function(x,
|
||
ca){this.f=ca;ca=+new Date+x;if(!this.id||ca<this.time)clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ca};var Vl={toString:function(){return"CodeMirror.Pass"}},om={scroll:!1},An={origin:"*mouse"},Wn={origin:"+move"},mn=[""],ym=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,El=/[\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]/,
|
||
kn=null,mo=function(){function x(lb,pb,Vb){this.level=lb;this.from=pb;this.to=Vb}var ca=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Aa=/[stwN]/,xa=/[LRr]/,Ia=/[Lb1n]/,$a=/[1n]/;return function(lb,pb){var Vb="ltr"==pb?"L":"R";if(0==lb.length||"ltr"==pb&&!ca.test(lb))return!1;for(var wc=lb.length,Lc=[],od=0;od<wc;++od){var rd=Lc,xd=rd.push;var oe=lb.charCodeAt(od);oe=247>=oe?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(oe):
|
||
1424<=oe&&1524>=oe?"R":1536<=oe&&1785>=oe?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(oe-1536):1774<=oe&&2220>=oe?"r":8192<=oe&&8203>=oe?"w":8204==oe?"b":"L";xd.call(rd,oe)}od=0;for(rd=Vb;od<wc;++od)xd=Lc[od],"m"==xd?Lc[od]=rd:rd=xd;od=0;for(rd=Vb;od<wc;++od)xd=Lc[od],"1"==xd&&"r"==rd?
|
||
Lc[od]="n":xa.test(xd)&&(rd=xd,"r"==xd&&(Lc[od]="R"));od=1;for(rd=Lc[0];od<wc-1;++od)xd=Lc[od],"+"==xd&&"1"==rd&&"1"==Lc[od+1]?Lc[od]="1":","!=xd||rd!=Lc[od+1]||"1"!=rd&&"n"!=rd||(Lc[od]=rd),rd=xd;for(od=0;od<wc;++od)if(rd=Lc[od],","==rd)Lc[od]="N";else if("%"==rd){for(rd=od+1;rd<wc&&"%"==Lc[rd];++rd);for(xd=od&&"!"==Lc[od-1]||rd<wc&&"1"==Lc[rd]?"1":"N";od<rd;++od)Lc[od]=xd;od=rd-1}od=0;for(rd=Vb;od<wc;++od)xd=Lc[od],"L"==rd&&"1"==xd?Lc[od]="L":xa.test(xd)&&(rd=xd);for(rd=0;rd<wc;++rd)if(Aa.test(Lc[rd])){for(od=
|
||
rd+1;od<wc&&Aa.test(Lc[od]);++od);xd="L"==(rd?Lc[rd-1]:Vb);for(xd=xd==("L"==(od<wc?Lc[od]:Vb))?xd?"L":"R":Vb;rd<od;++rd)Lc[rd]=xd;rd=od-1}Vb=[];var Af;for(od=0;od<wc;)if(Ia.test(Lc[od])){rd=od;for(++od;od<wc&&Ia.test(Lc[od]);++od);Vb.push(new x(0,rd,od))}else{var Bg=od;rd=Vb.length;xd="rtl"==pb?1:0;for(++od;od<wc&&"L"!=Lc[od];++od);for(oe=Bg;oe<od;)if($a.test(Lc[oe])){Bg<oe&&(Vb.splice(rd,0,new x(1,Bg,oe)),rd+=xd);Bg=oe;for(++oe;oe<od&&$a.test(Lc[oe]);++oe);Vb.splice(rd,0,new x(2,Bg,oe));rd+=xd;Bg=
|
||
oe}else++oe;Bg<od&&Vb.splice(rd,0,new x(1,Bg,od))}"ltr"==pb&&(1==Vb[0].level&&(Af=lb.match(/^\s+/))&&(Vb[0].from=Af[0].length,Vb.unshift(new x(0,0,Af[0].length))),1==E(Vb).level&&(Af=lb.match(/\s+$/))&&(E(Vb).to-=Af[0].length,Vb.push(new x(0,wc-Af[0].length,wc))));return"rtl"==pb?Vb.reverse():Vb}}(),no=[],Dg=function(x,ca,Aa){x.addEventListener?x.addEventListener(ca,Aa,!1):x.attachEvent?x.attachEvent("on"+ca,Aa):(x=x._handlers||(x._handlers={}),x[ca]=(x[ca]||no).concat(Aa))},oo=function(){if(Sg&&
|
||
9>ui)return!1;var x=n("div");return"draggable"in x||"dragDrop"in x}(),Fl,sl,Vk=3!="\n\nb".split(/\n/).length?function(x){for(var ca=0,Aa=[],xa=x.length;ca<=xa;){var Ia=x.indexOf("\n",ca);-1==Ia&&(Ia=x.length);var $a=x.slice(ca,"\r"==x.charAt(Ia-1)?Ia-1:Ia),lb=$a.indexOf("\r");-1!=lb?(Aa.push($a.slice(0,lb)),ca+=lb+1):(Aa.push($a),ca=Ia+1)}return Aa}:function(x){return x.split(/\r\n?|\n/)},Jm=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(ca){return!1}}:function(x){try{var ca=
|
||
x.ownerDocument.selection.createRange()}catch(Aa){}return ca&&ca.parentElement()==x?0!=ca.compareEndPoints("StartToEnd",ca):!1},Uo=function(){var x=n("div");if("oncopy"in x)return!0;x.setAttribute("oncopy","return;");return"function"==typeof x.oncopy}(),Km=null,po={},Lm={},tl={},Mi=function(x,ca,Aa){this.pos=this.start=0;this.string=x;this.tabSize=ca||8;this.lineStart=this.lastColumnPos=this.lastColumnValue=0;this.lineOracle=Aa};Mi.prototype.eol=function(){return this.pos>=this.string.length};Mi.prototype.sol=
|
||
function(){return this.pos==this.lineStart};Mi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0};Mi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)};Mi.prototype.eat=function(x){var ca=this.string.charAt(this.pos);if("string"==typeof x?ca==x:ca&&(x.test?x.test(ca):x(ca)))return++this.pos,ca};Mi.prototype.eatWhile=function(x){for(var ca=this.pos;this.eat(x););return this.pos>ca};Mi.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;
|
||
return this.pos>x};Mi.prototype.skipToEnd=function(){this.pos=this.string.length};Mi.prototype.skipTo=function(x){x=this.string.indexOf(x,this.pos);if(-1<x)return this.pos=x,!0};Mi.prototype.backUp=function(x){this.pos-=x};Mi.prototype.column=function(){this.lastColumnPos<this.start&&(this.lastColumnValue=c(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start);return this.lastColumnValue-(this.lineStart?c(this.string,this.lineStart,this.tabSize):
|
||
0)};Mi.prototype.indentation=function(){return c(this.string,null,this.tabSize)-(this.lineStart?c(this.string,this.lineStart,this.tabSize):0)};Mi.prototype.match=function(x,ca,Aa){if("string"==typeof x){var xa=function($a){return Aa?$a.toLowerCase():$a},Ia=this.string.substr(this.pos,x.length);if(xa(Ia)==xa(x))return!1!==ca&&(this.pos+=x.length),!0}else{if((x=this.string.slice(this.pos).match(x))&&0<x.index)return null;x&&!1!==ca&&(this.pos+=x[0].length);return x}};Mi.prototype.current=function(){return this.string.slice(this.start,
|
||
this.pos)};Mi.prototype.hideFirstChars=function(x,ca){this.lineStart+=x;try{return ca()}finally{this.lineStart-=x}};Mi.prototype.lookAhead=function(x){var ca=this.lineOracle;return ca&&ca.lookAhead(x)};Mi.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};var Ni=function(x,ca){this.state=x;this.lookAhead=ca},rm=function(x,ca,Aa,xa){this.state=ca;this.doc=x;this.line=Aa;this.maxLookAhead=xa||0;this.baseTokens=null;this.baseTokenPos=1};rm.prototype.lookAhead=function(x){var ca=
|
||
this.doc.getLine(this.line+x);null!=ca&&x>this.maxLookAhead&&(this.maxLookAhead=x);return ca};rm.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var ca=this.baseTokens[this.baseTokenPos+1];return{type:ca&&ca.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}};rm.prototype.nextLine=function(){this.line++;0<this.maxLookAhead&&this.maxLookAhead--};rm.fromSaved=function(x,ca,Aa){return ca instanceof
|
||
Ni?new rm(x,Fa(x.mode,ca.state),Aa,ca.lookAhead):new rm(x,Fa(x.mode,ca),Aa)};rm.prototype.save=function(x){x=!1!==x?Fa(this.doc.mode,this.state):this.state;return 0<this.maxLookAhead?new Ni(x,this.maxLookAhead):x};var Pp=function(x,ca,Aa){this.start=x.start;this.end=x.pos;this.string=x.current();this.type=ca||null;this.state=Aa},Aq=!1,ei=!1,ch=function(x,ca,Aa){this.text=x;tc(this,ca);this.height=Aa?Aa(this):1};ch.prototype.lineNo=function(){return La(this)};la(ch);var Op={},ks={},zo=null,Gf=null,
|
||
Jk={left:0,right:0,top:0,bottom:0},vg,Ef=function(x,ca,Aa){this.cm=Aa;var xa=this.vert=n("div",[n("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Ia=this.horiz=n("div",[n("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");xa.tabIndex=Ia.tabIndex=-1;x(xa);x(Ia);Dg(xa,"scroll",function(){xa.clientHeight&&ca(xa.scrollTop,"vertical")});Dg(Ia,"scroll",function(){Ia.clientWidth&&ca(Ia.scrollLeft,"horizontal")});this.checkedZeroWidth=!1;Sg&&8>ui&&(this.horiz.style.minHeight=
|
||
this.vert.style.minWidth="18px")};Ef.prototype.update=function(x){var ca=x.scrollWidth>x.clientWidth+1,Aa=x.scrollHeight>x.clientHeight+1,xa=x.nativeBarWidth;Aa?(this.vert.style.display="block",this.vert.style.bottom=ca?xa+"px":"0",this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+(x.viewHeight-(ca?xa:0)))+"px"):(this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0");ca?(this.horiz.style.display="block",this.horiz.style.right=Aa?xa+"px":"0",
|
||
this.horiz.style.left=x.barLeft+"px",this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+(x.viewWidth-x.barLeft-(Aa?xa:0)))+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0");!this.checkedZeroWidth&&0<x.clientHeight&&(0==xa&&this.zeroWidthHack(),this.checkedZeroWidth=!0);return{right:Aa?xa:0,bottom:ca?xa:0}};Ef.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x);this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,
|
||
"horiz")};Ef.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x);this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")};Ef.prototype.zeroWidthHack=function(){this.horiz.style.height=this.vert.style.width=Uk&&!xo?"12px":"18px";this.horiz.style.visibility=this.vert.style.visibility="hidden";this.disableHoriz=new Dl;this.disableVert=new Dl};Ef.prototype.enableZeroWidthBar=function(x,ca,Aa){function xa(){var Ia=x.getBoundingClientRect();("vert"==Aa?
|
||
document.elementFromPoint(Ia.right-1,(Ia.top+Ia.bottom)/2):document.elementFromPoint((Ia.right+Ia.left)/2,Ia.bottom-1))!=x?x.style.visibility="hidden":ca.set(1E3,xa)}x.style.visibility="";ca.set(1E3,xa)};Ef.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz);x.removeChild(this.vert)};var ln=function(){};ln.prototype.update=function(){return{bottom:0,right:0}};ln.prototype.setScrollLeft=function(){};ln.prototype.setScrollTop=function(){};ln.prototype.clear=function(){};
|
||
var yk={"native":Ef,"null":ln},pj=0,Gl=function(x,ca,Aa){var xa=x.display;this.viewport=ca;this.visible=ul(xa,x.doc,ca);this.editorIsHidden=!xa.wrapper.offsetWidth;this.wrapperHeight=xa.wrapper.clientHeight;this.wrapperWidth=xa.wrapper.clientWidth;this.oldDisplayWidth=be(x);this.force=Aa;this.dims=Rd(x);this.events=[]};Gl.prototype.signal=function(x,ca){N(x,ca)&&this.events.push(arguments)};Gl.prototype.finish=function(){for(var x=0;x<this.events.length;x++)D.apply(null,this.events[x])};var mf=0,
|
||
Xl=null;Sg?Xl=-.53:xk?Xl=15:mm?Xl=-.7:dj&&(Xl=-1/3);var Gh=function(x,ca){this.ranges=x;this.primIndex=ca};Gh.prototype.primary=function(){return this.ranges[this.primIndex]};Gh.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var ca=0;ca<this.ranges.length;ca++){var Aa=this.ranges[ca],xa=x.ranges[ca];if(!Ea(Aa.anchor,xa.anchor)||!Ea(Aa.head,xa.head))return!1}return!0};Gh.prototype.deepCopy=function(){for(var x=[],ca=
|
||
0;ca<this.ranges.length;ca++)x[ca]=new Xf(Qa(this.ranges[ca].anchor),Qa(this.ranges[ca].head));return new Gh(x,this.primIndex)};Gh.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1};Gh.prototype.contains=function(x,ca){ca||=x;for(var Aa=0;Aa<this.ranges.length;Aa++){var xa=this.ranges[Aa];if(0<=sa(ca,xa.from())&&0>=sa(x,xa.to()))return Aa}return-1};var Xf=function(x,ca){this.anchor=x;this.head=ca};Xf.prototype.from=function(){return Pa(this.anchor,
|
||
this.head)};Xf.prototype.to=function(){return Xa(this.anchor,this.head)};Xf.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};ij.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,ca){for(var Aa=x,xa=x+ca;Aa<xa;++Aa){var Ia=this.lines[Aa];this.height-=Ia.height;var $a=Ia;$a.parent=null;Fc($a);Ce(Ia,"delete")}this.lines.splice(x,ca)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,ca,Aa){this.height+=
|
||
Aa;this.lines=this.lines.slice(0,x).concat(ca).concat(this.lines.slice(x));for(x=0;x<ca.length;++x)ca[x].parent=this},iterN:function(x,ca,Aa){for(ca=x+ca;x<ca;++x)if(Aa(this.lines[x]))return!0}};gj.prototype={chunkSize:function(){return this.size},removeInner:function(x,ca){this.size-=ca;for(var Aa=0;Aa<this.children.length;++Aa){var xa=this.children[Aa],Ia=xa.chunkSize();if(x<Ia){var $a=Math.min(ca,Ia-x),lb=xa.height;xa.removeInner(x,$a);this.height-=lb-xa.height;Ia==$a&&(this.children.splice(Aa--,
|
||
1),xa.parent=null);if(0==(ca-=$a))break;x=0}else x-=Ia}25>this.size-ca&&(1<this.children.length||!(this.children[0]instanceof ij))&&(x=[],this.collapse(x),this.children=[new ij(x)],this.children[0].parent=this)},collapse:function(x){for(var ca=0;ca<this.children.length;++ca)this.children[ca].collapse(x)},insertInner:function(x,ca,Aa){this.size+=ca.length;this.height+=Aa;for(var xa=0;xa<this.children.length;++xa){var Ia=this.children[xa],$a=Ia.chunkSize();if(x<=$a){Ia.insertInner(x,ca,Aa);if(Ia.lines&&
|
||
50<Ia.lines.length){for(ca=x=Ia.lines.length%25+25;ca<Ia.lines.length;)Aa=new ij(Ia.lines.slice(ca,ca+=25)),Ia.height-=Aa.height,this.children.splice(++xa,0,Aa),Aa.parent=this;Ia.lines=Ia.lines.slice(0,x);this.maybeSpill()}break}x-=$a}},maybeSpill:function(){if(!(10>=this.children.length)){var x=this;do{var ca=x.children.splice(x.children.length-5,5);ca=new gj(ca);if(x.parent){x.size-=ca.size;x.height-=ca.height;var Aa=p(x.parent.children,x);x.parent.children.splice(Aa+1,0,ca)}else Aa=new gj(x.children),
|
||
Aa.parent=x,x.children=[Aa,ca],x=Aa;ca.parent=x.parent}while(10<x.children.length);x.parent.maybeSpill()}},iterN:function(x,ca,Aa){for(var xa=0;xa<this.children.length;++xa){var Ia=this.children[xa],$a=Ia.chunkSize();if(x<$a){$a=Math.min(ca,$a-x);if(Ia.iterN(x,$a,Aa))return!0;if(0==(ca-=$a))break;x=0}else x-=$a}}};var ag=function(x,ca,Aa){if(Aa)for(var xa in Aa)Aa.hasOwnProperty(xa)&&(this[xa]=Aa[xa]);this.doc=x;this.node=ca};ag.prototype.clear=function(){var x=this.doc.cm,ca=this.line.widgets,Aa=
|
||
this.line,xa=La(Aa);if(null!=xa&&ca){for(var Ia=0;Ia<ca.length;++Ia)ca[Ia]==this&&ca.splice(Ia--,1);ca.length||(Aa.widgets=null);var $a=ed(this);Ua(Aa,Math.max(0,Aa.height-$a));x&&(rg(x,function(){var lb=-$a;sb(Aa)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&wf(x,lb);If(x,xa,"widget")}),Ce(x,"lineWidgetCleared",x,this,xa))}};ag.prototype.changed=function(){var x=this,ca=this.height,Aa=this.doc.cm,xa=this.line;this.height=null;var Ia=ed(this)-ca;Ia&&(Wb(this.doc,xa)||Ua(xa,xa.height+Ia),Aa&&rg(Aa,
|
||
function(){Aa.curOp.forceUpdate=!0;sb(xa)<(Aa.curOp&&Aa.curOp.scrollTop||Aa.doc.scrollTop)&&wf(Aa,Ia);Ce(Aa,"lineWidgetChanged",Aa,x,La(xa))}))};la(ag);var Bn=0,Lj=function(x,ca){this.lines=[];this.type=ca;this.doc=x;this.id=++Bn};Lj.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,ca=x&&!x.curOp;ca&&Kk(x);if(N(this,"clear")){var Aa=this.find();Aa&&Ce(this,"clear",Aa.from,Aa.to)}for(var xa=Aa=null,Ia=0;Ia<this.lines.length;++Ia){var $a=this.lines[Ia],lb=Gb($a.markedSpans,this);
|
||
x&&!this.collapsed?If(x,La($a),"text"):x&&(null!=lb.to&&(xa=La($a)),null!=lb.from&&(Aa=La($a)));for(var pb=$a,Vb=void 0,wc=$a.markedSpans,Lc=lb,od=0;od<wc.length;++od)wc[od]!=Lc&&(Vb||=[]).push(wc[od]);pb.markedSpans=Vb;null==lb.from&&this.collapsed&&!Wb(this.doc,$a)&&x&&Ua($a,Gc(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(Ia=0;Ia<this.lines.length;++Ia)$a=jd(this.lines[Ia]),lb=ac($a),lb>x.display.maxLineLength&&(x.display.maxLine=$a,x.display.maxLineLength=lb,x.display.maxLineChanged=
|
||
!0);null!=Aa&&x&&this.collapsed&&Ff(x,Aa,xa+1);this.lines.length=0;this.explicitlyCleared=!0;this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&tj(x.doc));x&&Ce(x,"markerCleared",x,this,Aa,xa);ca&&kg(x);this.parent&&this.parent.clear()}};Lj.prototype.find=function(x,ca){null==x&&"bookmark"==this.type&&(x=1);for(var Aa,xa,Ia=0;Ia<this.lines.length;++Ia){var $a=this.lines[Ia],lb=Gb($a.markedSpans,this);if(null!=lb.from&&(Aa=ia(ca?$a:La($a),lb.from),-1==x))return Aa;if(null!=lb.to&&(xa=ia(ca?$a:
|
||
La($a),lb.to),1==x))return xa}return Aa&&{from:Aa,to:xa}};Lj.prototype.changed=function(){var x=this,ca=this.find(-1,!0),Aa=this,xa=this.doc.cm;ca&&xa&&rg(xa,function(){var Ia=ca.line,$a=La(ca.line);if($a=kb(xa,$a))Kb($a),xa.curOp.selectionChanged=xa.curOp.forceUpdate=!0;xa.curOp.updateMaxLine=!0;Wb(Aa.doc,Ia)||null==Aa.height||($a=Aa.height,Aa.height=null,($a=ed(Aa)-$a)&&Ua(Ia,Ia.height+$a));Ce(xa,"markerChanged",xa,x)})};Lj.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var ca=
|
||
this.doc.cm.curOp;ca.maybeHiddenMarkers&&-1!=p(ca.maybeHiddenMarkers,this)||(ca.maybeUnhiddenMarkers||(ca.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)};Lj.prototype.detachLine=function(x){this.lines.splice(p(this.lines,x),1);!this.lines.length&&this.doc.cm&&(x=this.doc.cm.curOp,(x.maybeHiddenMarkers||(x.maybeHiddenMarkers=[])).push(this))};la(Lj);var Nl=function(x,ca){this.markers=x;this.primary=ca;for(ca=0;ca<x.length;++ca)x[ca].parent=this};Nl.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=
|
||
!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();Ce(this,"clear")}};Nl.prototype.find=function(x,ca){return this.primary.find(x,ca)};la(Nl);var Xm=0,mj=function(x,ca,Aa,xa,Ia){if(!(this instanceof mj))return new mj(x,ca,Aa,xa,Ia);null==Aa&&(Aa=0);gj.call(this,[new ij([new ch("",null)])]);this.first=Aa;this.scrollTop=this.scrollLeft=0;this.cantEdit=!1;this.cleanGeneration=1;this.modeFrontier=this.highlightFrontier=Aa;Aa=ia(Aa,0);this.sel=$h(Aa);this.history=new ik(null);this.id=++Xm;
|
||
this.modeOption=ca;this.lineSep=xa;this.direction="rtl"==Ia?"rtl":"ltr";this.extend=!1;"string"==typeof x&&(x=this.splitLines(x));Ti(this,{from:Aa,to:Aa,text:x});Rg(this,$h(Aa),om)};mj.prototype=f(gj.prototype,{constructor:mj,iter:function(x,ca,Aa){Aa?this.iterN(x-this.first,ca-x,Aa):this.iterN(this.first,this.first+this.size,x)},insert:function(x,ca){for(var Aa=0,xa=0;xa<ca.length;++xa)Aa+=ca[xa].height;this.insertInner(x-this.first,ca,Aa)},remove:function(x,ca){this.removeInner(x-this.first,ca)},
|
||
getValue:function(x){var ca=Ya(this,this.first,this.first+this.size);return!1===x?ca:ca.join(x||this.lineSeparator())},setValue:oh(function(x){var ca=ia(this.first,0),Aa=this.first+this.size-1;He(this,{from:ca,to:ia(Aa,Oa(this,Aa).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0);this.cm&&vl(this.cm,0,0);Rg(this,$h(ca),om)}),replaceRange:function(x,ca,Aa,xa){ca=cb(this,ca);Aa=Aa?cb(this,Aa):ca;lg(this,x,ca,Aa,xa)},getRange:function(x,ca,Aa){x=Va(this,cb(this,x),cb(this,ca));return!1===
|
||
Aa?x:""===Aa?x.join(""):x.join(Aa||this.lineSeparator())},getLine:function(x){return(x=this.getLineHandle(x))&&x.text},getLineHandle:function(x){if(ja(this,x))return Oa(this,x)},getLineNumber:function(x){return La(x)},getLineHandleVisualStart:function(x){"number"==typeof x&&(x=Oa(this,x));return jd(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return cb(this,x)},getCursor:function(x){var ca=
|
||
this.sel.primary();return null==x||"head"==x?ca.head:"anchor"==x?ca.anchor:"end"==x||"to"==x||!1===x?ca.to():ca.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:oh(function(x,ca,Aa){x=cb(this,"number"==typeof x?ia(x,ca||0):x);Rg(this,$h(x,null),Aa)}),setSelection:oh(function(x,ca,Aa){var xa=cb(this,x);x=cb(this,ca||x);Rg(this,$h(xa,x),Aa)}),extendSelection:oh(function(x,ca,Aa){En(this,cb(this,x),ca&&cb(this,ca),Aa)}),
|
||
extendSelections:oh(function(x,ca){am(this,tb(this,x),ca)}),extendSelectionsBy:oh(function(x,ca){x=w(this.sel.ranges,x);am(this,tb(this,x),ca)}),setSelections:oh(function(x,ca,Aa){if(x.length){for(var xa=[],Ia=0;Ia<x.length;Ia++)xa[Ia]=new Xf(cb(this,x[Ia].anchor),cb(this,x[Ia].head||x[Ia].anchor));null==ca&&(ca=Math.min(x.length-1,this.sel.primIndex));Rg(this,Jg(this.cm,xa,ca),Aa)}}),addSelection:oh(function(x,ca,Aa){var xa=this.sel.ranges.slice(0);xa.push(new Xf(cb(this,x),cb(this,ca||x)));Rg(this,
|
||
Jg(this.cm,xa,xa.length-1),Aa)}),getSelection:function(x){for(var ca=this.sel.ranges,Aa,xa=0;xa<ca.length;xa++){var Ia=Va(this,ca[xa].from(),ca[xa].to());Aa=Aa?Aa.concat(Ia):Ia}return!1===x?Aa:Aa.join(x||this.lineSeparator())},getSelections:function(x){for(var ca=[],Aa=this.sel.ranges,xa=0;xa<Aa.length;xa++){var Ia=Va(this,Aa[xa].from(),Aa[xa].to());!1!==x&&(Ia=Ia.join(x||this.lineSeparator()));ca[xa]=Ia}return ca},replaceSelection:function(x,ca,Aa){for(var xa=[],Ia=0;Ia<this.sel.ranges.length;Ia++)xa[Ia]=
|
||
x;this.replaceSelections(xa,ca,Aa||"+input")},replaceSelections:oh(function(x,ca,Aa){for(var xa=[],Ia=this.sel,$a=0;$a<Ia.ranges.length;$a++){var lb=Ia.ranges[$a];xa[$a]={from:lb.from(),to:lb.to(),text:this.splitLines(x[$a]),origin:Aa}}if(x=ca&&"end"!=ca){x=[];Ia=Aa=ia(this.first,0);for($a=0;$a<xa.length;$a++){var pb=xa[$a];lb=yh(pb.from,Aa,Ia);var Vb=yh(mi(pb),Aa,Ia);Aa=pb.to;Ia=Vb;"around"==ca?(pb=this.sel.ranges[$a],pb=0>sa(pb.head,pb.anchor),x[$a]=new Xf(pb?Vb:lb,pb?lb:Vb)):x[$a]=new Xf(lb,lb)}x=
|
||
new Gh(x,this.sel.primIndex)}ca=x;for(x=xa.length-1;0<=x;x--)He(this,xa[x]);ca?Sm(this,ca):this.cm&&Zf(this.cm)}),undo:oh(function(){xg(this,"undo")}),redo:oh(function(){xg(this,"redo")}),undoSelection:oh(function(){xg(this,"undo",!0)}),redoSelection:oh(function(){xg(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,ca=0,Aa=0,xa=0;xa<x.done.length;xa++)x.done[xa].ranges||++ca;for(xa=0;xa<x.undone.length;xa++)x.undone[xa].ranges||
|
||
++Aa;return{undo:ca,redo:Aa}},clearHistory:function(){var x=this;this.history=new ik(this.history);jj(this,function(ca){return ca.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null);return this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:xl(this.history.done),undone:xl(this.history.undone)}},
|
||
setHistory:function(x){var ca=this.history=new ik(this.history);ca.done=xl(x.done.slice(0),null,!0);ca.undone=xl(x.undone.slice(0),null,!0)},setGutterMarker:oh(function(x,ca,Aa){return Fk(this,x,"gutter",function(xa){var Ia=xa.gutterMarkers||(xa.gutterMarkers={});Ia[ca]=Aa;!Aa&&M(Ia)&&(xa.gutterMarkers=null);return!0})}),clearGutter:oh(function(x){var ca=this;this.iter(function(Aa){Aa.gutterMarkers&&Aa.gutterMarkers[x]&&Fk(ca,Aa,"gutter",function(){Aa.gutterMarkers[x]=null;M(Aa.gutterMarkers)&&(Aa.gutterMarkers=
|
||
null);return!0})})}),lineInfo:function(x){if("number"==typeof x){if(!ja(this,x))return null;var ca=x;x=Oa(this,x);if(!x)return null}else if(ca=La(x),null==ca)return null;return{line:ca,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:oh(function(x,ca,Aa){return Fk(this,x,"gutter"==ca?"gutter":"class",function(xa){var Ia="text"==ca?"textClass":"background"==ca?"bgClass":"gutter"==ca?"gutterClass":"wrapClass";
|
||
if(xa[Ia]){if(v(Aa).test(xa[Ia]))return!1;xa[Ia]+=" "+Aa}else xa[Ia]=Aa;return!0})}),removeLineClass:oh(function(x,ca,Aa){return Fk(this,x,"gutter"==ca?"gutter":"class",function(xa){var Ia="text"==ca?"textClass":"background"==ca?"bgClass":"gutter"==ca?"gutterClass":"wrapClass",$a=xa[Ia];if($a)if(null==Aa)xa[Ia]=null;else{var lb=$a.match(v(Aa));if(!lb)return!1;var pb=lb.index+lb[0].length;xa[Ia]=$a.slice(0,lb.index)+(lb.index&&pb!=$a.length?" ":"")+$a.slice(pb)||null}else return!1;return!0})}),addLineWidget:oh(function(x,
|
||
ca,Aa){return bl(this,x,ca,Aa)}),removeLineWidget:function(x){x.clear()},markText:function(x,ca,Aa){return Nk(this,cb(this,x),cb(this,ca),Aa,Aa&&Aa.type||"range")},setBookmark:function(x,ca){ca={replacedWith:ca&&(null==ca.nodeType?ca.widget:ca),insertLeft:ca&&ca.insertLeft,clearWhenEmpty:!1,shared:ca&&ca.shared,handleMouseEvents:ca&&ca.handleMouseEvents};x=cb(this,x);return Nk(this,x,x,ca,"bookmark")},findMarksAt:function(x){x=cb(this,x);var ca=[],Aa=Oa(this,x.line).markedSpans;if(Aa)for(var xa=0;xa<
|
||
Aa.length;++xa){var Ia=Aa[xa];(null==Ia.from||Ia.from<=x.ch)&&(null==Ia.to||Ia.to>=x.ch)&&ca.push(Ia.marker.parent||Ia.marker)}return ca},findMarks:function(x,ca,Aa){x=cb(this,x);ca=cb(this,ca);var xa=[],Ia=x.line;this.iter(x.line,ca.line+1,function($a){if($a=$a.markedSpans)for(var lb=0;lb<$a.length;lb++){var pb=$a[lb];null!=pb.to&&Ia==x.line&&x.ch>=pb.to||null==pb.from&&Ia!=x.line||null!=pb.from&&Ia==ca.line&&pb.from>=ca.ch||Aa&&!Aa(pb.marker)||xa.push(pb.marker.parent||pb.marker)}++Ia});return xa},
|
||
getAllMarks:function(){var x=[];this.iter(function(ca){if(ca=ca.markedSpans)for(var Aa=0;Aa<ca.length;++Aa)null!=ca[Aa].from&&x.push(ca[Aa].marker)});return x},posFromIndex:function(x){var ca,Aa=this.first,xa=this.lineSeparator().length;this.iter(function(Ia){Ia=Ia.text.length+xa;if(Ia>x)return ca=x,!0;x-=Ia;++Aa});return cb(this,ia(Aa,ca))},indexFromPos:function(x){x=cb(this,x);var ca=x.ch;if(x.line<this.first||0>x.ch)return 0;var Aa=this.lineSeparator().length;this.iter(this.first,x.line,function(xa){ca+=
|
||
xa.text.length+Aa});return ca},copy:function(x){var ca=new mj(Ya(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);ca.scrollTop=this.scrollTop;ca.scrollLeft=this.scrollLeft;ca.sel=this.sel;ca.extend=!1;x&&(ca.history.undoDepth=this.history.undoDepth,ca.setHistory(this.getHistory()));return ca},linkedDoc:function(x){x||={};var ca=this.first,Aa=this.first+this.size;null!=x.from&&x.from>ca&&(ca=x.from);null!=x.to&&x.to<Aa&&(Aa=x.to);ca=new mj(Ya(this,ca,Aa),
|
||
x.mode||this.modeOption,ca,this.lineSep,this.direction);x.sharedHist&&(ca.history=this.history);(this.linked||(this.linked=[])).push({doc:ca,sharedHist:x.sharedHist});ca.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}];x=wi(this);for(Aa=0;Aa<x.length;Aa++){var xa=x[Aa],Ia=xa.find(),$a=ca.clipPos(Ia.from);Ia=ca.clipPos(Ia.to);sa($a,Ia)&&($a=Nk(ca,$a,Ia,xa.primary,xa.primary.type),xa.markers.push($a),$a.parent=xa)}return ca},unlinkDoc:function(x){x instanceof yg&&(x=x.doc);if(this.linked)for(var ca=
|
||
0;ca<this.linked.length;++ca)if(this.linked[ca].doc==x){this.linked.splice(ca,1);x.unlinkDoc(this);cl(wi(this));break}if(x.history==this.history){var Aa=[x.id];jj(x,function(xa){return Aa.push(xa.id)},!0);x.history=new ik(null);x.history.done=xl(this.history.done,Aa);x.history.undone=xl(this.history.undone,Aa)}},iterLinkedDocs:function(x){jj(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):Vk(x)},lineSeparator:function(){return this.lineSep||
|
||
"\n"},setDirection:oh(function(x){"rtl"!=x&&(x="ltr");x!=this.direction&&(this.direction=x,this.iter(function(ca){return ca.order=null}),this.cm&&Aj(this.cm))})});mj.prototype.eachLine=mj.prototype.iter;for(var sh=0,Zp=!1,nh={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:"\x3d",91:"Mod",92:"Mod",
|
||
93:"Mod",106:"*",107:"\x3d",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"\x3d",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"},Cj=0;10>Cj;Cj++)nh[Cj+48]=nh[Cj+96]=String(Cj);for(var Vh=65;90>=Vh;Vh++)nh[Vh]=String.fromCharCode(Vh);for(var wp=1;12>=wp;wp++)nh[wp+111]=nh[wp+63235]="F"+wp;var Vo={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"},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"},emacsy:{"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft",
|
||
"Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},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"]}};Vo["default"]=Uk?Vo.macDefault:Vo.pcDefault;var xp={selectAll:yl,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),om)},killLine:function(x){return Tb(x,function(ca){if(ca.empty()){var Aa=Oa(x.doc,ca.head.line).text.length;return ca.head.ch==Aa&&ca.head.line<x.lastLine()?{from:ca.head,to:ia(ca.head.line+1,0)}:{from:ca.head,to:ia(ca.head.line,Aa)}}return{from:ca.from(),to:ca.to()}})},deleteLine:function(x){return Tb(x,function(ca){return{from:ia(ca.from().line,
|
||
0),to:cb(x.doc,ia(ca.to().line+1,0))}})},delLineLeft:function(x){return Tb(x,function(ca){return{from:ia(ca.from().line,0),to:ca.from()}})},delWrappedLineLeft:function(x){return Tb(x,function(ca){var Aa=x.charCoords(ca.head,"div").top+5;return{from:x.coordsChar({left:0,top:Aa},"div"),to:ca.from()}})},delWrappedLineRight:function(x){return Tb(x,function(ca){var Aa=x.charCoords(ca.head,"div").top+5;Aa=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:Aa},"div");return{from:ca.from(),to:Aa}})},
|
||
undo:function(x){return x.undo()},redo:function(x){return x.redo()},undoSelection:function(x){return x.undoSelection()},redoSelection:function(x){return x.redoSelection()},goDocStart:function(x){return x.extendSelection(ia(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(ia(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(ca){return fc(x,ca.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(ca){return Hc(x,
|
||
ca.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(ca){ca=ca.head.line;var Aa=Oa(x.doc,ca);var xa=Aa;for(var Ia;Ia=dd(xa,!1);)xa=Ia.find(1,!0).line;xa!=Aa&&(ca=La(xa));return Lb(!0,x,Aa,ca,-1)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(ca){ca=x.cursorCoords(ca.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ca},"div")},Wn)},goLineLeft:function(x){return x.extendSelectionsBy(function(ca){ca=
|
||
x.cursorCoords(ca.head,"div").top+5;return x.coordsChar({left:0,top:ca},"div")},Wn)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(ca){var Aa=x.cursorCoords(ca.head,"div").top+5;Aa=x.coordsChar({left:0,top:Aa},"div");return Aa.ch<x.getLine(Aa.line).search(/\S/)?Hc(x,ca.head):Aa},Wn)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,
|
||
"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,
|
||
"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection("\t")},insertSoftTab:function(x){for(var ca=[],Aa=x.listSelections(),xa=x.options.tabSize,Ia=0;Ia<Aa.length;Ia++){var $a=
|
||
Aa[Ia].from();$a=c(x.getLine($a.line),$a.ch,xa);ca.push(q(xa-$a%xa))}x.replaceSelections(ca)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return rg(x,function(){for(var ca=x.listSelections(),Aa=[],xa=0;xa<ca.length;xa++)if(ca[xa].empty()){var Ia=ca[xa].head,$a=Oa(x.doc,Ia.line).text;if($a)if(Ia.ch==$a.length&&(Ia=new ia(Ia.line,Ia.ch-1)),0<Ia.ch)Ia=new ia(Ia.line,Ia.ch+1),x.replaceRange($a.charAt(Ia.ch-1)+$a.charAt(Ia.ch-
|
||
2),ia(Ia.line,Ia.ch-2),Ia,"+transpose");else if(Ia.line>x.doc.first){var lb=Oa(x.doc,Ia.line-1).text;lb&&(Ia=new ia(Ia.line,1),x.replaceRange($a.charAt(0)+x.doc.lineSeparator()+lb.charAt(lb.length-1),ia(Ia.line-1,lb.length-1),Ia,"+transpose"))}Aa.push(new Xf(Ia,Ia))}x.setSelections(Aa)})},newlineAndIndent:function(x){return rg(x,function(){for(var ca=x.listSelections(),Aa=ca.length-1;0<=Aa;Aa--)x.replaceRange(x.doc.lineSeparator(),ca[Aa].anchor,ca[Aa].head,"+input");ca=x.listSelections();for(Aa=0;Aa<
|
||
ca.length;Aa++)x.indentLine(ca[Aa].from().line,null,!0);Zf(x)})},openLine:function(x){return x.replaceSelection("\n","start")},toggleOverwrite:function(x){return x.toggleOverwrite()}},Qp=new Dl,Ao=null,sp=function(x,ca,Aa){this.time=x;this.pos=ca;this.button=Aa};sp.prototype.compare=function(x,ca,Aa){return this.time+400>x&&0==sa(ca,this.pos)&&Aa==this.button};var Dj,Yg,pm={toString:function(){return"CodeMirror.Init"}},Bo={},qm={};yg.defaults=Bo;yg.optionHandlers=qm;var Zo=[];yg.defineInitHook=function(x){return Zo.push(x)};
|
||
var cj=null,zi=function(x){this.cm=x;this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null;this.polling=new Dl;this.composing=null;this.gracePeriod=!1;this.readDOMTimeout=null};zi.prototype.init=function(x){function ca(pb){for(pb=pb.target;pb;pb=pb.parentNode){if(pb==lb)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(pb.className))break}return!1}function Aa(pb){if(ca(pb)&&!L($a,pb)){if($a.somethingSelected())cj={lineWise:!1,text:$a.getSelections()},"cut"==pb.type&&
|
||
$a.replaceSelection("",null,"cut");else if($a.options.lineWiseCopyCut){var Vb=Hj($a);cj={lineWise:!0,text:Vb.text};"cut"==pb.type&&$a.operation(function(){$a.setSelections(Vb.ranges,0,om);$a.replaceSelection("",null,"cut")})}else return;if(pb.clipboardData){pb.clipboardData.clearData();var wc=cj.text.join("\n");pb.clipboardData.setData("Text",wc);if(pb.clipboardData.getData("Text")==wc){pb.preventDefault();return}}var Lc=ig();pb=Lc.firstChild;Gj(pb);$a.display.lineSpace.insertBefore(Lc,$a.display.lineSpace.firstChild);
|
||
pb.value=cj.text.join("\n");var od=z(lb.ownerDocument);lo(pb);setTimeout(function(){$a.display.lineSpace.removeChild(Lc);od.focus();od==lb&&Ia.showPrimarySelection()},50)}}var xa=this,Ia=this,$a=Ia.cm,lb=Ia.div=x.lineDiv;lb.contentEditable=!0;Gj(lb,$a.options.spellcheck,$a.options.autocorrect,$a.options.autocapitalize);Dg(lb,"paste",function(pb){!ca(pb)||L($a,pb)||nm(pb,$a)||11>=ui&&setTimeout(ki($a,function(){return xa.updateFromDOM()}),20)});Dg(lb,"compositionstart",function(pb){xa.composing={data:pb.data,
|
||
done:!1}});Dg(lb,"compositionupdate",function(pb){xa.composing||(xa.composing={data:pb.data,done:!1})});Dg(lb,"compositionend",function(pb){xa.composing&&(pb.data!=xa.composing.data&&xa.readFromDOMSoon(),xa.composing.done=!0)});Dg(lb,"touchstart",function(){return Ia.forceCompositionEnd()});Dg(lb,"input",function(){xa.composing||xa.readFromDOMSoon()});Dg(lb,"copy",Aa);Dg(lb,"cut",Aa)};zi.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")};
|
||
zi.prototype.prepareSelection=function(){var x=Og(this.cm,!1);x.focus=z(this.div.ownerDocument)==this.div;return x};zi.prototype.showSelection=function(x,ca){x&&this.cm.display.view.length&&((x.focus||ca)&&this.showPrimarySelection(),this.showMultipleSelections(x))};zi.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()};zi.prototype.showPrimarySelection=function(){var x=this.getSelection(),ca=this.cm,Aa=ca.doc.sel.primary(),xa=Aa.from();Aa=Aa.to();if(ca.display.viewTo==
|
||
ca.display.viewFrom||xa.line>=ca.display.viewTo||Aa.line<ca.display.viewFrom)x.removeAllRanges();else{var Ia=lj(ca,x.anchorNode,x.anchorOffset),$a=lj(ca,x.focusNode,x.focusOffset);if(!Ia||Ia.bad||!$a||$a.bad||0!=sa(Pa(Ia,$a),xa)||0!=sa(Xa(Ia,$a),Aa))if(Ia=ca.display.view,xa=xa.line>=ca.display.viewFrom&&Vn(ca,xa)||{node:Ia[0].measure.map[2],offset:0},Aa=Aa.line<ca.display.viewTo&&Vn(ca,Aa),Aa||(Aa=Ia[Ia.length-1].measure,Aa=Aa.maps?Aa.maps[Aa.maps.length-1]:Aa.map,Aa={node:Aa[Aa.length-1],offset:Aa[Aa.length-
|
||
2]-Aa[Aa.length-3]}),xa&&Aa){Ia=x.rangeCount&&x.getRangeAt(0);try{var lb=ii(xa.node,xa.offset,Aa.offset,Aa.node)}catch(pb){}lb&&(!xk&&ca.state.focused?(x.collapse(xa.node,xa.offset),lb.collapsed||(x.removeAllRanges(),x.addRange(lb))):(x.removeAllRanges(),x.addRange(lb)),Ia&&null==x.anchorNode?x.addRange(Ia):xk&&this.startGracePeriod());this.rememberSelection()}else x.removeAllRanges()}};zi.prototype.startGracePeriod=function(){var x=this;clearTimeout(this.gracePeriod);this.gracePeriod=setTimeout(function(){x.gracePeriod=
|
||
!1;x.selectionChanged()&&x.cm.operation(function(){return x.cm.curOp.selectionChanged=!0})},20)};zi.prototype.showMultipleSelections=function(x){y(this.cm.display.cursorDiv,x.cursors);y(this.cm.display.selectionDiv,x.selection)};zi.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode;this.lastAnchorOffset=x.anchorOffset;this.lastFocusNode=x.focusNode;this.lastFocusOffset=x.focusOffset};zi.prototype.selectionInEditor=function(){var x=this.getSelection();
|
||
if(!x.rangeCount)return!1;x=x.getRangeAt(0).commonAncestorContainer;return u(this.div,x)};zi.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&z(this.div.ownerDocument)==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())};zi.prototype.blur=function(){this.div.blur()};zi.prototype.getField=function(){return this.div};zi.prototype.supportsTouch=function(){return!0};zi.prototype.receivedFocus=function(){function x(){Aa.cm.state.focused&&
|
||
(Aa.pollSelection(),Aa.polling.set(Aa.cm.options.pollInterval,x))}var ca=this,Aa=this;this.selectionInEditor()?setTimeout(function(){return ca.pollSelection()},20):rg(this.cm,function(){return Aa.cm.curOp.selectionChanged=!0});this.polling.set(this.cm.options.pollInterval,x)};zi.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset};zi.prototype.pollSelection=
|
||
function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var x=this.getSelection(),ca=this.cm;if(Vi&&mm&&this.cm.display.gutterSpecs.length&&hi(x.anchorNode))this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();else if(!this.composing){this.rememberSelection();var Aa=lj(ca,x.anchorNode,x.anchorOffset),xa=lj(ca,x.focusNode,x.focusOffset);Aa&&xa&&rg(ca,function(){Rg(ca.doc,$h(Aa,xa),om);if(Aa.bad||xa.bad)ca.curOp.selectionChanged=
|
||
!0})}}};zi.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,ca=x.display,Aa=x.doc.sel.primary(),xa=Aa.from(),Ia=Aa.to();0==xa.ch&&xa.line>x.firstLine()&&(xa=ia(xa.line-1,Oa(x.doc,xa.line-1).length));Ia.ch==Oa(x.doc,Ia.line).text.length&&Ia.line<x.lastLine()&&(Ia=ia(Ia.line+1,0));if(xa.line<ca.viewFrom||Ia.line>ca.viewTo-1)return!1;var $a;xa.line==ca.viewFrom||0==($a=Me(x,xa.line))?(Aa=La(ca.view[0].line),$a=ca.view[0].node):
|
||
(Aa=La(ca.view[$a].line),$a=ca.view[$a-1].node.nextSibling);var lb=Me(x,Ia.line);lb==ca.view.length-1?(Ia=ca.viewTo-1,ca=ca.lineDiv.lastChild):(Ia=La(ca.view[lb+1].line)-1,ca=ca.view[lb+1].node.previousSibling);if(!$a)return!1;ca=x.doc.splitLines(ck(x,$a,ca,Aa,Ia));for($a=Va(x.doc,ia(Aa,0),ia(Ia,Oa(x.doc,Ia).text.length));1<ca.length&&1<$a.length;)if(E(ca)==E($a))ca.pop(),$a.pop(),Ia--;else if(ca[0]==$a[0])ca.shift(),$a.shift(),Aa++;else break;var pb=0;lb=0;for(var Vb=ca[0],wc=$a[0],Lc=Math.min(Vb.length,
|
||
wc.length);pb<Lc&&Vb.charCodeAt(pb)==wc.charCodeAt(pb);)++pb;Vb=E(ca);wc=E($a);for(Lc=Math.min(Vb.length-(1==ca.length?pb:0),wc.length-(1==$a.length?pb:0));lb<Lc&&Vb.charCodeAt(Vb.length-lb-1)==wc.charCodeAt(wc.length-lb-1);)++lb;if(1==ca.length&&1==$a.length&&Aa==xa.line)for(;pb&&pb>xa.ch&&Vb.charCodeAt(Vb.length-lb-1)==wc.charCodeAt(wc.length-lb-1);)pb--,lb++;ca[ca.length-1]=Vb.slice(0,Vb.length-lb).replace(/^\u200b+/,"");ca[0]=ca[0].slice(pb).replace(/\u200b+$/,"");xa=ia(Aa,pb);Aa=ia(Ia,$a.length?
|
||
E($a).length-lb:0);if(1<ca.length||ca[0]||sa(xa,Aa))return lg(x.doc,ca,xa,Aa,"+input"),!0};zi.prototype.ensurePolled=function(){this.forceCompositionEnd()};zi.prototype.reset=function(){this.forceCompositionEnd()};zi.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())};zi.prototype.readFromDOMSoon=function(){var x=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){x.readDOMTimeout=
|
||
null;if(x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))};zi.prototype.updateFromDOM=function(){var x=this;!this.cm.isReadOnly()&&this.pollContent()||rg(this.cm,function(){return Ff(x.cm)})};zi.prototype.setUneditable=function(x){x.contentEditable="false"};zi.prototype.onKeyPress=function(x){0==x.charCode||this.composing||(x.preventDefault(),this.cm.isReadOnly()||ki(this.cm,zl)(this.cm,String.fromCharCode(null==x.charCode?x.keyCode:x.charCode),0))};zi.prototype.readOnlyChanged=
|
||
function(x){this.div.contentEditable=String("nocursor"!=x)};zi.prototype.onContextMenu=function(){};zi.prototype.resetPosition=function(){};zi.prototype.needsContentAttribute=!0;var oi=function(x){this.cm=x;this.prevInput="";this.pollingFast=!1;this.polling=new Dl;this.hasSelection=!1;this.composing=null;this.resetting=!1};oi.prototype.init=function(x){function ca(lb){if(!L(Ia,lb)){if(Ia.somethingSelected())cj={lineWise:!1,text:Ia.getSelections()};else if(Ia.options.lineWiseCopyCut){var pb=Hj(Ia);
|
||
cj={lineWise:!0,text:pb.text};"cut"==lb.type?Ia.setSelections(pb.ranges,null,om):(xa.prevInput="",$a.value=pb.text.join("\n"),lo($a))}else return;"cut"==lb.type&&(Ia.state.cutIncoming=+new Date)}}var Aa=this,xa=this,Ia=this.cm;this.createField(x);var $a=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild);In&&($a.style.width="0px");Dg($a,"input",function(){Sg&&9<=ui&&Aa.hasSelection&&(Aa.hasSelection=null);xa.poll()});Dg($a,"paste",function(lb){L(Ia,lb)||nm(lb,Ia)||(Ia.state.pasteIncoming=
|
||
+new Date,xa.fastPoll())});Dg($a,"cut",ca);Dg($a,"copy",ca);Dg(x.scroller,"paste",function(lb){if(!Hb(x,lb)&&!L(Ia,lb))if($a.dispatchEvent){var pb=new Event("paste");pb.clipboardData=lb.clipboardData;$a.dispatchEvent(pb)}else Ia.state.pasteIncoming=+new Date,xa.focus()});Dg(x.lineSpace,"selectstart",function(lb){Hb(x,lb)||R(lb)});Dg($a,"compositionstart",function(){var lb=Ia.getCursor("from");xa.composing&&xa.composing.range.clear();xa.composing={start:lb,range:Ia.markText(lb,Ia.getCursor("to"),{className:"CodeMirror-composing"})}});
|
||
Dg($a,"compositionend",function(){xa.composing&&(xa.poll(),xa.composing.range.clear(),xa.composing=null)})};oi.prototype.createField=function(x){this.wrapper=ig();this.textarea=this.wrapper.firstChild;x=this.cm.options;Gj(this.textarea,x.spellcheck,x.autocorrect,x.autocapitalize)};oi.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")};oi.prototype.prepareSelection=function(){var x=this.cm,ca=x.display,Aa=x.doc,xa=
|
||
Og(x);if(x.options.moveInputWithCursor){x=pg(x,Aa.sel.primary().head,"div");Aa=ca.wrapper.getBoundingClientRect();var Ia=ca.lineDiv.getBoundingClientRect();xa.teTop=Math.max(0,Math.min(ca.wrapper.clientHeight-10,x.top+Ia.top-Aa.top));xa.teLeft=Math.max(0,Math.min(ca.wrapper.clientWidth-10,x.left+Ia.left-Aa.left))}return xa};oi.prototype.showSelection=function(x){var ca=this.cm.display;y(ca.cursorDiv,x.cursors);y(ca.selectionDiv,x.selection);null!=x.teTop&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=
|
||
x.teLeft+"px")};oi.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing&&x)){var ca=this.cm;this.resetting=!0;ca.somethingSelected()?(this.prevInput="",x=ca.getSelection(),this.textarea.value=x,ca.state.focused&&lo(this.textarea),Sg&&9<=ui&&(this.hasSelection=x)):x||(this.prevInput=this.textarea.value="",Sg&&9<=ui&&(this.hasSelection=null));this.resetting=!1}};oi.prototype.getField=function(){return this.textarea};oi.prototype.supportsTouch=function(){return!1};oi.prototype.focus=
|
||
function(){if("nocursor"!=this.cm.options.readOnly&&(!ti||z(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch(x){}};oi.prototype.blur=function(){this.textarea.blur()};oi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0};oi.prototype.receivedFocus=function(){this.slowPoll()};oi.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll();x.cm.state.focused&&x.slowPoll()})};
|
||
oi.prototype.fastPoll=function(){function x(){Aa.poll()||ca?(Aa.pollingFast=!1,Aa.slowPoll()):(ca=!0,Aa.polling.set(60,x))}var ca=!1,Aa=this;Aa.pollingFast=!0;Aa.polling.set(20,x)};oi.prototype.poll=function(){var x=this,ca=this.cm,Aa=this.textarea,xa=this.prevInput;if(this.contextMenuPending||this.resetting||!ca.state.focused||Jm(Aa)&&!xa&&!this.composing||ca.isReadOnly()||ca.options.disableInput||ca.state.keySeq)return!1;var Ia=Aa.value;if(Ia==xa&&!ca.somethingSelected())return!1;if(Sg&&9<=ui&&
|
||
this.hasSelection===Ia||Uk&&/[\uf700-\uf7ff]/.test(Ia))return ca.display.input.reset(),!1;if(ca.doc.sel==ca.display.selForContextMenu){var $a=Ia.charCodeAt(0);8203!=$a||xa||(xa="");if(8666==$a)return this.reset(),this.cm.execCommand("undo")}var lb=0;for($a=Math.min(xa.length,Ia.length);lb<$a&&xa.charCodeAt(lb)==Ia.charCodeAt(lb);)++lb;rg(ca,function(){zl(ca,Ia.slice(lb),xa.length-lb,null,x.composing?"*compose":null);1E3<Ia.length||-1<Ia.indexOf("\n")?Aa.value=x.prevInput="":x.prevInput=Ia;x.composing&&
|
||
(x.composing.range.clear(),x.composing.range=ca.markText(x.composing.start,ca.getCursor("to"),{className:"CodeMirror-composing"}))});return!0};oi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)};oi.prototype.onKeyPress=function(){Sg&&9<=ui&&(this.hasSelection=null);this.fastPoll()};oi.prototype.onContextMenu=function(x){function ca(){if(null!=lb.selectionStart){var xd=Ia.somethingSelected(),oe=""+(xd?lb.value:"");lb.value="⇚";lb.value=oe;xa.prevInput=xd?"":
|
||
"";lb.selectionStart=1;lb.selectionEnd=oe.length;$a.selForContextMenu=Ia.doc.sel}}function Aa(){if(xa.contextMenuPending==Aa&&(xa.contextMenuPending=!1,xa.wrapper.style.cssText=Lc,lb.style.cssText=wc,Sg&&9>ui&&$a.scrollbars.setScrollTop($a.scroller.scrollTop=Vb),null!=lb.selectionStart)){(!Sg||Sg&&9>ui)&&ca();var xd=0,oe=function(){$a.selForContextMenu==Ia.doc.sel&&0==lb.selectionStart&&0<lb.selectionEnd&&""==xa.prevInput?ki(Ia,yl)(Ia):10>xd++?$a.detectingSelectAll=setTimeout(oe,500):($a.selForContextMenu=
|
||
null,$a.input.reset())};$a.detectingSelectAll=setTimeout(oe,200)}}var xa=this,Ia=xa.cm,$a=Ia.display,lb=xa.textarea;xa.contextMenuPending&&xa.contextMenuPending();var pb=Ye(Ia,x),Vb=$a.scroller.scrollTop;if(pb&&!rl){Ia.options.resetSelectionOnContextMenu&&-1==Ia.doc.sel.contains(pb)&&ki(Ia,Rg)(Ia.doc,$h(pb),om);var wc=lb.style.cssText,Lc=xa.wrapper.style.cssText;pb=xa.wrapper.offsetParent.getBoundingClientRect();xa.wrapper.style.cssText="position: static";lb.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+
|
||
(x.clientY-pb.top-5)+"px; left: "+(x.clientX-pb.left-5)+"px;\n z-index: 1000; background: "+(Sg?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity\x3d5);";if(vj)var od=lb.ownerDocument.defaultView.scrollY;$a.input.focus();vj&&lb.ownerDocument.defaultView.scrollTo(null,od);$a.input.reset();Ia.somethingSelected()||(lb.value=xa.prevInput=" ");xa.contextMenuPending=Aa;$a.selForContextMenu=Ia.doc.sel;
|
||
clearTimeout($a.detectingSelectAll);Sg&&9<=ui&&ca();if(jn){S(x);var rd=function(){K(window,"mouseup",rd);setTimeout(Aa,20)};Dg(window,"mouseup",rd)}else setTimeout(Aa,50)}};oi.prototype.readOnlyChanged=function(x){x||this.reset();this.textarea.disabled="nocursor"==x;this.textarea.readOnly=!!x};oi.prototype.setUneditable=function(){};oi.prototype.needsContentAttribute=!1;(function(x){function ca(xa,Ia,$a,lb){x.defaults[xa]=Ia;$a&&(Aa[xa]=lb?function(pb,Vb,wc){wc!=pm&&$a(pb,Vb,wc)}:$a)}var Aa=x.optionHandlers;
|
||
x.defineOption=ca;x.Init=pm;ca("value","",function(xa,Ia){return xa.setValue(Ia)},!0);ca("mode",null,function(xa,Ia){xa.doc.modeOption=Ia;wl(xa)},!0);ca("indentUnit",2,wl,!0);ca("indentWithTabs",!1);ca("smartIndent",!0);ca("tabSize",4,function(xa){sj(xa);Wc(xa);Ff(xa)},!0);ca("lineSeparator",null,function(xa,Ia){if(xa.doc.lineSep=Ia){var $a=[],lb=xa.doc.first;xa.doc.iter(function(Vb){for(var wc=0;;){var Lc=Vb.text.indexOf(Ia,wc);if(-1==Lc)break;wc=Lc+Ia.length;$a.push(ia(lb,Lc))}lb++});for(var pb=
|
||
$a.length-1;0<=pb;pb--)lg(xa.doc,Ia,$a[pb],ia($a[pb].line,$a[pb].ch+Ia.length))}});ca("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(xa,Ia,$a){xa.state.specialChars=new RegExp(Ia.source+(Ia.test("\t")?"":"|\t"),"g");$a!=pm&&xa.refresh()});ca("specialCharPlaceholder",wd,function(xa){return xa.refresh()},!0);ca("electricChars",!0);ca("inputStyle",ti?"contenteditable":"textarea",function(){throw Error("inputStyle can not (yet) be changed in a running editor");
|
||
},!0);ca("spellcheck",!1,function(xa,Ia){return xa.getInputField().spellcheck=Ia},!0);ca("autocorrect",!1,function(xa,Ia){return xa.getInputField().autocorrect=Ia},!0);ca("autocapitalize",!1,function(xa,Ia){return xa.getInputField().autocapitalize=Ia},!0);ca("rtlMoveVisually",!Ll);ca("wholeLineUpdateBefore",!0);ca("theme","default",function(xa){$f(xa);al(xa)},!0);ca("keyMap","default",function(xa,Ia,$a){Ia=qc(Ia);($a=$a!=pm&&qc($a))&&$a.detach&&$a.detach(xa,Ia);Ia.attach&&Ia.attach(xa,$a||null)});
|
||
ca("extraKeys",null);ca("configureMouse",null);ca("lineWrapping",!1,em,!0);ca("gutters",[],function(xa,Ia){xa.display.gutterSpecs=zj(Ia,xa.options.lineNumbers);al(xa)},!0);ca("fixedGutter",!0,function(xa,Ia){xa.display.gutters.style.left=Ia?zd(xa.display)+"px":"0";xa.refresh()},!0);ca("coverGutterNextToScrollbar",!1,function(xa){return Eh(xa)},!0);ca("scrollbarStyle","native",function(xa){Jl(xa);Eh(xa);xa.display.scrollbars.setScrollTop(xa.doc.scrollTop);xa.display.scrollbars.setScrollLeft(xa.doc.scrollLeft)},
|
||
!0);ca("lineNumbers",!1,function(xa,Ia){xa.display.gutterSpecs=zj(xa.options.gutters,Ia);al(xa)},!0);ca("firstLineNumber",1,al,!0);ca("lineNumberFormatter",function(xa){return xa},al,!0);ca("showCursorWhenSelecting",!1,Zh,!0);ca("resetSelectionOnContextMenu",!0);ca("lineWiseCopyCut",!0);ca("pasteLinesPerSelection",!0);ca("selectionsMayTouch",!1);ca("readOnly",!1,function(xa,Ia){"nocursor"==Ia&&(Bk(xa),xa.display.input.blur());xa.display.input.readOnlyChanged(Ia)});ca("screenReaderLabel",null,function(xa,
|
||
Ia){xa.display.input.screenReaderLabelChanged(""===Ia?null:Ia)});ca("disableInput",!1,function(xa,Ia){Ia||xa.display.input.reset()},!0);ca("dragDrop",!0,xi);ca("allowDropFileTypes",null);ca("cursorBlinkRate",530);ca("cursorScrollMargin",0);ca("cursorHeight",1,Zh,!0);ca("singleCursorHeightPerLine",!0,Zh,!0);ca("workTime",100);ca("workDelay",100);ca("flattenSpans",!0,sj,!0);ca("addModeClass",!1,sj,!0);ca("pollInterval",100);ca("undoDepth",200,function(xa,Ia){return xa.doc.history.undoDepth=Ia});ca("historyEventDelay",
|
||
1250);ca("viewportMargin",10,function(xa){return xa.refresh()},!0);ca("maxHighlightLength",1E4,sj,!0);ca("moveInputWithCursor",!0,function(xa,Ia){Ia||xa.display.input.resetPosition()});ca("tabindex",null,function(xa,Ia){return xa.display.input.getField().tabIndex=Ia||""});ca("autofocus",null);ca("direction","ltr",function(xa,Ia){return xa.doc.setDirection(Ia)},!0);ca("phrases",null)})(yg);(function(x){var ca=x.optionHandlers,Aa=x.helpers={};x.prototype={constructor:x,focus:function(){J(this).defaultView.focus();
|
||
this.display.input.focus()},setOption:function(xa,Ia){var $a=this.options,lb=$a[xa];if($a[xa]!=Ia||"mode"==xa)$a[xa]=Ia,ca.hasOwnProperty(xa)&&ki(this,ca[xa])(this,Ia,lb),D(this,"optionChange",this,xa)},getOption:function(xa){return this.options[xa]},getDoc:function(){return this.doc},addKeyMap:function(xa,Ia){this.state.keyMaps[Ia?"push":"unshift"](qc(xa))},removeKeyMap:function(xa){for(var Ia=this.state.keyMaps,$a=0;$a<Ia.length;++$a)if(Ia[$a]==xa||Ia[$a].name==xa)return Ia.splice($a,1),!0},addOverlay:Ri(function(xa,
|
||
Ia){var $a=xa.token?xa:x.getMode(this.options,xa);if($a.startState)throw Error("Overlays may not be stateful.");t(this.state.overlays,{mode:$a,modeSpec:xa,opaque:Ia&&Ia.opaque,priority:Ia&&Ia.priority||0},function(lb){return lb.priority});this.state.modeGen++;Ff(this)}),removeOverlay:Ri(function(xa){for(var Ia=this.state.overlays,$a=0;$a<Ia.length;++$a){var lb=Ia[$a].modeSpec;if(lb==xa||"string"==typeof xa&&lb.name==xa){Ia.splice($a,1);this.state.modeGen++;Ff(this);break}}}),indentLine:Ri(function(xa,
|
||
Ia,$a){"string"!=typeof Ia&&"number"!=typeof Ia&&(Ia=null==Ia?this.options.smartIndent?"smart":"prev":Ia?"add":"subtract");ja(this.doc,xa)&&Fh(this,xa,Ia,$a)}),indentSelection:Ri(function(xa){for(var Ia=this.doc.sel.ranges,$a=-1,lb=0;lb<Ia.length;lb++){var pb=Ia[lb];if(pb.empty())pb.head.line>$a&&(Fh(this,pb.head.line,xa,!0),$a=pb.head.line,lb==this.doc.sel.primIndex&&Zf(this));else{var Vb=pb.from();pb=pb.to();var wc=Math.max($a,Vb.line);$a=Math.min(this.lastLine(),pb.line-(pb.ch?0:1))+1;for(pb=wc;pb<
|
||
$a;++pb)Fh(this,pb,xa);pb=this.doc.sel.ranges;0==Vb.ch&&Ia.length==pb.length&&0<pb[lb].from().ch&&Rm(this.doc,lb,new Xf(Vb,pb[lb].to()),om)}}}),getTokenAt:function(xa,Ia){return Qb(this,xa,Ia)},getLineTokens:function(xa,Ia){return Qb(this,ia(xa),Ia,!0)},getTokenTypeAt:function(xa){xa=cb(this.doc,xa);var Ia=yb(this,Oa(this.doc,xa.line)),$a=0,lb=(Ia.length-1)/2;xa=xa.ch;if(0==xa)Ia=Ia[2];else for(;;){var pb=$a+lb>>1;if((pb?Ia[2*pb-1]:0)>=xa)lb=pb;else if(Ia[2*pb+1]<xa)$a=pb+1;else{Ia=Ia[2*pb+2];break}}$a=
|
||
Ia?Ia.indexOf("overlay "):-1;return 0>$a?Ia:0==$a?null:Ia.slice(0,$a-1)},getModeAt:function(xa){var Ia=this.doc.mode;return Ia.innerMode?x.innerMode(Ia,this.getTokenAt(xa).state).mode:Ia},getHelper:function(xa,Ia){return this.getHelpers(xa,Ia)[0]},getHelpers:function(xa,Ia){var $a=[];if(!Aa.hasOwnProperty(Ia))return $a;var lb=Aa[Ia];xa=this.getModeAt(xa);if("string"==typeof xa[Ia])lb[xa[Ia]]&&$a.push(lb[xa[Ia]]);else if(xa[Ia])for(var pb=0;pb<xa[Ia].length;pb++){var Vb=lb[xa[Ia][pb]];Vb&&$a.push(Vb)}else xa.helperType&&
|
||
lb[xa.helperType]?$a.push(lb[xa.helperType]):lb[xa.name]&&$a.push(lb[xa.name]);for(Ia=0;Ia<lb._global.length;Ia++)pb=lb._global[Ia],pb.pred(xa,this)&&-1==p($a,pb.val)&&$a.push(pb.val);return $a},getStateAfter:function(xa,Ia){var $a=this.doc;xa=Math.max($a.first,Math.min(null==xa?$a.first+$a.size-1:xa,$a.first+$a.size-1));return ob(this,xa+1,Ia).state},cursorCoords:function(xa,Ia){var $a=this.doc.sel.primary();xa=null==xa?$a.head:"object"==typeof xa?cb(this.doc,xa):xa?$a.from():$a.to();return pg(this,
|
||
xa,Ia||"page")},charCoords:function(xa,Ia){return tf(this,cb(this.doc,xa),Ia||"page")},coordsChar:function(xa,Ia){xa=ie(this,xa,Ia||"page");return za(this,xa.left,xa.top)},lineAtHeight:function(xa,Ia){xa=ie(this,{top:xa,left:0},Ia||"page").top;return ma(this.doc,xa+this.display.viewOffset)},heightAtLine:function(xa,Ia,$a){var lb=!1;if("number"==typeof xa){var pb=this.doc.first+this.doc.size-1;xa<this.doc.first?xa=this.doc.first:xa>pb&&(xa=pb,lb=!0);xa=Oa(this.doc,xa)}return bf(this,xa,{top:0,left:0},
|
||
Ia||"page",$a||lb).top+(lb?this.doc.height-sb(xa):0)},defaultTextHeight:function(){return Gc(this.display)},defaultCharWidth:function(){return Pc(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(xa,Ia,$a,lb,pb){var Vb=this.display;xa=pg(this,cb(this.doc,xa));var wc=xa.bottom,Lc=xa.left;Ia.style.position="absolute";Ia.setAttribute("cm-ignore-events","true");this.display.input.setUneditable(Ia);Vb.sizer.appendChild(Ia);if("over"==lb)wc=
|
||
xa.top;else if("above"==lb||"near"==lb){var od=Math.max(Vb.wrapper.clientHeight,this.doc.height),rd=Math.max(Vb.sizer.clientWidth,Vb.lineSpace.clientWidth);("above"==lb||xa.bottom+Ia.offsetHeight>od)&&xa.top>Ia.offsetHeight?wc=xa.top-Ia.offsetHeight:xa.bottom+Ia.offsetHeight<=od&&(wc=xa.bottom);Lc+Ia.offsetWidth>rd&&(Lc=rd-Ia.offsetWidth)}Ia.style.top=wc+"px";Ia.style.left=Ia.style.right="";"right"==pb?(Lc=Vb.sizer.clientWidth-Ia.offsetWidth,Ia.style.right="0px"):("left"==pb?Lc=0:"middle"==pb&&(Lc=
|
||
(Vb.sizer.clientWidth-Ia.offsetWidth)/2),Ia.style.left=Lc+"px");$a&&(xa=ih(this,{left:Lc,top:wc,right:Lc+Ia.offsetWidth,bottom:wc+Ia.offsetHeight}),null!=xa.scrollTop&&ek(this,xa.scrollTop),null!=xa.scrollLeft&&fk(this,xa.scrollLeft))},triggerOnKeyDown:Ri(Zd),triggerOnKeyPress:Ri(jf),triggerOnKeyUp:af,triggerOnMouseDown:Ri(qg),execCommand:function(xa){if(xp.hasOwnProperty(xa))return xp[xa].call(null,this)},triggerElectric:Ri(function(xa){hh(this,xa)}),findPosH:function(xa,Ia,$a,lb){var pb=1;0>Ia&&
|
||
(pb=-1,Ia=-Ia);xa=cb(this.doc,xa);for(var Vb=0;Vb<Ia&&(xa=yi(this.doc,xa,pb,$a,lb),!xa.hitSide);++Vb);return xa},moveH:Ri(function(xa,Ia){var $a=this;this.extendSelectionsBy(function(lb){return $a.display.shift||$a.doc.extend||lb.empty()?yi($a.doc,lb.head,xa,Ia,$a.options.rtlMoveVisually):0>xa?lb.from():lb.to()},Wn)}),deleteH:Ri(function(xa,Ia){var $a=this.doc;this.doc.sel.somethingSelected()?$a.replaceSelection("",null,"+delete"):Tb(this,function(lb){var pb=yi($a,lb.head,xa,Ia,!1);return 0>xa?{from:pb,
|
||
to:lb.head}:{from:lb.head,to:pb}})}),findPosV:function(xa,Ia,$a,lb){var pb=1;0>Ia&&(pb=-1,Ia=-Ia);var Vb=cb(this.doc,xa);for(xa=0;xa<Ia&&(Vb=pg(this,Vb,"div"),null==lb?lb=Vb.left:Vb.left=lb,Vb=Tk(this,Vb,pb,$a),!Vb.hitSide);++xa);return Vb},moveV:Ri(function(xa,Ia){var $a=this,lb=this.doc,pb=[],Vb=!this.display.shift&&!lb.extend&&lb.sel.somethingSelected();lb.extendSelectionsBy(function(Lc){if(Vb)return 0>xa?Lc.from():Lc.to();var od=pg($a,Lc.head,"div");null!=Lc.goalColumn&&(od.left=Lc.goalColumn);
|
||
pb.push(od.left);var rd=Tk($a,od,xa,Ia);"page"==Ia&&Lc==lb.sel.primary()&&wf($a,tf($a,rd,"div").top-od.top);return rd},Wn);if(pb.length)for(var wc=0;wc<lb.sel.ranges.length;wc++)lb.sel.ranges[wc].goalColumn=pb[wc]}),findWordAt:function(xa){var Ia=Oa(this.doc,xa.line).text,$a=xa.ch,lb=xa.ch;if(Ia){var pb=this.getHelper(xa,"wordChars");"before"!=xa.sticky&&lb!=Ia.length||!$a?++lb:--$a;var Vb=Ia.charAt($a);for(Vb=C(Vb,pb)?function(wc){return C(wc,pb)}:/\s/.test(Vb)?function(wc){return/\s/.test(wc)}:
|
||
function(wc){return!/\s/.test(wc)&&!C(wc)};0<$a&&Vb(Ia.charAt($a-1));)--$a;for(;lb<Ia.length&&Vb(Ia.charAt(lb));)++lb}return new Xf(ia(xa.line,$a),ia(xa.line,lb))},toggleOverwrite:function(xa){if(null==xa||xa!=this.state.overwrite)(this.state.overwrite=!this.state.overwrite)?A(this.display.cursorDiv,"CodeMirror-overwrite"):Wm(this.display.cursorDiv,"CodeMirror-overwrite"),D(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==z(J(this))},isReadOnly:function(){return!(!this.options.readOnly&&
|
||
!this.doc.cantEdit)},scrollTo:Ri(function(xa,Ia){vl(this,xa,Ia)}),getScrollInfo:function(){var xa=this.display.scroller;return{left:xa.scrollLeft,top:xa.scrollTop,height:xa.scrollHeight-Ad(this)-this.display.barHeight,width:xa.scrollWidth-Ad(this)-this.display.barWidth,clientHeight:Od(this),clientWidth:be(this)}},scrollIntoView:Ri(function(xa,Ia){null==xa?(xa={from:this.doc.sel.primary().head,to:null},null==Ia&&(Ia=this.options.cursorScrollMargin)):"number"==typeof xa?xa={from:ia(xa,0),to:null}:null==
|
||
xa.from&&(xa={from:xa,to:null});xa.to||(xa.to=xa.from);xa.margin=Ia||0;null!=xa.from.line?(Il(this),this.curOp.scrollToPos=xa):Pe(this,xa.from,xa.to,xa.margin)}),setSize:Ri(function(xa,Ia){var $a=this,lb=function(Vb){return"number"==typeof Vb||/^\d+$/.test(String(Vb))?Vb+"px":Vb};null!=xa&&(this.display.wrapper.style.width=lb(xa));null!=Ia&&(this.display.wrapper.style.height=lb(Ia));this.options.lineWrapping&&Yc(this);var pb=this.display.viewFrom;this.doc.iter(pb,this.display.viewTo,function(Vb){if(Vb.widgets)for(var wc=
|
||
0;wc<Vb.widgets.length;wc++)if(Vb.widgets[wc].noHScroll){If($a,pb,"widget");break}++pb});this.curOp.forceUpdate=!0;D(this,"refresh",this)}),operation:function(xa){return rg(this,xa)},startOperation:function(){return Kk(this)},endOperation:function(){return kg(this)},refresh:Ri(function(){var xa=this.display.cachedTextHeight;Ff(this);this.curOp.forceUpdate=!0;Wc(this);vl(this,this.doc.scrollLeft,this.doc.scrollTop);zf(this.display);(null==xa||.5<Math.abs(xa-Gc(this.display))||this.options.lineWrapping)&&
|
||
Oe(this);D(this,"refresh",this)}),swapDoc:Ri(function(xa){var Ia=this.doc;Ia.cm=null;this.state.selectingText&&this.state.selectingText();Rh(this,xa);Wc(this);this.display.input.reset();vl(this,xa.scrollLeft,xa.scrollTop);this.curOp.forceScroll=!0;Ce(this,"swapDoc",this,Ia);return Ia}),phrase:function(xa){var Ia=this.options.phrases;return Ia&&Object.prototype.hasOwnProperty.call(Ia,xa)?Ia[xa]:xa},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}};la(x);x.registerHelper=function(xa,Ia,$a){Aa.hasOwnProperty(xa)||(Aa[xa]=x[xa]={_global:[]});Aa[xa][Ia]=$a};x.registerGlobalHelper=function(xa,Ia,$a,lb){x.registerHelper(xa,Ia,lb);Aa[xa]._global.push({pred:$a,val:lb})}})(yg);var pr="iter insert remove copy getEditor constructor".split(" "),Wo;for(Wo in mj.prototype)mj.prototype.hasOwnProperty(Wo)&&0>p(pr,Wo)&&(yg.prototype[Wo]=function(x){return function(){return x.apply(this.doc,
|
||
arguments)}}(mj.prototype[Wo]));la(mj);yg.inputStyles={textarea:oi,contenteditable:zi};yg.defineMode=function(x){yg.defaults.mode||"null"==x||(yg.defaults.mode=x);W.apply(this,arguments)};yg.defineMIME=function(x,ca){Lm[x]=ca};yg.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}});yg.defineMIME("text/plain","null");yg.defineExtension=function(x,ca){yg.prototype[x]=ca};yg.defineDocExtension=function(x,ca){mj.prototype[x]=ca};yg.fromTextArea=function(x,ca){function Aa(){x.value=
|
||
pb.getValue()}ca=ca?h(ca):{};ca.value=x.value;!ca.tabindex&&x.tabIndex&&(ca.tabindex=x.tabIndex);!ca.placeholder&&x.placeholder&&(ca.placeholder=x.placeholder);if(null==ca.autofocus){var xa=z(x.ownerDocument);ca.autofocus=xa==x||null!=x.getAttribute("autofocus")&&xa==document.body}if(x.form&&(Dg(x.form,"submit",Aa),!ca.leaveSubmitMethodAlone)){var Ia=x.form;var $a=Ia.submit;try{var lb=Ia.submit=function(){Aa();Ia.submit=$a;Ia.submit();Ia.submit=lb}}catch(Vb){}}ca.finishInit=function(Vb){Vb.save=Aa;
|
||
Vb.getTextArea=function(){return x};Vb.toTextArea=function(){Vb.toTextArea=isNaN;Aa();x.parentNode.removeChild(Vb.getWrapperElement());x.style.display="";x.form&&(K(x.form,"submit",Aa),ca.leaveSubmitMethodAlone||"function"!=typeof x.form.submit||(x.form.submit=$a))}};x.style.display="none";var pb=yg(function(Vb){return x.parentNode.insertBefore(Vb,x.nextSibling)},ca);return pb};(function(x){x.off=K;x.on=Dg;x.wheelEventPixels=Ck;x.Doc=mj;x.splitLines=Vk;x.countColumn=c;x.findColumn=m;x.isWordChar=
|
||
F;x.Pass=Vl;x.signal=D;x.Line=ch;x.changeEnd=mi;x.scrollbarModel=yk;x.Pos=ia;x.cmpPos=sa;x.modes=po;x.mimeModes=Lm;x.resolveMode=ra;x.getMode=wa;x.modeExtensions=tl;x.extendMode=va;x.copyState=Fa;x.startState=Ka;x.innerMode=Ba;x.commands=xp;x.keyMap=Vo;x.keyName=rc;x.isModifierKey=Rb;x.lookupKey=cm;x.normalizeKeyMap=Hn;x.StringStream=Mi;x.SharedTextMarker=Nl;x.TextMarker=Lj;x.LineWidget=ag;x.e_preventDefault=R;x.e_stopPropagation=Z;x.e_stop=S;x.addClass=A;x.contains=u;x.rmClass=Wm;x.keyNames=nh})(yg);
|
||
yg.version="5.65.13";return yg})};
|
||
shadow$provide[465]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(c,p){return"pairs"==p&&"string"==typeof c?c:"object"==typeof c&&null!=c[p]?c[p]:J[p]}function y(c){for(var p=0;p<c.length;p++){var m=c.charAt(p),q="'"+m+"'";h[q]||(h[q]=n(m))}}function n(c){return function(p){return z(p,c)}}function b(c){var p=c.state.closeBrackets;return!p||p.override?
|
||
p:c.getModeAt(c.getCursor()).closeBrackets||p}function u(c,p){for(var m=[],q=c.listSelections(),E=0,w=0;w<q.length;w++){var t=q[w];t.head==c.getCursor()&&(E=w);t=t.head.ch||0<p?{line:t.head.line,ch:t.head.ch+p}:{line:t.head.line-1};m.push({anchor:t,head:t})}c.setSelections(m,E)}function z(c,p){var m=b(c);if(!m||c.getOption("disableInput"))return v.Pass;var q=Y(m,"pairs"),E=q.indexOf(p);if(-1==E)return v.Pass;var w=Y(m,"closeBefore");m=Y(m,"triples");for(var t=q.charAt(E+1)==p,r=c.listSelections(),
|
||
f=0==E%2,F,C=0;C<r.length;C++){var M=r[C],aa=M.head;var O=c.getRange(aa,g(aa.line,aa.ch+1));if(f&&!M.empty())O="surround";else if(!t&&f||O!=p)if(t&&1<aa.ch&&0<=m.indexOf(p)&&c.getRange(g(aa.line,aa.ch-2),aa)==p+p){if(2<aa.ch&&/\bstring/.test(c.getTokenTypeAt(g(aa.line,aa.ch-2))))return v.Pass;O="addFour"}else if(t){M=0==aa.ch?" ":c.getRange(g(aa.line,aa.ch-1),aa);if(v.isWordChar(O)||M==p||v.isWordChar(M))return v.Pass;O="both"}else if(f&&(0===O.length||/\s/.test(O)||-1<w.indexOf(O)))O="both";else return v.Pass;
|
||
else O=t&&B(c,aa)?"both":0<=m.indexOf(p)&&c.getRange(aa,g(aa.line,aa.ch+3))==p+p+p?"skipThree":"skip";if(!F)F=O;else if(F!=O)return v.Pass}var U=E%2?q.charAt(E-1):p,P=E%2?p:q.charAt(E+1);c.operation(function(){if("skip"==F)u(c,1);else if("skipThree"==F)u(c,3);else if("surround"==F){for(var V=c.getSelections(),T=0;T<V.length;T++)V[T]=U+V[T]+P;c.replaceSelections(V,"around");V=c.listSelections().slice();for(T=0;T<V.length;T++){var K=V,D=T;var L=V[T];var Q=0<v.cmpPos(L.anchor,L.head);L={anchor:new g(L.anchor.line,
|
||
L.anchor.ch+(Q?-1:1)),head:new g(L.head.line,L.head.ch+(Q?1:-1))};K[D]=L}c.setSelections(V)}else"both"==F?(c.replaceSelection(U+P,null),c.triggerElectric(U+P),u(c,-1)):"addFour"==F&&(c.replaceSelection(U+U+U+U,"before"),u(c,1))})}function A(c,p){c=c.getRange(g(p.line,p.ch-1),g(p.line,p.ch+1));return 2==c.length?c:null}function B(c,p){var m=c.getTokenAt(g(p.line,p.ch+1));return/\bstring/.test(m.type)&&m.start==p.ch&&(0==p.ch||!/\bstring/.test(c.getTokenTypeAt(p)))}var J={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;\x3e",
|
||
triples:"",explode:"[]{}"},g=v.Pos;v.defineOption("autoCloseBrackets",!1,function(c,p,m){m&&m!=v.Init&&(c.removeKeyMap(h),c.state.closeBrackets=null);p&&(y(Y(p,"pairs")),c.state.closeBrackets=p,c.addKeyMap(h))});var h={Backspace:function(c){var p=b(c);if(!p||c.getOption("disableInput"))return v.Pass;var m=Y(p,"pairs");p=c.listSelections();for(var q=0;q<p.length;q++){if(!p[q].empty())return v.Pass;var E=A(c,p[q].head);if(!E||0!=m.indexOf(E)%2)return v.Pass}for(q=p.length-1;0<=q;q--)m=p[q].head,c.replaceRange("",
|
||
g(m.line,m.ch-1),g(m.line,m.ch+1),"+delete")},Enter:function(c){var p=b(c);p=p&&Y(p,"explode");if(!p||c.getOption("disableInput"))return v.Pass;for(var m=c.listSelections(),q=0;q<m.length;q++){if(!m[q].empty())return v.Pass;var E=A(c,m[q].head);if(!E||0!=p.indexOf(E)%2)return v.Pass}c.operation(function(){var w=c.lineSeparator()||"\n";c.replaceSelection(w+w,null);u(c,-1);m=c.listSelections();for(w=0;w<m.length;w++){var t=m[w].head.line;c.indentLine(t,null,!0);c.indentLine(t+1,null,!0)}})}};y(J.pairs+
|
||
"`")})};
|
||
shadow$provide[466]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(J,g,h){var c=J.getLineHandle(g.line),p=g.ch-1,m=h&&h.afterCursor;null==m&&(m=/(^| )cm-fat-cursor($| )/.test(J.getWrapperElement().className));var q=h&&h.bracketRegex||/[(){}[\]]/;c=!m&&0<=p&&q.test(c.text.charAt(p))&&B[c.text.charAt(p)]||q.test(c.text.charAt(p+1))&&B[c.text.charAt(++p)];
|
||
if(!c)return null;m="\x3e"==c.charAt(1)?1:-1;if(h&&h.strict&&0<m!=(p==g.ch))return null;q=J.getTokenTypeAt(A(g.line,p+1));J=y(J,A(g.line,p+(0<m?1:0)),m,q,h);return null==J?null:{from:A(g.line,p),to:J&&J.pos,match:J&&J.ch==c.charAt(0),forward:0<m}}function y(J,g,h,c,p){var m=p&&p.maxScanLineLength||1E4,q=p&&p.maxScanLines||1E3,E=[];p=p&&p.bracketRegex||/[(){}[\]]/;q=0<h?Math.min(g.line+q,J.lastLine()+1):Math.max(J.firstLine()-1,g.line-q);for(var w=g.line;w!=q;w+=h){var t=J.getLine(w);if(t){var r=0<
|
||
h?0:t.length-1,f=0<h?t.length:-1;if(!(t.length>m))for(w==g.line&&(r=g.ch-(0>h?1:0));r!=f;r+=h){var F=t.charAt(r);if(p.test(F)&&(void 0===c||(J.getTokenTypeAt(A(w,r+1))||"")==(c||""))){var C=B[F];if(C&&"\x3e"==C.charAt(1)==0<h)E.push(F);else if(E.length)E.pop();else return{pos:A(w,r),ch:F}}}}}return w-h==(0<h?J.lastLine():J.firstLine())?!1:null}function n(J,g,h){for(var c=J.state.matchBrackets.maxHighlightLineLength||1E3,p=h&&h.highlightNonMatching,m=[],q=J.listSelections(),E=0;E<q.length;E++){var w=
|
||
q[E].empty()&&Y(J,q[E].head,h);if(w&&(w.match||!1!==p)&&J.getLine(w.from.line).length<=c){var t=w.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";m.push(J.markText(w.from,A(w.from.line,w.from.ch+1),{className:t}));w.to&&J.getLine(w.to.line).length<=c&&m.push(J.markText(w.to,A(w.to.line,w.to.ch+1),{className:t}))}}if(m.length)if(z&&J.state.focused&&J.focus(),h=function(){J.operation(function(){for(var r=0;r<m.length;r++)m[r].clear()})},g)setTimeout(h,800);else return h}function b(J){J.operation(function(){J.state.matchBrackets.currentlyHighlighted&&
|
||
(J.state.matchBrackets.currentlyHighlighted(),J.state.matchBrackets.currentlyHighlighted=null);J.state.matchBrackets.currentlyHighlighted=n(J,!1,J.state.matchBrackets)})}function u(J){J.state.matchBrackets&&J.state.matchBrackets.currentlyHighlighted&&(J.state.matchBrackets.currentlyHighlighted(),J.state.matchBrackets.currentlyHighlighted=null)}var z=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||8>document.documentMode),A=v.Pos,B={"(":")\x3e",")":"(\x3c","[":"]\x3e","]":"[\x3c",
|
||
"{":"}\x3e","}":"{\x3c","\x3c":"\x3e\x3e","\x3e":"\x3c\x3c"};v.defineOption("matchBrackets",!1,function(J,g,h){h&&h!=v.Init&&(J.off("cursorActivity",b),J.off("focus",b),J.off("blur",u),u(J));g&&(J.state.matchBrackets="object"==typeof g?g:{},J.on("cursorActivity",b),J.on("focus",b),J.on("blur",u))});v.defineExtension("matchBrackets",function(){n(this,!0)});v.defineExtension("findMatchingBracket",function(J,g,h){if(h||"boolean"==typeof g)h?(h.strict=g,g=h):g=g?{strict:!0}:null;return Y(this,J,g)});
|
||
v.defineExtension("scanForBracket",function(J,g,h,c){return y(this,J,g,h,c)})})};
|
||
shadow$provide[467]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(u){for(var z=0;z<u.state.activeLines.length;z++)u.removeLineClass(u.state.activeLines[z],"wrap","CodeMirror-activeline"),u.removeLineClass(u.state.activeLines[z],"background","CodeMirror-activeline-background"),u.removeLineClass(u.state.activeLines[z],"gutter","CodeMirror-activeline-gutter")}
|
||
function y(u,z){if(u.length!=z.length)return!1;for(var A=0;A<u.length;A++)if(u[A]!=z[A])return!1;return!0}function n(u,z){for(var A=[],B=0;B<z.length;B++){var J=z[B],g=u.getOption("styleActiveLine");if("object"==typeof g&&g.nonEmpty?J.anchor.line==J.head.line:J.empty())J=u.getLineHandleVisualStart(J.head.line),A[A.length-1]!=J&&A.push(J)}y(u.state.activeLines,A)||u.operation(function(){Y(u);for(var h=0;h<A.length;h++)u.addLineClass(A[h],"wrap","CodeMirror-activeline"),u.addLineClass(A[h],"background",
|
||
"CodeMirror-activeline-background"),u.addLineClass(A[h],"gutter","CodeMirror-activeline-gutter");u.state.activeLines=A})}function b(u,z){n(u,z.ranges)}v.defineOption("styleActiveLine",!1,function(u,z,A){A=A==v.Init?!1:A;z!=A&&(A&&(u.off("beforeSelectionChange",b),Y(u),delete u.state.activeLines),z&&(u.state.activeLines=[],n(u,u.listSelections()),u.on("beforeSelectionChange",b)))})})};
|
||
shadow$provide[468]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(g,h){this.cm=g;this.options=h;this.widget=null;this.tick=this.debounce=0;this.startPos=this.cm.getCursor("start");this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;if(this.options.updateOnCursorActivity){var c=this;g.on("cursorActivity",this.activityFunc=
|
||
function(){c.cursorActivity()})}}function y(g,h){function c(w,t){var r="string"!=typeof t?function(f){return t(f,h)}:p.hasOwnProperty(t)?p[t]:t;q[w]=r}var p={Up:function(){h.moveFocus(-1)},Down:function(){h.moveFocus(1)},PageUp:function(){h.moveFocus(-h.menuSize()+1,!0)},PageDown:function(){h.moveFocus(h.menuSize()-1,!0)},Home:function(){h.setFocus(0)},End:function(){h.setFocus(h.length-1)},Enter:h.pick,Tab:h.pick,Esc:h.close};/Mac/.test(navigator.platform)&&(p["Ctrl-P"]=function(){h.moveFocus(-1)},
|
||
p["Ctrl-N"]=function(){h.moveFocus(1)});var m=g.options.customKeys,q=m?{}:p;if(m)for(var E in m)m.hasOwnProperty(E)&&c(E,m[E]);if(g=g.options.extraKeys)for(E in g)g.hasOwnProperty(E)&&c(E,g[E]);return q}function n(g,h){for(;h&&h!=g;){if("LI"===h.nodeName.toUpperCase()&&h.parentNode==g)return h;h=h.parentNode}}function b(g,h){this.id="cm-complete-"+Math.floor(Math.random(1E6));this.completion=g;this.data=h;this.picked=!1;var c=this,p=g.cm,m=p.getInputField().ownerDocument,q=m.defaultView||m.parentWindow,
|
||
E=this.hints=m.createElement("ul");E.setAttribute("role","listbox");E.setAttribute("aria-expanded","true");E.id=this.id;E.className="CodeMirror-hints "+g.cm.options.theme;this.selectedHint=h.selectedHint||0;for(var w=h.list,t=0;t<w.length;++t){var r=E.appendChild(m.createElement("li")),f=w[t],F="CodeMirror-hint"+(t!=this.selectedHint?"":" CodeMirror-hint-active");null!=f.className&&(F=f.className+" "+F);r.className=F;t==this.selectedHint&&r.setAttribute("aria-selected","true");r.id=this.id+"-"+t;
|
||
r.setAttribute("role","option");f.render?f.render(r,h,f):r.appendChild(m.createTextNode(f.displayText||("string"==typeof f?f:f.text)));r.hintId=t}var C=g.options.container||m.body;t=p.cursorCoords(g.options.alignWithWord?h.from:null);var M=t.left,aa=t.bottom,O=!0;F=r=0;if(C!==m.body){f=-1!==["absolute","relative","fixed"].indexOf(q.getComputedStyle(C).position)?C:C.offsetParent;F=f.getBoundingClientRect();var U=m.body.getBoundingClientRect();r=F.left-U.left-f.scrollLeft;F=F.top-U.top-f.scrollTop}E.style.left=
|
||
M-r+"px";E.style.top=aa-F+"px";f=q.innerWidth||Math.max(m.body.offsetWidth,m.documentElement.offsetWidth);U=q.innerHeight||Math.max(m.body.offsetHeight,m.documentElement.offsetHeight);C.appendChild(E);p.getInputField().setAttribute("aria-autocomplete","list");p.getInputField().setAttribute("aria-owns",this.id);p.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);C=g.options.moveOnOverlap?E.getBoundingClientRect():new DOMRect;var P=g.options.paddingForScrollbar?E.scrollHeight>
|
||
E.clientHeight+1:!1,V;setTimeout(function(){V=p.getScrollInfo()});if(0<C.bottom-U){var T=C.bottom-C.top,K=C.top-(t.bottom-t.top)-2;U-C.top<K?(T>K&&(E.style.height=(T=K)+"px"),E.style.top=(aa=t.top-T)+F+"px",O=!1):E.style.height=U-C.top-2+"px"}F=C.right-f;P&&(F+=p.display.nativeBarWidth);0<F&&(C.right-C.left>f&&(E.style.width=f-5+"px",F-=C.right-C.left-f),E.style.left=(M=Math.max(t.left-F-r,0))+"px");if(P)for(t=E.firstChild;t;t=t.nextSibling)t.style.paddingRight=p.display.nativeBarWidth+"px";p.addKeyMap(this.keyMap=
|
||
y(g,{moveFocus:function(L,Q){c.changeActive(c.selectedHint+L,Q)},setFocus:function(L){c.changeActive(L)},menuSize:function(){return c.screenAmount()},length:w.length,close:function(){g.close()},pick:function(){c.pick()},data:h}));if(g.options.closeOnUnfocus){var D;p.on("blur",this.onBlur=function(){D=setTimeout(function(){g.close()},100)});p.on("focus",this.onFocus=function(){clearTimeout(D)})}p.on("scroll",this.onScroll=function(){var L=p.getScrollInfo(),Q=p.getWrapperElement().getBoundingClientRect();
|
||
V||=p.getScrollInfo();var N=aa+V.top-L.top,la=N-(q.pageYOffset||(m.documentElement||m.body).scrollTop);O||(la+=E.offsetHeight);if(la<=Q.top||la>=Q.bottom)return g.close();E.style.top=N+"px";E.style.left=M+V.left-L.left+"px"});v.on(E,"dblclick",function(L){(L=n(E,L.target||L.srcElement))&&null!=L.hintId&&(c.changeActive(L.hintId),c.pick())});v.on(E,"click",function(L){(L=n(E,L.target||L.srcElement))&&null!=L.hintId&&(c.changeActive(L.hintId),g.options.completeOnSingleClick&&c.pick())});v.on(E,"mousedown",
|
||
function(){setTimeout(function(){p.focus()},20)});t=this.getSelectedHintRange();0===t.from&&0===t.to||this.scrollToActive();v.signal(h,"select",w[this.selectedHint],E.childNodes[this.selectedHint]);return!0}function u(g,h){if(!g.somethingSelected())return h;g=[];for(var c=0;c<h.length;c++)h[c].supportsSelection&&g.push(h[c]);return g}function z(g,h,c,p){g.async?g(h,p,c):(g=g(h,c))&&g.then?g.then(p):p(g)}v.showHint=function(g,h,c){if(!h)return g.showHint(c);c&&c.async&&(h.async=!0);h={hint:h};if(c)for(var p in c)h[p]=
|
||
c[p];return g.showHint(h)};v.defineExtension("showHint",function(g){var h=this.getCursor("start"),c=this.options.hintOptions,p={},m;for(m in J)p[m]=J[m];if(c)for(m in c)void 0!==c[m]&&(p[m]=c[m]);if(g)for(m in g)void 0!==g[m]&&(p[m]=g[m]);p.hint.resolve&&(p.hint=p.hint.resolve(this,h));g=p;h=this.listSelections();if(!(1<h.length)){if(this.somethingSelected()){if(!g.hint.supportsSelection)return;for(m=0;m<h.length;m++)if(h[m].head.line!=h[m].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();
|
||
h=this.state.completionActive=new Y(this,g);h.options.hint&&(v.signal(this,"startCompletion",this),h.update(!0))}});v.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});var A=window.requestAnimationFrame||function(g){return setTimeout(g,1E3/60)},B=window.cancelAnimationFrame||clearTimeout;Y.prototype={close:function(){this.active()&&(this.tick=this.cm.state.completionActive=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",
|
||
this.activityFunc),this.widget&&this.data&&v.signal(this.data,"close"),this.widget&&this.widget.close(),v.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(g,h){var c=g.list[h],p=this;this.cm.operation(function(){c.hint?c.hint(p.cm,g,c):p.cm.replaceRange("string"==typeof c?c:c.text,c.from||g.from,c.to||g.to,"complete");v.signal(g,"pick",c);p.cm.scrollIntoView()});this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&
|
||
(B(this.debounce),this.debounce=0);var g=this.startPos;this.data&&(g=this.data.from);var h=this.cm.getCursor(),c=this.cm.getLine(h.line);if(h.line!=this.startPos.line||c.length-h.ch!=this.startLen-this.startPos.ch||h.ch<g.ch||this.cm.somethingSelected()||!h.ch||this.options.closeCharacters.test(c.charAt(h.ch-1)))this.close();else{var p=this;this.debounce=A(function(){p.update()});this.widget&&this.widget.disable()}},update:function(g){if(null!=this.tick){var h=this,c=++this.tick;z(this.options.hint,
|
||
this.cm,this.options,function(p){h.tick==c&&h.finishUpdate(p,g)})}},finishUpdate:function(g,h){this.data&&v.signal(this.data,"update");h=this.widget&&this.widget.picked||h&&this.options.completeSingle;this.widget&&this.widget.close();(this.data=g)&&g.list.length&&(h&&1==g.list.length?this.pick(g,0):(this.widget=new b(this,g),v.signal(g,"shown")))}};b.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null;this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints);
|
||
this.completion.cm.removeKeyMap(this.keyMap);var g=this.completion.cm.getInputField();g.removeAttribute("aria-activedescendant");g.removeAttribute("aria-owns");g=this.completion.cm;this.completion.options.closeOnUnfocus&&(g.off("blur",this.onBlur),g.off("focus",this.onFocus));g.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var g=this;this.keyMap={Enter:function(){g.picked=!0}};this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,
|
||
this.selectedHint)},changeActive:function(g,h){g>=this.data.list.length?g=h?this.data.list.length-1:0:0>g&&(g=h?0:this.data.list.length-1);if(this.selectedHint!=g){if(h=this.hints.childNodes[this.selectedHint])h.className=h.className.replace(" CodeMirror-hint-active",""),h.removeAttribute("aria-selected");h=this.hints.childNodes[this.selectedHint=g];h.className+=" CodeMirror-hint-active";h.setAttribute("aria-selected","true");this.completion.cm.getInputField().setAttribute("aria-activedescendant",
|
||
h.id);this.scrollToActive();v.signal(this.data,"select",this.data.list[this.selectedHint],h)}},scrollToActive:function(){var g=this.getSelectedHintRange(),h=this.hints.childNodes[g.from];g=this.hints.childNodes[g.to];var c=this.hints.firstChild;h.offsetTop<this.hints.scrollTop?this.hints.scrollTop=h.offsetTop-c.offsetTop:g.offsetTop+g.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=g.offsetTop+g.offsetHeight-this.hints.clientHeight+c.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/
|
||
this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var g=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-g),to:Math.min(this.data.list.length-1,this.selectedHint+g)}}};v.registerHelper("hint","auto",{resolve:function(g,h){var c=g.getHelpers(h,"hint"),p;return c.length?(g=function(m,q,E){function w(r){if(r==t.length)return q(null);z(t[r],m,E,function(f){f&&0<f.list.length?q(f):w(r+1)})}var t=u(m,c);w(0)},g.async=!0,g.supportsSelection=!0,g):(p=
|
||
g.getHelper(g.getCursor(),"hintWords"))?function(m){return v.hint.fromList(m,{words:p})}:v.hint.anyword?function(m,q){return v.hint.anyword(m,q)}:function(){}}});v.registerHelper("hint","fromList",function(g,h){var c=g.getCursor(),p=g.getTokenAt(c);g=v.Pos(c.line,p.start);p.start<c.ch&&/\w/.test(p.string.charAt(c.ch-p.start-1))?p=p.string.substr(0,c.ch-p.start):(p="",g=c);for(var m=[],q=0;q<h.words.length;q++){var E=h.words[q];E.slice(0,p.length)==p&&m.push(E)}if(m.length)return{list:m,from:g,to:c}});
|
||
v.commands.autocomplete=v.showHint;var J={hint:v.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};v.defineOption("hintOptions",null)})};
|
||
shadow$provide[469]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("apl",function(){var Y={".":"innerProduct","\\":"scan","/":"reduce","⌿":"reduce1Axis","⍀":"scan1Axis","¨":"each","⍣":"power"},y={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],
|
||
"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"\x3c":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"\x3d":[null,"equals"],"\x3e":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique",
|
||
"union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format",
|
||
"formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},n=/[\.\/⌿⍀¨⍣]/,b=/⍬/,u=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,z=/←/,A=/[⍝#].*$/,B=function(J){var g=!1;return function(h){g=h;return h===J?"\\"===g:!0}};return{startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(J,g){if(J.eatSpace())return null;var h=J.next();if('"'===h||"'"===h)return J.eatWhile(B(h)),J.next(),g.prev=!0,"string";if(/[\[{\(]/.test(h))return g.prev=
|
||
!1,null;if(/[\]}\)]/.test(h))return g.prev=!0,null;if(b.test(h))return g.prev=!1,"niladic";if(/[¯\d]/.test(h))return g.func?(g.func=!1,g.prev=!1):g.prev=!0,J.eatWhile(/[\w\.]/),"number";if(n.test(h))return"operator apl-"+Y[h];if(z.test(h))return"apl-arrow";if(u.test(h))return J="apl-",null!=y[h]&&(J=g.prev?J+y[h][1]:J+y[h][0]),g.func=!0,g.prev=!1,"function "+J;if(A.test(h))return J.skipToEnd(),"comment";if("∘"===h&&"."===J.peek())return J.next(),"function jot-dot";J.eatWhile(/[\w\$_]/);g.prev=!0;
|
||
return"keyword"}}});v.defineMIME("text/apl","apl")})};
|
||
shadow$provide[470]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(y){var n=y.match(/^\s*\S/);y.skipToEnd();return n?"error":null}v.defineMode("asciiarmor",function(){return{token:function(y,n){var b;if("top"==n.state)return y.sol()&&(b=y.match(/^-----BEGIN (.*)?-----\s*$/))?(n.state="headers",n.type=b[1],"tag"):Y(y);if("headers"==n.state){if(y.sol()&&
|
||
y.match(/^\w+:/))return n.state="header","atom";if(y=Y(y))n.state="body";return y}if("header"==n.state)return y.skipToEnd(),n.state="headers","string";if("body"==n.state){if(y.sol()&&(b=y.match(/^-----END (.*)?-----\s*$/))){if(b[1]!=n.type)return"error";n.state="end";return"tag"}if(y.eatWhile(/[A-Za-z0-9+\/=]/))return null;y.next();return"error"}if("end"==n.state)return Y(y)},blankLine:function(y){"headers"==y.state&&(y.state="body")},startState:function(){return{state:"top",type:null}}}});v.defineMIME("application/pgp",
|
||
"asciiarmor");v.defineMIME("application/pgp-encrypted","asciiarmor");v.defineMIME("application/pgp-keys","asciiarmor");v.defineMIME("application/pgp-signature","asciiarmor")})};
|
||
shadow$provide[471]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(y){var n={};y=y.split(" ");for(var b=0;b<y.length;++b)n[y[b]]=!0;return n}v.defineMode("asn.1",function(y,n){function b(C,M){var aa=C.next();if('"'==aa||"'"==aa)return M.tokenize=u(aa),M.tokenize(C,M);if(/[\[\]\(\){}:=,;]/.test(aa))return F=aa,"punctuation";if("-"==aa&&C.eat("-"))return C.skipToEnd(),
|
||
"comment";if(/\d/.test(aa))return C.eatWhile(/[\w\.]/),"number";if(f.test(aa))return C.eatWhile(f),"operator";C.eatWhile(/[\w\-]/);C=C.current();return g.propertyIsEnumerable(C)?"keyword":h.propertyIsEnumerable(C)?"variable cmipVerbs":c.propertyIsEnumerable(C)?"atom compareTypes":p.propertyIsEnumerable(C)?"comment status":m.propertyIsEnumerable(C)?"variable-3 tags":q.propertyIsEnumerable(C)?"builtin storage":E.propertyIsEnumerable(C)?"string-2 modifier":w.propertyIsEnumerable(C)?"atom accessTypes":
|
||
"variable"}function u(C){return function(M,aa){for(var O=!1,U,P=!1;null!=(U=M.next());){if(U==C&&!O){if(U=M.peek())U=U.toLowerCase(),"b"!=U&&"h"!=U&&"o"!=U||M.next();P=!0;break}O=!O&&"\\"==U}if(P||!O&&!t)aa.tokenize=null;return"string"}}function z(C,M,aa,O,U){this.indented=C;this.column=M;this.type=aa;this.align=O;this.prev=U}function A(C,M,aa){var O=C.indented;C.context&&"statement"==C.context.type&&(O=C.context.indented);return C.context=new z(O,M,aa,null,C.context)}function B(C){var M=C.context.type;
|
||
if(")"==M||"]"==M||"}"==M)C.indented=C.context.indented;return C.context=C.context.prev}var J=y.indentUnit,g=n.keywords||{},h=n.cmipVerbs||{},c=n.compareTypes||{},p=n.status||{},m=n.tags||{},q=n.storage||{},E=n.modifier||{},w=n.accessTypes||{},t=n.multiLineStrings,r=!1!==n.indentStatements,f=/[\|\^]/,F;return{startState:function(C){return{tokenize:null,context:new z((C||0)-J,0,"top",!1),indented:0,startOfLine:!0}},token:function(C,M){var aa=M.context;C.sol()&&(null==aa.align&&(aa.align=!1),M.indented=
|
||
C.indentation(),M.startOfLine=!0);if(C.eatSpace())return null;F=null;var O=(M.tokenize||b)(C,M);if("comment"==O)return O;null==aa.align&&(aa.align=!0);if(";"!=F&&":"!=F&&","!=F||"statement"!=aa.type)if("{"==F)A(M,C.column(),"}");else if("["==F)A(M,C.column(),"]");else if("("==F)A(M,C.column(),")");else if("}"==F){for(;"statement"==aa.type;)aa=B(M);for("}"==aa.type&&(aa=B(M));"statement"==aa.type;)aa=B(M)}else F==aa.type?B(M):r&&(("}"==aa.type||"top"==aa.type)&&";"!=F||"statement"==aa.type&&"newstatement"==
|
||
F)&&A(M,C.column(),"statement");else B(M);M.startOfLine=!1;return O},electricChars:"{}",lineComment:"--",fold:"brace"}});v.defineMIME("text/x-ttcn-asn",{name:"asn.1",keywords:Y("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),
|
||
cmipVerbs:Y("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),compareTypes:Y("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),status:Y("current deprecated mandatory obsolete"),tags:Y("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),storage:Y("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminString TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),
|
||
modifier:Y("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),accessTypes:Y("not-accessible accessible-for-notify read-only read-create read-write"),multiLineStrings:!0})})};
|
||
shadow$provide[472]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("asterisk",function(){function Y(u,z){var A=u.next();if(z.blockComment)return"-"==A&&u.match("-;",!0)?z.blockComment=!1:u.skipTo("--;")?(u.next(),u.next(),u.next(),z.blockComment=!1):u.skipToEnd(),"comment";if(";"==A){if(u.match("--",!0)&&!u.match("-",!1))return z.blockComment=!0,"comment";
|
||
u.skipToEnd();return"comment"}if("["==A)return u.skipTo("]"),u.eat("]"),"header";if('"'==A)return u.skipTo('"'),"string";if("'"==A)return u.skipTo("'"),"string-2";if("#"==A){u.eatWhile(/\w/);var B=u.current();if(-1!==n.indexOf(B))return u.skipToEnd(),"strong"}if("$"==A&&"{"==u.peek())return u.skipTo("}"),u.eat("}"),"variable-3";u.eatWhile(/\w/);B=u.current();if(-1!==y.indexOf(B)){z.extenStart=!0;switch(B){case "same":z.extenSame=!0;break;case "include":case "switch":case "ignorepat":z.extenInclude=
|
||
!0}return"atom"}}var y=["exten","same","include","ignorepat","switch"],n=["#include","#exec"],b="addqueuemember adsiprog aelsub agentlogin agentmonitoroutgoing agi alarmreceiver amd answer authenticate background backgrounddetect bridge busy callcompletioncancel callcompletionrequest celgenuserevent changemonitor chanisavail channelredirect chanspy clearhash confbridge congestion continuewhile controlplayback dahdiacceptr2call dahdibarge dahdiras dahdiscan dahdisendcallreroutingfacility dahdisendkeypadfacility datetime dbdel dbdeltree deadagi dial dictate directory disa dumpchan eagi echo endwhile exec execif execiftime exitwhile extenspy externalivr festival flash followme forkcdr getcpeid gosub gosubif goto gotoif gotoiftime hangup iax2provision ices importvar incomplete ivrdemo jabberjoin jabberleave jabbersend jabbersendgroup jabberstatus jack log macro macroexclusive macroexit macroif mailboxexists meetme meetmeadmin meetmechanneladmin meetmecount milliwatt minivmaccmess minivmdelete minivmgreet minivmmwi minivmnotify minivmrecord mixmonitor monitor morsecode mp3player mset musiconhold nbscat nocdr noop odbc odbc odbcfinish originate ospauth ospfinish osplookup ospnext page park parkandannounce parkedcall pausemonitor pausequeuemember pickup pickupchan playback playtones privacymanager proceeding progress queue queuelog raiseexception read readexten readfile receivefax receivefax receivefax record removequeuemember resetcdr retrydial return ringing sayalpha saycountedadj saycountednoun saycountpl saydigits saynumber sayphonetic sayunixtime senddtmf sendfax sendfax sendfax sendimage sendtext sendurl set setamaflags setcallerpres setmusiconhold sipaddheader sipdtmfmode sipremoveheader skel slastation slatrunk sms softhangup speechactivategrammar speechbackground speechcreate speechdeactivategrammar speechdestroy speechloadgrammar speechprocessingsound speechstart speechunloadgrammar stackpop startmusiconhold stopmixmonitor stopmonitor stopmusiconhold stopplaytones system testclient testserver transfer tryexec trysystem unpausemonitor unpausequeuemember userevent verbose vmauthenticate vmsayname voicemail voicemailmain wait waitexten waitfornoise waitforring waitforsilence waitmusiconhold waituntil while zapateller".split(" ");
|
||
return{startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(u,z){if(u.eatSpace())return null;if(z.extenStart){u.eatWhile(/[^\s]/);var A=u.current();if(/^=>?$/.test(A))return z.extenExten=!0,z.extenStart=!1,"strong";z.extenStart=!1;u.skipToEnd();return"error"}if(z.extenExten)return z.extenExten=!1,z.extenPriority=!0,u.eatWhile(/[^,]/),z.extenInclude&&(u.skipToEnd(),z.extenPriority=!1,z.extenInclude=
|
||
!1),z.extenSame&&(z.extenPriority=!1,z.extenSame=!1,z.extenApplication=!0),"tag";if(z.extenPriority){z.extenPriority=!1;z.extenApplication=!0;u.next();if(z.extenSame)return null;u.eatWhile(/[^,]/);return"number"}if(z.extenApplication){u.eatWhile(/,/);A=u.current();if(","===A)return null;u.eatWhile(/\w/);A=u.current().toLowerCase();z.extenApplication=!1;if(-1!==b.indexOf(A))return"def strong"}else return Y(u,z);return null},blockCommentStart:";--",blockCommentEnd:"--;",lineComment:";"}});v.defineMIME("text/x-asterisk",
|
||
"asterisk")})};
|
||
shadow$provide[473]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){var Y="\x3e\x3c+-.,[]".split("");v.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(y,n){if(y.eatSpace())return null;y.sol()&&(n.commentLine=!1);var b=y.next().toString();if(-1!==Y.indexOf(b)){if(!0===n.commentLine)return y.eol()&&
|
||
(n.commentLine=!1),"comment";if("]"===b||"["===b)return"["===b?n.left++:n.right++,"bracket";if("+"===b||"-"===b)return"keyword";if("\x3c"===b||"\x3e"===b)return"atom";if("."===b||","===b)return"def"}else return n.commentLine=!0,y.eol()&&(n.commentLine=!1),"comment";y.eol()&&(n.commentLine=!1)}}});v.defineMIME("text/x-brainfuck","brainfuck")})};
|
||
shadow$provide[474]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(U,P,V,T,K,D){this.indented=U;this.column=P;this.type=V;this.info=T;this.align=K;this.prev=D}function y(U,P,V,T){var K=U.indented;U.context&&"statement"==U.context.type&&"statement"!=V&&(K=U.context.indented);return U.context=new Y(K,P,V,T,null,U.context)}function n(U){var P=U.context.type;
|
||
if(")"==P||"]"==P||"}"==P)U.indented=U.context.indented;return U.context=U.context.prev}function b(U,P,V){if("variable"==P.prevToken||"type"==P.prevToken||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(U.string.slice(0,V))||P.typeAtEndOfLine&&U.column()==U.indentation())return!0}function u(U){for(;;){if(!U||"top"==U.type)return!0;if("}"==U.type&&"namespace"!=U.prev.info)return!1;U=U.prev}}function z(U){var P={};U=U.split(" ");for(var V=0;V<U.length;++V)P[U[V]]=!0;return P}function A(U,P){return"function"===typeof U?
|
||
U(P):U.propertyIsEnumerable(P)}function B(U){return A(M,U)||/.+_t$/.test(U)}function J(U){return B(U)||A(aa,U)}function g(U,P){if(!P.startOfLine)return!1;for(var V,T=null;V=U.peek();){if("\\"==V&&U.match(/^.$/)){T=g;break}else if("/"==V&&U.match(/^\/[\/\*]/,!1))break;U.next()}P.tokenize=T;return"meta"}function h(U,P){return"type"==P.prevToken?"type":!1}function c(U){return!U||2>U.length||"_"!=U[0]?!1:"_"==U[1]||U[1]!==U[1].toLowerCase()}function p(U){U.eatWhile(/[\w\.']/);return"number"}function m(U,
|
||
P){U.backUp(1);if(U.match(/^(?:R|u8R|uR|UR|LR)/)){var V=U.match(/^"([^\s\\()]{0,16})\(/);if(!V)return!1;P.cpp11RawStringDelim=V[1];P.tokenize=w;return w(U,P)}if(U.match(/^(?:u8|u|U|L)/))return U.match(/^["']/,!1)?"string":!1;U.next();return!1}function q(U){return(U=/(\w+)::~?(\w+)$/.exec(U))&&U[1]==U[2]}function E(U,P){for(var V;null!=(V=U.next());)if('"'==V&&!U.eat('"')){P.tokenize=null;break}return"string"}function w(U,P){var V=P.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$\x26");U.match(new RegExp(".*?\\)"+
|
||
V+'"'))?P.tokenize=null:U.skipToEnd();return"string"}function t(U,P){function V(D){if(D)for(var L in D)D.hasOwnProperty(L)&&T.push(L)}"string"==typeof U&&(U=[U]);var T=[];V(P.keywords);V(P.types);V(P.builtin);V(P.atoms);T.length&&(P.helperType=U[0],v.registerHelper("hintWords",U[0],T));for(var K=0;K<U.length;++K)v.defineMIME(U[K],P)}function r(U,P){for(var V=!1;!U.eol();){if(!V&&U.match('"""')){P.tokenize=null;break}V="\\"==U.next()&&!V}return"string"}function f(U){return function(P,V){for(var T;T=
|
||
P.next();)if("*"==T&&P.eat("/"))if(1==U){V.tokenize=null;break}else return V.tokenize=f(U-1),V.tokenize(P,V);else if("/"==T&&P.eat("*"))return V.tokenize=f(U+1),V.tokenize(P,V);return"comment"}}function F(U){return function(P,V){for(var T=!1,K,D=!1;!P.eol();){if(!U&&!T&&P.match('"')){D=!0;break}if(U&&P.match('"""')){D=!0;break}K=P.next();!T&&"$"==K&&P.match("{")&&P.skipTo("}");T=!T&&"\\"==K&&!U}if(D||!U)V.tokenize=null;return"string"}}function C(U){return function(P,V){for(var T=!1,K,D=!1;!P.eol();){if(!T&&
|
||
P.match('"')&&("single"==U||P.match('""'))){D=!0;break}if(!T&&P.match("``")){O=C(U);D=!0;break}K=P.next();T="single"==U&&!T&&"\\"==K}D&&(V.tokenize=null);return"string"}}v.defineMode("clike",function(U,P){function V(ma,ja){var oa=ma.next();if(W[oa]){var ia=W[oa](ma,ja);if(!1!==ia)return ia}if('"'==oa||"'"==oa)return ja.tokenize=T(oa),ja.tokenize(ma,ja);if(Ba.test(oa)){ma.backUp(1);if(ma.match(Ka))return"number";ma.next()}if(Fa.test(oa))return Ua=oa,null;if("/"==oa){if(ma.eat("*"))return ja.tokenize=
|
||
K,K(ma,ja);if(ma.eat("/"))return ma.skipToEnd(),"comment"}if(Oa.test(oa)){for(;!ma.match(/^\/[\/*]/,!1)&&ma.eat(Oa););return"operator"}ma.eatWhile(Va);if(va)for(;ma.match(va);)ma.eatWhile(Va);ma=ma.current();return A(la,ma)?(A(X,ma)&&(Ua="newstatement"),A(S,ma)&&(La=!0),"keyword"):A(R,ma)?"type":A(Z,ma)||Ya&&Ya(ma)?(A(X,ma)&&(Ua="newstatement"),"builtin"):A(ha,ma)?"atom":"variable"}function T(ma){return function(ja,oa){for(var ia=!1,sa,Ea=!1;null!=(sa=ja.next());){if(sa==ma&&!ia){Ea=!0;break}ia=!ia&&
|
||
"\\"==sa}if(Ea||!ia&&!ra)oa.tokenize=null;return"string"}}function K(ma,ja){for(var oa=!1,ia;ia=ma.next();){if("/"==ia&&oa){ja.tokenize=null;break}oa="*"==ia}return"comment"}function D(ma,ja){P.typeFirstDefinitions&&ma.eol()&&u(ja.context)&&(ja.typeAtEndOfLine=b(ma,ja,ma.pos))}var L=U.indentUnit,Q=P.statementIndentUnit||L,N=P.dontAlignCalls,la=P.keywords||{},R=P.types||{},Z=P.builtin||{},X=P.blockKeywords||{},S=P.defKeywords||{},ha=P.atoms||{},W=P.hooks||{},ra=P.multiLineStrings,wa=!1!==P.indentStatements,
|
||
va=P.namespaceSeparator,Fa=P.isPunctuationChar||/[\[\]{}\(\),;:\.]/,Ba=P.numberStart||/[\d\.]/,Ka=P.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Oa=P.isOperatorChar||/[+\-*&%=<>!?|\/]/,Va=P.isIdentifierChar||/[\w\$_\xa1-\uffff]/,Ya=P.isReservedIdentifier||!1,Ua,La;return{startState:function(ma){return{tokenize:null,context:new Y((ma||0)-L,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(ma,ja){var oa=ja.context;ma.sol()&&(null==oa.align&&
|
||
(oa.align=!1),ja.indented=ma.indentation(),ja.startOfLine=!0);if(ma.eatSpace())return D(ma,ja),null;Ua=La=null;var ia=(ja.tokenize||V)(ma,ja);if("comment"==ia||"meta"==ia)return ia;null==oa.align&&(oa.align=!0);if(";"==Ua||":"==Ua||","==Ua&&ma.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==ja.context.type;)n(ja);else if("{"==Ua)y(ja,ma.column(),"}");else if("["==Ua)y(ja,ma.column(),"]");else if("("==Ua)y(ja,ma.column(),")");else if("}"==Ua){for(;"statement"==oa.type;)oa=n(ja);for("}"==oa.type&&(oa=
|
||
n(ja));"statement"==oa.type;)oa=n(ja)}else Ua==oa.type?n(ja):wa&&(("}"==oa.type||"top"==oa.type)&&";"!=Ua||"statement"==oa.type&&"newstatement"==Ua)&&y(ja,ma.column(),"statement",ma.current());"variable"==ia&&("def"==ja.prevToken||P.typeFirstDefinitions&&b(ma,ja,ma.start)&&u(ja.context)&&ma.match(/^\s*\(/,!1))&&(ia="def");W.token&&(oa=W.token(ma,ja,ia),void 0!==oa&&(ia=oa));"def"==ia&&!1===P.styleDefs&&(ia="variable");ja.startOfLine=!1;ja.prevToken=La?"def":ia||Ua;D(ma,ja);return ia},indent:function(ma,
|
||
ja){if(ma.tokenize!=V&&null!=ma.tokenize||ma.typeAtEndOfLine)return v.Pass;var oa=ma.context,ia=ja&&ja.charAt(0),sa=ia==oa.type;"statement"==oa.type&&"}"==ia&&(oa=oa.prev);if(P.dontIndentStatements)for(;"statement"==oa.type&&P.dontIndentStatements.test(oa.info);)oa=oa.prev;if(W.indent&&(ma=W.indent(ma,oa,ja,L),"number"==typeof ma))return ma;ma=oa.prev&&"switch"==oa.prev.info;if(P.allmanIndentation&&/[{(]/.test(ia)){for(;"top"!=oa.type&&"}"!=oa.type;)oa=oa.prev;return oa.indented}return"statement"==
|
||
oa.type?oa.indented+("{"==ia?0:Q):!oa.align||N&&")"==oa.type?")"!=oa.type||sa?oa.indented+(sa?0:L)+(sa||!ma||/^(?:case|default)\b/.test(ja)?0:L):oa.indented+Q:oa.column+(sa?0:1)},electricInput:!1!==P.indentSwitch?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var M=z("int long char short double float unsigned signed void bool"),aa=z("SEL instancetype id Class Protocol BOOL");t(["text/x-csrc",
|
||
"text/x-c","text/x-chdr"],{name:"clike",keywords:z("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran"),types:B,blockKeywords:z("case do else for if switch while struct enum union"),defKeywords:z("struct enum union"),typeFirstDefinitions:!0,atoms:z("NULL true false"),isReservedIdentifier:c,hooks:{"#":g,"*":h},modeProps:{fold:["brace","include"]}});t(["text/x-c++src","text/x-c++hdr"],
|
||
{name:"clike",keywords:z("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq"),
|
||
types:B,blockKeywords:z("case do else for if switch while struct enum union class try catch"),defKeywords:z("struct enum union class namespace"),typeFirstDefinitions:!0,atoms:z("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:c,hooks:{"#":g,"*":h,u:m,U:m,L:m,R:m,0:p,1:p,2:p,3:p,4:p,5:p,6:p,7:p,8:p,9:p,token:function(U,P,V){if("variable"==V&&"("==U.peek()&&(";"==P.prevToken||null==P.prevToken||"}"==P.prevToken)&&q(U.current()))return"def"}},
|
||
namespaceSeparator:"::",modeProps:{fold:["brace","include"]}});t("text/x-java",{name:"clike",keywords:z("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:z("var byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),
|
||
blockKeywords:z("catch class do else finally for if switch try while"),defKeywords:z("class interface enum @interface"),typeFirstDefinitions:!0,atoms:z("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(U){if(U.match("interface",!1))return!1;U.eatWhile(/[\w\$_]/);return"meta"},'"':function(U,P){if(!U.match(/""$/))return!1;P.tokenize=r;return P.tokenize(U,P)}},modeProps:{fold:["brace","import"]}});t("text/x-csharp",{name:"clike",
|
||
keywords:z("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in init interface internal is lock namespace new operator out override params private protected public readonly record ref required return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),
|
||
types:z("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:z("catch class do else finally for foreach if struct switch try while"),defKeywords:z("class interface namespace record struct var"),typeFirstDefinitions:!0,atoms:z("true false null"),hooks:{"@":function(U,P){if(U.eat('"'))return P.tokenize=
|
||
E,E(U,P);U.eatWhile(/[\w\$_]/);return"meta"}}});t("text/x-scala",{name:"clike",keywords:z("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 super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:z("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),
|
||
multiLineStrings:!0,blockKeywords:z("catch class enum do else finally for forSome if match switch try while"),defKeywords:z("class enum def object package trait type val var"),atoms:z("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(U){U.eatWhile(/[\w\$_]/);return"meta"},'"':function(U,P){if(!U.match('""'))return!1;P.tokenize=r;return P.tokenize(U,P)},"'":function(U){if(U.match(/^(\\[^'\s]+|[^\\'])'/))return"string-2";U.eatWhile(/[\w\$_\xa1-\uffff]/);
|
||
return"atom"},"\x3d":function(U,P){var V=P.context;return"}"==V.type&&V.align&&U.eat("\x3e")?(P.context=new Y(V.indented,V.column,V.type,V.info,null,V.prev),"operator"):!1},"/":function(U,P){if(!U.eat("*"))return!1;P.tokenize=f(1);return P.tokenize(U,P)}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});t("text/x-kotlin",{name:"clike",keywords:z("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"),
|
||
types:z("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,
|
||
indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:z("catch class do else finally for if where try while enum"),defKeywords:z("class val var object interface fun"),atoms:z("true false null this"),hooks:{"@":function(U){U.eatWhile(/[\w\$_]/);return"meta"},"*":function(U,P){return"."==P.prevToken?"variable":"operator"},'"':function(U,P){P.tokenize=F(U.match('""'));return P.tokenize(U,P)},"/":function(U,P){if(!U.eat("*"))return!1;
|
||
P.tokenize=f(1);return P.tokenize(U,P)},indent:function(U,P,V,T){var K=V&&V.charAt(0);if(("}"==U.prevToken||")"==U.prevToken)&&""==V)return U.indented;if("operator"==U.prevToken&&"}"!=V&&"}"!=U.context.type||"variable"==U.prevToken&&"."==K||("}"==U.prevToken||")"==U.prevToken)&&"."==K)return 2*T+P.indented;if(P.align&&"}"==P.type)return P.indented+(U.context.type==(V||"").charAt(0)?0:T)}},modeProps:{closeBrackets:{triples:'"'}}});t(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:z("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),
|
||
types:z("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:z("for while do if else struct"),builtin:z("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),
|
||
atoms:z("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),
|
||
indentSwitch:!1,hooks:{"#":g},modeProps:{fold:["brace","include"]}});t("text/x-nesc",{name:"clike",keywords:z("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:B,blockKeywords:z("case do else for if switch while struct enum union"),
|
||
atoms:z("null true false"),hooks:{"#":g},modeProps:{fold:["brace","include"]}});t("text/x-objectivec",{name:"clike",keywords:z("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"),
|
||
types:J,builtin:z("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:z("case do else for if switch while struct enum union @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:z("struct enum union @interface @implementation @protocol @class"),
|
||
dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:z("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:c,hooks:{"#":g,"*":h},modeProps:{fold:["brace","include"]}});t("text/x-objectivec++",{name:"clike",keywords:z("auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq"),
|
||
types:J,builtin:z("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:z("case do else for if switch while struct enum union @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:z("struct enum union @interface @implementation @protocol @class class namespace"),
|
||
dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:z("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:c,hooks:{"#":g,"*":h,u:m,U:m,L:m,R:m,0:p,1:p,2:p,3:p,4:p,5:p,6:p,7:p,8:p,9:p,token:function(U,P,V){if("variable"==V&&"("==U.peek()&&(";"==P.prevToken||null==P.prevToken||"}"==P.prevToken)&&q(U.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}});t("text/x-squirrel",{name:"clike",keywords:z("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),
|
||
types:B,blockKeywords:z("case catch class else for foreach if switch try while"),defKeywords:z("function local class"),typeFirstDefinitions:!0,atoms:z("true false null"),hooks:{"#":g},modeProps:{fold:["brace","include"]}});var O=null;t("text/x-ceylon",{name:"clike",keywords:z("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),
|
||
types:function(U){U=U.charAt(0);return U===U.toUpperCase()&&U!==U.toLowerCase()},blockKeywords:z("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:z("class dynamic function interface module object package value"),builtin:z("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;:\.`]/,
|
||
isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:z("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(U){U.eatWhile(/[\w\$_]/);return"meta"},'"':function(U,P){P.tokenize=C(U.match('""')?"triple":"single");return P.tokenize(U,P)},"`":function(U,P){if(!O||!U.match("`"))return!1;P.tokenize=
|
||
O;O=null;return P.tokenize(U,P)},"'":function(U){U.eatWhile(/[\w\$_\xa1-\uffff]/);return"atom"},token:function(U,P,V){if(("variable"==V||"type"==V)&&"."==P.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})};
|
||
shadow$provide[475]=function(ya,ba,Ta,I){(function(v){"object"===typeof I&&"object"===typeof Ta?v(ba(464)):"function"===typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("clojure",function(Y){function y(t,r){if(t.eatSpace()||t.eat(","))return["space",null];if(t.match(q))return[null,"number"];if(t.match(E))return[null,"string-2"];if(t.eat(/^"/))return(r.tokenize=n)(t,r);if(t.eat(/^[(\[{]/))return["open","bracket"];if(t.eat(/^[)\]}]/))return["close",
|
||
"bracket"];if(t.eat(/^;/))return t.skipToEnd(),["space","comment"];if(t.eat(/^[#'@^`~]/))return[null,"meta"];var f=t.match(w);f=f&&f[0];return f?"comment"===f&&"("===r.lastToken?(r.tokenize=b)(t,r):z(f,g)||":"===f.charAt(0)?["symbol","atom"]:z(f,h)||z(f,c)?["symbol","keyword"]:"("===r.lastToken?["symbol","builtin"]:["symbol","variable"]:(t.next(),t.eatWhile(function(F){return!z(F,m)}),[null,"error"])}function n(t,r){for(var f=!1,F;F=t.next();){if('"'===F&&!f){r.tokenize=y;break}f=!f&&"\\"===F}return[null,
|
||
"string"]}function b(t,r){for(var f=1,F;F=t.next();)if(")"===F&&f--,"("===F&&f++,0===f){t.backUp(1);r.tokenize=y;break}return["space","comment"]}function u(t){for(var r={},f=0;f<t.length;++f)r[t[f]]=!0;return r}function z(t,r){if(r instanceof RegExp)return r.test(t);if(r instanceof Object)return r.propertyIsEnumerable(t)}var A=["false","nil","true"],B=". catch def do if monitor-enter monitor-exit new quote recur set! throw try var".split(" "),J="* *' *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *compiler-options* *data-readers* *default-data-reader-fn* *e *err* *file* *flush-on-newline* *fn-loader* *in* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-namespace-maps* *print-readably* *read-eval* *reader-resolver* *source-path* *suppress-read* *unchecked-math* *use-context-classloader* *verbose-defrecords* *warn-on-reflection* + +' - -' -\x3e -\x3e\x3e -\x3eArrayChunk -\x3eEduction -\x3eVec -\x3eVecNode -\x3eVecSeq -cache-protocol-fn -reset-methods .. / \x3c \x3c\x3d \x3d \x3d\x3d \x3e \x3e\x3d EMPTY-NODE Inst StackTraceElement-\x3evec Throwable-\x3emap accessor aclone add-classpath add-watch agent agent-error agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and any? apply areduce array-map as-\x3e aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assoc assoc! assoc-in associative? atom await await-for await1 bases bean bigdec bigint biginteger binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array boolean? booleans bound-fn bound-fn* bound? bounded-count butlast byte byte-array bytes bytes? case cast cat char char-array char-escape-string char-name-string char? chars chunk chunk-append chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? class class? clear-agent-errors clojure-version coll? comment commute comp comparator compare compare-and-set! compile complement completing concat cond cond-\x3e cond-\x3e\x3e condp conj conj! cons constantly construct-proxy contains? count counted? create-ns create-struct cycle dec dec' decimal? declare dedupe default-data-readers definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype delay delay? deliver denominator deref derive descendants destructure disj disj! dissoc dissoc! distinct distinct? doall dorun doseq dosync dotimes doto double double-array double? doubles drop drop-last drop-while eduction empty empty? ensure ensure-reduced enumeration-seq error-handler error-mode eval even? every-pred every? ex-data ex-info extend extend-protocol extend-type extenders extends? false? ffirst file-seq filter filterv find find-keyword find-ns find-protocol-impl find-protocol-method find-var first flatten float float-array float? floats flush fn fn? fnext fnil for force format frequencies future future-call future-cancel future-cancelled? future-done? future? gen-class gen-interface gensym get get-in get-method get-proxy-class get-thread-bindings get-validator group-by halt-when hash hash-combine hash-map hash-ordered-coll hash-set hash-unordered-coll ident? identical? identity if-let if-not if-some ifn? import in-ns inc inc' indexed? init-proxy inst-ms inst-ms* inst? instance? int int-array int? integer? interleave intern interpose into into-array ints io! isa? iterate iterator-seq juxt keep keep-indexed key keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list list* list? load load-file load-reader load-string loaded-libs locking long long-array longs loop macroexpand macroexpand-1 make-array make-hierarchy map map-entry? map-indexed map? mapcat mapv max max-key memfn memoize merge merge-with meta method-sig methods min min-key mix-collection-hash mod munge name namespace namespace-munge nat-int? neg-int? neg? newline next nfirst nil? nnext not not-any? not-empty not-every? not\x3d ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext nthrest num number? numerator object-array odd? or parents partial partition partition-all partition-by pcalls peek persistent! pmap pop pop! pop-thread-bindings pos-int? pos? pr pr-str prefer-method prefers primitives-classnames print print-ctor print-dup print-method print-simple print-str printf println println-str prn prn-str promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super push-thread-bindings pvalues qualified-ident? qualified-keyword? qualified-symbol? quot rand rand-int rand-nth random-sample range ratio? rational? rationalize re-find re-groups re-matcher re-matches re-pattern re-seq read read-line read-string reader-conditional reader-conditional? realized? record? reduce reduce-kv reduced reduced? reductions ref ref-history-count ref-max-history ref-min-history ref-set refer refer-clojure reify release-pending-sends rem remove remove-all-methods remove-method remove-ns remove-watch repeat repeatedly replace replicate require reset! reset-meta! reset-vals! resolve rest restart-agent resultset-seq reverse reversible? rseq rsubseq run! satisfies? second select-keys send send-off send-via seq seq? seqable? seque sequence sequential? set set-agent-send-executor! set-agent-send-off-executor! set-error-handler! set-error-mode! set-validator! set? short short-array shorts shuffle shutdown-agents simple-ident? simple-keyword? simple-symbol? slurp some some-\x3e some-\x3e\x3e some-fn some? sort sort-by sorted-map sorted-map-by sorted-set sorted-set-by sorted? special-symbol? spit split-at split-with str string? struct struct-map subs subseq subvec supers swap! swap-vals! symbol symbol? sync tagged-literal tagged-literal? take take-last take-nth take-while test the-ns thread-bound? time to-array to-array-2d trampoline transduce transient tree-seq true? type unchecked-add unchecked-add-int unchecked-byte unchecked-char unchecked-dec unchecked-dec-int unchecked-divide-int unchecked-double unchecked-float unchecked-inc unchecked-inc-int unchecked-int unchecked-long unchecked-multiply unchecked-multiply-int unchecked-negate unchecked-negate-int unchecked-remainder-int unchecked-short unchecked-subtract unchecked-subtract-int underive unquote unquote-splicing unreduced unsigned-bit-shift-right update update-in update-proxy uri? use uuid? val vals var-get var-set var? vary-meta vec vector vector-of vector? volatile! volatile? vreset! vswap! when when-first when-let when-not when-some while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn xml-seq zero? zipmap".split(" ");
|
||
v.registerHelper("hintWords","clojure",[].concat(A,B,J));var g=u(A),h=u(B),c=u(J),p=u("-\x3e -\x3e\x3e as-\x3e binding bound-fn case catch comment cond cond-\x3e cond-\x3e\x3e condp def definterface defmethod defn defmacro defprotocol defrecord defstruct deftype do doseq dotimes doto extend extend-protocol extend-type fn for future if if-let if-not if-some let letfn locking loop ns proxy reify struct-map some-\x3e some-\x3e\x3e try when when-first when-let when-not when-some while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn".split(" ")),
|
||
m=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,q=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,E=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,w=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;
|
||
return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastToken:null,tokenize:y}},token:function(t,r){t.sol()&&"number"!==typeof r.ctx.indentTo&&(r.ctx.indentTo=r.ctx.start+1);var f=r.tokenize(t,r),F=f[0];f=f[1];var C=t.current();"space"!==F&&("("===r.lastToken&&null===r.ctx.indentTo?"symbol"===F&&z(C,p)?r.ctx.indentTo=r.ctx.start+Y.indentUnit:r.ctx.indentTo="next":"next"===r.ctx.indentTo&&(r.ctx.indentTo=t.column()),r.lastToken=C);"open"===F?r.ctx={prev:r.ctx,start:t.column(),indentTo:null}:
|
||
"close"===F&&(r.ctx=r.ctx.prev||r.ctx);return f},indent:function(t){var r=t.ctx.indentTo;return"number"===typeof r?r:t.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}});v.defineMIME("text/x-clojure","clojure");v.defineMIME("text/x-clojurescript","clojure");v.defineMIME("application/edn","clojure")})};
|
||
shadow$provide[476]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("cmake",function(){function Y(b,u){for(var z,A,B=!1;!b.eol()&&(z=b.next())!=u.pending;){if("$"===z&&"\\"!=A&&'"'==u.pending){B=!0;break}A=z}B&&b.backUp(1);u.continueString=z==u.pending?!1:!0;return"string"}function y(b,u){var z=b.next();if("$"===z)return b.match(n)?"variable-2":"variable";
|
||
if(u.continueString)return b.backUp(1),Y(b,u);if(b.match(/(\s+)?\w+\(/)||b.match(/(\s+)?\w+ \(/))return b.backUp(1),"def";if("#"==z)return b.skipToEnd(),"comment";if("'"==z||'"'==z)return u.pending=z,Y(b,u);if("("==z||")"==z)return"bracket";if(z.match(/[0-9]/))return"number";b.eatWhile(/[\w-]/);return null}var n=/({)?[a-zA-Z0-9_]+(})?/;return{startState:function(){return{inDefinition:!1,inInclude:!1,continueString:!1,pending:!1}},token:function(b,u){return b.eatSpace()?null:y(b,u)}}});v.defineMIME("text/x-cmake",
|
||
"cmake")})};
|
||
shadow$provide[477]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("cobol",function(){function Y(h){var c={};h=h.split(" ");for(var p=0;p<h.length;++p)c[h[p]]=!0;return c}var y=Y("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES "),n=Y("ACCEPT ACCESS ACQUIRE ADD ADDRESS ADVANCING AFTER ALIAS ALL ALPHABET ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED ALSO ALTER ALTERNATE AND ANY ARE AREA AREAS ARITHMETIC ASCENDING ASSIGN AT ATTRIBUTE AUTHOR AUTO AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP BEFORE BELL BINARY BIT BITS BLANK BLINK BLOCK BOOLEAN BOTTOM BY CALL CANCEL CD CF CH CHARACTER CHARACTERS CLASS CLOCK-UNITS CLOSE COBOL CODE CODE-SET COL COLLATING COLUMN COMMA COMMIT COMMITMENT COMMON COMMUNICATION COMP COMP-0 COMP-1 COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS CONVERTING COPY CORR CORRESPONDING COUNT CRT CRT-UNDER CURRENCY CURRENT CURSOR DATA DATE DATE-COMPILED DATE-WRITTEN DAY DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION DOWN DROP DUPLICATE DUPLICATES DYNAMIC EBCDIC EGI EJECT ELSE EMI EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY END-DIVIDE END-EVALUATE END-IF END-INVOKE 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 END-XML ENTER ENTRY ENVIRONMENT EOP EQUAL EQUALS ERASE ERROR ESI EVALUATE EVERY EXCEEDS EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL FILE-STREAM FILES FILLER FINAL FIND FINISH FIRST FOOTING FOR FOREGROUND-COLOR FOREGROUND-COLOUR FORMAT FREE FROM FULL FUNCTION GENERATE GET GIVING GLOBAL GO GOBACK GREATER GROUP HEADING HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL ID IDENTIFICATION IF IN INDEX INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED INDIC INDICATE INDICATOR INDICATORS INITIAL INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT INSTALLATION INTO INVALID INVOKE IS JUST JUSTIFIED KANJI KEEP KEY LABEL LAST LD LEADING LEFT LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE LOCALE LOCALLY LOCK MEMBER MEMORY MERGE MESSAGE METACLASS MODE MODIFIED MODIFY MODULES MOVE MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE NEXT NO NO-ECHO NONE NOT NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS OF OFF OMITTED ON ONLY OPEN OPTIONAL OR ORDER ORGANIZATION OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL PADDING PAGE PAGE-COUNTER PARSE PERFORM PF PH PIC PICTURE PLUS POINTER POSITION POSITIVE PREFIX PRESENT PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID PROMPT PROTECTED PURGE QUEUE QUOTE QUOTES RANDOM RD READ READY REALM RECEIVE RECONNECT RECORD RECORD-NAME RECORDS RECURSIVE REDEFINES REEL REFERENCE REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE REMAINDER REMOVAL RENAMES REPEATED REPLACE REPLACING REPORT REPORTING REPORTS REPOSITORY REQUIRED RERUN RESERVE RESET RETAINING RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO REVERSED REWIND REWRITE RF RH RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED RUN SAME SCREEN SD SEARCH SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT SELECT SEND SENTENCE SEPARATE SEQUENCE SEQUENTIAL SET SHARED SIGN SIZE SKIP1 SKIP2 SKIP3 SORT SORT-MERGE SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 START STARTING STATUS STOP STORE STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT TABLE TALLYING TAPE TENANT TERMINAL TERMINATE TEST TEXT THAN THEN THROUGH THRU TIME TIMES TITLE TO TOP TRAILING TRAILING-SIGN TRANSACTION TYPE TYPEDEF UNDERLINE UNEQUAL UNIT UNSTRING UNTIL UP UPDATE UPON USAGE USAGE-MODE USE USING VALID VALIDATE VALUE VALUES VARYING VLR WAIT WHEN WHEN-COMPILED WITH WITHIN WORDS WORKING-STORAGE WRITE XML XML-CODE XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL "),
|
||
b=Y("- * ** / + \x3c \x3c\x3d \x3d \x3e \x3e\x3d "),u=/\d/,z=/[\d:]/,A=/[0-9a-f]/i,B=/[+-]/,J=/e/i,g=/[\w*+\-]/;return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(h,c){null==c.indentStack&&h.sol()&&(c.indentation=6);if(h.eatSpace())return null;switch(c.mode){case "string":for(var p;null!=(p=h.next());)if(('"'==p||"'"==p)&&!h.match(/['"]/,!1)){c.mode=!1;break}h="string";break;default:var m=h.next();p=h.column();if(0<=p&&5>=p)h="def";else if(72<=p&&79>=p)h.skipToEnd(),
|
||
h="header";else if("*"==m&&6==p)h.skipToEnd(),h="comment";else if('"'==m||"'"==m)h=c.mode="string";else if("'"!=m||z.test(h.peek()))if("."==m)h="link";else if(c=m,"0"===c&&h.eat(/x/i)?(h.eatWhile(A),c=!0):("+"!=c&&"-"!=c||!u.test(h.peek())||(h.eat(B),c=h.next()),u.test(c)?(h.eat(c),h.eatWhile(u),"."==h.peek()&&(h.eat("."),h.eatWhile(u)),h.eat(J)&&(h.eat(B),h.eatWhile(u)),c=!0):c=!1),c)h="number";else{if(h.current().match(g))for(;71>p&&void 0!==h.eat(g);)p++;h=n&&n.propertyIsEnumerable(h.current().toUpperCase())?
|
||
"keyword":b&&b.propertyIsEnumerable(h.current().toUpperCase())?"builtin":y&&y.propertyIsEnumerable(h.current().toUpperCase())?"atom":null}else h="atom"}return h},indent:function(h){return null==h.indentStack?h.indentation:h.indentStack.indent}}});v.defineMIME("text/x-cobol","cobol")})};
|
||
shadow$provide[478]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("coffeescript",function(Y,y){function n(r){return new RegExp("^(("+r.join(")|(")+"))\\b")}function b(r,f){if(r.sol()){null===f.scope.align&&(f.scope.align=!1);var F=f.scope.offset;if(r.eatSpace())return r=r.indentation(),r>F&&"coffee"==f.scope.type?"indent":r<F?"dedent":null;0<F&&B(r,
|
||
f)}if(r.eatSpace())return null;F=r.peek();if(r.match("####"))return r.skipToEnd(),"comment";if(r.match("###"))return f.tokenize=z,f.tokenize(r,f);if("#"===F)return r.skipToEnd(),"comment";if(r.match(/^-?[0-9\.]/,!1)){F=!1;r.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(F=!0);r.match(/^-?\d+\.\d*/)&&(F=!0);r.match(/^-?\.\d+/)&&(F=!0);if(F)return"."==r.peek()&&r.backUp(1),"number";F=!1;r.match(/^-?0x[0-9a-f]+/i)&&(F=!0);r.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(F=!0);r.match(/^-?0(?![\dx])/i)&&(F=!0);if(F)return"number"}if(r.match(E))return f.tokenize=
|
||
u(r.current(),!1,"string"),f.tokenize(r,f);if(r.match(w)){if("/"!=r.current()||r.match(/^.*\//,!1))return f.tokenize=u(r.current(),!0,"string-2"),f.tokenize(r,f);r.backUp(1)}if(r.match(J)||r.match(p))return"operator";if(r.match(g))return"punctuation";if(r.match(t))return"atom";if(r.match(c)||f.prop&&r.match(h))return"property";if(r.match(q))return"keyword";if(r.match(h))return"variable";r.next();return"error"}function u(r,f,F){return function(C,M){for(;!C.eol();)if(C.eatWhile(/[^'"\/\\]/),C.eat("\\")){if(C.next(),
|
||
f&&C.eol())return F}else{if(C.match(r))return M.tokenize=b,F;C.eat(/['"\/]/)}f&&(y.singleLineStringErrors?F="error":M.tokenize=b);return F}}function z(r,f){for(;!r.eol();){r.eatWhile(/[^#]/);if(r.match("###")){f.tokenize=b;break}r.eatWhile("#")}return"comment"}function A(r,f,F){F=F||"coffee";for(var C=0,M=!1,aa=null,O=f.scope;O;O=O.prev)if("coffee"===O.type||"}"==O.type){C=O.offset+Y.indentUnit;break}"coffee"!==F?(M=null,aa=r.column()+r.current().length):f.scope.align&&(f.scope.align=!1);f.scope=
|
||
{offset:C,type:F,prev:f.scope,align:M,alignOffset:aa}}function B(r,f){if(f.scope.prev){if("coffee"===f.scope.type){r=r.indentation();for(var F=!1,C=f.scope;C;C=C.prev)if(r===C.offset){F=!0;break}if(!F)return!0;for(;f.scope.prev&&f.scope.offset!==r;)f.scope=f.scope.prev}else f.scope=f.scope.prev;return!1}}var J=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|~|!|\?|(or|and|\|\||&&|\?)=)/,g=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,h=/^[_A-Za-z$][_A-Za-z$0-9]*/,c=/^@[_A-Za-z$][_A-Za-z$0-9]*/,
|
||
p=n("and or not is isnt in instanceof typeof".split(" ")),m="for while loop if unless else switch try catch finally class".split(" "),q=n(m.concat("break by continue debugger delete do in of new return then this @ throw when until extends".split(" ")));m=n(m);var E=/^('{3}|"{3}|['"])/,w=/^(\/{3}|\/)/,t=n("Infinity NaN undefined null true false on off yes no".split(" "));return{startState:function(r){return{tokenize:b,scope:{offset:r||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(r,
|
||
f){var F=null===f.scope.align&&f.scope;F&&r.sol()&&(F.align=!1);var C=f.tokenize(r,f);var M=r.current();"return"===M&&(f.dedent=!0);(("-\x3e"===M||"\x3d\x3e"===M)&&r.eol()||"indent"===C)&&A(r,f);var aa="[({".indexOf(M);-1!==aa&&A(r,f,"])}".slice(aa,aa+1));m.exec(M)&&A(r,f);"then"==M&&B(r,f);if("dedent"===C&&B(r,f))C="error";else{aa="])}".indexOf(M);if(-1!==aa){for(;"coffee"==f.scope.type&&f.scope.prev;)f.scope=f.scope.prev;f.scope.type==M&&(f.scope=f.scope.prev)}f.dedent&&r.eol()&&("coffee"==f.scope.type&&
|
||
f.scope.prev&&(f.scope=f.scope.prev),f.dedent=!1)}C&&"comment"!=C&&(F&&(F.align=!0),f.prop="punctuation"==C&&"."==r.current());return C},indent:function(r,f){if(r.tokenize!=b)return 0;r=r.scope;var F=f&&-1<"])}".indexOf(f.charAt(0));if(F)for(;"coffee"==r.type&&r.prev;)r=r.prev;f=F&&r.type===f.charAt(0);return r.align?r.alignOffset-(f?1:0):(f?r.prev:r).offset},lineComment:"#",fold:"indent"}});v.defineMIME("application/vnd.coffeescript","coffeescript");v.defineMIME("text/x-coffeescript","coffeescript");
|
||
v.defineMIME("text/coffeescript","coffeescript")})};
|
||
shadow$provide[479]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("commonlisp",function(Y){function y(h){for(var c;c=h.next();)if("\\"==c)h.next();else if(!J.test(c)){h.backUp(1);break}return h.current()}function n(h,c){if(h.eatSpace())return g="ws",null;if(h.match(B))return"number";var p=h.next();"\\"==p&&(p=h.next());if('"'==p)return(c.tokenize=
|
||
b)(h,c);if("("==p)return g="open","bracket";if(")"==p||"]"==p)return g="close","bracket";if(";"==p)return h.skipToEnd(),g="ws","comment";if(/['`,@]/.test(p))return null;if("|"==p){if(h.skipTo("|"))return h.next(),"symbol";h.skipToEnd();return"error"}if("#"==p)return p=h.next(),"("==p?(g="open","bracket"):/[+\-=\.']/.test(p)||/\d/.test(p)&&h.match(/^\d*#/)?null:"|"==p?(c.tokenize=u)(h,c):":"==p?(y(h),"meta"):"\\"==p?(h.next(),y(h),"string-2"):"error";h=y(h);if("."==h)return null;g="symbol";return"nil"==
|
||
h||"t"==h||":"==h.charAt(0)?"atom":"open"==c.lastType&&(z.test(h)||A.test(h))?"keyword":"\x26"==h.charAt(0)?"variable-2":"variable"}function b(h,c){for(var p=!1,m;m=h.next();){if('"'==m&&!p){c.tokenize=n;break}p=!p&&"\\"==m}return"string"}function u(h,c){for(var p,m;p=h.next();){if("#"==p&&"|"==m){c.tokenize=n;break}m=p}g="ws";return"comment"}var z=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,
|
||
A=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,B=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,J=/[^\s'`,@()\[\]";]/,g;return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:n}},token:function(h,c){h.sol()&&"number"!=typeof c.ctx.indentTo&&(c.ctx.indentTo=c.ctx.start+1);g=null;var p=c.tokenize(h,c);"ws"!=g&&(null==c.ctx.indentTo?"symbol"==g&&A.test(h.current())?c.ctx.indentTo=
|
||
c.ctx.start+Y.indentUnit:c.ctx.indentTo="next":"next"==c.ctx.indentTo&&(c.ctx.indentTo=h.column()),c.lastType=g);"open"==g?c.ctx={prev:c.ctx,start:h.column(),indentTo:null}:"close"==g&&(c.ctx=c.ctx.prev||c.ctx);return p},indent:function(h,c){c=h.ctx.indentTo;return"number"==typeof c?c:h.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",fold:"brace-paren",blockCommentStart:"#|",blockCommentEnd:"|#"}});v.defineMIME("text/x-common-lisp","commonlisp")})};
|
||
shadow$provide[480]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("crystal",function(Y){function y(P,V){return new RegExp((V?"":"^")+"(?:"+P.join("|")+")"+(V?"$":"\\b"))}function n(P,V,T){T.tokenize.push(P);return P(V,T)}function b(P,V){if(P.eatSpace())return null;if("\\"!=V.lastToken&&P.match("{%",!1))return n(z("%","%"),P,V);if("\\"!=V.lastToken&&
|
||
P.match("{{",!1))return n(z("{","}"),P,V);if("#"==P.peek())return P.skipToEnd(),"comment";if(P.match(q)){P.eat(/[?!]/);var T=P.current();return P.eat(":")?"atom":"."==V.lastToken?"property":w.test(T)?(r.test(T)?"fun"==T&&0<=V.blocks.indexOf("lib")||"def"==T&&"abstract"==V.lastToken||(V.blocks.push(T),V.currentIndent+=1):"operator"!=V.lastStyle&&V.lastStyle||!f.test(T)?"end"==T&&(V.blocks.pop(),--V.currentIndent):(V.blocks.push(T),V.currentIndent+=1),O.hasOwnProperty(T)&&V.tokenize.push(O[T]),"keyword"):
|
||
t.test(T)?"atom":"variable"}if(P.eat("@")){if("["==P.peek())return n(u("[","]","meta"),P,V);P.eat("@");P.match(q)||P.match(E);return"variable-2"}if(P.match(E))return"tag";if(P.eat(":")){if(P.eat('"'))return n(J('"',"atom",!1),P,V);if(P.match(q)||P.match(E)||P.match(h)||P.match(c)||P.match(p))return"atom";P.eat(":");return"operator"}if(P.eat('"'))return n(J('"',"string",!0),P,V);if("%"==P.peek()){T="string";var K=!0;if(P.match("%r")){T="string-2";var D=P.next()}else if(P.match("%w"))K=!1,D=P.next();
|
||
else if(P.match("%q"))K=!1,D=P.next();else if(D=P.match(/^%([^\w\s=])/))D=D[1];else{if(P.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(P.eat("%"))return"operator"}U.hasOwnProperty(D)&&(D=U[D]);return n(J(D,T,K),P,V)}if(T=P.match(/^<<-('?)([A-Z]\w*)\1/))return n(g(T[2],!T[1]),P,V);if(P.eat("'"))return P.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),P.eat("'"),"atom";if(P.eat("0"))return P.eat("x")?P.match(/^[0-9a-fA-F_]+/):P.eat("o")?
|
||
P.match(/^[0-7_]+/):P.eat("b")&&P.match(/^[01_]+/),"number";if(P.eat(/^\d/))return P.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number";if(P.match(h))return P.eat("\x3d"),"operator";if(P.match(c)||P.match(m))return"operator";if(T=P.match(/[({[]/,!1))return T=T[0],n(u(T,U[T],null),P,V);if(P.eat("\\"))return P.next(),"meta";P.next();return null}function u(P,V,T,K){return function(D,L){if(!K&&D.match(P))return L.tokenize[L.tokenize.length-1]=u(P,V,T,!0),L.currentIndent+=1,T;var Q=b(D,L);D.current()===
|
||
V&&(L.tokenize.pop(),--L.currentIndent,Q=T);return Q}}function z(P,V,T){return function(K,D){return!T&&K.match("{"+P)?(D.currentIndent+=1,D.tokenize[D.tokenize.length-1]=z(P,V,!0),"meta"):K.match(V+"}")?(--D.currentIndent,D.tokenize.pop(),"meta"):b(K,D)}}function A(P,V){if(P.eatSpace())return null;P.match(q)?P.eat(/[!?]/):P.match(h)||P.match(c)||P.match(p);V.tokenize.pop();return"def"}function B(P,V){if(P.eatSpace())return null;P.match(E);V.tokenize.pop();return"def"}function J(P,V,T){return function(K,
|
||
D){for(var L=!1;K.peek();)if(L)K.next(),L=!1;else{if(K.match("{%",!1)){D.tokenize.push(z("%","%"));break}if(K.match("{{",!1)){D.tokenize.push(z("{","}"));break}if(T&&K.match("#{",!1)){D.tokenize.push(u("#{","}","meta"));break}L=K.next();if(L==P){D.tokenize.pop();break}L=T&&"\\"==L}return V}}function g(P,V){return function(T,K){if(T.sol()&&(T.eatSpace(),T.match(P)))return K.tokenize.pop(),"string";for(var D=!1;T.peek();)if(D)T.next(),D=!1;else{if(T.match("{%",!1)){K.tokenize.push(z("%","%"));break}if(T.match("{{",
|
||
!1)){K.tokenize.push(z("{","}"));break}if(V&&T.match("#{",!1)){K.tokenize.push(u("#{","}","meta"));break}D=V&&"\\"==T.next()}return"string"}}var h=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,c=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,p=/^(?:\[\][?=]?)/,m=/^(?:\.(?:\.{2})?|->|[?:])/,q=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,E=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,w=y("abstract alias as asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof lib macro module next of out pointerof private protected rescue return require select sizeof struct super then type typeof uninitialized union unless until when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__".split(" ")),
|
||
t=y(["true","false","nil","self"]),r=y("def fun macro class module struct lib enum union do for".split(" ")),f=y("if unless case while until begin then".split(" ")),F=["end","else","elsif","rescue","ensure"],C=y(F),M=["\\)","\\}","\\]"],aa=new RegExp("^(?:"+M.join("|")+")$"),O={def:A,fun:A,macro:function(P,V){if(P.eatSpace())return null;var T;if(T=P.match(q)){if("def"==T)return"keyword";P.eat(/[?!]/)}V.tokenize.pop();return"def"},"class":B,module:B,struct:B,lib:B,"enum":B,union:B},U={"[":"]","{":"}",
|
||
"(":")","\x3c":"\x3e"};return{startState:function(){return{tokenize:[b],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(P,V){var T=V.tokenize[V.tokenize.length-1](P,V);P=P.current();T&&"comment"!=T&&(V.lastToken=P,V.lastStyle=T);return T},indent:function(P,V){V=V.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,"");return C.test(V)||aa.test(V)?Y.indentUnit*(P.currentIndent-1):Y.indentUnit*P.currentIndent},fold:"indent",electricInput:y(M.concat(F),!0),lineComment:"#"}});v.defineMIME("text/x-crystal",
|
||
"crystal")})};
|
||
shadow$provide[481]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(F){for(var C={},M=0;M<F.length;++M)C[F[M].toLowerCase()]=!0;return C}function y(F,C){for(var M=!1,aa;null!=(aa=F.next());){if(M&&"/"==aa){C.tokenize=null;break}M="*"==aa}return["comment","comment"]}v.defineMode("css",function(F,C){function M(Ua,La){Oa=La;return Ua}function aa(Ua,La){var ma=
|
||
Ua.next();if(N[ma]){var ja=N[ma](Ua,La);if(!1!==ja)return ja}if("@"==ma)return Ua.eatWhile(/[\w\\\-]/),M("def",Ua.current());if("\x3d"==ma||("~"==ma||"|"==ma)&&Ua.eat("\x3d"))return M(null,"compare");if('"'==ma||"'"==ma)return La.tokenize=O(ma),La.tokenize(Ua,La);if("#"==ma)return Ua.eatWhile(/[\w\\\-]/),M("atom","hash");if("!"==ma)return Ua.match(/^\s*\w*/),M("keyword","important");if(/\d/.test(ma)||"."==ma&&Ua.eat(/\d/))return Ua.eatWhile(/[\w.%]/),M("number","unit");if("-"===ma){if(/[\d.]/.test(Ua.peek()))return Ua.eatWhile(/[\w.%]/),
|
||
M("number","unit");if(Ua.match(/^-[\w\\\-]*/))return Ua.eatWhile(/[\w\\\-]/),Ua.match(/^\s*:/,!1)?M("variable-2","variable-definition"):M("variable-2","variable");if(Ua.match(/^\w+-/))return M("meta","meta")}else return/[,+>*\/]/.test(ma)?M(null,"select-op"):"."==ma&&Ua.match(/^-?[_a-z][_a-z0-9-]*/i)?M("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(ma)?M(null,ma):Ua.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(Ua.current())&&(La.tokenize=U),M("variable callee","variable")):/[\w\\\-]/.test(ma)?
|
||
(Ua.eatWhile(/[\w\\\-]/),M("property","word")):M(null,null)}function O(Ua){return function(La,ma){for(var ja=!1,oa;null!=(oa=La.next());){if(oa==Ua&&!ja){")"==Ua&&La.backUp(1);break}ja=!ja&&"\\"==oa}if(oa==Ua||!ja&&")"!=Ua)ma.tokenize=null;return M("string","string")}}function U(Ua,La){Ua.next();Ua.match(/^\s*["')]/,!1)?La.tokenize=null:La.tokenize=O(")");return M(null,"(")}function P(Ua,La,ma){this.type=Ua;this.indent=La;this.prev=ma}function V(Ua,La,ma,ja){Ua.context=new P(ma,La.indentation()+(!1===
|
||
ja?0:Q),Ua.context);return ma}function T(Ua){Ua.context.prev&&(Ua.context=Ua.context.prev);return Ua.context.type}function K(Ua,La,ma,ja){for(ja=ja||1;0<ja;ja--)ma.context=ma.context.prev;return Ya[ma.context.type](Ua,La,ma)}function D(Ua){Ua=Ua.current().toLowerCase();Va=va.hasOwnProperty(Ua)?"atom":wa.hasOwnProperty(Ua)?"keyword":"variable"}var L=C.inline;C.propertyKeywords||(C=v.resolveMode("text/css"));var Q=F.indentUnit,N=C.tokenHooks,la=C.documentTypes||{},R=C.mediaTypes||{},Z=C.mediaFeatures||
|
||
{},X=C.mediaValueKeywords||{},S=C.propertyKeywords||{},ha=C.nonStandardPropertyKeywords||{},W=C.fontProperties||{},ra=C.counterDescriptors||{},wa=C.colorKeywords||{},va=C.valueKeywords||{},Fa=C.allowNested,Ba=!0===C.supportsAtComponent,Ka=!1!==F.highlightNonStandardPropertyKeywords,Oa,Va,Ya={top:function(Ua,La,ma){if("{"==Ua)return V(ma,La,"block");if("}"==Ua&&ma.context.prev)return T(ma);if(Ba&&/@component/i.test(Ua))return V(ma,La,"atComponentBlock");if(/^@(-moz-)?document$/i.test(Ua))return V(ma,
|
||
La,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(Ua))return V(ma,La,"atBlock");if(/^@(font-face|counter-style)/i.test(Ua))return ma.stateArg=Ua,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(Ua))return"keyframes";if(Ua&&"@"==Ua.charAt(0))return V(ma,La,"at");if("hash"==Ua)Va="builtin";else if("word"==Ua)Va="tag";else{if("variable-definition"==Ua)return"maybeprop";if("interpolation"==Ua)return V(ma,La,"interpolation");if(":"==Ua)return"pseudo";if(Fa&&
|
||
"("==Ua)return V(ma,La,"parens")}return ma.context.type},block:function(Ua,La,ma){if("word"==Ua){Ua=La.current().toLowerCase();if(S.hasOwnProperty(Ua))return Va="property","maybeprop";if(ha.hasOwnProperty(Ua))return Va=Ka?"string-2":"property","maybeprop";if(Fa)return Va=La.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block";Va+=" error";return"maybeprop"}if("meta"==Ua)return"block";if(Fa||"hash"!=Ua&&"qualifier"!=Ua)return Ya.top(Ua,La,ma);Va="error";return"block"},maybeprop:function(Ua,La,ma){return":"==
|
||
Ua?V(ma,La,"prop"):Ya[ma.context.type](Ua,La,ma)},prop:function(Ua,La,ma){if(";"==Ua)return T(ma);if("{"==Ua&&Fa)return V(ma,La,"propBlock");if("}"==Ua||"{"==Ua)return K(Ua,La,ma);if("("==Ua)return V(ma,La,"parens");if("hash"==Ua&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(La.current()))Va+=" error";else if("word"==Ua)D(La);else if("interpolation"==Ua)return V(ma,La,"interpolation");return"prop"},propBlock:function(Ua,La,ma){return"}"==Ua?T(ma):"word"==Ua?(Va="property","maybeprop"):
|
||
ma.context.type},parens:function(Ua,La,ma){if("{"==Ua||"}"==Ua)return K(Ua,La,ma);if(")"==Ua)return T(ma);if("("==Ua)return V(ma,La,"parens");if("interpolation"==Ua)return V(ma,La,"interpolation");"word"==Ua&&D(La);return"parens"},pseudo:function(Ua,La,ma){return"meta"==Ua?"pseudo":"word"==Ua?(Va="variable-3",ma.context.type):Ya[ma.context.type](Ua,La,ma)},documentTypes:function(Ua,La,ma){return"word"==Ua&&la.hasOwnProperty(La.current())?(Va="tag",ma.context.type):Ya.atBlock(Ua,La,ma)},atBlock:function(Ua,
|
||
La,ma){if("("==Ua)return V(ma,La,"atBlock_parens");if("}"==Ua||";"==Ua)return K(Ua,La,ma);if("{"==Ua)return T(ma)&&V(ma,La,Fa?"block":"top");if("interpolation"==Ua)return V(ma,La,"interpolation");"word"==Ua&&(Ua=La.current().toLowerCase(),Va="only"==Ua||"not"==Ua||"and"==Ua||"or"==Ua?"keyword":R.hasOwnProperty(Ua)?"attribute":Z.hasOwnProperty(Ua)?"property":X.hasOwnProperty(Ua)?"keyword":S.hasOwnProperty(Ua)?"property":ha.hasOwnProperty(Ua)?Ka?"string-2":"property":va.hasOwnProperty(Ua)?"atom":wa.hasOwnProperty(Ua)?
|
||
"keyword":"error");return ma.context.type},atComponentBlock:function(Ua,La,ma){if("}"==Ua)return K(Ua,La,ma);if("{"==Ua)return T(ma)&&V(ma,La,Fa?"block":"top",!1);"word"==Ua&&(Va="error");return ma.context.type},atBlock_parens:function(Ua,La,ma){return")"==Ua?T(ma):"{"==Ua||"}"==Ua?K(Ua,La,ma,2):Ya.atBlock(Ua,La,ma)},restricted_atBlock_before:function(Ua,La,ma){return"{"==Ua?V(ma,La,"restricted_atBlock"):"word"==Ua&&"@counter-style"==ma.stateArg?(Va="variable","restricted_atBlock_before"):Ya[ma.context.type](Ua,
|
||
La,ma)},restricted_atBlock:function(Ua,La,ma){return"}"==Ua?(ma.stateArg=null,T(ma)):"word"==Ua?(Va="@font-face"==ma.stateArg&&!W.hasOwnProperty(La.current().toLowerCase())||"@counter-style"==ma.stateArg&&!ra.hasOwnProperty(La.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(Ua,La,ma){return"word"==Ua?(Va="variable","keyframes"):"{"==Ua?V(ma,La,"top"):Ya[ma.context.type](Ua,La,ma)},at:function(Ua,La,ma){if(";"==Ua)return T(ma);if("{"==Ua||"}"==Ua)return K(Ua,
|
||
La,ma);"word"==Ua?Va="tag":"hash"==Ua&&(Va="builtin");return"at"},interpolation:function(Ua,La,ma){if("}"==Ua)return T(ma);if("{"==Ua||";"==Ua)return K(Ua,La,ma);"word"==Ua?Va="variable":"variable"!=Ua&&"("!=Ua&&")"!=Ua&&(Va="error");return"interpolation"}};return{startState:function(Ua){return{tokenize:null,state:L?"block":"top",stateArg:null,context:new P(L?"block":"top",Ua||0,null)}},token:function(Ua,La){if(!La.tokenize&&Ua.eatSpace())return null;var ma=(La.tokenize||aa)(Ua,La);ma&&"object"==
|
||
typeof ma&&(Oa=ma[1],ma=ma[0]);Va=ma;"comment"!=Oa&&(La.state=Ya[La.state](Oa,Ua,La));return Va},indent:function(Ua,La){Ua=Ua.context;La=La&&La.charAt(0);var ma=Ua.indent;"prop"!=Ua.type||"}"!=La&&")"!=La||(Ua=Ua.prev);if(Ua.prev)if("}"==La&&("block"==Ua.type||"top"==Ua.type||"interpolation"==Ua.type||"restricted_atBlock"==Ua.type))Ua=Ua.prev,ma=Ua.indent;else if(")"==La&&("parens"==Ua.type||"atBlock_parens"==Ua.type)||"{"==La&&("at"==Ua.type||"atBlock"==Ua.type))ma=Math.max(0,Ua.indent-Q);return ma},
|
||
electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:C.lineComment,fold:"brace"}});var n=["domain","regexp","url","url-prefix"],b=Y(n),u="all aural braille handheld print projection screen tty tv embossed".split(" "),z=Y(u),A="width min-width max-width height min-height max-height device-width min-device-width max-device-width device-height min-device-height max-device-height aspect-ratio min-aspect-ratio max-aspect-ratio device-aspect-ratio min-device-aspect-ratio max-device-aspect-ratio color min-color max-color color-index min-color-index max-color-index monochrome min-monochrome max-monochrome resolution min-resolution max-resolution scan grid orientation device-pixel-ratio min-device-pixel-ratio max-device-pixel-ratio pointer any-pointer hover any-hover prefers-color-scheme dynamic-range video-dynamic-range".split(" "),
|
||
B=Y(A),J="landscape portrait none coarse fine on-demand hover interlace progressive dark light standard high".split(" "),g=Y(J),h="align-content align-items align-self alignment-adjust alignment-baseline all anchor-point animation animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function appearance azimuth backdrop-filter backface-visibility background background-attachment background-blend-mode background-clip background-color background-image background-origin background-position background-position-x background-position-y background-repeat background-size baseline-shift binding bleed block-size bookmark-label bookmark-level bookmark-state bookmark-target border border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-decoration-break box-shadow box-sizing break-after break-before break-inside caption-side caret-color clear clip color color-profile column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns contain content counter-increment counter-reset crop cue cue-after cue-before cursor direction display dominant-baseline drop-initial-after-adjust drop-initial-after-align drop-initial-before-adjust drop-initial-before-align drop-initial-size drop-initial-value elevation empty-cells fit fit-content fit-position flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float float-offset flow-from flow-into font font-family font-feature-settings font-kerning font-language-override font-optical-sizing font-size font-size-adjust font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-variation-settings font-weight gap grid grid-area grid-auto-columns grid-auto-flow grid-auto-rows grid-column grid-column-end grid-column-gap grid-column-start grid-gap grid-row grid-row-end grid-row-gap grid-row-start grid-template grid-template-areas grid-template-columns grid-template-rows hanging-punctuation height hyphens icon image-orientation image-rendering image-resolution inline-box-align inset inset-block inset-block-end inset-block-start inset-inline inset-inline-end inset-inline-start isolation justify-content justify-items justify-self left letter-spacing line-break line-height line-height-step line-stacking line-stacking-ruby line-stacking-shift line-stacking-strategy list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marks marquee-direction marquee-loop marquee-play-count marquee-speed marquee-style mask-clip mask-composite mask-image mask-mode mask-origin mask-position mask-repeat mask-size mask-type max-block-size max-height max-inline-size max-width min-block-size min-height min-inline-size min-width mix-blend-mode move-to nav-down nav-index nav-left nav-right nav-up object-fit object-position offset offset-anchor offset-distance offset-path offset-position offset-rotate opacity order orphans outline outline-color outline-offset outline-style outline-width overflow overflow-style overflow-wrap overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside page-policy pause pause-after pause-before perspective perspective-origin pitch pitch-range place-content place-items place-self play-during position presentation-level punctuation-trim quotes region-break-after region-break-before region-break-inside region-fragment rendering-intent resize rest rest-after rest-before richness right rotate rotation rotation-point row-gap ruby-align ruby-overhang ruby-position ruby-span scale scroll-behavior scroll-margin scroll-margin-block scroll-margin-block-end scroll-margin-block-start scroll-margin-bottom scroll-margin-inline scroll-margin-inline-end scroll-margin-inline-start scroll-margin-left scroll-margin-right scroll-margin-top scroll-padding scroll-padding-block scroll-padding-block-end scroll-padding-block-start scroll-padding-bottom scroll-padding-inline scroll-padding-inline-end scroll-padding-inline-start scroll-padding-left scroll-padding-right scroll-padding-top scroll-snap-align scroll-snap-type shape-image-threshold shape-inside shape-margin shape-outside size speak speak-as speak-header speak-numeral speak-punctuation speech-rate stress string-set tab-size table-layout target target-name target-new target-position text-align text-align-last text-combine-upright text-decoration text-decoration-color text-decoration-line text-decoration-skip text-decoration-skip-ink text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-height text-indent text-justify text-orientation text-outline text-overflow text-rendering text-shadow text-size-adjust text-space-collapse text-transform text-underline-position text-wrap top touch-action transform transform-origin transform-style transition transition-delay transition-duration transition-property transition-timing-function translate unicode-bidi user-select vertical-align visibility voice-balance voice-duration voice-family voice-pitch voice-range voice-rate voice-stress voice-volume volume white-space widows width will-change word-break word-spacing word-wrap writing-mode z-index clip-path clip-rule mask enable-background filter flood-color flood-opacity lighting-color stop-color stop-opacity pointer-events color-interpolation color-interpolation-filters color-rendering fill fill-opacity fill-rule image-rendering marker marker-end marker-mid marker-start paint-order shape-rendering stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-rendering baseline-shift dominant-baseline glyph-orientation-horizontal glyph-orientation-vertical text-anchor writing-mode".split(" "),
|
||
c=Y(h),p="accent-color aspect-ratio border-block border-block-color border-block-end border-block-end-color border-block-end-style border-block-end-width border-block-start border-block-start-color border-block-start-style border-block-start-width border-block-style border-block-width border-inline border-inline-color border-inline-end border-inline-end-color border-inline-end-style border-inline-end-width border-inline-start border-inline-start-color border-inline-start-style border-inline-start-width border-inline-style border-inline-width content-visibility margin-block margin-block-end margin-block-start margin-inline margin-inline-end margin-inline-start overflow-anchor overscroll-behavior padding-block padding-block-end padding-block-start padding-inline padding-inline-end padding-inline-start scroll-snap-stop scrollbar-3d-light-color scrollbar-arrow-color scrollbar-base-color scrollbar-dark-shadow-color scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color scrollbar-track-color searchfield-cancel-button searchfield-decoration searchfield-results-button searchfield-results-decoration shape-inside zoom".split(" "),
|
||
m=Y(p),q=Y("font-display font-family src unicode-range font-variant font-feature-settings font-stretch font-weight font-style".split(" ")),E=Y("additive-symbols fallback negative pad prefix range speak-as suffix symbols system".split(" ")),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 darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray grey green greenyellow honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple rebeccapurple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray slategrey snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen".split(" "),
|
||
t=Y(w),r="above absolute activeborder additive activecaption afar after-white-space ahead alias all all-scroll alphabetic alternate always amharic amharic-abegede antialiased appworkspace arabic-indic armenian asterisks attr auto auto-flow avoid avoid-column avoid-page avoid-region axis-pan background backwards baseline below bidi-override binary bengali blink block block-axis blur bold bolder border border-box both bottom break break-all break-word brightness bullets button buttonface buttonhighlight buttonshadow buttontext calc cambodian capitalize caps-lock-indicator caption captiontext caret cell center checkbox circle cjk-decimal cjk-earthly-branch cjk-heavenly-stem cjk-ideographic clear clip close-quote col-resize collapse color color-burn color-dodge column column-reverse compact condensed conic-gradient contain content contents content-box context-menu continuous contrast copy counter counters cover crop cross crosshair cubic-bezier currentcolor cursive cyclic darken dashed decimal decimal-leading-zero default default-button dense destination-atop destination-in destination-out destination-over devanagari difference disc discard disclosure-closed disclosure-open document dot-dash dot-dot-dash dotted double down drop-shadow e-resize ease ease-in ease-in-out ease-out element ellipse ellipsis embed end ethiopic ethiopic-abegede ethiopic-abegede-am-et ethiopic-abegede-gez ethiopic-abegede-ti-er ethiopic-abegede-ti-et ethiopic-halehame-aa-er ethiopic-halehame-aa-et ethiopic-halehame-am-et ethiopic-halehame-gez ethiopic-halehame-om-et ethiopic-halehame-sid-et ethiopic-halehame-so-et ethiopic-halehame-ti-er ethiopic-halehame-ti-et ethiopic-halehame-tig ethiopic-numeric ew-resize exclusion expanded extends extra-condensed extra-expanded fantasy fast fill fill-box fixed flat flex flex-end flex-start footnotes forwards from geometricPrecision georgian grayscale graytext grid groove gujarati gurmukhi hand hangul hangul-consonant hard-light hebrew help hidden hide higher highlight highlighttext hiragana hiragana-iroha horizontal hsl hsla hue hue-rotate icon ignore inactiveborder inactivecaption inactivecaptiontext infinite infobackground infotext inherit initial inline inline-axis inline-block inline-flex inline-grid inline-table inset inside intrinsic invert italic japanese-formal japanese-informal justify kannada katakana katakana-iroha keep-all khmer korean-hangul-formal korean-hanja-formal korean-hanja-informal landscape lao large larger left level lighter lighten line-through linear linear-gradient lines list-item listbox listitem local logical loud lower lower-alpha lower-armenian lower-greek lower-hexadecimal lower-latin lower-norwegian lower-roman lowercase ltr luminosity malayalam manipulation match matrix matrix3d media-play-button media-slider media-sliderthumb media-volume-slider media-volume-sliderthumb medium menu menulist menulist-button menutext message-box middle min-intrinsic mix mongolian monospace move multiple multiple_mask_images multiply myanmar n-resize narrower ne-resize nesw-resize no-close-quote no-drop no-open-quote no-repeat none normal not-allowed nowrap ns-resize numbers numeric nw-resize nwse-resize oblique octal opacity open-quote optimizeLegibility optimizeSpeed oriya oromo outset outside outside-shape overlay overline padding padding-box painted page paused persian perspective pinch-zoom plus-darker plus-lighter pointer polygon portrait pre pre-line pre-wrap preserve-3d progress push-button radial-gradient radio read-only read-write read-write-plaintext-only rectangle region relative repeat repeating-linear-gradient repeating-radial-gradient repeating-conic-gradient repeat-x repeat-y reset reverse rgb rgba ridge right rotate rotate3d rotateX rotateY rotateZ round row row-resize row-reverse rtl run-in running s-resize sans-serif saturate saturation scale scale3d scaleX scaleY scaleZ screen scroll scrollbar scroll-position se-resize searchfield searchfield-cancel-button searchfield-decoration searchfield-results-button searchfield-results-decoration self-start self-end semi-condensed semi-expanded separate sepia serif show sidama simp-chinese-formal simp-chinese-informal single skew skewX skewY skip-white-space slide slider-horizontal slider-vertical sliderthumb-horizontal sliderthumb-vertical slow small small-caps small-caption smaller soft-light solid somali source-atop source-in source-out source-over space space-around space-between space-evenly spell-out square square-button start static status-bar stretch stroke stroke-box sub subpixel-antialiased svg_masks super sw-resize symbolic symbols system-ui table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group tamil telugu text text-bottom text-top textarea textfield thai thick thin threeddarkshadow threedface threedhighlight threedlightshadow threedshadow tibetan tigre tigrinya-er tigrinya-er-abegede tigrinya-et tigrinya-et-abegede to top trad-chinese-formal trad-chinese-informal transform translate translate3d translateX translateY translateZ transparent ultra-condensed ultra-expanded underline unidirectional-pan unset up upper-alpha upper-armenian upper-greek upper-hexadecimal upper-latin upper-norwegian upper-roman uppercase urdu url var vertical vertical-text view-box visible visibleFill visiblePainted visibleStroke visual w-resize wait wave wider window windowframe windowtext words wrap wrap-reverse x-large x-small xor xx-large xx-small".split(" "),
|
||
f=Y(r);n=n.concat(u).concat(A).concat(J).concat(h).concat(p).concat(w).concat(r);v.registerHelper("hintWords","css",n);v.defineMIME("text/css",{documentTypes:b,mediaTypes:z,mediaFeatures:B,mediaValueKeywords:g,propertyKeywords:c,nonStandardPropertyKeywords:m,fontProperties:q,counterDescriptors:E,colorKeywords:t,valueKeywords:f,tokenHooks:{"/":function(F,C){if(!F.eat("*"))return!1;C.tokenize=y;return y(F,C)}},name:"css"});v.defineMIME("text/x-scss",{mediaTypes:z,mediaFeatures:B,mediaValueKeywords:g,
|
||
propertyKeywords:c,nonStandardPropertyKeywords:m,colorKeywords:t,valueKeywords:f,fontProperties:q,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(F,C){return F.eat("/")?(F.skipToEnd(),["comment","comment"]):F.eat("*")?(C.tokenize=y,y(F,C)):["operator","operator"]},":":function(F){return F.match(/^\s*\{/,!1)?[null,null]:!1},$:function(F){F.match(/^[\w-]+/);return F.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(F){return F.eat("{")?[null,"interpolation"]:
|
||
!1}},name:"css",helperType:"scss"});v.defineMIME("text/x-less",{mediaTypes:z,mediaFeatures:B,mediaValueKeywords:g,propertyKeywords:c,nonStandardPropertyKeywords:m,colorKeywords:t,valueKeywords:f,fontProperties:q,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(F,C){return F.eat("/")?(F.skipToEnd(),["comment","comment"]):F.eat("*")?(C.tokenize=y,y(F,C)):["operator","operator"]},"@":function(F){if(F.eat("{"))return[null,"interpolation"];if(F.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,
|
||
!1))return!1;F.eatWhile(/[\w\\\-]/);return F.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"\x26":function(){return["atom","atom"]}},name:"css",helperType:"less"});v.defineMIME("text/x-gss",{documentTypes:b,mediaTypes:z,mediaFeatures:B,propertyKeywords:c,nonStandardPropertyKeywords:m,fontProperties:q,counterDescriptors:E,colorKeywords:t,valueKeywords:f,supportsAtComponent:!0,tokenHooks:{"/":function(F,C){if(!F.eat("*"))return!1;C.tokenize=y;return y(F,C)}},name:"css",
|
||
helperType:"gss"})})};
|
||
shadow$provide[482]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){var Y=function(y){return new RegExp("^(?:"+y.join("|")+")$","i")};v.defineMode("cypher",function(y){var n=function(p){A=null;var m=p.next();if('"'===m)return p.match(/^[^"]*"/),"string";if("'"===m)return p.match(/^[^']*'/),"string";if(/[{}\(\),\.;\[\]]/.test(m))return A=m,"node";if("/"===m&&p.eat("/"))return p.skipToEnd(),
|
||
"comment";if(c.test(m))return p.eatWhile(c),null;p.eatWhile(/[_\w\d]/);if(p.eat(":"))return p.eatWhile(/[\w\d_\-]/),"atom";p=p.current();return B.test(p)?"builtin":J.test(p)?"def":g.test(p)||h.test(p)?"keyword":"variable"},b=function(p,m,q){return p.context={prev:p.context,indent:p.indent,col:q,type:m}},u=function(p){p.indent=p.context.indent;return p.context=p.context.prev},z=y.indentUnit,A,B=Y("abs acos allShortestPaths asin atan atan2 avg ceil coalesce collect cos cot count degrees e endnode exp extract filter floor haversin head id keys labels last left length log log10 lower ltrim max min node nodes percentileCont percentileDisc pi radians rand range reduce rel relationship relationships replace reverse right round rtrim shortestPath sign sin size split sqrt startnode stdev stdevp str substring sum tail tan timestamp toFloat toInt toString trim type upper".split(" ")),
|
||
J=Y("all and any contains exists has in none not or single xor".split(" ")),g=Y("as asc ascending assert by case commit constraint create csv cypher delete desc descending detach distinct drop else end ends explain false fieldterminator foreach from headers in index is join limit load match merge null on optional order periodic profile remove return scan set skip start starts then true union unique unwind using when where with call yield".split(" ")),h=Y("access active assign all alter as catalog change copy create constraint constraints current database databases dbms default deny drop element elements exists from grant graph graphs if index indexes label labels management match name names new node nodes not of on or password populated privileges property read relationship relationships remove replace required revoke role roles set show start status stop suspended to traverse type types user users with write".split(" ")),
|
||
c=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:n,context:null,indent:0,col:0}},token:function(p,m){p.sol()&&(m.context&&null==m.context.align&&(m.context.align=!1),m.indent=p.indentation());if(p.eatSpace())return null;var q=m.tokenize(p,m);"comment"!==q&&m.context&&null==m.context.align&&"pattern"!==m.context.type&&(m.context.align=!0);if("("===A)b(m,")",p.column());else if("["===A)b(m,"]",p.column());else if("{"===A)b(m,"}",p.column());else if(/[\]\}\)]/.test(A)){for(;m.context&&
|
||
"pattern"===m.context.type;)u(m);m.context&&A===m.context.type&&u(m)}else"."===A&&m.context&&"pattern"===m.context.type?u(m):/atom|string|variable/.test(q)&&m.context&&(/[\}\]]/.test(m.context.type)?b(m,"pattern",p.column()):"pattern"!==m.context.type||m.context.align||(m.context.align=!0,m.context.col=p.column()));return q},indent:function(p,m){m=m&&m.charAt(0);p=p.context;if(/[\]\}]/.test(m))for(;p&&"pattern"===p.type;)p=p.prev;m=p&&m===p.type;return p?"keywords"===p.type?v.commands.newlineAndIndent:
|
||
p.align?p.col+(m?0:1):p.indent+(m?0:z):0}}});v.modeExtensions.cypher={autoFormatLineBreaks:function(y){var n=y.split("\n");var b=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g;for(y=0;y<n.length;y++)n[y]=n[y].replace(b," \n$1 ").trim();return n.join("\n")}};v.defineMIME("application/x-cypher-query","cypher")})};
|
||
shadow$provide[483]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(y){var n={};y=y.split(" ");for(var b=0;b<y.length;++b)n[y[b]]=!0;return n}v.defineMode("d",function(y,n){function b(F,C){var M=F.next();if(w[M]){var aa=w[M](F,C);if(!1!==aa)return aa}if('"'==M||"'"==M||"`"==M)return C.tokenize=u(M),C.tokenize(F,C);if(/[\[\]{}\(\),;:\.]/.test(M))return f=
|
||
M,null;if(/\d/.test(M))return F.eatWhile(/[\w\.]/),"number";if("/"==M){if(F.eat("+"))return C.tokenize=A,A(F,C);if(F.eat("*"))return C.tokenize=z,z(F,C);if(F.eat("/"))return F.skipToEnd(),"comment"}if(r.test(M))return F.eatWhile(r),"operator";F.eatWhile(/[\w\$_\xa1-\uffff]/);F=F.current();return p.propertyIsEnumerable(F)?(q.propertyIsEnumerable(F)&&(f="newstatement"),"keyword"):m.propertyIsEnumerable(F)?(q.propertyIsEnumerable(F)&&(f="newstatement"),"builtin"):E.propertyIsEnumerable(F)?"atom":"variable"}
|
||
function u(F){return function(C,M){for(var aa=!1,O,U=!1;null!=(O=C.next());){if(O==F&&!aa){U=!0;break}aa=!aa&&"\\"==O}if(U||!aa&&!t)M.tokenize=null;return"string"}}function z(F,C){for(var M=!1,aa;aa=F.next();){if("/"==aa&&M){C.tokenize=null;break}M="*"==aa}return"comment"}function A(F,C){for(var M=!1,aa;aa=F.next();){if("/"==aa&&M){C.tokenize=null;break}M="+"==aa}return"comment"}function B(F,C,M,aa,O){this.indented=F;this.column=C;this.type=M;this.align=aa;this.prev=O}function J(F,C,M){var aa=F.indented;
|
||
F.context&&"statement"==F.context.type&&(aa=F.context.indented);return F.context=new B(aa,C,M,null,F.context)}function g(F){var C=F.context.type;if(")"==C||"]"==C||"}"==C)F.indented=F.context.indented;return F.context=F.context.prev}var h=y.indentUnit,c=n.statementIndentUnit||h,p=n.keywords||{},m=n.builtin||{},q=n.blockKeywords||{},E=n.atoms||{},w=n.hooks||{},t=n.multiLineStrings,r=/[+\-*&%=<>!?|\/]/,f;return{startState:function(F){return{tokenize:null,context:new B((F||0)-h,0,"top",!1),indented:0,
|
||
startOfLine:!0}},token:function(F,C){var M=C.context;F.sol()&&(null==M.align&&(M.align=!1),C.indented=F.indentation(),C.startOfLine=!0);if(F.eatSpace())return null;f=null;var aa=(C.tokenize||b)(F,C);if("comment"==aa||"meta"==aa)return aa;null==M.align&&(M.align=!0);if(";"!=f&&":"!=f&&","!=f||"statement"!=M.type)if("{"==f)J(C,F.column(),"}");else if("["==f)J(C,F.column(),"]");else if("("==f)J(C,F.column(),")");else if("}"==f){for(;"statement"==M.type;)M=g(C);for("}"==M.type&&(M=g(C));"statement"==
|
||
M.type;)M=g(C)}else f==M.type?g(C):(("}"==M.type||"top"==M.type)&&";"!=f||"statement"==M.type&&"newstatement"==f)&&J(C,F.column(),"statement");else g(C);C.startOfLine=!1;return aa},indent:function(F,C){if(F.tokenize!=b&&null!=F.tokenize)return v.Pass;F=F.context;C=C&&C.charAt(0);"statement"==F.type&&"}"==C&&(F=F.prev);var M=C==F.type;return"statement"==F.type?F.indented+("{"==C?0:c):F.align?F.column+(M?0:1):F.indented+(M?0:h)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",
|
||
lineComment:"//",fold:"brace"}});v.defineMIME("text/x-d",{name:"d",keywords:Y("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with"),
|
||
blockKeywords:Y("body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with"),builtin:Y("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:Y("exit failure success true false null"),hooks:{"@":function(y,n){y.eatWhile(/[\w\$_]/);return"meta"}}})})};
|
||
shadow$provide[484]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(474)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../clike/clike"],v):v(CodeMirror)})(function(v){function Y(J){for(var g={},h=0;h<J.length;++h)g[J[h]]=!0;return g}function y(J,g,h,c){function p(q,E){for(var w=!1;!q.eol();){if(!c&&!w&&"$"==q.peek()){q=E;(q.interpolationStack||(q.interpolationStack=[])).push(q.tokenize);E.tokenize=n;break}var t=q.next();if(t==J&&!w&&
|
||
(!m||q.match(J+J))){E.tokenize=null;break}w=!c&&!w&&"\\"==t}return"string"}var m=!1;if(g.eat(J))if(g.eat(J))m=!0;else return"string";h.tokenize=p;return p(g,h)}function n(J,g){J.eat("$");J.eat("{")?g.tokenize=null:g.tokenize=b;return null}function b(J,g){J.eatWhile(/[\w_]/);g.tokenize=(g.interpolationStack||(g.interpolationStack=[])).pop();return"variable"}function u(J){return function(g,h){for(var c;c=g.next();)if("*"==c&&g.eat("/"))if(1==J){h.tokenize=null;break}else return h.tokenize=u(J-1),h.tokenize(g,
|
||
h);else if("/"==c&&g.eat("*"))return h.tokenize=u(J+1),h.tokenize(g,h);return"comment"}}var z="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when inline".split(" "),A=["true","false","null"],
|
||
B="void bool num int double dynamic var String Null Never".split(" ");v.defineMIME("application/dart",{name:"clike",keywords:Y(z),blockKeywords:Y("try catch finally do else for if switch while".split(" ")),builtin:Y(B),atoms:Y(A),hooks:{"@":function(J){J.eatWhile(/[\w\$_\.]/);return"meta"},"'":function(J,g){return y("'",J,g,!1)},'"':function(J,g){return y('"',J,g,!1)},r:function(J,g){var h=J.peek();return"'"==h||'"'==h?y(J.next(),J,g,!0):!1},"}":function(J,g){return 0<(g.interpolationStack?g.interpolationStack.length:
|
||
0)?(g.tokenize=(g.interpolationStack||(g.interpolationStack=[])).pop(),null):!1},"/":function(J,g){if(!J.eat("*"))return!1;g.tokenize=u(1);return g.tokenize(J,g)},token:function(J,g,h){if("variable"==h&&RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g").test(J.current()))return"variable-2"}}});v.registerHelper("hintWords","application/dart",z.concat(A).concat(B));v.defineMode("dart",function(J){return v.getMode(J,"application/dart")},"clike")})};
|
||
shadow$provide[485]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("diff",function(){var Y={"+":"positive","-":"negative","@":"meta"};return{token:function(y){var n=y.string.search(/[\t ]+?$/);if(!y.sol()||0===n)return y.skipToEnd(),("error "+(Y[y.string.charAt(0)]||"")).replace(/ $/,"");var b=Y[y.peek()]||y.skipToEnd();-1===n?y.skipToEnd():y.pos=
|
||
n;return b}}});v.defineMIME("text/x-diff","diff")})};
|
||
shadow$provide[486]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){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},y={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};v.defineMode("xml",function(n,b){function u(V,T){function K(L){T.tokenize=L;return L(V,T)}var D=V.next();if("\x3c"==D){if(V.eat("!"))return V.eat("[")?V.match("CDATA[")?K(B("atom","]]\x3e")):null:V.match("--")?K(B("comment","--\x3e")):V.match("DOCTYPE",!0,!0)?(V.eatWhile(/[\w\._\-]/),K(J(1))):null;if(V.eat("?"))return V.eatWhile(/[\w\._\-]/),
|
||
T.tokenize=B("meta","?\x3e"),"meta";U=V.eat("/")?"closeTag":"openTag";T.tokenize=z;return"tag bracket"}if("\x26"==D)return(V.eat("#")?V.eat("x")?V.eatWhile(/[a-fA-F\d]/)&&V.eat(";"):V.eatWhile(/[\d]/)&&V.eat(";"):V.eatWhile(/[\w\.\-:]/)&&V.eat(";"))?"atom":"error";V.eatWhile(/[^&<]/);return null}function z(V,T){var K=V.next();if("\x3e"==K||"/"==K&&V.eat("\x3e"))return T.tokenize=u,U="\x3e"==K?"endTag":"selfcloseTag","tag bracket";if("\x3d"==K)return U="equals",null;if("\x3c"==K)return T.tokenize=
|
||
u,T.state=m,T.tagName=T.tagStart=null,(V=T.tokenize(V,T))?V+" tag error":"tag error";if(/['"]/.test(K))return T.tokenize=A(K),T.stringStartCol=V.column(),T.tokenize(V,T);V.match(/^[^\s\u00a0=<>"']*[^\s\u00a0=<>"'\/]/);return"word"}function A(V){var T=function(K,D){for(;!K.eol();)if(K.next()==V){D.tokenize=z;break}return"string"};T.isInAttribute=!0;return T}function B(V,T){return function(K,D){for(;!K.eol();){if(K.match(T)){D.tokenize=u;break}K.next()}return V}}function J(V){return function(T,K){for(var D;null!=
|
||
(D=T.next());){if("\x3c"==D)return K.tokenize=J(V+1),K.tokenize(T,K);if("\x3e"==D)if(1==V){K.tokenize=u;break}else return K.tokenize=J(V-1),K.tokenize(T,K)}return"meta"}}function g(V){return V&&V.toLowerCase()}function h(V,T,K){this.prev=V.context;this.tagName=T||"";this.indent=V.indented;this.startOfLine=K;if(aa.doNotIndent.hasOwnProperty(T)||V.context&&V.context.noIndent)this.noIndent=!0}function c(V){V.context&&(V.context=V.context.prev)}function p(V,T){for(var K;V.context;){K=V.context.tagName;
|
||
if(!aa.contextGrabbers.hasOwnProperty(g(K))||!aa.contextGrabbers[g(K)].hasOwnProperty(g(T)))break;c(V)}}function m(V,T,K){return"openTag"==V?(K.tagStart=T.column(),q):"closeTag"==V?E:m}function q(V,T,K){if("word"==V)return K.tagName=T.current(),P="tag",r;if(aa.allowMissingTagName&&"endTag"==V)return P="tag bracket",r(V,T,K);P="error";return q}function E(V,T,K){if("word"==V){V=T.current();K.context&&K.context.tagName!=V&&aa.implicitlyClosed.hasOwnProperty(g(K.context.tagName))&&c(K);if(K.context&&
|
||
K.context.tagName==V||!1===aa.matchClosing)return P="tag",w;P="tag error";return t}if(aa.allowMissingTagName&&"endTag"==V)return P="tag bracket",w(V,T,K);P="error";return t}function w(V,T,K){if("endTag"!=V)return P="error",w;c(K);return m}function t(V,T,K){P="error";return w(V,T,K)}function r(V,T,K){if("word"==V)return P="attribute",f;if("endTag"==V||"selfcloseTag"==V){T=K.tagName;var D=K.tagStart;K.tagName=K.tagStart=null;"selfcloseTag"==V||aa.autoSelfClosers.hasOwnProperty(g(T))?p(K,T):(p(K,T),
|
||
K.context=new h(K,T,D==K.indented));return m}P="error";return r}function f(V,T,K){if("equals"==V)return F;aa.allowMissing||(P="error");return r(V,T,K)}function F(V,T,K){if("string"==V)return C;if("word"==V&&aa.allowUnquoted)return P="string",r;P="error";return r(V,T,K)}function C(V,T,K){return"string"==V?C:r(V,T,K)}var M=n.indentUnit,aa={};n=b.htmlMode?Y:y;for(var O in n)aa[O]=n[O];for(O in b)aa[O]=b[O];var U,P;u.isInText=!0;return{startState:function(V){var T={tokenize:u,state:m,indented:V||0,tagName:null,
|
||
tagStart:null,context:null};null!=V&&(T.baseIndent=V);return T},token:function(V,T){!T.tagName&&V.sol()&&(T.indented=V.indentation());if(V.eatSpace())return null;U=null;var K=T.tokenize(V,T);(K||U)&&"comment"!=K&&(P=null,T.state=T.state(U||K,V,T),P&&(K="error"==P?K+" error":P));return K},indent:function(V,T,K){var D=V.context;if(V.tokenize.isInAttribute)return V.tagStart==V.indented?V.stringStartCol+1:V.indented+M;if(D&&D.noIndent)return v.Pass;if(V.tokenize!=z&&V.tokenize!=u)return K?K.match(/^(\s*)/)[0].length:
|
||
0;if(V.tagName)return!1!==aa.multilineTagIndentPastTag?V.tagStart+V.tagName.length+2:V.tagStart+M*(aa.multilineTagIndentFactor||1);if(aa.alignCDATA&&/<!\[CDATA\[/.test(T))return 0;if((T=T&&/^<(\/)?([\w_:\.-]*)/.exec(T))&&T[1])for(;D;)if(D.tagName==T[2]){D=D.prev;break}else if(aa.implicitlyClosed.hasOwnProperty(g(D.tagName)))D=D.prev;else break;else if(T)for(;D;)if((K=aa.contextGrabbers[g(D.tagName)])&&K.hasOwnProperty(g(T[2])))D=D.prev;else break;for(;D&&D.prev&&!D.startOfLine;)D=D.prev;return D?
|
||
D.indent+M:V.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:aa.htmlMode?"html":"xml",helperType:aa.htmlMode?"html":"xml",skipAttribute:function(V){V.state==F&&(V.state=r)},xmlCurrentTag:function(V){return V.tagName?{name:V.tagName,close:"closeTag"==V.type}:null},xmlCurrentContext:function(V){var T=[];for(V=V.context;V;V=V.prev)T.push(V.tagName);return T.reverse()}}});v.defineMIME("text/xml","xml");v.defineMIME("application/xml","xml");
|
||
v.mimeModes.hasOwnProperty("text/html")||v.defineMIME("text/html",{name:"xml",htmlMode:!0})})};
|
||
shadow$provide[487]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("javascript",function(Y,y){var n,b,u;function z(Hb,Sb,Ib){xf=Hb;Dh=Ib;return Sb}function A(Hb,Sb){var Ib=Hb.next();if('"'==Ib||"'"==Ib)return Sb.tokenize=B(Ib),Sb.tokenize(Hb,Sb);if("."==Ib&&Hb.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return z("number","number");if("."==Ib&&Hb.match(".."))return z("spread",
|
||
"meta");if(/[\[\]{}\(\),;:\.]/.test(Ib))return z(Ib);if("\x3d"==Ib&&Hb.eat("\x3e"))return z("\x3d\x3e","operator");if("0"==Ib&&Hb.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return z("number","number");if(/\d/.test(Ib))return Hb.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),z("number","number");if("/"==Ib){if(Hb.eat("*"))return Sb.tokenize=J,J(Hb,Sb);if(Hb.eat("/"))return Hb.skipToEnd(),z("comment","comment");if(Wd(Hb,Sb,1)){a:for(var Ad=Sb=!1;null!=(Ib=Hb.next());){if(!Sb){if("/"==
|
||
Ib&&!Ad)break a;"["==Ib?Ad=!0:Ad&&"]"==Ib&&(Ad=!1)}Sb=!Sb&&"\\"==Ib}Hb.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/);return z("regexp","string-2")}Hb.eat("\x3d");return z("operator","operator",Hb.current())}if("`"==Ib)return Sb.tokenize=g,g(Hb,Sb);if("#"==Ib&&"!"==Hb.peek())return Hb.skipToEnd(),z("meta","meta");if("#"==Ib&&Hb.eatWhile(mh))return z("variable","property");if("\x3c"==Ib&&Hb.match("!--")||"-"==Ib&&Hb.match("-\x3e")&&!/\S/.test(Hb.string.slice(0,Hb.start)))return Hb.skipToEnd(),z("comment",
|
||
"comment");if(Yf.test(Ib))return"\x3e"==Ib&&Sb.lexical&&"\x3e"==Sb.lexical.type||(Hb.eat("\x3d")?"!"!=Ib&&"\x3d"!=Ib||Hb.eat("\x3d"):/[<>*+\-|&?]/.test(Ib)&&(Hb.eat(Ib),"\x3e"==Ib&&Hb.eat(Ib))),"?"==Ib&&Hb.eat(".")?z("."):z("operator","operator",Hb.current());if(mh.test(Ib)){Hb.eatWhile(mh);Ib=Hb.current();if("."!=Sb.lastType){if(fg.propertyIsEnumerable(Ib))return Hb=fg[Ib],z(Hb.type,Hb.style,Ib);if("async"==Ib&&Hb.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return z("async","keyword",Ib)}return z("variable",
|
||
"variable",Ib)}}function B(Hb){return function(Sb,Ib){var Ad=!1,be;if(de&&"@"==Sb.peek()&&Sb.match(re))return Ib.tokenize=A,z("jsonld-keyword","meta");for(;null!=(be=Sb.next())&&(be!=Hb||Ad);)Ad=!Ad&&"\\"==be;Ad||(Ib.tokenize=A);return z("string","string")}}function J(Hb,Sb){for(var Ib=!1,Ad;Ad=Hb.next();){if("/"==Ad&&Ib){Sb.tokenize=A;break}Ib="*"==Ad}return z("comment","comment")}function g(Hb,Sb){for(var Ib=!1,Ad;null!=(Ad=Hb.next());){if(!Ib&&("`"==Ad||"$"==Ad&&Hb.eat("{"))){Sb.tokenize=A;break}Ib=
|
||
!Ib&&"\\"==Ad}return z("quasi","string-2",Hb.current())}function h(Hb,Sb){Sb.fatArrowAt&&(Sb.fatArrowAt=null);var Ib=Hb.string.indexOf("\x3d\x3e",Hb.start);if(!(0>Ib)){if(Ce){var Ad=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(Hb.string.slice(Hb.start,Ib));Ad&&(Ib=Ad.index)}Ad=0;var be=!1;for(--Ib;0<=Ib;--Ib){var Od=Hb.string.charAt(Ib),Hf="([{}])".indexOf(Od);if(0<=Hf&&3>Hf){if(!Ad){++Ib;break}if(0==--Ad){"("==Od&&(be=!0);break}}else if(3<=Hf&&6>Hf)++Ad;else if(mh.test(Od))be=!0;else if(/["'\/`]/.test(Od))for(;;--Ib){if(0==
|
||
Ib)return;if(Hb.string.charAt(Ib-1)==Od&&"\\"!=Hb.string.charAt(Ib-2)){Ib--;break}}else if(be&&!Ad){++Ib;break}}be&&!Ad&&(Sb.fatArrowAt=Ib)}}function c(Hb,Sb,Ib,Ad,be,Od){this.indented=Hb;this.column=Sb;this.type=Ib;this.prev=be;this.info=Od;null!=Ad&&(this.align=Ad)}function p(Hb,Sb,Ib,Ad,be){var Od=Hb.cc;n=Hb;b=be;u=null;yc=Od;Nf=Sb;Hb.lexical.hasOwnProperty("align")||(Hb.lexical.align=!0);for(;;)if((Od.length?Od.pop():$c?K:V)(Ib,Ad)){for(;Od.length&&Od[Od.length-1].lex;)Od.pop()();if(u)return u;
|
||
if(Ib="variable"==Ib)a:if(Kc){for(Ib=Hb.localVars;Ib;Ib=Ib.next)if(Ib.name==Ad){Ib=!0;break a}for(Hb=Hb.context;Hb;Hb=Hb.prev)for(Ib=Hb.vars;Ib;Ib=Ib.next)if(Ib.name==Ad){Ib=!0;break a}Ib=void 0}else Ib=!1;return Ib?"variable-2":Sb}}function m(){for(var Hb=arguments.length-1;0<=Hb;Hb--)yc.push(arguments[Hb])}function q(){m.apply(null,arguments);return!0}function E(Hb,Sb){for(;Sb;Sb=Sb.next)if(Sb.name==Hb)return!0;return!1}function w(Hb){var Sb=n;u="def";if(Kc){if(Sb.context)if("var"==Sb.lexical.info&&
|
||
Sb.context&&Sb.context.block){var Ib=t(Hb,Sb.context);if(null!=Ib){Sb.context=Ib;return}}else if(!E(Hb,Sb.localVars)){Sb.localVars=new F(Hb,Sb.localVars);return}y.globalVars&&!E(Hb,Sb.globalVars)&&(Sb.globalVars=new F(Hb,Sb.globalVars))}}function t(Hb,Sb){return Sb?Sb.block?(Hb=t(Hb,Sb.prev))?Hb==Sb.prev?Sb:new f(Hb,Sb.vars,!0):null:E(Hb,Sb.vars)?Sb:new f(Sb.prev,new F(Hb,Sb.vars),!1):null}function r(Hb){return"public"==Hb||"private"==Hb||"protected"==Hb||"abstract"==Hb||"readonly"==Hb}function f(Hb,
|
||
Sb,Ib){this.prev=Hb;this.vars=Sb;this.block=Ib}function F(Hb,Sb){this.name=Hb;this.next=Sb}function C(){n.context=new f(n.context,n.localVars,!1);n.localVars=ed}function M(){n.context=new f(n.context,n.localVars,!0);n.localVars=null}function aa(){n.localVars=n.context.vars;n.context=n.context.prev}function O(Hb,Sb){var Ib=function(){var Ad=n,be=Ad.indented;if("stat"==Ad.lexical.type)be=Ad.lexical.indented;else for(var Od=Ad.lexical;Od&&")"==Od.type&&Od.align;Od=Od.prev)be=Od.indented;Ad.lexical=new c(be,
|
||
b.column(),Hb,null,Ad.lexical,Sb)};Ib.lex=!0;return Ib}function U(){var Hb=n;Hb.lexical.prev&&(")"==Hb.lexical.type&&(Hb.indented=Hb.lexical.indented),Hb.lexical=Hb.lexical.prev)}function P(Hb){function Sb(Ib){return Ib==Hb?q():";"==Hb||"}"==Ib||")"==Ib||"]"==Ib?m():q(Sb)}return Sb}function V(Hb,Sb){return"var"==Hb?q(O("vardef",Sb),Ja,P(";"),U):"keyword a"==Hb?q(O("form"),L,V,U):"keyword b"==Hb?q(O("form"),V,U):"keyword d"==Hb?b.match(/^\s*$/,!1)?q():q(O("stat"),N,P(";"),U):"debugger"==Hb?q(P(";")):
|
||
"{"==Hb?q(O("}"),M,Ua,U,aa):";"==Hb?q():"if"==Hb?("else"==n.lexical.info&&n.cc[n.cc.length-1]==U&&n.cc.pop()(),q(O("form"),L,V,U,dc)):"function"==Hb?q(lc):"for"==Hb?q(O("form"),M,uc,V,aa,U):"class"==Hb||Ce&&"interface"==Sb?(u="keyword",q(O("form","class"==Hb?Hb:Sb),Oc,U)):"variable"==Hb?Ce&&"declare"==Sb?(u="keyword",q(V)):Ce&&("module"==Sb||"enum"==Sb||"type"==Sb)&&b.match(/^\s*\w/,!1)?(u="keyword","enum"==Sb?q(kd):"type"==Sb?q(vc,P("operator"),ia,P(";")):q(O("form"),bb,P("{"),O("}"),Ua,U,U)):Ce&&
|
||
"namespace"==Sb?(u="keyword",q(O("form"),K,V,U)):Ce&&"abstract"==Sb?(u="keyword",q(V)):q(O("stat"),va):"switch"==Hb?q(O("form"),L,P("{"),O("}","switch"),M,Ua,U,U,aa):"case"==Hb?q(K,P(":")):"default"==Hb?q(P(":")):"catch"==Hb?q(O("form"),C,T,V,U,aa):"export"==Hb?q(O("stat"),Cb,U):"import"==Hb?q(O("stat"),Wb,U):"async"==Hb?q(V):"@"==Sb?q(K,V):m(O("stat"),K,P(";"),U)}function T(Hb){if("("==Hb)return q(Fc,P(")"))}function K(Hb,Sb){return Q(Hb,Sb,!1)}function D(Hb,Sb){return Q(Hb,Sb,!0)}function L(Hb){return"("!=
|
||
Hb?m():q(O(")"),N,P(")"),U)}function Q(Hb,Sb,Ib){if(n.fatArrowAt==b.start){var Ad=Ib?ha:S;if("("==Hb)return q(C,O(")"),Va(Fc,")"),U,P("\x3d\x3e"),Ad,aa);if("variable"==Hb)return m(C,bb,P("\x3d\x3e"),Ad,aa)}Ad=Ib?R:la;return Tg.hasOwnProperty(Hb)?q(Ad):"function"==Hb?q(lc,Ad):"class"==Hb||Ce&&"interface"==Sb?(u="keyword",q(O("form"),tc,U)):"keyword c"==Hb||"async"==Hb?q(Ib?D:K):"("==Hb?q(O(")"),N,P(")"),U,Ad):"operator"==Hb||"spread"==Hb?q(Ib?D:K):"["==Hb?q(O("]"),fd,U,Ad):"{"==Hb?Ya(Ba,"}",null,Ad):
|
||
"quasi"==Hb?m(Z,Ad):"new"==Hb?q(W(Ib)):q()}function N(Hb){return Hb.match(/[;\}\)\],]/)?m():m(K)}function la(Hb,Sb){return","==Hb?q(N):R(Hb,Sb,!1)}function R(Hb,Sb,Ib){var Ad=0==Ib?la:R,be=0==Ib?K:D;if("\x3d\x3e"==Hb)return q(C,Ib?ha:S,aa);if("operator"==Hb)return/\+\+|--/.test(Sb)||Ce&&"!"==Sb?q(Ad):Ce&&"\x3c"==Sb&&b.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?q(O("\x3e"),Va(ia,"\x3e"),U,Ad):"?"==Sb?q(K,P(":"),be):q(be);if("quasi"==Hb)return m(Z,Ad);if(";"!=Hb){if("("==Hb)return Ya(D,")","call",Ad);if("."==
|
||
Hb)return q(Fa,Ad);if("["==Hb)return q(O("]"),N,P("]"),U,Ad);if(Ce&&"as"==Sb)return u="keyword",q(ia,Ad);if("regexp"==Hb)return n.lastType=u="operator",b.backUp(b.pos-b.start-1),q(be)}}function Z(Hb,Sb){return"quasi"!=Hb?m():"${"!=Sb.slice(Sb.length-2)?q(Z):q(N,X)}function X(Hb){if("}"==Hb)return u="string-2",n.tokenize=g,q(Z)}function S(Hb){h(b,n);return m("{"==Hb?V:K)}function ha(Hb){h(b,n);return m("{"==Hb?V:D)}function W(Hb){return function(Sb){return"."==Sb?q(Hb?wa:ra):"variable"==Sb&&Ce?q(Mb,
|
||
Hb?R:la):m(Hb?D:K)}}function ra(Hb,Sb){if("target"==Sb)return u="keyword",q(la)}function wa(Hb,Sb){if("target"==Sb)return u="keyword",q(R)}function va(Hb){return":"==Hb?q(U,V):m(la,P(";"),U)}function Fa(Hb){if("variable"==Hb)return u="property",q()}function Ba(Hb,Sb){if("async"==Hb)return u="property",q(Ba);if("variable"==Hb||"keyword"==Nf){u="property";if("get"==Sb||"set"==Sb)return q(Ka);var Ib;Ce&&n.fatArrowAt==b.start&&(Ib=b.match(/^\s*:\s*/,!1))&&(n.fatArrowAt=b.pos+Ib[0].length);return q(Oa)}if("number"==
|
||
Hb||"string"==Hb)return u=de?"property":Nf+" property",q(Oa);if("jsonld-keyword"==Hb)return q(Oa);if(Ce&&r(Sb))return u="keyword",q(Ba);if("["==Hb)return q(K,La,P("]"),Oa);if("spread"==Hb)return q(D,Oa);if("*"==Sb)return u="keyword",q(Ba);if(":"==Hb)return m(Oa)}function Ka(Hb){if("variable"!=Hb)return m(Oa);u="property";return q(lc)}function Oa(Hb){if(":"==Hb)return q(D);if("("==Hb)return m(lc)}function Va(Hb,Sb,Ib){function Ad(be,Od){return(Ib?-1<Ib.indexOf(be):","==be)?(be=n.lexical,"call"==be.info&&
|
||
(be.pos=(be.pos||0)+1),q(function(Hf,kb){return Hf==Sb||kb==Sb?m():m(Hb)},Ad)):be==Sb||Od==Sb?q():Ib&&-1<Ib.indexOf(";")?m(Hb):q(P(Sb))}return function(be,Od){return be==Sb||Od==Sb?q():m(Hb,Ad)}}function Ya(Hb,Sb,Ib){for(var Ad=3;Ad<arguments.length;Ad++)yc.push(arguments[Ad]);return q(O(Sb,Ib),Va(Hb,Sb),U)}function Ua(Hb){return"}"==Hb?q():m(V,Ua)}function La(Hb,Sb){if(Ce){if(":"==Hb)return q(ia);if("?"==Sb)return q(La)}}function ma(Hb,Sb){if(Ce&&(":"==Hb||"in"==Sb))return q(ia)}function ja(Hb){if(Ce&&
|
||
":"==Hb)return b.match(/^\s*\w+\s+is\b/,!1)?q(K,oa,ia):q(ia)}function oa(Hb,Sb){if("is"==Sb)return u="keyword",q()}function ia(Hb,Sb){if("keyof"==Sb||"typeof"==Sb||"infer"==Sb||"readonly"==Sb)return u="keyword",q("typeof"==Sb?D:ia);if("variable"==Hb||"void"==Sb)return u="type",q(tb);if("|"==Sb||"\x26"==Sb)return q(ia);if("string"==Hb||"number"==Hb||"atom"==Hb)return q(tb);if("["==Hb)return q(O("]"),Va(ia,"]",","),U,tb);if("{"==Hb)return q(O("}"),Ea,U,tb);if("("==Hb)return q(Va(cb,")"),sa,tb);if("\x3c"==
|
||
Hb)return q(Va(ia,"\x3e"),ia);if("quasi"==Hb)return m(Xa,tb)}function sa(Hb){if("\x3d\x3e"==Hb)return q(ia)}function Ea(Hb){return Hb.match(/[\}\)\]]/)?q():","==Hb||";"==Hb?q(Ea):m(Qa,Ea)}function Qa(Hb,Sb){if("variable"==Hb||"keyword"==Nf)return u="property",q(Qa);if("?"==Sb||"number"==Hb||"string"==Hb)return q(Qa);if(":"==Hb)return q(ia);if("["==Hb)return q(P("variable"),ma,P("]"),Qa);if("("==Hb)return m(Ab,Qa);if(!Hb.match(/[;\}\)\],]/))return q()}function Xa(Hb,Sb){return"quasi"!=Hb?m():"${"!=
|
||
Sb.slice(Sb.length-2)?q(Xa):q(ia,Pa)}function Pa(Hb){if("}"==Hb)return u="string-2",n.tokenize=g,q(Xa)}function cb(Hb,Sb){return"variable"==Hb&&b.match(/^\s*[?:]/,!1)||"?"==Sb?q(cb):":"==Hb?q(ia):"spread"==Hb?q(cb):m(ia)}function tb(Hb,Sb){if("\x3c"==Sb)return q(O("\x3e"),Va(ia,"\x3e"),U,tb);if("|"==Sb||"."==Hb||"\x26"==Sb)return q(ia);if("["==Hb)return q(ia,P("]"),tb);if("extends"==Sb||"implements"==Sb)return u="keyword",q(ia);if("?"==Sb)return q(ia,P(":"),ia)}function Mb(Hb,Sb){if("\x3c"==Sb)return q(O("\x3e"),
|
||
Va(ia,"\x3e"),U,tb)}function yb(){return m(ia,ob)}function ob(Hb,Sb){if("\x3d"==Sb)return q(ia)}function Ja(Hb,Sb){return"enum"==Sb?(u="keyword",q(kd)):m(bb,La,ub,Yb)}function bb(Hb,Sb){if(Ce&&r(Sb))return u="keyword",q(bb);if("variable"==Hb)return w(Sb),q();if("spread"==Hb)return q(bb);if("["==Hb)return Ya(Qb,"]");if("{"==Hb)return Ya(hb,"}")}function hb(Hb,Sb){if("variable"==Hb&&!b.match(/^\s*:/,!1))return w(Sb),q(ub);"variable"==Hb&&(u="property");return"spread"==Hb?q(bb):"}"==Hb?m():"["==Hb?q(K,
|
||
P("]"),P(":"),hb):q(P(":"),bb,ub)}function Qb(){return m(bb,ub)}function ub(Hb,Sb){if("\x3d"==Sb)return q(D)}function Yb(Hb){if(","==Hb)return q(Ja)}function dc(Hb,Sb){if("keyword b"==Hb&&"else"==Sb)return q(O("form","else"),V,U)}function uc(Hb,Sb){if("await"==Sb)return q(uc);if("("==Hb)return q(O(")"),xc,U)}function xc(Hb){return"var"==Hb?q(Ja,Gb):"variable"==Hb?q(Gb):m(Gb)}function Gb(Hb,Sb){return")"==Hb?q():";"==Hb?q(Gb):"in"==Sb||"of"==Sb?(u="keyword",q(K,Gb)):m(K,Gb)}function lc(Hb,Sb){if("*"==
|
||
Sb)return u="keyword",q(lc);if("variable"==Hb)return w(Sb),q(lc);if("("==Hb)return q(C,O(")"),Va(Fc,")"),U,ja,V,aa);if(Ce&&"\x3c"==Sb)return q(O("\x3e"),Va(yb,"\x3e"),U,lc)}function Ab(Hb,Sb){if("*"==Sb)return u="keyword",q(Ab);if("variable"==Hb)return w(Sb),q(Ab);if("("==Hb)return q(C,O(")"),Va(Fc,")"),U,ja,aa);if(Ce&&"\x3c"==Sb)return q(O("\x3e"),Va(yb,"\x3e"),U,Ab)}function vc(Hb,Sb){if("keyword"==Hb||"variable"==Hb)return u="type",q(vc);if("\x3c"==Sb)return q(O("\x3e"),Va(yb,"\x3e"),U)}function Fc(Hb,
|
||
Sb){"@"==Sb&&q(K,Fc);return"spread"==Hb?q(Fc):Ce&&r(Sb)?(u="keyword",q(Fc)):Ce&&"this"==Hb?q(La,ub):m(bb,La,ub)}function tc(Hb,Sb){return"variable"==Hb?Oc(Hb,Sb):dd(Hb,Sb)}function Oc(Hb,Sb){if("variable"==Hb)return w(Sb),q(dd)}function dd(Hb,Sb){if("\x3c"==Sb)return q(O("\x3e"),Va(yb,"\x3e"),U,dd);if("extends"==Sb||"implements"==Sb||Ce&&","==Hb)return"implements"==Sb&&(u="keyword"),q(Ce?ia:K,dd);if("{"==Hb)return q(O("}"),Vc,U)}function Vc(Hb,Sb){if("async"==Hb||"variable"==Hb&&("static"==Sb||"get"==
|
||
Sb||"set"==Sb||Ce&&r(Sb))&&b.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return u="keyword",q(Vc);if("variable"==Hb||"keyword"==Nf)return u="property",q(jd,Vc);if("number"==Hb||"string"==Hb)return q(jd,Vc);if("["==Hb)return q(K,La,P("]"),jd,Vc);if("*"==Sb)return u="keyword",q(Vc);if(Ce&&"("==Hb)return m(Ab,Vc);if(";"==Hb||","==Hb)return q(Vc);if("}"==Hb)return q();if("@"==Sb)return q(K,Vc)}function jd(Hb,Sb){if("!"==Sb||"?"==Sb)return q(jd);if(":"==Hb)return q(ia,ub);if("\x3d"==Sb)return q(D);Hb=n.lexical.prev;
|
||
return m(Hb&&"interface"==Hb.info?Ab:lc)}function Cb(Hb,Sb){return"*"==Sb?(u="keyword",q(Ac,P(";"))):"default"==Sb?(u="keyword",q(K,P(";"))):"{"==Hb?q(Va($b,"}"),Ac,P(";")):m(V)}function $b(Hb,Sb){if("as"==Sb)return u="keyword",q(P("variable"));if("variable"==Hb)return m(D,$b)}function Wb(Hb){return"string"==Hb?q():"("==Hb?m(K):"."==Hb?m(la):m(jb,sb,Ac)}function jb(Hb,Sb){if("{"==Hb)return Ya(jb,"}");"variable"==Hb&&w(Sb);"*"==Sb&&(u="keyword");return q(ac)}function sb(Hb){if(","==Hb)return q(jb,
|
||
sb)}function ac(Hb,Sb){if("as"==Sb)return u="keyword",q(jb)}function Ac(Hb,Sb){if("from"==Sb)return u="keyword",q(K)}function fd(Hb){return"]"==Hb?q():m(Va(D,"]"))}function kd(){return m(O("form"),bb,P("{"),O("}"),Va(wd,"}"),U,U)}function wd(){return m(bb,ub)}function Wd(Hb,Sb,Ib){return Sb.tokenize==A&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Sb.lastType)||"quasi"==Sb.lastType&&/\{\s*$/.test(Hb.string.slice(0,Hb.pos-(Ib||0)))}var Qd=Y.indentUnit,Ge=y.statementIndent,
|
||
de=y.jsonld,$c=y.json||de,Kc=!1!==y.trackScope,Ce=y.typescript,mh=y.wordCharacters||/[\w$\xa1-\uffff]/,fg=function(){function Hb(kb){return{type:kb,style:"keyword"}}var Sb=Hb("keyword a"),Ib=Hb("keyword b"),Ad=Hb("keyword c"),be=Hb("keyword d"),Od=Hb("operator"),Hf={type:"atom",style:"atom"};return{"if":Hb("if"),"while":Sb,"with":Sb,"else":Ib,"do":Ib,"try":Ib,"finally":Ib,"return":be,"break":be,"continue":be,"new":Hb("new"),"delete":Ad,"void":Ad,"throw":Ad,"debugger":Hb("debugger"),"var":Hb("var"),
|
||
"const":Hb("var"),let:Hb("var"),"function":Hb("function"),"catch":Hb("catch"),"for":Hb("for"),"switch":Hb("switch"),"case":Hb("case"),"default":Hb("default"),"in":Od,"typeof":Od,"instanceof":Od,"true":Hf,"false":Hf,"null":Hf,undefined:Hf,NaN:Hf,Infinity:Hf,"this":Hb("this"),"class":Hb("class"),"super":Hb("atom"),yield:Ad,"export":Hb("export"),"import":Hb("import"),"extends":Ad,await:Ad}}(),Yf=/[+\-*&%=<>!?|~^@]/,re=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,
|
||
xf,Dh,Tg={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"import":!0,"jsonld-keyword":!0};var yc=u=n=null;var Nf=b=void 0;var ed=new F("this",new F("arguments",null));C.lex=M.lex=!0;aa.lex=!0;U.lex=!0;return{startState:function(Hb){Hb={tokenize:A,lastType:"sof",cc:[],lexical:new c((Hb||0)-Qd,0,"block",!1),localVars:y.localVars,context:y.localVars&&new f(null,null,!1),indented:Hb||0};y.globalVars&&"object"==typeof y.globalVars&&(Hb.globalVars=y.globalVars);return Hb},token:function(Hb,
|
||
Sb){Hb.sol()&&(Sb.lexical.hasOwnProperty("align")||(Sb.lexical.align=!1),Sb.indented=Hb.indentation(),h(Hb,Sb));if(Sb.tokenize!=J&&Hb.eatSpace())return null;var Ib=Sb.tokenize(Hb,Sb);if("comment"==xf)return Ib;Sb.lastType="operator"!=xf||"++"!=Dh&&"--"!=Dh?xf:"incdec";return p(Sb,Ib,xf,Dh,Hb)},indent:function(Hb,Sb){if(Hb.tokenize==J||Hb.tokenize==g)return v.Pass;if(Hb.tokenize!=A)return 0;var Ib=Sb&&Sb.charAt(0),Ad=Hb.lexical,be;if(!/^\s*else\b/.test(Sb))for(var Od=Hb.cc.length-1;0<=Od;--Od){var Hf=
|
||
Hb.cc[Od];if(Hf==U)Ad=Ad.prev;else if(Hf!=dc&&Hf!=aa)break}for(;!("stat"!=Ad.type&&"form"!=Ad.type||"}"!=Ib&&(!(be=Hb.cc[Hb.cc.length-1])||be!=la&&be!=R||/^[,\.=+\-*:?[\(]/.test(Sb)));)Ad=Ad.prev;Ge&&")"==Ad.type&&"stat"==Ad.prev.type&&(Ad=Ad.prev);be=Ad.type;Od=Ib==be;return"vardef"==be?Ad.indented+("operator"==Hb.lastType||","==Hb.lastType?Ad.info.length+1:0):"form"==be&&"{"==Ib?Ad.indented:"form"==be?Ad.indented+Qd:"stat"==be?(Ib=Ad.indented,Hb="operator"==Hb.lastType||","==Hb.lastType||Yf.test(Sb.charAt(0))||
|
||
/[,.]/.test(Sb.charAt(0)),Ib+(Hb?Ge||Qd:0)):"switch"!=Ad.info||Od||0==y.doubleIndentSwitch?Ad.align?Ad.column+(Od?0:1):Ad.indented+(Od?0:Qd):Ad.indented+(/^(?:case|default)\b/.test(Sb)?Qd:2*Qd)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:$c?null:"/*",blockCommentEnd:$c?null:"*/",blockCommentContinue:$c?null:" * ",lineComment:$c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:$c?"json":"javascript",jsonldMode:de,jsonMode:$c,expressionAllowed:Wd,skipExpression:function(Hb){p(Hb,
|
||
"atom","atom","true",new v.StringStream("",2,null))}}});v.registerHelper("wordChars","javascript",/[\w$]/);v.defineMIME("text/javascript","javascript");v.defineMIME("text/ecmascript","javascript");v.defineMIME("application/javascript","javascript");v.defineMIME("application/x-javascript","javascript");v.defineMIME("application/ecmascript","javascript");v.defineMIME("application/json",{name:"javascript",json:!0});v.defineMIME("application/x-json",{name:"javascript",json:!0});v.defineMIME("application/manifest+json",
|
||
{name:"javascript",json:!0});v.defineMIME("application/ld+json",{name:"javascript",jsonld:!0});v.defineMIME("text/typescript",{name:"javascript",typescript:!0});v.defineMIME("application/typescript",{name:"javascript",typescript:!0})})};
|
||
shadow$provide[488]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(486),ba(487),ba(481)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],v):v(CodeMirror)})(function(v){function Y(u,z){for(var A in u)for(var B=z[A]||(z[A]=[]),J=u[A],g=J.length-1;0<=g;g--)B.unshift(J[g])}function y(u,z){for(var A=0;A<u.length;A++){var B=u[A],J;if(!(J=!B[0])){J=B[1];var g=J.test;var h=z;var c=h.match;var p=
|
||
B[0];var m=b[p];p=m?m:b[p]=new RegExp("\\s+"+p+"\\s*\x3d\\s*('|\")?([^'\"]+)('|\")?\\s*");h=(h=c.call(h,p))?/^\s*(.*?)\s*$/.exec(h[2])[1]:"";J=g.call(J,h)}if(J)return B[2]}}var n={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},b=
|
||
{};v.defineMode("htmlmixed",function(u,z){function A(h,c){var p=B.token(h,c.htmlState),m=/\btag\b/.test(p),q;if(m&&!/[<>\s\/]/.test(h.current())&&(q=c.htmlState.tagName&&c.htmlState.tagName.toLowerCase())&&J.hasOwnProperty(q))c.inTag=q+" ";else if(c.inTag&&m&&/>$/.test(h.current())){m=/^([\S]+) (.*)/.exec(c.inTag);c.inTag=null;h="\x3e"==h.current()&&y(J[m[1]],m[2]);h=v.getMode(u,h);var E=new RegExp("^\x3c/\\s*"+m[1]+"\\s*\x3e","i"),w=new RegExp("\x3c/\\s*"+m[1]+"\\s*\x3e","i");c.token=function(t,
|
||
r){if(t.match(E,!1))return r.token=A,r.localState=r.localMode=null;r=r.localMode.token(t,r.localState);var f=t.current(),F=f.search(w);-1<F?t.backUp(f.length-F):f.match(/<\/?$/)&&(t.backUp(f.length),t.match(w,!1)||t.match(f));return r};c.localMode=h;c.localState=v.startState(h,B.indent(c.htmlState,"",""))}else c.inTag&&(c.inTag+=h.current(),h.eol()&&(c.inTag+=" "));return p}var B=v.getMode(u,{name:"xml",htmlMode:!0,multilineTagIndentFactor:z.multilineTagIndentFactor,multilineTagIndentPastTag:z.multilineTagIndentPastTag,
|
||
allowMissingTagName:z.allowMissingTagName}),J={},g=z&&z.tags;z=z&&z.scriptTypes;Y(n,J);g&&Y(g,J);if(z)for(g=z.length-1;0<=g;g--)J.script.unshift(["type",z[g].matches,z[g].mode]);return{startState:function(){var h=v.startState(B);return{token:A,inTag:null,localMode:null,localState:null,htmlState:h}},copyState:function(h){var c;h.localState&&(c=v.copyState(h.localMode,h.localState));return{token:h.token,inTag:h.inTag,localMode:h.localMode,localState:c,htmlState:v.copyState(B,h.htmlState)}},token:function(h,
|
||
c){return c.token(h,c)},indent:function(h,c,p){return!h.localMode||/^\s*<\//.test(c)?B.indent(h.htmlState,c,p):h.localMode.indent?h.localMode.indent(h.localState,c,p):v.Pass},innerMode:function(h){return{state:h.localState||h.htmlState,mode:h.localMode||B}}}},"xml","javascript","css");v.defineMIME("text/html","htmlmixed")})};
|
||
shadow$provide[489]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.overlayMode=function(Y,y,n){return{startState:function(){return{base:v.startState(Y),overlay:v.startState(y),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(b){return{base:v.copyState(Y,b.base),overlay:v.copyState(y,b.overlay),basePos:b.basePos,baseCur:null,
|
||
overlayPos:b.overlayPos,overlayCur:null}},token:function(b,u){if(b!=u.streamSeen||Math.min(u.basePos,u.overlayPos)<b.start)u.streamSeen=b,u.basePos=u.overlayPos=b.start;b.start==u.basePos&&(u.baseCur=Y.token(b,u.base),u.basePos=b.pos);b.start==u.overlayPos&&(b.pos=b.start,u.overlayCur=y.token(b,u.overlay),u.overlayPos=b.pos);b.pos=Math.min(u.basePos,u.overlayPos);return null==u.overlayCur?u.baseCur:null!=u.baseCur&&u.overlay.combineTokens||n&&null==u.overlay.combineTokens?u.baseCur+" "+u.overlayCur:
|
||
u.overlayCur},indent:Y.indent&&function(b,u,z){return Y.indent(b.base,u,z)},electricChars:Y.electricChars,innerMode:function(b){return{state:b.base,mode:Y}},blankLine:function(b){var u,z;Y.blankLine&&(u=Y.blankLine(b.base));y.blankLine&&(z=y.blankLine(b.overlay));return null==z?u:n&&null!=u?u+" "+z:z}}}})};
|
||
shadow$provide[490]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(488),ba(489)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/overlay"],v):v(CodeMirror)})(function(v){v.defineMode("django:inner",function(){function Y(h,c){if(h.match("{{"))return c.tokenize=n,"tag";if(h.match("{%"))return c.tokenize=b,"tag";if(h.match("{#"))return c.tokenize=u,"comment";for(;null!=h.next()&&!h.match(/\{[{%#]/,
|
||
!1););return null}function y(h,c){return function(p,m){!m.escapeNext&&p.eat(h)?m.tokenize=c:(m.escapeNext&&(m.escapeNext=!1),"\\"==p.next()&&(m.escapeNext=!0));return"string"}}function n(h,c){if(c.waitDot){c.waitDot=!1;if("."!=h.peek())return"null";if(h.match(/\.\W+/))return"error";if(h.eat("."))return c.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.");}if(c.waitPipe){c.waitPipe=!1;if("|"!=h.peek())return"null";if(h.match(/\.\W+/))return"error";if(h.eat("|"))return c.waitFilter=
|
||
!0,"null";throw Error("Unexpected error while waiting for filter.");}if(c.waitProperty&&(c.waitProperty=!1,h.match(/\b(\w+)\b/)))return c.waitDot=!0,c.waitPipe=!0,"property";if(c.waitFilter&&(c.waitFilter=!1,h.match(B)))return"variable-2";if(h.eatSpace())return c.waitProperty=!1,"null";if(h.match(/\b\d+(\.\d+)?\b/))return"number";if(h.match("'"))return c.tokenize=y("'",c.tokenize),"string";if(h.match('"'))return c.tokenize=y('"',c.tokenize),"string";if(h.match(/\b(\w+)\b/)&&!c.foundVariable)return c.waitDot=
|
||
!0,c.waitPipe=!0,"variable";if(h.match("}}"))return c.waitProperty=null,c.waitFilter=null,c.waitDot=null,c.waitPipe=null,c.tokenize=Y,"tag";h.next();return"null"}function b(h,c){if(c.waitDot){c.waitDot=!1;if("."!=h.peek())return"null";if(h.match(/\.\W+/))return"error";if(h.eat("."))return c.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.");}if(c.waitPipe){c.waitPipe=!1;if("|"!=h.peek())return"null";if(h.match(/\.\W+/))return"error";if(h.eat("|"))return c.waitFilter=
|
||
!0,"null";throw Error("Unexpected error while waiting for filter.");}if(c.waitProperty&&(c.waitProperty=!1,h.match(/\b(\w+)\b/)))return c.waitDot=!0,c.waitPipe=!0,"property";if(c.waitFilter&&(c.waitFilter=!1,h.match(B)))return"variable-2";if(h.eatSpace())return c.waitProperty=!1,"null";if(h.match(/\b\d+(\.\d+)?\b/))return"number";if(h.match("'"))return c.tokenize=y("'",c.tokenize),"string";if(h.match('"'))return c.tokenize=y('"',c.tokenize),"string";if(h.match(J))return"operator";if(h.match(g))return"keyword";
|
||
var p=h.match(A);if(p)return"comment"==p[0]&&(c.blockCommentTag=!0),"keyword";if(h.match(/\b(\w+)\b/))return c.waitDot=!0,c.waitPipe=!0,"variable";if(h.match("%}"))return c.waitProperty=null,c.waitFilter=null,c.waitDot=null,c.waitPipe=null,c.blockCommentTag?(c.blockCommentTag=!1,c.tokenize=z):c.tokenize=Y,"tag";h.next();return"null"}function u(h,c){h.match(/^.*?#\}/)?c.tokenize=Y:h.skipToEnd();return"comment"}function z(h,c){if(h.match(/\{%\s*endcomment\s*%\}/,!1))return c.tokenize=b,h.match("{%"),
|
||
"tag";h.next();return"comment"}var A="block endblock for endfor true false filter endfilter loop none self super if elif endif as else import with endwith without context ifequal endifequal ifnotequal endifnotequal extends include load comment endcomment empty url static trans blocktrans endblocktrans now regroup lorem ifchanged endifchanged firstof debug cycle csrf_token autoescape endautoescape spaceless endspaceless ssi templatetag verbatim endverbatim widthratio".split(" "),B="add addslashes capfirst center cut date default default_if_none dictsort dictsortreversed divisibleby escape escapejs filesizeformat first floatformat force_escape get_digit iriencode join last length length_is linebreaks linebreaksbr linenumbers ljust lower make_list phone2numeric pluralize pprint random removetags rjust safe safeseq slice slugify stringformat striptags time timesince timeuntil title truncatechars truncatechars_html truncatewords truncatewords_html unordered_list upper urlencode urlize urlizetrunc wordcount wordwrap yesno".split(" "),
|
||
J="\x3d\x3d !\x3d \x3c \x3e \x3c\x3d \x3e\x3d".split(" "),g=["in","not","or","and"];A=new RegExp("^\\b("+A.join("|")+")\\b");B=new RegExp("^\\b("+B.join("|")+")\\b");J=new RegExp("^\\b("+J.join("|")+")\\b");g=new RegExp("^\\b("+g.join("|")+")\\b");return{startState:function(){return{tokenize:Y}},token:function(h,c){return c.tokenize(h,c)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}});v.defineMode("django",function(Y){var y=v.getMode(Y,"text/html");Y=v.getMode(Y,"django:inner");
|
||
return v.overlayMode(y,Y)});v.defineMIME("text/x-django","django")})};
|
||
shadow$provide[491]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(B,J){if(!B.hasOwnProperty(J))throw Error("Undefined state "+J+" in simple mode");}function y(B,J){if(!B)return/(?:)/;var g="";B instanceof RegExp?(B.ignoreCase&&(g="i"),B.unicode&&(g+="u"),B=B.source):B=String(B);return new RegExp((!1===J?"":"^")+"(?:"+B+")",g)}function n(B){if(!B)return null;
|
||
if(B.apply)return B;if("string"==typeof B)return B.replace(/\./g," ");for(var J=[],g=0;g<B.length;g++)J.push(B[g]&&B[g].replace(/\./g," "));return J}function b(B,J){(B.next||B.push)&&Y(J,B.next||B.push);this.regex=y(B.regex);this.token=n(B.token);this.data=B}function u(B,J){return function(g,h){if(h.pending){var c=h.pending.shift();0==h.pending.length&&(h.pending=null);g.pos+=c.text.length;return c.token}if(h.local){if(h.local.end&&g.match(h.local.end))c=h.local.endToken||null,h.local=h.localState=
|
||
null;else{c=h.local.mode.token(g,h.localState);var p;h.local.endScan&&(p=h.local.endScan.exec(g.current()))&&(g.pos=g.start+p.index)}return c}for(var m=B[h.state],q=0;q<m.length;q++)if(c=m[q],p=(!c.data.sol||g.sol())&&g.match(c.regex)){c.data.next?h.state=c.data.next:c.data.push?((h.stack||(h.stack=[])).push(h.state),h.state=c.data.push):c.data.pop&&h.stack&&h.stack.length&&(h.state=h.stack.pop());if(c.data.mode){m=void 0;var E=J;q=h;var w=c.data.mode,t=c.token;if(w.persistent)for(var r=q.persistentStates;r&&
|
||
!m;r=r.next)if(w.spec?z(w.spec,r.spec):w.mode==r.mode)m=r;E=m?m.mode:w.mode||v.getMode(E,w.spec);r=m?m.state:v.startState(E);w.persistent&&!m&&(q.persistentStates={mode:E,spec:w.spec,state:r,next:q.persistentStates});q.localState=r;q.local={mode:E,end:w.end&&y(w.end),endScan:w.end&&!1!==w.forceEnd&&y(w.end,!1),endToken:t&&t.join?t[t.length-1]:t}}c.data.indent&&h.indent.push(g.indentation()+J.indentUnit);c.data.dedent&&h.indent.pop();(m=c.token)&&m.apply&&(m=m(p));if(2<p.length&&c.token&&"string"!=
|
||
typeof c.token){for(q=2;q<p.length;q++)p[q]&&(h.pending||(h.pending=[])).push({text:p[q],token:c.token[q-1]});g.backUp(p[0].length-(p[1]?p[1].length:0));return m[0]}return m&&m.join?m[0]:m}g.next();return null}}function z(B,J){if(B===J)return!0;if(!B||"object"!=typeof B||!J||"object"!=typeof J)return!1;var g=0,h;for(h in B)if(B.hasOwnProperty(h)){if(!J.hasOwnProperty(h)||!z(B[h],J[h]))return!1;g++}for(h in J)J.hasOwnProperty(h)&&g--;return 0==g}function A(B,J){return function(g,h,c){if(g.local&&g.local.mode.indent)return g.local.mode.indent(g.localState,
|
||
h,c);if(!(c=null==g.indent||g.local)&&(c=J.dontIndentStates)){a:{c=J.dontIndentStates;for(var p=0;p<c.length;p++)if(c[p]===g.state){c=!0;break a}c=void 0}c=-1<c}if(c)return v.Pass;c=g.indent.length-1;p=B[g.state];a:for(;;){for(var m=0;m<p.length;m++){var q=p[m];if(q.data.dedent&&!1!==q.data.dedentIfLineStart){var E=q.regex.exec(h);if(E&&E[0]){c--;if(q.next||q.push)p=B[q.next||q.push];h=h.slice(E[0].length);continue a}}}break}return 0>c?0:g.indent[c]}}v.defineSimpleMode=function(B,J){v.defineMode(B,
|
||
function(g){return v.simpleMode(g,J)})};v.simpleMode=function(B,J){Y(J,"start");var g={},h=J.meta||{},c=!1,p;for(p in J)if(p!=h&&J.hasOwnProperty(p))for(var m=g[p]=[],q=J[p],E=0;E<q.length;E++){var w=q[E];m.push(new b(w,J));if(w.indent||w.dedent)c=!0}B={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:c?[]:null}},copyState:function(r){var f={state:r.state,pending:r.pending,local:r.local,localState:null,indent:r.indent&&r.indent.slice(0)};r.localState&&(f.localState=
|
||
v.copyState(r.local.mode,r.localState));r.stack&&(f.stack=r.stack.slice(0));for(var F=r.persistentStates;F;F=F.next)f.persistentStates={mode:F.mode,spec:F.spec,state:F.state==r.localState?f.localState:v.copyState(F.mode,F.state),next:f.persistentStates};return f},token:u(g,B),innerMode:function(r){return r.local&&{mode:r.local.mode,state:r.localState}},indent:A(g,h)};if(h)for(var t in h)h.hasOwnProperty(t)&&(B[t]=h[t]);return B}})};
|
||
shadow$provide[492]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(491)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../addon/mode/simple"],v):v(CodeMirror)})(function(v){var Y=RegExp("^(\\s*)\\b(from)\\b","i"),y=["run","cmd","entrypoint","shell"],n=new RegExp("^(\\s*)("+y.join("|")+")(\\s+\\[)","i"),b=RegExp("^(\\s*)(expose)(\\s+)","i");y="("+["from","expose"].concat(y).concat("arg from maintainer label env add copy volume user workdir onbuild stopsignal healthcheck shell".split(" ")).join("|")+
|
||
")";v.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:Y,token:[null,"keyword"],sol:!0,next:"from"},{regex:new RegExp("^(\\s*)"+y+"(\\s*)(#.*)?$","i"),token:[null,"keyword",null,"error"],sol:!0},{regex:n,token:[null,"keyword",null],sol:!0,next:"array"},{regex:b,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:new RegExp("^(\\s*)"+y+"(\\s+)","i"),token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,
|
||
next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},
|
||
{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],meta:{lineComment:"#"}});v.defineMIME("text/x-dockerfile",
|
||
"dockerfile")})};
|
||
shadow$provide[493]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("dtd",function(Y){function y(J,g){B=g;return J}function n(J,g){var h=J.next();if("\x3c"==h&&J.eat("!")){if(J.eatWhile(/[\-]/))return g.tokenize=b,b(J,g);if(J.eatWhile(/[\w]/))return y("keyword","doindent")}else{if("\x3c"==h&&J.eat("?"))return g.tokenize=z("meta","?\x3e"),y("meta",h);
|
||
if("#"==h&&J.eatWhile(/[\w]/))return y("atom","tag");if("|"==h)return y("keyword","separator");if(h.match(/[\(\)\[\]\-\.,\+\?>]/))return y(null,h);if(h.match(/[\[\]]/))return y("rule",h);if('"'==h||"'"==h)return g.tokenize=u(h),g.tokenize(J,g);if(J.eatWhile(/[a-zA-Z\?\+\d]/))return g=J.current(),null!==g.substr(g.length-1,g.length).match(/\?|\+/)&&J.backUp(1),y("tag","tag");if("%"==h||"*"==h)return y("number","number");J.eatWhile(/[\w\\\-_%.{,]/);return y(null,null)}}function b(J,g){for(var h=0,c;null!=
|
||
(c=J.next());){if(2<=h&&"\x3e"==c){g.tokenize=n;break}h="-"==c?h+1:0}return y("comment","comment")}function u(J){return function(g,h){for(var c=!1,p;null!=(p=g.next());){if(p==J&&!c){h.tokenize=n;break}c=!c&&"\\"==p}return y("string","tag")}}function z(J,g){return function(h,c){for(;!h.eol();){if(h.match(g)){c.tokenize=n;break}h.next()}return J}}var A=Y.indentUnit,B;return{startState:function(J){return{tokenize:n,baseIndent:J||0,stack:[]}},token:function(J,g){if(J.eatSpace())return null;var h=g.tokenize(J,
|
||
g),c=g.stack[g.stack.length-1];"["==J.current()||"doindent"===B||"["==B?g.stack.push("rule"):"endtag"===B?g.stack[g.stack.length-1]="endtag":"]"==J.current()||"]"==B||"\x3e"==B&&"rule"==c?g.stack.pop():"["==B&&g.stack.push("[");return h},indent:function(J,g){var h=J.stack.length;if("]"===g.charAt(0))h--;else if("\x3e"===g.substr(g.length-1,g.length)){if("\x3c"!==g.substr(0,1)&&!("doindent"==B&&1<g.length))if("doindent"==B)h--;else if(!("\x3e"==B&&1<g.length||"tag"==B&&"\x3e"!==g))if("tag"==B&&"rule"==
|
||
J.stack[J.stack.length-1])h--;else if("tag"==B)h++;else if("\x3e"===g&&"rule"==J.stack[J.stack.length-1]&&"\x3e"===B)h--;else if("\x3e"!==g||"rule"!=J.stack[J.stack.length-1])"\x3c"!==g.substr(0,1)&&"\x3e"===g.substr(0,1)?--h:"\x3e"!==g&&--h;null!=B&&"]"!=B||h--}return J.baseIndent+h*A},electricChars:"]\x3e"}});v.defineMIME("application/xml-dtd","dtd")})};
|
||
shadow$provide[494]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(n,b){for(var u=0;u<n.length;u++)b(n[u],u)}function y(n,b){for(var u=0;u<n.length;u++)if(b(n[u],u))return!0;return!1}v.defineMode("dylan",function(n){function b(E,w,t){w.tokenize=t;return t(E,w)}function u(E,w){var t=E.peek();if("'"==t||'"'==t)return E.next(),b(E,w,A(t,"string"));if("/"==
|
||
t){E.next();if(E.eat("*"))return b(E,w,z);if(E.eat("/"))return E.skipToEnd(),"comment";E.backUp(1)}else if(/[+\-\d\.]/.test(t)){if(E.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||E.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||E.match(/^[+-]?\d+/))return"number"}else{if("#"==t){E.next();t=E.peek();if('"'==t)return E.next(),b(E,w,A('"',"string"));if("b"==t)return E.next(),E.eatWhile(/[01]/),"number";if("x"==t)return E.next(),E.eatWhile(/[\da-f]/i),"number";if("o"==t)return E.next(),E.eatWhile(/[0-7]/),
|
||
"number";if("#"==t)return E.next(),"punctuation";if("["==t||"("==t)return E.next(),"bracket";if(E.match(/f|t|all-keys|include|key|next|rest/i))return"atom";E.eatWhile(/[-a-zA-Z]/);return"error"}if("~"==t)return E.next(),t=E.peek(),"\x3d"==t&&(E.next(),t=E.peek(),"\x3d"==t&&E.next()),"operator";if(":"==t){E.next();t=E.peek();if("\x3d"==t)return E.next(),"operator";if(":"==t)return E.next(),"punctuation"}else{if(-1!="[](){}".indexOf(t))return E.next(),"bracket";if(-1!=".,".indexOf(t))return E.next(),
|
||
"punctuation";if(E.match("end"))return"keyword"}}for(var r in g)if(g.hasOwnProperty(r)&&(w=g[r],w instanceof Array&&y(w,function(f){return E.match(f)})||E.match(w)))return h[r];if(/[+\-*\/^=<>&|]/.test(t))return E.next(),"operator";if(E.match("define"))return"def";E.eatWhile(/[\w\-]/);if(m.hasOwnProperty(E.current()))return q[E.current()];if(E.current().match(J))return"variable";E.next();return"variable-2"}function z(E,w){for(var t=!1,r=!1,f=0,F;F=E.next();){if("/"==F&&t)if(0<f)f--;else{w.tokenize=
|
||
u;break}else"*"==F&&r&&f++;t="*"==F;r="/"==F}return"comment"}function A(E,w){return function(t,r){for(var f=!1,F,C=!1;null!=(F=t.next());){if(F==E&&!f){C=!0;break}f=!f&&"\\"==F}if(C||!f)r.tokenize=u;return w}}var B={unnamedDefinition:["interface"],namedDefinition:"module library macro C-struct C-union C-function C-callable-wrapper".split(" "),typeParameterizedDefinition:["class","C-subtype","C-mapped-subtype"],otherParameterizedDefinition:["method","function","C-variable","C-address"],constantSimpleDefinition:["constant"],
|
||
variableSimpleDefinition:["variable"],otherSimpleDefinition:["generic","domain","C-pointer-type","table"],statement:"if block begin method case for select when unless until while iterate profiling dynamic-bind".split(" "),separator:"finally exception cleanup else elseif afterwards".split(" "),other:"above below by from handler in instance let local otherwise slot subclass then to keyed-by virtual".split(" "),signalingCalls:"signal error cerror break check-type abort".split(" ")};B.otherDefinition=
|
||
B.unnamedDefinition.concat(B.namedDefinition).concat(B.otherParameterizedDefinition);B.definition=B.typeParameterizedDefinition.concat(B.otherDefinition);B.parameterizedDefinition=B.typeParameterizedDefinition.concat(B.otherParameterizedDefinition);B.simpleDefinition=B.constantSimpleDefinition.concat(B.variableSimpleDefinition).concat(B.otherSimpleDefinition);B.keyword=B.statement.concat(B.separator).concat(B.other);var J=RegExp("^[-_a-zA-Z?!*@\x3c\x3e$%]+"),g={symbolKeyword:"[-_a-zA-Z?!*@\x3c\x3e$%]+:",
|
||
symbolClass:"\x3c[-_a-zA-Z?!*@\x3c\x3e$%]+\x3e",symbolGlobal:"\\*[-_a-zA-Z?!*@\x3c\x3e$%]+\\*",symbolConstant:"\\$[-_a-zA-Z?!*@\x3c\x3e$%]+"},h={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"},c;for(c in g)g.hasOwnProperty(c)&&(g[c]=new RegExp("^"+g[c]));g.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var p={keyword:"keyword",definition:"def",simpleDefinition:"def",signalingCalls:"builtin"},m={},q={};Y(["keyword","definition","simpleDefinition","signalingCalls"],
|
||
function(E){Y(B[E],function(w){m[w]=E;q[w]=p[E]})});return{startState:function(){return{tokenize:u,currentIndent:0}},token:function(E,w){return E.eatSpace()?null:w.tokenize(E,w)},blockCommentStart:"/*",blockCommentEnd:"*/"}});v.defineMIME("text/x-dylan","dylan")})};
|
||
shadow$provide[495]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("ebnf",function(Y){var y=null;Y.bracesMode&&(y=v.getMode(Y,Y.bracesMode));return{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(n,b){if(n){0===b.stack.length&&('"'==n.peek()||"'"==n.peek()?(b.stringType=
|
||
n.peek(),n.next(),b.stack.unshift(1)):n.match("/*")?(b.stack.unshift(0),b.commentType=0):n.match("(*")&&(b.stack.unshift(0),b.commentType=1));switch(b.stack[0]){case 1:for(;1===b.stack[0]&&!n.eol();)n.peek()===b.stringType?(n.next(),b.stack.shift()):"\\"===n.peek()?(n.next(),n.next()):n.match(/^.[^\\"']*/);return b.lhs?"property string":"string";case 0:for(;0===b.stack[0]&&!n.eol();)0===b.commentType&&n.match("*/")?(b.stack.shift(),b.commentType=null):1===b.commentType&&n.match("*)")?(b.stack.shift(),
|
||
b.commentType=null):n.match(/^.[^\*]*/);return"comment";case 2:for(;2===b.stack[0]&&!n.eol();)n.match(/^[^\]\\]+/)||n.match(".")||b.stack.shift();return"operator"}var u=n.peek();if(null!==y&&(b.braced||"{"===u)){null===b.localState&&(b.localState=v.startState(y));u=y.token(n,b.localState);n=n.current();if(!u)for(var z=0;z<n.length;z++)"{"===n[z]?(0===b.braced&&(u="matchingbracket"),b.braced++):"}"===n[z]&&(b.braced--,0===b.braced&&(u="matchingbracket"));return u}switch(u){case "[":return n.next(),
|
||
b.stack.unshift(2),"bracket";case ":":case "|":case ";":return n.next(),"operator";case "%":if(n.match("%%"))return"header";if(n.match(/[%][A-Za-z]+/))return"keyword";if(n.match(/[%][}]/))return"matchingbracket";break;case "/":if(n.match(/[\/][A-Za-z]+/))return"keyword";case "\\":if(n.match(/[\][a-z]+/))return"string-2";case ".":if(n.match("."))return"atom";case "*":case "-":case "+":case "^":if(n.match(u))return"atom";case "$":if(n.match("$$"))return"builtin";if(n.match(/[$][0-9]+/))return"variable-3";
|
||
case "\x3c":if(n.match(/<<[a-zA-Z_]+>>/))return"builtin"}if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("return"))return"operator";if(n.match(/^[a-zA-Z_][a-zA-Z0-9_]*/))return n.match(/(?=[\(.])/)?"variable":n.match(/(?=[\s\n]*[:=])/)?"def":"variable-2";if(-1!=["[","]","(",")"].indexOf(n.peek()))return n.next(),"bracket";n.eatSpace()||n.next();return null}}}});v.defineMIME("text/x-ebnf","ebnf")})};
|
||
shadow$provide[496]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("ecl",function(Y){function y(f){var F={};f=f.split(" ");for(var C=0;C<f.length;++C)F[f[C]]=!0;return F}function n(f,F){var C=f.next();if(w[C]){var M=w[C](f,F);if(!1!==M)return M}if('"'==C||"'"==C)return F.tokenize=b(C),F.tokenize(f,F);if(/[\[\]{}\(\),;:\.]/.test(C))return r=C,null;
|
||
if(/\d/.test(C))return f.eatWhile(/[\w\.]/),"number";if("/"==C){if(f.eat("*"))return F.tokenize=u,u(f,F);if(f.eat("/"))return f.skipToEnd(),"comment"}if(t.test(C))return f.eatWhile(t),"operator";f.eatWhile(/[\w\$_]/);f=f.current().toLowerCase();if(g.propertyIsEnumerable(f))return q.propertyIsEnumerable(f)&&(r="newstatement"),"keyword";if(h.propertyIsEnumerable(f))return q.propertyIsEnumerable(f)&&(r="newstatement"),"variable";if(c.propertyIsEnumerable(f))return q.propertyIsEnumerable(f)&&(r="newstatement"),
|
||
"variable-2";if(p.propertyIsEnumerable(f))return q.propertyIsEnumerable(f)&&(r="newstatement"),"variable-3";if(m.propertyIsEnumerable(f))return q.propertyIsEnumerable(f)&&(r="newstatement"),"builtin";for(F=f.length-1;0<=F&&(!isNaN(f[F])||"_"==f[F]);)--F;return 0<F&&(F=f.substr(0,F+1),p.propertyIsEnumerable(F))?(q.propertyIsEnumerable(F)&&(r="newstatement"),"variable-3"):E.propertyIsEnumerable(f)?"atom":null}function b(f){return function(F,C){for(var M=!1,aa,O=!1;null!=(aa=F.next());){if(aa==f&&!M){O=
|
||
!0;break}M=!M&&"\\"==aa}if(O||!M)C.tokenize=n;return"string"}}function u(f,F){for(var C=!1,M;M=f.next();){if("/"==M&&C){F.tokenize=n;break}C="*"==M}return"comment"}function z(f,F,C,M,aa){this.indented=f;this.column=F;this.type=C;this.align=M;this.prev=aa}function A(f,F,C){return f.context=new z(f.indented,F,C,null,f.context)}function B(f){var F=f.context.type;if(")"==F||"]"==F||"}"==F)f.indented=f.context.indented;return f.context=f.context.prev}var J=Y.indentUnit,g=y("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode"),
|
||
h=y("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait"),c=y("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath"),
|
||
p=y("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode"),m=y("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when"),q=y("catch class do else finally for if switch try while"),E=y("true false null"),w={"#":function(f,F){if(!F.startOfLine)return!1;f.skipToEnd();return"meta"}},t=/[+\-*&%=<>!?|\/]/,r;return{startState:function(f){return{tokenize:null,
|
||
context:new z((f||0)-J,0,"top",!1),indented:0,startOfLine:!0}},token:function(f,F){var C=F.context;f.sol()&&(null==C.align&&(C.align=!1),F.indented=f.indentation(),F.startOfLine=!0);if(f.eatSpace())return null;r=null;var M=(F.tokenize||n)(f,F);if("comment"==M||"meta"==M)return M;null==C.align&&(C.align=!0);if(";"!=r&&":"!=r||"statement"!=C.type)if("{"==r)A(F,f.column(),"}");else if("["==r)A(F,f.column(),"]");else if("("==r)A(F,f.column(),")");else if("}"==r){for(;"statement"==C.type;)C=B(F);for("}"==
|
||
C.type&&(C=B(F));"statement"==C.type;)C=B(F)}else r==C.type?B(F):("}"==C.type||"top"==C.type||"statement"==C.type&&"newstatement"==r)&&A(F,f.column(),"statement");else B(F);F.startOfLine=!1;return M},indent:function(f,F){if(f.tokenize!=n&&null!=f.tokenize)return 0;f=f.context;F=F&&F.charAt(0);"statement"==f.type&&"}"==F&&(f=f.prev);var C=F==f.type;return"statement"==f.type?f.indented+("{"==F?0:J):f.align?f.column+(C?0:1):f.indented+(C?0:J)},electricChars:"{}"}});v.defineMIME("text/x-ecl","ecl")})};
|
||
shadow$provide[497]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("eiffel",function(){function Y(z){for(var A={},B=0,J=z.length;B<J;++B)A[z[B]]=!0;return A}function y(z,A){if(z.eatSpace())return null;var B=z.next();return'"'==B||"'"==B?(B=n(B,"string"),A.tokenize.push(B),B(z,A)):"-"==B&&z.eat("-")?(z.skipToEnd(),"comment"):":"==B&&z.eat("\x3d")?"operator":
|
||
/[0-9]/.test(B)?(z.eatWhile(/[xXbBCc0-9\.]/),z.eat(/[\?!]/),"ident"):/[a-zA-Z_0-9]/.test(B)?(z.eatWhile(/[a-zA-Z_0-9]/),z.eat(/[\?!]/),"ident"):/[=+\-\/*^%<>~]/.test(B)?(z.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function n(z,A,B){return function(J,g){for(var h=!1,c;null!=(c=J.next());){if(c==z&&(B||!h)){g.tokenize.pop();break}h=!h&&"%"==c}return A}}var b=Y("note across when variant until unique undefine then strip select retry rescue require rename reference redefine prefix once old obsolete loop local like is inspect infix include if frozen from external export ensure end elseif else do creation create check alias agent separate invariant inherit indexing feature expanded deferred class Void True Result Precursor False Current create attached detachable as and implies not or".split(" ")),
|
||
u=Y(":\x3d;and then;and;or;\x3c\x3c;\x3e\x3e".split(";"));return{startState:function(){return{tokenize:[y]}},token:function(z,A){A=A.tokenize[A.tokenize.length-1](z,A);"ident"==A&&(A=z.current(),A=b.propertyIsEnumerable(z.current())?"keyword":u.propertyIsEnumerable(z.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(A)?"tag":/^0[bB][0-1]+$/g.test(A)?"number":/^0[cC][0-7]+$/g.test(A)?"number":/^0[xX][a-fA-F0-9]+$/g.test(A)?"number":/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(A)?"number":/^[0-9]+$/g.test(A)?
|
||
"number":"variable");return A},lineComment:"--"}});v.defineMIME("text/x-eiffel","eiffel")})};
|
||
shadow$provide[498]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("elm",function(){function Y(w,t,r){t(r);return r(w,t)}function y(){return function(w,t){if(w.eatWhile(q))return null;var r=w.next();if(m.test(r))return"{"===r&&w.eat("-")?Y(w,t,n(1)):"["===r&&w.match("glsl|")?Y(w,t,A):"builtin";if("'"===r)return Y(w,t,z);if('"'===r)return w.eat('"')?
|
||
w.eat('"')?Y(w,t,b):"string":Y(w,t,u);if(J.test(r))return w.eatWhile(g),"variable-2";if(B.test(r))return t=1===w.pos,w.eatWhile(g),t?"def":"variable";if(h.test(r)){if("0"===r){if(w.eat(/[xX]/))return w.eatWhile(c),"number"}else w.eatWhile(h);w.eat(".")&&w.eatWhile(h);w.eat(/[eE]/)&&(w.eat(/[-+]/),w.eatWhile(h));return"number"}if(p.test(r)){if("-"===r&&w.eat("-"))return w.skipToEnd(),"comment";w.eatWhile(p);return"keyword"}return"_"===r?"keyword":"error"}}function n(w){return 0==w?y():function(t,r){for(;!t.eol();){var f=
|
||
t.next();if("{"==f&&t.eat("-"))++w;else if("-"==f&&t.eat("}")&&(--w,0===w))return r(y()),"comment"}r(n(w));return"comment"}}function b(w,t){for(;!w.eol();)if('"'===w.next()&&w.eat('"')&&w.eat('"')){t(y());break}return"string"}function u(w,t){for(;w.skipTo('\\"');)w.next(),w.next();if(w.skipTo('"'))return w.next(),t(y()),"string";w.skipToEnd();t(y());return"error"}function z(w,t){for(;w.skipTo("\\'");)w.next(),w.next();if(w.skipTo("'"))return w.next(),t(y()),"string";w.skipToEnd();t(y());return"error"}
|
||
function A(w,t){for(;!w.eol();)if("|"===w.next()&&w.eat("]")){t(y());break}return"string"}var B=/[a-z]/,J=/[A-Z]/,g=/[a-zA-Z0-9_]/,h=/[0-9]/,c=/[0-9A-Fa-f]/,p=/[-&*+.\\/<>=?^|:]/,m=/[(),[\]{}]/,q=/[ \v\f]/,E={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};return{startState:function(){return{f:y()}},copyState:function(w){return{f:w.f}},lineComment:"--",token:function(w,t){var r=t.f(w,function(f){t.f=f});w=w.current();return E.hasOwnProperty(w)?
|
||
"keyword":r}}});v.defineMIME("text/x-elm","elm")})};
|
||
shadow$provide[499]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMIME("text/x-erlang","erlang");v.defineMode("erlang",function(Y){function y(K,D){if(D.in_string)return D.in_string=!u(K,'"',"\\"),A(D,K,"string");if(D.in_atom)return D.in_atom=!u(K,"'","\\"),A(D,K,"atom");if(K.eatSpace())return A(D,K,"whitespace");if(!B(D)&&K.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return z(K.current(),
|
||
q)?A(D,K,"type"):A(D,K,"attribute");var L=K.next();if("%"==L)return K.skipToEnd(),A(D,K,"comment");if(":"==L)return A(D,K,"colon");if("?"==L)return K.eatSpace(),K.eatWhile(V),A(D,K,"macro");if("#"==L)return K.eatSpace(),K.eatWhile(V),A(D,K,"record");if("$"==L)return"\\"!=K.next()||K.match(T)?A(D,K,"number"):A(D,K,"error");if("."==L)return A(D,K,"dot");if("'"==L){if(!(D.in_atom=!u(K,"'","\\"))){if(K.match(/\s*\/\s*[0-9]/,!1))return K.match(/\s*\/\s*[0-9]/,!0),A(D,K,"fun");if(K.match(/\s*\(/,!1)||K.match(/\s*:/,
|
||
!1))return A(D,K,"function")}return A(D,K,"atom")}if('"'==L)return D.in_string=!u(K,'"',"\\"),A(D,K,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(L))return K.eatWhile(V),A(D,K,"variable");if(/[a-z_ß-öø-ÿ]/.test(L)){K.eatWhile(V);if(K.match(/\s*\/\s*[0-9]/,!1))return K.match(/\s*\/\s*[0-9]/,!0),A(D,K,"fun");L=K.current();if(z(L,E))return A(D,K,"keyword");if(z(L,r))return A(D,K,"operator");if(K.match(/\s*\(/,!1))return!z(L,P)||":"==B(D).token&&"erlang"!=B(D,2).token?z(L,U)?A(D,K,"guard"):A(D,K,"function"):A(D,K,
|
||
"builtin");var Q=K.match(/^\s*([^\s%])/,!1);return":"==(Q?Q[1]:"")?"erlang"==L?A(D,K,"builtin"):A(D,K,"function"):z(L,["true","false"])?A(D,K,"boolean"):A(D,K,"atom")}Q=/[0-9]/;var N=/[0-9a-zA-Z]/;return Q.test(L)?(K.eatWhile(Q),K.eat("#")?K.eatWhile(N)||K.backUp(1):K.eat(".")&&(K.eatWhile(Q)?K.eat(/[eE]/)&&(K.eat(/[-+]/)?K.eatWhile(Q)||K.backUp(2):K.eatWhile(Q)||K.backUp(1)):K.backUp(1)),A(D,K,"number")):n(K,C,M)?A(D,K,"open_paren"):n(K,aa,O)?A(D,K,"close_paren"):b(K,w,t)?A(D,K,"separator"):b(K,
|
||
f,F)?A(D,K,"operator"):A(D,K,null)}function n(K,D,L){if(1==K.current().length&&D.test(K.current())){for(K.backUp(1);D.test(K.peek());)if(K.next(),z(K.current(),L))return!0;K.backUp(K.current().length-1)}return!1}function b(K,D,L){if(1==K.current().length&&D.test(K.current())){for(;D.test(K.peek());)K.next();for(;0<K.current().length;){if(z(K.current(),L))return!0;K.backUp(1)}K.next()}return!1}function u(K,D,L){for(;!K.eol();){var Q=K.next();if(Q==D)return!0;Q==L&&K.next()}return!1}function z(K,D){return-1<
|
||
D.indexOf(K)}function A(K,D,L){var Q=D.current();var N=D.column();D=D.indentation();Q={token:Q,column:N,indent:D,type:L};"comment"!=Q.type&&"whitespace"!=Q.type&&(N=K.tokenStack,D=N.length-1,0<D&&"record"===N[D].type&&"dot"===Q.type?N.pop():(0<D&&"group"===N[D].type&&N.pop(),N.push(Q)),K.tokenStack=N,K.tokenStack=J(K.tokenStack));switch(L){case "atom":return"atom";case "attribute":return"attribute";case "boolean":return"atom";case "builtin":return"builtin";case "close_paren":return null;case "colon":return null;
|
||
case "comment":return"comment";case "dot":return null;case "error":return"error";case "fun":return"meta";case "function":return"tag";case "guard":return"property";case "keyword":return"keyword";case "macro":return"variable-2";case "number":return"number";case "open_paren":return null;case "operator":return"operator";case "record":return"bracket";case "separator":return null;case "string":return"string";case "type":return"def";case "variable":return"variable";default:return null}}function B(K,D){var L=
|
||
K.tokenStack.length;D=D?D:1;return L<D?!1:K.tokenStack[L-D]}function J(K){if(!K.length)return K;var D=K.length-1;if("dot"===K[D].type)return[];if(1<D&&"fun"===K[D].type&&"fun"===K[D-1].token)return K.slice(0,D-1);switch(K[D].token){case "}":return g(K,{g:["{"]});case "]":return g(K,{i:["["]});case ")":return g(K,{i:["("]});case "\x3e\x3e":return g(K,{i:["\x3c\x3c"]});case "end":return g(K,{i:"begin case fun if receive try".split(" ")});case ",":return g(K,{e:"begin try when -\x3e , ( [ { \x3c\x3c".split(" ")});
|
||
case "-\x3e":return g(K,{r:["when"],m:["try","if","case","receive"]});case ";":return g(K,{E:"case fun if receive try when".split(" ")});case "catch":return g(K,{e:["try"]});case "of":return g(K,{e:["case"]});case "after":return g(K,{e:["receive","try"]});default:return K}}function g(K,D){for(var L in D)for(var Q=K.length-1,N=D[L],la=Q-1;-1<la;la--)if(z(K[la].token,N)){var R=K.slice(0,la);switch(L){case "m":return R.concat(K[la]).concat(K[Q]);case "r":return R.concat(K[Q]);case "i":return R;case "g":return K=
|
||
R,K.concat.call(K,{token:"group",column:0,indent:0,type:"group"});case "E":return R.concat(K[la]);case "e":return R.concat(K[la])}}return"E"==L?[]:K}function h(K,D){var L,Q=Y.indentUnit;D=D.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);D=m(D)&&0===D.index?D[0]:"";var N=B(K,1),la=B(K,2);if(K.in_string||K.in_atom)return v.Pass;if(la){if("when"==N.token)return N.column+Q;if("when"===D&&"function"===la.type)return la.indent+Q;if("("===D&&"fun"===N.token)return N.column+3;if("catch"===D&&(L=c(K,["try"])))return L.column;
|
||
if(z(D,["end","after","of"]))return(L=c(K,"begin case fun if receive try".split(" ")))?L.column:v.Pass;if(z(D,O))return(L=c(K,M))?L.column:v.Pass;if(z(N.token,[",","|","||"])||z(D,[",","|","||"]))return K=K.tokenStack.slice(0,-1),L=p(K,"type",["open_paren"]),(L=m(K[L])?K[L]:!1)?L.column+L.token.length:Q;if("-\x3e"==N.token)return z(la.token,["receive","case","if","try"])?la.column+Q+Q:la.column+Q;if(z(N.token,M))return N.column+N.token.length;K=K.tokenStack;L=p(K,"type",["open_paren","separator",
|
||
"keyword"]);D=p(K,"type",["operator"]);L=m(L)&&m(D)&&L<D?K[L+1]:m(L)?K[L]:!1;return m(L)?L.column+Q:0}return 0}function c(K,D){K=K.tokenStack;D=p(K,"token",D);return m(K[D])?K[D]:!1}function p(K,D,L){for(var Q=K.length-1;-1<Q;Q--)if(z(K[Q][D],L))return Q;return!1}function m(K){return!1!==K&&null!=K}var q=["-type","-spec","-export_type","-opaque"],E="after begin catch case cond end fun if let of query receive try when".split(" "),w=/[\->,;]/,t=["-\x3e",";",","],r="and andalso band bnot bor bsl bsr bxor div not or orelse rem xor".split(" "),
|
||
f=/[\+\-\*\/<>=\|:!]/,F="\x3d + - * / \x3e \x3e\x3d \x3c \x3d\x3c \x3d:\x3d \x3d\x3d \x3d/\x3d /\x3d || \x3c- !".split(" "),C=/[<\(\[\{]/,M=["\x3c\x3c","(","[","{"],aa=/[>\)\]\}]/,O=["}","]",")","\x3e\x3e"],U="is_atom is_binary is_bitstring is_boolean is_float is_function is_integer is_list is_number is_pid is_port is_record is_reference is_tuple atom binary bitstring boolean function integer list number pid port record reference tuple".split(" "),P="abs adler32 adler32_combine alive apply atom_to_binary atom_to_list binary_to_atom binary_to_existing_atom binary_to_list binary_to_term bit_size bitstring_to_list byte_size check_process_code contact_binary crc32 crc32_combine date decode_packet delete_module disconnect_node element erase exit float float_to_list garbage_collect get get_keys group_leader halt hd integer_to_list internal_bif iolist_size iolist_to_binary is_alive is_atom is_binary is_bitstring is_boolean is_float is_function is_integer is_list is_number is_pid is_port is_process_alive is_record is_reference is_tuple length link list_to_atom list_to_binary list_to_bitstring list_to_existing_atom list_to_float list_to_integer list_to_pid list_to_tuple load_module make_ref module_loaded monitor_node node node_link node_unlink nodes notalive now open_port pid_to_list port_close port_command port_connect port_control pre_loaded process_flag process_info processes purge_module put register registered round self setelement size spawn spawn_link spawn_monitor spawn_opt split_binary statistics term_to_binary time throw tl trunc tuple_size tuple_to_list unlink unregister whereis".split(" "),
|
||
V=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,T=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;return{startState:function(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:function(K,D){return y(K,D)},indent:function(K,D){return h(K,D)},lineComment:"%"}})})};
|
||
shadow$provide[500]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(491)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../addon/mode/simple"],v):v(CodeMirror)})(function(v){v.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,
|
||
token:"number"},{regex:/((?:GENERIC)|:?:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING:/,token:"keyword",next:"vocabulary"},{regex:/(USE:|IN:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|<PRIVATE|\.|\S*\[|\]|\S*\{|\})(?=\s|$)/,token:"keyword"},{regex:/\S+[\)>\.\*\?]+(?=\s|$)/,
|
||
token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",
|
||
next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],meta:{dontIndentStates:["start","vocabulary","string","string3","stack"],lineComment:"!"}});v.defineMIME("text/x-factor","factor")})};
|
||
shadow$provide[501]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("fcl",function(Y){function y(h,c){var p=h.next();if(/[\d\.]/.test(p))return"."==p?h.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==p?h.match(/^[xX][0-9a-fA-F]+/)||h.match(/^0[0-7]+/):h.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==p||"("==p){if(h.eat("*"))return c.tokenize=
|
||
n,n(h,c);if(h.eat("/"))return h.skipToEnd(),"comment"}if(g.test(p))return h.eatWhile(g),"operator";h.eatWhile(/[\w\$_\xa1-\uffff]/);h=h.current().toLowerCase();return z.propertyIsEnumerable(h)||A.propertyIsEnumerable(h)||B.propertyIsEnumerable(h)?"keyword":J.propertyIsEnumerable(h)?"atom":"variable"}function n(h,c){for(var p=!1,m;m=h.next();){if(("/"==m||")"==m)&&p){c.tokenize=y;break}p="*"==m}return"comment"}function b(h,c,p,m,q){this.indented=h;this.column=c;this.type=p;this.align=m;this.prev=q}
|
||
var u=Y.indentUnit,z={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,"if":!0,"default":!0},A={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},B={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},J={"true":!0,"false":!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},g=/[+\-*&^%:=<>!|\/]/;return{startState:function(h){return{tokenize:null,context:new b((h||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(h,c){var p=
|
||
c.context;h.sol()&&(null==p.align&&(p.align=!1),c.indented=h.indentation(),c.startOfLine=!0);if(h.eatSpace())return null;var m=(c.tokenize||y)(h,c);if("comment"==m)return m;null==p.align&&(p.align=!0);p=h.current().toLowerCase();A.propertyIsEnumerable(p)?(h=h.column(),c.context=new b(c.indented,h,"end_block",null,c.context)):B.propertyIsEnumerable(p)&&c.context.prev&&("end_block"==c.context.type&&(c.indented=c.context.indented),c.context=c.context.prev);c.startOfLine=!1;return m},indent:function(h,
|
||
c){if(h.tokenize!=y&&null!=h.tokenize)return 0;h=h.context;c=B.propertyIsEnumerable(c);return h.align?h.column+(c?0:1):h.indented+(c?0:u)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}});v.defineMIME("text/x-fcl","fcl")})};
|
||
shadow$provide[502]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(b){var u=[];b.split(" ").forEach(function(z){u.push({name:z})});return u}var y=Y("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0\x3d \x3d 0\x3c \x3c \x3e U\x3c MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP \x3eR R\x3e R@ + - 1+ 1- ABS NEGATE S\x3eD * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES\x3e \x3eBODY EVALUATE SOURCE \x3eIN \x3c# # #S #\x3e HOLD SIGN BASE \x3eNUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE \x3c\x3e U\x3e 0\x3c\x3e 0\x3e NIP TUCK ROLL PICK 2\x3eR 2R@ 2R\x3e WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0\x3c D0\x3d D2* D2/ D\x3c D\x3d DMAX DMIN D\x3eS DABS M+ M*/ D. D.R 2ROT DU\x3c CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE\x3e BLANK SLITERAL"),
|
||
n=Y("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");v.defineMode("forth",function(){function b(u,z){var A;for(A=u.length-1;0<=A;A--)if(u[A].name===z.toUpperCase())return u[A]}return{startState:function(){return{state:"",base:10,coreWordList:y,immediateWordList:n,wordList:[]}},token:function(u,z){var A;if(u.eatSpace())return null;if(""===z.state){if(u.match(/^(\]|:NONAME)(\s|$)/i))return z.state=" compilation","builtin compilation";
|
||
if(A=u.match(/^(:)\s+(\S+)(\s|$)+/))return z.wordList.push({name:A[2].toUpperCase()}),z.state=" compilation","def"+z.state;if(A=u.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return z.wordList.push({name:A[2].toUpperCase()}),"def"+z.state;if(A=u.match(/^('|\['\])\s+(\S+)(\s|$)+/))return"builtin"+z.state}else{if(u.match(/^(;|\[)(\s)/))return z.state="",u.backUp(1),"builtin compilation";if(u.match(/^(;|\[)($)/))return z.state="","builtin compilation";
|
||
if(u.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(A=u.match(/^(\S+)(\s+|$)/))return void 0!==b(z.wordList,A[1])?"variable"+z.state:"\\"===A[1]?(u.skipToEnd(),"comment"+z.state):void 0!==b(z.coreWordList,A[1])?"builtin"+z.state:void 0!==b(z.immediateWordList,A[1])?"keyword"+z.state:"("===A[1]?(u.eatWhile(function(B){return")"!==B}),u.eat(")"),"comment"+z.state):".("===A[1]?(u.eatWhile(function(B){return")"!==B}),u.eat(")"),"string"+z.state):'S"'===A[1]||'."'===A[1]||'C"'===A[1]?(u.eatWhile(function(B){return'"'!==
|
||
B}),u.eat('"'),"string"+z.state):A[1]-68719476735?"number"+z.state:"atom"+z.state}}});v.defineMIME("text/x-forth","forth")})};
|
||
shadow$provide[503]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("fortran",function(){function Y(J){for(var g={},h=0;h<J.length;++h)g[J[h]]=!0;return g}function y(J,g){if(J.match(B))return"operator";var h=J.next();if("!"==h)return J.skipToEnd(),"comment";if('"'==h||"'"==h)return g.tokenize=n(h),g.tokenize(J,g);if(/[\[\]\(\),]/.test(h))return null;
|
||
if(/\d/.test(h))return J.eatWhile(/[\w\.]/),"number";if(A.test(h))return J.eatWhile(A),"operator";J.eatWhile(/[\w\$_]/);J=J.current().toLowerCase();return b.hasOwnProperty(J)?"keyword":u.hasOwnProperty(J)||z.hasOwnProperty(J)?"builtin":"variable"}function n(J){return function(g,h){for(var c=!1,p,m=!1;null!=(p=g.next());){if(p==J&&!c){m=!0;break}c=!c&&"\\"==p}if(m||!c)h.tokenize=null;return"string"}}var b=Y("abstract accept allocatable allocate array assign asynchronous backspace bind block byte call case class close common contains continue cycle data deallocate decode deferred dimension do elemental else encode end endif entry enumerator equivalence exit external extrinsic final forall format function generic go goto if implicit import include inquire intent interface intrinsic module namelist non_intrinsic non_overridable none nopass nullify open optional options parameter pass pause pointer print private program protected public pure read recursive result return rewind save select sequence stop subroutine target then to type use value volatile where while write".split(" ")),
|
||
u=Y("abort abs access achar acos adjustl adjustr aimag aint alarm all allocated alog amax amin amod and anint any asin associated atan besj besjn besy besyn bit_size btest cabs ccos ceiling cexp char chdir chmod clog cmplx command_argument_count complex conjg cos cosh count cpu_time cshift csin csqrt ctime c_funloc c_loc c_associated c_null_ptr c_null_funptr c_f_pointer c_null_char c_alert c_backspace c_form_feed c_new_line c_carriage_return c_horizontal_tab c_vertical_tab dabs dacos dasin datan date_and_time dbesj dbesj dbesjn dbesy dbesy dbesyn dble dcos dcosh ddim derf derfc dexp digits dim dint dlog dlog dmax dmin dmod dnint dot_product dprod dsign dsinh dsin dsqrt dtanh dtan dtime eoshift epsilon erf erfc etime exit exp exponent extends_type_of fdate fget fgetc float floor flush fnum fputc fput fraction fseek fstat ftell gerror getarg get_command get_command_argument get_environment_variable getcwd getenv getgid getlog getpid getuid gmtime hostnm huge iabs iachar iand iargc ibclr ibits ibset ichar idate idim idint idnint ieor ierrno ifix imag imagpart index int ior irand isatty ishft ishftc isign iso_c_binding is_iostat_end is_iostat_eor itime kill kind lbound len len_trim lge lgt link lle llt lnblnk loc log logical long lshift lstat ltime matmul max maxexponent maxloc maxval mclock merge move_alloc min minexponent minloc minval mod modulo mvbits nearest new_line nint not or pack perror precision present product radix rand random_number random_seed range real realpart rename repeat reshape rrspacing rshift same_type_as scale scan second selected_int_kind selected_real_kind set_exponent shape short sign signal sinh sin sleep sngl spacing spread sqrt srand stat sum symlnk system system_clock tan tanh time tiny transfer transpose trim ttynam ubound umask unlink unpack verify xor zabs zcos zexp zlog zsin zsqrt".split(" ")),
|
||
z=Y("c_bool c_char c_double c_double_complex c_float c_float_complex c_funptr c_int c_int16_t c_int32_t c_int64_t c_int8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_int_fast8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_least8_t c_intmax_t c_intptr_t c_long c_long_double c_long_double_complex c_long_long c_ptr c_short c_signed_char c_size_t character complex double integer logical real".split(" ")),A=/[+\-*&=<>\/:]/,B=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;return{startState:function(){return{tokenize:null}},
|
||
token:function(J,g){return J.eatSpace()?null:(g.tokenize||y)(J,g)}}});v.defineMIME("text/x-fortran","fortran")})};
|
||
shadow$provide[504]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("gas",function(Y,y){function n(J){z="@";A.syntax="builtin";B.r0="variable";B.r1="variable";B.r2="variable";B.r3="variable";B.r4="variable";B.r5="variable";B.r6="variable";B.r7="variable";B.r8="variable";B.r9="variable";B.r10="variable";B.r11="variable";B.r12="variable";B.sp="variable-2";
|
||
B.lr="variable-2";B.pc="variable-2";B.r13=B.sp;B.r14=B.lr;B.r15=B.pc;u.push(function(g,h){if("#"===g)return h.eatWhile(/\w/),"number"})}function b(J,g){for(var h=!1,c;null!=(c=J.next());){if("/"===c&&h){g.tokenize=null;break}h="*"===c}return"comment"}var u=[],z="",A={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",
|
||
".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",
|
||
".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",
|
||
".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",
|
||
".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},B={};Y=(y.architecture||"x86").toLowerCase();"x86"===Y?(z="#",B.al="variable",B.ah="variable",B.ax="variable",B.eax="variable-2",B.rax="variable-3",B.bl="variable",B.bh="variable",
|
||
B.bx="variable",B.ebx="variable-2",B.rbx="variable-3",B.cl="variable",B.ch="variable",B.cx="variable",B.ecx="variable-2",B.rcx="variable-3",B.dl="variable",B.dh="variable",B.dx="variable",B.edx="variable-2",B.rdx="variable-3",B.si="variable",B.esi="variable-2",B.rsi="variable-3",B.di="variable",B.edi="variable-2",B.rdi="variable-3",B.sp="variable",B.esp="variable-2",B.rsp="variable-3",B.bp="variable",B.ebp="variable-2",B.rbp="variable-3",B.ip="variable",B.eip="variable-2",B.rip="variable-3",B.cs=
|
||
"keyword",B.ds="keyword",B.ss="keyword",B.es="keyword",B.fs="keyword",B.gs="keyword"):"arm"!==Y&&"armv6"!==Y||n(y);return{startState:function(){return{tokenize:null}},token:function(J,g){if(g.tokenize)return g.tokenize(J,g);if(J.eatSpace())return null;var h,c=J.next();if("/"===c&&J.eat("*"))return g.tokenize=b,b(J,g);if(c===z)return J.skipToEnd(),"comment";if('"'===c){a:for(g=!1;null!=(h=J.next());){if('"'===h&&!g)break a;g=!g&&"\\"===h}return"string"}if("."===c)return J.eatWhile(/\w/),J=J.current().toLowerCase(),
|
||
(h=A[J])||null;if("\x3d"===c)return J.eatWhile(/\w/),"tag";if("{"===c||"}"===c)return"bracket";if(/\d/.test(c)){if("0"===c&&J.eat("x"))return J.eatWhile(/[0-9a-fA-F]/),"number";J.eatWhile(/\d/);return"number"}if(/\w/.test(c)){J.eatWhile(/\w/);if(J.eat(":"))return"tag";J=J.current().toLowerCase();return(h=B[J])||null}for(var p=0;p<u.length;p++)if(h=u[p](c,J,g))return h},lineComment:z,blockCommentStart:"/*",blockCommentEnd:"*/"}})})};
|
||
shadow$provide[505]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../lib/codemirror"],v):v(CodeMirror)})(function(v){v.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".split(" "),alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{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"],alias:["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".split(" ")},{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".split(" ")},{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:"123456789".split("")},
|
||
{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<v.modeInfo.length;Y++){var y=v.modeInfo[Y];y.mimes&&(y.mime=y.mimes[0])}v.findModeByMIME=function(n){n=n.toLowerCase();for(var b=0;b<v.modeInfo.length;b++){var u=v.modeInfo[b];if(u.mime==n)return u;if(u.mimes)for(var z=0;z<u.mimes.length;z++)if(u.mimes[z]==n)return u}if(/\+xml$/.test(n))return v.findModeByMIME("application/xml");if(/\+json$/.test(n))return v.findModeByMIME("application/json")};v.findModeByExtension=function(n){n=
|
||
n.toLowerCase();for(var b=0;b<v.modeInfo.length;b++){var u=v.modeInfo[b];if(u.ext)for(var z=0;z<u.ext.length;z++)if(u.ext[z]==n)return u}};v.findModeByFileName=function(n){for(var b=0;b<v.modeInfo.length;b++){var u=v.modeInfo[b];if(u.file&&u.file.test(n))return u}b=n.lastIndexOf(".");if(n=-1<b&&n.substring(b+1,n.length))return v.findModeByExtension(n)};v.findModeByName=function(n){n=n.toLowerCase();for(var b=0;b<v.modeInfo.length;b++){var u=v.modeInfo[b];if(u.name.toLowerCase()==n)return u;if(u.alias)for(var z=
|
||
0;z<u.alias.length;z++)if(u.alias[z].toLowerCase()==n)return u}}})};
|
||
shadow$provide[506]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(486),ba(505)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../meta"],v):v(CodeMirror)})(function(v){v.defineMode("markdown",function(Y,y){function n(L,Q,N){Q.f=Q.inline=N;return N(L,Q)}function b(L){L.linkTitle=!1;L.linkHref=!1;L.linkText=!1;L.em=!1;L.strong=!1;L.strikethrough=!1;L.quote=0;L.indentedCode=!1;if(L.f==z){var Q=t;Q||(Q=v.innerMode(w,L.htmlState),
|
||
Q="xml"==Q.mode.name&&null===Q.state.tagStart&&!Q.state.context&&Q.state.tokenize.isInText);Q&&(L.f=g,L.block=u,L.htmlState=null)}L.trailingSpace=0;L.trailingSpaceNewLine=!1;L.prevLine=L.thisLine;L.thisLine={stream:null};return null}function u(L,Q){var N=L.column()===Q.indentation,la=Q.prevLine.stream;var R=!la||!/\S/.test(la.string);var Z=Q.indentedCode,X=Q.prevLine.hr,S=!1!==Q.list,ha=(Q.listStack[Q.listStack.length-1]||0)+3;Q.indentedCode=!1;la=Q.indentation;if(null===Q.indentationDiff&&(Q.indentationDiff=
|
||
Q.indentation,S)){for(Q.list=null;la<Q.listStack[Q.listStack.length-1];)Q.listStack.pop(),Q.listStack.length?Q.indentation=Q.listStack[Q.listStack.length-1]:Q.list=!1;!1!==Q.list&&(Q.indentationDiff=la-Q.listStack[Q.listStack.length-1])}var W=!R&&!X&&!Q.prevLine.header&&(!S||!Z)&&!Q.prevLine.fencedCodeEnd,ra=(!1===Q.list||X||R)&&Q.indentation<=ha&&L.match(F);X=null;if(4<=Q.indentationDiff&&(Z||Q.prevLine.fencedCodeEnd||Q.prevLine.header||R))return L.skipToEnd(),Q.indentedCode=!0,r.code;if(L.eatSpace())return null;
|
||
if(N&&Q.indentation<=ha&&(X=L.match(aa))&&6>=X[1].length)return Q.quote=0,Q.header=X[1].length,Q.thisLine.header=!0,y.highlightFormatting&&(Q.formatting="header"),Q.f=Q.inline,B(Q);if(Q.indentation<=ha&&L.eat("\x3e"))return Q.quote=N?1:Q.quote+1,y.highlightFormatting&&(Q.formatting="quote"),L.eatSpace(),B(Q);if(!ra&&!Q.setext&&N&&Q.indentation<=ha&&(X=L.match(C)))return N=X[1]?"ol":"ul",Q.indentation=la+L.current().length,Q.list=!0,Q.quote=0,Q.listStack.push(Q.indentation),Q.em=!1,Q.strong=!1,Q.code=
|
||
!1,Q.strikethrough=!1,y.taskLists&&L.match(M,!1)&&(Q.taskList=!0),Q.f=Q.inline,y.highlightFormatting&&(Q.formatting=["list","list-"+N]),B(Q);if(N&&Q.indentation<=ha&&(X=L.match(P,!0))){Q.quote=0;Q.fencedEndRE=new RegExp(X[1]+"+ *$");if(L=y.fencedCodeBlockHighlighting)L=X[2]||y.fencedCodeBlockDefaultMode,v.findModeByName&&(N=v.findModeByName(L))&&(L=N.mime||N.mimes[0]),L=v.getMode(Y,L),L="null"==L.name?null:L;Q.localMode=L;Q.localMode&&(Q.localState=v.startState(Q.localMode));Q.f=Q.block=A;y.highlightFormatting&&
|
||
(Q.formatting="code-block");Q.code=-1;return B(Q)}return Q.setext||!(W&&S||Q.quote||!1!==Q.list||Q.code||ra||V.test(L.string))&&(X=L.lookAhead(1))&&(X=X.match(O))?(Q.setext?(Q.header=Q.setext,Q.setext=0,L.skipToEnd(),y.highlightFormatting&&(Q.formatting="header")):(Q.header="\x3d"==X[0].charAt(0)?1:2,Q.setext=Q.header),Q.thisLine.header=!0,Q.f=Q.inline,B(Q)):ra?(L.skipToEnd(),Q.hr=!0,Q.thisLine.hr=!0,r.hr):"["===L.peek()?n(L,Q,m):n(L,Q,Q.inline)}function z(L,Q){var N=w.token(L,Q.htmlState);if(!t){var la=
|
||
v.innerMode(w,Q.htmlState);if("xml"==la.mode.name&&null===la.state.tagStart&&!la.state.context&&la.state.tokenize.isInText||Q.md_inside&&-1<L.current().indexOf("\x3e"))Q.f=g,Q.block=u,Q.htmlState=null}return N}function A(L,Q){var N=Q.listStack[Q.listStack.length-1]||0,la=Q.indentation<N;if(Q.fencedEndRE&&Q.indentation<=N+3&&(la||L.match(Q.fencedEndRE))){y.highlightFormatting&&(Q.formatting="code-block");var R;la||(R=B(Q));Q.localMode=Q.localState=null;Q.block=u;Q.f=g;Q.fencedEndRE=null;Q.code=0;Q.thisLine.fencedCodeEnd=
|
||
!0;return la?(N=Q.block,Q.f=Q.block=N,N(L,Q)):R}if(Q.localMode)return Q.localMode.token(L,Q.localState);L.skipToEnd();return r.code}function B(L){var Q=[];if(L.formatting){Q.push(r.formatting);"string"===typeof L.formatting&&(L.formatting=[L.formatting]);for(var N=0;N<L.formatting.length;N++)Q.push(r.formatting+"-"+L.formatting[N]),"header"===L.formatting[N]&&Q.push(r.formatting+"-"+L.formatting[N]+"-"+L.header),"quote"===L.formatting[N]&&(!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=L.quote?Q.push(r.formatting+
|
||
"-"+L.formatting[N]+"-"+L.quote):Q.push("error"))}if(L.taskOpen)return Q.push("meta"),Q.length?Q.join(" "):null;if(L.taskClosed)return Q.push("property"),Q.length?Q.join(" "):null;L.linkHref?Q.push(r.linkHref,"url"):(L.strong&&Q.push(r.strong),L.em&&Q.push(r.em),L.strikethrough&&Q.push(r.strikethrough),L.emoji&&Q.push(r.emoji),L.linkText&&Q.push(r.linkText),L.code&&Q.push(r.code),L.image&&Q.push(r.image),L.imageAltText&&Q.push(r.imageAltText,"link"),L.imageMarker&&Q.push(r.imageMarker));L.header&&
|
||
Q.push(r.header,r.header+"-"+L.header);L.quote&&(Q.push(r.quote),!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=L.quote?Q.push(r.quote+"-"+L.quote):Q.push(r.quote+"-"+y.maxBlockquoteDepth));!1!==L.list&&((N=(L.listStack.length-1)%3)?1===N?Q.push(r.list2):Q.push(r.list3):Q.push(r.list1));L.trailingSpaceNewLine?Q.push("trailing-space-new-line"):L.trailingSpace&&Q.push("trailing-space-"+(L.trailingSpace%2?"a":"b"));return Q.length?Q.join(" "):null}function J(L,Q){if(L.match(U,!0))return B(Q)}function g(L,
|
||
Q){var N=Q.text(L,Q);if("undefined"!==typeof N)return N;if(Q.list)return Q.list=null,B(Q);if(Q.taskList)return" "===L.match(M,!0)[1]?Q.taskOpen=!0:Q.taskClosed=!0,y.highlightFormatting&&(Q.formatting="task"),Q.taskList=!1,B(Q);Q.taskOpen=!1;Q.taskClosed=!1;if(Q.header&&L.match(/^#+$/,!0))return y.highlightFormatting&&(Q.formatting="header"),B(Q);N=L.next();if(Q.linkTitle){Q.linkTitle=!1;var la=N;"("===N&&(la=")");la=(la+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");if(L.match(new RegExp("^\\s*(?:[^"+
|
||
la+"\\\\]+|\\\\\\\\|\\\\.)"+la),!0))return r.linkHref}if("`"===N){N=Q.formatting;y.highlightFormatting&&(Q.formatting="code");L.eatWhile("`");L=L.current().length;if(0!=Q.code||Q.quote&&1!=L){if(L==Q.code)return L=B(Q),Q.code=0,L;Q.formatting=N;return B(Q)}Q.code=L;return B(Q)}if(Q.code)return B(Q);if("\\"===N&&(L.next(),y.highlightFormatting))return N=B(Q),Q=r.formatting+"-escape",N?N+" "+Q:Q;if("!"===N&&L.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Q.imageMarker=!0,Q.image=!0,y.highlightFormatting&&
|
||
(Q.formatting="image"),B(Q);if("["===N&&Q.imageMarker&&L.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Q.imageMarker=!1,Q.imageAltText=!0,y.highlightFormatting&&(Q.formatting="image"),B(Q);if("]"===N&&Q.imageAltText)return y.highlightFormatting&&(Q.formatting="image"),N=B(Q),Q.imageAltText=!1,Q.image=!1,Q.inline=Q.f=c,N;if("["===N&&!Q.image){if(Q.linkText&&L.match(/^.*?\]/))return B(Q);Q.linkText=!0;y.highlightFormatting&&(Q.formatting="link");return B(Q)}if("]"===N&&Q.linkText)return y.highlightFormatting&&
|
||
(Q.formatting="link"),N=B(Q),Q.linkText=!1,Q.inline=Q.f=L.match(/\(.*?\)| ?\[.*?\]/,!1)?c:g,N;if("\x3c"===N&&L.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return Q.f=Q.inline=h,y.highlightFormatting&&(Q.formatting="link"),N=B(Q),(N?N+" ":"")+r.linkInline;if("\x3c"===N&&L.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return Q.f=Q.inline=h,y.highlightFormatting&&(Q.formatting="link"),N=B(Q),(N?N+" ":"")+r.linkEmail;if(y.xml&&"\x3c"===N&&L.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,
|
||
!1))return N=L.string.indexOf("\x3e",L.pos),-1!=N&&(N=L.string.substring(L.start,N),/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(N)&&(Q.md_inside=!0)),L.backUp(1),Q.htmlState=v.startState(w),N=z,Q.f=Q.block=N,N(L,Q);if(y.xml&&"\x3c"===N&&L.match(/^\/\w*?>/))return Q.md_inside=!1,"tag";if("*"===N||"_"===N){for(var R=1,Z=1==L.pos?" ":L.string.charAt(L.pos-2);3>R&&L.eat(N);)R++;var X=L.peek()||" ",S=!/\s/.test(X)&&(!T.test(X)||/\s/.test(Z)||T.test(Z)),ha=!/\s/.test(Z)&&(!T.test(Z)||/\s/.test(X)||T.test(X)),
|
||
W=la=null;R%2&&(Q.em||!S||"*"!==N&&ha&&!T.test(Z)?Q.em!=N||!ha||"*"!==N&&S&&!T.test(X)||(la=!1):la=!0);1<R&&(Q.strong||!S||"*"!==N&&ha&&!T.test(Z)?Q.strong!=N||!ha||"*"!==N&&S&&!T.test(X)||(W=!1):W=!0);if(null!=W||null!=la)return y.highlightFormatting&&(Q.formatting=null==la?"strong":null==W?"em":"strong em"),!0===la&&(Q.em=N),!0===W&&(Q.strong=N),L=B(Q),!1===la&&(Q.em=!1),!1===W&&(Q.strong=!1),L}else if(" "===N&&(L.eat("*")||L.eat("_"))){if(" "===L.peek())return B(Q);L.backUp(1)}if(y.strikethrough)if("~"===
|
||
N&&L.eatWhile(N)){if(Q.strikethrough)return y.highlightFormatting&&(Q.formatting="strikethrough"),L=B(Q),Q.strikethrough=!1,L;if(L.match(/^[^\s]/,!1))return Q.strikethrough=!0,y.highlightFormatting&&(Q.formatting="strikethrough"),B(Q)}else if(" "===N&&L.match("~~",!0)){if(" "===L.peek())return B(Q);L.backUp(2)}if(y.emoji&&":"===N&&L.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/))return Q.emoji=!0,y.highlightFormatting&&(Q.formatting="emoji"),L=B(Q),Q.emoji=!1,L;" "===N&&(L.match(/^ +$/,
|
||
!1)?Q.trailingSpace++:Q.trailingSpace&&(Q.trailingSpaceNewLine=!0));return B(Q)}function h(L,Q){if("\x3e"===L.next())return Q.f=Q.inline=g,y.highlightFormatting&&(Q.formatting="link"),L=B(Q),(L?L+" ":"")+r.linkInline;L.match(/^[^>]+/,!0);return r.linkInline}function c(L,Q){if(L.eatSpace())return null;L=L.next();return"("===L||"["===L?(Q.f=Q.inline=p("("===L?")":"]"),y.highlightFormatting&&(Q.formatting="link-string"),Q.linkHref=!0,B(Q)):"error"}function p(L){return function(Q,N){if(Q.next()===L)return N.f=
|
||
N.inline=g,y.highlightFormatting&&(N.formatting="link-string"),Q=B(N),N.linkHref=!1,Q;Q.match(K[L]);N.linkHref=!0;return B(N)}}function m(L,Q){return L.match(/^([^\]\\]|\\.)*\]:/,!1)?(Q.f=q,L.next(),y.highlightFormatting&&(Q.formatting="link"),Q.linkText=!0,B(Q)):n(L,Q,g)}function q(L,Q){if(L.match("]:",!0))return Q.f=Q.inline=E,y.highlightFormatting&&(Q.formatting="link"),L=B(Q),Q.linkText=!1,L;L.match(/^([^\]\\]|\\.)+/,!0);return r.linkText}function E(L,Q){if(L.eatSpace())return null;L.match(/^[^\s]+/,
|
||
!0);void 0===L.peek()?Q.linkTitle=!0:L.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0);Q.f=Q.inline=g;return r.linkHref+" url"}var w=v.getMode(Y,"text/html"),t="null"==w.name;void 0===y.highlightFormatting&&(y.highlightFormatting=!1);void 0===y.maxBlockquoteDepth&&(y.maxBlockquoteDepth=0);void 0===y.taskLists&&(y.taskLists=!1);void 0===y.strikethrough&&(y.strikethrough=!1);void 0===y.emoji&&(y.emoji=!1);void 0===y.fencedCodeBlockHighlighting&&(y.fencedCodeBlockHighlighting=
|
||
!0);void 0===y.fencedCodeBlockDefaultMode&&(y.fencedCodeBlockDefaultMode="text/plain");void 0===y.xml&&(y.xml=!0);void 0===y.tokenTypeOverrides&&(y.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"},f;for(f in r)r.hasOwnProperty(f)&&y.tokenTypeOverrides[f]&&(r[f]=y.tokenTypeOverrides[f]);var F=/^([*\-_])(?:\s*\1){2,}\s*$/,C=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,M=/^\[(x| )\](?=\s)/i,aa=y.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,O=/^ {0,3}(?:={1,}|-{2,})\s*$/,U=/^[^#!\[\]*_\\<>` "'(~:]+/,P=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,V=/^\s*\[[^\]]+?\]:.*$/,T=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,
|
||
K={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},D={startState:function(){return{f:u,prevLine:{stream:null},thisLine:{stream:null},block:u,htmlState:null,indentation:0,inline:g,text:J,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(L){return{f:L.f,
|
||
prevLine:L.prevLine,thisLine:L.thisLine,block:L.block,htmlState:L.htmlState&&v.copyState(w,L.htmlState),indentation:L.indentation,localMode:L.localMode,localState:L.localMode?v.copyState(L.localMode,L.localState):null,inline:L.inline,text:L.text,formatting:!1,linkText:L.linkText,linkTitle:L.linkTitle,linkHref:L.linkHref,code:L.code,em:L.em,strong:L.strong,strikethrough:L.strikethrough,emoji:L.emoji,header:L.header,setext:L.setext,hr:L.hr,taskList:L.taskList,list:L.list,listStack:L.listStack.slice(0),
|
||
quote:L.quote,indentedCode:L.indentedCode,trailingSpace:L.trailingSpace,trailingSpaceNewLine:L.trailingSpaceNewLine,md_inside:L.md_inside,fencedEndRE:L.fencedEndRE}},token:function(L,Q){Q.formatting=!1;if(L!=Q.thisLine.stream){Q.header=0;Q.hr=!1;if(L.match(/^\s*$/,!0))return b(Q),null;Q.prevLine=Q.thisLine;Q.thisLine={stream:L};Q.taskList=!1;Q.trailingSpace=0;Q.trailingSpaceNewLine=!1;if(!Q.localState&&(Q.f=Q.block,Q.f!=z)){var N=L.match(/^\s*/,!0)[0].replace(/\t/g," ").length;Q.indentation=N;
|
||
Q.indentationDiff=null;if(0<N)return null}}return Q.f(L,Q)},innerMode:function(L){return L.block==z?{state:L.htmlState,mode:w}:L.localState?{state:L.localState,mode:L.localMode}:{state:L,mode:D}},indent:function(L,Q,N){return L.block==z&&w.indent?w.indent(L.htmlState,Q,N):L.localState&&L.localMode.indent?L.localMode.indent(L.localState,Q,N):v.Pass},blankLine:b,getType:B,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return D},"xml");v.defineMIME("text/markdown",
|
||
"markdown");v.defineMIME("text/x-markdown","markdown")})};
|
||
shadow$provide[507]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(506),ba(489)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../markdown/markdown","../../addon/mode/overlay"],v):v(CodeMirror)})(function(v){var Y=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;
|
||
v.defineMode("gfm",function(y,n){var b=0,u={taskLists:!0,strikethrough:!0,emoji:!0},z;for(z in n)u[z]=n[z];u.name="markdown";return v.overlayMode(v.getMode(y,u),{startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(A){return{code:A.code,codeBlock:A.codeBlock,ateSpace:A.ateSpace}},token:function(A,B){B.combineTokens=null;if(B.codeBlock){if(A.match(/^```+/))return B.codeBlock=!1,null;A.skipToEnd();return null}A.sol()&&(B.code=!1);if(A.sol()&&A.match(/^```+/))return A.skipToEnd(),
|
||
B.codeBlock=!0,null;if("`"===A.peek()){A.next();var J=A.pos;A.eatWhile("`");A=1+A.pos-J;B.code?A===b&&(B.code=!1):(b=A,B.code=!0);return null}if(B.code)return A.next(),null;if(A.eatSpace())return B.ateSpace=!0,null;if(A.sol()||B.ateSpace)if(B.ateSpace=!1,!1!==n.gitHubSpice&&(A.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)||A.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/)))return B.combineTokens=!0,"link";if(A.match(Y)&&"]("!=A.string.slice(A.start-
|
||
2,A.start)&&(0==A.start||/\W/.test(A.string.charAt(A.start-1))))return B.combineTokens=!0,"link";A.next();return null},blankLine:function(A){A.code=!1;return null}})},"markdown");v.defineMIME("text/x-gfm","gfm")})};
|
||
shadow$provide[508]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(Y,y){Y.sol()&&
|
||
(y.lineNumber++,y.inKeywordLine=!1,y.inMultilineTable&&(y.tableHeaderLine=!1,Y.match(/\s*\|/,!1)||(y.allowMultilineArgument=!1,y.inMultilineTable=!1)));Y.eatSpace();if(y.allowMultilineArgument){if(y.inMultilineString)return Y.match('"""')?(y.inMultilineString=!1,y.allowMultilineArgument=!1):Y.match(/.*/),"string";if(y.inMultilineTable){if(Y.match(/\|\s*/))return"bracket";Y.match(/[^\|]*/);return y.tableHeaderLine?"header":"string"}if(Y.match('"""'))return y.inMultilineString=!0,"string";if(Y.match("|"))return y.inMultilineTable=
|
||
!0,y.tableHeaderLine=!0,"bracket"}if(Y.match(/#.*/))return"comment";if(!y.inKeywordLine&&Y.match(/@\S+/))return"tag";if(!y.inKeywordLine&&y.allowFeature&&Y.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/))return y.allowScenario=
|
||
!0,y.allowBackground=!0,y.allowPlaceholders=!1,y.allowSteps=!1,y.allowMultilineArgument=!1,y.inKeywordLine=!0,"keyword";if(!y.inKeywordLine&&y.allowBackground&&Y.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/))return y.allowPlaceholders=
|
||
!1,y.allowSteps=!0,y.allowBackground=!1,y.allowMultilineArgument=!1,y.inKeywordLine=!0,"keyword";if(!y.inKeywordLine&&y.allowScenario&&Y.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/))return y.allowPlaceholders=
|
||
!0,y.allowSteps=!0,y.allowMultilineArgument=!1,y.inKeywordLine=!0,"keyword";if(y.allowScenario&&Y.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/))return y.allowPlaceholders=
|
||
!1,y.allowSteps=!0,y.allowBackground=!1,y.allowMultilineArgument=!0,"keyword";if(!y.inKeywordLine&&y.allowScenario&&Y.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/))return y.allowPlaceholders=
|
||
!1,y.allowSteps=!0,y.allowBackground=!1,y.allowMultilineArgument=!1,y.inKeywordLine=!0,"keyword";if(!y.inKeywordLine&&y.allowSteps&&Y.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/))return y.inStep=
|
||
!0,y.allowPlaceholders=!0,y.allowMultilineArgument=!0,y.inKeywordLine=!0,"keyword";if(Y.match(/"[^"]*"?/))return"string";if(y.allowPlaceholders&&Y.match(/<[^>]*>?/))return"variable";Y.next();Y.eatWhile(/[^@"<#]/);return null}}});v.defineMIME("text/x-feature","gherkin")})};
|
||
shadow$provide[509]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("go",function(Y){function y(p,m){var q=p.next();if('"'==q||"'"==q||"`"==q)return m.tokenize=n(q),m.tokenize(p,m);if(/[\d\.]/.test(q))return"."==q?p.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==q?p.match(/^[xX][0-9a-fA-F]+/)||p.match(/^0[0-7]+/):p.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),
|
||
"number";if(/[\[\]{}\(\),;:\.]/.test(q))return c=q,null;if("/"==q){if(p.eat("*"))return m.tokenize=b,b(p,m);if(p.eat("/"))return p.skipToEnd(),"comment"}if(h.test(q))return p.eatWhile(h),"operator";p.eatWhile(/[\w\$_\xa1-\uffff]/);p=p.current();if(J.propertyIsEnumerable(p)){if("case"==p||"default"==p)c="case";return"keyword"}return g.propertyIsEnumerable(p)?"atom":"variable"}function n(p){return function(m,q){for(var E=!1,w,t=!1;null!=(w=m.next());){if(w==p&&!E){t=!0;break}E=!E&&"`"!=p&&"\\"==w}if(t||
|
||
!E&&"`"!=p)q.tokenize=y;return"string"}}function b(p,m){for(var q=!1,E;E=p.next();){if("/"==E&&q){m.tokenize=y;break}q="*"==E}return"comment"}function u(p,m,q,E,w){this.indented=p;this.column=m;this.type=q;this.align=E;this.prev=w}function z(p,m,q){return p.context=new u(p.indented,m,q,null,p.context)}function A(p){if(p.context.prev){var m=p.context.type;if(")"==m||"]"==m||"}"==m)p.indented=p.context.indented;return p.context=p.context.prev}}var B=Y.indentUnit,J={"break":!0,"case":!0,chan:!0,"const":!0,
|
||
"continue":!0,"default":!0,defer:!0,"else":!0,fallthrough:!0,"for":!0,func:!0,go:!0,"goto":!0,"if":!0,"import":!0,"interface":!0,map:!0,"package":!0,range:!0,"return":!0,select:!0,struct:!0,"switch":!0,type:!0,"var":!0,bool:!0,"byte":!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,"int":!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},g={"true":!0,"false":!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,
|
||
complex:!0,copy:!0,"delete":!0,imag:!0,len:!0,make:!0,"new":!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},h=/[+\-*&^%:=<>!|\/]/,c;return{startState:function(p){return{tokenize:null,context:new u((p||0)-B,0,"top",!1),indented:0,startOfLine:!0}},token:function(p,m){var q=m.context;p.sol()&&(null==q.align&&(q.align=!1),m.indented=p.indentation(),m.startOfLine=!0,"case"==q.type&&(q.type="}"));if(p.eatSpace())return null;c=null;var E=(m.tokenize||y)(p,m);if("comment"==E)return E;null==q.align&&(q.align=
|
||
!0);"{"==c?z(m,p.column(),"}"):"["==c?z(m,p.column(),"]"):"("==c?z(m,p.column(),")"):"case"==c?q.type="case":"}"==c&&"}"==q.type?A(m):c==q.type&&A(m);m.startOfLine=!1;return E},indent:function(p,m){if(p.tokenize!=y&&null!=p.tokenize)return v.Pass;var q=p.context,E=m&&m.charAt(0);if("case"==q.type&&/^(?:case|default)\b/.test(m))return p.context.type="}",q.indented;p=E==q.type;return q.align?q.column+(p?0:1):q.indented+(p?0:B)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",
|
||
blockCommentEnd:"*/",lineComment:"//"}});v.defineMIME("text/x-go","go")})};
|
||
shadow$provide[510]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("groovy",function(Y){function y(w){var t={};w=w.split(" ");for(var r=0;r<w.length;++r)t[w[r]]=!0;return t}function n(w,t){var r=w.next();if('"'==r||"'"==r)return b(r,w,t);if(/[\[\]{}\(\),;:\.]/.test(r))return E=r,null;if(/\d/.test(r))return w.eatWhile(/[\w\.]/),w.eat(/eE/)&&(w.eat(/\+\-/),
|
||
w.eatWhile(/\d/)),"number";if("/"==r){if(w.eat("*"))return t.tokenize.push(A),A(w,t);if(w.eat("/"))return w.skipToEnd(),"comment";if(B(t.lastToken,!1))return b(r,w,t)}if("-"==r&&w.eat("\x3e"))return E="-\x3e",null;if(/[+\-*&%=<>!?|\/~]/.test(r))return w.eatWhile(/[+\-*&%=<>|~]/),"operator";w.eatWhile(/[\w\$_]/);if("@"==r)return w.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(w.eat(":"))return E="proplabel","property";w=w.current();return q.propertyIsEnumerable(w)?"atom":c.propertyIsEnumerable(w)?
|
||
(p.propertyIsEnumerable(w)?E="newstatement":m.propertyIsEnumerable(w)&&(E="standalone"),"keyword"):"variable"}function b(w,t,r){function f(C,M){for(var aa=!1,O,U=!F;null!=(O=C.next());){if(O==w&&!aa){if(!F)break;if(C.match(w+w)){U=!0;break}}if('"'==w&&"$"==O&&!aa){if(C.eat("{"))return M.tokenize.push(u()),"string";if(C.match(/^\w/,!1))return M.tokenize.push(z),"string"}aa=!aa&&"\\"==O}U&&M.tokenize.pop();return"string"}var F=!1;if("/"!=w&&t.eat(w))if(t.eat(w))F=!0;else return"string";r.tokenize.push(f);
|
||
return f(t,r)}function u(){function w(r,f){if("}"==r.peek()){if(t--,0==t)return f.tokenize.pop(),f.tokenize[f.tokenize.length-1](r,f)}else"{"==r.peek()&&t++;return n(r,f)}var t=1;w.isBase=!0;return w}function z(w,t){var r=w.match(/^(\.|[\w\$_]+)/);return r?"."==r[0]?null:"variable":(t.tokenize.pop(),t.tokenize[t.tokenize.length-1](w,t))}function A(w,t){for(var r=!1,f;f=w.next();){if("/"==f&&r){t.tokenize.pop();break}r="*"==f}return"comment"}function B(w,t){return!w||"operator"==w||"-\x3e"==w||/[\.\[\{\(,;:]/.test(w)||
|
||
"newstatement"==w||"keyword"==w||"proplabel"==w||"standalone"==w&&!t}function J(w,t,r,f,F){this.indented=w;this.column=t;this.type=r;this.align=f;this.prev=F}function g(w,t,r){return w.context=new J(w.indented,t,r,null,w.context)}function h(w){var t=w.context.type;if(")"==t||"]"==t||"}"==t)w.indented=w.context.indented;return w.context=w.context.prev}var c=y("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 threadsafe throw throws trait transient try void volatile while"),
|
||
p=y("catch class def do else enum finally for if interface switch trait try while"),m=y("return break continue"),q=y("null true false this"),E;n.isBase=!0;return{startState:function(w){return{tokenize:[n],context:new J((w||0)-Y.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(w,t){var r=t.context;w.sol()&&(null==r.align&&(r.align=!1),t.indented=w.indentation(),t.startOfLine=!0,"statement"!=r.type||B(t.lastToken,!0)||(h(t),r=t.context));if(w.eatSpace())return null;E=
|
||
null;var f=t.tokenize[t.tokenize.length-1](w,t);if("comment"==f)return f;null==r.align&&(r.align=!0);if(";"!=E&&":"!=E||"statement"!=r.type)if("-\x3e"==E&&"statement"==r.type&&"}"==r.prev.type)h(t),t.context.align=!1;else if("{"==E)g(t,w.column(),"}");else if("["==E)g(t,w.column(),"]");else if("("==E)g(t,w.column(),")");else if("}"==E){for(;"statement"==r.type;)r=h(t);for("}"==r.type&&(r=h(t));"statement"==r.type;)r=h(t)}else E==r.type?h(t):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==
|
||
E)&&g(t,w.column(),"statement");else h(t);t.startOfLine=!1;t.lastToken=E||f;return f},indent:function(w,t){if(!w.tokenize[w.tokenize.length-1].isBase)return v.Pass;t=t&&t.charAt(0);var r=w.context;"statement"!=r.type||B(w.lastToken,!0)||(r=r.prev);w=t==r.type;return"statement"==r.type?r.indented+("{"==t?0:Y.indentUnit):r.align?r.column+(w?0:1):r.indented+(w?0:Y.indentUnit)},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});
|
||
v.defineMIME("text/x-groovy","groovy")})};
|
||
shadow$provide[511]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(B){for(var J={},g=0,h=B.length;g<h;++g)J[B[g]]=!0;return J}var y="alias and BEGIN begin break case class def defined? do else elsif END end ensure false for if in module next not or redo rescue retry return self super then true undef unless until when while yield nil raise throw catch fail loop callcc caller lambda proc public protected private require load require_relative extend autoload __END__ __FILE__ __LINE__ __dir__".split(" "),
|
||
n=Y(y),b=Y("def class case for while until module catch loop proc begin".split(" ")),u=Y(["end","until"]),z={"[":"]","{":"}","(":")"},A={"]":"[","}":"{",")":"("};v.defineMode("ruby",function(B){function J(w,t,r){r.tokenize.push(w);return w(t,r)}function g(w,t){if(w.sol()&&w.match("\x3dbegin")&&w.eol())return t.tokenize.push(q),"comment";if(w.eatSpace())return null;var r=w.next();if("`"==r||"'"==r||'"'==r)return J(p(r,"string",'"'==r||"`"==r),w,t);if("/"==r){var f=w.pos;for(var F=0,C,M=!1,aa=!1;null!=
|
||
(C=w.next());)if(aa)aa=!1;else{if(-1<"[{(".indexOf(C))F++;else if(-1<"]})".indexOf(C)){if(F--,0>F)break}else if("/"==C&&0==F){M=!0;break}aa="\\"==C}w.backUp(w.pos-f);return M?J(p(r,"string-2",!0),w,t):"operator"}if("%"==r){r="string";f=!0;w.eat("s")?r="atom":w.eat(/[WQ]/)?r="string":w.eat(/[r]/)?r="string-2":w.eat(/[wxq]/)&&(r="string",f=!1);F=w.eat(/[^\w\s=]/);if(!F)return"operator";z.propertyIsEnumerable(F)&&(F=z[F]);return J(p(F,r,f,!0),w,t)}if("#"==r)return w.skipToEnd(),"comment";if("\x3c"==
|
||
r&&(f=w.match(/^<([-~])[`"']?([a-zA-Z_?]\w*)[`"']?(?:;|$)/)))return J(m(f[2],f[1]),w,t);if("0"==r)return w.eat("x")?w.eatWhile(/[\da-fA-F]/):w.eat("b")?w.eatWhile(/[01]/):w.eatWhile(/[0-7]/),"number";if(/\d/.test(r))return w.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==r){for(;w.match(/^\\[CM]-/););w.eat("\\")?w.eatWhile(/\w/):w.next();return"string"}if(":"==r)return w.eat("'")?J(p("'","atom",!1),w,t):w.eat('"')?J(p('"',"atom",!0),w,t):w.eat(/[<>]/)?(w.eat(/[<>]/),"atom"):w.eat(/[\+\-\*\/&\|:!]/)?
|
||
"atom":w.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(w.eatWhile(/[\w$\xa1-\uffff]/),w.eat(/[\?!=]/),"atom"):"operator";if("@"==r&&w.match(/^@?[a-zA-Z_\xa1-\uffff]/))return w.eat("@"),w.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==r)return w.eat(/[a-zA-Z_]/)?w.eatWhile(/[\w]/):w.eat(/\d/)?w.eat(/\d/):w.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(r))return w.eatWhile(/[\w\xa1-\uffff]/),w.eat(/[\?!]/),w.eat(":")?"atom":"ident";if("|"!=r||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok)return/[\(\)\[\]{}\\;]/.test(r)?
|
||
(E=r,null):"-"==r&&w.eat("\x3e")?"arrow":/[=+\-\/*:\.^%<>~|]/.test(r)?(w=w.eatWhile(/[=+\-\/*:\.^%<>~|]/),"."!=r||w||(E="."),"operator"):null;E="|";return null}function h(w){w||=1;return function(t,r){if("}"==t.peek()){if(1==w)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);r.tokenize[r.tokenize.length-1]=h(w-1)}else"{"==t.peek()&&(r.tokenize[r.tokenize.length-1]=h(w+1));return g(t,r)}}function c(){var w=!1;return function(t,r){if(w)return r.tokenize.pop(),r.tokenize[r.tokenize.length-
|
||
1](t,r);w=!0;return g(t,r)}}function p(w,t,r,f){return function(F,C){var M=!1,aa;"read-quoted-paused"===C.context.type&&(C.context=C.context.prev,F.eat("}"));for(;null!=(aa=F.next());){if(aa==w&&(f||!M)){C.tokenize.pop();break}if(r&&"#"==aa&&!M)if(F.eat("{")){"}"==w&&(C.context={prev:C.context,type:"read-quoted-paused"});C.tokenize.push(h());break}else if(/[@\$]/.test(F.peek())){C.tokenize.push(c());break}M=!M&&"\\"==aa}return t}}function m(w,t){return function(r,f){t&&r.eatSpace();r.match(w)?f.tokenize.pop():
|
||
r.skipToEnd();return"string"}}function q(w,t){w.sol()&&w.match("\x3dend")&&w.eol()&&t.tokenize.pop();w.skipToEnd();return"comment"}var E;return{startState:function(){return{tokenize:[g],indented:0,context:{type:"top",indented:-B.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(w,t){E=null;w.sol()&&(t.indented=w.indentation());var r=t.tokenize[t.tokenize.length-1](w,t),f,F=E;if("ident"==r){var C=w.current();r="."==t.lastTok?"property":n.propertyIsEnumerable(w.current())?"keyword":
|
||
/^[A-Z]/.test(C)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable";"keyword"==r&&(F=C,b.propertyIsEnumerable(C)?f="indent":u.propertyIsEnumerable(C)?f="dedent":"if"!=C&&"unless"!=C||w.column()!=w.indentation()?"do"==C&&t.context.indented<t.indented&&(f="indent"):f="indent")}if(E||r&&"comment"!=r)t.lastTok=F;"|"==E&&(t.varList=!t.varList);"indent"==f||/[\(\[\{]/.test(E)?t.context={prev:t.context,type:E||r,indented:t.indented}:("dedent"==f||/[\)\]\}]/.test(E))&&t.context.prev&&
|
||
(t.context=t.context.prev);w.eol()&&(t.continuedLine="\\"==E||"operator"==r);return r},indent:function(w,t){if(w.tokenize[w.tokenize.length-1]!=g)return v.Pass;var r=t&&t.charAt(0),f=w.context;t=f.type==A[r]||"keyword"==f.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(t);return f.indented+(t?0:B.indentUnit)+(w.continuedLine?B.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}});v.defineMIME("text/x-ruby","ruby");v.registerHelper("hintWords","ruby",
|
||
y)})};
|
||
shadow$provide[512]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(488),ba(511)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../ruby/ruby"],v):v(CodeMirror)})(function(v){v.defineMode("haml",function(Y){function y(A){return function(B,J){return B.peek()==A&&1==J.rubyState.tokenize.length?(B.next(),J.tokenize=b,"closeAttributeTag"):n(B,J)}}function n(A,B){return A.match("-#")?(A.skipToEnd(),"comment"):z.token(A,
|
||
B.rubyState)}function b(A,B){var J=A.peek();if("comment"==B.previousToken.style&&B.indented>B.previousToken.indented)return A.skipToEnd(),"commentLine";if(B.startOfLine){if("!"==J&&A.match("!!"))return A.skipToEnd(),"tag";if(A.match(/^%[\w:#\.]+=/))return B.tokenize=n,"hamlTag";if(A.match(/^%[\w:]+/))return"hamlTag";if("/"==J)return A.skipToEnd(),"comment"}if(B.startOfLine||"hamlTag"==B.previousToken.style)if("#"==J||"."==J)return A.match(/[\w-#\.]*/),"hamlAttribute";if(B.startOfLine&&!A.match("--\x3e",
|
||
!1)&&("\x3d"==J||"-"==J))return B.tokenize=n,B.tokenize(A,B);if("hamlTag"==B.previousToken.style||"closeAttributeTag"==B.previousToken.style||"hamlAttribute"==B.previousToken.style){if("("==J)return B.tokenize=y(")"),B.tokenize(A,B);if("{"==J&&!A.match(/^\{%.*/))return B.tokenize=y("}"),B.tokenize(A,B)}return u.token(A,B.htmlState)}var u=v.getMode(Y,{name:"htmlmixed"}),z=v.getMode(Y,"ruby");return{startState:function(){var A=v.startState(u),B=v.startState(z);return{htmlState:A,rubyState:B,indented:0,
|
||
previousToken:{style:null,indented:0},tokenize:b}},copyState:function(A){return{htmlState:v.copyState(u,A.htmlState),rubyState:v.copyState(z,A.rubyState),indented:A.indented,previousToken:A.previousToken,tokenize:A.tokenize}},token:function(A,B){A.sol()&&(B.indented=A.indentation(),B.startOfLine=!0);if(A.eatSpace())return null;var J=B.tokenize(A,B);B.startOfLine=!1;J&&"commentLine"!=J&&(B.previousToken={style:J,indented:B.indented});if(A.eol()&&B.tokenize==n){A.backUp(1);var g=A.peek();A.next();g&&
|
||
","!=g&&(B.tokenize=b)}"hamlTag"==J?J="tag":"commentLine"==J?J="comment":"hamlAttribute"==J?J="attribute":"closeAttributeTag"==J&&(J=null);return J}}},"htmlmixed","ruby");v.defineMIME("text/x-haml","haml")})};
|
||
shadow$provide[513]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.multiplexingMode=function(Y){function y(b,u,z,A){return"string"==typeof u?(z=b.indexOf(u,z),A&&-1<z?z+u.length:z):(u=u.exec(z?b.slice(z):b))?u.index+z+(A?u[0].length:0):-1}var n=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:v.startState(Y),innerActive:null,
|
||
inner:null,startingInner:!1}},copyState:function(b){return{outer:v.copyState(Y,b.outer),innerActive:b.innerActive,inner:b.innerActive&&v.copyState(b.innerActive.mode,b.inner),startingInner:b.startingInner}},token:function(b,u){if(u.innerActive){var z=u.innerActive;B=b.string;if(!z.close&&b.sol())return u.innerActive=u.inner=null,this.token(b,u);g=z.close&&!u.startingInner?y(B,z.close,b.pos,z.parseDelimiters):-1;if(g==b.pos&&!z.parseDelimiters)return b.match(z.close),u.innerActive=u.inner=null,z.delimStyle&&
|
||
z.delimStyle+" "+z.delimStyle+"-close";-1<g&&(b.string=B.slice(0,g));var A=z.mode.token(b,u.inner);-1<g?b.string=B:b.pos>b.start&&(u.startingInner=!1);g==b.pos&&z.parseDelimiters&&(u.innerActive=u.inner=null);z.innerStyle&&(A=A?A+" "+z.innerStyle:z.innerStyle);return A}A=Infinity;for(var B=b.string,J=0;J<n.length;++J){z=n[J];var g=y(B,z.open,b.pos);if(g==b.pos)return z.parseDelimiters||b.match(z.open),u.startingInner=!!z.parseDelimiters,u.innerActive=z,b=0,Y.indent&&(B=Y.indent(u.outer,"",""),B!==
|
||
v.Pass&&(b=B)),u.inner=v.startState(z.mode,b),z.delimStyle&&z.delimStyle+" "+z.delimStyle+"-open";-1!=g&&g<A&&(A=g)}Infinity!=A&&(b.string=B.slice(0,A));u=Y.token(b,u.outer);Infinity!=A&&(b.string=B);return u},indent:function(b,u,z){var A=b.innerActive?b.innerActive.mode:Y;return A.indent?A.indent(b.innerActive?b.inner:b.outer,u,z):v.Pass},blankLine:function(b){var u=b.innerActive?b.innerActive.mode:Y;u.blankLine&&u.blankLine(b.innerActive?b.inner:b.outer);if(b.innerActive)"\n"===b.innerActive.close&&
|
||
(b.innerActive=b.inner=null);else for(var z=0;z<n.length;++z){var A=n[z];"\n"===A.open&&(b.innerActive=A,b.inner=v.startState(A.mode,u.indent?u.indent(b.outer,"",""):0))}},electricChars:Y.electricChars,innerMode:function(b){return b.inner?{state:b.inner,mode:b.innerActive.mode}:{state:b.outer,mode:Y}}}}})};
|
||
shadow$provide[514]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(491),ba(513)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../addon/mode/simple","../../addon/mode/multiplex"],v):v(CodeMirror)})(function(v){v.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{\{/,push:"handlebars_raw",token:"tag"},{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",
|
||
token:"tag"}],handlebars_raw:[{regex:/\}\}\}/,pop:!0,token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],
|
||
comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}});v.defineMode("handlebars",function(Y,y){var n=v.getMode(Y,"handlebars-tags");return y&&y.base?v.multiplexingMode(v.getMode(Y,y.base),{open:"{{",close:/\}\}\}?/,mode:n,parseDelimiters:!0}):n});v.defineMIME("text/x-handlebars-template","handlebars")})};
|
||
shadow$provide[515]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("haskell",function(Y,y){function n(t,r,f){r(f);return f(t,r)}function b(t,r){if(t.eatWhile(E))return null;var f=t.next();if(q.test(f)){if("{"==f&&t.eat("-")){var F="comment";t.eat("#")&&(F="meta");return n(t,r,u(F,1))}return null}if("'"==f)return t.eat("\\"),t.next(),t.eat("'")?"string":
|
||
"string error";if('"'==f)return n(t,r,z);if(J.test(f))return t.eatWhile(p),t.eat(".")?"qualifier":"variable-2";if(B.test(f))return t.eatWhile(p),"variable";if(g.test(f)){if("0"==f){if(t.eat(/[xX]/))return t.eatWhile(h),"integer";if(t.eat(/[oO]/))return t.eatWhile(c),"number"}t.eatWhile(g);F="number";t.match(/^\.\d+/)&&(F="number");t.eat(/[eE]/)&&(F="number",t.eat(/[-+]/),t.eatWhile(g));return F}if("."==f&&t.eat("."))return"keyword";if(m.test(f)){if("-"==f&&t.eat(/-/)&&(t.eatWhile(/-/),!t.eat(m)))return t.skipToEnd(),
|
||
"comment";F="variable";":"==f&&(F="variable-2");t.eatWhile(m);return F}return"error"}function u(t,r){return 0==r?b:function(f,F){for(var C=r;!f.eol();){var M=f.next();if("{"==M&&f.eat("-"))++C;else if("-"==M&&f.eat("}")&&(--C,0==C))return F(b),t}F(u(t,C));return t}}function z(t,r){for(;!t.eol();){var f=t.next();if('"'==f)return r(b),"string";if("\\"==f){if(t.eol()||t.eat(E))return r(A),"string";t.eat("\x26")||t.next()}}r(b);return"string error"}function A(t,r){if(t.eat("\\"))return n(t,r,z);t.next();
|
||
r(b);return"error"}var B=/[a-z_]/,J=/[A-Z]/,g=/\d/,h=/[0-9A-Fa-f]/,c=/[0-7]/,p=/[a-z_A-Z0-9'\xa1-\uffff]/,m=/[-!#$%&*+.\/<=>?@\\^|~:]/,q=/[(),;[\]`{}]/,E=/[ \t\v\f]/,w=function(){function t(C){return function(){for(var M=0;M<arguments.length;M++)r[arguments[M]]=C}}var r={};t("keyword")("case","class","data","default","deriving","do","else","foreign","if","import","in","infix","infixl","infixr","instance","let","module","newtype","of","then","type","where","_");t("keyword")("..",":","::","\x3d","\\",
|
||
"\x3c-","-\x3e","@","~","\x3d\x3e");t("builtin")("!!","$!","$","\x26\x26","+","++","-",".","/","/\x3d","\x3c","\x3c*","\x3c\x3d","\x3c$\x3e","\x3c*\x3e","\x3d\x3c\x3c","\x3d\x3d","\x3e","\x3e\x3d","\x3e\x3e","\x3e\x3e\x3d","^","^^","||","*","*\x3e","**");t("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord",
|
||
"Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True");t("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","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","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise",
|
||
"pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail",
|
||
"take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var f=y.overrideKeywords;if(f)for(var F in f)f.hasOwnProperty(F)&&(r[F]=f[F]);return r}();return{startState:function(){return{f:b}},copyState:function(t){return{f:t.f}},token:function(t,r){var f=r.f(t,function(F){r.f=F});t=t.current();return w.hasOwnProperty(t)?w[t]:f},blockCommentStart:"{-",
|
||
blockCommentEnd:"-}",lineComment:"--"}});v.defineMIME("text/x-haskell","haskell")})};
|
||
shadow$provide[516]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(515)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../haskell/haskell"],v):v(CodeMirror)})(function(v){v.defineMode("haskell-literate",function(Y,y){var n=v.getMode(Y,y&&y.base||"haskell");return{startState:function(){return{inCode:!1,baseState:v.startState(n)}},token:function(b,u){if(b.sol()&&(u.inCode=b.eat("\x3e")))return"meta";if(u.inCode)return n.token(b,u.baseState);
|
||
b.skipToEnd();return"comment"},innerMode:function(b){return b.inCode?{state:b.baseState,mode:n}:null}}},"haskell");v.defineMIME("text/x-literate-haskell","haskell-literate")})};
|
||
shadow$provide[517]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("haxe",function(Y,y){function n(ia){return{type:ia,style:"keyword"}}function b(ia,sa){for(var Ea=!1,Qa;null!=(Qa=ia.next());){if(Qa==sa&&!Ea)return!0;Ea=!Ea&&"\\"==Qa}}function u(ia,sa,Ea){Va=ia;La=Ea;return sa}function z(ia,sa){var Ea=ia.next();if('"'==Ea||"'"==Ea)return Ea=A(Ea),
|
||
sa.tokenize=Ea,Ea(ia,sa);if(/[\[\]{}\(\),;:\.]/.test(Ea))return u(Ea);if("0"==Ea&&ia.eat(/x/i))return ia.eatWhile(/[\da-f]/i),u("number","number");if(/\d/.test(Ea)||"-"==Ea&&ia.eat(/\d/))return ia.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),u("number","number");if(sa.reAllowed&&"~"==Ea&&ia.eat(/\//))return b(ia,"/"),ia.eatWhile(/[gimsu]/),u("regexp","string-2");if("/"==Ea){if(ia.eat("*"))return Ea=B,sa.tokenize=Ea,Ea(ia,sa);if(ia.eat("/"))return ia.skipToEnd(),u("comment","comment");ia.eatWhile(Ua);
|
||
return u("operator",null,ia.current())}if("#"==Ea)return ia.skipToEnd(),u("conditional","meta");if("@"==Ea)return ia.eat(/:/),ia.eatWhile(/[\w_]/),u("metadata","meta");if(Ua.test(Ea))return ia.eatWhile(Ua),u("operator",null,ia.current());if(/[A-Z]/.test(Ea))return ia.eatWhile(/[\w_<>]/),ia=ia.current(),u("type","variable-3",ia);ia.eatWhile(/[\w_]/);ia=ia.current();return(Ea=Ya.propertyIsEnumerable(ia)&&Ya[ia])&&sa.kwAllowed?u(Ea.type,Ea.style,ia):u("variable","variable",ia)}function A(ia){return function(sa,
|
||
Ea){b(sa,ia)&&(Ea.tokenize=z);return u("string","string")}}function B(ia,sa){for(var Ea=!1,Qa;Qa=ia.next();){if("/"==Qa&&Ea){sa.tokenize=z;break}Ea="*"==Qa}return u("comment","comment")}function J(ia,sa,Ea,Qa,Xa,Pa){this.indented=ia;this.column=sa;this.type=Ea;this.prev=Xa;this.info=Pa;null!=Qa&&(this.align=Qa)}function g(ia){for(var sa=ja.state,Ea=sa.importedtypes;Ea;Ea=Ea.next)if(Ea.name==ia)return;sa.importedtypes={name:ia,next:sa.importedtypes}}function h(){for(var ia=arguments.length-1;0<=ia;ia--)ja.cc.push(arguments[ia])}
|
||
function c(){h.apply(null,arguments);return!0}function p(ia,sa){for(;sa;sa=sa.next)if(sa.name==ia)return!0;return!1}function m(ia){var sa=ja.state;sa.context?(ja.marked="def",p(ia,sa.localVars)||(sa.localVars={name:ia,next:sa.localVars})):sa.globalVars&&!p(ia,sa.globalVars)&&(sa.globalVars={name:ia,next:sa.globalVars})}function q(){ja.state.context||(ja.state.localVars=oa);ja.state.context={prev:ja.state.context,vars:ja.state.localVars}}function E(){ja.state.localVars=ja.state.context.vars;ja.state.context=
|
||
ja.state.context.prev}function w(ia,sa){var Ea=function(){var Qa=ja.state;Qa.lexical=new J(Qa.indented,ja.stream.column(),ia,null,Qa.lexical,sa)};Ea.lex=!0;return Ea}function t(){var ia=ja.state;ia.lexical.prev&&(")"==ia.lexical.type&&(ia.indented=ia.lexical.indented),ia.lexical=ia.lexical.prev)}function r(ia){function sa(Ea){return Ea==ia?c():";"==ia?h():c(sa)}return sa}function f(ia){return"@"==ia?c(O):"var"==ia?c(w("vardef"),N,r(";"),t):"keyword a"==ia?c(w("form"),F,f,t):"keyword b"==ia?c(w("form"),
|
||
f,t):"{"==ia?c(w("}"),q,Q,t,E):";"==ia?c():"attribute"==ia?c(aa):"function"==ia?c(X):"for"==ia?c(w("form"),r("("),w(")"),R,r(")"),t,f,t):"variable"==ia?c(w("stat"),T):"switch"==ia?c(w("form"),F,w("}","switch"),r("{"),Q,t,t):"case"==ia?c(F,r(":")):"default"==ia?c(r(":")):"catch"==ia?c(w("form"),q,r("("),ra,r(")"),f,t,E):"import"==ia?c(P,r(";")):"typedef"==ia?c(V):h(w("stat"),F,r(";"),t)}function F(ia){return ma.hasOwnProperty(ia)||"type"==ia?c(M):"function"==ia?c(X):"keyword c"==ia?c(C):"("==ia?c(w(")"),
|
||
C,r(")"),t,M):"operator"==ia?c(F):"["==ia?c(w("]"),L(C,"]"),t,M):"{"==ia?c(w("}"),L(D,"}"),t,M):c()}function C(ia){return ia.match(/[;\}\)\],]/)?h():h(F)}function M(ia,sa){if("operator"==ia&&/\+\+|--/.test(sa))return c(M);if("operator"==ia||":"==ia)return c(F);if(";"!=ia){if("("==ia)return c(w(")"),L(F,")"),t,M);if("."==ia)return c(K,M);if("["==ia)return c(w("]"),F,r("]"),t,M)}}function aa(ia){if("attribute"==ia)return c(aa);if("function"==ia)return c(X);if("var"==ia)return c(N)}function O(ia){if(":"==
|
||
ia||"variable"==ia)return c(O);if("("==ia)return c(w(")"),L(U,")"),t,f)}function U(ia){if("variable"==ia)return c()}function P(ia,sa){if("variable"==ia&&/[A-Z]/.test(sa.charAt(0)))return g(sa),c();if("variable"==ia||"property"==ia||"."==ia||"*"==sa)return c(P)}function V(ia,sa){if("variable"==ia&&/[A-Z]/.test(sa.charAt(0)))return g(sa),c();if("type"==ia&&/[A-Z]/.test(sa.charAt(0)))return c()}function T(ia){return":"==ia?c(t,f):h(M,r(";"),t)}function K(ia){if("variable"==ia)return ja.marked="property",
|
||
c()}function D(ia){"variable"==ia&&(ja.marked="property");if(ma.hasOwnProperty(ia))return c(r(":"),F)}function L(ia,sa){function Ea(Qa){return","==Qa?c(ia,Ea):Qa==sa?c():c(r(sa))}return function(Qa){return Qa==sa?c():h(ia,Ea)}}function Q(ia){return"}"==ia?c():h(f,Q)}function N(ia,sa){return"variable"==ia?(m(sa),c(S,la)):c()}function la(ia,sa){if("\x3d"==sa)return c(F,la);if(","==ia)return c(N)}function R(ia,sa){return"variable"==ia?(m(sa),c(Z,F)):h()}function Z(ia,sa){if("in"==sa)return c()}function X(ia,
|
||
sa){if("variable"==ia||"type"==ia)return m(sa),c(X);if("new"==sa)return c(X);if("("==ia)return c(w(")"),q,L(ra,")"),t,S,f,E)}function S(ia){if(":"==ia)return c(ha)}function ha(ia){if("type"==ia||"variable"==ia)return c();if("{"==ia)return c(w("}"),L(W,"}"),t)}function W(ia){if("variable"==ia)return c(S)}function ra(ia,sa){if("variable"==ia)return m(sa),c(S)}var wa=Y.indentUnit;Y=n("keyword a");var va=n("keyword b"),Fa=n("keyword c"),Ba=n("operator"),Ka={type:"atom",style:"atom"},Oa={type:"attribute",
|
||
style:"attribute"},Va=n("typedef"),Ya={"if":Y,"while":Y,"else":va,"do":va,"try":va,"return":Fa,"break":Fa,"continue":Fa,"new":Fa,"throw":Fa,"var":n("var"),inline:Oa,"static":Oa,using:n("import"),"public":Oa,"private":Oa,cast:n("cast"),"import":n("import"),macro:n("macro"),"function":n("function"),"catch":n("catch"),untyped:n("untyped"),callback:n("cb"),"for":n("for"),"switch":n("switch"),"case":n("case"),"default":n("default"),"in":Ba,never:n("property_access"),trace:n("trace"),"class":Va,"abstract":Va,
|
||
"enum":Va,"interface":Va,typedef:Va,"extends":Va,"implements":Va,dynamic:Va,"true":Ka,"false":Ka,"null":Ka},Ua=/[+\-*&%=<>!?|]/,La,ma={atom:!0,number:!0,variable:!0,string:!0,regexp:!0},ja={state:null,column:null,marked:null,cc:null},oa={name:"this",next:null};E.lex=!0;t.lex=!0;return{startState:function(ia){ia={tokenize:z,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new J((ia||0)-wa,0,"block",!1),localVars:y.localVars,importedtypes:"Int Float String Void Std Bool Dynamic Array".split(" "),context:y.localVars&&
|
||
{vars:y.localVars},indented:0};y.globalVars&&"object"==typeof y.globalVars&&(ia.globalVars=y.globalVars);return ia},token:function(ia,sa){ia.sol()&&(sa.lexical.hasOwnProperty("align")||(sa.lexical.align=!1),sa.indented=ia.indentation());if(ia.eatSpace())return null;var Ea=sa.tokenize(ia,sa);if("comment"==Va)return Ea;sa.reAllowed=!("operator"!=Va&&"keyword c"!=Va&&!Va.match(/^[\[{}\(,;:]$/));sa.kwAllowed="."!=Va;a:{var Qa=Va,Xa=La,Pa=sa.cc;ja.state=sa;ja.stream=ia;ja.marked=null;ja.cc=Pa;sa.lexical.hasOwnProperty("align")||
|
||
(sa.lexical.align=!0);for(;;)if((Pa.length?Pa.pop():f)(Qa,Xa)){for(;Pa.length&&Pa[Pa.length-1].lex;)Pa.pop()();if(ja.marked){Ea=ja.marked;break a}if(ia="variable"==Qa)b:{for(ia=sa.localVars;ia;ia=ia.next)if(ia.name==Xa){ia=!0;break b}ia=void 0}if(ia){Ea="variable-2";break a}if(Qa="variable"==Qa)b:if(/[a-z]/.test(Xa.charAt(0)))Qa=!1;else{Qa=sa.importedtypes.length;for(ia=0;ia<Qa;ia++)if(sa.importedtypes[ia]==Xa){Qa=!0;break b}Qa=void 0}if(Qa){Ea="variable-3";break a}break a}}return Ea},indent:function(ia,
|
||
sa){if(ia.tokenize!=z)return 0;var Ea=sa&&sa.charAt(0);ia=ia.lexical;"stat"==ia.type&&"}"==Ea&&(ia=ia.prev);var Qa=ia.type,Xa=Ea==Qa;return"vardef"==Qa?ia.indented+4:"form"==Qa&&"{"==Ea?ia.indented:"stat"==Qa||"form"==Qa?ia.indented+wa:"switch"!=ia.info||Xa?ia.align?ia.column+(Xa?0:1):ia.indented+(Xa?0:wa):ia.indented+(/^(?:case|default)\b/.test(sa)?wa:2*wa)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});v.defineMIME("text/x-haxe","haxe");v.defineMode("hxml",function(){return{startState:function(){return{define:!1,
|
||
inString:!1}},token:function(Y,y){var n=Y.peek(),b=Y.sol();if("#"==n)return Y.skipToEnd(),"comment";if(b&&"-"==n)return n="variable-2",Y.eat(/-/),"-"==Y.peek()&&(Y.eat(/-/),n="keyword a"),"D"==Y.peek()&&(Y.eat(/[D]/),n="keyword c",y.define=!0),Y.eatWhile(/[A-Z]/i),n;n=Y.peek();0==y.inString&&"'"==n&&(y.inString=!0,Y.next());if(1==y.inString)return Y.skipTo("'")||Y.skipToEnd(),"'"==Y.peek()&&(Y.next(),y.inString=!1),"string";Y.next();return null},lineComment:"#"}});v.defineMIME("text/x-hxml","hxml")})};
|
||
shadow$provide[518]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(488),ba(513)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/multiplex"],v):v(CodeMirror)})(function(v){v.defineMode("htmlembedded",function(Y,y){var n=y.closeComment||"--%\x3e";return v.multiplexingMode(v.getMode(Y,"htmlmixed"),{open:y.openComment||"\x3c%--",close:n,delimStyle:"comment",mode:{token:function(b){b.skipTo(n)||b.skipToEnd();
|
||
return"comment"}}},{open:y.open||y.scriptStartRegex||"\x3c%",close:y.close||y.scriptEndRegex||"%\x3e",mode:v.getMode(Y,y.scriptingModeSpec)})},"htmlmixed");v.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"});v.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"});v.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"});v.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})};
|
||
shadow$provide[519]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("http",function(){function Y(J,g){J.skipToEnd();g.cur=A;return"error"}function y(J,g){return J.match(/^HTTP\/\d\.\d/)?(g.cur=n,"keyword"):J.match(/^[A-Z]+/)&&/[ \t]/.test(J.peek())?(g.cur=u,"keyword"):Y(J,g)}function n(J,g){var h=J.match(/^\d+/);if(!h)return Y(J,g);g.cur=b;J=Number(h[0]);
|
||
return 100<=J&&200>J?"positive informational":200<=J&&300>J?"positive success":300<=J&&400>J?"positive redirect":400<=J&&500>J?"negative client-error":500<=J&&600>J?"negative server-error":"error"}function b(J,g){J.skipToEnd();g.cur=A;return null}function u(J,g){J.eatWhile(/\S/);g.cur=z;return"string-2"}function z(J,g){return J.match(/^HTTP\/\d\.\d$/)?(g.cur=A,"keyword"):Y(J,g)}function A(J){if(J.sol()&&!J.eat(/[ \t]/)){if(J.match(/^.*?:/))return"atom";J.skipToEnd();return"error"}J.skipToEnd();return"string"}
|
||
function B(J){J.skipToEnd();return null}return{token:function(J,g){var h=g.cur;return h!=A&&h!=B&&J.eatSpace()?null:h(J,g)},blankLine:function(J){J.cur=B},startState:function(){return{cur:y}}}});v.defineMIME("message/http","http")})};
|
||
shadow$provide[520]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(g){return new RegExp("^(("+g.join(")|(")+"))\\b","i")}function y(g){if(g.eatSpace())return null;if(g.match(";"))return g.skipToEnd(),"comment";if(g.match(/^[0-9\.+-]/,!1)&&(g.match(/^[+-]?0x[0-9a-fA-F]+/)||g.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||g.match(/^[+-]?\d+([EeDd][+-]?\d+)?/)))return"number";
|
||
if(g.match(/^"([^"]|(""))*"/)||g.match(/^'([^']|(''))*'/))return"string";if(g.match(z))return"keyword";if(g.match(b))return"builtin";if(g.match(A))return"variable";if(g.match(B)||g.match(J))return"operator";g.next();return null}var n="a_correlate abs acos adapt_hist_equal alog alog2 alog10 amoeba annotate app_user_dir app_user_dir_query arg_present array_equal array_indices arrow ascii_template asin assoc atan axis axis bandpass_filter bandreject_filter barplot bar_plot beseli beselj beselk besely beta biginteger bilinear bin_date binary_template bindgen binomial bit_ffs bit_population blas_axpy blk_con boolarr boolean boxplot box_cursor breakpoint broyden bubbleplot butterworth bytarr byte byteorder bytscl c_correlate calendar caldat call_external call_function call_method call_procedure canny catch cd cdf ceil chebyshev check_math chisqr_cvf chisqr_pdf choldc cholsol cindgen cir_3pnt clipboard close clust_wts cluster cluster_tree cmyk_convert code_coverage color_convert color_exchange color_quan color_range_map colorbar colorize_sample colormap_applicable colormap_gradient colormap_rotation colortable comfit command_line_args common compile_opt complex complexarr complexround compute_mesh_normals cond congrid conj constrained_min contour contour convert_coord convol convol_fft coord2to3 copy_lun correlate cos cosh cpu cramer createboxplotdata create_cursor create_struct create_view crossp crvlength ct_luminance cti_test cursor curvefit cv_coord cvttobm cw_animate cw_animate_getp cw_animate_load cw_animate_run cw_arcball cw_bgroup cw_clr_index cw_colorsel cw_defroi cw_field cw_filesel cw_form cw_fslider cw_light_editor cw_light_editor_get cw_light_editor_set cw_orient cw_palette_editor cw_palette_editor_get cw_palette_editor_set cw_pdmenu cw_rgbslider cw_tmpl cw_zoom db_exists dblarr dcindgen dcomplex dcomplexarr define_key define_msgblk define_msgblk_from_file defroi defsysv delvar dendro_plot dendrogram deriv derivsig determ device dfpmin diag_matrix dialog_dbconnect dialog_message dialog_pickfile dialog_printersetup dialog_printjob dialog_read_image dialog_write_image dictionary digital_filter dilate dindgen dissolve dist distance_measure dlm_load dlm_register doc_library double draw_roi edge_dog efont eigenql eigenvec ellipse elmhes emboss empty enable_sysrtn eof eos erase erf erfc erfcx erode errorplot errplot estimator_filter execute exit exp expand expand_path expint extract extract_slice f_cvf f_pdf factorial fft file_basename file_chmod file_copy file_delete file_dirname file_expand_path file_gunzip file_gzip file_info file_lines file_link file_mkdir file_move file_poll_input file_readlink file_same file_search file_tar file_test file_untar file_unzip file_which file_zip filepath findgen finite fix flick float floor flow3 fltarr flush format_axis_values forward_function free_lun fstat fulstr funct function fv_test fx_root fz_roots gamma gamma_ct gauss_cvf gauss_pdf gauss_smooth gauss2dfit gaussfit gaussian_function gaussint get_drive_list get_dxf_objects get_kbrd get_login_info get_lun get_screen_size getenv getwindows greg2jul grib grid_input grid_tps grid3 griddata gs_iter h_eq_ct h_eq_int hanning hash hdf hdf5 heap_free heap_gc heap_nosave heap_refcount heap_save help hilbert hist_2d hist_equal histogram hls hough hqr hsv i18n_multibytetoutf8 i18n_multibytetowidechar i18n_utf8tomultibyte i18n_widechartomultibyte ibeta icontour iconvertcoord idelete identity idl_base64 idl_container idl_validname idlexbr_assistant idlitsys_createtool idlunit iellipse igamma igetcurrent igetdata igetid igetproperty iimage image image_cont image_statistics image_threshold imaginary imap indgen int_2d int_3d int_tabulated intarr interpol interpolate interval_volume invert ioctl iopen ir_filter iplot ipolygon ipolyline iputdata iregister ireset iresolve irotate isa isave iscale isetcurrent isetproperty ishft isocontour isosurface isurface itext itranslate ivector ivolume izoom journal json_parse json_serialize jul2greg julday keyword_set krig2d kurtosis kw_test l64indgen la_choldc la_cholmprove la_cholsol la_determ la_eigenproblem la_eigenql la_eigenvec la_elmhes la_gm_linear_model la_hqr la_invert la_least_square_equality la_least_squares la_linear_equation la_ludc la_lumprove la_lusol la_svd la_tridc la_trimprove la_triql la_trired la_trisol label_date label_region ladfit laguerre lambda lambdap lambertw laplacian least_squares_filter leefilt legend legendre linbcg lindgen linfit linkimage list ll_arc_distance lmfit lmgr lngamma lnp_test loadct locale_get logical_and logical_or logical_true lon64arr lonarr long long64 lsode lu_complex ludc lumprove lusol m_correlate machar make_array make_dll make_rt map mapcontinents mapgrid map_2points map_continents map_grid map_image map_patch map_proj_forward map_proj_image map_proj_info map_proj_init map_proj_inverse map_set matrix_multiply matrix_power max md_test mean meanabsdev mean_filter median memory mesh_clip mesh_decimate mesh_issolid mesh_merge mesh_numtriangles mesh_obj mesh_smooth mesh_surfacearea mesh_validate mesh_volume message min min_curve_surf mk_html_help modifyct moment morph_close morph_distance morph_gradient morph_hitormiss morph_open morph_thin morph_tophat multi n_elements n_params n_tags ncdf newton noise_hurl noise_pick noise_scatter noise_slur norm obj_class obj_destroy obj_hasmethod obj_isa obj_new obj_valid objarr on_error on_ioerror online_help openr openu openw oplot oploterr orderedhash p_correlate parse_url particle_trace path_cache path_sep pcomp plot plot3d plot plot_3dbox plot_field ploterr plots polar_contour polar_surface polyfill polyshade pnt_line point_lun polarplot poly poly_2d poly_area poly_fit polyfillv polygon polyline polywarp popd powell pref_commit pref_get pref_set prewitt primes print printf printd pro product profile profiler profiles project_vol ps_show_fonts psafm pseudo ptr_free ptr_new ptr_valid ptrarr pushd qgrid3 qhull qromb qromo qsimp query_* query_ascii query_bmp query_csv query_dicom query_gif query_image query_jpeg query_jpeg2000 query_mrsid query_pict query_png query_ppm query_srf query_tiff query_video query_wav r_correlate r_test radon randomn randomu ranks rdpix read readf read_ascii read_binary read_bmp read_csv read_dicom read_gif read_image read_interfile read_jpeg read_jpeg2000 read_mrsid read_pict read_png read_ppm read_spr read_srf read_sylk read_tiff read_video read_wav read_wave read_x11_bitmap read_xwd reads readu real_part rebin recall_commands recon3 reduce_colors reform region_grow register_cursor regress replicate replicate_inplace resolve_all resolve_routine restore retall return reverse rk4 roberts rot rotate round routine_filepath routine_info rs_test s_test save savgol scale3 scale3d scatterplot scatterplot3d scope_level scope_traceback scope_varfetch scope_varname search2d search3d sem_create sem_delete sem_lock sem_release set_plot set_shading setenv sfit shade_surf shade_surf_irr shade_volume shift shift_diff shmdebug shmmap shmunmap shmvar show3 showfont signum simplex sin sindgen sinh size skewness skip_lun slicer3 slide_image smooth sobel socket sort spawn sph_4pnt sph_scat spher_harm spl_init spl_interp spline spline_p sprsab sprsax sprsin sprstp sqrt standardize stddev stop strarr strcmp strcompress streamline streamline stregex stretch string strjoin strlen strlowcase strmatch strmessage strmid strpos strput strsplit strtrim struct_assign struct_hide strupcase surface surface surfr svdc svdfit svsol swap_endian swap_endian_inplace symbol systime t_cvf t_pdf t3d tag_names tan tanh tek_color temporary terminal_size tetra_clip tetra_surface tetra_volume text thin thread threed tic time_test2 timegen timer timestamp timestamptovalues tm_test toc total trace transpose tri_surf triangulate trigrid triql trired trisol truncate_lun ts_coef ts_diff ts_fcast ts_smooth tv tvcrs tvlct tvrd tvscl typename uindgen uint uintarr ul64indgen ulindgen ulon64arr ulonarr ulong ulong64 uniq unsharp_mask usersym value_locate variance vector vector_field vel velovect vert_t3d voigt volume voronoi voxel_proj wait warp_tri watershed wdelete wf_draw where widget_base widget_button widget_combobox widget_control widget_displaycontextmenu widget_draw widget_droplist widget_event widget_info widget_label widget_list widget_propertysheet widget_slider widget_tab widget_table widget_text widget_tree widget_tree_move widget_window wiener_filter window window write_bmp write_csv write_gif write_image write_jpeg write_jpeg2000 write_nrif write_pict write_png write_ppm write_spr write_srf write_sylk write_tiff write_video write_wav write_wave writeu wset wshow wtn wv_applet wv_cwt wv_cw_wavelet wv_denoise wv_dwt wv_fn_coiflet wv_fn_daubechies wv_fn_gaussian wv_fn_haar wv_fn_morlet wv_fn_paul wv_fn_symlet wv_import_data wv_import_wavelet wv_plot3d_wps wv_plot_multires wv_pwt wv_tool_denoise xbm_edit xdisplayfile xdxf xfont xinteranimate xloadct xmanager xmng_tmpl xmtool xobjview xobjview_rotate xobjview_write_image xpalette xpcolor xplot3d xregistered xroi xsq_test xsurface xvaredit xvolume xvolume_rotate xvolume_write_image xyouts zlib_compress zlib_uncompress zoom zoom_24".split(" "),
|
||
b=Y(n),u="begin end endcase endfor endwhile endif endrep endforeach break case continue for foreach goto if then else repeat until switch while do pro function".split(" "),z=Y(u);v.registerHelper("hintWords","idl",n.concat(u));var A=RegExp("^[_a-z¡-][_a-z0-9¡-]*","i"),B=/[+\-*&=<>\/@#~$]/,J=RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");v.defineMode("idl",function(){return{token:function(g){return y(g)}}});v.defineMIME("text/x-idl","idl")})};
|
||
shadow$provide[521]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("jinja2",function(){function Y(A,B){var J=A.peek();if(B.incomment)return A.skipTo("#}")?(A.eatWhile(/#|}/),B.incomment=!1):A.skipToEnd(),"comment";if(B.intag){if(B.operator){B.operator=!1;if(A.match(u))return"atom";if(A.match(z))return"number"}if(B.sign){B.sign=!1;if(A.match(u))return"atom";
|
||
if(A.match(z))return"number"}if(B.instring)return J==B.instring&&(B.instring=!1),A.next(),"string";if("'"==J||'"'==J)return B.instring=J,A.next(),"string";if(0<B.inbraces&&")"==J)A.next(),B.inbraces--;else if("("==J)A.next(),B.inbraces++;else if(0<B.inbrackets&&"]"==J)A.next(),B.inbrackets--;else if("["==J)A.next(),B.inbrackets++;else{if(!B.lineTag&&(A.match(B.intag+"}")||A.eat("-")&&A.match(B.intag+"}")))return B.intag=!1,"tag";if(A.match(n))return B.operator=!0,"operator";if(A.match(b))B.sign=!0;
|
||
else{if(1==A.column()&&B.lineTag&&A.match(y))return"keyword";if(A.eat(" ")||A.sol()){if(A.match(y))return"keyword";if(A.match(u))return"atom";if(A.match(z))return"number";A.sol()&&A.next()}else A.next()}}return"variable"}if(A.eat("{")){if(A.eat("#"))return B.incomment=!0,A.skipTo("#}")?(A.eatWhile(/#|}/),B.incomment=!1):A.skipToEnd(),"comment";if(J=A.eat(/\{|%/))return B.intag=J,B.inbraces=0,B.inbrackets=0,"{"==J&&(B.intag="}"),A.eat("-"),"tag"}else if(A.eat("#")){if("#"==A.peek())return A.skipToEnd(),
|
||
"comment";if(!A.eol())return B.intag=!0,B.lineTag=!0,B.inbraces=0,B.inbrackets=0,"tag"}A.next()}var y="and as block endblock by cycle debug else elif extends filter endfilter firstof do for endfor if endif ifchanged endifchanged ifequal endifequal ifnotequal set raw endraw endifnotequal in include load not now or parsed regroup reversed spaceless call endcall macro endmacro endspaceless ssi templatetag openblock closeblock openvariable closevariable without context openbrace closebrace opencomment closecomment widthratio url with endwith get_current_language trans endtrans noop blocktrans endblocktrans get_available_languages get_current_language_bidi pluralize autoescape endautoescape".split(" "),
|
||
n=/^[+\-*&%=<>!?|~^]/,b=/^[:\[\(\{]/,u=["true","false"],z=/^(\d[+\-\*\/])?\d+(\.\d+)?/;y=new RegExp("(("+y.join(")|(")+"))\\b");u=new RegExp("(("+u.join(")|(")+"))\\b");return{startState:function(){return{tokenize:Y,inbrackets:0,inbraces:0}},token:function(A,B){var J=B.tokenize(A,B);A.eol()&&B.lineTag&&!B.instring&&0==B.inbraces&&0==B.inbrackets&&(B.intag=!1,B.lineTag=!1);return J},blockCommentStart:"{#",blockCommentEnd:"#}",lineComment:"##"}});v.defineMIME("text/jinja2","jinja2")})};
|
||
shadow$provide[522]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(486),ba(487)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript"],v):v(CodeMirror)})(function(v){function Y(n,b,u,z){this.state=n;this.mode=b;this.depth=u;this.prev=z}function y(n){return new Y(v.copyState(n.mode,n.state),n.mode,n.depth,n.prev&&y(n.prev))}v.defineMode("jsx",function(n,b){function u(g){var h=g.tagName;g.tagName=null;var c=
|
||
B.indent(g,"","");g.tagName=h;return c}function z(g,h){if(h.context.mode==B)return A(g,h,h.context);var c=h.context;if("\x3c"==g.peek()&&J.expressionAllowed(g,c.state))h.context=new Y(v.startState(B,J.indent(c.state,"","")),B,0,h.context),J.skipExpression(c.state),h=null;else{var p=J.token(g,c.state);p||null==c.depth||(g=g.current(),"{"==g?c.depth++:"}"==g&&0==--c.depth&&(h.context=h.context.prev));h=p}return h}function A(g,h,c){if(2==c.depth)return g.match(/^.*?\*\//)?c.depth=1:g.skipToEnd(),"comment";
|
||
if("{"==g.peek()){B.skipAttribute(c.state);var p=u(c.state),m=c.state.context;if(m&&g.match(/^[^>]*>\s*$/,!1)){for(;m.prev&&!m.startOfLine;)m=m.prev;m.startOfLine?p-=n.indentUnit:c.prev.state.lexical&&(p=c.prev.state.lexical.indented)}else 1==c.depth&&(p+=n.indentUnit);h.context=new Y(v.startState(J,p),J,0,h.context);return null}if(1==c.depth){if("\x3c"==g.peek())return B.skipAttribute(c.state),h.context=new Y(v.startState(B,u(c.state)),B,0,h.context),null;if(g.match("//"))return g.skipToEnd(),"comment";
|
||
if(g.match("/*"))return c.depth=2,z(g,h)}p=B.token(g,c.state);m=g.current();var q;/\btag\b/.test(p)?/>$/.test(m)?c.state.context?c.depth=0:h.context=h.context.prev:/^</.test(m)&&(c.depth=1):!p&&-1<(q=m.indexOf("{"))&&g.backUp(m.length-q);return p}var B=v.getMode(n,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),J=v.getMode(n,b&&b.base||"javascript");return{startState:function(){return{context:new Y(v.startState(J),J)}},copyState:function(g){return{context:y(g.context)}},
|
||
token:z,indent:function(g,h,c){return g.context.mode.indent(g.context.state,h,c)},innerMode:function(g){return g.context}}},"xml","javascript");v.defineMIME("text/jsx","jsx");v.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})};
|
||
shadow$provide[523]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("julia",function(Y,y){function n(O,U,P){"undefined"===typeof P&&(P="");"undefined"===typeof U&&(U="\\b");return new RegExp("^"+P+"(("+O.join(")|(")+"))"+U)}function b(O,U){"undefined"===typeof U&&(U=0);return O.scopes.length<=U?null:O.scopes[O.scopes.length-(U+1)]}function u(O,U){if(O.match("#\x3d",
|
||
!1))return U.tokenize=A,U.tokenize(O,U);var P=U.leavingExpr;O.sol()&&(P=!1);U.leavingExpr=!1;if(P&&O.match(/^'+/))return"operator";if(O.match(/\.{4,}/))return"error";if(O.match(/\.{1,3}/))return"operator";if(O.eatSpace())return null;var V=O.peek();if("#"===V)return O.skipToEnd(),"comment";"["===V&&(U.scopes.push("["),U.nestedArrays++);"("===V&&(U.scopes.push("("),U.nestedGenerators++);if(0<U.nestedArrays&&"]"===V){for(;U.scopes.length&&"["!==b(U);)U.scopes.pop();U.scopes.pop();U.nestedArrays--;U.leavingExpr=
|
||
!0}if(0<U.nestedGenerators&&")"===V){for(;U.scopes.length&&"("!==b(U);)U.scopes.pop();U.scopes.pop();U.nestedGenerators--;U.leavingExpr=!0}if(0<U.nestedArrays){if("end"==U.lastToken&&O.match(":"))return"operator";if(O.match("end"))return"number"}var T;(T=O.match(E,!1))&&U.scopes.push(T[0]);O.match(w,!1)&&U.scopes.pop();if(O.match(/^::(?![:\$])/))return U.tokenize=z,U.tokenize(O,U);if(!P&&(O.match(F)||O.match(aa)))return"builtin";if(O.match(h))return"operator";if(O.match(/^\.?\d/,!1)&&(P=RegExp(/^im\b/),
|
||
V=!1,O.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(V=!0),O.match(/^0x[0-9a-f_]+/i)&&(V=!0),O.match(/^0b[01_]+/i)&&(V=!0),O.match(/^0o[0-7_]+/i)&&(V=!0),O.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(V=!0),O.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(V=!0),V))return O.match(P),U.leavingExpr=!0,"number";if(O.match("'"))return U.tokenize=B,U.tokenize(O,U);if(O.match(C))return U.tokenize=J(O.current()),U.tokenize(O,U);if(O.match(f)||O.match(M))return"meta";
|
||
if(O.match(c))return null;if(O.match(t))return"keyword";if(O.match(r))return"builtin";P=U.isDefinition||"function"==U.lastToken||"macro"==U.lastToken||"type"==U.lastToken||"struct"==U.lastToken||"immutable"==U.lastToken;if(O.match(p)){if(P){if("."===O.peek())return U.isDefinition=!0,"variable";U.isDefinition=!1;return"def"}U.leavingExpr=!0;return"variable"}O.next();return"error"}function z(O,U){O.match(/.*?(?=[,;{}()=\s]|$)/);O.match("{")?U.nestedParameters++:O.match("}")&&0<U.nestedParameters&&U.nestedParameters--;
|
||
0<U.nestedParameters?O.match(/.*?(?={|})/)||O.next():0==U.nestedParameters&&(U.tokenize=u);return"builtin"}function A(O,U){O.match("#\x3d")&&U.nestedComments++;O.match(/.*?(?=(#=|=#))/)||O.skipToEnd();O.match("\x3d#")&&(U.nestedComments--,0==U.nestedComments&&(U.tokenize=u));return"comment"}function B(O,U){var P=!1,V;if(O.match(m))P=!0;else if(V=O.match(/\\u([a-f0-9]{1,4})(?=')/i)){if(V=parseInt(V[1],16),55295>=V||57344<=V)P=!0,O.next()}else if(V=O.match(/\\U([A-Fa-f0-9]{5,8})(?=')/))V=parseInt(V[1],
|
||
16),1114111>=V&&(P=!0,O.next());if(P)return U.leavingExpr=!0,U.tokenize=u,"string";O.match(/^[^']+(?=')/)||O.skipToEnd();O.match("'")&&(U.tokenize=u);return"error"}function J(O){'"""'===O.substr(-3)?O='"""':'"'===O.substr(-1)&&(O='"');return function(U,P){if(U.eat("\\"))U.next();else{if(U.match(O))return P.tokenize=u,P.leavingExpr=!0,"string";U.eat(/[`"]/)}U.eatWhile(/[^\\`"]/);return"string"}}var g="[\x3c\x3e]: [\x3c\x3e\x3d]\x3d \x3c\x3c\x3d? \x3e\x3e\x3e?\x3d? \x3d\x3e --?\x3e \x3c--[-\x3e]? \\/\\/ \\.{2,3} [\\.\\\\%*+\\-\x3c\x3e!\\/^|\x26]\x3d? \\? \\$ ~ :".split(" "),
|
||
h=y.operators||n("[\x3c\x3e]: [\x3c\x3e\x3d]\x3d [!\x3d]\x3d\x3d \x3c\x3c\x3d? \x3e\x3e\x3e?\x3d? \x3d\x3e? --?\x3e \x3c--[-\x3e]? \\/\\/ [\\\\%*+\\-\x3c\x3e!\\/^|\x26\\u00F7\\u22BB]\x3d? \\? \\$ ~ : \\u00D7 \\u2208 \\u2209 \\u220B \\u220C \\u2218 \\u221A \\u221B \\u2229 \\u222A \\u2260 \\u2264 \\u2265 \\u2286 \\u2288 \\u228A \\u22C5 \\b(in|isa)\\b(?!.?\\()".split(" "),""),c=y.delimiters||/^[;,()[\]{}]/,p=y.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,m=n(["\\\\[0-7]{1,3}",
|
||
"\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'");y="if else elseif while for begin let end do try catch finally return break continue global local const export import importall using function where macro module baremodule struct type mutable immutable quote typealias abstract primitive bitstype".split(" ");var q=["true","false","nothing","NaN","Inf"];v.registerHelper("hintWords","julia",y.concat(q));var E=n("begin function type struct immutable let macro for while quote if else elseif try finally catch do".split(" ")),
|
||
w=n(["end","else","elseif","catch","finally"]),t=n(y),r=n(q),f=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,F=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,C=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,M=n(g,"","@"),aa=n(g,"",":");return{startState:function(){return{tokenize:u,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(O,U){var P=U.tokenize(O,U);(O=O.current())&&P&&(U.lastToken=O);return P},
|
||
indent:function(O,U){var P=0;if("]"===U||")"===U||/^end\b/.test(U)||/^else/.test(U)||/^catch\b/.test(U)||/^elseif\b/.test(U)||/^finally/.test(U))P=-1;return(O.scopes.length+P)*Y.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#\x3d",blockCommentEnd:"\x3d#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"}});v.defineMIME("text/x-julia","julia")})};
|
||
shadow$provide[524]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("livescript",function(){var B=function(J,g){var h=g.next||"start";g.next=g.next;var c=n[h];if(c.splice){for(h=0;h<c.length;++h){var p=c[h];if(p.regex&&J.match(p.regex))return g.next=p.next||g.next,p.token}J.next();return"error"}if(J.match(p=n[h])){if(p.regex&&J.match(p.regex))return g.next=
|
||
p.next,p.token;J.next();return"error"}J.next();return"error"};return{startState:function(){return{next:"start",lastToken:{style:null,indent:0,content:""}}},token:function(J,g){for(;J.pos==J.start;)var h=B(J,g);g.lastToken={style:h,indent:J.indentation(),content:J.current()};return h.replace(/\./g," ")},indent:function(J){var g=J.lastToken.indent;J.lastToken.content.match(Y)&&(g+=2);return g}}});var Y=RegExp("(?:[({[\x3d:]|[-~]\x3e|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*)?))\\s*$"),
|
||
y={token:"string",regex:".+"},n={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)(?![$\\w]|-[A-Za-z]|\\s*:(?![:\x3d]))"},
|
||
{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)(?![$\\w]|-[A-Za-z]|\\s*:(?![:\x3d]))"},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)(?![$\\w]|-[A-Za-z]|\\s*:(?![:\x3d]))"},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)(?![$\\w]|-[A-Za-z]|\\s*:(?![:\x3d]))"},{token:"language.support.function",
|
||
regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)(?![$\\w]|-[A-Za-z]|\\s*:(?![:\x3d]))"},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)(?![$\\w]|-[A-Za-z]|\\s*:(?![:\x3d]))"},{token:"identifier",regex:"(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*\\s*:(?![:\x3d])"},{token:"variable",regex:"(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*"},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},
|
||
{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"\x3c\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",
|
||
next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},
|
||
{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:"(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},y],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},y],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},
|
||
y],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},y],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},y],words:[{token:"string",regex:".*?\\]\x3e",next:"key"},y]},b;for(b in n)if(y=n[b],y.splice)for(var u=0,z=y.length;u<z;++u){var A=y[u];"string"===typeof A.regex&&(n[b][u].regex=new RegExp("^"+A.regex))}else"string"===typeof A.regex&&(n[b].regex=new RegExp("^"+y.regex));v.defineMIME("text/x-livescript","livescript")})};
|
||
shadow$provide[525]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("lua",function(Y,y){function n(q){return new RegExp("^(?:"+q.join("|")+")$","i")}function b(q){for(var E=0;q.eat("\x3d");)++E;q.eat("[");return E}function u(q,E){var w=q.next();if("-"==w&&q.eat("-")){if(q.eat("[")&&q.eat("["))return(E.cur=z(b(q),"comment"))(q,E);q.skipToEnd();return"comment"}return'"'==
|
||
w||"'"==w?(E.cur=A(w))(q,E):"["==w&&/[\[=]/.test(q.peek())?(E.cur=z(b(q),"string"))(q,E):/\d/.test(w)?(q.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(w)?(q.eatWhile(/[\w\\\-_.]/),"variable"):null}function z(q,E){return function(w,t){for(var r=null,f;null!=(f=w.next());)if(null==r)"]"==f&&(r=0);else if("\x3d"==f)++r;else if("]"==f&&r==q){t.cur=u;break}else r=null;return E}}function A(q){return function(E,w){for(var t=!1,r;null!=(r=E.next())&&(r!=q||t);)t=!t&&"\\"==r;t||(w.cur=u);return"string"}}var B=
|
||
Y.indentUnit,J=n(y.specials||[]),g=n("_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine.create coroutine.resume coroutine.running coroutine.status coroutine.wrap coroutine.yield debug.debug debug.getfenv debug.gethook debug.getinfo debug.getlocal debug.getmetatable debug.getregistry debug.getupvalue debug.setfenv debug.sethook debug.setlocal debug.setmetatable debug.setupvalue debug.traceback close flush lines read seek setvbuf write io.close io.flush io.input io.lines io.open io.output io.popen io.read io.stderr io.stdin io.stdout io.tmpfile io.type io.write math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp math.floor math.fmod math.frexp math.huge math.ldexp math.log math.log10 math.max math.min math.modf math.pi math.pow math.rad math.random math.randomseed math.sin math.sinh math.sqrt math.tan math.tanh os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename os.setlocale os.time os.tmpname package.cpath package.loaded package.loaders package.loadlib package.path package.preload package.seeall string.byte string.char string.dump string.find string.format string.gmatch string.gsub string.len string.lower string.match string.rep string.reverse string.sub string.upper table.concat table.insert table.maxn table.remove table.sort".split(" ")),
|
||
h=n("and break elseif false nil not or return true function end if then else do while repeat until for in local".split(" ")),c=n("function if repeat do \\( {".split(" ")),p=n(["end","until","\\)","}"]),m=RegExp("^(?:end|until|\\)|}|else|elseif)","i");return{startState:function(q){return{basecol:q||0,indentDepth:0,cur:u}},token:function(q,E){if(q.eatSpace())return null;var w=E.cur(q,E);q=q.current();"variable"==w&&(h.test(q)?w="keyword":g.test(q)?w="builtin":J.test(q)&&(w="variable-2"));"comment"!=
|
||
w&&"string"!=w&&(c.test(q)?++E.indentDepth:p.test(q)&&--E.indentDepth);return w},indent:function(q,E){E=m.test(E);return q.basecol+B*(q.indentDepth-(E?1:0))},electricInput:/^\s*(?:end|until|else|\)|\})$/,lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}});v.defineMIME("text/x-lua","lua")})};
|
||
shadow$provide[526]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("mathematica",function(Y,y){function n(J,g){var h=J.next();if('"'===h)return g.tokenize=b,g.tokenize(J,g);if("("===h&&J.eat("*"))return g.commentLevel++,g.tokenize=u,g.tokenize(J,g);J.backUp(1);if(J.match(z,!0,!1)||J.match(A,!0,!1))return"number";if(J.match(/(?:In|Out)\[[0-9]*\]/,!0,
|
||
!1))return"atom";if(J.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1))return"meta";if(J.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1))return"string-2";if(J.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^&\*\)\[\]'\?,\|])).*/,!0,!1)||J.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||J.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||J.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1))return"variable-2";
|
||
if(J.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1))return"variable-3";if(J.match(/(?:\[|\]|{|}|\(|\))/,!0,!1))return"bracket";if(J.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1))return"variable-2";if(J.match(B,!0,!1))return"keyword";if(J.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1))return"operator";J.next();return"error"}function b(J,g){for(var h,c=!1,p=!1;null!=(h=J.next());){if('"'===h&&!p){c=!0;break}p=!p&&"\\"===h}c&&!p&&(g.tokenize=n);return"string"}function u(J,
|
||
g){for(var h,c;0<g.commentLevel&&null!=(c=J.next());)"("===h&&"*"===c&&g.commentLevel++,"*"===h&&")"===c&&g.commentLevel--,h=c;0>=g.commentLevel&&(g.tokenize=n);return"comment"}var z=RegExp("(?:(?:\\d+)(?:\\^\\^(?:\\.\\w+|\\w+\\.\\w*|\\w+)(?:`(?:`?(?:\\.\\d+|\\d+\\.\\d*|\\d+))?)?(?:\\*\\^[+-]?\\d+)?))"),A=RegExp("(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:`(?:`?(?:\\.\\d+|\\d+\\.\\d*|\\d+))?)?(?:\\*\\^[+-]?\\d+)?)"),B=RegExp("(?:`?)(?:[a-zA-Z\\$][a-zA-Z0-9\\$]*)(?:`(?:[a-zA-Z\\$][a-zA-Z0-9\\$]*))*(?:`?)");
|
||
return{startState:function(){return{tokenize:n,commentLevel:0}},token:function(J,g){return J.eatSpace()?null:g.tokenize(J,g)},blockCommentStart:"(*",blockCommentEnd:"*)"}});v.defineMIME("text/x-mathematica",{name:"mathematica"})})};
|
||
shadow$provide[527]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(p,m){if(p.sol()){m.inSeparator=!1;if(m.inHeader&&p.match(b))return null;m.inHeader=!1;m.header=null;if(p.match(u))return m.inHeaders=!0,m.inSeparator=!0,"atom";var q,E=!1;if((q=p.match(A))||(E=!0,q=p.match(z)))return m.inHeaders=!0,m.inHeader=!0,m.emailPermitted=E,m.header=q[1],"atom";
|
||
if(m.inHeaders&&(q=p.match(B)))return m.inHeader=!0,m.emailPermitted=!0,m.header=q[1],"atom";m.inHeaders=!1;p.skipToEnd();return null}if(m.inSeparator){if(p.match(J))return"link";if(p.match(g))return"atom";p.skipToEnd();return"atom"}if(m.inHeader){q="Subject"===m.header?"header":"string";if(m.emailPermitted){if(p.match(h))return q+" link";if(p.match(c))return q}p.skipToEnd();return q}p.skipToEnd();return null}var y="From Sender Reply-To To Cc Bcc Message-ID In-Reply-To References Resent-From Resent-Sender Resent-To Resent-Cc Resent-Bcc Resent-Message-ID Return-Path Received".split(" "),
|
||
n=["Date","Subject","Comments","Keywords","Resent-Date"];v.registerHelper("hintWords","mbox",y.concat(n));var b=/^[ \t]/,u=/^From /,z=new RegExp("^("+y.join("|")+"): "),A=new RegExp("^("+n.join("|")+"): "),B=/^[^:]+:/,J=/^[^ ]+@[^ ]+/,g=/^.*?(?=[^ ]+?@[^ ]+)/,h=/^<.*?>/,c=/^.*?(?=<.*>)/;v.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:Y,blankLine:function(p){p.inHeaders=p.inSeparator=p.inHeader=!1}}});
|
||
v.defineMIME("application/mbox","mbox")})};
|
||
shadow$provide[528]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMIME("text/mirc","mirc");v.defineMode("mirc",function(){function Y(J){var g={};J=J.split(" ");for(var h=0;h<J.length;++h)g[J[h]]=!0;return g}function y(J,g){var h=g.beforeParams;g.beforeParams=!1;var c=J.next();if(/[\[\]{}\(\),\.]/.test(c))return"("==c&&h?g.inParams=!0:")"==c&&(g.inParams=
|
||
!1),null;if(/\d/.test(c))return J.eatWhile(/[\w\.]/),"number";if("\\"==c)return J.eat("\\"),J.eat(/./),"number";if("/"==c&&J.eat("*"))return h=n,g.tokenize=h,h(J,g);if(";"==c&&J.match(/ *\( *\(/))return h=b,g.tokenize=h,h(J,g);if(";"!=c||g.inParams){if('"'==c)return J.eat(/"/),"keyword";if("$"==c){J.eatWhile(/[$_a-z0-9A-Z\.:]/);if(u&&u.propertyIsEnumerable(J.current().toLowerCase()))return"keyword";g.beforeParams=!0;return"builtin"}if("%"==c)return J.eatWhile(/[^,\s()]/),g.beforeParams=!0,"string";
|
||
if(B.test(c))return J.eatWhile(B),"operator";J.eatWhile(/[\w\$_{}]/);J=J.current().toLowerCase();return z&&z.propertyIsEnumerable(J)?"keyword":A&&A.propertyIsEnumerable(J)?(g.beforeParams=!0,"keyword"):null}J.skipToEnd();return"comment"}function n(J,g){for(var h=!1,c;c=J.next();){if("/"==c&&h){g.tokenize=y;break}h="*"==c}return"comment"}function b(J,g){for(var h=0,c;c=J.next();){if(";"==c&&2==h){g.tokenize=y;break}")"==c?h++:" "!=c&&(h=0)}return"meta"}var u=Y("$! $$ $\x26 $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),
|
||
z=Y("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),
|
||
A=Y("if elseif else and not or eq ne in ni for foreach while switch"),B=/[+\-*&%=<>!?^\/\|]/;return{startState:function(){return{tokenize:y,beforeParams:!1,inParams:!1}},token:function(J,g){return J.eatSpace()?null:g.tokenize(J,g)}}})})};
|
||
shadow$provide[529]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("mllike",function(Y,y){function n(g,h){var c=g.next();return'"'===c?(h.tokenize=b,h.tokenize(g,h)):"{"===c&&g.eat("|")?(h.longString=!0,h.tokenize=z,h.tokenize(g,h)):"("===c&&g.match(/^\*(?!\))/)?(h.commentLevel++,h.tokenize=u,h.tokenize(g,h)):"~"===c||"?"===c?(g.eatWhile(/\w/),"variable-2"):
|
||
"`"===c?(g.eatWhile(/\w/),"quote"):"/"===c&&y.slashComments&&g.eat("/")?(g.skipToEnd(),"comment"):/\d/.test(c)?("0"===c&&g.eat(/[bB]/)&&g.eatWhile(/[01]/),"0"===c&&g.eat(/[xX]/)&&g.eatWhile(/[0-9a-fA-F]/),"0"===c&&g.eat(/[oO]/)?g.eatWhile(/[0-7]/):(g.eatWhile(/[\d_]/),g.eat(".")&&g.eatWhile(/[\d]/),g.eat(/[eE]/)&&g.eatWhile(/[\d\-+]/)),"number"):/[+\-*&%=<>!?|@\.~:]/.test(c)?"operator":/[\w\xa1-\uffff]/.test(c)?(g.eatWhile(/[\w\xa1-\uffff]/),g=g.current(),A.hasOwnProperty(g)?A[g]:"variable"):null}
|
||
function b(g,h){for(var c,p=!1,m=!1;null!=(c=g.next());){if('"'===c&&!m){p=!0;break}m=!m&&"\\"===c}p&&!m&&(h.tokenize=n);return"string"}function u(g,h){for(var c,p;0<h.commentLevel&&null!=(p=g.next());)"("===c&&"*"===p&&h.commentLevel++,"*"===c&&")"===p&&h.commentLevel--,c=p;0>=h.commentLevel&&(h.tokenize=n);return"comment"}function z(g,h){for(var c,p;h.longString&&null!=(p=g.next());)"|"===c&&"}"===p&&(h.longString=!1),c=p;h.longString||(h.tokenize=n);return"string"}var A={as:"keyword","do":"keyword",
|
||
"else":"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword","if":"keyword","in":"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword","while":"keyword","with":"keyword"};Y=y.extraWords||{};for(var B in Y)Y.hasOwnProperty(B)&&(A[B]=y.extraWords[B]);B=[];for(var J in A)B.push(J);v.registerHelper("hintWords","mllike",B);return{startState:function(){return{tokenize:n,commentLevel:0,longString:!1}},
|
||
token:function(g,h){return g.eatSpace()?null:h.tokenize(g,h)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:y.slashComments?"//":null}});v.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword","class":"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword","function":"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword","new":"keyword",nonrec:"keyword",object:"keyword",
|
||
"private":"keyword",sig:"keyword",to:"keyword","try":"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin","true":"builtin","false":"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin","int":"type","float":"type",bool:"type","char":"type",string:"type",unit:"type",List:"builtin"}});v.defineMIME("text/x-fsharp",
|
||
{name:"mllike",extraWords:{"abstract":"keyword",assert:"keyword",base:"keyword",begin:"keyword","class":"keyword","default":"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword","finally":"keyword","for":"keyword","function":"keyword",global:"keyword",inherit:"keyword",inline:"keyword","interface":"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",
|
||
namespace:"keyword","new":"keyword","null":"keyword",override:"keyword","private":"keyword","public":"keyword","return!":"keyword","return":"keyword",select:"keyword","static":"keyword",to:"keyword","try":"keyword",upcast:"keyword","use!":"keyword",use:"keyword","void":"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword","break":"keyword",checked:"keyword",component:"keyword","const":"keyword",constraint:"keyword",constructor:"keyword","continue":"keyword",eager:"keyword",
|
||
event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword","protected":"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword","volatile":"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin","int":"builtin",string:"builtin",not:"builtin","true":"builtin","false":"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0});v.defineMIME("text/x-sml",
|
||
{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword","case":"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword","true":"keyword","false":"keyword","int":"builtin",real:"builtin",string:"builtin","char":"builtin",bool:"builtin"},slashComments:!0})})};
|
||
shadow$provide[530]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(y){var n={};y=y.split(" ");for(var b=0;b<y.length;++b)n[y[b]]=!0;return n}v.defineMode("modelica",function(y,n){function b(t,r){t.skipToEnd();r.tokenize=null;return"comment"}function u(t,r){for(var f=!1,F;F=t.next();){if(f&&"/"==F){r.tokenize=null;break}f="*"==F}return"comment"}function z(t,
|
||
r){for(var f=!1,F;null!=(F=t.next());){if('"'==F&&!f){r.tokenize=null;r.sol=!1;break}f=!f&&"\\"==F}return"string"}function A(t,r){for(t.eatWhile(E);t.eat(E)||t.eat(w););t=t.current();!r.sol||"package"!=t&&"model"!=t&&"when"!=t&&"connector"!=t?r.sol&&"end"==t&&0<r.level&&r.level--:r.level++;r.tokenize=null;r.sol=!1;return h.propertyIsEnumerable(t)?"keyword":c.propertyIsEnumerable(t)?"builtin":p.propertyIsEnumerable(t)?"atom":"variable"}function B(t,r){for(;t.eat(/[^']/););r.tokenize=null;r.sol=!1;
|
||
return t.eat("'")?"variable":"error"}function J(t,r){t.eatWhile(E);t.eat(".")&&t.eatWhile(E);if(t.eat("e")||t.eat("E"))t.eat("-")||t.eat("+"),t.eatWhile(E);r.tokenize=null;r.sol=!1;return"number"}var g=y.indentUnit,h=n.keywords||{},c=n.builtin||{},p=n.atoms||{},m=/[;=\(:\),{}.*<>+\-\/^\[\]]/,q=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,E=/[0-9]/,w=/[_a-zA-Z]/;return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(t,r){if(null!=r.tokenize)return r.tokenize(t,r);t.sol()&&
|
||
(r.sol=!0);if(t.eatSpace())return r.tokenize=null;var f=t.next();if("/"==f&&t.eat("/"))r.tokenize=b;else if("/"==f&&t.eat("*"))r.tokenize=u;else{if(q.test(f+t.peek()))return t.next(),r.tokenize=null,"operator";if(m.test(f))return r.tokenize=null,"operator";if(w.test(f))r.tokenize=A;else if("'"==f&&t.peek()&&"'"!=t.peek())r.tokenize=B;else if('"'==f)r.tokenize=z;else if(E.test(f))r.tokenize=J;else return r.tokenize=null,"error"}return r.tokenize(t,r)},indent:function(t,r){if(null!=t.tokenize)return v.Pass;
|
||
t=t.level;/(algorithm)/.test(r)&&t--;/(equation)/.test(r)&&t--;/(initial algorithm)/.test(r)&&t--;/(initial equation)/.test(r)&&t--;/(end)/.test(r)&&t--;return 0<t?g*t:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});(function(y,n){function b(A){if(A)for(var B in A)A.hasOwnProperty(B)&&u.push(B)}"string"==typeof y&&(y=[y]);var u=[];b(n.keywords);b(n.builtin);b(n.atoms);u.length&&(n.helperType=y[0],v.registerHelper("hintWords",y[0],u));for(var z=0;z<y.length;++z)v.defineMIME(y[z],
|
||
n)})(["text/x-modelica"],{name:"modelica",keywords:Y("algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within"),builtin:Y("abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh"),
|
||
atoms:Y("Real Boolean Integer String")})})};
|
||
shadow$provide[531]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(A){return new RegExp("^\\b(?:"+A.join("|")+")\\b","i")}function y(A){return new RegExp("^(?:"+A.join("|")+")","i")}function n(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function b(A){return{inComment:A.inComment,inString:A.inString,inAttributeList:A.inAttributeList,
|
||
inScript:A.inScript}}function u(A){return function(B,J){if(B.match(y(A.brackets),!0,!0))return"bracket";if(!J.inComment){if(B.match(/\/\*[^\*\/]*/,!0,!0))return J.inComment=!0,"comment";if(B.match(y(A.singlecomment),!0,!0))return B.skipToEnd(),"comment"}if(J.inComment)return B.match(/[^\*\/]*\*\//,!0,!0)?J.inComment=!1:B.skipToEnd(),"comment";if(!J.inString&&B.match(/"(\\"|[^"])*/,!0,!0))return J.inString=!0,"string";if(J.inString)return B.match(/[^"]*"/,!0,!0)?J.inString=!1:B.skipToEnd(),"string";
|
||
if(A.keywords&&B.match(Y(A.keywords),!0,!0)||B.match(Y(A.options),!0,!0)||B.match(Y(A.arcsWords),!0,!0)||B.match(y(A.arcsOthers),!0,!0))return"keyword";if(A.operators&&B.match(y(A.operators),!0,!0))return"operator";if(A.constants&&B.match(y(A.constants),!0,!0))return"variable";if(!A.inAttributeList&&A.attributes&&B.match("[",!0,!0))return A.inAttributeList=!0,"bracket";if(A.inAttributeList){if(null!==A.attributes&&B.match(Y(A.attributes),!0,!0))return"attribute";if(B.match("]",!0,!0))return A.inAttributeList=
|
||
!1,"bracket"}B.next();return"base"}}var z={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:"label idurl id url linecolor linecolour textcolor textcolour textbgcolor textbgcolour arclinecolor arclinecolour arctextcolor arctextcolour arctextbgcolor arctextbgcolour arcskip".split(" "),brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:"\\|\\|\\| \\.\\.\\. --- -- \x3c-\x3e \x3d\x3d \x3c\x3c\x3d\x3e\x3e \x3c\x3d\x3e \\.\\. \x3c\x3c\x3e\x3e :: \x3c:\x3e -\x3e \x3d\x3e\x3e \x3d\x3e \x3e\x3e :\x3e \x3c- \x3c\x3c\x3d \x3c\x3d \x3c\x3c \x3c: x- -x".split(" "),
|
||
singlecomment:["//","#"],operators:["\x3d"]},xu:{keywords:["msc","xu"],options:"hscale width arcgradient wordwraparcs wordwrapentities watermark".split(" "),constants:["true","false","on","off","auto"],attributes:"label idurl id url linecolor linecolour textcolor textcolour textbgcolor textbgcolour arclinecolor arclinecolour arctextcolor arctextcolour arctextbgcolor arctextbgcolour arcskip title deactivate activate activation".split(" "),brackets:["\\{","\\}"],arcsWords:"note abox rbox box alt else opt break par seq strict neg critical ignore consider assert loop ref exc".split(" "),
|
||
arcsOthers:"\\|\\|\\| \\.\\.\\. --- -- \x3c-\x3e \x3d\x3d \x3c\x3c\x3d\x3e\x3e \x3c\x3d\x3e \\.\\. \x3c\x3c\x3e\x3e :: \x3c:\x3e -\x3e \x3d\x3e\x3e \x3d\x3e \x3e\x3e :\x3e \x3c- \x3c\x3c\x3d \x3c\x3d \x3c\x3c \x3c: x- -x".split(" "),singlecomment:["//","#"],operators:["\x3d"]},msgenny:{keywords:null,options:"hscale width arcgradient wordwraparcs wordwrapentities watermark".split(" "),constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:"note abox rbox box alt else opt break par seq strict neg critical ignore consider assert loop ref exc".split(" "),
|
||
arcsOthers:"\\|\\|\\| \\.\\.\\. --- -- \x3c-\x3e \x3d\x3d \x3c\x3c\x3d\x3e\x3e \x3c\x3d\x3e \\.\\. \x3c\x3c\x3e\x3e :: \x3c:\x3e -\x3e \x3d\x3e\x3e \x3d\x3e \x3e\x3e :\x3e \x3c- \x3c\x3c\x3d \x3c\x3d \x3c\x3c \x3c: x- -x".split(" "),singlecomment:["//","#"],operators:["\x3d"]}};v.defineMode("mscgen",function(A,B){return{startState:n,copyState:b,token:u(z[B&&B.language||"mscgen"]),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}});v.defineMIME("text/x-mscgen","mscgen");v.defineMIME("text/x-xu",
|
||
{name:"mscgen",language:"xu"});v.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"})})};
|
||
shadow$provide[532]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("mumps",function(){function Y(g){return new RegExp("^(("+g.join(")|(")+"))\\b","i")}function y(g,h){g.sol()&&(h.label=!0,h.commandMode=0);var c=g.peek();if(" "==c||"\t"==c)if(h.label=!1,0==h.commandMode)h.commandMode=1;else{if(0>h.commandMode||2==h.commandMode)h.commandMode=0}else"."!=
|
||
c&&0<h.commandMode&&(h.commandMode=":"==c?-1:2);if("("===c||"\t"===c)h.label=!1;if(";"===c)return g.skipToEnd(),"comment";if(g.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/))return"number";if('"'==c){if(g.skipTo('"'))return g.next(),"string";g.skipToEnd();return"error"}if(g.match(b)||g.match(n))return"operator";if(g.match(u))return null;if(z.test(c))return g.next(),"bracket";if(0<h.commandMode&&g.match(J))return"variable-2";if(g.match(B))return"builtin";if(g.match(A))return"variable";if("$"===c||"^"===
|
||
c)return g.next(),"builtin";if("@"===c)return g.next(),"string-2";if(/[\w%]/.test(c))return g.eatWhile(/[\w%]/),"variable";g.next();return"error"}var n=RegExp("^[\\+\\-\\*/\x26#!_?\\\\\x3c\x3e\x3d\\'\\[\\]]"),b=RegExp("^(('\x3d)|(\x3c\x3d)|(\x3e\x3d)|('\x3e)|('\x3c)|([[)|(]])|(^$))"),u=RegExp("^[\\.,:]"),z=RegExp("[()]"),A=RegExp("^[%A-Za-z][A-Za-z0-9]*"),B=Y("\\$ascii \\$char \\$data \\$ecode \\$estack \\$etrap \\$extract \\$find \\$fnumber \\$get \\$horolog \\$io \\$increment \\$job \\$justify \\$length \\$name \\$next \\$order \\$piece \\$qlength \\$qsubscript \\$query \\$quit \\$random \\$reverse \\$select \\$stack \\$test \\$text \\$translate \\$view \\$x \\$y \\$a \\$c \\$d \\$e \\$ec \\$es \\$et \\$f \\$fn \\$g \\$h \\$i \\$j \\$l \\$n \\$na \\$o \\$p \\$q \\$ql \\$qs \\$r \\$re \\$s \\$st \\$t \\$tr \\$v \\$z".split(" ")),
|
||
J=Y("break close do else for goto halt hang if job kill lock merge new open quit read set tcommit trollback tstart use view write xecute b c d e f g h i j k l m n o q r s tc tro ts u v w x".split(" "));return{startState:function(){return{label:!1,commandMode:0}},token:function(g,h){g=y(g,h);return h.label?"tag":g}}});v.defineMIME("text/x-mumps","mumps")})};
|
||
shadow$provide[533]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("nginx",function(Y){function y(p){var m={};p=p.split(" ");for(var q=0;q<p.length;++q)m[p[q]]=!0;return m}function n(p,m){c=m;return p}function b(p,m){p.eatWhile(/[\w\$_]/);var q=p.current();if(B.propertyIsEnumerable(q))return"keyword";if(J.propertyIsEnumerable(q))return"variable-2";
|
||
if(g.propertyIsEnumerable(q))return"string-2";q=p.next();if("@"==q)return p.eatWhile(/[\w\\\-]/),n("meta",p.current());if("/"==q&&p.eat("*"))return m.tokenize=u,u(p,m);if("\x3c"==q&&p.eat("!"))return m.tokenize=z,z(p,m);if("\x3d"==q)n(null,"compare");else{if("~"!=q&&"|"!=q||!p.eat("\x3d")){if('"'==q||"'"==q)return m.tokenize=A(q),m.tokenize(p,m);if("#"==q)return p.skipToEnd(),n("comment","comment");if("!"==q)return p.match(/^\s*\w*/),n("keyword","important");if(/\d/.test(q))return p.eatWhile(/[\w.%]/),
|
||
n("number","unit");if(/[,.+>*\/]/.test(q))return n(null,"select-op");if(/[;{}:\[\]]/.test(q))return n(null,q);p.eatWhile(/[\w\\\-]/);return n("variable","variable")}return n(null,"compare")}}function u(p,m){for(var q=!1,E;null!=(E=p.next());){if(q&&"/"==E){m.tokenize=b;break}q="*"==E}return n("comment","comment")}function z(p,m){for(var q=0,E;null!=(E=p.next());){if(2<=q&&"\x3e"==E){m.tokenize=b;break}q="-"==E?q+1:0}return n("comment","comment")}function A(p){return function(m,q){for(var E=!1,w;null!=
|
||
(w=m.next())&&(w!=p||E);)E=!E&&"\\"==w;E||(q.tokenize=b);return n("string","string")}}var B=y("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),
|
||
J=y("http mail events server types location upstream charset_map limit_except if geo map"),g=y("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"),h=Y.indentUnit,c;return{startState:function(p){return{tokenize:b,baseIndent:p||0,stack:[]}},token:function(p,m){if(p.eatSpace())return null;c=null;p=m.tokenize(p,m);var q=m.stack[m.stack.length-1];"hash"==c&&"rule"==q?p="atom":"variable"==p&&("rule"==q?p="number":q&&"@media{"!=q||(p="tag"));"rule"==q&&/^[\{\};]$/.test(c)&&
|
||
m.stack.pop();"{"==c?"@media"==q?m.stack[m.stack.length-1]="@media{":m.stack.push("{"):"}"==c?m.stack.pop():"@media"==c?m.stack.push("@media"):"{"==q&&"comment"!=c&&m.stack.push("rule");return p},indent:function(p,m){var q=p.stack.length;/^\}/.test(m)&&(q-="rule"==p.stack[p.stack.length-1]?2:1);return p.baseIndent+q*h},electricChars:"}"}});v.defineMIME("text/x-nginx-conf","nginx")})};
|
||
shadow$provide[534]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(491)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../addon/mode/simple"],v):v(CodeMirror)})(function(v){v.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,
|
||
token:"keyword"},{regex:/^\s*(?:!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,
|
||
token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,
|
||
token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,
|
||
token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,
|
||
token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},
|
||
{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[!\w\.:-]+}/,token:"variable-2"},{regex:/\$\([!\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",
|
||
";"]}});v.defineMIME("text/x-nsis","nsis")})};
|
||
shadow$provide[535]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("ntriples",function(){function Y(n,b){var u=n.location;n.location=u==y.PRE_SUBJECT&&"\x3c"==b?y.WRITING_SUB_URI:u==y.PRE_SUBJECT&&"_"==b?y.WRITING_BNODE_URI:u==y.PRE_PRED&&"\x3c"==b?y.WRITING_PRED_URI:u==y.PRE_OBJ&&"\x3c"==b?y.WRITING_OBJ_URI:u==y.PRE_OBJ&&"_"==b?y.WRITING_OBJ_BNODE:
|
||
u==y.PRE_OBJ&&'"'==b?y.WRITING_OBJ_LITERAL:u==y.WRITING_SUB_URI&&"\x3e"==b?y.PRE_PRED:u==y.WRITING_BNODE_URI&&" "==b?y.PRE_PRED:u==y.WRITING_PRED_URI&&"\x3e"==b?y.PRE_OBJ:u==y.WRITING_OBJ_URI&&"\x3e"==b?y.POST_OBJ:u==y.WRITING_OBJ_BNODE&&" "==b?y.POST_OBJ:u==y.WRITING_OBJ_LITERAL&&'"'==b?y.POST_OBJ:u==y.WRITING_LIT_LANG&&" "==b?y.POST_OBJ:u==y.WRITING_LIT_TYPE&&"\x3e"==b?y.POST_OBJ:u==y.WRITING_OBJ_LITERAL&&"@"==b?y.WRITING_LIT_LANG:u==y.WRITING_OBJ_LITERAL&&"^"==b?y.WRITING_LIT_TYPE:" "!=b||u!=y.PRE_SUBJECT&&
|
||
u!=y.PRE_PRED&&u!=y.PRE_OBJ&&u!=y.POST_OBJ?u==y.POST_OBJ&&"."==b?y.PRE_SUBJECT:y.ERROR:u}var y={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};return{startState:function(){return{location:y.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(n,b){var u=n.next();if("\x3c"==u){Y(b,u);var z="";n.eatWhile(function(h){return"#"!=
|
||
h&&"\x3e"!=h?(z+=h,!0):!1});b.uris.push(z);if(n.match("#",!1))return"variable";n.next();Y(b,"\x3e");return"variable"}if("#"==u){var A="";n.eatWhile(function(h){return"\x3e"!=h&&" "!=h?(A+=h,!0):!1});b.anchors.push(A);return"variable-2"}if("\x3e"==u)return Y(b,"\x3e"),"variable";if("_"==u){Y(b,u);var B="";n.eatWhile(function(h){return" "!=h?(B+=h,!0):!1});b.bnodes.push(B);n.next();Y(b," ");return"builtin"}if('"'==u)return Y(b,u),n.eatWhile(function(h){return'"'!=h}),n.next(),"@"!=n.peek()&&"^"!=n.peek()&&
|
||
Y(b,'"'),"string";if("@"==u){Y(b,"@");var J="";n.eatWhile(function(h){return" "!=h?(J+=h,!0):!1});b.langs.push(J);n.next();Y(b," ");return"string-2"}if("^"==u){n.next();Y(b,"^");var g="";n.eatWhile(function(h){return"\x3e"!=h?(g+=h,!0):!1});b.types.push(g);n.next();Y(b,"\x3e");return"variable"}" "==u&&Y(b,u);"."==u&&Y(b,u)}}});v.defineMIME("application/n-triples","ntriples");v.defineMIME("application/n-quads","ntriples");v.defineMIME("text/n-triples","ntriples")})};
|
||
shadow$provide[536]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("octave",function(){function Y(m){return new RegExp("^(("+m.join(")|(")+"))\\b")}function y(m,q){if(!m.sol()&&"'"===m.peek())return m.next(),q.tokenize=b,"operator";q.tokenize=b;return b(m,q)}function n(m,q){if(m.match(/^.*%}/))return q.tokenize=b,"comment";m.skipToEnd();return"comment"}
|
||
function b(m,q){if(m.eatSpace())return null;if(m.match("%{"))return q.tokenize=n,m.skipToEnd(),"comment";if(m.match(/^[%#]/))return m.skipToEnd(),"comment";if(m.match(/^[0-9\.+-]/,!1)){if(m.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return m.tokenize=b,"number";if(m.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||m.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(m.match(Y(["nan","NaN","inf","Inf"])))return"number";var E=m.match(/^"(?:[^"]|"")*("|$)/)||m.match(/^'(?:[^']|'')*('|$)/);if(E)return E[1]?
|
||
"string":"string error";if(m.match(p))return"keyword";if(m.match(c))return"builtin";if(m.match(h))return"variable";if(m.match(u)||m.match(A))return"operator";if(m.match(z)||m.match(B)||m.match(J))return null;if(m.match(g))return q.tokenize=y,null;m.next();return"error"}var u=RegExp("^[\\+\\-\\*/\x26|\\^~\x3c\x3e!@'\\\\]"),z=RegExp("^[\\(\\[\\{\\},:\x3d;\\.]"),A=RegExp("^((\x3d\x3d)|(~\x3d)|(\x3c\x3d)|(\x3e\x3d)|(\x3c\x3c)|(\x3e\x3e)|(\\.[\\+\\-\\*/\\^\\\\]))"),B=RegExp("^((!\x3d)|(\\+\x3d)|(\\-\x3d)|(\\*\x3d)|(/\x3d)|(\x26\x3d)|(\\|\x3d)|(\\^\x3d))"),
|
||
J=RegExp("^((\x3e\x3e\x3d)|(\x3c\x3c\x3d))"),g=RegExp("^[\\]\\)]"),h=RegExp("^[_A-Za-z¡-][_A-Za-z0-9¡-]*"),c=Y("error eval function abs acos atan asin cos cosh exp log prod sum log10 max min sign sin sinh sqrt tan reshape break zeros default margin round ones rand syn ceil floor size clear zeros eye mean std cov det eig inv norm rank trace expm logm sqrtm linspace plot title xlabel ylabel legend text grid meshgrid mesh num2str fft ifft arrayfun cellfun input fliplr flipud ismember".split(" ")),
|
||
p=Y("return case switch else elseif end endif endfunction if otherwise do for while try catch classdef properties events methods global persistent endfor endwhile printf sprintf disp until continue pkg".split(" "));return{startState:function(){return{tokenize:b}},token:function(m,q){m=q.tokenize(m,q);if("number"===m||"variable"===m)q.tokenize=y;return m},lineComment:"%",fold:"indent"}});v.defineMIME("text/x-octave","octave")})};
|
||
shadow$provide[537]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("oz",function(Y){function y(r){return new RegExp("^(("+r.join(")|(")+"))\\b")}function n(r,f){if(r.eatSpace())return null;if(r.match(/[{}]/))return"bracket";if(r.match("[]"))return"keyword";if(r.match(h)||r.match(g))return"operator";if(r.match(m))return"atom";var F=r.match(E);if(F)return f.doInCurrentLine?
|
||
f.doInCurrentLine=!1:f.currentIndent++,"proc"==F[0]||"fun"==F[0]?f.tokenize=z:"class"==F[0]?f.tokenize=b:"meth"==F[0]&&(f.tokenize=u),"keyword";if(r.match(w)||r.match(q))return"keyword";if(r.match(t))return f.currentIndent--,"keyword";F=r.next();if('"'==F||"'"==F)return f.tokenize=B(F),f.tokenize(r,f);if(/[~\d]/.test(F)){if("~"==F){if(!/^[0-9]/.test(r.peek()))return null;if("0"==r.next()&&r.match(/^[xX][0-9a-fA-F]+/)||r.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==F&&r.match(/^[xX][0-9a-fA-F]+/)||
|
||
r.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}if("%"==F)return r.skipToEnd(),"comment";if("/"==F&&r.eat("*"))return f.tokenize=A,A(r,f);if(J.test(F))return"operator";r.eatWhile(/\w/);return"variable"}function b(r,f){if(r.eatSpace())return null;r.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/);f.tokenize=n;return"variable-3"}function u(r,f){if(r.eatSpace())return null;r.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/);f.tokenize=n;return"def"}function z(r,f){if(r.eatSpace())return null;if(!f.hasPassedFirstStage&&
|
||
r.eat("{"))return f.hasPassedFirstStage=!0,"bracket";if(f.hasPassedFirstStage)return r.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),f.hasPassedFirstStage=!1,f.tokenize=n,"def";f.tokenize=n;return null}function A(r,f){for(var F=!1,C;C=r.next();){if("/"==C&&F){f.tokenize=n;break}F="*"==C}return"comment"}function B(r){return function(f,F){for(var C=!1,M,aa=!1;null!=(M=f.next());){if(M==r&&!C){aa=!0;break}C=!C&&"\\"==M}if(aa||!C)F.tokenize=n;return"string"}}var J=/[\^@!\|<>#~\.\*\-\+\\/,=]/,g=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,
|
||
h=/(:::)|(\.\.\.)|(=<:)|(>=:)/,c="in then else of elseof elsecase elseif catch finally with require prepare import export define do".split(" "),p=["end"],m=y(["true","false","nil","unit"]),q=y("andthen at attr declare feat from lex mod div mode orelse parser prod prop scanner self syn token".split(" ")),E=y("local proc fun case class if cond or dis choice not thread try raise lock for suchthat meth functor".split(" ")),w=y(c),t=y(p);return{startState:function(){return{tokenize:n,currentIndent:0,doInCurrentLine:!1,
|
||
hasPassedFirstStage:!1}},token:function(r,f){r.sol()&&(f.doInCurrentLine=0);return f.tokenize(r,f)},indent:function(r,f){f=f.replace(/^\s+|\s+$/g,"");return f.match(t)||f.match(w)||f.match(/(\[])/)?Y.indentUnit*(r.currentIndent-1):0>r.currentIndent?0:r.currentIndent*Y.indentUnit},fold:"indent",electricInput:function(){var r=c.concat(p);return new RegExp("[\\[\\]]|("+r.join("|")+")$")}(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}});v.defineMIME("text/x-oz","oz")})};
|
||
shadow$provide[538]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("pascal",function(){function Y(B,J){var g=B.next();if("#"==g&&J.startOfLine)return B.skipToEnd(),"meta";if('"'==g||"'"==g)return J.tokenize=y(g),J.tokenize(B,J);if("("==g&&B.eat("*"))return J.tokenize=n,n(B,J);if("{"==g)return J.tokenize=b,b(B,J);if(/[\[\]\(\),;:\.]/.test(g))return null;
|
||
if(/\d/.test(g))return B.eatWhile(/[\w\.]/),"number";if("/"==g&&B.eat("/"))return B.skipToEnd(),"comment";if(A.test(g))return B.eatWhile(A),"operator";B.eatWhile(/[\w\$_]/);B=B.current();return u.propertyIsEnumerable(B)?"keyword":z.propertyIsEnumerable(B)?"atom":"variable"}function y(B){return function(J,g){for(var h=!1,c,p=!1;null!=(c=J.next());){if(c==B&&!h){p=!0;break}h=!h&&"\\"==c}if(p||!h)g.tokenize=null;return"string"}}function n(B,J){for(var g=!1,h;h=B.next();){if(")"==h&&g){J.tokenize=null;
|
||
break}g="*"==h}return"comment"}function b(B,J){for(var g;g=B.next();)if("}"==g){J.tokenize=null;break}return"comment"}var u=function(B){var J={};B=B.split(" ");for(var g=0;g<B.length;++g)J[B[g]]=!0;return J}("absolute and array asm begin case const constructor destructor div do downto else end file for function goto if implementation in inherited inline interface label mod nil not object of operator or packed procedure program record reintroduce repeat self set shl shr string then to type unit until uses var while with xor as class dispinterface except exports finalization finally initialization inline is library on out packed property raise resourcestring threadvar try 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 iocheck 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"),
|
||
z={"null":!0},A=/[+\-*&%=<>!?|\/]/;return{startState:function(){return{tokenize:null}},token:function(B,J){return B.eatSpace()?null:(J.tokenize||Y)(B,J)},electricChars:"{}"}});v.defineMIME("text/x-pascal","pascal")})};
|
||
shadow$provide[539]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(487)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../javascript/javascript"],v):v(CodeMirror)})(function(v){v.defineMode("pegjs",function(Y){var y=v.getMode(Y,"javascript");return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(n,b){b.inString||b.inComment||'"'!=n.peek()&&"'"!=
|
||
n.peek()||(b.stringType=n.peek(),n.next(),b.inString=!0);b.inString||b.inComment||!n.match("/*")||(b.inComment=!0);if(b.inString){for(;b.inString&&!n.eol();)n.peek()===b.stringType?(n.next(),b.inString=!1):"\\"===n.peek()?(n.next(),n.next()):n.match(/^.[^\\"']*/);return b.lhs?"property string":"string"}if(b.inComment){for(;b.inComment&&!n.eol();)n.match("*/")?b.inComment=!1:n.match(/^.[^\*]*/);return"comment"}if(b.inCharacterClass)for(;b.inCharacterClass&&!n.eol();)n.match(/^[^\]\\]+/)||n.match(/^\\./)||
|
||
(b.inCharacterClass=!1);else{if("["===n.peek())return n.next(),b.inCharacterClass=!0,"bracket";if(n.match("//"))return n.skipToEnd(),"comment";if(b.braced||"{"===n.peek()){null===b.localState&&(b.localState=v.startState(y));var u=y.token(n,b.localState);n=n.current();if(!u)for(var z=0;z<n.length;z++)"{"===n[z]?b.braced++:"}"===n[z]&&b.braced--;return u}if(n.match(/^[a-zA-Z_][a-zA-Z0-9_]*/))return":"===n.peek()?"variable":"variable-2";if(-1!=["[","]","(",")"].indexOf(n.peek()))return n.next(),"bracket";
|
||
n.eatSpace()||n.next()}return null}}},"javascript")})};
|
||
shadow$provide[540]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(u,z){return u.string.charAt(u.pos+(z||0))}function y(u,z){if(z){var A=u.pos-z;return u.string.substr(0<=A?A:0,z)}return u.string.substr(0,u.pos-1)}function n(u,z){var A=u.string.length,B=A-u.pos+1;return u.string.substr(u.pos,z&&z<A?z:B)}function b(u,z){z=u.pos+z;var A;0>=z?u.pos=0:z>=
|
||
(A=u.string.length-1)?u.pos=A:u.pos=z}v.defineMode("perl",function(){function u(g,h,c,p,m){h.chain=null;h.style=null;h.tail=null;h.tokenize=function(q,E){for(var w=!1,t,r=0;t=q.next();){if(t===c[r]&&!w){void 0!==c[++r]?(E.chain=c[r],E.style=p,E.tail=m):m&&q.eatWhile(m);E.tokenize=A;break}w=!w&&"\\"==t}return p};return h.tokenize(g,h)}function z(g,h,c){h.tokenize=function(p,m){p.string==c&&(m.tokenize=A);p.skipToEnd();return"string"};return h.tokenize(g,h)}function A(g,h){if(g.eatSpace())return null;
|
||
if(h.chain)return u(g,h,h.chain,h.style,h.tail);if(g.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(g.match(/^<<(?=[_a-zA-Z])/))return g.eatWhile(/\w/),z(g,h,g.current().substr(2));if(g.sol()&&g.match(/^=item(?!\w)/))return z(g,h,"\x3dcut");var c=g.next();if('"'==c||"'"==c){if(y(g,3)=="\x3c\x3c"+c){var p=g.pos;g.eatWhile(/\w/);var m=g.current().substr(1);if(m&&g.eat(c))return z(g,h,m);g.pos=p}return u(g,h,[c],"string")}if("q"==
|
||
c&&(m=Y(g,-2),!m||!/\w/.test(m)))if(m=Y(g,0),"x"==m){m=Y(g,1);if("("==m)return b(g,2),u(g,h,[")"],"string-2",J);if("["==m)return b(g,2),u(g,h,["]"],"string-2",J);if("{"==m)return b(g,2),u(g,h,["}"],"string-2",J);if("\x3c"==m)return b(g,2),u(g,h,["\x3e"],"string-2",J);if(/[\^'"!~\/]/.test(m))return b(g,1),u(g,h,[g.eat(m)],"string-2",J)}else if("q"==m){m=Y(g,1);if("("==m)return b(g,2),u(g,h,[")"],"string");if("["==m)return b(g,2),u(g,h,["]"],"string");if("{"==m)return b(g,2),u(g,h,["}"],"string");if("\x3c"==
|
||
m)return b(g,2),u(g,h,["\x3e"],"string");if(/[\^'"!~\/]/.test(m))return b(g,1),u(g,h,[g.eat(m)],"string")}else if("w"==m){m=Y(g,1);if("("==m)return b(g,2),u(g,h,[")"],"bracket");if("["==m)return b(g,2),u(g,h,["]"],"bracket");if("{"==m)return b(g,2),u(g,h,["}"],"bracket");if("\x3c"==m)return b(g,2),u(g,h,["\x3e"],"bracket");if(/[\^'"!~\/]/.test(m))return b(g,1),u(g,h,[g.eat(m)],"bracket")}else if("r"==m){m=Y(g,1);if("("==m)return b(g,2),u(g,h,[")"],"string-2",J);if("["==m)return b(g,2),u(g,h,["]"],
|
||
"string-2",J);if("{"==m)return b(g,2),u(g,h,["}"],"string-2",J);if("\x3c"==m)return b(g,2),u(g,h,["\x3e"],"string-2",J);if(/[\^'"!~\/]/.test(m))return b(g,1),u(g,h,[g.eat(m)],"string-2",J)}else if(/[\^'"!~\/(\[{<]/.test(m)){if("("==m)return b(g,1),u(g,h,[")"],"string");if("["==m)return b(g,1),u(g,h,["]"],"string");if("{"==m)return b(g,1),u(g,h,["}"],"string");if("\x3c"==m)return b(g,1),u(g,h,["\x3e"],"string");if(/[\^'"!~\/]/.test(m))return u(g,h,[g.eat(m)],"string")}if("m"==c&&(m=Y(g,-2),!m||!/\w/.test(m))&&
|
||
(m=g.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(m))return u(g,h,[m],"string-2",J);if("("==m)return u(g,h,[")"],"string-2",J);if("["==m)return u(g,h,["]"],"string-2",J);if("{"==m)return u(g,h,["}"],"string-2",J);if("\x3c"==m)return u(g,h,["\x3e"],"string-2",J)}if("s"==c&&(m=/[\/>\]})\w]/.test(Y(g,-2)),!m&&(m=g.eat(/[(\[{<\^'"!~\/]/)))||"y"==c&&(m=/[\/>\]})\w]/.test(Y(g,-2)),!m&&(m=g.eat(/[(\[{<\^'"!~\/]/)))||"t"==c&&(m=/[\/>\]})\w]/.test(Y(g,-2)),!m&&(m=g.eat("r")))&&(m=g.eat(/[(\[{<\^'"!~\/]/)))return"["==
|
||
m?u(g,h,["]","]"],"string-2",J):"{"==m?u(g,h,["}","}"],"string-2",J):"\x3c"==m?u(g,h,["\x3e","\x3e"],"string-2",J):"("==m?u(g,h,[")",")"],"string-2",J):u(g,h,[m,m],"string-2",J);if("`"==c)return u(g,h,[c],"variable-2");if("/"==c)return/~\s*$/.test(y(g))?u(g,h,[c],"string-2",J):"operator";if("$"==c){p=g.pos;if(g.eatWhile(/\d/)||g.eat("{")&&g.eatWhile(/\d/)&&g.eat("}"))return"variable-2";g.pos=p}if(/[$@%]/.test(c)){p=g.pos;if(g.eat("^")&&g.eat(/[A-Z]/)||!/[@$%&]/.test(Y(g,-2))&&g.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/))if(m=
|
||
g.current(),B[m])return"variable-2";g.pos=p}if(/[$@%&]/.test(c)&&(g.eatWhile(/[\w$]/)||g.eat("{")&&g.eatWhile(/[\w$]/)&&g.eat("}")))return m=g.current(),B[m]?"variable-2":"variable";if("#"==c&&"$"!=Y(g,-2))return g.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(c)){p=g.pos;g.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/);if(B[g.current()])return"operator";g.pos=p}if("_"==c&&1==g.pos){if("_END__"==n(g,6))return u(g,h,["\x00"],"comment");if("_DATA__"==n(g,7))return u(g,h,["\x00"],"variable-2");if("_C__"==
|
||
n(g,7))return u(g,h,["\x00"],"string")}if(/\w/.test(c)){p=g.pos;if("{"==Y(g,-2)&&("}"==Y(g,0)||g.eatWhile(/\w/)&&"}"==Y(g,0)))return"string";g.pos=p}if(/[A-Z]/.test(c))if(h=Y(g,-2),p=g.pos,g.eatWhile(/[A-Z_]/),/[\da-z]/.test(Y(g,0)))g.pos=p;else{m=B[g.current()];if(!m)return"meta";m[1]&&(m=m[0]);return":"!=h?1==m?"keyword":2==m?"def":3==m?"atom":4==m?"operator":5==m?"variable-2":"meta":"meta"}if(/[a-zA-Z_]/.test(c)){h=Y(g,-2);g.eatWhile(/\w/);m=B[g.current()];if(!m)return"meta";m[1]&&(m=m[0]);return":"!=
|
||
h?1==m?"keyword":2==m?"def":3==m?"atom":4==m?"operator":5==m?"variable-2":"meta":"meta"}return null}var B={"-\x3e":4,"++":4,"--":4,"**":4,"\x3d~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"\x3c\x3c":4,"\x3e\x3e":4,"\x3c":4,"\x3e":4,"\x3c\x3d":4,"\x3e\x3d":4,lt:4,gt:4,le:4,ge:4,"\x3d\x3d":4,"!\x3d":4,"\x3c\x3d\x3e":4,eq:4,ne:4,cmp:4,"~~":4,"\x26":4,"|":4,"^":4,"\x26\x26":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"\x3d":4,"+\x3d":4,"-\x3d":4,"*\x3d":4,",":4,"\x3d\x3e":4,"::":4,not:4,and:4,or:4,
|
||
xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$\x3c":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$\x3e":5,$a:5,$b:5,$COMPILING:5,
|
||
"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$\x26":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,
|
||
"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,
|
||
"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$\x3d":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,
|
||
"$]":5,"if":[1,1],elsif:[1,1],"else":[1,1],"while":[1,1],unless:[1,1],"for":[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,"break":1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,"continue":[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,"default":1,defined:1,"delete":1,die:1,"do":1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,
|
||
fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,"goto":1,grep:1,hex:1,"import":1,index:1,"int":1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,
|
||
length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,"new":1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,"package":1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,"return":1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,
|
||
select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,
|
||
unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},J=/[goseximacplud]/;return{startState:function(){return{tokenize:A,chain:null,style:null,tail:null}},token:function(g,h){return(h.tokenize||A)(g,h)},lineComment:"#"}});v.registerHelper("wordChars","perl",/[\w$]/);v.defineMIME("text/x-perl","perl")})};
|
||
shadow$provide[541]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(488),ba(474)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],v):v(CodeMirror)})(function(v){function Y(u){var z={};u=u.split(" ");for(var A=0;A<u.length;++A)z[u[A]]=!0;return z}function y(u,z,A){return 0==u.length?n(z):function(B,J){for(var g=u[0],h=0;h<g.length;h++)if(B.match(g[h][0]))return J.tokenize=y(u.slice(1),z),g[h][1];
|
||
J.tokenize=n(z,A);return"string"}}function n(u,z){return function(A,B){if(!1!==z&&A.match("${",!1)||A.match("{$",!1))B.tokenize=null,A="string";else if(!1!==z&&A.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))A.match("[",!1)&&(B.tokenize=y([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],u,z)),A.match(/^->\w/,!1)&&(B.tokenize=y([[["-\x3e",null]],[[/[\w]+/,"variable"]]],u,z)),A="variable-2";else{for(var J=!1;!A.eol()&&(J||!1===z||!A.match("{$",
|
||
!1)&&!A.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!J&&A.match(u)){B.tokenize=null;B.tokStack.pop();B.tokStack.pop();break}J="\\"==A.next()&&!J}A="string"}return A}}v.registerHelper("hintWords","php","abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally readonly match true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__ func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage memory_get_peak_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count".split(" "));
|
||
v.registerHelper("wordChars","php",/[\w$]/);var b={name:"clike",helperType:"php",keywords:Y("abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally readonly match"),
|
||
blockKeywords:Y("catch do else elseif for foreach if switch try while finally"),defKeywords:Y("class enum function interface namespace trait"),atoms:Y("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"),builtin:Y("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage memory_get_peak_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count"),
|
||
multiLineStrings:!0,hooks:{$:function(u){u.eatWhile(/[\w\$_]/);return"variable-2"},"\x3c":function(u,z){var A;if(A=u.match(/^<<\s*/)){var B=u.eat(/['"]/);u.eatWhile(/[\w\.]/);A=u.current().slice(A[0].length+(B?2:1));B&&u.eat(B);if(A)return(z.tokStack||(z.tokStack=[])).push(A,0),z.tokenize=n(A,"'"!=B),"string"}return!1},"#":function(u){for(;!u.eol()&&!u.match("?\x3e",!1);)u.next();return"comment"},"/":function(u){if(u.eat("/")){for(;!u.eol()&&!u.match("?\x3e",!1);)u.next();return"comment"}return!1},
|
||
'"':function(u,z){(z.tokStack||(z.tokStack=[])).push('"',0);z.tokenize=n('"');return"string"},"{":function(u,z){z.tokStack&&z.tokStack.length&&z.tokStack[z.tokStack.length-1]++;return!1},"}":function(u,z){z.tokStack&&0<z.tokStack.length&&!--z.tokStack[z.tokStack.length-1]&&(z.tokenize=n(z.tokStack[z.tokStack.length-2]));return!1}}};v.defineMode("php",function(u,z){var A=v.getMode(u,z&&z.htmlMode||"text/html"),B=v.getMode(u,b);return{startState:function(){var J=v.startState(A),g=z.startOpen?v.startState(B):
|
||
null;return{html:J,php:g,curMode:z.startOpen?B:A,curState:z.startOpen?g:J,pending:null}},copyState:function(J){var g=v.copyState(A,J.html),h=J.php;h=h&&v.copyState(B,h);return{html:g,php:h,curMode:J.curMode,curState:J.curMode==A?g:h,pending:J.pending}},token:function(J,g){var h=g.curMode==B;J.sol()&&g.pending&&'"'!=g.pending&&"'"!=g.pending&&(g.pending=null);if(h)return h&&null==g.php.tokenize&&J.match("?\x3e")?(g.curMode=A,g.curState=g.html,g.php.context.prev||(g.php=null),"meta"):B.token(J,g.curState);
|
||
if(J.match(/^<\?\w*/))return g.curMode=B,g.php||(g.php=v.startState(B,A.indent(g.html,"",""))),g.curState=g.php,"meta";if('"'==g.pending||"'"==g.pending){for(;!J.eol()&&J.next()!=g.pending;);h="string"}else g.pending&&J.pos<g.pending.end?(J.pos=g.pending.end,h=g.pending.style):h=A.token(J,g.curState);g.pending&&(g.pending=null);var c=J.current(),p=c.search(/<\?/),m;-1!=p&&("string"==h&&(m=c.match(/['"]$/))&&!/\?>/.test(c)?g.pending=m[0]:g.pending={end:J.pos,style:h},J.backUp(c.length-p));return h},
|
||
indent:function(J,g,h){return J.curMode!=B&&/^\s*<\//.test(g)||J.curMode==B&&/^\?>/.test(g)?A.indent(J.html,g,h):J.curMode.indent(J.curState,g,h)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(J){return{state:J.curState,mode:J.curMode}}}},"htmlmixed","clike");v.defineMIME("application/x-httpd-php","php");v.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0});v.defineMIME("text/x-php",b)})};
|
||
shadow$provide[542]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("pig",function(Y,y){function n(h,c){for(var p=!1,m;m=h.next();){if("/"==m&&p){c.tokenize=u;break}p="*"==m}return"comment"}function b(h){return function(c,p){for(var m=!1,q,E=!1;null!=(q=c.next());){if(q==h&&!m){E=!0;break}m=!m&&"\\"==q}if(E||!m&&!J)p.tokenize=u;return"error"}}function u(h,
|
||
c){var p=h.next();if('"'==p||"'"==p)return p=b(p),c.tokenize=p,p(h,c);if(/[\[\]{}\(\),;\.]/.test(p))return null;if(/\d/.test(p))return h.eatWhile(/[\w\.]/),"number";if("/"==p){if(h.eat("*"))return c.tokenize=n,n(h,c);h.eatWhile(g);return"operator"}if("-"==p){if(h.eat("-"))return h.skipToEnd(),"comment";h.eatWhile(g);return"operator"}if(g.test(p))return h.eatWhile(g),"operator";h.eatWhile(/[\w\$_]/);return z&&z.propertyIsEnumerable(h.current().toUpperCase())&&!h.eat(")")&&!h.eat(".")?"keyword":A&&
|
||
A.propertyIsEnumerable(h.current().toUpperCase())?"variable-2":B&&B.propertyIsEnumerable(h.current().toUpperCase())?"variable-3":"variable"}var z=y.keywords,A=y.builtins,B=y.types,J=y.multiLineStrings,g=/[*+\-%<>=&?:\/!|]/;return{startState:function(){return{tokenize:u,startOfLine:!0}},token:function(h,c){return h.eatSpace()?null:c.tokenize(h,c)}}});(function(){function Y(y){var n={};y=y.split(" ");for(var b=0;b<y.length;++b)n[y[b]]=!0;return n}v.defineMIME("text/x-pig",{name:"pig",builtins:Y("ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER "),
|
||
keywords:Y("VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE NEQ MATCHES TRUE FALSE DUMP"),types:Y("BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP ")});v.registerHelper("hintWords","pig","ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE NEQ MATCHES TRUE FALSE DUMP".split(" "))})()})};
|
||
shadow$provide[543]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(window.CodeMirror)})(function(v){v.defineMode("powershell",function(){function Y(t,r){r=r||{};var f=void 0!==r.prefix?r.prefix:"^";r=void 0!==r.suffix?r.suffix:"\\b";for(var F=0;F<t.length;F++)t[F]=t[F]instanceof RegExp?t[F].source:t[F].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$\x26");return new RegExp(f+"("+t.join("|")+")"+
|
||
r,"i")}function y(t,r){var f=r.returnStack[r.returnStack.length-1];if(f&&f.shouldReturnFrom(r))return r.tokenize=f.tokenize,r.returnStack.pop(),r.tokenize(t,r);if(t.eatSpace())return null;if(t.eat("("))return r.bracketNesting+=1,"punctuation";if(t.eat(")"))return--r.bracketNesting,"punctuation";for(var F in w)if(t.match(w[F]))return F;f=t.next();if("'"===f){a:{for(;null!=(f=t.peek());)if(t.next(),"'"===f&&!t.eat("'")){r.tokenize=y;t="string";break a}t="error"}return t}if("$"===f)return J(t,r);if('"'===
|
||
f)return n(t,r);if("\x3c"===f&&t.eat("#"))return r.tokenize=B,B(t,r);if("#"===f)return t.skipToEnd(),"comment";if("@"===f){if((f=t.eat(/["']/))&&t.eol())return r.tokenize=h,r.startQuote=f[0],h(t,r);if(!t.eol()){if(t.peek().match(/[({]/))return"punctuation";if(t.peek().match(c))return J(t,r)}}return"error"}function n(t,r){for(var f;null!=(f=t.peek());){if("$"===f)return r.tokenize=b,"string";t.next();if("`"===f)t.next();else if('"'===f&&!t.eat('"'))return r.tokenize=y,"string"}return"error"}function b(t,
|
||
r){return A(t,r,n)}function u(t,r){r.tokenize=h;r.startQuote='"';return h(t,r)}function z(t,r){return A(t,r,u)}function A(t,r,f){if(t.match("$(")){var F=r.bracketNesting;r.returnStack.push({shouldReturnFrom:function(C){return C.bracketNesting===F},tokenize:f});r.tokenize=y;r.bracketNesting+=1;return"punctuation"}t.next();r.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:f});r.tokenize=J;return r.tokenize(t,r)}function B(t,r){for(var f=!1,F;null!=(F=t.next());){if(f&&"\x3e"==F){r.tokenize=
|
||
y;break}f="#"===F}return"comment"}function J(t,r){var f=t.peek();if(t.eat("{"))return r.tokenize=g,g(t,r);if(void 0!=f&&f.match(c))return t.eatWhile(c),r.tokenize=y,"variable-2";r.tokenize=y;return"error"}function g(t,r){for(var f;null!=(f=t.next());)if("}"===f){r.tokenize=y;break}return"variable-2"}function h(t,r){var f=r.startQuote;if(t.sol()&&t.match(new RegExp(f+"@")))r.tokenize=y;else if('"'===f)for(;!t.eol();){f=t.peek();if("$"===f){r.tokenize=z;break}t.next();"`"===f&&t.next()}else t.skipToEnd();
|
||
return"string"}var c=/[\w\-:]/,p=Y([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:"(?\x3d[^A-Za-z\\d\\-_]|$)"}),m=Y(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"});m=Y([m,/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""});
|
||
var q=Y([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,
|
||
/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),
|
||
/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,
|
||
/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),
|
||
/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,
|
||
/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,
|
||
/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),E=Y([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,
|
||
/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""});q=Y([/[A-Z]:|%|\?/i,q,E],{suffix:"(?\x3d[^A-Za-z\\d\\-_]|$)"});var w=
|
||
{keyword:p,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:m,builtin:q,punctuation:/[\[\]{},;`\\\.]|@[({]/,identifier:/^[A-Za-z_][A-Za-z\-_\d]*\b/};return{startState:function(){return{returnStack:[],bracketNesting:0,tokenize:y}},token:function(t,r){return r.tokenize(t,r)},blockCommentStart:"\x3c#",blockCommentEnd:"#\x3e",lineComment:"#",fold:"brace"}});v.defineMIME("application/x-powershell","powershell")})};
|
||
shadow$provide[544]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("properties",function(){return{token:function(Y,y){var n=Y.sol()||y.afterSection,b=Y.eol();y.afterSection=!1;n&&(y.nextMultiline?(y.inMultiline=!0,y.nextMultiline=!1):y.position="def");b&&!y.nextMultiline&&(y.inMultiline=!1,y.position="def");if(n)for(;Y.eatSpace(););b=Y.next();if(!n||
|
||
"#"!==b&&"!"!==b&&";"!==b){if(n&&"["===b)return y.afterSection=!0,Y.skipTo("]"),Y.eat("]"),"header";if("\x3d"===b||":"===b)return y.position="quote",null;"\\"===b&&"quote"===y.position&&Y.eol()&&(y.nextMultiline=!0)}else return y.position="comment",Y.skipToEnd(),"comment";return y.position},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}});v.defineMIME("text/x-properties","properties");v.defineMIME("text/x-ini","properties")})};
|
||
shadow$provide[545]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(u){if(u.eatSpace())return null;if(u.match("//"))return u.skipToEnd(),"comment";if(u.match(/^[0-9\.+-]/,!1)&&(u.match(/^[+-]?0x[0-9a-fA-F]+/)||u.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||u.match(/^[+-]?\d+([EeDd][+-]?\d+)?/)))return"number";if(u.match(/^"([^"]|(""))*"/)||u.match(/^'([^']|(''))*'/))return"string";
|
||
if(u.match(n))return"keyword";if(u.match(b))return"variable";u.next();return null}var y="package message import syntax required optional repeated reserved default extensions packed bool bytes double enum float string int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 option service rpc returns".split(" "),n=new RegExp("^(("+y.join(")|(")+"))\\b","i");v.registerHelper("hintWords","protobuf",y);var b=RegExp("^[_A-Za-z¡-][_A-Za-z0-9¡-]*");v.defineMode("protobuf",function(){return{token:Y,
|
||
fold:"brace"}});v.defineMIME("text/x-protobuf","protobuf")})};
|
||
shadow$provide[546]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(487),ba(481),ba(488)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../javascript/javascript","../css/css","../htmlmixed/htmlmixed"],v):v(CodeMirror)})(function(v){v.defineMode("pug",function(Y){function y(){this.javaScriptArguments=this.javaScriptLineExcludesColon=this.javaScriptLine=!1;this.javaScriptArgumentsDepth=0;this.isInterpolating=!1;this.interpolationNesting=
|
||
0;this.jsState=v.startState(J);this.restOfLine="";this.isEach=this.isIncludeFiltered=!1;this.scriptType=this.lastTag="";this.isAttrs=!1;this.attrsNest=[];this.inAttributeName=!0;this.attributeIsType=!1;this.attrValue="";this.indentOf=Infinity;this.indentToken="";this.innerState=this.innerMode=null;this.innerModeForLine=!1}function n(g,h){if(g.match("#{"))return h.isInterpolating=!0,h.interpolationNesting=0,"punctuation"}function b(g,h){if(g.match(/^:([\w\-]+)/)){var c;Y&&Y.innerModes&&(c=Y.innerModes(g.current().substring(1)));
|
||
c||=g.current().substring(1);"string"===typeof c&&(c=v.getMode(Y,c));z(g,h,c);return"atom"}}function u(g,h){if(h.isAttrs){B[g.peek()]&&h.attrsNest.push(B[g.peek()]);if(h.attrsNest[h.attrsNest.length-1]===g.peek())h.attrsNest.pop();else if(g.eat(")"))return h.isAttrs=!1,"punctuation";if(h.inAttributeName&&g.match(/^[^=,\)!]+/)){if("\x3d"===g.peek()||"!"===g.peek())h.inAttributeName=!1,h.jsState=v.startState(J),"script"===h.lastTag&&"type"===g.current().trim().toLowerCase()?h.attributeIsType=!0:h.attributeIsType=
|
||
!1;return"attribute"}var c=J.token(g,h.jsState);h.attributeIsType&&"string"===c&&(h.scriptType=g.current().toString());if(0===h.attrsNest.length&&("string"===c||"variable"===c||"keyword"===c))try{return Function("","var x "+h.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),h.inAttributeName=!0,h.attrValue="",g.backUp(g.current().length),u(g,h)}catch(p){}h.attrValue+=g.current();return c||!0}}function z(g,h,c){c=v.mimeModes[c]||c;c=Y.innerModes?Y.innerModes(c)||c:c;c=v.mimeModes[c]||c;c=v.getMode(Y,
|
||
c);h.indentOf=g.indentation();c&&"null"!==c.name?h.innerMode=c:h.indentToken="string"}function A(g,h,c){if(g.indentation()>h.indentOf||h.innerModeForLine&&!g.sol()||c){if(h.innerMode)return h.innerState||(h.innerState=h.innerMode.startState?v.startState(h.innerMode,g.indentation()):{}),g.hideFirstChars(h.indentOf+2,function(){return h.innerMode.token(g,h.innerState)||!0});g.skipToEnd();return h.indentToken}g.sol()&&(h.indentOf=Infinity,h.indentToken=null,h.innerMode=null,h.innerState=null)}var B=
|
||
{"{":"}","(":")","[":"]"},J=v.getMode(Y,"javascript");y.prototype.copy=function(){var g=new y;g.javaScriptLine=this.javaScriptLine;g.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon;g.javaScriptArguments=this.javaScriptArguments;g.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth;g.isInterpolating=this.isInterpolating;g.interpolationNesting=this.interpolationNesting;g.jsState=v.copyState(J,this.jsState);(g.innerMode=this.innerMode)&&this.innerState&&(g.innerState=v.copyState(this.innerMode,
|
||
this.innerState));g.restOfLine=this.restOfLine;g.isIncludeFiltered=this.isIncludeFiltered;g.isEach=this.isEach;g.lastTag=this.lastTag;g.scriptType=this.scriptType;g.isAttrs=this.isAttrs;g.attrsNest=this.attrsNest.slice();g.inAttributeName=this.inAttributeName;g.attributeIsType=this.attributeIsType;g.attrValue=this.attrValue;g.indentOf=this.indentOf;g.indentToken=this.indentToken;g.innerModeForLine=this.innerModeForLine;return g};return{startState:function(){return new y},copyState:function(g){return g.copy()},
|
||
token:function(g,h){var c;(c=A(g,h))||(g.sol()&&(h.restOfLine=""),h.restOfLine?(g.skipToEnd(),c=h.restOfLine,h.restOfLine=""):c=void 0);if(!c)a:if(h.isInterpolating){if("}"===g.peek()){if(h.interpolationNesting--,0>h.interpolationNesting){g.next();h.isInterpolating=!1;c="punctuation";break a}}else"{"===g.peek()&&h.interpolationNesting++;c=J.token(g,h.jsState)||!0}else c=void 0;c||(h.isIncludeFiltered?(c=b(g,h),h.isIncludeFiltered=!1,h.restOfLine="string"):c=void 0);if(!c)a:{if(h.isEach)if(g.match(/^ in\b/)){h.javaScriptLine=
|
||
!0;h.isEach=!1;c="keyword";break a}else if(g.sol()||g.eol())h.isEach=!1;else if(g.next()){for(;!g.match(/^ in\b/,!1)&&g.next(););c="variable";break a}c=void 0}(c=c||u(g,h))||(g.sol()&&(h.javaScriptLine=!1,h.javaScriptLineExcludesColon=!1),h.javaScriptLine?h.javaScriptLineExcludesColon&&":"===g.peek()?(h.javaScriptLine=!1,h.javaScriptLineExcludesColon=!1,c=void 0):(c=J.token(g,h.jsState),g.eol()&&(h.javaScriptLine=!1),c=c||!0):c=void 0);c||(h.javaScriptArguments?0===h.javaScriptArgumentsDepth&&"("!==
|
||
g.peek()?(h.javaScriptArguments=!1,c=void 0):("("===g.peek()?h.javaScriptArgumentsDepth++:")"===g.peek()&&h.javaScriptArgumentsDepth--,0===h.javaScriptArgumentsDepth?(h.javaScriptArguments=!1,c=void 0):c=J.token(g,h.jsState)||!0):c=void 0);c||(h.mixinCallAfter?(h.mixinCallAfter=!1,g.match(/^\( *[-\w]+ *=/,!1)||(h.javaScriptArguments=!0,h.javaScriptArgumentsDepth=0),c=!0):c=void 0);c||(c=g.match(/^yield\b/)?"keyword":void 0);c||(c=g.match(/^(?:doctype) *([^\n]+)?/)?"meta":void 0);(c=c||n(g,h))||(g.match(/^case\b/)?
|
||
(h.javaScriptLine=!0,c="keyword"):c=void 0);c||(g.match(/^when\b/)?(h.javaScriptLine=!0,h.javaScriptLineExcludesColon=!0,c="keyword"):c=void 0);c||(c=g.match(/^default\b/)?"keyword":void 0);c||(g.match(/^extends?\b/)?(h.restOfLine="string",c="keyword"):c=void 0);c||(g.match(/^append\b/)?(h.restOfLine="variable",c="keyword"):c=void 0);c||(g.match(/^prepend\b/)?(h.restOfLine="variable",c="keyword"):c=void 0);c||(g.match(/^block\b *(?:(prepend|append)\b)?/)?(h.restOfLine="variable",c="keyword"):c=void 0);
|
||
c||(g.match(/^include\b/)?(h.restOfLine="string",c="keyword"):c=void 0);c||(g.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&g.match("include")?(h.isIncludeFiltered=!0,c="keyword"):c=void 0);c||(g.match(/^mixin\b/)?(h.javaScriptLine=!0,c="keyword"):c=void 0);c||(g.match(/^\+([-\w]+)/)?(g.match(/^\( *[-\w]+ *=/,!1)||(h.javaScriptArguments=!0,h.javaScriptArgumentsDepth=0),c="variable"):g.match("+#{",!1)?(g.next(),h.mixinCallAfter=!0,c=n(g,h)):c=void 0);c||(g.match(/^(if|unless|else if|else)\b/)?(h.javaScriptLine=
|
||
!0,c="keyword"):c=void 0);c||(g.match(/^(- *)?(each|for)\b/)?(h.isEach=!0,c="keyword"):c=void 0);c||(g.match(/^while\b/)?(h.javaScriptLine=!0,c="keyword"):c=void 0);c||((c=g.match(/^(\w(?:[-:\w]*\w)?)\/?/))?(h.lastTag=c[1].toLowerCase(),"script"===h.lastTag&&(h.scriptType="application/javascript"),c="tag"):c=void 0);(c=c||b(g,h))||(g.match(/^(!?=|-)/)?(h.javaScriptLine=!0,c="punctuation"):c=void 0);c||(c=g.match(/^#([\w-]+)/)?"builtin":void 0);c||(c=g.match(/^\.([\w-]+)/)?"qualifier":void 0);c||("("==
|
||
g.peek()?(g.next(),h.isAttrs=!0,h.attrsNest=[],h.inAttributeName=!0,h.attrValue="",h.attributeIsType=!1,c="punctuation"):c=void 0);c||(g.match(/^&attributes\b/)?(h.javaScriptArguments=!0,h.javaScriptArgumentsDepth=0,c="keyword"):c=void 0);c||(c=g.sol()&&g.eatSpace()?"indent":void 0);c||(g.match(/^(?:\| ?| )([^\n]+)/)?c="string":g.match(/^(<[^\n]*)/,!1)?(z(g,h,"htmlmixed"),h.innerModeForLine=!0,c=A(g,h,!0)):c=void 0);c||(g.match(/^ *\/\/(-)?([^\n]*)/)?(h.indentOf=g.indentation(),c=h.indentToken="comment"):
|
||
c=void 0);c||(c=g.match(/^: */)?"colon":void 0);c||(g.eat(".")?(c=null,"script"===h.lastTag&&-1!=h.scriptType.toLowerCase().indexOf("javascript")?c=h.scriptType.toLowerCase().replace(/"|'/g,""):"style"===h.lastTag&&(c="css"),z(g,h,c),c="dot"):c=void 0);(h=c)||(g.next(),h=null);g=h;return!0===g?null:g}}},"javascript","css","htmlmixed");v.defineMIME("text/x-pug","pug");v.defineMIME("text/x-jade","pug")})};
|
||
shadow$provide[547]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("puppet",function(){function Y(z,A){A=A.split(" ");for(var B=0;B<A.length;B++)b[A[B]]=z}function y(z,A){for(var B,J,g=!1;!z.eol()&&(B=z.next())!=A.pending;){if("$"===B&&"\\"!=J&&'"'==A.pending){g=!0;break}J=B}g&&z.backUp(1);A.continueString=B==A.pending?!1:!0;return"string"}function n(z,
|
||
A){var B=z.match(/[\w]+/,!1),J=z.match(/(\s+)?\w+\s+=>.*/,!1),g=z.match(/(\s+)?[\w:_]+(\s+)?{/,!1),h=z.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),c=z.next();if("$"===c)return z.match(u)?A.continueString?"variable-2":"variable":"error";if(A.continueString)return z.backUp(1),y(z,A);if(A.inDefinition){if(z.match(/(\s+)?[\w:_]+(\s+)?/))return"def";z.match(/\s+{/);A.inDefinition=!1}if(A.inInclude)return z.match(/(\s+)?\S+(\s+)?/),A.inInclude=!1,"def";if(z.match(/(\s+)?\w+\(/))return z.backUp(1),"def";if(J)return z.match(/(\s+)?\w+/),
|
||
"tag";if(B&&b.hasOwnProperty(B))return z.backUp(1),z.match(/[\w]+/),z.match(/\s+\S+\s+{/,!1)&&(A.inDefinition=!0),"include"==B&&(A.inInclude=!0),b[B];if(/(^|\s+)[A-Z][\w:_]+/.test(B))return z.backUp(1),z.match(/(^|\s+)[A-Z][\w:_]+/),"def";if(g)return z.match(/(\s+)?[\w:_]+/),"def";if(h)return z.match(/(\s+)?[@]{1,2}/),"special";if("#"==c)return z.skipToEnd(),"comment";if("'"==c||'"'==c)return A.pending=c,y(z,A);if("{"==c||"}"==c)return"bracket";if("/"==c)return z.match(/^[^\/]*\//),"variable-3";if(c.match(/[0-9]/))return z.eatWhile(/[0-9]+/),
|
||
"number";if("\x3d"==c)return"\x3e"==z.peek()&&z.next(),"operator";z.eatWhile(/[\w-]/);return null}var b={},u=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;Y("keyword","class define site node include import inherits");Y("keyword","case if else in and elsif default or");Y("atom","false true running present absent file directory undef");Y("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");
|
||
return{startState:function(){return{inDefinition:!1,inInclude:!1,continueString:!1,pending:!1}},token:function(z,A){return z.eatSpace()?null:n(z,A)}}});v.defineMIME("text/x-puppet","puppet")})};
|
||
shadow$provide[548]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(z){return new RegExp("^(("+z.join(")|(")+"))\\b")}function y(z){return z.scopes[z.scopes.length-1]}var n=Y(["and","or","not","is"]),b="as assert break class continue def del elif else except finally for from global if import lambda pass raise return try while with yield in False True".split(" "),
|
||
u="abs all any bin bool bytearray callable chr classmethod compile complex delattr dict dir divmod enumerate eval filter float format frozenset getattr globals hasattr hash help hex id input int isinstance issubclass iter len list locals map max memoryview min next object oct open ord pow property range repr reversed round set setattr slice sorted staticmethod str sum super tuple type vars zip __import__ NotImplemented Ellipsis __debug__".split(" ");v.registerHelper("hintWords","python",b.concat(u).concat(["exec",
|
||
"print"]));v.defineMode("python",function(z,A){function B(aa,O){var U=aa.sol()&&"\\"!=O.lastToken;U&&(O.indent=aa.indentation());if(U&&"py"==y(O).type){U=y(O).offset;if(aa.eatSpace()){var P=aa.indentation();P>U?c(O):P<U&&p(aa,O)&&"#"!=aa.peek()&&(O.errorToken=!0);return null}P=J(aa,O);0<U&&p(aa,O)&&(P+=" error");return P}return J(aa,O)}function J(aa,O,U){if(aa.eatSpace())return null;if(!U&&aa.match(/^#.*/))return"comment";if(aa.match(/^[0-9\.]/,!1)){var P=!1;aa.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&
|
||
(P=!0);aa.match(/^[\d_]+\.\d*/)&&(P=!0);aa.match(/^\.\d+/)&&(P=!0);if(P)return aa.eat(/J/i),"number";P=!1;aa.match(/^0x[0-9a-f_]+/i)&&(P=!0);aa.match(/^0b[01_]+/i)&&(P=!0);aa.match(/^0o[0-7_]+/i)&&(P=!0);aa.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(aa.eat(/J/i),P=!0);aa.match(/^0(?![\dx])/i)&&(P=!0);if(P)return aa.eat(/L/i),"number"}if(aa.match(F))return-1===aa.current().toLowerCase().indexOf("f")?O.tokenize=h(aa.current(),O.tokenize):O.tokenize=g(aa.current(),O.tokenize),O.tokenize(aa,O);for(P=0;P<
|
||
q.length;P++)if(aa.match(q[P]))return"operator";if(aa.match(m))return"punctuation";if("."==O.lastToken&&aa.match(f))return"property";if(aa.match(C)||aa.match(n))return"keyword";if(aa.match(M))return"builtin";if(aa.match(/^(self|cls)\b/))return"variable-2";if(aa.match(f))return"def"==O.lastToken||"class"==O.lastToken?"def":"variable";aa.next();return U?null:"error"}function g(aa,O){function U(T){return function(K,D){var L=J(K,D,!0);"punctuation"==L&&("{"==K.current()?D.tokenize=U(T+1):"}"==K.current()&&
|
||
(D.tokenize=1<T?U(T-1):P));return L}}function P(T,K){for(;!T.eol();)if(T.eatWhile(/[^'"\{\}\\]/),T.eat("\\")){if(T.next(),V&&T.eol())return"string"}else{if(T.match(aa))return K.tokenize=O,"string";if(T.match("{{"))return"string";if(T.match("{",!1))return K.tokenize=U(0),T.current()?"string":K.tokenize(T,K);if(T.match("}}"))return"string";if(T.match("}"))return"error";T.eat(/['"]/)}if(V){if(A.singleLineStringErrors)return"error";K.tokenize=O}return"string"}for(;0<="rubf".indexOf(aa.charAt(0).toLowerCase());)aa=
|
||
aa.substr(1);var V=1==aa.length;P.isString=!0;return P}function h(aa,O){function U(V,T){for(;!V.eol();)if(V.eatWhile(/[^'"\\]/),V.eat("\\")){if(V.next(),P&&V.eol())return"string"}else{if(V.match(aa))return T.tokenize=O,"string";V.eat(/['"]/)}if(P){if(A.singleLineStringErrors)return"error";T.tokenize=O}return"string"}for(;0<="rubf".indexOf(aa.charAt(0).toLowerCase());)aa=aa.substr(1);var P=1==aa.length;U.isString=!0;return U}function c(aa){for(;"py"!=y(aa).type;)aa.scopes.pop();aa.scopes.push({offset:y(aa).offset+
|
||
z.indentUnit,type:"py",align:null})}function p(aa,O){for(aa=aa.indentation();1<O.scopes.length&&y(O).offset>aa;){if("py"!=y(O).type)return!0;O.scopes.pop()}return y(O).offset!=aa}for(var m=A.delimiters||A.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,q=[A.singleOperators,A.doubleOperators,A.doubleDelimiters,A.tripleDelimiters,A.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],E=0;E<q.length;E++)q[E]||q.splice(E--,1);var w=A.hangingIndent||z.indentUnit;E=b;var t=u;void 0!=A.extra_keywords&&
|
||
(E=E.concat(A.extra_keywords));void 0!=A.extra_builtins&&(t=t.concat(A.extra_builtins));var r=!(A.version&&3>Number(A.version));if(r){var f=A.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;E=E.concat("nonlocal None aiter anext async await breakpoint match case".split(" "));t=t.concat(["ascii","bytes","exec","print"]);var F=RegExp("^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|\"{3}|['\"]))","i")}else f=A.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/,E=E.concat(["exec","print"]),t=t.concat("apply basestring buffer cmp coerce execfile file intern long raw_input reduce reload unichr unicode xrange None".split(" ")),
|
||
F=RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i");var C=Y(E),M=Y(t);return{startState:function(aa){return{tokenize:B,scopes:[{offset:aa||0,type:"py",align:null}],indent:aa||0,lastToken:null,lambda:!1,dedent:0}},token:function(aa,O){var U=O.errorToken;U&&(O.errorToken=!1);a:{aa.sol()&&(O.beginningOfLine=!0,O.dedent=!1);var P=O.tokenize(aa,O);var V=aa.current();if(O.beginningOfLine&&"@"==V)P=aa.match(f,!1)?"meta":r?"operator":"error";else{/\S/.test(V)&&(O.beginningOfLine=!1);"variable"!=P&&"builtin"!=
|
||
P||"meta"!=O.lastToken||(P="meta");if("pass"==V||"return"==V)O.dedent=!0;"lambda"==V&&(O.lambda=!0);":"==V&&!O.lambda&&"py"==y(O).type&&aa.match(/^\s*(?:#|$)/,!1)&&c(O);if(1==V.length&&!/string|comment/.test(P)){var T="[({".indexOf(V);if(-1!=T){T="])}".slice(T,T+1);var K=aa.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:aa.column()+1;O.scopes.push({offset:O.indent+w,type:T,align:K})}T="])}".indexOf(V);if(-1!=T)if(y(O).type==V)O.indent=O.scopes.pop().offset-w;else{P="error";break a}}O.dedent&&aa.eol()&&"py"==
|
||
y(O).type&&1<O.scopes.length&&O.scopes.pop()}}P&&"comment"!=P&&(O.lastToken="keyword"==P||"punctuation"==P?aa.current():P);"punctuation"==P&&(P=null);aa.eol()&&O.lambda&&(O.lambda=!1);return U?P+" error":P},indent:function(aa,O){if(aa.tokenize!=B)return aa.tokenize.isString?v.Pass:0;var U=y(aa);aa=U.type==O.charAt(0)||"py"==U.type&&!aa.dedent&&/^(else:|elif |except |finally:)/.test(O);return null!=U.align?U.align-(aa?1:0):U.offset-(aa?w:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,
|
||
closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}});v.defineMIME("text/x-python","python");v.defineMIME("text/x-cython",{name:"python",extra_keywords:"by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE".split(" ")})})};
|
||
shadow$provide[549]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("q",function(Y){function y(p,m){var q=p.sol(),E=p.next();g=null;if(q){if("/"==E)return(m.tokenize=n)(p,m);if("\\"==E)return p.eol()||/\s/.test(p.peek())?(p.skipToEnd(),/^\\\s*$/.test(p.current())?(m.tokenize=u)(p):m.tokenize=y,"comment"):(m.tokenize=y,"builtin")}if(/\s/.test(E))return"/"==
|
||
p.peek()?(p.skipToEnd(),"comment"):"whitespace";if('"'==E)return(m.tokenize=z)(p,m);if("`"==E)return p.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if("."==E&&/\d/.test(p.peek())||/\d/.test(E)){m=null;p.backUp(1);if(p.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||p.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||p.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||p.match(/^\d+[ptuv]{1}/))m="temporal";else if(p.match(/^0[NwW]{1}/)||p.match(/^0x[\da-fA-F]*/)||p.match(/^[01]+[b]{1}/)||
|
||
p.match(/^\d+[chijn]{1}/)||p.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))m="number";return!m||(E=p.peek())&&!c.test(E)?(p.next(),"error"):m}return/[A-Za-z]|\./.test(E)?(p.eatWhile(/[A-Za-z._\d]/),h.test(p.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_']/.test(E)||/[{}\(\[\]\)]/.test(E)?null:"error"}function n(p,m){return p.skipToEnd(),/\/\s*$/.test(p.current())?(m.tokenize=b)(p,m):m.tokenize=y,"comment"}function b(p,m){var q=p.sol()&&"\\"==p.peek();p.skipToEnd();q&&/^\\\s*$/.test(p.current())&&
|
||
(m.tokenize=y);return"comment"}function u(p){return p.skipToEnd(),"comment"}function z(p,m){for(var q=!1,E,w=!1;E=p.next();){if('"'==E&&!q){w=!0;break}q=!q&&"\\"==E}w&&(m.tokenize=y);return"string"}function A(p,m,q){p.context={prev:p.context,indent:p.indent,col:q,type:m}}function B(p){p.indent=p.context.indent;p.context=p.context.prev}var J=Y.indentUnit,g,h=RegExp("^(abs|acos|aj|aj0|all|and|any|asc|asin|asof|atan|attr|avg|avgs|bin|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|each|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|idesc|if|ij|in|insert|inter|inv|key|keys|last|like|list|lj|load|log|lower|lsq|ltime|ltrim|mavg|max|maxs|mcount|md5|mdev|med|meta|min|mins|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prd|prds|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reverse|rload|rotate|rsave|rtrim|save|scan|select|set|setenv|show|signum|sin|sqrt|ss|ssr|string|sublist|sum|sums|sv|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|view|views|vs|wavg|where|where|while|within|wj|wj1|wsum|xasc|xbar|xcol|xcols|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)$"),
|
||
c=/[|/&^!+:\\\-*%$=~#;@><,?_'"\[\(\]\)\s{}]/;return{startState:function(){return{tokenize:y,context:null,indent:0,col:0}},token:function(p,m){p.sol()&&(m.context&&null==m.context.align&&(m.context.align=!1),m.indent=p.indentation());var q=m.tokenize(p,m);"comment"!=q&&m.context&&null==m.context.align&&"pattern"!=m.context.type&&(m.context.align=!0);if("("==g)A(m,")",p.column());else if("["==g)A(m,"]",p.column());else if("{"==g)A(m,"}",p.column());else if(/[\]\}\)]/.test(g)){for(;m.context&&"pattern"==
|
||
m.context.type;)B(m);m.context&&g==m.context.type&&B(m)}else"."==g&&m.context&&"pattern"==m.context.type?B(m):/atom|string|variable/.test(q)&&m.context&&(/[\}\]]/.test(m.context.type)?A(m,"pattern",p.column()):"pattern"!=m.context.type||m.context.align||(m.context.align=!0,m.context.col=p.column()));return q},indent:function(p,m){m=m&&m.charAt(0);p=p.context;if(/[\]\}]/.test(m))for(;p&&"pattern"==p.type;)p=p.prev;m=p&&m==p.type;return p?"pattern"==p.type?p.col:p.align?p.col+(m?0:1):p.indent+(m?0:
|
||
J):0}}});v.defineMIME("text/x-q","q")})};
|
||
shadow$provide[550]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.registerHelper("wordChars","r",/[\w.]/);v.defineMode("r",function(Y){function y(w){for(var t={},r=0;r<w.length;++r)t[w[r]]=!0;return t}function n(w,t){E=null;var r=w.next();if("#"==r)return w.skipToEnd(),"comment";if("0"==r&&w.eat("x"))return w.eatWhile(/[\da-f]/i),"number";if("."==r&&w.eat(/\d/))return w.match(/\d*(?:e[+\-]?\d+)?/),
|
||
"number";if(/\d/.test(r))return w.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==r||'"'==r)return t.tokenize=b(r),"string";if("`"==r)return w.match(/[^`]+`/),"variable-3";if("."==r&&w.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r))return w.eatWhile(/[\w\.]/),t=w.current(),h.propertyIsEnumerable(t)?"atom":p.propertyIsEnumerable(t)?(m.propertyIsEnumerable(t)&&!w.match(/\s*if(\s+|$)/,!1)&&(E="block"),"keyword"):c.propertyIsEnumerable(t)?"builtin":"variable";if("%"==r)return w.skipTo("%")&&
|
||
w.next(),"operator variable-2";if("\x3c"==r&&w.eat("-")||"\x3c"==r&&w.match("\x3c-")||"-"==r&&w.match(/>>?/))return"operator arrow";if("\x3d"==r&&t.ctx.argList)return"arg-is";if(q.test(r)){if("$"==r)return"operator dollar";w.eatWhile(q);return"operator"}return/[\(\){}\[\];]/.test(r)?(E=r,";"==r?"semi":null):null}function b(w){return function(t,r){if(t.eat("\\"))return r=t.next(),"x"==r?t.match(/^[a-f0-9]{2}/i):("u"==r||"U"==r)&&t.eat("{")&&t.skipTo("}")?t.next():"u"==r?t.match(/^[a-f0-9]{4}/i):"U"==
|
||
r?t.match(/^[a-f0-9]{8}/i):/[0-7]/.test(r)&&t.match(/^[0-7]{1,2}/),"string-2";for(var f;null!=(f=t.next());){if(f==w){r.tokenize=n;break}if("\\"==f){t.backUp(1);break}}return"string"}}function u(w,t,r){w.ctx={type:t,indent:w.indent,flags:0,column:r.column(),prev:w.ctx}}function z(w,t){var r=w.ctx;w.ctx={type:r.type,indent:r.indent,flags:r.flags|t,column:r.column,prev:r.prev}}function A(w){w.indent=w.ctx.indent;w.ctx=w.ctx.prev}var B="NULL NA Inf NaN NA_integer_ NA_real_ NA_complex_ NA_character_ TRUE FALSE".split(" "),
|
||
J="list quote bquote eval return call parse deparse".split(" "),g="if else repeat while function for in next break".split(" ");v.registerHelper("hintWords","r",B.concat(J,g));var h=y(B),c=y(J),p=y(g),m=y("if else repeat while function for".split(" ")),q=/[+\-*\/^<>=!&|~$:]/,E;return{startState:function(){return{tokenize:n,ctx:{type:"top",indent:-Y.indentUnit,flags:2},indent:0,afterIdent:!1}},token:function(w,t){w.sol()&&(0==(t.ctx.flags&3)&&(t.ctx.flags|=2),t.ctx.flags&4&&A(t),t.indent=w.indentation());
|
||
if(w.eatSpace())return null;var r=t.tokenize(w,t);"comment"!=r&&0==(t.ctx.flags&2)&&z(t,1);";"!=E&&"{"!=E&&"}"!=E||"block"!=t.ctx.type||A(t);"{"==E?u(t,"}",w):"("==E?(u(t,")",w),t.afterIdent&&(t.ctx.argList=!0)):"["==E?u(t,"]",w):"block"==E?u(t,"block",w):E==t.ctx.type?A(t):"block"==t.ctx.type&&"comment"!=r&&z(t,4);t.afterIdent="variable"==r||"keyword"==r;return r},indent:function(w,t){if(w.tokenize!=n)return 0;t=t&&t.charAt(0);w=w.ctx;var r=t==w.type;w.flags&4&&(w=w.prev);return"block"==w.type?w.indent+
|
||
("{"==t?0:Y.indentUnit):w.flags&1?w.column+(r?0:1):w.indent+(r?0:Y.indentUnit)},lineComment:"#"}});v.defineMIME("text/x-rsrc","r")})};
|
||
shadow$provide[551]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("rpm-changes",function(){var Y=/^-+$/,y=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,n=/^[\w+.-]+@[\w.-]+/;return{token:function(b){if(b.sol()&&(b.match(Y)||b.match(y)))return"tag";if(b.match(n))return"string";
|
||
b.next();return null}}});v.defineMIME("text/x-rpm-changes","rpm-changes");v.defineMode("rpm-spec",function(){var Y=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,y=/^[a-zA-Z0-9()]+:/,n=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,b=/^%(ifnarch|ifarch|if)/,u=
|
||
/^%(else|endif)/,z=/^(!|\?|<=|<|>=|>|==|&&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(A,B){if("#"==A.peek())return A.skipToEnd(),"comment";if(A.sol()){if(A.match(y))return"header";if(A.match(n))return"atom"}if(A.match(/^\$\w+/)||A.match(/^\$\{\w+\}/))return"def";if(A.match(u))return"keyword";if(A.match(b))return B.controlFlow=!0,"keyword";if(B.controlFlow){if(A.match(z))return"operator";if(A.match(/^(\d+)/))return"number";A.eol()&&(B.controlFlow=
|
||
!1)}if(A.match(Y))return A.eol()&&(B.controlFlow=!1),"number";if(A.match(/^%[\w]+/))return A.match("(")&&(B.macroParameters=!0),"keyword";if(B.macroParameters){if(A.match(/^\d+/))return"number";if(A.match(")"))return B.macroParameters=!1,"keyword"}if(A.match(/^%\{\??[\w \-:!]+\}/))return A.eol()&&(B.controlFlow=!1),"def";A.next();return null}}});v.defineMIME("text/x-rpm-spec","rpm-spec")})};
|
||
shadow$provide[552]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("stex",function(Y,y){function n(g){g=g.cmdState;for(var h=g.length-1;0<=h;h--){var c=g[h];if("DEFAULT"!=c.name)return c}return{styleIdentifier:function(){return null}}}function b(g,h,c){return function(){this.name=g;this.bracketNo=0;this.style=h;this.styles=c;this.argument=null;this.styleIdentifier=
|
||
function(){return this.styles[this.bracketNo-1]||null};this.openBracket=function(){this.bracketNo++;return"bracket"};this.closeBracket=function(){}}}function u(g,h){g.f=h}function z(g,h){if(g.match(/^\\[a-zA-Z@]+/)){g=g.current().slice(1);var c=J.hasOwnProperty(g)?J[g]:J.DEFAULT;c=new c;h.cmdState.push(c);h.f=B;return c.style}if(g.match(/^\\[$&%#{}_]/)||g.match(/^\\[,;!\/\\]/))return"tag";if(g.match("\\["))return u(h,function(m,q){return A(m,q,"\\]")}),"keyword";if(g.match("\\("))return u(h,function(m,
|
||
q){return A(m,q,"\\)")}),"keyword";if(g.match("$$"))return u(h,function(m,q){return A(m,q,"$$")}),"keyword";if(g.match("$"))return u(h,function(m,q){return A(m,q,"$")}),"keyword";var p=g.next();if("%"==p)return g.skipToEnd(),"comment";if("}"==p||"]"==p){if(c=0<h.cmdState.length?h.cmdState[h.cmdState.length-1]:null)c.closeBracket(p),h.f=B;else return"error";return"bracket"}if("{"==p||"["==p)return c=J.DEFAULT,c=new c,h.cmdState.push(c),"bracket";if(/\d/.test(p))return g.eatWhile(/[\w.%]/),"atom";g.eatWhile(/[\w\-_]/);
|
||
c=n(h);"begin"==c.name&&(c.argument=g.current());return c.styleIdentifier()}function A(g,h,c){if(g.eatSpace())return null;if(c&&g.match(c))return h.f=z,"keyword";if(g.match(/^\\[a-zA-Z@]+/))return"tag";if(g.match(/^[a-zA-Z]+/))return"variable-2";if(g.match(/^\\[$&%#{}_]/)||g.match(/^\\[,;!\/]/)||g.match(/^[\^_&]/))return"tag";if(g.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(g.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";h=g.next();return"{"==h||"}"==h||"["==h||"]"==h||"("==h||")"==h?"bracket":
|
||
"%"==h?(g.skipToEnd(),"comment"):"error"}function B(g,h){var c=g.peek();if("{"==c||"["==c){var p=0<h.cmdState.length?h.cmdState[h.cmdState.length-1]:null;p.openBracket(c);g.eat(c);h.f=z;return"bracket"}if(/[ \t\r]/.test(c))return g.eat(c),null;h.f=z;(c=h.cmdState.pop())&&c.closeBracket();return z(g,h)}var J={};J.importmodule=b("importmodule","tag",["string","builtin"]);J.documentclass=b("documentclass","tag",["","atom"]);J.usepackage=b("usepackage","tag",["atom"]);J.begin=b("begin","tag",["atom"]);
|
||
J.end=b("end","tag",["atom"]);J.label=b("label","tag",["atom"]);J.ref=b("ref","tag",["atom"]);J.eqref=b("eqref","tag",["atom"]);J.cite=b("cite","tag",["atom"]);J.bibitem=b("bibitem","tag",["atom"]);J.Bibitem=b("Bibitem","tag",["atom"]);J.RBibitem=b("RBibitem","tag",["atom"]);J.DEFAULT=function(){this.name="DEFAULT";this.style="tag";this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};return{startState:function(){return{cmdState:[],f:y.inMathMode?function(g,h){return A(g,h)}:z}},copyState:function(g){return{cmdState:g.cmdState.slice(),
|
||
f:g.f}},token:function(g,h){return h.f(g,h)},blankLine:function(g){g.f=z;g.cmdState.length=0},lineComment:"%"}});v.defineMIME("text/x-stex","stex");v.defineMIME("text/x-latex","stex")})};
|
||
shadow$provide[553]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(548),ba(552),ba(489)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../python/python","../stex/stex","../../addon/mode/overlay"],v):v(CodeMirror)})(function(v){v.defineMode("rst",function(Y,y){var n=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,b=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,u=/^``[^`\s](?:[^`]*[^`\s])``/,z=/^(?:[\d]+(?:[\.,]\d+)*)/,A=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,B=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,
|
||
J=RegExp("^[Hh][Tt][Tt][Pp][Ss]?://(?:[\\d\\w.-]+)\\.(?:\\w{2,6})(?:/[\\d\\w\\#\\%\\\x26\\-\\.\\,\\/\\:\\\x3d\\?\\~]+)*");Y=v.getMode(Y,y.backdrop||"rst-base");return v.overlayMode(Y,{token:function(g){if(g.match(n)&&g.match(/\W+|$/,!1))return"strong";if(g.match(b)&&g.match(/\W+|$/,!1))return"em";if(g.match(u)&&g.match(/\W+|$/,!1))return"string-2";if(g.match(z))return"number";if(g.match(A))return"positive";if(g.match(B))return"negative";if(g.match(J))return"link";for(;!(null==g.next()||g.match(n,
|
||
!1)||g.match(b,!1)||g.match(u,!1)||g.match(z,!1)||g.match(A,!1)||g.match(B,!1)||g.match(J,!1)););return null}},!0)},"python","stex");v.defineMode("rst-base",function(Y){function y(wa){var va=Array.prototype.slice.call(arguments,1);return wa.replace(/{(\d+)}/g,function(Fa,Ba){return"undefined"!=typeof va[Ba]?va[Ba]:Fa})}function n(wa,va){var Fa=null;if(wa.sol()&&wa.match(ra,!1))g(va,B,{mode:c,local:v.startState(c)});else if(wa.sol()&&wa.match(t))g(va,b),Fa="meta";else if(wa.sol()&&wa.match(w))g(va,
|
||
n),Fa="header";else if(va.ctx.phase==T||wa.match(T,!1))switch(h(va)){case 0:g(va,n,J(T,1));wa.match(/^:/);Fa="meta";break;case 1:g(va,n,J(T,2));wa.match(q);Fa="keyword";wa.current().match(/^(?:math|latex)/)&&(va.tmp_stex=!0);break;case 2:g(va,n,J(T,3));wa.match(/^:`/);Fa="meta";break;case 3:va.tmp_stex&&(va.tmp_stex=void 0,va.tmp={mode:p,local:v.startState(p)});if(va.tmp){if("`"==wa.peek()){g(va,n,J(T,4));va.tmp=void 0;break}Fa=va.tmp.mode.token(wa,va.tmp.local);break}g(va,n,J(T,4));wa.match(E);Fa=
|
||
"string";break;case 4:g(va,n,J(T,5));wa.match(/^`/);Fa="meta";break;case 5:g(va,n,J(T,6));wa.match(m);break;default:g(va,n)}else if(va.ctx.phase==K||wa.match(K,!1))switch(h(va)){case 0:g(va,n,J(K,1));wa.match(/^`/);Fa="meta";break;case 1:g(va,n,J(K,2));wa.match(E);Fa="string";break;case 2:g(va,n,J(K,3));wa.match(/^`:/);Fa="meta";break;case 3:g(va,n,J(K,4));wa.match(q);Fa="keyword";break;case 4:g(va,n,J(K,5));wa.match(/^:/);Fa="meta";break;case 5:g(va,n,J(K,6));wa.match(m);break;default:g(va,n)}else if(va.ctx.phase==
|
||
D||wa.match(D,!1))switch(h(va)){case 0:g(va,n,J(D,1));wa.match(/^:/);Fa="meta";break;case 1:g(va,n,J(D,2));wa.match(q);Fa="keyword";break;case 2:g(va,n,J(D,3));wa.match(/^:/);Fa="meta";break;case 3:g(va,n,J(D,4));wa.match(m);break;default:g(va,n)}else if(va.ctx.phase==aa||wa.match(aa,!1))switch(h(va)){case 0:g(va,n,J(aa,1));wa.match(N);Fa="variable-2";break;case 1:g(va,n,J(aa,2));wa.match(/^_?_?/)&&(Fa="link");break;default:g(va,n)}else if(wa.match(O))g(va,n),Fa="quote";else if(wa.match(U))g(va,n),
|
||
Fa="quote";else if(wa.match(P)){if(g(va,n),!wa.peek()||wa.peek().match(/^\W$/))Fa="link"}else if(va.ctx.phase==V||wa.match(V,!1))switch(h(va)){case 0:!wa.peek()||wa.peek().match(/^\W$/)?g(va,n,J(V,1)):wa.match(V);break;case 1:g(va,n,J(V,2));wa.match(/^`/);Fa="link";break;case 2:g(va,n,J(V,3));wa.match(E);break;case 3:g(va,n,J(V,4));wa.match(/^`_/);Fa="link";break;default:g(va,n)}else wa.match(W)?g(va,z):wa.next()&&g(va,n);return Fa}function b(wa,va){var Fa=null;if(va.ctx.phase==F||wa.match(F,!1))switch(h(va)){case 0:g(va,
|
||
b,J(F,1));wa.match(N);Fa="variable-2";break;case 1:g(va,b,J(F,2));wa.match(la);break;case 2:g(va,b,J(F,3));wa.match(R);Fa="keyword";break;case 3:g(va,b,J(F,4));wa.match(Z);Fa="meta";break;default:g(va,n)}else if(va.ctx.phase==f||wa.match(f,!1))switch(h(va)){case 0:g(va,b,J(f,1));wa.match(L);Fa="keyword";wa.current().match(/^(?:math|latex)/)?va.tmp_stex=!0:wa.current().match(/^python/)&&(va.tmp_py=!0);break;case 1:g(va,b,J(f,2));wa.match(Q);Fa="meta";if(wa.match(/^latex\s*$/)||va.tmp_stex)va.tmp_stex=
|
||
void 0,g(va,B,{mode:p,local:v.startState(p)});break;case 2:g(va,b,J(f,3));if(wa.match(/^python\s*$/)||va.tmp_py)va.tmp_py=void 0,g(va,B,{mode:c,local:v.startState(c)});break;default:g(va,n)}else if(va.ctx.phase==r||wa.match(r,!1))switch(h(va)){case 0:g(va,b,J(r,1));wa.match(X);wa.match(S);Fa="link";break;case 1:g(va,b,J(r,2));wa.match(ha);Fa="meta";break;default:g(va,n)}else wa.match(C)?(g(va,n),Fa="quote"):wa.match(M)?(g(va,n),Fa="quote"):(wa.eatSpace(),wa.eol()?g(va,n):(wa.skipToEnd(),g(va,u),Fa=
|
||
"comment"));return Fa}function u(wa,va){return A(wa,va,"comment")}function z(wa,va){return A(wa,va,"meta")}function A(wa,va,Fa){if(wa.eol()||wa.eatSpace())return wa.skipToEnd(),Fa;g(va,n);return null}function B(wa,va){if(va.ctx.mode&&va.ctx.local)return wa.sol()?(wa.eatSpace()||g(va,n),null):va.ctx.mode.token(wa,va.ctx.local);g(va,n);return null}function J(wa,va,Fa,Ba){return{phase:wa,stage:va,mode:Fa,local:Ba}}function g(wa,va,Fa){wa.tok=va;wa.ctx=Fa||{}}function h(wa){return wa.ctx.stage||0}var c=
|
||
v.getMode(Y,"python"),p=v.getMode(Y,"stex"),m=new RegExp(y("^{0}","(?:\\s*|\\W|$)")),q=new RegExp(y("^{0}","(?:[^\\W\\d_](?:[\\w!\"#$%\x26'()\\*\\+,\\-\\./:;\x3c\x3d\x3e\\?]*[^\\W_])?)"));Y=y("(?:{0}|`{1}`)","(?:[^\\W\\d_](?:[\\w!\"#$%\x26'()\\*\\+,\\-\\./:;\x3c\x3d\x3e\\?]*[^\\W_])?)","(?:[^\\W\\d_](?:[\\w\\s!\"#$%\x26'()\\*\\+,\\-\\./:;\x3c\x3d\x3e\\?]*[^\\W_])?)");var E=new RegExp(y("^{0}","(?:[^\\`]+)")),w=RegExp("^([!'#$%\x26\"()*+,-./:;\x3c\x3d\x3e?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),t=new RegExp(y("^\\.\\.{0}",
|
||
"\\s+")),r=new RegExp(y("^_{0}:{1}|^__:{1}",Y,"(?:\\s*|\\W|$)")),f=new RegExp(y("^{0}::{1}",Y,"(?:\\s*|\\W|$)")),F=new RegExp(y("^\\|{0}\\|{1}{2}::{3}","(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)","\\s+",Y,"(?:\\s*|\\W|$)")),C=new RegExp(y("^\\[(?:\\d+|#{0}?|\\*)]{1}",Y,"(?:\\s*|\\W|$)")),M=new RegExp(y("^\\[{0}\\]{1}",Y,"(?:\\s*|\\W|$)")),aa=new RegExp(y("^\\|{0}\\|","(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)")),O=new RegExp(y("^\\[(?:\\d+|#{0}?|\\*)]_",Y)),U=new RegExp(y("^\\[{0}\\]_",Y)),P=new RegExp(y("^{0}__?",
|
||
Y)),V=new RegExp(y("^`{0}`_","(?:[^\\`]+)")),T=new RegExp(y("^:{0}:`{1}`{2}","(?:[^\\W\\d_](?:[\\w!\"#$%\x26'()\\*\\+,\\-\\./:;\x3c\x3d\x3e\\?]*[^\\W_])?)","(?:[^\\`]+)","(?:\\s*|\\W|$)")),K=new RegExp(y("^`{1}`:{0}:{2}","(?:[^\\W\\d_](?:[\\w!\"#$%\x26'()\\*\\+,\\-\\./:;\x3c\x3d\x3e\\?]*[^\\W_])?)","(?:[^\\`]+)","(?:\\s*|\\W|$)")),D=new RegExp(y("^:{0}:{1}","(?:[^\\W\\d_](?:[\\w!\"#$%\x26'()\\*\\+,\\-\\./:;\x3c\x3d\x3e\\?]*[^\\W_])?)","(?:\\s*|\\W|$)")),L=new RegExp(y("^{0}",Y)),Q=new RegExp(y("^::{0}",
|
||
"(?:\\s*|\\W|$)")),N=new RegExp(y("^\\|{0}\\|","(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)")),la=new RegExp(y("^{0}","\\s+")),R=new RegExp(y("^{0}",Y)),Z=new RegExp(y("^::{0}","(?:\\s*|\\W|$)")),X=RegExp("^_"),S=new RegExp(y("^{0}|_",Y)),ha=new RegExp(y("^:{0}","(?:\\s*|\\W|$)")),W=RegExp("^::\\s*$"),ra=RegExp("^\\s+(?:\x3e\x3e\x3e|In \\[\\d+\\]:)\\s");return{startState:function(){return{tok:n,ctx:J(void 0,0)}},copyState:function(wa){var va=wa.ctx,Fa=wa.tmp;va.local&&(va={mode:va.mode,local:v.copyState(va.mode,
|
||
va.local)});Fa&&={mode:Fa.mode,local:v.copyState(Fa.mode,Fa.local)};return{tok:wa.tok,ctx:va,tmp:Fa}},innerMode:function(wa){return wa.tmp?{state:wa.tmp.local,mode:wa.tmp.mode}:wa.ctx.mode?{state:wa.ctx.local,mode:wa.ctx.mode}:null},token:function(wa,va){return va.tok(wa,va)}}},"python","stex");v.defineMIME("text/x-rst","rst")})};
|
||
shadow$provide[554]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(491)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../addon/mode/simple"],v):v(CodeMirror)})(function(v){v.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},
|
||
{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type|union)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|async|await|box|break|continue|const|crate|do|dyn|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,
|
||
token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,
|
||
indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",
|
||
lineComment:"//",fold:"brace"}});v.defineMIME("text/x-rustsrc","rust");v.defineMIME("text/rust","rust")})};
|
||
shadow$provide[555]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("sas",function(){function Y(A,B,J){if(J){B=B.split(" ");for(var g=0;g<B.length;g++)n[B[g]]={style:A,state:J}}}function y(A,B){var J=A.next();if("/"===J&&A.eat("*"))return B.continueComment=!0,"comment";if(!0===B.continueComment)return"*"===J&&"/"===A.peek()?(A.next(),B.continueComment=
|
||
!1):A.skipTo("*")?(A.skipTo("*"),A.next(),A.eat("/")&&(B.continueComment=!1)):A.skipToEnd(),"comment";if("*"==J&&A.column()==A.indentation())return A.skipToEnd(),"comment";var g=J+A.peek();if('"'!==J&&"'"!==J||B.continueString){if(B.continueString)return B.continueString==J?B.continueString=null:A.skipTo(B.continueString)?(A.next(),B.continueString=null):A.skipToEnd(),"string";if(null!==B.continueString&&A.eol())return A.skipTo(B.continueString)||A.skipToEnd(),"string";if(/[\d\.]/.test(J))return"."===
|
||
J?A.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"===J?A.match(/^[xX][0-9a-fA-F]+/)||A.match(/^0[0-7]+/):A.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(u.test(J+A.peek()))return A.next(),"operator";if(b.hasOwnProperty(g)){if(A.next()," "===A.peek())return b[g.toLowerCase()]}else if(z.test(J))return"operator"}else return B.continueString=J,"string";if(null!=A.match(/[%&;\w]+/,!1)&&(J+=A.match(/[%&;\w]+/,!0),/&/.test(J)))return"variable";if(B.nextword)return A.match(/[\w]+/),"."===A.peek()&&A.skipTo(" "),
|
||
B.nextword=!1,"variable-2";J=J.toLowerCase();if(B.inDataStep){if("run;"===J||A.match(/run\s;/))return B.inDataStep=!1,"builtin";if(J&&"."===A.next())return/\w/.test(A.peek())?"variable-2":"variable";if(J&&n.hasOwnProperty(J)&&(-1!==n[J].state.indexOf("inDataStep")||-1!==n[J].state.indexOf("ALL"))){A.start<A.pos&&A.backUp(A.pos-A.start);for(B=0;B<J.length;++B)A.next();return n[J].style}}if(B.inProc){if("run;"===J||"quit;"===J)return B.inProc=!1,"builtin";if(J&&n.hasOwnProperty(J)&&(-1!==n[J].state.indexOf("inProc")||
|
||
-1!==n[J].state.indexOf("ALL")))return A.match(/[\w]+/),n[J].style}if(B.inMacro)return"%mend"===J?(";"===A.peek()&&A.next(),B.inMacro=!1,"builtin"):J&&n.hasOwnProperty(J)&&(-1!==n[J].state.indexOf("inMacro")||-1!==n[J].state.indexOf("ALL"))?(A.match(/[\w]+/),n[J].style):"atom";if(J&&n.hasOwnProperty(J)){A.backUp(1);A.match(/[\w]+/);if("data"===J&&!1===/=/.test(A.peek()))return B.inDataStep=!0,B.nextword=!0,"builtin";if("proc"===J)return B.inProc=!0,B.nextword=!0,"builtin";if("%macro"===J)return B.inMacro=
|
||
!0,B.nextword=!0,"builtin";if(/title[1-9]/.test(J))return"def";if("footnote"===J)return A.eat(/[1-9]/),"def";if(!0===B.inDataStep&&-1!==n[J].state.indexOf("inDataStep")||!0===B.inProc&&-1!==n[J].state.indexOf("inProc")||!0===B.inMacro&&-1!==n[J].state.indexOf("inMacro")||-1!==n[J].state.indexOf("ALL"))return n[J].style}return null}var n={},b={eq:"operator",lt:"operator",le:"operator",gt:"operator",ge:"operator","in":"operator",ne:"operator",or:"operator"},u=/(<=|>=|!=|<>)/,z=/[=\(:\),{}.*<>+\-\/^\[\]]/;
|
||
Y("def","stack pgm view source debug nesting nolist",["inDataStep"]);Y("def","if while until for do do; end end; then else cancel",["inDataStep"]);Y("def","label format _n_ _error_",["inDataStep"]);Y("def","ALTER BUFNO BUFSIZE CNTLLEV COMPRESS DLDMGACTION ENCRYPT ENCRYPTKEY EXTENDOBSCOUNTER GENMAX GENNUM INDEX LABEL OBSBUF OUTREP PW PWREQ READ REPEMPTY REPLACE REUSE ROLE SORTEDBY SPILL TOBSNO TYPE WRITE FILECLOSE FIRSTOBS IN OBS POINTOBS WHERE WHEREUP IDXNAME IDXWHERE DROP KEEP RENAME",["inDataStep"]);
|
||
Y("def","filevar finfo finv fipname fipnamel fipstate first firstobs floor",["inDataStep"]);Y("def","varfmt varinfmt varlabel varlen varname varnum varray varrayx vartype verify vformat vformatd vformatdx vformatn vformatnx vformatw vformatwx vformatx vinarray vinarrayx vinformat vinformatd vinformatdx vinformatn vinformatnx vinformatw vinformatwx vinformatx vlabel vlabelx vlength vlengthx vname vnamex vnferr vtype vtypex weekday",["inDataStep"]);Y("def","zipfips zipname zipnamel zipstate",["inDataStep"]);
|
||
Y("def","put putc putn",["inDataStep"]);Y("builtin","data run",["inDataStep"]);Y("def","data",["inProc"]);Y("def","%if %end %end; %else %else; %do %do; %then",["inMacro"]);Y("builtin","proc run; quit; libname filename %macro %mend option options",["ALL"]);Y("def","footnote title libname ods",["ALL"]);Y("def","%let %put %global %sysfunc %eval ",["ALL"]);Y("variable","\x26sysbuffr \x26syscc \x26syscharwidth \x26syscmd \x26sysdate \x26sysdate9 \x26sysday \x26sysdevic \x26sysdmg \x26sysdsn \x26sysencoding \x26sysenv \x26syserr \x26syserrortext \x26sysfilrc \x26syshostname \x26sysindex \x26sysinfo \x26sysjobid \x26syslast \x26syslckrc \x26syslibrc \x26syslogapplname \x26sysmacroname \x26sysmenv \x26sysmsg \x26sysncpu \x26sysodspath \x26sysparm \x26syspbuff \x26sysprocessid \x26sysprocessname \x26sysprocname \x26sysrc \x26sysscp \x26sysscpl \x26sysscpl \x26syssite \x26sysstartid \x26sysstartname \x26systcpiphostname \x26systime \x26sysuserid \x26sysver \x26sysvlong \x26sysvlong4 \x26syswarningtext",
|
||
["ALL"]);Y("def","source2 nosource2 page pageno pagesize",["ALL"]);Y("def","_all_ _character_ _cmd_ _freq_ _i_ _infile_ _last_ _msg_ _null_ _numeric_ _temporary_ _type_ abort abs addr adjrsq airy alpha alter altlog altprint and arcos array arsin as atan attrc attrib attrn authserver autoexec awscontrol awsdef awsmenu awsmenumerge awstitle backward band base betainv between blocksize blshift bnot bor brshift bufno bufsize bxor by byerr byline byte calculated call cards cards4 catcache cbufno cdf ceil center cexist change chisq cinv class cleanup close cnonct cntllev coalesce codegen col collate collin column comamid comaux1 comaux2 comdef compbl compound compress config continue convert cos cosh cpuid create cross crosstab css curobs cv daccdb daccdbsl daccsl daccsyd dacctab dairy datalines datalines4 datejul datepart datetime day dbcslang dbcstype dclose ddfm ddm delete delimiter depdb depdbsl depsl depsyd deptab dequote descending descript design\x3d device dflang dhms dif digamma dim dinfo display distinct dkricond dkrocond dlm dnum do dopen doptname doptnum dread drop dropnote dsname dsnferr echo else emaildlg emailid emailpw emailserver emailsys encrypt end endsas engine eof eov erf erfc error errorcheck errors exist exp fappend fclose fcol fdelete feedback fetch fetchobs fexist fget file fileclose fileexist filefmt filename fileref fmterr fmtsearch fnonct fnote font fontalias fopen foptname foptnum force formatted formchar formdelim formdlim forward fpoint fpos fput fread frewind frlen from fsep fuzz fwrite gaminv gamma getoption getvarc getvarn go goto group gwindow hbar hbound helpenv helploc hms honorappearance hosthelp hostprint hour hpct html hvar ibessel ibr id if index indexc indexw initcmd initstmt inner input inputc inputn inr insert int intck intnx into intrr invaliddata irr is jbessel join juldate keep kentb kurtosis label lag last lbound leave left length levels lgamma lib library libref line linesize link list log log10 log2 logpdf logpmf logsdf lostcard lowcase lrecl ls macro macrogen maps mautosource max maxdec maxr mdy mean measures median memtype merge merror min minute missing missover mlogic mod mode model modify month mopen mort mprint mrecall msglevel msymtabmax mvarsize myy n nest netpv new news nmiss no nobatch nobs nocaps nocardimage nocenter nocharcode nocmdmac nocol nocum nodate nodbcs nodetails nodmr nodms nodmsbatch nodup nodupkey noduplicates noechoauto noequals noerrorabend noexitwindows nofullstimer noicon noimplmac noint nolist noloadlist nomiss nomlogic nomprint nomrecall nomsgcase nomstored nomultenvappl nonotes nonumber noobs noovp nopad nopercent noprint noprintinit normal norow norsasuser nosetinit nosplash nosymbolgen note notes notitle notitles notsorted noverbose noxsync noxwait npv null number numkeys nummousekeys nway obs on open order ordinal otherwise out outer outp\x3d output over ovp p(1 5 10 25 50 75 90 95 99) pad pad2 paired parm parmcards path pathdll pathname pdf peek peekc pfkey pmf point poisson poke position printer probbeta probbnml probchi probf probgam probhypr probit probnegb probnorm probsig probt procleave prt ps pw pwreq qtr quote r ranbin rancau random ranexp rangam range ranks rannor ranpoi rantbl rantri ranuni rcorr read recfm register regr remote remove rename repeat repeated replace resolve retain return reuse reverse rewind right round rsquare rtf rtrace rtraceloc s s2 samploc sasautos sascontrol sasfrscr sasmsg sasmstore sasscript sasuser saving scan sdf second select selection separated seq serror set setcomm setot sign simple sin sinh siteinfo skewness skip sle sls sortedby sortpgm sortseq sortsize soundex spedis splashlocation split spool sqrt start std stderr stdin stfips stimer stname stnamel stop stopover sub subgroup subpopn substr sum sumwgt symbol symbolgen symget symput sysget sysin sysleave sysmsg sysparm sysprint sysprintfont sysprod sysrc system t table tables tan tanh tapeclose tbufsize terminal test then timepart tinv tnonct to today tol tooldef totper transformout translate trantab tranwrd trigamma trim trimn trunc truncover type unformatted uniform union until upcase update user usericon uss validate value var weight when where while wincharset window work workinit workterm write wsum xsync xwait yearcutoff yes yyq min max",
|
||
["inDataStep","inProc"]);Y("operator","and not ",["inDataStep","inProc"]);return{startState:function(){return{inDataStep:!1,inProc:!1,inMacro:!1,nextword:!1,continueString:null,continueComment:!1}},token:function(A,B){return A.eatSpace()?null:y(A,B)},blockCommentStart:"/*",blockCommentEnd:"*/"}});v.defineMIME("text/x-sas","sas")})};
|
||
shadow$provide[556]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(481)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../css/css"],v):v(CodeMirror)})(function(v){v.defineMode("sass",function(Y){function y(t){return!t.peek()||t.match(/\s+$/,!1)}function n(t,r){var f=t.peek();if(")"===f)return t.next(),r.tokenizer=B,"operator";if("("===f)return t.next(),t.eatSpace(),"operator";r.tokenizer="'"===f||'"'===f?u(t.next()):u(")",!1);return"string"}
|
||
function b(t,r){return function(f,F){if(f.sol()&&f.indentation()<=t)return F.tokenizer=B,B(f,F);r&&f.skipTo("*/")?(f.next(),f.next(),F.tokenizer=B):f.skipToEnd();return"comment"}}function u(t,r){function f(F,C){var M=F.next(),aa=F.peek(),O=F.string.charAt(F.pos-2);return"\\"!==M&&aa===t||M===t&&"\\"!==O?(M!==t&&r&&F.next(),y(F)&&(C.cursorHalf=0),C.tokenizer=B,"string"):"#"===M&&"{"===aa?(C.tokenizer=z(f),F.next(),"operator"):"string"}null==r&&(r=!0);return f}function z(t){return function(r,f){return"}"===
|
||
r.peek()?(r.next(),f.tokenizer=t,"operator"):B(r,f)}}function A(t){0==t.indentCount&&(t.indentCount++,t.scopes.unshift({offset:t.scopes[0].offset+Y.indentUnit}))}function B(t,r){var f=t.peek();if(t.match("/*"))return r.tokenizer=b(t.indentation(),!0),r.tokenizer(t,r);if(t.match("//"))return r.tokenizer=b(t.indentation(),!1),r.tokenizer(t,r);if(t.match("#{"))return r.tokenizer=z(B),"operator";if('"'===f||"'"===f)return t.next(),r.tokenizer=u(f),"string";if(r.cursorHalf){if("#"===f&&(t.next(),t.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||
|
||
t.match(/^-?[0-9\.]+/))return y(t)&&(r.cursorHalf=0),"number";if(t.match(/^(px|em|in)\b/))return y(t)&&(r.cursorHalf=0),"unit";if(t.match(m))return y(t)&&(r.cursorHalf=0),"keyword";if(t.match(/^url/)&&"("===t.peek())return r.tokenizer=n,y(t)&&(r.cursorHalf=0),"atom";if("$"===f)return t.next(),t.eatWhile(/[\w-]/),y(t)&&(r.cursorHalf=0),"variable-2";if("!"===f)return t.next(),r.cursorHalf=0,t.match(/^[\w]+/)?"keyword":"operator";if(t.match(q))return y(t)&&(r.cursorHalf=0),"operator";if(t.eatWhile(/[\w-]/))return y(t)&&
|
||
(r.cursorHalf=0),w=t.current().toLowerCase(),c.hasOwnProperty(w)?"atom":h.hasOwnProperty(w)?"keyword":g.hasOwnProperty(w)?(r.prevProp=t.current().toLowerCase(),"property"):"tag";if(y(t))return r.cursorHalf=0,null}else{if("-"===f&&t.match(/^-\w+-/))return"meta";if("."===f){t.next();if(t.match(/^[\w-]+/))return A(r),"qualifier";if("#"===t.peek())return A(r),"tag"}if("#"===f){t.next();if(t.match(/^[\w-]+/))return A(r),"builtin";if("#"===t.peek())return A(r),"tag"}if("$"===f)return t.next(),t.eatWhile(/[\w-]/),
|
||
"variable-2";if(t.match(/^-?[0-9\.]+/))return"number";if(t.match(/^(px|em|in)\b/))return"unit";if(t.match(m))return"keyword";if(t.match(/^url/)&&"("===t.peek())return r.tokenizer=n,"atom";if("\x3d"===f&&t.match(/^=[\w-]+/))return A(r),"meta";if("+"===f&&t.match(/^\+[\w-]+/))return"variable-3";"@"===f&&t.match("@extend")&&!t.match(/\s*[\w]/)&&1!=r.scopes.length&&r.scopes.shift();if(t.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return A(r),"def";if("@"===f)return t.next(),t.eatWhile(/[\w-]/),
|
||
"def";if(t.eatWhile(/[\w-]/)){if(t.match(/ *: *[\w-\+\$#!\("']/,!1))return w=t.current().toLowerCase(),g.hasOwnProperty(r.prevProp+"-"+w)?"property":g.hasOwnProperty(w)?(r.prevProp=w,"property"):p.hasOwnProperty(w)?"property":"tag";if(t.match(/ *:/,!1))return A(r),r.cursorHalf=1,r.prevProp=t.current().toLowerCase(),"property";t.match(/ *,/,!1)||A(r);return"tag"}if(":"===f){if(t.match(E))return"variable-3";t.next();r.cursorHalf=1;return"operator"}}if(t.match(q))return"operator";t.next();return null}
|
||
var J=v.mimeModes["text/css"],g=J.propertyKeywords||{},h=J.colorKeywords||{},c=J.valueKeywords||{},p=J.fontProperties||{},m=RegExp("^true|false|null|auto"),q=RegExp("^\\(|\\)|\x3d|\x3e|\x3c|\x3d\x3d|\x3e\x3d|\x3c\x3d|\\+|-|\\!\x3d|/|\\*|%|and|or|not|;|\\{|\\}|:"),E=/^::?[a-zA-Z_][\w\-]*/,w;return{startState:function(){return{tokenizer:B,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(t,r){t.sol()&&(r.indentCount=0);var f=r.tokenizer(t,r),
|
||
F=t.current();"@return"!==F&&"}"!==F||1==r.scopes.length||r.scopes.shift();if(null!==f){F=t.pos-F.length+Y.indentUnit*r.indentCount;for(var C=[],M=0;M<r.scopes.length;M++){var aa=r.scopes[M];aa.offset<=F&&C.push(aa)}r.scopes=C}r.lastToken={style:f,content:t.current()};return f},indent:function(t){return t.scopes[0].offset},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"indent"}},"css");v.defineMIME("text/x-sass","sass")})};
|
||
shadow$provide[557]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("scheme",function(){function Y(m){var q={};m=m.split(" ");for(var E=0;E<m.length;++E)q[m[E]]=!0;return q}function y(m,q,E){this.indent=m;this.type=q;this.prev=E}function n(m){return m.match(g)}function b(m){return m.match(h)}function u(m,q){!0===q&&m.backUp(1);return m.match(p)}function z(m){return m.match(c)}
|
||
function A(m,q){for(var E,w=!1;null!=(E=m.next());){if(E==q.token&&!w){q.state.mode=!1;break}w=!w&&"\\"==E}}var B=Y("λ case-lambda call/cc class cond-expand define-class define-values exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax define-macro defmacro delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char-\x3einteger char-alphabetic? char-ci\x3c\x3d? char-ci\x3c? char-ci\x3d? char-ci\x3e\x3d? char-ci\x3e? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char\x3c\x3d? char\x3c? char\x3d? char\x3e\x3d? char\x3e? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact-\x3einexact exact? exp expt #f floor force gcd imag-part inexact-\x3eexact inexact? input-port? integer-\x3echar integer? interaction-environment lcm length list list-\x3estring list-\x3evector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number-\x3estring number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string-\x3elist string-\x3enumber string-\x3esymbol string-append string-ci\x3c\x3d? string-ci\x3c? string-ci\x3d? string-ci\x3e\x3d? string-ci\x3e? string-copy string-fill! string-length string-ref string-set! string\x3c\x3d? string\x3c? string\x3d? string\x3e\x3d? string\x3e? string? substring symbol-\x3estring symbol? #t tan transcript-off transcript-on truncate values vector vector-\x3elist vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),
|
||
J=Y("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless"),g=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),h=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),
|
||
c=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),p=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);
|
||
return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(m,q){null==q.indentStack&&m.sol()&&(q.indentation=m.indentation());if(m.eatSpace())return null;var E=null;switch(q.mode){case "string":A(m,{token:'"',state:q});E="string";break;case "symbol":A(m,{token:"|",state:q});E="symbol";break;case "comment":var w;for(E=!1;null!=(w=m.next());){if("#"==w&&E){q.mode=!1;break}E="|"==w}E="comment";break;case "s-expr-comment":if(q.mode=!1,"("==
|
||
m.peek()||"["==m.peek())q.sExprComment=0;else{m.eatWhile(/[^\s\(\)\[\]]/);E="comment";break}default:if(w=m.next(),'"'==w)E=q.mode="string";else if("'"==w)"("==m.peek()||"["==m.peek()?"number"!=typeof q.sExprQuote&&(q.sExprQuote=0):m.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),E="atom";else if("|"==w)E=q.mode="symbol";else if("#"==w)if(m.eat("|"))E=q.mode="comment";else if(m.eat(/[tf]/i))E="atom";else if(m.eat(";"))q.mode="s-expr-comment",E="comment";else{w=null;var t=!1,r=!0;m.eat(/[ei]/i)?t=!0:m.backUp(1);
|
||
m.match(/^#b/i)?w=n:m.match(/^#o/i)?w=b:m.match(/^#x/i)?w=z:m.match(/^#d/i)?w=u:m.match(/^[-+0-9.]/,!1)?(r=!1,w=u):t||m.eat("#");null!=w&&(r&&!t&&m.match(/^#[ei]/i),w(m)&&(E="number"))}else if(/^[-+0-9.]/.test(w)&&u(m,!0))E="number";else if(";"==w)m.skipToEnd(),E="comment";else if("("==w||"["==w){E="";for(t=m.column();null!=(r=m.eat(/[^\s\(\[;\)\]]/));)E+=r;0<E.length&&J.propertyIsEnumerable(E)?q.indentStack=new y(t+2,w,q.indentStack):(m.eatSpace(),m.eol()||";"==m.peek()?q.indentStack=new y(t+1,w,
|
||
q.indentStack):(E=t+m.current().length,q.indentStack=new y(E,w,q.indentStack)));m.backUp(m.current().length-1);"number"==typeof q.sExprComment&&q.sExprComment++;"number"==typeof q.sExprQuote&&q.sExprQuote++;E="bracket"}else")"==w||"]"==w?(E="bracket",null!=q.indentStack&&q.indentStack.type==(")"==w?"(":"[")&&(q.indentStack=q.indentStack.prev,"number"==typeof q.sExprComment&&0==--q.sExprComment&&(E="comment",q.sExprComment=!1),"number"==typeof q.sExprQuote&&0==--q.sExprQuote&&(E="atom",q.sExprQuote=
|
||
!1))):(m.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),E=B&&B.propertyIsEnumerable(m.current())?"builtin":"variable")}return"number"==typeof q.sExprComment?"comment":"number"==typeof q.sExprQuote?"atom":E},indent:function(m){return null==m.indentStack?m.indentation:m.indentStack.indent},fold:"brace-paren",closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}});v.defineMIME("text/x-scheme","scheme")})};
|
||
shadow$provide[558]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("shell",function(){function Y(c,p){for(var m=0;m<p.length;m++)A[p[m]]=c}function y(c,p){if(c.eatSpace())return null;var m=c.sol(),q=c.next();if("\\"===q)return c.next(),null;if("'"===q||'"'===q||"`"===q)return p.tokens.unshift(n(q,"`"===q?"quote":"string")),z(c,p);if("#"===q){if(m&&
|
||
c.eat("!"))return c.skipToEnd(),"meta";c.skipToEnd();return"comment"}if("$"===q)return p.tokens.unshift(h),z(c,p);if("+"===q||"\x3d"===q)return"operator";if("-"===q)return c.eat("-"),c.eatWhile(/\w/),"attribute";if("\x3c"==q){if(c.match("\x3c\x3c"))return"operator";if(m=c.match(/^<-?\s*['"]?([^'"]*)['"]?/))return p.tokens.unshift(u(m[1])),"string-2"}if(/\d/.test(q)&&(c.eatWhile(/\d/),c.eol()||!/\w/.test(c.peek())))return"number";c.eatWhile(/[\w-]/);p=c.current();return"\x3d"===c.peek()&&/\w+/.test(p)?
|
||
"def":A.hasOwnProperty(p)?A[p]:null}function n(c,p){var m="("==c?")":"{"==c?"}":c;return function(q,E){for(var w,t=!1;null!=(w=q.next());){if(w!==m||t)if("$"!==w||t||"'"===c||q.peek()==m){if(!t&&c!==m&&w===c)return E.tokens.unshift(n(c,p)),z(q,E);if(!t&&/['"]/.test(w)&&!/['"]/.test(c)){E.tokens.unshift(b(w,"string"));q.backUp(1);break}}else{q.backUp(1);E.tokens.unshift(h);break}else{E.tokens.shift();break}t=!t&&"\\"===w}return p}}function b(c,p){return function(m,q){q.tokens[0]=n(c,p);m.next();return z(m,
|
||
q)}}function u(c){return function(p,m){p.sol()&&p.string==c&&m.tokens.shift();p.skipToEnd();return"string-2"}}function z(c,p){return(p.tokens[0]||y)(c,p)}var A={},B=["true","false"],J="if then do else elif while until for in esac fi fin fil done exit set unset export function".split(" "),g="ab awk bash beep cat cc cd chown chmod chroot clear cp curl cut diff echo find gawk gcc get git grep hg kill killall ln ls make mkdir openssl mv nc nl node npm ping ps restart rm rmdir sed service sh shopt shred source sort sleep ssh start stop su sudo svn tee telnet top touch vi vim wall wc wget who write yes zsh".split(" ");
|
||
v.registerHelper("hintWords","shell",B.concat(J,g));Y("atom",B);Y("keyword",J);Y("builtin",g);var h=function(c,p){1<p.tokens.length&&c.eat("$");var m=c.next();if(/['"({]/.test(m))return p.tokens[0]=n(m,"("==m?"quote":"{"==m?"def":"string"),z(c,p);/\d/.test(m)||c.eatWhile(/\w/);p.tokens.shift();return"def"};return{startState:function(){return{tokens:[]}},token:function(c,p){return z(c,p)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}});v.defineMIME("text/x-sh","shell");v.defineMIME("application/x-sh",
|
||
"shell")})};
|
||
shadow$provide[559]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("sieve",function(Y){function y(g){var h={};g=g.split(" ");for(var c=0;c<g.length;++c)h[g[c]]=!0;return h}function n(g,h){var c=g.next();if("/"==c&&g.eat("*"))return h.tokenize=u,u(g,h);if("#"===c)return g.skipToEnd(),"comment";if('"'==c)return h.tokenize=z(c),h.tokenize(g,h);if("("==
|
||
c)return h._indent.push("("),h._indent.push("{"),null;if("{"===c)return h._indent.push("{"),null;")"==c&&(h._indent.pop(),h._indent.pop());if("}"===c)return h._indent.pop(),null;if(","==c||";"==c||/[{}\(\),;]/.test(c))return null;if(/\d/.test(c))return g.eatWhile(/[\d]/),g.eat(/[KkMmGg]/),"number";if(":"==c)return g.eatWhile(/[a-zA-Z_]/),g.eatWhile(/[a-zA-Z0-9_]/),"operator";g.eatWhile(/\w/);c=g.current();return"text"==c&&g.eat(":")?(h.tokenize=b,"string"):A.propertyIsEnumerable(c)?"keyword":B.propertyIsEnumerable(c)?
|
||
"atom":null}function b(g,h){h._multiLineString=!0;if(!g.sol()){g.eatSpace();if("#"==g.peek())return g.skipToEnd(),"comment";g.skipToEnd();return"string"}"."==g.next()&&g.eol()&&(h._multiLineString=!1,h.tokenize=n);return"string"}function u(g,h){for(var c=!1,p;null!=(p=g.next());){if(c&&"/"==p){h.tokenize=n;break}c="*"==p}return"comment"}function z(g){return function(h,c){for(var p=!1,m;null!=(m=h.next())&&(m!=g||p);)p=!p&&"\\"==m;p||(c.tokenize=n);return"string"}}var A=y("if elsif else stop require"),
|
||
B=y("true false not"),J=Y.indentUnit;return{startState:function(g){return{tokenize:n,baseIndent:g||0,_indent:[]}},token:function(g,h){return g.eatSpace()?null:(h.tokenize||n)(g,h)},indent:function(g,h){g=g._indent.length;h&&"}"==h[0]&&g--;0>g&&(g=0);return g*J},electricChars:"}"}});v.defineMIME("application/sieve","sieve")})};
|
||
shadow$provide[560]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(488),ba(511)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../ruby/ruby"],v):v(CodeMirror)})(function(v){v.defineMode("slim",function(Y){function y(va,Fa,Ba){var Ka=function(Oa,Va){Va.tokenize=Fa;return Oa.pos<va?(Oa.pos=va,Ba):Va.tokenize(Oa,Va)};return function(Oa,Va){Va.tokenize=Ka;return Fa(Oa,Va)}}function n(va,Fa){va.stack={parent:va.stack,
|
||
style:"continuation",indented:Fa,tokenize:va.line};va.line=va.tokenize}function b(va){va.line==va.tokenize&&(va.line=va.stack.tokenize,va.stack=va.stack.parent)}function u(va,Fa){return function(Ba,Ka){b(Ka);if(Ba.match(/^\\$/))return n(Ka,va),"lineContinuation";Ka=Fa(Ba,Ka);Ba.eol()&&Ba.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&Ba.backUp(1);return Ka}}function z(va,Fa){return function(Ba,Ka){b(Ka);var Oa=Fa(Ba,Ka);Ba.eol()&&Ba.current().match(/,$/)&&n(Ka,va);return Oa}}function A(va,Fa){return function(Ba,
|
||
Ka){return Ba.peek()==va&&1==Ka.rubyState.tokenize.length?(Ba.next(),Ka.tokenize=Fa,"closeAttributeTag"):J(Ba,Ka)}}function B(va){var Fa,Ba=function(Ka,Oa){if(1==Oa.rubyState.tokenize.length&&!Oa.rubyState.context.prev){Ka.backUp(1);if(Ka.eatSpace())return Oa.rubyState=Fa,Oa.tokenize=va,va(Ka,Oa);Ka.next()}return J(Ka,Oa)};return function(Ka,Oa){Fa=Oa.rubyState;Oa.rubyState=v.startState(L);Oa.tokenize=Ba;return J(Ka,Oa)}}function J(va,Fa){return L.token(va,Fa.rubyState)}function g(va,Fa){if(va.match(/^#\{/))return Fa.tokenize=
|
||
A("}",Fa.tokenize),null;var Ba=D.token(va,Fa.htmlState),Ka=va.current(),Oa=Ka.search(/[^\\]#\{/);-1<Oa&&(Fa.tokenize=y(va.pos,Fa.tokenize,Ba),va.backUp(Ka.length-Oa-1));return Ba}function h(va){return function(Fa,Ba){var Ka=Fa.match(/^\\$/)?"lineContinuation":g(Fa,Ba);Fa.eol()&&(Ba.tokenize=va);return Ka}}function c(va,Fa,Ba){Fa.stack={parent:Fa.stack,style:"html",indented:va.column()+Ba,tokenize:Fa.line};Fa.line=Fa.tokenize=g;return null}function p(va,Fa){va.skipToEnd();return Fa.stack.style}function m(va,
|
||
Fa){if(va.eat(Fa.stack.endQuote))return Fa.line=Fa.stack.line,Fa.tokenize=Fa.stack.tokenize,Fa.stack=Fa.stack.parent,null;if(va.match(ha))return Fa.tokenize=q,"slimAttribute";va.next();return null}function q(va,Fa){return va.match(/^==?/)?(Fa.tokenize=E,null):m(va,Fa)}function E(va,Fa){var Ba=va.peek();return'"'==Ba||"'"==Ba?(Fa.tokenize=T(Ba,"string",!0,!1,m),va.next(),Fa.tokenize(va,Fa)):"["==Ba?B(m)(va,Fa):va.match(/^(true|false|nil)\b/)?(Fa.tokenize=m,"keyword"):B(m)(va,Fa)}function w(va,Fa){if(va.match(/^#\{/))return Fa.tokenize=
|
||
A("}",Fa.tokenize),null;var Ba=new v.StringStream(va.string.slice(Fa.stack.indented),va.tabSize);Ba.pos=va.pos-Fa.stack.indented;Ba.start=va.start-Fa.stack.indented;Ba.lastColumnPos=va.lastColumnPos-Fa.stack.indented;Ba.lastColumnValue=va.lastColumnValue-Fa.stack.indented;var Ka=Fa.subMode.token(Ba,Fa.subState);va.pos=Ba.pos+Fa.stack.indented;return Ka}function t(va,Fa){Fa.stack.indented=va.column();Fa.line=Fa.tokenize=w;return Fa.tokenize(va,Fa)}function r(va,Fa){va.skipToEnd();return"slimDoctype"}
|
||
function f(va,Fa){if("\x3c"==va.peek())return(Fa.tokenize=h(Fa.tokenize))(va,Fa);if(va.match(/^[|']/))return c(va,Fa,1);if(va.match(/^\/(!|\[\w+])?/))return Fa.stack={parent:Fa.stack,style:"comment",indented:Fa.indented+1,tokenize:Fa.line},Fa.line=p,p(va,Fa);if(va.match(/^(-|==?[<>]?)/))return Fa.tokenize=u(va.column(),z(va.column(),J)),"slimSwitch";if(va.match(/^doctype\b/))return Fa.tokenize=r,"keyword";var Ba=va.match(la);if(Ba){va=Ba[1];if(Q.hasOwnProperty(va))va=Q[va];else{Ba=N[va];var Ka=v.mimeModes[Ba];
|
||
Ba=Ka?v.getMode(Y,Ka):(Ka=v.modes[Ba])?Ka(Y,{name:Ba}):v.getMode(Y,"null");va=Q[va]=Ba}Ba=v.startState(va);Fa.subMode=va;Fa.subState=Ba;Fa.stack={parent:Fa.stack,style:"sub",indented:Fa.indented+1,tokenize:Fa.line};Fa.line=Fa.tokenize=t;return"slimSubmode"}return C(va,Fa)}function F(va,Fa){return Fa.startOfLine?f(va,Fa):C(va,Fa)}function C(va,Fa){return va.eat("*")?(Fa.tokenize=B(M),null):va.match(X)?(Fa.tokenize=M,"slimTag"):aa(va,Fa)}function M(va,Fa){return va.match(/^(<>?|><?)/)?(Fa.tokenize=
|
||
aa,null):aa(va,Fa)}function aa(va,Fa){return va.match(ra)?(Fa.tokenize=aa,"slimId"):va.match(W)?(Fa.tokenize=aa,"slimClass"):O(va,Fa)}function O(va,Fa){return va.match(/^([\[\{\(])/)?(Fa.stack={parent:Fa.stack,style:"wrapper",indented:Fa.indented+1,tokenize:O,line:Fa.line,endQuote:Z[RegExp.$1]},Fa.line=Fa.tokenize=m,null):va.match(S)?(Fa.tokenize=U,"slimAttribute"):"*"==va.peek()?(va.next(),Fa.tokenize=B(K),null):K(va,Fa)}function U(va,Fa){return va.match(/^==?/)?(Fa.tokenize=P,null):O(va,Fa)}function P(va,
|
||
Fa){var Ba=va.peek();return'"'==Ba||"'"==Ba?(Fa.tokenize=T(Ba,"string",!0,!1,O),va.next(),Fa.tokenize(va,Fa)):"["==Ba?B(O)(va,Fa):":"==Ba?B(V)(va,Fa):va.match(/^(true|false|nil)\b/)?(Fa.tokenize=O,"keyword"):B(O)(va,Fa)}function V(va,Fa){va.backUp(1);if(va.match(/^[^\s],(?=:)/))return Fa.tokenize=B(V),null;va.next();return O(va,Fa)}function T(va,Fa,Ba,Ka,Oa){return function(Va,Ya){b(Ya);var Ua=0==Va.current().length;if(Va.match(/^\\$/,Ua)){if(!Ua)return Fa;n(Ya,Ya.indented);return"lineContinuation"}if(Va.match(/^#\{/,
|
||
Ua)){if(!Ua)return Fa;Ya.tokenize=A("}",Ya.tokenize);return null}Ua=!1;for(var La;null!=(La=Va.next());){if(La==va&&(Ka||!Ua)){Ya.tokenize=Oa;break}if(Ba&&"#"==La&&!Ua&&Va.eat("{")){Va.backUp(2);break}Ua=!Ua&&"\\"==La}Va.eol()&&Ua&&Va.backUp(1);return Fa}}function K(va,Fa){if(va.match(/^==?/))return Fa.tokenize=J,"slimSwitch";if(va.match(/^\/$/))return Fa.tokenize=F,null;if(va.match(/^:/))return Fa.tokenize=C,"slimSwitch";c(va,Fa,0);return Fa.tokenize(va,Fa)}var D=v.getMode(Y,{name:"htmlmixed"}),
|
||
L=v.getMode(Y,"ruby"),Q={html:D,ruby:L},N={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},la=function(va){var Fa=[],Ba;for(Ba in va)Fa.push(Ba);return new RegExp("^("+
|
||
Fa.join("|")+"):")}(N),R={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},Z={"{":"}","[":"]","(":")"},X=RegExp("^[:_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>](?::[_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>\\-0-9·̀-ͯ‿-⁀]|[_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>\\-0-9·̀-ͯ‿-⁀]*)"),S=RegExp("^[:_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>][:\\._a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>\\-0-9·̀-ͯ‿-⁀]*(?\x3d\\s*\x3d)"),
|
||
ha=RegExp("^[:_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>][:\\._a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>\\-0-9·̀-ͯ‿-⁀]*"),W=/^\.-?[_a-zA-Z]+[\w\-]*/,ra=/^#[_a-zA-Z]+[\w\-]*/,wa={startState:function(){var va=v.startState(D),Fa=v.startState(L);return{htmlState:va,rubyState:Fa,stack:null,last:null,tokenize:F,line:F,indented:0}},copyState:function(va){return{htmlState:v.copyState(D,va.htmlState),rubyState:v.copyState(L,va.rubyState),subMode:va.subMode,subState:va.subMode&&v.copyState(va.subMode,va.subState),
|
||
stack:va.stack,last:va.last,tokenize:va.tokenize,line:va.line}},token:function(va,Fa){if(va.sol())for(Fa.indented=va.indentation(),Fa.startOfLine=!0,Fa.tokenize=Fa.line;Fa.stack&&Fa.stack.indented>Fa.indented&&"slimSubmode"!=Fa.last;)Fa.line=Fa.tokenize=Fa.stack.tokenize,Fa.stack=Fa.stack.parent,Fa.subMode=null,Fa.subState=null;if(va.eatSpace())return null;va=Fa.tokenize(va,Fa);Fa.startOfLine=!1;va&&(Fa.last=va);return R.hasOwnProperty(va)?R[va]:va},blankLine:function(va){if(va.subMode&&va.subMode.blankLine)return va.subMode.blankLine(va.subState)},
|
||
innerMode:function(va){return va.subMode?{state:va.subState,mode:va.subMode}:{state:va,mode:wa}}};return wa},"htmlmixed","ruby");v.defineMIME("text/x-slim","slim");v.defineMIME("application/x-slim","slim")})};
|
||
shadow$provide[561]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("smalltalk",function(Y){var y=/[+\-\/\\*~<>=@%|&?!.,:;^]/,n=/true|false|nil|self|super|thisContext/,b=function(c,p){this.next=c;this.parent=p},u=function(c,p,m){this.name=c;this.context=p;this.eos=m},z=function(){this.context=new b(A,null);this.expectVariable=!0;this.userIndentationDelta=
|
||
this.indentation=0};z.prototype.userIndent=function(c){this.userIndentationDelta=0<c?c/Y.indentUnit-this.indentation:0};var A=function(c,p,m){var q=new u(null,p,!1),E=c.next();'"'===E?q=B(c,new b(B,p)):"'"===E?q=J(c,new b(J,p)):"#"===E?"'"===c.peek()?(c.next(),q=g(c,new b(g,p))):c.eatWhile(/[^\s.{}\[\]()]/)?q.name="string-2":q.name="meta":"$"===E?("\x3c"===c.next()&&(c.eatWhile(/[^\s>]/),c.next()),q.name="string-2"):"|"===E&&m.expectVariable?q.context=new b(h,p):/[\[\]{}()]/.test(E)?(q.name="bracket",
|
||
q.eos=/[\[{(]/.test(E),"["===E?m.indentation++:"]"===E&&(m.indentation=Math.max(0,m.indentation-1))):y.test(E)?(c.eatWhile(y),q.name="operator",q.eos=";"!==E):/\d/.test(E)?(c.eatWhile(/[\w\d]/),q.name="number"):/[\w_]/.test(E)?(c.eatWhile(/[\w\d_]/),q.name=m.expectVariable?n.test(c.current())?"keyword":"variable":null):q.eos=m.expectVariable;return q},B=function(c,p){c.eatWhile(/[^"]/);return new u("comment",c.eat('"')?p.parent:p,!0)},J=function(c,p){c.eatWhile(/[^']/);return new u("string",c.eat("'")?
|
||
p.parent:p,!1)},g=function(c,p){c.eatWhile(/[^']/);return new u("string-2",c.eat("'")?p.parent:p,!1)},h=function(c,p){var m=new u(null,p,!1);"|"===c.next()?(m.context=p.parent,m.eos=!0):(c.eatWhile(/[^|]/),m.name="variable");return m};return{startState:function(){return new z},token:function(c,p){p.userIndent(c.indentation());if(c.eatSpace())return null;c=p.context.next(c,p.context,p);p.context=c.context;p.expectVariable=c.eos;return c.name},blankLine:function(c){c.userIndent(0)},indent:function(c,
|
||
p){p=c.context.next===A&&p&&"]"===p.charAt(0)?-1:c.userIndentationDelta;return(c.indentation+p)*Y.indentUnit},electricChars:"]"}});v.defineMIME("text/x-stsrc",{name:"smalltalk"})})};
|
||
shadow$provide[562]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("smarty",function(Y,y){function n(q,E){m=E;return q}function b(q,E){for(var w=q.string,t=q.pos;;){var r=w.indexOf(J,t);t=r+J.length;var f;(f=-1==r)||(f=r+J.length,null==f&&(f=q.pos),f=!(3===g&&"{"==J&&(f==q.string.length||/\s/.test(q.string.charAt(f)))));if(f)break}if(r==q.pos){q.match(J);
|
||
if(q.eat("*"))return w=A("comment","*"+B),E.tokenize=w,w(q,E);E.depth++;E.tokenize=u;m="startTag";return"tag"}-1<r&&(q.string=w.slice(0,r));E=h.token(q,E.base);-1<r&&(q.string=w);return E}function u(q,E){if(q.match(B,!0))return 3===g?(E.depth--,0>=E.depth&&(E.tokenize=b)):E.tokenize=b,n("tag",null);if(q.match(J,!0))return E.depth++,n("tag","startTag");var w=q.next();if("$"==w)return q.eatWhile(p.validIdentifier),n("variable-2","variable");if("|"==w)return n("operator","pipe");if("."==w)return n("operator",
|
||
"property");if(p.stringChar.test(w))return E.tokenize=z(w),n("string","string");if(p.operatorChars.test(w))return q.eatWhile(p.operatorChars),n("operator","operator");if("["==w||"]"==w)return n("bracket","bracket");if("("==w||")"==w)return n("bracket","operator");if(/\d/.test(w))return q.eatWhile(/\d/),n("number","number");if("variable"==E.last){if("@"==w)return q.eatWhile(p.validIdentifier),n("property","property");if("|"==w)return q.eatWhile(p.validIdentifier),n("qualifier","modifier")}else{if("pipe"==
|
||
E.last)return q.eatWhile(p.validIdentifier),n("qualifier","modifier");if("whitespace"==E.last)return q.eatWhile(p.validIdentifier),n("attribute","modifier")}if("property"==E.last)return q.eatWhile(p.validIdentifier),n("property",null);if(/\s/.test(w))return m="whitespace",null;E="";"/"!=w&&(E+=w);for(var t;t=q.eat(p.validIdentifier);)E+=t;q=0;for(t=c.length;q<t;q++)if(c[q]==E)return n("keyword","keyword");return/\s/.test(w)?null:n("tag","tag")}function z(q){return function(E,w){for(var t=null,r;!E.eol();){r=
|
||
E.peek();if(E.next()==q&&"\\"!==t){w.tokenize=u;break}t=r}return"string"}}function A(q,E){return function(w,t){for(;!w.eol();){if(w.match(E)){t.tokenize=b;break}w.next()}return q}}var B=y.rightDelimiter||"}",J=y.leftDelimiter||"{",g=y.version||2,h=v.getMode(Y,y.baseMode||"null"),c=["debug","extends","function","include","literal"],p={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/},m;return{startState:function(){return{base:v.startState(h),tokenize:b,last:null,depth:0}},
|
||
copyState:function(q){return{base:v.copyState(h,q.base),tokenize:q.tokenize,last:q.last,depth:q.depth}},innerMode:function(q){if(q.tokenize==b)return{mode:h,state:q.base}},token:function(q,E){q=E.tokenize(q,E);E.last=m;return q},indent:function(q,E,w){return q.tokenize==b&&h.indent?h.indent(q.base,E,w):v.Pass},blockCommentStart:J+"*",blockCommentEnd:"*"+B}});v.defineMIME("text/x-smarty","smarty")})};
|
||
shadow$provide[563]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("solr",function(){function Y(B){return function(J,g){for(var h=!1,c;null!=(c=J.next())&&(c!=B||h);)h=!h&&"\\"==c;h||(g.tokenize=b);return"string"}}function y(B){return function(J,g){var h="operator";"+"==B?h+=" positive":"-"==B?h+=" negative":"|"==B?J.eat(/\|/):"\x26"==B?J.eat(/&/):
|
||
"^"==B&&(h+=" boost");g.tokenize=b;return h}}function n(B){return function(J,g){for(var h=B;(B=J.peek())&&null!=B.match(u);)h+=J.next();g.tokenize=b;if(A.test(h))return"operator";g=h;return parseFloat(g).toString()===g?"number":":"==J.peek()?"field":"string"}}function b(B,J){var g=B.next();'"'==g?J.tokenize=Y(g):z.test(g)?J.tokenize=y(g):u.test(g)&&(J.tokenize=n(g));return J.tokenize!=b?J.tokenize(B,J):null}var u=/[^\s\|!\+\-\*\?~\^&:\(\)\[\]\{\}"\\]/,z=/[\|!\+\-\*\?~\^&]/,A=/^(OR|AND|NOT|TO)$/i;
|
||
return{startState:function(){return{tokenize:b}},token:function(B,J){return B.eatSpace()?null:J.tokenize(B,J)}}});v.defineMIME("text/x-solr","solr")})};
|
||
shadow$provide[564]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(488)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed"],v):v(CodeMirror)})(function(v){var Y={noEndTag:!0,soyState:"param-def"},y={alias:{noEndTag:!0},delpackage:{noEndTag:!0},namespace:{noEndTag:!0,soyState:"namespace-def"},"@attribute":Y,"@attribute?":Y,"@param":Y,"@param?":Y,"@inject":Y,"@inject?":Y,"@state":Y,template:{soyState:"templ-def",variableScope:!0},
|
||
extern:{soyState:"param-def"},"export":{soyState:"export"},literal:{},msg:{},fallbackmsg:{noEndTag:!0,reduceIndent:!0},select:{},plural:{},let:{soyState:"var-def"},"if":{},javaimpl:{},jsimpl:{},elseif:{noEndTag:!0,reduceIndent:!0},"else":{noEndTag:!0,reduceIndent:!0},"switch":{},"case":{noEndTag:!0,reduceIndent:!0},"default":{noEndTag:!0,reduceIndent:!0},foreach:{variableScope:!0,soyState:"for-loop"},ifempty:{noEndTag:!0,reduceIndent:!0},"for":{variableScope:!0,soyState:"for-loop"},call:{soyState:"templ-ref"},
|
||
param:{soyState:"param-ref"},print:{noEndTag:!0},deltemplate:{soyState:"templ-def",variableScope:!0},delcall:{soyState:"templ-ref"},log:{},element:{variableScope:!0},velog:{},"const":{soyState:"const-def"}},n=Object.keys(y).filter(function(b){return!y[b].noEndTag||y[b].reduceIndent});v.defineMode("soy",function(b){function u(m){return m[m.length-1]}function z(m,q,E){if(m.sol()){for(var w=0;w<q.indent&&m.eat(/\s/);w++);if(w)return null}w=m.string;if(E=E.exec(w.substr(m.pos)))m.string=w.substr(0,m.pos+
|
||
E.index);E=m.hideFirstChars(q.indent,function(){var t=u(q.localStates);return t.mode.token(m,t.state)});m.string=w;return E}function A(m,q){return{element:q,next:m}}function B(m){m.context&&(m.context.scope&&(m.variables=m.context.scope),m.context=m.context.previousContext)}function J(m,q,E){a:{for(;m;){if(m.element===q){q=!0;break a}m=m.next}q=!1}return q?"variable-2":E?"variable":"variable-2 error"}function g(m,q,E){this.previousContext=m;this.tag=q;this.kind=null;this.scope=E}function h(m,q){var E;
|
||
if(m.match(/[[]/))return q.soyState.push("list-literal"),q.context=new g(q.context,"list-literal",q.variables),q.lookupVariables=!1,null;if(m.match(/\bmap(?=\()/))return q.soyState.push("map-literal"),"keyword";if(m.match(/\brecord(?=\()/))return q.soyState.push("record-literal"),"keyword";if(m.match(/([\w]+)(?=\()/))return"variable callee";if(E=m.match(/^["']/))return q.soyState.push("string"),q.quoteKind=E[0],"string";if(m.match(/^[(]/))return q.soyState.push("open-parentheses"),null;if(m.match(/(null|true|false)(?!\w)/)||
|
||
m.match(/0x([0-9a-fA-F]{2,})/)||m.match(/-?([0-9]*[.])?[0-9]+(e[0-9]*)?/))return"atom";if(m.match(/(\||[+\-*\/%]|[=!]=|\?:|[<>]=?)/))return"operator";if(E=m.match(/^\$([\w]+)/))return J(q.variables,E[1],!q.lookupVariables);if(E=m.match(/^\w+/))return/^(?:as|and|or|not|in|if)$/.test(E[0])?"keyword":null;m.next();return null}var c=v.getMode(b,"text/plain"),p={html:v.getMode(b,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:c,text:c,uri:c,
|
||
trusted_resource_uri:c,css:v.getMode(b,"text/css"),js:v.getMode(b,{name:"text/javascript",statementIndent:2*b.indentUnit})};return{startState:function(){return{soyState:[],variables:A(null,"ij"),scopes:null,indent:0,quoteKind:null,context:null,lookupVariables:!0,localStates:[{mode:p.html,state:v.startState(p.html)}]}},copyState:function(m){return{tag:m.tag,soyState:m.soyState.concat([]),variables:m.variables,context:m.context,indent:m.indent,quoteKind:m.quoteKind,lookupVariables:m.lookupVariables,
|
||
localStates:m.localStates.map(function(q){return{mode:q.mode,state:v.copyState(q.mode,q.state)}})}},token:function(m,q){var E;switch(u(q.soyState)){case "comment":m.match(/^.*?\*\//)?q.soyState.pop():m.skipToEnd();if(!q.context||!q.context.scope)for(var w=/@param\??\s+(\S+)/g,t=m.current();E=w.exec(t);)q.variables=A(q.variables,E[1]);return"comment";case "string":return E=m.match(/^.*?(["']|\\[\s\S])/),E?E[1]==q.quoteKind&&(q.quoteKind=null,q.soyState.pop()):m.skipToEnd(),"string"}if(!q.soyState.length||
|
||
"literal"!=u(q.soyState)){if(m.match(/^\/\*/))return q.soyState.push("comment"),"comment";if(m.match(m.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment"}switch(u(q.soyState)){case "templ-def":if(m.match(/^\.?([\w]+(?!\.[\w]+)*)/))return q.soyState.pop(),"def";m.next();return null;case "templ-ref":if(E=m.match(/(\.?[a-zA-Z_][a-zA-Z_0-9]+)+/))return q.soyState.pop(),"."==E[0][0]?"variable-2":"variable";if(E=m.match(/^\$([\w]+)/))return q.soyState.pop(),J(q.variables,E[1],!q.lookupVariables);m.next();
|
||
return null;case "namespace-def":if(m.match(/^\.?([\w\.]+)/))return q.soyState.pop(),"variable";m.next();return null;case "param-def":if(m.match(/^\*/))return q.soyState.pop(),q.soyState.push("param-type"),"type";if(E=m.match(/^\w+/))return q.variables=A(q.variables,E[0]),q.soyState.pop(),q.soyState.push("param-type"),"def";m.next();return null;case "param-ref":if(m.match(/^\w+/))return q.soyState.pop(),"property";m.next();return null;case "open-parentheses":return m.match(/[)]/)?(q.soyState.pop(),
|
||
null):h(m,q);case "param-type":w=m.peek();if(-1!="}]\x3d\x3e,".indexOf(w))return q.soyState.pop(),null;if("["==w)return q.soyState.push("param-type-record"),null;if("("==w)return q.soyState.push("param-type-template"),null;if("\x3c"==w)return q.soyState.push("param-type-parameter"),null;if(m.match(/^([\w]+|[?])/))return"type";m.next();return null;case "param-type-record":w=m.peek();if("]"==w)return q.soyState.pop(),null;if(m.match(/^\w+/))return q.soyState.push("param-type"),"property";m.next();return null;
|
||
case "param-type-parameter":if(m.match(/^[>]/))return q.soyState.pop(),null;if(m.match(/^[<,]/))return q.soyState.push("param-type"),null;m.next();return null;case "param-type-template":if(m.match(/[>]/))return q.soyState.pop(),q.soyState.push("param-type"),null;if(m.match(/^\w+/))return q.soyState.push("param-type"),"def";m.next();return null;case "var-def":if(E=m.match(/^\$([\w]+)/))return q.variables=A(q.variables,E[1]),q.soyState.pop(),"def";m.next();return null;case "for-loop":if(m.match(/\bin\b/))return q.soyState.pop(),
|
||
"keyword";if("$"==m.peek())return q.soyState.push("var-def"),null;m.next();return null;case "record-literal":if(m.match(/^[)]/))return q.soyState.pop(),null;if(m.match(/[(,]/))return q.soyState.push("map-value"),q.soyState.push("record-key"),null;m.next();return null;case "map-literal":if(m.match(/^[)]/))return q.soyState.pop(),null;if(m.match(/[(,]/))return q.soyState.push("map-value"),q.soyState.push("map-value"),null;m.next();return null;case "list-literal":return m.match("]")?(q.soyState.pop(),
|
||
q.lookupVariables=!0,B(q),null):m.match(/\bfor\b/)?(q.lookupVariables=!0,q.soyState.push("for-loop"),"keyword"):h(m,q);case "record-key":if(m.match(/[\w]+/))return"property";if(m.match(/^[:]/))return q.soyState.pop(),null;m.next();return null;case "map-value":return")"==m.peek()||","==m.peek()||m.match(/^[:)]/)?(q.soyState.pop(),null):h(m,q);case "import":if(m.eat(";"))return q.soyState.pop(),q.indent-=2*b.indentUnit,null;if(m.match(/\w+(?=\s+as\b)/))return"variable";if(E=m.match(/\w+/))return/\b(from|as)\b/.test(E[0])?
|
||
"keyword":"def";if(E=m.match(/^["']/))return q.soyState.push("string"),q.quoteKind=E[0],"string";m.next();return null;case "tag":return void 0===q.tag?(w=!0,t=""):t=(w="/"==q.tag[0])?q.tag.substring(1):q.tag,m.match(/^\/?}/)?((t="/}"==m.current())&&!w&&B(q),"/template"==q.tag||"/deltemplate"==q.tag?(q.variables=A(null,"ij"),q.indent=0):q.indent-=b.indentUnit*(t||-1==n.indexOf(q.tag)?2:1),q.soyState.pop(),"keyword"):m.match(/^([\w?]+)(?==)/)?(q.context&&q.context.tag==t&&"kind"==m.current()&&(E=m.match(/^="([^"]+)/,
|
||
!1))&&(w=E[1],q.context.kind=w,t=p[w]||p.html,w=u(q.localStates),w.mode.indent&&(q.indent+=w.mode.indent(w.state,"","")),q.localStates.push({mode:t,state:v.startState(t)})),"attribute"):h(m,q);case "template-call-expression":return m.match(/^([\w-?]+)(?==)/)?"attribute":m.eat("\x3e")||m.eat("/\x3e")?(q.soyState.pop(),"keyword"):h(m,q);case "literal":return m.match("{/literal}",!1)?(q.soyState.pop(),this.token(m,q)):z(m,q,/\{\/literal}/);case "export":if(E=m.match(/\w+/)){q.soyState.pop();if("const"==
|
||
E)return q.soyState.push("const-def"),"keyword";if("extern"==E)return q.soyState.push("param-def"),"keyword"}else m.next();return null;case "const-def":if(m.match(/^\w+/))return q.soyState.pop(),"def";m.next();return null}if(m.match("{literal}"))return q.indent+=b.indentUnit,q.soyState.push("literal"),q.context=new g(q.context,"literal",q.variables),"keyword";if(E=m.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var r=q.tag;q.tag=E[1];w="/"==q.tag[0];var f=!!y[q.tag];t=w?q.tag.substring(1):q.tag;
|
||
m=y[t];"/switch"!=q.tag&&(q.indent+=((w||m&&m.reduceIndent)&&"switch"!=r?1:2)*b.indentUnit);q.soyState.push("tag");E=!1;m?(w||m.soyState&&q.soyState.push(m.soyState),m.noEndTag||!f&&w)?w&&(w="extern"==t&&q.context&&"export"==q.context.tag,!q.context||q.context.tag!=t&&!w?E=!0:q.context&&(q.context.kind&&(q.localStates.pop(),w=u(q.localStates),w.mode.indent&&(q.indent-=w.mode.indent(w.state,"",""))),B(q))):q.context=new g(q.context,q.tag,m.variableScope?q.variables:null):w&&(E=!0);return(E?"error ":
|
||
"")+"keyword"}return m.eat("{")?(q.tag="print",q.indent+=2*b.indentUnit,q.soyState.push("tag"),"keyword"):!q.context&&m.sol()&&m.match(/import\b/)?(q.soyState.push("import"),q.indent+=2*b.indentUnit,"keyword"):m.match("\x3c{")?(q.soyState.push("template-call-expression"),q.indent+=2*b.indentUnit,q.soyState.push("tag"),"keyword"):m.match("\x3c/\x3e")?(q.indent-=1*b.indentUnit,"keyword"):z(m,q,/\{|\s+\/\/|\/\*/)},indent:function(m,q,E){var w=m.indent,t=u(m.soyState);if("comment"==t)return v.Pass;if("literal"==
|
||
t)/^\{\/literal}/.test(q)&&(w-=b.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(q))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(q)&&(w-=b.indentUnit);"switch"!=m.tag&&/^\{(case|default)\b/.test(q)&&(w-=b.indentUnit);/^\{\/switch\b/.test(q)&&(w-=b.indentUnit)}m=u(m.localStates);w&&m.mode.indent&&(w+=m.mode.indent(m.state,q,E));return w},innerMode:function(m){return m.soyState.length&&"literal"!=u(m.soyState)?null:u(m.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,
|
||
lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed");v.registerHelper("wordChars","soy",/[\w$]/);v.registerHelper("hintWords","soy",Object.keys(y).concat(["css","debugger"]));v.defineMIME("text/x-soy","soy")})};
|
||
shadow$provide[565]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("sparql",function(Y){function y(m,q){var E=m.next();B=null;if("$"==E||"?"==E){if("?"==E&&m.match(/\s/,!1))return"operator";m.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/);
|
||
return"variable-2"}if("\x3c"!=E||m.match(/^[\s\u00a0=]/,!1)){if('"'==E||"'"==E)return q.tokenize=b(E),q.tokenize(m,q);if(/[{}\(\),\.;\[\]]/.test(E))return B=E,"bracket";if("#"==E)return m.skipToEnd(),"comment";if(h.test(E))return"operator";if(":"==E)return n(m),"atom";if("@"==E)return m.eatWhile(/[a-z\d\-]/i),"meta";if(c.test(E)&&m.match(p))return n(m),"atom"}else return m.match(/^[^\s\u00a0>]*>?/),"atom";m.eatWhile(/[_\w\d]/);m=m.current();return J.test(m)?"builtin":g.test(m)?"keyword":"variable"}
|
||
function n(m){m.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function b(m){return function(q,E){for(var w=!1,t;null!=(t=q.next());){if(t==m&&!w){E.tokenize=y;break}w=!w&&"\\"==t}return"string"}}function u(m,q,E){m.context={prev:m.context,indent:m.indent,col:E,type:q}}function z(m){m.indent=m.context.indent;m.context=m.context.prev}var A=Y.indentUnit,B,J=RegExp("^(?:str|lang|langmatches|datatype|bound|sameterm|isiri|isuri|iri|uri|bnode|count|sum|min|max|avg|sample|group_concat|rand|abs|ceil|floor|round|concat|substr|strlen|replace|ucase|lcase|encode_for_uri|contains|strstarts|strends|strbefore|strafter|year|month|day|hours|minutes|seconds|timezone|tz|now|uuid|struuid|md5|sha1|sha256|sha384|sha512|coalesce|if|strlang|strdt|isnumeric|regex|exists|isblank|isliteral|a|bind)$",
|
||
"i"),g=RegExp("^(?:base|prefix|select|distinct|reduced|construct|describe|ask|from|named|where|order|limit|offset|filter|optional|graph|by|asc|desc|as|having|undef|values|group|minus|in|not|service|silent|using|insert|delete|union|true|false|with|data|copy|to|move|add|create|drop|clear|load|into)$","i"),h=/[*+\-<>=&|\^\/!\?]/,c=RegExp("[A-Za-z]"),p=RegExp("(([A-Za-z_\\-0-9]|\\.)*([A-Za-z_\\-0-9]))?:");return{startState:function(){return{tokenize:y,context:null,indent:0,col:0}},token:function(m,q){m.sol()&&
|
||
(q.context&&null==q.context.align&&(q.context.align=!1),q.indent=m.indentation());if(m.eatSpace())return null;var E=q.tokenize(m,q);"comment"!=E&&q.context&&null==q.context.align&&"pattern"!=q.context.type&&(q.context.align=!0);if("("==B)u(q,")",m.column());else if("["==B)u(q,"]",m.column());else if("{"==B)u(q,"}",m.column());else if(/[\]\}\)]/.test(B)){for(;q.context&&"pattern"==q.context.type;)z(q);q.context&&B==q.context.type&&(z(q),"}"==B&&q.context&&"pattern"==q.context.type&&z(q))}else"."==
|
||
B&&q.context&&"pattern"==q.context.type?z(q):/atom|string|variable/.test(E)&&q.context&&(/[\}\]]/.test(q.context.type)?u(q,"pattern",m.column()):"pattern"!=q.context.type||q.context.align||(q.context.align=!0,q.context.col=m.column()));return E},indent:function(m,q){q=q&&q.charAt(0);m=m.context;if(/[\]\}]/.test(q))for(;m&&"pattern"==m.type;)m=m.prev;q=m&&q==m.type;return m?"pattern"==m.type?m.col:m.align?m.col+(q?0:1):m.indent+(q?0:A):0},lineComment:"#"}});v.defineMIME("application/sparql-query",
|
||
"sparql")})};
|
||
shadow$provide[566]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(Y,y){if(Y){0!==y.stack.length||'"'!=Y.peek()&&"'"!=Y.peek()||(y.stringType=Y.peek(),Y.next(),y.stack.unshift("string"));switch(y.stack[0]){case "string":for(;"string"===y.stack[0]&&
|
||
!Y.eol();)Y.peek()===y.stringType?(Y.next(),y.stack.shift()):"\\"===Y.peek()?(Y.next(),Y.next()):Y.match(/^.[^\\"']*/);return"string";case "characterClass":for(;"characterClass"===y.stack[0]&&!Y.eol();)Y.match(/^[^\]\\]+/)||Y.match(/^\\./)||y.stack.shift();return"operator"}var n=Y.peek();switch(n){case "[":return Y.next(),y.stack.unshift("characterClass"),"bracket";case ":":return Y.next(),"operator";case "\\":if(Y.match(/\\[a-z]+/))return"string-2";Y.next();return"atom";case ".":case ",":case ";":case "*":case "-":case "+":case "^":case "\x3c":case "/":case "\x3d":return Y.next(),
|
||
"atom";case "$":return Y.next(),"builtin"}if(Y.match(/\d+/))return Y.match(/^\w+/)?"error":"number";if(Y.match(/^[a-zA-Z_]\w*/))return Y.match(/(?=[\(.])/,!1)?"keyword":"variable-2";if(-1!="[](){}".split("").indexOf(n))return Y.next(),"bracket";Y.eatSpace()||Y.next();return null}}}});v.defineMIME("text/x-spreadsheet","spreadsheet")})};
|
||
shadow$provide[567]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(A){for(var B;null!=(B=A.next());)if("`"==B&&!A.eat("`"))return"variable-2";A.backUp(A.current().length-1);return A.eatWhile(/\w/)?"variable-2":null}function y(A){A.eat("@")&&(A.match("session."),A.match("local."),A.match("global."));return A.eat("'")?(A.match(/^.*'/),"variable-2"):A.eat('"')?
|
||
(A.match(/^.*"/),"variable-2"):A.eat("`")?(A.match(/^.*`/),"variable-2"):A.match(/^[0-9a-zA-Z$\._]+/)?"variable-2":null}function n(A){return A.eat("N")?"atom":A.match(/^[a-zA-Z.#!?]/)?"variable-2":null}function b(A){var B={};A=A.split(" ");for(var J=0;J<A.length;++J)B[A[J]]=!0;return B}v.defineMode("sql",function(A,B){function J(aa,O){var U=aa.next();if(r[U]){var P=r[U](aa,O);if(!1!==P)return P}if(t.hexNumber&&("0"==U&&aa.match(/^[xX][0-9a-fA-F]+/)||("x"==U||"X"==U)&&aa.match(/^'[0-9a-fA-F]*'/))||
|
||
t.binaryNumber&&(("b"==U||"B"==U)&&aa.match(/^'[01]*'/)||"0"==U&&aa.match(/^b[01]+/)))return"number";if(47<U.charCodeAt(0)&&58>U.charCodeAt(0))return aa.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),t.decimallessFloat&&aa.match(/^\.(?!\.)/),"number";if("?"==U&&(aa.eatSpace()||aa.eol()||aa.eat(";")))return"variable-3";if("'"==U||'"'==U&&t.doubleQuote)return O.tokenize=g(U),O.tokenize(aa,O);if(!(t.nCharCast&&("n"==U||"N"==U)||t.charsetCast&&"_"==U&&aa.match(/[a-z][a-z0-9]*/i))||"'"!=aa.peek()&&'"'!=
|
||
aa.peek()){if(t.escapeConstant&&("e"==U||"E"==U)&&("'"==aa.peek()||'"'==aa.peek()&&t.doubleQuote))return O.tokenize=function(V,T){return(T.tokenize=g(V.next(),!0))(V,T)},"keyword";if(t.commentSlashSlash&&"/"==U&&aa.eat("/")||t.commentHash&&"#"==U||"-"==U&&aa.eat("-")&&(!t.commentSpaceRequired||aa.eat(" ")))return aa.skipToEnd(),"comment";if("/"==U&&aa.eat("*"))return O.tokenize=h(1),O.tokenize(aa,O);if("."==U){if(t.zerolessFloat&&aa.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(aa.match(/^\.+/))return null;
|
||
if(aa.match(/^[\w\d_$#]+/))return"variable-2"}else{if(w.test(U))return aa.eatWhile(w),"operator";if(C.test(U))return"bracket";if(M.test(U))return aa.eatWhile(M),"punctuation";if("{"==U&&(aa.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||aa.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";aa.eatWhile(/^[_\w\d]/);O=aa.current().toLowerCase();return f.hasOwnProperty(O)&&(aa.match(/^( )+'[^']*'/)||aa.match(/^( )+"[^"]*"/))?"number":m.hasOwnProperty(O)?"atom":q.hasOwnProperty(O)?"type":E.hasOwnProperty(O)?
|
||
"keyword":p.hasOwnProperty(O)?"builtin":null}}else return"keyword"}function g(aa,O){return function(U,P){for(var V=!1,T;null!=(T=U.next());){if(T==aa&&!V){P.tokenize=J;break}V=(F||O)&&!V&&"\\"==T}return"string"}}function h(aa){return function(O,U){var P=O.match(/^.*?(\/\*|\*\/)/);P?U.tokenize="/*"==P[1]?h(aa+1):1<aa?h(aa-1):J:O.skipToEnd();return"comment"}}function c(aa,O,U){O.context={prev:O.context,indent:aa.indentation(),col:aa.column(),type:U}}var p=B.client||{},m=B.atoms||{"false":!0,"true":!0,
|
||
"null":!0},q=B.builtin||b(z),E=B.keywords||b(u),w=B.operatorChars||/^[*+\-%<>!=&|~^\/]/,t=B.support||{},r=B.hooks||{},f=B.dateSQL||{date:!0,time:!0,timestamp:!0},F=!1!==B.backslashStringEscapes,C=B.brackets||/^[\{}\(\)\[\]]/,M=B.punctuation||/^[;.,:]/;return{startState:function(){return{tokenize:J,context:null}},token:function(aa,O){aa.sol()&&O.context&&null==O.context.align&&(O.context.align=!1);if(O.tokenize==J&&aa.eatSpace())return null;var U=O.tokenize(aa,O);if("comment"==U)return U;O.context&&
|
||
null==O.context.align&&(O.context.align=!0);var P=aa.current();"("==P?c(aa,O,")"):"["==P?c(aa,O,"]"):O.context&&O.context.type==P&&(O.indent=O.context.indent,O.context=O.context.prev);return U},indent:function(aa,O){aa=aa.context;if(!aa)return v.Pass;O=O.charAt(0)==aa.type;return aa.align?aa.col+(O?0:1):aa.indent+(O?0:A.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:t.commentSlashSlash?"//":t.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``",config:B}});var u="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ",
|
||
z="bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric";v.defineMIME("text/x-sql",{name:"sql",keywords:b(u+"begin"),builtin:b(z),atoms:b("false true null unknown"),dateSQL:b("date time timestamp"),support:b("doubleQuote binaryNumber hexNumber")});
|
||
v.defineMIME("text/x-mssql",{name:"sql",client:b("$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id"),keywords:b(u+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with"),
|
||
builtin:b("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:b("is not null like and or in left right between inner outer join all any some cross unpivot pivot exists"),operatorChars:/^[*+\-%<>!=^&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:b("date datetimeoffset datetime2 smalldatetime datetime time"),
|
||
hooks:{"@":y}});v.defineMIME("text/x-mysql",{name:"sql",client:b("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:b(u+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),
|
||
builtin:b("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:b("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:b("date time timestamp"),support:b("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),
|
||
hooks:{"@":y,"`":Y,"\\":n}});v.defineMIME("text/x-mariadb",{name:"sql",client:b("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:b(u+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),
|
||
builtin:b("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:b("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:b("date time timestamp"),support:b("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),
|
||
hooks:{"@":y,"`":Y,"\\":n}});v.defineMIME("text/x-sqlite",{name:"sql",client:b("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:b(u+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),
|
||
builtin:b("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:b("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:b("date time timestamp datetime"),support:b("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":y,":":y,"?":y,$:y,'"':function(A){for(var B;null!=
|
||
(B=A.next());)if('"'==B&&!A.eat('"'))return"variable-2";A.backUp(A.current().length-1);return A.eatWhile(/\w/)?"variable-2":null},"`":Y}});v.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:b("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),
|
||
builtin:b("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:b("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:b("commentSlashSlash decimallessFloat"),hooks:{}});v.defineMIME("text/x-plsql",{name:"sql",client:b("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),
|
||
keywords:b("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),
|
||
builtin:b("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),
|
||
operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:b("date time timestamp"),support:b("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")});v.defineMIME("text/x-hive",{name:"sql",keywords:b("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),
|
||
builtin:b("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:b("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:b("date timestamp"),support:b("doubleQuote binaryNumber hexNumber")});v.defineMIME("text/x-pgsql",{name:"sql",client:b("source"),keywords:b(u+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),
|
||
builtin:b("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:b("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,
|
||
dateSQL:b("date time timestamp"),support:b("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")});v.defineMIME("text/x-gql",{name:"sql",keywords:b("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:b("false true"),builtin:b("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/});v.defineMIME("text/x-gpsql",{name:"sql",client:b("source"),
|
||
keywords:b("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),
|
||
builtin:b("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:b("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,
|
||
dateSQL:b("date time timestamp"),support:b("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")});v.defineMIME("text/x-sparksql",{name:"sql",keywords:b("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),
|
||
builtin:b("abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with"),
|
||
atoms:b("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:b("date time timestamp"),support:b("doubleQuote zerolessFloat")});v.defineMIME("text/x-esper",{name:"sql",client:b("source"),keywords:b("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),
|
||
builtin:{},atoms:b("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:b("time"),support:b("decimallessFloat zerolessFloat binaryNumber hexNumber")});v.defineMIME("text/x-trino",{name:"sql",keywords:b("abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with"),
|
||
builtin:b("array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone"),atoms:b("false true null unknown"),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:b("date time timestamp zone"),support:b("decimallessFloat zerolessFloat hexNumber")})})};
|
||
shadow$provide[568]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(E){E=E.sort(function(w,t){return t>w});return new RegExp("^(("+E.join(")|(")+"))\\b")}function y(E){for(var w={},t=0;t<E.length;++t)w[E[t]]=!0;return w}v.defineMode("stylus",function(E){function w(sa,Ea){Ua=sa.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|&|\[|\d|\+|::?|\{|>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/);
|
||
Ea.context.line.firstWord=Ua?Ua[0].replace(/^\s*/,""):"";Ea.context.line.indent=sa.indentation();ma=sa.peek();if(sa.match("//"))return sa.skipToEnd(),["comment","comment"];if(sa.match("/*"))return Ea.tokenize=t,t(sa,Ea);if('"'==ma||"'"==ma)return sa.next(),Ea.tokenize=r(ma),Ea.tokenize(sa,Ea);if("@"==ma)return sa.next(),sa.eatWhile(/[\w\\-]/),["def",sa.current()];if("#"==ma){sa.next();if(sa.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(sa.match(/^[a-z][\w-]*/i))return["builtin",
|
||
"hash"]}if(sa.match(Va))return["meta","vendor-prefixes"];if(sa.match(/^-?[0-9]?\.?[0-9]/))return sa.eatWhile(/[a-z%]/i),["number","unit"];if("!"==ma)return sa.next(),[sa.match(/^(important|optional)/i)?"keyword":"operator","important"];if("."==ma&&sa.match(/^\.[a-z][\w-]*/i))return["qualifier","qualifier"];if(sa.match(ra))return"("==sa.peek()&&(Ea.tokenize=f),["property","word"];if(sa.match(/^[a-z][\w-]*\(/i))return sa.backUp(1),["keyword","mixin"];if(sa.match(/^(\+|-)[a-z][\w-]*\(/i))return sa.backUp(1),
|
||
["keyword","block-mixin"];if(sa.string.match(/^\s*&/)&&sa.match(/^[-_]+[a-z][\w-]*/))return["qualifier","qualifier"];if(sa.match(/^(\/|&)(-|_|:|\.|#|[a-z])/))return sa.backUp(1),["variable-3","reference"];if(sa.match(/^&{1}\s*$/))return["variable-3","reference"];if(sa.match(Ka))return["operator","operator"];if(sa.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i))return sa.match(/^(\.|\[)[\w-'"\]]+/i,!1)&&!O(sa.current())?(sa.match("."),["variable-2","variable-name"]):["variable-2","word"];if(sa.match(Ba))return["operator",
|
||
sa.current()];if(/[:;,{}\[\]\(\)]/.test(ma))return sa.next(),[null,ma];sa.next();return[null,null]}function t(sa,Ea){for(var Qa=!1,Xa;null!=(Xa=sa.next());){if(Qa&&"/"==Xa){Ea.tokenize=null;break}Qa="*"==Xa}return["comment","comment"]}function r(sa){return function(Ea,Qa){for(var Xa=!1,Pa;null!=(Pa=Ea.next());){if(Pa==sa&&!Xa){")"==sa&&Ea.backUp(1);break}Xa=!Xa&&"\\"==Pa}if(Pa==sa||!Xa&&")"!=sa)Qa.tokenize=null;return["string","string"]}}function f(sa,Ea){sa.next();sa.match(/\s*["')]/,!1)?Ea.tokenize=
|
||
null:Ea.tokenize=r(")");return[null,"("]}function F(sa,Ea,Qa,Xa){this.type=sa;this.indent=Ea;this.prev=Qa;this.line=Xa||{firstWord:"",indent:0}}function C(sa,Ea,Qa,Xa){Xa=0<=Xa?Xa:Q;sa.context=new F(Qa,Ea.indentation()+Xa,sa.context);return Qa}function M(sa,Ea){var Qa=sa.context.indent-Q;sa.context=sa.context.prev;Ea&&(sa.context.indent=Qa);return sa.context.type}function aa(sa,Ea,Qa,Xa){for(Xa=Xa||1;0<Xa;Xa--)Qa.context=Qa.context.prev;return La[Qa.context.type](sa,Ea,Qa)}function O(sa){return sa.toLowerCase()in
|
||
la}function U(sa){sa=sa.toLowerCase();return sa in Z||sa in Fa}function P(sa){return sa.toLowerCase()in Oa}function V(sa){var Ea=sa.toLowerCase(),Qa="variable-2";O(sa)?Qa="tag":P(sa)?Qa="block-keyword":U(sa)?Qa="property":Ea in S||Ea in Ya?Qa="atom":"return"==Ea||Ea in ha?Qa="keyword":sa.match(/^[A-Z]/)&&(Qa="string");return Qa}function T(sa,Ea){return D(Ea)&&("{"==sa||"]"==sa||"hash"==sa||"qualifier"==sa)||"block-mixin"==sa}function K(sa){return sa.sol()||sa.string.match(new RegExp("^\\s*"+sa.current().replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
|
||
"\\$\x26")))}function D(sa){return sa.eol()||sa.match(/^\s*$/,!1)}function L(sa){var Ea=/^\s*[-_]*[a-z0-9]+[\w-]*/i;return(sa="string"==typeof sa?sa.match(Ea):sa.string.match(Ea))?sa[0].replace(/^\s*/,""):""}for(var Q=E.indentUnit,N="",la=y(n),R=/^(a|b|i|s|col|em)$/i,Z=y(A),X=y(B),S=y(h),ha=y(g),W=y(b),ra=Y(b),wa=y(z),va=y(u),Fa=y(J),Ba=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|~)/,Ka=Y(c),Oa=y(p),Va=new RegExp(/^\-(moz|ms|o|webkit)-/i),Ya=y(m),Ua="",La={},ma,ja,oa,ia;N.length<Q;)N+=" ";
|
||
La.block=function(sa,Ea,Qa){if("comment"==sa&&K(Ea)||","==sa&&D(Ea)||"mixin"==sa)return C(Qa,Ea,"block",0);if("{"==sa&&Ea.match(/^\s*\$?[\w-]+/i,!1))return C(Qa,Ea,"interpolation");if(D(Ea)&&"]"==sa&&!/^\s*(\.|#|:|\[|\*|&)/.test(Ea.string)&&!O(L(Ea)))return C(Qa,Ea,"block",0);if(T(sa,Ea))return C(Qa,Ea,"block");if("}"==sa&&D(Ea))return C(Qa,Ea,"block",0);if("variable-name"==sa)return Ea.string.match(/^\s?\$[\w-\.\[\]'"]+$/)||P(L(Ea))?C(Qa,Ea,"variableName"):C(Qa,Ea,"variableName",0);if("\x3d"==sa)return D(Ea)||
|
||
P(L(Ea))?C(Qa,Ea,"block"):C(Qa,Ea,"block",0);if("*"==sa&&(D(Ea)||Ea.match(/\s*(,|\.|#|\[|:|{)/,!1)))return ia="tag",C(Qa,Ea,"block");if(":"==sa&&Ea.match(/^[a-z-]+/,!1))return C(Qa,Ea,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(sa))return C(Qa,Ea,D(Ea)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(sa))return C(Qa,Ea,"keyframes");if(/@extends?/.test(sa))return C(Qa,Ea,"extend",0);if(sa&&"@"==sa.charAt(0))return 0<Ea.indentation()&&U(Ea.current().slice(1))?(ia=
|
||
"variable-2","block"):/(@import|@require|@charset)/.test(sa)?C(Qa,Ea,"block",0):C(Qa,Ea,"block");if("reference"==sa&&D(Ea))return C(Qa,Ea,"block");if("("==sa)return C(Qa,Ea,"parens");if("vendor-prefixes"==sa)return C(Qa,Ea,"vendorPrefixes");if("word"==sa){sa=Ea.current();ia=V(sa);if("property"==ia){if(K(Ea))return C(Qa,Ea,"block",0);ia="atom";return"block"}if("tag"==ia){if(/embed|menu|pre|progress|sub|table/.test(sa)&&U(L(Ea))||Ea.string.match(new RegExp("\\[\\s*"+sa+"|"+sa+"\\s*\\]")))return ia=
|
||
"atom","block";if(R.test(sa)&&(K(Ea)&&Ea.string.match(/=/)||!K(Ea)&&!Ea.string.match(/^(\s*\.|#|&|\[|\/|>|\*)/)&&!O(L(Ea))))return ia="variable-2",P(L(Ea))?"block":C(Qa,Ea,"block",0);if(D(Ea))return C(Qa,Ea,"block")}if("block-keyword"==ia)return ia="keyword",Ea.current(/(if|unless)/)&&!K(Ea)?"block":C(Qa,Ea,"block");if("return"==sa)return C(Qa,Ea,"block",0);if("variable-2"==ia&&Ea.string.match(/^\s?\$[\w-\.\[\]'"]+$/))return C(Qa,Ea,"block")}return Qa.context.type};La.parens=function(sa,Ea,Qa){if("("==
|
||
sa)return C(Qa,Ea,"parens");if(")"==sa)return"parens"==Qa.context.prev.type?M(Qa):Ea.string.match(/^[a-z][\w-]*\(/i)&&D(Ea)||P(L(Ea))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(L(Ea))||!Ea.string.match(/^-?[a-z][\w-\.\[\]'"]*\s*=/)&&O(L(Ea))?C(Qa,Ea,"block"):Ea.string.match(/^[\$-]?[a-z][\w-\.\[\]'"]*\s*=/)||Ea.string.match(/^\s*(\(|\)|[0-9])/)||Ea.string.match(/^\s+[a-z][\w-]*\(/i)||Ea.string.match(/^\s+[\$-]?[a-z]/i)?C(Qa,Ea,"block",0):D(Ea)?C(Qa,Ea,"block"):C(Qa,Ea,"block",0);sa&&"@"==sa.charAt(0)&&U(Ea.current().slice(1))&&
|
||
(ia="variable-2");if("word"==sa){var Xa=Ea.current();ia=V(Xa);"tag"==ia&&R.test(Xa)&&(ia="variable-2");if("property"==ia||"to"==Xa)ia="atom"}return"variable-name"==sa?C(Qa,Ea,"variableName"):":"==sa&&Ea.match(/^[a-z-]+/,!1)?C(Qa,Ea,"pseudo"):Qa.context.type};La.vendorPrefixes=function(sa,Ea,Qa){return"word"==sa?(ia="property",C(Qa,Ea,"block",0)):M(Qa)};La.pseudo=function(sa,Ea,Qa){return U(L(Ea.string))?aa(sa,Ea,Qa):(Ea.match(/^[a-z-]+/),ia="variable-3",D(Ea)?C(Qa,Ea,"block"):M(Qa))};La.atBlock=function(sa,
|
||
Ea,Qa){if("("==sa)return C(Qa,Ea,"atBlock_parens");if(T(sa,Ea))return C(Qa,Ea,"block");if("{"==sa&&Ea.match(/^\s*\$?[\w-]+/i,!1))return C(Qa,Ea,"interpolation");if("word"==sa){var Xa=Ea.current().toLowerCase();ia=/^(only|not|and|or)$/.test(Xa)?"keyword":W.hasOwnProperty(Xa)?"tag":va.hasOwnProperty(Xa)?"attribute":wa.hasOwnProperty(Xa)?"property":X.hasOwnProperty(Xa)?"string-2":V(Ea.current());if("tag"==ia&&D(Ea))return C(Qa,Ea,"block")}"operator"==sa&&/^(not|and|or)$/.test(Ea.current())&&(ia="keyword");
|
||
return Qa.context.type};La.atBlock_parens=function(sa,Ea,Qa){return"{"==sa||"}"==sa?Qa.context.type:")"==sa?D(Ea)?C(Qa,Ea,"block"):C(Qa,Ea,"atBlock"):"word"==sa?(sa=Ea.current().toLowerCase(),ia=V(sa),/^(max|min)/.test(sa)&&(ia="property"),"tag"==ia&&(R.test(sa)?ia="variable-2":ia="atom"),Qa.context.type):La.atBlock(sa,Ea,Qa)};La.keyframes=function(sa,Ea,Qa){return"0"==Ea.indentation()&&("}"==sa&&K(Ea)||"]"==sa||"hash"==sa||"qualifier"==sa||O(Ea.current()))?aa(sa,Ea,Qa):"{"==sa?C(Qa,Ea,"keyframes"):
|
||
"}"==sa?K(Ea)?M(Qa,!0):C(Qa,Ea,"keyframes"):"unit"==sa&&/^[0-9]+%$/.test(Ea.current())?C(Qa,Ea,"keyframes"):"word"==sa&&(ia=V(Ea.current()),"block-keyword"==ia)?(ia="keyword",C(Qa,Ea,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(sa)?C(Qa,Ea,D(Ea)?"block":"atBlock"):"mixin"==sa?C(Qa,Ea,"block",0):Qa.context.type};La.interpolation=function(sa,Ea,Qa){"{"==sa&&M(Qa)&&C(Qa,Ea,"block");if("}"==sa)return Ea.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||Ea.string.match(/^\s*[a-z]/i)&&
|
||
O(L(Ea))?C(Qa,Ea,"block"):!Ea.string.match(/^(\{|\s*&)/)||Ea.match(/\s*[\w-]/,!1)?C(Qa,Ea,"block",0):C(Qa,Ea,"block");if("variable-name"==sa)return C(Qa,Ea,"variableName",0);"word"==sa&&(ia=V(Ea.current()),"tag"==ia&&(ia="atom"));return Qa.context.type};La.extend=function(sa,Ea,Qa){return"["==sa||"\x3d"==sa?"extend":"]"==sa?M(Qa):"word"==sa?(ia=V(Ea.current()),"extend"):M(Qa)};La.variableName=function(sa,Ea,Qa){return"string"==sa||"["==sa||"]"==sa||Ea.current().match(/^(\.|\$)/)?(Ea.current().match(/^\.[\w-]+/i)&&
|
||
(ia="variable-2"),"variableName"):aa(sa,Ea,Qa)};return{startState:function(sa){return{tokenize:null,state:"block",context:new F("block",sa||0,null)}},token:function(sa,Ea){if(!Ea.tokenize&&sa.eatSpace())return null;(ja=(Ea.tokenize||w)(sa,Ea))&&"object"==typeof ja&&(oa=ja[1],ja=ja[0]);ia=ja;Ea.state=La[Ea.state](oa,sa,Ea);return ia},indent:function(sa,Ea,Qa){var Xa=sa.context,Pa=Ea&&Ea.charAt(0),cb=Xa.indent,tb=L(Ea),Mb=Qa.match(/^\s*/)[0].replace(/\t/g,N).length,yb=sa.context.prev?sa.context.prev.line.firstWord:
|
||
"";sa=sa.context.prev?sa.context.prev.line.indent:Mb;Xa.prev&&("}"==Pa&&("block"==Xa.type||"atBlock"==Xa.type||"keyframes"==Xa.type)||")"==Pa&&("parens"==Xa.type||"atBlock_parens"==Xa.type)||"{"==Pa&&"at"==Xa.type)?cb=Xa.indent-Q:/(\})/.test(Pa)||(/@|\$|\d/.test(Pa)||/^\{/.test(Ea)||/^\s*\/(\/|\*)/.test(Ea)||/^\s*\/\*/.test(yb)||/^\s*[\w-\.\[\]'"]+\s*(\?|:|\+)?=/i.test(Ea)||/^(\+|-)?[a-z][\w-]*\(/i.test(Ea)||/^return/.test(Ea)||P(tb)?cb=Mb:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(Pa)||O(tb)?cb=/,\s*$/.test(yb)?
|
||
sa:/^\s+/.test(Qa)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(yb)||O(yb))?Mb<=sa?sa:sa+Q:Mb:/,\s*$/.test(Qa)||!tb.toLowerCase().match(Va)&&!U(tb)||(cb=P(yb)?Mb<=sa?sa:sa+Q:/^\{/.test(yb)?Mb<=sa?Mb:sa+Q:yb.toLowerCase().match(Va)||U(yb)?Mb>=sa?sa:Mb:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(yb)||/=\s*$/.test(yb)||O(yb)||/^\$[\w-\.\[\]'"]/.test(yb)?sa+Q:Mb));return cb},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"indent"}});var n="a abbr address area article aside audio b base bdi bdo bgsound blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark marquee menu menuitem meta meter nav nobr noframes noscript object ol optgroup option output p param pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time tr track u ul var video".split(" "),
|
||
b=["domain","regexp","url-prefix","url"],u="all aural braille handheld print projection screen tty tv embossed".split(" "),z="width min-width max-width height min-height max-height device-width min-device-width max-device-width device-height min-device-height max-device-height aspect-ratio min-aspect-ratio max-aspect-ratio device-aspect-ratio min-device-aspect-ratio max-device-aspect-ratio color min-color max-color color-index min-color-index max-color-index monochrome min-monochrome max-monochrome resolution min-resolution max-resolution scan grid dynamic-range video-dynamic-range".split(" "),
|
||
A="align-content align-items align-self alignment-adjust alignment-baseline anchor-point animation animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function appearance azimuth backface-visibility background background-attachment background-clip background-color background-image background-origin background-position background-repeat background-size baseline-shift binding bleed bookmark-label bookmark-level bookmark-state bookmark-target border border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-decoration-break box-shadow box-sizing break-after break-before break-inside caption-side clear clip color color-profile column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content counter-increment counter-reset crop cue cue-after cue-before cursor direction display dominant-baseline drop-initial-after-adjust drop-initial-after-align drop-initial-before-adjust drop-initial-before-align drop-initial-size drop-initial-value elevation empty-cells fit fit-position flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float float-offset flow-from flow-into font font-feature-settings font-family font-kerning font-language-override font-size font-size-adjust font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-weight grid grid-area grid-auto-columns grid-auto-flow grid-auto-position grid-auto-rows grid-column grid-column-end grid-column-start grid-row grid-row-end grid-row-start grid-template grid-template-areas grid-template-columns grid-template-rows hanging-punctuation height hyphens icon image-orientation image-rendering image-resolution inline-box-align justify-content left letter-spacing line-break line-height line-stacking line-stacking-ruby line-stacking-shift line-stacking-strategy list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset marks marquee-direction marquee-loop marquee-play-count marquee-speed marquee-style max-height max-width min-height min-width move-to nav-down nav-index nav-left nav-right nav-up object-fit object-position opacity order orphans outline outline-color outline-offset outline-style outline-width overflow overflow-style overflow-wrap overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside page-policy pause pause-after pause-before perspective perspective-origin pitch pitch-range play-during position presentation-level punctuation-trim quotes region-break-after region-break-before region-break-inside region-fragment rendering-intent resize rest rest-after rest-before richness right rotation rotation-point ruby-align ruby-overhang ruby-position ruby-span shape-image-threshold shape-inside shape-margin shape-outside size speak speak-as speak-header speak-numeral speak-punctuation speech-rate stress string-set tab-size table-layout target target-name target-new target-position text-align text-align-last text-decoration text-decoration-color text-decoration-line text-decoration-skip text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-height text-indent text-justify text-outline text-overflow text-shadow text-size-adjust text-space-collapse text-transform text-underline-position text-wrap top transform transform-origin transform-style transition transition-delay transition-duration transition-property transition-timing-function unicode-bidi vertical-align visibility voice-balance voice-duration voice-family voice-pitch voice-range voice-rate voice-stress voice-volume volume white-space widows width will-change word-break word-spacing word-wrap z-index clip-path clip-rule mask enable-background filter flood-color flood-opacity lighting-color stop-color stop-opacity pointer-events color-interpolation color-interpolation-filters color-rendering fill fill-opacity fill-rule image-rendering marker marker-end marker-mid marker-start shape-rendering stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-rendering baseline-shift dominant-baseline glyph-orientation-horizontal glyph-orientation-vertical text-anchor writing-mode font-smoothing osx-font-smoothing".split(" "),
|
||
B="scrollbar-arrow-color scrollbar-base-color scrollbar-dark-shadow-color scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color scrollbar-3d-light-color scrollbar-track-color shape-inside searchfield-cancel-button searchfield-decoration searchfield-results-button searchfield-results-decoration zoom".split(" "),J="font-family src unicode-range font-variant font-feature-settings font-stretch font-weight font-style".split(" "),g="aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkturquoise darkviolet deeppink deepskyblue dimgray dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray grey green greenyellow honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightpink lightsalmon lightseagreen lightskyblue lightslategray lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple rebeccapurple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen".split(" "),
|
||
h="above absolute activeborder additive activecaption afar after-white-space ahead alias all all-scroll alphabetic alternate always amharic amharic-abegede antialiased appworkspace arabic-indic armenian asterisks attr auto avoid avoid-column avoid-page avoid-region background backwards baseline below bidi-override binary bengali blink block block-axis bold bolder border border-box both bottom break break-all break-word bullets button buttonface buttonhighlight buttonshadow buttontext calc cambodian capitalize caps-lock-indicator caption captiontext caret cell center checkbox circle cjk-decimal cjk-earthly-branch cjk-heavenly-stem cjk-ideographic clear clip close-quote col-resize collapse column compact condensed conic-gradient contain content contents content-box context-menu continuous copy counter counters cover crop cross crosshair currentcolor cursive cyclic dashed decimal decimal-leading-zero default default-button destination-atop destination-in destination-out destination-over devanagari disc discard disclosure-closed disclosure-open document dot-dash dot-dot-dash dotted double down e-resize ease ease-in ease-in-out ease-out element ellipse ellipsis embed end ethiopic ethiopic-abegede ethiopic-abegede-am-et ethiopic-abegede-gez ethiopic-abegede-ti-er ethiopic-abegede-ti-et ethiopic-halehame-aa-er ethiopic-halehame-aa-et ethiopic-halehame-am-et ethiopic-halehame-gez ethiopic-halehame-om-et ethiopic-halehame-sid-et ethiopic-halehame-so-et ethiopic-halehame-ti-er ethiopic-halehame-ti-et ethiopic-halehame-tig ethiopic-numeric ew-resize expanded extends extra-condensed extra-expanded fantasy fast fill fixed flat flex footnotes forwards from geometricPrecision georgian graytext groove gujarati gurmukhi hand hangul hangul-consonant hebrew help hidden hide high higher highlight highlighttext hiragana hiragana-iroha horizontal hsl hsla icon ignore inactiveborder inactivecaption inactivecaptiontext infinite infobackground infotext inherit initial inline inline-axis inline-block inline-flex inline-table inset inside intrinsic invert italic japanese-formal japanese-informal justify kannada katakana katakana-iroha keep-all khmer korean-hangul-formal korean-hanja-formal korean-hanja-informal landscape lao large larger left level lighter line-through linear linear-gradient lines list-item listbox listitem local logical loud lower lower-alpha lower-armenian lower-greek lower-hexadecimal lower-latin lower-norwegian lower-roman lowercase ltr malayalam match matrix matrix3d media-play-button media-slider media-sliderthumb media-volume-slider media-volume-sliderthumb medium menu menulist menulist-button menutext message-box middle min-intrinsic mix mongolian monospace move multiple myanmar n-resize narrower ne-resize nesw-resize no-close-quote no-drop no-open-quote no-repeat none normal not-allowed nowrap ns-resize numbers numeric nw-resize nwse-resize oblique octal open-quote optimizeLegibility optimizeSpeed oriya oromo outset outside outside-shape overlay overline padding padding-box painted page paused persian perspective plus-darker plus-lighter pointer polygon portrait pre pre-line pre-wrap preserve-3d progress push-button radial-gradient radio read-only read-write read-write-plaintext-only rectangle region relative repeat repeating-linear-gradient repeating-radial-gradient repeating-conic-gradient repeat-x repeat-y reset reverse rgb rgba ridge right rotate rotate3d rotateX rotateY rotateZ round row-resize rtl run-in running s-resize sans-serif scale scale3d scaleX scaleY scaleZ scroll scrollbar scroll-position se-resize searchfield searchfield-cancel-button searchfield-decoration searchfield-results-button searchfield-results-decoration semi-condensed semi-expanded separate serif show sidama simp-chinese-formal simp-chinese-informal single skew skewX skewY skip-white-space slide slider-horizontal slider-vertical sliderthumb-horizontal sliderthumb-vertical slow small small-caps small-caption smaller solid somali source-atop source-in source-out source-over space spell-out square square-button standard start static status-bar stretch stroke sub subpixel-antialiased super sw-resize symbolic symbols table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group tamil telugu text text-bottom text-top textarea textfield thai thick thin threeddarkshadow threedface threedhighlight threedlightshadow threedshadow tibetan tigre tigrinya-er tigrinya-er-abegede tigrinya-et tigrinya-et-abegede to top trad-chinese-formal trad-chinese-informal translate translate3d translateX translateY translateZ transparent ultra-condensed ultra-expanded underline up upper-alpha upper-armenian upper-greek upper-hexadecimal upper-latin upper-norwegian upper-roman uppercase urdu url var vertical vertical-text visible visibleFill visiblePainted visibleStroke visual w-resize wait wave wider window windowframe windowtext words x-large x-small xor xx-large xx-small bicubic optimizespeed grayscale row row-reverse wrap wrap-reverse column-reverse flex-start flex-end space-between space-around unset".split(" "),
|
||
c="in;and;or;not;is not;is a;is;isnt;defined;if unless".split(";"),p="for if else unless from to".split(" "),m="null true false href title type not-allowed readonly disabled".split(" "),q=n.concat(b,u,z,A,B,g,h,J,c,p,m,"@font-face @keyframes @media @viewport @page @host @supports @block @css".split(" "));v.registerHelper("hintWords","stylus",q);v.defineMIME("text/x-styl","stylus")})};
|
||
shadow$provide[569]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(F){for(var C={},M=0;M<F.length;M++)C[F[M]]=!0;return C}function y(F,C,M){F.sol()&&(C.indented=F.indentation());if(F.eatSpace())return null;var aa=F.peek();if("/"==aa){if(F.match("//"))return F.skipToEnd(),"comment";if(F.match("/*"))return C.tokenize.push(u),u(F,C)}if(F.match(r))return"builtin";
|
||
if(F.match(f))return"attribute";if(F.match(p)||F.match(m)||F.match(q)||F.match(E))return"number";if(F.match(t))return"property";if(-1<"+-/*%\x3d|\x26\x3c\x3e~^?!".indexOf(aa))return F.next(),"operator";if(-1<":;,.(){}[]".indexOf(aa))return F.next(),F.match(".."),"punctuation";if(aa=F.match(/("""|"|')/))return M=b.bind(null,aa[0]),C.tokenize.push(M),M(F,C);if(F.match(w))return F=F.current(),c.hasOwnProperty(F)?"variable-2":h.hasOwnProperty(F)?"atom":J.hasOwnProperty(F)?(g.hasOwnProperty(F)&&(C.prev=
|
||
"define"),"keyword"):"define"==M?"def":"variable";F.next();return null}function n(){var F=0;return function(C,M,aa){aa=y(C,M,aa);if("punctuation"==aa)if("("==C.current())++F;else if(")"==C.current()){if(0==F)return C.backUp(1),M.tokenize.pop(),M.tokenize[M.tokenize.length-1](C,M);--F}return aa}}function b(F,C,M){for(var aa=1==F.length,O,U=!1;O=C.peek();)if(U){C.next();if("("==O)return M.tokenize.push(n()),"string";U=!1}else{if(C.match(F))return M.tokenize.pop(),"string";C.next();U="\\"==O}aa&&M.tokenize.pop();
|
||
return"string"}function u(F,C){for(var M;M=F.next();)if("/"===M&&F.eat("*"))C.tokenize.push(u);else if("*"===M&&F.eat("/")){C.tokenize.pop();break}return"comment"}function z(F,C,M){this.prev=F;this.align=C;this.indented=M}function A(F,C){C=C.match(/^\s*($|\/[\/\*])/,!1)?null:C.column()+1;F.context=new z(F.context,C,F.indented)}function B(F){F.context&&(F.indented=F.context.indented,F.context=F.context.prev)}var J=Y("_ var let actor class enum extension import protocol struct func typealias associatedtype open public internal fileprivate private deinit init new override self subscript super convenience dynamic final indirect lazy required static unowned unowned(safe) unowned(unsafe) weak as is break case continue default else fallthrough for guard if in repeat switch where while defer return inout mutating nonmutating isolated nonisolated catch do rethrows throw throws async await try didSet get set willSet assignment associativity infix left none operator postfix precedence precedencegroup prefix right Any AnyObject Type dynamicType Self Protocol __COLUMN__ __FILE__ __FUNCTION__ __LINE__".split(" ")),
|
||
g=Y("var let actor class enum extension import protocol struct func typealias associatedtype for".split(" ")),h=Y("true false nil self super _".split(" ")),c=Y("Array Bool Character Dictionary Double Float Int Int8 Int16 Int32 Int64 Never Optional Set String UInt8 UInt16 UInt32 UInt64 Void".split(" ")),p=/^\-?0b[01][01_]*/,m=/^\-?0o[0-7][0-7_]*/,q=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,E=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,w=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,
|
||
t=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,r=/^#[A-Za-z]+/,f=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;v.defineMode("swift",function(F){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(C,M){var aa=M.prev;M.prev=null;var O=(M.tokenize[M.tokenize.length-1]||y)(C,M,aa);O&&"comment"!=O?M.prev||(M.prev=O):M.prev=aa;"punctuation"==O&&(aa=/[\(\[\{]|([\]\)\}])/.exec(C.current()))&&(aa[1]?B:A)(M,C);return O},indent:function(C,M){C=C.context;if(!C)return 0;
|
||
M=/^[\]\}\)]/.test(M);return null!=C.align?C.align-(M?1:0):C.indented+(M?0:F.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}});v.defineMIME("text/x-swift","swift")})};
|
||
shadow$provide[570]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("tcl",function(){function Y(g){var h={};g=g.split(" ");for(var c=0;c<g.length;++c)h[g[c]]=!0;return h}function y(g,h,c){h.tokenize=c;return c(g,h)}function n(g,h){var c=h.beforeParams;h.beforeParams=!1;var p=g.next();if('"'!=p&&"'"!=p||!h.inParams){if(/[\[\]{}\(\),;\.]/.test(p))return"("==
|
||
p&&c?h.inParams=!0:")"==p&&(h.inParams=!1),null;if(/\d/.test(p))return g.eatWhile(/[\w\.]/),"number";if("#"==p){if(g.eat("*"))return y(g,h,u);if("#"==p&&g.match(/ *\[ *\[/))return y(g,h,z);g.skipToEnd();return"comment"}if('"'==p)return g.skipTo(/"/),"comment";if("$"==p)return g.eatWhile(/[$_a-z0-9A-Z\.{:]/),g.eatWhile(/}/),h.beforeParams=!0,"builtin";if(J.test(p))return g.eatWhile(J),"comment";g.eatWhile(/[\w\$_{}\xa1-\uffff]/);g=g.current().toLowerCase();return A&&A.propertyIsEnumerable(g)?"keyword":
|
||
B&&B.propertyIsEnumerable(g)?(h.beforeParams=!0,"keyword"):null}return y(g,h,b(p))}function b(g){return function(h,c){for(var p=!1,m,q=!1;null!=(m=h.next());){if(m==g&&!p){q=!0;break}p=!p&&"\\"==m}q&&(c.tokenize=n);return"string"}}function u(g,h){for(var c=!1,p;p=g.next();){if("#"==p&&c){h.tokenize=n;break}c="*"==p}return"comment"}function z(g,h){for(var c=0,p;p=g.next();){if("#"==p&&2==c){h.tokenize=n;break}"]"==p?c++:" "!=p&&(c=0)}return"meta"}var A=Y("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"),
|
||
B=Y("if elseif else and not or eq ne in ni for foreach while switch"),J=/[+\-*&%=<>!?^\/\|]/;return{startState:function(){return{tokenize:n,beforeParams:!1,inParams:!1}},token:function(g,h){return g.eatSpace()?null:h.tokenize(g,h)},lineComment:"#"}});v.defineMIME("text/x-tcl","tcl")})};
|
||
shadow$provide[571]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(c,p,m){return"_"===m?c.eat("_")?y(c,p,"italic",/__/,2):y(c,p,"em",/_/,1):"*"===m?c.eat("*")?y(c,p,"bold",/\*\*/,2):y(c,p,"strong",/\*/,1):"["===m?(c.match(/\d+\]/)&&(p.footCite=!0),n(p)):"("===m&&c.match(/^(r|tm|c)\)/)?u(p,J.specialChar):"\x3c"===m&&c.match(/(\w+)[^>]+>[^<]+<\/\1>/)?
|
||
u(p,J.html):"?"===m&&c.eat("?")?y(c,p,"cite",/\?\?/,2):"\x3d"===m&&c.eat("\x3d")?y(c,p,"notextile",/==/,2):"-"!==m||c.eat("-")?"+"===m?y(c,p,"addition",/\+/,1):"~"===m?y(c,p,"sub",/~/,1):"^"===m?y(c,p,"sup",/\^/,1):"%"===m?y(c,p,"span",/%/,1):"@"===m?y(c,p,"code",/@/,1):"!"===m?(p=y(c,p,"image",/(?:\([^\)]+\))?!/,1),c.match(/^:\S+/),p):n(p):y(c,p,"deletion",/-/,1)}function y(c,p,m,q,E){E=c.pos>E?c.string.charAt(c.pos-E-1):null;var w=c.peek();if(p[m]){if((!w||/\W/.test(w))&&E&&/\S/.test(E))return c=
|
||
n(p),p[m]=!1,c}else(!E||/\W/.test(E))&&w&&/\S/.test(w)&&c.match(new RegExp("^.*\\S"+q.source+"(?:\\W|$)"),!1)&&(p[m]=!0,p.mode=h.attributes);return n(p)}function n(c){var p=b(c);if(p)return p;p=[];c.layoutType&&p.push(J[c.layoutType]);p=p.concat(z(c,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading"));"header"===c.layoutType&&p.push(J.header+"-"+c.header);return p.length?p.join(" "):null}function b(c){var p=c.layoutType;
|
||
switch(p){case "notextile":case "code":case "pre":return J[p];default:return c.notextile?J.notextile+(p?" "+J[p]:""):null}}function u(c,p){var m=b(c);if(m)return m;c=n(c);return p?c?c+" "+p:p:c}function z(c){for(var p=[],m=1;m<arguments.length;++m)c[arguments[m]]&&p.push(J[arguments[m]]);return p}function A(c){var p=c.spanningLayout,m=c.layoutType,q;for(q in c)c.hasOwnProperty(q)&&delete c[q];c.mode=h.newLayout;p&&(c.layoutType=m,c.spanningLayout=!0)}function B(c){return g.cache[c]||(g.cache[c]=g.createRe(c))}
|
||
var J={addition:"positive",attributes:"attribute",bold:"strong",cite:"keyword",code:"atom",definitionList:"number",deletion:"negative",div:"punctuation",em:"em",footnote:"variable",footCite:"qualifier",header:"header",html:"comment",image:"string",italic:"em",link:"link",linkDefinition:"link",list1:"variable-2",list2:"variable-3",list3:"keyword",notextile:"string-2",pre:"operator",p:"property",quote:"bracket",span:"quote",specialChar:"tag",strong:"strong",sub:"builtin",sup:"builtin",table:"variable-3",
|
||
tableHeading:"operator"},g={cache:{},single:{bc:"bc",bq:"bq",definitionList:/- .*?:=+/,definitionListEnd:/.*=:\s*$/,div:"div",drawTable:/\|.*\|/,foot:/fn\d+/,header:/h[1-6]/,html:/\s*<(?:\/)?(\w+)(?:[^>]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,
|
||
selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(c){switch(c){case "drawTable":return g.makeRe("^",g.single.drawTable,"$");case "html":return g.makeRe("^",g.single.html,"(?:",g.single.html,")*","$");case "linkDefinition":return g.makeRe("^",g.single.linkDefinition,"$");case "listLayout":return g.makeRe("^",g.single.list,B("allAttributes"),"*\\s+");case "tableCellAttributes":return g.makeRe("^",g.choiceRe(g.single.tableCellAttributes,B("allAttributes")),
|
||
"+\\.");case "type":return g.makeRe("^",B("allTypes"));case "typeLayout":return g.makeRe("^",B("allTypes"),B("allAttributes"),"*\\.\\.?","(\\s+|$)");case "attributes":return g.makeRe("^",B("allAttributes"),"+");case "allTypes":return g.choiceRe(g.single.div,g.single.foot,g.single.header,g.single.bc,g.single.bq,g.single.notextile,g.single.pre,g.single.table,g.single.para);case "allAttributes":return g.choiceRe(g.attributes.selector,g.attributes.css,g.attributes.lang,g.attributes.align,g.attributes.pad);
|
||
default:return g.makeRe("^",g.single[c])}},makeRe:function(){for(var c="",p=0;p<arguments.length;++p){var m=arguments[p];c+="string"===typeof m?m:m.source}return new RegExp(c)},choiceRe:function(){for(var c=[arguments[0]],p=1;p<arguments.length;++p)c[2*p-1]="|",c[2*p]=arguments[p];c.unshift("(?:");c.push(")");return g.makeRe.apply(null,c)}},h={newLayout:function(c,p){if(c.match(B("typeLayout"),!1))return p.spanningLayout=!1,(p.mode=h.blockType)(c,p);if(!b(p))if(c.match(B("listLayout"),!1))var m=h.list;
|
||
else c.match(B("drawTable"),!1)?m=h.table:c.match(B("linkDefinition"),!1)?m=h.linkDefinition:c.match(B("definitionList"))?m=h.definitionList:c.match(B("html"),!1)&&(m=h.html);return(p.mode=m||h.text)(c,p)},blockType:function(c,p){var m;p.layoutType=null;if(m=c.match(B("type")))c=m[0];else return(p.mode=h.text)(c,p);(m=c.match(B("header")))?(p.layoutType="header",p.header=parseInt(m[0][1])):c.match(B("bq"))?p.layoutType="quote":c.match(B("bc"))?p.layoutType="code":c.match(B("foot"))?p.layoutType="footnote":
|
||
c.match(B("notextile"))?p.layoutType="notextile":c.match(B("pre"))?p.layoutType="pre":c.match(B("div"))?p.layoutType="div":c.match(B("table"))&&(p.layoutType="table");p.mode=h.attributes;return n(p)},text:function(c,p){if(c.match(B("text")))return n(p);var m=c.next();return'"'===m?(p.mode=h.link)(c,p):Y(c,p,m)},attributes:function(c,p){p.mode=h.layoutLength;return c.match(B("attributes"))?u(p,J.attributes):n(p)},layoutLength:function(c,p){c.eat(".")&&c.eat(".")&&(p.spanningLayout=!0);p.mode=h.text;
|
||
return n(p)},list:function(c,p){c=c.match(B("list"));p.listDepth=c[0].length;c=(p.listDepth-1)%3;p.layoutType=c?1===c?"list2":"list3":"list1";p.mode=h.attributes;return n(p)},link:function(c,p){p.mode=h.text;return c.match(B("link"))?(c.match(/\S+/),u(p,J.link)):n(p)},linkDefinition:function(c,p){c.skipToEnd();return u(p,J.linkDefinition)},definitionList:function(c,p){c.match(B("definitionList"));p.layoutType="definitionList";c.match(/\s*$/)?p.spanningLayout=!0:p.mode=h.attributes;return n(p)},html:function(c,
|
||
p){c.skipToEnd();return u(p,J.html)},table:function(c,p){p.layoutType="table";return(p.mode=h.tableCell)(c,p)},tableCell:function(c,p){c.match(B("tableHeading"))?p.tableHeading=!0:c.eat("|");p.mode=h.tableCellAttributes;return n(p)},tableCellAttributes:function(c,p){p.mode=h.tableText;return c.match(B("tableCellAttributes"))?u(p,J.attributes):n(p)},tableText:function(c,p){return c.match(B("tableText"))?n(p):"|"===c.peek()?(p.mode=h.tableCell,n(p)):Y(c,p,c.next())}};v.defineMode("textile",function(){return{startState:function(){return{mode:h.newLayout}},
|
||
token:function(c,p){c.sol()&&(p.mode=h.newLayout,p.tableHeading=!1,"definitionList"===p.layoutType&&p.spanningLayout&&c.match(B("definitionListEnd"),!1)&&(p.spanningLayout=!1));return p.mode(c,p)},blankLine:A}});v.defineMIME("text/x-textile","textile")})};
|
||
shadow$provide[572]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("tiddlywiki",function(){function Y(aa,O,U){O.tokenize=U;return U(aa,O)}function y(aa,O){var U=aa.sol(),P=aa.peek();O.block=!1;if(U&&/[<\/\*{}\-]/.test(P)){if(aa.match(F))return O.block=!0,Y(aa,O,u);if(aa.match(E))return"quote";if(aa.match(m)||aa.match(q)||aa.match(w)||aa.match(t)||
|
||
aa.match(r)||aa.match(f))return"comment";if(aa.match(p))return"hr"}aa.next();if(U&&/[\/\*!#;:>|]/.test(P)){if("!"==P)return aa.skipToEnd(),"header";if("*"==P)return aa.eatWhile("*"),"comment";if("#"==P)return aa.eatWhile("#"),"comment";if(";"==P)return aa.eatWhile(";"),"comment";if(":"==P)return aa.eatWhile(":"),"comment";if("\x3e"==P)return aa.eatWhile("\x3e"),"quote";if("|"==P)return"header"}if("{"==P&&aa.match("{{"))return Y(aa,O,u);if(/[hf]/i.test(P)&&/[ti]/i.test(aa.peek())&&aa.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";
|
||
if('"'==P)return"string";if("~"==P||/[\[\]]/.test(P)&&aa.match(P))return"brace";if("@"==P)return aa.eatWhile(c),"link";if(/\d/.test(P))return aa.eatWhile(/\d/),"number";if("/"==P){if(aa.eat("%"))return Y(aa,O,n);if(aa.eat("/"))return Y(aa,O,z)}if("_"==P&&aa.eat("_"))return Y(aa,O,A);if("-"==P&&aa.eat("-")){if(" "!=aa.peek())return Y(aa,O,B);if(" "==aa.peek())return"brace"}if("'"==P&&aa.eat("'"))return Y(aa,O,b);if("\x3c"==P&&aa.eat("\x3c"))return Y(aa,O,J);aa.eatWhile(/[\w\$_]/);return g.propertyIsEnumerable(aa.current())?
|
||
"keyword":null}function n(aa,O){for(var U=!1,P;P=aa.next();){if("/"==P&&U){O.tokenize=y;break}U="%"==P}return"comment"}function b(aa,O){for(var U=!1,P;P=aa.next();){if("'"==P&&U){O.tokenize=y;break}U="'"==P}return"strong"}function u(aa,O){var U=O.block;if(U&&aa.current())return"comment";if(!U&&aa.match(M)||U&&aa.sol()&&aa.match(C))return O.tokenize=y,"comment";aa.next();return"comment"}function z(aa,O){for(var U=!1,P;P=aa.next();){if("/"==P&&U){O.tokenize=y;break}U="/"==P}return"em"}function A(aa,
|
||
O){for(var U=!1,P;P=aa.next();){if("_"==P&&U){O.tokenize=y;break}U="_"==P}return"underlined"}function B(aa,O){for(var U=!1,P;P=aa.next();){if("-"==P&&U){O.tokenize=y;break}U="-"==P}return"strikethrough"}function J(aa,O){if("\x3c\x3c"==aa.current())return"macro";var U=aa.next();if(!U)return O.tokenize=y,null;if("\x3e"==U&&"\x3e"==aa.peek())return aa.next(),O.tokenize=y,"macro";aa.eatWhile(/[\w\$_]/);return h.propertyIsEnumerable(aa.current())?"keyword":null}var g={},h={allTags:!0,closeAll:!0,list:!0,
|
||
newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,"with":!0,filter:!0},c=/[\w_\-]/i,p=/^\-\-\-\-+$/,m=/^\/\*\*\*$/,q=/^\*\*\*\/$/,E=/^<<<$/,w=/^\/\/\{\{\{$/,t=/^\/\/\}\}\}$/,r=/^\x3c!--\{\{\{--\x3e$/,f=/^\x3c!--\}\}\}--\x3e$/,F=/^\{\{\{$/,C=/^\}\}\}$/,M=/.*?\}\}\}/;return{startState:function(){return{tokenize:y}},token:function(aa,O){return aa.eatSpace()?null:O.tokenize(aa,O)}}});v.defineMIME("text/x-tiddlywiki",
|
||
"tiddlywiki")})};
|
||
shadow$provide[573]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("tiki",function(Y){function y(C,M,aa){return function(O,U){for(;!O.eol();){if(O.match(M)){U.tokenize=b;break}O.next()}aa&&(U.tokenize=aa);return C}}function n(C){return function(M,aa){for(;!M.eol();)M.next();aa.tokenize=b;return C}}function b(C,M){function aa(P){M.tokenize=P;return P(C,
|
||
M)}var O=C.sol(),U=C.next();switch(U){case "{":return C.eat("/"),C.eatSpace(),C.eatWhile(/[^\s\u00a0="'\/?(}]/),M.tokenize=u,"tag";case "_":if(C.eat("_"))return aa(y("strong","__",b));break;case "'":if(C.eat("'"))return aa(y("em","''",b));break;case "(":if(C.eat("("))return aa(y("variable-2","))",b));break;case "[":return aa(y("variable-3","]",b));case "|":if(C.eat("|"))return aa(y("comment","||"));break;case "-":if(C.eat("\x3d"))return aa(y("header string","\x3d-",b));if(C.eat("-"))return aa(y("error tw-deleted",
|
||
"--",b));break;case "\x3d":if(C.match("\x3d\x3d"))return aa(y("tw-underline","\x3d\x3d\x3d",b));break;case ":":if(C.eat(":"))return aa(y("comment","::"));break;case "^":return aa(y("tw-box","^"));case "~":if(C.match("np~"))return aa(y("meta","~/np~"))}if(O)switch(U){case "!":return C.match("!!!!!")||C.match("!!!!")||C.match("!!!")||C.match("!!"),aa(n("header string"));case "*":case "#":case "+":return aa(n("tw-listitem bracket"))}return null}function u(C,M){var aa=C.next(),O=C.peek();if("}"==aa)return M.tokenize=
|
||
b,"tag";if("("==aa||")"==aa)return"bracket";if("\x3d"==aa)return r="equals","\x3e"==O&&(C.next(),O=C.peek()),/['"]/.test(O)||(M.tokenize=A()),"operator";if(/['"]/.test(aa))return M.tokenize=z(aa),M.tokenize(C,M);C.eatWhile(/[^\s\u00a0="'\/?]/);return"keyword"}function z(C){return function(M,aa){for(;!M.eol();)if(M.next()==C){aa.tokenize=u;break}return"string"}}function A(){return function(C,M){for(;!C.eol();){var aa=C.next(),O=C.peek();if(" "==aa||","==aa||/[ )}]/.test(O)){M.tokenize=u;break}}return"string"}}
|
||
function B(){for(var C=arguments.length-1;0<=C;C--)f.cc.push(arguments[C])}function J(){B.apply(null,arguments);return!0}function g(C,M){f.context={prev:f.context,pluginName:C,indent:f.indented,startOfLine:M,noIndent:f.context&&f.context.noIndent}}function h(C){if("openPlugin"==C)return f.pluginName=t,J(m,c(f.startOfLine));if("closePlugin"==C)return f.context?(C=f.context.pluginName!=t,f.context&&(f.context=f.context.prev)):C=!0,C&&(F="error"),J(p(C));"string"==C&&(f.context&&"!cdata"==f.context.name||
|
||
g("!cdata"),f.tokenize==b&&f.context&&(f.context=f.context.prev));return J()}function c(C){return function(M){if("selfclosePlugin"==M||"endPlugin"==M)return J();"endPlugin"==M&&g(f.pluginName,C);return J()}}function p(C){return function(M){C&&(F="error");return"endPlugin"==M?J():B()}}function m(C){return"keyword"==C?(F="attribute",J(m)):"equals"==C?J(q,m):B()}function q(C){return"keyword"==C?(F="string",J()):"string"==C?J(E):B()}function E(C){return"string"==C?J(E):B()}var w=Y.indentUnit,t,r,f,F;
|
||
return{startState:function(){return{tokenize:b,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(C,M){C.sol()&&(M.startOfLine=!0,M.indented=C.indentation());if(C.eatSpace())return null;F=r=t=null;if(((C=M.tokenize(C,M))||r)&&"comment"!=C)for(f=M;!(M.cc.pop()||h)(r||C););M.startOfLine=!1;return F||C},indent:function(C,M){if((C=C.context)&&C.noIndent)return 0;C&&/^{\//.test(M)&&(C=C.prev);for(;C&&!C.startOfLine;)C=C.prev;return C?C.indent+w:0},electricChars:"/"}});v.defineMIME("text/tiki",
|
||
"tiki")})};
|
||
shadow$provide[574]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(Y,y){y.inString||'"'!=Y.peek()&&"'"!=Y.peek()||(y.stringType=Y.peek(),Y.next(),y.inString=!0);Y.sol()&&0===y.inArray&&(y.lhs=!0);if(y.inString){for(;y.inString&&!Y.eol();)Y.peek()===
|
||
y.stringType?(Y.next(),y.inString=!1):"\\"===Y.peek()?(Y.next(),Y.next()):Y.match(/^.[^\\"']*/);return y.lhs?"property string":"string"}if(y.inArray&&"]"===Y.peek())return Y.next(),y.inArray--,"bracket";if(y.lhs&&"["===Y.peek()&&Y.skipTo("]"))return Y.next(),"]"===Y.peek()&&Y.next(),"atom";if("#"===Y.peek())return Y.skipToEnd(),"comment";if(!Y.eatSpace()){if(y.lhs&&Y.eatWhile(function(n){return"\x3d"!=n&&" "!=n}))return"property";if(y.lhs&&"\x3d"===Y.peek())Y.next(),y.lhs=!1;else{if(!y.lhs&&Y.match(/^\d\d\d\d[\d\-:\.T]*Z/)||
|
||
!y.lhs&&(Y.match("true")||Y.match("false")))return"atom";if(y.lhs||"["!==Y.peek()){if(!y.lhs&&Y.match(/^\-?\d+(?:\.\d+)?/))return"number";Y.eatSpace()||Y.next()}else return y.inArray++,Y.next(),"bracket"}}return null}}});v.defineMIME("text/x-toml","toml")})};
|
||
shadow$provide[575]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(488),ba(489)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/overlay"],v):v(CodeMirror)})(function(v){v.defineMode("tornado:inner",function(){function Y(b,u){b.eatWhile(/[^\{]/);var z=b.next();if("{"==z&&(z=b.eat(/\{|%|#/)))return u.tokenize=y(z),"tag"}function y(b){"{"==b&&(b="}");return function(u,z){return u.next()==b&&u.eat("}")?
|
||
(z.tokenize=Y,"tag"):u.match(n)?"keyword":"#"==b?"comment":"string"}}var n="and as assert autoescape block break class comment context continue datetime def del elif else end escape except exec extends false finally for from global if import in include is json_encode lambda length linkify load module none not or pass print put raise raw return self set squeeze super true try url_escape while with without xhtml_escape yield".split(" ");n=new RegExp("^(("+n.join(")|(")+"))\\b");return{startState:function(){return{tokenize:Y}},
|
||
token:function(b,u){return u.tokenize(b,u)}}});v.defineMode("tornado",function(Y){var y=v.getMode(Y,"text/html");Y=v.getMode(Y,"tornado:inner");return v.overlayMode(y,Y)});v.defineMIME("text/x-tornado","tornado")})};
|
||
shadow$provide[576]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("troff",function(){function Y(n){if(n.eatSpace())return null;var b=n.sol(),u=n.next();if("\\"===u){if(n.match("fB")||n.match("fR")||n.match("fI")||n.match("u")||n.match("d")||n.match("%")||n.match("\x26"))return"string";if(n.match("m["))return n.skipTo("]"),n.next(),"string";if(n.match("s+")||
|
||
n.match("s-"))return n.eatWhile(/[\d-]/),"string";(n.match("(")||n.match("*("))&&n.eatWhile(/[\w-]/);return"string"}if(b&&("."===u||"'"===u)&&n.eat("\\")&&n.eat('"'))return n.skipToEnd(),"comment";if(b&&"."===u){if(n.match("B ")||n.match("I ")||n.match("R "))return"attribute";if(n.match("TH ")||n.match("SH ")||n.match("SS ")||n.match("HP "))return n.skipToEnd(),"quote";if(n.match(/[A-Z]/)&&n.match(/[A-Z]/)||n.match(/[a-z]/)&&n.match(/[a-z]/))return"attribute"}n.eatWhile(/[\w-]/);n=n.current();return y.hasOwnProperty(n)?
|
||
y[n]:null}var y={};return{startState:function(){return{tokens:[]}},token:function(n,b){return(b.tokens[0]||Y)(n,b)}}});v.defineMIME("text/troff","troff");v.defineMIME("text/x-troff","troff");v.defineMIME("application/x-troff","troff")})};
|
||
shadow$provide[577]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(y){var n={};y=y.split(" ");for(var b=0;b<y.length;++b)n[y[b]]=!0;return n}v.defineMode("ttcn-cfg",function(y,n){function b(w,t){var r=w.next();if('"'==r||"'"==r)return t.tokenize=u(r),t.tokenize(w,t);if(/[:=]/.test(r))return E=r,"punctuation";if("#"==r)return w.skipToEnd(),"comment";
|
||
if(/\d/.test(r))return w.eatWhile(/[\w\.]/),"number";if(q.test(r))return w.eatWhile(q),"operator";if("["==r)return w.eatWhile(/[\w_\]]/),"number sectionTitle";w.eatWhile(/[\w\$_]/);w=w.current();return g.propertyIsEnumerable(w)?"keyword":h.propertyIsEnumerable(w)?"negative fileNCtrlMaskOptions":c.propertyIsEnumerable(w)?"negative externalCommands":"variable"}function u(w){return function(t,r){for(var f=!1,F,C=!1;null!=(F=t.next());){if(F==w&&!f){if(F=t.peek())F=F.toLowerCase(),"b"!=F&&"h"!=F&&"o"!=
|
||
F||t.next();C=!0;break}f=!f&&"\\"==F}if(C||!f&&!p)r.tokenize=null;return"string"}}function z(w,t,r,f,F){this.indented=w;this.column=t;this.type=r;this.align=f;this.prev=F}function A(w,t,r){var f=w.indented;w.context&&"statement"==w.context.type&&(f=w.context.indented);return w.context=new z(f,t,r,null,w.context)}function B(w){var t=w.context.type;if(")"==t||"]"==t||"}"==t)w.indented=w.context.indented;return w.context=w.context.prev}var J=y.indentUnit,g=n.keywords||{},h=n.fileNCtrlMaskOptions||{},
|
||
c=n.externalCommands||{},p=n.multiLineStrings,m=!1!==n.indentStatements,q=/[\|]/,E;return{startState:function(w){return{tokenize:null,context:new z((w||0)-J,0,"top",!1),indented:0,startOfLine:!0}},token:function(w,t){var r=t.context;w.sol()&&(null==r.align&&(r.align=!1),t.indented=w.indentation(),t.startOfLine=!0);if(w.eatSpace())return null;E=null;var f=(t.tokenize||b)(w,t);if("comment"==f)return f;null==r.align&&(r.align=!0);if(";"!=E&&":"!=E&&","!=E||"statement"!=r.type)if("{"==E)A(t,w.column(),
|
||
"}");else if("["==E)A(t,w.column(),"]");else if("("==E)A(t,w.column(),")");else if("}"==E){for(;"statement"==r.type;)r=B(t);for("}"==r.type&&(r=B(t));"statement"==r.type;)r=B(t)}else E==r.type?B(t):m&&(("}"==r.type||"top"==r.type)&&";"!=E||"statement"==r.type&&"newstatement"==E)&&A(t,w.column(),"statement");else B(t);t.startOfLine=!1;return f},electricChars:"{}",lineComment:"#",fold:"brace"}});v.defineMIME("text/x-ttcn-cfg",{name:"ttcn-cfg",keywords:Y("Yes No LogFile FileMask ConsoleMask AppendFile TimeStampFormat LogEventTypes SourceInfoFormat LogEntityName LogSourceInfo DiskFullAction LogFileNumber LogFileSize MatchingHints Detailed Compact SubCategories Stack Single None Seconds DateTime Time Stop Error Retry Delete TCPPort KillTimer NumHCs UnixSocketsEnabled LocalAddress"),
|
||
fileNCtrlMaskOptions:Y("TTCN_EXECUTOR TTCN_ERROR TTCN_WARNING TTCN_PORTEVENT TTCN_TIMEROP TTCN_VERDICTOP TTCN_DEFAULTOP TTCN_TESTCASE TTCN_ACTION TTCN_USER TTCN_FUNCTION TTCN_STATISTICS TTCN_PARALLEL TTCN_MATCHING TTCN_DEBUG EXECUTOR ERROR WARNING PORTEVENT TIMEROP VERDICTOP DEFAULTOP TESTCASE ACTION USER FUNCTION STATISTICS PARALLEL MATCHING DEBUG LOG_ALL LOG_NOTHING ACTION_UNQUALIFIED DEBUG_ENCDEC DEBUG_TESTPORT DEBUG_UNQUALIFIED DEFAULTOP_ACTIVATE DEFAULTOP_DEACTIVATE DEFAULTOP_EXIT DEFAULTOP_UNQUALIFIED ERROR_UNQUALIFIED EXECUTOR_COMPONENT EXECUTOR_CONFIGDATA EXECUTOR_EXTCOMMAND EXECUTOR_LOGOPTIONS EXECUTOR_RUNTIME EXECUTOR_UNQUALIFIED FUNCTION_RND FUNCTION_UNQUALIFIED MATCHING_DONE MATCHING_MCSUCCESS MATCHING_MCUNSUCC MATCHING_MMSUCCESS MATCHING_MMUNSUCC MATCHING_PCSUCCESS MATCHING_PCUNSUCC MATCHING_PMSUCCESS MATCHING_PMUNSUCC MATCHING_PROBLEM MATCHING_TIMEOUT MATCHING_UNQUALIFIED PARALLEL_PORTCONN PARALLEL_PORTMAP PARALLEL_PTC PARALLEL_UNQUALIFIED PORTEVENT_DUALRECV PORTEVENT_DUALSEND PORTEVENT_MCRECV PORTEVENT_MCSEND PORTEVENT_MMRECV PORTEVENT_MMSEND PORTEVENT_MQUEUE PORTEVENT_PCIN PORTEVENT_PCOUT PORTEVENT_PMIN PORTEVENT_PMOUT PORTEVENT_PQUEUE PORTEVENT_STATE PORTEVENT_UNQUALIFIED STATISTICS_UNQUALIFIED STATISTICS_VERDICT TESTCASE_FINISH TESTCASE_START TESTCASE_UNQUALIFIED TIMEROP_GUARD TIMEROP_READ TIMEROP_START TIMEROP_STOP TIMEROP_TIMEOUT TIMEROP_UNQUALIFIED USER_UNQUALIFIED VERDICTOP_FINAL VERDICTOP_GETVERDICT VERDICTOP_SETVERDICT VERDICTOP_UNQUALIFIED WARNING_UNQUALIFIED"),
|
||
externalCommands:Y("BeginControlPart EndControlPart BeginTestCase EndTestCase"),multiLineStrings:!0})})};
|
||
shadow$provide[578]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(y){var n={};y=y.split(" ");for(var b=0;b<y.length;++b)n[y[b]]=!0;return n}v.defineMode("ttcn",function(y,n){function b(T,K){var D=T.next();if('"'==D||"'"==D)return K.tokenize=u(D),K.tokenize(T,K);if(/[\[\]{}\(\),;\\:\?\.]/.test(D))return V=D,"punctuation";if("#"==D)return T.skipToEnd(),
|
||
"atom preprocessor";if("%"==D)return T.eatWhile(/\b/),"atom ttcn3Macros";if(/\d/.test(D))return T.eatWhile(/[\w\.]/),"number";if("/"==D){if(T.eat("*"))return K.tokenize=z,z(T,K);if(T.eat("/"))return T.skipToEnd(),"comment"}if(P.test(D)){if("@"==D&&(T.match("try")||T.match("catch")||T.match("lazy")))return"keyword";T.eatWhile(P);return"operator"}T.eatWhile(/[\w\$_\xa1-\uffff]/);T=T.current();return h.propertyIsEnumerable(T)?"keyword":c.propertyIsEnumerable(T)?"builtin":p.propertyIsEnumerable(T)?"def timerOps":
|
||
q.propertyIsEnumerable(T)?"def configOps":E.propertyIsEnumerable(T)?"def verdictOps":m.propertyIsEnumerable(T)?"def portOps":w.propertyIsEnumerable(T)?"def sutOps":t.propertyIsEnumerable(T)?"def functionOps":r.propertyIsEnumerable(T)?"string verdictConsts":f.propertyIsEnumerable(T)?"string booleanConsts":F.propertyIsEnumerable(T)?"string otherConsts":C.propertyIsEnumerable(T)?"builtin types":M.propertyIsEnumerable(T)?"builtin visibilityModifiers":aa.propertyIsEnumerable(T)?"atom templateMatch":"variable"}
|
||
function u(T){return function(K,D){for(var L=!1,Q,N=!1;null!=(Q=K.next());){if(Q==T&&!L){if(Q=K.peek())Q=Q.toLowerCase(),"b"!=Q&&"h"!=Q&&"o"!=Q||K.next();N=!0;break}L=!L&&"\\"==Q}if(N||!L&&!O)D.tokenize=null;return"string"}}function z(T,K){for(var D=!1,L;L=T.next();){if("/"==L&&D){K.tokenize=null;break}D="*"==L}return"comment"}function A(T,K,D,L,Q){this.indented=T;this.column=K;this.type=D;this.align=L;this.prev=Q}function B(T,K,D){var L=T.indented;T.context&&"statement"==T.context.type&&(L=T.context.indented);
|
||
return T.context=new A(L,K,D,null,T.context)}function J(T){var K=T.context.type;if(")"==K||"]"==K||"}"==K)T.indented=T.context.indented;return T.context=T.context.prev}var g=y.indentUnit,h=n.keywords||{},c=n.builtin||{},p=n.timerOps||{},m=n.portOps||{},q=n.configOps||{},E=n.verdictOps||{},w=n.sutOps||{},t=n.functionOps||{},r=n.verdictConsts||{},f=n.booleanConsts||{},F=n.otherConsts||{},C=n.types||{},M=n.visibilityModifiers||{},aa=n.templateMatch||{},O=n.multiLineStrings,U=!1!==n.indentStatements,
|
||
P=/[+\-*&@=<>!\/]/,V;return{startState:function(T){return{tokenize:null,context:new A((T||0)-g,0,"top",!1),indented:0,startOfLine:!0}},token:function(T,K){var D=K.context;T.sol()&&(null==D.align&&(D.align=!1),K.indented=T.indentation(),K.startOfLine=!0);if(T.eatSpace())return null;V=null;var L=(K.tokenize||b)(T,K);if("comment"==L)return L;null==D.align&&(D.align=!0);if(";"!=V&&":"!=V&&","!=V||"statement"!=D.type)if("{"==V)B(K,T.column(),"}");else if("["==V)B(K,T.column(),"]");else if("("==V)B(K,T.column(),
|
||
")");else if("}"==V){for(;"statement"==D.type;)D=J(K);for("}"==D.type&&(D=J(K));"statement"==D.type;)D=J(K)}else V==D.type?J(K):U&&(("}"==D.type||"top"==D.type)&&";"!=V||"statement"==D.type&&"newstatement"==V)&&B(K,T.column(),"statement");else J(K);K.startOfLine=!1;return L},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});(function(y,n){function b(A){if(A)for(var B in A)A.hasOwnProperty(B)&&u.push(B)}"string"==typeof y&&(y=[y]);var u=[];b(n.keywords);
|
||
b(n.builtin);b(n.timerOps);b(n.portOps);u.length&&(n.helperType=y[0],v.registerHelper("hintWords",y[0],u));for(var z=0;z<y.length;++z)v.defineMIME(y[z],n)})(["text/x-ttcn","text/x-ttcn3","text/x-ttcnpp"],{name:"ttcn",keywords:Y("activate address alive all alt altstep and and4b any break case component const continue control deactivate display do else encode enumerated except exception execute extends extension external for from function goto group if import in infinity inout interleave label language length log match message mixed mod modifies module modulepar mtc noblock not not4b nowait of on optional or or4b out override param pattern port procedure record recursive rem repeat return runs select self sender set signature system template testcase to type union value valueof var variant while with xor xor4b"),
|
||
builtin:Y("bit2hex bit2int bit2oct bit2str char2int char2oct encvalue decomp decvalue float2int float2str hex2bit hex2int hex2oct hex2str int2bit int2char int2float int2hex int2oct int2str int2unichar isbound ischosen ispresent isvalue lengthof log2str oct2bit oct2char oct2hex oct2int oct2str regexp replace rnd sizeof str2bit str2float str2hex str2int str2oct substr unichar2int unichar2char enum2int"),types:Y("anytype bitstring boolean char charstring default float hexstring integer objid octetstring universal verdicttype timer"),
|
||
timerOps:Y("read running start stop timeout"),portOps:Y("call catch check clear getcall getreply halt raise receive reply send trigger"),configOps:Y("create connect disconnect done kill killed map unmap"),verdictOps:Y("getverdict setverdict"),sutOps:Y("action"),functionOps:Y("apply derefers refers"),verdictConsts:Y("error fail inconc none pass"),booleanConsts:Y("true false"),otherConsts:Y("null NULL omit"),visibilityModifiers:Y("private public friend"),templateMatch:Y("complement ifpresent subset superset permutation"),
|
||
multiLineStrings:!0})})};
|
||
shadow$provide[579]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("turtle",function(Y){function y(g,h){var c=g.next();A=null;if("\x3c"!=c||g.match(/^[\s\u00a0=]/,!1)){if('"'==c||"'"==c)return h.tokenize=n(c),h.tokenize(g,h);if(/[{}\(\),\.;\[\]]/.test(c))return A=c,null;if("#"==c)return g.skipToEnd(),"comment";if(J.test(c))return g.eatWhile(J),null;
|
||
if(":"==c)return"operator";g.eatWhile(/[_\w\d]/);if(":"==g.peek())return"variable-3";g=g.current();return B.test(g)?"meta":"A"<=c&&"Z">=c?"comment":"keyword"}g.match(/^[^\s\u00a0>]*>?/);return"atom"}function n(g){return function(h,c){for(var p=!1,m;null!=(m=h.next());){if(m==g&&!p){c.tokenize=y;break}p=!p&&"\\"==m}return"string"}}function b(g,h,c){g.context={prev:g.context,indent:g.indent,col:c,type:h}}function u(g){g.indent=g.context.indent;g.context=g.context.prev}var z=Y.indentUnit,A,B=RegExp("^(?:@prefix|@base|a)$",
|
||
"i"),J=/[*+\-<>=&|]/;return{startState:function(){return{tokenize:y,context:null,indent:0,col:0}},token:function(g,h){g.sol()&&(h.context&&null==h.context.align&&(h.context.align=!1),h.indent=g.indentation());if(g.eatSpace())return null;var c=h.tokenize(g,h);"comment"!=c&&h.context&&null==h.context.align&&"pattern"!=h.context.type&&(h.context.align=!0);if("("==A)b(h,")",g.column());else if("["==A)b(h,"]",g.column());else if("{"==A)b(h,"}",g.column());else if(/[\]\}\)]/.test(A)){for(;h.context&&"pattern"==
|
||
h.context.type;)u(h);h.context&&A==h.context.type&&u(h)}else"."==A&&h.context&&"pattern"==h.context.type?u(h):/atom|string|variable/.test(c)&&h.context&&(/[\}\]]/.test(h.context.type)?b(h,"pattern",g.column()):"pattern"!=h.context.type||h.context.align||(h.context.align=!0,h.context.col=g.column()));return c},indent:function(g,h){h=h&&h.charAt(0);g=g.context;if(/[\]\}]/.test(h))for(;g&&"pattern"==g.type;)g=g.prev;h=g&&h==g.type;return g?"pattern"==g.type?g.col:g.align?g.col+(h?0:1):g.indent+(h?0:
|
||
z):0},lineComment:"#"}});v.defineMIME("text/turtle","turtle")})};
|
||
shadow$provide[580]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(513)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../addon/mode/multiplex"],v):v(CodeMirror)})(function(v){v.defineMode("twig:inner",function(){function Y(A,B){var J=A.peek();if(B.incomment)return A.skipTo("#}")?(A.eatWhile(/#|}/),B.incomment=!1):A.skipToEnd(),"comment";if(B.intag){if(B.operator){B.operator=!1;if(A.match(u))return"atom";if(A.match(z))return"number"}if(B.sign){B.sign=
|
||
!1;if(A.match(u))return"atom";if(A.match(z))return"number"}if(B.instring)return J==B.instring&&(B.instring=!1),A.next(),"string";if("'"==J||'"'==J)return B.instring=J,A.next(),"string";if(A.match(B.intag+"}")||A.eat("-")&&A.match(B.intag+"}"))return B.intag=!1,"tag";if(A.match(n))return B.operator=!0,"operator";if(A.match(b))B.sign=!0;else if(A.eat(" ")||A.sol()){if(A.match(y))return"keyword";if(A.match(u))return"atom";if(A.match(z))return"number";A.sol()&&A.next()}else A.next();return"variable"}if(A.eat("{")){if(A.eat("#"))return B.incomment=
|
||
!0,A.skipTo("#}")?(A.eatWhile(/#|}/),B.incomment=!1):A.skipToEnd(),"comment";if(J=A.eat(/\{|%/))return B.intag=J,"{"==J&&(B.intag="}"),A.eat("-"),"tag"}A.next()}var y="and as autoescape endautoescape block do endblock else elseif extends for endfor embed endembed filter endfilter flush from if endif in is include import not or set spaceless endspaceless with endwith trans endtrans blocktrans endblocktrans macro endmacro use verbatim endverbatim".split(" "),n=/^[+\-*&%=<>!?|~^]/,b=/^[:\[\(\{]/,u="true;false;null;empty;defined;divisibleby;divisible by;even;odd;iterable;sameas;same as".split(";"),
|
||
z=/^(\d[+\-\*\/])?\d+(\.\d+)?/;y=new RegExp("(("+y.join(")|(")+"))\\b");u=new RegExp("(("+u.join(")|(")+"))\\b");return{startState:function(){return{}},token:function(A,B){return Y(A,B)}}});v.defineMode("twig",function(Y,y){var n=v.getMode(Y,"twig:inner");return y&&y.base?v.multiplexingMode(v.getMode(Y,y.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:n,parseDelimiters:!0}):n});v.defineMIME("text/x-twig","twig")})};
|
||
shadow$provide[581]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("vb",function(Y,y){function n(U){return new RegExp("^(("+U.join(")|(")+"))\\b","i")}function b(U,P){if(U.eatSpace())return null;if("'"===U.peek())return U.skipToEnd(),"comment";if(U.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var V=!1;U.match(/^\d*\.\d+F?/i)?V=!0:U.match(/^\d+\.\d*F?/)?V=
|
||
!0:U.match(/^\.\d+F?/)&&(V=!0);if(V)return U.eat(/J/i),"number";V=!1;U.match(/^&H[0-9a-f]+/i)?V=!0:U.match(/^&O[0-7]+/i)?V=!0:U.match(/^[1-9]\d*F?/)?(U.eat(/J/i),V=!0):U.match(/^0(?![\dx])/i)&&(V=!0);if(V)return U.eat(/L/i),"number"}if(U.match('"'))return P.tokenize=u(U.current()),P.tokenize(U,P);if(U.match(g)||U.match(J))return null;if(U.match(B)||U.match(z)||U.match(E))return"operator";if(U.match(A))return null;if(U.match(O))return P.currentIndent++,P.doInCurrentLine=!0,"keyword";if(U.match(F))return P.doInCurrentLine?
|
||
P.doInCurrentLine=!1:P.currentIndent++,"keyword";if(U.match(C))return"keyword";if(U.match(aa))return P.currentIndent--,P.currentIndent--,"keyword";if(U.match(M))return P.currentIndent--,"keyword";if(U.match(f)||U.match(r))return"keyword";if(U.match(h))return"variable";U.next();return"error"}function u(U){var P=1==U.length;return function(V,T){for(;!V.eol();){V.eatWhile(/[^'"]/);if(V.match(U))return T.tokenize=b,"string";V.eat(/['"]/)}if(P){if(y.singleLineStringErrors)return"error";T.tokenize=b}return"string"}}
|
||
var z=RegExp("^[\\+\\-\\*/%\x26\\\\|\\^~\x3c\x3e!]"),A=RegExp("^[\\(\\)\\[\\]\\{\\}@,:`\x3d;\\.]"),B=RegExp("^((\x3d\x3d)|(\x3c\x3e)|(\x3c\x3d)|(\x3e\x3d)|(\x3c\x3e)|(\x3c\x3c)|(\x3e\x3e)|(//)|(\\*\\*))"),J=RegExp("^((\\+\x3d)|(\\-\x3d)|(\\*\x3d)|(%\x3d)|(/\x3d)|(\x26\x3d)|(\\|\x3d)|(\\^\x3d))"),g=RegExp("^((//\x3d)|(\x3e\x3e\x3d)|(\x3c\x3c\x3d)|(\\*\\*\x3d))"),h=RegExp("^[_A-Za-z][_A-Za-z0-9]*"),c="class module sub enum select while if function get set property try structure synclock using with".split(" "),
|
||
p=["else","elseif","case","catch","finally"],m=["next","loop"],q="and andalso or orelse xor in not is isnot like".split(" "),E=n(q),w="#const #else #elseif #end #if #region addhandler addressof alias as byref byval cbool cbyte cchar cdate cdbl cdec cint clng cobj compare const continue csbyte cshort csng cstr cuint culng cushort declare default delegate dim directcast each erase error event exit explicit false for friend gettype goto handles implements imports infer inherits interface isfalse istrue lib me mod mustinherit mustoverride my mybase myclass namespace narrowing new nothing notinheritable notoverridable of off on operator option optional out overloads overridable overrides paramarray partial private protected public raiseevent readonly redim removehandler resume return shadows shared static step stop strict then throw to true trycast typeof until until when widening withevents writeonly".split(" "),
|
||
t="object boolean char string byte sbyte short ushort int16 uint16 integer uinteger int32 uint32 long ulong int64 uint64 decimal single double float date datetime intptr uintptr".split(" "),r=n(w),f=n(t),F=n(c),C=n(p),M=n(m),aa=n(["end"]),O=n(["do"]);v.registerHelper("hintWords","vb",c.concat(p).concat(m).concat(q).concat(w).concat(t));return{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:b,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(U,P){U.sol()&&
|
||
(P.currentIndent+=P.nextLineIndent,P.nextLineIndent=0,P.doInCurrentLine=0);var V=P.tokenize(U,P);var T=U.current();if("."===T)V=P.tokenize(U,P),V="variable"===V?"variable":"error";else{var K="[({".indexOf(T);-1!==K&&P.currentIndent++;K="])}".indexOf(T);-1!==K&&P.currentIndent--}P.lastToken={style:V,content:U.current()};return V},indent:function(U,P){P=P.replace(/^\s+|\s+$/g,"");return P.match(M)||P.match(aa)||P.match(C)?Y.indentUnit*(U.currentIndent-1):0>U.currentIndent?0:U.currentIndent*Y.indentUnit},
|
||
lineComment:"'"}});v.defineMIME("text/x-vb","vb")})};
|
||
shadow$provide[582]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("vbscript",function(Y,y){function n(T){return new RegExp("^(("+T.join(")|(")+"))\\b","i")}function b(T,K){if(T.eatSpace())return"space";if("'"===T.peek()||T.match(V))return T.skipToEnd(),"comment";if(T.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!T.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var D=
|
||
!1;T.match(/^\d*\.\d+/i)?D=!0:T.match(/^\d+\.\d*/)?D=!0:T.match(/^\.\d+/)&&(D=!0);if(D)return T.eat(/J/i),"number";D=!1;T.match(/^&H[0-9a-f]+/i)?D=!0:T.match(/^&O[0-7]+/i)?D=!0:T.match(/^[1-9]\d*F?/)?(T.eat(/J/i),D=!0):T.match(/^0(?![\dx])/i)&&(D=!0);if(D)return T.eat(/L/i),"number"}if(T.match('"'))return K.tokenize=u(T.current()),K.tokenize(T,K);if(T.match(A)||T.match(z)||T.match(h))return"operator";if(T.match(B))return null;if(T.match(J))return"bracket";if(T.match(P))return K.doInCurrentLine=!0,
|
||
"keyword";if(T.match(U))return K.currentIndent++,K.doInCurrentLine=!0,"keyword";if(T.match(C))return K.doInCurrentLine?K.doInCurrentLine=!1:K.currentIndent++,"keyword";if(T.match(M))return"keyword";if(T.match(O))return K.currentIndent--,K.currentIndent--,"keyword";if(T.match(aa))return K.doInCurrentLine?K.doInCurrentLine=!1:K.currentIndent--,"keyword";if(T.match(w))return"keyword";if(T.match(t))return"atom";if(T.match(F))return"variable-2";if(T.match(r))return"builtin";if(T.match(f))return"variable-2";
|
||
if(T.match(g))return"variable";T.next();return"error"}function u(T){var K=1==T.length;return function(D,L){for(;!D.eol();){D.eatWhile(/[^'"]/);if(D.match(T))return L.tokenize=b,"string";D.eat(/['"]/)}if(K){if(y.singleLineStringErrors)return"error";L.tokenize=b}return"string"}}var z=RegExp("^[\\+\\-\\*/\x26\\\\\\^\x3c\x3e\x3d]"),A=RegExp("^((\x3c\x3e)|(\x3c\x3d)|(\x3e\x3d))"),B=RegExp("^[\\.,]"),J=RegExp("^[\\(\\)]"),g=RegExp("^[A-Za-z][_A-Za-z0-9]*"),h=n("and or not xor is mod eqv imp".split(" ")),
|
||
c=["WScript","err","debug","RegExp"],p=["server","response","request","session","application"],m="buffer cachecontrol charset contenttype expires expiresabsolute isclientconnected pics status clientcertificate cookies form querystring servervariables totalbytes contents staticobjects codepage lcid sessionid timeout scripttimeout".split(" "),q="addheader appendtolog binarywrite end flush redirect binaryread remove removeall lock unlock abandon getlasterror htmlencode mappath transfer urlencode".split(" "),
|
||
E="clear execute raise replace test write writeline close open state eof update addnew end createobject quit".split(" ").concat("description firstindex global helpcontext helpfile ignorecase length number pattern source value count".split(" "));c=c.concat("vbBlack vbRed vbGreen vbYellow vbBlue vbMagenta vbCyan vbWhite vbBinaryCompare vbTextCompare vbSunday vbMonday vbTuesday vbWednesday vbThursday vbFriday vbSaturday vbUseSystemDayOfWeek vbFirstJan1 vbFirstFourDays vbFirstFullWeek vbGeneralDate vbLongDate vbShortDate vbLongTime vbShortTime vbObjectError vbOKOnly vbOKCancel vbAbortRetryIgnore vbYesNoCancel vbYesNo vbRetryCancel vbCritical vbQuestion vbExclamation vbInformation vbDefaultButton1 vbDefaultButton2 vbDefaultButton3 vbDefaultButton4 vbApplicationModal vbSystemModal vbOK vbCancel vbAbort vbRetry vbIgnore vbYes vbNo vbCr VbCrLf vbFormFeed vbLf vbNewLine vbNullChar vbNullString vbTab vbVerticalTab vbUseDefault vbTrue vbFalse vbEmpty vbNull vbInteger vbLong vbSingle vbDouble vbCurrency vbDate vbString vbObject vbError vbBoolean vbVariant vbDataObject vbDecimal vbByte vbArray".split(" "));
|
||
Y.isASP&&(c=c.concat(p),E=E.concat(q,m));var w=n("dim;redim;then;until;randomize;byval;byref;new;property;exit;in;const;private;public;get;set;let;stop;on error resume next;on error goto 0;option explicit;call;me".split(";")),t=n(["true","false","nothing","empty","null"]),r=n("abs array asc atn cbool cbyte ccur cdate cdbl chr cint clng cos csng cstr date dateadd datediff datepart dateserial datevalue day escape eval execute exp filter formatcurrency formatdatetime formatnumber formatpercent getlocale getobject getref hex hour inputbox instr instrrev int fix isarray isdate isempty isnull isnumeric isobject join lbound lcase left len loadpicture log ltrim rtrim trim maths mid minute month monthname msgbox now oct replace rgb right rnd round scriptengine scriptenginebuildversion scriptenginemajorversion scriptengineminorversion second setlocale sgn sin space split sqr strcomp string strreverse tan time timer timeserial timevalue typename ubound ucase unescape vartype weekday weekdayname year".split(" ")),
|
||
f=n(c),F=n(E),C=n("class sub select while if function property with for".split(" ")),M=n(["else","elseif","case"]),aa=n(["next","loop","wend"]),O=n(["end"]),U=n(["do"]),P=n(["on error resume next","exit"]),V=n(["rem"]);return{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:b,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(T,K){T.sol()&&(K.currentIndent+=K.nextLineIndent,K.nextLineIndent=0,K.doInCurrentLine=0);var D=K.tokenize(T,
|
||
K);var L=T.current();if("."===L)if(D=K.tokenize(T,K),L=T.current(),!D||"variable"!==D.substr(0,8)&&"builtin"!==D&&"keyword"!==D)D="error";else{if("builtin"===D||"keyword"===D)D="variable";-1<E.indexOf(L.substr(1))&&(D="variable-2")}K.lastToken={style:D,content:T.current()};"space"===D&&(D=null);return D},indent:function(T,K){K=K.replace(/^\s+|\s+$/g,"");return K.match(aa)||K.match(O)||K.match(M)?Y.indentUnit*(T.currentIndent-1):0>T.currentIndent?0:T.currentIndent*Y.indentUnit}}});v.defineMIME("text/vbscript",
|
||
"vbscript")})};
|
||
shadow$provide[583]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("velocity",function(){function Y(h){var c={};h=h.split(" ");for(var p=0;p<h.length;++p)c[h[p]]=!0;return c}function y(h,c,p){c.tokenize=p;return p(h,c)}function n(h,c){var p=c.beforeParams;c.beforeParams=!1;var m=h.next();if("'"==m&&!c.inString&&c.inParams)return c.lastTokenWasBuiltin=
|
||
!1,y(h,c,b(m));if('"'==m){c.lastTokenWasBuiltin=!1;if(c.inString)return c.inString=!1,"string";if(c.inParams)return y(h,c,b(m))}else{if(/[\[\]{}\(\),;\.]/.test(m))return"("==m&&p?c.inParams=!0:")"==m&&(c.inParams=!1,c.lastTokenWasBuiltin=!0),null;if(/\d/.test(m))return c.lastTokenWasBuiltin=!1,h.eatWhile(/[\w\.]/),"number";if("#"==m&&h.eat("*"))return c.lastTokenWasBuiltin=!1,y(h,c,u);if("#"==m&&h.match(/ *\[ *\[/))return c.lastTokenWasBuiltin=!1,y(h,c,z);if("#"==m&&h.eat("#"))return c.lastTokenWasBuiltin=
|
||
!1,h.skipToEnd(),"comment";if("$"==m){h.eat("!");h.eatWhile(/[\w\d\$_\.{}-]/);if(J&&J.propertyIsEnumerable(h.current()))return"keyword";c.lastTokenWasBuiltin=!0;c.beforeParams=!0;return"builtin"}if(g.test(m))return c.lastTokenWasBuiltin=!1,h.eatWhile(g),"operator";h.eatWhile(/[\w\$_{}@]/);p=h.current();if(A&&A.propertyIsEnumerable(p))return"keyword";if(B&&B.propertyIsEnumerable(p)||h.current().match(/^#@?[a-z0-9_]+ *$/i)&&"("==h.peek()&&(!B||!B.propertyIsEnumerable(p.toLowerCase())))return c.beforeParams=
|
||
!0,c.lastTokenWasBuiltin=!1,"keyword";if(c.inString)return c.lastTokenWasBuiltin=!1,"string";if(h.pos>p.length&&"."==h.string.charAt(h.pos-p.length-1)&&c.lastTokenWasBuiltin)return"builtin";c.lastTokenWasBuiltin=!1;return null}}function b(h){return function(c,p){for(var m=!1,q,E=!1;null!=(q=c.next());){if(q==h&&!m){E=!0;break}if('"'==h&&"$"==c.peek()&&!m){E=p.inString=!0;break}m=!m&&"\\"==q}E&&(p.tokenize=n);return"string"}}function u(h,c){for(var p=!1,m;m=h.next();){if("#"==m&&p){c.tokenize=n;break}p=
|
||
"*"==m}return"comment"}function z(h,c){for(var p=0,m;m=h.next();){if("#"==m&&2==p){c.tokenize=n;break}"]"==m?p++:" "!=m&&(p=0)}return"meta"}var A=Y("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"),B=Y("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"),J=Y("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"),
|
||
g=/[+\-*&%=<>!?:\/|]/;return{startState:function(){return{tokenize:n,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(h,c){return h.eatSpace()?null:c.tokenize(h,c)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}});v.defineMIME("text/velocity","velocity")})};
|
||
shadow$provide[584]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(B,J,g){return"tlv-"+B.tlvIndentationStyle[J/3]+"-"+g}v.defineMode("verilog",function(B,J){function g(Fa){var Ba={};Fa=Fa.split(" ");for(var Ka=0;Ka<Fa.length;++Ka)Ba[Fa[Ka]]=!0;return Ba}function h(Fa,Ba){var Ka=Fa.peek(),Oa;if(aa[Ka]&&0!=(Oa=aa[Ka](Fa,Ba))||aa.tokenBase&&0!=(Oa=aa.tokenBase(Fa,
|
||
Ba)))return Oa;if(/[,;:\.]/.test(Ka))return S=Fa.next(),null;if(P.test(Ka))return S=Fa.next(),"bracket";if("`"==Ka)return Fa.next(),Fa.eatWhile(/[\w\$_]/)?(ha=Ba=Fa.current(),Ba.startsWith("`uvm_")&&Ba.endsWith("_begin")?(Fa=ha.substr(0,ha.length-5)+"end",W[Ba]=Fa,S="newblock"):(Fa.eatSpace(),"("==Fa.peek()&&(S="newmacro"),Ka=Fa.current(),Fa.backUp(Ka.length-Ba.length)),"def"):null;if("$"==Ka)return Fa.next(),Fa.eatWhile(/[\w\$_]/)?"meta":null;if("#"==Ka)return Fa.next(),Fa.eatWhile(/[\d_.]/),"def";
|
||
if("@"==Ka)return Fa.next(),Fa.eatWhile(/[@]/),"def";if('"'==Ka)return Fa.next(),Ba.tokenize=c(Ka),Ba.tokenize(Fa,Ba);if("/"==Ka){Fa.next();if(Fa.eat("*"))return Ba.tokenize=p,p(Fa,Ba);if(Fa.eat("/"))return Fa.skipToEnd(),"comment";Fa.backUp(1)}if(Fa.match(Q)||Fa.match(T)||Fa.match(K)||Fa.match(D)||Fa.match(L)||Fa.match(V)||Fa.match(Q))return"number";if(Fa.eatWhile(U))return S=Fa.current(),"meta";if(Fa.eatWhile(/[\w\$_]/))return Ba=Fa.current(),O[Ba]?(W[Ba]&&(S="newblock","fork"===Ba&&(Fa.eatSpace(),
|
||
";"==Fa.peek()&&(S="newstatement"),Fa.backUp(Fa.current().length-Ba.length))),va[Ba]&&(S="newstatement"),ha=Ba,"keyword"):"variable";Fa.next();return null}function c(Fa){return function(Ba,Ka){for(var Oa=!1,Va,Ya=!1;null!=(Va=Ba.next());){if(Va==Fa&&!Oa){Ya=!0;break}Oa=!Oa&&"\\"==Va}if(Ya||!Oa&&!M)Ka.tokenize=h;return"string"}}function p(Fa,Ba){for(var Ka=!1,Oa;Oa=Fa.next();){if("/"==Oa&&Ka){Ba.tokenize=h;break}Ka="*"==Oa}return"comment"}function m(Fa,Ba,Ka,Oa,Va,Ya){this.indented=Fa;this.column=
|
||
Ba;this.type=Ka;this.scopekind=Oa;this.align=Va;this.prev=Ya}function q(Fa,Ba,Ka,Oa){Ba=new m(Fa.indented,Ba,Ka,Oa?Oa:"",null,Fa.context);return Fa.context=Ba}function E(Fa){var Ba=Fa.context.type;if(")"==Ba||"]"==Ba||"}"==Ba)Fa.indented=Fa.context.indented;return Fa.context=Fa.context.prev}function w(Fa,Ba){if(Fa==Ba)return!0;Ba=Ba.split(";");for(var Ka in Ba)if(Fa==Ba[Ka])return!0;return!1}function t(Fa,Ba){return null==Fa?!1:Fa.scopekind===Ba?!0:t(Fa.prev,Ba)}var r=B.indentUnit,f=J.statementIndentUnit||
|
||
r,F=J.dontAlignCalls,C=J.compilerDirectivesUseRegularIndentation;B=J.noIndentKeywords||[];var M=J.multiLineStrings,aa=J.hooks||{},O=g("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 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 reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),
|
||
U=/[\+\-\*\/!~&|^%=?:<>]/,P=/[\[\]{}()]/,V=/\d[0-9_]*/,T=/\d*\s*'s?d\s*\d[0-9_]*/i,K=/\d*\s*'s?b\s*[xz01][xz01_]*/i,D=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,L=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,Q=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,N=/^((`?\w+)|[)}\]])/,la=/[)}\]]/,R=RegExp("^(`(?:ifdef|ifndef|elsif|else|endif|undef|undefineall|define|include|begin_keywords|celldefine|default|nettype|end_keywords|endcelldefine|line|nounconnected_drive|pragma|resetall|timescale|unconnected_drive))\\b"),
|
||
Z=/^(`(?:ifdef|ifndef|elsif|else))\b/,X=/^(`(?:elsif|else|endif))\b/,S,ha;J=g("case checker class clocking config function generate interface module package primitive program property specify sequence table task");var W={};for(wa in J)W[wa]="end"+wa;W.begin="end";W.casex="endcase";W.casez="endcase";W["do"]="while";W.fork="join;join_any;join_none";W.covergroup="endgroup";W.macro_begin="macro_end";for(var ra in B){var wa=B[ra];W[wa]&&(W[wa]=void 0)}var va=g("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while extern typedef");
|
||
return{electricInput:function(){var Fa=[],Ba;for(Ba in W)if(W[Ba]){var Ka=W[Ba].split(";"),Oa;for(Oa in Ka)Fa.push(Ka[Oa])}return new RegExp("[{}()\\[\\]]|("+Fa.join("|")+")$")}(),startState:function(Fa){Fa={tokenize:null,context:new m((Fa||0)-r,0,"top","top",!1),indented:0,compilerDirectiveIndented:0,startOfLine:!0};aa.startState&&aa.startState(Fa);return Fa},token:function(Fa,Ba){var Ka=Ba.context;Fa.sol()&&(null==Ka.align&&(Ka.align=!1),Ba.indented=Fa.indentation(),Ba.startOfLine=!0);if(aa.token){var Oa=
|
||
aa.token(Fa,Ba);if(void 0!==Oa)return Oa}if(Fa.eatSpace())return null;ha=S=null;Oa=(Ba.tokenize||h)(Fa,Ba);if("comment"==Oa||"meta"==Oa||"variable"==Oa)return"\x3d"!==S&&"\x3c\x3d"!==S||t(Ka,"assignment")||(q(Ba,Fa.column()+S.length,"assignment","assignment"),null==Ka.align&&(Ka.align=!0)),Oa;null==Ka.align&&(Ka.align=!0);var Va="assignment"==Ka.type&&la.test(S)&&Ka.prev&&Ka.prev.type===S;if(S==Ka.type||Va)if(Va&&E(Ba),Ka=E(Ba),")"==S){if(Ka&&"macro"===Ka.type)for(Ka=E(Ba);Ka&&("statement"==Ka.type||
|
||
"assignment"==Ka.type);)Ka=E(Ba)}else{if("}"==S&&Ka&&"statement"===Ka.type)for(;Ka&&"statement"==Ka.type;)Ka=E(Ba)}else if(!(";"!=S&&","!=S||"statement"!=Ka.type&&"assignment"!=Ka.type)||Ka.type&&w(ha,Ka.type))for(Ka=E(Ba);Ka&&("statement"==Ka.type||"assignment"==Ka.type);)Ka=E(Ba);else if("{"==S)q(Ba,Fa.column(),"}");else if("["==S)q(Ba,Fa.column(),"]");else if("("==S)q(Ba,Fa.column(),")");else if(Ka&&"endcase"==Ka.type&&":"==S)q(Ba,Fa.column(),"statement","case");else if("newstatement"==S)q(Ba,
|
||
Fa.column(),"statement",ha);else if("newblock"==S){if("function"!=ha||!Ka||"statement"!=Ka.type&&"endgroup"!=Ka.type)"task"==ha&&Ka&&"statement"==Ka.type||"class"==ha&&Ka&&"statement"==Ka.type||(Ka=W[ha],q(Ba,Fa.column(),Ka,ha))}else if("newmacro"==S||ha&&ha.match(R))"newmacro"==S&&q(Ba,Fa.column(),"macro","macro"),ha.match(X)&&(Ba.compilerDirectiveIndented-=f),ha.match(Z)&&(Ba.compilerDirectiveIndented+=f);Ba.startOfLine=!1;return Oa},indent:function(Fa,Ba){if(Fa.tokenize!=h&&null!=Fa.tokenize)return v.Pass;
|
||
if(aa.indent){var Ka=aa.indent(Fa);if(0<=Ka)return Ka}Ka=Fa.context;var Oa=Ba&&Ba.charAt(0);"statement"==Ka.type&&"}"==Oa&&(Ka=Ka.prev);var Va=!1,Ya=Ba.match(N);Ya&&(Va=w(Ya[0],Ka.type));return!C&&Ba.match(R)?Ba.match(X)?Fa.compilerDirectiveIndented-f:Fa.compilerDirectiveIndented:"statement"==Ka.type?Ka.indented+("{"==Oa?0:f):!la.test(Ka.type)&&"assignment"!=Ka.type||!Ka.align||F?")"!=Ka.type||Va?Ka.indented+(Va?0:r):Ka.indented+f:Ka.column+(Va?0:1)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",
|
||
fold:"indent"}});v.defineMIME("text/x-verilog",{name:"verilog"});v.defineMIME("text/x-systemverilog",{name:"verilog"});var y={"|":"link","\x3e":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+\x3d":"variable-3","@+\x3d-":"variable-3","@--":"variable-3","@-\x3d":"variable-3","%+":"tag","%-":"tag","%":"tag","\x3e\x3e":"tag","\x3c\x3c":"tag","\x3c\x3e":"tag","#":"tag","^":"attribute",
|
||
"^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},n={"/":"beh-hier","\x3e":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},b=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,u=/^[! ] /,z=/^[! ] */,A=/^\/[\/\*]/;v.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(B,J){var g=void 0,h;if(B.sol()&&!J.tlvInBlockComment){"\\"==B.peek()&&(g="def",B.skipToEnd(),B.string.match(/\\SV/)?J.tlvCodeActive=
|
||
!1:B.string.match(/\\TLV/)&&(J.tlvCodeActive=!0));J.tlvCodeActive&&0==B.pos&&0==J.indented&&(h=B.match(z,!1))&&(J.indented=h[0].length);var c=J.indented,p=c/3;if(p<=J.tlvIndentationStyle.length){var m=B.string.length==c,q=3*p;if(q<B.string.length){var E=B.string.slice(q),w=E[0];n[w]&&(h=E.match(b))&&y[h[1]]&&(c+=3,"\\"==w&&0<q||(J.tlvIndentationStyle[p]=n[w],p++))}if(!m)for(;J.tlvIndentationStyle.length>p;)J.tlvIndentationStyle.pop()}J.tlvNextIndent=c}if(J.tlvCodeActive)if(void 0!==g)g+=" "+Y(J,0,
|
||
"scope-ident");else if(B.pos/3<J.tlvIndentationStyle.length&&(h=B.match(B.sol()?u:/^ /))){g="tlv-indent-"+(0==B.pos%2?"even":"odd")+" "+Y(J,B.pos-3,"indent");"!"==h[0].charAt(0)&&(g+=" tlv-alert-line-prefix");var t;(t=B.match(b,!1))&&0<t[2].length&&(g+=" "+Y(J,B.pos,"before-scope-ident"))}else J.tlvInBlockComment?(B.match(/^.*?\*\//)?J.tlvInBlockComment=!1:B.skipToEnd(),g="comment"):(h=B.match(A))&&!J.tlvInBlockComment?("//"==h[0]?B.skipToEnd():J.tlvInBlockComment=!0,g="comment"):(h=B.match(b))?
|
||
(g=h[1],h=h[2],y.hasOwnProperty(g)&&(0<h.length||B.eol())?(g=y[g],B.column()==J.indented&&(g+=" "+Y(J,B.column(),"scope-ident"))):(B.backUp(B.current().length-1),g="tlv-default")):B.match(/^\t+/)?g="tlv-tab":B.match(/^[\[\]{}\(\);:]+/)?g="meta":(h=B.match(/^[mM]4([\+_])?[\w\d_]*/))?g="+"==h[1]?"tlv-m4-plus":"tlv-m4":B.match(/^ +/)?g=B.eol()?"error":"tlv-default":B.match(/^[\w\d_]+/)?g="number":(B.next(),g="tlv-default");else B.match(/^[mM]4([\w\d_]*)/)&&(g="tlv-m4");return g},indent:function(B){return 1==
|
||
B.tlvCodeActive?B.tlvNextIndent:-1},startState:function(B){B.tlvIndentationStyle=[];B.tlvCodeActive=!0;B.tlvNextIndent=-1;B.tlvInBlockComment=!1}}})})};
|
||
shadow$provide[585]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(n){var b={};n=n.split(",");for(var u=0;u<n.length;++u){var z=n[u].toUpperCase(),A=n[u].charAt(0).toUpperCase()+n[u].slice(1);b[n[u]]=!0;b[z]=!0;b[A]=!0}return b}function y(n){n.eatWhile(/[\w\$_]/);return"meta"}v.defineMode("vhdl",function(n,b){function u(r,f){var F=r.next();if(p[F]){var C=
|
||
p[F](r,f);if(!1!==C)return C}if('"'==F)return f.tokenize=A(F),f.tokenize(r,f);if("'"==F)return f.tokenize=z(F),f.tokenize(r,f);if(/[\[\]{}\(\),;:\.]/.test(F))return t=F,null;if(/[\d']/.test(F))return r.eatWhile(/[\w\.']/),"number";if("-"==F&&r.eat("-"))return r.skipToEnd(),"comment";if(w.test(F))return r.eatWhile(w),"operator";r.eatWhile(/[\w\$_]/);r=r.current();return q.propertyIsEnumerable(r.toLowerCase())?(E.propertyIsEnumerable(r)&&(t="newstatement"),"keyword"):c.propertyIsEnumerable(r)?"atom":
|
||
"variable"}function z(r){return function(f,F){for(var C=!1,M,aa=!1;null!=(M=f.next());){if(M==r&&!C){aa=!0;break}C=!C&&"--"==M}if(aa||!C&&!m)F.tokenize=u;return"string"}}function A(r){return function(f,F){for(var C=!1,M,aa=!1;null!=(M=f.next());){if(M==r&&!C){aa=!0;break}C=!C&&"--"==M}if(aa||!C&&!m)F.tokenize=u;return"string-2"}}function B(r,f,F,C,M){this.indented=r;this.column=f;this.type=F;this.align=C;this.prev=M}function J(r,f,F){return r.context=new B(r.indented,f,F,null,r.context)}function g(r){var f=
|
||
r.context.type;if(")"==f||"]"==f||"}"==f)r.indented=r.context.indented;return r.context=r.context.prev}var h=n.indentUnit,c=b.atoms||Y("null"),p=b.hooks||{"`":y,$:y},m=b.multiLineStrings,q=Y("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),
|
||
E=Y("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),w=/[&|~><!\)\(*#%@+\/=?:;}{,\.\^\-\[\]]/,t;return{startState:function(r){return{tokenize:null,context:new B((r||0)-h,0,"top",!1),indented:0,startOfLine:!0}},token:function(r,f){var F=f.context;r.sol()&&(null==F.align&&(F.align=!1),f.indented=r.indentation(),f.startOfLine=!0);if(r.eatSpace())return null;t=null;var C=(f.tokenize||u)(r,f);if("comment"==C||"meta"==C)return C;null==F.align&&(F.align=!0);if(";"!=t&&":"!=t||"statement"!=
|
||
F.type)if("{"==t)J(f,r.column(),"}");else if("["==t)J(f,r.column(),"]");else if("("==t)J(f,r.column(),")");else if("}"==t){for(;"statement"==F.type;)F=g(f);for("}"==F.type&&(F=g(f));"statement"==F.type;)F=g(f)}else t==F.type?g(f):("}"==F.type||"top"==F.type||"statement"==F.type&&"newstatement"==t)&&J(f,r.column(),"statement");else g(f);f.startOfLine=!1;return C},indent:function(r,f){if(r.tokenize!=u&&null!=r.tokenize)return 0;f=f&&f.charAt(0);r=r.context;var F=f==r.type;return"statement"==r.type?
|
||
r.indented+("{"==f?0:h):r.align?r.column+(F?0:1):r.indented+(F?0:h)},electricChars:"{}"}});v.defineMIME("text/x-vhdl","vhdl")})};
|
||
shadow$provide[586]=function(ya,ba,Ta,I){(function(v){"object"===typeof I&&"object"===typeof Ta?v(ba(464),ba(489),ba(486),ba(487),ba(478),ba(481),ba(556),ba(568),ba(546),ba(514)):"function"===typeof define&&define.amd?define("../../lib/codemirror ../../addon/mode/overlay ../xml/xml ../javascript/javascript ../coffeescript/coffeescript ../css/css ../sass/sass ../stylus/stylus ../pug/pug ../handlebars/handlebars".split(" "),v):v(CodeMirror)})(function(v){var Y={script:[["lang",/coffee(script)?/,"coffeescript"],
|
||
["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",
|
||
/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};v.defineMode("vue-template",function(y,n){return v.overlayMode(v.getMode(y,n.backdrop||"text/html"),{token:function(b){if(b.match(/^\{\{.*?\}\}/))return"meta mustache";for(;b.next()&&!b.match("{{",!1););return null}})});v.defineMode("vue",function(y){return v.getMode(y,{name:"htmlmixed",tags:Y})},
|
||
"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars");v.defineMIME("script/x-vue","vue");v.defineMIME("text/x-vue","vue")})};
|
||
shadow$provide[587]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(491)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../../addon/mode/simple"],v):v(CodeMirror)})(function(v){v.defineSimpleMode("wast",{start:[{regex:/[+\-]?(?:nan(?::0x[0-9a-fA-F]+)?|infinity|inf|0x[0-9a-fA-F]+\.?[0-9a-fA-F]*p[+\/-]?\d+|\d+(?:\.\d*)?[eE][+\-]?\d*|\d+\.\d*|0x[0-9a-fA-F]+|\d+)/,token:"number"},{regex:RegExp("align|block|br(_if|_table|_on_(cast|data|func|i31|null))?|call(_indirect|_ref)?|current_memory|\\bdata\\b|catch(_all)?|delegate|drop|elem|else|end|export|\\bextern\\b|\\bfunc\\b|global(\\.(get|set))?|if|import|local(\\.(get|set|tee))?|loop|module|mut|nop|offset|param|result|rethrow|return(_call(_indirect|_ref)?)?|select|start|table(\\.(size|get|set|size|grow|fill|init|copy))?|then|throw|try|type|unreachable|unwind|i(32|64)\\.(store(8|16)|(load(8|16)_[su]))|i64\\.(load32_[su]|store32)|[fi](32|64)\\.(const|load|store)|f(32|64)\\.(abs|add|ceil|copysign|div|eq|floor|[gl][et]|max|min|mul|nearest|neg?|sqrt|sub|trunc)|i(32|64)\\.(a[dn]d|c[lt]z|(div|rem)_[su]|eqz?|[gl][te]_[su]|mul|ne|popcnt|rot[lr]|sh(l|r_[su])|sub|x?or)|i64\\.extend_[su]_i32|i32\\.wrap_i64|i(32|64)\\.trunc_f(32|64)_[su]|f(32|64)\\.convert_i(32|64)_[su]|f64\\.promote_f32|f32\\.demote_f64|f32\\.reinterpret_i32|i32\\.reinterpret_f32|f64\\.reinterpret_i64|i64\\.reinterpret_f64|memory(\\.((atomic\\.(notify|wait(32|64)))|grow|size))?|i64.atomic\\.(load32_u|store32|rmw32\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u)|i(32|64)\\.atomic\\.(load((8|16)_u)?|store(8|16)?|rmw(\\.(a[dn]d|sub|x?or|(cmp)?xchg)|(8|16)\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u))|v128\\.load(8x8|16x4|32x2)_[su]|v128\\.load(8|16|32|64)_splat|v128\\.(load|store)(8|16|32|64)_lane|v128\\.load(32|64)_zero|v128.(load|store|const|not|andnot|and|or|xor|bitselect|any_true)|i(8x16|16x8)\\.(extract_lane_[su]|(add|sub)_sat_[su]|avgr_u)|i(8x16|16x8|32x4|64x2)\\.(neg|add|sub|abs|shl|shr_[su]|all_true|bitmask|eq|ne|[lg][te]_s)|(i(8x16|16x8|32x4|64x2)|f(32x4|64x2)).(splat|replace_lane)|i(8x16|16x8|32x4)\\.(([lg][te]_u)|((min|max)_[su]))|f(32x4|64x2)\\.(neg|add|sub|abs|nearest|eq|ne|[lg][te]|sqrt|mul|div|min|max|ceil|floor|trunc)|[fi](32x4|64x2)\\.extract_lane|i8x16\\.(shuffle|swizzle|popcnt|narrow_i16x8_[su])|i16x8\\.(narrow_i32x4_[su]|mul|extadd_pairwise_i8x16_[su]|q15mulr_sat_s)|i16x8\\.(extend|extmul)_(low|high)_i8x16_[su]|i32x4\\.(mul|dot_i16x8_s|trunc_sat_f64x2_[su]_zero)|i32x4\\.((extend|extmul)_(low|high)_i16x8_|trunc_sat_f32x4_|extadd_pairwise_i16x8_)[su]|i64x2\\.(mul|(extend|extmul)_(low|high)_i32x4_[su])|f32x4\\.(convert_i32x4_[su]|demote_f64x2_zero)|f64x2\\.(promote_low_f32x4|convert_low_i32x4_[su])|\\bany\\b|array\\.len|(array|struct)(\\.(new_(default_)?with_rtt|get(_[su])?|set))?|\\beq\\b|field|i31\\.(new|get_[su])|\\bnull\\b|ref(\\.(([ai]s_(data|func|i31))|cast|eq|func|(is_|as_non_)?null|test))?|rtt(\\.(canon|sub))?"),
|
||
token:"keyword"},{regex:/\b((any|data|eq|extern|i31|func)ref|[fi](32|64)|i(8|16))\b/,token:"atom"},{regex:/\$([a-zA-Z0-9_`\+\-\*\/\\\^~=<>!\?@#$%&|:\.]+)/,token:"variable-2"},{regex:/"(?:[^"\\\x00-\x1f\x7f]|\\[nt\\'"]|\\[0-9a-fA-F][0-9a-fA-F])*"/,token:"string"},{regex:/\(;.*?/,token:"comment",next:"comment"},{regex:/;;.*$/,token:"comment"},{regex:/\(/,indent:!0},{regex:/\)/,dedent:!0}],comment:[{regex:/.*?;\)/,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"]}});
|
||
v.defineMIME("text/webassembly","wast")})};
|
||
shadow$provide[588]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){function Y(C){return new RegExp("^(("+C.join(")|(")+"))\\b")}function y(C,M){if(C.eatSpace())return null;if(M.inComment){if(C.match(F))return M.inComment=!1,"comment";C.skipToEnd();return"comment"}if(C.match("//"))return C.skipToEnd(),"comment";if(C.match(r))return"comment";if(C.match(f))return M.inComment=
|
||
!0,"comment";if(C.match(/^-?[0-9\.]/,!1)&&(C.match(m)||C.match(q)))return"number";if(C.match(t))return"string";if(M.startDef&&C.match(E))return"def";if(M.endDef&&C.match(w))return M.endDef=!1,"def";if(C.match(B))return"keyword";if(C.match(z))return M=M.lastToken,C=(C.match(/^\s*(.+?)\b/,!1)||[])[1],":"===M||"implements"===M||"implements"===C||"\x3d"===C?"builtin":"variable-3";if(C.match(b))return"builtin";if(C.match(g))return"atom";if(C.match(E))return"variable";if(C.match(p))return"operator";C.next();
|
||
return null}var n="Clamp Constructor EnforceRange Exposed ImplicitThis Global PrimaryGlobal LegacyArrayClass LegacyUnenumerableNamedProperties LenientThis NamedConstructor NewObject NoInterfaceObject OverrideBuiltins PutForwards Replaceable SameObject TreatNonObjectAsNull TreatNullAs EmptyString Unforgeable Unscopeable".split(" "),b=Y(n),u="unsigned short long unrestricted float double boolean byte octet Promise ArrayBuffer DataView Int8Array Int16Array Int32Array Uint8Array Uint16Array Uint32Array Uint8ClampedArray Float32Array Float64Array ByteString DOMString USVString sequence object RegExp Error DOMException FrozenArray any void".split(" "),
|
||
z=Y(u),A="attribute callback const deleter dictionary enum getter implements inherit interface iterable legacycaller maplike partial required serializer setlike setter static stringifier typedef optional readonly or".split(" "),B=Y(A),J=["true","false","Infinity","NaN","null"],g=Y(J);v.registerHelper("hintWords","webidl",n.concat(u).concat(A).concat(J));var h=Y(["callback","dictionary","enum","interface"]),c=Y(["typedef"]),p=/^[:<=>?]/,m=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,q=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,
|
||
E=/^_?[A-Za-z][0-9A-Z_a-z-]*/,w=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,t=/^"[^"]*"/,r=/^\/\*.*?\*\//,f=/^\/\*.*/,F=/^.*?\*\//;v.defineMode("webidl",function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(C,M){var aa=y(C,M);aa&&(C=C.current(),M.lastToken=C,"keyword"===aa?(M.startDef=h.test(C),M.endDef=M.endDef||c.test(C)):M.startDef=!1);return aa}}});v.defineMIME("text/x-webidl","webidl")})};
|
||
shadow$provide[589]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("xquery",function(){function Y(q,E,w){E.tokenize=w;return w(q,E)}function y(q,E){var w=q.next(),t=!1;var r='"'===q.current()?q.match(/^[^"]+":/,!1):"'"===q.current()?q.match(/^[^"]+':/,!1):!1;if("\x3c"==w){if(q.match("!--",!0))return Y(q,E,B);if(q.match("![CDATA",!1))return E.tokenize=
|
||
J,"tag";if(q.match("?",!1))return Y(q,E,g);t=q.eat("/");q.eatSpace();for(var f="";w=q.eat(/[^\s\u00a0=<>"'\/?]/);)f+=w;return Y(q,E,z(f,t))}if("{"==w)return E.stack.push({type:"codeblock"}),null;if("}"==w)return p(E),null;if(c(E,"tag"))return"\x3e"==w?"tag":"/"==w&&q.eat("\x3e")?(p(E),"tag"):"variable";if(/\d/.test(w))return q.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===w&&q.eat(":"))return E.stack.push({type:"comment"}),Y(q,E,n);if(r||'"'!==w&&"'"!==w){if("$"===w)return Y(q,E,u);if(":"===
|
||
w&&q.eat("\x3d"))return"keyword";if("("===w)return E.stack.push({type:"paren"}),null;if(")"===w)return p(E),null;if("["===w)return E.stack.push({type:"bracket"}),null;if("]"===w)return p(E),null;f=m.propertyIsEnumerable(w)&&m[w];if(r&&'"'===w)for(;'"'!==q.next(););if(r&&"'"===w)for(;"'"!==q.next(););f||q.eatWhile(/[\w\$_-]/);f=q.eat(":");!q.eat(":")&&f&&q.eatWhile(/[\w\$_-]/);q.match(/^[ \t]*\(/,!1)&&(t=!0);q=q.current();f=m.propertyIsEnumerable(q)&&m[q];t&&!f&&(f={type:"function_call",style:"variable def"});
|
||
if(c(E,"xmlconstructor"))return p(E),"variable";"element"!=q&&"attribute"!=q&&"axis_specifier"!=f.type||E.stack.push({type:"xmlconstructor"});return f?f.style:"variable"}return Y(q,E,b(w))}function n(q,E){for(var w=!1,t=!1,r=0,f;f=q.next();){if(")"==f&&w)if(0<r)r--;else{p(E);break}else":"==f&&t&&r++;w=":"==f;t="("==f}return"comment"}function b(q,E){return function(w,t){if(c(t,"string")&&w.current()==q)return p(t),E&&(t.tokenize=E),"string";var r={type:"string",name:q,tokenize:b(q,E)};t.stack.push(r);
|
||
if(w.match("{",!1)&&h(t))return t.tokenize=y,"string";for(;r=w.next();)if(r==q){p(t);E&&(t.tokenize=E);break}else if(w.match("{",!1)&&h(t)){t.tokenize=y;break}return"string"}}function u(q,E){var w=/[\w\$_-]/;if(q.eat('"')){for(;'"'!==q.next(););q.eat(":")}else q.eatWhile(w),q.match(":\x3d",!1)||q.eat(":");q.eatWhile(w);E.tokenize=y;return"variable"}function z(q,E){return function(w,t){w.eatSpace();if(E&&w.eat("\x3e"))return p(t),t.tokenize=y,"tag";w.eat("/")||t.stack.push({type:"tag",name:q,tokenize:y});
|
||
w.eat("\x3e")?t.tokenize=y:t.tokenize=A;return"tag"}}function A(q,E){var w=q.next();if("/"==w&&q.eat("\x3e"))return h(E)&&p(E),c(E,"tag")&&p(E),"tag";if("\x3e"==w)return h(E)&&p(E),"tag";if("\x3d"==w)return null;if('"'==w||"'"==w)return Y(q,E,b(w,A));h(E)||E.stack.push({type:"attribute",tokenize:A});q.eat(/[a-zA-Z_:]/);q.eatWhile(/[-a-zA-Z0-9_:.]/);q.eatSpace();if(q.match("\x3e",!1)||q.match("/",!1))p(E),E.tokenize=y;return"attribute"}function B(q,E){for(var w;w=q.next();)if("-"==w&&q.match("-\x3e",
|
||
!0))return E.tokenize=y,"comment"}function J(q,E){for(var w;w=q.next();)if("]"==w&&q.match("]",!0))return E.tokenize=y,"comment"}function g(q,E){for(var w;w=q.next();)if("?"==w&&q.match("\x3e",!0))return E.tokenize=y,"comment meta"}function h(q){return c(q,"attribute")}function c(q,E){return q.stack.length&&q.stack[q.stack.length-1].type==E}function p(q){q.stack.pop();q.tokenize=q.stack.length&&q.stack[q.stack.length-1].tokenize||y}var m=function(){for(var q={type:"operator",style:"keyword"},E={type:"atom",
|
||
style:"atom"},w={type:"axis_specifier",style:"qualifier"},t={",":{type:"punctuation",style:null}},r="after all allowing ancestor ancestor-or-self any array as ascending at attribute base-uri before boundary-space by case cast castable catch child collation comment construction contains content context copy copy-namespaces count decimal-format declare default delete descendant descendant-or-self descending diacritics different distance document document-node element else empty empty-sequence encoding end entire every exactly except external first following following-sibling for from ftand ftnot ft-option ftor function fuzzy greatest group if import in inherit insensitive insert instance intersect into invoke is item language last lax least let levels lowercase map modify module most namespace next no node nodes no-inherit no-preserve not occurs of only option order ordered ordering paragraph paragraphs parent phrase preceding preceding-sibling preserve previous processing-instruction relationship rename replace return revalidation same satisfies schema schema-attribute schema-element score self sensitive sentence sentences sequence skip sliding some stable start stemming stop strict strip switch text then thesaurus times to transform treat try tumbling type typeswitch union unordered update updating uppercase using validate value variable version weight when where wildcards window with without word words xquery".split(" "),
|
||
f=0,F=r.length;f<F;f++)t[r[f]]={type:r[f],style:"keyword"};r="xs:anyAtomicType xs:anySimpleType xs:anyType xs:anyURI xs:base64Binary xs:boolean xs:byte xs:date xs:dateTime xs:dateTimeStamp xs:dayTimeDuration xs:decimal xs:double xs:duration xs:ENTITIES xs:ENTITY xs:float xs:gDay xs:gMonth xs:gMonthDay xs:gYear xs:gYearMonth xs:hexBinary xs:ID xs:IDREF xs:IDREFS xs:int xs:integer xs:item xs:java xs:language xs:long xs:Name xs:NCName xs:negativeInteger xs:NMTOKEN xs:NMTOKENS xs:nonNegativeInteger xs:nonPositiveInteger xs:normalizedString xs:NOTATION xs:numeric xs:positiveInteger xs:precisionDecimal xs:QName xs:short xs:string xs:time xs:token xs:unsignedByte xs:unsignedInt xs:unsignedLong xs:unsignedShort xs:untyped xs:untypedAtomic xs:yearMonthDuration".split(" ");
|
||
f=0;for(F=r.length;f<F;f++)t[r[f]]=E;E="eq ne lt le gt ge :\x3d \x3d \x3e \x3e\x3d \x3c \x3c\x3d . | ? and or div idiv mod * / + -".split(" ");f=0;for(F=E.length;f<F;f++)t[E[f]]=q;q="self:: attribute:: child:: descendant:: descendant-or-self:: parent:: ancestor:: ancestor-or-self:: following:: preceding:: following-sibling:: preceding-sibling::".split(" ");f=0;for(F=q.length;f<F;f++)t[q[f]]=w;return t}();return{startState:function(){return{tokenize:y,cc:[],stack:[]}},token:function(q,E){return q.eatSpace()?
|
||
null:E.tokenize(q,E)},blockCommentStart:"(:",blockCommentEnd:":)"}});v.defineMIME("application/xquery","xquery")})};
|
||
shadow$provide[590]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("yacas",function(Y,y){function n(c,p){var m=c.next();if('"'===m)return p.tokenize=b,p.tokenize(c,p);if("/"===m){if(c.eat("*"))return p.tokenize=u,p.tokenize(c,p);if(c.eat("/"))return c.skipToEnd(),"comment"}c.backUp(1);var q=c.match(/^(\w+)\s*\(/,!1);null!==q&&A.hasOwnProperty(q[1])&&
|
||
p.scopes.push("bodied");q=z(p);"bodied"===q&&"["===m&&p.scopes.pop();"["!==m&&"{"!==m&&"("!==m||p.scopes.push(m);q=z(p);("["===q&&"]"===m||"{"===q&&"}"===m||"("===q&&")"===m)&&p.scopes.pop();if(";"===m)for(;"bodied"===q;)p.scopes.pop(),q=z(p);return c.match(/\d+ *#/,!0,!1)?"qualifier":c.match(B,!0,!1)?"number":c.match(g,!0,!1)?"variable-3":c.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":c.match(h,!0,!1)?(c.backUp(1),"variable"):c.match(J,!0,!1)?"variable-2":c.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,
|
||
!0,!1)?"operator":"error"}function b(c,p){for(var m,q=!1,E=!1;null!=(m=c.next());){if('"'===m&&!E){q=!0;break}E=!E&&"\\"===m}q&&!E&&(p.tokenize=n);return"string"}function u(c,p){for(var m,q;null!=(q=c.next());){if("*"===m&&"/"===q){p.tokenize=n;break}m=q}return"comment"}function z(c){var p=null;0<c.scopes.length&&(p=c.scopes[c.scopes.length-1]);return p}var A=function(c){var p={};c=c.split(" ");for(var m=0;m<c.length;++m)p[c[m]]=!0;return p}("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),
|
||
B=RegExp("(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)"),J=RegExp("(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)"),g=RegExp("(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)?_(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)"),h=RegExp("(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)\\s*\\(");return{startState:function(){return{tokenize:n,scopes:[]}},token:function(c,p){return c.eatSpace()?null:p.tokenize(c,p)},indent:function(c,p){if(c.tokenize!==n&&null!==c.tokenize)return v.Pass;var m=0;if("]"===p||"];"===p||"}"===p||"};"===p||");"===p)m=-1;return(c.scopes.length+
|
||
m)*Y.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});v.defineMIME("text/x-yacas",{name:"yacas"})})};
|
||
shadow$provide[591]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("yaml",function(){var Y=RegExp("\\b((true)|(false)|(on)|(off)|(yes)|(no))$","i");return{token:function(y,n){var b=y.peek(),u=n.escaped;n.escaped=!1;if("#"==b&&(0==y.pos||/\s/.test(y.string.charAt(y.pos-1))))return y.skipToEnd(),"comment";if(y.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";
|
||
if(n.literal&&y.indentation()>n.keyCol)return y.skipToEnd(),"string";n.literal&&(n.literal=!1);if(y.sol()){n.keyCol=0;n.pair=!1;n.pairStart=!1;if(y.match("---")||y.match("..."))return"def";if(y.match(/\s*-\s+/))return"meta"}if(y.match(/^(\{|\}|\[|\])/))return"{"==b?n.inlinePairs++:"}"==b?n.inlinePairs--:"["==b?n.inlineList++:n.inlineList--,"meta";if(0<n.inlineList&&!u&&","==b)return y.next(),"meta";if(0<n.inlinePairs&&!u&&","==b)return n.keyCol=0,n.pair=!1,n.pairStart=!1,y.next(),"meta";if(n.pairStart){if(y.match(/^\s*(\||>)\s*/))return n.literal=
|
||
!0,"meta";if(y.match(/^\s*(&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&y.match(/^\s*-?[0-9\.,]+\s?$/)||0<n.inlinePairs&&y.match(/^\s*-?[0-9\.,]+\s?(?=(,|}))/))return"number";if(y.match(Y))return"keyword"}if(!n.pair&&y.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/))return n.pair=!0,n.keyCol=y.indentation(),"atom";if(n.pair&&y.match(/^:\s*/))return n.pairStart=!0,"meta";n.pairStart=!1;n.escaped="\\"==b;y.next();return null},startState:function(){return{pair:!1,
|
||
pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}});v.defineMIME("text/x-yaml","yaml");v.defineMIME("text/yaml","yaml")})};
|
||
shadow$provide[592]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464),ba(591)):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../yaml/yaml"],v):v(CodeMirror)})(function(v){v.defineMode("yaml-frontmatter",function(Y,y){function n(z){return 1==z.state?{mode:b,state:z.yaml}:{mode:u,state:z.inner}}var b=v.getMode(Y,"yaml"),u=v.getMode(Y,y&&y.base||"gfm");return{startState:function(){return{state:0,yaml:null,inner:v.startState(u)}},copyState:function(z){return{state:z.state,
|
||
yaml:z.yaml&&v.copyState(b,z.yaml),inner:v.copyState(u,z.inner)}},token:function(z,A){if(0==A.state){if(z.match("---",!1))return A.state=1,A.yaml=v.startState(b),b.token(z,A.yaml);A.state=2;return u.token(z,A.inner)}if(1==A.state){var B=z.sol()&&z.match(/(---|\.\.\.)/,!1);z=b.token(z,A.yaml);B&&(A.state=2,A.yaml=null);return z}return u.token(z,A.inner)},innerMode:n,indent:function(z,A,B){z=n(z);return z.mode.indent?z.mode.indent(z.state,A,B):v.Pass},blankLine:function(z){z=n(z);if(z.mode.blankLine)return z.mode.blankLine(z.state)}}})})};
|
||
shadow$provide[593]=function(ya,ba,Ta,I){(function(v){"object"==typeof I&&"object"==typeof Ta?v(ba(464)):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],v):v(CodeMirror)})(function(v){v.defineMode("z80",function(Y,y){var n=y.ez80;if(n){var b=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i;
|
||
var u=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i}else b=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,u=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i;var z=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,A=/^(n?[zc]|p[oe]?|m)\b/i,B=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,J=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},
|
||
token:function(g,h){g.column()||(h.context=0);if(g.eatSpace())return null;if(g.eatWhile(/\w/)){n&&g.eat(".")&&g.eatWhile(/\w/);var c=g.current();if(g.indentation()){if((1==h.context||4==h.context)&&z.test(c))return h.context=4,"var2";if(2==h.context&&A.test(c))return h.context=4,"var3";if(b.test(c))return h.context=1,"keyword";if(u.test(c))return h.context=2,"keyword";if(4==h.context&&J.test(c))return"number";if(B.test(c))return"error"}else if(g.match(J))return"number"}else{if(g.eat(";"))return g.skipToEnd(),
|
||
"comment";if(g.eat('"')){for(;(c=g.next())&&'"'!=c;)"\\"==c&&g.next();return"string"}if(g.eat("'")){if(g.match(/\\?.'/))return"number"}else if(g.eat(".")||g.sol()&&g.eat("#")){if(h.context=5,g.eatWhile(/\w/))return"def"}else if(g.eat("$")){if(g.eatWhile(/[\da-f]/i))return"number"}else if(g.eat("%")){if(g.eatWhile(/[01]/))return"number"}else g.next()}return null}}});v.defineMIME("text/x-z80","z80");v.defineMIME("text/x-ez80",{name:"z80",ez80:!0})})};
|
||
shadow$provide[594]=function(ya,ba,Ta,I){(function(v){function Y(m){function q(X,S){var ha,W,ra,wa,va=this;if(!(va instanceof q))return new q(X,S);if(null==S){if(X&&!0===X._isBigNumber){va.s=X.s;!X.c||X.e>V?va.c=va.e=null:X.e<P?va.c=[va.e=0]:(va.e=X.e,va.c=X.c.slice());return}if((ra="number"==typeof X)&&0==0*X){va.s=0>1/X?(X=-X,-1):1;if(X===~~X){var Fa=0;for(W=X;10<=W;W/=10,Fa++);Fa>V?va.c=va.e=null:(va.e=Fa,va.c=[X]);return}var Ba=String(X)}else{if(!J.test(Ba=String(X)))return Z(va,Ba,ra);va.s=45==
|
||
Ba.charCodeAt(0)?(Ba=Ba.slice(1),-1):1}-1<(Fa=Ba.indexOf("."))&&(Ba=Ba.replace(".",""));0<(W=Ba.search(/e/i))?(0>Fa&&(Fa=W),Fa+=+Ba.slice(W+1),Ba=Ba.substring(0,W)):0>Fa&&(Fa=Ba.length)}else{u(S,2,Q.length,"Base");if(10==S&&N)return va=new q(X),r(va,M+va.e+1,aa);Ba=String(X);if(ra="number"==typeof X){if(0!=0*X)return Z(va,Ba,ra,S);va.s=0>1/X?(Ba=Ba.slice(1),-1):1;if(q.DEBUG&&15<Ba.replace(/^0\.0*|\./,"").length)throw Error("[BigNumber Error] Number primitive has more than 15 significant digits: "+
|
||
X);}else va.s=45===Ba.charCodeAt(0)?(Ba=Ba.slice(1),-1):1;var Ka=Q.slice(0,S);Fa=W=0;for(wa=Ba.length;W<wa;W++)if(0>Ka.indexOf(ha=Ba.charAt(W))){if("."==ha){if(W>Fa){Fa=wa;continue}}else if(!Oa&&(Ba==Ba.toUpperCase()&&(Ba=Ba.toLowerCase())||Ba==Ba.toLowerCase()&&(Ba=Ba.toUpperCase()))){var Oa=!0;W=-1;Fa=0;continue}return Z(va,String(X),ra,S)}ra=!1;Ba=la(Ba,S,10,va.s);-1<(Fa=Ba.indexOf("."))?Ba=Ba.replace(".",""):Fa=Ba.length}for(W=0;48===Ba.charCodeAt(W);W++);for(wa=Ba.length;48===Ba.charCodeAt(--wa););
|
||
if(Ba=Ba.slice(W,++wa)){wa-=W;if(ra&&q.DEBUG&&15<wa&&(9007199254740991<X||X!==h(X)))throw Error("[BigNumber Error] Number primitive has more than 15 significant digits: "+va.s*X);if((Fa=Fa-W-1)>V)va.c=va.e=null;else if(Fa<P)va.c=[va.e=0];else{va.e=Fa;va.c=[];W=(Fa+1)%14;0>Fa&&(W+=14);if(W<wa){W&&va.c.push(+Ba.slice(0,W));for(wa-=14;W<wa;)va.c.push(+Ba.slice(W,W+=14));W=14-(Ba=Ba.slice(W)).length}else W-=wa;for(;W--;Ba+="0");va.c.push(+Ba)}}else va.c=[va.e=0]}function E(X,S,ha,W){null==ha?ha=aa:u(ha,
|
||
0,8);if(!X.c)return X.toString();var ra=X.c[0];var wa=X.e;if(null==S){var va=n(X.c);va=1==W||2==W&&(wa<=O||wa>=U)?A(va,wa):B(va,wa,"0")}else{X=r(new q(X),S,ha);ha=X.e;va=n(X.c);var Fa=va.length;if(1==W||2==W&&(S<=ha||ha<=O)){for(;Fa<S;va+="0",Fa++);va=A(va,ha)}else if(S-=wa,va=B(va,ha,"0"),ha+1>Fa){if(0<--S)for(va+=".";S--;va+="0");}else if(S+=ha-Fa,0<S)for(ha+1==Fa&&(va+=".");S--;va+="0");}return 0>X.s&&ra?"-"+va:va}function w(X,S){for(var ha,W,ra=1,wa=new q(X[0]);ra<X.length;ra++)if(W=new q(X[ra]),
|
||
!W.s||(ha=b(wa,W))===S||0===ha&&wa.s===S)wa=W;return wa}function t(X,S,ha){for(var W=1,ra=S.length;!S[--ra];S.pop());for(ra=S[0];10<=ra;ra/=10,W++);(ha=W+14*ha-1)>V?X.c=X.e=null:ha<P?X.c=[X.e=0]:(X.e=ha,X.c=S);return X}function r(X,S,ha,W){var ra,wa,va=X.c,Fa=c;if(va){a:{var Ba=1;for(ra=va[0];10<=ra;ra/=10,Ba++);var Ka=S-Ba;if(0>Ka){Ka+=14;var Oa=S;var Va=va[wa=0];ra=h(Va/Fa[Ba-Oa-1]%10)}else if(wa=g((Ka+1)/14),wa>=va.length)if(W){for(;va.length<=wa;va.push(0));Va=ra=0;Ba=1;Ka%=14;Oa=Ka-14+1}else break a;
|
||
else{Va=ra=va[wa];for(Ba=1;10<=ra;ra/=10,Ba++);Ka%=14;Oa=Ka-14+Ba;ra=0>Oa?0:h(Va/Fa[Ba-Oa-1]%10)}W=W||0>S||null!=va[wa+1]||(0>Oa?Va:Va%Fa[Ba-Oa-1]);W=4>ha?(ra||W)&&(0==ha||ha==(0>X.s?3:2)):5<ra||5==ra&&(4==ha||W||6==ha&&(0<Ka?0<Oa?Va/Fa[Ba-Oa]:0:va[wa-1])%10&1||ha==(0>X.s?8:7));if(1>S||!va[0])return va.length=0,W?(S-=X.e+1,va[0]=Fa[(14-S%14)%14],X.e=-S||0):va[0]=X.e=0,X;0==Ka?(va.length=wa,ra=1,wa--):(va.length=wa+1,ra=Fa[14-Ka],va[wa]=0<Oa?h(Va/Fa[Ba-Oa]%Fa[Oa])*ra:0);if(W)for(;;)if(0==wa){Ka=1;
|
||
for(Oa=va[0];10<=Oa;Oa/=10,Ka++);Oa=va[0]+=ra;for(ra=1;10<=Oa;Oa/=10,ra++);Ka!=ra&&(X.e++,1E14==va[0]&&(va[0]=1));break}else{va[wa]+=ra;if(1E14!=va[wa])break;va[wa--]=0;ra=1}for(Ka=va.length;0===va[--Ka];va.pop());}X.e>V?X.c=X.e=null:X.e<P&&(X.c=[X.e=0])}return X}function f(X){var S=X.e;if(null===S)return X.toString();var ha=n(X.c);ha=S<=O||S>=U?A(ha,S):B(ha,S,"0");return 0>X.s?"-"+ha:ha}var F=q.prototype={constructor:q,toString:null,valueOf:null},C=new q(1),M=20,aa=4,O=-7,U=21,P=-1E7,V=1E7,T=!1,
|
||
K=1,D=0,L={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},Q="0123456789abcdefghijklmnopqrstuvwxyz",N=!0;q.clone=Y;q.ROUND_UP=0;q.ROUND_DOWN=1;q.ROUND_CEIL=2;q.ROUND_FLOOR=3;q.ROUND_HALF_UP=4;q.ROUND_HALF_DOWN=5;q.ROUND_HALF_EVEN=6;q.ROUND_HALF_CEIL=7;q.ROUND_HALF_FLOOR=8;q.EUCLID=9;q.config=q.set=function(X){var S;if(null!=X)if("object"==typeof X){if(X.hasOwnProperty(S="DECIMAL_PLACES")){var ha=X[S];u(ha,
|
||
0,1E9,S);M=ha}X.hasOwnProperty(S="ROUNDING_MODE")&&(ha=X[S],u(ha,0,8,S),aa=ha);X.hasOwnProperty(S="EXPONENTIAL_AT")&&((ha=X[S])&&ha.pop?(u(ha[0],-1E9,0,S),u(ha[1],0,1E9,S),O=ha[0],U=ha[1]):(u(ha,-1E9,1E9,S),O=-(U=0>ha?-ha:ha)));if(X.hasOwnProperty(S="RANGE"))if((ha=X[S])&&ha.pop)u(ha[0],-1E9,-1,S),u(ha[1],1,1E9,S),P=ha[0],V=ha[1];else if(u(ha,-1E9,1E9,S),ha)P=-(V=0>ha?-ha:ha);else throw Error("[BigNumber Error] "+S+" cannot be zero: "+ha);if(X.hasOwnProperty(S="CRYPTO"))if(ha=X[S],ha===!!ha)if(ha)if("undefined"!=
|
||
typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))T=ha;else throw T=!ha,Error("[BigNumber Error] crypto unavailable");else T=ha;else throw Error("[BigNumber Error] "+S+" not true or false: "+ha);X.hasOwnProperty(S="MODULO_MODE")&&(ha=X[S],u(ha,0,9,S),K=ha);X.hasOwnProperty(S="POW_PRECISION")&&(ha=X[S],u(ha,0,1E9,S),D=ha);if(X.hasOwnProperty(S="FORMAT"))if(ha=X[S],"object"==typeof ha)L=ha;else throw Error("[BigNumber Error] "+S+" not an object: "+ha);if(X.hasOwnProperty(S="ALPHABET")){ha=
|
||
X[S];if("string"!=typeof ha||/^.?$|[+\-.\s]|(.).*\1/.test(ha))throw Error("[BigNumber Error] "+S+" invalid: "+ha);N="0123456789"==ha.slice(0,10);Q=ha}}else throw Error("[BigNumber Error] Object expected: "+X);return{DECIMAL_PLACES:M,ROUNDING_MODE:aa,EXPONENTIAL_AT:[O,U],RANGE:[P,V],CRYPTO:T,MODULO_MODE:K,POW_PRECISION:D,FORMAT:L,ALPHABET:Q}};q.isBigNumber=function(X){if(!X||!0!==X._isBigNumber)return!1;if(!q.DEBUG)return!0;var S=X.c;var ha=X.e;var W=X.s;a:if("[object Array]"=={}.toString.call(S)){if((1===
|
||
W||-1===W)&&-1E9<=ha&&1E9>=ha&&ha===h(ha))if(0===S[0]){if(0===ha&&1===S.length)return!0}else if(ha=(ha+1)%14,1>ha&&(ha+=14),String(S[0]).length==ha){for(ha=0;ha<S.length;ha++){var ra=S[ha];if(0>ra||1E14<=ra||ra!==h(ra))break a}if(0!==ra)return!0}}else if(null===S&&null===ha&&(null===W||1===W||-1===W))return!0;throw Error("[BigNumber Error] Invalid BigNumber: "+X);};q.maximum=q.max=function(){return w(arguments,-1)};q.minimum=q.min=function(){return w(arguments,1)};q.random=function(){var X=9007199254740992*
|
||
Math.random()&2097151?function(){return h(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(S){var ha,W=0,ra=[],wa=new q(C);null==S?S=M:u(S,0,1E9);var va=g(S/14);if(T)if(crypto.getRandomValues){for(ha=crypto.getRandomValues(new Uint32Array(va*=2));W<va;){var Fa=131072*ha[W]+(ha[W+1]>>>11);9E15<=Fa?(Fa=crypto.getRandomValues(new Uint32Array(2)),ha[W]=Fa[0],ha[W+1]=Fa[1]):(ra.push(Fa%1E14),W+=2)}W=va/2}else if(crypto.randomBytes){for(ha=
|
||
crypto.randomBytes(va*=7);W<va;)Fa=281474976710656*(ha[W]&31)+1099511627776*ha[W+1]+4294967296*ha[W+2]+16777216*ha[W+3]+(ha[W+4]<<16)+(ha[W+5]<<8)+ha[W+6],9E15<=Fa?crypto.randomBytes(7).copy(ha,W):(ra.push(Fa%1E14),W+=7);W=va/7}else throw T=!1,Error("[BigNumber Error] crypto unavailable");if(!T)for(;W<va;)Fa=X(),9E15>Fa&&(ra[W++]=Fa%1E14);va=ra[--W];S%=14;va&&S&&(Fa=c[14-S],ra[W]=h(va/Fa)*Fa);for(;0===ra[W];ra.pop(),W--);if(0>W)ra=[S=0];else{for(S=-1;0===ra[0];ra.splice(0,1),S-=14);W=1;for(Fa=ra[0];10<=
|
||
Fa;Fa/=10,W++);14>W&&(S-=14-W)}wa.e=S;wa.c=ra;return wa}}();q.sum=function(){for(var X=1,S=arguments,ha=new q(S[0]);X<S.length;)ha=ha.plus(S[X++]);return ha};var la=function(){function X(S,ha,W,ra){for(var wa,va=[0],Fa=0,Ba=S.length;Fa<Ba;){for(wa=va.length;wa--;va[wa]*=ha);va[0]+=ra.indexOf(S.charAt(Fa++));for(wa=0;wa<va.length;wa++)va[wa]>W-1&&(null==va[wa+1]&&(va[wa+1]=0),va[wa+1]+=va[wa]/W|0,va[wa]%=W)}return va.reverse()}return function(S,ha,W,ra,wa){var va,Fa=S.indexOf("."),Ba=M,Ka=aa;if(0<=
|
||
Fa){var Oa=D;D=0;S=S.replace(".","");var Va=new q(ha);var Ya=Va.pow(S.length-Fa);D=Oa;Va.c=X(B(n(Ya.c),Ya.e,"0"),10,W,"0123456789");Va.e=Va.c.length}wa=X(S,ha,W,wa?(va=Q,"0123456789"):(va="0123456789",Q));for(ha=Oa=wa.length;0==wa[--Oa];wa.pop());if(!wa[0])return va.charAt(0);if(0>Fa)--ha;else{Ya.c=wa;Ya.e=ha;Ya.s=ra;Ya=R(Ya,Va,Ba,Ka,W);wa=Ya.c;var Ua=Ya.r;ha=Ya.e}S=ha+Ba+1;Fa=wa[S];Oa=W/2;Ua=Ua||0>S||null!=wa[S+1];Ua=4>Ka?(null!=Fa||Ua)&&(0==Ka||Ka==(0>Ya.s?3:2)):Fa>Oa||Fa==Oa&&(4==Ka||Ua||6==Ka&&
|
||
wa[S-1]&1||Ka==(0>Ya.s?8:7));if(1>S||!wa[0])S=Ua?B(va.charAt(1),-Ba,va.charAt(0)):va.charAt(0);else{wa.length=S;if(Ua)for(--W;++wa[--S]>W;)wa[S]=0,S||(++ha,wa=[1].concat(wa));for(Oa=wa.length;!wa[--Oa];);Fa=0;for(S="";Fa<=Oa;S+=va.charAt(wa[Fa++]));S=B(S,ha,va.charAt(0))}return S}}();var R=function(){function X(W,ra,wa){var va=0,Fa=W.length,Ba=ra%1E7,Ka=ra/1E7|0;for(W=W.slice();Fa--;){var Oa=W[Fa]%1E7;var Va=W[Fa]/1E7|0;ra=Ka*Oa+Va*Ba;Oa=Ba*Oa+ra%1E7*1E7+va;va=(Oa/wa|0)+(ra/1E7|0)+Ka*Va;W[Fa]=Oa%
|
||
wa}va&&(W=[va].concat(W));return W}function S(W,ra,wa,va){if(wa!=va)var Fa=wa>va?1:-1;else for(va=Fa=0;va<wa;va++)if(W[va]!=ra[va]){Fa=W[va]>ra[va]?1:-1;break}return Fa}function ha(W,ra,wa,va){for(var Fa=0;wa--;)W[wa]-=Fa,Fa=W[wa]<ra[wa]?1:0,W[wa]=Fa*va+W[wa]-ra[wa];for(;!W[0]&&1<W.length;W.splice(0,1));}return function(W,ra,wa,va,Fa){var Ba,Ka=W.s==ra.s?1:-1;var Oa=W.c;var Va=ra.c;if(!(Oa&&Oa[0]&&Va&&Va[0]))return new q(W.s&&ra.s&&(Oa?!Va||Oa[0]!=Va[0]:Va)?Oa&&0==Oa[0]||!Va?0*Ka:Ka/0:NaN);var Ya=
|
||
new q(Ka);var Ua=Ya.c=[];var La=W.e-ra.e;Ka=wa+La+1;Fa||(Fa=1E14,La=y(W.e/14)-y(ra.e/14),Ka=Ka/14|0);for(W=0;Va[W]==(Oa[W]||0);W++);Va[W]>(Oa[W]||0)&&La--;if(0>Ka)Ua.push(1),Oa=!0;else{var ma=Oa.length;var ja=Va.length;W=0;Ka+=2;var oa=h(Fa/(Va[0]+1));1<oa&&(Va=X(Va,oa,Fa),Oa=X(Oa,oa,Fa),ja=Va.length,ma=Oa.length);var ia=ja;var sa=Oa.slice(0,ja);for(Ba=sa.length;Ba<ja;sa[Ba++]=0);var Ea=Va.slice();Ea=[0].concat(Ea);var Qa=Va[0];Va[1]>=Fa/2&&Qa++;do{oa=0;ra=S(Va,sa,ja,Ba);if(0>ra){oa=sa[0];ja!=Ba&&
|
||
(oa=oa*Fa+(sa[1]||0));oa=h(oa/Qa);if(1<oa){oa>=Fa&&(oa=Fa-1);var Xa=X(Va,oa,Fa);var Pa=Xa.length;for(Ba=sa.length;1==S(Xa,sa,Pa,Ba);)oa--,ha(Xa,ja<Pa?Ea:Va,Pa,Fa),Pa=Xa.length,ra=1}else 0==oa&&(ra=oa=1),Xa=Va.slice(),Pa=Xa.length;Pa<Ba&&(Xa=[0].concat(Xa));ha(sa,Xa,Ba,Fa);Ba=sa.length;if(-1==ra)for(;1>S(Va,sa,ja,Ba);)oa++,ha(sa,ja<Ba?Ea:Va,Ba,Fa),Ba=sa.length}else 0===ra&&(oa++,sa=[0]);Ua[W++]=oa;sa[0]?sa[Ba++]=Oa[ia]||0:(sa=[Oa[ia]],Ba=1)}while((ia++<ma||null!=sa[0])&&Ka--);Oa=null!=sa[0];Ua[0]||
|
||
Ua.splice(0,1)}if(1E14==Fa){W=1;for(Ka=Ua[0];10<=Ka;Ka/=10,W++);r(Ya,wa+(Ya.e=W+14*La-1)+1,va,Oa)}else Ya.e=La,Ya.r=+Oa;return Ya}}();var Z=function(){var X=/^(-?)0([xbo])(?=\w[\w.]*$)/i,S=/^([^.]+)\.$/,ha=/^\.([^.]+)$/,W=/^-?(Infinity|NaN)$/,ra=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(wa,va,Fa,Ba){var Ka=Fa?va:va.replace(ra,"");if(W.test(Ka))wa.s=isNaN(Ka)?null:0>Ka?-1:1;else{if(!Fa){Ka=Ka.replace(X,function(Va,Ya,Ua){Oa="x"==(Ua=Ua.toLowerCase())?16:"b"==Ua?2:8;return Ba&&Ba!=Oa?Va:Ya});if(Ba){var Oa=
|
||
Ba;Ka=Ka.replace(S,"$1").replace(ha,"0.$1")}if(va!=Ka)return new q(Ka,Oa)}if(q.DEBUG)throw Error("[BigNumber Error] Not a"+(Ba?" base "+Ba:"")+" number: "+va);wa.s=null}wa.c=wa.e=null}}();F.absoluteValue=F.abs=function(){var X=new q(this);0>X.s&&(X.s=1);return X};F.comparedTo=function(X,S){return b(this,new q(X,S))};F.decimalPlaces=F.dp=function(X,S){var ha;if(null!=X)return u(X,0,1E9),null==S?S=aa:u(S,0,8),r(new q(this),X+this.e+1,S);if(!(X=this.c))return null;S=14*((ha=X.length-1)-y(this.e/14));
|
||
if(ha=X[ha])for(;0==ha%10;ha/=10,S--);0>S&&(S=0);return S};F.dividedBy=F.div=function(X,S){return R(this,new q(X,S),M,aa)};F.dividedToIntegerBy=F.idiv=function(X,S){return R(this,new q(X,S),0,1)};F.exponentiatedBy=F.pow=function(X,S){var ha,W=this;X=new q(X);if(X.c&&!X.isInteger())throw Error("[BigNumber Error] Exponent not an integer: "+f(X));null!=S&&(S=new q(S));var ra=14<X.e;if(!W.c||!W.c[0]||1==W.c[0]&&!W.e&&1==W.c.length||!X.c||!X.c[0]){var wa=new q(Math.pow(+f(W),ra?X.s*(2-z(X)):+f(X)));return S?
|
||
wa.mod(S):wa}var va=0>X.s;if(S){if(S.c?!S.c[0]:!S.s)return new q(NaN);(ha=!va&&W.isInteger()&&S.isInteger())&&(W=W.mod(S))}else{if(9<X.e&&(0<W.e||-1>W.e||(0==W.e?1<W.c[0]||ra&&24E7<=W.c[1]:8E13>W.c[0]||ra&&9999975E7>=W.c[0]))){var Fa=0>W.s&&z(X)?-0:0;-1<W.e&&(Fa=1/Fa);return new q(va?1/Fa:Fa)}D&&(Fa=g(D/14+2))}if(ra){var Ba=new q(.5);va&&(X.s=1);ra=z(X)}else{var Ka=Math.abs(+f(X));ra=Ka%2}for(wa=new q(C);;){if(ra){wa=wa.times(W);if(!wa.c)break;Fa?wa.c.length>Fa&&(wa.c.length=Fa):ha&&(wa=wa.mod(S))}if(Ka){Ka=
|
||
h(Ka/2);if(0===Ka)break;ra=Ka%2}else if(X=X.times(Ba),r(X,X.e+1,1),14<X.e)ra=z(X);else{Ka=+f(X);if(0===Ka)break;ra=Ka%2}W=W.times(W);Fa?W.c&&W.c.length>Fa&&(W.c.length=Fa):ha&&(W=W.mod(S))}if(ha)return wa;va&&(wa=C.div(wa));return S?wa.mod(S):Fa?r(wa,D,aa,void 0):wa};F.integerValue=function(X){var S=new q(this);null==X?X=aa:u(X,0,8);return r(S,S.e+1,X)};F.isEqualTo=F.eq=function(X,S){return 0===b(this,new q(X,S))};F.isFinite=function(){return!!this.c};F.isGreaterThan=F.gt=function(X,S){return 0<b(this,
|
||
new q(X,S))};F.isGreaterThanOrEqualTo=F.gte=function(X,S){return 1===(S=b(this,new q(X,S)))||0===S};F.isInteger=function(){return!!this.c&&y(this.e/14)>this.c.length-2};F.isLessThan=F.lt=function(X,S){return 0>b(this,new q(X,S))};F.isLessThanOrEqualTo=F.lte=function(X,S){return-1===(S=b(this,new q(X,S)))||0===S};F.isNaN=function(){return!this.s};F.isNegative=function(){return 0>this.s};F.isPositive=function(){return 0<this.s};F.isZero=function(){return!!this.c&&0==this.c[0]};F.minus=function(X,S){var ha,
|
||
W=this.s;X=new q(X,S);S=X.s;if(!W||!S)return new q(NaN);if(W!=S)return X.s=-S,this.plus(X);var ra=this.e/14;var wa=X.e/14,va=this.c,Fa=X.c;if(!ra||!wa){if(!va||!Fa)return va?(X.s=-S,X):new q(Fa?this:NaN);if(!va[0]||!Fa[0])return Fa[0]?(X.s=-S,X):new q(va[0]?this:3==aa?-0:0)}ra=y(ra);wa=y(wa);va=va.slice();if(W=ra-wa){(ha=0>W)?(W=-W,ra=va):(wa=ra,ra=Fa);ra.reverse();for(S=W;S--;ra.push(0));ra.reverse()}else for(ra=(ha=(W=va.length)<(S=Fa.length))?W:S,W=S=0;S<ra;S++)if(va[S]!=Fa[S]){ha=va[S]<Fa[S];
|
||
break}ha&&(ra=va,va=Fa,Fa=ra,X.s=-X.s);S=(ra=Fa.length)-(ha=va.length);if(0<S)for(;S--;va[ha++]=0);for(S=1E14-1;ra>W;){if(va[--ra]<Fa[ra]){for(ha=ra;ha&&!va[--ha];va[ha]=S);--va[ha];va[ra]+=1E14}va[ra]-=Fa[ra]}for(;0==va[0];va.splice(0,1),--wa);return va[0]?t(X,va,wa):(X.s=3==aa?-1:1,X.c=[X.e=0],X)};F.modulo=F.mod=function(X,S){X=new q(X,S);if(!this.c||!X.s||X.c&&!X.c[0])return new q(NaN);if(!X.c||this.c&&!this.c[0])return new q(this);if(9==K){var ha=X.s;X.s=1;S=R(this,X,0,3);X.s=ha;S.s*=ha}else S=
|
||
R(this,X,0,K);X=this.minus(S.times(X));X.c[0]||1!=K||(X.s=this.s);return X};F.multipliedBy=F.times=function(X,S){var ha=this.c,W=(X=new q(X,S)).c;if(!(ha&&W&&ha[0]&&W[0]))return!this.s||!X.s||ha&&!ha[0]&&!W||W&&!W[0]&&!ha?X.c=X.e=X.s=null:(X.s*=this.s,ha&&W?(X.c=[0],X.e=0):X.c=X.e=null),X;S=y(this.e/14)+y(X.e/14);X.s*=this.s;var ra=ha.length;var wa=W.length;if(ra<wa){var va=ha;ha=W;W=va;var Fa=ra;ra=wa;wa=Fa}Fa=ra+wa;for(va=[];Fa--;va.push(0));for(Fa=wa;0<=--Fa;){var Ba=0;var Ka=W[Fa]%1E7;var Oa=
|
||
W[Fa]/1E7|0;var Va=ra;for(wa=Fa+Va;wa>Fa;){var Ya=ha[--Va]%1E7;var Ua=ha[Va]/1E7|0;var La=Oa*Ya+Ua*Ka;Ya=Ka*Ya+La%1E7*1E7+va[wa]+Ba;Ba=(Ya/1E14|0)+(La/1E7|0)+Oa*Ua;va[wa--]=Ya%1E14}va[wa]=Ba}Ba?++S:va.splice(0,1);return t(X,va,S)};F.negated=function(){var X=new q(this);X.s=-X.s||null;return X};F.plus=function(X,S){var ha=this.s;X=new q(X,S);S=X.s;if(!ha||!S)return new q(NaN);if(ha!=S)return X.s=-S,this.minus(X);S=this.e/14;var W=X.e/14,ra=this.c,wa=X.c;if(!S||!W){if(!ra||!wa)return new q(ha/0);if(!ra[0]||
|
||
!wa[0])return wa[0]?X:new q(ra[0]?this:0*ha)}S=y(S);W=y(W);ra=ra.slice();if(ha=S-W){0<ha?(W=S,S=wa):(ha=-ha,S=ra);for(S.reverse();ha--;S.push(0));S.reverse()}ha=ra.length;S=wa.length;0>ha-S&&(S=wa,wa=ra,ra=S,S=ha);for(ha=0;S;)ha=(ra[--S]=ra[S]+wa[S]+ha)/1E14|0,ra[S]=1E14===ra[S]?0:ra[S]%1E14;ha&&(ra=[ha].concat(ra),++W);return t(X,ra,W)};F.precision=F.sd=function(X,S){if(null!=X&&X!==!!X)return u(X,1,1E9),null==S?S=aa:u(S,0,8),r(new q(this),X,S);if(!(S=this.c))return null;var ha=S.length-1;var W=
|
||
14*ha+1;if(ha=S[ha]){for(;0==ha%10;ha/=10,W--);for(ha=S[0];10<=ha;ha/=10,W++);}X&&this.e+1>W&&(W=this.e+1);return W};F.shiftedBy=function(X){u(X,-9007199254740991,9007199254740991);return this.times("1e"+X)};F.squareRoot=F.sqrt=function(){var X=this.c;var S=this.s,ha=this.e,W=M+4,ra=new q("0.5");if(1!==S||!X||!X[0])return new q(!S||0>S&&(!X||X[0])?NaN:X?this:1/0);S=Math.sqrt(+f(this));if(0==S||S==1/0){X=n(X);0==(X.length+ha)%2&&(X+="0");S=Math.sqrt(+X);ha=y((ha+1)/2)-(0>ha||ha%2);S==1/0?X="5e"+ha:
|
||
(X=S.toExponential(),X=X.slice(0,X.indexOf("e")+1)+ha);var wa=new q(X)}else wa=new q(S+"");if(wa.c[0])for(ha=wa.e,S=ha+W,3>S&&(S=0);;){var va=wa;wa=ra.times(va.plus(R(this,va,W,1)));if(n(va.c).slice(0,S)===(X=n(wa.c)).slice(0,S))if(wa.e<ha&&--S,X=X.slice(S-3,S+1),"9999"==X||!Fa&&"4999"==X){if(!Fa&&(r(va,va.e+M+2,0),va.times(va).eq(this))){wa=va;break}W+=4;S+=4;var Fa=1}else{if(!+X||!+X.slice(1)&&"5"==X.charAt(0)){r(wa,wa.e+M+2,1);var Ba=!wa.times(wa).eq(this)}break}}return r(wa,wa.e+M+1,aa,Ba)};F.toExponential=
|
||
function(X,S){null!=X&&(u(X,0,1E9),X++);return E(this,X,S,1)};F.toFixed=function(X,S){null!=X&&(u(X,0,1E9),X=X+this.e+1);return E(this,X,S)};F.toFormat=function(X,S,ha){if(null==ha)null!=X&&S&&"object"==typeof S?(ha=S,S=null):X&&"object"==typeof X?(ha=X,X=S=null):ha=L;else if("object"!=typeof ha)throw Error("[BigNumber Error] Argument not an object: "+ha);var W=this.toFixed(X,S);if(this.c){var ra=W.split(".");W=+ha.groupSize;X=+ha.secondaryGroupSize;var wa=ha.groupSeparator||"";S=ra[0];ra=ra[1];var va=
|
||
0>this.s,Fa=va?S.slice(1):S,Ba=Fa.length;if(X){var Ka=W;W=X;X=Ka;Ba-=Ka}if(0<W&&0<Ba){Ka=Ba%W||W;for(S=Fa.substr(0,Ka);Ka<Ba;Ka+=W)S+=wa+Fa.substr(Ka,W);0<X&&(S+=wa+Fa.slice(Ka));va&&(S="-"+S)}W=ra?S+(ha.decimalSeparator||"")+((X=+ha.fractionGroupSize)?ra.replace(new RegExp("\\d{"+X+"}\\B","g"),"$\x26"+(ha.fractionGroupSeparator||"")):ra):S}return(ha.prefix||"")+W+(ha.suffix||"")};F.toFraction=function(X){var S,ha,W;var ra=this.c;if(null!=X){var wa=new q(X);if(!wa.isInteger()&&(wa.c||1!==wa.s)||wa.lt(C))throw Error("[BigNumber Error] Argument "+
|
||
(wa.isInteger()?"out of range: ":"not an integer: ")+f(wa));}if(!ra)return new q(this);var va=new q(C);var Fa=S=new q(C);var Ba=W=new q(C);var Ka=n(ra);ra=va.e=Ka.length-this.e-1;va.c[0]=c[0>(ha=ra%14)?14+ha:ha];X=!X||0<wa.comparedTo(va)?0<ra?va:Fa:wa;ha=V;V=1/0;wa=new q(Ka);for(W.c[0]=0;;){var Oa=R(wa,va,0,1);Ka=S.plus(Oa.times(Ba));if(1==Ka.comparedTo(X))break;S=Ba;Ba=Ka;Fa=W.plus(Oa.times(Ka=Fa));W=Ka;va=wa.minus(Oa.times(Ka=va));wa=Ka}Ka=R(X.minus(S),Ba,0,1);W=W.plus(Ka.times(Fa));S=S.plus(Ka.times(Ba));
|
||
W.s=Fa.s=this.s;ra*=2;X=1>R(Fa,Ba,ra,aa).minus(this).abs().comparedTo(R(W,S,ra,aa).minus(this).abs())?[Fa,Ba]:[W,S];V=ha;return X};F.toNumber=function(){return+f(this)};F.toPrecision=function(X,S){null!=X&&u(X,1,1E9);return E(this,X,S,2)};F.toString=function(X){var S=this,ha=S.s,W=S.e;null===W?ha?(X="Infinity",0>ha&&(X="-"+X)):X="NaN":(null==X?X=W<=O||W>=U?A(n(S.c),W):B(n(S.c),W,"0"):10===X&&N?(S=r(new q(S),M+W+1,aa),X=B(n(S.c),S.e,"0")):(u(X,2,Q.length,"Base"),X=la(B(n(S.c),W,"0"),10,X,ha,!0)),0>
|
||
ha&&S.c[0]&&(X="-"+X));return X};F.valueOf=F.toJSON=function(){return f(this)};F._isBigNumber=!0;null!=m&&q.set(m);return q}function y(m){var q=m|0;return 0<m||m===q?q:q-1}function n(m){for(var q,E,w=1,t=m.length,r=m[0]+"";w<t;){q=m[w++]+"";for(E=14-q.length;E--;q="0"+q);r+=q}for(t=r.length;48===r.charCodeAt(--t););return r.slice(0,t+1||1)}function b(m,q){var E=m.c,w=q.c,t=m.s,r=q.s;m=m.e;var f=q.e;if(!t||!r)return null;q=E&&!E[0];var F=w&&!w[0];if(q||F)return q?F?0:-r:t;if(t!=r)return t;q=0>t;F=
|
||
m==f;if(!E||!w)return F?0:!E^q?1:-1;if(!F)return m>f^q?1:-1;r=(m=E.length)<(f=w.length)?m:f;for(t=0;t<r;t++)if(E[t]!=w[t])return E[t]>w[t]^q?1:-1;return m==f?0:m>f^q?1:-1}function u(m,q,E,w){if(m<q||m>E||m!==h(m))throw Error("[BigNumber Error] "+(w||"Argument")+("number"==typeof m?m<q||m>E?" out of range: ":" not an integer: ":" not a primitive number: ")+String(m));}function z(m){var q=m.c.length-1;return y(m.e/14)==q&&0!=m.c[q]%2}function A(m,q){return(1<m.length?m.charAt(0)+"."+m.slice(1):m)+(0>
|
||
q?"e":"e+")+q}function B(m,q,E){var w;if(0>q){for(w=E+".";++q;w+=E);m=w+m}else{var t=m.length;if(++q>t){w=E;for(q-=t;--q;w+=E);m+=w}else q<t&&(m=m.slice(0,q)+"."+m.slice(q))}return m}var J=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,g=Math.ceil,h=Math.floor,c=[1,10,100,1E3,1E4,1E5,1E6,1E7,1E8,1E9,1E10,1E11,1E12,1E13];var p=Y();p["default"]=p.BigNumber=p;"function"==typeof define&&define.amd?define(function(){return p}):"undefined"!=typeof Ta&&Ta.exports?Ta.exports=p:(v||="undefined"!=typeof self&&
|
||
self?self:window,v.BigNumber=p)})(this)};
|
||
'use strict';var Yod=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Zod=function(a,b,c,d){return Array.prototype.splice.apply(a,Yod(arguments,1))},$od=function(a){switch(a){case '"':case ";":case "@":case "^":case "`":case "~":case "(":case ")":case "[":case "]":case "{":case "}":case "\\":return!0;default:return!1}},apd=function(a){return $APP.Iq(a)?new $APP.O(null,2,5,$APP.P,[a.wf(null),a.vf(null)],null):null},T9=function(a){return $APP.Iq(a)?
|
||
new $APP.O(null,2,5,$APP.P,[a.wf(null),a.vf(null)-1|0],null):null},bpd=function(a){a=$APP.x(a);for(var b=$APP.Zb($APP.Bg);;)if(a){var c=$APP.A(a);a=$APP.wc(a);b=$APP.Ag.j($APP.Ag.j(b,$APP.Rb(c)),$APP.Sb(c))}else return $APP.x($APP.bc(b))},cpd=function(a,b){this.obj=a;this.name=b;this.U=6291456;this.Z=0},dpd=function(a){var b=ReactDOM,c=b.findDOMNode,d=$APP.Mh("textarea");a=$APP.Cr.A(a).refs[$APP.Mh(d)];return c.call(b,a)},epd=function(a){return $APP.Td(a)&&$APP.B.j($APP.A(a),$APP.H8a)},fpd=function(a){return $APP.Td(a)&&
|
||
$APP.B.j($APP.A(a),$APP.F8a)},gpd=function(a){throw $APP.Xm.j("resolve-symbol is not implemented",new $APP.l(null,1,[$APP.iL,a],null));},hpd=function(a,b,c){a===U9&&(a=0>c,$APP.yxa(b,a?c:a))},ipd=function(a,b,c){if(null==c)return $APP.dxa(a,b);$APP.$8c.clear();for(b=c;;){if($APP.Cq(b)||$od(b)||null==b)return null!=b&&a.ue(null,b),$APP.$8c.toString();$APP.$8c.append(b);b=a.Ia(null)}},jpd=function(a,b,c){b=1+b;$APP.Oc(a)!==b&&$APP.bxa(a);for(var d=1,e=0;;){if(d===b)return String.fromCharCode(e);var f=
|
||
$APP.Jwa($APP.C.j(a,d),c);if(-1===f)return $APP.hxa($APP.C.j(a,d),a);e=f+e*c;d+=1}},kpd=function(a){var b=a.Ia(null);if(null!=b){b=$od(b)||$APP.Cq(b)?$APP.t.A(b):ipd(a,$APP.Pxa,b);var c=b.length;if(1===c)return b.charAt(0);if($APP.B.j(b,"newline"))return"\n";if($APP.B.j(b,"space"))return" ";if($APP.B.j(b,"tab"))return"\t";if($APP.B.j(b,"backspace"))return"\b";if($APP.B.j(b,"formfeed"))return"\f";if($APP.B.j(b,"return"))return"\r";if($APP.n($APP.va(b,"u")))return b=jpd(b,4,16),c=b.charCodeAt(0),55295<
|
||
c&&57344>c?$APP.kxa(a,c.toString(16)):b;if($APP.n($APP.va(b,"o"))){--c;if(3<c)return $APP.lxa(a,b);c=jpd(b,c,8);b=$APP.Yh.j(b,1);return 255>=parseInt(b,8)?c:$APP.mxa(a)}return $APP.Rq(a,$APP.F(["Unsupported character: ",b,"."]))}return $APP.nxa(a)},lpd=function(a,b){return $APP.Rq(a,$APP.F(["Unmatched delimiter ",b,"."]))},mpd=function(a){var b=a.Ia(null);if($APP.Cq(b))return $APP.pxa(a);b=ipd(a,$APP.Zq,b);var c=$APP.Uq(b);if(null!=c){var d=c.ka(null,0);c=c.ka(null,1);if(":"===b.charAt(0)){if(null!=
|
||
d)return d=$APP.G.j(null,$APP.mi.A($APP.Yh.j(d,1))),$APP.n(d)?$APP.li.j($APP.t.A(d),c):$APP.Tq(a,$APP.Zq,[":",$APP.t.A(b)].join(""));d=null;return $APP.n(d)?$APP.li.j($APP.t.A(d),$APP.Yh.j(c,1)):$APP.Rq(a,$APP.F(["Invalid token: :",b]))}return $APP.li.j(d,c)}return $APP.Tq(a,$APP.Zq,[":",$APP.t.A(b)].join(""))},npd=function(a,b){var c=T9(a),d=$APP.C.C(c,0,null);c=$APP.C.C(c,1,null);b=ipd(a,$APP.oq,b);if(null==b)return null;switch(b){case "nil":return null;case "true":return!0;case "false":return!1;
|
||
case "/":return $APP.aya;default:var e=$APP.Uq(b);if(null!=e){b=$APP.mi.j(e.ka(null,0),e.ka(null,1));e=b.ea;if(null==d)d=null;else{var f=$APP.Hq(a);f=null==f?null:new $APP.l(null,1,[$APP.dq,f],null);var g=apd(a);a=$APP.C.C(g,0,null);g=$APP.C.C(g,1,null);d=$APP.jm.F($APP.F([f,new $APP.l(null,4,[$APP.lo,d,$APP.fq,c,$APP.hq,a,$APP.eq,g],null)]))}d=e.call(b,null,d)}else d=$APP.Tq(a,$APP.oq,b);return d}},ppd=function(a){if($APP.xb(opd))throw $APP.Xm.j("Gensym literal not in syntax-quote",new $APP.l(null,
|
||
1,[$APP.Ym,$APP.Zpc],null));var b=$APP.G.j(opd,a);if($APP.n(b))return b;b=$APP.mi.A([$APP.Yh.C($APP.Mh(a),0,$APP.Mh(a).length-1),"__",$APP.t.A($APP.ui.j($APP.U8c,$APP.Fc)),"__auto__"].join(""));opd=$APP.T.C(opd,a,b);return b},qpd=function(a){return $APP.mi.A([-1===a?"rest":["p",$APP.t.A(a)].join(""),"__",$APP.t.A($APP.ui.j($APP.U8c,$APP.Fc)),"#"].join(""))},rpd=function(a){if($APP.n(V9)){var b=V9.call(null,a);if($APP.n(b))return b;b=qpd(a);V9=$APP.T.C(V9,a,b);return b}throw $APP.Xm.j("Arg literal not in #()",
|
||
new $APP.l(null,1,[$APP.Ym,$APP.Zpc],null));},spd=function(a){for(var b=new $APP.jb,c=a.Ia(null);;){if('"'===c)return $APP.ci($APP.t.A(b));if(null==c)return $APP.gxa(a,$APP.lH,$APP.F([b]));b.append(c);"\\"===c&&(c=a.Ia(null),null==c&&$APP.gxa(a,$APP.lH,$APP.F([b])),b.append(c));c=a.Ia(null)}},upd=function(a,b){return function(){var c=null!=a?a.U&262144||$APP.mc===a.sg?!0:!1:!1;return c?$APP.x($APP.Vj.F($APP.od(a),$APP.lo,$APP.F([$APP.fq,$APP.hq,$APP.eq,$APP.dq,$APP.Kq]))):c}()?new $APP.J(null,$APP.Y8a,
|
||
new $APP.J(null,b,new $APP.J(null,function(){var c=$APP.od(a);return tpd.A?tpd.A(c):tpd.call(null,c)}(),null,1,null),2,null),3,null):b},vpd=function(a,b){a:{b=$APP.x(b);for(var c=$APP.Zb($APP.Bg);;)if(b){var d=$APP.A(b);c=$APP.Ag.j(c,fpd(d)?new $APP.J(null,$APP.J8a,new $APP.J(null,$APP.Sc(d),null,1,null),2,null):epd(d)?$APP.Sc(d):new $APP.J(null,$APP.J8a,new $APP.J(null,tpd.A?tpd.A(d):tpd.call(null,d),null,1,null),2,null));b=$APP.wc(b)}else{b=$APP.x($APP.bc(c));break a}}b=new $APP.J(null,$APP.wnc,
|
||
new $APP.J(null,$APP.cf($APP.TLc,b),null,1,null),2,null);return $APP.n(a)?new $APP.J(null,$APP.v$a,new $APP.J(null,a,new $APP.J(null,b,null,1,null),2,null),3,null):b},tpd=function(a){if($APP.fj(a))var b=new $APP.J(null,$APP.dj,new $APP.J(null,a,null,1,null),2,null);else if(a instanceof $APP.w)b=new $APP.J(null,$APP.dj,new $APP.J(null,$APP.n(function(){var c=$APP.xb($APP.gf(a));return c?$APP.wa($APP.Mh(a),"#"):c}())?ppd(a):function(){var c=$APP.t.A(a);return $APP.n($APP.wa(c,"."))?(c=$APP.mi.A($APP.Yh.C(c,
|
||
0,c.length-1)),$APP.mi.A([$APP.t.A(gpd.call(null,c)),"."].join(""))):gpd.call(null,a)}(),null,1,null),2,null);else if(fpd(a))b=$APP.Sc(a);else{if(epd(a))throw $APP.Xm.j("unquote-splice not in list",new $APP.l(null,1,[$APP.Ym,$APP.Zpc],null));if($APP.xd(a))if(null!=a&&(a.U&67108864||$APP.mc===a.sw))b=a;else if($APP.Cd(a))b=vpd(16<=$APP.Oc(a)?$APP.YBc:$APP.eFc,bpd(a));else if($APP.Fd(a))b=new $APP.J(null,$APP.SLc,new $APP.J(null,vpd(null,a),null,1,null),2,null);else if($APP.yd(a))b=vpd($APP.O6c,a);
|
||
else if($APP.Td(a)||$APP.Xe(a))b=function(){var c=$APP.x(a);return c?vpd(null,c):$APP.ck($APP.rqc)}();else throw $APP.Xm.j("Unknown Collection type",new $APP.l(null,1,[$APP.Ym,$APP.jra],null));else b=a instanceof $APP.N||"number"===typeof a||"string"===typeof a||null==a||a instanceof Boolean||!0===a||!1===a||a instanceof RegExp?a:new $APP.J(null,$APP.dj,new $APP.J(null,a,null,1,null),2,null)}return upd(a,b)},ypd=function(a,b,c,d){b=a.Ia(null);if($APP.n(b)){var e=wpd.A?wpd.A(b):wpd.call(null,b);if($APP.n(e))return e.J?
|
||
e.J(a,b,c,d):e.call(null,a,b,c,d);a.ue(null,b);return xpd.J?xpd.J(a,b,c,d):xpd.call(null,a,b,c,d)}return $APP.fxa(a)},Apd=function(a,b,c,d,e){for(var f=1,g=$APP.Jwa(b,c);;){if(-1===g)return $APP.ixa(a,b);if(f!==d){var h=a.Ld(null);var m=$APP.Cq(h);m||(m=zpd.A?zpd.A(h):zpd.call(null,h),m=$APP.n(m)?m:null==h);if($APP.n(m))return $APP.n(e)?$APP.jxa(a,f,d):String.fromCharCode(g);m=$APP.Jwa(h,c);a.Ia(null);if(-1===m)return $APP.ixa(a,h);g=m+g*c;f+=1}else return String.fromCharCode(g)}},Cpd=function(a,
|
||
b,c,d,e){var f=Bpd;Bpd=!0;try{a:for(var g=T9(c),h=$APP.C.C(g,0,null),m=$APP.C.C(g,1,null),p=$APP.Bwa(b),q=$APP.Zb($APP.Bg);;){var r=W9?W9(c,!1,U9,p,d,e):X9.call(null,c,!1,U9,p,d,e);if(r===Y9){var u=$APP.bc(q);break a}if(r===U9){u=$APP.$wa(c,a,h,m,$APP.Oc(q));break a}q=$APP.Ag.j(q,r)}return u}finally{Bpd=f}},Dpd=function(a,b,c,d){var e=T9(a);b=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);var f=Cpd($APP.pq,")",a,c,d);d=apd(a);c=$APP.C.C(d,0,null);d=$APP.C.C(d,1,null);f=$APP.ud(f)?$APP.uc:$APP.$f.j($APP.ck,
|
||
f);if($APP.n(b)){var g=$APP.jm.F;a=$APP.Hq(a);a=g.call($APP.jm,$APP.F([$APP.n(a)?new $APP.l(null,1,[$APP.dq,a],null):null,new $APP.l(null,4,[$APP.lo,b,$APP.fq,e,$APP.hq,c,$APP.eq,d],null)]))}else a=null;return $APP.nd(f,a)},Epd=function(a,b,c,d){var e=T9(a);b=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);c=Cpd($APP.rq,"]",a,c,d);var f=apd(a);d=$APP.C.C(f,0,null);f=$APP.C.C(f,1,null);if($APP.n(b)){var g=$APP.jm.F;a=$APP.Hq(a);a=g.call($APP.jm,$APP.F([$APP.n(a)?new $APP.l(null,1,[$APP.dq,a],null):null,new $APP.l(null,
|
||
4,[$APP.lo,b,$APP.fq,e,$APP.hq,d,$APP.eq,f],null)]))}else a=null;return $APP.nd(c,a)},Fpd=function(a,b,c,d){var e=T9(a);b=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);var f=Cpd($APP.qq,"}",a,c,d),g=$APP.Oc(f),h=$APP.Yq.j(2,f),m=$APP.Kh(h);d=apd(a);c=$APP.C.C(d,0,null);d=$APP.C.C(d,1,null);!$APP.Zf(g)&&$APP.axa(a,b,e,f);$APP.B.j($APP.Oc(m),$APP.Oc(h))||$APP.xxa(a,$APP.qq,h);f=g<=2*$APP.Wxa?$APP.Xia($APP.xe(f),!0,!0):$APP.tja($APP.xe(f));$APP.n(b)?(g=$APP.jm.F,a=$APP.Hq(a),a=g.call($APP.jm,$APP.F([$APP.n(a)?
|
||
new $APP.l(null,1,[$APP.dq,a],null):null,new $APP.l(null,4,[$APP.lo,b,$APP.fq,e,$APP.hq,c,$APP.eq,d],null)]))):a=null;return $APP.nd(f,a)},Gpd=function(a,b){for(var c=function(){var g=new $APP.jb;g.append(b);return g}(),d=a.Ia(null);;){if($APP.n(function(){var g=$APP.Cq(d);if(g)return g;g=zpd.A?zpd.A(d):zpd.call(null,d);return $APP.n(g)?g:null==d}())){var e=$APP.t.A(c);a.ue(null,d);var f=$APP.Fxa(e);return $APP.n(f)?f:$APP.Rq(a,$APP.F(["Invalid number: ",e,"."]))}e=function(){var g=c;g.append(d);
|
||
return g}();f=a.Ia(null);c=e;d=f}},Hpd=function(a){var b=a.Ia(null);switch(b){case "t":return"\t";case "r":return"\r";case "n":return"\n";case "\\":return"\\";case '"':return'"';case "b":return"\b";case "f":return"\f";case "u":return b=a.Ia(null),-1===parseInt(b|0,16)?$APP.cxa(a,b):Apd(a,b,16,4,!0);default:return $APP.Ewa(b)?(b=Apd(a,b,8,3,!1),255<(b|0)?$APP.mxa(a):b):$APP.oxa(a,b)}},Ipd=function(a){for(var b=new $APP.jb,c=a.Ia(null);;){if(null==c)return $APP.gxa(a,$APP.Np,$APP.F(['"',b]));switch(c){case "\\":var d=
|
||
function(){var f=b;f.append(Hpd(a));return f}(),e=a.Ia(null);b=d;c=e;continue;case '"':return $APP.t.A(b);default:d=function(){var f=b;f.append(c);return f}(),e=a.Ia(null),b=d,c=e}}},Jpd=function(a){return function(b,c,d,e){return new $APP.J(null,a,new $APP.J(null,Z9?Z9(b,!0,null,d,e):X9.call(null,b,!0,null,d,e),null,1,null),2,null)}},Kpd=function(a,b,c,d){if(a instanceof $APP.Qwa&&!$APP.Cq($APP.Kwa(a)))return $APP.Swa(a,function(){var h=T9(a),m=$APP.C.C(h,0,null),p=$APP.C.C(h,1,null),q=$APP.Gwa(Z9?
|
||
Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d));$APP.Cd(q)||$APP.qxa(a,q);h=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d);return null!=h&&(h.U&131072||$APP.mc===h.Og)?(m=$APP.n($APP.n(m)?$APP.Td(h):m)?$APP.T.F(q,$APP.lo,m,$APP.F([$APP.fq,p])):q,null!=h&&(h.U&262144||$APP.mc===h.sg)?$APP.nd(h,$APP.jm.F($APP.F([$APP.od(h),m]))):h.meta=m):$APP.rxa(a,h)});var e=T9(a);b=$APP.C.C(e,0,null);var f=$APP.C.C(e,1,null),g=$APP.Gwa(Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d));$APP.Cd(g)||$APP.qxa(a,g);
|
||
e=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d);return null!=e&&(e.U&131072||$APP.mc===e.Og)?(b=$APP.n($APP.n(b)?$APP.Td(e):b)?$APP.T.F(g,$APP.lo,b,$APP.F([$APP.fq,f])):g,null!=e&&(e.U&262144||$APP.mc===e.sg)?$APP.nd(e,$APP.jm.F($APP.F([$APP.od(e),b]))):e.meta=b):$APP.rxa(a,e)},Lpd=function(a,b,c,d){var e=T9(a);b=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);e=$APP.n(e)?e-1|0:null;var f=Cpd($APP.sq,"}",a,c,d);c=$APP.Kh(f);var g=apd(a);d=$APP.C.C(g,0,null);g=$APP.C.C(g,1,null);$APP.B.j($APP.Oc(f),$APP.Oc(c))||
|
||
$APP.Rq(a,$APP.F([$APP.xxa(a,$APP.sq,f)]));$APP.n(b)?(f=$APP.jm.F,a=$APP.Hq(a),a=f.call($APP.jm,$APP.F([$APP.n(a)?new $APP.l(null,1,[$APP.dq,a],null):null,new $APP.l(null,4,[$APP.lo,b,$APP.fq,e,$APP.hq,d,$APP.eq,g],null)]))):a=null;return $APP.nd(c,a)},Mpd=function(a,b,c,d){Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d);return a},Npd=function(a,b,c,d){b=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d);return $APP.B.j($APP.iya,b)?Number.NaN:$APP.B.j($APP.jya,b)?Number.NEGATIVE_INFINITY:$APP.B.j($APP.kya,
|
||
b)?Number.POSITIVE_INFINITY:$APP.Rq(a,$APP.F([["Invalid token: ##",$APP.t.A(b)].join("")]))},Opd=function(a,b,c,d){var e=$9;$9=!0;try{var f=W9?W9(b,!1,U9,")",c,d):X9.call(null,b,!1,U9,")",c,d);hpd(f,b,a);return f===Y9?Y9:null}finally{$9=e}},Qpd=function(a,b,c,d){var e=$APP.Iq(a)?$APP.Fq(a):-1;a:for(var f=Ppd,g=null;;)if(f===Ppd){f=e;g=a;var h=c,m=d,p=W9?W9(g,!1,U9,")",h,m):X9.call(null,g,!1,U9,")",h,m);hpd(p,g,f);if($APP.B.j(p,Y9))f=Y9;else{var q=g,r=p;$APP.n($APP.G.j($APP.a9c,r))&&$APP.Rq(q,$APP.F(["Feature name ",
|
||
r," is reserved"]));q=g;r=h;(p instanceof $APP.N?$APP.B.j($APP.Rj,p)||$APP.je($APP.G.j(r,$APP.kH),p):$APP.Rq(q,$APP.F(["Feature should be a keyword: ",p])))?(h=W9?W9(g,!1,U9,")",h,m):X9.call(null,g,!1,U9,")",h,m),hpd(h,g,f),h===Y9&&(0>f?$APP.Rq(g,$APP.F(["read-cond requires an even number of forms"])):$APP.Rq(g,$APP.F(["read-cond starting on line ",f," requires an even number of forms"]))),f=h):(f=Opd(f,g,h,m),f=$APP.n(f)?f:Ppd)}if(f===Y9){c=Y9;break a}g=null}else if(g!==Y9)g=Opd(e,a,c,d);else{c=
|
||
f;break a}return c===Y9?a:$APP.n(b)?null!=c&&(c.U&16777216||$APP.mc===c.ep)?(b=$APP.xe(c),$APP.eaa(Zod,d,0,0).apply(null,b),a):$APP.Rq(a,$APP.F(["Spliced form list in read-cond-splicing must implement ISequential"])):c},Rpd=function(a,b,c,d){if($APP.xb(function(){if($APP.n(c)){var g=$APP.B9a.A(c),h=new $APP.Gh(null,new $APP.l(null,2,[$APP.C9a,null,$APP.sG,null],null),null);return h.A?h.A(g):h.call(null,g)}return c}()))throw $APP.Xm.j("Conditional read not allowed",new $APP.l(null,1,[$APP.Ym,$APP.Pnc],
|
||
null));var e=a.Ia(null);if($APP.n(e))if(e=(b=$APP.B.j(e,"@"))?a.Ia(null):e,b&&($APP.n(Bpd)||$APP.Rq(a,$APP.F(["cond-splice not in list"]))),e=$APP.Cq(e)?$APP.Axa(a):e,$APP.n(e)){if($APP.Bh.j(e,"("))throw $APP.Xm.j("read-cond body must be a list",new $APP.l(null,1,[$APP.Ym,$APP.Pnc],null));var f=$9;$9=function(){var g=$9;return $APP.n(g)?g:$APP.B.j($APP.C9a,$APP.B9a.A(c))}();try{return $APP.n($9)?$APP.Cwa(Dpd(a,e,c,d),b):Qpd(a,b,c,d)}finally{$9=f}}else return $APP.nxa(a);else return $APP.nxa(a)},Spd=
|
||
function(a,b,c,d){if($APP.n(V9))throw $APP.Xm.j("Nested #()s are not allowed",new $APP.l(null,1,[$APP.Ym,$APP.Zpc],null));b=V9;V9=$APP.fx();try{$APP.Lwa(a,"(");var e=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d);var f=$APP.Wb(V9);if(f){var g=$APP.Rb($APP.A(f));a:{a=1;for(var h=$APP.Zb($APP.Bg);;){if(a>g){var m=$APP.bc(h);break a}c=a+1;d=$APP.Ag;var p=d.j;f=h;var q=$APP.G.j(V9,a);var r=$APP.n(q)?q:qpd(a);var u=p.call(d,f,r);a=c;h=u}}var y=$APP.n(V9.call(null,-1))?$APP.Ze.F(m,$APP.Ui,$APP.F([V9.call(null,
|
||
-1)])):m}else y=$APP.Bg;return new $APP.J(null,$APP.aj,new $APP.J(null,y,new $APP.J(null,e,null,1,null),2,null),3,null)}finally{V9=b}},Tpd=function(a,b,c,d){if(null==V9)return npd(a,b);b=a.Ld(null);if($APP.Cq(b)||$od(b)||null==b)return rpd(1);if($APP.B.j(b,"\x26"))return a.Ia(null),rpd(-1);a=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d);if($APP.Yd(a))return rpd(a);throw $APP.Xm.j("Arg literal must be %, %\x26 or %integer",new $APP.l(null,1,[$APP.Ym,$APP.Zpc],null));},Upd=function(a,b,c,d){b=a.Ld(null);
|
||
$APP.n(b)?$APP.B.j("@",b)?(b=Jpd($APP.H8a),a.Ia(null),a=b(a,"@",c,d)):a=Jpd($APP.F8a)(a,"~",c,d):a=null;return a},Vpd=function(a,b,c,d){b=opd;opd=$APP.Mf;try{return tpd(Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d))}finally{opd=b}},Xpd=function(a,b,c,d){var e=T9(a);b=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);var f=ipd(a,$APP.gya,$APP.Eq(a)),g=$APP.B.j(f,":")?null.name:$APP.B.j(":",$APP.A(f))?function(){var m=null==f?null:$APP.Yh.j(f,1);m=null==m?null:$APP.Uq(m);m=null==m?null:$APP.Iwa(m);m=null==
|
||
m?null:$APP.mi.A(m);if(null==m)m=null;else{var p=$APP.G.j(null,m);$APP.n(p)?m=p:(null==Wpd&&(Wpd=$APP.ti.A($APP.Mf)),p=$APP.G.j($APP.v(Wpd),m),null!=p?m=p:(p=$APP.pla(m),null==p?m=null:(p=new cpd(p,m),$APP.ui.J(Wpd,$APP.T,m,p),m=p)),m=$APP.n(m)?$APP.mi.A(m.name):null)}return m}():function(){var m=null==f?null:$APP.Uq(f);return null==m?null:$APP.Iwa(m)}();if($APP.n(g)){if("{"===$APP.Axa(a)){d=Cpd($APP.gya,"}",a,c,d);var h=apd(a);c=$APP.C.C(h,0,null);h=$APP.C.C(h,1,null);!$APP.Zf($APP.Oc(d))&&$APP.axa(a,
|
||
null,null,d);g=$APP.Hwa($APP.t.A(g),$APP.Yq.j(2,d));d=$APP.Yq.j(2,$APP.vc(d));$APP.B.j($APP.Oc($APP.Kh(g)),$APP.Oc(g))||$APP.xxa(a,$APP.gya,g);return $APP.nd($APP.Nh(g,d),$APP.n(b)?$APP.jm.F($APP.F([function(){var m=$APP.Hq(a);return $APP.n(m)?new $APP.l(null,1,[$APP.dq,m],null):null}(),new $APP.l(null,4,[$APP.lo,b,$APP.fq,e,$APP.hq,c,$APP.eq,h],null)])):null)}return $APP.sxa(a,f)}return $APP.txa(a,f)},zpd=function(a){switch(a){case '"':return Ipd;case ":":return mpd;case ";":return $APP.$q;case "'":return Jpd($APP.dj);
|
||
case "@":return Jpd($APP.V9a);case "^":return Kpd;case "`":return Vpd;case "~":return Upd;case "(":return Dpd;case ")":return lpd;case "[":return Epd;case "]":return lpd;case "{":return Fpd;case "}":return lpd;case "\\":return kpd;case "%":return Tpd;case "#":return ypd;default:return null}},wpd=function(a){switch(a){case "^":return Kpd;case "'":return Jpd($APP.cj);case "(":return Spd;case "{":return Lpd;case "\x3c":return $APP.Gxa("Unreadable form");case "\x3d":return $APP.Gxa("read-eval not supported");
|
||
case '"':return spd;case "!":return $APP.$q;case "_":return Mpd;case "?":return Rpd;case ":":return Xpd;case "#":return Npd;default:return null}},xpd=function(a,b,c,d){b=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d);b instanceof $APP.w||$APP.uxa(a,b);if($APP.n($9))return $APP.ij(b,Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d));var e=$APP.b9c.call(null,b);e=$APP.n(e)?e:$APP.mya.A?$APP.mya.A(b):$APP.mya.call(null,b);return $APP.n(e)?(a=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d),e.A?e.A(a):
|
||
e.call(null,a)):$APP.n(null)?(e=null,a=Z9?Z9(a,!0,null,c,d):X9.call(null,a,!0,null,c,d),e.j?e.j(b,a):e.call(null,b,a)):$APP.vxa(a,b)},Ypd=function(a,b,c,d,e,f){for(;;){if(a instanceof $APP.Qwa&&!$APP.Cq(a.Ld(null)))return $APP.Swa(a,function(){for(;;)if(0==f.length){var m=a.Ia(null);if(!$APP.Cq(m)){if(null==m)return b?$APP.yxa(a,null):c;if(m===d)return Y9;if($APP.zxa(a,m))return Gpd(a,m);var p=zpd(m);if(null!=p){if(m=p.J?p.J(a,m,e,f):p.call(null,a,m,e,f),m!==a)return m}else return npd(a,m)}}else return m=
|
||
f[0],$APP.jaa(f,0),m});if(0==f.length){var g=a.Ia(null);if(!$APP.Cq(g)){if(null==g)return b?$APP.yxa(a,null):c;if(g===d)return Y9;if($APP.zxa(a,g))return Gpd(a,g);var h=zpd(g);if(null!=h){if(g=h.J?h.J(a,g,e,f):h.call(null,a,g,e,f),g!==a)return g}else return npd(a,g)}}else return g=f[0],$APP.jaa(f,0),g}},X9=function(a){switch(arguments.length){case 5:return Z9(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]);case 6:return W9(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],
|
||
arguments[5]);default:throw Error(["Invalid arity: ",$APP.t.A(arguments.length)].join(""));}},Z9=function(a,b,c,d,e){return W9(a,b,c,null,d,e)},W9=function(a,b,c,d,e,f){try{return Ypd(a,b,c,d,e,f)}catch(g){if(g instanceof Error){b=g;if(b instanceof $APP.Qi){c=$APP.Ri(b);if($APP.B.j($APP.Mq,$APP.Ym.A(c)))throw b;throw $APP.Xm.C(b.message,$APP.jm.F($APP.F([new $APP.l(null,1,[$APP.Ym,$APP.Mq],null),c,$APP.Iq(a)?new $APP.l(null,3,[$APP.lo,a.wf(null),$APP.fq,a.vf(null),$APP.dq,a.nj],null):null])),b);}throw $APP.Xm.C(b.message,
|
||
$APP.jm.F($APP.F([new $APP.l(null,1,[$APP.Ym,$APP.Mq],null),$APP.Iq(a)?new $APP.l(null,3,[$APP.lo,a.wf(null),$APP.fq,a.vf(null),$APP.dq,a.nj],null):null])),b);}throw g;}},Zpd=function(a,b,c){b=$APP.ru.A(a);var d=$APP.xs($APP.Ts(a,null)),e=$APP.n(b)?b.A?b.A($APP.Ss):b.call(null,$APP.Ss):null;b=$APP.n(e)?$APP.T.C(b,$APP.Ss,$APP.OBa(e,d,$APP.zs)):b;a=new $APP.l(null,1,[$APP.Ym,$APP.Ns.A(a)],null);a=$APP.x(b)?$APP.T.C(a,$APP.Is,b):a;return $APP.x(c)?$APP.T.C(a,$APP.Js,c):a},a$=function(a,b){if(null!=
|
||
a&&null!=a.ai)a=a.ai(a,b);else{var c=a$[$APP.ca(null==a?null:a)];if(null!=c)a=c.j?c.j(a,b):c.call(null,a,b);else if(c=a$._,null!=c)a=c.j?c.j(a,b):c.call(null,a,b);else throw $APP.Hb("ConjFlat.conj-flat",a);}return a},aqd=function(a,b){for(a=$APP.ky.j(a,b);;)if($APP.n($pd.A?$pd.A(a):$pd.call(null,a)))a=$APP.G.j(a,0),b=$APP.Ze.j(b,0);else return b},cqd=function(a,b){return new $APP.uf(null,function(){var c=$APP.ky.j(a,b);a:{var d=a;for(var e=b;;){if($APP.B.j($APP.Oc(e),1)){d=$APP.pd(e)<(bqd.A?bqd.A(d):
|
||
bqd.call(null,d))-1?aqd(d,new $APP.O(null,1,5,$APP.P,[$APP.pd(e)+1],null)):null;break a}var f=$APP.pd(e);var g=$APP.ky.j(d,$APP.rd(e));g=bqd.A?bqd.A(g):bqd.call(null,g);if(f<g-1){d=aqd(d,$APP.Ze.j($APP.rd(e),$APP.pd(e)+1));break a}e=$APP.rd(e)}}return $APP.cf(c,$APP.n(d)?cqd(a,d):null)},null,null)},dqd=function(a,b,c,d,e){this.v=a;this.co=b;this.xh=c;this.ca=d;this.dirty=e;this.Ul=null;this.U=31850958;this.Z=0},eqd=function(a,b){var c=$APP.Oc(b);a:if(0===c)c=1;else{c|=0;for(var d=1,e=31;;){var f=
|
||
$APP.Zf(c);c=$APP.Ne(c,2);if(f)e=(0,$APP.lc)(e,e);else{if(0===c){c=(0,$APP.lc)(e,d);break a}d=(0,$APP.lc)(e,d);e=(0,$APP.lc)(e,e)}}}c|=0;return(0,$APP.lc)(c,a.co)+(b.co-c)},fqd=function(a){a=$APP.ze(a);a:for(var b=1,c=$APP.x(a);;)if(null!=c)b=(0,$APP.lc)(31,b)+$APP.nc($APP.A(c))|0,c=$APP.wc(c);else break a;return new dqd(a,b,$APP.nc(a),$APP.Oc(a),!1)},$pd=function(a){return a instanceof dqd},bqd=function(a){return $pd(a)?$APP.Oc(a.v):$APP.Oc(a)},gqd=function(a,b,c,d){this.v=a;this.xh=b;this.ca=c;
|
||
this.flat=d;this.U=167142175;this.Z=2048},b$=function(a){$APP.xb($APP.v(a.flat))&&($APP.ui.j(a.flat,function(){var b=$APP.v(a.v);b=$APP.bc(hqd($APP.Zb($APP.Bg),b));return $APP.nd(b,$APP.od($APP.v(a.v)))}),$APP.ui.j(a.v,function(){return null}));return $APP.v(a.flat)},iqd=function(a){return $APP.n(a.dirty)?$APP.n(a.Ul)?$APP.ze($APP.x(a)):new gqd($APP.ti.A(a.v),a.xh,a.ca,$APP.ti.A(null)):a.v},kqd=function(a,b,c){(b=$APP.xb(b))?(b=c.A?c.A($APP.Dq):c.call(null,$APP.Dq),a=a.A?a.A(b):a.call(null,b)):a=
|
||
b;return $APP.n(a)?["(",$APP.t.A(c$?c$(c,!1):jqd.call(null,c,!1)),")"].join(""):c$?c$(c,!1):jqd.call(null,c,!1)},lqd=function(a){switch(a){case "\n":return"\\n";case "\b":return"\\b";case "\f":return"\\f";case "\r":return"\\r";case "\t":return"\\t";default:return a}},mqd=function(a){return $APP.nk(['#"',$APP.Yh.j(a.source,1),'"'].join(""),/[\s]/,lqd)},nqd=function(a){return 4095>=a?["0000",$APP.t.A(a.toString(16))].join("").substr(-4):a.toString(16)},oqd=function(a){var b=$APP.Nf(a);a=$APP.G.j(b,
|
||
d$);b=$APP.G.j(b,e$);return $APP.B.j(a,b)?["%x",$APP.t.A(nqd(a))].join(""):["%x",$APP.t.A(nqd(a)),"-",$APP.t.A(nqd(b))].join("")},jqd=function(a){switch(arguments.length){case 1:return c$(arguments[0],!1);case 2:return c$(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.A(arguments.length)].join(""));}},c$=function(a,b){var c=$APP.Nf(a);a=$APP.G.j(c,$APP.g_);var d=$APP.G.j(c,f$),e=$APP.G.j(c,g$),f=$APP.G.j(c,h$),g=$APP.G.j(c,$APP.Dq);if($APP.n(function(){var m=$APP.xb(b);return m?
|
||
$APP.z5.A(c):m}()))return["\x3c",$APP.t.A(c$(c,!0)),"\x3e"].join("");g=g instanceof $APP.N?g.Y:null;switch(g){case "epsilon":return"ε";case "opt":return[$APP.t.A(pqd(b,a)),"?"].join("");case "plus":return[$APP.t.A(pqd(b,a)),"+"].join("");case "star":return[$APP.t.A(pqd(b,a)),"*"].join("");case "rep":return $APP.Bh.j($APP.Ks.A(c),$APP.no.A(c))?[$APP.t.A(pqd(b,a)),"{",$APP.t.A($APP.Ks.A(c)),",",$APP.t.A($APP.no.A(c)),"}"].join(""):[$APP.t.A(pqd(b,a)),"{",$APP.t.A($APP.Ks.A(c)),"}"].join("");case "alt":return $APP.Hk.j(" | ",
|
||
$APP.ki.j($APP.Gl.C(kqd,new $APP.Gh(null,new $APP.l(null,1,[qqd,null],null),null),b),f));case "ord":return[$APP.t.A(kqd(new $APP.Gh(null,new $APP.l(null,1,[$APP.bv,null],null),null),b,d))," / ",$APP.t.A(kqd(new $APP.Gh(null,new $APP.l(null,1,[$APP.bv,null],null),null),b,e))].join("");case "cat":return $APP.Hk.j(" ",$APP.ki.j($APP.Gl.C(kqd,new $APP.Gh(null,new $APP.l(null,2,[qqd,null,$APP.bv,null],null),null),b),f));case "string":var h=new $APP.jb;a=$APP.rb;d=$APP.sb;$APP.rb=!0;$APP.sb=function(m){return h.append(m)};
|
||
try{$APP.bl.F($APP.F([$APP.Np.A(c)]))}finally{$APP.sb=d,$APP.rb=a}return $APP.t.A(h);case "string-ci":h=new $APP.jb;a=$APP.rb;d=$APP.sb;$APP.rb=!0;$APP.sb=function(m){return h.append(m)};try{$APP.bl.F($APP.F([$APP.Np.A(c)]))}finally{$APP.sb=d,$APP.rb=a}return $APP.t.A(h);case "char":return oqd(c);case "regexp":return mqd(i$.A(c));case "nt":return $APP.Yh.j($APP.t.A($APP.Zq.A(c)),1);case "look":return["\x26",$APP.t.A(pqd(b,a))].join("");case "neg":return["!",$APP.t.A(pqd(b,a))].join("");default:throw Error(["No matching clause: ",
|
||
$APP.t.A(g)].join(""));}},rqd=function(a,b){return $APP.B.j(j$.A($APP.I2.A(b)),$APP.St)?["\x3c",$APP.Mh(a),"\x3e \x3d ",$APP.t.A(c$(b,!1))].join(""):[$APP.Mh(a)," \x3d ",$APP.t.A(c$(b,!1))].join("")},sqd=function(a){a=$APP.Nf(a);var b=$APP.G.j(a,k$),c=$APP.G.j(a,l$);return $APP.Hk.j("\n",$APP.cf(rqd(c,b.A?b.A(c):b.call(null,c)),function(){return function f(e){return new $APP.uf(null,function(){for(var g=e;;)if(g=$APP.x(g)){if($APP.Hd(g)){var h=$APP.dc(g),m=$APP.Oc(h),p=$APP.yf(m);a:for(var q=0;;)if(q<
|
||
m){var r=$APP.kd(h,q),u=$APP.C.C(r,0,null);r=$APP.C.C(r,1,null);$APP.Bh.j(u,c)&&$APP.Df(p,rqd(u,r));q+=1}else{h=!0;break a}return h?$APP.Cf($APP.Ef(p),f($APP.ec(g))):$APP.Cf($APP.Ef(p),null)}h=$APP.A(g);p=$APP.C.C(h,0,null);h=$APP.C.C(h,1,null);if($APP.Bh.j(p,c))return $APP.cf(rqd(p,h),f($APP.vc(g)));g=$APP.vc(g)}else return null},null,null)}(b)}()))},vqd=function(a){$APP.n(tqd.A(a))?($APP.Xk.F($APP.F(["NOT "])),$APP.Xk.F($APP.F([tqd.A(a)]))):$APP.n(uqd.A(a))?$APP.Xk.F($APP.F([oqd(a)])):a instanceof
|
||
RegExp?$APP.Xk.F($APP.F([mqd(a)])):$APP.bl.F($APP.F([a]))},wqd=function(a){var b=$APP.Nf(a);a=$APP.G.j(b,$APP.lo);var c=$APP.G.j(b,$APP.fq),d=$APP.G.j(b,$APP.uv);b=$APP.G.j(b,$APP.$k);$APP.cl.F($APP.F([["Parse error at line ",$APP.t.A(a),", column ",$APP.t.A(c),":"].join("")]));$APP.cl.F($APP.F([d]));$APP.cl.F($APP.F([$APP.Yd(c)?1>=c?"^":$APP.$f.j($APP.t,$APP.ql.j($APP.Vl.j(c-1," "),new $APP.O(null,1,5,$APP.P,["^"],null))):null]));c=$APP.Mw.A($APP.ki.j(m$,$APP.wg.j($APP.$ra,b)));a=$APP.Mw.A($APP.ki.j(m$,
|
||
$APP.wg.j($APP.ag($APP.$ra),b)));d=$APP.Oc(c)+$APP.Oc(a);0!==d&&($APP.B.j(1,d)?$APP.cl.F($APP.F(["Expected:"])):$APP.cl.F($APP.F(["Expected one of:"])));c=$APP.x(c);d=null;for(var e=b=0;;)if(e<b){var f=d.ka(null,e);vqd(f);$APP.cl.F($APP.F([" (followed by end-of-string)"]));e+=1}else if(c=$APP.x(c))d=c,$APP.Hd(d)?(c=$APP.dc(d),e=$APP.ec(d),d=c,b=$APP.Oc(c),c=e):(c=$APP.A(d),vqd(c),$APP.cl.F($APP.F([" (followed by end-of-string)"])),c=$APP.wc(d),d=null,b=0),e=0;else break;a=$APP.x(a);c=null;for(e=b=
|
||
0;;)if(e<b)d=c.ka(null,e),vqd(d),$APP.cl(),e+=1;else if(a=$APP.x(a))c=a,$APP.Hd(c)?(a=$APP.dc(c),b=$APP.ec(c),c=a,d=$APP.Oc(a),a=b,b=d):(d=$APP.A(c),vqd(d),$APP.cl(),a=$APP.wc(c),c=null,b=0),e=0;else break},xqd=function(a){throw $APP.$f.j($APP.t,a);},yqd=function(a){throw $APP.$f.j($APP.t,a);},zqd=function(a){var b=$APP.n(a.ignoreCase)?"i":"";b=$APP.n(a.multiline)?[b,"m"].join(""):b;return $APP.n(a.unicode)?[b,"u"].join(""):b},Aqd=function(a){return $APP.x(a)&&$APP.xb($APP.wc(a))},n$=function(a){return $APP.T.C(a,
|
||
$APP.I2,Bqd)},Cqd=function(a,b){var c=j$.A(a);switch(c instanceof $APP.N?c.Y:null){case "raw":return o$.ai(null,b);case "hiccup":return iqd(fqd(new $APP.O(null,1,5,$APP.P,[$APP.At.A(a)],null)).ai(null,b));case "enlive":return b=o$.ai(null,b),new $APP.l(null,2,[$APP.Dq,$APP.At.A(a),$APP.yr,0===$APP.Oc(b)?null:b],null);default:return a.A?a.A(b):a.call(null,b)}},Dqd=function(a,b){var c=p$.A?p$.A(a):p$.call(null,a);return $APP.n(c)?$APP.bh.j($APP.Mf,function(){return function f(e){return new $APP.uf(null,
|
||
function(){for(;;){var g=$APP.x(e);if(g){if($APP.Hd(g)){var h=$APP.dc(g),m=$APP.Oc(h),p=$APP.yf(m);a:for(var q=0;;)if(q<m){var r=$APP.kd(h,q),u=$APP.C.C(r,0,null);r=$APP.C.C(r,1,null);$APP.Df(p,$APP.n($APP.I2.A(r))?new $APP.O(null,2,5,$APP.P,[u,r],null):new $APP.O(null,2,5,$APP.P,[u,$APP.T.C(r,$APP.I2,c.A?c.A(u):c.call(null,u))],null));q+=1}else{h=!0;break a}return h?$APP.Cf($APP.Ef(p),f($APP.ec(g))):$APP.Cf($APP.Ef(p),null)}h=$APP.A(g);p=$APP.C.C(h,0,null);h=$APP.C.C(h,1,null);return $APP.cf($APP.n($APP.I2.A(h))?
|
||
new $APP.O(null,2,5,$APP.P,[p,h],null):new $APP.O(null,2,5,$APP.P,[p,$APP.T.C(h,$APP.I2,c.A?c.A(p):c.call(null,p))],null),f($APP.vc(g)))}return null}},null,null)}(b)}()):yqd($APP.F(["Invalid output format ",a,". Use :enlive or :hiccup."]))},Eqd=function(a){return $APP.B.j(a,q$)?q$:new $APP.l(null,2,[$APP.Dq,$APP.xL,$APP.g_,a],null)},Fqd=function(a){return $APP.B.j(a,q$)?q$:new $APP.l(null,2,[$APP.Dq,r$,$APP.g_,a],null)},Gqd=function(a){return $APP.B.j(a,q$)?q$:new $APP.l(null,2,[$APP.Dq,s$,$APP.g_,
|
||
a],null)},Iqd=function(a,b,c){return $APP.B.j(c,q$)?q$:new $APP.l(null,4,[$APP.Dq,Hqd,$APP.g_,c,$APP.Ks,a,$APP.no,b],null)},t$=function(a){return $APP.B.j(a,"")?q$:new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,a],null)},Kqd=function(a){return $APP.B.j(a,"")?q$:new $APP.l(null,2,[$APP.Dq,Jqd,$APP.Np,a],null)},Lqd=function(a,b){return new $APP.l(null,3,[$APP.Dq,$APP.hH,d$,a,e$,b],null)},u$=function(a){$APP.B.j(a,"")?a=q$:(a=$APP.ci(a),a=$APP.Uh(a)?new RegExp(["^",$APP.t.A(a.source)].join(""),zqd(a)):a,
|
||
a=new $APP.l(null,2,[$APP.Dq,i$,i$,a],null));return a},w$=function(a){return new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,a],null)},Nqd=function(a){return new $APP.l(null,2,[$APP.Dq,Mqd,$APP.g_,a],null)},Pqd=function(a){return new $APP.l(null,2,[$APP.Dq,Oqd,$APP.g_,a],null)},x$=function(a){return $APP.T.C(a,$APP.z5,!0)},Qqd=function(a){return $APP.bh.j($APP.Mf,function(){return function d(c){return new $APP.uf(null,function(){for(;;){var e=$APP.x(c);if(e){if($APP.Hd(e)){var f=$APP.dc(e),g=$APP.Oc(f),h=$APP.yf(g);
|
||
a:for(var m=0;;)if(m<g){var p=$APP.kd(f,m),q=$APP.C.C(p,0,null);p=$APP.C.C(p,1,null);$APP.Df(h,new $APP.O(null,2,5,$APP.P,[q,y$(p)],null));m+=1}else{f=!0;break a}return f?$APP.Cf($APP.Ef(h),d($APP.ec(e))):$APP.Cf($APP.Ef(h),null)}f=$APP.A(e);h=$APP.C.C(f,0,null);f=$APP.C.C(f,1,null);return $APP.cf(new $APP.O(null,2,5,$APP.P,[h,y$(f)],null),d($APP.vc(e)))}return null}},null,null)}(a)}())},Rqd=function(a,b){var c=p$.A?p$.A(a):p$.call(null,a);return $APP.n(c)?$APP.bh.j($APP.Mf,function(){return function f(e){return new $APP.uf(null,
|
||
function(){for(;;){var g=$APP.x(e);if(g){if($APP.Hd(g)){var h=$APP.dc(g),m=$APP.Oc(h),p=$APP.yf(m);a:for(var q=0;;)if(q<m){var r=$APP.kd(h,q),u=$APP.C.C(r,0,null);r=$APP.C.C(r,1,null);$APP.Df(p,new $APP.O(null,2,5,$APP.P,[u,$APP.T.C(r,$APP.I2,c.A?c.A(u):c.call(null,u))],null));q+=1}else{h=!0;break a}return h?$APP.Cf($APP.Ef(p),f($APP.ec(g))):$APP.Cf($APP.Ef(p),null)}h=$APP.A(g);p=$APP.C.C(h,0,null);h=$APP.C.C(h,1,null);return $APP.cf(new $APP.O(null,2,5,$APP.P,[p,$APP.T.C(h,$APP.I2,c.A?c.A(p):c.call(null,
|
||
p))],null),f($APP.vc(g)))}return null}},null,null)}(b)}()):yqd($APP.F(["Invalid output format ",a,". Use :enlive or :hiccup."]))},Sqd=function(a,b){var c=p$.A?p$.A(a):p$.call(null,a);return $APP.n(c)?$APP.bh.j($APP.Mf,function(){return function f(e){return new $APP.uf(null,function(){for(;;){var g=$APP.x(e);if(g){if($APP.Hd(g)){var h=$APP.dc(g),m=$APP.Oc(h),p=$APP.yf(m);a:for(var q=0;;)if(q<m){var r=$APP.kd(h,q),u=$APP.C.C(r,0,null);r=$APP.C.C(r,1,null);$APP.Df(p,new $APP.O(null,2,5,$APP.P,[u,$APP.T.C(y$(r),
|
||
$APP.I2,c.A?c.A(u):c.call(null,u))],null));q+=1}else{h=!0;break a}return h?$APP.Cf($APP.Ef(p),f($APP.ec(g))):$APP.Cf($APP.Ef(p),null)}h=$APP.A(g);p=$APP.C.C(h,0,null);h=$APP.C.C(h,1,null);return $APP.cf(new $APP.O(null,2,5,$APP.P,[p,$APP.T.C(y$(h),$APP.I2,c.A?c.A(p):c.call(null,p))],null),f($APP.vc(g)))}return null}},null,null)}(b)}()):yqd($APP.F(["Invalid output format ",a,". Use :enlive or :hiccup."]))},Tqd=function(a,b,c,d){var e=x$(Eqd(w$(d)));c=$APP.T.C(c,d,n$(c.A?c.A(d):c.call(null,d)));d=$APP.bh.j($APP.Mf,
|
||
function(){return function h(g){return new $APP.uf(null,function(){for(;;){var m=$APP.x(g);if(m){if($APP.Hd(m)){var p=$APP.dc(m),q=$APP.Oc(p),r=$APP.yf(q);a:for(var u=0;;)if(u<q){var y=$APP.kd(p,u),z=$APP.C.C(y,0,null);y=$APP.C.C(y,1,null);$APP.Df(r,new $APP.O(null,2,5,$APP.P,[z,z$(y,e)],null));u+=1}else{p=!0;break a}return p?$APP.Cf($APP.Ef(r),h($APP.ec(m))):$APP.Cf($APP.Ef(r),null)}p=$APP.A(m);r=$APP.C.C(p,0,null);p=$APP.C.C(p,1,null);return $APP.cf(new $APP.O(null,2,5,$APP.P,[r,z$(p,e)],null),
|
||
h($APP.vc(m)))}return null}},null,null)}(a)}());b=$APP.T.C(d,b,$APP.T.C(A$.F($APP.F([$APP.Vj.j(d.A?d.A(b):d.call(null,b),$APP.I2),e])),$APP.I2,$APP.I2.A(d.A?d.A(b):d.call(null,b))));return $APP.jm.F($APP.F([b,c]))},Uqd=function(a){if(null==a||!(0<=a&&1114111>=a))return null;if(65536<=a&&1114111>=a){const b=(a&1023)+56320;return String.fromCharCode((a>>10)+55232)+String.fromCharCode(b)}return String.fromCharCode(a)},Vqd=function(a,b){const c=a.charCodeAt(b);if(55296<=c&&56319>=c&&b+1<a.length){if(a=
|
||
a.charCodeAt(b+1),56320<=a&&57343>=a)return 55296<=c&&56319>=c&&56320<=a&&57343>=a?(c<<10)-56623104+(a-56320+65536):null}else if(56320<=c&&57343>=c&&0<b&&(a=a.charCodeAt(b-1),55296<=a&&56319>=a))return-(55296<=a&&56319>=a&&56320<=c&&57343>=c?(a<<10)-56623104+(c-56320+65536):0);return c},krd=function(a,b,c){var d=$APP.Dq.A(a);d=d instanceof $APP.N?d.Y:null;switch(d){case "nt":return Wqd.C?Wqd.C(a,b,c):Wqd.call(null,a,b,c);case "alt":return Xqd.C?Xqd.C(a,b,c):Xqd.call(null,a,b,c);case "cat":return Yqd.C?
|
||
Yqd.C(a,b,c):Yqd.call(null,a,b,c);case "string":return Zqd.C?Zqd.C(a,b,c):Zqd.call(null,a,b,c);case "string-ci":return $qd.C?$qd.C(a,b,c):$qd.call(null,a,b,c);case "char":return ard.C?ard.C(a,b,c):ard.call(null,a,b,c);case "epsilon":return brd.C?brd.C(a,b,c):brd.call(null,a,b,c);case "opt":return crd.C?crd.C(a,b,c):crd.call(null,a,b,c);case "plus":return drd.C?drd.C(a,b,c):drd.call(null,a,b,c);case "rep":return erd.C?erd.C(a,b,c):erd.call(null,a,b,c);case "star":return frd.C?frd.C(a,b,c):frd.call(null,
|
||
a,b,c);case "regexp":return grd.C?grd.C(a,b,c):grd.call(null,a,b,c);case "look":return hrd.C?hrd.C(a,b,c):hrd.call(null,a,b,c);case "neg":return ird.C?ird.C(a,b,c):ird.call(null,a,b,c);case "ord":return jrd.C?jrd.C(a,b,c):jrd.call(null,a,b,c);default:throw Error(["No matching clause: ",$APP.t.A(d)].join(""));}},zrd=function(a,b,c){var d=$APP.Dq.A(a);d=d instanceof $APP.N?d.Y:null;switch(d){case "nt":return lrd.C?lrd.C(a,b,c):lrd.call(null,a,b,c);case "alt":return mrd.C?mrd.C(a,b,c):mrd.call(null,
|
||
a,b,c);case "cat":return nrd.C?nrd.C(a,b,c):nrd.call(null,a,b,c);case "string":return ord.C?ord.C(a,b,c):ord.call(null,a,b,c);case "string-ci":return prd.C?prd.C(a,b,c):prd.call(null,a,b,c);case "char":return qrd.C?qrd.C(a,b,c):qrd.call(null,a,b,c);case "epsilon":return rrd.C?rrd.C(a,b,c):rrd.call(null,a,b,c);case "opt":return srd.C?srd.C(a,b,c):srd.call(null,a,b,c);case "plus":return trd.C?trd.C(a,b,c):trd.call(null,a,b,c);case "rep":return urd.C?urd.C(a,b,c):urd.call(null,a,b,c);case "star":return vrd.C?
|
||
vrd.C(a,b,c):vrd.call(null,a,b,c);case "regexp":return wrd.C?wrd.C(a,b,c):wrd.call(null,a,b,c);case "look":return xrd.C?xrd.C(a,b,c):xrd.call(null,a,b,c);case "neg":return ird.C?ird.C(a,b,c):ird.call(null,a,b,c);case "ord":return yrd.C?yrd.C(a,b,c):yrd.call(null,a,b,c);default:throw Error(["No matching clause: ",$APP.t.A(d)].join(""));}},B$=function(a,b,c,d,e){this.index=a;this.reason=b;this.H=c;this.G=d;this.K=e;this.U=2230716170;this.Z=139264},C$=function(a,b,c,d,e,f,g,h,m,p,q,r,u,y,z,E,H){this.Hb=
|
||
a;this.text=b;this.Bd=c;this.bd=d;this.vd=e;this.stack=f;this.ud=g;this.generation=h;this.td=m;this.qd=p;this.nodes=q;this.jc=r;this.cd=u;this.Cd=y;this.H=z;this.G=E;this.K=H;this.U=2230716170;this.Z=139264},Ard=function(a,b,c,d,e){return new C$(a,b,c,d,e,$APP.ti.A($APP.Bg),$APP.ti.A($APP.Bg),$APP.ti.A(0),$APP.ti.A($APP.pV($APP.Tu)),$APP.ti.A($APP.Mf),$APP.ti.A($APP.Mf),$APP.ti.A(null),$APP.ti.A(new B$(0,$APP.Bg,null,null,null)),!1,null,null,null)},D$=function(a,b){return new $APP.l(null,2,[$APP.uC,
|
||
a,$APP.Bx,b],null)},Brd=function(a,b){return $APP.B.j($APP.Oc($APP.uv.A(a)),$APP.Bx.A(b))},E$=function(a,b,c,d,e,f,g){this.listeners=a;this.Rf=b;this.results=c;this.Sf=d;this.H=e;this.G=f;this.K=g;this.U=2230716170;this.Z=139264},Crd=function(a,b){return $APP.ui.C($APP.S3.A(a),$APP.Ze,b)},F$=function(a,b,c){function d(){return b.A?b.A(c):b.call(null,c)}var e=Drd.A(a),f=$APP.Bx.A(c);f=new $APP.O(null,2,5,$APP.P,[b,f],null);var g=$APP.G.C($APP.v(e),f,0);g>$APP.v(Erd.A(a))?$APP.ui.C(Frd.A(a),$APP.Ze,
|
||
d):$APP.ui.C($APP.S3.A(a),$APP.Ze,d);$APP.ui.J(e,$APP.T,f,g+1)},Grd=function(a,b){a=$APP.xv.A(a);a=$APP.v(a);b=a.A?a.A(b):a.call(null,b);return $APP.n(b)?0<$APP.Oc($APP.v($APP.pA.A(b))):null},Hrd=function(a,b){a=$APP.xv.A(a);a=$APP.v(a);b=a.A?a.A(b):a.call(null,b);return $APP.n(b)?0<$APP.Oc($APP.v(G$.A(b)))||0<$APP.Oc($APP.v($APP.pA.A(b))):null},Ird=function(a,b){a=$APP.xv.A(a);a=$APP.v(a);b=a.A?a.A(b):a.call(null,b);return $APP.n(b)?0<$APP.Oc($APP.v(H$.A(b)))||0<$APP.Oc($APP.v(I$.A(b))):null},Jrd=
|
||
function(a,b){a=$APP.xv.A(a);var c=$APP.v(a);c=c.A?c.A(b):c.call(null,b);$APP.n(c)||(c=new E$($APP.ti.A($APP.Bg),$APP.ti.A($APP.Bg),$APP.ti.A($APP.Hh),$APP.ti.A($APP.Hh),null,null,null),$APP.ui.J(a,$APP.T,b,c));return c},Krd=function(a,b){return(null!=a?a.U&262144||$APP.mc===a.sg||(a.U?0:$APP.Db($APP.Ub,a)):$APP.Db($APP.Ub,a))?$APP.nd(a,b):a},J$=function(a,b,c){var d=Jrd(a,b),e=b.A?b.A(1):b.call(null,1),f=$APP.n($APP.z5.A(e))?$APP.T.C(c,$APP.uC,null):c,g=function(){var y=$APP.I2.A(e);return $APP.n(y)?
|
||
D$(Krd(Cqd(y,$APP.uC.A(f)),new $APP.l(null,2,[Lrd,b.A?b.A(0):b.call(null,0),Mrd,$APP.Bx.A(f)],null)),$APP.Bx.A(f)):f}(),h=(c=Brd(a,g))?H$.A(d):I$.A(d);if($APP.xb(function(){var y=$APP.v(h);return y.A?y.A(g):y.call(null,g)}())){$APP.ui.C(h,$APP.Ze,g);for(var m=$APP.x($APP.v($APP.pA.A(d))),p=null,q=0,r=0;;)if(r<q){var u=p.ka(null,r);F$(a,u,g);r+=1}else if(m=$APP.x(m))p=m,$APP.Hd(p)?(m=$APP.dc(p),r=$APP.ec(p),p=m,q=$APP.Oc(m),m=r):(m=$APP.A(p),F$(a,m,g),m=$APP.wc(p),p=null,q=0),r=0;else break;if(c)for(d=
|
||
$APP.x($APP.v(G$.A(d))),c=null,q=p=0;;)if(q<p)m=c.ka(null,q),F$(a,m,g),q+=1;else if(d=$APP.x(d))c=d,$APP.Hd(c)?(d=$APP.dc(c),p=$APP.ec(c),c=d,m=$APP.Oc(d),d=p,p=m):(m=$APP.A(c),F$(a,m,g),d=$APP.wc(c),c=null,p=0),q=0;else return null;else return null}else return null},K$=function(a,b,c){var d=Grd(a,b),e=Jrd(a,b),f=$APP.pA.A(e);$APP.ui.C(f,$APP.Ze,c);f=$APP.x($APP.v(I$.A(e)));for(var g=null,h=0,m=0;;)if(m<h){var p=g.ka(null,m);F$(a,c,p);m+=1}else if(f=$APP.x(f))g=f,$APP.Hd(g)?(f=$APP.dc(g),m=$APP.ec(g),
|
||
g=f,h=$APP.Oc(f),f=m):(f=$APP.A(g),F$(a,c,f),f=$APP.wc(g),g=null,h=0),m=0;else break;e=$APP.x($APP.v(H$.A(e)));f=null;for(h=g=0;;)if(h<g)m=f.ka(null,h),F$(a,c,m),h+=1;else if(e=$APP.x(e))f=e,$APP.Hd(f)?(e=$APP.dc(f),h=$APP.ec(f),f=e,g=$APP.Oc(e),e=h):(e=$APP.A(f),F$(a,c,e),e=$APP.wc(f),f=null,g=0),h=0;else break;return $APP.xb(d)?Crd(a,function(){return krd(b.A?b.A(1):b.call(null,1),b.A?b.A(0):b.call(null,0),a)}):null},Nrd=function(a,b,c){var d=Hrd(a,b),e=Jrd(a,b),f=G$.A(e);$APP.ui.C(f,$APP.Ze,c);
|
||
e=$APP.x($APP.v(H$.A(e)));f=null;for(var g=0,h=0;;)if(h<g){var m=f.ka(null,h);F$(a,c,m);h+=1}else if(e=$APP.x(e))f=e,$APP.Hd(f)?(e=$APP.dc(f),h=$APP.ec(f),f=e,g=$APP.Oc(e),e=h):(e=$APP.A(f),F$(a,c,e),e=$APP.wc(f),f=null,g=0),h=0;else break;return $APP.xb(d)?Crd(a,function(){return zrd(b.A?b.A(1):b.call(null,1),b.A?b.A(0):b.call(null,0),a)}):null},Prd=function(a,b,c){return $APP.ui.C(L$.A(a),Ord,$APP.Lf([b.A?b.A(0):b.call(null,0),new $APP.O(null,1,5,$APP.P,[c],null)]))},M$=function(a,b,c,d){$APP.ui.j($APP.jL.A(a),
|
||
function(e){var f=$APP.Bx.A(e);f=$APP.pe(c,f);switch(f){case 1:return new B$(c,new $APP.O(null,1,5,$APP.P,[d],null),null,null,null);case 0:return new B$(c,$APP.Ze.j($APP.$k.A(e),d),null,null,null);case -1:return e;default:throw Error(["No matching clause: ",$APP.t.A(f)].join(""));}});return $APP.B.j(c,Qrd.A(a))?J$(a,b,D$(function(){var e=Rrd.A(a);var f=$APP.uv.A(a);f=$APP.Yh.j?$APP.Yh.j(f,c):$APP.Yh.call(null,f,c);var g=$APP.Oc($APP.uv.A(a));return Srd.ba?Srd.ba(e,Trd,f,c,g):Srd.call(null,e,Trd,f,
|
||
c,g)}(),$APP.Oc($APP.uv.A(a)))):null},Urd=function(a){var b=$APP.pd($APP.v(a));$APP.ui.j(a,$APP.rd);b.I?b.I():b.call(null)},Vrd=function(a,b){for(;;){var c=$APP.S3.A(a);if($APP.n($APP.v($APP.Cm.A(a))))return $APP.cf($APP.uC.A($APP.v($APP.Cm.A(a))),new $APP.uf(null,function(f){return function(){$APP.dg($APP.Cm.A(f),null);return Vrd(f,!0)}}(a,b,c),null,null));if(0<$APP.Oc($APP.v(c)))Urd(c);else if(0<$APP.Oc($APP.v(L$.A(a)))){var d=$APP.A($APP.v(L$.A(a)));c=$APP.C.C(d,0,null);d=$APP.C.C(d,1,null);var e=
|
||
$APP.pd(d);e.I?e.I():e.call(null);$APP.B.j($APP.Oc(d),1)?$APP.ui.C(L$.A(a),$APP.Vj,c):$APP.ui.J(L$.A(a),$APP.tn,new $APP.O(null,1,5,$APP.P,[c],null),$APP.rd)}else if($APP.n(b))b=Frd.A(a),$APP.dg(c,$APP.v(b)),$APP.dg(b,$APP.Bg),$APP.ui.j(Erd.A(a),$APP.Fc),b=null;else return null}},N$=function(a,b){return function(c){return J$(b,a,c)}},Wrd=function(a,b){return function(){return J$(b,a,D$(null,a.A?a.A(0):a.call(null,0)))}},Xrd=function(a){return function(b){return $APP.dg($APP.Cm.A(a),b)}},Zqd=function(a,
|
||
b,c){var d=$APP.Np.A(a),e=$APP.uv.A(c);var f=$APP.Oc(e);var g=b+$APP.Oc(d);f=f<g?f:g;e=$APP.Yh.C?$APP.Yh.C(e,b,f):$APP.Yh.call(null,e,b,f);return $APP.B.j(d,e)?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(d,f)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.Np,m$,d],null))},ord=function(a,b,c){var d=$APP.Np.A(a),e=$APP.uv.A(c);var f=$APP.Oc(e);var g=b+$APP.Oc(d);f=f<g?f:g;g=$APP.Yh.C?$APP.Yh.C(e,b,f):$APP.Yh.call(null,e,b,f);return $APP.B.j(f,$APP.Oc(e))&&$APP.B.j(d,
|
||
g)?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(d,f)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,3,[$APP.Dq,$APP.Np,m$,d,$APP.$ra,!0],null))},$qd=function(a,b,c){var d=$APP.Np.A(a),e=$APP.uv.A(c);var f=$APP.Oc(e);var g=b+$APP.Oc(d);f=f<g?f:g;e=$APP.Yh.C?$APP.Yh.C(e,b,f):$APP.Yh.call(null,e,b,f);return $APP.B.j(d.toUpperCase(),e.toUpperCase())?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(d,f)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.Np,m$,
|
||
d],null))},prd=function(a,b,c){var d=$APP.Np.A(a),e=$APP.uv.A(c);var f=$APP.Oc(e);var g=b+$APP.Oc(d);f=f<g?f:g;g=$APP.Yh.C?$APP.Yh.C(e,b,f):$APP.Yh.call(null,e,b,f);return $APP.B.j(f,$APP.Oc(e))&&$APP.B.j(d.toUpperCase(),g.toUpperCase())?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(d,f)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,3,[$APP.Dq,$APP.Np,m$,d,$APP.$ra,!0],null))},ard=function(a,b,c){var d=d$.A(a),e=e$.A(a),f=$APP.uv.A(c);if(b>=$APP.Oc(f))return M$(c,new $APP.O(null,
|
||
2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.hH,m$,new $APP.l(null,3,[uqd,!0,d$,d,e$,e],null)],null));if(65535>=e)return f=f.charCodeAt(b),d<=f&&f<=e?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$($APP.t.A($APP.Ke(f)),b+1)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.hH,m$,new $APP.l(null,3,[uqd,!0,d$,d,e$,e],null)],null));f=Vqd(f,b|0);var g=Uqd(f);return d<=f&&f<=e?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(g,b+$APP.Oc(g))):M$(c,new $APP.O(null,2,
|
||
5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.hH,m$,new $APP.l(null,3,[uqd,!0,d$,d,e$,e],null)],null))},qrd=function(a,b,c){var d=d$.A(a),e=e$.A(a),f=$APP.uv.A(c),g=$APP.Oc(f);if(b>=$APP.Oc(f))return M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.hH,m$,new $APP.l(null,3,[uqd,!0,d$,d,e$,e],null)],null));if(65535>=e)return f=f.charCodeAt(b),$APP.B.j(b+1,g)&&d<=f&&f<=e?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$($APP.t.A($APP.Ke(f)),g)):M$(c,new $APP.O(null,
|
||
2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.hH,m$,new $APP.l(null,3,[uqd,!0,d$,d,e$,e],null)],null));f=Vqd(f,b|0);var h=Uqd(f);return $APP.B.j(b+$APP.Oc(h),g)&&d<=f&&f<=e?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(h,g)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,3,[$APP.Dq,$APP.hH,m$,new $APP.l(null,3,[uqd,!0,d$,d,e$,e],null),$APP.$ra,!0],null))},Yrd=function(a,b){a=(new RegExp(a.source,["g",zqd(a)].join(""))).exec(b);return $APP.n($APP.n(a)?0===a.index:a)?$APP.A(a):
|
||
null},grd=function(a,b,c){var d=i$.A(a),e=Zrd.A(c);e=$APP.Yh.j?$APP.Yh.j(e,b):$APP.Yh.call(null,e,b);e=Yrd(d,e);return $APP.n(e)?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(e,b+$APP.Oc(e))):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,i$,m$,d],null))},wrd=function(a,b,c){var d=i$.A(a),e=Zrd.A(c),f=$APP.Yh.j?$APP.Yh.j(e,b):$APP.Yh.call(null,e,b);f=Yrd(d,f);var g=$APP.Oc(e)-b;return $APP.n($APP.n(f)?$APP.B.j($APP.Oc(f),g):f)?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),
|
||
D$(f,$APP.Oc(e))):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,3,[$APP.Dq,i$,m$,d,$APP.$ra,!0],null))},Yqd=function(a,b,c){var d=h$.A(a);return K$(c,new $APP.O(null,2,5,$APP.P,[b,$APP.A(d)],null),$rd(o$,$APP.wc(d),new $APP.O(null,2,5,$APP.P,[b,a],null),c))},nrd=function(a,b,c){var d=h$.A(a);return K$(c,new $APP.O(null,2,5,$APP.P,[b,$APP.A(d)],null),asd(o$,$APP.wc(d),new $APP.O(null,2,5,$APP.P,[b,a],null),c))},drd=function(a,b,c){var d=$APP.g_.A(a);return K$(c,new $APP.O(null,2,5,
|
||
$APP.P,[b,d],null),bsd(o$,d,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c))},trd=function(a,b,c){var d=$APP.g_.A(a);return K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),csd(o$,d,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c))},erd=function(a,b,c){var d=$APP.g_.A(a),e=$APP.Ks.A(a),f=$APP.no.A(a);return 0===e?(J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b)),1<=f?K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),dsd(o$,0,d,1,f,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c)):null):K$(c,new $APP.O(null,2,5,$APP.P,
|
||
[b,d],null),dsd(o$,0,d,e,f,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c))},urd=function(a,b,c){var d=$APP.g_.A(a),e=$APP.Ks.A(a),f=$APP.no.A(a);return 0===e?(J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b)),1<=f?K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),esd(o$,0,d,1,f,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c)):null):K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),esd(o$,0,d,e,f,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c))},frd=function(a,b,c){var d=$APP.g_.A(a);K$(c,new $APP.O(null,2,5,$APP.P,
|
||
[b,d],null),bsd(o$,d,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c));return J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b))},vrd=function(a,b,c){var d=$APP.g_.A(a);return $APP.B.j(b,$APP.Oc($APP.uv.A(c)))?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b)):K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),csd(o$,d,b,new $APP.O(null,2,5,$APP.P,[b,a],null),c))},Xqd=function(a,b,c){var d=h$.A(a);d=$APP.x(d);for(var e=null,f=0,g=0;;)if(g<f){var h=e.ka(null,g);K$(c,new $APP.O(null,2,5,$APP.P,[b,h],
|
||
null),N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c));g+=1}else if(d=$APP.x(d))e=d,$APP.Hd(e)?(d=$APP.dc(e),f=$APP.ec(e),e=d,h=$APP.Oc(d),d=f,f=h):(h=$APP.A(e),K$(c,new $APP.O(null,2,5,$APP.P,[b,h],null),N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c)),d=$APP.wc(e),e=null,f=0),g=0;else return null},mrd=function(a,b,c){var d=h$.A(a);d=$APP.x(d);for(var e=null,f=0,g=0;;)if(g<f){var h=e.ka(null,g);Nrd(c,new $APP.O(null,2,5,$APP.P,[b,h],null),N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c));g+=1}else if(d=$APP.x(d))e=
|
||
d,$APP.Hd(e)?(d=$APP.dc(e),f=$APP.ec(e),e=d,h=$APP.Oc(d),d=f,f=h):(h=$APP.A(e),Nrd(c,new $APP.O(null,2,5,$APP.P,[b,h],null),N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c)),d=$APP.wc(e),e=null,f=0),g=0;else return null},jrd=function(a,b,c){var d=f$.A(a),e=g$.A(a);d=new $APP.O(null,2,5,$APP.P,[b,d],null);var f=new $APP.O(null,2,5,$APP.P,[b,e],null),g=N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c);K$(c,d,g);return Prd(c,d,function(){return K$(c,f,g)})},yrd=function(a,b,c){var d=f$.A(a),e=g$.A(a);d=new $APP.O(null,
|
||
2,5,$APP.P,[b,d],null);var f=new $APP.O(null,2,5,$APP.P,[b,e],null),g=N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c);Nrd(c,d,g);return Prd(c,d,function(){return Nrd(c,f,g)})},crd=function(a,b,c){var d=$APP.g_.A(a);K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c));return J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b))},srd=function(a,b,c){var d=$APP.g_.A(a);Nrd(c,new $APP.O(null,2,5,$APP.P,[b,d],null),N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c));return $APP.B.j(b,
|
||
$APP.Oc($APP.uv.A(c)))?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,$APP.vt,m$,fsd],null))},Wqd=function(a,b,c){var d=k$.A(c);var e=$APP.Zq.A(a);d=$APP.G.C(d,e,e);return K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),N$(new $APP.O(null,2,5,$APP.P,[b,a],null),c))},lrd=function(a,b,c){var d=k$.A(c);var e=$APP.Zq.A(a);d=$APP.G.C(d,e,e);return Nrd(c,new $APP.O(null,2,5,$APP.P,[b,d],null),N$(new $APP.O(null,2,5,$APP.P,[b,
|
||
a],null),c))},hrd=function(a,b,c){var d=$APP.g_.A(a);return K$(c,new $APP.O(null,2,5,$APP.P,[b,d],null),Wrd(new $APP.O(null,2,5,$APP.P,[b,a],null),c))},xrd=function(a,b,c){return $APP.B.j(b,$APP.Oc($APP.uv.A(c)))?hrd(a,b,c):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,gsd,m$,fsd],null))},ird=function(a,b,c){var d=$APP.g_.A(a),e=new $APP.O(null,2,5,$APP.P,[b,d],null);if($APP.n(Ird(c,e)))return M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,1,[$APP.Dq,hsd],
|
||
null));K$(c,e,function(){var f=new $APP.qi(function(){return M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,hsd,m$,new $APP.l(null,1,[tqd,c$(d,!1)],null)],null))},null);return function(){return $APP.dka(f)}}());return Prd(c,e,function(){return $APP.xb(Ird(c,e))?J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b)):null})},brd=function(a,b,c){return J$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b))},rrd=function(a,b,c){return $APP.B.j(b,$APP.Oc($APP.uv.A(c)))?J$(c,
|
||
new $APP.O(null,2,5,$APP.P,[b,a],null),D$(null,b)):M$(c,new $APP.O(null,2,5,$APP.P,[b,a],null),b,new $APP.l(null,2,[$APP.Dq,isd,m$,fsd],null))},jsd=function(a,b,c){$APP.n(c)?K$(a,new $APP.O(null,2,5,$APP.P,[0,b],null),Xrd(a)):Nrd(a,new $APP.O(null,2,5,$APP.P,[0,b],null),Xrd(a))},ksd=function(a,b,c,d){a=Ard(a,c,c,-1,null);jsd(a,w$(b),d);b=Vrd(a,null);if($APP.n(b))b=$APP.A(b);else{b=$APP.v($APP.jL.A(a));a:{d=$APP.Bx.A(b);for(var e=a=1,f=0;;){if($APP.B.j(d,f)){d=new $APP.l(null,2,[$APP.lo,a,$APP.fq,
|
||
e],null);break a}$APP.B.j("\n",$APP.G.j(c,f))?(f+=1,a+=1,e=1):(f+=1,e+=1)}}a=$APP.jm.F;a:for(e=$APP.lo.A(d),c=$APP.x($APP.nk(c,"\r\n","\n"));;){if($APP.ud(c)){c="";break a}if($APP.B.j(e,1)){c=$APP.$f.j($APP.t,$APP.Qh.j($APP.ag(new $APP.Gh(null,new $APP.l(null,1,["\n",null],null),null)),c));break a}$APP.B.j("\n",$APP.A(c))?(c=$APP.wc(c),--e):c=$APP.wc(c)}b=a.call($APP.jm,$APP.F([b,d,new $APP.l(null,1,[$APP.uv,c],null)]))}return b},Srd=function(a,b,c,d,e){return $APP.nd(a.j?a.j(b,c):a.call(null,b,c),
|
||
new $APP.l(null,2,[Lrd,d,Mrd,e],null))},msd=function(a,b){var c=lsd;if($APP.B.j(!0,c))return Kqd(a);if($APP.B.j(!1,c))return t$(a);if($APP.B.j($APP.Rj,c))return $APP.n(b)?Kqd(a):t$(a);throw Error(["No matching clause: ",$APP.t.A(c)].join(""));},nsd=function(a){for(var b=$APP.x(a),c=$APP.Bg;;){var d=$APP.A(b);if($APP.n(d))switch(d){case "\\":var e=$APP.Sc(b);if($APP.n(e)){$APP.B.j(e,"'")?(b=$APP.ig.j(2,b),c=$APP.Ze.j(c,e)):(b=$APP.ig.j(2,b),c=$APP.Ze.F(c,d,$APP.F([e])));continue}else return xqd($APP.F(["Encountered backslash character at end of string: ",
|
||
a]));case '"':b=$APP.wc(b);c=$APP.Ze.F(c,"\\",$APP.F(['"']));continue;default:b=$APP.wc(b),c=$APP.Ze.j(c,d)}else return $APP.$f.j($APP.t,c)}},psd=function(a){a=$APP.Yh.C(a,1,$APP.Oc(a)-1);a=nsd(a);a=[$APP.t.A(a),'"'].join("");a=$APP.Jq(a);return osd.J?osd.J(a,null,null,null):osd.call(null,a,null,null,null)},qsd=function(a){a=$APP.Yh.C(a,2,$APP.Oc(a)-1);a=nsd(a);return $APP.ci(a)},ssd=function(a){for(var b=$APP.Kh($APP.yh(a)),c=$APP.x($APP.Mw.A($APP.qg.F(rsd,$APP.F([$APP.Ah(a)])))),d=null,e=0,f=0;;)if(f<
|
||
e){var g=d.ka(null,f);$APP.n(b.A?b.A(g):b.call(null,g))||xqd($APP.F([$APP.Yh.j($APP.t.A(g),1)," occurs on the right-hand side of your grammar, but not on the left"]));f+=1}else if(c=$APP.x(c))d=c,$APP.Hd(d)?(c=$APP.dc(d),f=$APP.ec(d),d=c,e=$APP.Oc(c),c=f):(c=$APP.A(d),$APP.n(b.A?b.A(c):b.call(null,c))||xqd($APP.F([$APP.Yh.j($APP.t.A(c),1)," occurs on the right-hand side of your grammar, but not on the left"])),c=$APP.wc(d),d=null,e=0),f=0;else break;return a},usd=function(a,b){var c=ksd(tsd,$APP.dA,
|
||
a,!1);if(c instanceof B$)return xqd($APP.F(["Error parsing grammar specification:\n",function(){var e=new $APP.jb,f=$APP.rb,g=$APP.sb;$APP.rb=!0;$APP.sb=function(h){return e.append(h)};try{$APP.cl.F($APP.F([c]))}finally{$APP.sb=g,$APP.rb=f}return $APP.t.A(e)}()]));a=$APP.ki.j(O$,c);var d=$APP.A($APP.A(a));return new $APP.l(null,3,[k$,ssd(Dqd(b,$APP.bh.j($APP.Mf,a))),l$,d,P$,b],null)},vsd=function(a,b,c){return null==c?yqd($APP.F(["When you build a parser from a map of parser combinators, you must provide a start production using the :start keyword argument."])):
|
||
new $APP.l(null,3,[k$,ssd(Dqd(b,a)),l$,c,P$,b],null)},wsd=function(a,b){return(null!=a?a.U&262144||$APP.mc===a.sg||(a.U?0:$APP.Db($APP.Ub,a)):$APP.Db($APP.Ub,a))?$APP.nd(a,$APP.jm.F($APP.F([b,$APP.od(a)]))):a},xsd=function(a,b){return $APP.bh.j($APP.Mf,function(){return function e(d){return new $APP.uf(null,function(){for(var f=d;;)if(f=$APP.x(f)){if($APP.Hd(f)){var g=$APP.dc(f),h=$APP.Oc(g),m=$APP.yf(h);a:for(var p=0;;)if(p<h){var q=$APP.kd(g,p);$APP.je(a,q)&&$APP.Df(m,new $APP.O(null,2,5,$APP.P,
|
||
[q,a.A?a.A(q):a.call(null,q)],null));p+=1}else{g=!0;break a}return g?$APP.Cf($APP.Ef(m),e($APP.ec(f))):$APP.Cf($APP.Ef(m),null)}m=$APP.A(f);if($APP.je(a,m))return $APP.cf(new $APP.O(null,2,5,$APP.P,[m,a.A?a.A(m):a.call(null,m)],null),e($APP.vc(f)));f=$APP.vc(f)}else return null},null,null)}(b)}())},zsd=function(a){return $APP.jm.F($APP.F([xsd(ysd,$APP.Mw.A($APP.qg.F(rsd,$APP.F([$APP.Ah(a)])))),a]))},Asd=function(a,b){var c=$APP.B.j($APP.I2.A(a),Bqd),d=$APP.B.j($APP.I2.A(b),Bqd);return c&&d?n$(Q$.F($APP.F([$APP.Vj.j(a,
|
||
$APP.I2),$APP.Vj.j(b,$APP.I2)]))):c?n$(Q$.F($APP.F([$APP.Vj.j(a,$APP.I2),b]))):d?n$(Q$.F($APP.F([a,$APP.Vj.j(b,$APP.I2)]))):Q$.F($APP.F([a,b]))},Fsd=function(a,b){var c=ksd(Bsd,Csd,a,!1);if(c instanceof B$)return xqd($APP.F(["Error parsing grammar specification:\n",function(){var e=new $APP.jb,f=$APP.rb,g=$APP.sb;$APP.rb=!0;$APP.sb=function(h){return e.append(h)};try{$APP.cl.F($APP.F([c]))}finally{$APP.sb=g,$APP.rb=f}return $APP.t.A(e)}()]));var d=Dsd(Esd,c);a=zsd($APP.$f.C($APP.$p,Asd,d));d=$APP.A($APP.A($APP.A(d)));
|
||
return new $APP.l(null,3,[k$,ssd(Dqd(b,a)),l$,d,P$,b],null)},Gsd=function(a){var b=$APP.od(a);a=Lrd.A(b);b=Mrd.A(b);return $APP.n($APP.n(a)?b:a)?new $APP.O(null,2,5,$APP.P,[a,b],null):null},Hsd=function(a){return $APP.Fd(a)&&$APP.B.j($APP.Oc(a),1)||$APP.Cd(a)&&$APP.je(a,$APP.Dq)&&$APP.ud($APP.G.j(a,$APP.yr))||$APP.ud(a)},Isd=function(a,b,c,d,e){a=Ard(a,c,d,-1,null);K$(a,new $APP.O(null,2,5,$APP.P,[e,b],null),Xrd(a));return Vrd(a,null)},Jsd=function(a,b,c,d,e,f){var g=$APP.Oc(c);for(f=$APP.x(f);;)if(f){var h=
|
||
$APP.A(f),m=Gsd(h);$APP.C.C(m,0,null);m=$APP.C.C(m,1,null);m=$APP.n(m)?m:e+$APP.Oc(h);if($APP.B.j(m,g))return new $APP.O(null,3,5,$APP.P,[h,m,null],null);var p=$APP.x(Isd(a,b,c,d,m));if(p)return new $APP.O(null,3,5,$APP.P,[h,m,p],null);f=$APP.wc(f)}else return null},Msd=function(a,b,c,d,e){var f=$APP.Oc(c),g=Isd(a,b,c,d,e);e=$APP.Me(e);var h=Jsd(a,b,c,d,e,g);$APP.C.C(h,0,null);$APP.C.C(h,1,null);$APP.C.C(h,2,null);g=e;for(e=o$;;){var m=h,p=$APP.C.C(m,0,null);h=$APP.C.C(m,1,null);var q=$APP.C.C(m,
|
||
2,null);if(null==m||$APP.B.j(g,h))return R$;if(null==q)return Krd(a$(e,p),new $APP.l(null,3,[Ksd,Lsd,Lrd,0,Mrd,f],null));g=$APP.Me(h);e=a$(e,p);h=Jsd(a,b,c,d,h,q)}},Osd=function(a,b,c,d,e){if($APP.B.j(c,$APP.T3))a:{c=$APP.Oc(e);var f=Isd(a,b,e,e,0),g=$APP.Me(0),h=fqd(new $APP.O(null,1,5,$APP.P,[d],null));f=Jsd(a,b,e,e,g,f);$APP.C.C(f,0,null);$APP.C.C(f,1,null);$APP.C.C(f,2,null);d=g;g=h;for(h=f;;){var m=h,p=$APP.C.C(m,0,null);h=$APP.C.C(m,1,null);f=$APP.C.C(m,2,null);if(null==m||$APP.B.j(d,h)){a=
|
||
R$;break a}if(null==f){a=Krd(iqd(a$(g,p)),new $APP.l(null,3,[Ksd,Lsd,Lrd,0,Mrd,c],null));break a}d=$APP.Me(h);g=a$(g,p);h=Jsd(a,b,e,e,h,f)}}else if($APP.B.j(c,Nsd))a:for(c=$APP.Oc(e),h=Isd(a,b,e,e,0),g=$APP.Me(0),f=Jsd(a,b,e,e,g,h),$APP.C.C(f,0,null),$APP.C.C(f,1,null),$APP.C.C(f,2,null),h=o$;;){var q=f;m=$APP.C.C(q,0,null);f=$APP.C.C(q,1,null);p=$APP.C.C(q,2,null);if(null==q||$APP.B.j(g,f)){a=R$;break a}if(null==p){a=Krd(new $APP.l(null,2,[$APP.Dq,d,$APP.yr,$APP.x(a$(h,m))],null),new $APP.l(null,
|
||
3,[Ksd,Lsd,Lrd,0,Mrd,c],null));break a}g=$APP.Me(f);h=a$(h,m);f=Jsd(a,b,e,e,f,p)}else a=null;return a},Qsd=function(a,b,c,d,e,f){var g=$APP.Oc(f),h=Isd(a,b,f,f,0),m=$APP.ud(h);b=m?m:$APP.z5.A(b);if($APP.n(b))return R$;h=$APP.$f.C($APP.Mn,Psd,h);b=Psd.A(h);a=Msd(a,$APP.g_.A(c),f,f,b);g=new $APP.l(null,3,[Ksd,Lsd,Lrd,0,Mrd,g],null);if(a instanceof B$||$APP.B.j($APP.Dq.A(c),s$)&&Hsd(a))return R$;switch(d instanceof $APP.N?d.Y:null){case "enlive":return Krd(new $APP.l(null,2,[$APP.Dq,e,$APP.yr,a$(o$.ai(null,
|
||
h),a)],null),g);case "hiccup":return Krd(iqd(a$(fqd(new $APP.O(null,1,5,$APP.P,[e],null)).ai(null,h),a)),g);default:return Krd(a$(o$.ai(null,h),a),g)}},Rsd=function(a,b,c,d,e){var f=h$.A(d),g=$APP.hd(f),h;if(h=$APP.B.j($APP.Dq.A(d),$APP.Wt)){h=$APP.Dq.A(g);var m=new $APP.Gh(null,new $APP.l(null,2,[s$,null,r$,null],null),null);h=m.A?m.A(h):m.call(null,h);h=$APP.n(h)?$APP.xb($APP.z5.A(g))&&$APP.xb($APP.z5.A($APP.g_.A(g))):h}if($APP.xb(h))return R$;f=$APP.$f.j(A$,$APP.Lh(f));return $APP.B.j($APP.I2.A(d),
|
||
Bqd)?Qsd(a,f,g,null,c,b):Qsd(a,f,g,e,c,b)},Ssd=function(a,b,c){var d=k$.A(a);a=P$.A(a);var e=$APP.G.j(d,c);return $APP.B.j($APP.z5.A(e),!0)?R$:$APP.B.j($APP.I2.A(e),Bqd)?$APP.B.j($APP.Dq.A(e),s$)?(c=$APP.g_.A(e),Msd(d,c,b,b,0)):$APP.B.j($APP.Dq.A(e),r$)?(c=$APP.g_.A(e),b=Msd(d,c,b,b,0),Hsd(b)?R$:b):Rsd(d,b,c,e,a):$APP.B.j($APP.Dq.A(e),s$)?Osd(d,$APP.g_.A(e),a,c,b):$APP.B.j($APP.Dq.A(e),r$)?(b=Osd(d,$APP.g_.A(e),a,c,b),Hsd(b)?R$:b):Rsd(d,b,c,e,a)},Tsd=function(a,b){if($APP.B.j(null,b))return a;if($APP.B.j($APP.yr,
|
||
b))return $APP.T.C(a,k$,Qqd(k$.A(a)));if($APP.B.j($APP.qK,b))return $APP.T.C(a,k$,Rqd(P$.A(a),k$.A(a)));if($APP.B.j($APP.zG,b))return $APP.T.C(a,k$,Sqd(P$.A(a),k$.A(a)));throw Error(["No matching clause: ",$APP.t.A(b)].join(""));},S$=function(a,b,c,d,e,f){this.Hb=a;this.gg=b;this.Bg=c;this.H=d;this.G=e;this.K=f;this.U=2230716171;this.Z=139264},Usd=function(a){var b=$APP.Vj.F(a,k$,$APP.F([l$,P$]));b=$APP.Ed(a)?$APP.bh.j($APP.Mf,b):b;return new S$(k$.A(a),l$.A(a),P$.A(a),null,$APP.Of(b),null)},Wsd=
|
||
function(a){for(var b=[],c=arguments.length,d=0;;)if(d<c)b.push(arguments[d]),d+=1;else break;b=1<b.length?new $APP.rc(b.slice(1),0,null):null;return Vsd(arguments[0],b)},Vsd=function(a,b){var c=$APP.Nf(b),d=$APP.G.C(c,Xsd,Ysd),e=$APP.G.C(c,P$,$APP.T3),f=$APP.G.C(c,$APP.Mo,null);b="string"===typeof a?function(){a:{var m=lsd;lsd=Jqd.j(c,$APP.Rj);try{var p=d instanceof $APP.N?d.Y:null;switch(p){case "abnf":var q=Fsd(a,e);break a;case "ebnf":q=usd(a,e);break a;default:throw Error(["No matching clause: ",
|
||
$APP.t.A(p)].join(""));}}finally{lsd=m}q=void 0}return $APP.n(f)?Usd($APP.T.C(q,l$,f)):Usd(q)}():$APP.Cd(a)?function(){var m=vsd(a,e,f);return Usd(m)}():$APP.Fd(a)?function(){var m=$APP.n(f)?f:a.A?a.A(0):a.call(null,0);m=vsd($APP.$f.j($APP.iG,a),e,m);return Usd(m)}():yqd($APP.F(["Expected string, map, or vector as grammar specification, got ",$APP.si.F($APP.F([a]))]));var g=$APP.G.j(c,Zsd);g=g instanceof $APP.N?$APP.G.j($sd,g):g;if($APP.n(g)){var h=$APP.Nf(g);g=$APP.G.j(h,k$);h=$APP.G.j(h,l$);return $APP.T.C(b,
|
||
k$,Tqd(b.Hb,b.gg,g,h))}return b},btd=function(a){return a instanceof atd||$APP.od(a)instanceof atd},ctd=function(a){return btd(a)||a instanceof Error},dtd=function(a){return $APP.ve.C(function(b,c){return b.multipliedBy(c)},T$.BigNumber(1),$APP.bk.j(2,a+1))},Jtd=function(a,b){var c=$APP.rh([etd,ftd,gtd,$APP.bA,htd,$APP.gI,$APP.BDb,itd,jtd,ktd,ltd,mtd,$APP.AP,ntd,otd,ptd,$APP.QH,qtd,rtd,$APP.G9a,std,$APP.lM,ttd,utd,vtd,$APP.uGc,wtd,xtd,ytd,$APP.mo,$APP.ZMc,ztd,Atd,Btd,Ctd],[function(d){return T$.BigNumber(Math.atan(d))},
|
||
function(d){$APP.ui.J(a,$APP.Vj,$APP.Io,Dtd);$APP.ui.F(a,$APP.T,$APP.Io,"frac",$APP.F([Etd,d]));return $APP.G.j($APP.v(a),"last")},function(d){return T$.BigNumber(Math.cos(d))},function(d){d=(0,$APP.ya)(d);var e=$APP.G.j(Ftd,d);if($APP.n(e))return e;e=$APP.G.j($APP.v(a),d);if($APP.n(e))return e;throw $APP.Xm.j($APP.dw("Can't find variable %s",$APP.F([d])),new $APP.l(null,1,[$APP.jA,d],null));},function(d){return T$.BigNumber(Math.tan(d))},$APP.vm.j(T$.BigNumber,function(d){return $APP.nk(d,",","")}),
|
||
function(d,e){return d.minus(e)},function(d){return d.sqrt()},function(d){var e=d.isInteger();$APP.n(e)&&(e=d.isPositive(),e=$APP.n(e)?d.isLessThan(254):e);return $APP.n(e)?dtd(d.toNumber()):T$.BigNumber(Gtd)},function(d){return T$.BigNumber(Math.log(d))},function(d,e){return d.modulo(e)},function(d,e){return $APP.n(e.isInteger())?d.exponentiatedBy(e):T$.BigNumber(Math.pow(d,e))},function(d){return T$.BigNumber(Math.exp(d))},$APP.xha,T$.BigNumber,function(d){return T$.BigNumber(Math.asin(d))},function(d,
|
||
e){return d.dividedBy(e)},function(d){$APP.ui.F(a,$APP.T,$APP.Io,"sci",$APP.F([Htd,d]));return $APP.G.j($APP.v(a),"last")},function(d,e){return d.multipliedBy(e)},$APP.Fe,function(d){return d.abs()},$APP.bg(null),function(d){return T$.BigNumber(Math.sin(d))},function(d,e){if($APP.je(Ftd,d))throw $APP.Xm.j($APP.dw("Can't redefine constant %s",$APP.F([d])),new $APP.l(null,1,[$APP.jA,d],null));$APP.ui.J(a,$APP.T,d,e);return e},function(d,e,f){return T$.BigNumber(e).dividedBy(f).plus(d)},function(d){return d.dividedBy(100)},
|
||
function(d){$APP.ui.F(a,$APP.T,$APP.Io,"frac",$APP.F([Etd,d,Dtd,!0]));return $APP.G.j($APP.v(a),"last")},$APP.wk,function(d){$APP.ui.J(a,$APP.Vj,$APP.Io,Htd);$APP.ui.J(a,$APP.T,Itd,d);return $APP.G.j($APP.v(a),"last")},function(d){$APP.ui.J(a,$APP.T,$APP.mo,$APP.qk(d));return $APP.G.j($APP.v(a),"last")},function(d,e){return d.plus(e)},function(d){$APP.ui.F(a,$APP.T,$APP.Io,"fix",$APP.F([Htd,d]));return $APP.G.j($APP.v(a),"last")},function(d){return d.negated()},function(d){return T$.BigNumber(Math.acos(d))},
|
||
function(d){return T$.BigNumber(Math.log10(d))}]);return Dsd.j?Dsd.j(c,b):Dsd.call(null,c,b)},Ktd=function(a,b){var c=a.isZero();if($APP.n(c))return c;a=a.abs();c=T$.BigNumber(.5).shiftedBy(-b);b=T$.BigNumber(1E21);c=a.isGreaterThanOrEqualTo(c);return $APP.n(c)?a.isLessThan(b):c},Ltd=function(a,b){var c=a.s;a=$APP.ce(c)?a.abs():a;return[$APP.ce(c)?"-":null,$APP.t.A(function(){switch(b){case 2:return"0b";case 8:return"0o";case 16:return"0x";default:throw Error(["No matching clause: ",$APP.t.A(b)].join(""));
|
||
}}()),$APP.t.A(a.toString(b))].join("")},Mtd=function(a,b,c){var d=a.dividedToIntegerBy(b);return $APP.n($APP.n(c)?c:d.isZero())?[$APP.t.A(a),"/",$APP.t.A(b)].join(""):[$APP.t.A(d)," ",$APP.t.A(a.modulo(b).abs()),"/",$APP.t.A(b)].join("")},Ntd=function(a,b){a=$APP.G.j($APP.v(a),Itd);a=$APP.n(a)?a:21;b=b.precision(a);var c=b.e<a;a=c?b.shiftedBy(1+a).isInteger():c;return $APP.n(a)?b.toFixed():b.toExponential()},Otd=function(a,b){if(b instanceof T$.BigNumber){var c=$APP.G.j($APP.v(a),$APP.Io),d=$APP.G.j($APP.v(a),
|
||
$APP.mo),e=$APP.G.j($APP.v(a),Htd);if($APP.B.j(d,"hex"))return Ltd(b,16);if($APP.B.j(d,"oct"))return Ltd(b,8);if($APP.B.j(d,"bin"))return Ltd(b,2);if($APP.B.j(c,"fix"))return $APP.n(Ktd(b,e))?b.toFixed(e):b.toExponential(e);if($APP.B.j(c,"sci"))return b.toExponential(e);if($APP.B.j(c,"frac")){d=function(){var g=$APP.G.j($APP.v(a),Etd);return $APP.n(g)?g:4095}();c=$APP.G.j($APP.v(a),Dtd);e=b.toFraction(d);d=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);var f=d.dividedBy(e).minus(b);return $APP.n(function(){var g=
|
||
f.isZero();return $APP.n(g)?g:-16>f.e}())?1<e?Mtd(d,e,c):Ntd(a,d):Ntd(a,b)}return Ntd(a,b)}return b},Qtd=function(a){var b=$APP.ti.A($APP.Mf);return $APP.ak.j(function(c){if($APP.xk(c))var d=null;else{c=Ptd.A?Ptd.A(c):Ptd.call(null,c);try{d=ctd(c)?c:$APP.A(Jtd(b,c))}catch(e){if(e instanceof Error)d=e;else throw e;}null!=d&&$APP.ui.J(b,$APP.T,"last",d);d=Otd(b,d)}return d},$APP.vk(a))},Std=function(){var a=$APP.G.j($APP.v($APP.YA),$APP.gSc);a=$APP.Nf(a);var b=$APP.G.j(a,$APP.ZA),c=$APP.G.j(a,$APP.eP);
|
||
a=$APP.G.j(a,$APP.yAc);$APP.bB($APP.PGb,!0);$APP.bB($APP.t1,!1);if($APP.n(a)){a.save();var d=a.getTextArea(),e=d.dataset,f=$APP.sa(d,"value");if($APP.Bh.j(f,function(){var r=e.v;return $APP.n(r)?r:$APP.sa(d,"defaultValue")}()))if(e.v=f,$APP.n($APP.$B.A(b))){a=function(){var r=new $APP.O(null,2,5,$APP.P,[$APP.$B,$APP.$B.A(b)],null);return $APP.yE.A?$APP.yE.A(r):$APP.yE.call(null,r)}();var g=$APP.XB.A(a);c=$APP.auc.A($APP.v(Rtd.A(c)));var h=$APP.Nf(c);c=$APP.G.j(h,$APP.wD);h=$APP.G.j(h,$APP.xD);var m=
|
||
$APP.n($APP.LF.A(a))?0:2;g=$APP.MZa.encode(g);c=$APP.vZa.decode(g.slice(0,c-m));g=$APP.vZa.decode(g.slice(h-m));g=$APP.xk(f)?[$APP.t.A(c),$APP.t.A(g)].join(""):[$APP.t.A(c),$APP.t.A(f),"\n",$APP.t.A(g)].join("");$APP.BB($APP.EB(),g);$APP.eO(a,g,null)}else if($APP.n($APP.Of($APP.dR.A(b))))if(a=$APP.dR.A(b),g=$APP.aB(),g=$APP.cD(g),g=$APP.va(a,g)?$APP.FXa(g,a):null,$APP.n(g)){a=$APP.UE?$APP.UE(g):$APP.WE.call(null,g);var p=null==a;a=$APP.n(a)?a:"";var q=$APP.B.j((0,$APP.ya)(f),(0,$APP.ya)(a));$APP.n(function(){var r=
|
||
p?$APP.Of(f):p;return $APP.n(r)?r:!q}())&&$APP.BM($APP.aB(),g,[(0,$APP.ya)(f),"\n"].join(""),new $APP.l(null,1,[$APP.AM,!0],null))}else $APP.Tvb(a,[(0,$APP.ya)(f),"\n"].join(""),$APP.Mf)}},Ttd=function(a){var b=a.getCursor(),c=b.line,d=b.ch;return $APP.ql.j($APP.qg.F(function(e){return a.getLineTokens(e)},$APP.F([$APP.bk.A(c)])),$APP.wg.j(function(e){return e.end<=d},a.getLineTokens(c)))},Wtd=function(a){for(var b=new $APP.l(null,2,[Utd,$APP.Bg,U$,new $APP.J(null,$APP.$ka,null,1,null)],null),c=b,
|
||
d=a;;){if($APP.ud(d))return c;var e=$APP.A(d),f=e.type,g=e.string,h=$APP.A(U$.A(c));a=null==f||$APP.B.j(f,"comment")||$APP.B.j(f,"meta")||$APP.B.j(h,$APP.Iv)?c:$APP.B.j(f,"bracket")?$APP.n(function(){var p=$APP.B.j("{",g);return p?$APP.Yf(function(){return function(q){return $APP.je(new $APP.Gh(null,new $APP.l(null,2,[$APP.rq,null,$APP.pq,null],null),null),q)}}(c,d,p,e,f,g,h,b),U$.A(c)):p}())?$APP.T.C(c,U$,$APP.Ze.j(U$.A(c),Vtd)):$APP.B.j("{",g)?$APP.T.C(c,U$,$APP.Ze.j(U$.A(c),$APP.qq)):$APP.B.j("(",
|
||
g)?$APP.T.C(c,U$,$APP.Ze.j(U$.A(c),$APP.pq)):$APP.B.j("[",g)?$APP.T.C(c,U$,$APP.Ze.j(U$.A(c),$APP.rq)):$APP.B.j(Vtd,h)&&$APP.je(new $APP.Gh(null,new $APP.l(null,3,["]",null,")",null,"}",null],null),null),g)?$APP.T.C(c,U$,$APP.rd(U$.A(c))):$APP.B.j("}",g)&&$APP.B.j($APP.qq,h)||$APP.B.j(")",g)&&$APP.B.j($APP.pq,h)||$APP.B.j("]",g)&&$APP.B.j($APP.rq,h)?function(){var p=$APP.rd(U$.A(c));return $APP.B.j($APP.A(p),$APP.At)?$APP.T.F(c,U$,$APP.rd(p),$APP.F([Utd,$APP.rd(Utd.A(c))])):$APP.T.C(c,U$,$APP.rd(U$.A(c)))}():
|
||
$APP.T.C(c,U$,$APP.Ze.j(U$.A(c),$APP.Iv)):$APP.B.j(h,$APP.qq)&&$APP.B.j(f,"atom")?$APP.T.F(c,U$,$APP.Ze.j(U$.A(c),$APP.At),$APP.F([Utd,$APP.Ze.j(Utd.A(c),g)])):$APP.B.j(h,$APP.At)?$APP.T.F(c,U$,$APP.rd(U$.A(c)),$APP.F([Utd,$APP.rd(Utd.A(c))])):$APP.B.j(h,$APP.pq)||$APP.B.j(h,$APP.rq)||$APP.B.j(h,Vtd)?c:$APP.T.C(c,U$,$APP.Ze.j(U$.A(c),$APP.Iv));var m=$APP.vc(d);c=a;d=m}},Xtd=function(a){a=Ttd(a);a=Wtd(a);var b=$APP.Nf(a);a=$APP.G.j(b,Utd);b=$APP.G.j(b,U$);b=$APP.A(b);return new $APP.O(null,2,5,$APP.P,
|
||
[a,b],null)},Ytd=function(a){switch(a instanceof $APP.N?a.Y:null){case "string":return'""';case "map-of":return"{}";case "map":return"{}";case "set":return"#{}";case "vector":return"[]";default:return null}},$td=function(a,b){$APP.n(function(){var c=$APP.xb(b);return c?c:b.I?b.I():b.call(null)}())&&setTimeout(function(){return $APP.xb(a.state.completionActive)?a.showHint({completeSingle:!1}):null},100);return Ztd.Pass},aud=function(a,b){if($APP.n(a)){a=$APP.qk(a);var c=$APP.sa(Ztd,function(){switch(b instanceof
|
||
$APP.N?b.Y:null){case "name":return"findModeByName";case "ext":return"findModeByExtension";case "file-name":return"findModeByFileName";default:return"findModeByName"}}());c=c.A?c.A(a):c.call(null,a);return $APP.n(c)?c.mime:a}return null},jud=function(a){var b=$APP.Lr.A(a),c=$APP.C.C(b,0,null),d=$APP.C.C(b,1,null),e=$APP.C.C(b,2,null);$APP.C.C(b,3,null);var f=$APP.C.C(b,4,null),g=$APP.C.C(b,5,null);b=function(){var u=$APP.kIb.A($APP.v($APP.YA));return $APP.n(u)?$APP.B.j($APP.$B.A($APP.WB()),$APP.ky.j(c,
|
||
new $APP.O(null,2,5,$APP.P,[$APP.cp,$APP.$B],null))):u}();$APP.bB($APP.kIb,!1);e=$APP.G.j(e,$APP.MN);e=$APP.n($APP.Yic.A(c))?aud(e,$APP.kcc):aud(e,$APP.cq);var h=$APP.je(new $APP.Gh(null,new $APP.l(null,4,["clojure",null,"lisp",null,"edn",null,"scheme",null],null),null),e),m=function(){var u=$APP.Yic.A(c);return $APP.n(u)?$APP.zk($APP.dR.A(c),"config.edn"):u}(),p=$APP.Ja(d);f=new $APP.l(null,5,[$APP.HC,["solarized ",$APP.t.A(f)].join(""),bud,!0,$APP.rwc,!0,cud,h,dud,!0],null);var q=$APP.jm.F($APP.F([f,
|
||
$APP.G.C($APP.Bw(),$APP.jtc,$APP.Mf),new $APP.l(null,3,[$APP.Io,e,$APP.Xyc,-1,eud,$APP.jm.F($APP.F([new $APP.l(null,1,["Esc",function(u){u.escPressed=!0;Std();u=$APP.$B.A(c);if($APP.n(u)){var y=new $APP.O(null,2,5,$APP.P,[$APP.$B,u],null);y=$APP.yE.A?$APP.yE.A(y):$APP.yE.call(null,y);return $APP.iN?$APP.iN(y,$APP.no,u):$APP.jN.call(null,y,$APP.no,u)}return null}],null),$APP.n(m)?new $APP.l(null,2,["':'",$td,"Ctrl-Space","autocomplete"],null):null]))],null),new $APP.l(null,2,[$APP.hSc,!0,fud,-1],null),
|
||
$APP.n(m)?new $APP.l(null,1,[gud,$APP.Mf],null):null,g])),r=$APP.n(p)?function(){var u=$APP.wj(q);return hud.j?hud.j(p,u):hud.call(null,p,u)}():null;if($APP.n(r)){f=dpd(a);g=r.getWrapperElement();f["codemirror-instance"]=r;if($APP.B.j(e,"calc"))r.on("change",function(){var u=r.getValue();return $APP.dg(iud.A(a),Qtd(u))});r.on("blur",function(u,y){$APP.n(y)&&$APP.nw(y);($APP.B.j($APP.dq,$APP.pB())||$APP.xb($APP.sa(u,"escPressed")))&&Std();$APP.bB($APP.t1,!1);return $APP.bB($APP.gSc,null)});r.on("focus",
|
||
function(){$APP.bB($APP.t1,!0);return $APP.bB($APP.gSc,new $APP.l(null,3,[$APP.yAc,r,$APP.ZA,c,$APP.eP,a],null))});g.addEventListener("keydown",function(u){var y=u.code,z=u.ctrlKey;if($APP.n($APP.n(z)?z:u.metaKey))switch(y){case "BracketLeft":return $APP.nw(u);case "BracketRight":return $APP.nw(u);default:return null}else return null});g.addEventListener("mousedown",function(u){$APP.nw(u);$APP.BUa();u=$APP.$B.A(c);if($APP.n(u)){u=$APP.bh.j;var y=$APP.Mf;var z=$APP.$B.A(c);z=$APP.YE.A?$APP.YE.A(z):
|
||
$APP.YE.call(null,z);u=u.call($APP.bh,y,z)}return $APP.n(u)?$APP.yWa(d,r.getValue(),u,null,!1):null});g.addEventListener("touchstart",function(u){return u.stopPropagation()});r.save();r.refresh();$APP.n(b)&&r.focus()}return r},Wpd=null,U9={},Y9={},Bpd=!1,$9=!1,Ppd={},V9=null,opd=null;cpd.prototype.Ej=function(){return this.name};cpd.prototype.toString=function(){return $APP.t.A(this.name)};cpd.prototype.ia=function(a,b){return b instanceof cpd?$APP.B.j(this.name,b.name):!1};cpd.prototype.na=function(){return $APP.nc(this.name)};
|
||
var kud=new $APP.N(null,"factor","factor",-2103172748),fud=new $APP.N(null,"cursorBlinkRate","cursorBlinkRate",1916335188),r$=new $APP.N(null,"plus","plus",211540661),Rrd=new $APP.N(null,"node-builder","node-builder",-1956562605),Htd=new $APP.N(null,"places","places",1043491706),lud=new $APP.N(null,"dec-val","dec-val",-1263870894),isd=new $APP.N(null,"Epsilon","Epsilon",133418452),mud=new $APP.N(null,"hide-nt","hide-nt",-228813845),ytd=new $APP.N(null,"format-norm","format-norm",1732180794),nud=new $APP.N(null,
|
||
"concatenation","concatenation",-951369614),oud=new $APP.N(null,"CHAR","CHAR",-1280338086),gsd=new $APP.N(null,"lookahead","lookahead",-400102393),Zrd=new $APP.N(null,"segment","segment",-964921196),pud=new $APP.N(null,"hide-tag-rule","hide-tag-rule",150267589),Frd=new $APP.N(null,"next-stack","next-stack",-481930728),qud=new $APP.N(null,"VCHAR","VCHAR",1962437706),vtd=new $APP.N(null,"mixed-number","mixed-number",1075063896),rud=new $APP.N(null,"hex-char","hex-char",764443568),G$=new $APP.N(null,
|
||
"full-listeners","full-listeners",50621827),Lsd=new $APP.N(null,"memory","memory",-1449401430),xtd=new $APP.N(null,"toassign","toassign",508353274),Mqd=new $APP.N(null,"look","look",-539441433),Nsd=new $APP.N(null,"enlive","enlive",1679023921),sud=new $APP.N(null,"bin-char","bin-char",-1662780697),tud=new $APP.N(null,"hex-val","hex-val",1267737401),s$=new $APP.N(null,"star","star",279424429),ntd=new $APP.N(null,"digits","digits",-1134635061),qtd=new $APP.N(null,"format-sci","format-sci",-2145290447),
|
||
uud=new $APP.w(null,"pending-forms","pending-forms",-1225172071,null),P$=new $APP.N(null,"output-format","output-format",-1826382676),vud=new $APP.N(null,"ALPHA","ALPHA",-1463859144),Ctd=new $APP.N(null,"log","log",-1595516004),wud=new $APP.N(null,"low","low",-1601362409),xud=new $APP.N(null,"trace?","trace?",1730690679),k$=new $APP.N(null,"grammar","grammar",1881328267),yud=new $APP.N(null,"displayText","displayText",45566701),zud=new $APP.N(null,"div.extensions__code-calc-output-line.CodeMirror-line",
|
||
"div.extensions__code-calc-output-line.CodeMirror-line",-293396137),Trd=new $APP.N("instaparse","failure","instaparse/failure",1422918607),Etd=new $APP.N(null,"max-denominator","max-denominator",1539997685),Aud=new $APP.N(null,"HTAB","HTAB",11392612),Gtd=new $APP.w(null,"NaN'","NaN'",-1496513810,null),gud=new $APP.N(null,"hintOptions","hintOptions",-1460249832),itd=new $APP.N(null,"sqrt","sqrt",-1270051929),H$=new $APP.N(null,"full-results","full-results",-1500225407),eud=new $APP.N(null,"extraKeys",
|
||
"extraKeys",1380834830),rtd=new $APP.N(null,"mul","mul",-354626062),Bud=new $APP.N(null,"rulename","rulename",948914160),iud=new $APP.N(null,"calc-atom","calc-atom",202304533),Cud=new $APP.N(null,"alt-or-ord","alt-or-ord",310249425),Dud=new $APP.N(null,"rulename-left","rulename-left",-1824251564),Lrd=new $APP.N("instaparse.gll","start-index","instaparse.gll/start-index",404653620),otd=new $APP.N(null,"scientific","scientific",316285837),dud=new $APP.N(null,"styleActiveLine","styleActiveLine",-677594147),
|
||
j$=new $APP.N(null,"reduction-type","reduction-type",-488293450),ltd=new $APP.N(null,"mod","mod",-130487320),Eud=new $APP.N(null,"DIGIT","DIGIT",341251338),hsd=new $APP.N(null,"negative-lookahead","negative-lookahead",874382387),Fud=new $APP.N(null,"epsilon","epsilon",-730158570),Gud=new $APP.w(null,"cljs.tools.reader","cljs.tools.reader",-831293977,null),Oqd=new $APP.N(null,"neg","neg",1800032960),Vtd=new $APP.N(null,"ignore-map","ignore-map",-1199019590),cud=new $APP.N(null,"matchBrackets","matchBrackets",
|
||
1256448936),Hud=new $APP.N(null,"NUM","NUM",-218662260),Dtd=new $APP.N(null,"improper","improper",-499495828),Iud=new $APP.N(null,"rulename-right","rulename-right",1125609193),jtd=new $APP.N(null,"factorial","factorial",-1512755480),Jud=new $APP.N(null,"CRLF","CRLF",11418756),Kud=new $APP.N(null,"standard","standard",-1769206695),Lud=new $APP.N(null,"DQUOTE","DQUOTE",-571169808),Mud=new $APP.N(null,"rules-or-parser","rules-or-parser",-314380386),tqd=new $APP.N(null,"NOT","NOT",-1689245341),Nud=new $APP.N(null,
|
||
"div.extensions__code-lang","div.extensions__code-lang",1159233563),I$=new $APP.N(null,"results","results",-1134170113),Oud=new $APP.N(null,"HEXDIG","HEXDIG",-200221072),qqd=new $APP.N(null,"ord","ord",1142548323),Pud=new $APP.N(null,"OCTET","OCTET",-743420682),Mrd=new $APP.N("instaparse.gll","end-index","instaparse.gll/end-index",-1851404441),bud=new $APP.N(null,"autoCloseBrackets","autoCloseBrackets",1157493311),mtd=new $APP.N(null,"pow","pow",-1444004567),Qud=new $APP.N(null,"CR","CR",-1654295403),
|
||
Rud=new $APP.w(null,"read-string*","read-string*",1046768315,null),Sud=new $APP.N(null,"editor-atom","editor-atom",1409591060),utd=new $APP.N(null,"assignment","assignment",1330426519),Tud=new $APP.N(null,"unhide","unhide",-413983695),std=new $APP.N(null,"abs","abs",-246026477),uqd=new $APP.N(null,"char-range","char-range",1443391389),Hqd=new $APP.N(null,"rep","rep",-1226820564),Uud=new $APP.N(null,"char-val","char-val",1408617933),Rtd=new $APP.N(null,"code-options","code-options",1113362965),U$=
|
||
new $APP.N(null,"state-stack","state-stack",489104326),Vud=new $APP.N(null,"inside-comment","inside-comment",1258069708),Utd=new $APP.N(null,"current-config-path","current-config-path",387759454),Wud=new $APP.N(null,"defined-as","defined-as",-474679152),m$=new $APP.N(null,"expecting","expecting",-57706705),Xud=new $APP.N(null,"rule-separator","rule-separator",1539322213),ttd=new $APP.N(null,"sin","sin",80907862),Ysd=new $APP.N(null,"ebnf","ebnf",31967825),Csd=new $APP.N(null,"rulelist","rulelist",
|
||
-1871218473),Itd=new $APP.N(null,"precision","precision",-1175707478),Jqd=new $APP.N(null,"string-ci","string-ci",374631805),Yud=new $APP.N(null,"bin-val","bin-val",1705209105),Zud=new $APP.N(null,"dec-char","dec-char",-646625154),htd=new $APP.N(null,"tan","tan",1273609893),L$=new $APP.N(null,"negative-listeners","negative-listeners",55241092),$ud=new $APP.N(null,"BIT","BIT",-1854474115),Xsd=new $APP.N(null,"input-format","input-format",-422703481),h$=new $APP.N(null,"parsers","parsers",-804353827),
|
||
g$=new $APP.N(null,"parser2","parser2",1013754688),f$=new $APP.N(null,"parser1","parser1",-439601422),fsd=new $APP.N(null,"end-of-string","end-of-string",1567354241),Atd=new $APP.N(null,"negterm","negterm",46693211),Zsd=new $APP.N(null,"auto-whitespace","auto-whitespace",741152317),wtd=new $APP.N(null,"format-impf","format-impf",2004346266),avd=new $APP.N(null,"high","high",2027297808),gtd=new $APP.N(null,"cos","cos",1201758276),bvd=new $APP.N(null,"partial","partial",241141745),cvd=new $APP.N(null,
|
||
"LWSP","LWSP",782998598),Drd=new $APP.N(null,"msg-cache","msg-cache",-733775070),i$=new $APP.N(null,"regexp","regexp",-541372782),dvd=new $APP.w("cljs.tools.reader","read-string*","cljs.tools.reader/read-string*",1492661621,null),evd=new $APP.N(null,"hide-tag","hide-tag",1347642501),fvd=new $APP.N(null,"CTL","CTL",-9995632),Btd=new $APP.N(null,"acos","acos",-1286789764),v$=new $APP.N(null,"nt","nt",-835425781),d$=new $APP.N(null,"lo","lo",-931799889),etd=new $APP.N(null,"atan","atan",1627885634),
|
||
ktd=new $APP.N(null,"ln","ln",1974894440),l$=new $APP.N(null,"start-production","start-production",687546537),gvd=new $APP.N(null,"num-val","num-val",1497434478),V$=new $APP.N(null,"alternation","alternation",-1162147630),hvd=new $APP.N(null,"div.extensions__code-calc.pr-2","div.extensions__code-calc.pr-2",680901470),W$=new $APP.N(null,"opt-whitespace","opt-whitespace",1115207927),Qrd=new $APP.N(null,"fail-index","fail-index",248726923),ptd=new $APP.N(null,"asin","asin",1750305199),Erd=new $APP.N(null,
|
||
"generation","generation",-2132542044),ivd=new $APP.N(null,"LF","LF",1177033158),ztd=new $APP.N(null,"format-fix","format-fix",561277115),ftd=new $APP.N(null,"format-frac","format-frac",-765976701),jvd=new $APP.N(null,"SP","SP",124290284),Ksd=new $APP.N(null,"optimize","optimize",-1912349448),kvd=new $APP.N(null,"WSP","WSP",-1046948716),lvd=new $APP.N(null,"paren","paren",-294107600),e$=new $APP.N(null,"hi","hi",-1821422114);$APP.gda("code-editor");var Ztd=$APP.Hm(464);$APP.Hm(465);$APP.Hm(466);$APP.Hm(467);$APP.Hm(468);$APP.Hm(469);$APP.Hm(470);$APP.Hm(471);$APP.Hm(472);$APP.Hm(473);$APP.Hm(474);$APP.Hm(475);$APP.Hm(476);$APP.Hm(477);$APP.Hm(478);$APP.Hm(479);$APP.Hm(480);$APP.Hm(481);$APP.Hm(482);$APP.Hm(483);$APP.Hm(484);$APP.Hm(485);$APP.Hm(486);$APP.Hm(487);$APP.Hm(488);$APP.Hm(490);$APP.Hm(492);$APP.Hm(493);$APP.Hm(494);$APP.Hm(495);$APP.Hm(496);$APP.Hm(497);$APP.Hm(498);$APP.Hm(499);$APP.Hm(500);$APP.Hm(501);$APP.Hm(502);$APP.Hm(503);$APP.Hm(504);$APP.Hm(505);$APP.Hm(506);$APP.Hm(507);$APP.Hm(508);$APP.Hm(509);$APP.Hm(510);$APP.Hm(511);$APP.Hm(512);$APP.Hm(514);$APP.Hm(515);$APP.Hm(516);$APP.Hm(517);$APP.Hm(518);$APP.Hm(519);$APP.Hm(520);$APP.Hm(521);$APP.Hm(522);$APP.Hm(523);$APP.Hm(524);$APP.Hm(525);$APP.Hm(526);$APP.Hm(527);$APP.Hm(528);$APP.Hm(529);$APP.Hm(530);$APP.Hm(531);$APP.Hm(532);$APP.Hm(533);$APP.Hm(534);$APP.Hm(535);$APP.Hm(536);$APP.Hm(537);$APP.Hm(538);$APP.Hm(539);$APP.Hm(540);$APP.Hm(541);$APP.Hm(542);$APP.Hm(543);$APP.Hm(544);$APP.Hm(545);$APP.Hm(546);$APP.Hm(547);$APP.Hm(548);$APP.Hm(549);$APP.Hm(550);$APP.Hm(551);$APP.Hm(552);$APP.Hm(553);$APP.Hm(554);$APP.Hm(555);$APP.Hm(556);$APP.Hm(557);$APP.Hm(558);$APP.Hm(559);$APP.Hm(560);$APP.Hm(561);$APP.Hm(562);$APP.Hm(563);$APP.Hm(564);$APP.Hm(565);$APP.Hm(566);$APP.Hm(567);$APP.Hm(568);$APP.Hm(569);$APP.Hm(570);$APP.Hm(571);$APP.Hm(572);$APP.Hm(573);$APP.Hm(574);$APP.Hm(575);$APP.Hm(576);$APP.Hm(577);$APP.Hm(578);$APP.Hm(579);$APP.Hm(580);$APP.Hm(581);$APP.Hm(582);$APP.Hm(583);$APP.Hm(584);$APP.Hm(585);$APP.Hm(586);$APP.Hm(587);$APP.Hm(588);$APP.Hm(589);$APP.Hm(590);$APP.Hm(591);$APP.Hm(592);$APP.Hm(593);var T$=$APP.Hm(594);$APP.k=dqd.prototype;$APP.k.toString=function(){return $APP.kc($APP.x(this))};$APP.k.ra=function(a,b){return this.v.ra(null,b)};$APP.k.aa=function(a,b,c){return this.v.aa(null,b,c)};$APP.k.da=function(){return $APP.od(this.v)};$APP.k.wb=function(){return $APP.wc($APP.x(this))};$APP.k.oa=function(){return this.ca};$APP.k.na=function(){return this.xh};$APP.k.ia=function(a,b){return $APP.B.j(this.xh,$APP.nc(b))&&$APP.B.j(this.ca,$APP.Oc(b))&&($APP.B.j(this.ca,0)||$APP.B.j($APP.x(this),b))};
|
||
$APP.k.jb=function(){return $APP.nd(o$,$APP.od(this))};$APP.k.Fb=function(){return $APP.A($APP.x(this))};$APP.k.Ib=function(){return $APP.vc($APP.x(this))};$APP.k.pa=function(){if(!$APP.n(this.Ul)){if(this.dirty){var a=this.v;a=0<$APP.Oc(a)?cqd(a,aqd(a,new $APP.O(null,1,5,$APP.P,[0],null))):null}else a=$APP.x(this.v);this.Ul=a}return this.Ul};$APP.k.ea=function(a,b){return new dqd($APP.nd(this.v,b),this.co,this.xh,this.ca,this.dirty)};$APP.k.qa=function(a,b){return $APP.cf(b,this)};
|
||
$APP.k.ai=function(a,b){if(null==b)return this;if($APP.n($pd.A?$pd.A(b):$pd.call(null,b))){if(0===this.ca)return b;if(32>=$APP.Oc(b)){a=eqd.j?eqd.j(this,b):eqd.call(null,this,b);var c=this.ca+$APP.Oc(b),d=$APP.bh.j(this.v,b),e=this.dirty;return new dqd(d,a,$APP.Jga(a,c),c,e?e:b.dirty)}a=eqd.j?eqd.j(this,b):eqd.call(null,this,b);c=this.ca+$APP.Oc(b);return new dqd($APP.Ze.j(this.v,b),a,$APP.Jga(a,c),c,!0)}a=(0,$APP.lc)(31,this.co)+$APP.nc(b);c=this.ca+1;return new dqd($APP.Ze.j(this.v,b),a,$APP.Jga(a,
|
||
c),c,this.dirty)};$APP.k.hb=$APP.mc;$APP.k.la=function(a,b,c){return $APP.cga($APP.x(this),b,c)};var o$=fqd($APP.Bg),hqd=function hqd(a,b){for(;;)if($APP.x(b)){var d=$APP.A(b);$pd(d)?(a=hqd.j?hqd.j(a,d):hqd.call(null,a,d),b=$APP.wc(b)):(a=$APP.Ag.j(a,d),b=$APP.wc(b))}else return a};$APP.k=gqd.prototype;$APP.k.toString=function(){return $APP.kc(b$(this))};$APP.k.ra=function(a,b){return b$(this).ra(null,b)};$APP.k.aa=function(a,b,c){return b$(this).aa(null,b,c)};
|
||
$APP.k.xa=function(a,b,c){return b$(this).xa(null,b,c)};$APP.k.ka=function(a,b){return b$(this).ka(null,b)};$APP.k.pb=function(a,b,c){return b$(this).pb(null,b,c)};$APP.k.he=function(a,b,c){return b$(this).he(null,b,c)};$APP.k.da=function(){return $APP.n($APP.v(this.flat))?$APP.od($APP.v(this.flat)):$APP.od($APP.v(this.v))};$APP.k.oa=function(){return this.ca};$APP.k.qf=function(){return b$(this).qf(null)};$APP.k.rf=function(){return b$(this).rf(null)};
|
||
$APP.k.te=function(){return 0<this.ca?$APP.Wb(b$(this)):null};$APP.k.na=function(){return this.xh};$APP.k.ia=function(a,b){return $APP.B.j(this.xh,$APP.nc(b))&&$APP.B.j(this.ca,$APP.Oc(b))&&$APP.B.j(b$(this),b)};$APP.k.jb=function(){return $APP.nd($APP.Bg,$APP.od(this))};$APP.k.ga=function(a,b,c){return $APP.T.C(b$(this),b,c)};$APP.k.wa=function(a,b){return b$(this).wa(null,b)};$APP.k.pa=function(){return $APP.x(b$(this))};
|
||
$APP.k.ea=function(a,b){return $APP.n($APP.v(this.flat))?new gqd($APP.ti.A($APP.v(this.v)),this.xh,this.ca,$APP.ti.A($APP.nd($APP.v(this.flat),b))):new gqd($APP.ti.A($APP.nd($APP.v(this.v),b)),this.xh,this.ca,$APP.ti.A($APP.v(this.flat)))};$APP.k.qa=function(a,b){return $APP.Ze.j(b$(this),b)};
|
||
$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.A(arguments[1]);case 2:return this.j(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.A(arguments.length-1)].join(""));}};$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat($APP.Ib(b)))};$APP.k.A=function(a){return b$(this).j(null,a)};$APP.k.j=function(a,b){return b$(this).C(null,a,b)};$APP.k.se=function(a,b){return $APP.nga(b$(this),b)};$APP.k.hb=$APP.mc;
|
||
$APP.k.la=function(a,b,c){return $APP.cga(b$(this),b,c)};var pqd=$APP.Gl.j(kqd,new $APP.Gh(null,new $APP.l(null,3,[$APP.Wt,null,qqd,null,$APP.bv,null],null),null));var Bqd=new $APP.l(null,1,[j$,$APP.St],null),p$=new $APP.l(null,2,[$APP.T3,function(a){return new $APP.l(null,2,[j$,$APP.T3,$APP.At,a],null)},Nsd,function(a){return new $APP.l(null,2,[j$,Nsd,$APP.At,a],null)}],null),mvd=new $APP.l(null,2,[Nsd,function(a,b){return new $APP.l(null,2,[$APP.Dq,a,$APP.yr,new $APP.J(null,b,null,1,null)],null)},$APP.T3,function(a,b){return new $APP.O(null,2,5,$APP.P,[a,b],null)}],null);var q$=new $APP.l(null,1,[$APP.Dq,Fud],null),Q$=function Q$(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;c=0<c.length?new $APP.rc(c.slice(0),0,null):null;return Q$.F(c)};Q$.F=function(a){return $APP.Xf($APP.Gl.j($APP.B,q$),a)?q$:Aqd(a)?$APP.A(a):new $APP.l(null,2,[$APP.Dq,$APP.bv,h$,a],null)};Q$.O=0;Q$.X=function(a){return this.F($APP.x(a))};
|
||
var X$=function X$(a){switch(arguments.length){case 0:return X$.I();default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;c=new $APP.rc(c.slice(1),0,null);return X$.F(arguments[0],c)}};X$.I=function(){return q$};X$.F=function(a,b){b=$APP.B.j(a,q$)?$APP.Wm.j($APP.Ih([q$]),b):b;$APP.x(b)&&(b=$APP.$f.j(X$,b),a=new $APP.l(null,3,[$APP.Dq,qqd,f$,a,g$,b],null));return a};X$.X=function(a){var b=$APP.A(a);a=$APP.wc(a);return this.F(b,a)};X$.O=1;
|
||
var A$=function A$(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;c=0<c.length?new $APP.rc(c.slice(0),0,null):null;return A$.F(c)};A$.F=function(a){if($APP.Xf($APP.Gl.j($APP.B,q$),a))return q$;a=$APP.Wm.j($APP.Ih([q$]),a);return Aqd(a)?$APP.A(a):new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,a],null)};A$.O=0;A$.X=function(a){return this.F($APP.x(a))};
|
||
var y$=function y$(a){var c=$APP.n($APP.z5.A(a))?$APP.Vj.j(a,$APP.z5):a;return $APP.n($APP.g_.A(c))?$APP.T.C(c,$APP.g_,function(){var d=$APP.g_.A(c);return y$.A?y$.A(d):y$.call(null,d)}()):$APP.n(h$.A(c))?$APP.T.C(c,h$,$APP.ki.j(y$,h$.A(c))):$APP.B.j($APP.Dq.A(c),qqd)?$APP.T.F(c,f$,function(){var d=f$.A(c);return y$.A?y$.A(d):y$.call(null,d)}(),$APP.F([g$,function(){var d=g$.A(c);return y$.A?y$.A(d):y$.call(null,d)}()])):c},z$=function z$(a,b){var d=$APP.Dq.A(a);d=d instanceof $APP.N?d.Y:null;switch(d){case "nt":case "epsilon":return a;
|
||
case "opt":case "plus":case "star":case "rep":case "look":case "neg":return $APP.tn.J(a,new $APP.O(null,1,5,$APP.P,[$APP.g_],null),z$,b);case "alt":case "cat":return $APP.T.C(a,h$,$APP.ki.j(function(e){return z$.j?z$.j(e,b):z$.call(null,e,b)},h$.A(a)));case "ord":return $APP.T.F(a,f$,function(){var e=f$.A(a);return z$.j?z$.j(e,b):z$.call(null,e,b)}(),$APP.F([g$,function(){var e=g$.A(a);return z$.j?z$.j(e,b):z$.call(null,e,b)}()]));case "string":case "string-ci":case "regexp":return $APP.n($APP.I2.A(a))?
|
||
$APP.T.C(A$.F($APP.F([b,$APP.Vj.j(a,$APP.I2)])),$APP.I2,$APP.I2.A(a)):A$.F($APP.F([b,a]));default:throw Error(["No matching clause: ",$APP.t.A(d)].join(""));}};/*
|
||
|
||
Copyright The Closure Library Authors.
|
||
SPDX-License-Identifier: Apache-2.0
|
||
*/
|
||
$APP.k=B$.prototype;$APP.k.ra=function(a,b){return this.aa(null,b,null)};$APP.k.aa=function(a,b,c){switch(b instanceof $APP.N?b.Y:null){case "index":return this.index;case "reason":return this.reason;default:return $APP.G.C(this.G,b,c)}};$APP.k.xa=function(a,b,c){return $APP.ve.C(function(d,e){var f=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);return b.C?b.C(d,f,e):b.call(null,d,f,e)},c,this)};
|
||
$APP.k.la=function(a,b,c){return $APP.hi(b,function(d){return $APP.hi(b,$APP.ji,""," ","",c,d)},"#instaparse.gll.Failure{",", ","}",c,$APP.ql.j(new $APP.O(null,2,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[$APP.Bx,this.index],null),new $APP.O(null,2,5,$APP.P,[$APP.$k,this.reason],null)],null),this.G))};$APP.k.va=function(){return new $APP.Yg(this,2,new $APP.O(null,2,5,$APP.P,[$APP.Bx,$APP.$k],null),$APP.n(this.G)?$APP.hc(this.G):$APP.Uf())};$APP.k.da=function(){return this.H};
|
||
$APP.k.ta=function(){return new B$(this.index,this.reason,this.H,this.G,this.K)};$APP.k.oa=function(){return 2+$APP.Oc(this.G)};$APP.k.na=function(){var a=this.K;return null!=a?a:this.K=a=-1140991288^$APP.Cc(this)};$APP.k.ia=function(a,b){return null!=b&&this.constructor===b.constructor&&$APP.B.j(this.index,b.index)&&$APP.B.j(this.reason,b.reason)&&$APP.B.j(this.G,b.G)};
|
||
$APP.k.ya=function(a,b){return $APP.je(new $APP.Gh(null,new $APP.l(null,2,[$APP.Bx,null,$APP.$k,null],null),null),b)?$APP.Vj.j($APP.Vb($APP.bh.j($APP.Mf,this),this.H),b):new B$(this.index,this.reason,this.H,$APP.Of($APP.Vj.j(this.G,b)),null)};$APP.k.wa=function(a,b){switch(b instanceof $APP.N?b.Y:null){case "index":case "reason":return!0;default:return $APP.je(this.G,b)}};
|
||
$APP.k.ga=function(a,b,c){return $APP.n($APP.ef.j?$APP.ef.j($APP.Bx,b):$APP.ef.call(null,$APP.Bx,b))?new B$(c,this.reason,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j($APP.$k,b):$APP.ef.call(null,$APP.$k,b))?new B$(this.index,c,this.H,this.G,null):new B$(this.index,this.reason,this.H,$APP.T.C(this.G,b,c),null)};$APP.k.pa=function(){return $APP.x($APP.ql.j(new $APP.O(null,2,5,$APP.P,[new $APP.me($APP.Bx,this.index,null),new $APP.me($APP.$k,this.reason,null)],null),this.G))};
|
||
$APP.k.ea=function(a,b){return new B$(this.index,this.reason,b,this.G,this.K)};$APP.k.qa=function(a,b){return $APP.Fd(b)?this.ga(null,$APP.kd(b,0),$APP.kd(b,1)):$APP.ve.C($APP.Kb,this,b)};$APP.k.hb=$APP.mc;$APP.k.la=function(a,b){var c=this;return $APP.Xb(b,function(){var d=new $APP.jb,e=$APP.rb,f=$APP.sb;$APP.rb=!0;$APP.sb=function(g){return d.append(g)};try{wqd(c)}finally{$APP.sb=f,$APP.rb=e}return $APP.t.A(d)}())};var atd=$APP.Eb(new B$(null,null,null,null,null));$APP.k=C$.prototype;
|
||
$APP.k.ra=function(a,b){return this.aa(null,b,null)};
|
||
$APP.k.aa=function(a,b,c){switch(b instanceof $APP.N?b.Y:null){case "grammar":return this.Hb;case "text":return this.text;case "segment":return this.Bd;case "fail-index":return this.bd;case "node-builder":return this.vd;case "stack":return this.stack;case "next-stack":return this.ud;case "generation":return this.generation;case "negative-listeners":return this.td;case "msg-cache":return this.qd;case "nodes":return this.nodes;case "success":return this.jc;case "failure":return this.cd;case "trace?":return this.Cd;
|
||
default:return $APP.G.C(this.G,b,c)}};$APP.k.xa=function(a,b,c){return $APP.ve.C(function(d,e){var f=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);return b.C?b.C(d,f,e):b.call(null,d,f,e)},c,this)};
|
||
$APP.k.la=function(a,b,c){return $APP.hi(b,function(d){return $APP.hi(b,$APP.ji,""," ","",c,d)},"#instaparse.gll.Tramp{",", ","}",c,$APP.ql.j(new $APP.O(null,14,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[k$,this.Hb],null),new $APP.O(null,2,5,$APP.P,[$APP.uv,this.text],null),new $APP.O(null,2,5,$APP.P,[Zrd,this.Bd],null),new $APP.O(null,2,5,$APP.P,[Qrd,this.bd],null),new $APP.O(null,2,5,$APP.P,[Rrd,this.vd],null),new $APP.O(null,2,5,$APP.P,[$APP.S3,this.stack],null),new $APP.O(null,2,5,$APP.P,[Frd,this.ud],
|
||
null),new $APP.O(null,2,5,$APP.P,[Erd,this.generation],null),new $APP.O(null,2,5,$APP.P,[L$,this.td],null),new $APP.O(null,2,5,$APP.P,[Drd,this.qd],null),new $APP.O(null,2,5,$APP.P,[$APP.xv,this.nodes],null),new $APP.O(null,2,5,$APP.P,[$APP.Cm,this.jc],null),new $APP.O(null,2,5,$APP.P,[$APP.jL,this.cd],null),new $APP.O(null,2,5,$APP.P,[xud,this.Cd],null)],null),this.G))};
|
||
$APP.k.va=function(){return new $APP.Yg(this,14,new $APP.O(null,14,5,$APP.P,[k$,$APP.uv,Zrd,Qrd,Rrd,$APP.S3,Frd,Erd,L$,Drd,$APP.xv,$APP.Cm,$APP.jL,xud],null),$APP.n(this.G)?$APP.hc(this.G):$APP.Uf())};$APP.k.da=function(){return this.H};$APP.k.ta=function(){return new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,this.K)};$APP.k.oa=function(){return 14+$APP.Oc(this.G)};
|
||
$APP.k.na=function(){var a=this.K;return null!=a?a:this.K=a=166878148^$APP.Cc(this)};
|
||
$APP.k.ia=function(a,b){return null!=b&&this.constructor===b.constructor&&$APP.B.j(this.Hb,b.Hb)&&$APP.B.j(this.text,b.text)&&$APP.B.j(this.Bd,b.Bd)&&$APP.B.j(this.bd,b.bd)&&$APP.B.j(this.vd,b.vd)&&$APP.B.j(this.stack,b.stack)&&$APP.B.j(this.ud,b.ud)&&$APP.B.j(this.generation,b.generation)&&$APP.B.j(this.td,b.td)&&$APP.B.j(this.qd,b.qd)&&$APP.B.j(this.nodes,b.nodes)&&$APP.B.j(this.jc,b.jc)&&$APP.B.j(this.cd,b.cd)&&$APP.B.j(this.Cd,b.Cd)&&$APP.B.j(this.G,b.G)};
|
||
$APP.k.ya=function(a,b){return $APP.je(new $APP.Gh(null,new $APP.l(null,14,[Drd,null,L$,null,Erd,null,$APP.jL,null,Qrd,null,k$,null,$APP.Cm,null,$APP.xv,null,Rrd,null,Zrd,null,$APP.S3,null,xud,null,Frd,null,$APP.uv,null],null),null),b)?$APP.Vj.j($APP.Vb($APP.bh.j($APP.Mf,this),this.H),b):new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,$APP.Of($APP.Vj.j(this.G,b)),null)};
|
||
$APP.k.wa=function(a,b){switch(b instanceof $APP.N?b.Y:null){case "grammar":case "text":case "segment":case "fail-index":case "node-builder":case "stack":case "next-stack":case "generation":case "negative-listeners":case "msg-cache":case "nodes":case "success":case "failure":case "trace?":return!0;default:return $APP.je(this.G,b)}};
|
||
$APP.k.ga=function(a,b,c){return $APP.n($APP.ef.j?$APP.ef.j(k$,b):$APP.ef.call(null,k$,b))?new C$(c,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j($APP.uv,b):$APP.ef.call(null,$APP.uv,b))?new C$(this.Hb,c,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(Zrd,b):$APP.ef.call(null,
|
||
Zrd,b))?new C$(this.Hb,this.text,c,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(Qrd,b):$APP.ef.call(null,Qrd,b))?new C$(this.Hb,this.text,this.Bd,c,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(Rrd,b):$APP.ef.call(null,Rrd,b))?new C$(this.Hb,this.text,this.Bd,this.bd,c,this.stack,this.ud,this.generation,
|
||
this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j($APP.S3,b):$APP.ef.call(null,$APP.S3,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,c,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(Frd,b):$APP.ef.call(null,Frd,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,c,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?
|
||
$APP.ef.j(Erd,b):$APP.ef.call(null,Erd,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,c,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(L$,b):$APP.ef.call(null,L$,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,c,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(Drd,b):$APP.ef.call(null,Drd,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,
|
||
this.ud,this.generation,this.td,c,this.nodes,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j($APP.xv,b):$APP.ef.call(null,$APP.xv,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,c,this.jc,this.cd,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j($APP.Cm,b):$APP.ef.call(null,$APP.Cm,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,c,this.cd,this.Cd,this.H,
|
||
this.G,null):$APP.n($APP.ef.j?$APP.ef.j($APP.jL,b):$APP.ef.call(null,$APP.jL,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,c,this.Cd,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(xud,b):$APP.ef.call(null,xud,b))?new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,c,this.H,this.G,null):new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,
|
||
this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,this.H,$APP.T.C(this.G,b,c),null)};
|
||
$APP.k.pa=function(){return $APP.x($APP.ql.j(new $APP.O(null,14,5,$APP.P,[new $APP.me(k$,this.Hb,null),new $APP.me($APP.uv,this.text,null),new $APP.me(Zrd,this.Bd,null),new $APP.me(Qrd,this.bd,null),new $APP.me(Rrd,this.vd,null),new $APP.me($APP.S3,this.stack,null),new $APP.me(Frd,this.ud,null),new $APP.me(Erd,this.generation,null),new $APP.me(L$,this.td,null),new $APP.me(Drd,this.qd,null),new $APP.me($APP.xv,this.nodes,null),new $APP.me($APP.Cm,this.jc,null),new $APP.me($APP.jL,this.cd,null),new $APP.me(xud,
|
||
this.Cd,null)],null),this.G))};$APP.k.ea=function(a,b){return new C$(this.Hb,this.text,this.Bd,this.bd,this.vd,this.stack,this.ud,this.generation,this.td,this.qd,this.nodes,this.jc,this.cd,this.Cd,b,this.G,this.K)};$APP.k.qa=function(a,b){return $APP.Fd(b)?this.ga(null,$APP.kd(b,0),$APP.kd(b,1)):$APP.ve.C($APP.Kb,this,b)};$APP.k=E$.prototype;$APP.k.ra=function(a,b){return this.aa(null,b,null)};
|
||
$APP.k.aa=function(a,b,c){switch(b instanceof $APP.N?b.Y:null){case "listeners":return this.listeners;case "full-listeners":return this.Rf;case "results":return this.results;case "full-results":return this.Sf;default:return $APP.G.C(this.G,b,c)}};$APP.k.xa=function(a,b,c){return $APP.ve.C(function(d,e){var f=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);return b.C?b.C(d,f,e):b.call(null,d,f,e)},c,this)};
|
||
$APP.k.la=function(a,b,c){return $APP.hi(b,function(d){return $APP.hi(b,$APP.ji,""," ","",c,d)},"#instaparse.gll.Node{",", ","}",c,$APP.ql.j(new $APP.O(null,4,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[$APP.pA,this.listeners],null),new $APP.O(null,2,5,$APP.P,[G$,this.Rf],null),new $APP.O(null,2,5,$APP.P,[I$,this.results],null),new $APP.O(null,2,5,$APP.P,[H$,this.Sf],null)],null),this.G))};
|
||
$APP.k.va=function(){return new $APP.Yg(this,4,new $APP.O(null,4,5,$APP.P,[$APP.pA,G$,I$,H$],null),$APP.n(this.G)?$APP.hc(this.G):$APP.Uf())};$APP.k.da=function(){return this.H};$APP.k.ta=function(){return new E$(this.listeners,this.Rf,this.results,this.Sf,this.H,this.G,this.K)};$APP.k.oa=function(){return 4+$APP.Oc(this.G)};$APP.k.na=function(){var a=this.K;return null!=a?a:this.K=a=-1610074144^$APP.Cc(this)};
|
||
$APP.k.ia=function(a,b){return null!=b&&this.constructor===b.constructor&&$APP.B.j(this.listeners,b.listeners)&&$APP.B.j(this.Rf,b.Rf)&&$APP.B.j(this.results,b.results)&&$APP.B.j(this.Sf,b.Sf)&&$APP.B.j(this.G,b.G)};$APP.k.ya=function(a,b){return $APP.je(new $APP.Gh(null,new $APP.l(null,4,[H$,null,G$,null,$APP.pA,null,I$,null],null),null),b)?$APP.Vj.j($APP.Vb($APP.bh.j($APP.Mf,this),this.H),b):new E$(this.listeners,this.Rf,this.results,this.Sf,this.H,$APP.Of($APP.Vj.j(this.G,b)),null)};
|
||
$APP.k.wa=function(a,b){switch(b instanceof $APP.N?b.Y:null){case "listeners":case "full-listeners":case "results":case "full-results":return!0;default:return $APP.je(this.G,b)}};
|
||
$APP.k.ga=function(a,b,c){return $APP.n($APP.ef.j?$APP.ef.j($APP.pA,b):$APP.ef.call(null,$APP.pA,b))?new E$(c,this.Rf,this.results,this.Sf,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(G$,b):$APP.ef.call(null,G$,b))?new E$(this.listeners,c,this.results,this.Sf,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(I$,b):$APP.ef.call(null,I$,b))?new E$(this.listeners,this.Rf,c,this.Sf,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(H$,b):$APP.ef.call(null,H$,b))?new E$(this.listeners,this.Rf,this.results,
|
||
c,this.H,this.G,null):new E$(this.listeners,this.Rf,this.results,this.Sf,this.H,$APP.T.C(this.G,b,c),null)};$APP.k.pa=function(){return $APP.x($APP.ql.j(new $APP.O(null,4,5,$APP.P,[new $APP.me($APP.pA,this.listeners,null),new $APP.me(G$,this.Rf,null),new $APP.me(I$,this.results,null),new $APP.me(H$,this.Sf,null)],null),this.G))};$APP.k.ea=function(a,b){return new E$(this.listeners,this.Rf,this.results,this.Sf,b,this.G,this.K)};
|
||
$APP.k.qa=function(a,b){return $APP.Fd(b)?this.ga(null,$APP.kd(b,0),$APP.kd(b,1)):$APP.ve.C($APP.Kb,this,b)};
|
||
var Ord=$APP.Gl.j($APP.$p,$APP.bh),$rd=function $rd(a,b,c,d){return function(f){var g=$APP.Nf(f);f=$APP.G.j(g,$APP.uC);g=$APP.G.j(g,$APP.Bx);f=a$(a,f);if($APP.x(b)){g=new $APP.O(null,2,5,$APP.P,[g,$APP.A(b)],null);var h=$APP.wc(b);f=$rd.J?$rd.J(f,h,c,d):$rd.call(null,f,h,c,d);f=K$(d,g,f)}else f=J$(d,c,D$(f,g));return f}},asd=function asd(a,b,c,d){return function(f){var g=$APP.Nf(f);f=$APP.G.j(g,$APP.uC);g=$APP.G.j(g,$APP.Bx);var h=a$(a,f);return Aqd(b)?Nrd(d,new $APP.O(null,2,5,$APP.P,[g,$APP.A(b)],
|
||
null),function(){var m=$APP.wc(b);return asd.J?asd.J(h,m,c,d):asd.call(null,h,m,c,d)}()):$APP.x(b)?K$(d,new $APP.O(null,2,5,$APP.P,[g,$APP.A(b)],null),function(){var m=$APP.wc(b);return asd.J?asd.J(h,m,c,d):asd.call(null,h,m,c,d)}()):J$(d,c,D$(h,g))}},bsd=function bsd(a,b,c,d,e){return function(g){var h=$APP.Nf(g);g=$APP.G.j(h,$APP.uC);h=$APP.G.j(h,$APP.Bx);if($APP.B.j(h,c))return 0===$APP.Oc(a)?J$(e,d,D$(null,h)):null;g=a$(a,g);K$(e,new $APP.O(null,2,5,$APP.P,[h,b],null),bsd.ba?bsd.ba(g,b,h,d,e):
|
||
bsd.call(null,g,b,h,d,e));return J$(e,d,D$(g,h))}},csd=function csd(a,b,c,d,e){return function(g){var h=$APP.Nf(g);g=$APP.G.j(h,$APP.uC);h=$APP.G.j(h,$APP.Bx);if($APP.B.j(h,c))return 0===$APP.Oc(a)?J$(e,d,D$(null,h)):null;g=a$(a,g);return $APP.B.j(h,$APP.Oc($APP.uv.A(e)))?J$(e,d,D$(g,h)):K$(e,new $APP.O(null,2,5,$APP.P,[h,b],null),csd.ba?csd.ba(g,b,h,d,e):csd.call(null,g,b,h,d,e))}},dsd=function dsd(a,b,c,d,e,f,g,h){return function(p){p=$APP.Nf(p);var q=$APP.G.j(p,$APP.uC);p=$APP.G.j(p,$APP.Bx);q=
|
||
a$(a,q);var r=b+1;d<=r&&r<=e&&J$(h,g,D$(q,p));return r<e?K$(h,new $APP.O(null,2,5,$APP.P,[p,c],null),dsd.ob?dsd.ob(q,r,c,d,e,p,g,h):dsd.call(null,q,r,c,d,e,p,g,h)):null}},esd=function esd(a,b,c,d,e,f,g,h){return function(p){p=$APP.Nf(p);var q=$APP.G.j(p,$APP.uC);p=$APP.G.j(p,$APP.Bx);q=a$(a,q);var r=b+1;return $APP.B.j(p,$APP.Oc($APP.uv.A(h)))?d<=r&&r<=e?J$(h,g,D$(q,p)):null:r<e?K$(h,new $APP.O(null,2,5,$APP.P,[p,c],null),esd.ob?esd.ob(q,r,c,d,e,p,g,h):esd.call(null,q,r,c,d,e,p,g,h)):null}};var lsd=$APP.Rj,nvd=$APP.ci(/'[^'\\]*(?:\\.[^'\\]*)*'/),ovd=$APP.ci(/#'[^'\\]*(?:\\.[^'\\]*)*'/),pvd=$APP.ci(/"[^"\\]*(?:\\.[^"\\]*)*"/),qvd=$APP.ci(/#"[^"\\]*(?:\\.[^"\\]*)*"/),rvd=/(?:(?!(?:\(\*|\*\)))[\s\S])*/,svd=$APP.ci("[,\\s]*"),Y$=x$(w$(W$)),tsd=Dqd($APP.T3,$APP.rh([Oqd,$APP.Wt,qqd,Xud,$APP.bv,Mqd,$APP.yOa,v$,mud,Vud,s$,$APP.Np,$APP.dA,$APP.z5,lvd,Cud,i$,kud,$APP.lM,r$,Fud,W$,Mud,$APP.xL],[A$.F($APP.F([x$(t$("!")),Y$,w$(kud)])),Fqd(A$.F($APP.F([Y$,Q$.F($APP.F([w$(kud),w$(Mqd),w$(Oqd)])),Y$]))),
|
||
A$.F($APP.F([w$($APP.Wt),Fqd(A$.F($APP.F([Y$,x$(t$("/")),Y$,w$($APP.Wt)])))])),Q$.F($APP.F([t$(":"),t$(":\x3d"),t$("::\x3d"),t$("\x3d")])),A$.F($APP.F([w$($APP.Wt),Gqd(A$.F($APP.F([Y$,x$(t$("|")),Y$,w$($APP.Wt)])))])),A$.F($APP.F([x$(t$("\x26")),Y$,w$(kud)])),A$.F($APP.F([Q$.F($APP.F([w$(v$),w$(mud)])),Y$,x$(w$(Xud)),Y$,w$(Cud),x$(Q$.F($APP.F([w$(W$),A$.F($APP.F([w$(W$),Q$.F($APP.F([t$(";"),t$(".")])),w$(W$)]))])))])),A$.F($APP.F([Pqd(w$(Fud)),u$($APP.ci("[^, \\r\\t\\n\x3c\x3e(){}\\[\\]+*?:\x3d|'\"#\x26!;./]+"))])),
|
||
A$.F($APP.F([x$(t$("\x3c")),Y$,w$(v$),Y$,x$(t$("\x3e"))])),A$.F($APP.F([u$(rvd),Gqd(A$.F($APP.F([w$($APP.lM),u$(rvd)])))])),Q$.F($APP.F([A$.F($APP.F([x$(t$("{")),Y$,w$(Cud),Y$,x$(t$("}"))])),A$.F($APP.F([w$(kud),Y$,x$(t$("*"))]))])),Q$.F($APP.F([u$(nvd),u$(pvd)])),n$(A$.F($APP.F([Y$,Fqd(w$($APP.yOa))]))),A$.F($APP.F([x$(t$("\x3c")),Y$,w$(Cud),Y$,x$(t$("\x3e"))])),A$.F($APP.F([x$(t$("(")),Y$,w$(Cud),Y$,x$(t$(")"))])),n$(Q$.F($APP.F([w$($APP.bv),w$(qqd)]))),Q$.F($APP.F([u$(ovd),u$(qvd)])),n$(Q$.F($APP.F([w$(v$),
|
||
w$($APP.Np),w$(i$),w$($APP.xL),w$(s$),w$(r$),w$(lvd),w$($APP.z5),w$(Fud)]))),A$.F($APP.F([t$("(*"),w$(Vud),t$("*)")])),A$.F($APP.F([w$(kud),Y$,x$(t$("+"))])),Q$.F($APP.F([t$("Epsilon"),t$("epsilon"),t$("EPSILON"),t$("eps"),t$("ε")])),A$.F($APP.F([u$(svd),Gqd(A$.F($APP.F([w$($APP.lM),u$(svd)])))])),n$(Q$.F($APP.F([w$($APP.dA),w$(Cud)]))),Q$.F($APP.F([A$.F($APP.F([x$(t$("[")),Y$,w$(Cud),Y$,x$(t$("]"))])),A$.F($APP.F([w$(kud),Y$,x$(t$("?"))]))]))])),osd=$APP.v(new $APP.pc(function(){return Ipd},dvd,
|
||
$APP.rh([$APP.aq,$APP.bq,$APP.cq,$APP.dq,$APP.eq,$APP.fq,$APP.lo,$APP.hq,$APP.iq,$APP.jq,$APP.kq],[!0,Gud,Rud,"cljs/tools/reader.cljs",20,1,305,305,$APP.ck(new $APP.O(null,4,5,$APP.P,[$APP.nd($APP.e6,new $APP.l(null,1,[$APP.Dq,$APP.phc],null)),$APP.kz,$APP.aN,uud],null)),null,$APP.n(Ipd)?Ipd.R:null]))),O$=function O$(a){for(;;){var c=$APP.A.A?$APP.A.A(a):$APP.A.call(null,a);c=c instanceof $APP.N?c.Y:null;switch(c){case "rule":c=$APP.wc.A?$APP.wc.A(a):$APP.wc.call(null,a);var d=$APP.C.C(c,0,null);
|
||
c=$APP.C.C(c,1,null);return $APP.B.j($APP.A.A?$APP.A.A(d):$APP.A.call(null,d),mud)?new $APP.O(null,2,5,$APP.P,[$APP.li.A(function(){var e=$APP.ad.A?$APP.ad.A(d):$APP.ad.call(null,d);return $APP.ad.A?$APP.ad.A(e):$APP.ad.call(null,e)}()),n$(O$.A?O$.A(c):O$.call(null,c))],null):new $APP.O(null,2,5,$APP.P,[$APP.li.A($APP.ad.A?$APP.ad.A(d):$APP.ad.call(null,d)),O$.A?O$.A(c):O$.call(null,c)],null);case "nt":return w$($APP.li.A($APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a)));case "alt":return $APP.$f.j(Q$,
|
||
$APP.ki.j(O$,$APP.wc.A?$APP.wc.A(a):$APP.wc.call(null,a)));case "ord":return $APP.$f.j(X$,$APP.ki.j(O$,$APP.wc.A?$APP.wc.A(a):$APP.wc.call(null,a)));case "paren":a=$APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a);continue;case "hide":return x$(function(){var e=$APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a);return O$.A?O$.A(e):O$.call(null,e)}());case "cat":return $APP.$f.j(A$,$APP.ki.j(O$,$APP.wc.A?$APP.wc.A(a):$APP.wc.call(null,a)));case "string":return msd(psd($APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a)),
|
||
!1);case "regexp":return u$(qsd($APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a)));case "opt":return Eqd(function(){var e=$APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a);return O$.A?O$.A(e):O$.call(null,e)}());case "star":return Gqd(function(){var e=$APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a);return O$.A?O$.A(e):O$.call(null,e)}());case "plus":return Fqd(function(){var e=$APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a);return O$.A?O$.A(e):O$.call(null,e)}());case "look":return Nqd(function(){var e=$APP.ad.A?$APP.ad.A(a):
|
||
$APP.ad.call(null,a);return O$.A?O$.A(e):O$.call(null,e)}());case "neg":return Pqd(function(){var e=$APP.ad.A?$APP.ad.A(a):$APP.ad.call(null,a);return O$.A?O$.A(e):O$.call(null,e)}());case "epsilon":return q$;default:throw Error(["No matching clause: ",$APP.t.A(c)].join(""));}}},rsd=function rsd(a){for(;;){var c=$APP.Dq.A(a);c=c instanceof $APP.N?c.Y:null;switch(c){case "nt":return new $APP.O(null,1,5,$APP.P,[$APP.Zq.A(a)],null);case "string":case "string-ci":case "char":case "regexp":case "epsilon":return $APP.Bg;
|
||
case "opt":case "plus":case "star":case "look":case "neg":case "rep":a=$APP.g_.A(a);continue;case "alt":case "cat":return $APP.qg.F(rsd,$APP.F([h$.A(a)]));case "ord":return $APP.qg.F(rsd,$APP.F([new $APP.O(null,2,5,$APP.P,[f$.A(a),g$.A(a)],null)]));default:throw Error(["No matching clause: ",$APP.t.A(c)].join(""));}}};var tvd=function tvd(a,b){var d=$APP.Dq.A(b);d=a.A?a.A(d):a.call(null,d);return $APP.n(d)?wsd($APP.$f.j(d,$APP.ki.j($APP.Gl.j(tvd,a),$APP.yr.A(b))),$APP.od(b)):$APP.n($APP.Dq.A(b))?$APP.T.C(b,$APP.yr,$APP.ki.j($APP.Gl.j(tvd,a),$APP.yr.A(b))):b},uvd=function uvd(a,b){if($APP.Ad(b)&&$APP.x(b)){var d=$APP.A(b);d=a.A?a.A(d):a.call(null,d);return $APP.n(d)?wsd($APP.$f.j(d,$APP.ki.j($APP.Gl.j(uvd,a),$APP.wc(b))),$APP.od(b)):$APP.nd($APP.bh.j(new $APP.O(null,1,5,$APP.P,[$APP.A(b)],null),$APP.ki.j($APP.Gl.j(uvd,
|
||
a),$APP.wc(b))),$APP.od(b))}return b},Dsd=function Dsd(a,b){if("string"!==typeof b){var d=(d=$APP.Cd(b))?$APP.Dq.A(b):d;$APP.n(d)?b=tvd(a,b):$APP.Fd(b)&&$APP.A(b)instanceof $APP.N?b=uvd(a,b):$APP.Ad(b)?(a=$APP.Gl.j(Dsd,a),b=$APP.nd($APP.ki.j(a,b),$APP.od(b))):b=b instanceof B$?b:yqd($APP.F(["Invalid parse-tree, not recognized as either enlive or hiccup format."]))}return b};var ysd=$APP.rh([Jud,Aud,cvd,ivd,qud,Eud,jvd,Oud,fvd,Lud,kvd,Qud,Pud,vud,oud,$ud],[t$("\r\n"),t$("\t"),Q$.F($APP.F([Q$.F($APP.F([t$(" "),t$("\t")])),Gqd(A$.F($APP.F([t$("\r\n"),Q$.F($APP.F([t$(" "),t$("\t")]))])))])),t$("\n"),u$("[\\u0021-\\u007E]"),u$("[0-9]"),t$(" "),u$("[0-9a-fA-F]"),u$("[\\u0000-\\u001F|\\u007F]"),t$('"'),Q$.F($APP.F([t$(" "),t$("\t")])),t$("\r"),u$("[\\u0000-\\u00FF]"),u$("[a-zA-Z]"),u$("[\\u0001-\\u007F]"),u$("[01]")]),Bsd=$APP.rh([Oqd,$APP.Dv,evd,$APP.hI,$APP.$Q,pud,Mqd,sud,
|
||
$APP.yOa,Iud,Eud,Hud,Uud,gvd,$APP.z5,Wud,Oud,$APP.dU,rud,Bud,Yud,lud,nud,V$,i$,$APP.pK,Dud,Csd,W$,$APP.sFa,tud,Zud,Mud],[new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"!"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),null,1,null),2,null),$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.$Q],null),null,1,null),2,null),$APP.I2,new $APP.l(null,2,
|
||
[j$,$APP.T3,$APP.At,Oqd],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"("],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),null,1,null),2,null),$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,V$],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),new $APP.J(null,
|
||
new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,")"],null),null,1,null),2,null),$APP.z5,!0],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"\x3c"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),null,1,null),2,null),$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Dud],
|
||
null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"\x3e"],null),null,1,null),2,null),$APP.z5,!0],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null),$APP.jm.F($APP.F([u$("\\s+(?:;.*?\\u000D?\\u000A\\s*)*"),new $APP.l(null,1,[$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,$APP.hI],null)],null)])),new $APP.l(null,3,[$APP.Dq,$APP.bv,h$,
|
||
new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Iud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.Dv],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.z5],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.dU],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Uud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,gvd],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Mqd],null),new $APP.J(null,new $APP.l(null,2,
|
||
[$APP.Dq,v$,$APP.Zq,Oqd],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,i$],null),null,1,null),2,null),3,null),4,null),5,null),6,null),7,null),8,null),9,null),$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,evd],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,Wud,$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,V$],null),new $APP.J(null,new $APP.l(null,3,
|
||
[$APP.Dq,v$,$APP.Zq,W$,$APP.z5,!0],null),null,1,null),2,null),3,null),4,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,pud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"\x26"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),null,1,null),2,null),$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.$Q],null),null,1,null),2,null),$APP.I2,
|
||
new $APP.l(null,2,[j$,$APP.T3,$APP.At,Mqd],null)],null),new $APP.l(null,3,[$APP.Dq,r$,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"0"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"1"],null),null,1,null),2,null)],null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,sud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Dud],null),new $APP.J(null,new $APP.l(null,3,
|
||
[$APP.Dq,v$,$APP.Zq,Wud,$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,V$],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,W$,$APP.z5,!0],null),null,1,null),2,null),3,null),4,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,$APP.yOa],null)],null),new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,Bud,$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,Iud],null)],null),$APP.jm.F($APP.F([u$("[0-9]"),new $APP.l(null,1,[$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null)])),new $APP.l(null,
|
||
3,[$APP.Dq,r$,$APP.g_,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Eud],null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,Hud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,'"',$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,s$,$APP.g_,$APP.jm.F($APP.F([u$("[\\u0020-\\u0021\\u0023-\\u007E]"),$APP.Mf]))],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,'"',$APP.z5,
|
||
!0],null),null,1,null),2,null),3,null)],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,"'",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,s$,$APP.g_,$APP.jm.F($APP.F([u$("[\\u0020-\\u0026(-~]"),$APP.Mf]))],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,"'",$APP.z5,!0],null),null,1,null),2,null),3,null)],null),null,1,null),2,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,Uud],null)],null),new $APP.l(null,
|
||
3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,"%",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Yud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,lud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,tud],null),null,1,null),2,null),3,null)],null),null,1,null),2,null),$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,
|
||
new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"\x3c"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),null,1,null),2,null),$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,V$],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"\x3e"],null),null,1,null),2,null),$APP.z5,!0],
|
||
null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,$APP.z5],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,W$,$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"\x3d"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"\x3d/"],null),null,1,null),2,null)],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,W$,
|
||
$APP.z5,!0],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,Wud],null)],null),$APP.jm.F($APP.F([u$("[0-9a-fA-F]"),new $APP.l(null,1,[$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null)])),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"["],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),null,1,null),2,null),$APP.z5,!0],null),new $APP.J(null,
|
||
new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,V$],null),new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"]"],null),null,1,null),2,null),$APP.z5,!0],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,$APP.dU],null)],null),new $APP.l(null,3,[$APP.Dq,r$,$APP.g_,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Oud],null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,
|
||
rud],null)],null),$APP.jm.F($APP.F([u$("[a-zA-Z][-a-zA-Z0-9]*"),new $APP.l(null,1,[$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null)])),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,"b",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,sud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.xL,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,r$,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.Wt,
|
||
h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,".",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,sud],null),null,1,null),2,null)],null)],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"-"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,sud],null),null,1,null),2,null)],null),null,1,null),2,null)],null)],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,
|
||
$APP.At,Yud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,"d",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Zud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.xL,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,r$,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,".",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,
|
||
2,[$APP.Dq,v$,$APP.Zq,Zud],null),null,1,null),2,null)],null)],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"-"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Zud],null),null,1,null),2,null)],null),null,1,null),2,null)],null)],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,lud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,
|
||
$APP.pK],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,s$,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,$APP.hI,$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.pK],null),null,1,null),2,null)],null)],null),null,1,null),2,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,nud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,nud],null),new $APP.J(null,new $APP.l(null,
|
||
2,[$APP.Dq,s$,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"/"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,W$],null),null,1,null),2,null),3,null),$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,nud],null),null,1,null),2,null)],null)],null),null,1,null),2,null),$APP.I2,new $APP.l(null,
|
||
2,[j$,$APP.T3,$APP.At,V$],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.bv,h$,new $APP.J(null,$APP.jm.F($APP.F([u$("#'[^'\\\\]*(?:\\\\.[^'\\\\]*)*'"),$APP.Mf])),new $APP.J(null,$APP.jm.F($APP.F([u$('#\\"[^\\"\\\\]*(?:\\\\.[^\\"\\\\]*)*\\"'),$APP.Mf])),null,1,null),2,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,i$],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.xL,$APP.g_,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.sFa],null)],null),new $APP.J(null,
|
||
new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,W$,$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.$Q],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,$APP.pK],null)],null),new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,Bud,$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,Dud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,v$,$APP.Zq,W$,$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,r$,$APP.g_,new $APP.l(null,
|
||
2,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,$APP.yOa],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,pud],null),null,1,null),2,null)],null)],null),null,1,null),2,null),$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null),$APP.jm.F($APP.F([u$("\\s*(?:;.*?(?:\\u000D?\\u000A\\s*|$))*"),new $APP.l(null,1,[$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,W$],null)],null)])),new $APP.l(null,3,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,
|
||
Hud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.xL,$APP.g_,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Hud],null)],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"*"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.xL,$APP.g_,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Hud],null)],null),null,1,null),2,null),3,null)],null),null,1,null),2,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,$APP.sFa],null)],null),new $APP.l(null,
|
||
3,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,"x",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,rud],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.xL,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,r$,$APP.g_,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,3,[$APP.Dq,$APP.Np,$APP.Np,".",$APP.z5,!0],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,rud],null),
|
||
null,1,null),2,null)],null)],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Wt,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,$APP.Np,$APP.Np,"-"],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,rud],null),null,1,null),2,null)],null),null,1,null),2,null)],null)],null),null,1,null),2,null),3,null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,$APP.At,tud],null)],null),new $APP.l(null,3,[$APP.Dq,r$,$APP.g_,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Eud],null),$APP.I2,new $APP.l(null,2,[j$,$APP.T3,
|
||
$APP.At,Zud],null)],null),new $APP.l(null,3,[$APP.Dq,$APP.bv,h$,new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,Csd],null),new $APP.J(null,new $APP.l(null,2,[$APP.Dq,v$,$APP.Zq,V$],null),null,1,null),2,null),$APP.I2,new $APP.l(null,1,[j$,$APP.St],null)],null)]),vvd=function vvd(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;c=0<c.length?new $APP.rc(c.slice(0),0,null):null;return vvd.F(c)};
|
||
vvd.F=function(a){if($APP.B.j("-",$APP.Sc(a))){var b=$APP.C.C(a,0,null);$APP.C.C(a,1,null);var c=$APP.C.C(a,2,null);return Lqd(b,c)}return $APP.$f.j(A$,function(){return function f(e){return new $APP.uf(null,function(){for(;;){var g=$APP.x(e);if(g){if($APP.Hd(g)){var h=$APP.dc(g),m=$APP.Oc(h),p=$APP.yf(m);a:for(var q=0;;)if(q<m){var r=$APP.kd(h,q);p.add(Lqd(r,r));q+=1}else{h=!0;break a}return h?$APP.Cf($APP.Ef(p),f($APP.ec(g))):$APP.Cf($APP.Ef(p),null)}p=$APP.A(g);return $APP.cf(Lqd(p,p),f($APP.vc(g)))}return null}},
|
||
null,null)}(a)}())};vvd.O=0;vvd.X=function(a){return this.F($APP.x(a))};
|
||
var Z$=parseInt,Esd=$APP.rh([Oqd,pud,Mqd,sud,$APP.yOa,Iud,Hud,Uud,$APP.z5,$APP.dU,rud,Yud,lud,nud,V$,i$,$APP.pK,Dud,$APP.sFa,tud,Zud],[Pqd,function(a,b){return $APP.Lf([a,n$(b)])},Nqd,function(){function a(c){var d=null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){c=$APP.$f.j($APP.t,c);return Z$.j?Z$.j(c,2):Z$.call(null,c,2)}a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}(),
|
||
$APP.iG,function(){function a(c){var d=null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){return $APP.n(!1)?w$($APP.li.A($APP.pk($APP.$f.j($APP.t,c)))):w$($APP.li.A($APP.$f.j($APP.t,c)))}a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}(),function(){function a(c){var d=null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=
|
||
new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){c=$APP.$f.j($APP.t,c);return Z$.A?Z$.A(c):Z$.call(null,c)}a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}(),function(){function a(c){var d=null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){return msd($APP.$f.j($APP.t,c),!0)}a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}(),x$,Eqd,function(){function a(c){var d=
|
||
null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){c=$APP.$f.j($APP.t,c);return Z$.j?Z$.j(c,16):Z$.call(null,c,16)}a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}(),vvd,vvd,A$,Q$,$APP.vm.j(u$,qsd),function(){function a(c,d){return $APP.ud(c)?Gqd(d):$APP.B.j($APP.Oc(c),2)?Iqd(wud.A(c),avd.A(c),d):$APP.B.j(wud.A(c),1)?Fqd(d):$APP.B.j(avd.A(c),1)?Eqd(d):Iqd(function(){var e=
|
||
wud.A(c);return $APP.n(e)?e:0}(),function(){var e=avd.A(c);return $APP.n(e)?e:Infinity}(),d)}var b=null;b=function(c,d){switch(arguments.length){case 1:return c;case 2:return a.call(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.A=function(c){return c};b.j=a;return b}(),function(){function a(c){var d=null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){return $APP.n(!1)?$APP.li.A($APP.pk($APP.$f.j($APP.t,
|
||
c))):$APP.li.A($APP.$f.j($APP.t,c))}a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}(),function(){function a(c){var d=null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){var d=$APP.Oc(c);switch(d){case 1:return $APP.B.j($APP.A(c),"*")?$APP.Mf:new $APP.l(null,2,[wud,$APP.A(c),avd,$APP.A(c)],null);case 2:return $APP.B.j($APP.A(c),"*")?new $APP.l(null,1,[avd,$APP.Sc(c)],null):
|
||
new $APP.l(null,1,[wud,$APP.A(c)],null);case 3:return new $APP.l(null,2,[wud,$APP.A(c),avd,$APP.C.j(c,2)],null);default:throw Error(["No matching clause: ",$APP.t.A(d)].join(""));}}a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}(),vvd,function(){function a(c){var d=null;if(0<arguments.length){d=0;for(var e=Array(arguments.length-0);d<e.length;)e[d]=arguments[d+0],++d;d=new $APP.rc(e,0,null)}return b.call(this,d)}function b(c){c=$APP.$f.j($APP.t,c);return Z$.A?Z$.A(c):Z$.call(null,c)}
|
||
a.O=0;a.X=function(c){c=$APP.x(c);return b(c)};a.F=b;return a}()]);var R$=new B$(null,null,null,null,null),Psd=function Psd(a){switch(arguments.length){case 1:return Psd.A(arguments[0]);case 2:return Psd.j(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.A(arguments.length)].join(""));}};Psd.A=function(a){var b=Gsd(a);$APP.C.C(b,0,null);b=$APP.C.C(b,1,null);return $APP.n(b)?$APP.Me(b):$APP.Oc(a)};Psd.j=function(a,b){var c=Gsd(a);$APP.C.C(c,0,null);c=$APP.C.C(c,1,null);return $APP.n(c)?$APP.Me(c):b+$APP.Oc(a)};Psd.O=2;var $$=function $$(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;c=2<c.length?new $APP.rc(c.slice(2),0,null):null;return $$.F(arguments[0],arguments[1],c)};
|
||
$$.F=function(a,b,c){var d=$APP.Nf(c);c=$APP.G.C(d,$APP.Mo,l$.A(a));var e=$APP.G.C(d,bvd,!1),f=$APP.G.C(d,Ksd,!1),g=$APP.G.j(d,Tud);$APP.G.C(d,$APP.Slc,!1);a=Tsd(a,g);return $APP.n($APP.CO.A(d))?(f=k$.A(a),a=P$.A(a),d=mvd.A?mvd.A(a):mvd.call(null,a),a=ksd(f,c,b,e),a instanceof B$?(g=$APP.Bx.A(a),f=Ard(f,b,b,g,d),jsd(f,w$(c),e),e=Vrd(f,null),$APP.n(e)?b=$APP.A(e):(e=Srd(d,Trd,b,0,$APP.Oc(b)),b=Srd(d,c,e,0,$APP.Oc(b))),b=$APP.nd(b,$APP.jm.F($APP.F([a,$APP.od(b)])))):b=a,b):$APP.n($APP.n(f)?$APP.xb(e):
|
||
f)?(d=Ssd(a,b,c),$APP.n(btd.A?btd.A(d):btd.call(null,d))?ksd(k$.A(a),c,b,e):d):ksd(k$.A(a),c,b,e)};$$.O=2;$$.X=function(a){var b=$APP.A(a),c=$APP.wc(a);a=$APP.A(c);c=$APP.wc(c);return this.F(b,a,c)};$APP.k=S$.prototype;$APP.k.ra=function(a,b){return this.aa(null,b,null)};$APP.k.aa=function(a,b,c){switch(b instanceof $APP.N?b.Y:null){case "grammar":return this.Hb;case "start-production":return this.gg;case "output-format":return this.Bg;default:return $APP.G.C(this.G,b,c)}};
|
||
$APP.k.xa=function(a,b,c){return $APP.ve.C(function(d,e){var f=$APP.C.C(e,0,null);e=$APP.C.C(e,1,null);return b.C?b.C(d,f,e):b.call(null,d,f,e)},c,this)};$APP.k.la=function(a,b,c){return $APP.hi(b,function(d){return $APP.hi(b,$APP.ji,""," ","",c,d)},"#instaparse.core.Parser{",", ","}",c,$APP.ql.j(new $APP.O(null,3,5,$APP.P,[new $APP.O(null,2,5,$APP.P,[k$,this.Hb],null),new $APP.O(null,2,5,$APP.P,[l$,this.gg],null),new $APP.O(null,2,5,$APP.P,[P$,this.Bg],null)],null),this.G))};
|
||
$APP.k.va=function(){return new $APP.Yg(this,3,new $APP.O(null,3,5,$APP.P,[k$,l$,P$],null),$APP.n(this.G)?$APP.hc(this.G):$APP.Uf())};$APP.k.da=function(){return this.H};$APP.k.ta=function(){return new S$(this.Hb,this.gg,this.Bg,this.H,this.G,this.K)};$APP.k.oa=function(){return 3+$APP.Oc(this.G)};$APP.k.na=function(){var a=this.K;return null!=a?a:this.K=a=-360509877^$APP.Cc(this)};
|
||
$APP.k.ia=function(a,b){return null!=b&&this.constructor===b.constructor&&$APP.B.j(this.Hb,b.Hb)&&$APP.B.j(this.gg,b.gg)&&$APP.B.j(this.Bg,b.Bg)&&$APP.B.j(this.G,b.G)};$APP.k.ya=function(a,b){return $APP.je(new $APP.Gh(null,new $APP.l(null,3,[l$,null,k$,null,P$,null],null),null),b)?$APP.Vj.j($APP.Vb($APP.bh.j($APP.Mf,this),this.H),b):new S$(this.Hb,this.gg,this.Bg,this.H,$APP.Of($APP.Vj.j(this.G,b)),null)};
|
||
$APP.k.wa=function(a,b){switch(b instanceof $APP.N?b.Y:null){case "grammar":case "start-production":case "output-format":return!0;default:return $APP.je(this.G,b)}};
|
||
$APP.k.ga=function(a,b,c){return $APP.n($APP.ef.j?$APP.ef.j(k$,b):$APP.ef.call(null,k$,b))?new S$(c,this.gg,this.Bg,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(l$,b):$APP.ef.call(null,l$,b))?new S$(this.Hb,c,this.Bg,this.H,this.G,null):$APP.n($APP.ef.j?$APP.ef.j(P$,b):$APP.ef.call(null,P$,b))?new S$(this.Hb,this.gg,c,this.H,this.G,null):new S$(this.Hb,this.gg,this.Bg,this.H,$APP.T.C(this.G,b,c),null)};
|
||
$APP.k.pa=function(){return $APP.x($APP.ql.j(new $APP.O(null,3,5,$APP.P,[new $APP.me(k$,this.Hb,null),new $APP.me(l$,this.gg,null),new $APP.me(P$,this.Bg,null)],null),this.G))};$APP.k.ea=function(a,b){return new S$(this.Hb,this.gg,this.Bg,b,this.G,this.K)};$APP.k.qa=function(a,b){return $APP.Fd(b)?this.ga(null,$APP.kd(b,0),$APP.kd(b,1)):$APP.ve.C($APP.Kb,this,b)};
|
||
$APP.k.call=function(a){switch(arguments.length-1){case 1:return this.A(arguments[1]);case 3:return this.C(arguments[1],arguments[2],arguments[3]);case 5:return this.ba(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 7:return this.eb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 9:return this.vb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 11:return this.qb(arguments[1],
|
||
arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 13:return this.rb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13]);case 15:return this.sb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],
|
||
arguments[13],arguments[14],arguments[15]);case 17:return this.tb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 19:return this.ub(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],
|
||
arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 21:return this.pf(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",$APP.t.A(arguments.length-1)].join(""));}};
|
||
$APP.k.apply=function(a,b){return this.call.apply(this,[this].concat($APP.Ib(b)))};$APP.k.A=function(a){return $$(this,a)};$APP.k.C=function(a,b,c){return $$.F(this,a,$APP.F([b,c]))};$APP.k.ba=function(a,b,c,d,e){return $$.F(this,a,$APP.F([b,c,d,e]))};$APP.k.eb=function(a,b,c,d,e,f,g){return $$.F(this,a,$APP.F([b,c,d,e,f,g]))};$APP.k.vb=function(a,b,c,d,e,f,g,h,m){return $$.F(this,a,$APP.F([b,c,d,e,f,g,h,m]))};
|
||
$APP.k.qb=function(a,b,c,d,e,f,g,h,m,p,q){return $$.F(this,a,$APP.F([b,c,d,e,f,g,h,m,p,q]))};$APP.k.rb=function(a,b,c,d,e,f,g,h,m,p,q,r,u){return $$.F(this,a,$APP.F([b,c,d,e,f,g,h,m,p,q,r,u]))};$APP.k.sb=function(a,b,c,d,e,f,g,h,m,p,q,r,u,y,z){return $$.F(this,a,$APP.F([b,c,d,e,f,g,h,m,p,q,r,u,y,z]))};$APP.k.tb=function(a,b,c,d,e,f,g,h,m,p,q,r,u,y,z,E,H){return $$.F(this,a,$APP.F([b,c,d,e,f,g,h,m,p,q,r,u,y,z,E,H]))};
|
||
$APP.k.ub=function(a,b,c,d,e,f,g,h,m,p,q,r,u,y,z,E,H){return $$.F(this,a,$APP.F([b,c,d,e,f,g,h,m,p,q,r,u,y,z,E,H]))};$APP.k.pf=function(a,b,c,d,e,f,g,h,m,p,q,r,u,y,z,E,H,K,M,Q,S){return $APP.$f.F($$,this,a,b,c,$APP.F([d,e,f,g,h,m,p,q,r,u,y,z,E,H,K,M,Q,S]))};$APP.k.hb=$APP.mc;$APP.k.la=function(a,b){return $APP.Xb(b,sqd(this))};var $sd=new $APP.l(null,2,[Kud,Wsd("whitespace \x3d #'\\s+'"),$APP.htb,Wsd("whitespace \x3d #'[,\\s]+'")],null);var Ptd=Wsd("\x3cstart\x3e \x3d assignment | expr | comment | directive\nexpr \x3d add-sub [comment]\ncomment \x3d \x3c#'\\s*(#.*$)?'\x3e\n\x3cadd-sub\x3e \x3d pow-term | mul-div | add | sub | variable\nadd \x3d add-sub \x3c'+'\x3e mul-div\nsub \x3d add-sub \x3c'-'\x3e mul-div\n\x3cmul-div\x3e \x3d pow-term | mul | div | mod\nmul \x3d mul-div \x3c'*'\x3e pow-term\ndiv \x3d mul-div \x3c'/'\x3e pow-term\nmod \x3d mul-div \x3c'mod'\x3e pow-term\n\x3cpow-term\x3e \x3d pow | factorial | term\npow \x3d posterm \x3c'^'\x3e pow-term\nfactorial \x3d posterm \x3c'!'\x3e \x3c#'\\s*'\x3e\n\x3cfunction\x3e \x3d log | ln | exp | sqrt | abs | sin | cos | tan | acos | asin | atan\nlog \x3d \x3c#'\\s*'\x3e \x3c'log('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nln \x3d \x3c#'\\s*'\x3e \x3c'ln('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nexp \x3d \x3c#'\\s*'\x3e \x3c'exp('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nsqrt \x3d \x3c#'\\s*'\x3e \x3c'sqrt('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nabs \x3d \x3c#'\\s*'\x3e \x3c'abs('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nsin \x3d \x3c#'\\s*'\x3e \x3c'sin('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\ncos \x3d \x3c#'\\s*'\x3e \x3c'cos('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\ntan \x3d \x3c#'\\s*'\x3e \x3c'tan('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\natan \x3d \x3c#'\\s*'\x3e \x3c'atan('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nacos \x3d \x3c#'\\s*'\x3e \x3c'acos('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nasin \x3d \x3c#'\\s*'\x3e \x3c'asin('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\n\x3cposterm\x3e \x3d function | percent | scientific | number | mixed-number | variable | \x3c#'\\s*'\x3e \x3c'('\x3e expr \x3c')'\x3e \x3c#'\\s*'\x3e\nnegterm \x3d \x3c#'\\s*'\x3e \x3c'-'\x3e ( posterm | pow | factorial )\n\x3cterm\x3e \x3d negterm | posterm\nscientific \x3d #'\\s*[0-9]*\\.?[0-9]+(e|E)[\\-\\+]?[0-9]+()\\s*'\nnumber \x3d decimal-number | hexadecimal-number | octal-number | binary-number\n\x3cdecimal-number\x3e \x3d #'\\s*(\\d+(,\\d+)*(\\.\\d*)?|\\d*\\.\\d+)\\s*'\n\x3chexadecimal-number\x3e \x3d #'\\s*0x([0-9a-fA-F]+(,[0-9a-fA-F]+)*(\\.[0-9a-fA-F]*)?|[0-9a-fA-F]*\\.[0-9a-fA-F]+)\\s*'\n\x3coctal-number\x3e \x3d #'\\s*0o([0-7]+(,[0-7]+)*(\\.[0-7]*)?|[0-7]*\\.[0-7]+)\\s*'\n\x3cbinary-number\x3e \x3d #'\\s*0b([01]+(,[01]+)*(\\.[01]*)?|[01]*\\.[01]+)\\s*'\nmixed-number \x3d \x3c#'\\s*'\x3e digits \x3c#'\\s+'\x3e digits \x3c'/'\x3e digits \x3c#'\\s*'\x3e\npercent \x3d number \x3c'%'\x3e \x3c#'\\s*'\x3e\nvariable \x3d #'\\s*_*[a-zA-Z]+[_a-zA-Z0-9]*\\s*'\ntoassign \x3d #'\\s*_*[a-zA-Z]+[_a-zA-Z0-9]*\\s*'\nassignment \x3d toassign \x3c#'\\s*'\x3e \x3c'\x3d'\x3e \x3c#'\\s*'\x3e expr\n\x3cdirective\x3e \x3d \x3c#'\\s*\\:'\x3e (format | base) \x3c#'\\s*'\x3e [comment]\n\x3cformat\x3e \x3d \x3c#'(format|fmt)\\s+'\x3e ( format-fix | format-sci | format-norm | format-frac | format-impf )\nformat-fix \x3d \x3c#'(?i)fix(ed)?\\s*'\x3e digits\nformat-sci \x3d \x3c#'(?i)sci(entific)?\\s*'\x3e [digits]\nformat-norm \x3d \x3c#'(?i)norm(al)?\\s*'\x3e [digits]\nformat-frac \x3d \x3c#'(?i)frac(tions?)?\\s*'\x3e [digits]\nformat-impf \x3d \x3c#'(?i)imp(roper)?\\s*'\x3e [digits]\nbase \x3d base-hex | base-dec | base-oct | base-bin\n\x3cbase-hex\x3e \x3d #'(?i)hex' \x3c#'(?i)(adecimal)?'\x3e\n\x3cbase-dec\x3e \x3d #'(?i)dec' \x3c#'(?i)(imal)?'\x3e\n\x3cbase-oct\x3e \x3d #'(?i)oct' \x3c#'(?i)(al)?'\x3e\n\x3cbase-bin\x3e \x3d #'(?i)bin' \x3c#'(?i)(ary)?'\x3e\ndigits \x3d #'\\d+'"),
|
||
Ftd=new $APP.l(null,2,["PI",T$.BigNumber("3.14159265358979323846"),"E",T$.BigNumber("2.71828182845904523536")],null),wvd=$APP.Jr($APP.Nr,function(a){return $APP.xr(function(){var b=$APP.Sr(a);return $APP.n(b)?new $APP.O(null,3,5,$APP.P,[hvd,new $APP.l(null,1,[$APP.tR,function(c){return c.stopPropagation()}],null),function(){return function e(d){return new $APP.uf(null,function(){for(;;){var f=$APP.x(d);if(f){if($APP.Hd(f)){var g=$APP.dc(f),h=$APP.Oc(g),m=$APP.yf(h);a:for(var p=0;;)if(p<h){var q=$APP.kd(g,
|
||
p),r=$APP.C.C(q,0,null);q=$APP.C.C(q,1,null);$APP.Df(m,new $APP.O(null,3,5,$APP.P,[zud,new $APP.l(null,1,[$APP.At,r],null),new $APP.O(null,2,5,$APP.P,[$APP.Cv,null==q?"":ctd(q)?"?":$APP.t.A(q)],null)],null));p+=1}else{g=!0;break a}return g?$APP.Cf($APP.Ef(m),e($APP.ec(f))):$APP.Cf($APP.Ef(m),null)}g=$APP.A(f);m=$APP.C.C(g,0,null);g=$APP.C.C(g,1,null);return $APP.cf(new $APP.O(null,3,5,$APP.P,[zud,new $APP.l(null,1,[$APP.At,m],null),new $APP.O(null,2,5,$APP.P,[$APP.Cv,null==g?"":ctd(g)?"?":$APP.t.A(g)],
|
||
null)],null),e($APP.vc(f)))}return null}},null,null)}($APP.$n.j($APP.Ul,b))}()],null):null}())},new $APP.O(null,1,5,$APP.P,[$APP.L8],null),"frontend.extensions.calc/results");var hud=$APP.sa(Ztd,"fromTextArea"),xvd=$APP.sa(Ztd,"Pos");window.CodeMirror=Ztd;
|
||
Ztd.registerHelper("hint","clojure",function(a){var b=a.getCursor(),c=a.getTokenAt(b),d=c.type,e=c.string,f=$APP.ti.A($APP.Mf),g=Xtd(a),h=$APP.C.C(g,0,null),m=$APP.C.C(g,1,null);if($APP.B.j(d,"atom")&&$APP.va(e,":")&&$APP.B.j(m,$APP.At)){if($APP.uDa($APP.tpb,function(u,y){y=$APP.ak.j($APP.t,y);$APP.ud(y)||($APP.ud(h)?$APP.ui.J(f,$APP.T,$APP.A(y),$APP.Ns.A(u)):$APP.B.j($APP.Oc(h),1)?$APP.yk($APP.A(y),$APP.A(h))&&$APP.ui.J(f,$APP.T,$APP.A(y),$APP.Ns.A(u)):$APP.B.j($APP.Oc(h),2)&&$APP.B.j($APP.Oc(y),
|
||
2)&&$APP.B.j($APP.A(y),$APP.A(h))&&$APP.yk($APP.Sc(y),$APP.Sc(h))&&$APP.ui.J(f,$APP.T,$APP.Sc(y),$APP.Ns.A(u)));return null}),$APP.n($APP.Of($APP.v(f)))){g=new xvd(b.line,c.start);var p=new xvd(b.line,c.end),q=c.end<=b.ch,r=a.getValue();a=$APP.ki.j(function(u){var y=$APP.G.j($APP.v(f),u);return new $APP.l(null,2,[$APP.uv,[$APP.t.A(u),q?[" ",$APP.t.A(Ytd(y))].join(""):null].join(""),yud,[$APP.t.A(u)," ",$APP.t.A(y)].join("")],null)},$APP.kj.A($APP.Wm.j(function(u){return $APP.Wh($APP.ci(["[^;]*",
|
||
$APP.t.A(u),"\\s"].join("")),r)},$APP.yh($APP.v(f)))));return a=$APP.wj(new $APP.l(null,3,[$APP.pq,a,$APP.UH,g,$APP.VH,p],null))}}else if($APP.n(function(){var u=null==d;return u?(u=$APP.xk((0,$APP.ya)(e)))?(u=$APP.Of(h),$APP.n(u)?$APP.B.j(m,$APP.At):u):u:u}())&&($APP.uDa($APP.tpb,function(u,y){y=$APP.ak.j($APP.t,y);if($APP.B.j(h,y))switch(y=$APP.Ns.A(u),y instanceof $APP.N?y.Y:null){case "boolean":$APP.ui.F(f,$APP.T,"true",null,$APP.F(["false",null]));break;case "enum":u=$APP.uDa(u,Zpd);u=$APP.Nf(u);
|
||
u=$APP.G.j(u,$APP.Js);u=$APP.x(u);y=null;for(var z=0,E=0;;)if(E<z){var H=y.ka(null,E);$APP.ui.J(f,$APP.T,$APP.t.A(H),null);E+=1}else if(u=$APP.x(u))y=u,$APP.Hd(y)?(u=$APP.dc(y),E=$APP.ec(y),y=u,z=$APP.Oc(u),u=E):(u=$APP.A(y),$APP.ui.J(f,$APP.T,$APP.t.A(u),null),u=$APP.wc(y),y=null,z=0),E=0;else break}return null}),$APP.n($APP.Of($APP.v(f)))))return g=new xvd(b.line,b.ch),p=new xvd(b.line,b.ch),a=$APP.ki.j(function(u){return new $APP.l(null,2,[$APP.uv,u,yud,u],null)},$APP.kj.A($APP.yh($APP.v(f)))),
|
||
a=$APP.wj(new $APP.l(null,3,[$APP.pq,a,$APP.UH,g,$APP.VH,p],null));return null});
|
||
$APP.Did=$APP.Jr($APP.Or,function(a,b,c,d,e){b=function(){var f=$APP.MN.A(d);return $APP.n(f)?$APP.B.j(f,"calc")?null:new $APP.O(null,2,5,$APP.P,[Nud,$APP.qk(f)],null):null}();return $APP.W("div",$APP.Cd(b)?$APP.wr($APP.tr($APP.F([new $APP.l(null,1,[$APP.rr,new $APP.O(null,1,5,$APP.P,["extensions__code"],null)],null),b]))):{className:"extensions__code"},$APP.Cd(b)?[$APP.W("div",{className:"code-editor flex flex-1 flex-row w-full"},[function(){var f=$APP.jm.F($APP.F([new $APP.l(null,3,[$APP.Sl,c,$APP.Ar,
|
||
"textarea",$APP.CQb,e],null),d]));return $APP.W("textarea",$APP.Cd(f)?$APP.wr(f):null,$APP.Cd(f)?null:[$APP.xr(f)])}(),$APP.B.j($APP.MN.A(d),"calc")?wvd(iud.A(a)):null])]:[$APP.xr(b),$APP.W("div",{className:"code-editor flex flex-1 flex-row w-full"},[function(){var f=$APP.jm.F($APP.F([new $APP.l(null,3,[$APP.Sl,c,$APP.Ar,"textarea",$APP.CQb,e],null),d]));return $APP.W("textarea",$APP.Cd(f)?$APP.wr(f):null,$APP.Cd(f)?null:[$APP.xr(f)])}(),$APP.B.j($APP.MN.A(d),"calc")?wvd(iud.A(a)):null])])},new $APP.O(null,
|
||
2,5,$APP.P,[$APP.L8,new $APP.l(null,3,[$APP.Dr,function(a){var b=$APP.Lr.A(a);$APP.C.C(b,0,null);$APP.C.C(b,1,null);$APP.C.C(b,2,null);var c=$APP.C.C(b,3,null);$APP.C.C(b,4,null);b=$APP.C.C(b,5,null);return $APP.T.F(a,Sud,$APP.ti.A(null),$APP.F([iud,$APP.ti.A(Qtd(c)),Rtd,$APP.ti.A(b)]))},$APP.Fr,function(a){var b=Sud.A(a);if(!$APP.n($APP.v(b))){var c=jud(a);$APP.dg(b,c)}return a},$APP.Gr,function(a){$APP.dg(Rtd.A(a),$APP.hd($APP.Lr.A(a)));if(!$APP.n($APP.Yic.A($APP.A($APP.Lr.A(a))))){var b=$APP.C.j($APP.Lr.A(a),
|
||
3),c=$APP.v(Sud.A(a));$APP.n($APP.n(c)?$APP.Bh.j(c.getValue(),b):c)&&c.setValue(b)}return a}],null)],null),"frontend.extensions.code/editor");$APP.MM.ha(null,$APP.cxb,function(a){$APP.C.C(a,0,null);a=$APP.WB();var b=$APP.$B.A(a);$APP.ZB();return setTimeout(function(){var c=$APP.bJa(b).querySelector("textarea");c=$APP.sa(c,"codemirror-instance");return $APP.n(c)?c.focus():null},100)});$APP.Ra.Wi();
|
||
}).call(this); |