// (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.
//Copyright (C) 2012 Kory Nunn
//Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
//The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
e.replace(o,function(t,n,i,o,a){returns+=e.slice(r,a).replace(P,function(e){return"\\"+B[e]}),n&&(s+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),i&&(s+="'+\n((__t=("+i+"))==null?'':__t)+\n'"),o&&(s+="';\n"+o+"\n__p+='"),r=a+t.length,t}),s+="';\n",n.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{i=newFunction(n.variable||"obj","_",s)}catch(a){throwa.source=s,a}if(t)returni(t,S);varl=function(e){returni.call(this,e,S)};returnl.source="function("+(n.variable||"obj")+"){\n"+s+"}",l},S.chain=function(e){returnS(e).chain()};varN=function(e){returnthis._chain?S(e).chain():e};S.mixin(S),E(["pop","push","reverse","shift","sort","splice","unshift"],function(e){vart=i[e];S.prototype[e]=function(){varn=this._wrapped;returnt.apply(n,arguments),"shift"!=e&&"splice"!=e||0!==n.length||deleten[0],N.call(this,n)}}),E(["concat","join","slice"],function(e){vart=i[e];S.prototype[e]=function(){returnN.call(this,t.apply(this._wrapped,arguments))}}),S.extend(S.prototype,{chain:function(){returnthis._chain=!0,this},value:function(){returnthis._wrapped}})}.call(this),define("underscore",function(e){returnfunction(){vart;returnt||e._}}(this)),function(e,t){"object"==typeofexports?module.exports=t():"function"==typeofdefine&&define.amd?define("crel",t):e.crel=t()}(this,function(){functione(){varn,i=window.document,o=arguments,r=i.createElement(o[0]),s=o[1],a=2,l=o.length,c=e.attrMap;if(1===l)returnr;if(("object"!=typeofs||t(s))&&(--a,s=null),l-a===1&&"string"==typeofo[a]&&void0!==r.textContent)r.textContent=o[a];elsefor(;l>a;++a)n=o[a],null!=n&&(t(n)||(n=i.createTextNode(n)),r.appendChild(n));for(varuins)if(c[u]){vard=e.attrMap[u];"function"==typeofd?d(r,s[u]):r.setAttribute(d,s[u])}elser.setAttribute(u,s[u]);returnr}vart="object"==typeofNode?function(e){returneinstanceofNode}:function(e){returne&&"object"==typeofe&&"number"==typeofe.nodeType&&"string"==typeofe.nodeName};returne.attrMap={},e.isNode=t,e}),define("ace/lib/regexp",["require","exports","module"],function(){functione(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}functiont(e,t,n){if(Array.prototype.indexOf)returne.indexOf(t,n);for(vari=n||0;i<e.length;i++)if(e[i]===t)returni;return-1}varn={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},i=void0===n.exec.call(/()??/,"")[1],o=function(){vare=/^/g;returnn.test.call(e,""),!e.lastIndex}();o&&i||(RegExp.prototype.exec=function(r){vars,a,l=n.exec.apply(this,arguments);if("string"==typeofr&&l){if(!i&&l.length>1&&t(l,"")>-1&&(a=RegExp(this.source,n.replace.call(e(this),"g","")),n.replace.call(r.slice(l.index),a,function(){for(vare=1;e<arguments.length-2;e++)void0===arguments[e]&&(l[e]=void0)})),this._xregexp&&this._xregexp.captureNames)for(varc=1;c<l.length;c++)s=this._xregexp.captureNames[c-1],s&&(l[s]=l[c]);!o&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}returnl},o||(RegExp.prototype.test=function(e){vart=n.exec.call(this,e);returnt&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),define("ace/lib/es5-shim",["require","exports","module"],function(){functione(){}functiont(e){try{returnObject.defineProperty(e,"sentinel",{}),"sentinel"ine}catch(t){}}functionn(e){returne=+e,e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(t){varn=this;if("function"!=typeofn)thrownewTypeError("Function.prototype.bind called on incompatible "+n);vari=d.call(arguments,1),o=function(){if(thisinstanceofo){vare=n.apply(this,i.concat(d.call(arguments)));returnObject(e)===e?e:this}returnn.apply(t,i.concat(d.call(arguments)))};returnn.prototype&&(e.prototype=n.prototype,o.prototype=newe,e.prototype=null),o});vari,o,r,s,a,l=Function.prototype.call,c=Array.prototype,u=Object.prototype
vari=e.needle;if(!e.needle)returne.re=!1;e.regExp||(i=n.escapeRegExp(i)),e.wholeWord&&(i="\\b"+i+"\\b");varo=e.caseSensitive?"g":"gi";if(e.$isMultiLine=!t&&/[\n\r]/.test(i),e.$isMultiLine)returne.re=this.$assembleMultilineRegExp(i,o);try{varr=newRegExp(i,o)}catch(s){r=!1}returne.re=r},this.$assembleMultilineRegExp=function(e,t){for(varn=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),i=[],o=0;o<n.length;o++)try{i.push(newRegExp(n[o],t))}catch(r){return!1}return""==n[0]?(i.shift(),i.offset=1):i.offset=0,i},this.$lineIterator=function(e,t){varn=1==t.backwards,i=0!=t.skipCurrent,o=t.range,r=t.start;r||(r=o?o[n?"end":"start"]:e.selection.getRange()),r.start&&(r=r[i!=n?"end":"start"]);vars=o?o.start.row:0,a=o?o.end.row:e.getLength()-1,l=n?function(n){vari=r.row,o=e.getLine(i).substring(0,r.column);if(!n(o,i)){for(i--;i>=s;i--)if(n(e.getLine(i),i))return;if(0!=t.wrap)for(i=a,s=r.row;i>=s;i--)if(n(e.getLine(i),i))return}}:function(n){vari=r.row,o=e.getLine(i).substr(r.column);if(!n(o,i,r.column)){for(i+=1;a>=i;i++)if(n(e.getLine(i),i))return;if(0!=t.wrap)for(i=s,a=r.row;a>=i;i++)if(n(e.getLine(i),i))return}};return{forEach:l}}}).call(r.prototype),t.Search=r}),define("ace/keyboard/hash_handler",["require","exports","module","../lib/keys","../lib/useragent"],function(e,t){functionn(e,t){if(this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.__defineGetter__&&this.__defineSetter__&&"undefined"!=typeofconsole&&console.error){varn=!1,i=function(){n||(n=!0,console.error("commmandKeyBinding has too many m's. use commandKeyBinding"))};this.__defineGetter__("commmandKeyBinding",function(){returni(),this.commandKeyBinding}),this.__defineSetter__("commmandKeyBinding",function(e){returni(),this.commandKeyBinding=e})}elsethis.commmandKeyBinding=this.commandKeyBinding;this.addCommands(e)}vari=e("../lib/keys"),o=e("../lib/useragent");(function(){this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e){vart="string"==typeofe?e:e.name;e=this.commands[t],deletethis.commands[t];varn=this.commandKeyBinding;for(variinn)for(varoinn[i])n[i][o]==e&&deleten[i][o]},this.bindKey=function(e,t){if(e){if("function"==typeoft)returnvoidthis.addCommand({exec:t,bindKey:e,name:t.name||e});varn=this.commandKeyBinding;e.split("|").forEach(function(e){vari=this.parseKeys(e,t),o=i.hashId;(n[o]||(n[o]={}))[i.key]=t},this)}},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){varn=e[t];if(n){if("string"==typeofn)returnthis.bindKey(n,t);"function"==typeofn&&(n={exec:n}),n.name||(n.name=t),this.addCommand(n)}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){vart=e.bindKey;if(t){varn="string"==typeoft?t:t[this.platform];this.bindKey(n,e)}},this.parseKeys=function(e){-1!=e.indexOf(" ")&&(e=e.split(/\s+/).pop());vart=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){returne}),n=t.pop(),o=i[n];if(i.FUNCTION_KEYS[o])n=i.FUNCTION_KEYS[o].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(varr=0,s=t.length;s--;){vara=i.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeofconsole&&console.error("invalid modifier "+t[s]+" in "+e),!1;r|=a}return{key:n,hashId:r}},this.findKeyCommand=function(e,t){varn=this.commandKeyBinding;returnn[e]&&n[e][t]},this.handleKeyboard=function(e,t,n){return{command:this.findKeyCommand(t,n)}}}).call(n.prototype),t.HashHandler=n}),define("ace/commands/command_manager",["require","exports","module","../lib/oop","../keyboard/hash_handler","../lib/event_emitter"],function(e,t){varn=e("../lib/oop"),i=e("../keyboard/hash_handler").HashHandler,o=e("../lib/event_emitter").EventEmitter,r=function(e,t){i.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",function(e){returne.command.
n&&(e.has(localStorage,n[1]+"title")||localStorage.removeItem(t))}),r="v17"),localStorage.version=r,localStorage}),function(e){vart;"function"==typeofdefine?define("xregexp",e):"object"==typeofexports?(t=e(),("object"==typeofmodule?module.exports=t:exports).XRegExp=t):XRegExp=e()}(function(){vare=function(e){functiont(e,t,n){vari;if(n)if(e.__proto__)e.__proto__=m.prototype;elsefor(iinm.prototype)e[i]=m.prototype[i];returne[b]={captureNames:t},e}functionn(e){returnw.replace.call(e,/([\s\S])(?=[\s\S]*\1)/g,"")}functioni(e,i){if(!m.isRegExp(e))thrownewTypeError("Type RegExp expected");varo=w.exec.call(/\/([a-z]*)$/i,String(e))[1];returni=i||{},i.add&&(o=n(o+i.add)),i.remove&&(o=w.replace.call(o,newRegExp("["+i.remove+"]+","g"),"")),e=t(newRegExp(e.source,o),r(e)?e[b].captureNames.slice(0):null,i.addProto)}functiono(){return{captureNames:null}}functionr(e){return!(!e[b]||!e[b].captureNames)}functions(e,t){if(Array.prototype.indexOf)returne.indexOf(t);varn,i=e.length;for(n=0;i>n;++n)if(e[n]===t)returnn;return-1}functiona(e,t){returnI.call(e)==="[object "+t+"]"}functionl(e,t,n){returnw.test.call(n.indexOf("x")>-1?/^(?:\s+|#.*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,e.slice(t))}functionc(e,t){vari;if(n(t)!==t)thrownewSyntaxError("Invalid duplicate regex flag "+t);for(e=w.replace.call(e,/^\(\?([\w$]+)\)/,function(e,i){if(w.test.call(/[gy]/,i))thrownewSyntaxError("Cannot use flag g or y in mode modifier "+e);returnt=n(t+i),""}),i=0;i<t.length;++i)if(!L[t.charAt(i)])thrownewSyntaxError("Unknown regex flag "+t.charAt(i));return{pattern:e,flags:t}}functionu(e){returne=e||{},a(e,"String")&&(e=m.forEach(e,/[^\s,]+/,function(e){this[e]=!0},{})),e}functiond(e){if(!/^[\w$]$/.test(e))thrownewError("Flag must be a single character A-Za-z0-9_$");L[e]=!0}functionh(e,t,n,i,o){for(varr,s,a=E.length,l=null;a--;)if(s=E[a],(s.scope===i||"all"===s.scope)&&(!s.flag||t.indexOf(s.flag)>-1)&&(r=m.exec(e,s.regex,n,"sticky"))){l={matchLength:r[0].length,output:s.handler.call(o,r,i,t),reparse:s.reparse};break}returnl}functionp(e){m.cache.flush("patterns"),y.astral=e}functionf(e){RegExp.prototype.exec=(e?C:w).exec,RegExp.prototype.test=(e?C:w).test,String.prototype.match=(e?C:w).match,String.prototype.replace=(e?C:w).replace,String.prototype.split=(e?C:w).split,y.natives=e}functiong(e){if(null==e)thrownewTypeError("Cannot convert null or undefined to object");returne}varm,v,b="xregexp",y={astral:!1,natives:!1},w={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},C={},x={},S={},E=[],k="default",A="class",F={"default":/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,"class":/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|[\s\S]/},T=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g,D=w.exec.call(/()??/,"")[1]===e,_=RegExp.prototype.sticky!==e,L={g:!0,i:!0,m:!0,y:_},I={}.toString;returnm=function(n,o){varr,s,a,l={hasNamedCapture:!1,captureNames:[]},u=k,d="",p=0;if(m.isRegExp(n)){if(o!==e)thrownewTypeError("Cannot supply flags when copying a RegExp");returni(n,{addProto:!0})}if(n=n===e?"":String(n),o=o===e?"":String(o),a=n+"***"+o,!S[a]){for(r=c(n,o),n=r.pattern,o=r.flags;p<n.length;){dor=h(n,o,p,u,l),r&&r.reparse&&(n=n.slice(0,p)+r.output+n.slice(p+r.matchLength));while(r&&r.reparse);r?(d+=r.output,p+=r.matchLength||1):(s=m.exec(n,F[u],p,"sticky")[0],d+=s,p+=s.length,"["===s&&u===k?u=A:"]"===s&&u===A&&(u=k))}S[a]={pattern:w.replace.call(d,/\(\?:\)(?=\(\?:\))|^\(\?:\)|\(\?:\)$/g,""),flags:w.replace.call(o,/[^gimy]+/g,""),captures:l.hasNamedCapture?l.captureNames:null}}returna=S[a],t(newRegExp(a.pattern,a.flags),a.captures,!0)},m.prototype=newRegExp,m.version="3.0.0-pre",m.addToken=function(e,t,n){n=n||{};varo,r=n.optionalFlags;if(n.flag&&d(n.flag),r)for(r=w.split.call(r,""),o=0;o<r.length;++o)d(r[o]);E.push({regex:i(e,{add:"g"+(_?"y":"")}),handler:t
}(e),function(e){if(!e.addUnicodeData)thrownewReferenceError("Unicode Base must be loaded before Unicode Properties");e.addUnicodeData([{name:"ASCII",bmp:"\x00-"},{name:"Alphabetic",bmp:"A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͅͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևְ-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-ٗٙ-ٟٮ-ۓە-ۜۡ-ۭۨ-ۯۺ-ۼۿܐ-ܿݍ-ޱߊ-ߪߴߵߺࠀ-ࠗࠚ-ࠬࡀ-ࡘࢠࢢ-ࢬࣤ-ࣰࣩ-ࣾऀ-ऻऽ-ौॎ-ॐॕ-ॣॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হঽ-ৄেৈোৌৎৗড়ঢ়য়-ৣৰৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਾ-ੂੇੈੋੌੑਖ਼-ੜਫ਼ੰ-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽ-ૅે-ૉોૌૐૠ-ૣଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽ-ୄେୈୋୌୖୗଡ଼ଢ଼ୟ-ୣୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-ௌௐௗఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-ౌౕౖౘౙౠ-ౣಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೄೆ-ೈೊ-ೌೕೖೞೠ-ೣೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൌൎൗൠ-ൣൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆා-ුූෘ-ෟෲෳก-ฺเ-ๆํກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆໍໜ-ໟༀཀ-ཇཉ-ཬཱ-ཱྀྈ-ྗྙ-ྼက-ံးျ-ဿၐ-ၢၥ-ၨၮ-ႆႎႜႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜓᜠ-ᜳᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-ឳា-ៈៗៜᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-ᤸᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨛᨠ-ᩞᩡ-ᩴᪧᬀ-ᬳᬵ-ᭃᭅ-ᭋᮀ-ᮩᮬ-ᮯᮺ-ᯥᯧ-ᯱᰀ-ᰵᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳳᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙴ-ꙻꙿ-ꚗꚟ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠧꡀ-ꡳꢀ-ꣃꣲ-ꣷꣻꤊ-ꤪꤰ-ꥒꥠ-ꥼꦀ-ꦲꦴ-ꦿꧏꨀ-ꨶꩀ-ꩍꩠ-ꩶꩺꪀ-ꪾꫀꫂꫛ-ꫝꫠ-ꫯꫲ-ꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",astral:"<22><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>][<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]"},{name:"Any",isBmpLast:!0,bmp:"\x00-",astral:"[<5B><><EFBFBD>-<2D><><EFBFBD>][<5B><><EFBFBD>-<2D><><EFBFBD>]"},{name:"Assigned",inverseOf:"Cn"},{name:"Default_Ignorable_Code_Point",bmp:"͏ᅟᅠ឴឵᠋-᠍---ㅤ︀-️ᅠ-",astral:"[<5B><><EFBFBD>-<2D><><EFBFBD>][<5B><><EFBFBD>-<2D><><EFBFBD>]|<7C><><EFBFBD>[<5B><><EFBFBD>-<2D><><EFBFBD>]"},{name:"Lowercase",bmp:"a-zªµºß-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıijĵķĸĺļľŀłńņňʼnŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżž-ƀƃƅƈƌƍƒƕƙ-ƛƞơƣƥƨƪƫƭưƴƶ<EFBFBD>
}),function(){vare=function(e,t,n,i){this.rawMessage=e,this.parsedLine=void0!==t?t:-1,this.snippet=void0!==n?n:null,this.parsedFile=void0!==i?i:null,this.updateRepr(),this.message=e};e.prototype={name:"YamlParseException",message:null,parsedFile:null,parsedLine:-1,snippet:null,rawMessage:null,isDefined:function(e){returnvoid0!=e&&null!=e},getSnippet:function(){returnthis.snippet},setSnippet:function(e){this.snippet=e,this.updateRepr()},getParsedFile:function(){returnthis.parsedFile},setParsedFile:function(e){this.parsedFile=e,this.updateRepr()},getParsedLine:function(){returnthis.parsedLine},setParsedLine:function(e){this.parsedLine=e,this.updateRepr()},updateRepr:function(){this.message=this.rawMessage;vare=!1;"."===this.message.charAt(this.message.length-1)&&(this.message=this.message.substring(0,this.message.length-1),e=!0),null!==this.parsedFile&&(this.message+=" in "+JSON.stringify(this.parsedFile)),this.parsedLine>=0&&(this.message+=" at line "+this.parsedLine),this.snippet&&(this.message+=' (near "'+this.snippet+'")'),e&&(this.message+=".")}};vart=!1,n=function(){};n.prototype={parseFile:function(t,i){if(null==i){varo=this.getFileContents(t),r=null;try{r=this.parse(o)}catch(s){throwsinstanceofe&&s.setParsedFile(t),s}returnr}this.getFileContents(t,function(e){i((newn).parse(e))})},parse:function(e){vart=newr;returnt.parse(e)},dump:function(e,t,n){null==t&&(t=2);vari=newa;returnn&&(i.numSpacesForIndentation=n),i.dump(e,t)},getXHR:function(){if(window.XMLHttpRequest)returnnewXMLHttpRequest;if(window.ActiveXObject)for(vare=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP"],t=0;4>t;t++)try{returnnewActiveXObject(e[t])}catch(n){}returnnull},getFileContents:function(e,n){if(t){vari=require("fs");if(null==n){varo=i.readFileSync(e);returnnull==o?null:""+o}i.readFile(e,function(e,t){n(e?null:t)})}else{varr=this.getXHR();if(null==n)returnr.open("GET",e,!1),r.send(null),200==r.status||0==r.status?r.responseText:null;r.onreadystatechange=function(){4==r.readyState&&n(200==r.status||0==r.status?r.responseText:null)},r.open("GET",e,!0),r.send(null)}}};vari={stringify:function(e,t,i){return(newn).dump(e,t,i)},parse:function(e){return(newn).parse(e)},load:function(e,t){return(newn).parseFile(e,t)}};"undefined"!=typeofexports&&"undefined"!=typeofmodule&&module.exports&&(exports=module.exports=i,t=!0,function(){vare=function(e,t){e.exports=i.load(t)};void0!==require.extensions&&(require.extensions[".yml"]=e,require.extensions[".yaml"]=e)}()),"undefined"!=typeofwindow&&(window.YAML=i);varo=function(){};o.prototype={i:null,parse:function(t){varn=null;if(t=this.trim(t),0==t.length)return"";switch(t.charAt(0)){case"[":n=this.parseSequence(t);break;case"{":n=this.parseMapping(t);break;default:n=this.parseScalar(t)}if(""!=t.substr(this.i+1).replace(/^\s*#.*$/,""))throwconsole.log("oups "+t.substr(this.i+1)),newe('Unexpected characters near "'+t.substr(this.i)+'".');returnn},dump:function(e){if(void0==e||null==e)return"null";if(einstanceofDate)returne.toISOString();if("object"==typeofe)returnthis.dumpObject(e);if("boolean"==typeofe)returne?"true":"false";if(/^\d+$/.test(e))return"string"==typeofe?"'"+e+"'":parseInt(e);if(this.isNumeric(e))return"string"==typeofe?"'"+e+"'":parseFloat(e);if("number"==typeofe)return1/0==e?".Inf":e==-1/0?"-.Inf":isNaN(e)?".NAN":e;vart=newYamlEscaper;returnt.requiresDoubleQuoting(e)?t.escapeWithDoubleQuotes(e):t.requiresSingleQuoting(e)?t.escapeWithSingleQuotes(e):""==e?"":this.getTimestampRegex().test(e)?"'"+e+"'":this.inArray(e.toLowerCase(),["null","~","true","false"])?"'"+e+"'":e},dumpObject:function(e){vart,n=this.getKeys(e),i=null,o=n.length;if(einstanceofArray){for(i=[],t=0;o>t;t++)i.push(this.dump(e[n[t]]));return"["+i.join(", ")+"]"}for(i=[],t=0;o>t;t++)i.push(this.dump(n[t])+": "+this.dump(e[n[t]]));return"{ "+i.join(", ")+" }"},parseScalar:function(t,n,i,o,r){void0==n&&(n=null),void0==i&&(i=['"',"'"]),void0==o&&(o=0),void0==r&&(r=!0);vars=null,a=null,l=null;if(this.inArray(t[o],i)){if(s=this.parseQuo
vari=e.hashComments;if(i&&(e.cStyleComments?(t.push(i>1?[_,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]:[_,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push([T,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push([_,/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push([_,/^\/\/[^\r\n]*/,null]),n.push([_,/^\/\*[\s\S]*?(?:\*\/|$)/,null])),e.regexLiterals){varr="/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/";n.push(["lang-regex",newRegExp("^"+H+"("+r+")")])}vars=e.types;s&&n.push([L,s]);vara=(""+e.keywords).replace(/^ | $/g,"");a.length&&n.push([D,newRegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push([R,/^\s+/,null," \r\n "]);varl=/^.[^\s\w\.$@\'\"\`\/\\]*/;returnn.push([I,/^@[a-z_$][a-z_$@0-9]*/i,null],[L,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[R,/^[a-z_$][a-z_$@0-9]*/i,null],[I,newRegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[R,/^\\[\s\S]?/,null],[M,l,null]),o(t,n)}functions(e,t,n){functioni(e){switch(e.nodeType){case1:if(r.test(e.className))break;if("br"===e.nodeName)o(e),e.parentNode&&e.parentNode.removeChild(e);elsefor(vart=e.firstChild;t;t=t.nextSibling)i(t);break;case3:case4:if(n){varl=e.nodeValue,c=l.match(s);if(c){varu=l.substring(0,c.index);e.nodeValue=u;vard=l.substring(c.index+c[0].length);if(d){varh=e.parentNode;h.insertBefore(a.createTextNode(d),e.nextSibling)}o(e),u||e.parentNode.removeChild(e)}}}}functiono(e){functiont(e,n){vari=n?e.cloneNode(!1):e,o=e.parentNode;if(o){varr=t(o,1),s=e.nextSibling;r.appendChild(i);for(vara=s;a;a=s)s=a.nextSibling,r.appendChild(a)}returni}for(;!e.nextSibling;)if(e=e.parentNode,!e)return;for(varn,i=t(e.nextSibling,0);(n=i.parentNode)&&1===n.nodeType;)i=n;c.push(i)}for(varr=/(?:^|\s)nocode(?:\s|$)/,s=/\r\n?|\n/,a=e.ownerDocument,l=a.createElement("li");e.firstChild;)l.appendChild(e.firstChild);for(varc=[l],u=0;u<c.length;++u)i(c[u]);t===(0|t)&&c[0].setAttribute("value",t);vard=a.createElement("ol");d.className="linenums";for(varh=Math.max(0,t-1|0)||0,u=0,p=c.length;p>u;++u)l=c[u],l.className="L"+(u+h)%10,l.firstChild||l.appendChild(a.createTextNode("")),d.appendChild(l);e.appendChild(d)}functiona(e){vart=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;varn=/\n/g,i=e.sourceCode,o=i.length,r=0,s=e.spans,a=s.length,l=0,c=e.decorations,u=c.length,d=0;c[u]=o;varh,p;for(p=h=0;u>p;)c[p]!==c[p+2]?(c[h++]=c[p++],c[h++]=c[p++]):p+=2;for(u=h,p=h=0;u>p;){for(varf=c[p],g=c[p+1],m=p+2;u>=m+2&&c[m+1]===g;)m+=2;c[h++]=f,c[h++]=g,p=m}u=c.length=h;varv,b=e.sourceNode;b&&(v=b.style.display,b.style.display="none");try{for(;a>l;){vary,w=(s[l],s[l+2]||o),C=c[d+2]||o,m=Math.min(w,C),x=s[l+1];if(1!==x.nodeType&&(y=i.substring(r,m))){t&&(y=y.replace(n,"\r")),x.nodeValue=y;varS=x.ownerDocument,E=S.createElement("span");E.className=c[d+1];vark=x.parentNode;k.replaceChild(E,x),E.appendChild(x),w>r&&(s[l+1]=x=S.createTextNode(i.substring(m,w)),k.insertBefore(x,E.nextSibling))}r=m,r>=w&&(l+=2),r>=C&&(d+=2)}}finally{b&&(b.style.display=v)}}functionl(e,t){for(varn=t.length;--n>=0;){vari=t[n];G.hasOwnProperty(i)?p.console&&console.warn("cannot override language handler %s",i):G[i]=e}}functionc(e,t){returne&&G.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),G[e]}functionu(e){varn=e.langExtension;try{vari=t(e.sourceNode,e.pre),o=i.sourceCode;e.sourceCode=o,e.spans=i.spans,e.basePos=0,c(n,o)(e),a(e)}catch(r){p.console&&console.log(r&&r.stack?r.stack:r)}}functiond(e,t,n){vari=document.createElement("pre");i.innerHTML=e,n&&s(i,n,!0);varo={langExtension:t,numberLines:n,sourceNode:i,pre:1};returnu(o),i.innerHTML}functionh(e){functiont(e){returndocument.getElementsByTagName(e)}functionn(){for(vart=p.PR_SHOULD_USE_CONTINUATION?d.now()+250:1/0;f<r.length&&d.now()<t;f++){varo=r[f],a=o.className;if(m.test(a)&&!v.test(a)){for(varl=!1,c=o.parentNode;c;c=c.parentNode){varC=c.tagN
}),hljs.registerLanguage("rsl",function(e){return{k:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},i:"</",c:[e.CLCM,e.CBLCLM,e.QSM,e.ASM,e.CNM,{cN:"preprocessor",b:"#",e:"$"},{cN:"shader",bK:"surface displacement light volume imager",e:"\\("},{cN:"shading",bK:"illuminate illuminance gather",e:"\\("}]}}),hljs.registerLanguage("lua",function(e){vart="\\[=*\\[",n="\\]=*\\]",i={b:t,e:n,c:["self"]},o=[{cN:"comment",b:"--(?!"+t+")",e:"$"},{cN:"comment",b:"--"+t,e:n,c:[i],r:10}];return{l:e.UIR,k:{keyword:"and break do else elseif end false for if in local nil not or repeat return then true until while",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},c:o.concat([{cN:"function",bK:"function",e:"\\)",c:[e.inherit(e.TM,{b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{cN:"params",b:"\\(",eW:!0,c:o}].concat(o)},e.CNM,e.ASM,e.QSM,{cN:"string",b:t,e:n,c:[i],r:10}])}}),hljs.registerLanguage("xml",function(){vare="[A-Za-z0-9\\._:-]+",t={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php",subLanguageMode:"continuous"},n={eW:!0,i:/</,r:0,c:[t,{cN:"attribute",b:e,r:0},{b:"=",r:0,c:[{cN:"value",v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html"],cI:!0,c:[{cN:"doctype",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"<!--",e:"-->",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{title:"style"},c:[n],starts:{e:"</style>",rE:!0,sL:"css"}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{title:"script"},c:[n],starts:{e:"</script>",rE:!0,sL:"javascript"}},{b:"<%",e:"%>",sL:"vbscript"},t,{cN:"pi",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"title",b:"[^ /><]+",r:0},n]}]}}),hljs.registerLanguage("markdown",function(){return{c:[{cN:"header",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"blockquote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{cN:"horizontal_rule",b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].+?[\\)\\]]",rB:!0,c:[{cN:"link_label",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link_url",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"link_reference",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:"^\\[.+\\]:",e:"$",rB:!0,c:[{cN:"link_reference",b:"\\[",e:"\\]",eB:!0,eE:!0},{cN:"link_url",b:"\\s",e:"$"}]}]}}),hljs.registerLanguage("css",function(e){vart="[a-zA-Z-][a-zA-Z0-9_-]*",n={cN:"function",b:t+"\\(",e:"\\)",c:["self",e.NM,e.ASM,e.QSM]};return{cI:!0,i:"[=/|']",c:[e.CBLCLM,{cN:"id",b:"\\#[A-Za-z0-9_-]+"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"pseudo",b:":(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\\"\\']+"},{cN:"at_rule",b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{cN:"at_rule",b:"@",e:"[{;]",c:[{cN:"keyword",b:/\S+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[n,e.ASM,e.QSM,e.NM]}]},{cN:"tag",b:t,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[e.CBLCLM,{cN:"rule",b:"[^\\s]",rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:!0,i:"[^\\s]",starts:{cN:"value",eW:!0,eE:!0,c:[n,e.NM,e.QSM,e.ASM,e.CBLCLM,{cN:"hexcolor",b:"#[0-9A-Fa-f]+"},{cN:"important",b:"!important"}]}}]}]}]}}),hljs.registerLanguage("li
}),hljs.registerLanguage("php",function(e){vart={cN:"variable",b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},n={cN:"preprocessor",b:/<\?(php)?|\?>/},i={cN:"string",c:[e.BE,n],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},o={v:[e.BNM,e.CNM]};return{cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.CLCM,e.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+"},n]},{cN:"comment",b:"__halt_compiler.+?;",eW:!0,k:"__halt_compiler",l:e.UIR},{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[e.BE]},n,t,{cN:"function",bK:"function",e:/[;{]/,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",t,e.CBLCLM,i,o]}]},{cN:"class",bK:"class interface",e:"{",i:/[:\(\$"]/,c:[{bK:"extends implements",r:10},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},i,o]}}),hljs.registerLanguage("haskell",function(e){vart={cN:"comment",v:[{b:"--",e:"$"},{b:"{-",e:"-}",c:["self"]}]},n={cN:"pragma",b:"{-#",e:"#-}"},i={cN:"preprocessor",b:"^#",e:"$"},o={cN:"type",b:"\\b[A-Z][\\w']*",r:0},r={cN:"container",b:"\\(",e:"\\)",i:'"',c:[n,t,i,{cN:"type",b:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TM,{b:"[_a-z][\\w']*"})]},s={cN:"container",b:"{",e:"}",c:r.c};return{k:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",c:[{cN:"module",b:"\\bmodule\\b",e:"where",k:"module where",c:[r,t],i:"\\W\\.|;"},{cN:"import",b:"\\bimport\\b",e:"$",k:"import|0 qualified as hiding",c:[r,t],i:"\\W\\.|;"},{cN:"class",b:"^(\\s*)?(class|instance)\\b",e:"where",k:"class family instance where",c:[o,r,t]},{cN:"typedef",b:"\\b(data|(new)?type)\\b",e:"$",k:"data family type newtype deriving",c:[n,t,o,r,s]},{cN:"default",bK:"default",e:"$",c:[o,r,t]},{cN:"infix",bK:"infix infixl infixr",e:"$",c:[e.CNM,t]},{cN:"foreign",b:"\\bforeign\\b",e:"$",k:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",c:[o,e.QSM,t]},{cN:"shebang",b:"#!\\/usr\\/bin\\/env runhaskell",e:"$"},n,t,i,e.QSM,e.CNM,o,e.inherit(e.TM,{b:"^[_a-z][\\w']*"}),{b:"->|<-"}]}}),hljs.registerLanguage("1c",function(e){vart="[a-zA-Zа-яА-Я][a-zA-Z0-9_а-яА-Я]*",n="возврат дата для если и или иначе иначеесли исключение конецесли конецпопытки конецпроцедуры конецфункции конеццикла константа не перейти перем перечисление по пока попытка прервать продолжить процедура строка тогда фс функция цикл число экспорт",i="ansitooemoemtoansiввестивидсубконтоввестидатуввестизначениеввестиперечислениеввестипериодввестиплансчетовввестистрокуввестичисловопросвосстановитьзначениеврегвыбранныйплансчетоввызватьисключениедатагоддатамесяцдатачислодобавитьмесяцзавершитьработусистемызаголовоксистемызаписьжурналарегистрациизапуститьприложениезафиксироватьтранзакциюзначениевстрокузначениевстрокувнутрзначениевфайлзначениеизстрокизначениеизстрокивн<EFBFBD>
}),hljs.registerLanguage("vhdl",function(e){return{cI:!0,k:{keyword:"abs access after alias all and architecture array assert attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable vmode vprop vunit wait when while with xnor xor",typename:"boolean bit character severity_level integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_ulogic std_ulogic_vector std_logic std_logic_vector unsigned signed boolean_vector integer_vector real_vector time_vector"},i:"{",c:[e.CBLCLM,{cN:"comment",b:"--",e:"$"},e.QSM,e.CNM,{cN:"literal",b:"'(U|X|0|1|Z|W|L|H|-)'",c:[e.BE]},{cN:"attribute",b:"'[A-Za-z](_?[A-Za-z0-9])*",c:[e.BE]}]}}),hljs.registerLanguage("coffeescript",function(e){vart={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",reserved:"case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf",built_in:"npm require console print module exports global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",i=e.inherit(e.TM,{b:n}),o={cN:"subst",b:/#\{/,e:/}/,k:t},r=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,o]},{b:/"/,e:/"/,c:[e.BE,o]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[o,e.HCM]},{b:"//[gim]*",r:0},{b:"/\\S(\\\\.|[^\\n])*?/[gim]*(?=\\s|\\W|$)"}]},{cN:"property",b:"@"+n},{b:"`",e:"`",eB:!0,eE:!0,sL:"javascript"}];returno.c=r,{k:t,c:r.concat([{cN:"comment",b:"###",e:"###"},e.HCM,{cN:"function",b:"("+n+"\\s*=\\s*)?(\\(.*\\))?\\s*\\B[-=]>",e:"[-=]>",rB:!0,c:[i,{cN:"params",b:"\\(",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(r)}]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[i]},i]},{cN:"attribute",b:n+":",e:":",rB:!0,eE:!0,r:0}])}}),hljs.registerLanguage("mizar",function(){return{k:["environ vocabularies notations constructors definitions registrations theorems schemes requirements","begin end definition registration cluster existence pred func defpred deffunc theorem proof","let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from","be being by means equals implies iff redefine define now not or attr is mode suppose per cases set","thesis contradiction scheme reserve struct","correctness compatibility coherence symmetry assymetry reflexivity irreflexivity","connectedness uniqueness commutativity idempotence involutiveness projectivity"].join(" "),c:[{cN:"comment",b:"::",e:"$"}]}}),hljs.registerLanguage("nginx",function(e){vart={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},n={eW:!0,l:"[a-z/_]+",k:{built_in:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,t],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{cN:"url",b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0},{cN:"regexp",c:[e.BE,t],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},t]};return{c:[e.HCM,{b:e.UIR+"\\s",e:";|{",rB:!0,c:[e.inherit(e.UTM,{starts:n})],r:0}],i:"[^\\s\\}]"}}),hljs.registerLanguage("erlang-repl",function(e){retur
}),hljs.registerLanguage("applescript",function(e){vart=e.inherit(e.QSM,{i:""}),n={cN:"params",b:"\\(",e:"\\)",c:["self",e.CNM,t]},i=[{cN:"comment",b:"--",e:"$"},{cN:"comment",b:"\\(\\*",e:"\\*\\)",c:["self",{b:"--",e:"$"}]},e.HCM];return{k:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the then third through thru timeout times to transaction try until where while whose with without",constant:"AppleScript false linefeed return pi quote result space tab true",type:"alias application boolean class constant date file integer list number real record string text",command:"activate beep count delay launch log offset read round run say summarize write",property:"character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},c:[t,e.CNM,{cN:"type",b:"\\bPOSIX file\\b"},{cN:"command",b:"\\b(clipboard info|the clipboard|info for|list (disks|folder)|mount volume|path to|(close|open for) access|(get|set) eof|current date|do shell script|get volume settings|random number|set volume|system attribute|system info|time to GMT|(load|run|store) script|scripting components|ASCII (character|number)|localized string|choose (application|color|file|file name|folder|from list|remote application|URL)|display (alert|dialog))\\b|^\\s*return\\b"},{cN:"constant",b:"\\b(text item delimiters|current application|missing value)\\b"},{cN:"keyword",b:"\\b(apart from|aside from|instead of|out of|greater than|isn't|(doesn't|does not) (equal|come before|come after|contain)|(greater|less) than( or equal)?|(starts?|ends|begins?) with|contained by|comes (before|after)|a (ref|reference))\\b"},{cN:"property",b:"\\b(POSIX path|(date|time) string|quoted form)\\b"},{cN:"function_start",bK:"on",i:"[${=;\\n]",c:[e.UTM,n]}].concat(i),i:"//"}}),hljs.registerLanguage("lasso",function(e){vart="[a-zA-Z_][a-zA-Z0-9_.]*",n="<\\?(lasso(script)?|=)",i="\\]|\\?>",o={literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null bytes list queue set stack staticarray tie local var variable global data self inherited",keyword:"error_code error_msg error_pop error_push error_reset cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},r={cN:"comment",b:"<!--",e:"-->",r:0},s={cN:"preprocessor",b:"\\[noprocess\\]",starts:{cN:"markup",e:"\\[/noprocess\\]",rE:!0,c:[r]}},a={cN:"preprocessor",b:"\\[/noprocess|"+n},l={cN:"variable",b:"'"+t+"'"},c=[e.CLCM,{cN:"javadoc",b:"/\\*\\*!",e:"\\*/"},e.CBLCLM,e.inherit(e.CNM,{b:e.CNR+"|-?(infinity|nan)\\b"}),e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null}),{cN:"string",b:"`",e:
}returnp&&i(d,p,t),t(u.join(""))}functionr(e){returne=e.replace(/@@(\d+)@@/g,function(e,t){returng[t]}),g=null,e}functions(){v=!1,w.cancelTypeset=!1,w.Queue(["Typeset",w,b]),w.Queue(c)}functiona(){!v&&(v=!0,w.Cancel(),w.Queue(s))}varl=newt("mathJax","MathJax",!0);l.settingsBlock=n,l.defaultConfig={tex:"{}",tex2jax:'{ inlineMath: [["$","$"],["\\\\\\\\(","\\\\\\\\)"]], displayMath: [["$$","$$"],["\\\\[","\\\\]"]], processEscapes: true }'},l.onLoadSettings=function(){e.setInputValue("#input-mathjax-config-tex",l.config.tex),e.setInputValue("#input-mathjax-config-tex2jax",l.config.tex2jax)},l.onSaveSettings=function(t,n){t.tex=e.getInputJsValue("#input-mathjax-config-tex",n),t.tex2jax=e.getInputJsValue("#input-mathjax-config-tex2jax",n)},l.onPagedownConfigure=function(e){b=document.getElementById("preview-contents");vart=e.getConverter();t.hooks.chain("preConversion",o),t.hooks.chain("postConversion",r)};varc;l.onAsyncPreview=function(e){c=e,a()};varu,d,h,p,f,g,m=!1,v=!1,b=null,y="$",w=MathJax.Hub;w.Queue(function(){m=!0,w.processUpdateTime=50,w.Config({"HTML-CSS":{EqnChunk:10,EqnChunkFactor:1},SVG:{EqnChunk:10,EqnChunkFactor:1}})});varC,x=/(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[\\{}$]|[{}]|(?:\n\s*)+|@@\d+@@)/i;returnC=3==="aba".split(/(b)/).length?function(e,t){returne.split(t)}:function(e,t){varn,i=[];if(!t.global){n=t.toString();varo="";n=n.replace(/^\/(.*)\/([im]*)$/,function(e,t,n){returno=n,t}),t=RegExp(n,o+"g")}for(varr=t.lastIndex=0;n=t.exec(e);)i.push(e.substring(r,n.index)),i.push.apply(i,n.slice(1)),r=n.index+n[0].length;returni.push(e.substring(r)),i},function(){vare=MathJax.Hub;if(!e.Cancel){e.cancelTypeset=!1,e.Register.StartupHook("HTML-CSS Jax Config",function(){vart=MathJax.OutputJax["HTML-CSS"],n=t.Translate;t.Augment({Translate:function(i,o){if(e.cancelTypeset||o.cancelled)throwError("MathJax Canceled");returnn.call(t,i,o)}})}),e.Register.StartupHook("SVG Jax Config",function(){vart=MathJax.OutputJax.SVG,n=t.Translate;t.Augment({Translate:function(i,o){if(e.cancelTypeset||o.cancelled)throwError("MathJax Canceled");returnn.call(t,i,o)}})}),e.Register.StartupHook("TeX Jax Config",function(){vart=MathJax.InputJax.TeX,n=t.Translate;t.Augment({Translate:function(i,o){if(e.cancelTypeset||o.cancelled)throwError("MathJax Canceled");returnn.call(t,i,o)}})});vart=e.processError;e.processError=function(n,i,o){return"MathJax Canceled"!==n.message?t.call(e,n,i,o):(MathJax.Message.Clear(0,0),i.jaxIDs=[],i.jax={},i.scripts=[],i.i=i.j=0,i.cancelled=!0,null)},e.Cancel=function(){this.cancelTypeset=!0}}}(),l}),define("extensions/markdownSectionParser",["underscore","extensions/markdownExtra","extensions/mathJax","classes/Extension"],function(e,t,n,i){varo,r=newi("markdownSectionParser","Markdown section parser");returnr.onEventMgrCreated=function(e){o=e},r.onPagedownConfigure=function(i){varr="^.+[ \\t]*\\n=+[ \\t]*\\n+|^.+[ \\t]*\\n-+[ \\t]*\\n+|^\\#{1,6}[ \\t]*.+?[ \\t]*\\#*\\n+";t.enabled&&e.some(t.config.extensions,function(e){return"fenced_code_gfm"==e})&&(r="^```.*\\n[\\s\\S]*?\\n```|"+r),n.enabled&&(r="^[ \\t]*\\n\\$\\$[\\s\\S]*?\\$\\$|"+r,r="^[ \\t]*\\n\\\\\\\\[[\\s\\S]*?\\\\\\\\]|"+r,r="^[ \\t]*\\n\\\\?\\\\begin\\{[a-z]*\\*?\\}[\\s\\S]*?\\\\end\\{[a-z]*\\*?\\}|"+r),r=newRegExp(r,"gm");vars=i.getConverter();s.hooks.chain("preConversion",function(t){functionn(e,t){varn=i.substring(a,t);s.push({text:n,textWithDelimiter:'\n<div class="se-section-delimiter"></div>\n\n'+n+"\n"})}o.previewStartTime=newDate;vari=t+"\n\n",s=[],a=0;returni.replace(r,function(e,t){n(a,t),a=t}),n(a,t.length),o.onSectionsCreated(s),e.reduce(s,function(e,t){returne+t.textWithDelimiter},"")})},r}),define("text!html/partialRenderingSettingsBlock.html",[],function(){return"<p>Renders modified sections only.</p>\n<blockquote>\n <b>NOTE:</b> Document sections are based on title elements (h1, h2...). Therefore if\n your document does not contain any title, performance will not be increased.\n</blockquote>"}),define("extensions/partialRendering",["underscore","crel","extensions/markdownExtra","classes/Extensi
returnthis.anchor&&this.text&&(e+='<a href="#'+this.anchor+'">'+this.text+"</a>"),e+=this.childrenToString()+"</li>\n"};varu;returnc.onPagedownConfigure=function(e){u=document.getElementById("preview-contents");varn=newRegExp("^"+c.config.marker+"$");e.hooks.chain("onPreviewRefresh",function(){vare=document.querySelectorAll(".table-of-contents, .toc"),i=l();t.each(u.getElementsByTagName("p"),function(e){n.test(e.innerHTML)&&(e.innerHTML=i)}),t.each(e,function(e){e.innerHTML=i})})},c}),define("extensions/emailConverter",["classes/Extension"],function(e){vart=newe("emailConverter","Markdown Email",!0);returnt.settingsBlock="<p>Converts email adresses in the form <email@example.com> into clickable links.</p>",t.onPagedownConfigure=function(e){e.getConverter().hooks.chain("postConversion",function(e){returne.replace(/<(mailto\:)?([^\s>]+@[^\s>]+\.\S+?)>/g,function(e,t,n){return'<a href="mailto:'+n+'">'+n+"</a>"})})},t}),define("text!html/scrollLinkSettingsBlock.html",[],function(){return"<p>Binds together editor and preview scrollbars.</p>\n<blockquote>\n <b>NOTE:</b> The mapping between Markdown and HTML is based on the\n position of the title elements (h1, h2...) in the page. Therefore if\n your document does not contain any title, the mapping will be linear and\n consequently less accurate.\n</blockquote>"}),define("extensions/scrollLink",["jquery","underscore","classes/Extension","text!html/scrollLinkSettingsBlock.html"],function(e,t,n,i){varo=newn("scrollLink","Scroll Link",!0,!0);o.settingsBlock=i;varr;o.onAceCreated=function(e){r=e};vars;o.onSectionsCreated=function(e){s=e};vara=0;o.onMarkdownTrim=function(e){a=e};varl,c,u,d,h,p=[],f=[],g=t.debounce(function(){functionn(e){vart=m;if(void0!==e){varn=document.createTextNode(e);c.empty().append(n),t+=c.prop("scrollHeight")}vari=o+t;p.push({startOffset:o,endOffset:i,height:t}),o=i}p=[];vari=0,o=0,g=a,m=0;if(window.lightMode){c.innerWidth(l.innerWidth()),t.each(s,function(e,t){vari=e.text;t!==s.length-1?0===i.length&&(i=void0):/\n$/.test(i)&&(i+="\n"),n(i)});varv=t.last(p).endOffset,b=l[0].scrollHeight,y=b/v;p=t.map(p,function(e){return{startOffset:e.startOffset*y,endOffset:e.endOffset*y,height:e.height*y}})}elset.each(s,function(e){i+=e.text.length+g,g=0;vart=r.session.doc.indexToPosition(i),n=r.session.documentToScreenPosition(t.row,t.column),s=n.row*r.renderer.lineHeight,a=s-o;p.push({startOffset:o,endOffset:s,height:a}),o=s});f=[];varw,x=u.scrollTop();u.find(".preview-content > .se-section-delimiter").each(function(){if(void0===w)returnvoid(w=0);vart=e(this),n=t.position().top+x;f.push({startOffset:w,endOffset:n,height:n-w}),w=n});varS=u.prop("scrollHeight");f.push({startOffset:w,endOffset:S,height:S-w}),d=-10,h=-10,C()},500),m=!1,v=!1,b=!1,y=!1,w=e("<div>"),C=t.throttle(function(){functione(e,n,i){varo,r=t.find(n,function(t,n){returno=n,e<t.endOffset});if(void0!==r){vars=(e-r.startOffset)/(r.height||1),a=i[o];returna.startOffset+a.height*s}}if(0===p.length||p.length!==f.length)returnvoidC();varn=window.lightMode?l.scrollTop():r.renderer.getScrollTop();0>n&&(n=0);vari,o=u.scrollTop();if(m===!0){if(Math.abs(n-d)<=9)return;if(m=!1,d=n,i=e(n,p,f),i=t.min([i,u.prop("scrollHeight")-u.outerHeight()]),Math.abs(i-o)<=9)returnvoid(h=o);w.stop("scrollLinkFx",!0).css("value",0).animate({value:i-o},{easing:"easeOutSine",duration:200,queue:"scrollLinkFx",step:function(e){y=!0,h=o+e,u.scrollTop(h)},done:function(){t.defer(function(){y=!1})}}).dequeue("scrollLinkFx")}elseif(v===!0){if(Math.abs(o-h)<=9)return;if(v=!1,h=o,i=e(o,f,p),window.lightMode?i=t.min([i,l.prop("scrollHeight")-l.outerHeight()]):(i=t.min([i,r.session.getScreenLength()*r.renderer.lineHeight+r.renderer.scrollMargin.bottom-r.renderer.$size.scrollerHeight]),0>i&&(i=0)),Math.abs(i-n)<=9)returnvoid(d=n);w.stop("scrollLinkFx",!0).css("value",0).animate({value:i-n},{easing:"easeOutSine",duration:200,queue:"scrollLinkFx",step:function(e){b=!0,d=n+e,window.lightMode||r.session.setScrollTop(d),window.lightMode&&l.scrollTop(d)},done:function(){t.defer(function(){b=!1})}}).de
}},t.prototype.applyPlacement=function(e,t){varn,i=this.tip(),o=i[0].offsetWidth,r=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top=e.top+s,e.left=e.left+a,i.offset(e).addClass("in");varl=i[0].offsetWidth,c=i[0].offsetHeight;if("top"==t&&c!=r&&(n=!0,e.top=e.top+r-c),/bottom|top/.test(t)){varu=0;e.left<0&&(u=-2*e.left,e.left=0,i.offset(e),l=i[0].offsetWidth,c=i[0].offsetHeight),this.replaceArrow(u-o+l,l,"left")}elsethis.replaceArrow(c-r,c,"top");n&&i.offset(e)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},t.prototype.setContent=function(){vare=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(){functiont(){"in"!=n.hoverState&&i.detach()}varn=this,i=this.tip(),o=e.Event("hide.bs."+this.type);returnthis.$element.trigger(o),o.isDefaultPrevented()?void0:(i.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i.one(e.support.transition.end,t).emulateTransitionEnd(150):t(),this.$element.trigger("hidden.bs."+this.type),this)},t.prototype.fixTitle=function(){vare=this.$element;(e.attr("title")||"string"!=typeofe.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){returnthis.getTitle()},t.prototype.getPosition=function(){vart=this.$element[0];returne.extend({},"function"==typeoft.getBoundingClientRect?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},t.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},t.prototype.getTitle=function(){vare,t=this.$element,n=this.options;returne=t.attr("data-original-title")||("function"==typeofn.title?n.title.call(t[0]):n.title)},t.prototype.tip=function(){returnthis.$tip=this.$tip||e(this.options.template)},t.prototype.arrow=function(){returnthis.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){varn=t?e(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};varn=e.fn.tooltip;e.fn.tooltip=function(n){returnthis.each(function(){vari=e(this),o=i.data("bs.tooltip"),r="object"==typeofn&&n;o||i.data("bs.tooltip",o=newt(this,r)),"string"==typeofn&&o[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){returne.fn.tooltip=n,this}}(window.jQuery),+function(e){vart=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)thrownewError("Popover requires tooltip.js");t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){returnt.DEFAULTS},t.prototype.setContent=function(){vare=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){returnthis.getTitle()||this.getContent()},t.prototype.getContent=function(){vare=this.$element,t=this.options;returne.attr("data-cont
}),define("text!bower-libs/lz-string/libs/lz-string-1.3.3.js",[],function(){return'// Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>\n// This work is free. You can redistribute it and/or modify it\n// under the terms of the WTFPL, Version 2\n// For more information see LICENSE.txt or http://www.wtfpl.net/\n//\n// For more information, the home page:\n// http://pieroxy.net/blog/pages/lz-string/testing.html\n//\n// LZ-based compression algorithm, version 1.3.3\nvar LZString = {\n \n \n // private property\n _keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",\n _f : String.fromCharCode,\n \n compressToBase64 : function (input) {\n if (input == null) return "";\n var output = "";\n var chr1, chr2, chr3, enc1, enc2, enc3, enc4;\n var i = 0;\n \n input = LZString.compress(input);\n \n while (i < input.length*2) {\n \n if (i%2==0) {\n chr1 = input.charCodeAt(i/2) >> 8;\n chr2 = input.charCodeAt(i/2) & 255;\n if (i/2+1 < input.length) \n chr3 = input.charCodeAt(i/2+1) >> 8;\n else \n chr3 = NaN;\n } else {\n chr1 = input.charCodeAt((i-1)/2) & 255;\n if ((i+1)/2 < input.length) {\n chr2 = input.charCodeAt((i+1)/2) >> 8;\n chr3 = input.charCodeAt((i+1)/2) & 255;\n } else \n chr2=chr3=NaN;\n }\n i+=3;\n \n enc1 = chr1 >> 2;\n enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);\n enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);\n enc4 = chr3 & 63;\n \n if (isNaN(chr2)) {\n enc3 = enc4 = 64;\n } else if (isNaN(chr3)) {\n enc4 = 64;\n }\n \n output = output +\n LZString._keyStr.charAt(enc1) + LZString._keyStr.charAt(enc2) +\n LZString._keyStr.charAt(enc3) + LZString._keyStr.charAt(enc4);\n \n }\n \n return output;\n },\n \n decompressFromBase64 : function (input) {\n if (input == null) return "";\n var output = "",\n ol = 0, \n output_,\n chr1, chr2, chr3,\n enc1, enc2, enc3, enc4,\n i = 0, f=LZString._f;\n \n input = input.replace(/[^A-Za-z0-9\\+\\/\\=]/g, "");\n \n while (i < input.length) {\n \n enc1 = LZString._keyStr.indexOf(input.charAt(i++));\n enc2 = LZString._keyStr.indexOf(input.charAt(i++));\n enc3 = LZString._keyStr.indexOf(input.charAt(i++));\n enc4 = LZString._keyStr.indexOf(input.charAt(i++));\n \n chr1 = (enc1 << 2) | (enc2 >> 4);\n chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);\n chr3 = ((enc3 & 3) << 6) | enc4;\n \n if (ol%2==0) {\n output_ = chr1 << 8;\n \n if (enc3 != 64) {\n output += f(output_ | chr2);\n }\n if (enc4 != 64) {\n output_ = chr3 << 8;\n }\n } else {\n output = output + f(output_ | chr1);\n \n if (enc3 != 64) {\n output_ = chr2 << 8;\n }\n if (enc4 != 64) {\n output += f(output_ | chr3);\n }\n }\n ol+=3;\n }\n \n return LZString.decompress(output);\n \n },\n\n compressToUTF16 : function (input) {\n if (input == null) return "";\n var output = "",\n i,c,\n current,\n status = 0,\n f = LZString._f;\n \n input = LZString.compress(input);\n \n for (i=0 ; i<input.length ; i++) {\n c = input.charCodeAt(i);\n switch (status++) {\n case 0:\n output += f((c >> 1)+32);\n current = (c & 1) << 14;\n break;\n case 1:\n output += f((current + (c >> 2))+32);\n current = (c & 3) << 13;\n break;\n case 2:\n output += f((current + (c >> 3))+32);\n current = (c & 7) << 12;\n break;\n case 3:\n output += f((current + (c >> 4))+32);\n current = (c & 15) << 11;\n break;\n case 4:\n output += f((current + (c >> 5))+32);\n current = (c & 31) << 10;\n break;\n case 5:\n output += f((c
},slideOpen=function(e){functiont(){o.isClosed?o.isMoving||open(i,!0):bindStopSlidingEvents(i,!0)}if(isInitialized()){varn=evtObj(e),i=evtPane.call(this,e),o=state[i],r=options[i].slideDelay_open;n&&n.stopImmediatePropagation(),o.isClosed&&n&&"mouseenter"===n.type&&r>0?timer.set(i+"_openSlider",t,r):t()}},slideClose=function(e){functiont(){r.isClosed?bindStopSlidingEvents(i,!1):r.isMoving||close(i)}if(isInitialized()){varn=evtObj(e),i=evtPane.call(this,e),o=options[i],r=state[i],s=r.isMoving?1e3:300;if(!r.isClosed&&!r.isResizing)if("click"===o.slideTrigger_close)t();else{if(o.preventQuickSlideClose&&r.isMoving)return;if(o.preventPrematureSlideClose&&n&&$.layout.isMouseOverElem(n,$Ps[i]))return;n?timer.set(i+"_closeSlider",t,max(o.slideDelay_close,s)):t()}}},slideToggle=function(e){vart=evtPane.call(this,e);toggle(t,!0)},lockPaneForFX=function(e,t){varn=$Ps[e],i=state[e],o=options[e],r=options.zIndexes;t?(showMasks(e,{animation:!0,objectsOnly:!0}),n.css({zIndex:r.pane_animate}),"south"==e?n.css({top:sC.inset.top+sC.innerHeight-n.outerHeight()}):"east"==e&&n.css({left:sC.inset.left+sC.innerWidth-n.outerWidth()})):(hideMasks(),n.css({zIndex:i.isSliding?r.pane_sliding:r.pane_normal}),"south"==e?n.css({top:"auto"}):"east"!=e||n.css("left").match(/\-99999/)||n.css({left:"auto"}),browser.msie&&o.fxOpacityFix&&"slide"!=o.fxName_open&&n.css("filter")&&1==n.css("opacity")&&n[0].style.removeAttribute("filter"))},bindStartSlidingEvents=function(e,t){varn=options[e],i=($Ps[e],$Rs[e]),o=n.slideTrigger_open.toLowerCase();!i||t&&!n.slidable||(o.match(/mouseover/)?o=n.slideTrigger_open="mouseenter":o.match(/(click|dblclick|mouseenter)/)||(o=n.slideTrigger_open="click"),n.resizerDblClickToggle&&o.match(/click/)&&i[t?"unbind":"bind"]("dblclick."+sID,toggle),i[t?"bind":"unbind"](o+"."+sID,slideOpen).css("cursor",t?n.sliderCursor:"default").attr("title",t?n.tips.Slide:""))},bindStopSlidingEvents=function(e,t){functionn(t){timer.clear(e+"_closeSlider"),t.stopPropagation()}vari=options[e],o=state[e],r=(_c[e],options.zIndexes),s=i.slideTrigger_close.toLowerCase(),a=t?"bind":"unbind",l=$Ps[e],c=$Rs[e];timer.clear(e+"_closeSlider"),t?(o.isSliding=!0,state.panesSliding[e]=!0,bindStartSlidingEvents(e,!1)):(o.isSliding=!1,deletestate.panesSliding[e]),l.css("zIndex",t?r.pane_sliding:r.pane_normal),c.css("zIndex",t?r.pane_sliding+2:r.resizer_normal),s.match(/(click|mouseleave)/)||(s=i.slideTrigger_close="mouseleave"),c[a](s,slideClose),"mouseleave"===s&&(l[a]("mouseleave."+sID,slideClose),c[a]("mouseenter."+sID,n),l[a]("mouseenter."+sID,n)),t?"click"!==s||i.resizable||(c.css("cursor",t?i.sliderCursor:"default"),c.attr("title",t?i.tips.Close:"")):timer.clear(e+"_closeSlider")},makePaneFit=function(e,t,n,i){varo=options[e],r=state[e],s=_c[e],a=$Ps[e],l=$Rs[e],c="vert"===s.dir,u=!1;if(("center"===e||c&&r.noVerticalRoom)&&(u=r.maxHeight>=0,u&&r.noRoom?(_showPane(e),l&&l.show(),r.isVisible=!0,r.noRoom=!1,c&&(r.noVerticalRoom=!1),_fixIframe(e)):u||r.noRoom||(_hidePane(e),l&&l.hide(),r.isVisible=!1,r.noRoom=!0)),"center"===e);elseif(r.minSize<=r.maxSize){if(u=!0,r.size>r.maxSize)sizePane(e,r.maxSize,n,!0,i);elseif(r.size<r.minSize)sizePane(e,r.minSize,n,!0,i);elseif(l&&r.isVisible&&a.is(":visible")){vard=r.size+sC.inset[s.side];$.layout.cssNum(l,s.side)!=d&&l.css(s.side,d)}r.noRoom&&(r.wasOpen&&o.closable?o.autoReopen?open(e,!1,!0,!0):r.noRoom=!1:show(e,r.wasOpen,!0,!0))}elser.noRoom||(r.noRoom=!0,r.wasOpen=!r.isClosed&&!r.isSliding,r.isClosed||(o.closable?close(e,!0,!0):hide(e,!0)))},manualSizePane=function(e,t,n,i,o){if(isInitialized()){varr=evtPane.call(this,e),s=options[r],a=state[r],l=o||s.livePaneResizing&&!a.isResizing;a.autoResize=!1,sizePane(r,t,n,i,l)}},sizePane=function(e,t,n,i,o){functionr(){for(vare="width"===f?d.outerWidth():d.outerHeight(),i=[{pane:l,count:1,target:t,actual:e,correct:t===e,attempt:t,cssSize:a}],r=i[0],c={},m="Inaccurate size after resizing the "+l+"-pane.";!(r.correct||(c={pane:l,count:r.count+1,target:t},c.attempt=r.actual>t?max(0,r.attempt-(r.actual-t)):max(0,r.attempt+(t-r.actual)),c.cssSize=cssSize(l,c.
l.addListener("onOfflineChanged",function(e){y=e});varw={profile:["https://www.googleapis.com/auth/userinfo.profile"],gdrive:["https://www.googleapis.com/auth/drive.install",a.gdriveFullAccess===!0?"https://www.googleapis.com/auth/drive":"https://www.googleapis.com/auth/drive.file"],blogger:["https://www.googleapis.com/auth/blogger"],picasa:["https://picasaweb.google.com/data/"]};b.refreshGdriveToken=function(e){vart=newc;d(t);varn=v[e];n&&n.setRefreshFlag(),h(t,"gdrive",e),t.enqueue()},b.upload=function(e,t,n,i,s,a,l,u){varg,m=newc;d(m),h(m,"gdrive",l),m.onRun(function(){vara="-------314159265358979323846",c="\r\n--"+a+"\r\n",u="\r\n--"+a+"--";s=s||"text/x-markdown";vard={title:n,mimeType:s};t&&(d.parents=[{kind:"drive#fileLink",id:t}]);varh="/upload/drive/v2/files",v="POST";e&&(h+="/"+e,v="PUT");varb={"Content-Type":'multipart/mixed; boundary="'+a+'"'},y=o.encodeBase64(i),w=[c,"Content-Type: application/json\r\n\r\n",JSON.stringify(d),c,"Content-Type: ",s,"\r\n","Content-Transfer-Encoding: base64\r\n","\r\n",y,u].join("");p(l,function(){vart=gapi.client.request({path:h,method:v,params:{uploadType:"multipart"},headers:b,body:w});t.execute(function(t){if(t&&t.id)returng=t,g.content=i,voidm.chain();varn=t.error;void0!==n&&void0!==e&&(404===n.code?n='File ID "'+e+'" not found on Google Drive.|removePublish':412===n.code&&(r.removeItem(l+".gdrive.lastChangeId"),n='Conflict on file ID "'+e+'". Please restart the synchronization.')),f(n,m)})})}),m.onSuccess(function(){u(void0,g)}),m.onError(function(e){u(e)}),m.enqueue()},b.rename=function(e,t,n,i){varo,r=newc;d(r),h(r,"gdrive",n),r.onRun(function(){vari={title:t};p(n,function(){vart=gapi.client.drive.files.patch({fileId:e,resource:i});t.execute(function(t){if(t&&t.id)returno=t,voidr.chain();varn=t.error;void0!==n&&void0!==e&&404===n.code&&(n='File ID "'+e+'" not found on Google Drive.|removePublish'),f(n,r)})})}),r.onSuccess(function(){i(void0,o)}),r.onError(function(e){i(e)}),r.enqueue()},b.createRealtimeFile=function(e,t,n,i){varo,r=newc;d(r),h(r,"gdrive",n),r.onRun(function(){vari={title:t,mimeType:"application/vnd.google-apps.drive-sdk"};void0!==e&&(i.parents=[{kind:"drive#fileLink",id:e}]),p(n,function(){vare=gapi.client.drive.files.insert({resource:i});e.execute(function(e){returne&&e.id?(o=e,voidr.chain()):voidf(e.error,r)})})}),r.onSuccess(function(){i(void0,o)}),r.onError(function(e){i(e)}),r.enqueue()},b.checkChanges=function(e,t,n){vari=[],o=e||0,r=newc;d(r),h(r,"gdrive",t),r.onRun(function(){functione(){p(t,function(){vart;t=gapi.client.drive.changes.list(void0===n?{startChangeId:o+1}:{pageToken:n}),t.execute(function(t){returnt&&t.largestChangeId?(o=t.largestChangeId,n=t.nextPageToken,void0!==t.items&&(i=i.concat(t.items)),void(void0!==n?r.chain(e):r.chain())):voidf(t.error,r)})})}varn;r.chain(e)}),r.onSuccess(function(){n(void0,i,o)}),r.onError(function(e){n(e)}),r.enqueue()},b.downloadMetadata=function(e,i,o,r){vars=[],a=newc;d(a),r||h(a,"gdrive",i),a.onRun(function(){functiono(){if(0===e.length)returnvoida.chain();varr=e[0],l={},c=v[i];c&&c.token&&(l.Authorization="Bearer "+c.token.access_token),t.ajax({url:"https://www.googleapis.com/drive/v2/files/"+r,headers:l,data:{key:n.GOOGLE_API_KEY},dataType:"json",timeout:n.AJAX_TIMEOUT}).done(function(t){s.push(t),e.shift(),a.chain(o)}).fail(function(e){vart={code:e.status,message:e.statusText};404===t.code&&(t='File ID "'+r+'" not found on Google Drive.'),f(t,a)})}a.chain(o)}),a.onSuccess(function(){o(void0,s)}),a.onError(function(e){o(e)}),a.enqueue()},b.downloadContent=function(e,i,o,r){vars=[],a=newc;a.timeout=n.ASYNC_TASK_LONG_TIMEOUT,d(a),r||h(a,"gdrive",i),a.onRun(function(){functiono(){if(0===e.length)returnvoida.chain();varr=e[0];s.push(r);varl;if("drive#file"==r.kind?l=r:"drive#change"==r.kind&&(l=r.file),!l)returne.shift(),voida.chain(o);if(0===l.mimeType.indexOf("application/vnd.google-apps.drive-sdk"))returnl.content="",l.isRealtime=!0,e.shift(),voida.chain(o);varc={},u=v[i];u&&u.token&&(c.Authorization="Bearer "+u.token.access_token),t
}t.error(newError(i))}varh,p,f={},g=!1;returna.addListener("onOfflineChanged",function(e){g=e}),f.upload=function(e,t,n,i,o,r,s){vara=newl;c(a),u(a),a.onRun(function(){functions(){vare=p.getUser();e.show(void0,function(e,n){returne?voidd(e,a):(t=n.login,voida.chain(l))})}functionl(){vars=p.getRepo(t,e);s.write(n,i,o,r,function(e){returne?voidd(e,a):voida.chain()})}a.chain(t?l:s)}),a.onSuccess(function(){s()}),a.onError(function(e){s(e)}),a.enqueue()},f.uploadGist=function(e,t,n,i,o,r){vars=newl;c(s),u(s),s.onRun(function(){varr=p.getGist(e),a={};a[t]={content:o};varl=r.update;void0===e&&(l=r.create),l({description:i,"public":n,files:a},function(t,n){returnt?(404===t.error&&void0!==e&&(t="Gist "+e+" not found on GitHub.|removePublish"),voidd(t,s)):(e=n.id,voids.chain())})}),s.onSuccess(function(){r(void0,e)}),s.onError(function(e){r(e)}),s.enqueue()},f.downloadGist=function(e,t,n){vari=newl(!0);c(i);varo,r;i.onRun(function(){varn=newGithub({}),s=n.getGist(e);s.read(function(n,s){if(n)returnvoidi.error(newError("Error trying to access Gist "+e+"."));o=s.description;vara=s.files[t];returnvoid0===a?voidi.error(newError("Gist "+e+' does not contain "'+t+'".')):(r=a.content,voidi.chain())})}),i.onSuccess(function(){n(void0,o,r)}),i.onError(function(e){n(e)}),i.enqueue()},f}),define("providers/gistProvider",["utils","classes/Provider","helpers/githubHelper"],function(e,t,n){vari=newt("gist","Gist");returni.publishPreferencesInputIds=["gist-public"],i.sharingAttributes=["gistId","filename"],i.publish=function(e,t,i,o,r){n.uploadGist(e.gistId,e.filename,e.isPublic,i,o,function(t,n){returnt?voidr(t):(e.gistId=n,voidr())})},i.newPublishAttributes=function(t){varn={};returnn.gistId=e.getInputTextValue("#input-publish-gist-id"),n.filename=e.getInputTextValue("#input-publish-filename",t),n.isPublic=e.getInputChecked("#input-publish-gist-public"),t.isPropagationStopped()?void0:n},i.importPublic=function(e,t){n.downloadGist(e.gistId,e.filename,t)},i}),define("sharing",["jquery","underscore","constants","utils","eventMgr","fileMgr","classes/AsyncTask","classes/Provider","providers/downloadProvider","providers/gistProvider"],function(e,t,n,i,o,r,s,a){varl={},c=t.chain(arguments).map(function(e){returneinstanceofa&&[e.providerId,e]}).compact().object().value(),u=!1;returno.addListener("onOfflineChanged",function(e){u=e}),l.createLink=function(e,i){varo=c[e.provider.providerId];if(void0!==e.sharingLink||void0===o||"markdown"!=e.format)returnvoidi();varr=[n.MAIN_URL,"viewer#!provider=",o.providerId];t.each(o.sharingAttributes,function(t){r.push("&"),r.push(t),r.push("="),r.push(encodeURIComponent(e[t]))}),e.sharingLink=r.join(""),i()},o.addListener("onReady",function(){if(window.viewerMode!==!1){varn=i.getURLParameter("provider");void0===n&&(n="download");varo=c[n];if(void0!==o){vars={};t.each(o.sharingAttributes,function(e){vart=i.getURLParameter(e);returnt?void(s[e]=t):void(s=void0)}),void0!==s&&(e("#preview-contents, .navbar .file-title-navbar").hide(),o.importPublic(s,function(t,n,i){if(e("#preview-contents, .navbar .file-title-navbar").show(),!t){varo=r.createFile(n,i,void0,!0);r.selectFile(o)}}))}}}),l}),define("providers/bloggerProvider",["underscore","utils","classes/Provider","helpers/googleHelper"],function(e,t,n,i){varo=newn("blogger","Blogger");returno.defaultPublishFormat="html",o.publishPreferencesInputIds=["blogger-url"],o.publish=function(t,n,o,r,s){vara=t.labelList||[];n&&void0!==n.tags&&(a=n.tags),e.isString(a)&&(a=e.compact(a.split(/[\s,]/)));varl=n&&n.published===!1,c=n&&n.date;i.uploadBlogger(t.blogUrl,t.blogId,t.postId,a,l,c,o,r,function(e,n,i){returne?voids(e):(t.blogId=n,t.postId=i,voids())})},o.newPublishAttributes=function(e){varn={},i=t.getInputTextValue("#input-publish-blogger-url",e);returnvoid0!==i&&(n.blogUrl=t.checkUrl(i)),n.postId=t.getInputTextValue("#input-publish-postid"),e.isPropagationStopped()?void0:n},o}),define("providers/bloggerPageProvider",["underscore","utils","classes/Provider","helpers/googleHelper"],function(e