@strapi/admin 4.5.5 → 4.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/admin/src/components/GuidedTour/Modal/components/Content.js +7 -2
  2. package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/schema.js +2 -1
  3. package/admin/src/content-manager/pages/App/LeftMenu/index.js +5 -7
  4. package/admin/src/content-manager/pages/ListSettingsView/index.js +3 -5
  5. package/admin/src/translations/en.json +7 -0
  6. package/admin/src/translations/hu.json +199 -4
  7. package/admin/src/translations/zh.json +9 -1
  8. package/build/{2473.45658149.chunk.js → 2473.7ad04700.chunk.js} +16 -16
  9. package/build/{Admin-authenticatedApp.59063c5f.chunk.js → Admin-authenticatedApp.377e2d11.chunk.js} +8 -5
  10. package/build/{codemirror-javacript.41bdefda.chunk.js → codemirror-javacript.589c8ecc.chunk.js} +1 -1
  11. package/build/{content-manager.d89dcc40.chunk.js → content-manager.a489bdc0.chunk.js} +92 -92
  12. package/build/content-type-builder.aa05d3a5.chunk.js +127 -0
  13. package/build/{en-json.d268c039.chunk.js → en-json.058a913d.chunk.js} +1 -1
  14. package/build/hu-json.ec123259.chunk.js +1 -0
  15. package/build/index.html +1 -1
  16. package/build/{main.1a19193b.js → main.386bbeb5.js} +134 -134
  17. package/build/{runtime~main.2e5b4723.js → runtime~main.13d2c7fa.js} +1 -1
  18. package/build/upload-translation-zh-json.656ddd8a.chunk.js +1 -0
  19. package/build/{zh-json.2d46108e.chunk.js → zh-json.8643bc81.chunk.js} +1 -1
  20. package/package.json +9 -9
  21. package/build/content-type-builder.3b1a75a2.chunk.js +0 -127
  22. package/build/hu-json.459334f8.chunk.js +0 -1
  23. package/build/upload-translation-zh-json.ac5711de.chunk.js +0 -1
@@ -1,27 +1,27 @@
1
- var fc=Object.defineProperty,gc=Object.defineProperties;var Ec=Object.getOwnPropertyDescriptors;var Bi=Object.getOwnPropertySymbols;var vs=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable;var Ts=(v,g,n)=>g in v?fc(v,g,{enumerable:!0,configurable:!0,writable:!0,value:n}):v[g]=n,Gn=(v,g)=>{for(var n in g||(g={}))vs.call(g,n)&&Ts(v,n,g[n]);if(Bi)for(var n of Bi(g))Cs.call(g,n)&&Ts(v,n,g[n]);return v},ui=(v,g)=>gc(v,Ec(g));var Ia=(v,g)=>{var n={};for(var l in v)vs.call(v,l)&&g.indexOf(l)<0&&(n[l]=v[l]);if(v!=null&&Bi)for(var l of Bi(v))g.indexOf(l)<0&&Cs.call(v,l)&&(n[l]=v[l]);return n};var ys=(v,g,n)=>new Promise((l,u)=>{var a=d=>{try{o(n.next(d))}catch(m){u(m)}},c=d=>{try{o(n.throw(d))}catch(m){u(m)}},o=d=>d.done?l(d.value):Promise.resolve(d.value).then(a,c);o((n=n.apply(v,g)).next())});(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[2473],{40795:(v,g,n)=>{(function(l){l(n(27509))})(function(l){l.defineOption("placeholder","",function(E,p,f){var _=f&&f!=l.Init;if(p&&!_)E.on("blur",o),E.on("change",d),E.on("swapDoc",d),l.on(E.getInputField(),"compositionupdate",E.state.placeholderCompose=function(){c(E)}),d(E);else if(!p&&_){E.off("blur",o),E.off("change",d),E.off("swapDoc",d),l.off(E.getInputField(),"compositionupdate",E.state.placeholderCompose),u(E);var h=E.getWrapperElement();h.className=h.className.replace(" CodeMirror-empty","")}p&&!E.hasFocus()&&o(E)});function u(E){E.state.placeholder&&(E.state.placeholder.parentNode.removeChild(E.state.placeholder),E.state.placeholder=null)}function a(E){u(E);var p=E.state.placeholder=document.createElement("pre");p.style.cssText="height: 0; overflow: visible",p.style.direction=E.getOption("direction"),p.className="CodeMirror-placeholder CodeMirror-line-like";var f=E.getOption("placeholder");typeof f=="string"&&(f=document.createTextNode(f)),p.appendChild(f),E.display.lineSpace.insertBefore(p,E.display.lineSpace.firstChild)}function c(E){setTimeout(function(){var p=!1;if(E.lineCount()==1){var f=E.getInputField();p=f.nodeName=="TEXTAREA"?!E.getLine(0).length:!/[^\u200b]/.test(f.querySelector(".CodeMirror-line").textContent)}p?a(E):u(E)},20)}function o(E){m(E)&&a(E)}function d(E){var p=E.getWrapperElement(),f=m(E);p.className=p.className.replace(" CodeMirror-empty","")+(f?" CodeMirror-empty":""),f?a(E):u(E)}function m(E){return E.lineCount()===1&&E.getLine(0)===""}})},27509:function(v){(function(g,n){v.exports=n()})(this,function(){"use strict";var g=navigator.userAgent,n=navigator.platform,l=/gecko\/\d/i.test(g),u=/MSIE \d/.test(g),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(g),c=/Edge\/(\d+)/.exec(g),o=u||a||c,d=o&&(u?document.documentMode||6:+(c||a)[1]),m=!c&&/WebKit\//.test(g),E=m&&/Qt\/\d+\.\d+/.test(g),p=!c&&/Chrome\/(\d+)/.exec(g),f=p&&+p[1],_=/Opera\//.test(g),h=/Apple Computer/.test(navigator.vendor),C=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(g),b=/PhantomJS/.test(g),T=h&&(/Mobile\/\w+/.test(g)||navigator.maxTouchPoints>2),R=/Android/.test(g),O=T||R||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(g),D=T||/Mac/.test(n),M=/\bCrOS\b/.test(g),I=/win/i.test(n),A=_&&g.match(/Version\/(\d*\.\d*)/);A&&(A=Number(A[1])),A&&A>=15&&(_=!1,m=!0);var x=D&&(E||_&&(A==null||A<12.11)),L=l||o&&d>=9;function k(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var U=function(e,t){var i=e.className,r=k(t).exec(i);if(r){var s=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(s?r[1]+s:"")}};function Y(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function z(e,t){return Y(e).appendChild(t)}function B(e,t,i,r){var s=document.createElement(e);if(i&&(s.className=i),r&&(s.style.cssText=r),typeof t=="string")s.appendChild(document.createTextNode(t));else if(t)for(var S=0;S<t.length;++S)s.appendChild(t[S]);return s}function _e(e,t,i,r){var s=B(e,t,i,r);return s.setAttribute("role","presentation"),s}var ee;document.createRange?ee=function(e,t,i,r){var s=document.createRange();return s.setEnd(r||e,i),s.setStart(e,t),s}:ee=function(e,t,i){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(s){return r}return r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",t),r};function Z(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function J(e){var t;try{t=e.activeElement}catch(i){t=e.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function fe(e,t){var i=e.className;k(t).test(i)||(e.className+=(i?" ":"")+t)}function Re(e,t){for(var i=e.split(" "),r=0;r<i.length;r++)i[r]&&!k(i[r]).test(t)&&(t+=" "+i[r]);return t}var De=function(e){e.select()};T?De=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(De=function(e){try{e.select()}catch(t){}});function Le(e){return e.display.wrapper.ownerDocument}function He(e){return Le(e).defaultView}function Te(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function et(e,t,i){t||(t={});for(var r in e)e.hasOwnProperty(r)&&(i!==!1||!t.hasOwnProperty(r))&&(t[r]=e[r]);return t}function le(e,t,i,r,s){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var S=r||0,y=s||0;;){var N=e.indexOf(" ",S);if(N<0||N>=t)return y+(t-S);y+=N-S,y+=i-y%i,S=N+1}}var G=function(){this.id=null,this.f=null,this.time=0,this.handler=Te(this.onTimeout,this)};G.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},G.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)};function we(e,t){for(var i=0;i<e.length;++i)if(e[i]==t)return i;return-1}var tt=50,it={toString:function(){return"CodeMirror.Pass"}},ct={scroll:!1},pt={origin:"*mouse"},Tt={origin:"+move"};function de(e,t,i){for(var r=0,s=0;;){var S=e.indexOf(" ",r);S==-1&&(S=e.length);var y=S-r;if(S==e.length||s+y>=t)return r+Math.min(y,t-s);if(s+=S-r,s+=i-s%i,r=S+1,s>=t)return r}}var ve=[""];function Ne(e){for(;ve.length<=e;)ve.push(Ae(ve)+" ");return ve[e]}function Ae(e){return e[e.length-1]}function St(e,t){for(var i=[],r=0;r<e.length;r++)i[r]=t(e[r],r);return i}function ae(e,t,i){for(var r=0,s=i(t);r<e.length&&i(e[r])<=s;)r++;e.splice(r,0,t)}function V(){}function K(e,t){var i;return Object.create?i=Object.create(e):(V.prototype=e,i=new V),t&&et(t,i),i}var Q=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function j(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Q.test(e))}function se(e,t){return t?t.source.indexOf("\\w")>-1&&j(e)?!0:t.test(e):j(e)}function pe(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ge=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function be(e){return e.charCodeAt(0)>=768&&ge.test(e)}function We(e,t,i){for(;(i<0?t>0:t<e.length)&&be(e.charAt(t));)t+=i;return t}function ke(e,t,i){for(var r=t>i?-1:1;;){if(t==i)return t;var s=(t+i)/2,S=r<0?Math.ceil(s):Math.floor(s);if(S==t)return e(S)?t:i;e(S)?i=S:t=S+r}}function Ze(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var s=!1,S=0;S<e.length;++S){var y=e[S];(y.from<i&&y.to>t||t==i&&y.to==t)&&(r(Math.max(y.from,t),Math.min(y.to,i),y.level==1?"rtl":"ltr",S),s=!0)}s||r(t,i,"ltr")}var Fe=null;function ut(e,t,i){var r;Fe=null;for(var s=0;s<e.length;++s){var S=e[s];if(S.from<t&&S.to>t)return s;S.to==t&&(S.from!=S.to&&i=="before"?r=s:Fe=s),S.from==t&&(S.from!=S.to&&i!="before"?r=s:Fe=s)}return r!=null?r:Fe}var _t=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(P){return P<=247?e.charAt(P):1424<=P&&P<=1524?"R":1536<=P&&P<=1785?t.charAt(P-1536):1774<=P&&P<=2220?"r":8192<=P&&P<=8203?"w":P==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=/[stwN]/,S=/[LRr]/,y=/[Lb1n]/,N=/[1n]/;function w(P,F,H){this.level=P,this.from=F,this.to=H}return function(P,F){var H=F=="ltr"?"L":"R";if(P.length==0||F=="ltr"&&!r.test(P))return!1;for(var $=P.length,q=[],ie=0;ie<$;++ie)q.push(i(P.charCodeAt(ie)));for(var ce=0,Se=H;ce<$;++ce){var Ce=q[ce];Ce=="m"?q[ce]=Se:Se=Ce}for(var Ie=0,ye=H;Ie<$;++Ie){var Me=q[Ie];Me=="1"&&ye=="r"?q[Ie]="n":S.test(Me)&&(ye=Me,Me=="r"&&(q[Ie]="R"))}for(var Xe=1,$e=q[0];Xe<$-1;++Xe){var lt=q[Xe];lt=="+"&&$e=="1"&&q[Xe+1]=="1"?q[Xe]="1":lt==","&&$e==q[Xe+1]&&($e=="1"||$e=="n")&&(q[Xe]=$e),$e=lt}for(var bt=0;bt<$;++bt){var Gt=q[bt];if(Gt==",")q[bt]="N";else if(Gt=="%"){var Nt=void 0;for(Nt=bt+1;Nt<$&&q[Nt]=="%";++Nt);for(var dn=bt&&q[bt-1]=="!"||Nt<$&&q[Nt]=="1"?"1":"N",rn=bt;rn<Nt;++rn)q[rn]=dn;bt=Nt-1}}for(var xt=0,an=H;xt<$;++xt){var Wt=q[xt];an=="L"&&Wt=="1"?q[xt]="L":S.test(Wt)&&(an=Wt)}for(var Lt=0;Lt<$;++Lt)if(s.test(q[Lt])){var wt=void 0;for(wt=Lt+1;wt<$&&s.test(q[wt]);++wt);for(var At=(Lt?q[Lt-1]:H)=="L",on=(wt<$?q[wt]:H)=="L",Ur=At==on?At?"L":"R":H,jn=Lt;jn<wt;++jn)q[jn]=Ur;Lt=wt-1}for(var qt=[],wn,Yt=0;Yt<$;)if(y.test(q[Yt])){var Na=Yt;for(++Yt;Yt<$&&y.test(q[Yt]);++Yt);qt.push(new w(0,Na,Yt))}else{var Bn=Yt,pr=qt.length,mr=F=="rtl"?1:0;for(++Yt;Yt<$&&q[Yt]!="L";++Yt);for(var Qt=Bn;Qt<Yt;)if(N.test(q[Qt])){Bn<Qt&&(qt.splice(pr,0,new w(1,Bn,Qt)),pr+=mr);var Fr=Qt;for(++Qt;Qt<Yt&&N.test(q[Qt]);++Qt);qt.splice(pr,0,new w(2,Fr,Qt)),pr+=mr,Bn=Qt}else++Qt;Bn<Yt&&qt.splice(pr,0,new w(1,Bn,Yt))}return F=="ltr"&&(qt[0].level==1&&(wn=P.match(/^\s+/))&&(qt[0].from=wn[0].length,qt.unshift(new w(0,0,wn[0].length))),Ae(qt).level==1&&(wn=P.match(/\s+$/))&&(Ae(qt).to-=wn[0].length,qt.push(new w(0,$-wn[0].length,$)))),F=="rtl"?qt.reverse():qt}}();function te(e,t){var i=e.order;return i==null&&(i=e.order=_t(e.text,t)),i}var Qe=[],ue=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||Qe).concat(i)}};function rt(e,t){return e._handlers&&e._handlers[t]||Qe}function je(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{var r=e._handlers,s=r&&r[t];if(s){var S=we(s,i);S>-1&&(r[t]=s.slice(0,S).concat(s.slice(S+1)))}}}function Je(e,t){var i=rt(e,t);if(!!i.length)for(var r=Array.prototype.slice.call(arguments,2),s=0;s<i.length;++s)i[s].apply(null,r)}function ne(e,t,i){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Je(e,i||t.type,e,t),Be(t)||t.codemirrorIgnore}function Pe(e){var t=e._handlers&&e._handlers.cursorActivity;if(!!t)for(var i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)we(i,t[r])==-1&&i.push(t[r])}function W(e,t){return rt(e,t).length>0}function X(e){e.prototype.on=function(t,i){ue(this,t,i)},e.prototype.off=function(t,i){je(this,t,i)}}function oe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ee(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Be(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function ze(e){oe(e),Ee(e)}function nt(e){return e.target||e.srcElement}function he(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),D&&e.ctrlKey&&t==1&&(t=3),t}var Oe=function(){if(o&&d<9)return!1;var e=B("div");return"draggable"in e||"dragDrop"in e}(),xe;function Ve(e){if(xe==null){var t=B("span","\u200B");z(e,B("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(xe=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&d<8))}var i=xe?B("span","\u200B"):B("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var at;function Ot(e){if(at!=null)return at;var t=z(e,document.createTextNode("A\u062EA")),i=ee(t,0,1).getBoundingClientRect(),r=ee(t,1,2).getBoundingClientRect();return Y(e),!i||i.left==i.right?!1:at=r.right-i.right<3}var It=`
1
+ var fc=Object.defineProperty,gc=Object.defineProperties;var Ec=Object.getOwnPropertyDescriptors;var Bi=Object.getOwnPropertySymbols;var vs=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable;var Ts=(v,g,n)=>g in v?fc(v,g,{enumerable:!0,configurable:!0,writable:!0,value:n}):v[g]=n,Gn=(v,g)=>{for(var n in g||(g={}))vs.call(g,n)&&Ts(v,n,g[n]);if(Bi)for(var n of Bi(g))Cs.call(g,n)&&Ts(v,n,g[n]);return v},ui=(v,g)=>gc(v,Ec(g));var Da=(v,g)=>{var n={};for(var l in v)vs.call(v,l)&&g.indexOf(l)<0&&(n[l]=v[l]);if(v!=null&&Bi)for(var l of Bi(v))g.indexOf(l)<0&&Cs.call(v,l)&&(n[l]=v[l]);return n};var ys=(v,g,n)=>new Promise((l,u)=>{var a=d=>{try{o(n.next(d))}catch(m){u(m)}},c=d=>{try{o(n.throw(d))}catch(m){u(m)}},o=d=>d.done?l(d.value):Promise.resolve(d.value).then(a,c);o((n=n.apply(v,g)).next())});(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[2473],{40795:(v,g,n)=>{(function(l){l(n(27509))})(function(l){l.defineOption("placeholder","",function(E,p,f){var _=f&&f!=l.Init;if(p&&!_)E.on("blur",o),E.on("change",d),E.on("swapDoc",d),l.on(E.getInputField(),"compositionupdate",E.state.placeholderCompose=function(){c(E)}),d(E);else if(!p&&_){E.off("blur",o),E.off("change",d),E.off("swapDoc",d),l.off(E.getInputField(),"compositionupdate",E.state.placeholderCompose),u(E);var h=E.getWrapperElement();h.className=h.className.replace(" CodeMirror-empty","")}p&&!E.hasFocus()&&o(E)});function u(E){E.state.placeholder&&(E.state.placeholder.parentNode.removeChild(E.state.placeholder),E.state.placeholder=null)}function a(E){u(E);var p=E.state.placeholder=document.createElement("pre");p.style.cssText="height: 0; overflow: visible",p.style.direction=E.getOption("direction"),p.className="CodeMirror-placeholder CodeMirror-line-like";var f=E.getOption("placeholder");typeof f=="string"&&(f=document.createTextNode(f)),p.appendChild(f),E.display.lineSpace.insertBefore(p,E.display.lineSpace.firstChild)}function c(E){setTimeout(function(){var p=!1;if(E.lineCount()==1){var f=E.getInputField();p=f.nodeName=="TEXTAREA"?!E.getLine(0).length:!/[^\u200b]/.test(f.querySelector(".CodeMirror-line").textContent)}p?a(E):u(E)},20)}function o(E){m(E)&&a(E)}function d(E){var p=E.getWrapperElement(),f=m(E);p.className=p.className.replace(" CodeMirror-empty","")+(f?" CodeMirror-empty":""),f?a(E):u(E)}function m(E){return E.lineCount()===1&&E.getLine(0)===""}})},27509:function(v){(function(g,n){v.exports=n()})(this,function(){"use strict";var g=navigator.userAgent,n=navigator.platform,l=/gecko\/\d/i.test(g),u=/MSIE \d/.test(g),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(g),c=/Edge\/(\d+)/.exec(g),o=u||a||c,d=o&&(u?document.documentMode||6:+(c||a)[1]),m=!c&&/WebKit\//.test(g),E=m&&/Qt\/\d+\.\d+/.test(g),p=!c&&/Chrome\/(\d+)/.exec(g),f=p&&+p[1],_=/Opera\//.test(g),h=/Apple Computer/.test(navigator.vendor),C=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(g),b=/PhantomJS/.test(g),T=h&&(/Mobile\/\w+/.test(g)||navigator.maxTouchPoints>2),R=/Android/.test(g),O=T||R||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(g),D=T||/Mac/.test(n),M=/\bCrOS\b/.test(g),I=/win/i.test(n),A=_&&g.match(/Version\/(\d*\.\d*)/);A&&(A=Number(A[1])),A&&A>=15&&(_=!1,m=!0);var x=D&&(E||_&&(A==null||A<12.11)),L=l||o&&d>=9;function k(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var U=function(e,t){var i=e.className,r=k(t).exec(i);if(r){var s=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(s?r[1]+s:"")}};function Y(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function z(e,t){return Y(e).appendChild(t)}function B(e,t,i,r){var s=document.createElement(e);if(i&&(s.className=i),r&&(s.style.cssText=r),typeof t=="string")s.appendChild(document.createTextNode(t));else if(t)for(var S=0;S<t.length;++S)s.appendChild(t[S]);return s}function _e(e,t,i,r){var s=B(e,t,i,r);return s.setAttribute("role","presentation"),s}var ee;document.createRange?ee=function(e,t,i,r){var s=document.createRange();return s.setEnd(r||e,i),s.setStart(e,t),s}:ee=function(e,t,i){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(s){return r}return r.collapse(!0),r.moveEnd("character",i),r.moveStart("character",t),r};function Z(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function J(e){var t;try{t=e.activeElement}catch(i){t=e.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function fe(e,t){var i=e.className;k(t).test(i)||(e.className+=(i?" ":"")+t)}function Re(e,t){for(var i=e.split(" "),r=0;r<i.length;r++)i[r]&&!k(i[r]).test(t)&&(t+=" "+i[r]);return t}var De=function(e){e.select()};T?De=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(De=function(e){try{e.select()}catch(t){}});function Le(e){return e.display.wrapper.ownerDocument}function He(e){return Le(e).defaultView}function Te(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function et(e,t,i){t||(t={});for(var r in e)e.hasOwnProperty(r)&&(i!==!1||!t.hasOwnProperty(r))&&(t[r]=e[r]);return t}function le(e,t,i,r,s){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var S=r||0,y=s||0;;){var N=e.indexOf(" ",S);if(N<0||N>=t)return y+(t-S);y+=N-S,y+=i-y%i,S=N+1}}var G=function(){this.id=null,this.f=null,this.time=0,this.handler=Te(this.onTimeout,this)};G.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},G.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)};function we(e,t){for(var i=0;i<e.length;++i)if(e[i]==t)return i;return-1}var tt=50,it={toString:function(){return"CodeMirror.Pass"}},ct={scroll:!1},pt={origin:"*mouse"},Tt={origin:"+move"};function de(e,t,i){for(var r=0,s=0;;){var S=e.indexOf(" ",r);S==-1&&(S=e.length);var y=S-r;if(S==e.length||s+y>=t)return r+Math.min(y,t-s);if(s+=S-r,s+=i-s%i,r=S+1,s>=t)return r}}var ve=[""];function Ne(e){for(;ve.length<=e;)ve.push(Ae(ve)+" ");return ve[e]}function Ae(e){return e[e.length-1]}function St(e,t){for(var i=[],r=0;r<e.length;r++)i[r]=t(e[r],r);return i}function ae(e,t,i){for(var r=0,s=i(t);r<e.length&&i(e[r])<=s;)r++;e.splice(r,0,t)}function V(){}function K(e,t){var i;return Object.create?i=Object.create(e):(V.prototype=e,i=new V),t&&et(t,i),i}var Q=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function j(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Q.test(e))}function se(e,t){return t?t.source.indexOf("\\w")>-1&&j(e)?!0:t.test(e):j(e)}function pe(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ge=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function be(e){return e.charCodeAt(0)>=768&&ge.test(e)}function We(e,t,i){for(;(i<0?t>0:t<e.length)&&be(e.charAt(t));)t+=i;return t}function ke(e,t,i){for(var r=t>i?-1:1;;){if(t==i)return t;var s=(t+i)/2,S=r<0?Math.ceil(s):Math.floor(s);if(S==t)return e(S)?t:i;e(S)?i=S:t=S+r}}function Ze(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var s=!1,S=0;S<e.length;++S){var y=e[S];(y.from<i&&y.to>t||t==i&&y.to==t)&&(r(Math.max(y.from,t),Math.min(y.to,i),y.level==1?"rtl":"ltr",S),s=!0)}s||r(t,i,"ltr")}var Fe=null;function ut(e,t,i){var r;Fe=null;for(var s=0;s<e.length;++s){var S=e[s];if(S.from<t&&S.to>t)return s;S.to==t&&(S.from!=S.to&&i=="before"?r=s:Fe=s),S.from==t&&(S.from!=S.to&&i!="before"?r=s:Fe=s)}return r!=null?r:Fe}var _t=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(P){return P<=247?e.charAt(P):1424<=P&&P<=1524?"R":1536<=P&&P<=1785?t.charAt(P-1536):1774<=P&&P<=2220?"r":8192<=P&&P<=8203?"w":P==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=/[stwN]/,S=/[LRr]/,y=/[Lb1n]/,N=/[1n]/;function w(P,F,H){this.level=P,this.from=F,this.to=H}return function(P,F){var H=F=="ltr"?"L":"R";if(P.length==0||F=="ltr"&&!r.test(P))return!1;for(var $=P.length,q=[],ie=0;ie<$;++ie)q.push(i(P.charCodeAt(ie)));for(var ce=0,Se=H;ce<$;++ce){var Ce=q[ce];Ce=="m"?q[ce]=Se:Se=Ce}for(var Ie=0,ye=H;Ie<$;++Ie){var Me=q[Ie];Me=="1"&&ye=="r"?q[Ie]="n":S.test(Me)&&(ye=Me,Me=="r"&&(q[Ie]="R"))}for(var Xe=1,$e=q[0];Xe<$-1;++Xe){var lt=q[Xe];lt=="+"&&$e=="1"&&q[Xe+1]=="1"?q[Xe]="1":lt==","&&$e==q[Xe+1]&&($e=="1"||$e=="n")&&(q[Xe]=$e),$e=lt}for(var bt=0;bt<$;++bt){var Gt=q[bt];if(Gt==",")q[bt]="N";else if(Gt=="%"){var Nt=void 0;for(Nt=bt+1;Nt<$&&q[Nt]=="%";++Nt);for(var dn=bt&&q[bt-1]=="!"||Nt<$&&q[Nt]=="1"?"1":"N",rn=bt;rn<Nt;++rn)q[rn]=dn;bt=Nt-1}}for(var xt=0,an=H;xt<$;++xt){var Wt=q[xt];an=="L"&&Wt=="1"?q[xt]="L":S.test(Wt)&&(an=Wt)}for(var Lt=0;Lt<$;++Lt)if(s.test(q[Lt])){var wt=void 0;for(wt=Lt+1;wt<$&&s.test(q[wt]);++wt);for(var At=(Lt?q[Lt-1]:H)=="L",on=(wt<$?q[wt]:H)=="L",Ur=At==on?At?"L":"R":H,jn=Lt;jn<wt;++jn)q[jn]=Ur;Lt=wt-1}for(var qt=[],wn,Yt=0;Yt<$;)if(y.test(q[Yt])){var Aa=Yt;for(++Yt;Yt<$&&y.test(q[Yt]);++Yt);qt.push(new w(0,Aa,Yt))}else{var Bn=Yt,pr=qt.length,mr=F=="rtl"?1:0;for(++Yt;Yt<$&&q[Yt]!="L";++Yt);for(var Qt=Bn;Qt<Yt;)if(N.test(q[Qt])){Bn<Qt&&(qt.splice(pr,0,new w(1,Bn,Qt)),pr+=mr);var Fr=Qt;for(++Qt;Qt<Yt&&N.test(q[Qt]);++Qt);qt.splice(pr,0,new w(2,Fr,Qt)),pr+=mr,Bn=Qt}else++Qt;Bn<Yt&&qt.splice(pr,0,new w(1,Bn,Yt))}return F=="ltr"&&(qt[0].level==1&&(wn=P.match(/^\s+/))&&(qt[0].from=wn[0].length,qt.unshift(new w(0,0,wn[0].length))),Ae(qt).level==1&&(wn=P.match(/\s+$/))&&(Ae(qt).to-=wn[0].length,qt.push(new w(0,$-wn[0].length,$)))),F=="rtl"?qt.reverse():qt}}();function te(e,t){var i=e.order;return i==null&&(i=e.order=_t(e.text,t)),i}var Qe=[],ue=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||Qe).concat(i)}};function rt(e,t){return e._handlers&&e._handlers[t]||Qe}function je(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{var r=e._handlers,s=r&&r[t];if(s){var S=we(s,i);S>-1&&(r[t]=s.slice(0,S).concat(s.slice(S+1)))}}}function Je(e,t){var i=rt(e,t);if(!!i.length)for(var r=Array.prototype.slice.call(arguments,2),s=0;s<i.length;++s)i[s].apply(null,r)}function ne(e,t,i){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Je(e,i||t.type,e,t),Be(t)||t.codemirrorIgnore}function Pe(e){var t=e._handlers&&e._handlers.cursorActivity;if(!!t)for(var i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)we(i,t[r])==-1&&i.push(t[r])}function W(e,t){return rt(e,t).length>0}function X(e){e.prototype.on=function(t,i){ue(this,t,i)},e.prototype.off=function(t,i){je(this,t,i)}}function oe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ee(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Be(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function ze(e){oe(e),Ee(e)}function nt(e){return e.target||e.srcElement}function he(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),D&&e.ctrlKey&&t==1&&(t=3),t}var Oe=function(){if(o&&d<9)return!1;var e=B("div");return"draggable"in e||"dragDrop"in e}(),xe;function Ve(e){if(xe==null){var t=B("span","\u200B");z(e,B("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(xe=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&d<8))}var i=xe?B("span","\u200B"):B("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var at;function Ot(e){if(at!=null)return at;var t=z(e,document.createTextNode("A\u062EA")),i=ee(t,0,1).getBoundingClientRect(),r=ee(t,1,2).getBoundingClientRect();return Y(e),!i||i.left==i.right?!1:at=r.right-i.right<3}var It=`
2
2
 
3
3
  b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],r=e.length;t<=r;){var s=e.indexOf(`
4
- `,t);s==-1&&(s=e.length);var S=e.slice(t,e.charAt(s-1)=="\r"?s-1:s),y=S.indexOf("\r");y!=-1?(i.push(S.slice(0,y)),t+=y+1):(i.push(S),t=s+1)}return i}:function(e){return e.split(/\r\n?|\n/)},Xt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(i){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},_n=function(){var e=B("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Zt=null;function Kt(e){if(Zt!=null)return Zt;var t=z(e,B("span","x")),i=t.getBoundingClientRect(),r=ee(t,0,1).getBoundingClientRect();return Zt=Math.abs(i.left-r.left)>1}var sn={},fn={};function Tn(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),sn[e]=t}function Jn(e,t){fn[e]=t}function gn(e){if(typeof e=="string"&&fn.hasOwnProperty(e))e=fn[e];else if(e&&typeof e.name=="string"&&fn.hasOwnProperty(e.name)){var t=fn[e.name];typeof t=="string"&&(t={name:t}),e=K(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return gn("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return gn("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Nn(e,t){t=gn(t);var i=sn[t.name];if(!i)return Nn(e,"text/plain");var r=i(e,t);if(Ht.hasOwnProperty(t.name)){var s=Ht[t.name];for(var S in s)!s.hasOwnProperty(S)||(r.hasOwnProperty(S)&&(r["_"+S]=r[S]),r[S]=s[S])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var y in t.modeProps)r[y]=t.modeProps[y];return r}var Ht={};function En(e,t){var i=Ht.hasOwnProperty(e)?Ht[e]:Ht[e]={};et(t,i)}function pn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var r in t){var s=t[r];s instanceof Array&&(s=s.concat([])),i[r]=s}return i}function Mn(e,t){for(var i;e.innerMode&&(i=e.innerMode(t),!(!i||i.mode==e));)t=i.state,e=i.mode;return i||{mode:e,state:t}}function fr(e,t,i){return e.startState?e.startState(t,i):!0}var vt=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};vt.prototype.eol=function(){return this.pos>=this.string.length},vt.prototype.sol=function(){return this.pos==this.lineStart},vt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},vt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},vt.prototype.eat=function(e){var t=this.string.charAt(this.pos),i;if(typeof e=="string"?i=t==e:i=t&&(e.test?e.test(t):e(t)),i)return++this.pos,t},vt.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},vt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},vt.prototype.skipToEnd=function(){this.pos=this.string.length},vt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},vt.prototype.backUp=function(e){this.pos-=e},vt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=le(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?le(this.string,this.lineStart,this.tabSize):0)},vt.prototype.indentation=function(){return le(this.string,null,this.tabSize)-(this.lineStart?le(this.string,this.lineStart,this.tabSize):0)},vt.prototype.match=function(e,t,i){if(typeof e=="string"){var r=function(y){return i?y.toLowerCase():y},s=this.string.substr(this.pos,e.length);if(r(s)==r(e))return t!==!1&&(this.pos+=e.length),!0}else{var S=this.string.slice(this.pos).match(e);return S&&S.index>0?null:(S&&t!==!1&&(this.pos+=S[0].length),S)}},vt.prototype.current=function(){return this.string.slice(this.start,this.pos)},vt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},vt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},vt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Ge(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var i=e;!i.lines;)for(var r=0;;++r){var s=i.children[r],S=s.chunkSize();if(t<S){i=s;break}t-=S}return i.lines[t]}function Pt(e,t,i){var r=[],s=t.line;return e.iter(t.line,i.line+1,function(S){var y=S.text;s==i.line&&(y=y.slice(0,i.ch)),s==t.line&&(y=y.slice(t.ch)),r.push(y),++s}),r}function Yn(e,t,i){var r=[];return e.iter(t,i,function(s){r.push(s.text)}),r}function jt(e,t){var i=t-e.height;if(i)for(var r=e;r;r=r.parent)r.height+=i}function mt(e){if(e.parent==null)return null;for(var t=e.parent,i=we(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var s=0;r.children[s]!=t;++s)i+=r.children[s].chunkSize();return i+t.first}function vn(e,t){var i=e.first;e:do{for(var r=0;r<e.children.length;++r){var s=e.children[r],S=s.height;if(t<S){e=s;continue e}t-=S,i+=s.chunkSize()}return i}while(!e.lines);for(var y=0;y<e.lines.length;++y){var N=e.lines[y],w=N.height;if(t<w)break;t-=w}return i+y}function hn(e,t){return t>=e.first&&t<e.first+e.size}function er(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function me(e,t,i){if(i===void 0&&(i=null),!(this instanceof me))return new me(e,t,i);this.line=e,this.ch=t,this.sticky=i}function re(e,t){return e.line-t.line||e.ch-t.ch}function Ye(e,t){return e.sticky==t.sticky&&re(e,t)==0}function dt(e){return me(e.line,e.ch)}function ft(e,t){return re(e,t)<0?t:e}function Ct(e,t){return re(e,t)<0?e:t}function Sn(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function qe(e,t){if(t.line<e.first)return me(e.first,0);var i=e.first+e.size-1;return t.line>i?me(i,Ge(e,i).text.length):ln(t,Ge(e,t.line).text.length)}function ln(e,t){var i=e.ch;return i==null||i>t?me(e.line,t):i<0?me(e.line,0):e}function Jt(e,t){for(var i=[],r=0;r<t.length;r++)i[r]=qe(e,t[r]);return i}var en=function(e,t){this.state=e,this.lookAhead=t},cn=function(e,t,i,r){this.state=t,this.doc=e,this.line=i,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};cn.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},cn.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},cn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},cn.fromSaved=function(e,t,i){return t instanceof en?new cn(e,pn(e.mode,t.state),i,t.lookAhead):new cn(e,pn(e.mode,t),i)},cn.prototype.save=function(e){var t=e!==!1?pn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new en(t,this.maxLookAhead):t};function gr(e,t,i,r){var s=[e.state.modeGen],S={};nr(e,t.text,e.doc.mode,i,function(P,F){return s.push(P,F)},S,r);for(var y=i.state,N=function(P){i.baseTokens=s;var F=e.state.overlays[P],H=1,$=0;i.state=!0,nr(e,t.text,F.mode,i,function(q,ie){for(var ce=H;$<q;){var Se=s[H];Se>q&&s.splice(H,1,q,s[H+1],Se),H+=2,$=Math.min(q,Se)}if(!!ie)if(F.opaque)s.splice(ce,H-ce,q,"overlay "+ie),H=ce+2;else for(;ce<H;ce+=2){var Ce=s[ce+1];s[ce+1]=(Ce?Ce+" ":"")+"overlay "+ie}},S),i.state=y,i.baseTokens=null,i.baseTokenPos=1},w=0;w<e.state.overlays.length;++w)N(w);return{styles:s,classes:S.bgClass||S.textClass?S:null}}function Er(e,t,i){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Ln(e,mt(t)),s=t.text.length>e.options.maxHighlightLength&&pn(e.doc.mode,r.state),S=gr(e,t,r);s&&(r.state=s),t.stateAfter=r.save(!s),t.styles=S.styles,S.classes?t.styleClasses=S.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Ln(e,t,i){var r=e.doc,s=e.display;if(!r.mode.startState)return new cn(r,!0,t);var S=Mt(e,t,i),y=S>r.first&&Ge(r,S-1).stateAfter,N=y?cn.fromSaved(r,y,S):new cn(r,fr(r.mode),S);return r.iter(S,t,function(w){An(e,w.text,N);var P=N.line;w.stateAfter=P==t-1||P%5==0||P>=s.viewFrom&&P<s.viewTo?N.save():null,N.nextLine()}),i&&(r.modeFrontier=N.line),N}function An(e,t,i,r){var s=e.doc.mode,S=new vt(t,e.options.tabSize,i);for(S.start=S.pos=r||0,t==""&&tr(s,i.state);!S.eol();)bn(s,S,i.state),S.start=S.pos}function tr(e,t){if(e.blankLine)return e.blankLine(t);if(!!e.innerMode){var i=Mn(e,t);if(i.mode.blankLine)return i.mode.blankLine(i.state)}}function bn(e,t,i,r){for(var s=0;s<10;s++){r&&(r[0]=Mn(e,i).mode);var S=e.token(t,i);if(t.pos>t.start)return S}throw new Error("Mode "+e.name+" failed to advance stream.")}var hr=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function Hn(e,t,i,r){var s=e.doc,S=s.mode,y;t=qe(s,t);var N=Ge(s,t.line),w=Ln(e,t.line,i),P=new vt(N.text,e.options.tabSize,w),F;for(r&&(F=[]);(r||P.pos<t.ch)&&!P.eol();)P.start=P.pos,y=bn(S,P,w.state),r&&F.push(new hr(P,y,pn(s.mode,w.state)));return r?F:new hr(P,y,w.state)}function ot(e,t){if(e)for(;;){var i=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;e=e.slice(0,i.index)+e.slice(i.index+i[0].length);var r=i[1]?"bgClass":"textClass";t[r]==null?t[r]=i[2]:new RegExp("(?:^|\\s)"+i[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+i[2])}return e}function nr(e,t,i,r,s,S,y){var N=i.flattenSpans;N==null&&(N=e.options.flattenSpans);var w=0,P=null,F=new vt(t,e.options.tabSize,r),H,$=e.options.addModeClass&&[null];for(t==""&&ot(tr(i,r.state),S);!F.eol();){if(F.pos>e.options.maxHighlightLength?(N=!1,y&&An(e,t,r,F.pos),F.pos=t.length,H=null):H=ot(bn(i,F,r.state,$),S),$){var q=$[0].name;q&&(H="m-"+(H?q+" "+H:q))}if(!N||P!=H){for(;w<F.start;)w=Math.min(F.start,w+5e3),s(w,P);P=H}F.start=F.pos}for(;w<F.pos;){var ie=Math.min(F.pos,w+5e3);s(ie,P),w=ie}}function Mt(e,t,i){for(var r,s,S=e.doc,y=i?-1:t-(e.doc.mode.innerMode?1e3:100),N=t;N>y;--N){if(N<=S.first)return S.first;var w=Ge(S,N-1),P=w.stateAfter;if(P&&(!i||N+(P instanceof en?P.lookAhead:0)<=S.modeFrontier))return N;var F=le(w.text,null,e.options.tabSize);(s==null||r>F)&&(s=N-1,r=F)}return s}function yt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var i=e.first,r=t-1;r>i;r--){var s=Ge(e,r).stateAfter;if(s&&(!(s instanceof en)||r+s.lookAhead<t)){i=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,i)}}var In=!1,zt=!1;function rr(){In=!0}function zn(){zt=!0}function Ue(e,t,i){this.marker=e,this.from=t,this.to=i}function Ke(e,t){if(e)for(var i=0;i<e.length;++i){var r=e[i];if(r.marker==t)return r}}function st(e,t){for(var i,r=0;r<e.length;++r)e[r]!=t&&(i||(i=[])).push(e[r]);return i}function gt(e,t,i){var r=i&&window.WeakSet&&(i.markedSpans||(i.markedSpans=new WeakSet));r&&e.markedSpans&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}function kt(e,t,i){var r;if(e)for(var s=0;s<e.length;++s){var S=e[s],y=S.marker,N=S.from==null||(y.inclusiveLeft?S.from<=t:S.from<t);if(N||S.from==t&&y.type=="bookmark"&&(!i||!S.marker.insertLeft)){var w=S.to==null||(y.inclusiveRight?S.to>=t:S.to>t);(r||(r=[])).push(new Ue(y,S.from,w?null:S.to))}}return r}function ir(e,t,i){var r;if(e)for(var s=0;s<e.length;++s){var S=e[s],y=S.marker,N=S.to==null||(y.inclusiveRight?S.to>=t:S.to>t);if(N||S.from==t&&y.type=="bookmark"&&(!i||S.marker.insertLeft)){var w=S.from==null||(y.inclusiveLeft?S.from<=t:S.from<t);(r||(r=[])).push(new Ue(y,w?null:S.from-t,S.to==null?null:S.to-t))}}return r}function Sr(e,t){if(t.full)return null;var i=hn(e,t.from.line)&&Ge(e,t.from.line).markedSpans,r=hn(e,t.to.line)&&Ge(e,t.to.line).markedSpans;if(!i&&!r)return null;var s=t.from.ch,S=t.to.ch,y=re(t.from,t.to)==0,N=kt(i,s,y),w=ir(r,S,y),P=t.text.length==1,F=Ae(t.text).length+(P?s:0);if(N)for(var H=0;H<N.length;++H){var $=N[H];if($.to==null){var q=Ke(w,$.marker);q?P&&($.to=q.to==null?null:q.to+F):$.to=s}}if(w)for(var ie=0;ie<w.length;++ie){var ce=w[ie];if(ce.to!=null&&(ce.to+=F),ce.from==null){var Se=Ke(N,ce.marker);Se||(ce.from=F,P&&(N||(N=[])).push(ce))}else ce.from+=F,P&&(N||(N=[])).push(ce)}N&&(N=Da(N)),w&&w!=N&&(w=Da(w));var Ce=[N];if(!P){var Ie=t.text.length-2,ye;if(Ie>0&&N)for(var Me=0;Me<N.length;++Me)N[Me].to==null&&(ye||(ye=[])).push(new Ue(N[Me].marker,null,null));for(var Xe=0;Xe<Ie;++Xe)Ce.push(ye);Ce.push(w)}return Ce}function Da(e){for(var t=0;t<e.length;++t){var i=e[t];i.from!=null&&i.from==i.to&&i.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function Rs(e,t,i){var r=null;if(e.iter(t.line,i.line+1,function(q){if(q.markedSpans)for(var ie=0;ie<q.markedSpans.length;++ie){var ce=q.markedSpans[ie].marker;ce.readOnly&&(!r||we(r,ce)==-1)&&(r||(r=[])).push(ce)}}),!r)return null;for(var s=[{from:t,to:i}],S=0;S<r.length;++S)for(var y=r[S],N=y.find(0),w=0;w<s.length;++w){var P=s[w];if(!(re(P.to,N.from)<0||re(P.from,N.to)>0)){var F=[w,1],H=re(P.from,N.from),$=re(P.to,N.to);(H<0||!y.inclusiveLeft&&!H)&&F.push({from:P.from,to:N.from}),($>0||!y.inclusiveRight&&!$)&&F.push({from:N.to,to:P.to}),s.splice.apply(s,F),w+=F.length-3}}return s}function xa(e){var t=e.markedSpans;if(!!t){for(var i=0;i<t.length;++i)t[i].marker.detachLine(e);e.markedSpans=null}}function wa(e,t){if(!!t){for(var i=0;i<t.length;++i)t[i].marker.attachLine(e);e.markedSpans=t}}function di(e){return e.inclusiveLeft?-1:0}function _i(e){return e.inclusiveRight?1:0}function Gi(e,t){var i=e.lines.length-t.lines.length;if(i!=0)return i;var r=e.find(),s=t.find(),S=re(r.from,s.from)||di(e)-di(t);if(S)return-S;var y=re(r.to,s.to)||_i(e)-_i(t);return y||t.id-e.id}function Ma(e,t){var i=zt&&e.markedSpans,r;if(i)for(var s=void 0,S=0;S<i.length;++S)s=i[S],s.marker.collapsed&&(t?s.from:s.to)==null&&(!r||Gi(r,s.marker)<0)&&(r=s.marker);return r}function La(e){return Ma(e,!0)}function pi(e){return Ma(e,!1)}function Os(e,t){var i=zt&&e.markedSpans,r;if(i)for(var s=0;s<i.length;++s){var S=i[s];S.marker.collapsed&&(S.from==null||S.from<t)&&(S.to==null||S.to>t)&&(!r||Gi(r,S.marker)<0)&&(r=S.marker)}return r}function Pa(e,t,i,r,s){var S=Ge(e,t),y=zt&&S.markedSpans;if(y)for(var N=0;N<y.length;++N){var w=y[N];if(!!w.marker.collapsed){var P=w.marker.find(0),F=re(P.from,i)||di(w.marker)-di(s),H=re(P.to,r)||_i(w.marker)-_i(s);if(!(F>=0&&H<=0||F<=0&&H>=0)&&(F<=0&&(w.marker.inclusiveRight&&s.inclusiveLeft?re(P.to,i)>=0:re(P.to,i)>0)||F>=0&&(w.marker.inclusiveRight&&s.inclusiveLeft?re(P.from,r)<=0:re(P.from,r)<0)))return!0}}}function Cn(e){for(var t;t=La(e);)e=t.find(-1,!0).line;return e}function Ns(e){for(var t;t=pi(e);)e=t.find(1,!0).line;return e}function As(e){for(var t,i;t=pi(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function Yi(e,t){var i=Ge(e,t),r=Cn(i);return i==r?t:mt(r)}function ka(e,t){if(t>e.lastLine())return t;var i=Ge(e,t),r;if(!Wn(e,i))return t;for(;r=pi(i);)i=r.find(1,!0).line;return mt(i)+1}function Wn(e,t){var i=zt&&t.markedSpans;if(i){for(var r=void 0,s=0;s<i.length;++s)if(r=i[s],!!r.marker.collapsed){if(r.from==null)return!0;if(!r.marker.widgetNode&&r.from==0&&r.marker.inclusiveLeft&&Hi(e,t,r))return!0}}}function Hi(e,t,i){if(i.to==null){var r=i.marker.find(1,!0);return Hi(e,r.line,Ke(r.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==t.text.length)return!0;for(var s=void 0,S=0;S<t.markedSpans.length;++S)if(s=t.markedSpans[S],s.marker.collapsed&&!s.marker.widgetNode&&s.from==i.to&&(s.to==null||s.to!=i.from)&&(s.marker.inclusiveLeft||i.marker.inclusiveRight)&&Hi(e,t,s))return!0}function Pn(e){e=Cn(e);for(var t=0,i=e.parent,r=0;r<i.lines.length;++r){var s=i.lines[r];if(s==e)break;t+=s.height}for(var S=i.parent;S;i=S,S=i.parent)for(var y=0;y<S.children.length;++y){var N=S.children[y];if(N==i)break;t+=N.height}return t}function mi(e){if(e.height==0)return 0;for(var t=e.text.length,i,r=e;i=La(r);){var s=i.find(0,!0);r=s.from.line,t+=s.from.ch-s.to.ch}for(r=e;i=pi(r);){var S=i.find(0,!0);t-=r.text.length-S.from.ch,r=S.to.line,t+=r.text.length-S.to.ch}return t}function zi(e){var t=e.display,i=e.doc;t.maxLine=Ge(i,i.first),t.maxLineLength=mi(t.maxLine),t.maxLineChanged=!0,i.iter(function(r){var s=mi(r);s>t.maxLineLength&&(t.maxLineLength=s,t.maxLine=r)})}var br=function(e,t,i){this.text=e,wa(this,t),this.height=i?i(this):1};br.prototype.lineNo=function(){return mt(this)},X(br);function Is(e,t,i,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),xa(e),wa(e,i);var s=r?r(e):1;s!=e.height&&jt(e,s)}function Ds(e){e.parent=null,xa(e)}var xs={},ws={};function Ua(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?ws:xs;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function Fa(e,t){var i=_e("span",null,null,m?"padding-right: .1px":null),r={pre:_e("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var s=0;s<=(t.rest?t.rest.length:0);s++){var S=s?t.rest[s-1]:t.line,y=void 0;r.pos=0,r.addToken=Ls,Ot(e.display.measure)&&(y=te(S,e.doc.direction))&&(r.addToken=ks(r.addToken,y)),r.map=[];var N=t!=e.display.externalMeasured&&mt(S);Us(S,r,Er(e,S,N)),S.styleClasses&&(S.styleClasses.bgClass&&(r.bgClass=Re(S.styleClasses.bgClass,r.bgClass||"")),S.styleClasses.textClass&&(r.textClass=Re(S.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(Ve(e.display.measure))),s==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(m){var w=r.content.lastChild;(/\bcm-tab\b/.test(w.className)||w.querySelector&&w.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Je(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=Re(r.pre.className,r.textClass||"")),r}function Ms(e){var t=B("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Ls(e,t,i,r,s,S,y){if(!!t){var N=e.splitSpaces?Ps(t,e.trailingSpace):t,w=e.cm.state.specialChars,P=!1,F;if(!w.test(t))e.col+=t.length,F=document.createTextNode(N),e.map.push(e.pos,e.pos+t.length,F),o&&d<9&&(P=!0),e.pos+=t.length;else{F=document.createDocumentFragment();for(var H=0;;){w.lastIndex=H;var $=w.exec(t),q=$?$.index-H:t.length-H;if(q){var ie=document.createTextNode(N.slice(H,H+q));o&&d<9?F.appendChild(B("span",[ie])):F.appendChild(ie),e.map.push(e.pos,e.pos+q,ie),e.col+=q,e.pos+=q}if(!$)break;H+=q+1;var ce=void 0;if($[0]==" "){var Se=e.cm.options.tabSize,Ce=Se-e.col%Se;ce=F.appendChild(B("span",Ne(Ce),"cm-tab")),ce.setAttribute("role","presentation"),ce.setAttribute("cm-text"," "),e.col+=Ce}else $[0]=="\r"||$[0]==`
5
- `?(ce=F.appendChild(B("span",$[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ce.setAttribute("cm-text",$[0]),e.col+=1):(ce=e.cm.options.specialCharPlaceholder($[0]),ce.setAttribute("cm-text",$[0]),o&&d<9?F.appendChild(B("span",[ce])):F.appendChild(ce),e.col+=1);e.map.push(e.pos,e.pos+1,ce),e.pos++}}if(e.trailingSpace=N.charCodeAt(t.length-1)==32,i||r||s||P||S||y){var Ie=i||"";r&&(Ie+=r),s&&(Ie+=s);var ye=B("span",[F],Ie,S);if(y)for(var Me in y)y.hasOwnProperty(Me)&&Me!="style"&&Me!="class"&&ye.setAttribute(Me,y[Me]);return e.content.appendChild(ye)}e.content.appendChild(F)}}function Ps(e,t){if(e.length>1&&!/ /.test(e))return e;for(var i=t,r="",s=0;s<e.length;s++){var S=e.charAt(s);S==" "&&i&&(s==e.length-1||e.charCodeAt(s+1)==32)&&(S="\xA0"),r+=S,i=S==" "}return r}function ks(e,t){return function(i,r,s,S,y,N,w){s=s?s+" cm-force-border":"cm-force-border";for(var P=i.pos,F=P+r.length;;){for(var H=void 0,$=0;$<t.length&&(H=t[$],!(H.to>P&&H.from<=P));$++);if(H.to>=F)return e(i,r,s,S,y,N,w);e(i,r.slice(0,H.to-P),s,S,null,N,w),S=null,r=r.slice(H.to-P),P=H.to}}}function Ba(e,t,i,r){var s=!r&&i.widgetNode;s&&e.map.push(e.pos,e.pos+t,s),!r&&e.cm.display.input.needsContentAttribute&&(s||(s=e.content.appendChild(document.createElement("span"))),s.setAttribute("cm-marker",i.id)),s&&(e.cm.display.input.setUneditable(s),e.content.appendChild(s)),e.pos+=t,e.trailingSpace=!1}function Us(e,t,i){var r=e.markedSpans,s=e.text,S=0;if(!r){for(var y=1;y<i.length;y+=2)t.addToken(t,s.slice(S,S=i[y]),Ua(i[y+1],t.cm.options));return}for(var N=s.length,w=0,P=1,F="",H,$,q=0,ie,ce,Se,Ce,Ie;;){if(q==w){ie=ce=Se=$="",Ie=null,Ce=null,q=1/0;for(var ye=[],Me=void 0,Xe=0;Xe<r.length;++Xe){var $e=r[Xe],lt=$e.marker;if(lt.type=="bookmark"&&$e.from==w&&lt.widgetNode)ye.push(lt);else if($e.from<=w&&($e.to==null||$e.to>w||lt.collapsed&&$e.to==w&&$e.from==w)){if($e.to!=null&&$e.to!=w&&q>$e.to&&(q=$e.to,ce=""),lt.className&&(ie+=" "+lt.className),lt.css&&($=($?$+";":"")+lt.css),lt.startStyle&&$e.from==w&&(Se+=" "+lt.startStyle),lt.endStyle&&$e.to==q&&(Me||(Me=[])).push(lt.endStyle,$e.to),lt.title&&((Ie||(Ie={})).title=lt.title),lt.attributes)for(var bt in lt.attributes)(Ie||(Ie={}))[bt]=lt.attributes[bt];lt.collapsed&&(!Ce||Gi(Ce.marker,lt)<0)&&(Ce=$e)}else $e.from>w&&q>$e.from&&(q=$e.from)}if(Me)for(var Gt=0;Gt<Me.length;Gt+=2)Me[Gt+1]==q&&(ce+=" "+Me[Gt]);if(!Ce||Ce.from==w)for(var Nt=0;Nt<ye.length;++Nt)Ba(t,0,ye[Nt]);if(Ce&&(Ce.from||0)==w){if(Ba(t,(Ce.to==null?N+1:Ce.to)-w,Ce.marker,Ce.from==null),Ce.to==null)return;Ce.to==w&&(Ce=!1)}}if(w>=N)break;for(var dn=Math.min(N,q);;){if(F){var rn=w+F.length;if(!Ce){var xt=rn>dn?F.slice(0,dn-w):F;t.addToken(t,xt,H?H+ie:ie,Se,w+xt.length==q?ce:"",$,Ie)}if(rn>=dn){F=F.slice(dn-w),w=dn;break}w=rn,Se=""}F=s.slice(S,S=i[P++]),H=Ua(i[P++],t.cm.options)}}}function Ga(e,t,i){this.line=t,this.rest=As(t),this.size=this.rest?mt(Ae(this.rest))-i+1:1,this.node=this.text=null,this.hidden=Wn(e,t)}function fi(e,t,i){for(var r=[],s,S=t;S<i;S=s){var y=new Ga(e.doc,Ge(e.doc,S),S);s=S+y.size,r.push(y)}return r}var Tr=null;function Fs(e){Tr?Tr.ops.push(e):e.ownsGroup=Tr={ops:[e],delayedCallbacks:[]}}function Bs(e){var t=e.delayedCallbacks,i=0;do{for(;i<t.length;i++)t[i].call(null);for(var r=0;r<e.ops.length;r++){var s=e.ops[r];if(s.cursorActivityHandlers)for(;s.cursorActivityCalled<s.cursorActivityHandlers.length;)s.cursorActivityHandlers[s.cursorActivityCalled++].call(null,s.cm)}}while(i<t.length)}function Gs(e,t){var i=e.ownsGroup;if(!!i)try{Bs(i)}finally{Tr=null,t(i)}}var Br=null;function Ut(e,t){var i=rt(e,t);if(!!i.length){var r=Array.prototype.slice.call(arguments,2),s;Tr?s=Tr.delayedCallbacks:Br?s=Br:(s=Br=[],setTimeout(Ys,0));for(var S=function(N){s.push(function(){return i[N].apply(null,r)})},y=0;y<i.length;++y)S(y)}}function Ys(){var e=Br;Br=null;for(var t=0;t<e.length;++t)e[t]()}function Ya(e,t,i,r){for(var s=0;s<t.changes.length;s++){var S=t.changes[s];S=="text"?zs(e,t):S=="gutter"?za(e,t,i,r):S=="class"?Wi(e,t):S=="widget"&&Ws(e,t,r)}t.changes=null}function Gr(e){return e.node==e.text&&(e.node=B("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),o&&d<8&&(e.node.style.zIndex=2)),e.node}function Hs(e,t){var i=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),t.background)i?t.background.className=i:(t.background.parentNode.removeChild(t.background),t.background=null);else if(i){var r=Gr(t);t.background=r.insertBefore(B("div",null,i),r.firstChild),e.display.input.setUneditable(t.background)}}function Ha(e,t){var i=e.display.externalMeasured;return i&&i.line==t.line?(e.display.externalMeasured=null,t.measure=i.measure,i.built):Fa(e,t)}function zs(e,t){var i=t.text.className,r=Ha(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Wi(e,t)):i&&(t.text.className=i)}function Wi(e,t){Hs(e,t),t.line.wrapClass?Gr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var i=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=i||""}function za(e,t,i,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var s=Gr(t);t.gutterBackground=B("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),s.insertBefore(t.gutterBackground,t.text)}var S=t.line.gutterMarkers;if(e.options.lineNumbers||S){var y=Gr(t),N=t.gutter=B("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(N.setAttribute("aria-hidden","true"),e.display.input.setUneditable(N),y.insertBefore(N,t.text),t.line.gutterClass&&(N.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!S||!S["CodeMirror-linenumbers"])&&(t.lineNumber=N.appendChild(B("div",er(e.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),S)for(var w=0;w<e.display.gutterSpecs.length;++w){var P=e.display.gutterSpecs[w].className,F=S.hasOwnProperty(P)&&S[P];F&&N.appendChild(B("div",[F],"CodeMirror-gutter-elt","left: "+r.gutterLeft[P]+"px; width: "+r.gutterWidth[P]+"px"))}}}function Ws(e,t,i){t.alignable&&(t.alignable=null);for(var r=k("CodeMirror-linewidget"),s=t.node.firstChild,S=void 0;s;s=S)S=s.nextSibling,r.test(s.className)&&t.node.removeChild(s);Wa(e,t,i)}function Vs(e,t,i,r){var s=Ha(e,t);return t.text=t.node=s.pre,s.bgClass&&(t.bgClass=s.bgClass),s.textClass&&(t.textClass=s.textClass),Wi(e,t),za(e,t,i,r),Wa(e,t,r),t.node}function Wa(e,t,i){if(Va(e,t.line,t,i,!0),t.rest)for(var r=0;r<t.rest.length;r++)Va(e,t.rest[r],t,i,!1)}function Va(e,t,i,r,s){if(!!t.widgets)for(var S=Gr(i),y=0,N=t.widgets;y<N.length;++y){var w=N[y],P=B("div",[w.node],"CodeMirror-linewidget"+(w.className?" "+w.className:""));w.handleMouseEvents||P.setAttribute("cm-ignore-events","true"),qs(w,P,i,r),e.display.input.setUneditable(P),s&&w.above?S.insertBefore(P,i.gutter||i.text):S.appendChild(P),Ut(w,"redraw")}}function qs(e,t,i,r){if(e.noHScroll){(i.alignable||(i.alignable=[])).push(t);var s=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(s-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=s+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Yr(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!Z(document.body,e.node)){var i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),z(t.display.measure,B("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function kn(e,t){for(var i=nt(t);i!=e.wrapper;i=i.parentNode)if(!i||i.nodeType==1&&i.getAttribute("cm-ignore-events")=="true"||i.parentNode==e.sizer&&i!=e.mover)return!0}function gi(e){return e.lineSpace.offsetTop}function Vi(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function qa(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=z(e.measure,B("pre","x","CodeMirror-line-like")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return!isNaN(r.left)&&!isNaN(r.right)&&(e.cachedPaddingH=r),r}function Dn(e){return tt-e.display.nativeBarWidth}function ar(e){return e.display.scroller.clientWidth-Dn(e)-e.display.barWidth}function qi(e){return e.display.scroller.clientHeight-Dn(e)-e.display.barHeight}function Ks(e,t,i){var r=e.options.lineWrapping,s=r&&ar(e);if(!t.measure.heights||r&&t.measure.width!=s){var S=t.measure.heights=[];if(r){t.measure.width=s;for(var y=t.text.firstChild.getClientRects(),N=0;N<y.length-1;N++){var w=y[N],P=y[N+1];Math.abs(w.bottom-P.bottom)>2&&S.push((w.bottom+P.top)/2-i.top)}}S.push(i.bottom-i.top)}}function Ka(e,t,i){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var s=0;s<e.rest.length;s++)if(mt(e.rest[s])>i)return{map:e.measure.maps[s],cache:e.measure.caches[s],before:!0}}}function $s(e,t){t=Cn(t);var i=mt(t),r=e.display.externalMeasured=new Ga(e.doc,t,i);r.lineN=i;var s=r.built=Fa(e,r);return r.text=s.pre,z(e.display.lineMeasure,s.pre),r}function $a(e,t,i,r){return xn(e,vr(e,t),i,r)}function Ki(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[lr(e,t)];var i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size)return i}function vr(e,t){var i=mt(t),r=Ki(e,i);r&&!r.text?r=null:r&&r.changes&&(Ya(e,r,i,ji(e)),e.curOp.forceUpdate=!0),r||(r=$s(e,t));var s=Ka(r,t,i);return{line:t,view:r,rect:null,map:s.map,cache:s.cache,before:s.before,hasHeights:!1}}function xn(e,t,i,r,s){t.before&&(i=-1);var S=i+(r||""),y;return t.cache.hasOwnProperty(S)?y=t.cache[S]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Ks(e,t.view,t.rect),t.hasHeights=!0),y=Xs(e,t,i,r),y.bogus||(t.cache[S]=y)),{left:y.left,right:y.right,top:s?y.rtop:y.top,bottom:s?y.rbottom:y.bottom}}var Qa={left:0,right:0,top:0,bottom:0};function Xa(e,t,i){for(var r,s,S,y,N,w,P=0;P<e.length;P+=3)if(N=e[P],w=e[P+1],t<N?(s=0,S=1,y="left"):t<w?(s=t-N,S=s+1):(P==e.length-3||t==w&&e[P+3]>t)&&(S=w-N,s=S-1,t>=w&&(y="right")),s!=null){if(r=e[P+2],N==w&&i==(r.insertLeft?"left":"right")&&(y=i),i=="left"&&s==0)for(;P&&e[P-2]==e[P-3]&&e[P-1].insertLeft;)r=e[(P-=3)+2],y="left";if(i=="right"&&s==w-N)for(;P<e.length-3&&e[P+3]==e[P+4]&&!e[P+5].insertLeft;)r=e[(P+=3)+2],y="right";break}return{node:r,start:s,end:S,collapse:y,coverStart:N,coverEnd:w}}function Qs(e,t){var i=Qa;if(t=="left")for(var r=0;r<e.length&&(i=e[r]).left==i.right;r++);else for(var s=e.length-1;s>=0&&(i=e[s]).left==i.right;s--);return i}function Xs(e,t,i,r){var s=Xa(t.map,i,r),S=s.node,y=s.start,N=s.end,w=s.collapse,P;if(S.nodeType==3){for(var F=0;F<4;F++){for(;y&&be(t.line.text.charAt(s.coverStart+y));)--y;for(;s.coverStart+N<s.coverEnd&&be(t.line.text.charAt(s.coverStart+N));)++N;if(o&&d<9&&y==0&&N==s.coverEnd-s.coverStart?P=S.parentNode.getBoundingClientRect():P=Qs(ee(S,y,N).getClientRects(),r),P.left||P.right||y==0)break;N=y,y=y-1,w="right"}o&&d<11&&(P=Zs(e.display.measure,P))}else{y>0&&(w=r="right");var H;e.options.lineWrapping&&(H=S.getClientRects()).length>1?P=H[r=="right"?H.length-1:0]:P=S.getBoundingClientRect()}if(o&&d<9&&!y&&(!P||!P.left&&!P.right)){var $=S.parentNode.getClientRects()[0];$?P={left:$.left,right:$.left+yr(e.display),top:$.top,bottom:$.bottom}:P=Qa}for(var q=P.top-t.rect.top,ie=P.bottom-t.rect.top,ce=(q+ie)/2,Se=t.view.measure.heights,Ce=0;Ce<Se.length-1&&!(ce<Se[Ce]);Ce++);var Ie=Ce?Se[Ce-1]:0,ye=Se[Ce],Me={left:(w=="right"?P.right:P.left)-t.rect.left,right:(w=="left"?P.left:P.right)-t.rect.left,top:Ie,bottom:ye};return!P.left&&!P.right&&(Me.bogus=!0),e.options.singleCursorHeightPerLine||(Me.rtop=q,Me.rbottom=ie),Me}function Zs(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Kt(e))return t;var i=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*i,right:t.right*i,top:t.top*r,bottom:t.bottom*r}}function Za(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function ja(e){e.display.externalMeasure=null,Y(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Za(e.display.view[t])}function Hr(e){ja(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Ja(e){return p&&R?-(e.body.getBoundingClientRect().left-parseInt(getComputedStyle(e.body).marginLeft)):e.defaultView.pageXOffset||(e.documentElement||e.body).scrollLeft}function eo(e){return p&&R?-(e.body.getBoundingClientRect().top-parseInt(getComputedStyle(e.body).marginTop)):e.defaultView.pageYOffset||(e.documentElement||e.body).scrollTop}function $i(e){var t=Cn(e),i=t.widgets,r=0;if(i)for(var s=0;s<i.length;++s)i[s].above&&(r+=Yr(i[s]));return r}function Ei(e,t,i,r,s){if(!s){var S=$i(t);i.top+=S,i.bottom+=S}if(r=="line")return i;r||(r="local");var y=Pn(t);if(r=="local"?y+=gi(e.display):y-=e.display.viewOffset,r=="page"||r=="window"){var N=e.display.lineSpace.getBoundingClientRect();y+=N.top+(r=="window"?0:eo(Le(e)));var w=N.left+(r=="window"?0:Ja(Le(e)));i.left+=w,i.right+=w}return i.top+=y,i.bottom+=y,i}function to(e,t,i){if(i=="div")return t;var r=t.left,s=t.top;if(i=="page")r-=Ja(Le(e)),s-=eo(Le(e));else if(i=="local"||!i){var S=e.display.sizer.getBoundingClientRect();r+=S.left,s+=S.top}var y=e.display.lineSpace.getBoundingClientRect();return{left:r-y.left,top:s-y.top}}function hi(e,t,i,r,s){return r||(r=Ge(e.doc,t.line)),Ei(e,r,$a(e,r,t.ch,s),i)}function yn(e,t,i,r,s,S){r=r||Ge(e.doc,t.line),s||(s=vr(e,r));function y(ie,ce){var Se=xn(e,s,ie,ce?"right":"left",S);return ce?Se.left=Se.right:Se.right=Se.left,Ei(e,r,Se,i)}var N=te(r,e.doc.direction),w=t.ch,P=t.sticky;if(w>=r.text.length?(w=r.text.length,P="before"):w<=0&&(w=0,P="after"),!N)return y(P=="before"?w-1:w,P=="before");function F(ie,ce,Se){var Ce=N[ce],Ie=Ce.level==1;return y(Se?ie-1:ie,Ie!=Se)}var H=ut(N,w,P),$=Fe,q=F(w,H,P=="before");return $!=null&&(q.other=F(w,$,P!="before")),q}function no(e,t){var i=0;t=qe(e.doc,t),e.options.lineWrapping||(i=yr(e.display)*t.ch);var r=Ge(e.doc,t.line),s=Pn(r)+gi(e.display);return{left:i,right:i,top:s,bottom:s+r.height}}function Qi(e,t,i,r,s){var S=me(e,t,i);return S.xRel=s,r&&(S.outside=r),S}function Xi(e,t,i){var r=e.doc;if(i+=e.display.viewOffset,i<0)return Qi(r.first,0,null,-1,-1);var s=vn(r,i),S=r.first+r.size-1;if(s>S)return Qi(r.first+r.size-1,Ge(r,S).text.length,null,1,1);t<0&&(t=0);for(var y=Ge(r,s);;){var N=js(e,y,s,t,i),w=Os(y,N.ch+(N.xRel>0||N.outside>0?1:0));if(!w)return N;var P=w.find(1);if(P.line==s)return P;y=Ge(r,s=P.line)}}function ro(e,t,i,r){r-=$i(t);var s=t.text.length,S=ke(function(y){return xn(e,i,y-1).bottom<=r},s,0);return s=ke(function(y){return xn(e,i,y).top>r},S,s),{begin:S,end:s}}function io(e,t,i,r){i||(i=vr(e,t));var s=Ei(e,t,xn(e,i,r),"line").top;return ro(e,t,i,s)}function Zi(e,t,i,r){return e.bottom<=i?!1:e.top>i?!0:(r?e.left:e.right)>t}function js(e,t,i,r,s){s-=Pn(t);var S=vr(e,t),y=$i(t),N=0,w=t.text.length,P=!0,F=te(t,e.doc.direction);if(F){var H=(e.options.lineWrapping?el:Js)(e,t,i,S,F,r,s);P=H.level!=1,N=P?H.from:H.to-1,w=P?H.to:H.from-1}var $=null,q=null,ie=ke(function(Xe){var $e=xn(e,S,Xe);return $e.top+=y,$e.bottom+=y,Zi($e,r,s,!1)?($e.top<=s&&$e.left<=r&&($=Xe,q=$e),!0):!1},N,w),ce,Se,Ce=!1;if(q){var Ie=r-q.left<q.right-r,ye=Ie==P;ie=$+(ye?0:1),Se=ye?"after":"before",ce=Ie?q.left:q.right}else{!P&&(ie==w||ie==N)&&ie++,Se=ie==0?"after":ie==t.text.length?"before":xn(e,S,ie-(P?1:0)).bottom+y<=s==P?"after":"before";var Me=yn(e,me(i,ie,Se),"line",t,S);ce=Me.left,Ce=s<Me.top?-1:s>=Me.bottom?1:0}return ie=We(t.text,ie,1),Qi(i,ie,Se,Ce,r-ce)}function Js(e,t,i,r,s,S,y){var N=ke(function(H){var $=s[H],q=$.level!=1;return Zi(yn(e,me(i,q?$.to:$.from,q?"before":"after"),"line",t,r),S,y,!0)},0,s.length-1),w=s[N];if(N>0){var P=w.level!=1,F=yn(e,me(i,P?w.from:w.to,P?"after":"before"),"line",t,r);Zi(F,S,y,!0)&&F.top>y&&(w=s[N-1])}return w}function el(e,t,i,r,s,S,y){var N=ro(e,t,r,y),w=N.begin,P=N.end;/\s/.test(t.text.charAt(P-1))&&P--;for(var F=null,H=null,$=0;$<s.length;$++){var q=s[$];if(!(q.from>=P||q.to<=w)){var ie=q.level!=1,ce=xn(e,r,ie?Math.min(P,q.to)-1:Math.max(w,q.from)).right,Se=ce<S?S-ce+1e9:ce-S;(!F||H>Se)&&(F=q,H=Se)}}return F||(F=s[s.length-1]),F.from<w&&(F={from:w,to:F.to,level:F.level}),F.to>P&&(F={from:F.from,to:P,level:F.level}),F}var or;function Cr(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(or==null){or=B("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)or.appendChild(document.createTextNode("x")),or.appendChild(B("br"));or.appendChild(document.createTextNode("x"))}z(e.measure,or);var i=or.offsetHeight/50;return i>3&&(e.cachedTextHeight=i),Y(e.measure),i||1}function yr(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=B("span","xxxxxxxxxx"),i=B("pre",[t],"CodeMirror-line-like");z(e.measure,i);var r=t.getBoundingClientRect(),s=(r.right-r.left)/10;return s>2&&(e.cachedCharWidth=s),s||10}function ji(e){for(var t=e.display,i={},r={},s=t.gutters.clientLeft,S=t.gutters.firstChild,y=0;S;S=S.nextSibling,++y){var N=e.display.gutterSpecs[y].className;i[N]=S.offsetLeft+S.clientLeft+s,r[N]=S.clientWidth}return{fixedPos:Ji(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:i,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Ji(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function ao(e){var t=Cr(e.display),i=e.options.lineWrapping,r=i&&Math.max(5,e.display.scroller.clientWidth/yr(e.display)-3);return function(s){if(Wn(e.doc,s))return 0;var S=0;if(s.widgets)for(var y=0;y<s.widgets.length;y++)s.widgets[y].height&&(S+=s.widgets[y].height);return i?S+(Math.ceil(s.text.length/r)||1)*t:S+t}}function ea(e){var t=e.doc,i=ao(e);t.iter(function(r){var s=i(r);s!=r.height&&jt(r,s)})}function sr(e,t,i,r){var s=e.display;if(!i&&nt(t).getAttribute("cm-not-content")=="true")return null;var S,y,N=s.lineSpace.getBoundingClientRect();try{S=t.clientX-N.left,y=t.clientY-N.top}catch(H){return null}var w=Xi(e,S,y),P;if(r&&w.xRel>0&&(P=Ge(e.doc,w.line).text).length==w.ch){var F=le(P,P.length,e.options.tabSize)-P.length;w=me(w.line,Math.max(0,Math.round((S-qa(e.display).left)/yr(e.display))-F))}return w}function lr(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var i=e.display.view,r=0;r<i.length;r++)if(t-=i[r].size,t<0)return r}function tn(e,t,i,r){t==null&&(t=e.doc.first),i==null&&(i=e.doc.first+e.doc.size),r||(r=0);var s=e.display;if(r&&i<s.viewTo&&(s.updateLineNumbers==null||s.updateLineNumbers>t)&&(s.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=s.viewTo)zt&&Yi(e.doc,t)<s.viewTo&&qn(e);else if(i<=s.viewFrom)zt&&ka(e.doc,i+r)>s.viewFrom?qn(e):(s.viewFrom+=r,s.viewTo+=r);else if(t<=s.viewFrom&&i>=s.viewTo)qn(e);else if(t<=s.viewFrom){var S=Si(e,i,i+r,1);S?(s.view=s.view.slice(S.index),s.viewFrom=S.lineN,s.viewTo+=r):qn(e)}else if(i>=s.viewTo){var y=Si(e,t,t,-1);y?(s.view=s.view.slice(0,y.index),s.viewTo=y.lineN):qn(e)}else{var N=Si(e,t,t,-1),w=Si(e,i,i+r,1);N&&w?(s.view=s.view.slice(0,N.index).concat(fi(e,N.lineN,w.lineN)).concat(s.view.slice(w.index)),s.viewTo+=r):qn(e)}var P=s.externalMeasured;P&&(i<P.lineN?P.lineN+=r:t<P.lineN+P.size&&(s.externalMeasured=null))}function Vn(e,t,i){e.curOp.viewChanged=!0;var r=e.display,s=e.display.externalMeasured;if(s&&t>=s.lineN&&t<s.lineN+s.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var S=r.view[lr(e,t)];if(S.node!=null){var y=S.changes||(S.changes=[]);we(y,i)==-1&&y.push(i)}}}function qn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Si(e,t,i,r){var s=lr(e,t),S,y=e.display.view;if(!zt||i==e.doc.first+e.doc.size)return{index:s,lineN:i};for(var N=e.display.viewFrom,w=0;w<s;w++)N+=y[w].size;if(N!=t){if(r>0){if(s==y.length-1)return null;S=N+y[s].size-t,s++}else S=N-t;t+=S,i+=S}for(;Yi(e.doc,i)!=i;){if(s==(r<0?0:y.length-1))return null;i+=r*y[s-(r<0?1:0)].size,s+=r}return{index:s,lineN:i}}function tl(e,t,i){var r=e.display,s=r.view;s.length==0||t>=r.viewTo||i<=r.viewFrom?(r.view=fi(e,t,i),r.viewFrom=t):(r.viewFrom>t?r.view=fi(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(lr(e,t))),r.viewFrom=t,r.viewTo<i?r.view=r.view.concat(fi(e,r.viewTo,i)):r.viewTo>i&&(r.view=r.view.slice(0,lr(e,i)))),r.viewTo=i}function oo(e){for(var t=e.display.view,i=0,r=0;r<t.length;r++){var s=t[r];!s.hidden&&(!s.node||s.changes)&&++i}return i}function zr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function so(e,t){t===void 0&&(t=!0);var i=e.doc,r={},s=r.cursors=document.createDocumentFragment(),S=r.selection=document.createDocumentFragment(),y=e.options.$customCursor;y&&(t=!0);for(var N=0;N<i.sel.ranges.length;N++)if(!(!t&&N==i.sel.primIndex)){var w=i.sel.ranges[N];if(!(w.from().line>=e.display.viewTo||w.to().line<e.display.viewFrom)){var P=w.empty();if(y){var F=y(e,w);F&&ta(e,F,s)}else(P||e.options.showCursorWhenSelecting)&&ta(e,w.head,s);P||nl(e,w,S)}}return r}function ta(e,t,i){var r=yn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),s=i.appendChild(B("div","\xA0","CodeMirror-cursor"));if(s.style.left=r.left+"px",s.style.top=r.top+"px",s.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var S=hi(e,t,"div",null,null),y=S.right-S.left;s.style.width=(y>0?y:e.defaultCharWidth())+"px"}if(r.other){var N=i.appendChild(B("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));N.style.display="",N.style.left=r.other.left+"px",N.style.top=r.other.top+"px",N.style.height=(r.other.bottom-r.other.top)*.85+"px"}}function bi(e,t){return e.top-t.top||e.left-t.left}function nl(e,t,i){var r=e.display,s=e.doc,S=document.createDocumentFragment(),y=qa(e.display),N=y.left,w=Math.max(r.sizerWidth,ar(e)-r.sizer.offsetLeft)-y.right,P=s.direction=="ltr";function F(ye,Me,Xe,$e){Me<0&&(Me=0),Me=Math.round(Me),$e=Math.round($e),S.appendChild(B("div",null,"CodeMirror-selected","position: absolute; left: "+ye+`px;
4
+ `,t);s==-1&&(s=e.length);var S=e.slice(t,e.charAt(s-1)=="\r"?s-1:s),y=S.indexOf("\r");y!=-1?(i.push(S.slice(0,y)),t+=y+1):(i.push(S),t=s+1)}return i}:function(e){return e.split(/\r\n?|\n/)},Xt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(i){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},_n=function(){var e=B("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Zt=null;function Kt(e){if(Zt!=null)return Zt;var t=z(e,B("span","x")),i=t.getBoundingClientRect(),r=ee(t,0,1).getBoundingClientRect();return Zt=Math.abs(i.left-r.left)>1}var sn={},fn={};function Tn(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),sn[e]=t}function Jn(e,t){fn[e]=t}function gn(e){if(typeof e=="string"&&fn.hasOwnProperty(e))e=fn[e];else if(e&&typeof e.name=="string"&&fn.hasOwnProperty(e.name)){var t=fn[e.name];typeof t=="string"&&(t={name:t}),e=K(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return gn("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return gn("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Nn(e,t){t=gn(t);var i=sn[t.name];if(!i)return Nn(e,"text/plain");var r=i(e,t);if(Ht.hasOwnProperty(t.name)){var s=Ht[t.name];for(var S in s)!s.hasOwnProperty(S)||(r.hasOwnProperty(S)&&(r["_"+S]=r[S]),r[S]=s[S])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var y in t.modeProps)r[y]=t.modeProps[y];return r}var Ht={};function En(e,t){var i=Ht.hasOwnProperty(e)?Ht[e]:Ht[e]={};et(t,i)}function pn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var r in t){var s=t[r];s instanceof Array&&(s=s.concat([])),i[r]=s}return i}function Mn(e,t){for(var i;e.innerMode&&(i=e.innerMode(t),!(!i||i.mode==e));)t=i.state,e=i.mode;return i||{mode:e,state:t}}function fr(e,t,i){return e.startState?e.startState(t,i):!0}var vt=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};vt.prototype.eol=function(){return this.pos>=this.string.length},vt.prototype.sol=function(){return this.pos==this.lineStart},vt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},vt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},vt.prototype.eat=function(e){var t=this.string.charAt(this.pos),i;if(typeof e=="string"?i=t==e:i=t&&(e.test?e.test(t):e(t)),i)return++this.pos,t},vt.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},vt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},vt.prototype.skipToEnd=function(){this.pos=this.string.length},vt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},vt.prototype.backUp=function(e){this.pos-=e},vt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=le(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?le(this.string,this.lineStart,this.tabSize):0)},vt.prototype.indentation=function(){return le(this.string,null,this.tabSize)-(this.lineStart?le(this.string,this.lineStart,this.tabSize):0)},vt.prototype.match=function(e,t,i){if(typeof e=="string"){var r=function(y){return i?y.toLowerCase():y},s=this.string.substr(this.pos,e.length);if(r(s)==r(e))return t!==!1&&(this.pos+=e.length),!0}else{var S=this.string.slice(this.pos).match(e);return S&&S.index>0?null:(S&&t!==!1&&(this.pos+=S[0].length),S)}},vt.prototype.current=function(){return this.string.slice(this.start,this.pos)},vt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},vt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},vt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Ge(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var i=e;!i.lines;)for(var r=0;;++r){var s=i.children[r],S=s.chunkSize();if(t<S){i=s;break}t-=S}return i.lines[t]}function Pt(e,t,i){var r=[],s=t.line;return e.iter(t.line,i.line+1,function(S){var y=S.text;s==i.line&&(y=y.slice(0,i.ch)),s==t.line&&(y=y.slice(t.ch)),r.push(y),++s}),r}function Yn(e,t,i){var r=[];return e.iter(t,i,function(s){r.push(s.text)}),r}function jt(e,t){var i=t-e.height;if(i)for(var r=e;r;r=r.parent)r.height+=i}function mt(e){if(e.parent==null)return null;for(var t=e.parent,i=we(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var s=0;r.children[s]!=t;++s)i+=r.children[s].chunkSize();return i+t.first}function vn(e,t){var i=e.first;e:do{for(var r=0;r<e.children.length;++r){var s=e.children[r],S=s.height;if(t<S){e=s;continue e}t-=S,i+=s.chunkSize()}return i}while(!e.lines);for(var y=0;y<e.lines.length;++y){var N=e.lines[y],w=N.height;if(t<w)break;t-=w}return i+y}function hn(e,t){return t>=e.first&&t<e.first+e.size}function er(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function me(e,t,i){if(i===void 0&&(i=null),!(this instanceof me))return new me(e,t,i);this.line=e,this.ch=t,this.sticky=i}function re(e,t){return e.line-t.line||e.ch-t.ch}function Ye(e,t){return e.sticky==t.sticky&&re(e,t)==0}function dt(e){return me(e.line,e.ch)}function ft(e,t){return re(e,t)<0?t:e}function Ct(e,t){return re(e,t)<0?e:t}function Sn(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function qe(e,t){if(t.line<e.first)return me(e.first,0);var i=e.first+e.size-1;return t.line>i?me(i,Ge(e,i).text.length):ln(t,Ge(e,t.line).text.length)}function ln(e,t){var i=e.ch;return i==null||i>t?me(e.line,t):i<0?me(e.line,0):e}function Jt(e,t){for(var i=[],r=0;r<t.length;r++)i[r]=qe(e,t[r]);return i}var en=function(e,t){this.state=e,this.lookAhead=t},cn=function(e,t,i,r){this.state=t,this.doc=e,this.line=i,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};cn.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},cn.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},cn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},cn.fromSaved=function(e,t,i){return t instanceof en?new cn(e,pn(e.mode,t.state),i,t.lookAhead):new cn(e,pn(e.mode,t),i)},cn.prototype.save=function(e){var t=e!==!1?pn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new en(t,this.maxLookAhead):t};function gr(e,t,i,r){var s=[e.state.modeGen],S={};nr(e,t.text,e.doc.mode,i,function(P,F){return s.push(P,F)},S,r);for(var y=i.state,N=function(P){i.baseTokens=s;var F=e.state.overlays[P],H=1,$=0;i.state=!0,nr(e,t.text,F.mode,i,function(q,ie){for(var ce=H;$<q;){var Se=s[H];Se>q&&s.splice(H,1,q,s[H+1],Se),H+=2,$=Math.min(q,Se)}if(!!ie)if(F.opaque)s.splice(ce,H-ce,q,"overlay "+ie),H=ce+2;else for(;ce<H;ce+=2){var Ce=s[ce+1];s[ce+1]=(Ce?Ce+" ":"")+"overlay "+ie}},S),i.state=y,i.baseTokens=null,i.baseTokenPos=1},w=0;w<e.state.overlays.length;++w)N(w);return{styles:s,classes:S.bgClass||S.textClass?S:null}}function Er(e,t,i){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Ln(e,mt(t)),s=t.text.length>e.options.maxHighlightLength&&pn(e.doc.mode,r.state),S=gr(e,t,r);s&&(r.state=s),t.stateAfter=r.save(!s),t.styles=S.styles,S.classes?t.styleClasses=S.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Ln(e,t,i){var r=e.doc,s=e.display;if(!r.mode.startState)return new cn(r,!0,t);var S=Mt(e,t,i),y=S>r.first&&Ge(r,S-1).stateAfter,N=y?cn.fromSaved(r,y,S):new cn(r,fr(r.mode),S);return r.iter(S,t,function(w){An(e,w.text,N);var P=N.line;w.stateAfter=P==t-1||P%5==0||P>=s.viewFrom&&P<s.viewTo?N.save():null,N.nextLine()}),i&&(r.modeFrontier=N.line),N}function An(e,t,i,r){var s=e.doc.mode,S=new vt(t,e.options.tabSize,i);for(S.start=S.pos=r||0,t==""&&tr(s,i.state);!S.eol();)bn(s,S,i.state),S.start=S.pos}function tr(e,t){if(e.blankLine)return e.blankLine(t);if(!!e.innerMode){var i=Mn(e,t);if(i.mode.blankLine)return i.mode.blankLine(i.state)}}function bn(e,t,i,r){for(var s=0;s<10;s++){r&&(r[0]=Mn(e,i).mode);var S=e.token(t,i);if(t.pos>t.start)return S}throw new Error("Mode "+e.name+" failed to advance stream.")}var hr=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function Hn(e,t,i,r){var s=e.doc,S=s.mode,y;t=qe(s,t);var N=Ge(s,t.line),w=Ln(e,t.line,i),P=new vt(N.text,e.options.tabSize,w),F;for(r&&(F=[]);(r||P.pos<t.ch)&&!P.eol();)P.start=P.pos,y=bn(S,P,w.state),r&&F.push(new hr(P,y,pn(s.mode,w.state)));return r?F:new hr(P,y,w.state)}function ot(e,t){if(e)for(;;){var i=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;e=e.slice(0,i.index)+e.slice(i.index+i[0].length);var r=i[1]?"bgClass":"textClass";t[r]==null?t[r]=i[2]:new RegExp("(?:^|\\s)"+i[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+i[2])}return e}function nr(e,t,i,r,s,S,y){var N=i.flattenSpans;N==null&&(N=e.options.flattenSpans);var w=0,P=null,F=new vt(t,e.options.tabSize,r),H,$=e.options.addModeClass&&[null];for(t==""&&ot(tr(i,r.state),S);!F.eol();){if(F.pos>e.options.maxHighlightLength?(N=!1,y&&An(e,t,r,F.pos),F.pos=t.length,H=null):H=ot(bn(i,F,r.state,$),S),$){var q=$[0].name;q&&(H="m-"+(H?q+" "+H:q))}if(!N||P!=H){for(;w<F.start;)w=Math.min(F.start,w+5e3),s(w,P);P=H}F.start=F.pos}for(;w<F.pos;){var ie=Math.min(F.pos,w+5e3);s(ie,P),w=ie}}function Mt(e,t,i){for(var r,s,S=e.doc,y=i?-1:t-(e.doc.mode.innerMode?1e3:100),N=t;N>y;--N){if(N<=S.first)return S.first;var w=Ge(S,N-1),P=w.stateAfter;if(P&&(!i||N+(P instanceof en?P.lookAhead:0)<=S.modeFrontier))return N;var F=le(w.text,null,e.options.tabSize);(s==null||r>F)&&(s=N-1,r=F)}return s}function yt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var i=e.first,r=t-1;r>i;r--){var s=Ge(e,r).stateAfter;if(s&&(!(s instanceof en)||r+s.lookAhead<t)){i=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,i)}}var In=!1,zt=!1;function rr(){In=!0}function zn(){zt=!0}function Ue(e,t,i){this.marker=e,this.from=t,this.to=i}function Ke(e,t){if(e)for(var i=0;i<e.length;++i){var r=e[i];if(r.marker==t)return r}}function st(e,t){for(var i,r=0;r<e.length;++r)e[r]!=t&&(i||(i=[])).push(e[r]);return i}function gt(e,t,i){var r=i&&window.WeakSet&&(i.markedSpans||(i.markedSpans=new WeakSet));r&&e.markedSpans&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}function kt(e,t,i){var r;if(e)for(var s=0;s<e.length;++s){var S=e[s],y=S.marker,N=S.from==null||(y.inclusiveLeft?S.from<=t:S.from<t);if(N||S.from==t&&y.type=="bookmark"&&(!i||!S.marker.insertLeft)){var w=S.to==null||(y.inclusiveRight?S.to>=t:S.to>t);(r||(r=[])).push(new Ue(y,S.from,w?null:S.to))}}return r}function ir(e,t,i){var r;if(e)for(var s=0;s<e.length;++s){var S=e[s],y=S.marker,N=S.to==null||(y.inclusiveRight?S.to>=t:S.to>t);if(N||S.from==t&&y.type=="bookmark"&&(!i||S.marker.insertLeft)){var w=S.from==null||(y.inclusiveLeft?S.from<=t:S.from<t);(r||(r=[])).push(new Ue(y,w?null:S.from-t,S.to==null?null:S.to-t))}}return r}function Sr(e,t){if(t.full)return null;var i=hn(e,t.from.line)&&Ge(e,t.from.line).markedSpans,r=hn(e,t.to.line)&&Ge(e,t.to.line).markedSpans;if(!i&&!r)return null;var s=t.from.ch,S=t.to.ch,y=re(t.from,t.to)==0,N=kt(i,s,y),w=ir(r,S,y),P=t.text.length==1,F=Ae(t.text).length+(P?s:0);if(N)for(var H=0;H<N.length;++H){var $=N[H];if($.to==null){var q=Ke(w,$.marker);q?P&&($.to=q.to==null?null:q.to+F):$.to=s}}if(w)for(var ie=0;ie<w.length;++ie){var ce=w[ie];if(ce.to!=null&&(ce.to+=F),ce.from==null){var Se=Ke(N,ce.marker);Se||(ce.from=F,P&&(N||(N=[])).push(ce))}else ce.from+=F,P&&(N||(N=[])).push(ce)}N&&(N=xa(N)),w&&w!=N&&(w=xa(w));var Ce=[N];if(!P){var Ie=t.text.length-2,ye;if(Ie>0&&N)for(var Me=0;Me<N.length;++Me)N[Me].to==null&&(ye||(ye=[])).push(new Ue(N[Me].marker,null,null));for(var Xe=0;Xe<Ie;++Xe)Ce.push(ye);Ce.push(w)}return Ce}function xa(e){for(var t=0;t<e.length;++t){var i=e[t];i.from!=null&&i.from==i.to&&i.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function Rs(e,t,i){var r=null;if(e.iter(t.line,i.line+1,function(q){if(q.markedSpans)for(var ie=0;ie<q.markedSpans.length;++ie){var ce=q.markedSpans[ie].marker;ce.readOnly&&(!r||we(r,ce)==-1)&&(r||(r=[])).push(ce)}}),!r)return null;for(var s=[{from:t,to:i}],S=0;S<r.length;++S)for(var y=r[S],N=y.find(0),w=0;w<s.length;++w){var P=s[w];if(!(re(P.to,N.from)<0||re(P.from,N.to)>0)){var F=[w,1],H=re(P.from,N.from),$=re(P.to,N.to);(H<0||!y.inclusiveLeft&&!H)&&F.push({from:P.from,to:N.from}),($>0||!y.inclusiveRight&&!$)&&F.push({from:N.to,to:P.to}),s.splice.apply(s,F),w+=F.length-3}}return s}function wa(e){var t=e.markedSpans;if(!!t){for(var i=0;i<t.length;++i)t[i].marker.detachLine(e);e.markedSpans=null}}function Ma(e,t){if(!!t){for(var i=0;i<t.length;++i)t[i].marker.attachLine(e);e.markedSpans=t}}function di(e){return e.inclusiveLeft?-1:0}function _i(e){return e.inclusiveRight?1:0}function Gi(e,t){var i=e.lines.length-t.lines.length;if(i!=0)return i;var r=e.find(),s=t.find(),S=re(r.from,s.from)||di(e)-di(t);if(S)return-S;var y=re(r.to,s.to)||_i(e)-_i(t);return y||t.id-e.id}function La(e,t){var i=zt&&e.markedSpans,r;if(i)for(var s=void 0,S=0;S<i.length;++S)s=i[S],s.marker.collapsed&&(t?s.from:s.to)==null&&(!r||Gi(r,s.marker)<0)&&(r=s.marker);return r}function Pa(e){return La(e,!0)}function pi(e){return La(e,!1)}function Os(e,t){var i=zt&&e.markedSpans,r;if(i)for(var s=0;s<i.length;++s){var S=i[s];S.marker.collapsed&&(S.from==null||S.from<t)&&(S.to==null||S.to>t)&&(!r||Gi(r,S.marker)<0)&&(r=S.marker)}return r}function ka(e,t,i,r,s){var S=Ge(e,t),y=zt&&S.markedSpans;if(y)for(var N=0;N<y.length;++N){var w=y[N];if(!!w.marker.collapsed){var P=w.marker.find(0),F=re(P.from,i)||di(w.marker)-di(s),H=re(P.to,r)||_i(w.marker)-_i(s);if(!(F>=0&&H<=0||F<=0&&H>=0)&&(F<=0&&(w.marker.inclusiveRight&&s.inclusiveLeft?re(P.to,i)>=0:re(P.to,i)>0)||F>=0&&(w.marker.inclusiveRight&&s.inclusiveLeft?re(P.from,r)<=0:re(P.from,r)<0)))return!0}}}function Cn(e){for(var t;t=Pa(e);)e=t.find(-1,!0).line;return e}function Ns(e){for(var t;t=pi(e);)e=t.find(1,!0).line;return e}function As(e){for(var t,i;t=pi(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function Yi(e,t){var i=Ge(e,t),r=Cn(i);return i==r?t:mt(r)}function Ua(e,t){if(t>e.lastLine())return t;var i=Ge(e,t),r;if(!Wn(e,i))return t;for(;r=pi(i);)i=r.find(1,!0).line;return mt(i)+1}function Wn(e,t){var i=zt&&t.markedSpans;if(i){for(var r=void 0,s=0;s<i.length;++s)if(r=i[s],!!r.marker.collapsed){if(r.from==null)return!0;if(!r.marker.widgetNode&&r.from==0&&r.marker.inclusiveLeft&&Hi(e,t,r))return!0}}}function Hi(e,t,i){if(i.to==null){var r=i.marker.find(1,!0);return Hi(e,r.line,Ke(r.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==t.text.length)return!0;for(var s=void 0,S=0;S<t.markedSpans.length;++S)if(s=t.markedSpans[S],s.marker.collapsed&&!s.marker.widgetNode&&s.from==i.to&&(s.to==null||s.to!=i.from)&&(s.marker.inclusiveLeft||i.marker.inclusiveRight)&&Hi(e,t,s))return!0}function Pn(e){e=Cn(e);for(var t=0,i=e.parent,r=0;r<i.lines.length;++r){var s=i.lines[r];if(s==e)break;t+=s.height}for(var S=i.parent;S;i=S,S=i.parent)for(var y=0;y<S.children.length;++y){var N=S.children[y];if(N==i)break;t+=N.height}return t}function mi(e){if(e.height==0)return 0;for(var t=e.text.length,i,r=e;i=Pa(r);){var s=i.find(0,!0);r=s.from.line,t+=s.from.ch-s.to.ch}for(r=e;i=pi(r);){var S=i.find(0,!0);t-=r.text.length-S.from.ch,r=S.to.line,t+=r.text.length-S.to.ch}return t}function zi(e){var t=e.display,i=e.doc;t.maxLine=Ge(i,i.first),t.maxLineLength=mi(t.maxLine),t.maxLineChanged=!0,i.iter(function(r){var s=mi(r);s>t.maxLineLength&&(t.maxLineLength=s,t.maxLine=r)})}var br=function(e,t,i){this.text=e,Ma(this,t),this.height=i?i(this):1};br.prototype.lineNo=function(){return mt(this)},X(br);function Is(e,t,i,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),wa(e),Ma(e,i);var s=r?r(e):1;s!=e.height&&jt(e,s)}function Ds(e){e.parent=null,wa(e)}var xs={},ws={};function Fa(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?ws:xs;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function Ba(e,t){var i=_e("span",null,null,m?"padding-right: .1px":null),r={pre:_e("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var s=0;s<=(t.rest?t.rest.length:0);s++){var S=s?t.rest[s-1]:t.line,y=void 0;r.pos=0,r.addToken=Ls,Ot(e.display.measure)&&(y=te(S,e.doc.direction))&&(r.addToken=ks(r.addToken,y)),r.map=[];var N=t!=e.display.externalMeasured&&mt(S);Us(S,r,Er(e,S,N)),S.styleClasses&&(S.styleClasses.bgClass&&(r.bgClass=Re(S.styleClasses.bgClass,r.bgClass||"")),S.styleClasses.textClass&&(r.textClass=Re(S.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(Ve(e.display.measure))),s==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(m){var w=r.content.lastChild;(/\bcm-tab\b/.test(w.className)||w.querySelector&&w.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Je(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=Re(r.pre.className,r.textClass||"")),r}function Ms(e){var t=B("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Ls(e,t,i,r,s,S,y){if(!!t){var N=e.splitSpaces?Ps(t,e.trailingSpace):t,w=e.cm.state.specialChars,P=!1,F;if(!w.test(t))e.col+=t.length,F=document.createTextNode(N),e.map.push(e.pos,e.pos+t.length,F),o&&d<9&&(P=!0),e.pos+=t.length;else{F=document.createDocumentFragment();for(var H=0;;){w.lastIndex=H;var $=w.exec(t),q=$?$.index-H:t.length-H;if(q){var ie=document.createTextNode(N.slice(H,H+q));o&&d<9?F.appendChild(B("span",[ie])):F.appendChild(ie),e.map.push(e.pos,e.pos+q,ie),e.col+=q,e.pos+=q}if(!$)break;H+=q+1;var ce=void 0;if($[0]==" "){var Se=e.cm.options.tabSize,Ce=Se-e.col%Se;ce=F.appendChild(B("span",Ne(Ce),"cm-tab")),ce.setAttribute("role","presentation"),ce.setAttribute("cm-text"," "),e.col+=Ce}else $[0]=="\r"||$[0]==`
5
+ `?(ce=F.appendChild(B("span",$[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ce.setAttribute("cm-text",$[0]),e.col+=1):(ce=e.cm.options.specialCharPlaceholder($[0]),ce.setAttribute("cm-text",$[0]),o&&d<9?F.appendChild(B("span",[ce])):F.appendChild(ce),e.col+=1);e.map.push(e.pos,e.pos+1,ce),e.pos++}}if(e.trailingSpace=N.charCodeAt(t.length-1)==32,i||r||s||P||S||y){var Ie=i||"";r&&(Ie+=r),s&&(Ie+=s);var ye=B("span",[F],Ie,S);if(y)for(var Me in y)y.hasOwnProperty(Me)&&Me!="style"&&Me!="class"&&ye.setAttribute(Me,y[Me]);return e.content.appendChild(ye)}e.content.appendChild(F)}}function Ps(e,t){if(e.length>1&&!/ /.test(e))return e;for(var i=t,r="",s=0;s<e.length;s++){var S=e.charAt(s);S==" "&&i&&(s==e.length-1||e.charCodeAt(s+1)==32)&&(S="\xA0"),r+=S,i=S==" "}return r}function ks(e,t){return function(i,r,s,S,y,N,w){s=s?s+" cm-force-border":"cm-force-border";for(var P=i.pos,F=P+r.length;;){for(var H=void 0,$=0;$<t.length&&(H=t[$],!(H.to>P&&H.from<=P));$++);if(H.to>=F)return e(i,r,s,S,y,N,w);e(i,r.slice(0,H.to-P),s,S,null,N,w),S=null,r=r.slice(H.to-P),P=H.to}}}function Ga(e,t,i,r){var s=!r&&i.widgetNode;s&&e.map.push(e.pos,e.pos+t,s),!r&&e.cm.display.input.needsContentAttribute&&(s||(s=e.content.appendChild(document.createElement("span"))),s.setAttribute("cm-marker",i.id)),s&&(e.cm.display.input.setUneditable(s),e.content.appendChild(s)),e.pos+=t,e.trailingSpace=!1}function Us(e,t,i){var r=e.markedSpans,s=e.text,S=0;if(!r){for(var y=1;y<i.length;y+=2)t.addToken(t,s.slice(S,S=i[y]),Fa(i[y+1],t.cm.options));return}for(var N=s.length,w=0,P=1,F="",H,$,q=0,ie,ce,Se,Ce,Ie;;){if(q==w){ie=ce=Se=$="",Ie=null,Ce=null,q=1/0;for(var ye=[],Me=void 0,Xe=0;Xe<r.length;++Xe){var $e=r[Xe],lt=$e.marker;if(lt.type=="bookmark"&&$e.from==w&&lt.widgetNode)ye.push(lt);else if($e.from<=w&&($e.to==null||$e.to>w||lt.collapsed&&$e.to==w&&$e.from==w)){if($e.to!=null&&$e.to!=w&&q>$e.to&&(q=$e.to,ce=""),lt.className&&(ie+=" "+lt.className),lt.css&&($=($?$+";":"")+lt.css),lt.startStyle&&$e.from==w&&(Se+=" "+lt.startStyle),lt.endStyle&&$e.to==q&&(Me||(Me=[])).push(lt.endStyle,$e.to),lt.title&&((Ie||(Ie={})).title=lt.title),lt.attributes)for(var bt in lt.attributes)(Ie||(Ie={}))[bt]=lt.attributes[bt];lt.collapsed&&(!Ce||Gi(Ce.marker,lt)<0)&&(Ce=$e)}else $e.from>w&&q>$e.from&&(q=$e.from)}if(Me)for(var Gt=0;Gt<Me.length;Gt+=2)Me[Gt+1]==q&&(ce+=" "+Me[Gt]);if(!Ce||Ce.from==w)for(var Nt=0;Nt<ye.length;++Nt)Ga(t,0,ye[Nt]);if(Ce&&(Ce.from||0)==w){if(Ga(t,(Ce.to==null?N+1:Ce.to)-w,Ce.marker,Ce.from==null),Ce.to==null)return;Ce.to==w&&(Ce=!1)}}if(w>=N)break;for(var dn=Math.min(N,q);;){if(F){var rn=w+F.length;if(!Ce){var xt=rn>dn?F.slice(0,dn-w):F;t.addToken(t,xt,H?H+ie:ie,Se,w+xt.length==q?ce:"",$,Ie)}if(rn>=dn){F=F.slice(dn-w),w=dn;break}w=rn,Se=""}F=s.slice(S,S=i[P++]),H=Fa(i[P++],t.cm.options)}}}function Ya(e,t,i){this.line=t,this.rest=As(t),this.size=this.rest?mt(Ae(this.rest))-i+1:1,this.node=this.text=null,this.hidden=Wn(e,t)}function fi(e,t,i){for(var r=[],s,S=t;S<i;S=s){var y=new Ya(e.doc,Ge(e.doc,S),S);s=S+y.size,r.push(y)}return r}var Tr=null;function Fs(e){Tr?Tr.ops.push(e):e.ownsGroup=Tr={ops:[e],delayedCallbacks:[]}}function Bs(e){var t=e.delayedCallbacks,i=0;do{for(;i<t.length;i++)t[i].call(null);for(var r=0;r<e.ops.length;r++){var s=e.ops[r];if(s.cursorActivityHandlers)for(;s.cursorActivityCalled<s.cursorActivityHandlers.length;)s.cursorActivityHandlers[s.cursorActivityCalled++].call(null,s.cm)}}while(i<t.length)}function Gs(e,t){var i=e.ownsGroup;if(!!i)try{Bs(i)}finally{Tr=null,t(i)}}var Br=null;function Ut(e,t){var i=rt(e,t);if(!!i.length){var r=Array.prototype.slice.call(arguments,2),s;Tr?s=Tr.delayedCallbacks:Br?s=Br:(s=Br=[],setTimeout(Ys,0));for(var S=function(N){s.push(function(){return i[N].apply(null,r)})},y=0;y<i.length;++y)S(y)}}function Ys(){var e=Br;Br=null;for(var t=0;t<e.length;++t)e[t]()}function Ha(e,t,i,r){for(var s=0;s<t.changes.length;s++){var S=t.changes[s];S=="text"?zs(e,t):S=="gutter"?Wa(e,t,i,r):S=="class"?Wi(e,t):S=="widget"&&Ws(e,t,r)}t.changes=null}function Gr(e){return e.node==e.text&&(e.node=B("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),o&&d<8&&(e.node.style.zIndex=2)),e.node}function Hs(e,t){var i=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),t.background)i?t.background.className=i:(t.background.parentNode.removeChild(t.background),t.background=null);else if(i){var r=Gr(t);t.background=r.insertBefore(B("div",null,i),r.firstChild),e.display.input.setUneditable(t.background)}}function za(e,t){var i=e.display.externalMeasured;return i&&i.line==t.line?(e.display.externalMeasured=null,t.measure=i.measure,i.built):Ba(e,t)}function zs(e,t){var i=t.text.className,r=za(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Wi(e,t)):i&&(t.text.className=i)}function Wi(e,t){Hs(e,t),t.line.wrapClass?Gr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var i=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=i||""}function Wa(e,t,i,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var s=Gr(t);t.gutterBackground=B("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),s.insertBefore(t.gutterBackground,t.text)}var S=t.line.gutterMarkers;if(e.options.lineNumbers||S){var y=Gr(t),N=t.gutter=B("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(N.setAttribute("aria-hidden","true"),e.display.input.setUneditable(N),y.insertBefore(N,t.text),t.line.gutterClass&&(N.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!S||!S["CodeMirror-linenumbers"])&&(t.lineNumber=N.appendChild(B("div",er(e.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),S)for(var w=0;w<e.display.gutterSpecs.length;++w){var P=e.display.gutterSpecs[w].className,F=S.hasOwnProperty(P)&&S[P];F&&N.appendChild(B("div",[F],"CodeMirror-gutter-elt","left: "+r.gutterLeft[P]+"px; width: "+r.gutterWidth[P]+"px"))}}}function Ws(e,t,i){t.alignable&&(t.alignable=null);for(var r=k("CodeMirror-linewidget"),s=t.node.firstChild,S=void 0;s;s=S)S=s.nextSibling,r.test(s.className)&&t.node.removeChild(s);Va(e,t,i)}function Vs(e,t,i,r){var s=za(e,t);return t.text=t.node=s.pre,s.bgClass&&(t.bgClass=s.bgClass),s.textClass&&(t.textClass=s.textClass),Wi(e,t),Wa(e,t,i,r),Va(e,t,r),t.node}function Va(e,t,i){if(qa(e,t.line,t,i,!0),t.rest)for(var r=0;r<t.rest.length;r++)qa(e,t.rest[r],t,i,!1)}function qa(e,t,i,r,s){if(!!t.widgets)for(var S=Gr(i),y=0,N=t.widgets;y<N.length;++y){var w=N[y],P=B("div",[w.node],"CodeMirror-linewidget"+(w.className?" "+w.className:""));w.handleMouseEvents||P.setAttribute("cm-ignore-events","true"),qs(w,P,i,r),e.display.input.setUneditable(P),s&&w.above?S.insertBefore(P,i.gutter||i.text):S.appendChild(P),Ut(w,"redraw")}}function qs(e,t,i,r){if(e.noHScroll){(i.alignable||(i.alignable=[])).push(t);var s=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(s-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=s+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Yr(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!Z(document.body,e.node)){var i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),z(t.display.measure,B("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function kn(e,t){for(var i=nt(t);i!=e.wrapper;i=i.parentNode)if(!i||i.nodeType==1&&i.getAttribute("cm-ignore-events")=="true"||i.parentNode==e.sizer&&i!=e.mover)return!0}function gi(e){return e.lineSpace.offsetTop}function Vi(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Ka(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=z(e.measure,B("pre","x","CodeMirror-line-like")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return!isNaN(r.left)&&!isNaN(r.right)&&(e.cachedPaddingH=r),r}function Dn(e){return tt-e.display.nativeBarWidth}function ar(e){return e.display.scroller.clientWidth-Dn(e)-e.display.barWidth}function qi(e){return e.display.scroller.clientHeight-Dn(e)-e.display.barHeight}function Ks(e,t,i){var r=e.options.lineWrapping,s=r&&ar(e);if(!t.measure.heights||r&&t.measure.width!=s){var S=t.measure.heights=[];if(r){t.measure.width=s;for(var y=t.text.firstChild.getClientRects(),N=0;N<y.length-1;N++){var w=y[N],P=y[N+1];Math.abs(w.bottom-P.bottom)>2&&S.push((w.bottom+P.top)/2-i.top)}}S.push(i.bottom-i.top)}}function $a(e,t,i){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var s=0;s<e.rest.length;s++)if(mt(e.rest[s])>i)return{map:e.measure.maps[s],cache:e.measure.caches[s],before:!0}}}function $s(e,t){t=Cn(t);var i=mt(t),r=e.display.externalMeasured=new Ya(e.doc,t,i);r.lineN=i;var s=r.built=Ba(e,r);return r.text=s.pre,z(e.display.lineMeasure,s.pre),r}function Qa(e,t,i,r){return xn(e,vr(e,t),i,r)}function Ki(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[lr(e,t)];var i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size)return i}function vr(e,t){var i=mt(t),r=Ki(e,i);r&&!r.text?r=null:r&&r.changes&&(Ha(e,r,i,ji(e)),e.curOp.forceUpdate=!0),r||(r=$s(e,t));var s=$a(r,t,i);return{line:t,view:r,rect:null,map:s.map,cache:s.cache,before:s.before,hasHeights:!1}}function xn(e,t,i,r,s){t.before&&(i=-1);var S=i+(r||""),y;return t.cache.hasOwnProperty(S)?y=t.cache[S]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Ks(e,t.view,t.rect),t.hasHeights=!0),y=Xs(e,t,i,r),y.bogus||(t.cache[S]=y)),{left:y.left,right:y.right,top:s?y.rtop:y.top,bottom:s?y.rbottom:y.bottom}}var Xa={left:0,right:0,top:0,bottom:0};function Za(e,t,i){for(var r,s,S,y,N,w,P=0;P<e.length;P+=3)if(N=e[P],w=e[P+1],t<N?(s=0,S=1,y="left"):t<w?(s=t-N,S=s+1):(P==e.length-3||t==w&&e[P+3]>t)&&(S=w-N,s=S-1,t>=w&&(y="right")),s!=null){if(r=e[P+2],N==w&&i==(r.insertLeft?"left":"right")&&(y=i),i=="left"&&s==0)for(;P&&e[P-2]==e[P-3]&&e[P-1].insertLeft;)r=e[(P-=3)+2],y="left";if(i=="right"&&s==w-N)for(;P<e.length-3&&e[P+3]==e[P+4]&&!e[P+5].insertLeft;)r=e[(P+=3)+2],y="right";break}return{node:r,start:s,end:S,collapse:y,coverStart:N,coverEnd:w}}function Qs(e,t){var i=Xa;if(t=="left")for(var r=0;r<e.length&&(i=e[r]).left==i.right;r++);else for(var s=e.length-1;s>=0&&(i=e[s]).left==i.right;s--);return i}function Xs(e,t,i,r){var s=Za(t.map,i,r),S=s.node,y=s.start,N=s.end,w=s.collapse,P;if(S.nodeType==3){for(var F=0;F<4;F++){for(;y&&be(t.line.text.charAt(s.coverStart+y));)--y;for(;s.coverStart+N<s.coverEnd&&be(t.line.text.charAt(s.coverStart+N));)++N;if(o&&d<9&&y==0&&N==s.coverEnd-s.coverStart?P=S.parentNode.getBoundingClientRect():P=Qs(ee(S,y,N).getClientRects(),r),P.left||P.right||y==0)break;N=y,y=y-1,w="right"}o&&d<11&&(P=Zs(e.display.measure,P))}else{y>0&&(w=r="right");var H;e.options.lineWrapping&&(H=S.getClientRects()).length>1?P=H[r=="right"?H.length-1:0]:P=S.getBoundingClientRect()}if(o&&d<9&&!y&&(!P||!P.left&&!P.right)){var $=S.parentNode.getClientRects()[0];$?P={left:$.left,right:$.left+yr(e.display),top:$.top,bottom:$.bottom}:P=Xa}for(var q=P.top-t.rect.top,ie=P.bottom-t.rect.top,ce=(q+ie)/2,Se=t.view.measure.heights,Ce=0;Ce<Se.length-1&&!(ce<Se[Ce]);Ce++);var Ie=Ce?Se[Ce-1]:0,ye=Se[Ce],Me={left:(w=="right"?P.right:P.left)-t.rect.left,right:(w=="left"?P.left:P.right)-t.rect.left,top:Ie,bottom:ye};return!P.left&&!P.right&&(Me.bogus=!0),e.options.singleCursorHeightPerLine||(Me.rtop=q,Me.rbottom=ie),Me}function Zs(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Kt(e))return t;var i=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*i,right:t.right*i,top:t.top*r,bottom:t.bottom*r}}function ja(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Ja(e){e.display.externalMeasure=null,Y(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)ja(e.display.view[t])}function Hr(e){Ja(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function eo(e){return p&&R?-(e.body.getBoundingClientRect().left-parseInt(getComputedStyle(e.body).marginLeft)):e.defaultView.pageXOffset||(e.documentElement||e.body).scrollLeft}function to(e){return p&&R?-(e.body.getBoundingClientRect().top-parseInt(getComputedStyle(e.body).marginTop)):e.defaultView.pageYOffset||(e.documentElement||e.body).scrollTop}function $i(e){var t=Cn(e),i=t.widgets,r=0;if(i)for(var s=0;s<i.length;++s)i[s].above&&(r+=Yr(i[s]));return r}function Ei(e,t,i,r,s){if(!s){var S=$i(t);i.top+=S,i.bottom+=S}if(r=="line")return i;r||(r="local");var y=Pn(t);if(r=="local"?y+=gi(e.display):y-=e.display.viewOffset,r=="page"||r=="window"){var N=e.display.lineSpace.getBoundingClientRect();y+=N.top+(r=="window"?0:to(Le(e)));var w=N.left+(r=="window"?0:eo(Le(e)));i.left+=w,i.right+=w}return i.top+=y,i.bottom+=y,i}function no(e,t,i){if(i=="div")return t;var r=t.left,s=t.top;if(i=="page")r-=eo(Le(e)),s-=to(Le(e));else if(i=="local"||!i){var S=e.display.sizer.getBoundingClientRect();r+=S.left,s+=S.top}var y=e.display.lineSpace.getBoundingClientRect();return{left:r-y.left,top:s-y.top}}function hi(e,t,i,r,s){return r||(r=Ge(e.doc,t.line)),Ei(e,r,Qa(e,r,t.ch,s),i)}function yn(e,t,i,r,s,S){r=r||Ge(e.doc,t.line),s||(s=vr(e,r));function y(ie,ce){var Se=xn(e,s,ie,ce?"right":"left",S);return ce?Se.left=Se.right:Se.right=Se.left,Ei(e,r,Se,i)}var N=te(r,e.doc.direction),w=t.ch,P=t.sticky;if(w>=r.text.length?(w=r.text.length,P="before"):w<=0&&(w=0,P="after"),!N)return y(P=="before"?w-1:w,P=="before");function F(ie,ce,Se){var Ce=N[ce],Ie=Ce.level==1;return y(Se?ie-1:ie,Ie!=Se)}var H=ut(N,w,P),$=Fe,q=F(w,H,P=="before");return $!=null&&(q.other=F(w,$,P!="before")),q}function ro(e,t){var i=0;t=qe(e.doc,t),e.options.lineWrapping||(i=yr(e.display)*t.ch);var r=Ge(e.doc,t.line),s=Pn(r)+gi(e.display);return{left:i,right:i,top:s,bottom:s+r.height}}function Qi(e,t,i,r,s){var S=me(e,t,i);return S.xRel=s,r&&(S.outside=r),S}function Xi(e,t,i){var r=e.doc;if(i+=e.display.viewOffset,i<0)return Qi(r.first,0,null,-1,-1);var s=vn(r,i),S=r.first+r.size-1;if(s>S)return Qi(r.first+r.size-1,Ge(r,S).text.length,null,1,1);t<0&&(t=0);for(var y=Ge(r,s);;){var N=js(e,y,s,t,i),w=Os(y,N.ch+(N.xRel>0||N.outside>0?1:0));if(!w)return N;var P=w.find(1);if(P.line==s)return P;y=Ge(r,s=P.line)}}function io(e,t,i,r){r-=$i(t);var s=t.text.length,S=ke(function(y){return xn(e,i,y-1).bottom<=r},s,0);return s=ke(function(y){return xn(e,i,y).top>r},S,s),{begin:S,end:s}}function ao(e,t,i,r){i||(i=vr(e,t));var s=Ei(e,t,xn(e,i,r),"line").top;return io(e,t,i,s)}function Zi(e,t,i,r){return e.bottom<=i?!1:e.top>i?!0:(r?e.left:e.right)>t}function js(e,t,i,r,s){s-=Pn(t);var S=vr(e,t),y=$i(t),N=0,w=t.text.length,P=!0,F=te(t,e.doc.direction);if(F){var H=(e.options.lineWrapping?el:Js)(e,t,i,S,F,r,s);P=H.level!=1,N=P?H.from:H.to-1,w=P?H.to:H.from-1}var $=null,q=null,ie=ke(function(Xe){var $e=xn(e,S,Xe);return $e.top+=y,$e.bottom+=y,Zi($e,r,s,!1)?($e.top<=s&&$e.left<=r&&($=Xe,q=$e),!0):!1},N,w),ce,Se,Ce=!1;if(q){var Ie=r-q.left<q.right-r,ye=Ie==P;ie=$+(ye?0:1),Se=ye?"after":"before",ce=Ie?q.left:q.right}else{!P&&(ie==w||ie==N)&&ie++,Se=ie==0?"after":ie==t.text.length?"before":xn(e,S,ie-(P?1:0)).bottom+y<=s==P?"after":"before";var Me=yn(e,me(i,ie,Se),"line",t,S);ce=Me.left,Ce=s<Me.top?-1:s>=Me.bottom?1:0}return ie=We(t.text,ie,1),Qi(i,ie,Se,Ce,r-ce)}function Js(e,t,i,r,s,S,y){var N=ke(function(H){var $=s[H],q=$.level!=1;return Zi(yn(e,me(i,q?$.to:$.from,q?"before":"after"),"line",t,r),S,y,!0)},0,s.length-1),w=s[N];if(N>0){var P=w.level!=1,F=yn(e,me(i,P?w.from:w.to,P?"after":"before"),"line",t,r);Zi(F,S,y,!0)&&F.top>y&&(w=s[N-1])}return w}function el(e,t,i,r,s,S,y){var N=io(e,t,r,y),w=N.begin,P=N.end;/\s/.test(t.text.charAt(P-1))&&P--;for(var F=null,H=null,$=0;$<s.length;$++){var q=s[$];if(!(q.from>=P||q.to<=w)){var ie=q.level!=1,ce=xn(e,r,ie?Math.min(P,q.to)-1:Math.max(w,q.from)).right,Se=ce<S?S-ce+1e9:ce-S;(!F||H>Se)&&(F=q,H=Se)}}return F||(F=s[s.length-1]),F.from<w&&(F={from:w,to:F.to,level:F.level}),F.to>P&&(F={from:F.from,to:P,level:F.level}),F}var or;function Cr(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(or==null){or=B("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)or.appendChild(document.createTextNode("x")),or.appendChild(B("br"));or.appendChild(document.createTextNode("x"))}z(e.measure,or);var i=or.offsetHeight/50;return i>3&&(e.cachedTextHeight=i),Y(e.measure),i||1}function yr(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=B("span","xxxxxxxxxx"),i=B("pre",[t],"CodeMirror-line-like");z(e.measure,i);var r=t.getBoundingClientRect(),s=(r.right-r.left)/10;return s>2&&(e.cachedCharWidth=s),s||10}function ji(e){for(var t=e.display,i={},r={},s=t.gutters.clientLeft,S=t.gutters.firstChild,y=0;S;S=S.nextSibling,++y){var N=e.display.gutterSpecs[y].className;i[N]=S.offsetLeft+S.clientLeft+s,r[N]=S.clientWidth}return{fixedPos:Ji(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:i,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Ji(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function oo(e){var t=Cr(e.display),i=e.options.lineWrapping,r=i&&Math.max(5,e.display.scroller.clientWidth/yr(e.display)-3);return function(s){if(Wn(e.doc,s))return 0;var S=0;if(s.widgets)for(var y=0;y<s.widgets.length;y++)s.widgets[y].height&&(S+=s.widgets[y].height);return i?S+(Math.ceil(s.text.length/r)||1)*t:S+t}}function ea(e){var t=e.doc,i=oo(e);t.iter(function(r){var s=i(r);s!=r.height&&jt(r,s)})}function sr(e,t,i,r){var s=e.display;if(!i&&nt(t).getAttribute("cm-not-content")=="true")return null;var S,y,N=s.lineSpace.getBoundingClientRect();try{S=t.clientX-N.left,y=t.clientY-N.top}catch(H){return null}var w=Xi(e,S,y),P;if(r&&w.xRel>0&&(P=Ge(e.doc,w.line).text).length==w.ch){var F=le(P,P.length,e.options.tabSize)-P.length;w=me(w.line,Math.max(0,Math.round((S-Ka(e.display).left)/yr(e.display))-F))}return w}function lr(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var i=e.display.view,r=0;r<i.length;r++)if(t-=i[r].size,t<0)return r}function tn(e,t,i,r){t==null&&(t=e.doc.first),i==null&&(i=e.doc.first+e.doc.size),r||(r=0);var s=e.display;if(r&&i<s.viewTo&&(s.updateLineNumbers==null||s.updateLineNumbers>t)&&(s.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=s.viewTo)zt&&Yi(e.doc,t)<s.viewTo&&qn(e);else if(i<=s.viewFrom)zt&&Ua(e.doc,i+r)>s.viewFrom?qn(e):(s.viewFrom+=r,s.viewTo+=r);else if(t<=s.viewFrom&&i>=s.viewTo)qn(e);else if(t<=s.viewFrom){var S=Si(e,i,i+r,1);S?(s.view=s.view.slice(S.index),s.viewFrom=S.lineN,s.viewTo+=r):qn(e)}else if(i>=s.viewTo){var y=Si(e,t,t,-1);y?(s.view=s.view.slice(0,y.index),s.viewTo=y.lineN):qn(e)}else{var N=Si(e,t,t,-1),w=Si(e,i,i+r,1);N&&w?(s.view=s.view.slice(0,N.index).concat(fi(e,N.lineN,w.lineN)).concat(s.view.slice(w.index)),s.viewTo+=r):qn(e)}var P=s.externalMeasured;P&&(i<P.lineN?P.lineN+=r:t<P.lineN+P.size&&(s.externalMeasured=null))}function Vn(e,t,i){e.curOp.viewChanged=!0;var r=e.display,s=e.display.externalMeasured;if(s&&t>=s.lineN&&t<s.lineN+s.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var S=r.view[lr(e,t)];if(S.node!=null){var y=S.changes||(S.changes=[]);we(y,i)==-1&&y.push(i)}}}function qn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Si(e,t,i,r){var s=lr(e,t),S,y=e.display.view;if(!zt||i==e.doc.first+e.doc.size)return{index:s,lineN:i};for(var N=e.display.viewFrom,w=0;w<s;w++)N+=y[w].size;if(N!=t){if(r>0){if(s==y.length-1)return null;S=N+y[s].size-t,s++}else S=N-t;t+=S,i+=S}for(;Yi(e.doc,i)!=i;){if(s==(r<0?0:y.length-1))return null;i+=r*y[s-(r<0?1:0)].size,s+=r}return{index:s,lineN:i}}function tl(e,t,i){var r=e.display,s=r.view;s.length==0||t>=r.viewTo||i<=r.viewFrom?(r.view=fi(e,t,i),r.viewFrom=t):(r.viewFrom>t?r.view=fi(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(lr(e,t))),r.viewFrom=t,r.viewTo<i?r.view=r.view.concat(fi(e,r.viewTo,i)):r.viewTo>i&&(r.view=r.view.slice(0,lr(e,i)))),r.viewTo=i}function so(e){for(var t=e.display.view,i=0,r=0;r<t.length;r++){var s=t[r];!s.hidden&&(!s.node||s.changes)&&++i}return i}function zr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function lo(e,t){t===void 0&&(t=!0);var i=e.doc,r={},s=r.cursors=document.createDocumentFragment(),S=r.selection=document.createDocumentFragment(),y=e.options.$customCursor;y&&(t=!0);for(var N=0;N<i.sel.ranges.length;N++)if(!(!t&&N==i.sel.primIndex)){var w=i.sel.ranges[N];if(!(w.from().line>=e.display.viewTo||w.to().line<e.display.viewFrom)){var P=w.empty();if(y){var F=y(e,w);F&&ta(e,F,s)}else(P||e.options.showCursorWhenSelecting)&&ta(e,w.head,s);P||nl(e,w,S)}}return r}function ta(e,t,i){var r=yn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),s=i.appendChild(B("div","\xA0","CodeMirror-cursor"));if(s.style.left=r.left+"px",s.style.top=r.top+"px",s.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var S=hi(e,t,"div",null,null),y=S.right-S.left;s.style.width=(y>0?y:e.defaultCharWidth())+"px"}if(r.other){var N=i.appendChild(B("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));N.style.display="",N.style.left=r.other.left+"px",N.style.top=r.other.top+"px",N.style.height=(r.other.bottom-r.other.top)*.85+"px"}}function bi(e,t){return e.top-t.top||e.left-t.left}function nl(e,t,i){var r=e.display,s=e.doc,S=document.createDocumentFragment(),y=Ka(e.display),N=y.left,w=Math.max(r.sizerWidth,ar(e)-r.sizer.offsetLeft)-y.right,P=s.direction=="ltr";function F(ye,Me,Xe,$e){Me<0&&(Me=0),Me=Math.round(Me),$e=Math.round($e),S.appendChild(B("div",null,"CodeMirror-selected","position: absolute; left: "+ye+`px;
6
6
  top: `+Me+"px; width: "+(Xe==null?w-ye:Xe)+`px;
7
- height: `+($e-Me)+"px"))}function H(ye,Me,Xe){var $e=Ge(s,ye),lt=$e.text.length,bt,Gt;function Nt(xt,an){return hi(e,me(ye,xt),"div",$e,an)}function dn(xt,an,Wt){var Lt=io(e,$e,null,xt),wt=an=="ltr"==(Wt=="after")?"left":"right",At=Wt=="after"?Lt.begin:Lt.end-(/\s/.test($e.text.charAt(Lt.end-1))?2:1);return Nt(At,wt)[wt]}var rn=te($e,s.direction);return Ze(rn,Me||0,Xe==null?lt:Xe,function(xt,an,Wt,Lt){var wt=Wt=="ltr",At=Nt(xt,wt?"left":"right"),on=Nt(an-1,wt?"right":"left"),Ur=Me==null&&xt==0,jn=Xe==null&&an==lt,qt=Lt==0,wn=!rn||Lt==rn.length-1;if(on.top-At.top<=3){var Yt=(P?Ur:jn)&&qt,Na=(P?jn:Ur)&&wn,Bn=Yt?N:(wt?At:on).left,pr=Na?w:(wt?on:At).right;F(Bn,At.top,pr-Bn,At.bottom)}else{var mr,Qt,Fr,Aa;wt?(mr=P&&Ur&&qt?N:At.left,Qt=P?w:dn(xt,Wt,"before"),Fr=P?N:dn(an,Wt,"after"),Aa=P&&jn&&wn?w:on.right):(mr=P?dn(xt,Wt,"before"):N,Qt=!P&&Ur&&qt?w:At.right,Fr=!P&&jn&&wn?N:on.left,Aa=P?dn(an,Wt,"after"):w),F(mr,At.top,Qt-mr,At.bottom),At.bottom<on.top&&F(N,At.bottom,null,on.top),F(Fr,on.top,Aa-Fr,on.bottom)}(!bt||bi(At,bt)<0)&&(bt=At),bi(on,bt)<0&&(bt=on),(!Gt||bi(At,Gt)<0)&&(Gt=At),bi(on,Gt)<0&&(Gt=on)}),{start:bt,end:Gt}}var $=t.from(),q=t.to();if($.line==q.line)H($.line,$.ch,q.ch);else{var ie=Ge(s,$.line),ce=Ge(s,q.line),Se=Cn(ie)==Cn(ce),Ce=H($.line,$.ch,Se?ie.text.length+1:null).end,Ie=H(q.line,Se?0:null,q.ch).start;Se&&(Ce.top<Ie.top-2?(F(Ce.right,Ce.top,null,Ce.bottom),F(N,Ie.top,Ie.left,Ie.bottom)):F(Ce.right,Ce.top,Ie.left-Ce.right,Ce.bottom)),Ce.bottom<Ie.top&&F(N,Ce.bottom,null,Ie.top)}i.appendChild(S)}function na(e){if(!!e.state.focused){var t=e.display;clearInterval(t.blinker);var i=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||Rr(e),t.cursorDiv.style.visibility=(i=!i)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function lo(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ia(e))}function ra(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Rr(e))},100)}function ia(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(Je(e,"focus",e,t),e.state.focused=!0,fe(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),m&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),na(e))}function Rr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(Je(e,"blur",e,t),e.state.focused=!1,U(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Ti(e){for(var t=e.display,i=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),s=t.lineDiv.getBoundingClientRect().top,S=0,y=0;y<t.view.length;y++){var N=t.view[y],w=e.options.lineWrapping,P=void 0,F=0;if(!N.hidden){if(s+=N.line.height,o&&d<8){var H=N.node.offsetTop+N.node.offsetHeight;P=H-i,i=H}else{var $=N.node.getBoundingClientRect();P=$.bottom-$.top,!w&&N.text.firstChild&&(F=N.text.firstChild.getBoundingClientRect().right-$.left-1)}var q=N.line.height-P;if((q>.005||q<-.005)&&(s<r&&(S-=q),jt(N.line,P),co(N.line),N.rest))for(var ie=0;ie<N.rest.length;ie++)co(N.rest[ie]);if(F>e.display.sizerWidth){var ce=Math.ceil(F/yr(e.display));ce>e.display.maxLineLength&&(e.display.maxLineLength=ce,e.display.maxLine=N.line,e.display.maxLineChanged=!0)}}}Math.abs(S)>2&&(t.scroller.scrollTop+=S)}function co(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var i=e.widgets[t],r=i.node.parentNode;r&&(i.height=r.offsetHeight)}}function vi(e,t,i){var r=i&&i.top!=null?Math.max(0,i.top):e.scroller.scrollTop;r=Math.floor(r-gi(e));var s=i&&i.bottom!=null?i.bottom:r+e.wrapper.clientHeight,S=vn(t,r),y=vn(t,s);if(i&&i.ensure){var N=i.ensure.from.line,w=i.ensure.to.line;N<S?(S=N,y=vn(t,Pn(Ge(t,N))+e.wrapper.clientHeight)):Math.min(w,t.lastLine())>=y&&(S=vn(t,Pn(Ge(t,w))-e.wrapper.clientHeight),y=w)}return{from:S,to:Math.max(y,S+1)}}function rl(e,t){if(!ne(e,"scrollCursorIntoView")){var i=e.display,r=i.sizer.getBoundingClientRect(),s=null,S=i.wrapper.ownerDocument;if(t.top+r.top<0?s=!0:t.bottom+r.top>(S.defaultView.innerHeight||S.documentElement.clientHeight)&&(s=!1),s!=null&&!b){var y=B("div","\u200B",null,`position: absolute;
7
+ height: `+($e-Me)+"px"))}function H(ye,Me,Xe){var $e=Ge(s,ye),lt=$e.text.length,bt,Gt;function Nt(xt,an){return hi(e,me(ye,xt),"div",$e,an)}function dn(xt,an,Wt){var Lt=ao(e,$e,null,xt),wt=an=="ltr"==(Wt=="after")?"left":"right",At=Wt=="after"?Lt.begin:Lt.end-(/\s/.test($e.text.charAt(Lt.end-1))?2:1);return Nt(At,wt)[wt]}var rn=te($e,s.direction);return Ze(rn,Me||0,Xe==null?lt:Xe,function(xt,an,Wt,Lt){var wt=Wt=="ltr",At=Nt(xt,wt?"left":"right"),on=Nt(an-1,wt?"right":"left"),Ur=Me==null&&xt==0,jn=Xe==null&&an==lt,qt=Lt==0,wn=!rn||Lt==rn.length-1;if(on.top-At.top<=3){var Yt=(P?Ur:jn)&&qt,Aa=(P?jn:Ur)&&wn,Bn=Yt?N:(wt?At:on).left,pr=Aa?w:(wt?on:At).right;F(Bn,At.top,pr-Bn,At.bottom)}else{var mr,Qt,Fr,Ia;wt?(mr=P&&Ur&&qt?N:At.left,Qt=P?w:dn(xt,Wt,"before"),Fr=P?N:dn(an,Wt,"after"),Ia=P&&jn&&wn?w:on.right):(mr=P?dn(xt,Wt,"before"):N,Qt=!P&&Ur&&qt?w:At.right,Fr=!P&&jn&&wn?N:on.left,Ia=P?dn(an,Wt,"after"):w),F(mr,At.top,Qt-mr,At.bottom),At.bottom<on.top&&F(N,At.bottom,null,on.top),F(Fr,on.top,Ia-Fr,on.bottom)}(!bt||bi(At,bt)<0)&&(bt=At),bi(on,bt)<0&&(bt=on),(!Gt||bi(At,Gt)<0)&&(Gt=At),bi(on,Gt)<0&&(Gt=on)}),{start:bt,end:Gt}}var $=t.from(),q=t.to();if($.line==q.line)H($.line,$.ch,q.ch);else{var ie=Ge(s,$.line),ce=Ge(s,q.line),Se=Cn(ie)==Cn(ce),Ce=H($.line,$.ch,Se?ie.text.length+1:null).end,Ie=H(q.line,Se?0:null,q.ch).start;Se&&(Ce.top<Ie.top-2?(F(Ce.right,Ce.top,null,Ce.bottom),F(N,Ie.top,Ie.left,Ie.bottom)):F(Ce.right,Ce.top,Ie.left-Ce.right,Ce.bottom)),Ce.bottom<Ie.top&&F(N,Ce.bottom,null,Ie.top)}i.appendChild(S)}function na(e){if(!!e.state.focused){var t=e.display;clearInterval(t.blinker);var i=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||Rr(e),t.cursorDiv.style.visibility=(i=!i)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function co(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ia(e))}function ra(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Rr(e))},100)}function ia(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(Je(e,"focus",e,t),e.state.focused=!0,fe(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),m&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),na(e))}function Rr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(Je(e,"blur",e,t),e.state.focused=!1,U(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Ti(e){for(var t=e.display,i=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),s=t.lineDiv.getBoundingClientRect().top,S=0,y=0;y<t.view.length;y++){var N=t.view[y],w=e.options.lineWrapping,P=void 0,F=0;if(!N.hidden){if(s+=N.line.height,o&&d<8){var H=N.node.offsetTop+N.node.offsetHeight;P=H-i,i=H}else{var $=N.node.getBoundingClientRect();P=$.bottom-$.top,!w&&N.text.firstChild&&(F=N.text.firstChild.getBoundingClientRect().right-$.left-1)}var q=N.line.height-P;if((q>.005||q<-.005)&&(s<r&&(S-=q),jt(N.line,P),uo(N.line),N.rest))for(var ie=0;ie<N.rest.length;ie++)uo(N.rest[ie]);if(F>e.display.sizerWidth){var ce=Math.ceil(F/yr(e.display));ce>e.display.maxLineLength&&(e.display.maxLineLength=ce,e.display.maxLine=N.line,e.display.maxLineChanged=!0)}}}Math.abs(S)>2&&(t.scroller.scrollTop+=S)}function uo(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var i=e.widgets[t],r=i.node.parentNode;r&&(i.height=r.offsetHeight)}}function vi(e,t,i){var r=i&&i.top!=null?Math.max(0,i.top):e.scroller.scrollTop;r=Math.floor(r-gi(e));var s=i&&i.bottom!=null?i.bottom:r+e.wrapper.clientHeight,S=vn(t,r),y=vn(t,s);if(i&&i.ensure){var N=i.ensure.from.line,w=i.ensure.to.line;N<S?(S=N,y=vn(t,Pn(Ge(t,N))+e.wrapper.clientHeight)):Math.min(w,t.lastLine())>=y&&(S=vn(t,Pn(Ge(t,w))-e.wrapper.clientHeight),y=w)}return{from:S,to:Math.max(y,S+1)}}function rl(e,t){if(!ne(e,"scrollCursorIntoView")){var i=e.display,r=i.sizer.getBoundingClientRect(),s=null,S=i.wrapper.ownerDocument;if(t.top+r.top<0?s=!0:t.bottom+r.top>(S.defaultView.innerHeight||S.documentElement.clientHeight)&&(s=!1),s!=null&&!b){var y=B("div","\u200B",null,`position: absolute;
8
8
  top: `+(t.top-i.viewOffset-gi(e.display))+`px;
9
9
  height: `+(t.bottom-t.top+Dn(e)+i.barHeight)+`px;
10
- left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(y),y.scrollIntoView(s),e.display.lineSpace.removeChild(y)}}}function il(e,t,i,r){r==null&&(r=0);var s;!e.options.lineWrapping&&t==i&&(i=t.sticky=="before"?me(t.line,t.ch+1,"before"):t,t=t.ch?me(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var S=0;S<5;S++){var y=!1,N=yn(e,t),w=!i||i==t?N:yn(e,i);s={left:Math.min(N.left,w.left),top:Math.min(N.top,w.top)-r,right:Math.max(N.left,w.left),bottom:Math.max(N.bottom,w.bottom)+r};var P=aa(e,s),F=e.doc.scrollTop,H=e.doc.scrollLeft;if(P.scrollTop!=null&&(Vr(e,P.scrollTop),Math.abs(e.doc.scrollTop-F)>1&&(y=!0)),P.scrollLeft!=null&&(cr(e,P.scrollLeft),Math.abs(e.doc.scrollLeft-H)>1&&(y=!0)),!y)break}return s}function al(e,t){var i=aa(e,t);i.scrollTop!=null&&Vr(e,i.scrollTop),i.scrollLeft!=null&&cr(e,i.scrollLeft)}function aa(e,t){var i=e.display,r=Cr(e.display);t.top<0&&(t.top=0);var s=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:i.scroller.scrollTop,S=qi(e),y={};t.bottom-t.top>S&&(t.bottom=t.top+S);var N=e.doc.height+Vi(i),w=t.top<r,P=t.bottom>N-r;if(t.top<s)y.scrollTop=w?0:t.top;else if(t.bottom>s+S){var F=Math.min(t.top,(P?N:t.bottom)-S);F!=s&&(y.scrollTop=F)}var H=e.options.fixedGutter?0:i.gutters.offsetWidth,$=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:i.scroller.scrollLeft-H,q=ar(e)-i.gutters.offsetWidth,ie=t.right-t.left>q;return ie&&(t.right=t.left+q),t.left<10?y.scrollLeft=0:t.left<$?y.scrollLeft=Math.max(0,t.left+H-(ie?0:10)):t.right>q+$-3&&(y.scrollLeft=t.right+(ie?0:10)-q),y}function oa(e,t){t!=null&&(Ci(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Or(e){Ci(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Wr(e,t,i){(t!=null||i!=null)&&Ci(e),t!=null&&(e.curOp.scrollLeft=t),i!=null&&(e.curOp.scrollTop=i)}function ol(e,t){Ci(e),e.curOp.scrollToPos=t}function Ci(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var i=no(e,t.from),r=no(e,t.to);uo(e,i,r,t.margin)}}function uo(e,t,i,r){var s=aa(e,{left:Math.min(t.left,i.left),top:Math.min(t.top,i.top)-r,right:Math.max(t.right,i.right),bottom:Math.max(t.bottom,i.bottom)+r});Wr(e,s.scrollLeft,s.scrollTop)}function Vr(e,t){Math.abs(e.doc.scrollTop-t)<2||(l||la(e,{top:t}),_o(e,t,!0),l&&la(e),$r(e,100))}function _o(e,t,i){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!i)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function cr(e,t,i,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((i?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r)&&(e.doc.scrollLeft=t,Eo(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function qr(e){var t=e.display,i=t.gutters.offsetWidth,r=Math.round(e.doc.height+Vi(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?i:0,docHeight:r,scrollHeight:r+Dn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:i}}var ur=function(e,t,i){this.cm=i;var r=this.vert=B("div",[B("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),s=this.horiz=B("div",[B("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=s.tabIndex=-1,e(r),e(s),ue(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),ue(s,"scroll",function(){s.clientWidth&&t(s.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,o&&d<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ur.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var s=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+s)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=i?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var S=e.viewWidth-e.barLeft-(i?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+S)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(r==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:i?r:0,bottom:t?r:0}},ur.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ur.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ur.prototype.zeroWidthHack=function(){var e=D&&!C?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new G,this.disableVert=new G},ur.prototype.enableZeroWidthBar=function(e,t,i){e.style.visibility="";function r(){var s=e.getBoundingClientRect(),S=i=="vert"?document.elementFromPoint(s.right-1,(s.top+s.bottom)/2):document.elementFromPoint((s.right+s.left)/2,s.bottom-1);S!=e?e.style.visibility="hidden":t.set(1e3,r)}t.set(1e3,r)},ur.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Kr=function(){};Kr.prototype.update=function(){return{bottom:0,right:0}},Kr.prototype.setScrollLeft=function(){},Kr.prototype.setScrollTop=function(){},Kr.prototype.clear=function(){};function Nr(e,t){t||(t=qr(e));var i=e.display.barWidth,r=e.display.barHeight;po(e,t);for(var s=0;s<4&&i!=e.display.barWidth||r!=e.display.barHeight;s++)i!=e.display.barWidth&&e.options.lineWrapping&&Ti(e),po(e,qr(e)),i=e.display.barWidth,r=e.display.barHeight}function po(e,t){var i=e.display,r=i.scrollbars.update(t);i.sizer.style.paddingRight=(i.barWidth=r.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=r.bottom)+"px",i.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=r.bottom+"px",i.scrollbarFiller.style.width=r.right+"px"):i.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=r.bottom+"px",i.gutterFiller.style.width=t.gutterWidth+"px"):i.gutterFiller.style.display=""}var mo={native:ur,null:Kr};function fo(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&U(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new mo[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ue(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,i){i=="horizontal"?cr(e,t):Vr(e,t)},e),e.display.scrollbars.addClass&&fe(e.display.wrapper,e.display.scrollbars.addClass)}var sl=0;function dr(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++sl,markArrays:null},Fs(e.curOp)}function _r(e){var t=e.curOp;t&&Gs(t,function(i){for(var r=0;r<i.ops.length;r++)i.ops[r].cm.curOp=null;ll(i)})}function ll(e){for(var t=e.ops,i=0;i<t.length;i++)cl(t[i]);for(var r=0;r<t.length;r++)ul(t[r]);for(var s=0;s<t.length;s++)dl(t[s]);for(var S=0;S<t.length;S++)_l(t[S]);for(var y=0;y<t.length;y++)pl(t[y])}function cl(e){var t=e.cm,i=t.display;fl(t),e.updateMaxLine&&zi(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<i.viewFrom||e.scrollToPos.to.line>=i.viewTo)||i.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new yi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function ul(e){e.updatedDisplay=e.mustUpdate&&sa(e.cm,e.update)}function dl(e){var t=e.cm,i=t.display;e.updatedDisplay&&Ti(t),e.barMeasure=qr(t),i.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=$a(t,i.maxLine,i.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+e.adjustWidthTo+Dn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+e.adjustWidthTo-ar(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=i.input.prepareSelection())}function _l(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&cr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var i=e.focus&&e.focus==J(Le(t));e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,i),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Nr(t,e.barMeasure),e.updatedDisplay&&ua(t,e.barMeasure),e.selectionChanged&&na(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),i&&lo(e.cm)}function pl(e){var t=e.cm,i=t.display,r=t.doc;if(e.updatedDisplay&&go(t,e.update),i.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(i.wheelStartX=i.wheelStartY=null),e.scrollTop!=null&&_o(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&cr(t,e.scrollLeft,!0,!0),e.scrollToPos){var s=il(t,qe(r,e.scrollToPos.from),qe(r,e.scrollToPos.to),e.scrollToPos.margin);rl(t,s)}var S=e.maybeHiddenMarkers,y=e.maybeUnhiddenMarkers;if(S)for(var N=0;N<S.length;++N)S[N].lines.length||Je(S[N],"hide");if(y)for(var w=0;w<y.length;++w)y[w].lines.length&&Je(y[w],"unhide");i.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Je(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function un(e,t){if(e.curOp)return t();dr(e);try{return t()}finally{_r(e)}}function Ft(e,t){return function(){if(e.curOp)return t.apply(e,arguments);dr(e);try{return t.apply(e,arguments)}finally{_r(e)}}}function $t(e){return function(){if(this.curOp)return e.apply(this,arguments);dr(this);try{return e.apply(this,arguments)}finally{_r(this)}}}function Bt(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);dr(t);try{return e.apply(this,arguments)}finally{_r(t)}}}function $r(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,Te(ml,e))}function ml(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var i=+new Date+e.options.workTime,r=Ln(e,t.highlightFrontier),s=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(S){if(r.line>=e.display.viewFrom){var y=S.styles,N=S.text.length>e.options.maxHighlightLength?pn(t.mode,r.state):null,w=gr(e,S,r,!0);N&&(r.state=N),S.styles=w.styles;var P=S.styleClasses,F=w.classes;F?S.styleClasses=F:P&&(S.styleClasses=null);for(var H=!y||y.length!=S.styles.length||P!=F&&(!P||!F||P.bgClass!=F.bgClass||P.textClass!=F.textClass),$=0;!H&&$<y.length;++$)H=y[$]!=S.styles[$];H&&s.push(r.line),S.stateAfter=r.save(),r.nextLine()}else S.text.length<=e.options.maxHighlightLength&&An(e,S.text,r),S.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>i)return $r(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),s.length&&un(e,function(){for(var S=0;S<s.length;S++)Vn(e,s[S],"text")})}}var yi=function(e,t,i){var r=e.display;this.viewport=t,this.visible=vi(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=ar(e),this.force=i,this.dims=ji(e),this.events=[]};yi.prototype.signal=function(e,t){W(e,t)&&this.events.push(arguments)},yi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)Je.apply(null,this.events[e])};function fl(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Dn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Dn(e)+"px",t.scrollbarsClipped=!0)}function gl(e){if(e.hasFocus())return null;var t=J(Le(e));if(!t||!Z(e.display.lineDiv,t))return null;var i={activeElt:t};if(window.getSelection){var r=He(e).getSelection();r.anchorNode&&r.extend&&Z(e.display.lineDiv,r.anchorNode)&&(i.anchorNode=r.anchorNode,i.anchorOffset=r.anchorOffset,i.focusNode=r.focusNode,i.focusOffset=r.focusOffset)}return i}function El(e){if(!(!e||!e.activeElt||e.activeElt==J(e.activeElt.ownerDocument))&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Z(document.body,e.anchorNode)&&Z(document.body,e.focusNode))){var t=e.activeElt.ownerDocument,i=t.defaultView.getSelection(),r=t.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),i.removeAllRanges(),i.addRange(r),i.extend(e.focusNode,e.focusOffset)}}function sa(e,t){var i=e.display,r=e.doc;if(t.editorIsHidden)return qn(e),!1;if(!t.force&&t.visible.from>=i.viewFrom&&t.visible.to<=i.viewTo&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&oo(e)==0)return!1;ho(e)&&(qn(e),t.dims=ji(e));var s=r.first+r.size,S=Math.max(t.visible.from-e.options.viewportMargin,r.first),y=Math.min(s,t.visible.to+e.options.viewportMargin);i.viewFrom<S&&S-i.viewFrom<20&&(S=Math.max(r.first,i.viewFrom)),i.viewTo>y&&i.viewTo-y<20&&(y=Math.min(s,i.viewTo)),zt&&(S=Yi(e.doc,S),y=ka(e.doc,y));var N=S!=i.viewFrom||y!=i.viewTo||i.lastWrapHeight!=t.wrapperHeight||i.lastWrapWidth!=t.wrapperWidth;tl(e,S,y),i.viewOffset=Pn(Ge(e.doc,i.viewFrom)),e.display.mover.style.top=i.viewOffset+"px";var w=oo(e);if(!N&&w==0&&!t.force&&i.renderedView==i.view&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo))return!1;var P=gl(e);return w>4&&(i.lineDiv.style.display="none"),hl(e,i.updateLineNumbers,t.dims),w>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,El(P),Y(i.cursorDiv),Y(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,N&&(i.lastWrapHeight=t.wrapperHeight,i.lastWrapWidth=t.wrapperWidth,$r(e,400)),i.updateLineNumbers=null,!0}function go(e,t){for(var i=t.viewport,r=!0;;r=!1){if(!r||!e.options.lineWrapping||t.oldDisplayWidth==ar(e)){if(i&&i.top!=null&&(i={top:Math.min(e.doc.height+Vi(e.display)-qi(e),i.top)}),t.visible=vi(e.display,e.doc,i),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else r&&(t.visible=vi(e.display,e.doc,i));if(!sa(e,t))break;Ti(e);var s=qr(e);zr(e),Nr(e,s),ua(e,s),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function la(e,t){var i=new yi(e,t);if(sa(e,i)){Ti(e),go(e,i);var r=qr(e);zr(e),Nr(e,r),ua(e,r),i.finish()}}function hl(e,t,i){var r=e.display,s=e.options.lineNumbers,S=r.lineDiv,y=S.firstChild;function N(ie){var ce=ie.nextSibling;return m&&D&&e.display.currentWheelTarget==ie?ie.style.display="none":ie.parentNode.removeChild(ie),ce}for(var w=r.view,P=r.viewFrom,F=0;F<w.length;F++){var H=w[F];if(!H.hidden)if(!H.node||H.node.parentNode!=S){var $=Vs(e,H,P,i);S.insertBefore($,y)}else{for(;y!=H.node;)y=N(y);var q=s&&t!=null&&t<=P&&H.lineNumber;H.changes&&(we(H.changes,"gutter")>-1&&(q=!1),Ya(e,H,P,i)),q&&(Y(H.lineNumber),H.lineNumber.appendChild(document.createTextNode(er(e.options,P)))),y=H.node.nextSibling}P+=H.size}for(;y;)y=N(y)}function ca(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Ut(e,"gutterChanged",e)}function ua(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Dn(e)+"px"}function Eo(e){var t=e.display,i=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var r=Ji(t)-t.scroller.scrollLeft+e.doc.scrollLeft,s=t.gutters.offsetWidth,S=r+"px",y=0;y<i.length;y++)if(!i[y].hidden){e.options.fixedGutter&&(i[y].gutter&&(i[y].gutter.style.left=S),i[y].gutterBackground&&(i[y].gutterBackground.style.left=S));var N=i[y].alignable;if(N)for(var w=0;w<N.length;w++)N[w].style.left=S}e.options.fixedGutter&&(t.gutters.style.left=r+s+"px")}}function ho(e){if(!e.options.lineNumbers)return!1;var t=e.doc,i=er(e.options,t.first+t.size-1),r=e.display;if(i.length!=r.lineNumChars){var s=r.measure.appendChild(B("div",[B("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),S=s.firstChild.offsetWidth,y=s.offsetWidth-S;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(S,r.lineGutter.offsetWidth-y)+1,r.lineNumWidth=r.lineNumInnerWidth+y,r.lineNumChars=r.lineNumInnerWidth?i.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",ca(e.display),!0}return!1}function da(e,t){for(var i=[],r=!1,s=0;s<e.length;s++){var S=e[s],y=null;if(typeof S!="string"&&(y=S.style,S=S.className),S=="CodeMirror-linenumbers")if(t)r=!0;else continue;i.push({className:S,style:y})}return t&&!r&&i.push({className:"CodeMirror-linenumbers",style:null}),i}function So(e){var t=e.gutters,i=e.gutterSpecs;Y(t),e.lineGutter=null;for(var r=0;r<i.length;++r){var s=i[r],S=s.className,y=s.style,N=t.appendChild(B("div",null,"CodeMirror-gutter "+S));y&&(N.style.cssText=y),S=="CodeMirror-linenumbers"&&(e.lineGutter=N,N.style.width=(e.lineNumWidth||1)+"px")}t.style.display=i.length?"":"none",ca(e)}function Qr(e){So(e.display),tn(e),Eo(e)}function Sl(e,t,i,r){var s=this;this.input=i,s.scrollbarFiller=B("div",null,"CodeMirror-scrollbar-filler"),s.scrollbarFiller.setAttribute("cm-not-content","true"),s.gutterFiller=B("div",null,"CodeMirror-gutter-filler"),s.gutterFiller.setAttribute("cm-not-content","true"),s.lineDiv=_e("div",null,"CodeMirror-code"),s.selectionDiv=B("div",null,null,"position: relative; z-index: 1"),s.cursorDiv=B("div",null,"CodeMirror-cursors"),s.measure=B("div",null,"CodeMirror-measure"),s.lineMeasure=B("div",null,"CodeMirror-measure"),s.lineSpace=_e("div",[s.measure,s.lineMeasure,s.selectionDiv,s.cursorDiv,s.lineDiv],null,"position: relative; outline: none");var S=_e("div",[s.lineSpace],"CodeMirror-lines");s.mover=B("div",[S],null,"position: relative"),s.sizer=B("div",[s.mover],"CodeMirror-sizer"),s.sizerWidth=null,s.heightForcer=B("div",null,null,"position: absolute; height: "+tt+"px; width: 1px;"),s.gutters=B("div",null,"CodeMirror-gutters"),s.lineGutter=null,s.scroller=B("div",[s.sizer,s.heightForcer,s.gutters],"CodeMirror-scroll"),s.scroller.setAttribute("tabIndex","-1"),s.wrapper=B("div",[s.scrollbarFiller,s.gutterFiller,s.scroller],"CodeMirror"),s.wrapper.setAttribute("translate","no"),o&&d<8&&(s.gutters.style.zIndex=-1,s.scroller.style.paddingRight=0),!m&&!(l&&O)&&(s.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(s.wrapper):e(s.wrapper)),s.viewFrom=s.viewTo=t.first,s.reportedViewFrom=s.reportedViewTo=t.first,s.view=[],s.renderedView=null,s.externalMeasured=null,s.viewOffset=0,s.lastWrapHeight=s.lastWrapWidth=0,s.updateLineNumbers=null,s.nativeBarWidth=s.barHeight=s.barWidth=0,s.scrollbarsClipped=!1,s.lineNumWidth=s.lineNumInnerWidth=s.lineNumChars=null,s.alignWidgets=!1,s.cachedCharWidth=s.cachedTextHeight=s.cachedPaddingH=null,s.maxLine=null,s.maxLineLength=0,s.maxLineChanged=!1,s.wheelDX=s.wheelDY=s.wheelStartX=s.wheelStartY=null,s.shift=!1,s.selForContextMenu=null,s.activeTouch=null,s.gutterSpecs=da(r.gutters,r.lineNumbers),So(s),i.init(s)}var Ri=0,Un=null;o?Un=-.53:l?Un=15:p?Un=-.7:h&&(Un=-1/3);function bo(e){var t=e.wheelDeltaX,i=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),i==null&&e.detail&&e.axis==e.VERTICAL_AXIS?i=e.detail:i==null&&(i=e.wheelDelta),{x:t,y:i}}function bl(e){var t=bo(e);return t.x*=Un,t.y*=Un,t}function To(e,t){p&&f==102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var i=bo(t),r=i.x,s=i.y,S=Un;t.deltaMode===0&&(r=t.deltaX,s=t.deltaY,S=1);var y=e.display,N=y.scroller,w=N.scrollWidth>N.clientWidth,P=N.scrollHeight>N.clientHeight;if(!!(r&&w||s&&P)){if(s&&D&&m){e:for(var F=t.target,H=y.view;F!=N;F=F.parentNode)for(var $=0;$<H.length;$++)if(H[$].node==F){e.display.currentWheelTarget=F;break e}}if(r&&!l&&!_&&S!=null){s&&P&&Vr(e,Math.max(0,N.scrollTop+s*S)),cr(e,Math.max(0,N.scrollLeft+r*S)),(!s||s&&P)&&oe(t),y.wheelStartX=null;return}if(s&&S!=null){var q=s*S,ie=e.doc.scrollTop,ce=ie+y.wrapper.clientHeight;q<0?ie=Math.max(0,ie+q-50):ce=Math.min(e.doc.height,ce+q+50),la(e,{top:ie,bottom:ce})}Ri<20&&t.deltaMode!==0&&(y.wheelStartX==null?(y.wheelStartX=N.scrollLeft,y.wheelStartY=N.scrollTop,y.wheelDX=r,y.wheelDY=s,setTimeout(function(){if(y.wheelStartX!=null){var Se=N.scrollLeft-y.wheelStartX,Ce=N.scrollTop-y.wheelStartY,Ie=Ce&&y.wheelDY&&Ce/y.wheelDY||Se&&y.wheelDX&&Se/y.wheelDX;y.wheelStartX=y.wheelStartY=null,Ie&&(Un=(Un*Ri+Ie)/(Ri+1),++Ri)}},200)):(y.wheelDX+=r,y.wheelDY+=s))}}var mn=function(e,t){this.ranges=e,this.primIndex=t};mn.prototype.primary=function(){return this.ranges[this.primIndex]},mn.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var i=this.ranges[t],r=e.ranges[t];if(!Ye(i.anchor,r.anchor)||!Ye(i.head,r.head))return!1}return!0},mn.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Et(dt(this.ranges[t].anchor),dt(this.ranges[t].head));return new mn(e,this.primIndex)},mn.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},mn.prototype.contains=function(e,t){t||(t=e);for(var i=0;i<this.ranges.length;i++){var r=this.ranges[i];if(re(t,r.from())>=0&&re(e,r.to())<=0)return i}return-1};var Et=function(e,t){this.anchor=e,this.head=t};Et.prototype.from=function(){return Ct(this.anchor,this.head)},Et.prototype.to=function(){return ft(this.anchor,this.head)},Et.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Rn(e,t,i){var r=e&&e.options.selectionsMayTouch,s=t[i];t.sort(function($,q){return re($.from(),q.from())}),i=we(t,s);for(var S=1;S<t.length;S++){var y=t[S],N=t[S-1],w=re(N.to(),y.from());if(r&&!y.empty()?w>0:w>=0){var P=Ct(N.from(),y.from()),F=ft(N.to(),y.to()),H=N.empty()?y.from()==y.head:N.from()==N.head;S<=i&&--i,t.splice(--S,2,new Et(H?F:P,H?P:F))}}return new mn(t,i)}function Kn(e,t){return new mn([new Et(e,t||e)],0)}function $n(e){return e.text?me(e.from.line+e.text.length-1,Ae(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function vo(e,t){if(re(e,t.from)<0)return e;if(re(e,t.to)<=0)return $n(t);var i=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=$n(t).ch-t.to.ch),me(i,r)}function _a(e,t){for(var i=[],r=0;r<e.sel.ranges.length;r++){var s=e.sel.ranges[r];i.push(new Et(vo(s.anchor,t),vo(s.head,t)))}return Rn(e.cm,i,e.sel.primIndex)}function Co(e,t,i){return e.line==t.line?me(i.line,e.ch-t.ch+i.ch):me(i.line+(e.line-t.line),e.ch)}function Tl(e,t,i){for(var r=[],s=me(e.first,0),S=s,y=0;y<t.length;y++){var N=t[y],w=Co(N.from,s,S),P=Co($n(N),s,S);if(s=N.to,S=P,i=="around"){var F=e.sel.ranges[y],H=re(F.head,F.anchor)<0;r[y]=new Et(H?P:w,H?w:P)}else r[y]=new Et(w,w)}return new mn(r,e.sel.primIndex)}function pa(e){e.doc.mode=Nn(e.options,e.doc.modeOption),Xr(e)}function Xr(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,$r(e,100),e.state.modeGen++,e.curOp&&tn(e)}function yo(e,t){return t.from.ch==0&&t.to.ch==0&&Ae(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function ma(e,t,i,r){function s(Ie){return i?i[Ie]:null}function S(Ie,ye,Me){Is(Ie,ye,Me,r),Ut(Ie,"change",Ie,t)}function y(Ie,ye){for(var Me=[],Xe=Ie;Xe<ye;++Xe)Me.push(new br(P[Xe],s(Xe),r));return Me}var N=t.from,w=t.to,P=t.text,F=Ge(e,N.line),H=Ge(e,w.line),$=Ae(P),q=s(P.length-1),ie=w.line-N.line;if(t.full)e.insert(0,y(0,P.length)),e.remove(P.length,e.size-P.length);else if(yo(e,t)){var ce=y(0,P.length-1);S(H,H.text,q),ie&&e.remove(N.line,ie),ce.length&&e.insert(N.line,ce)}else if(F==H)if(P.length==1)S(F,F.text.slice(0,N.ch)+$+F.text.slice(w.ch),q);else{var Se=y(1,P.length-1);Se.push(new br($+F.text.slice(w.ch),q,r)),S(F,F.text.slice(0,N.ch)+P[0],s(0)),e.insert(N.line+1,Se)}else if(P.length==1)S(F,F.text.slice(0,N.ch)+P[0]+H.text.slice(w.ch),s(0)),e.remove(N.line+1,ie);else{S(F,F.text.slice(0,N.ch)+P[0],s(0)),S(H,$+H.text.slice(w.ch),q);var Ce=y(1,P.length-1);ie>1&&e.remove(N.line+1,ie-1),e.insert(N.line+1,Ce)}Ut(e,"change",e,t)}function Qn(e,t,i){function r(s,S,y){if(s.linked)for(var N=0;N<s.linked.length;++N){var w=s.linked[N];if(w.doc!=S){var P=y&&w.sharedHist;i&&!P||(t(w.doc,P),r(w.doc,s,P))}}}r(e,null,!0)}function Ro(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ea(e),pa(e),Oo(e),e.options.direction=t.direction,e.options.lineWrapping||zi(e),e.options.mode=t.modeOption,tn(e)}function Oo(e){(e.doc.direction=="rtl"?fe:U)(e.display.lineDiv,"CodeMirror-rtl")}function vl(e){un(e,function(){Oo(e),tn(e)})}function Oi(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function fa(e,t){var i={from:dt(t.from),to:$n(t),text:Pt(e,t.from,t.to)};return Io(e,i,t.from.line,t.to.line+1),Qn(e,function(r){return Io(r,i,t.from.line,t.to.line+1)},!0),i}function No(e){for(;e.length;){var t=Ae(e);if(t.ranges)e.pop();else break}}function Cl(e,t){if(t)return No(e.done),Ae(e.done);if(e.done.length&&!Ae(e.done).ranges)return Ae(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Ae(e.done)}function Ao(e,t,i,r){var s=e.history;s.undone.length=0;var S=+new Date,y,N;if((s.lastOp==r||s.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&s.lastModTime>S-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(y=Cl(s,s.lastOp==r)))N=Ae(y.changes),re(t.from,t.to)==0&&re(t.from,N.to)==0?N.to=$n(t):y.changes.push(fa(e,t));else{var w=Ae(s.done);for((!w||!w.ranges)&&Ni(e.sel,s.done),y={changes:[fa(e,t)],generation:s.generation},s.done.push(y);s.done.length>s.undoDepth;)s.done.shift(),s.done[0].ranges||s.done.shift()}s.done.push(i),s.generation=++s.maxGeneration,s.lastModTime=s.lastSelTime=S,s.lastOp=s.lastSelOp=r,s.lastOrigin=s.lastSelOrigin=t.origin,N||Je(e,"historyAdded")}function yl(e,t,i,r){var s=t.charAt(0);return s=="*"||s=="+"&&i.ranges.length==r.ranges.length&&i.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Rl(e,t,i,r){var s=e.history,S=r&&r.origin;i==s.lastSelOp||S&&s.lastSelOrigin==S&&(s.lastModTime==s.lastSelTime&&s.lastOrigin==S||yl(e,S,Ae(s.done),t))?s.done[s.done.length-1]=t:Ni(t,s.done),s.lastSelTime=+new Date,s.lastSelOrigin=S,s.lastSelOp=i,r&&r.clearRedo!==!1&&No(s.undone)}function Ni(e,t){var i=Ae(t);i&&i.ranges&&i.equals(e)||t.push(e)}function Io(e,t,i,r){var s=t["spans_"+e.id],S=0;e.iter(Math.max(e.first,i),Math.min(e.first+e.size,r),function(y){y.markedSpans&&((s||(s=t["spans_"+e.id]={}))[S]=y.markedSpans),++S})}function Ol(e){if(!e)return null;for(var t,i=0;i<e.length;++i)e[i].marker.explicitlyCleared?t||(t=e.slice(0,i)):t&&t.push(e[i]);return t?t.length?t:null:e}function Nl(e,t){var i=t["spans_"+e.id];if(!i)return null;for(var r=[],s=0;s<t.text.length;++s)r.push(Ol(i[s]));return r}function Do(e,t){var i=Nl(e,t),r=Sr(e,t);if(!i)return r;if(!r)return i;for(var s=0;s<i.length;++s){var S=i[s],y=r[s];if(S&&y){e:for(var N=0;N<y.length;++N){for(var w=y[N],P=0;P<S.length;++P)if(S[P].marker==w.marker)continue e;S.push(w)}}else y&&(i[s]=y)}return i}function Ar(e,t,i){for(var r=[],s=0;s<e.length;++s){var S=e[s];if(S.ranges){r.push(i?mn.prototype.deepCopy.call(S):S);continue}var y=S.changes,N=[];r.push({changes:N});for(var w=0;w<y.length;++w){var P=y[w],F=void 0;if(N.push({from:P.from,to:P.to,text:P.text}),t)for(var H in P)(F=H.match(/^spans_(\d+)$/))&&we(t,Number(F[1]))>-1&&(Ae(N)[H]=P[H],delete P[H])}}return r}function ga(e,t,i,r){if(r){var s=e.anchor;if(i){var S=re(t,s)<0;S!=re(i,s)<0?(s=t,t=i):S!=re(t,i)<0&&(t=i)}return new Et(s,t)}else return new Et(i||t,t)}function Ai(e,t,i,r,s){s==null&&(s=e.cm&&(e.cm.display.shift||e.extend)),Vt(e,new mn([ga(e.sel.primary(),t,i,s)],0),r)}function xo(e,t,i){for(var r=[],s=e.cm&&(e.cm.display.shift||e.extend),S=0;S<e.sel.ranges.length;S++)r[S]=ga(e.sel.ranges[S],t[S],null,s);var y=Rn(e.cm,r,e.sel.primIndex);Vt(e,y,i)}function Ea(e,t,i,r){var s=e.sel.ranges.slice(0);s[t]=i,Vt(e,Rn(e.cm,s,e.sel.primIndex),r)}function wo(e,t,i,r){Vt(e,Kn(t,i),r)}function Al(e,t,i){var r={ranges:t.ranges,update:function(s){this.ranges=[];for(var S=0;S<s.length;S++)this.ranges[S]=new Et(qe(e,s[S].anchor),qe(e,s[S].head))},origin:i&&i.origin};return Je(e,"beforeSelectionChange",e,r),e.cm&&Je(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?Rn(e.cm,r.ranges,r.ranges.length-1):t}function Mo(e,t,i){var r=e.history.done,s=Ae(r);s&&s.ranges?(r[r.length-1]=t,Ii(e,t,i)):Vt(e,t,i)}function Vt(e,t,i){Ii(e,t,i),Rl(e,e.sel,e.cm?e.cm.curOp.id:NaN,i)}function Ii(e,t,i){(W(e,"beforeSelectionChange")||e.cm&&W(e.cm,"beforeSelectionChange"))&&(t=Al(e,t,i));var r=i&&i.bias||(re(t.primary().head,e.sel.primary().head)<0?-1:1);Lo(e,ko(e,t,r,!0)),!(i&&i.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&Or(e.cm)}function Lo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Pe(e.cm)),Ut(e,"cursorActivity",e))}function Po(e){Lo(e,ko(e,e.sel,null,!1))}function ko(e,t,i,r){for(var s,S=0;S<t.ranges.length;S++){var y=t.ranges[S],N=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[S],w=Di(e,y.anchor,N&&N.anchor,i,r),P=y.head==y.anchor?w:Di(e,y.head,N&&N.head,i,r);(s||w!=y.anchor||P!=y.head)&&(s||(s=t.ranges.slice(0,S)),s[S]=new Et(w,P))}return s?Rn(e.cm,s,t.primIndex):t}function Ir(e,t,i,r,s){var S=Ge(e,t.line);if(S.markedSpans)for(var y=0;y<S.markedSpans.length;++y){var N=S.markedSpans[y],w=N.marker,P="selectLeft"in w?!w.selectLeft:w.inclusiveLeft,F="selectRight"in w?!w.selectRight:w.inclusiveRight;if((N.from==null||(P?N.from<=t.ch:N.from<t.ch))&&(N.to==null||(F?N.to>=t.ch:N.to>t.ch))){if(s&&(Je(w,"beforeCursorEnter"),w.explicitlyCleared))if(S.markedSpans){--y;continue}else break;if(!w.atomic)continue;if(i){var H=w.find(r<0?1:-1),$=void 0;if((r<0?F:P)&&(H=Uo(e,H,-r,H&&H.line==t.line?S:null)),H&&H.line==t.line&&($=re(H,i))&&(r<0?$<0:$>0))return Ir(e,H,t,r,s)}var q=w.find(r<0?-1:1);return(r<0?P:F)&&(q=Uo(e,q,r,q.line==t.line?S:null)),q?Ir(e,q,t,r,s):null}}return t}function Di(e,t,i,r,s){var S=r||1,y=Ir(e,t,i,S,s)||!s&&Ir(e,t,i,S,!0)||Ir(e,t,i,-S,s)||!s&&Ir(e,t,i,-S,!0);return y||(e.cantEdit=!0,me(e.first,0))}function Uo(e,t,i,r){return i<0&&t.ch==0?t.line>e.first?qe(e,me(t.line-1)):null:i>0&&t.ch==(r||Ge(e,t.line)).text.length?t.line<e.first+e.size-1?me(t.line+1,0):null:new me(t.line,t.ch+i)}function Fo(e){e.setSelection(me(e.firstLine(),0),me(e.lastLine()),ct)}function Bo(e,t,i){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return i&&(r.update=function(s,S,y,N){s&&(r.from=qe(e,s)),S&&(r.to=qe(e,S)),y&&(r.text=y),N!==void 0&&(r.origin=N)}),Je(e,"beforeChange",e,r),e.cm&&Je(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Dr(e,t,i){if(e.cm){if(!e.cm.curOp)return Ft(e.cm,Dr)(e,t,i);if(e.cm.state.suppressEdits)return}if(!((W(e,"beforeChange")||e.cm&&W(e.cm,"beforeChange"))&&(t=Bo(e,t,!0),!t))){var r=In&&!i&&Rs(e,t.from,t.to);if(r)for(var s=r.length-1;s>=0;--s)Go(e,{from:r[s].from,to:r[s].to,text:s?[""]:t.text,origin:t.origin});else Go(e,t)}}function Go(e,t){if(!(t.text.length==1&&t.text[0]==""&&re(t.from,t.to)==0)){var i=_a(e,t);Ao(e,t,i,e.cm?e.cm.curOp.id:NaN),Zr(e,t,i,Sr(e,t));var r=[];Qn(e,function(s,S){!S&&we(r,s.history)==-1&&(Wo(s.history,t),r.push(s.history)),Zr(s,t,null,Sr(s,t))})}}function xi(e,t,i){var r=e.cm&&e.cm.state.suppressEdits;if(!(r&&!i)){for(var s=e.history,S,y=e.sel,N=t=="undo"?s.done:s.undone,w=t=="undo"?s.undone:s.done,P=0;P<N.length&&(S=N[P],!(i?S.ranges&&!S.equals(e.sel):!S.ranges));P++);if(P!=N.length){for(s.lastOrigin=s.lastSelOrigin=null;;)if(S=N.pop(),S.ranges){if(Ni(S,w),i&&!S.equals(e.sel)){Vt(e,S,{clearRedo:!1});return}y=S}else if(r){N.push(S);return}else break;var F=[];Ni(y,w),w.push({changes:F,generation:s.generation}),s.generation=S.generation||++s.maxGeneration;for(var H=W(e,"beforeChange")||e.cm&&W(e.cm,"beforeChange"),$=function(ce){var Se=S.changes[ce];if(Se.origin=t,H&&!Bo(e,Se,!1))return N.length=0,{};F.push(fa(e,Se));var Ce=ce?_a(e,Se):Ae(N);Zr(e,Se,Ce,Do(e,Se)),!ce&&e.cm&&e.cm.scrollIntoView({from:Se.from,to:$n(Se)});var Ie=[];Qn(e,function(ye,Me){!Me&&we(Ie,ye.history)==-1&&(Wo(ye.history,Se),Ie.push(ye.history)),Zr(ye,Se,null,Do(ye,Se))})},q=S.changes.length-1;q>=0;--q){var ie=$(q);if(ie)return ie.v}}}}function Yo(e,t){if(t!=0&&(e.first+=t,e.sel=new mn(St(e.sel.ranges,function(s){return new Et(me(s.anchor.line+t,s.anchor.ch),me(s.head.line+t,s.head.ch))}),e.sel.primIndex),e.cm)){tn(e.cm,e.first,e.first-t,t);for(var i=e.cm.display,r=i.viewFrom;r<i.viewTo;r++)Vn(e.cm,r,"gutter")}}function Zr(e,t,i,r){if(e.cm&&!e.cm.curOp)return Ft(e.cm,Zr)(e,t,i,r);if(t.to.line<e.first){Yo(e,t.text.length-1-(t.to.line-t.from.line));return}if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var s=t.text.length-1-(e.first-t.from.line);Yo(e,s),t={from:me(e.first,0),to:me(t.to.line+s,t.to.ch),text:[Ae(t.text)],origin:t.origin}}var S=e.lastLine();t.to.line>S&&(t={from:t.from,to:me(S,Ge(e,S).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Pt(e,t.from,t.to),i||(i=_a(e,t)),e.cm?Il(e.cm,t,r):ma(e,t,r),Ii(e,i,ct),e.cantEdit&&Di(e,me(e.firstLine(),0))&&(e.cantEdit=!1)}}function Il(e,t,i){var r=e.doc,s=e.display,S=t.from,y=t.to,N=!1,w=S.line;e.options.lineWrapping||(w=mt(Cn(Ge(r,S.line))),r.iter(w,y.line+1,function(q){if(q==s.maxLine)return N=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Pe(e),ma(r,t,i,ao(e)),e.options.lineWrapping||(r.iter(w,S.line+t.text.length,function(q){var ie=mi(q);ie>s.maxLineLength&&(s.maxLine=q,s.maxLineLength=ie,s.maxLineChanged=!0,N=!1)}),N&&(e.curOp.updateMaxLine=!0)),yt(r,S.line),$r(e,400);var P=t.text.length-(y.line-S.line)-1;t.full?tn(e):S.line==y.line&&t.text.length==1&&!yo(e.doc,t)?Vn(e,S.line,"text"):tn(e,S.line,y.line+1,P);var F=W(e,"changes"),H=W(e,"change");if(H||F){var $={from:S,to:y,text:t.text,removed:t.removed,origin:t.origin};H&&Ut(e,"change",e,$),F&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push($)}e.display.selForContextMenu=null}function xr(e,t,i,r,s){var S;r||(r=i),re(r,i)<0&&(S=[r,i],i=S[0],r=S[1]),typeof t=="string"&&(t=e.splitLines(t)),Dr(e,{from:i,to:r,text:t,origin:s})}function Ho(e,t,i,r){i<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function zo(e,t,i,r){for(var s=0;s<e.length;++s){var S=e[s],y=!0;if(S.ranges){S.copied||(S=e[s]=S.deepCopy(),S.copied=!0);for(var N=0;N<S.ranges.length;N++)Ho(S.ranges[N].anchor,t,i,r),Ho(S.ranges[N].head,t,i,r);continue}for(var w=0;w<S.changes.length;++w){var P=S.changes[w];if(i<P.from.line)P.from=me(P.from.line+r,P.from.ch),P.to=me(P.to.line+r,P.to.ch);else if(t<=P.to.line){y=!1;break}}y||(e.splice(0,s+1),s=0)}}function Wo(e,t){var i=t.from.line,r=t.to.line,s=t.text.length-(r-i)-1;zo(e.done,i,r,s),zo(e.undone,i,r,s)}function jr(e,t,i,r){var s=t,S=t;return typeof t=="number"?S=Ge(e,Sn(e,t)):s=mt(t),s==null?null:(r(S,s)&&e.cm&&Vn(e.cm,s,i),S)}function Jr(e){this.lines=e,this.parent=null;for(var t=0,i=0;i<e.length;++i)e[i].parent=this,t+=e[i].height;this.height=t}Jr.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var i=e,r=e+t;i<r;++i){var s=this.lines[i];this.height-=s.height,Ds(s),Ut(s,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,i){this.height+=i,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,i){for(var r=e+t;e<r;++e)if(i(this.lines[e]))return!0}};function ei(e){this.children=e;for(var t=0,i=0,r=0;r<e.length;++r){var s=e[r];t+=s.chunkSize(),i+=s.height,s.parent=this}this.size=t,this.height=i,this.parent=null}ei.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var i=0;i<this.children.length;++i){var r=this.children[i],s=r.chunkSize();if(e<s){var S=Math.min(t,s-e),y=r.height;if(r.removeInner(e,S),this.height-=y-r.height,s==S&&(this.children.splice(i--,1),r.parent=null),(t-=S)==0)break;e=0}else e-=s}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Jr))){var N=[];this.collapse(N),this.children=[new Jr(N)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,i){this.size+=t.length,this.height+=i;for(var r=0;r<this.children.length;++r){var s=this.children[r],S=s.chunkSize();if(e<=S){if(s.insertInner(e,t,i),s.lines&&s.lines.length>50){for(var y=s.lines.length%25+25,N=y;N<s.lines.length;){var w=new Jr(s.lines.slice(N,N+=25));s.height-=w.height,this.children.splice(++r,0,w),w.parent=this}s.lines=s.lines.slice(0,y),this.maybeSpill()}break}e-=S}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),i=new ei(t);if(e.parent){e.size-=i.size,e.height-=i.height;var s=we(e.parent.children,e);e.parent.children.splice(s+1,0,i)}else{var r=new ei(e.children);r.parent=e,e.children=[r,i],e=r}i.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,i){for(var r=0;r<this.children.length;++r){var s=this.children[r],S=s.chunkSize();if(e<S){var y=Math.min(t,S-e);if(s.iterN(e,y,i))return!0;if((t-=y)==0)break;e=0}else e-=S}}};var ti=function(e,t,i){if(i)for(var r in i)i.hasOwnProperty(r)&&(this[r]=i[r]);this.doc=e,this.node=t};ti.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,i=this.line,r=mt(i);if(!(r==null||!t)){for(var s=0;s<t.length;++s)t[s]==this&&t.splice(s--,1);t.length||(i.widgets=null);var S=Yr(this);jt(i,Math.max(0,i.height-S)),e&&(un(e,function(){Vo(e,i,-S),Vn(e,r,"widget")}),Ut(e,"lineWidgetCleared",e,this,r))}},ti.prototype.changed=function(){var e=this,t=this.height,i=this.doc.cm,r=this.line;this.height=null;var s=Yr(this)-t;!s||(Wn(this.doc,r)||jt(r,r.height+s),i&&un(i,function(){i.curOp.forceUpdate=!0,Vo(i,r,s),Ut(i,"lineWidgetChanged",i,e,mt(r))}))},X(ti);function Vo(e,t,i){Pn(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&oa(e,i)}function Dl(e,t,i,r){var s=new ti(e,i,r),S=e.cm;return S&&s.noHScroll&&(S.display.alignWidgets=!0),jr(e,t,"widget",function(y){var N=y.widgets||(y.widgets=[]);if(s.insertAt==null?N.push(s):N.splice(Math.min(N.length,Math.max(0,s.insertAt)),0,s),s.line=y,S&&!Wn(e,y)){var w=Pn(y)<e.scrollTop;jt(y,y.height+Yr(s)),w&&oa(S,s.height),S.curOp.forceUpdate=!0}return!0}),S&&Ut(S,"lineWidgetAdded",S,s,typeof t=="number"?t:mt(t)),s}var qo=0,Xn=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++qo};Xn.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&dr(e),W(this,"clear")){var i=this.find();i&&Ut(this,"clear",i.from,i.to)}for(var r=null,s=null,S=0;S<this.lines.length;++S){var y=this.lines[S],N=Ke(y.markedSpans,this);e&&!this.collapsed?Vn(e,mt(y),"text"):e&&(N.to!=null&&(s=mt(y)),N.from!=null&&(r=mt(y))),y.markedSpans=st(y.markedSpans,N),N.from==null&&this.collapsed&&!Wn(this.doc,y)&&e&&jt(y,Cr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var w=0;w<this.lines.length;++w){var P=Cn(this.lines[w]),F=mi(P);F>e.display.maxLineLength&&(e.display.maxLine=P,e.display.maxLineLength=F,e.display.maxLineChanged=!0)}r!=null&&e&&this.collapsed&&tn(e,r,s+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Po(e.doc)),e&&Ut(e,"markerCleared",e,this,r,s),t&&_r(e),this.parent&&this.parent.clear()}},Xn.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var i,r,s=0;s<this.lines.length;++s){var S=this.lines[s],y=Ke(S.markedSpans,this);if(y.from!=null&&(i=me(t?S:mt(S),y.from),e==-1))return i;if(y.to!=null&&(r=me(t?S:mt(S),y.to),e==1))return r}return i&&{from:i,to:r}},Xn.prototype.changed=function(){var e=this,t=this.find(-1,!0),i=this,r=this.doc.cm;!t||!r||un(r,function(){var s=t.line,S=mt(t.line),y=Ki(r,S);if(y&&(Za(y),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!Wn(i.doc,s)&&i.height!=null){var N=i.height;i.height=null;var w=Yr(i)-N;w&&jt(s,s.height+w)}Ut(r,"markerChanged",r,e)})},Xn.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||we(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Xn.prototype.detachLine=function(e){if(this.lines.splice(we(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},X(Xn);function wr(e,t,i,r,s){if(r&&r.shared)return xl(e,t,i,r,s);if(e.cm&&!e.cm.curOp)return Ft(e.cm,wr)(e,t,i,r,s);var S=new Xn(e,s),y=re(t,i);if(r&&et(r,S,!1),y>0||y==0&&S.clearWhenEmpty!==!1)return S;if(S.replacedWith&&(S.collapsed=!0,S.widgetNode=_e("span",[S.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||S.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(S.widgetNode.insertLeft=!0)),S.collapsed){if(Pa(e,t.line,t,i,S)||t.line!=i.line&&Pa(e,i.line,t,i,S))throw new Error("Inserting collapsed marker partially overlapping an existing one");zn()}S.addToHistory&&Ao(e,{from:t,to:i,origin:"markText"},e.sel,NaN);var N=t.line,w=e.cm,P;if(e.iter(N,i.line+1,function(H){w&&S.collapsed&&!w.options.lineWrapping&&Cn(H)==w.display.maxLine&&(P=!0),S.collapsed&&N!=t.line&&jt(H,0),gt(H,new Ue(S,N==t.line?t.ch:null,N==i.line?i.ch:null),e.cm&&e.cm.curOp),++N}),S.collapsed&&e.iter(t.line,i.line+1,function(H){Wn(e,H)&&jt(H,0)}),S.clearOnEnter&&ue(S,"beforeCursorEnter",function(){return S.clear()}),S.readOnly&&(rr(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),S.collapsed&&(S.id=++qo,S.atomic=!0),w){if(P&&(w.curOp.updateMaxLine=!0),S.collapsed)tn(w,t.line,i.line+1);else if(S.className||S.startStyle||S.endStyle||S.css||S.attributes||S.title)for(var F=t.line;F<=i.line;F++)Vn(w,F,"text");S.atomic&&Po(w.doc),Ut(w,"markerAdded",w,S)}return S}var ni=function(e,t){this.markers=e,this.primary=t;for(var i=0;i<e.length;++i)e[i].parent=this};ni.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Ut(this,"clear")}},ni.prototype.find=function(e,t){return this.primary.find(e,t)},X(ni);function xl(e,t,i,r,s){r=et(r),r.shared=!1;var S=[wr(e,t,i,r,s)],y=S[0],N=r.widgetNode;return Qn(e,function(w){N&&(r.widgetNode=N.cloneNode(!0)),S.push(wr(w,qe(w,t),qe(w,i),r,s));for(var P=0;P<w.linked.length;++P)if(w.linked[P].isParent)return;y=Ae(S)}),new ni(S,y)}function Ko(e){return e.findMarks(me(e.first,0),e.clipPos(me(e.lastLine())),function(t){return t.parent})}function wl(e,t){for(var i=0;i<t.length;i++){var r=t[i],s=r.find(),S=e.clipPos(s.from),y=e.clipPos(s.to);if(re(S,y)){var N=wr(e,S,y,r.primary,r.primary.type);r.markers.push(N),N.parent=r}}}function Ml(e){for(var t=function(r){var s=e[r],S=[s.primary.doc];Qn(s.primary.doc,function(w){return S.push(w)});for(var y=0;y<s.markers.length;y++){var N=s.markers[y];we(S,N.doc)==-1&&(N.parent=null,s.markers.splice(y--,1))}},i=0;i<e.length;i++)t(i)}var Ll=0,nn=function(e,t,i,r,s){if(!(this instanceof nn))return new nn(e,t,i,r,s);i==null&&(i=0),ei.call(this,[new Jr([new br("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;var S=me(i,0);this.sel=Kn(S),this.history=new Oi(null),this.id=++Ll,this.modeOption=t,this.lineSep=r,this.direction=s=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),ma(this,{from:S,to:S,text:e}),Vt(this,Kn(S),ct)};nn.prototype=K(ei.prototype,{constructor:nn,iter:function(e,t,i){i?this.iterN(e-this.first,t-e,i):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var i=0,r=0;r<t.length;++r)i+=t[r].height;this.insertInner(e-this.first,t,i)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Yn(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:Bt(function(e){var t=me(this.first,0),i=this.first+this.size-1;Dr(this,{from:t,to:me(i,Ge(this,i).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Wr(this.cm,0,0),Vt(this,Kn(t),ct)}),replaceRange:function(e,t,i,r){t=qe(this,t),i=i?qe(this,i):t,xr(this,e,t,i,r)},getRange:function(e,t,i){var r=Pt(this,qe(this,e),qe(this,t));return i===!1?r:i===""?r.join(""):r.join(i||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(hn(this,e))return Ge(this,e)},getLineNumber:function(e){return mt(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Ge(this,e)),Cn(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return qe(this,e)},getCursor:function(e){var t=this.sel.primary(),i;return e==null||e=="head"?i=t.head:e=="anchor"?i=t.anchor:e=="end"||e=="to"||e===!1?i=t.to():i=t.from(),i},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Bt(function(e,t,i){wo(this,qe(this,typeof e=="number"?me(e,t||0):e),null,i)}),setSelection:Bt(function(e,t,i){wo(this,qe(this,e),qe(this,t||e),i)}),extendSelection:Bt(function(e,t,i){Ai(this,qe(this,e),t&&qe(this,t),i)}),extendSelections:Bt(function(e,t){xo(this,Jt(this,e),t)}),extendSelectionsBy:Bt(function(e,t){var i=St(this.sel.ranges,e);xo(this,Jt(this,i),t)}),setSelections:Bt(function(e,t,i){if(!!e.length){for(var r=[],s=0;s<e.length;s++)r[s]=new Et(qe(this,e[s].anchor),qe(this,e[s].head||e[s].anchor));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),Vt(this,Rn(this.cm,r,t),i)}}),addSelection:Bt(function(e,t,i){var r=this.sel.ranges.slice(0);r.push(new Et(qe(this,e),qe(this,t||e))),Vt(this,Rn(this.cm,r,r.length-1),i)}),getSelection:function(e){for(var t=this.sel.ranges,i,r=0;r<t.length;r++){var s=Pt(this,t[r].from(),t[r].to());i=i?i.concat(s):s}return e===!1?i:i.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],i=this.sel.ranges,r=0;r<i.length;r++){var s=Pt(this,i[r].from(),i[r].to());e!==!1&&(s=s.join(e||this.lineSeparator())),t[r]=s}return t},replaceSelection:function(e,t,i){for(var r=[],s=0;s<this.sel.ranges.length;s++)r[s]=e;this.replaceSelections(r,t,i||"+input")},replaceSelections:Bt(function(e,t,i){for(var r=[],s=this.sel,S=0;S<s.ranges.length;S++){var y=s.ranges[S];r[S]={from:y.from(),to:y.to(),text:this.splitLines(e[S]),origin:i}}for(var N=t&&t!="end"&&Tl(this,r,t),w=r.length-1;w>=0;w--)Dr(this,r[w]);N?Mo(this,N):this.cm&&Or(this.cm)}),undo:Bt(function(){xi(this,"undo")}),redo:Bt(function(){xi(this,"redo")}),undoSelection:Bt(function(){xi(this,"undo",!0)}),redoSelection:Bt(function(){xi(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,i=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var s=0;s<e.undone.length;s++)e.undone[s].ranges||++i;return{undo:t,redo:i}},clearHistory:function(){var e=this;this.history=new Oi(this.history),Qn(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ar(this.history.done),undone:Ar(this.history.undone)}},setHistory:function(e){var t=this.history=new Oi(this.history);t.done=Ar(e.done.slice(0),null,!0),t.undone=Ar(e.undone.slice(0),null,!0)},setGutterMarker:Bt(function(e,t,i){return jr(this,e,"gutter",function(r){var s=r.gutterMarkers||(r.gutterMarkers={});return s[t]=i,!i&&pe(s)&&(r.gutterMarkers=null),!0})}),clearGutter:Bt(function(e){var t=this;this.iter(function(i){i.gutterMarkers&&i.gutterMarkers[e]&&jr(t,i,"gutter",function(){return i.gutterMarkers[e]=null,pe(i.gutterMarkers)&&(i.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!hn(this,e)||(t=e,e=Ge(this,e),!e))return null}else if(t=mt(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Bt(function(e,t,i){return jr(this,e,t=="gutter"?"gutter":"class",function(r){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!r[s])r[s]=i;else{if(k(i).test(r[s]))return!1;r[s]+=" "+i}return!0})}),removeLineClass:Bt(function(e,t,i){return jr(this,e,t=="gutter"?"gutter":"class",function(r){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",S=r[s];if(S)if(i==null)r[s]=null;else{var y=S.match(k(i));if(!y)return!1;var N=y.index+y[0].length;r[s]=S.slice(0,y.index)+(!y.index||N==S.length?"":" ")+S.slice(N)||null}else return!1;return!0})}),addLineWidget:Bt(function(e,t,i){return Dl(this,e,t,i)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,i){return wr(this,qe(this,e),qe(this,t),i,i&&i.type||"range")},setBookmark:function(e,t){var i={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=qe(this,e),wr(this,e,e,i,"bookmark")},findMarksAt:function(e){e=qe(this,e);var t=[],i=Ge(this,e.line).markedSpans;if(i)for(var r=0;r<i.length;++r){var s=i[r];(s.from==null||s.from<=e.ch)&&(s.to==null||s.to>=e.ch)&&t.push(s.marker.parent||s.marker)}return t},findMarks:function(e,t,i){e=qe(this,e),t=qe(this,t);var r=[],s=e.line;return this.iter(e.line,t.line+1,function(S){var y=S.markedSpans;if(y)for(var N=0;N<y.length;N++){var w=y[N];!(w.to!=null&&s==e.line&&e.ch>=w.to||w.from==null&&s!=e.line||w.from!=null&&s==t.line&&w.from>=t.ch)&&(!i||i(w.marker))&&r.push(w.marker.parent||w.marker)}++s}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var i=t.markedSpans;if(i)for(var r=0;r<i.length;++r)i[r].from!=null&&e.push(i[r].marker)}),e},posFromIndex:function(e){var t,i=this.first,r=this.lineSeparator().length;return this.iter(function(s){var S=s.text.length+r;if(S>e)return t=e,!0;e-=S,++i}),qe(this,me(i,t))},indexFromPos:function(e){e=qe(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var i=this.lineSeparator().length;return this.iter(this.first,e.line,function(r){t+=r.text.length+i}),t},copy:function(e){var t=new nn(Yn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,i=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<i&&(i=e.to);var r=new nn(Yn(this,t,i),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],wl(r,Ko(this)),r},unlinkDoc:function(e){if(e instanceof Rt&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var i=this.linked[t];if(i.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Ml(Ko(this));break}}if(e.history==this.history){var r=[e.id];Qn(e,function(s){return r.push(s.id)},!0),e.history=new Oi(null),e.history.done=Ar(this.history.done,r),e.history.undone=Ar(this.history.undone,r)}},iterLinkedDocs:function(e){Qn(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):It(e)},lineSeparator:function(){return this.lineSep||`
11
- `},setDirection:Bt(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&vl(this.cm))})}),nn.prototype.eachLine=nn.prototype.iter;var $o=0;function Pl(e){var t=this;if(Qo(t),!(ne(t,e)||kn(t.display,e))){oe(e),o&&($o=+new Date);var i=sr(t,e,!0),r=e.dataTransfer.files;if(!(!i||t.isReadOnly()))if(r&&r.length&&window.FileReader&&window.File)for(var s=r.length,S=Array(s),y=0,N=function(){++y==s&&Ft(t,function(){i=qe(t.doc,i);var q={from:i,to:i,text:t.doc.splitLines(S.filter(function(ie){return ie!=null}).join(t.doc.lineSeparator())),origin:"paste"};Dr(t.doc,q),Mo(t.doc,Kn(qe(t.doc,i),qe(t.doc,$n(q))))})()},w=function(q,ie){if(t.options.allowDropFileTypes&&we(t.options.allowDropFileTypes,q.type)==-1){N();return}var ce=new FileReader;ce.onerror=function(){return N()},ce.onload=function(){var Se=ce.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Se)){N();return}S[ie]=Se,N()},ce.readAsText(q)},P=0;P<r.length;P++)w(r[P],P);else{if(t.state.draggingText&&t.doc.sel.contains(i)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var F=e.dataTransfer.getData("Text");if(F){var H;if(t.state.draggingText&&!t.state.draggingText.copy&&(H=t.listSelections()),Ii(t.doc,Kn(i,i)),H)for(var $=0;$<H.length;++$)xr(t.doc,"",H[$].anchor,H[$].head,"drag");t.replaceSelection(F,"around","paste"),t.display.input.focus()}}catch(q){}}}}function kl(e,t){if(o&&(!e.state.draggingText||+new Date-$o<100)){ze(t);return}if(!(ne(e,t)||kn(e.display,t))&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var i=B("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",_&&(i.width=i.height=1,e.display.wrapper.appendChild(i),i._top=i.offsetTop),t.dataTransfer.setDragImage(i,0,0),_&&i.parentNode.removeChild(i)}}function Ul(e,t){var i=sr(e,t);if(!!i){var r=document.createDocumentFragment();ta(e,i,r),e.display.dragCursor||(e.display.dragCursor=B("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),z(e.display.dragCursor,r)}}function Qo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Xo(e){if(!!document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),i=[],r=0;r<t.length;r++){var s=t[r].CodeMirror;s&&i.push(s)}i.length&&i[0].operation(function(){for(var S=0;S<i.length;S++)e(i[S])})}}var Zo=!1;function Fl(){Zo||(Bl(),Zo=!0)}function Bl(){var e;ue(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Xo(Gl)},100))}),ue(window,"blur",function(){return Xo(Rr)})}function Gl(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Zn={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},ri=0;ri<10;ri++)Zn[ri+48]=Zn[ri+96]=String(ri);for(var wi=65;wi<=90;wi++)Zn[wi]=String.fromCharCode(wi);for(var ii=1;ii<=12;ii++)Zn[ii+111]=Zn[ii+63235]="F"+ii;var Fn={};Fn.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"},Fn.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"},Fn.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"},Fn.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"]},Fn.default=D?Fn.macDefault:Fn.pcDefault;function Yl(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var i,r,s,S,y=0;y<t.length-1;y++){var N=t[y];if(/^(cmd|meta|m)$/i.test(N))S=!0;else if(/^a(lt)?$/i.test(N))i=!0;else if(/^(c|ctrl|control)$/i.test(N))r=!0;else if(/^s(hift)?$/i.test(N))s=!0;else throw new Error("Unrecognized modifier name: "+N)}return i&&(e="Alt-"+e),r&&(e="Ctrl-"+e),S&&(e="Cmd-"+e),s&&(e="Shift-"+e),e}function Hl(e){var t={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if(r=="..."){delete e[i];continue}for(var s=St(i.split(" "),Yl),S=0;S<s.length;S++){var y=void 0,N=void 0;S==s.length-1?(N=s.join(" "),y=r):(N=s.slice(0,S+1).join(" "),y="...");var w=t[N];if(!w)t[N]=y;else if(w!=y)throw new Error("Inconsistent bindings for "+N)}delete e[i]}for(var P in t)e[P]=t[P];return e}function Mr(e,t,i,r){t=Mi(t);var s=t.call?t.call(e,r):t[e];if(s===!1)return"nothing";if(s==="...")return"multi";if(s!=null&&i(s))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return Mr(e,t.fallthrough,i,r);for(var S=0;S<t.fallthrough.length;S++){var y=Mr(e,t.fallthrough[S],i,r);if(y)return y}}}function jo(e){var t=typeof e=="string"?e:Zn[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function Jo(e,t,i){var r=e;return t.altKey&&r!="Alt"&&(e="Alt-"+e),(x?t.metaKey:t.ctrlKey)&&r!="Ctrl"&&(e="Ctrl-"+e),(x?t.ctrlKey:t.metaKey)&&r!="Mod"&&(e="Cmd-"+e),!i&&t.shiftKey&&r!="Shift"&&(e="Shift-"+e),e}function es(e,t){if(_&&e.keyCode==34&&e.char)return!1;var i=Zn[e.keyCode];return i==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(i=e.code),Jo(i,e,t))}function Mi(e){return typeof e=="string"?Fn[e]:e}function Lr(e,t){for(var i=e.doc.sel.ranges,r=[],s=0;s<i.length;s++){for(var S=t(i[s]);r.length&&re(S.from,Ae(r).to)<=0;){var y=r.pop();if(re(y.from,S.from)<0){S.from=y.from;break}}r.push(S)}un(e,function(){for(var N=r.length-1;N>=0;N--)xr(e.doc,"",r[N].from,r[N].to,"+delete");Or(e)})}function ha(e,t,i){var r=We(e.text,t+i,i);return r<0||r>e.text.length?null:r}function Sa(e,t,i){var r=ha(e,t.ch,i);return r==null?null:new me(t.line,r,i<0?"after":"before")}function ba(e,t,i,r,s){if(e){t.doc.direction=="rtl"&&(s=-s);var S=te(i,t.doc.direction);if(S){var y=s<0?Ae(S):S[0],N=s<0==(y.level==1),w=N?"after":"before",P;if(y.level>0||t.doc.direction=="rtl"){var F=vr(t,i);P=s<0?i.text.length-1:0;var H=xn(t,F,P).top;P=ke(function($){return xn(t,F,$).top==H},s<0==(y.level==1)?y.from:y.to-1,P),w=="before"&&(P=ha(i,P,1))}else P=s<0?y.to:y.from;return new me(r,P,w)}}return new me(r,s<0?i.text.length:0,s<0?"before":"after")}function zl(e,t,i,r){var s=te(t,e.doc.direction);if(!s)return Sa(t,i,r);i.ch>=t.text.length?(i.ch=t.text.length,i.sticky="before"):i.ch<=0&&(i.ch=0,i.sticky="after");var S=ut(s,i.ch,i.sticky),y=s[S];if(e.doc.direction=="ltr"&&y.level%2==0&&(r>0?y.to>i.ch:y.from<i.ch))return Sa(t,i,r);var N=function(Ce,Ie){return ha(t,Ce instanceof me?Ce.ch:Ce,Ie)},w,P=function(Ce){return e.options.lineWrapping?(w=w||vr(e,t),io(e,t,w,Ce)):{begin:0,end:t.text.length}},F=P(i.sticky=="before"?N(i,-1):i.ch);if(e.doc.direction=="rtl"||y.level==1){var H=y.level==1==r<0,$=N(i,H?1:-1);if($!=null&&(H?$<=y.to&&$<=F.end:$>=y.from&&$>=F.begin)){var q=H?"before":"after";return new me(i.line,$,q)}}var ie=function(Ce,Ie,ye){for(var Me=function(bt,Gt){return Gt?new me(i.line,N(bt,1),"before"):new me(i.line,bt,"after")};Ce>=0&&Ce<s.length;Ce+=Ie){var Xe=s[Ce],$e=Ie>0==(Xe.level!=1),lt=$e?ye.begin:N(ye.end,-1);if(Xe.from<=lt&&lt<Xe.to||(lt=$e?Xe.from:N(Xe.to,-1),ye.begin<=lt&&lt<ye.end))return Me(lt,$e)}},ce=ie(S+r,r,F);if(ce)return ce;var Se=r>0?F.end:N(F.begin,-1);return Se!=null&&!(r>0&&Se==t.text.length)&&(ce=ie(r>0?0:s.length-1,r,P(Se)),ce)?ce:null}var ai={selectAll:Fo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),ct)},killLine:function(e){return Lr(e,function(t){if(t.empty()){var i=Ge(e.doc,t.head.line).text.length;return t.head.ch==i&&t.head.line<e.lastLine()?{from:t.head,to:me(t.head.line+1,0)}:{from:t.head,to:me(t.head.line,i)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return Lr(e,function(t){return{from:me(t.from().line,0),to:qe(e.doc,me(t.to().line+1,0))}})},delLineLeft:function(e){return Lr(e,function(t){return{from:me(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return Lr(e,function(t){var i=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:i},"div");return{from:r,to:t.from()}})},delWrappedLineRight:function(e){return Lr(e,function(t){var i=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div");return{from:t.from(),to:r}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(me(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(me(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return ts(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return ns(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return Wl(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div")},Tt)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:i},"div")},Tt)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:i},"div");return r.ch<e.getLine(r.line).search(/\S/)?ns(e,t.head):r},Tt)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],i=e.listSelections(),r=e.options.tabSize,s=0;s<i.length;s++){var S=i[s].from(),y=le(e.getLine(S.line),S.ch,r);t.push(Ne(r-y%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return un(e,function(){for(var t=e.listSelections(),i=[],r=0;r<t.length;r++)if(!!t[r].empty()){var s=t[r].head,S=Ge(e.doc,s.line).text;if(S){if(s.ch==S.length&&(s=new me(s.line,s.ch-1)),s.ch>0)s=new me(s.line,s.ch+1),e.replaceRange(S.charAt(s.ch-1)+S.charAt(s.ch-2),me(s.line,s.ch-2),s,"+transpose");else if(s.line>e.doc.first){var y=Ge(e.doc,s.line-1).text;y&&(s=new me(s.line,1),e.replaceRange(S.charAt(0)+e.doc.lineSeparator()+y.charAt(y.length-1),me(s.line-1,y.length-1),s,"+transpose"))}}i.push(new Et(s,s))}e.setSelections(i)})},newlineAndIndent:function(e){return un(e,function(){for(var t=e.listSelections(),i=t.length-1;i>=0;i--)e.replaceRange(e.doc.lineSeparator(),t[i].anchor,t[i].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Or(e)})},openLine:function(e){return e.replaceSelection(`
12
- `,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function ts(e,t){var i=Ge(e.doc,t),r=Cn(i);return r!=i&&(t=mt(r)),ba(!0,e,r,t,1)}function Wl(e,t){var i=Ge(e.doc,t),r=Ns(i);return r!=i&&(t=mt(r)),ba(!0,e,i,t,-1)}function ns(e,t){var i=ts(e,t.line),r=Ge(e.doc,i.line),s=te(r,e.doc.direction);if(!s||s[0].level==0){var S=Math.max(i.ch,r.text.search(/\S/)),y=t.line==i.line&&t.ch<=S&&t.ch;return me(i.line,y?0:S,i.sticky)}return i}function Li(e,t,i){if(typeof t=="string"&&(t=ai[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,s=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i&&(e.display.shift=!1),s=t(e)!=it}finally{e.display.shift=r,e.state.suppressEdits=!1}return s}function Vl(e,t,i){for(var r=0;r<e.state.keyMaps.length;r++){var s=Mr(t,e.state.keyMaps[r],i,e);if(s)return s}return e.options.extraKeys&&Mr(t,e.options.extraKeys,i,e)||Mr(t,e.options.keyMap,i,e)}var ql=new G;function oi(e,t,i,r){var s=e.state.keySeq;if(s){if(jo(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ql.set(50,function(){e.state.keySeq==s&&(e.state.keySeq=null,e.display.input.reset())}),rs(e,s+" "+t,i,r))return!0}return rs(e,t,i,r)}function rs(e,t,i,r){var s=Vl(e,t,r);return s=="multi"&&(e.state.keySeq=t),s=="handled"&&Ut(e,"keyHandled",e,t,i),(s=="handled"||s=="multi")&&(oe(i),na(e)),!!s}function is(e,t){var i=es(t,!0);return i?t.shiftKey&&!e.state.keySeq?oi(e,"Shift-"+i,t,function(r){return Li(e,r,!0)})||oi(e,i,t,function(r){if(typeof r=="string"?/^go[A-Z]/.test(r):r.motion)return Li(e,r)}):oi(e,i,t,function(r){return Li(e,r)}):!1}function Kl(e,t,i){return oi(e,"'"+i+"'",t,function(r){return Li(e,r,!0)})}var Ta=null;function as(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&(t.curOp.focus=J(Le(t)),!ne(t,e))){o&&d<11&&e.keyCode==27&&(e.returnValue=!1);var i=e.keyCode;t.display.shift=i==16||e.shiftKey;var r=is(t,e);_&&(Ta=r?i:null,!r&&i==88&&!_n&&(D?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),l&&!D&&!r&&i==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),i==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&$l(t)}}function $l(e){var t=e.display.lineDiv;fe(t,"CodeMirror-crosshair");function i(r){(r.keyCode==18||!r.altKey)&&(U(t,"CodeMirror-crosshair"),je(document,"keyup",i),je(document,"mouseover",i))}ue(document,"keyup",i),ue(document,"mouseover",i)}function os(e){e.keyCode==16&&(this.doc.sel.shift=!1),ne(this,e)}function ss(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&!(kn(t.display,e)||ne(t,e)||e.ctrlKey&&!e.altKey||D&&e.metaKey)){var i=e.keyCode,r=e.charCode;if(_&&i==Ta){Ta=null,oe(e);return}if(!(_&&(!e.which||e.which<10)&&is(t,e))){var s=String.fromCharCode(r==null?i:r);s!="\b"&&(Kl(t,e,s)||t.display.input.onKeyPress(e))}}}var Ql=400,va=function(e,t,i){this.time=e,this.pos=t,this.button=i};va.prototype.compare=function(e,t,i){return this.time+Ql>e&&re(t,this.pos)==0&&i==this.button};var si,li;function Xl(e,t){var i=+new Date;return li&&li.compare(i,e,t)?(si=li=null,"triple"):si&&si.compare(i,e,t)?(li=new va(i,e,t),si=null,"double"):(si=new va(i,e,t),li=null,"single")}function ls(e){var t=this,i=t.display;if(!(ne(t,e)||i.activeTouch&&i.input.supportsTouch())){if(i.input.ensurePolled(),i.shift=e.shiftKey,kn(i,e)){m||(i.scroller.draggable=!1,setTimeout(function(){return i.scroller.draggable=!0},100));return}if(!Ca(t,e)){var r=sr(t,e),s=he(e),S=r?Xl(r,s):"single";He(t).focus(),s==1&&t.state.selectingText&&t.state.selectingText(e),!(r&&Zl(t,s,r,S,e))&&(s==1?r?Jl(t,r,S,e):nt(e)==i.scroller&&oe(e):s==2?(r&&Ai(t.doc,r),setTimeout(function(){return i.input.focus()},20)):s==3&&(L?t.display.input.onContextMenu(e):ra(t)))}}}function Zl(e,t,i,r,s){var S="Click";return r=="double"?S="Double"+S:r=="triple"&&(S="Triple"+S),S=(t==1?"Left":t==2?"Middle":"Right")+S,oi(e,Jo(S,s),s,function(y){if(typeof y=="string"&&(y=ai[y]),!y)return!1;var N=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),N=y(e,i)!=it}finally{e.state.suppressEdits=!1}return N})}function jl(e,t,i){var r=e.getOption("configureMouse"),s=r?r(e,t,i):{};if(s.unit==null){var S=M?i.shiftKey&&i.metaKey:i.altKey;s.unit=S?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(s.extend==null||e.doc.extend)&&(s.extend=e.doc.extend||i.shiftKey),s.addNew==null&&(s.addNew=D?i.metaKey:i.ctrlKey),s.moveOnDrag==null&&(s.moveOnDrag=!(D?i.altKey:i.ctrlKey)),s}function Jl(e,t,i,r){o?setTimeout(Te(lo,e),0):e.curOp.focus=J(Le(e));var s=jl(e,i,r),S=e.doc.sel,y;e.options.dragDrop&&Oe&&!e.isReadOnly()&&i=="single"&&(y=S.contains(t))>-1&&(re((y=S.ranges[y]).from(),t)<0||t.xRel>0)&&(re(y.to(),t)>0||t.xRel<0)?ec(e,r,t,s):tc(e,r,t,s)}function ec(e,t,i,r){var s=e.display,S=!1,y=Ft(e,function(P){m&&(s.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ra(e)),je(s.wrapper.ownerDocument,"mouseup",y),je(s.wrapper.ownerDocument,"mousemove",N),je(s.scroller,"dragstart",w),je(s.scroller,"drop",y),S||(oe(P),r.addNew||Ai(e.doc,i,null,null,r.extend),m&&!h||o&&d==9?setTimeout(function(){s.wrapper.ownerDocument.body.focus({preventScroll:!0}),s.input.focus()},20):s.input.focus())}),N=function(P){S=S||Math.abs(t.clientX-P.clientX)+Math.abs(t.clientY-P.clientY)>=10},w=function(){return S=!0};m&&(s.scroller.draggable=!0),e.state.draggingText=y,y.copy=!r.moveOnDrag,ue(s.wrapper.ownerDocument,"mouseup",y),ue(s.wrapper.ownerDocument,"mousemove",N),ue(s.scroller,"dragstart",w),ue(s.scroller,"drop",y),e.state.delayingBlurEvent=!0,setTimeout(function(){return s.input.focus()},20),s.scroller.dragDrop&&s.scroller.dragDrop()}function cs(e,t,i){if(i=="char")return new Et(t,t);if(i=="word")return e.findWordAt(t);if(i=="line")return new Et(me(t.line,0),qe(e.doc,me(t.line+1,0)));var r=i(e,t);return new Et(r.from,r.to)}function tc(e,t,i,r){o&&ra(e);var s=e.display,S=e.doc;oe(t);var y,N,w=S.sel,P=w.ranges;if(r.addNew&&!r.extend?(N=S.sel.contains(i),N>-1?y=P[N]:y=new Et(i,i)):(y=S.sel.primary(),N=S.sel.primIndex),r.unit=="rectangle")r.addNew||(y=new Et(i,i)),i=sr(e,t,!0,!0),N=-1;else{var F=cs(e,i,r.unit);r.extend?y=ga(y,F.anchor,F.head,r.extend):y=F}r.addNew?N==-1?(N=P.length,Vt(S,Rn(e,P.concat([y]),N),{scroll:!1,origin:"*mouse"})):P.length>1&&P[N].empty()&&r.unit=="char"&&!r.extend?(Vt(S,Rn(e,P.slice(0,N).concat(P.slice(N+1)),0),{scroll:!1,origin:"*mouse"}),w=S.sel):Ea(S,N,y,pt):(N=0,Vt(S,new mn([y],0),pt),w=S.sel);var H=i;function $(ye){if(re(H,ye)!=0)if(H=ye,r.unit=="rectangle"){for(var Me=[],Xe=e.options.tabSize,$e=le(Ge(S,i.line).text,i.ch,Xe),lt=le(Ge(S,ye.line).text,ye.ch,Xe),bt=Math.min($e,lt),Gt=Math.max($e,lt),Nt=Math.min(i.line,ye.line),dn=Math.min(e.lastLine(),Math.max(i.line,ye.line));Nt<=dn;Nt++){var rn=Ge(S,Nt).text,xt=de(rn,bt,Xe);bt==Gt?Me.push(new Et(me(Nt,xt),me(Nt,xt))):rn.length>xt&&Me.push(new Et(me(Nt,xt),me(Nt,de(rn,Gt,Xe))))}Me.length||Me.push(new Et(i,i)),Vt(S,Rn(e,w.ranges.slice(0,N).concat(Me),N),{origin:"*mouse",scroll:!1}),e.scrollIntoView(ye)}else{var an=y,Wt=cs(e,ye,r.unit),Lt=an.anchor,wt;re(Wt.anchor,Lt)>0?(wt=Wt.head,Lt=Ct(an.from(),Wt.anchor)):(wt=Wt.anchor,Lt=ft(an.to(),Wt.head));var At=w.ranges.slice(0);At[N]=nc(e,new Et(qe(S,Lt),wt)),Vt(S,Rn(e,At,N),pt)}}var q=s.wrapper.getBoundingClientRect(),ie=0;function ce(ye){var Me=++ie,Xe=sr(e,ye,!0,r.unit=="rectangle");if(!!Xe)if(re(Xe,H)!=0){e.curOp.focus=J(Le(e)),$(Xe);var $e=vi(s,S);(Xe.line>=$e.to||Xe.line<$e.from)&&setTimeout(Ft(e,function(){ie==Me&&ce(ye)}),150)}else{var lt=ye.clientY<q.top?-20:ye.clientY>q.bottom?20:0;lt&&setTimeout(Ft(e,function(){ie==Me&&(s.scroller.scrollTop+=lt,ce(ye))}),50)}}function Se(ye){e.state.selectingText=!1,ie=1/0,ye&&(oe(ye),s.input.focus()),je(s.wrapper.ownerDocument,"mousemove",Ce),je(s.wrapper.ownerDocument,"mouseup",Ie),S.history.lastSelOrigin=null}var Ce=Ft(e,function(ye){ye.buttons===0||!he(ye)?Se(ye):ce(ye)}),Ie=Ft(e,Se);e.state.selectingText=Ie,ue(s.wrapper.ownerDocument,"mousemove",Ce),ue(s.wrapper.ownerDocument,"mouseup",Ie)}function nc(e,t){var i=t.anchor,r=t.head,s=Ge(e.doc,i.line);if(re(i,r)==0&&i.sticky==r.sticky)return t;var S=te(s);if(!S)return t;var y=ut(S,i.ch,i.sticky),N=S[y];if(N.from!=i.ch&&N.to!=i.ch)return t;var w=y+(N.from==i.ch==(N.level!=1)?0:1);if(w==0||w==S.length)return t;var P;if(r.line!=i.line)P=(r.line-i.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var F=ut(S,r.ch,r.sticky),H=F-y||(r.ch-i.ch)*(N.level==1?-1:1);F==w-1||F==w?P=H<0:P=H>0}var $=S[w+(P?-1:0)],q=P==($.level==1),ie=q?$.from:$.to,ce=q?"after":"before";return i.ch==ie&&i.sticky==ce?t:new Et(new me(i.line,ie,ce),r)}function us(e,t,i,r){var s,S;if(t.touches)s=t.touches[0].clientX,S=t.touches[0].clientY;else try{s=t.clientX,S=t.clientY}catch($){return!1}if(s>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&oe(t);var y=e.display,N=y.lineDiv.getBoundingClientRect();if(S>N.bottom||!W(e,i))return Be(t);S-=N.top-y.viewOffset;for(var w=0;w<e.display.gutterSpecs.length;++w){var P=y.gutters.childNodes[w];if(P&&P.getBoundingClientRect().right>=s){var F=vn(e.doc,S),H=e.display.gutterSpecs[w];return Je(e,i,e,F,H.className,t),Be(t)}}}function Ca(e,t){return us(e,t,"gutterClick",!0)}function ds(e,t){kn(e.display,t)||rc(e,t)||ne(e,t,"contextmenu")||L||e.display.input.onContextMenu(t)}function rc(e,t){return W(e,"gutterContextMenu")?us(e,t,"gutterContextMenu",!1):!1}function _s(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Hr(e)}var Pr={toString:function(){return"CodeMirror.Init"}},ps={},Pi={};function ic(e){var t=e.optionHandlers;function i(r,s,S,y){e.defaults[r]=s,S&&(t[r]=y?function(N,w,P){P!=Pr&&S(N,w,P)}:S)}e.defineOption=i,e.Init=Pr,i("value","",function(r,s){return r.setValue(s)},!0),i("mode",null,function(r,s){r.doc.modeOption=s,pa(r)},!0),i("indentUnit",2,pa,!0),i("indentWithTabs",!1),i("smartIndent",!0),i("tabSize",4,function(r){Xr(r),Hr(r),tn(r)},!0),i("lineSeparator",null,function(r,s){if(r.doc.lineSep=s,!!s){var S=[],y=r.doc.first;r.doc.iter(function(w){for(var P=0;;){var F=w.text.indexOf(s,P);if(F==-1)break;P=F+s.length,S.push(me(y,F))}y++});for(var N=S.length-1;N>=0;N--)xr(r.doc,s,S[N],me(S[N].line,S[N].ch+s.length))}}),i("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(r,s,S){r.state.specialChars=new RegExp(s.source+(s.test(" ")?"":"| "),"g"),S!=Pr&&r.refresh()}),i("specialCharPlaceholder",Ms,function(r){return r.refresh()},!0),i("electricChars",!0),i("inputStyle",O?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),i("spellcheck",!1,function(r,s){return r.getInputField().spellcheck=s},!0),i("autocorrect",!1,function(r,s){return r.getInputField().autocorrect=s},!0),i("autocapitalize",!1,function(r,s){return r.getInputField().autocapitalize=s},!0),i("rtlMoveVisually",!I),i("wholeLineUpdateBefore",!0),i("theme","default",function(r){_s(r),Qr(r)},!0),i("keyMap","default",function(r,s,S){var y=Mi(s),N=S!=Pr&&Mi(S);N&&N.detach&&N.detach(r,y),y.attach&&y.attach(r,N||null)}),i("extraKeys",null),i("configureMouse",null),i("lineWrapping",!1,oc,!0),i("gutters",[],function(r,s){r.display.gutterSpecs=da(s,r.options.lineNumbers),Qr(r)},!0),i("fixedGutter",!0,function(r,s){r.display.gutters.style.left=s?Ji(r.display)+"px":"0",r.refresh()},!0),i("coverGutterNextToScrollbar",!1,function(r){return Nr(r)},!0),i("scrollbarStyle","native",function(r){fo(r),Nr(r),r.display.scrollbars.setScrollTop(r.doc.scrollTop),r.display.scrollbars.setScrollLeft(r.doc.scrollLeft)},!0),i("lineNumbers",!1,function(r,s){r.display.gutterSpecs=da(r.options.gutters,s),Qr(r)},!0),i("firstLineNumber",1,Qr,!0),i("lineNumberFormatter",function(r){return r},Qr,!0),i("showCursorWhenSelecting",!1,zr,!0),i("resetSelectionOnContextMenu",!0),i("lineWiseCopyCut",!0),i("pasteLinesPerSelection",!0),i("selectionsMayTouch",!1),i("readOnly",!1,function(r,s){s=="nocursor"&&(Rr(r),r.display.input.blur()),r.display.input.readOnlyChanged(s)}),i("screenReaderLabel",null,function(r,s){s=s===""?null:s,r.display.input.screenReaderLabelChanged(s)}),i("disableInput",!1,function(r,s){s||r.display.input.reset()},!0),i("dragDrop",!0,ac),i("allowDropFileTypes",null),i("cursorBlinkRate",530),i("cursorScrollMargin",0),i("cursorHeight",1,zr,!0),i("singleCursorHeightPerLine",!0,zr,!0),i("workTime",100),i("workDelay",100),i("flattenSpans",!0,Xr,!0),i("addModeClass",!1,Xr,!0),i("pollInterval",100),i("undoDepth",200,function(r,s){return r.doc.history.undoDepth=s}),i("historyEventDelay",1250),i("viewportMargin",10,function(r){return r.refresh()},!0),i("maxHighlightLength",1e4,Xr,!0),i("moveInputWithCursor",!0,function(r,s){s||r.display.input.resetPosition()}),i("tabindex",null,function(r,s){return r.display.input.getField().tabIndex=s||""}),i("autofocus",null),i("direction","ltr",function(r,s){return r.doc.setDirection(s)},!0),i("phrases",null)}function ac(e,t,i){var r=i&&i!=Pr;if(!t!=!r){var s=e.display.dragFunctions,S=t?ue:je;S(e.display.scroller,"dragstart",s.start),S(e.display.scroller,"dragenter",s.enter),S(e.display.scroller,"dragover",s.over),S(e.display.scroller,"dragleave",s.leave),S(e.display.scroller,"drop",s.drop)}}function oc(e){e.options.lineWrapping?(fe(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(U(e.display.wrapper,"CodeMirror-wrap"),zi(e)),ea(e),tn(e),Hr(e),setTimeout(function(){return Nr(e)},100)}function Rt(e,t){var i=this;if(!(this instanceof Rt))return new Rt(e,t);this.options=t=t?et(t):{},et(ps,t,!1);var r=t.value;typeof r=="string"?r=new nn(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var s=new Rt.inputStyles[t.inputStyle](this),S=this.display=new Sl(e,r,s,t);S.wrapper.CodeMirror=this,_s(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),fo(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 G,keySeq:null,specialChars:null},t.autofocus&&!O&&S.input.focus(),o&&d<11&&setTimeout(function(){return i.display.input.reset(!0)},20),sc(this),Fl(),dr(this),this.curOp.forceUpdate=!0,Ro(this,r),t.autofocus&&!O||this.hasFocus()?setTimeout(function(){i.hasFocus()&&!i.state.focused&&ia(i)},20):Rr(this);for(var y in Pi)Pi.hasOwnProperty(y)&&Pi[y](this,t[y],Pr);ho(this),t.finishInit&&t.finishInit(this);for(var N=0;N<ya.length;++N)ya[N](this);_r(this),m&&t.lineWrapping&&getComputedStyle(S.lineDiv).textRendering=="optimizelegibility"&&(S.lineDiv.style.textRendering="auto")}Rt.defaults=ps,Rt.optionHandlers=Pi;function sc(e){var t=e.display;ue(t.scroller,"mousedown",Ft(e,ls)),o&&d<11?ue(t.scroller,"dblclick",Ft(e,function(w){if(!ne(e,w)){var P=sr(e,w);if(!(!P||Ca(e,w)||kn(e.display,w))){oe(w);var F=e.findWordAt(P);Ai(e.doc,F.anchor,F.head)}}})):ue(t.scroller,"dblclick",function(w){return ne(e,w)||oe(w)}),ue(t.scroller,"contextmenu",function(w){return ds(e,w)}),ue(t.input.getField(),"contextmenu",function(w){t.scroller.contains(w.target)||ds(e,w)});var i,r={end:0};function s(){t.activeTouch&&(i=setTimeout(function(){return t.activeTouch=null},1e3),r=t.activeTouch,r.end=+new Date)}function S(w){if(w.touches.length!=1)return!1;var P=w.touches[0];return P.radiusX<=1&&P.radiusY<=1}function y(w,P){if(P.left==null)return!0;var F=P.left-w.left,H=P.top-w.top;return F*F+H*H>20*20}ue(t.scroller,"touchstart",function(w){if(!ne(e,w)&&!S(w)&&!Ca(e,w)){t.input.ensurePolled(),clearTimeout(i);var P=+new Date;t.activeTouch={start:P,moved:!1,prev:P-r.end<=300?r:null},w.touches.length==1&&(t.activeTouch.left=w.touches[0].pageX,t.activeTouch.top=w.touches[0].pageY)}}),ue(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),ue(t.scroller,"touchend",function(w){var P=t.activeTouch;if(P&&!kn(t,w)&&P.left!=null&&!P.moved&&new Date-P.start<300){var F=e.coordsChar(t.activeTouch,"page"),H;!P.prev||y(P,P.prev)?H=new Et(F,F):!P.prev.prev||y(P,P.prev.prev)?H=e.findWordAt(F):H=new Et(me(F.line,0),qe(e.doc,me(F.line+1,0))),e.setSelection(H.anchor,H.head),e.focus(),oe(w)}s()}),ue(t.scroller,"touchcancel",s),ue(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Vr(e,t.scroller.scrollTop),cr(e,t.scroller.scrollLeft,!0),Je(e,"scroll",e))}),ue(t.scroller,"mousewheel",function(w){return To(e,w)}),ue(t.scroller,"DOMMouseScroll",function(w){return To(e,w)}),ue(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(w){ne(e,w)||ze(w)},over:function(w){ne(e,w)||(Ul(e,w),ze(w))},start:function(w){return kl(e,w)},drop:Ft(e,Pl),leave:function(w){ne(e,w)||Qo(e)}};var N=t.input.getField();ue(N,"keyup",function(w){return os.call(e,w)}),ue(N,"keydown",Ft(e,as)),ue(N,"keypress",Ft(e,ss)),ue(N,"focus",function(w){return ia(e,w)}),ue(N,"blur",function(w){return Rr(e,w)})}var ya=[];Rt.defineInitHook=function(e){return ya.push(e)};function ci(e,t,i,r){var s=e.doc,S;i==null&&(i="add"),i=="smart"&&(s.mode.indent?S=Ln(e,t).state:i="prev");var y=e.options.tabSize,N=Ge(s,t),w=le(N.text,null,y);N.stateAfter&&(N.stateAfter=null);var P=N.text.match(/^\s*/)[0],F;if(!r&&!/\S/.test(N.text))F=0,i="not";else if(i=="smart"&&(F=s.mode.indent(S,N.text.slice(P.length),N.text),F==it||F>150)){if(!r)return;i="prev"}i=="prev"?t>s.first?F=le(Ge(s,t-1).text,null,y):F=0:i=="add"?F=w+e.options.indentUnit:i=="subtract"?F=w-e.options.indentUnit:typeof i=="number"&&(F=w+i),F=Math.max(0,F);var H="",$=0;if(e.options.indentWithTabs)for(var q=Math.floor(F/y);q;--q)$+=y,H+=" ";if($<F&&(H+=Ne(F-$)),H!=P)return xr(s,H,me(t,0),me(t,P.length),"+input"),N.stateAfter=null,!0;for(var ie=0;ie<s.sel.ranges.length;ie++){var ce=s.sel.ranges[ie];if(ce.head.line==t&&ce.head.ch<P.length){var Se=me(t,P.length);Ea(s,ie,new Et(Se,Se));break}}}var On=null;function ki(e){On=e}function Ra(e,t,i,r,s){var S=e.doc;e.display.shift=!1,r||(r=S.sel);var y=+new Date-200,N=s=="paste"||e.state.pasteIncoming>y,w=It(t),P=null;if(N&&r.ranges.length>1)if(On&&On.text.join(`
10
+ left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(y),y.scrollIntoView(s),e.display.lineSpace.removeChild(y)}}}function il(e,t,i,r){r==null&&(r=0);var s;!e.options.lineWrapping&&t==i&&(i=t.sticky=="before"?me(t.line,t.ch+1,"before"):t,t=t.ch?me(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var S=0;S<5;S++){var y=!1,N=yn(e,t),w=!i||i==t?N:yn(e,i);s={left:Math.min(N.left,w.left),top:Math.min(N.top,w.top)-r,right:Math.max(N.left,w.left),bottom:Math.max(N.bottom,w.bottom)+r};var P=aa(e,s),F=e.doc.scrollTop,H=e.doc.scrollLeft;if(P.scrollTop!=null&&(Vr(e,P.scrollTop),Math.abs(e.doc.scrollTop-F)>1&&(y=!0)),P.scrollLeft!=null&&(cr(e,P.scrollLeft),Math.abs(e.doc.scrollLeft-H)>1&&(y=!0)),!y)break}return s}function al(e,t){var i=aa(e,t);i.scrollTop!=null&&Vr(e,i.scrollTop),i.scrollLeft!=null&&cr(e,i.scrollLeft)}function aa(e,t){var i=e.display,r=Cr(e.display);t.top<0&&(t.top=0);var s=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:i.scroller.scrollTop,S=qi(e),y={};t.bottom-t.top>S&&(t.bottom=t.top+S);var N=e.doc.height+Vi(i),w=t.top<r,P=t.bottom>N-r;if(t.top<s)y.scrollTop=w?0:t.top;else if(t.bottom>s+S){var F=Math.min(t.top,(P?N:t.bottom)-S);F!=s&&(y.scrollTop=F)}var H=e.options.fixedGutter?0:i.gutters.offsetWidth,$=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:i.scroller.scrollLeft-H,q=ar(e)-i.gutters.offsetWidth,ie=t.right-t.left>q;return ie&&(t.right=t.left+q),t.left<10?y.scrollLeft=0:t.left<$?y.scrollLeft=Math.max(0,t.left+H-(ie?0:10)):t.right>q+$-3&&(y.scrollLeft=t.right+(ie?0:10)-q),y}function oa(e,t){t!=null&&(Ci(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Or(e){Ci(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Wr(e,t,i){(t!=null||i!=null)&&Ci(e),t!=null&&(e.curOp.scrollLeft=t),i!=null&&(e.curOp.scrollTop=i)}function ol(e,t){Ci(e),e.curOp.scrollToPos=t}function Ci(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var i=ro(e,t.from),r=ro(e,t.to);_o(e,i,r,t.margin)}}function _o(e,t,i,r){var s=aa(e,{left:Math.min(t.left,i.left),top:Math.min(t.top,i.top)-r,right:Math.max(t.right,i.right),bottom:Math.max(t.bottom,i.bottom)+r});Wr(e,s.scrollLeft,s.scrollTop)}function Vr(e,t){Math.abs(e.doc.scrollTop-t)<2||(l||la(e,{top:t}),po(e,t,!0),l&&la(e),$r(e,100))}function po(e,t,i){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!i)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function cr(e,t,i,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((i?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r)&&(e.doc.scrollLeft=t,ho(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function qr(e){var t=e.display,i=t.gutters.offsetWidth,r=Math.round(e.doc.height+Vi(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?i:0,docHeight:r,scrollHeight:r+Dn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:i}}var ur=function(e,t,i){this.cm=i;var r=this.vert=B("div",[B("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),s=this.horiz=B("div",[B("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=s.tabIndex=-1,e(r),e(s),ue(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),ue(s,"scroll",function(){s.clientWidth&&t(s.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,o&&d<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ur.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var s=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+s)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=i?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var S=e.viewWidth-e.barLeft-(i?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+S)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(r==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:i?r:0,bottom:t?r:0}},ur.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ur.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ur.prototype.zeroWidthHack=function(){var e=D&&!C?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new G,this.disableVert=new G},ur.prototype.enableZeroWidthBar=function(e,t,i){e.style.visibility="";function r(){var s=e.getBoundingClientRect(),S=i=="vert"?document.elementFromPoint(s.right-1,(s.top+s.bottom)/2):document.elementFromPoint((s.right+s.left)/2,s.bottom-1);S!=e?e.style.visibility="hidden":t.set(1e3,r)}t.set(1e3,r)},ur.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Kr=function(){};Kr.prototype.update=function(){return{bottom:0,right:0}},Kr.prototype.setScrollLeft=function(){},Kr.prototype.setScrollTop=function(){},Kr.prototype.clear=function(){};function Nr(e,t){t||(t=qr(e));var i=e.display.barWidth,r=e.display.barHeight;mo(e,t);for(var s=0;s<4&&i!=e.display.barWidth||r!=e.display.barHeight;s++)i!=e.display.barWidth&&e.options.lineWrapping&&Ti(e),mo(e,qr(e)),i=e.display.barWidth,r=e.display.barHeight}function mo(e,t){var i=e.display,r=i.scrollbars.update(t);i.sizer.style.paddingRight=(i.barWidth=r.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=r.bottom)+"px",i.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=r.bottom+"px",i.scrollbarFiller.style.width=r.right+"px"):i.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=r.bottom+"px",i.gutterFiller.style.width=t.gutterWidth+"px"):i.gutterFiller.style.display=""}var fo={native:ur,null:Kr};function go(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&U(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new fo[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ue(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,i){i=="horizontal"?cr(e,t):Vr(e,t)},e),e.display.scrollbars.addClass&&fe(e.display.wrapper,e.display.scrollbars.addClass)}var sl=0;function dr(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++sl,markArrays:null},Fs(e.curOp)}function _r(e){var t=e.curOp;t&&Gs(t,function(i){for(var r=0;r<i.ops.length;r++)i.ops[r].cm.curOp=null;ll(i)})}function ll(e){for(var t=e.ops,i=0;i<t.length;i++)cl(t[i]);for(var r=0;r<t.length;r++)ul(t[r]);for(var s=0;s<t.length;s++)dl(t[s]);for(var S=0;S<t.length;S++)_l(t[S]);for(var y=0;y<t.length;y++)pl(t[y])}function cl(e){var t=e.cm,i=t.display;fl(t),e.updateMaxLine&&zi(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<i.viewFrom||e.scrollToPos.to.line>=i.viewTo)||i.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new yi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function ul(e){e.updatedDisplay=e.mustUpdate&&sa(e.cm,e.update)}function dl(e){var t=e.cm,i=t.display;e.updatedDisplay&&Ti(t),e.barMeasure=qr(t),i.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Qa(t,i.maxLine,i.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+e.adjustWidthTo+Dn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+e.adjustWidthTo-ar(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=i.input.prepareSelection())}function _l(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&cr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var i=e.focus&&e.focus==J(Le(t));e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,i),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Nr(t,e.barMeasure),e.updatedDisplay&&ua(t,e.barMeasure),e.selectionChanged&&na(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),i&&co(e.cm)}function pl(e){var t=e.cm,i=t.display,r=t.doc;if(e.updatedDisplay&&Eo(t,e.update),i.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(i.wheelStartX=i.wheelStartY=null),e.scrollTop!=null&&po(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&cr(t,e.scrollLeft,!0,!0),e.scrollToPos){var s=il(t,qe(r,e.scrollToPos.from),qe(r,e.scrollToPos.to),e.scrollToPos.margin);rl(t,s)}var S=e.maybeHiddenMarkers,y=e.maybeUnhiddenMarkers;if(S)for(var N=0;N<S.length;++N)S[N].lines.length||Je(S[N],"hide");if(y)for(var w=0;w<y.length;++w)y[w].lines.length&&Je(y[w],"unhide");i.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Je(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function un(e,t){if(e.curOp)return t();dr(e);try{return t()}finally{_r(e)}}function Ft(e,t){return function(){if(e.curOp)return t.apply(e,arguments);dr(e);try{return t.apply(e,arguments)}finally{_r(e)}}}function $t(e){return function(){if(this.curOp)return e.apply(this,arguments);dr(this);try{return e.apply(this,arguments)}finally{_r(this)}}}function Bt(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);dr(t);try{return e.apply(this,arguments)}finally{_r(t)}}}function $r(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,Te(ml,e))}function ml(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var i=+new Date+e.options.workTime,r=Ln(e,t.highlightFrontier),s=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(S){if(r.line>=e.display.viewFrom){var y=S.styles,N=S.text.length>e.options.maxHighlightLength?pn(t.mode,r.state):null,w=gr(e,S,r,!0);N&&(r.state=N),S.styles=w.styles;var P=S.styleClasses,F=w.classes;F?S.styleClasses=F:P&&(S.styleClasses=null);for(var H=!y||y.length!=S.styles.length||P!=F&&(!P||!F||P.bgClass!=F.bgClass||P.textClass!=F.textClass),$=0;!H&&$<y.length;++$)H=y[$]!=S.styles[$];H&&s.push(r.line),S.stateAfter=r.save(),r.nextLine()}else S.text.length<=e.options.maxHighlightLength&&An(e,S.text,r),S.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>i)return $r(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),s.length&&un(e,function(){for(var S=0;S<s.length;S++)Vn(e,s[S],"text")})}}var yi=function(e,t,i){var r=e.display;this.viewport=t,this.visible=vi(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=ar(e),this.force=i,this.dims=ji(e),this.events=[]};yi.prototype.signal=function(e,t){W(e,t)&&this.events.push(arguments)},yi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)Je.apply(null,this.events[e])};function fl(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Dn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Dn(e)+"px",t.scrollbarsClipped=!0)}function gl(e){if(e.hasFocus())return null;var t=J(Le(e));if(!t||!Z(e.display.lineDiv,t))return null;var i={activeElt:t};if(window.getSelection){var r=He(e).getSelection();r.anchorNode&&r.extend&&Z(e.display.lineDiv,r.anchorNode)&&(i.anchorNode=r.anchorNode,i.anchorOffset=r.anchorOffset,i.focusNode=r.focusNode,i.focusOffset=r.focusOffset)}return i}function El(e){if(!(!e||!e.activeElt||e.activeElt==J(e.activeElt.ownerDocument))&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Z(document.body,e.anchorNode)&&Z(document.body,e.focusNode))){var t=e.activeElt.ownerDocument,i=t.defaultView.getSelection(),r=t.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),i.removeAllRanges(),i.addRange(r),i.extend(e.focusNode,e.focusOffset)}}function sa(e,t){var i=e.display,r=e.doc;if(t.editorIsHidden)return qn(e),!1;if(!t.force&&t.visible.from>=i.viewFrom&&t.visible.to<=i.viewTo&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&so(e)==0)return!1;So(e)&&(qn(e),t.dims=ji(e));var s=r.first+r.size,S=Math.max(t.visible.from-e.options.viewportMargin,r.first),y=Math.min(s,t.visible.to+e.options.viewportMargin);i.viewFrom<S&&S-i.viewFrom<20&&(S=Math.max(r.first,i.viewFrom)),i.viewTo>y&&i.viewTo-y<20&&(y=Math.min(s,i.viewTo)),zt&&(S=Yi(e.doc,S),y=Ua(e.doc,y));var N=S!=i.viewFrom||y!=i.viewTo||i.lastWrapHeight!=t.wrapperHeight||i.lastWrapWidth!=t.wrapperWidth;tl(e,S,y),i.viewOffset=Pn(Ge(e.doc,i.viewFrom)),e.display.mover.style.top=i.viewOffset+"px";var w=so(e);if(!N&&w==0&&!t.force&&i.renderedView==i.view&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo))return!1;var P=gl(e);return w>4&&(i.lineDiv.style.display="none"),hl(e,i.updateLineNumbers,t.dims),w>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,El(P),Y(i.cursorDiv),Y(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,N&&(i.lastWrapHeight=t.wrapperHeight,i.lastWrapWidth=t.wrapperWidth,$r(e,400)),i.updateLineNumbers=null,!0}function Eo(e,t){for(var i=t.viewport,r=!0;;r=!1){if(!r||!e.options.lineWrapping||t.oldDisplayWidth==ar(e)){if(i&&i.top!=null&&(i={top:Math.min(e.doc.height+Vi(e.display)-qi(e),i.top)}),t.visible=vi(e.display,e.doc,i),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else r&&(t.visible=vi(e.display,e.doc,i));if(!sa(e,t))break;Ti(e);var s=qr(e);zr(e),Nr(e,s),ua(e,s),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function la(e,t){var i=new yi(e,t);if(sa(e,i)){Ti(e),Eo(e,i);var r=qr(e);zr(e),Nr(e,r),ua(e,r),i.finish()}}function hl(e,t,i){var r=e.display,s=e.options.lineNumbers,S=r.lineDiv,y=S.firstChild;function N(ie){var ce=ie.nextSibling;return m&&D&&e.display.currentWheelTarget==ie?ie.style.display="none":ie.parentNode.removeChild(ie),ce}for(var w=r.view,P=r.viewFrom,F=0;F<w.length;F++){var H=w[F];if(!H.hidden)if(!H.node||H.node.parentNode!=S){var $=Vs(e,H,P,i);S.insertBefore($,y)}else{for(;y!=H.node;)y=N(y);var q=s&&t!=null&&t<=P&&H.lineNumber;H.changes&&(we(H.changes,"gutter")>-1&&(q=!1),Ha(e,H,P,i)),q&&(Y(H.lineNumber),H.lineNumber.appendChild(document.createTextNode(er(e.options,P)))),y=H.node.nextSibling}P+=H.size}for(;y;)y=N(y)}function ca(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Ut(e,"gutterChanged",e)}function ua(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Dn(e)+"px"}function ho(e){var t=e.display,i=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var r=Ji(t)-t.scroller.scrollLeft+e.doc.scrollLeft,s=t.gutters.offsetWidth,S=r+"px",y=0;y<i.length;y++)if(!i[y].hidden){e.options.fixedGutter&&(i[y].gutter&&(i[y].gutter.style.left=S),i[y].gutterBackground&&(i[y].gutterBackground.style.left=S));var N=i[y].alignable;if(N)for(var w=0;w<N.length;w++)N[w].style.left=S}e.options.fixedGutter&&(t.gutters.style.left=r+s+"px")}}function So(e){if(!e.options.lineNumbers)return!1;var t=e.doc,i=er(e.options,t.first+t.size-1),r=e.display;if(i.length!=r.lineNumChars){var s=r.measure.appendChild(B("div",[B("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),S=s.firstChild.offsetWidth,y=s.offsetWidth-S;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(S,r.lineGutter.offsetWidth-y)+1,r.lineNumWidth=r.lineNumInnerWidth+y,r.lineNumChars=r.lineNumInnerWidth?i.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",ca(e.display),!0}return!1}function da(e,t){for(var i=[],r=!1,s=0;s<e.length;s++){var S=e[s],y=null;if(typeof S!="string"&&(y=S.style,S=S.className),S=="CodeMirror-linenumbers")if(t)r=!0;else continue;i.push({className:S,style:y})}return t&&!r&&i.push({className:"CodeMirror-linenumbers",style:null}),i}function bo(e){var t=e.gutters,i=e.gutterSpecs;Y(t),e.lineGutter=null;for(var r=0;r<i.length;++r){var s=i[r],S=s.className,y=s.style,N=t.appendChild(B("div",null,"CodeMirror-gutter "+S));y&&(N.style.cssText=y),S=="CodeMirror-linenumbers"&&(e.lineGutter=N,N.style.width=(e.lineNumWidth||1)+"px")}t.style.display=i.length?"":"none",ca(e)}function Qr(e){bo(e.display),tn(e),ho(e)}function Sl(e,t,i,r){var s=this;this.input=i,s.scrollbarFiller=B("div",null,"CodeMirror-scrollbar-filler"),s.scrollbarFiller.setAttribute("cm-not-content","true"),s.gutterFiller=B("div",null,"CodeMirror-gutter-filler"),s.gutterFiller.setAttribute("cm-not-content","true"),s.lineDiv=_e("div",null,"CodeMirror-code"),s.selectionDiv=B("div",null,null,"position: relative; z-index: 1"),s.cursorDiv=B("div",null,"CodeMirror-cursors"),s.measure=B("div",null,"CodeMirror-measure"),s.lineMeasure=B("div",null,"CodeMirror-measure"),s.lineSpace=_e("div",[s.measure,s.lineMeasure,s.selectionDiv,s.cursorDiv,s.lineDiv],null,"position: relative; outline: none");var S=_e("div",[s.lineSpace],"CodeMirror-lines");s.mover=B("div",[S],null,"position: relative"),s.sizer=B("div",[s.mover],"CodeMirror-sizer"),s.sizerWidth=null,s.heightForcer=B("div",null,null,"position: absolute; height: "+tt+"px; width: 1px;"),s.gutters=B("div",null,"CodeMirror-gutters"),s.lineGutter=null,s.scroller=B("div",[s.sizer,s.heightForcer,s.gutters],"CodeMirror-scroll"),s.scroller.setAttribute("tabIndex","-1"),s.wrapper=B("div",[s.scrollbarFiller,s.gutterFiller,s.scroller],"CodeMirror"),p&&f>=105&&(s.wrapper.style.clipPath="inset(0px)"),s.wrapper.setAttribute("translate","no"),o&&d<8&&(s.gutters.style.zIndex=-1,s.scroller.style.paddingRight=0),!m&&!(l&&O)&&(s.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(s.wrapper):e(s.wrapper)),s.viewFrom=s.viewTo=t.first,s.reportedViewFrom=s.reportedViewTo=t.first,s.view=[],s.renderedView=null,s.externalMeasured=null,s.viewOffset=0,s.lastWrapHeight=s.lastWrapWidth=0,s.updateLineNumbers=null,s.nativeBarWidth=s.barHeight=s.barWidth=0,s.scrollbarsClipped=!1,s.lineNumWidth=s.lineNumInnerWidth=s.lineNumChars=null,s.alignWidgets=!1,s.cachedCharWidth=s.cachedTextHeight=s.cachedPaddingH=null,s.maxLine=null,s.maxLineLength=0,s.maxLineChanged=!1,s.wheelDX=s.wheelDY=s.wheelStartX=s.wheelStartY=null,s.shift=!1,s.selForContextMenu=null,s.activeTouch=null,s.gutterSpecs=da(r.gutters,r.lineNumbers),bo(s),i.init(s)}var Ri=0,Un=null;o?Un=-.53:l?Un=15:p?Un=-.7:h&&(Un=-1/3);function To(e){var t=e.wheelDeltaX,i=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),i==null&&e.detail&&e.axis==e.VERTICAL_AXIS?i=e.detail:i==null&&(i=e.wheelDelta),{x:t,y:i}}function bl(e){var t=To(e);return t.x*=Un,t.y*=Un,t}function vo(e,t){p&&f==102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var i=To(t),r=i.x,s=i.y,S=Un;t.deltaMode===0&&(r=t.deltaX,s=t.deltaY,S=1);var y=e.display,N=y.scroller,w=N.scrollWidth>N.clientWidth,P=N.scrollHeight>N.clientHeight;if(!!(r&&w||s&&P)){if(s&&D&&m){e:for(var F=t.target,H=y.view;F!=N;F=F.parentNode)for(var $=0;$<H.length;$++)if(H[$].node==F){e.display.currentWheelTarget=F;break e}}if(r&&!l&&!_&&S!=null){s&&P&&Vr(e,Math.max(0,N.scrollTop+s*S)),cr(e,Math.max(0,N.scrollLeft+r*S)),(!s||s&&P)&&oe(t),y.wheelStartX=null;return}if(s&&S!=null){var q=s*S,ie=e.doc.scrollTop,ce=ie+y.wrapper.clientHeight;q<0?ie=Math.max(0,ie+q-50):ce=Math.min(e.doc.height,ce+q+50),la(e,{top:ie,bottom:ce})}Ri<20&&t.deltaMode!==0&&(y.wheelStartX==null?(y.wheelStartX=N.scrollLeft,y.wheelStartY=N.scrollTop,y.wheelDX=r,y.wheelDY=s,setTimeout(function(){if(y.wheelStartX!=null){var Se=N.scrollLeft-y.wheelStartX,Ce=N.scrollTop-y.wheelStartY,Ie=Ce&&y.wheelDY&&Ce/y.wheelDY||Se&&y.wheelDX&&Se/y.wheelDX;y.wheelStartX=y.wheelStartY=null,Ie&&(Un=(Un*Ri+Ie)/(Ri+1),++Ri)}},200)):(y.wheelDX+=r,y.wheelDY+=s))}}var mn=function(e,t){this.ranges=e,this.primIndex=t};mn.prototype.primary=function(){return this.ranges[this.primIndex]},mn.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var i=this.ranges[t],r=e.ranges[t];if(!Ye(i.anchor,r.anchor)||!Ye(i.head,r.head))return!1}return!0},mn.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Et(dt(this.ranges[t].anchor),dt(this.ranges[t].head));return new mn(e,this.primIndex)},mn.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},mn.prototype.contains=function(e,t){t||(t=e);for(var i=0;i<this.ranges.length;i++){var r=this.ranges[i];if(re(t,r.from())>=0&&re(e,r.to())<=0)return i}return-1};var Et=function(e,t){this.anchor=e,this.head=t};Et.prototype.from=function(){return Ct(this.anchor,this.head)},Et.prototype.to=function(){return ft(this.anchor,this.head)},Et.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Rn(e,t,i){var r=e&&e.options.selectionsMayTouch,s=t[i];t.sort(function($,q){return re($.from(),q.from())}),i=we(t,s);for(var S=1;S<t.length;S++){var y=t[S],N=t[S-1],w=re(N.to(),y.from());if(r&&!y.empty()?w>0:w>=0){var P=Ct(N.from(),y.from()),F=ft(N.to(),y.to()),H=N.empty()?y.from()==y.head:N.from()==N.head;S<=i&&--i,t.splice(--S,2,new Et(H?F:P,H?P:F))}}return new mn(t,i)}function Kn(e,t){return new mn([new Et(e,t||e)],0)}function $n(e){return e.text?me(e.from.line+e.text.length-1,Ae(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function Co(e,t){if(re(e,t.from)<0)return e;if(re(e,t.to)<=0)return $n(t);var i=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=$n(t).ch-t.to.ch),me(i,r)}function _a(e,t){for(var i=[],r=0;r<e.sel.ranges.length;r++){var s=e.sel.ranges[r];i.push(new Et(Co(s.anchor,t),Co(s.head,t)))}return Rn(e.cm,i,e.sel.primIndex)}function yo(e,t,i){return e.line==t.line?me(i.line,e.ch-t.ch+i.ch):me(i.line+(e.line-t.line),e.ch)}function Tl(e,t,i){for(var r=[],s=me(e.first,0),S=s,y=0;y<t.length;y++){var N=t[y],w=yo(N.from,s,S),P=yo($n(N),s,S);if(s=N.to,S=P,i=="around"){var F=e.sel.ranges[y],H=re(F.head,F.anchor)<0;r[y]=new Et(H?P:w,H?w:P)}else r[y]=new Et(w,w)}return new mn(r,e.sel.primIndex)}function pa(e){e.doc.mode=Nn(e.options,e.doc.modeOption),Xr(e)}function Xr(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,$r(e,100),e.state.modeGen++,e.curOp&&tn(e)}function Ro(e,t){return t.from.ch==0&&t.to.ch==0&&Ae(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function ma(e,t,i,r){function s(Ie){return i?i[Ie]:null}function S(Ie,ye,Me){Is(Ie,ye,Me,r),Ut(Ie,"change",Ie,t)}function y(Ie,ye){for(var Me=[],Xe=Ie;Xe<ye;++Xe)Me.push(new br(P[Xe],s(Xe),r));return Me}var N=t.from,w=t.to,P=t.text,F=Ge(e,N.line),H=Ge(e,w.line),$=Ae(P),q=s(P.length-1),ie=w.line-N.line;if(t.full)e.insert(0,y(0,P.length)),e.remove(P.length,e.size-P.length);else if(Ro(e,t)){var ce=y(0,P.length-1);S(H,H.text,q),ie&&e.remove(N.line,ie),ce.length&&e.insert(N.line,ce)}else if(F==H)if(P.length==1)S(F,F.text.slice(0,N.ch)+$+F.text.slice(w.ch),q);else{var Se=y(1,P.length-1);Se.push(new br($+F.text.slice(w.ch),q,r)),S(F,F.text.slice(0,N.ch)+P[0],s(0)),e.insert(N.line+1,Se)}else if(P.length==1)S(F,F.text.slice(0,N.ch)+P[0]+H.text.slice(w.ch),s(0)),e.remove(N.line+1,ie);else{S(F,F.text.slice(0,N.ch)+P[0],s(0)),S(H,$+H.text.slice(w.ch),q);var Ce=y(1,P.length-1);ie>1&&e.remove(N.line+1,ie-1),e.insert(N.line+1,Ce)}Ut(e,"change",e,t)}function Qn(e,t,i){function r(s,S,y){if(s.linked)for(var N=0;N<s.linked.length;++N){var w=s.linked[N];if(w.doc!=S){var P=y&&w.sharedHist;i&&!P||(t(w.doc,P),r(w.doc,s,P))}}}r(e,null,!0)}function Oo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ea(e),pa(e),No(e),e.options.direction=t.direction,e.options.lineWrapping||zi(e),e.options.mode=t.modeOption,tn(e)}function No(e){(e.doc.direction=="rtl"?fe:U)(e.display.lineDiv,"CodeMirror-rtl")}function vl(e){un(e,function(){No(e),tn(e)})}function Oi(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function fa(e,t){var i={from:dt(t.from),to:$n(t),text:Pt(e,t.from,t.to)};return Do(e,i,t.from.line,t.to.line+1),Qn(e,function(r){return Do(r,i,t.from.line,t.to.line+1)},!0),i}function Ao(e){for(;e.length;){var t=Ae(e);if(t.ranges)e.pop();else break}}function Cl(e,t){if(t)return Ao(e.done),Ae(e.done);if(e.done.length&&!Ae(e.done).ranges)return Ae(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Ae(e.done)}function Io(e,t,i,r){var s=e.history;s.undone.length=0;var S=+new Date,y,N;if((s.lastOp==r||s.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&s.lastModTime>S-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(y=Cl(s,s.lastOp==r)))N=Ae(y.changes),re(t.from,t.to)==0&&re(t.from,N.to)==0?N.to=$n(t):y.changes.push(fa(e,t));else{var w=Ae(s.done);for((!w||!w.ranges)&&Ni(e.sel,s.done),y={changes:[fa(e,t)],generation:s.generation},s.done.push(y);s.done.length>s.undoDepth;)s.done.shift(),s.done[0].ranges||s.done.shift()}s.done.push(i),s.generation=++s.maxGeneration,s.lastModTime=s.lastSelTime=S,s.lastOp=s.lastSelOp=r,s.lastOrigin=s.lastSelOrigin=t.origin,N||Je(e,"historyAdded")}function yl(e,t,i,r){var s=t.charAt(0);return s=="*"||s=="+"&&i.ranges.length==r.ranges.length&&i.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Rl(e,t,i,r){var s=e.history,S=r&&r.origin;i==s.lastSelOp||S&&s.lastSelOrigin==S&&(s.lastModTime==s.lastSelTime&&s.lastOrigin==S||yl(e,S,Ae(s.done),t))?s.done[s.done.length-1]=t:Ni(t,s.done),s.lastSelTime=+new Date,s.lastSelOrigin=S,s.lastSelOp=i,r&&r.clearRedo!==!1&&Ao(s.undone)}function Ni(e,t){var i=Ae(t);i&&i.ranges&&i.equals(e)||t.push(e)}function Do(e,t,i,r){var s=t["spans_"+e.id],S=0;e.iter(Math.max(e.first,i),Math.min(e.first+e.size,r),function(y){y.markedSpans&&((s||(s=t["spans_"+e.id]={}))[S]=y.markedSpans),++S})}function Ol(e){if(!e)return null;for(var t,i=0;i<e.length;++i)e[i].marker.explicitlyCleared?t||(t=e.slice(0,i)):t&&t.push(e[i]);return t?t.length?t:null:e}function Nl(e,t){var i=t["spans_"+e.id];if(!i)return null;for(var r=[],s=0;s<t.text.length;++s)r.push(Ol(i[s]));return r}function xo(e,t){var i=Nl(e,t),r=Sr(e,t);if(!i)return r;if(!r)return i;for(var s=0;s<i.length;++s){var S=i[s],y=r[s];if(S&&y){e:for(var N=0;N<y.length;++N){for(var w=y[N],P=0;P<S.length;++P)if(S[P].marker==w.marker)continue e;S.push(w)}}else y&&(i[s]=y)}return i}function Ar(e,t,i){for(var r=[],s=0;s<e.length;++s){var S=e[s];if(S.ranges){r.push(i?mn.prototype.deepCopy.call(S):S);continue}var y=S.changes,N=[];r.push({changes:N});for(var w=0;w<y.length;++w){var P=y[w],F=void 0;if(N.push({from:P.from,to:P.to,text:P.text}),t)for(var H in P)(F=H.match(/^spans_(\d+)$/))&&we(t,Number(F[1]))>-1&&(Ae(N)[H]=P[H],delete P[H])}}return r}function ga(e,t,i,r){if(r){var s=e.anchor;if(i){var S=re(t,s)<0;S!=re(i,s)<0?(s=t,t=i):S!=re(t,i)<0&&(t=i)}return new Et(s,t)}else return new Et(i||t,t)}function Ai(e,t,i,r,s){s==null&&(s=e.cm&&(e.cm.display.shift||e.extend)),Vt(e,new mn([ga(e.sel.primary(),t,i,s)],0),r)}function wo(e,t,i){for(var r=[],s=e.cm&&(e.cm.display.shift||e.extend),S=0;S<e.sel.ranges.length;S++)r[S]=ga(e.sel.ranges[S],t[S],null,s);var y=Rn(e.cm,r,e.sel.primIndex);Vt(e,y,i)}function Ea(e,t,i,r){var s=e.sel.ranges.slice(0);s[t]=i,Vt(e,Rn(e.cm,s,e.sel.primIndex),r)}function Mo(e,t,i,r){Vt(e,Kn(t,i),r)}function Al(e,t,i){var r={ranges:t.ranges,update:function(s){this.ranges=[];for(var S=0;S<s.length;S++)this.ranges[S]=new Et(qe(e,s[S].anchor),qe(e,s[S].head))},origin:i&&i.origin};return Je(e,"beforeSelectionChange",e,r),e.cm&&Je(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?Rn(e.cm,r.ranges,r.ranges.length-1):t}function Lo(e,t,i){var r=e.history.done,s=Ae(r);s&&s.ranges?(r[r.length-1]=t,Ii(e,t,i)):Vt(e,t,i)}function Vt(e,t,i){Ii(e,t,i),Rl(e,e.sel,e.cm?e.cm.curOp.id:NaN,i)}function Ii(e,t,i){(W(e,"beforeSelectionChange")||e.cm&&W(e.cm,"beforeSelectionChange"))&&(t=Al(e,t,i));var r=i&&i.bias||(re(t.primary().head,e.sel.primary().head)<0?-1:1);Po(e,Uo(e,t,r,!0)),!(i&&i.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&Or(e.cm)}function Po(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Pe(e.cm)),Ut(e,"cursorActivity",e))}function ko(e){Po(e,Uo(e,e.sel,null,!1))}function Uo(e,t,i,r){for(var s,S=0;S<t.ranges.length;S++){var y=t.ranges[S],N=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[S],w=Di(e,y.anchor,N&&N.anchor,i,r),P=y.head==y.anchor?w:Di(e,y.head,N&&N.head,i,r);(s||w!=y.anchor||P!=y.head)&&(s||(s=t.ranges.slice(0,S)),s[S]=new Et(w,P))}return s?Rn(e.cm,s,t.primIndex):t}function Ir(e,t,i,r,s){var S=Ge(e,t.line);if(S.markedSpans)for(var y=0;y<S.markedSpans.length;++y){var N=S.markedSpans[y],w=N.marker,P="selectLeft"in w?!w.selectLeft:w.inclusiveLeft,F="selectRight"in w?!w.selectRight:w.inclusiveRight;if((N.from==null||(P?N.from<=t.ch:N.from<t.ch))&&(N.to==null||(F?N.to>=t.ch:N.to>t.ch))){if(s&&(Je(w,"beforeCursorEnter"),w.explicitlyCleared))if(S.markedSpans){--y;continue}else break;if(!w.atomic)continue;if(i){var H=w.find(r<0?1:-1),$=void 0;if((r<0?F:P)&&(H=Fo(e,H,-r,H&&H.line==t.line?S:null)),H&&H.line==t.line&&($=re(H,i))&&(r<0?$<0:$>0))return Ir(e,H,t,r,s)}var q=w.find(r<0?-1:1);return(r<0?P:F)&&(q=Fo(e,q,r,q.line==t.line?S:null)),q?Ir(e,q,t,r,s):null}}return t}function Di(e,t,i,r,s){var S=r||1,y=Ir(e,t,i,S,s)||!s&&Ir(e,t,i,S,!0)||Ir(e,t,i,-S,s)||!s&&Ir(e,t,i,-S,!0);return y||(e.cantEdit=!0,me(e.first,0))}function Fo(e,t,i,r){return i<0&&t.ch==0?t.line>e.first?qe(e,me(t.line-1)):null:i>0&&t.ch==(r||Ge(e,t.line)).text.length?t.line<e.first+e.size-1?me(t.line+1,0):null:new me(t.line,t.ch+i)}function Bo(e){e.setSelection(me(e.firstLine(),0),me(e.lastLine()),ct)}function Go(e,t,i){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return i&&(r.update=function(s,S,y,N){s&&(r.from=qe(e,s)),S&&(r.to=qe(e,S)),y&&(r.text=y),N!==void 0&&(r.origin=N)}),Je(e,"beforeChange",e,r),e.cm&&Je(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Dr(e,t,i){if(e.cm){if(!e.cm.curOp)return Ft(e.cm,Dr)(e,t,i);if(e.cm.state.suppressEdits)return}if(!((W(e,"beforeChange")||e.cm&&W(e.cm,"beforeChange"))&&(t=Go(e,t,!0),!t))){var r=In&&!i&&Rs(e,t.from,t.to);if(r)for(var s=r.length-1;s>=0;--s)Yo(e,{from:r[s].from,to:r[s].to,text:s?[""]:t.text,origin:t.origin});else Yo(e,t)}}function Yo(e,t){if(!(t.text.length==1&&t.text[0]==""&&re(t.from,t.to)==0)){var i=_a(e,t);Io(e,t,i,e.cm?e.cm.curOp.id:NaN),Zr(e,t,i,Sr(e,t));var r=[];Qn(e,function(s,S){!S&&we(r,s.history)==-1&&(Vo(s.history,t),r.push(s.history)),Zr(s,t,null,Sr(s,t))})}}function xi(e,t,i){var r=e.cm&&e.cm.state.suppressEdits;if(!(r&&!i)){for(var s=e.history,S,y=e.sel,N=t=="undo"?s.done:s.undone,w=t=="undo"?s.undone:s.done,P=0;P<N.length&&(S=N[P],!(i?S.ranges&&!S.equals(e.sel):!S.ranges));P++);if(P!=N.length){for(s.lastOrigin=s.lastSelOrigin=null;;)if(S=N.pop(),S.ranges){if(Ni(S,w),i&&!S.equals(e.sel)){Vt(e,S,{clearRedo:!1});return}y=S}else if(r){N.push(S);return}else break;var F=[];Ni(y,w),w.push({changes:F,generation:s.generation}),s.generation=S.generation||++s.maxGeneration;for(var H=W(e,"beforeChange")||e.cm&&W(e.cm,"beforeChange"),$=function(ce){var Se=S.changes[ce];if(Se.origin=t,H&&!Go(e,Se,!1))return N.length=0,{};F.push(fa(e,Se));var Ce=ce?_a(e,Se):Ae(N);Zr(e,Se,Ce,xo(e,Se)),!ce&&e.cm&&e.cm.scrollIntoView({from:Se.from,to:$n(Se)});var Ie=[];Qn(e,function(ye,Me){!Me&&we(Ie,ye.history)==-1&&(Vo(ye.history,Se),Ie.push(ye.history)),Zr(ye,Se,null,xo(ye,Se))})},q=S.changes.length-1;q>=0;--q){var ie=$(q);if(ie)return ie.v}}}}function Ho(e,t){if(t!=0&&(e.first+=t,e.sel=new mn(St(e.sel.ranges,function(s){return new Et(me(s.anchor.line+t,s.anchor.ch),me(s.head.line+t,s.head.ch))}),e.sel.primIndex),e.cm)){tn(e.cm,e.first,e.first-t,t);for(var i=e.cm.display,r=i.viewFrom;r<i.viewTo;r++)Vn(e.cm,r,"gutter")}}function Zr(e,t,i,r){if(e.cm&&!e.cm.curOp)return Ft(e.cm,Zr)(e,t,i,r);if(t.to.line<e.first){Ho(e,t.text.length-1-(t.to.line-t.from.line));return}if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var s=t.text.length-1-(e.first-t.from.line);Ho(e,s),t={from:me(e.first,0),to:me(t.to.line+s,t.to.ch),text:[Ae(t.text)],origin:t.origin}}var S=e.lastLine();t.to.line>S&&(t={from:t.from,to:me(S,Ge(e,S).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Pt(e,t.from,t.to),i||(i=_a(e,t)),e.cm?Il(e.cm,t,r):ma(e,t,r),Ii(e,i,ct),e.cantEdit&&Di(e,me(e.firstLine(),0))&&(e.cantEdit=!1)}}function Il(e,t,i){var r=e.doc,s=e.display,S=t.from,y=t.to,N=!1,w=S.line;e.options.lineWrapping||(w=mt(Cn(Ge(r,S.line))),r.iter(w,y.line+1,function(q){if(q==s.maxLine)return N=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Pe(e),ma(r,t,i,oo(e)),e.options.lineWrapping||(r.iter(w,S.line+t.text.length,function(q){var ie=mi(q);ie>s.maxLineLength&&(s.maxLine=q,s.maxLineLength=ie,s.maxLineChanged=!0,N=!1)}),N&&(e.curOp.updateMaxLine=!0)),yt(r,S.line),$r(e,400);var P=t.text.length-(y.line-S.line)-1;t.full?tn(e):S.line==y.line&&t.text.length==1&&!Ro(e.doc,t)?Vn(e,S.line,"text"):tn(e,S.line,y.line+1,P);var F=W(e,"changes"),H=W(e,"change");if(H||F){var $={from:S,to:y,text:t.text,removed:t.removed,origin:t.origin};H&&Ut(e,"change",e,$),F&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push($)}e.display.selForContextMenu=null}function xr(e,t,i,r,s){var S;r||(r=i),re(r,i)<0&&(S=[r,i],i=S[0],r=S[1]),typeof t=="string"&&(t=e.splitLines(t)),Dr(e,{from:i,to:r,text:t,origin:s})}function zo(e,t,i,r){i<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function Wo(e,t,i,r){for(var s=0;s<e.length;++s){var S=e[s],y=!0;if(S.ranges){S.copied||(S=e[s]=S.deepCopy(),S.copied=!0);for(var N=0;N<S.ranges.length;N++)zo(S.ranges[N].anchor,t,i,r),zo(S.ranges[N].head,t,i,r);continue}for(var w=0;w<S.changes.length;++w){var P=S.changes[w];if(i<P.from.line)P.from=me(P.from.line+r,P.from.ch),P.to=me(P.to.line+r,P.to.ch);else if(t<=P.to.line){y=!1;break}}y||(e.splice(0,s+1),s=0)}}function Vo(e,t){var i=t.from.line,r=t.to.line,s=t.text.length-(r-i)-1;Wo(e.done,i,r,s),Wo(e.undone,i,r,s)}function jr(e,t,i,r){var s=t,S=t;return typeof t=="number"?S=Ge(e,Sn(e,t)):s=mt(t),s==null?null:(r(S,s)&&e.cm&&Vn(e.cm,s,i),S)}function Jr(e){this.lines=e,this.parent=null;for(var t=0,i=0;i<e.length;++i)e[i].parent=this,t+=e[i].height;this.height=t}Jr.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var i=e,r=e+t;i<r;++i){var s=this.lines[i];this.height-=s.height,Ds(s),Ut(s,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,i){this.height+=i,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,i){for(var r=e+t;e<r;++e)if(i(this.lines[e]))return!0}};function ei(e){this.children=e;for(var t=0,i=0,r=0;r<e.length;++r){var s=e[r];t+=s.chunkSize(),i+=s.height,s.parent=this}this.size=t,this.height=i,this.parent=null}ei.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var i=0;i<this.children.length;++i){var r=this.children[i],s=r.chunkSize();if(e<s){var S=Math.min(t,s-e),y=r.height;if(r.removeInner(e,S),this.height-=y-r.height,s==S&&(this.children.splice(i--,1),r.parent=null),(t-=S)==0)break;e=0}else e-=s}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Jr))){var N=[];this.collapse(N),this.children=[new Jr(N)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,i){this.size+=t.length,this.height+=i;for(var r=0;r<this.children.length;++r){var s=this.children[r],S=s.chunkSize();if(e<=S){if(s.insertInner(e,t,i),s.lines&&s.lines.length>50){for(var y=s.lines.length%25+25,N=y;N<s.lines.length;){var w=new Jr(s.lines.slice(N,N+=25));s.height-=w.height,this.children.splice(++r,0,w),w.parent=this}s.lines=s.lines.slice(0,y),this.maybeSpill()}break}e-=S}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),i=new ei(t);if(e.parent){e.size-=i.size,e.height-=i.height;var s=we(e.parent.children,e);e.parent.children.splice(s+1,0,i)}else{var r=new ei(e.children);r.parent=e,e.children=[r,i],e=r}i.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,i){for(var r=0;r<this.children.length;++r){var s=this.children[r],S=s.chunkSize();if(e<S){var y=Math.min(t,S-e);if(s.iterN(e,y,i))return!0;if((t-=y)==0)break;e=0}else e-=S}}};var ti=function(e,t,i){if(i)for(var r in i)i.hasOwnProperty(r)&&(this[r]=i[r]);this.doc=e,this.node=t};ti.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,i=this.line,r=mt(i);if(!(r==null||!t)){for(var s=0;s<t.length;++s)t[s]==this&&t.splice(s--,1);t.length||(i.widgets=null);var S=Yr(this);jt(i,Math.max(0,i.height-S)),e&&(un(e,function(){qo(e,i,-S),Vn(e,r,"widget")}),Ut(e,"lineWidgetCleared",e,this,r))}},ti.prototype.changed=function(){var e=this,t=this.height,i=this.doc.cm,r=this.line;this.height=null;var s=Yr(this)-t;!s||(Wn(this.doc,r)||jt(r,r.height+s),i&&un(i,function(){i.curOp.forceUpdate=!0,qo(i,r,s),Ut(i,"lineWidgetChanged",i,e,mt(r))}))},X(ti);function qo(e,t,i){Pn(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&oa(e,i)}function Dl(e,t,i,r){var s=new ti(e,i,r),S=e.cm;return S&&s.noHScroll&&(S.display.alignWidgets=!0),jr(e,t,"widget",function(y){var N=y.widgets||(y.widgets=[]);if(s.insertAt==null?N.push(s):N.splice(Math.min(N.length,Math.max(0,s.insertAt)),0,s),s.line=y,S&&!Wn(e,y)){var w=Pn(y)<e.scrollTop;jt(y,y.height+Yr(s)),w&&oa(S,s.height),S.curOp.forceUpdate=!0}return!0}),S&&Ut(S,"lineWidgetAdded",S,s,typeof t=="number"?t:mt(t)),s}var Ko=0,Xn=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Ko};Xn.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&dr(e),W(this,"clear")){var i=this.find();i&&Ut(this,"clear",i.from,i.to)}for(var r=null,s=null,S=0;S<this.lines.length;++S){var y=this.lines[S],N=Ke(y.markedSpans,this);e&&!this.collapsed?Vn(e,mt(y),"text"):e&&(N.to!=null&&(s=mt(y)),N.from!=null&&(r=mt(y))),y.markedSpans=st(y.markedSpans,N),N.from==null&&this.collapsed&&!Wn(this.doc,y)&&e&&jt(y,Cr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var w=0;w<this.lines.length;++w){var P=Cn(this.lines[w]),F=mi(P);F>e.display.maxLineLength&&(e.display.maxLine=P,e.display.maxLineLength=F,e.display.maxLineChanged=!0)}r!=null&&e&&this.collapsed&&tn(e,r,s+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&ko(e.doc)),e&&Ut(e,"markerCleared",e,this,r,s),t&&_r(e),this.parent&&this.parent.clear()}},Xn.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var i,r,s=0;s<this.lines.length;++s){var S=this.lines[s],y=Ke(S.markedSpans,this);if(y.from!=null&&(i=me(t?S:mt(S),y.from),e==-1))return i;if(y.to!=null&&(r=me(t?S:mt(S),y.to),e==1))return r}return i&&{from:i,to:r}},Xn.prototype.changed=function(){var e=this,t=this.find(-1,!0),i=this,r=this.doc.cm;!t||!r||un(r,function(){var s=t.line,S=mt(t.line),y=Ki(r,S);if(y&&(ja(y),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!Wn(i.doc,s)&&i.height!=null){var N=i.height;i.height=null;var w=Yr(i)-N;w&&jt(s,s.height+w)}Ut(r,"markerChanged",r,e)})},Xn.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||we(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Xn.prototype.detachLine=function(e){if(this.lines.splice(we(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},X(Xn);function wr(e,t,i,r,s){if(r&&r.shared)return xl(e,t,i,r,s);if(e.cm&&!e.cm.curOp)return Ft(e.cm,wr)(e,t,i,r,s);var S=new Xn(e,s),y=re(t,i);if(r&&et(r,S,!1),y>0||y==0&&S.clearWhenEmpty!==!1)return S;if(S.replacedWith&&(S.collapsed=!0,S.widgetNode=_e("span",[S.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||S.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(S.widgetNode.insertLeft=!0)),S.collapsed){if(ka(e,t.line,t,i,S)||t.line!=i.line&&ka(e,i.line,t,i,S))throw new Error("Inserting collapsed marker partially overlapping an existing one");zn()}S.addToHistory&&Io(e,{from:t,to:i,origin:"markText"},e.sel,NaN);var N=t.line,w=e.cm,P;if(e.iter(N,i.line+1,function(H){w&&S.collapsed&&!w.options.lineWrapping&&Cn(H)==w.display.maxLine&&(P=!0),S.collapsed&&N!=t.line&&jt(H,0),gt(H,new Ue(S,N==t.line?t.ch:null,N==i.line?i.ch:null),e.cm&&e.cm.curOp),++N}),S.collapsed&&e.iter(t.line,i.line+1,function(H){Wn(e,H)&&jt(H,0)}),S.clearOnEnter&&ue(S,"beforeCursorEnter",function(){return S.clear()}),S.readOnly&&(rr(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),S.collapsed&&(S.id=++Ko,S.atomic=!0),w){if(P&&(w.curOp.updateMaxLine=!0),S.collapsed)tn(w,t.line,i.line+1);else if(S.className||S.startStyle||S.endStyle||S.css||S.attributes||S.title)for(var F=t.line;F<=i.line;F++)Vn(w,F,"text");S.atomic&&ko(w.doc),Ut(w,"markerAdded",w,S)}return S}var ni=function(e,t){this.markers=e,this.primary=t;for(var i=0;i<e.length;++i)e[i].parent=this};ni.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Ut(this,"clear")}},ni.prototype.find=function(e,t){return this.primary.find(e,t)},X(ni);function xl(e,t,i,r,s){r=et(r),r.shared=!1;var S=[wr(e,t,i,r,s)],y=S[0],N=r.widgetNode;return Qn(e,function(w){N&&(r.widgetNode=N.cloneNode(!0)),S.push(wr(w,qe(w,t),qe(w,i),r,s));for(var P=0;P<w.linked.length;++P)if(w.linked[P].isParent)return;y=Ae(S)}),new ni(S,y)}function $o(e){return e.findMarks(me(e.first,0),e.clipPos(me(e.lastLine())),function(t){return t.parent})}function wl(e,t){for(var i=0;i<t.length;i++){var r=t[i],s=r.find(),S=e.clipPos(s.from),y=e.clipPos(s.to);if(re(S,y)){var N=wr(e,S,y,r.primary,r.primary.type);r.markers.push(N),N.parent=r}}}function Ml(e){for(var t=function(r){var s=e[r],S=[s.primary.doc];Qn(s.primary.doc,function(w){return S.push(w)});for(var y=0;y<s.markers.length;y++){var N=s.markers[y];we(S,N.doc)==-1&&(N.parent=null,s.markers.splice(y--,1))}},i=0;i<e.length;i++)t(i)}var Ll=0,nn=function(e,t,i,r,s){if(!(this instanceof nn))return new nn(e,t,i,r,s);i==null&&(i=0),ei.call(this,[new Jr([new br("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;var S=me(i,0);this.sel=Kn(S),this.history=new Oi(null),this.id=++Ll,this.modeOption=t,this.lineSep=r,this.direction=s=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),ma(this,{from:S,to:S,text:e}),Vt(this,Kn(S),ct)};nn.prototype=K(ei.prototype,{constructor:nn,iter:function(e,t,i){i?this.iterN(e-this.first,t-e,i):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var i=0,r=0;r<t.length;++r)i+=t[r].height;this.insertInner(e-this.first,t,i)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Yn(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:Bt(function(e){var t=me(this.first,0),i=this.first+this.size-1;Dr(this,{from:t,to:me(i,Ge(this,i).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Wr(this.cm,0,0),Vt(this,Kn(t),ct)}),replaceRange:function(e,t,i,r){t=qe(this,t),i=i?qe(this,i):t,xr(this,e,t,i,r)},getRange:function(e,t,i){var r=Pt(this,qe(this,e),qe(this,t));return i===!1?r:i===""?r.join(""):r.join(i||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(hn(this,e))return Ge(this,e)},getLineNumber:function(e){return mt(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Ge(this,e)),Cn(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return qe(this,e)},getCursor:function(e){var t=this.sel.primary(),i;return e==null||e=="head"?i=t.head:e=="anchor"?i=t.anchor:e=="end"||e=="to"||e===!1?i=t.to():i=t.from(),i},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Bt(function(e,t,i){Mo(this,qe(this,typeof e=="number"?me(e,t||0):e),null,i)}),setSelection:Bt(function(e,t,i){Mo(this,qe(this,e),qe(this,t||e),i)}),extendSelection:Bt(function(e,t,i){Ai(this,qe(this,e),t&&qe(this,t),i)}),extendSelections:Bt(function(e,t){wo(this,Jt(this,e),t)}),extendSelectionsBy:Bt(function(e,t){var i=St(this.sel.ranges,e);wo(this,Jt(this,i),t)}),setSelections:Bt(function(e,t,i){if(!!e.length){for(var r=[],s=0;s<e.length;s++)r[s]=new Et(qe(this,e[s].anchor),qe(this,e[s].head||e[s].anchor));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),Vt(this,Rn(this.cm,r,t),i)}}),addSelection:Bt(function(e,t,i){var r=this.sel.ranges.slice(0);r.push(new Et(qe(this,e),qe(this,t||e))),Vt(this,Rn(this.cm,r,r.length-1),i)}),getSelection:function(e){for(var t=this.sel.ranges,i,r=0;r<t.length;r++){var s=Pt(this,t[r].from(),t[r].to());i=i?i.concat(s):s}return e===!1?i:i.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],i=this.sel.ranges,r=0;r<i.length;r++){var s=Pt(this,i[r].from(),i[r].to());e!==!1&&(s=s.join(e||this.lineSeparator())),t[r]=s}return t},replaceSelection:function(e,t,i){for(var r=[],s=0;s<this.sel.ranges.length;s++)r[s]=e;this.replaceSelections(r,t,i||"+input")},replaceSelections:Bt(function(e,t,i){for(var r=[],s=this.sel,S=0;S<s.ranges.length;S++){var y=s.ranges[S];r[S]={from:y.from(),to:y.to(),text:this.splitLines(e[S]),origin:i}}for(var N=t&&t!="end"&&Tl(this,r,t),w=r.length-1;w>=0;w--)Dr(this,r[w]);N?Lo(this,N):this.cm&&Or(this.cm)}),undo:Bt(function(){xi(this,"undo")}),redo:Bt(function(){xi(this,"redo")}),undoSelection:Bt(function(){xi(this,"undo",!0)}),redoSelection:Bt(function(){xi(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,i=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var s=0;s<e.undone.length;s++)e.undone[s].ranges||++i;return{undo:t,redo:i}},clearHistory:function(){var e=this;this.history=new Oi(this.history),Qn(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ar(this.history.done),undone:Ar(this.history.undone)}},setHistory:function(e){var t=this.history=new Oi(this.history);t.done=Ar(e.done.slice(0),null,!0),t.undone=Ar(e.undone.slice(0),null,!0)},setGutterMarker:Bt(function(e,t,i){return jr(this,e,"gutter",function(r){var s=r.gutterMarkers||(r.gutterMarkers={});return s[t]=i,!i&&pe(s)&&(r.gutterMarkers=null),!0})}),clearGutter:Bt(function(e){var t=this;this.iter(function(i){i.gutterMarkers&&i.gutterMarkers[e]&&jr(t,i,"gutter",function(){return i.gutterMarkers[e]=null,pe(i.gutterMarkers)&&(i.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!hn(this,e)||(t=e,e=Ge(this,e),!e))return null}else if(t=mt(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Bt(function(e,t,i){return jr(this,e,t=="gutter"?"gutter":"class",function(r){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!r[s])r[s]=i;else{if(k(i).test(r[s]))return!1;r[s]+=" "+i}return!0})}),removeLineClass:Bt(function(e,t,i){return jr(this,e,t=="gutter"?"gutter":"class",function(r){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",S=r[s];if(S)if(i==null)r[s]=null;else{var y=S.match(k(i));if(!y)return!1;var N=y.index+y[0].length;r[s]=S.slice(0,y.index)+(!y.index||N==S.length?"":" ")+S.slice(N)||null}else return!1;return!0})}),addLineWidget:Bt(function(e,t,i){return Dl(this,e,t,i)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,i){return wr(this,qe(this,e),qe(this,t),i,i&&i.type||"range")},setBookmark:function(e,t){var i={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=qe(this,e),wr(this,e,e,i,"bookmark")},findMarksAt:function(e){e=qe(this,e);var t=[],i=Ge(this,e.line).markedSpans;if(i)for(var r=0;r<i.length;++r){var s=i[r];(s.from==null||s.from<=e.ch)&&(s.to==null||s.to>=e.ch)&&t.push(s.marker.parent||s.marker)}return t},findMarks:function(e,t,i){e=qe(this,e),t=qe(this,t);var r=[],s=e.line;return this.iter(e.line,t.line+1,function(S){var y=S.markedSpans;if(y)for(var N=0;N<y.length;N++){var w=y[N];!(w.to!=null&&s==e.line&&e.ch>=w.to||w.from==null&&s!=e.line||w.from!=null&&s==t.line&&w.from>=t.ch)&&(!i||i(w.marker))&&r.push(w.marker.parent||w.marker)}++s}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var i=t.markedSpans;if(i)for(var r=0;r<i.length;++r)i[r].from!=null&&e.push(i[r].marker)}),e},posFromIndex:function(e){var t,i=this.first,r=this.lineSeparator().length;return this.iter(function(s){var S=s.text.length+r;if(S>e)return t=e,!0;e-=S,++i}),qe(this,me(i,t))},indexFromPos:function(e){e=qe(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var i=this.lineSeparator().length;return this.iter(this.first,e.line,function(r){t+=r.text.length+i}),t},copy:function(e){var t=new nn(Yn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,i=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<i&&(i=e.to);var r=new nn(Yn(this,t,i),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],wl(r,$o(this)),r},unlinkDoc:function(e){if(e instanceof Rt&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var i=this.linked[t];if(i.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Ml($o(this));break}}if(e.history==this.history){var r=[e.id];Qn(e,function(s){return r.push(s.id)},!0),e.history=new Oi(null),e.history.done=Ar(this.history.done,r),e.history.undone=Ar(this.history.undone,r)}},iterLinkedDocs:function(e){Qn(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):It(e)},lineSeparator:function(){return this.lineSep||`
11
+ `},setDirection:Bt(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&vl(this.cm))})}),nn.prototype.eachLine=nn.prototype.iter;var Qo=0;function Pl(e){var t=this;if(Xo(t),!(ne(t,e)||kn(t.display,e))){oe(e),o&&(Qo=+new Date);var i=sr(t,e,!0),r=e.dataTransfer.files;if(!(!i||t.isReadOnly()))if(r&&r.length&&window.FileReader&&window.File)for(var s=r.length,S=Array(s),y=0,N=function(){++y==s&&Ft(t,function(){i=qe(t.doc,i);var q={from:i,to:i,text:t.doc.splitLines(S.filter(function(ie){return ie!=null}).join(t.doc.lineSeparator())),origin:"paste"};Dr(t.doc,q),Lo(t.doc,Kn(qe(t.doc,i),qe(t.doc,$n(q))))})()},w=function(q,ie){if(t.options.allowDropFileTypes&&we(t.options.allowDropFileTypes,q.type)==-1){N();return}var ce=new FileReader;ce.onerror=function(){return N()},ce.onload=function(){var Se=ce.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Se)){N();return}S[ie]=Se,N()},ce.readAsText(q)},P=0;P<r.length;P++)w(r[P],P);else{if(t.state.draggingText&&t.doc.sel.contains(i)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var F=e.dataTransfer.getData("Text");if(F){var H;if(t.state.draggingText&&!t.state.draggingText.copy&&(H=t.listSelections()),Ii(t.doc,Kn(i,i)),H)for(var $=0;$<H.length;++$)xr(t.doc,"",H[$].anchor,H[$].head,"drag");t.replaceSelection(F,"around","paste"),t.display.input.focus()}}catch(q){}}}}function kl(e,t){if(o&&(!e.state.draggingText||+new Date-Qo<100)){ze(t);return}if(!(ne(e,t)||kn(e.display,t))&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var i=B("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",_&&(i.width=i.height=1,e.display.wrapper.appendChild(i),i._top=i.offsetTop),t.dataTransfer.setDragImage(i,0,0),_&&i.parentNode.removeChild(i)}}function Ul(e,t){var i=sr(e,t);if(!!i){var r=document.createDocumentFragment();ta(e,i,r),e.display.dragCursor||(e.display.dragCursor=B("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),z(e.display.dragCursor,r)}}function Xo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Zo(e){if(!!document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),i=[],r=0;r<t.length;r++){var s=t[r].CodeMirror;s&&i.push(s)}i.length&&i[0].operation(function(){for(var S=0;S<i.length;S++)e(i[S])})}}var jo=!1;function Fl(){jo||(Bl(),jo=!0)}function Bl(){var e;ue(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Zo(Gl)},100))}),ue(window,"blur",function(){return Zo(Rr)})}function Gl(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Zn={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},ri=0;ri<10;ri++)Zn[ri+48]=Zn[ri+96]=String(ri);for(var wi=65;wi<=90;wi++)Zn[wi]=String.fromCharCode(wi);for(var ii=1;ii<=12;ii++)Zn[ii+111]=Zn[ii+63235]="F"+ii;var Fn={};Fn.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"},Fn.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"},Fn.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"},Fn.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"]},Fn.default=D?Fn.macDefault:Fn.pcDefault;function Yl(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var i,r,s,S,y=0;y<t.length-1;y++){var N=t[y];if(/^(cmd|meta|m)$/i.test(N))S=!0;else if(/^a(lt)?$/i.test(N))i=!0;else if(/^(c|ctrl|control)$/i.test(N))r=!0;else if(/^s(hift)?$/i.test(N))s=!0;else throw new Error("Unrecognized modifier name: "+N)}return i&&(e="Alt-"+e),r&&(e="Ctrl-"+e),S&&(e="Cmd-"+e),s&&(e="Shift-"+e),e}function Hl(e){var t={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if(r=="..."){delete e[i];continue}for(var s=St(i.split(" "),Yl),S=0;S<s.length;S++){var y=void 0,N=void 0;S==s.length-1?(N=s.join(" "),y=r):(N=s.slice(0,S+1).join(" "),y="...");var w=t[N];if(!w)t[N]=y;else if(w!=y)throw new Error("Inconsistent bindings for "+N)}delete e[i]}for(var P in t)e[P]=t[P];return e}function Mr(e,t,i,r){t=Mi(t);var s=t.call?t.call(e,r):t[e];if(s===!1)return"nothing";if(s==="...")return"multi";if(s!=null&&i(s))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return Mr(e,t.fallthrough,i,r);for(var S=0;S<t.fallthrough.length;S++){var y=Mr(e,t.fallthrough[S],i,r);if(y)return y}}}function Jo(e){var t=typeof e=="string"?e:Zn[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function es(e,t,i){var r=e;return t.altKey&&r!="Alt"&&(e="Alt-"+e),(x?t.metaKey:t.ctrlKey)&&r!="Ctrl"&&(e="Ctrl-"+e),(x?t.ctrlKey:t.metaKey)&&r!="Mod"&&(e="Cmd-"+e),!i&&t.shiftKey&&r!="Shift"&&(e="Shift-"+e),e}function ts(e,t){if(_&&e.keyCode==34&&e.char)return!1;var i=Zn[e.keyCode];return i==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(i=e.code),es(i,e,t))}function Mi(e){return typeof e=="string"?Fn[e]:e}function Lr(e,t){for(var i=e.doc.sel.ranges,r=[],s=0;s<i.length;s++){for(var S=t(i[s]);r.length&&re(S.from,Ae(r).to)<=0;){var y=r.pop();if(re(y.from,S.from)<0){S.from=y.from;break}}r.push(S)}un(e,function(){for(var N=r.length-1;N>=0;N--)xr(e.doc,"",r[N].from,r[N].to,"+delete");Or(e)})}function ha(e,t,i){var r=We(e.text,t+i,i);return r<0||r>e.text.length?null:r}function Sa(e,t,i){var r=ha(e,t.ch,i);return r==null?null:new me(t.line,r,i<0?"after":"before")}function ba(e,t,i,r,s){if(e){t.doc.direction=="rtl"&&(s=-s);var S=te(i,t.doc.direction);if(S){var y=s<0?Ae(S):S[0],N=s<0==(y.level==1),w=N?"after":"before",P;if(y.level>0||t.doc.direction=="rtl"){var F=vr(t,i);P=s<0?i.text.length-1:0;var H=xn(t,F,P).top;P=ke(function($){return xn(t,F,$).top==H},s<0==(y.level==1)?y.from:y.to-1,P),w=="before"&&(P=ha(i,P,1))}else P=s<0?y.to:y.from;return new me(r,P,w)}}return new me(r,s<0?i.text.length:0,s<0?"before":"after")}function zl(e,t,i,r){var s=te(t,e.doc.direction);if(!s)return Sa(t,i,r);i.ch>=t.text.length?(i.ch=t.text.length,i.sticky="before"):i.ch<=0&&(i.ch=0,i.sticky="after");var S=ut(s,i.ch,i.sticky),y=s[S];if(e.doc.direction=="ltr"&&y.level%2==0&&(r>0?y.to>i.ch:y.from<i.ch))return Sa(t,i,r);var N=function(Ce,Ie){return ha(t,Ce instanceof me?Ce.ch:Ce,Ie)},w,P=function(Ce){return e.options.lineWrapping?(w=w||vr(e,t),ao(e,t,w,Ce)):{begin:0,end:t.text.length}},F=P(i.sticky=="before"?N(i,-1):i.ch);if(e.doc.direction=="rtl"||y.level==1){var H=y.level==1==r<0,$=N(i,H?1:-1);if($!=null&&(H?$<=y.to&&$<=F.end:$>=y.from&&$>=F.begin)){var q=H?"before":"after";return new me(i.line,$,q)}}var ie=function(Ce,Ie,ye){for(var Me=function(bt,Gt){return Gt?new me(i.line,N(bt,1),"before"):new me(i.line,bt,"after")};Ce>=0&&Ce<s.length;Ce+=Ie){var Xe=s[Ce],$e=Ie>0==(Xe.level!=1),lt=$e?ye.begin:N(ye.end,-1);if(Xe.from<=lt&&lt<Xe.to||(lt=$e?Xe.from:N(Xe.to,-1),ye.begin<=lt&&lt<ye.end))return Me(lt,$e)}},ce=ie(S+r,r,F);if(ce)return ce;var Se=r>0?F.end:N(F.begin,-1);return Se!=null&&!(r>0&&Se==t.text.length)&&(ce=ie(r>0?0:s.length-1,r,P(Se)),ce)?ce:null}var ai={selectAll:Bo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),ct)},killLine:function(e){return Lr(e,function(t){if(t.empty()){var i=Ge(e.doc,t.head.line).text.length;return t.head.ch==i&&t.head.line<e.lastLine()?{from:t.head,to:me(t.head.line+1,0)}:{from:t.head,to:me(t.head.line,i)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return Lr(e,function(t){return{from:me(t.from().line,0),to:qe(e.doc,me(t.to().line+1,0))}})},delLineLeft:function(e){return Lr(e,function(t){return{from:me(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return Lr(e,function(t){var i=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:i},"div");return{from:r,to:t.from()}})},delWrappedLineRight:function(e){return Lr(e,function(t){var i=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div");return{from:t.from(),to:r}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(me(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(me(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return ns(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return rs(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return Wl(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div")},Tt)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:i},"div")},Tt)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:i},"div");return r.ch<e.getLine(r.line).search(/\S/)?rs(e,t.head):r},Tt)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],i=e.listSelections(),r=e.options.tabSize,s=0;s<i.length;s++){var S=i[s].from(),y=le(e.getLine(S.line),S.ch,r);t.push(Ne(r-y%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return un(e,function(){for(var t=e.listSelections(),i=[],r=0;r<t.length;r++)if(!!t[r].empty()){var s=t[r].head,S=Ge(e.doc,s.line).text;if(S){if(s.ch==S.length&&(s=new me(s.line,s.ch-1)),s.ch>0)s=new me(s.line,s.ch+1),e.replaceRange(S.charAt(s.ch-1)+S.charAt(s.ch-2),me(s.line,s.ch-2),s,"+transpose");else if(s.line>e.doc.first){var y=Ge(e.doc,s.line-1).text;y&&(s=new me(s.line,1),e.replaceRange(S.charAt(0)+e.doc.lineSeparator()+y.charAt(y.length-1),me(s.line-1,y.length-1),s,"+transpose"))}}i.push(new Et(s,s))}e.setSelections(i)})},newlineAndIndent:function(e){return un(e,function(){for(var t=e.listSelections(),i=t.length-1;i>=0;i--)e.replaceRange(e.doc.lineSeparator(),t[i].anchor,t[i].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Or(e)})},openLine:function(e){return e.replaceSelection(`
12
+ `,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function ns(e,t){var i=Ge(e.doc,t),r=Cn(i);return r!=i&&(t=mt(r)),ba(!0,e,r,t,1)}function Wl(e,t){var i=Ge(e.doc,t),r=Ns(i);return r!=i&&(t=mt(r)),ba(!0,e,i,t,-1)}function rs(e,t){var i=ns(e,t.line),r=Ge(e.doc,i.line),s=te(r,e.doc.direction);if(!s||s[0].level==0){var S=Math.max(i.ch,r.text.search(/\S/)),y=t.line==i.line&&t.ch<=S&&t.ch;return me(i.line,y?0:S,i.sticky)}return i}function Li(e,t,i){if(typeof t=="string"&&(t=ai[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,s=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i&&(e.display.shift=!1),s=t(e)!=it}finally{e.display.shift=r,e.state.suppressEdits=!1}return s}function Vl(e,t,i){for(var r=0;r<e.state.keyMaps.length;r++){var s=Mr(t,e.state.keyMaps[r],i,e);if(s)return s}return e.options.extraKeys&&Mr(t,e.options.extraKeys,i,e)||Mr(t,e.options.keyMap,i,e)}var ql=new G;function oi(e,t,i,r){var s=e.state.keySeq;if(s){if(Jo(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ql.set(50,function(){e.state.keySeq==s&&(e.state.keySeq=null,e.display.input.reset())}),is(e,s+" "+t,i,r))return!0}return is(e,t,i,r)}function is(e,t,i,r){var s=Vl(e,t,r);return s=="multi"&&(e.state.keySeq=t),s=="handled"&&Ut(e,"keyHandled",e,t,i),(s=="handled"||s=="multi")&&(oe(i),na(e)),!!s}function as(e,t){var i=ts(t,!0);return i?t.shiftKey&&!e.state.keySeq?oi(e,"Shift-"+i,t,function(r){return Li(e,r,!0)})||oi(e,i,t,function(r){if(typeof r=="string"?/^go[A-Z]/.test(r):r.motion)return Li(e,r)}):oi(e,i,t,function(r){return Li(e,r)}):!1}function Kl(e,t,i){return oi(e,"'"+i+"'",t,function(r){return Li(e,r,!0)})}var Ta=null;function os(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&(t.curOp.focus=J(Le(t)),!ne(t,e))){o&&d<11&&e.keyCode==27&&(e.returnValue=!1);var i=e.keyCode;t.display.shift=i==16||e.shiftKey;var r=as(t,e);_&&(Ta=r?i:null,!r&&i==88&&!_n&&(D?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),l&&!D&&!r&&i==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),i==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&$l(t)}}function $l(e){var t=e.display.lineDiv;fe(t,"CodeMirror-crosshair");function i(r){(r.keyCode==18||!r.altKey)&&(U(t,"CodeMirror-crosshair"),je(document,"keyup",i),je(document,"mouseover",i))}ue(document,"keyup",i),ue(document,"mouseover",i)}function ss(e){e.keyCode==16&&(this.doc.sel.shift=!1),ne(this,e)}function ls(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&!(kn(t.display,e)||ne(t,e)||e.ctrlKey&&!e.altKey||D&&e.metaKey)){var i=e.keyCode,r=e.charCode;if(_&&i==Ta){Ta=null,oe(e);return}if(!(_&&(!e.which||e.which<10)&&as(t,e))){var s=String.fromCharCode(r==null?i:r);s!="\b"&&(Kl(t,e,s)||t.display.input.onKeyPress(e))}}}var Ql=400,va=function(e,t,i){this.time=e,this.pos=t,this.button=i};va.prototype.compare=function(e,t,i){return this.time+Ql>e&&re(t,this.pos)==0&&i==this.button};var si,li;function Xl(e,t){var i=+new Date;return li&&li.compare(i,e,t)?(si=li=null,"triple"):si&&si.compare(i,e,t)?(li=new va(i,e,t),si=null,"double"):(si=new va(i,e,t),li=null,"single")}function cs(e){var t=this,i=t.display;if(!(ne(t,e)||i.activeTouch&&i.input.supportsTouch())){if(i.input.ensurePolled(),i.shift=e.shiftKey,kn(i,e)){m||(i.scroller.draggable=!1,setTimeout(function(){return i.scroller.draggable=!0},100));return}if(!Ca(t,e)){var r=sr(t,e),s=he(e),S=r?Xl(r,s):"single";He(t).focus(),s==1&&t.state.selectingText&&t.state.selectingText(e),!(r&&Zl(t,s,r,S,e))&&(s==1?r?Jl(t,r,S,e):nt(e)==i.scroller&&oe(e):s==2?(r&&Ai(t.doc,r),setTimeout(function(){return i.input.focus()},20)):s==3&&(L?t.display.input.onContextMenu(e):ra(t)))}}}function Zl(e,t,i,r,s){var S="Click";return r=="double"?S="Double"+S:r=="triple"&&(S="Triple"+S),S=(t==1?"Left":t==2?"Middle":"Right")+S,oi(e,es(S,s),s,function(y){if(typeof y=="string"&&(y=ai[y]),!y)return!1;var N=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),N=y(e,i)!=it}finally{e.state.suppressEdits=!1}return N})}function jl(e,t,i){var r=e.getOption("configureMouse"),s=r?r(e,t,i):{};if(s.unit==null){var S=M?i.shiftKey&&i.metaKey:i.altKey;s.unit=S?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(s.extend==null||e.doc.extend)&&(s.extend=e.doc.extend||i.shiftKey),s.addNew==null&&(s.addNew=D?i.metaKey:i.ctrlKey),s.moveOnDrag==null&&(s.moveOnDrag=!(D?i.altKey:i.ctrlKey)),s}function Jl(e,t,i,r){o?setTimeout(Te(co,e),0):e.curOp.focus=J(Le(e));var s=jl(e,i,r),S=e.doc.sel,y;e.options.dragDrop&&Oe&&!e.isReadOnly()&&i=="single"&&(y=S.contains(t))>-1&&(re((y=S.ranges[y]).from(),t)<0||t.xRel>0)&&(re(y.to(),t)>0||t.xRel<0)?ec(e,r,t,s):tc(e,r,t,s)}function ec(e,t,i,r){var s=e.display,S=!1,y=Ft(e,function(P){m&&(s.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ra(e)),je(s.wrapper.ownerDocument,"mouseup",y),je(s.wrapper.ownerDocument,"mousemove",N),je(s.scroller,"dragstart",w),je(s.scroller,"drop",y),S||(oe(P),r.addNew||Ai(e.doc,i,null,null,r.extend),m&&!h||o&&d==9?setTimeout(function(){s.wrapper.ownerDocument.body.focus({preventScroll:!0}),s.input.focus()},20):s.input.focus())}),N=function(P){S=S||Math.abs(t.clientX-P.clientX)+Math.abs(t.clientY-P.clientY)>=10},w=function(){return S=!0};m&&(s.scroller.draggable=!0),e.state.draggingText=y,y.copy=!r.moveOnDrag,ue(s.wrapper.ownerDocument,"mouseup",y),ue(s.wrapper.ownerDocument,"mousemove",N),ue(s.scroller,"dragstart",w),ue(s.scroller,"drop",y),e.state.delayingBlurEvent=!0,setTimeout(function(){return s.input.focus()},20),s.scroller.dragDrop&&s.scroller.dragDrop()}function us(e,t,i){if(i=="char")return new Et(t,t);if(i=="word")return e.findWordAt(t);if(i=="line")return new Et(me(t.line,0),qe(e.doc,me(t.line+1,0)));var r=i(e,t);return new Et(r.from,r.to)}function tc(e,t,i,r){o&&ra(e);var s=e.display,S=e.doc;oe(t);var y,N,w=S.sel,P=w.ranges;if(r.addNew&&!r.extend?(N=S.sel.contains(i),N>-1?y=P[N]:y=new Et(i,i)):(y=S.sel.primary(),N=S.sel.primIndex),r.unit=="rectangle")r.addNew||(y=new Et(i,i)),i=sr(e,t,!0,!0),N=-1;else{var F=us(e,i,r.unit);r.extend?y=ga(y,F.anchor,F.head,r.extend):y=F}r.addNew?N==-1?(N=P.length,Vt(S,Rn(e,P.concat([y]),N),{scroll:!1,origin:"*mouse"})):P.length>1&&P[N].empty()&&r.unit=="char"&&!r.extend?(Vt(S,Rn(e,P.slice(0,N).concat(P.slice(N+1)),0),{scroll:!1,origin:"*mouse"}),w=S.sel):Ea(S,N,y,pt):(N=0,Vt(S,new mn([y],0),pt),w=S.sel);var H=i;function $(ye){if(re(H,ye)!=0)if(H=ye,r.unit=="rectangle"){for(var Me=[],Xe=e.options.tabSize,$e=le(Ge(S,i.line).text,i.ch,Xe),lt=le(Ge(S,ye.line).text,ye.ch,Xe),bt=Math.min($e,lt),Gt=Math.max($e,lt),Nt=Math.min(i.line,ye.line),dn=Math.min(e.lastLine(),Math.max(i.line,ye.line));Nt<=dn;Nt++){var rn=Ge(S,Nt).text,xt=de(rn,bt,Xe);bt==Gt?Me.push(new Et(me(Nt,xt),me(Nt,xt))):rn.length>xt&&Me.push(new Et(me(Nt,xt),me(Nt,de(rn,Gt,Xe))))}Me.length||Me.push(new Et(i,i)),Vt(S,Rn(e,w.ranges.slice(0,N).concat(Me),N),{origin:"*mouse",scroll:!1}),e.scrollIntoView(ye)}else{var an=y,Wt=us(e,ye,r.unit),Lt=an.anchor,wt;re(Wt.anchor,Lt)>0?(wt=Wt.head,Lt=Ct(an.from(),Wt.anchor)):(wt=Wt.anchor,Lt=ft(an.to(),Wt.head));var At=w.ranges.slice(0);At[N]=nc(e,new Et(qe(S,Lt),wt)),Vt(S,Rn(e,At,N),pt)}}var q=s.wrapper.getBoundingClientRect(),ie=0;function ce(ye){var Me=++ie,Xe=sr(e,ye,!0,r.unit=="rectangle");if(!!Xe)if(re(Xe,H)!=0){e.curOp.focus=J(Le(e)),$(Xe);var $e=vi(s,S);(Xe.line>=$e.to||Xe.line<$e.from)&&setTimeout(Ft(e,function(){ie==Me&&ce(ye)}),150)}else{var lt=ye.clientY<q.top?-20:ye.clientY>q.bottom?20:0;lt&&setTimeout(Ft(e,function(){ie==Me&&(s.scroller.scrollTop+=lt,ce(ye))}),50)}}function Se(ye){e.state.selectingText=!1,ie=1/0,ye&&(oe(ye),s.input.focus()),je(s.wrapper.ownerDocument,"mousemove",Ce),je(s.wrapper.ownerDocument,"mouseup",Ie),S.history.lastSelOrigin=null}var Ce=Ft(e,function(ye){ye.buttons===0||!he(ye)?Se(ye):ce(ye)}),Ie=Ft(e,Se);e.state.selectingText=Ie,ue(s.wrapper.ownerDocument,"mousemove",Ce),ue(s.wrapper.ownerDocument,"mouseup",Ie)}function nc(e,t){var i=t.anchor,r=t.head,s=Ge(e.doc,i.line);if(re(i,r)==0&&i.sticky==r.sticky)return t;var S=te(s);if(!S)return t;var y=ut(S,i.ch,i.sticky),N=S[y];if(N.from!=i.ch&&N.to!=i.ch)return t;var w=y+(N.from==i.ch==(N.level!=1)?0:1);if(w==0||w==S.length)return t;var P;if(r.line!=i.line)P=(r.line-i.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var F=ut(S,r.ch,r.sticky),H=F-y||(r.ch-i.ch)*(N.level==1?-1:1);F==w-1||F==w?P=H<0:P=H>0}var $=S[w+(P?-1:0)],q=P==($.level==1),ie=q?$.from:$.to,ce=q?"after":"before";return i.ch==ie&&i.sticky==ce?t:new Et(new me(i.line,ie,ce),r)}function ds(e,t,i,r){var s,S;if(t.touches)s=t.touches[0].clientX,S=t.touches[0].clientY;else try{s=t.clientX,S=t.clientY}catch($){return!1}if(s>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&oe(t);var y=e.display,N=y.lineDiv.getBoundingClientRect();if(S>N.bottom||!W(e,i))return Be(t);S-=N.top-y.viewOffset;for(var w=0;w<e.display.gutterSpecs.length;++w){var P=y.gutters.childNodes[w];if(P&&P.getBoundingClientRect().right>=s){var F=vn(e.doc,S),H=e.display.gutterSpecs[w];return Je(e,i,e,F,H.className,t),Be(t)}}}function Ca(e,t){return ds(e,t,"gutterClick",!0)}function _s(e,t){kn(e.display,t)||rc(e,t)||ne(e,t,"contextmenu")||L||e.display.input.onContextMenu(t)}function rc(e,t){return W(e,"gutterContextMenu")?ds(e,t,"gutterContextMenu",!1):!1}function ps(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Hr(e)}var Pr={toString:function(){return"CodeMirror.Init"}},ms={},Pi={};function ic(e){var t=e.optionHandlers;function i(r,s,S,y){e.defaults[r]=s,S&&(t[r]=y?function(N,w,P){P!=Pr&&S(N,w,P)}:S)}e.defineOption=i,e.Init=Pr,i("value","",function(r,s){return r.setValue(s)},!0),i("mode",null,function(r,s){r.doc.modeOption=s,pa(r)},!0),i("indentUnit",2,pa,!0),i("indentWithTabs",!1),i("smartIndent",!0),i("tabSize",4,function(r){Xr(r),Hr(r),tn(r)},!0),i("lineSeparator",null,function(r,s){if(r.doc.lineSep=s,!!s){var S=[],y=r.doc.first;r.doc.iter(function(w){for(var P=0;;){var F=w.text.indexOf(s,P);if(F==-1)break;P=F+s.length,S.push(me(y,F))}y++});for(var N=S.length-1;N>=0;N--)xr(r.doc,s,S[N],me(S[N].line,S[N].ch+s.length))}}),i("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(r,s,S){r.state.specialChars=new RegExp(s.source+(s.test(" ")?"":"| "),"g"),S!=Pr&&r.refresh()}),i("specialCharPlaceholder",Ms,function(r){return r.refresh()},!0),i("electricChars",!0),i("inputStyle",O?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),i("spellcheck",!1,function(r,s){return r.getInputField().spellcheck=s},!0),i("autocorrect",!1,function(r,s){return r.getInputField().autocorrect=s},!0),i("autocapitalize",!1,function(r,s){return r.getInputField().autocapitalize=s},!0),i("rtlMoveVisually",!I),i("wholeLineUpdateBefore",!0),i("theme","default",function(r){ps(r),Qr(r)},!0),i("keyMap","default",function(r,s,S){var y=Mi(s),N=S!=Pr&&Mi(S);N&&N.detach&&N.detach(r,y),y.attach&&y.attach(r,N||null)}),i("extraKeys",null),i("configureMouse",null),i("lineWrapping",!1,oc,!0),i("gutters",[],function(r,s){r.display.gutterSpecs=da(s,r.options.lineNumbers),Qr(r)},!0),i("fixedGutter",!0,function(r,s){r.display.gutters.style.left=s?Ji(r.display)+"px":"0",r.refresh()},!0),i("coverGutterNextToScrollbar",!1,function(r){return Nr(r)},!0),i("scrollbarStyle","native",function(r){go(r),Nr(r),r.display.scrollbars.setScrollTop(r.doc.scrollTop),r.display.scrollbars.setScrollLeft(r.doc.scrollLeft)},!0),i("lineNumbers",!1,function(r,s){r.display.gutterSpecs=da(r.options.gutters,s),Qr(r)},!0),i("firstLineNumber",1,Qr,!0),i("lineNumberFormatter",function(r){return r},Qr,!0),i("showCursorWhenSelecting",!1,zr,!0),i("resetSelectionOnContextMenu",!0),i("lineWiseCopyCut",!0),i("pasteLinesPerSelection",!0),i("selectionsMayTouch",!1),i("readOnly",!1,function(r,s){s=="nocursor"&&(Rr(r),r.display.input.blur()),r.display.input.readOnlyChanged(s)}),i("screenReaderLabel",null,function(r,s){s=s===""?null:s,r.display.input.screenReaderLabelChanged(s)}),i("disableInput",!1,function(r,s){s||r.display.input.reset()},!0),i("dragDrop",!0,ac),i("allowDropFileTypes",null),i("cursorBlinkRate",530),i("cursorScrollMargin",0),i("cursorHeight",1,zr,!0),i("singleCursorHeightPerLine",!0,zr,!0),i("workTime",100),i("workDelay",100),i("flattenSpans",!0,Xr,!0),i("addModeClass",!1,Xr,!0),i("pollInterval",100),i("undoDepth",200,function(r,s){return r.doc.history.undoDepth=s}),i("historyEventDelay",1250),i("viewportMargin",10,function(r){return r.refresh()},!0),i("maxHighlightLength",1e4,Xr,!0),i("moveInputWithCursor",!0,function(r,s){s||r.display.input.resetPosition()}),i("tabindex",null,function(r,s){return r.display.input.getField().tabIndex=s||""}),i("autofocus",null),i("direction","ltr",function(r,s){return r.doc.setDirection(s)},!0),i("phrases",null)}function ac(e,t,i){var r=i&&i!=Pr;if(!t!=!r){var s=e.display.dragFunctions,S=t?ue:je;S(e.display.scroller,"dragstart",s.start),S(e.display.scroller,"dragenter",s.enter),S(e.display.scroller,"dragover",s.over),S(e.display.scroller,"dragleave",s.leave),S(e.display.scroller,"drop",s.drop)}}function oc(e){e.options.lineWrapping?(fe(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(U(e.display.wrapper,"CodeMirror-wrap"),zi(e)),ea(e),tn(e),Hr(e),setTimeout(function(){return Nr(e)},100)}function Rt(e,t){var i=this;if(!(this instanceof Rt))return new Rt(e,t);this.options=t=t?et(t):{},et(ms,t,!1);var r=t.value;typeof r=="string"?r=new nn(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var s=new Rt.inputStyles[t.inputStyle](this),S=this.display=new Sl(e,r,s,t);S.wrapper.CodeMirror=this,ps(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),go(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 G,keySeq:null,specialChars:null},t.autofocus&&!O&&S.input.focus(),o&&d<11&&setTimeout(function(){return i.display.input.reset(!0)},20),sc(this),Fl(),dr(this),this.curOp.forceUpdate=!0,Oo(this,r),t.autofocus&&!O||this.hasFocus()?setTimeout(function(){i.hasFocus()&&!i.state.focused&&ia(i)},20):Rr(this);for(var y in Pi)Pi.hasOwnProperty(y)&&Pi[y](this,t[y],Pr);So(this),t.finishInit&&t.finishInit(this);for(var N=0;N<ya.length;++N)ya[N](this);_r(this),m&&t.lineWrapping&&getComputedStyle(S.lineDiv).textRendering=="optimizelegibility"&&(S.lineDiv.style.textRendering="auto")}Rt.defaults=ms,Rt.optionHandlers=Pi;function sc(e){var t=e.display;ue(t.scroller,"mousedown",Ft(e,cs)),o&&d<11?ue(t.scroller,"dblclick",Ft(e,function(w){if(!ne(e,w)){var P=sr(e,w);if(!(!P||Ca(e,w)||kn(e.display,w))){oe(w);var F=e.findWordAt(P);Ai(e.doc,F.anchor,F.head)}}})):ue(t.scroller,"dblclick",function(w){return ne(e,w)||oe(w)}),ue(t.scroller,"contextmenu",function(w){return _s(e,w)}),ue(t.input.getField(),"contextmenu",function(w){t.scroller.contains(w.target)||_s(e,w)});var i,r={end:0};function s(){t.activeTouch&&(i=setTimeout(function(){return t.activeTouch=null},1e3),r=t.activeTouch,r.end=+new Date)}function S(w){if(w.touches.length!=1)return!1;var P=w.touches[0];return P.radiusX<=1&&P.radiusY<=1}function y(w,P){if(P.left==null)return!0;var F=P.left-w.left,H=P.top-w.top;return F*F+H*H>20*20}ue(t.scroller,"touchstart",function(w){if(!ne(e,w)&&!S(w)&&!Ca(e,w)){t.input.ensurePolled(),clearTimeout(i);var P=+new Date;t.activeTouch={start:P,moved:!1,prev:P-r.end<=300?r:null},w.touches.length==1&&(t.activeTouch.left=w.touches[0].pageX,t.activeTouch.top=w.touches[0].pageY)}}),ue(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),ue(t.scroller,"touchend",function(w){var P=t.activeTouch;if(P&&!kn(t,w)&&P.left!=null&&!P.moved&&new Date-P.start<300){var F=e.coordsChar(t.activeTouch,"page"),H;!P.prev||y(P,P.prev)?H=new Et(F,F):!P.prev.prev||y(P,P.prev.prev)?H=e.findWordAt(F):H=new Et(me(F.line,0),qe(e.doc,me(F.line+1,0))),e.setSelection(H.anchor,H.head),e.focus(),oe(w)}s()}),ue(t.scroller,"touchcancel",s),ue(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Vr(e,t.scroller.scrollTop),cr(e,t.scroller.scrollLeft,!0),Je(e,"scroll",e))}),ue(t.scroller,"mousewheel",function(w){return vo(e,w)}),ue(t.scroller,"DOMMouseScroll",function(w){return vo(e,w)}),ue(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(w){ne(e,w)||ze(w)},over:function(w){ne(e,w)||(Ul(e,w),ze(w))},start:function(w){return kl(e,w)},drop:Ft(e,Pl),leave:function(w){ne(e,w)||Xo(e)}};var N=t.input.getField();ue(N,"keyup",function(w){return ss.call(e,w)}),ue(N,"keydown",Ft(e,os)),ue(N,"keypress",Ft(e,ls)),ue(N,"focus",function(w){return ia(e,w)}),ue(N,"blur",function(w){return Rr(e,w)})}var ya=[];Rt.defineInitHook=function(e){return ya.push(e)};function ci(e,t,i,r){var s=e.doc,S;i==null&&(i="add"),i=="smart"&&(s.mode.indent?S=Ln(e,t).state:i="prev");var y=e.options.tabSize,N=Ge(s,t),w=le(N.text,null,y);N.stateAfter&&(N.stateAfter=null);var P=N.text.match(/^\s*/)[0],F;if(!r&&!/\S/.test(N.text))F=0,i="not";else if(i=="smart"&&(F=s.mode.indent(S,N.text.slice(P.length),N.text),F==it||F>150)){if(!r)return;i="prev"}i=="prev"?t>s.first?F=le(Ge(s,t-1).text,null,y):F=0:i=="add"?F=w+e.options.indentUnit:i=="subtract"?F=w-e.options.indentUnit:typeof i=="number"&&(F=w+i),F=Math.max(0,F);var H="",$=0;if(e.options.indentWithTabs)for(var q=Math.floor(F/y);q;--q)$+=y,H+=" ";if($<F&&(H+=Ne(F-$)),H!=P)return xr(s,H,me(t,0),me(t,P.length),"+input"),N.stateAfter=null,!0;for(var ie=0;ie<s.sel.ranges.length;ie++){var ce=s.sel.ranges[ie];if(ce.head.line==t&&ce.head.ch<P.length){var Se=me(t,P.length);Ea(s,ie,new Et(Se,Se));break}}}var On=null;function ki(e){On=e}function Ra(e,t,i,r,s){var S=e.doc;e.display.shift=!1,r||(r=S.sel);var y=+new Date-200,N=s=="paste"||e.state.pasteIncoming>y,w=It(t),P=null;if(N&&r.ranges.length>1)if(On&&On.text.join(`
13
13
  `)==t){if(r.ranges.length%On.text.length==0){P=[];for(var F=0;F<On.text.length;F++)P.push(S.splitLines(On.text[F]))}}else w.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(P=St(w,function(Ce){return[Ce]}));for(var H=e.curOp.updateInput,$=r.ranges.length-1;$>=0;$--){var q=r.ranges[$],ie=q.from(),ce=q.to();q.empty()&&(i&&i>0?ie=me(ie.line,ie.ch-i):e.state.overwrite&&!N?ce=me(ce.line,Math.min(Ge(S,ce.line).text.length,ce.ch+Ae(w).length)):N&&On&&On.lineWise&&On.text.join(`
14
14
  `)==w.join(`
15
- `)&&(ie=ce=me(ie.line,0)));var Se={from:ie,to:ce,text:P?P[$%P.length]:w,origin:s||(N?"paste":e.state.cutIncoming>y?"cut":"+input")};Dr(e.doc,Se),Ut(e,"inputRead",e,Se)}t&&!N&&fs(e,t),Or(e),e.curOp.updateInput<2&&(e.curOp.updateInput=H),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function ms(e,t){var i=e.clipboardData&&e.clipboardData.getData("Text");if(i)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&un(t,function(){return Ra(t,i,0,null,"paste")}),!0}function fs(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var i=e.doc.sel,r=i.ranges.length-1;r>=0;r--){var s=i.ranges[r];if(!(s.head.ch>100||r&&i.ranges[r-1].head.line==s.head.line)){var S=e.getModeAt(s.head),y=!1;if(S.electricChars){for(var N=0;N<S.electricChars.length;N++)if(t.indexOf(S.electricChars.charAt(N))>-1){y=ci(e,s.head.line,"smart");break}}else S.electricInput&&S.electricInput.test(Ge(e.doc,s.head.line).text.slice(0,s.head.ch))&&(y=ci(e,s.head.line,"smart"));y&&Ut(e,"electricInput",e,s.head.line)}}}function gs(e){for(var t=[],i=[],r=0;r<e.doc.sel.ranges.length;r++){var s=e.doc.sel.ranges[r].head.line,S={anchor:me(s,0),head:me(s+1,0)};i.push(S),t.push(e.getRange(S.anchor,S.head))}return{text:t,ranges:i}}function Es(e,t,i,r){e.setAttribute("autocorrect",i?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function hs(){var e=B("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=B("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return m?e.style.width="1000px":e.setAttribute("wrap","off"),T&&(e.style.border="1px solid black"),Es(e),t}function lc(e){var t=e.optionHandlers,i=e.helpers={};e.prototype={constructor:e,focus:function(){He(this).focus(),this.display.input.focus()},setOption:function(r,s){var S=this.options,y=S[r];S[r]==s&&r!="mode"||(S[r]=s,t.hasOwnProperty(r)&&Ft(this,t[r])(this,s,y),Je(this,"optionChange",this,r))},getOption:function(r){return this.options[r]},getDoc:function(){return this.doc},addKeyMap:function(r,s){this.state.keyMaps[s?"push":"unshift"](Mi(r))},removeKeyMap:function(r){for(var s=this.state.keyMaps,S=0;S<s.length;++S)if(s[S]==r||s[S].name==r)return s.splice(S,1),!0},addOverlay:$t(function(r,s){var S=r.token?r:e.getMode(this.options,r);if(S.startState)throw new Error("Overlays may not be stateful.");ae(this.state.overlays,{mode:S,modeSpec:r,opaque:s&&s.opaque,priority:s&&s.priority||0},function(y){return y.priority}),this.state.modeGen++,tn(this)}),removeOverlay:$t(function(r){for(var s=this.state.overlays,S=0;S<s.length;++S){var y=s[S].modeSpec;if(y==r||typeof r=="string"&&y.name==r){s.splice(S,1),this.state.modeGen++,tn(this);return}}}),indentLine:$t(function(r,s,S){typeof s!="string"&&typeof s!="number"&&(s==null?s=this.options.smartIndent?"smart":"prev":s=s?"add":"subtract"),hn(this.doc,r)&&ci(this,r,s,S)}),indentSelection:$t(function(r){for(var s=this.doc.sel.ranges,S=-1,y=0;y<s.length;y++){var N=s[y];if(N.empty())N.head.line>S&&(ci(this,N.head.line,r,!0),S=N.head.line,y==this.doc.sel.primIndex&&Or(this));else{var w=N.from(),P=N.to(),F=Math.max(S,w.line);S=Math.min(this.lastLine(),P.line-(P.ch?0:1))+1;for(var H=F;H<S;++H)ci(this,H,r);var $=this.doc.sel.ranges;w.ch==0&&s.length==$.length&&$[y].from().ch>0&&Ea(this.doc,y,new Et(w,$[y].to()),ct)}}}),getTokenAt:function(r,s){return Hn(this,r,s)},getLineTokens:function(r,s){return Hn(this,me(r),s,!0)},getTokenTypeAt:function(r){r=qe(this.doc,r);var s=Er(this,Ge(this.doc,r.line)),S=0,y=(s.length-1)/2,N=r.ch,w;if(N==0)w=s[2];else for(;;){var P=S+y>>1;if((P?s[P*2-1]:0)>=N)y=P;else if(s[P*2+1]<N)S=P+1;else{w=s[P*2+2];break}}var F=w?w.indexOf("overlay "):-1;return F<0?w:F==0?null:w.slice(0,F-1)},getModeAt:function(r){var s=this.doc.mode;return s.innerMode?e.innerMode(s,this.getTokenAt(r).state).mode:s},getHelper:function(r,s){return this.getHelpers(r,s)[0]},getHelpers:function(r,s){var S=[];if(!i.hasOwnProperty(s))return S;var y=i[s],N=this.getModeAt(r);if(typeof N[s]=="string")y[N[s]]&&S.push(y[N[s]]);else if(N[s])for(var w=0;w<N[s].length;w++){var P=y[N[s][w]];P&&S.push(P)}else N.helperType&&y[N.helperType]?S.push(y[N.helperType]):y[N.name]&&S.push(y[N.name]);for(var F=0;F<y._global.length;F++){var H=y._global[F];H.pred(N,this)&&we(S,H.val)==-1&&S.push(H.val)}return S},getStateAfter:function(r,s){var S=this.doc;return r=Sn(S,r==null?S.first+S.size-1:r),Ln(this,r+1,s).state},cursorCoords:function(r,s){var S,y=this.doc.sel.primary();return r==null?S=y.head:typeof r=="object"?S=qe(this.doc,r):S=r?y.from():y.to(),yn(this,S,s||"page")},charCoords:function(r,s){return hi(this,qe(this.doc,r),s||"page")},coordsChar:function(r,s){return r=to(this,r,s||"page"),Xi(this,r.left,r.top)},lineAtHeight:function(r,s){return r=to(this,{top:r,left:0},s||"page").top,vn(this.doc,r+this.display.viewOffset)},heightAtLine:function(r,s,S){var y=!1,N;if(typeof r=="number"){var w=this.doc.first+this.doc.size-1;r<this.doc.first?r=this.doc.first:r>w&&(r=w,y=!0),N=Ge(this.doc,r)}else N=r;return Ei(this,N,{top:0,left:0},s||"page",S||y).top+(y?this.doc.height-Pn(N):0)},defaultTextHeight:function(){return Cr(this.display)},defaultCharWidth:function(){return yr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(r,s,S,y,N){var w=this.display;r=yn(this,qe(this.doc,r));var P=r.bottom,F=r.left;if(s.style.position="absolute",s.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(s),w.sizer.appendChild(s),y=="over")P=r.top;else if(y=="above"||y=="near"){var H=Math.max(w.wrapper.clientHeight,this.doc.height),$=Math.max(w.sizer.clientWidth,w.lineSpace.clientWidth);(y=="above"||r.bottom+s.offsetHeight>H)&&r.top>s.offsetHeight?P=r.top-s.offsetHeight:r.bottom+s.offsetHeight<=H&&(P=r.bottom),F+s.offsetWidth>$&&(F=$-s.offsetWidth)}s.style.top=P+"px",s.style.left=s.style.right="",N=="right"?(F=w.sizer.clientWidth-s.offsetWidth,s.style.right="0px"):(N=="left"?F=0:N=="middle"&&(F=(w.sizer.clientWidth-s.offsetWidth)/2),s.style.left=F+"px"),S&&al(this,{left:F,top:P,right:F+s.offsetWidth,bottom:P+s.offsetHeight})},triggerOnKeyDown:$t(as),triggerOnKeyPress:$t(ss),triggerOnKeyUp:os,triggerOnMouseDown:$t(ls),execCommand:function(r){if(ai.hasOwnProperty(r))return ai[r].call(null,this)},triggerElectric:$t(function(r){fs(this,r)}),findPosH:function(r,s,S,y){var N=1;s<0&&(N=-1,s=-s);for(var w=qe(this.doc,r),P=0;P<s&&(w=Oa(this.doc,w,N,S,y),!w.hitSide);++P);return w},moveH:$t(function(r,s){var S=this;this.extendSelectionsBy(function(y){return S.display.shift||S.doc.extend||y.empty()?Oa(S.doc,y.head,r,s,S.options.rtlMoveVisually):r<0?y.from():y.to()},Tt)}),deleteH:$t(function(r,s){var S=this.doc.sel,y=this.doc;S.somethingSelected()?y.replaceSelection("",null,"+delete"):Lr(this,function(N){var w=Oa(y,N.head,r,s,!1);return r<0?{from:w,to:N.head}:{from:N.head,to:w}})}),findPosV:function(r,s,S,y){var N=1,w=y;s<0&&(N=-1,s=-s);for(var P=qe(this.doc,r),F=0;F<s;++F){var H=yn(this,P,"div");if(w==null?w=H.left:H.left=w,P=Ss(this,H,N,S),P.hitSide)break}return P},moveV:$t(function(r,s){var S=this,y=this.doc,N=[],w=!this.display.shift&&!y.extend&&y.sel.somethingSelected();if(y.extendSelectionsBy(function(F){if(w)return r<0?F.from():F.to();var H=yn(S,F.head,"div");F.goalColumn!=null&&(H.left=F.goalColumn),N.push(H.left);var $=Ss(S,H,r,s);return s=="page"&&F==y.sel.primary()&&oa(S,hi(S,$,"div").top-H.top),$},Tt),N.length)for(var P=0;P<y.sel.ranges.length;P++)y.sel.ranges[P].goalColumn=N[P]}),findWordAt:function(r){var s=this.doc,S=Ge(s,r.line).text,y=r.ch,N=r.ch;if(S){var w=this.getHelper(r,"wordChars");(r.sticky=="before"||N==S.length)&&y?--y:++N;for(var P=S.charAt(y),F=se(P,w)?function(H){return se(H,w)}:/\s/.test(P)?function(H){return/\s/.test(H)}:function(H){return!/\s/.test(H)&&!se(H)};y>0&&F(S.charAt(y-1));)--y;for(;N<S.length&&F(S.charAt(N));)++N}return new Et(me(r.line,y),me(r.line,N))},toggleOverwrite:function(r){r!=null&&r==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?fe(this.display.cursorDiv,"CodeMirror-overwrite"):U(this.display.cursorDiv,"CodeMirror-overwrite"),Je(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==J(Le(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:$t(function(r,s){Wr(this,r,s)}),getScrollInfo:function(){var r=this.display.scroller;return{left:r.scrollLeft,top:r.scrollTop,height:r.scrollHeight-Dn(this)-this.display.barHeight,width:r.scrollWidth-Dn(this)-this.display.barWidth,clientHeight:qi(this),clientWidth:ar(this)}},scrollIntoView:$t(function(r,s){r==null?(r={from:this.doc.sel.primary().head,to:null},s==null&&(s=this.options.cursorScrollMargin)):typeof r=="number"?r={from:me(r,0),to:null}:r.from==null&&(r={from:r,to:null}),r.to||(r.to=r.from),r.margin=s||0,r.from.line!=null?ol(this,r):uo(this,r.from,r.to,r.margin)}),setSize:$t(function(r,s){var S=this,y=function(w){return typeof w=="number"||/^\d+$/.test(String(w))?w+"px":w};r!=null&&(this.display.wrapper.style.width=y(r)),s!=null&&(this.display.wrapper.style.height=y(s)),this.options.lineWrapping&&ja(this);var N=this.display.viewFrom;this.doc.iter(N,this.display.viewTo,function(w){if(w.widgets){for(var P=0;P<w.widgets.length;P++)if(w.widgets[P].noHScroll){Vn(S,N,"widget");break}}++N}),this.curOp.forceUpdate=!0,Je(this,"refresh",this)}),operation:function(r){return un(this,r)},startOperation:function(){return dr(this)},endOperation:function(){return _r(this)},refresh:$t(function(){var r=this.display.cachedTextHeight;tn(this),this.curOp.forceUpdate=!0,Hr(this),Wr(this,this.doc.scrollLeft,this.doc.scrollTop),ca(this.display),(r==null||Math.abs(r-Cr(this.display))>.5||this.options.lineWrapping)&&ea(this),Je(this,"refresh",this)}),swapDoc:$t(function(r){var s=this.doc;return s.cm=null,this.state.selectingText&&this.state.selectingText(),Ro(this,r),Hr(this),this.display.input.reset(),Wr(this,r.scrollLeft,r.scrollTop),this.curOp.forceScroll=!0,Ut(this,"swapDoc",this,s),s}),phrase:function(r){var s=this.options.phrases;return s&&Object.prototype.hasOwnProperty.call(s,r)?s[r]:r},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}},X(e),e.registerHelper=function(r,s,S){i.hasOwnProperty(r)||(i[r]=e[r]={_global:[]}),i[r][s]=S},e.registerGlobalHelper=function(r,s,S,y){e.registerHelper(r,s,y),i[r]._global.push({pred:S,val:y})}}function Oa(e,t,i,r,s){var S=t,y=i,N=Ge(e,t.line),w=s&&e.direction=="rtl"?-i:i;function P(){var Ie=t.line+w;return Ie<e.first||Ie>=e.first+e.size?!1:(t=new me(Ie,t.ch,t.sticky),N=Ge(e,Ie))}function F(Ie){var ye;if(r=="codepoint"){var Me=N.text.charCodeAt(t.ch+(i>0?0:-1));if(isNaN(Me))ye=null;else{var Xe=i>0?Me>=55296&&Me<56320:Me>=56320&&Me<57343;ye=new me(t.line,Math.max(0,Math.min(N.text.length,t.ch+i*(Xe?2:1))),-i)}}else s?ye=zl(e.cm,N,t,i):ye=Sa(N,t,i);if(ye==null)if(!Ie&&P())t=ba(s,e.cm,N,t.line,w);else return!1;else t=ye;return!0}if(r=="char"||r=="codepoint")F();else if(r=="column")F(!0);else if(r=="word"||r=="group")for(var H=null,$=r=="group",q=e.cm&&e.cm.getHelper(t,"wordChars"),ie=!0;!(i<0&&!F(!ie));ie=!1){var ce=N.text.charAt(t.ch)||`
15
+ `)&&(ie=ce=me(ie.line,0)));var Se={from:ie,to:ce,text:P?P[$%P.length]:w,origin:s||(N?"paste":e.state.cutIncoming>y?"cut":"+input")};Dr(e.doc,Se),Ut(e,"inputRead",e,Se)}t&&!N&&gs(e,t),Or(e),e.curOp.updateInput<2&&(e.curOp.updateInput=H),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function fs(e,t){var i=e.clipboardData&&e.clipboardData.getData("Text");if(i)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&un(t,function(){return Ra(t,i,0,null,"paste")}),!0}function gs(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var i=e.doc.sel,r=i.ranges.length-1;r>=0;r--){var s=i.ranges[r];if(!(s.head.ch>100||r&&i.ranges[r-1].head.line==s.head.line)){var S=e.getModeAt(s.head),y=!1;if(S.electricChars){for(var N=0;N<S.electricChars.length;N++)if(t.indexOf(S.electricChars.charAt(N))>-1){y=ci(e,s.head.line,"smart");break}}else S.electricInput&&S.electricInput.test(Ge(e.doc,s.head.line).text.slice(0,s.head.ch))&&(y=ci(e,s.head.line,"smart"));y&&Ut(e,"electricInput",e,s.head.line)}}}function Es(e){for(var t=[],i=[],r=0;r<e.doc.sel.ranges.length;r++){var s=e.doc.sel.ranges[r].head.line,S={anchor:me(s,0),head:me(s+1,0)};i.push(S),t.push(e.getRange(S.anchor,S.head))}return{text:t,ranges:i}}function Oa(e,t,i,r){e.setAttribute("autocorrect",i?"on":"off"),e.setAttribute("autocapitalize",r?"on":"off"),e.setAttribute("spellcheck",!!t)}function hs(){var e=B("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=B("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return m?e.style.width="1000px":e.setAttribute("wrap","off"),T&&(e.style.border="1px solid black"),t}function lc(e){var t=e.optionHandlers,i=e.helpers={};e.prototype={constructor:e,focus:function(){He(this).focus(),this.display.input.focus()},setOption:function(r,s){var S=this.options,y=S[r];S[r]==s&&r!="mode"||(S[r]=s,t.hasOwnProperty(r)&&Ft(this,t[r])(this,s,y),Je(this,"optionChange",this,r))},getOption:function(r){return this.options[r]},getDoc:function(){return this.doc},addKeyMap:function(r,s){this.state.keyMaps[s?"push":"unshift"](Mi(r))},removeKeyMap:function(r){for(var s=this.state.keyMaps,S=0;S<s.length;++S)if(s[S]==r||s[S].name==r)return s.splice(S,1),!0},addOverlay:$t(function(r,s){var S=r.token?r:e.getMode(this.options,r);if(S.startState)throw new Error("Overlays may not be stateful.");ae(this.state.overlays,{mode:S,modeSpec:r,opaque:s&&s.opaque,priority:s&&s.priority||0},function(y){return y.priority}),this.state.modeGen++,tn(this)}),removeOverlay:$t(function(r){for(var s=this.state.overlays,S=0;S<s.length;++S){var y=s[S].modeSpec;if(y==r||typeof r=="string"&&y.name==r){s.splice(S,1),this.state.modeGen++,tn(this);return}}}),indentLine:$t(function(r,s,S){typeof s!="string"&&typeof s!="number"&&(s==null?s=this.options.smartIndent?"smart":"prev":s=s?"add":"subtract"),hn(this.doc,r)&&ci(this,r,s,S)}),indentSelection:$t(function(r){for(var s=this.doc.sel.ranges,S=-1,y=0;y<s.length;y++){var N=s[y];if(N.empty())N.head.line>S&&(ci(this,N.head.line,r,!0),S=N.head.line,y==this.doc.sel.primIndex&&Or(this));else{var w=N.from(),P=N.to(),F=Math.max(S,w.line);S=Math.min(this.lastLine(),P.line-(P.ch?0:1))+1;for(var H=F;H<S;++H)ci(this,H,r);var $=this.doc.sel.ranges;w.ch==0&&s.length==$.length&&$[y].from().ch>0&&Ea(this.doc,y,new Et(w,$[y].to()),ct)}}}),getTokenAt:function(r,s){return Hn(this,r,s)},getLineTokens:function(r,s){return Hn(this,me(r),s,!0)},getTokenTypeAt:function(r){r=qe(this.doc,r);var s=Er(this,Ge(this.doc,r.line)),S=0,y=(s.length-1)/2,N=r.ch,w;if(N==0)w=s[2];else for(;;){var P=S+y>>1;if((P?s[P*2-1]:0)>=N)y=P;else if(s[P*2+1]<N)S=P+1;else{w=s[P*2+2];break}}var F=w?w.indexOf("overlay "):-1;return F<0?w:F==0?null:w.slice(0,F-1)},getModeAt:function(r){var s=this.doc.mode;return s.innerMode?e.innerMode(s,this.getTokenAt(r).state).mode:s},getHelper:function(r,s){return this.getHelpers(r,s)[0]},getHelpers:function(r,s){var S=[];if(!i.hasOwnProperty(s))return S;var y=i[s],N=this.getModeAt(r);if(typeof N[s]=="string")y[N[s]]&&S.push(y[N[s]]);else if(N[s])for(var w=0;w<N[s].length;w++){var P=y[N[s][w]];P&&S.push(P)}else N.helperType&&y[N.helperType]?S.push(y[N.helperType]):y[N.name]&&S.push(y[N.name]);for(var F=0;F<y._global.length;F++){var H=y._global[F];H.pred(N,this)&&we(S,H.val)==-1&&S.push(H.val)}return S},getStateAfter:function(r,s){var S=this.doc;return r=Sn(S,r==null?S.first+S.size-1:r),Ln(this,r+1,s).state},cursorCoords:function(r,s){var S,y=this.doc.sel.primary();return r==null?S=y.head:typeof r=="object"?S=qe(this.doc,r):S=r?y.from():y.to(),yn(this,S,s||"page")},charCoords:function(r,s){return hi(this,qe(this.doc,r),s||"page")},coordsChar:function(r,s){return r=no(this,r,s||"page"),Xi(this,r.left,r.top)},lineAtHeight:function(r,s){return r=no(this,{top:r,left:0},s||"page").top,vn(this.doc,r+this.display.viewOffset)},heightAtLine:function(r,s,S){var y=!1,N;if(typeof r=="number"){var w=this.doc.first+this.doc.size-1;r<this.doc.first?r=this.doc.first:r>w&&(r=w,y=!0),N=Ge(this.doc,r)}else N=r;return Ei(this,N,{top:0,left:0},s||"page",S||y).top+(y?this.doc.height-Pn(N):0)},defaultTextHeight:function(){return Cr(this.display)},defaultCharWidth:function(){return yr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(r,s,S,y,N){var w=this.display;r=yn(this,qe(this.doc,r));var P=r.bottom,F=r.left;if(s.style.position="absolute",s.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(s),w.sizer.appendChild(s),y=="over")P=r.top;else if(y=="above"||y=="near"){var H=Math.max(w.wrapper.clientHeight,this.doc.height),$=Math.max(w.sizer.clientWidth,w.lineSpace.clientWidth);(y=="above"||r.bottom+s.offsetHeight>H)&&r.top>s.offsetHeight?P=r.top-s.offsetHeight:r.bottom+s.offsetHeight<=H&&(P=r.bottom),F+s.offsetWidth>$&&(F=$-s.offsetWidth)}s.style.top=P+"px",s.style.left=s.style.right="",N=="right"?(F=w.sizer.clientWidth-s.offsetWidth,s.style.right="0px"):(N=="left"?F=0:N=="middle"&&(F=(w.sizer.clientWidth-s.offsetWidth)/2),s.style.left=F+"px"),S&&al(this,{left:F,top:P,right:F+s.offsetWidth,bottom:P+s.offsetHeight})},triggerOnKeyDown:$t(os),triggerOnKeyPress:$t(ls),triggerOnKeyUp:ss,triggerOnMouseDown:$t(cs),execCommand:function(r){if(ai.hasOwnProperty(r))return ai[r].call(null,this)},triggerElectric:$t(function(r){gs(this,r)}),findPosH:function(r,s,S,y){var N=1;s<0&&(N=-1,s=-s);for(var w=qe(this.doc,r),P=0;P<s&&(w=Na(this.doc,w,N,S,y),!w.hitSide);++P);return w},moveH:$t(function(r,s){var S=this;this.extendSelectionsBy(function(y){return S.display.shift||S.doc.extend||y.empty()?Na(S.doc,y.head,r,s,S.options.rtlMoveVisually):r<0?y.from():y.to()},Tt)}),deleteH:$t(function(r,s){var S=this.doc.sel,y=this.doc;S.somethingSelected()?y.replaceSelection("",null,"+delete"):Lr(this,function(N){var w=Na(y,N.head,r,s,!1);return r<0?{from:w,to:N.head}:{from:N.head,to:w}})}),findPosV:function(r,s,S,y){var N=1,w=y;s<0&&(N=-1,s=-s);for(var P=qe(this.doc,r),F=0;F<s;++F){var H=yn(this,P,"div");if(w==null?w=H.left:H.left=w,P=Ss(this,H,N,S),P.hitSide)break}return P},moveV:$t(function(r,s){var S=this,y=this.doc,N=[],w=!this.display.shift&&!y.extend&&y.sel.somethingSelected();if(y.extendSelectionsBy(function(F){if(w)return r<0?F.from():F.to();var H=yn(S,F.head,"div");F.goalColumn!=null&&(H.left=F.goalColumn),N.push(H.left);var $=Ss(S,H,r,s);return s=="page"&&F==y.sel.primary()&&oa(S,hi(S,$,"div").top-H.top),$},Tt),N.length)for(var P=0;P<y.sel.ranges.length;P++)y.sel.ranges[P].goalColumn=N[P]}),findWordAt:function(r){var s=this.doc,S=Ge(s,r.line).text,y=r.ch,N=r.ch;if(S){var w=this.getHelper(r,"wordChars");(r.sticky=="before"||N==S.length)&&y?--y:++N;for(var P=S.charAt(y),F=se(P,w)?function(H){return se(H,w)}:/\s/.test(P)?function(H){return/\s/.test(H)}:function(H){return!/\s/.test(H)&&!se(H)};y>0&&F(S.charAt(y-1));)--y;for(;N<S.length&&F(S.charAt(N));)++N}return new Et(me(r.line,y),me(r.line,N))},toggleOverwrite:function(r){r!=null&&r==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?fe(this.display.cursorDiv,"CodeMirror-overwrite"):U(this.display.cursorDiv,"CodeMirror-overwrite"),Je(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==J(Le(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:$t(function(r,s){Wr(this,r,s)}),getScrollInfo:function(){var r=this.display.scroller;return{left:r.scrollLeft,top:r.scrollTop,height:r.scrollHeight-Dn(this)-this.display.barHeight,width:r.scrollWidth-Dn(this)-this.display.barWidth,clientHeight:qi(this),clientWidth:ar(this)}},scrollIntoView:$t(function(r,s){r==null?(r={from:this.doc.sel.primary().head,to:null},s==null&&(s=this.options.cursorScrollMargin)):typeof r=="number"?r={from:me(r,0),to:null}:r.from==null&&(r={from:r,to:null}),r.to||(r.to=r.from),r.margin=s||0,r.from.line!=null?ol(this,r):_o(this,r.from,r.to,r.margin)}),setSize:$t(function(r,s){var S=this,y=function(w){return typeof w=="number"||/^\d+$/.test(String(w))?w+"px":w};r!=null&&(this.display.wrapper.style.width=y(r)),s!=null&&(this.display.wrapper.style.height=y(s)),this.options.lineWrapping&&Ja(this);var N=this.display.viewFrom;this.doc.iter(N,this.display.viewTo,function(w){if(w.widgets){for(var P=0;P<w.widgets.length;P++)if(w.widgets[P].noHScroll){Vn(S,N,"widget");break}}++N}),this.curOp.forceUpdate=!0,Je(this,"refresh",this)}),operation:function(r){return un(this,r)},startOperation:function(){return dr(this)},endOperation:function(){return _r(this)},refresh:$t(function(){var r=this.display.cachedTextHeight;tn(this),this.curOp.forceUpdate=!0,Hr(this),Wr(this,this.doc.scrollLeft,this.doc.scrollTop),ca(this.display),(r==null||Math.abs(r-Cr(this.display))>.5||this.options.lineWrapping)&&ea(this),Je(this,"refresh",this)}),swapDoc:$t(function(r){var s=this.doc;return s.cm=null,this.state.selectingText&&this.state.selectingText(),Oo(this,r),Hr(this),this.display.input.reset(),Wr(this,r.scrollLeft,r.scrollTop),this.curOp.forceScroll=!0,Ut(this,"swapDoc",this,s),s}),phrase:function(r){var s=this.options.phrases;return s&&Object.prototype.hasOwnProperty.call(s,r)?s[r]:r},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}},X(e),e.registerHelper=function(r,s,S){i.hasOwnProperty(r)||(i[r]=e[r]={_global:[]}),i[r][s]=S},e.registerGlobalHelper=function(r,s,S,y){e.registerHelper(r,s,y),i[r]._global.push({pred:S,val:y})}}function Na(e,t,i,r,s){var S=t,y=i,N=Ge(e,t.line),w=s&&e.direction=="rtl"?-i:i;function P(){var Ie=t.line+w;return Ie<e.first||Ie>=e.first+e.size?!1:(t=new me(Ie,t.ch,t.sticky),N=Ge(e,Ie))}function F(Ie){var ye;if(r=="codepoint"){var Me=N.text.charCodeAt(t.ch+(i>0?0:-1));if(isNaN(Me))ye=null;else{var Xe=i>0?Me>=55296&&Me<56320:Me>=56320&&Me<57343;ye=new me(t.line,Math.max(0,Math.min(N.text.length,t.ch+i*(Xe?2:1))),-i)}}else s?ye=zl(e.cm,N,t,i):ye=Sa(N,t,i);if(ye==null)if(!Ie&&P())t=ba(s,e.cm,N,t.line,w);else return!1;else t=ye;return!0}if(r=="char"||r=="codepoint")F();else if(r=="column")F(!0);else if(r=="word"||r=="group")for(var H=null,$=r=="group",q=e.cm&&e.cm.getHelper(t,"wordChars"),ie=!0;!(i<0&&!F(!ie));ie=!1){var ce=N.text.charAt(t.ch)||`
16
16
  `,Se=se(ce,q)?"w":$&&ce==`
17
- `?"n":!$||/\s/.test(ce)?null:"p";if($&&!ie&&!Se&&(Se="s"),H&&H!=Se){i<0&&(i=1,F(),t.sticky="after");break}if(Se&&(H=Se),i>0&&!F(!ie))break}var Ce=Di(e,t,S,y,!0);return Ye(S,Ce)&&(Ce.hitSide=!0),Ce}function Ss(e,t,i,r){var s=e.doc,S=t.left,y;if(r=="page"){var N=Math.min(e.display.wrapper.clientHeight,He(e).innerHeight||s(e).documentElement.clientHeight),w=Math.max(N-.5*Cr(e.display),3);y=(i>0?t.bottom:t.top)+i*w}else r=="line"&&(y=i>0?t.bottom+3:t.top-3);for(var P;P=Xi(e,S,y),!!P.outside;){if(i<0?y<=0:y>=s.height){P.hitSide=!0;break}y+=i*5}return P}var ht=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ht.prototype.init=function(e){var t=this,i=this,r=i.cm,s=i.div=e.lineDiv;s.contentEditable=!0,Es(s,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize);function S(N){for(var w=N.target;w;w=w.parentNode){if(w==s)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(w.className))break}return!1}ue(s,"paste",function(N){!S(N)||ne(r,N)||ms(N,r)||d<=11&&setTimeout(Ft(r,function(){return t.updateFromDOM()}),20)}),ue(s,"compositionstart",function(N){t.composing={data:N.data,done:!1}}),ue(s,"compositionupdate",function(N){t.composing||(t.composing={data:N.data,done:!1})}),ue(s,"compositionend",function(N){t.composing&&(N.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),ue(s,"touchstart",function(){return i.forceCompositionEnd()}),ue(s,"input",function(){t.composing||t.readFromDOMSoon()});function y(N){if(!(!S(N)||ne(r,N))){if(r.somethingSelected())ki({lineWise:!1,text:r.getSelections()}),N.type=="cut"&&r.replaceSelection("",null,"cut");else if(r.options.lineWiseCopyCut){var w=gs(r);ki({lineWise:!0,text:w.text}),N.type=="cut"&&r.operation(function(){r.setSelections(w.ranges,0,ct),r.replaceSelection("",null,"cut")})}else return;if(N.clipboardData){N.clipboardData.clearData();var P=On.text.join(`
18
- `);if(N.clipboardData.setData("Text",P),N.clipboardData.getData("Text")==P){N.preventDefault();return}}var F=hs(),H=F.firstChild;r.display.lineSpace.insertBefore(F,r.display.lineSpace.firstChild),H.value=On.text.join(`
19
- `);var $=J(s.ownerDocument);De(H),setTimeout(function(){r.display.lineSpace.removeChild(F),$.focus(),$==s&&i.showPrimarySelection()},50)}}ue(s,"copy",y),ue(s,"cut",y)},ht.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},ht.prototype.prepareSelection=function(){var e=so(this.cm,!1);return e.focus=J(this.div.ownerDocument)==this.div,e},ht.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},ht.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ht.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,i=t.doc.sel.primary(),r=i.from(),s=i.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||s.line<t.display.viewFrom){e.removeAllRanges();return}var S=Ui(t,e.anchorNode,e.anchorOffset),y=Ui(t,e.focusNode,e.focusOffset);if(!(S&&!S.bad&&y&&!y.bad&&re(Ct(S,y),r)==0&&re(ft(S,y),s)==0)){var N=t.display.view,w=r.line>=t.display.viewFrom&&bs(t,r)||{node:N[0].measure.map[2],offset:0},P=s.line<t.display.viewTo&&bs(t,s);if(!P){var F=N[N.length-1].measure,H=F.maps?F.maps[F.maps.length-1]:F.map;P={node:H[H.length-1],offset:H[H.length-2]-H[H.length-3]}}if(!w||!P){e.removeAllRanges();return}var $=e.rangeCount&&e.getRangeAt(0),q;try{q=ee(w.node,w.offset,P.offset,P.node)}catch(ie){}q&&(!l&&t.state.focused?(e.collapse(w.node,w.offset),q.collapsed||(e.removeAllRanges(),e.addRange(q))):(e.removeAllRanges(),e.addRange(q)),$&&e.anchorNode==null?e.addRange($):l&&this.startGracePeriod()),this.rememberSelection()}},ht.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},ht.prototype.showMultipleSelections=function(e){z(this.cm.display.cursorDiv,e.cursors),z(this.cm.display.selectionDiv,e.selection)},ht.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},ht.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Z(this.div,t)},ht.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||J(this.div.ownerDocument)!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ht.prototype.blur=function(){this.div.blur()},ht.prototype.getField=function(){return this.div},ht.prototype.supportsTouch=function(){return!0},ht.prototype.receivedFocus=function(){var e=this,t=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):un(this.cm,function(){return t.cm.curOp.selectionChanged=!0});function i(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,i))}this.polling.set(this.cm.options.pollInterval,i)},ht.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},ht.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),t=this.cm;if(R&&p&&this.cm.display.gutterSpecs.length&&cc(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var i=Ui(t,e.anchorNode,e.anchorOffset),r=Ui(t,e.focusNode,e.focusOffset);i&&r&&un(t,function(){Vt(t.doc,Kn(i,r),ct),(i.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},ht.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,i=e.doc.sel.primary(),r=i.from(),s=i.to();if(r.ch==0&&r.line>e.firstLine()&&(r=me(r.line-1,Ge(e.doc,r.line-1).length)),s.ch==Ge(e.doc,s.line).text.length&&s.line<e.lastLine()&&(s=me(s.line+1,0)),r.line<t.viewFrom||s.line>t.viewTo-1)return!1;var S,y,N;r.line==t.viewFrom||(S=lr(e,r.line))==0?(y=mt(t.view[0].line),N=t.view[0].node):(y=mt(t.view[S].line),N=t.view[S-1].node.nextSibling);var w=lr(e,s.line),P,F;if(w==t.view.length-1?(P=t.viewTo-1,F=t.lineDiv.lastChild):(P=mt(t.view[w+1].line)-1,F=t.view[w+1].node.previousSibling),!N)return!1;for(var H=e.doc.splitLines(uc(e,N,F,y,P)),$=Pt(e.doc,me(y,0),me(P,Ge(e.doc,P).text.length));H.length>1&&$.length>1;)if(Ae(H)==Ae($))H.pop(),$.pop(),P--;else if(H[0]==$[0])H.shift(),$.shift(),y++;else break;for(var q=0,ie=0,ce=H[0],Se=$[0],Ce=Math.min(ce.length,Se.length);q<Ce&&ce.charCodeAt(q)==Se.charCodeAt(q);)++q;for(var Ie=Ae(H),ye=Ae($),Me=Math.min(Ie.length-(H.length==1?q:0),ye.length-($.length==1?q:0));ie<Me&&Ie.charCodeAt(Ie.length-ie-1)==ye.charCodeAt(ye.length-ie-1);)++ie;if(H.length==1&&$.length==1&&y==r.line)for(;q&&q>r.ch&&Ie.charCodeAt(Ie.length-ie-1)==ye.charCodeAt(ye.length-ie-1);)q--,ie++;H[H.length-1]=Ie.slice(0,Ie.length-ie).replace(/^\u200b+/,""),H[0]=H[0].slice(q).replace(/\u200b+$/,"");var Xe=me(y,q),$e=me(P,$.length?Ae($).length-ie:0);if(H.length>1||H[0]||re(Xe,$e))return xr(e.doc,H,Xe,$e,"+input"),!0},ht.prototype.ensurePolled=function(){this.forceCompositionEnd()},ht.prototype.reset=function(){this.forceCompositionEnd()},ht.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ht.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},ht.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&un(this.cm,function(){return tn(e.cm)})},ht.prototype.setUneditable=function(e){e.contentEditable="false"},ht.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ft(this.cm,Ra)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},ht.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},ht.prototype.onContextMenu=function(){},ht.prototype.resetPosition=function(){},ht.prototype.needsContentAttribute=!0;function bs(e,t){var i=Ki(e,t.line);if(!i||i.hidden)return null;var r=Ge(e.doc,t.line),s=Ka(i,r,t.line),S=te(r,e.doc.direction),y="left";if(S){var N=ut(S,t.ch);y=N%2?"right":"left"}var w=Xa(s.map,t.ch,y);return w.offset=w.collapse=="right"?w.end:w.start,w}function cc(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function kr(e,t){return t&&(e.bad=!0),e}function uc(e,t,i,r,s){var S="",y=!1,N=e.doc.lineSeparator(),w=!1;function P(q){return function(ie){return ie.id==q}}function F(){y&&(S+=N,w&&(S+=N),y=w=!1)}function H(q){q&&(F(),S+=q)}function $(q){if(q.nodeType==1){var ie=q.getAttribute("cm-text");if(ie){H(ie);return}var ce=q.getAttribute("cm-marker"),Se;if(ce){var Ce=e.findMarks(me(r,0),me(s+1,0),P(+ce));Ce.length&&(Se=Ce[0].find(0))&&H(Pt(e.doc,Se.from,Se.to).join(N));return}if(q.getAttribute("contenteditable")=="false")return;var Ie=/^(pre|div|p|li|table|br)$/i.test(q.nodeName);if(!/^br$/i.test(q.nodeName)&&q.textContent.length==0)return;Ie&&F();for(var ye=0;ye<q.childNodes.length;ye++)$(q.childNodes[ye]);/^(pre|p)$/i.test(q.nodeName)&&(w=!0),Ie&&(y=!0)}else q.nodeType==3&&H(q.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;$(t),t!=i;)t=t.nextSibling,w=!1;return S}function Ui(e,t,i){var r;if(t==e.display.lineDiv){if(r=e.display.lineDiv.childNodes[i],!r)return kr(e.clipPos(me(e.display.viewTo-1)),!0);t=null,i=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var s=0;s<e.display.view.length;s++){var S=e.display.view[s];if(S.node==r)return dc(S,t,i)}}function dc(e,t,i){var r=e.text.firstChild,s=!1;if(!t||!Z(r,t))return kr(me(mt(e.line),0),!0);if(t==r&&(s=!0,t=r.childNodes[i],i=0,!t)){var S=e.rest?Ae(e.rest):e.line;return kr(me(mt(S),S.text.length),s)}var y=t.nodeType==3?t:null,N=t;for(!y&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(y=t.firstChild,i&&(i=y.nodeValue.length));N.parentNode!=r;)N=N.parentNode;var w=e.measure,P=w.maps;function F(Se,Ce,Ie){for(var ye=-1;ye<(P?P.length:0);ye++)for(var Me=ye<0?w.map:P[ye],Xe=0;Xe<Me.length;Xe+=3){var $e=Me[Xe+2];if($e==Se||$e==Ce){var lt=mt(ye<0?e.line:e.rest[ye]),bt=Me[Xe]+Ie;return(Ie<0||$e!=Se)&&(bt=Me[Xe+(Ie?1:0)]),me(lt,bt)}}}var H=F(y,N,i);if(H)return kr(H,s);for(var $=N.nextSibling,q=y?y.nodeValue.length-i:0;$;$=$.nextSibling){if(H=F($,$.firstChild,0),H)return kr(me(H.line,H.ch-q),s);q+=$.textContent.length}for(var ie=N.previousSibling,ce=i;ie;ie=ie.previousSibling){if(H=F(ie,ie.firstChild,-1),H)return kr(me(H.line,H.ch+ce),s);ce+=ie.textContent.length}}var Dt=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null,this.resetting=!1};Dt.prototype.init=function(e){var t=this,i=this,r=this.cm;this.createField(e);var s=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),T&&(s.style.width="0px"),ue(s,"input",function(){o&&d>=9&&t.hasSelection&&(t.hasSelection=null),i.poll()}),ue(s,"paste",function(y){ne(r,y)||ms(y,r)||(r.state.pasteIncoming=+new Date,i.fastPoll())});function S(y){if(!ne(r,y)){if(r.somethingSelected())ki({lineWise:!1,text:r.getSelections()});else if(r.options.lineWiseCopyCut){var N=gs(r);ki({lineWise:!0,text:N.text}),y.type=="cut"?r.setSelections(N.ranges,null,ct):(i.prevInput="",s.value=N.text.join(`
20
- `),De(s))}else return;y.type=="cut"&&(r.state.cutIncoming=+new Date)}}ue(s,"cut",S),ue(s,"copy",S),ue(e.scroller,"paste",function(y){if(!(kn(e,y)||ne(r,y))){if(!s.dispatchEvent){r.state.pasteIncoming=+new Date,i.focus();return}var N=new Event("paste");N.clipboardData=y.clipboardData,s.dispatchEvent(N)}}),ue(e.lineSpace,"selectstart",function(y){kn(e,y)||oe(y)}),ue(s,"compositionstart",function(){var y=r.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:y,range:r.markText(y,r.getCursor("to"),{className:"CodeMirror-composing"})}}),ue(s,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},Dt.prototype.createField=function(e){this.wrapper=hs(),this.textarea=this.wrapper.firstChild},Dt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Dt.prototype.prepareSelection=function(){var e=this.cm,t=e.display,i=e.doc,r=so(e);if(e.options.moveInputWithCursor){var s=yn(e,i.sel.primary().head,"div"),S=t.wrapper.getBoundingClientRect(),y=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,s.top+y.top-S.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,s.left+y.left-S.left))}return r},Dt.prototype.showSelection=function(e){var t=this.cm,i=t.display;z(i.cursorDiv,e.cursors),z(i.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Dt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var i=t.getSelection();this.textarea.value=i,t.state.focused&&De(this.textarea),o&&d>=9&&(this.hasSelection=i)}else e||(this.prevInput=this.textarea.value="",o&&d>=9&&(this.hasSelection=null));this.resetting=!1}},Dt.prototype.getField=function(){return this.textarea},Dt.prototype.supportsTouch=function(){return!1},Dt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!O||J(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch(e){}},Dt.prototype.blur=function(){this.textarea.blur()},Dt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Dt.prototype.receivedFocus=function(){this.slowPoll()},Dt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Dt.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function i(){var r=t.poll();!r&&!e?(e=!0,t.polling.set(60,i)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,i)},Dt.prototype.poll=function(){var e=this,t=this.cm,i=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||Xt(i)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var s=i.value;if(s==r&&!t.somethingSelected())return!1;if(o&&d>=9&&this.hasSelection===s||D&&/[\uf700-\uf7ff]/.test(s))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var S=s.charCodeAt(0);if(S==8203&&!r&&(r="\u200B"),S==8666)return this.reset(),this.cm.execCommand("undo")}for(var y=0,N=Math.min(r.length,s.length);y<N&&r.charCodeAt(y)==s.charCodeAt(y);)++y;return un(t,function(){Ra(t,s.slice(y),r.length-y,null,e.composing?"*compose":null),s.length>1e3||s.indexOf(`
17
+ `?"n":!$||/\s/.test(ce)?null:"p";if($&&!ie&&!Se&&(Se="s"),H&&H!=Se){i<0&&(i=1,F(),t.sticky="after");break}if(Se&&(H=Se),i>0&&!F(!ie))break}var Ce=Di(e,t,S,y,!0);return Ye(S,Ce)&&(Ce.hitSide=!0),Ce}function Ss(e,t,i,r){var s=e.doc,S=t.left,y;if(r=="page"){var N=Math.min(e.display.wrapper.clientHeight,He(e).innerHeight||s(e).documentElement.clientHeight),w=Math.max(N-.5*Cr(e.display),3);y=(i>0?t.bottom:t.top)+i*w}else r=="line"&&(y=i>0?t.bottom+3:t.top-3);for(var P;P=Xi(e,S,y),!!P.outside;){if(i<0?y<=0:y>=s.height){P.hitSide=!0;break}y+=i*5}return P}var ht=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ht.prototype.init=function(e){var t=this,i=this,r=i.cm,s=i.div=e.lineDiv;s.contentEditable=!0,Oa(s,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize);function S(N){for(var w=N.target;w;w=w.parentNode){if(w==s)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(w.className))break}return!1}ue(s,"paste",function(N){!S(N)||ne(r,N)||fs(N,r)||d<=11&&setTimeout(Ft(r,function(){return t.updateFromDOM()}),20)}),ue(s,"compositionstart",function(N){t.composing={data:N.data,done:!1}}),ue(s,"compositionupdate",function(N){t.composing||(t.composing={data:N.data,done:!1})}),ue(s,"compositionend",function(N){t.composing&&(N.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),ue(s,"touchstart",function(){return i.forceCompositionEnd()}),ue(s,"input",function(){t.composing||t.readFromDOMSoon()});function y(N){if(!(!S(N)||ne(r,N))){if(r.somethingSelected())ki({lineWise:!1,text:r.getSelections()}),N.type=="cut"&&r.replaceSelection("",null,"cut");else if(r.options.lineWiseCopyCut){var w=Es(r);ki({lineWise:!0,text:w.text}),N.type=="cut"&&r.operation(function(){r.setSelections(w.ranges,0,ct),r.replaceSelection("",null,"cut")})}else return;if(N.clipboardData){N.clipboardData.clearData();var P=On.text.join(`
18
+ `);if(N.clipboardData.setData("Text",P),N.clipboardData.getData("Text")==P){N.preventDefault();return}}var F=hs(),H=F.firstChild;Oa(H),r.display.lineSpace.insertBefore(F,r.display.lineSpace.firstChild),H.value=On.text.join(`
19
+ `);var $=J(s.ownerDocument);De(H),setTimeout(function(){r.display.lineSpace.removeChild(F),$.focus(),$==s&&i.showPrimarySelection()},50)}}ue(s,"copy",y),ue(s,"cut",y)},ht.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},ht.prototype.prepareSelection=function(){var e=lo(this.cm,!1);return e.focus=J(this.div.ownerDocument)==this.div,e},ht.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},ht.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ht.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,i=t.doc.sel.primary(),r=i.from(),s=i.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||s.line<t.display.viewFrom){e.removeAllRanges();return}var S=Ui(t,e.anchorNode,e.anchorOffset),y=Ui(t,e.focusNode,e.focusOffset);if(!(S&&!S.bad&&y&&!y.bad&&re(Ct(S,y),r)==0&&re(ft(S,y),s)==0)){var N=t.display.view,w=r.line>=t.display.viewFrom&&bs(t,r)||{node:N[0].measure.map[2],offset:0},P=s.line<t.display.viewTo&&bs(t,s);if(!P){var F=N[N.length-1].measure,H=F.maps?F.maps[F.maps.length-1]:F.map;P={node:H[H.length-1],offset:H[H.length-2]-H[H.length-3]}}if(!w||!P){e.removeAllRanges();return}var $=e.rangeCount&&e.getRangeAt(0),q;try{q=ee(w.node,w.offset,P.offset,P.node)}catch(ie){}q&&(!l&&t.state.focused?(e.collapse(w.node,w.offset),q.collapsed||(e.removeAllRanges(),e.addRange(q))):(e.removeAllRanges(),e.addRange(q)),$&&e.anchorNode==null?e.addRange($):l&&this.startGracePeriod()),this.rememberSelection()}},ht.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},ht.prototype.showMultipleSelections=function(e){z(this.cm.display.cursorDiv,e.cursors),z(this.cm.display.selectionDiv,e.selection)},ht.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},ht.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Z(this.div,t)},ht.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||J(this.div.ownerDocument)!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ht.prototype.blur=function(){this.div.blur()},ht.prototype.getField=function(){return this.div},ht.prototype.supportsTouch=function(){return!0},ht.prototype.receivedFocus=function(){var e=this,t=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):un(this.cm,function(){return t.cm.curOp.selectionChanged=!0});function i(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,i))}this.polling.set(this.cm.options.pollInterval,i)},ht.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},ht.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),t=this.cm;if(R&&p&&this.cm.display.gutterSpecs.length&&cc(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var i=Ui(t,e.anchorNode,e.anchorOffset),r=Ui(t,e.focusNode,e.focusOffset);i&&r&&un(t,function(){Vt(t.doc,Kn(i,r),ct),(i.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},ht.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,i=e.doc.sel.primary(),r=i.from(),s=i.to();if(r.ch==0&&r.line>e.firstLine()&&(r=me(r.line-1,Ge(e.doc,r.line-1).length)),s.ch==Ge(e.doc,s.line).text.length&&s.line<e.lastLine()&&(s=me(s.line+1,0)),r.line<t.viewFrom||s.line>t.viewTo-1)return!1;var S,y,N;r.line==t.viewFrom||(S=lr(e,r.line))==0?(y=mt(t.view[0].line),N=t.view[0].node):(y=mt(t.view[S].line),N=t.view[S-1].node.nextSibling);var w=lr(e,s.line),P,F;if(w==t.view.length-1?(P=t.viewTo-1,F=t.lineDiv.lastChild):(P=mt(t.view[w+1].line)-1,F=t.view[w+1].node.previousSibling),!N)return!1;for(var H=e.doc.splitLines(uc(e,N,F,y,P)),$=Pt(e.doc,me(y,0),me(P,Ge(e.doc,P).text.length));H.length>1&&$.length>1;)if(Ae(H)==Ae($))H.pop(),$.pop(),P--;else if(H[0]==$[0])H.shift(),$.shift(),y++;else break;for(var q=0,ie=0,ce=H[0],Se=$[0],Ce=Math.min(ce.length,Se.length);q<Ce&&ce.charCodeAt(q)==Se.charCodeAt(q);)++q;for(var Ie=Ae(H),ye=Ae($),Me=Math.min(Ie.length-(H.length==1?q:0),ye.length-($.length==1?q:0));ie<Me&&Ie.charCodeAt(Ie.length-ie-1)==ye.charCodeAt(ye.length-ie-1);)++ie;if(H.length==1&&$.length==1&&y==r.line)for(;q&&q>r.ch&&Ie.charCodeAt(Ie.length-ie-1)==ye.charCodeAt(ye.length-ie-1);)q--,ie++;H[H.length-1]=Ie.slice(0,Ie.length-ie).replace(/^\u200b+/,""),H[0]=H[0].slice(q).replace(/\u200b+$/,"");var Xe=me(y,q),$e=me(P,$.length?Ae($).length-ie:0);if(H.length>1||H[0]||re(Xe,$e))return xr(e.doc,H,Xe,$e,"+input"),!0},ht.prototype.ensurePolled=function(){this.forceCompositionEnd()},ht.prototype.reset=function(){this.forceCompositionEnd()},ht.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ht.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},ht.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&un(this.cm,function(){return tn(e.cm)})},ht.prototype.setUneditable=function(e){e.contentEditable="false"},ht.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ft(this.cm,Ra)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},ht.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},ht.prototype.onContextMenu=function(){},ht.prototype.resetPosition=function(){},ht.prototype.needsContentAttribute=!0;function bs(e,t){var i=Ki(e,t.line);if(!i||i.hidden)return null;var r=Ge(e.doc,t.line),s=$a(i,r,t.line),S=te(r,e.doc.direction),y="left";if(S){var N=ut(S,t.ch);y=N%2?"right":"left"}var w=Za(s.map,t.ch,y);return w.offset=w.collapse=="right"?w.end:w.start,w}function cc(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function kr(e,t){return t&&(e.bad=!0),e}function uc(e,t,i,r,s){var S="",y=!1,N=e.doc.lineSeparator(),w=!1;function P(q){return function(ie){return ie.id==q}}function F(){y&&(S+=N,w&&(S+=N),y=w=!1)}function H(q){q&&(F(),S+=q)}function $(q){if(q.nodeType==1){var ie=q.getAttribute("cm-text");if(ie){H(ie);return}var ce=q.getAttribute("cm-marker"),Se;if(ce){var Ce=e.findMarks(me(r,0),me(s+1,0),P(+ce));Ce.length&&(Se=Ce[0].find(0))&&H(Pt(e.doc,Se.from,Se.to).join(N));return}if(q.getAttribute("contenteditable")=="false")return;var Ie=/^(pre|div|p|li|table|br)$/i.test(q.nodeName);if(!/^br$/i.test(q.nodeName)&&q.textContent.length==0)return;Ie&&F();for(var ye=0;ye<q.childNodes.length;ye++)$(q.childNodes[ye]);/^(pre|p)$/i.test(q.nodeName)&&(w=!0),Ie&&(y=!0)}else q.nodeType==3&&H(q.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;$(t),t!=i;)t=t.nextSibling,w=!1;return S}function Ui(e,t,i){var r;if(t==e.display.lineDiv){if(r=e.display.lineDiv.childNodes[i],!r)return kr(e.clipPos(me(e.display.viewTo-1)),!0);t=null,i=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var s=0;s<e.display.view.length;s++){var S=e.display.view[s];if(S.node==r)return dc(S,t,i)}}function dc(e,t,i){var r=e.text.firstChild,s=!1;if(!t||!Z(r,t))return kr(me(mt(e.line),0),!0);if(t==r&&(s=!0,t=r.childNodes[i],i=0,!t)){var S=e.rest?Ae(e.rest):e.line;return kr(me(mt(S),S.text.length),s)}var y=t.nodeType==3?t:null,N=t;for(!y&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(y=t.firstChild,i&&(i=y.nodeValue.length));N.parentNode!=r;)N=N.parentNode;var w=e.measure,P=w.maps;function F(Se,Ce,Ie){for(var ye=-1;ye<(P?P.length:0);ye++)for(var Me=ye<0?w.map:P[ye],Xe=0;Xe<Me.length;Xe+=3){var $e=Me[Xe+2];if($e==Se||$e==Ce){var lt=mt(ye<0?e.line:e.rest[ye]),bt=Me[Xe]+Ie;return(Ie<0||$e!=Se)&&(bt=Me[Xe+(Ie?1:0)]),me(lt,bt)}}}var H=F(y,N,i);if(H)return kr(H,s);for(var $=N.nextSibling,q=y?y.nodeValue.length-i:0;$;$=$.nextSibling){if(H=F($,$.firstChild,0),H)return kr(me(H.line,H.ch-q),s);q+=$.textContent.length}for(var ie=N.previousSibling,ce=i;ie;ie=ie.previousSibling){if(H=F(ie,ie.firstChild,-1),H)return kr(me(H.line,H.ch+ce),s);ce+=ie.textContent.length}}var Dt=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null,this.resetting=!1};Dt.prototype.init=function(e){var t=this,i=this,r=this.cm;this.createField(e);var s=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),T&&(s.style.width="0px"),ue(s,"input",function(){o&&d>=9&&t.hasSelection&&(t.hasSelection=null),i.poll()}),ue(s,"paste",function(y){ne(r,y)||fs(y,r)||(r.state.pasteIncoming=+new Date,i.fastPoll())});function S(y){if(!ne(r,y)){if(r.somethingSelected())ki({lineWise:!1,text:r.getSelections()});else if(r.options.lineWiseCopyCut){var N=Es(r);ki({lineWise:!0,text:N.text}),y.type=="cut"?r.setSelections(N.ranges,null,ct):(i.prevInput="",s.value=N.text.join(`
20
+ `),De(s))}else return;y.type=="cut"&&(r.state.cutIncoming=+new Date)}}ue(s,"cut",S),ue(s,"copy",S),ue(e.scroller,"paste",function(y){if(!(kn(e,y)||ne(r,y))){if(!s.dispatchEvent){r.state.pasteIncoming=+new Date,i.focus();return}var N=new Event("paste");N.clipboardData=y.clipboardData,s.dispatchEvent(N)}}),ue(e.lineSpace,"selectstart",function(y){kn(e,y)||oe(y)}),ue(s,"compositionstart",function(){var y=r.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:y,range:r.markText(y,r.getCursor("to"),{className:"CodeMirror-composing"})}}),ue(s,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},Dt.prototype.createField=function(e){this.wrapper=hs(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;Oa(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},Dt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Dt.prototype.prepareSelection=function(){var e=this.cm,t=e.display,i=e.doc,r=lo(e);if(e.options.moveInputWithCursor){var s=yn(e,i.sel.primary().head,"div"),S=t.wrapper.getBoundingClientRect(),y=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,s.top+y.top-S.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,s.left+y.left-S.left))}return r},Dt.prototype.showSelection=function(e){var t=this.cm,i=t.display;z(i.cursorDiv,e.cursors),z(i.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Dt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var i=t.getSelection();this.textarea.value=i,t.state.focused&&De(this.textarea),o&&d>=9&&(this.hasSelection=i)}else e||(this.prevInput=this.textarea.value="",o&&d>=9&&(this.hasSelection=null));this.resetting=!1}},Dt.prototype.getField=function(){return this.textarea},Dt.prototype.supportsTouch=function(){return!1},Dt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!O||J(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch(e){}},Dt.prototype.blur=function(){this.textarea.blur()},Dt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Dt.prototype.receivedFocus=function(){this.slowPoll()},Dt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Dt.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function i(){var r=t.poll();!r&&!e?(e=!0,t.polling.set(60,i)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,i)},Dt.prototype.poll=function(){var e=this,t=this.cm,i=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||Xt(i)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var s=i.value;if(s==r&&!t.somethingSelected())return!1;if(o&&d>=9&&this.hasSelection===s||D&&/[\uf700-\uf7ff]/.test(s))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var S=s.charCodeAt(0);if(S==8203&&!r&&(r="\u200B"),S==8666)return this.reset(),this.cm.execCommand("undo")}for(var y=0,N=Math.min(r.length,s.length);y<N&&r.charCodeAt(y)==s.charCodeAt(y);)++y;return un(t,function(){Ra(t,s.slice(y),r.length-y,null,e.composing?"*compose":null),s.length>1e3||s.indexOf(`
21
21
  `)>-1?i.value=e.prevInput="":e.prevInput=s,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Dt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Dt.prototype.onKeyPress=function(){o&&d>=9&&(this.hasSelection=null),this.fastPoll()},Dt.prototype.onContextMenu=function(e){var t=this,i=t.cm,r=i.display,s=t.textarea;t.contextMenuPending&&t.contextMenuPending();var S=sr(i,e),y=r.scroller.scrollTop;if(!S||_)return;var N=i.options.resetSelectionOnContextMenu;N&&i.doc.sel.contains(S)==-1&&Ft(i,Vt)(i.doc,Kn(S),ct);var w=s.style.cssText,P=t.wrapper.style.cssText,F=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",s.style.cssText=`position: absolute; width: 30px; height: 30px;
22
22
  top: `+(e.clientY-F.top-5)+"px; left: "+(e.clientX-F.left-5)+`px;
23
23
  z-index: 1000; background: `+(o?"rgba(255, 255, 255, .05)":"transparent")+`;
24
- outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var H;m&&(H=s.ownerDocument.defaultView.scrollY),r.input.focus(),m&&s.ownerDocument.defaultView.scrollTo(null,H),r.input.reset(),i.somethingSelected()||(s.value=t.prevInput=" "),t.contextMenuPending=q,r.selForContextMenu=i.doc.sel,clearTimeout(r.detectingSelectAll);function $(){if(s.selectionStart!=null){var ce=i.somethingSelected(),Se="\u200B"+(ce?s.value:"");s.value="\u21DA",s.value=Se,t.prevInput=ce?"":"\u200B",s.selectionStart=1,s.selectionEnd=Se.length,r.selForContextMenu=i.doc.sel}}function q(){if(t.contextMenuPending==q&&(t.contextMenuPending=!1,t.wrapper.style.cssText=P,s.style.cssText=w,o&&d<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=y),s.selectionStart!=null)){(!o||o&&d<9)&&$();var ce=0,Se=function(){r.selForContextMenu==i.doc.sel&&s.selectionStart==0&&s.selectionEnd>0&&t.prevInput=="\u200B"?Ft(i,Fo)(i):ce++<10?r.detectingSelectAll=setTimeout(Se,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(Se,200)}}if(o&&d>=9&&$(),L){ze(e);var ie=function(){je(window,"mouseup",ie),setTimeout(q,20)};ue(window,"mouseup",ie)}else setTimeout(q,50)},Dt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},Dt.prototype.setUneditable=function(){},Dt.prototype.needsContentAttribute=!1;function _c(e,t){if(t=t?et(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var i=J(e.ownerDocument);t.autofocus=i==e||e.getAttribute("autofocus")!=null&&i==document.body}function r(){e.value=N.getValue()}var s;if(e.form&&(ue(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var S=e.form;s=S.submit;try{var y=S.submit=function(){r(),S.submit=s,S.submit(),S.submit=y}}catch(w){}}t.finishInit=function(w){w.save=r,w.getTextArea=function(){return e},w.toTextArea=function(){w.toTextArea=isNaN,r(),e.parentNode.removeChild(w.getWrapperElement()),e.style.display="",e.form&&(je(e.form,"submit",r),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=s))}},e.style.display="none";var N=Rt(function(w){return e.parentNode.insertBefore(w,e.nextSibling)},t);return N}function pc(e){e.off=je,e.on=ue,e.wheelEventPixels=bl,e.Doc=nn,e.splitLines=It,e.countColumn=le,e.findColumn=de,e.isWordChar=j,e.Pass=it,e.signal=Je,e.Line=br,e.changeEnd=$n,e.scrollbarModel=mo,e.Pos=me,e.cmpPos=re,e.modes=sn,e.mimeModes=fn,e.resolveMode=gn,e.getMode=Nn,e.modeExtensions=Ht,e.extendMode=En,e.copyState=pn,e.startState=fr,e.innerMode=Mn,e.commands=ai,e.keyMap=Fn,e.keyName=es,e.isModifierKey=jo,e.lookupKey=Mr,e.normalizeKeyMap=Hl,e.StringStream=vt,e.SharedTextMarker=ni,e.TextMarker=Xn,e.LineWidget=ti,e.e_preventDefault=oe,e.e_stopPropagation=Ee,e.e_stop=ze,e.addClass=fe,e.contains=Z,e.rmClass=U,e.keyNames=Zn}ic(Rt),lc(Rt);var mc="iter insert remove copy getEditor constructor".split(" ");for(var Fi in nn.prototype)nn.prototype.hasOwnProperty(Fi)&&we(mc,Fi)<0&&(Rt.prototype[Fi]=function(e){return function(){return e.apply(this.doc,arguments)}}(nn.prototype[Fi]));return X(nn),Rt.inputStyles={textarea:Dt,contenteditable:ht},Rt.defineMode=function(e){!Rt.defaults.mode&&e!="null"&&(Rt.defaults.mode=e),Tn.apply(this,arguments)},Rt.defineMIME=Jn,Rt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Rt.defineMIME("text/plain","null"),Rt.defineExtension=function(e,t){Rt.prototype[e]=t},Rt.defineDocExtension=function(e,t){nn.prototype[e]=t},Rt.fromTextArea=_c,pc(Rt),Rt.version="5.65.8",Rt})},78857:v=>{"use strict";var g=function(O){return n(O)&&!l(O)};function n(R){return!!R&&typeof R=="object"}function l(R){var O=Object.prototype.toString.call(R);return O==="[object RegExp]"||O==="[object Date]"||c(R)}var u=typeof Symbol=="function"&&Symbol.for,a=u?Symbol.for("react.element"):60103;function c(R){return R.$$typeof===a}function o(R){return Array.isArray(R)?[]:{}}function d(R,O){return O.clone!==!1&&O.isMergeableObject(R)?b(o(R),R,O):R}function m(R,O,D){return R.concat(O).map(function(M){return d(M,D)})}function E(R,O){if(!O.customMerge)return b;var D=O.customMerge(R);return typeof D=="function"?D:b}function p(R){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(R).filter(function(O){return R.propertyIsEnumerable(O)}):[]}function f(R){return Object.keys(R).concat(p(R))}function _(R,O){try{return O in R}catch(D){return!1}}function h(R,O){return _(R,O)&&!(Object.hasOwnProperty.call(R,O)&&Object.propertyIsEnumerable.call(R,O))}function C(R,O,D){var M={};return D.isMergeableObject(R)&&f(R).forEach(function(I){M[I]=d(R[I],D)}),f(O).forEach(function(I){h(R,I)||(_(R,I)&&D.isMergeableObject(O[I])?M[I]=E(I,D)(R[I],O[I],D):M[I]=d(O[I],D))}),M}function b(R,O,D){D=D||{},D.arrayMerge=D.arrayMerge||m,D.isMergeableObject=D.isMergeableObject||g,D.cloneUnlessOtherwiseSpecified=d;var M=Array.isArray(O),I=Array.isArray(R),A=M===I;return A?M?D.arrayMerge(R,O,D):C(R,O,D):d(O,D)}b.all=function(O,D){if(!Array.isArray(O))throw new Error("first argument should be an array");return O.reduce(function(M,I){return b(M,I,D)},{})};var T=b;v.exports=T},25937:(v,g)=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.Doctype=g.CDATA=g.Tag=g.Style=g.Script=g.Comment=g.Directive=g.Text=g.Root=g.isTag=g.ElementType=void 0;var n;(function(u){u.Root="root",u.Text="text",u.Directive="directive",u.Comment="comment",u.Script="script",u.Style="style",u.Tag="tag",u.CDATA="cdata",u.Doctype="doctype"})(n=g.ElementType||(g.ElementType={}));function l(u){return u.type===n.Tag||u.type===n.Script||u.type===n.Style}g.isTag=l,g.Root=n.Root,g.Text=n.Text,g.Directive=n.Directive,g.Comment=n.Comment,g.Script=n.Script,g.Style=n.Style,g.Tag=n.Tag,g.CDATA=n.CDATA,g.Doctype=n.Doctype},85383:function(v,g,n){"use strict";var l=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(g,"__esModule",{value:!0}),g.decodeHTML=g.decodeHTMLStrict=g.decodeXML=void 0;var u=l(n(10777)),a=l(n(66407)),c=l(n(99523)),o=l(n(11224)),d=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;g.decodeXML=m(c.default),g.decodeHTMLStrict=m(u.default);function m(f){var _=p(f);return function(h){return String(h).replace(d,_)}}var E=function(f,_){return f<_?1:-1};g.decodeHTML=function(){for(var f=Object.keys(a.default).sort(E),_=Object.keys(u.default).sort(E),h=0,C=0;h<_.length;h++)f[C]===_[h]?(_[h]+=";?",C++):_[h]+=";";var b=new RegExp("&(?:"+_.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),T=p(u.default);function R(O){return O.substr(-1)!==";"&&(O+=";"),T(O)}return function(O){return String(O).replace(b,R)}}();function p(f){return function(h){if(h.charAt(1)==="#"){var C=h.charAt(2);return C==="X"||C==="x"?o.default(parseInt(h.substr(3),16)):o.default(parseInt(h.substr(2),10))}return f[h.slice(1,-1)]||h}}},11224:function(v,g,n){"use strict";var l=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(g,"__esModule",{value:!0});var u=l(n(51619)),a=String.fromCodePoint||function(o){var d="";return o>65535&&(o-=65536,d+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),d+=String.fromCharCode(o),d};function c(o){return o>=55296&&o<=57343||o>1114111?"\uFFFD":(o in u.default&&(o=u.default[o]),a(o))}g.default=c},32146:function(v,g,n){"use strict";var l=this&&this.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(g,"__esModule",{value:!0}),g.escapeUTF8=g.escape=g.encodeNonAsciiHTML=g.encodeHTML=g.encodeXML=void 0;var u=l(n(99523)),a=E(u.default),c=p(a);g.encodeXML=O(a);var o=l(n(10777)),d=E(o.default),m=p(d);g.encodeHTML=C(d,m),g.encodeNonAsciiHTML=O(d);function E(D){return Object.keys(D).sort().reduce(function(M,I){return M[D[I]]="&"+I+";",M},{})}function p(D){for(var M=[],I=[],A=0,x=Object.keys(D);A<x.length;A++){var L=x[A];L.length===1?M.push("\\"+L):I.push(L)}M.sort();for(var k=0;k<M.length-1;k++){for(var U=k;U<M.length-1&&M[U].charCodeAt(1)+1===M[U+1].charCodeAt(1);)U+=1;var Y=1+U-k;Y<3||M.splice(k,Y,M[k]+"-"+M[U])}return I.unshift("["+M.join("")+"]"),new RegExp(I.join("|"),"g")}var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,_=String.prototype.codePointAt!=null?function(D){return D.codePointAt(0)}:function(D){return(D.charCodeAt(0)-55296)*1024+D.charCodeAt(1)-56320+65536};function h(D){return"&#x"+(D.length>1?_(D):D.charCodeAt(0)).toString(16).toUpperCase()+";"}function C(D,M){return function(I){return I.replace(M,function(A){return D[A]}).replace(f,h)}}var b=new RegExp(c.source+"|"+f.source,"g");function T(D){return D.replace(b,h)}g.escape=T;function R(D){return D.replace(c,h)}g.escapeUTF8=R;function O(D){return function(M){return M.replace(b,function(I){return D[I]||h(I)})}}},84553:(v,g,n)=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.decodeXMLStrict=g.decodeHTML5Strict=g.decodeHTML4Strict=g.decodeHTML5=g.decodeHTML4=g.decodeHTMLStrict=g.decodeHTML=g.decodeXML=g.encodeHTML5=g.encodeHTML4=g.escapeUTF8=g.escape=g.encodeNonAsciiHTML=g.encodeHTML=g.encodeXML=g.encode=g.decodeStrict=g.decode=void 0;var l=n(85383),u=n(32146);function a(E,p){return(!p||p<=0?l.decodeXML:l.decodeHTML)(E)}g.decode=a;function c(E,p){return(!p||p<=0?l.decodeXML:l.decodeHTMLStrict)(E)}g.decodeStrict=c;function o(E,p){return(!p||p<=0?u.encodeXML:u.encodeHTML)(E)}g.encode=o;var d=n(32146);Object.defineProperty(g,"encodeXML",{enumerable:!0,get:function(){return d.encodeXML}}),Object.defineProperty(g,"encodeHTML",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(g,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return d.encodeNonAsciiHTML}}),Object.defineProperty(g,"escape",{enumerable:!0,get:function(){return d.escape}}),Object.defineProperty(g,"escapeUTF8",{enumerable:!0,get:function(){return d.escapeUTF8}}),Object.defineProperty(g,"encodeHTML4",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(g,"encodeHTML5",{enumerable:!0,get:function(){return d.encodeHTML}});var m=n(85383);Object.defineProperty(g,"decodeXML",{enumerable:!0,get:function(){return m.decodeXML}}),Object.defineProperty(g,"decodeHTML",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(g,"decodeHTMLStrict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(g,"decodeHTML4",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(g,"decodeHTML5",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(g,"decodeHTML4Strict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(g,"decodeHTML5Strict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(g,"decodeXMLStrict",{enumerable:!0,get:function(){return m.decodeXML}})},25345:(v,g,n)=>{var l=n(98399);function u(W){return W instanceof Map?W.clear=W.delete=W.set=function(){throw new Error("map is read-only")}:W instanceof Set&&(W.add=W.clear=W.delete=function(){throw new Error("set is read-only")}),Object.freeze(W),Object.getOwnPropertyNames(W).forEach(function(X){var oe=W[X];typeof oe=="object"&&!Object.isFrozen(oe)&&u(oe)}),W}var a=u,c=u;a.default=c;class o{constructor(X){X.data===void 0&&(X.data={}),this.data=X.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function d(W){return W.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function m(W,...X){const oe=Object.create(null);for(const Ee in W)oe[Ee]=W[Ee];return X.forEach(function(Ee){for(const Be in Ee)oe[Be]=Ee[Be]}),oe}const E="</span>",p=W=>!!W.kind;class f{constructor(X,oe){this.buffer="",this.classPrefix=oe.classPrefix,X.walk(this)}addText(X){this.buffer+=d(X)}openNode(X){if(!p(X))return;let oe=X.kind;X.sublanguage||(oe=`${this.classPrefix}${oe}`),this.span(oe)}closeNode(X){!p(X)||(this.buffer+=E)}value(){return this.buffer}span(X){this.buffer+=`<span class="${X}">`}}class _{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(X){this.top.children.push(X)}openNode(X){const oe={kind:X,children:[]};this.add(oe),this.stack.push(oe)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(X){return this.constructor._walk(X,this.rootNode)}static _walk(X,oe){return typeof oe=="string"?X.addText(oe):oe.children&&(X.openNode(oe),oe.children.forEach(Ee=>this._walk(X,Ee)),X.closeNode(oe)),X}static _collapse(X){typeof X!="string"&&(!X.children||(X.children.every(oe=>typeof oe=="string")?X.children=[X.children.join("")]:X.children.forEach(oe=>{_._collapse(oe)})))}}class h extends _{constructor(X){super(),this.options=X}addKeyword(X,oe){X!==""&&(this.openNode(oe),this.addText(X),this.closeNode())}addText(X){X!==""&&this.add(X)}addSublanguage(X,oe){const Ee=X.root;Ee.kind=oe,Ee.sublanguage=!0,this.add(Ee)}toHTML(){return new f(this,this.options).value()}finalize(){return!0}}function C(W){return new RegExp(W.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function b(W){return W?typeof W=="string"?W:W.source:null}function T(...W){return W.map(oe=>b(oe)).join("")}function R(...W){return"("+W.map(oe=>b(oe)).join("|")+")"}function O(W){return new RegExp(W.toString()+"|").exec("").length-1}function D(W,X){const oe=W&&W.exec(X);return oe&&oe.index===0}const M=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function I(W,X="|"){let oe=0;return W.map(Ee=>{oe+=1;const Be=oe;let ze=b(Ee),nt="";for(;ze.length>0;){const he=M.exec(ze);if(!he){nt+=ze;break}nt+=ze.substring(0,he.index),ze=ze.substring(he.index+he[0].length),he[0][0]==="\\"&&he[1]?nt+="\\"+String(Number(he[1])+Be):(nt+=he[0],he[0]==="("&&oe++)}return nt}).map(Ee=>`(${Ee})`).join(X)}const A=/\b\B/,x="[a-zA-Z]\\w*",L="[a-zA-Z_]\\w*",k="\\b\\d+(\\.\\d+)?",U="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Y="\\b(0b[01]+)",z="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",B=(W={})=>{const X=/^#![ ]*\//;return W.binary&&(W.begin=T(X,/.*\b/,W.binary,/\b.*/)),m({className:"meta",begin:X,end:/$/,relevance:0,"on:begin":(oe,Ee)=>{oe.index!==0&&Ee.ignoreMatch()}},W)},_e={begin:"\\\\[\\s\\S]",relevance:0},ee={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[_e]},Z={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[_e]},J={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},fe=function(W,X,oe={}){const Ee=m({className:"comment",begin:W,end:X,contains:[]},oe);return Ee.contains.push(J),Ee.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Ee},Re=fe("//","$"),De=fe("/\\*","\\*/"),Le=fe("#","$"),He={className:"number",begin:k,relevance:0},Te={className:"number",begin:U,relevance:0},et={className:"number",begin:Y,relevance:0},le={className:"number",begin:k+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},G={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[_e,{begin:/\[/,end:/\]/,relevance:0,contains:[_e]}]}]},we={className:"title",begin:x,relevance:0},tt={className:"title",begin:L,relevance:0},it={begin:"\\.\\s*"+L,relevance:0};var pt=Object.freeze({__proto__:null,MATCH_NOTHING_RE:A,IDENT_RE:x,UNDERSCORE_IDENT_RE:L,NUMBER_RE:k,C_NUMBER_RE:U,BINARY_NUMBER_RE:Y,RE_STARTERS_RE:z,SHEBANG:B,BACKSLASH_ESCAPE:_e,APOS_STRING_MODE:ee,QUOTE_STRING_MODE:Z,PHRASAL_WORDS_MODE:J,COMMENT:fe,C_LINE_COMMENT_MODE:Re,C_BLOCK_COMMENT_MODE:De,HASH_COMMENT_MODE:Le,NUMBER_MODE:He,C_NUMBER_MODE:Te,BINARY_NUMBER_MODE:et,CSS_NUMBER_MODE:le,REGEXP_MODE:G,TITLE_MODE:we,UNDERSCORE_TITLE_MODE:tt,METHOD_GUARD:it,END_SAME_AS_BEGIN:function(W){return Object.assign(W,{"on:begin":(X,oe)=>{oe.data._beginMatch=X[1]},"on:end":(X,oe)=>{oe.data._beginMatch!==X[1]&&oe.ignoreMatch()}})}});function Tt(W,X){W.input[W.index-1]==="."&&X.ignoreMatch()}function de(W,X){!X||!W.beginKeywords||(W.begin="\\b("+W.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",W.__beforeBegin=Tt,W.keywords=W.keywords||W.beginKeywords,delete W.beginKeywords,W.relevance===void 0&&(W.relevance=0))}function ve(W,X){!Array.isArray(W.illegal)||(W.illegal=R(...W.illegal))}function Ne(W,X){if(!!W.match){if(W.begin||W.end)throw new Error("begin & end are not supported with match");W.begin=W.match,delete W.match}}function Ae(W,X){W.relevance===void 0&&(W.relevance=1)}const St=["of","and","for","in","not","or","if","then","parent","list","value"],ae="keyword";function V(W,X,oe=ae){const Ee={};return typeof W=="string"?Be(oe,W.split(" ")):Array.isArray(W)?Be(oe,W):Object.keys(W).forEach(function(ze){Object.assign(Ee,V(W[ze],X,ze))}),Ee;function Be(ze,nt){X&&(nt=nt.map(he=>he.toLowerCase())),nt.forEach(function(he){const Oe=he.split("|");Ee[Oe[0]]=[ze,K(Oe[0],Oe[1])]})}}function K(W,X){return X?Number(X):Q(W)?0:1}function Q(W){return St.includes(W.toLowerCase())}function j(W,{plugins:X}){function oe(he,Oe){return new RegExp(b(he),"m"+(W.case_insensitive?"i":"")+(Oe?"g":""))}class Ee{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Oe,xe){xe.position=this.position++,this.matchIndexes[this.matchAt]=xe,this.regexes.push([xe,Oe]),this.matchAt+=O(Oe)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Oe=this.regexes.map(xe=>xe[1]);this.matcherRe=oe(I(Oe),!0),this.lastIndex=0}exec(Oe){this.matcherRe.lastIndex=this.lastIndex;const xe=this.matcherRe.exec(Oe);if(!xe)return null;const Ve=xe.findIndex((Ot,It)=>It>0&&Ot!==void 0),at=this.matchIndexes[Ve];return xe.splice(0,Ve),Object.assign(xe,at)}}class Be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Oe){if(this.multiRegexes[Oe])return this.multiRegexes[Oe];const xe=new Ee;return this.rules.slice(Oe).forEach(([Ve,at])=>xe.addRule(Ve,at)),xe.compile(),this.multiRegexes[Oe]=xe,xe}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Oe,xe){this.rules.push([Oe,xe]),xe.type==="begin"&&this.count++}exec(Oe){const xe=this.getMatcher(this.regexIndex);xe.lastIndex=this.lastIndex;let Ve=xe.exec(Oe);if(this.resumingScanAtSamePosition()&&!(Ve&&Ve.index===this.lastIndex)){const at=this.getMatcher(0);at.lastIndex=this.lastIndex+1,Ve=at.exec(Oe)}return Ve&&(this.regexIndex+=Ve.position+1,this.regexIndex===this.count&&this.considerAll()),Ve}}function ze(he){const Oe=new Be;return he.contains.forEach(xe=>Oe.addRule(xe.begin,{rule:xe,type:"begin"})),he.terminatorEnd&&Oe.addRule(he.terminatorEnd,{type:"end"}),he.illegal&&Oe.addRule(he.illegal,{type:"illegal"}),Oe}function nt(he,Oe){const xe=he;if(he.isCompiled)return xe;[Ne].forEach(at=>at(he,Oe)),W.compilerExtensions.forEach(at=>at(he,Oe)),he.__beforeBegin=null,[de,ve,Ae].forEach(at=>at(he,Oe)),he.isCompiled=!0;let Ve=null;if(typeof he.keywords=="object"&&(Ve=he.keywords.$pattern,delete he.keywords.$pattern),he.keywords&&(he.keywords=V(he.keywords,W.case_insensitive)),he.lexemes&&Ve)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ve=Ve||he.lexemes||/\w+/,xe.keywordPatternRe=oe(Ve,!0),Oe&&(he.begin||(he.begin=/\B|\b/),xe.beginRe=oe(he.begin),he.endSameAsBegin&&(he.end=he.begin),!he.end&&!he.endsWithParent&&(he.end=/\B|\b/),he.end&&(xe.endRe=oe(he.end)),xe.terminatorEnd=b(he.end)||"",he.endsWithParent&&Oe.terminatorEnd&&(xe.terminatorEnd+=(he.end?"|":"")+Oe.terminatorEnd)),he.illegal&&(xe.illegalRe=oe(he.illegal)),he.contains||(he.contains=[]),he.contains=[].concat(...he.contains.map(function(at){return pe(at==="self"?he:at)})),he.contains.forEach(function(at){nt(at,xe)}),he.starts&&nt(he.starts,Oe),xe.matcher=ze(xe),xe}if(W.compilerExtensions||(W.compilerExtensions=[]),W.contains&&W.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return W.classNameAliases=m(W.classNameAliases||{}),nt(W)}function se(W){return W?W.endsWithParent||se(W.starts):!1}function pe(W){return W.variants&&!W.cachedVariants&&(W.cachedVariants=W.variants.map(function(X){return m(W,{variants:null},X)})),W.cachedVariants?W.cachedVariants:se(W)?m(W,{starts:W.starts?m(W.starts):null}):Object.isFrozen(W)?m(W):W}var ge="10.7.3";function be(W){return Boolean(W||W==="")}function We(W){const X={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!W.getLanguage(this.language))return l.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,d(this.code);let Ee={};return this.autoDetect?(Ee=W.highlightAuto(this.code),this.detectedLanguage=Ee.language):(Ee=W.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Ee.value},autoDetect(){return!this.language||be(this.autodetect)},ignoreIllegals(){return!0}},render(Ee){return Ee("pre",{},[Ee("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:X,VuePlugin:{install(Ee){Ee.component("highlightjs",X)}}}}const ke={"after:highlightElement":({el:W,result:X,text:oe})=>{const Ee=Fe(W);if(!Ee.length)return;const Be=document.createElement("div");Be.innerHTML=X.value,X.value=ut(Ee,Fe(Be),oe)}};function Ze(W){return W.nodeName.toLowerCase()}function Fe(W){const X=[];return function oe(Ee,Be){for(let ze=Ee.firstChild;ze;ze=ze.nextSibling)ze.nodeType===3?Be+=ze.nodeValue.length:ze.nodeType===1&&(X.push({event:"start",offset:Be,node:ze}),Be=oe(ze,Be),Ze(ze).match(/br|hr|img|input/)||X.push({event:"stop",offset:Be,node:ze}));return Be}(W,0),X}function ut(W,X,oe){let Ee=0,Be="";const ze=[];function nt(){return!W.length||!X.length?W.length?W:X:W[0].offset!==X[0].offset?W[0].offset<X[0].offset?W:X:X[0].event==="start"?W:X}function he(Ve){function at(Ot){return" "+Ot.nodeName+'="'+d(Ot.value)+'"'}Be+="<"+Ze(Ve)+[].map.call(Ve.attributes,at).join("")+">"}function Oe(Ve){Be+="</"+Ze(Ve)+">"}function xe(Ve){(Ve.event==="start"?he:Oe)(Ve.node)}for(;W.length||X.length;){let Ve=nt();if(Be+=d(oe.substring(Ee,Ve[0].offset)),Ee=Ve[0].offset,Ve===W){ze.reverse().forEach(Oe);do xe(Ve.splice(0,1)[0]),Ve=nt();while(Ve===W&&Ve.length&&Ve[0].offset===Ee);ze.reverse().forEach(he)}else Ve[0].event==="start"?ze.push(Ve[0].node):ze.pop(),xe(Ve.splice(0,1)[0])}return Be+d(oe.substr(Ee))}const _t={},te=W=>{l.error(W)},Qe=(W,...X)=>{l.log(`WARN: ${W}`,...X)},ue=(W,X)=>{_t[`${W}/${X}`]||(l.log(`Deprecated as of ${W}. ${X}`),_t[`${W}/${X}`]=!0)},rt=d,je=m,Je=Symbol("nomatch");var Pe=function(W){const X=Object.create(null),oe=Object.create(null),Ee=[];let Be=!0;const ze=/(^(<[^>]+>|\t|)+|\n)/gm,nt="Could not find the language '{}', did you forget to load/include a language module?",he={disableAutodetect:!0,name:"Plain text",contains:[]};let Oe={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:h};function xe(re){return Oe.noHighlightRe.test(re)}function Ve(re){let Ye=re.className+" ";Ye+=re.parentNode?re.parentNode.className:"";const dt=Oe.languageDetectRe.exec(Ye);if(dt){const ft=Pt(dt[1]);return ft||(Qe(nt.replace("{}",dt[1])),Qe("Falling back to no-highlight mode for this block.",re)),ft?dt[1]:"no-highlight"}return Ye.split(/\s+/).find(ft=>xe(ft)||Pt(ft))}function at(re,Ye,dt,ft){let Ct="",Sn="";typeof Ye=="object"?(Ct=re,dt=Ye.ignoreIllegals,Sn=Ye.language,ft=void 0):(ue("10.7.0","highlight(lang, code, ...args) has been deprecated."),ue("10.7.0",`Please use highlight(code, options) instead.
24
+ outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var H;m&&(H=s.ownerDocument.defaultView.scrollY),r.input.focus(),m&&s.ownerDocument.defaultView.scrollTo(null,H),r.input.reset(),i.somethingSelected()||(s.value=t.prevInput=" "),t.contextMenuPending=q,r.selForContextMenu=i.doc.sel,clearTimeout(r.detectingSelectAll);function $(){if(s.selectionStart!=null){var ce=i.somethingSelected(),Se="\u200B"+(ce?s.value:"");s.value="\u21DA",s.value=Se,t.prevInput=ce?"":"\u200B",s.selectionStart=1,s.selectionEnd=Se.length,r.selForContextMenu=i.doc.sel}}function q(){if(t.contextMenuPending==q&&(t.contextMenuPending=!1,t.wrapper.style.cssText=P,s.style.cssText=w,o&&d<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=y),s.selectionStart!=null)){(!o||o&&d<9)&&$();var ce=0,Se=function(){r.selForContextMenu==i.doc.sel&&s.selectionStart==0&&s.selectionEnd>0&&t.prevInput=="\u200B"?Ft(i,Bo)(i):ce++<10?r.detectingSelectAll=setTimeout(Se,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(Se,200)}}if(o&&d>=9&&$(),L){ze(e);var ie=function(){je(window,"mouseup",ie),setTimeout(q,20)};ue(window,"mouseup",ie)}else setTimeout(q,50)},Dt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},Dt.prototype.setUneditable=function(){},Dt.prototype.needsContentAttribute=!1;function _c(e,t){if(t=t?et(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var i=J(e.ownerDocument);t.autofocus=i==e||e.getAttribute("autofocus")!=null&&i==document.body}function r(){e.value=N.getValue()}var s;if(e.form&&(ue(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var S=e.form;s=S.submit;try{var y=S.submit=function(){r(),S.submit=s,S.submit(),S.submit=y}}catch(w){}}t.finishInit=function(w){w.save=r,w.getTextArea=function(){return e},w.toTextArea=function(){w.toTextArea=isNaN,r(),e.parentNode.removeChild(w.getWrapperElement()),e.style.display="",e.form&&(je(e.form,"submit",r),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=s))}},e.style.display="none";var N=Rt(function(w){return e.parentNode.insertBefore(w,e.nextSibling)},t);return N}function pc(e){e.off=je,e.on=ue,e.wheelEventPixels=bl,e.Doc=nn,e.splitLines=It,e.countColumn=le,e.findColumn=de,e.isWordChar=j,e.Pass=it,e.signal=Je,e.Line=br,e.changeEnd=$n,e.scrollbarModel=fo,e.Pos=me,e.cmpPos=re,e.modes=sn,e.mimeModes=fn,e.resolveMode=gn,e.getMode=Nn,e.modeExtensions=Ht,e.extendMode=En,e.copyState=pn,e.startState=fr,e.innerMode=Mn,e.commands=ai,e.keyMap=Fn,e.keyName=ts,e.isModifierKey=Jo,e.lookupKey=Mr,e.normalizeKeyMap=Hl,e.StringStream=vt,e.SharedTextMarker=ni,e.TextMarker=Xn,e.LineWidget=ti,e.e_preventDefault=oe,e.e_stopPropagation=Ee,e.e_stop=ze,e.addClass=fe,e.contains=Z,e.rmClass=U,e.keyNames=Zn}ic(Rt),lc(Rt);var mc="iter insert remove copy getEditor constructor".split(" ");for(var Fi in nn.prototype)nn.prototype.hasOwnProperty(Fi)&&we(mc,Fi)<0&&(Rt.prototype[Fi]=function(e){return function(){return e.apply(this.doc,arguments)}}(nn.prototype[Fi]));return X(nn),Rt.inputStyles={textarea:Dt,contenteditable:ht},Rt.defineMode=function(e){!Rt.defaults.mode&&e!="null"&&(Rt.defaults.mode=e),Tn.apply(this,arguments)},Rt.defineMIME=Jn,Rt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Rt.defineMIME("text/plain","null"),Rt.defineExtension=function(e,t){Rt.prototype[e]=t},Rt.defineDocExtension=function(e,t){nn.prototype[e]=t},Rt.fromTextArea=_c,pc(Rt),Rt.version="5.65.11",Rt})},78857:v=>{"use strict";var g=function(O){return n(O)&&!l(O)};function n(R){return!!R&&typeof R=="object"}function l(R){var O=Object.prototype.toString.call(R);return O==="[object RegExp]"||O==="[object Date]"||c(R)}var u=typeof Symbol=="function"&&Symbol.for,a=u?Symbol.for("react.element"):60103;function c(R){return R.$$typeof===a}function o(R){return Array.isArray(R)?[]:{}}function d(R,O){return O.clone!==!1&&O.isMergeableObject(R)?b(o(R),R,O):R}function m(R,O,D){return R.concat(O).map(function(M){return d(M,D)})}function E(R,O){if(!O.customMerge)return b;var D=O.customMerge(R);return typeof D=="function"?D:b}function p(R){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(R).filter(function(O){return R.propertyIsEnumerable(O)}):[]}function f(R){return Object.keys(R).concat(p(R))}function _(R,O){try{return O in R}catch(D){return!1}}function h(R,O){return _(R,O)&&!(Object.hasOwnProperty.call(R,O)&&Object.propertyIsEnumerable.call(R,O))}function C(R,O,D){var M={};return D.isMergeableObject(R)&&f(R).forEach(function(I){M[I]=d(R[I],D)}),f(O).forEach(function(I){h(R,I)||(_(R,I)&&D.isMergeableObject(O[I])?M[I]=E(I,D)(R[I],O[I],D):M[I]=d(O[I],D))}),M}function b(R,O,D){D=D||{},D.arrayMerge=D.arrayMerge||m,D.isMergeableObject=D.isMergeableObject||g,D.cloneUnlessOtherwiseSpecified=d;var M=Array.isArray(O),I=Array.isArray(R),A=M===I;return A?M?D.arrayMerge(R,O,D):C(R,O,D):d(O,D)}b.all=function(O,D){if(!Array.isArray(O))throw new Error("first argument should be an array");return O.reduce(function(M,I){return b(M,I,D)},{})};var T=b;v.exports=T},25937:(v,g)=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.Doctype=g.CDATA=g.Tag=g.Style=g.Script=g.Comment=g.Directive=g.Text=g.Root=g.isTag=g.ElementType=void 0;var n;(function(u){u.Root="root",u.Text="text",u.Directive="directive",u.Comment="comment",u.Script="script",u.Style="style",u.Tag="tag",u.CDATA="cdata",u.Doctype="doctype"})(n=g.ElementType||(g.ElementType={}));function l(u){return u.type===n.Tag||u.type===n.Script||u.type===n.Style}g.isTag=l,g.Root=n.Root,g.Text=n.Text,g.Directive=n.Directive,g.Comment=n.Comment,g.Script=n.Script,g.Style=n.Style,g.Tag=n.Tag,g.CDATA=n.CDATA,g.Doctype=n.Doctype},85383:function(v,g,n){"use strict";var l=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(g,"__esModule",{value:!0}),g.decodeHTML=g.decodeHTMLStrict=g.decodeXML=void 0;var u=l(n(10777)),a=l(n(66407)),c=l(n(99523)),o=l(n(11224)),d=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;g.decodeXML=m(c.default),g.decodeHTMLStrict=m(u.default);function m(f){var _=p(f);return function(h){return String(h).replace(d,_)}}var E=function(f,_){return f<_?1:-1};g.decodeHTML=function(){for(var f=Object.keys(a.default).sort(E),_=Object.keys(u.default).sort(E),h=0,C=0;h<_.length;h++)f[C]===_[h]?(_[h]+=";?",C++):_[h]+=";";var b=new RegExp("&(?:"+_.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),T=p(u.default);function R(O){return O.substr(-1)!==";"&&(O+=";"),T(O)}return function(O){return String(O).replace(b,R)}}();function p(f){return function(h){if(h.charAt(1)==="#"){var C=h.charAt(2);return C==="X"||C==="x"?o.default(parseInt(h.substr(3),16)):o.default(parseInt(h.substr(2),10))}return f[h.slice(1,-1)]||h}}},11224:function(v,g,n){"use strict";var l=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(g,"__esModule",{value:!0});var u=l(n(51619)),a=String.fromCodePoint||function(o){var d="";return o>65535&&(o-=65536,d+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),d+=String.fromCharCode(o),d};function c(o){return o>=55296&&o<=57343||o>1114111?"\uFFFD":(o in u.default&&(o=u.default[o]),a(o))}g.default=c},32146:function(v,g,n){"use strict";var l=this&&this.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(g,"__esModule",{value:!0}),g.escapeUTF8=g.escape=g.encodeNonAsciiHTML=g.encodeHTML=g.encodeXML=void 0;var u=l(n(99523)),a=E(u.default),c=p(a);g.encodeXML=O(a);var o=l(n(10777)),d=E(o.default),m=p(d);g.encodeHTML=C(d,m),g.encodeNonAsciiHTML=O(d);function E(D){return Object.keys(D).sort().reduce(function(M,I){return M[D[I]]="&"+I+";",M},{})}function p(D){for(var M=[],I=[],A=0,x=Object.keys(D);A<x.length;A++){var L=x[A];L.length===1?M.push("\\"+L):I.push(L)}M.sort();for(var k=0;k<M.length-1;k++){for(var U=k;U<M.length-1&&M[U].charCodeAt(1)+1===M[U+1].charCodeAt(1);)U+=1;var Y=1+U-k;Y<3||M.splice(k,Y,M[k]+"-"+M[U])}return I.unshift("["+M.join("")+"]"),new RegExp(I.join("|"),"g")}var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,_=String.prototype.codePointAt!=null?function(D){return D.codePointAt(0)}:function(D){return(D.charCodeAt(0)-55296)*1024+D.charCodeAt(1)-56320+65536};function h(D){return"&#x"+(D.length>1?_(D):D.charCodeAt(0)).toString(16).toUpperCase()+";"}function C(D,M){return function(I){return I.replace(M,function(A){return D[A]}).replace(f,h)}}var b=new RegExp(c.source+"|"+f.source,"g");function T(D){return D.replace(b,h)}g.escape=T;function R(D){return D.replace(c,h)}g.escapeUTF8=R;function O(D){return function(M){return M.replace(b,function(I){return D[I]||h(I)})}}},84553:(v,g,n)=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.decodeXMLStrict=g.decodeHTML5Strict=g.decodeHTML4Strict=g.decodeHTML5=g.decodeHTML4=g.decodeHTMLStrict=g.decodeHTML=g.decodeXML=g.encodeHTML5=g.encodeHTML4=g.escapeUTF8=g.escape=g.encodeNonAsciiHTML=g.encodeHTML=g.encodeXML=g.encode=g.decodeStrict=g.decode=void 0;var l=n(85383),u=n(32146);function a(E,p){return(!p||p<=0?l.decodeXML:l.decodeHTML)(E)}g.decode=a;function c(E,p){return(!p||p<=0?l.decodeXML:l.decodeHTMLStrict)(E)}g.decodeStrict=c;function o(E,p){return(!p||p<=0?u.encodeXML:u.encodeHTML)(E)}g.encode=o;var d=n(32146);Object.defineProperty(g,"encodeXML",{enumerable:!0,get:function(){return d.encodeXML}}),Object.defineProperty(g,"encodeHTML",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(g,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return d.encodeNonAsciiHTML}}),Object.defineProperty(g,"escape",{enumerable:!0,get:function(){return d.escape}}),Object.defineProperty(g,"escapeUTF8",{enumerable:!0,get:function(){return d.escapeUTF8}}),Object.defineProperty(g,"encodeHTML4",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(g,"encodeHTML5",{enumerable:!0,get:function(){return d.encodeHTML}});var m=n(85383);Object.defineProperty(g,"decodeXML",{enumerable:!0,get:function(){return m.decodeXML}}),Object.defineProperty(g,"decodeHTML",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(g,"decodeHTMLStrict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(g,"decodeHTML4",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(g,"decodeHTML5",{enumerable:!0,get:function(){return m.decodeHTML}}),Object.defineProperty(g,"decodeHTML4Strict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(g,"decodeHTML5Strict",{enumerable:!0,get:function(){return m.decodeHTMLStrict}}),Object.defineProperty(g,"decodeXMLStrict",{enumerable:!0,get:function(){return m.decodeXML}})},25345:(v,g,n)=>{var l=n(98399);function u(W){return W instanceof Map?W.clear=W.delete=W.set=function(){throw new Error("map is read-only")}:W instanceof Set&&(W.add=W.clear=W.delete=function(){throw new Error("set is read-only")}),Object.freeze(W),Object.getOwnPropertyNames(W).forEach(function(X){var oe=W[X];typeof oe=="object"&&!Object.isFrozen(oe)&&u(oe)}),W}var a=u,c=u;a.default=c;class o{constructor(X){X.data===void 0&&(X.data={}),this.data=X.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function d(W){return W.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function m(W,...X){const oe=Object.create(null);for(const Ee in W)oe[Ee]=W[Ee];return X.forEach(function(Ee){for(const Be in Ee)oe[Be]=Ee[Be]}),oe}const E="</span>",p=W=>!!W.kind;class f{constructor(X,oe){this.buffer="",this.classPrefix=oe.classPrefix,X.walk(this)}addText(X){this.buffer+=d(X)}openNode(X){if(!p(X))return;let oe=X.kind;X.sublanguage||(oe=`${this.classPrefix}${oe}`),this.span(oe)}closeNode(X){!p(X)||(this.buffer+=E)}value(){return this.buffer}span(X){this.buffer+=`<span class="${X}">`}}class _{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(X){this.top.children.push(X)}openNode(X){const oe={kind:X,children:[]};this.add(oe),this.stack.push(oe)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(X){return this.constructor._walk(X,this.rootNode)}static _walk(X,oe){return typeof oe=="string"?X.addText(oe):oe.children&&(X.openNode(oe),oe.children.forEach(Ee=>this._walk(X,Ee)),X.closeNode(oe)),X}static _collapse(X){typeof X!="string"&&(!X.children||(X.children.every(oe=>typeof oe=="string")?X.children=[X.children.join("")]:X.children.forEach(oe=>{_._collapse(oe)})))}}class h extends _{constructor(X){super(),this.options=X}addKeyword(X,oe){X!==""&&(this.openNode(oe),this.addText(X),this.closeNode())}addText(X){X!==""&&this.add(X)}addSublanguage(X,oe){const Ee=X.root;Ee.kind=oe,Ee.sublanguage=!0,this.add(Ee)}toHTML(){return new f(this,this.options).value()}finalize(){return!0}}function C(W){return new RegExp(W.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function b(W){return W?typeof W=="string"?W:W.source:null}function T(...W){return W.map(oe=>b(oe)).join("")}function R(...W){return"("+W.map(oe=>b(oe)).join("|")+")"}function O(W){return new RegExp(W.toString()+"|").exec("").length-1}function D(W,X){const oe=W&&W.exec(X);return oe&&oe.index===0}const M=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function I(W,X="|"){let oe=0;return W.map(Ee=>{oe+=1;const Be=oe;let ze=b(Ee),nt="";for(;ze.length>0;){const he=M.exec(ze);if(!he){nt+=ze;break}nt+=ze.substring(0,he.index),ze=ze.substring(he.index+he[0].length),he[0][0]==="\\"&&he[1]?nt+="\\"+String(Number(he[1])+Be):(nt+=he[0],he[0]==="("&&oe++)}return nt}).map(Ee=>`(${Ee})`).join(X)}const A=/\b\B/,x="[a-zA-Z]\\w*",L="[a-zA-Z_]\\w*",k="\\b\\d+(\\.\\d+)?",U="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Y="\\b(0b[01]+)",z="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",B=(W={})=>{const X=/^#![ ]*\//;return W.binary&&(W.begin=T(X,/.*\b/,W.binary,/\b.*/)),m({className:"meta",begin:X,end:/$/,relevance:0,"on:begin":(oe,Ee)=>{oe.index!==0&&Ee.ignoreMatch()}},W)},_e={begin:"\\\\[\\s\\S]",relevance:0},ee={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[_e]},Z={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[_e]},J={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},fe=function(W,X,oe={}){const Ee=m({className:"comment",begin:W,end:X,contains:[]},oe);return Ee.contains.push(J),Ee.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Ee},Re=fe("//","$"),De=fe("/\\*","\\*/"),Le=fe("#","$"),He={className:"number",begin:k,relevance:0},Te={className:"number",begin:U,relevance:0},et={className:"number",begin:Y,relevance:0},le={className:"number",begin:k+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},G={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[_e,{begin:/\[/,end:/\]/,relevance:0,contains:[_e]}]}]},we={className:"title",begin:x,relevance:0},tt={className:"title",begin:L,relevance:0},it={begin:"\\.\\s*"+L,relevance:0};var pt=Object.freeze({__proto__:null,MATCH_NOTHING_RE:A,IDENT_RE:x,UNDERSCORE_IDENT_RE:L,NUMBER_RE:k,C_NUMBER_RE:U,BINARY_NUMBER_RE:Y,RE_STARTERS_RE:z,SHEBANG:B,BACKSLASH_ESCAPE:_e,APOS_STRING_MODE:ee,QUOTE_STRING_MODE:Z,PHRASAL_WORDS_MODE:J,COMMENT:fe,C_LINE_COMMENT_MODE:Re,C_BLOCK_COMMENT_MODE:De,HASH_COMMENT_MODE:Le,NUMBER_MODE:He,C_NUMBER_MODE:Te,BINARY_NUMBER_MODE:et,CSS_NUMBER_MODE:le,REGEXP_MODE:G,TITLE_MODE:we,UNDERSCORE_TITLE_MODE:tt,METHOD_GUARD:it,END_SAME_AS_BEGIN:function(W){return Object.assign(W,{"on:begin":(X,oe)=>{oe.data._beginMatch=X[1]},"on:end":(X,oe)=>{oe.data._beginMatch!==X[1]&&oe.ignoreMatch()}})}});function Tt(W,X){W.input[W.index-1]==="."&&X.ignoreMatch()}function de(W,X){!X||!W.beginKeywords||(W.begin="\\b("+W.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",W.__beforeBegin=Tt,W.keywords=W.keywords||W.beginKeywords,delete W.beginKeywords,W.relevance===void 0&&(W.relevance=0))}function ve(W,X){!Array.isArray(W.illegal)||(W.illegal=R(...W.illegal))}function Ne(W,X){if(!!W.match){if(W.begin||W.end)throw new Error("begin & end are not supported with match");W.begin=W.match,delete W.match}}function Ae(W,X){W.relevance===void 0&&(W.relevance=1)}const St=["of","and","for","in","not","or","if","then","parent","list","value"],ae="keyword";function V(W,X,oe=ae){const Ee={};return typeof W=="string"?Be(oe,W.split(" ")):Array.isArray(W)?Be(oe,W):Object.keys(W).forEach(function(ze){Object.assign(Ee,V(W[ze],X,ze))}),Ee;function Be(ze,nt){X&&(nt=nt.map(he=>he.toLowerCase())),nt.forEach(function(he){const Oe=he.split("|");Ee[Oe[0]]=[ze,K(Oe[0],Oe[1])]})}}function K(W,X){return X?Number(X):Q(W)?0:1}function Q(W){return St.includes(W.toLowerCase())}function j(W,{plugins:X}){function oe(he,Oe){return new RegExp(b(he),"m"+(W.case_insensitive?"i":"")+(Oe?"g":""))}class Ee{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Oe,xe){xe.position=this.position++,this.matchIndexes[this.matchAt]=xe,this.regexes.push([xe,Oe]),this.matchAt+=O(Oe)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Oe=this.regexes.map(xe=>xe[1]);this.matcherRe=oe(I(Oe),!0),this.lastIndex=0}exec(Oe){this.matcherRe.lastIndex=this.lastIndex;const xe=this.matcherRe.exec(Oe);if(!xe)return null;const Ve=xe.findIndex((Ot,It)=>It>0&&Ot!==void 0),at=this.matchIndexes[Ve];return xe.splice(0,Ve),Object.assign(xe,at)}}class Be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Oe){if(this.multiRegexes[Oe])return this.multiRegexes[Oe];const xe=new Ee;return this.rules.slice(Oe).forEach(([Ve,at])=>xe.addRule(Ve,at)),xe.compile(),this.multiRegexes[Oe]=xe,xe}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Oe,xe){this.rules.push([Oe,xe]),xe.type==="begin"&&this.count++}exec(Oe){const xe=this.getMatcher(this.regexIndex);xe.lastIndex=this.lastIndex;let Ve=xe.exec(Oe);if(this.resumingScanAtSamePosition()&&!(Ve&&Ve.index===this.lastIndex)){const at=this.getMatcher(0);at.lastIndex=this.lastIndex+1,Ve=at.exec(Oe)}return Ve&&(this.regexIndex+=Ve.position+1,this.regexIndex===this.count&&this.considerAll()),Ve}}function ze(he){const Oe=new Be;return he.contains.forEach(xe=>Oe.addRule(xe.begin,{rule:xe,type:"begin"})),he.terminatorEnd&&Oe.addRule(he.terminatorEnd,{type:"end"}),he.illegal&&Oe.addRule(he.illegal,{type:"illegal"}),Oe}function nt(he,Oe){const xe=he;if(he.isCompiled)return xe;[Ne].forEach(at=>at(he,Oe)),W.compilerExtensions.forEach(at=>at(he,Oe)),he.__beforeBegin=null,[de,ve,Ae].forEach(at=>at(he,Oe)),he.isCompiled=!0;let Ve=null;if(typeof he.keywords=="object"&&(Ve=he.keywords.$pattern,delete he.keywords.$pattern),he.keywords&&(he.keywords=V(he.keywords,W.case_insensitive)),he.lexemes&&Ve)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ve=Ve||he.lexemes||/\w+/,xe.keywordPatternRe=oe(Ve,!0),Oe&&(he.begin||(he.begin=/\B|\b/),xe.beginRe=oe(he.begin),he.endSameAsBegin&&(he.end=he.begin),!he.end&&!he.endsWithParent&&(he.end=/\B|\b/),he.end&&(xe.endRe=oe(he.end)),xe.terminatorEnd=b(he.end)||"",he.endsWithParent&&Oe.terminatorEnd&&(xe.terminatorEnd+=(he.end?"|":"")+Oe.terminatorEnd)),he.illegal&&(xe.illegalRe=oe(he.illegal)),he.contains||(he.contains=[]),he.contains=[].concat(...he.contains.map(function(at){return pe(at==="self"?he:at)})),he.contains.forEach(function(at){nt(at,xe)}),he.starts&&nt(he.starts,Oe),xe.matcher=ze(xe),xe}if(W.compilerExtensions||(W.compilerExtensions=[]),W.contains&&W.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return W.classNameAliases=m(W.classNameAliases||{}),nt(W)}function se(W){return W?W.endsWithParent||se(W.starts):!1}function pe(W){return W.variants&&!W.cachedVariants&&(W.cachedVariants=W.variants.map(function(X){return m(W,{variants:null},X)})),W.cachedVariants?W.cachedVariants:se(W)?m(W,{starts:W.starts?m(W.starts):null}):Object.isFrozen(W)?m(W):W}var ge="10.7.3";function be(W){return Boolean(W||W==="")}function We(W){const X={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!W.getLanguage(this.language))return l.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,d(this.code);let Ee={};return this.autoDetect?(Ee=W.highlightAuto(this.code),this.detectedLanguage=Ee.language):(Ee=W.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Ee.value},autoDetect(){return!this.language||be(this.autodetect)},ignoreIllegals(){return!0}},render(Ee){return Ee("pre",{},[Ee("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:X,VuePlugin:{install(Ee){Ee.component("highlightjs",X)}}}}const ke={"after:highlightElement":({el:W,result:X,text:oe})=>{const Ee=Fe(W);if(!Ee.length)return;const Be=document.createElement("div");Be.innerHTML=X.value,X.value=ut(Ee,Fe(Be),oe)}};function Ze(W){return W.nodeName.toLowerCase()}function Fe(W){const X=[];return function oe(Ee,Be){for(let ze=Ee.firstChild;ze;ze=ze.nextSibling)ze.nodeType===3?Be+=ze.nodeValue.length:ze.nodeType===1&&(X.push({event:"start",offset:Be,node:ze}),Be=oe(ze,Be),Ze(ze).match(/br|hr|img|input/)||X.push({event:"stop",offset:Be,node:ze}));return Be}(W,0),X}function ut(W,X,oe){let Ee=0,Be="";const ze=[];function nt(){return!W.length||!X.length?W.length?W:X:W[0].offset!==X[0].offset?W[0].offset<X[0].offset?W:X:X[0].event==="start"?W:X}function he(Ve){function at(Ot){return" "+Ot.nodeName+'="'+d(Ot.value)+'"'}Be+="<"+Ze(Ve)+[].map.call(Ve.attributes,at).join("")+">"}function Oe(Ve){Be+="</"+Ze(Ve)+">"}function xe(Ve){(Ve.event==="start"?he:Oe)(Ve.node)}for(;W.length||X.length;){let Ve=nt();if(Be+=d(oe.substring(Ee,Ve[0].offset)),Ee=Ve[0].offset,Ve===W){ze.reverse().forEach(Oe);do xe(Ve.splice(0,1)[0]),Ve=nt();while(Ve===W&&Ve.length&&Ve[0].offset===Ee);ze.reverse().forEach(he)}else Ve[0].event==="start"?ze.push(Ve[0].node):ze.pop(),xe(Ve.splice(0,1)[0])}return Be+d(oe.substr(Ee))}const _t={},te=W=>{l.error(W)},Qe=(W,...X)=>{l.log(`WARN: ${W}`,...X)},ue=(W,X)=>{_t[`${W}/${X}`]||(l.log(`Deprecated as of ${W}. ${X}`),_t[`${W}/${X}`]=!0)},rt=d,je=m,Je=Symbol("nomatch");var Pe=function(W){const X=Object.create(null),oe=Object.create(null),Ee=[];let Be=!0;const ze=/(^(<[^>]+>|\t|)+|\n)/gm,nt="Could not find the language '{}', did you forget to load/include a language module?",he={disableAutodetect:!0,name:"Plain text",contains:[]};let Oe={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:h};function xe(re){return Oe.noHighlightRe.test(re)}function Ve(re){let Ye=re.className+" ";Ye+=re.parentNode?re.parentNode.className:"";const dt=Oe.languageDetectRe.exec(Ye);if(dt){const ft=Pt(dt[1]);return ft||(Qe(nt.replace("{}",dt[1])),Qe("Falling back to no-highlight mode for this block.",re)),ft?dt[1]:"no-highlight"}return Ye.split(/\s+/).find(ft=>xe(ft)||Pt(ft))}function at(re,Ye,dt,ft){let Ct="",Sn="";typeof Ye=="object"?(Ct=re,dt=Ye.ignoreIllegals,Sn=Ye.language,ft=void 0):(ue("10.7.0","highlight(lang, code, ...args) has been deprecated."),ue("10.7.0",`Please use highlight(code, options) instead.
25
25
  https://github.com/highlightjs/highlight.js/issues/2277`),Sn=re,Ct=Ye);const qe={code:Ct,language:Sn};hn("before:highlight",qe);const ln=qe.result?qe.result:Ot(qe.language,qe.code,dt,ft);return ln.code=qe.code,hn("after:highlight",ln),ln}function Ot(re,Ye,dt,ft){function Ct(Ue,Ke){const st=bn.case_insensitive?Ke[0].toLowerCase():Ke[0];return Object.prototype.hasOwnProperty.call(Ue.keywords,st)&&Ue.keywords[st]}function Sn(){if(!ot.keywords){Mt.addText(yt);return}let Ue=0;ot.keywordPatternRe.lastIndex=0;let Ke=ot.keywordPatternRe.exec(yt),st="";for(;Ke;){st+=yt.substring(Ue,Ke.index);const gt=Ct(ot,Ke);if(gt){const[kt,ir]=gt;if(Mt.addText(st),st="",In+=ir,kt.startsWith("_"))st+=Ke[0];else{const Sr=bn.classNameAliases[kt]||kt;Mt.addKeyword(Ke[0],Sr)}}else st+=Ke[0];Ue=ot.keywordPatternRe.lastIndex,Ke=ot.keywordPatternRe.exec(yt)}st+=yt.substr(Ue),Mt.addText(st)}function qe(){if(yt==="")return;let Ue=null;if(typeof ot.subLanguage=="string"){if(!X[ot.subLanguage]){Mt.addText(yt);return}Ue=Ot(ot.subLanguage,yt,!0,nr[ot.subLanguage]),nr[ot.subLanguage]=Ue.top}else Ue=Xt(yt,ot.subLanguage.length?ot.subLanguage:null);ot.relevance>0&&(In+=Ue.relevance),Mt.addSublanguage(Ue.emitter,Ue.language)}function ln(){ot.subLanguage!=null?qe():Sn(),yt=""}function Jt(Ue){return Ue.className&&Mt.openNode(bn.classNameAliases[Ue.className]||Ue.className),ot=Object.create(Ue,{parent:{value:ot}}),ot}function en(Ue,Ke,st){let gt=D(Ue.endRe,st);if(gt){if(Ue["on:end"]){const kt=new o(Ue);Ue["on:end"](Ke,kt),kt.isMatchIgnored&&(gt=!1)}if(gt){for(;Ue.endsParent&&Ue.parent;)Ue=Ue.parent;return Ue}}if(Ue.endsWithParent)return en(Ue.parent,Ke,st)}function cn(Ue){return ot.matcher.regexIndex===0?(yt+=Ue[0],1):(zn=!0,0)}function gr(Ue){const Ke=Ue[0],st=Ue.rule,gt=new o(st),kt=[st.__beforeBegin,st["on:begin"]];for(const ir of kt)if(!!ir&&(ir(Ue,gt),gt.isMatchIgnored))return cn(Ke);return st&&st.endSameAsBegin&&(st.endRe=C(Ke)),st.skip?yt+=Ke:(st.excludeBegin&&(yt+=Ke),ln(),!st.returnBegin&&!st.excludeBegin&&(yt=Ke)),Jt(st),st.returnBegin?0:Ke.length}function Er(Ue){const Ke=Ue[0],st=Ye.substr(Ue.index),gt=en(ot,Ue,st);if(!gt)return Je;const kt=ot;kt.skip?yt+=Ke:(kt.returnEnd||kt.excludeEnd||(yt+=Ke),ln(),kt.excludeEnd&&(yt=Ke));do ot.className&&Mt.closeNode(),!ot.skip&&!ot.subLanguage&&(In+=ot.relevance),ot=ot.parent;while(ot!==gt.parent);return gt.starts&&(gt.endSameAsBegin&&(gt.starts.endRe=gt.endRe),Jt(gt.starts)),kt.returnEnd?0:Ke.length}function Ln(){const Ue=[];for(let Ke=ot;Ke!==bn;Ke=Ke.parent)Ke.className&&Ue.unshift(Ke.className);Ue.forEach(Ke=>Mt.openNode(Ke))}let An={};function tr(Ue,Ke){const st=Ke&&Ke[0];if(yt+=Ue,st==null)return ln(),0;if(An.type==="begin"&&Ke.type==="end"&&An.index===Ke.index&&st===""){if(yt+=Ye.slice(Ke.index,Ke.index+1),!Be){const gt=new Error("0 width match regex");throw gt.languageName=re,gt.badRule=An.rule,gt}return 1}if(An=Ke,Ke.type==="begin")return gr(Ke);if(Ke.type==="illegal"&&!dt){const gt=new Error('Illegal lexeme "'+st+'" for mode "'+(ot.className||"<unnamed>")+'"');throw gt.mode=ot,gt}else if(Ke.type==="end"){const gt=Er(Ke);if(gt!==Je)return gt}if(Ke.type==="illegal"&&st==="")return 1;if(rr>1e5&&rr>Ke.index*3)throw new Error("potential infinite loop, way more iterations than matches");return yt+=st,st.length}const bn=Pt(re);if(!bn)throw te(nt.replace("{}",re)),new Error('Unknown language: "'+re+'"');const hr=j(bn,{plugins:Ee});let Hn="",ot=ft||hr;const nr={},Mt=new Oe.__emitter(Oe);Ln();let yt="",In=0,zt=0,rr=0,zn=!1;try{for(ot.matcher.considerAll();;){rr++,zn?zn=!1:ot.matcher.considerAll(),ot.matcher.lastIndex=zt;const Ue=ot.matcher.exec(Ye);if(!Ue)break;const Ke=Ye.substring(zt,Ue.index),st=tr(Ke,Ue);zt=Ue.index+st}return tr(Ye.substr(zt)),Mt.closeAllNodes(),Mt.finalize(),Hn=Mt.toHTML(),{relevance:Math.floor(In),value:Hn,language:re,illegal:!1,emitter:Mt,top:ot}}catch(Ue){if(Ue.message&&Ue.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Ue.message,context:Ye.slice(zt-100,zt+100),mode:Ue.mode},sofar:Hn,relevance:0,value:rt(Ye),emitter:Mt};if(Be)return{illegal:!1,relevance:0,value:rt(Ye),emitter:Mt,language:re,top:ot,errorRaised:Ue};throw Ue}}function It(re){const Ye={relevance:0,emitter:new Oe.__emitter(Oe),value:rt(re),illegal:!1,top:he};return Ye.emitter.addText(re),Ye}function Xt(re,Ye){Ye=Ye||Oe.languages||Object.keys(X);const dt=It(re),ft=Ye.filter(Pt).filter(jt).map(Jt=>Ot(Jt,re,!1));ft.unshift(dt);const Ct=ft.sort((Jt,en)=>{if(Jt.relevance!==en.relevance)return en.relevance-Jt.relevance;if(Jt.language&&en.language){if(Pt(Jt.language).supersetOf===en.language)return 1;if(Pt(en.language).supersetOf===Jt.language)return-1}return 0}),[Sn,qe]=Ct,ln=Sn;return ln.second_best=qe,ln}function _n(re){return Oe.tabReplace||Oe.useBR?re.replace(ze,Ye=>Ye===`
26
26
  `?Oe.useBR?"<br>":Ye:Oe.tabReplace?Ye.replace(/\t/g,Oe.tabReplace):Ye):re}function Zt(re,Ye,dt){const ft=Ye?oe[Ye]:dt;re.classList.add("hljs"),ft&&re.classList.add(ft)}const Kt={"before:highlightElement":({el:re})=>{Oe.useBR&&(re.innerHTML=re.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
27
27
  `))},"after:highlightElement":({result:re})=>{Oe.useBR&&(re.value=re.value.replace(/\n/g,"<br>"))}},sn=/^(<[^>]+>|\t)+/gm,fn={"after:highlightElement":({result:re})=>{Oe.tabReplace&&(re.value=re.value.replace(sn,Ye=>Ye.replace(/\t/g,Oe.tabReplace)))}};function Tn(re){let Ye=null;const dt=Ve(re);if(xe(dt))return;hn("before:highlightElement",{el:re,language:dt}),Ye=re;const ft=Ye.textContent,Ct=dt?at(ft,{language:dt,ignoreIllegals:!0}):Xt(ft);hn("after:highlightElement",{el:re,result:Ct,text:ft}),re.innerHTML=Ct.value,Zt(re,dt,Ct.language),re.result={language:Ct.language,re:Ct.relevance,relavance:Ct.relevance},Ct.second_best&&(re.second_best={language:Ct.second_best.language,re:Ct.second_best.relevance,relavance:Ct.second_best.relevance})}function Jn(re){re.useBR&&(ue("10.3.0","'useBR' will be removed entirely in v11.0"),ue("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Oe=je(Oe,re)}const gn=()=>{if(gn.called)return;gn.called=!0,ue("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Tn)};function Nn(){ue("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Ht=!0}let Ht=!1;function En(){if(document.readyState==="loading"){Ht=!0;return}document.querySelectorAll("pre code").forEach(Tn)}function pn(){Ht&&En()}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",pn,!1);function Mn(re,Ye){let dt=null;try{dt=Ye(W)}catch(ft){if(te("Language definition for '{}' could not be registered.".replace("{}",re)),Be)te(ft);else throw ft;dt=he}dt.name||(dt.name=re),X[re]=dt,dt.rawDefinition=Ye.bind(null,W),dt.aliases&&Yn(dt.aliases,{languageName:re})}function fr(re){delete X[re];for(const Ye of Object.keys(oe))oe[Ye]===re&&delete oe[Ye]}function vt(){return Object.keys(X)}function Ge(re){ue("10.4.0","requireLanguage will be removed entirely in v11."),ue("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Ye=Pt(re);if(Ye)return Ye;throw new Error("The '{}' language is required, but not loaded.".replace("{}",re))}function Pt(re){return re=(re||"").toLowerCase(),X[re]||X[oe[re]]}function Yn(re,{languageName:Ye}){typeof re=="string"&&(re=[re]),re.forEach(dt=>{oe[dt.toLowerCase()]=Ye})}function jt(re){const Ye=Pt(re);return Ye&&!Ye.disableAutodetect}function mt(re){re["before:highlightBlock"]&&!re["before:highlightElement"]&&(re["before:highlightElement"]=Ye=>{re["before:highlightBlock"](Object.assign({block:Ye.el},Ye))}),re["after:highlightBlock"]&&!re["after:highlightElement"]&&(re["after:highlightElement"]=Ye=>{re["after:highlightBlock"](Object.assign({block:Ye.el},Ye))})}function vn(re){mt(re),Ee.push(re)}function hn(re,Ye){const dt=re;Ee.forEach(function(ft){ft[dt]&&ft[dt](Ye)})}function er(re){return ue("10.2.0","fixMarkup will be removed entirely in v11.0"),ue("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),_n(re)}function me(re){return ue("10.7.0","highlightBlock will be removed entirely in v12.0"),ue("10.7.0","Please use highlightElement now."),Tn(re)}Object.assign(W,{highlight:at,highlightAuto:Xt,highlightAll:En,fixMarkup:er,highlightElement:Tn,highlightBlock:me,configure:Jn,initHighlighting:gn,initHighlightingOnLoad:Nn,registerLanguage:Mn,unregisterLanguage:fr,listLanguages:vt,getLanguage:Pt,registerAliases:Yn,requireLanguage:Ge,autoDetection:jt,inherit:je,addPlugin:vn,vuePlugin:We(W).VuePlugin}),W.debugMode=function(){Be=!1},W.safeMode=function(){Be=!0},W.versionString=ge;for(const re in pt)typeof pt[re]=="object"&&a(pt[re]);return Object.assign(W,pt),W.addPlugin(Kt),W.addPlugin(ke),W.addPlugin(fn),W}({});v.exports=Pe},59845:(v,g,n)=>{var l=n(25345);l.registerLanguage("1c",n(79017)),l.registerLanguage("abnf",n(4469)),l.registerLanguage("accesslog",n(84640)),l.registerLanguage("actionscript",n(16585)),l.registerLanguage("ada",n(91694)),l.registerLanguage("angelscript",n(42911)),l.registerLanguage("apache",n(78075)),l.registerLanguage("applescript",n(28724)),l.registerLanguage("arcade",n(45234)),l.registerLanguage("arduino",n(81376)),l.registerLanguage("armasm",n(15051)),l.registerLanguage("xml",n(38071)),l.registerLanguage("asciidoc",n(54925)),l.registerLanguage("aspectj",n(64739)),l.registerLanguage("autohotkey",n(81576)),l.registerLanguage("autoit",n(17709)),l.registerLanguage("avrasm",n(51750)),l.registerLanguage("awk",n(10669)),l.registerLanguage("axapta",n(95069)),l.registerLanguage("bash",n(10693)),l.registerLanguage("basic",n(46519)),l.registerLanguage("bnf",n(16948)),l.registerLanguage("brainfuck",n(56855)),l.registerLanguage("c-like",n(55685)),l.registerLanguage("c",n(46822)),l.registerLanguage("cal",n(81482)),l.registerLanguage("capnproto",n(62508)),l.registerLanguage("ceylon",n(80792)),l.registerLanguage("clean",n(9904)),l.registerLanguage("clojure",n(67607)),l.registerLanguage("clojure-repl",n(10863)),l.registerLanguage("cmake",n(64471)),l.registerLanguage("coffeescript",n(90032)),l.registerLanguage("coq",n(51538)),l.registerLanguage("cos",n(50759)),l.registerLanguage("cpp",n(6461)),l.registerLanguage("crmsh",n(77901)),l.registerLanguage("crystal",n(15741)),l.registerLanguage("csharp",n(14567)),l.registerLanguage("csp",n(71486)),l.registerLanguage("css",n(7618)),l.registerLanguage("d",n(63896)),l.registerLanguage("markdown",n(10744)),l.registerLanguage("dart",n(2259)),l.registerLanguage("delphi",n(3994)),l.registerLanguage("diff",n(15104)),l.registerLanguage("django",n(42924)),l.registerLanguage("dns",n(45617)),l.registerLanguage("dockerfile",n(32303)),l.registerLanguage("dos",n(11775)),l.registerLanguage("dsconfig",n(53050)),l.registerLanguage("dts",n(2481)),l.registerLanguage("dust",n(59962)),l.registerLanguage("ebnf",n(11509)),l.registerLanguage("elixir",n(45202)),l.registerLanguage("elm",n(56195)),l.registerLanguage("ruby",n(82128)),l.registerLanguage("erb",n(66908)),l.registerLanguage("erlang-repl",n(97339)),l.registerLanguage("erlang",n(89955)),l.registerLanguage("excel",n(93508)),l.registerLanguage("fix",n(12694)),l.registerLanguage("flix",n(18814)),l.registerLanguage("fortran",n(9220)),l.registerLanguage("fsharp",n(25764)),l.registerLanguage("gams",n(37391)),l.registerLanguage("gauss",n(62051)),l.registerLanguage("gcode",n(80562)),l.registerLanguage("gherkin",n(26099)),l.registerLanguage("glsl",n(10429)),l.registerLanguage("gml",n(40986)),l.registerLanguage("go",n(28789)),l.registerLanguage("golo",n(60410)),l.registerLanguage("gradle",n(89128)),l.registerLanguage("groovy",n(2009)),l.registerLanguage("haml",n(54702)),l.registerLanguage("handlebars",n(68629)),l.registerLanguage("haskell",n(88652)),l.registerLanguage("haxe",n(95334)),l.registerLanguage("hsp",n(97959)),l.registerLanguage("htmlbars",n(10785)),l.registerLanguage("http",n(83917)),l.registerLanguage("hy",n(1646)),l.registerLanguage("inform7",n(58637)),l.registerLanguage("ini",n(94595)),l.registerLanguage("irpf90",n(26440)),l.registerLanguage("isbl",n(66482)),l.registerLanguage("java",n(17371)),l.registerLanguage("javascript",n(49055)),l.registerLanguage("jboss-cli",n(50927)),l.registerLanguage("json",n(20946)),l.registerLanguage("julia",n(62756)),l.registerLanguage("julia-repl",n(23092)),l.registerLanguage("kotlin",n(32820)),l.registerLanguage("lasso",n(98857)),l.registerLanguage("latex",n(34382)),l.registerLanguage("ldif",n(47136)),l.registerLanguage("leaf",n(45531)),l.registerLanguage("less",n(83361)),l.registerLanguage("lisp",n(53229)),l.registerLanguage("livecodeserver",n(54307)),l.registerLanguage("livescript",n(91464)),l.registerLanguage("llvm",n(60706)),l.registerLanguage("lsl",n(90765)),l.registerLanguage("lua",n(11)),l.registerLanguage("makefile",n(22510)),l.registerLanguage("mathematica",n(38553)),l.registerLanguage("matlab",n(96725)),l.registerLanguage("maxima",n(65746)),l.registerLanguage("mel",n(85444)),l.registerLanguage("mercury",n(2511)),l.registerLanguage("mipsasm",n(1768)),l.registerLanguage("mizar",n(47775)),l.registerLanguage("perl",n(79112)),l.registerLanguage("mojolicious",n(7524)),l.registerLanguage("monkey",n(38427)),l.registerLanguage("moonscript",n(78114)),l.registerLanguage("n1ql",n(97639)),l.registerLanguage("nginx",n(50559)),l.registerLanguage("nim",n(97860)),l.registerLanguage("nix",n(91953)),l.registerLanguage("node-repl",n(27992)),l.registerLanguage("nsis",n(24674)),l.registerLanguage("objectivec",n(3460)),l.registerLanguage("ocaml",n(14137)),l.registerLanguage("openscad",n(51897)),l.registerLanguage("oxygene",n(68495)),l.registerLanguage("parser3",n(46143)),l.registerLanguage("pf",n(94367)),l.registerLanguage("pgsql",n(92320)),l.registerLanguage("php",n(73808)),l.registerLanguage("php-template",n(16529)),l.registerLanguage("plaintext",n(15622)),l.registerLanguage("pony",n(37064)),l.registerLanguage("powershell",n(32673)),l.registerLanguage("processing",n(85669)),l.registerLanguage("profile",n(16165)),l.registerLanguage("prolog",n(70169)),l.registerLanguage("properties",n(5652)),l.registerLanguage("protobuf",n(92736)),l.registerLanguage("puppet",n(64930)),l.registerLanguage("purebasic",n(12550)),l.registerLanguage("python",n(41697)),l.registerLanguage("python-repl",n(51818)),l.registerLanguage("q",n(80990)),l.registerLanguage("qml",n(39860)),l.registerLanguage("r",n(76939)),l.registerLanguage("reasonml",n(98133)),l.registerLanguage("rib",n(21999)),l.registerLanguage("roboconf",n(1090)),l.registerLanguage("routeros",n(427)),l.registerLanguage("rsl",n(79305)),l.registerLanguage("ruleslanguage",n(60969)),l.registerLanguage("rust",n(46643)),l.registerLanguage("sas",n(74592)),l.registerLanguage("scala",n(46317)),l.registerLanguage("scheme",n(37869)),l.registerLanguage("scilab",n(94821)),l.registerLanguage("scss",n(1228)),l.registerLanguage("shell",n(22788)),l.registerLanguage("smali",n(43856)),l.registerLanguage("smalltalk",n(44243)),l.registerLanguage("sml",n(21857)),l.registerLanguage("sqf",n(23234)),l.registerLanguage("sql_more",n(59787)),l.registerLanguage("sql",n(73010)),l.registerLanguage("stan",n(95831)),l.registerLanguage("stata",n(64824)),l.registerLanguage("step21",n(34630)),l.registerLanguage("stylus",n(58679)),l.registerLanguage("subunit",n(63999)),l.registerLanguage("swift",n(15961)),l.registerLanguage("taggerscript",n(97441)),l.registerLanguage("yaml",n(12896)),l.registerLanguage("tap",n(44601)),l.registerLanguage("tcl",n(17076)),l.registerLanguage("thrift",n(61720)),l.registerLanguage("tp",n(77165)),l.registerLanguage("twig",n(7527)),l.registerLanguage("typescript",n(88216)),l.registerLanguage("vala",n(37555)),l.registerLanguage("vbnet",n(34665)),l.registerLanguage("vbscript",n(90943)),l.registerLanguage("vbscript-html",n(19263)),l.registerLanguage("verilog",n(20576)),l.registerLanguage("vhdl",n(4197)),l.registerLanguage("vim",n(2899)),l.registerLanguage("x86asm",n(65626)),l.registerLanguage("xl",n(36364)),l.registerLanguage("xquery",n(42418)),l.registerLanguage("zephir",n(31230)),v.exports=l},79017:v=>{function g(n){var l="[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]+",u="\u0434\u0430\u043B\u0435\u0435 ",a="\u0432\u043E\u0437\u0432\u0440\u0430\u0442 \u0432\u044B\u0437\u0432\u0430\u0442\u044C\u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0434\u043B\u044F \u0435\u0441\u043B\u0438 \u0438 \u0438\u0437 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u0438\u043D\u0430\u0447\u0435\u0435\u0441\u043B\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043A\u043E\u043D\u0435\u0446\u0435\u0441\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u043F\u043E\u043F\u044B\u0442\u043A\u0438 \u043A\u043E\u043D\u0435\u0446\u0446\u0438\u043A\u043B\u0430 \u043D\u0435 \u043D\u043E\u0432\u044B\u0439 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043F\u0435\u0440\u0435\u043C \u043F\u043E \u043F\u043E\u043A\u0430 \u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u043F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0442\u043E\u0433\u0434\u0430 \u0446\u0438\u043A\u043B \u044D\u043A\u0441\u043F\u043E\u0440\u0442 ",c=u+a,o="\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0438\u0437\u0444\u0430\u0439\u043B\u0430 ",d="\u0432\u0435\u0431\u043A\u043B\u0438\u0435\u043D\u0442 \u0432\u043C\u0435\u0441\u0442\u043E \u0432\u043D\u0435\u0448\u043D\u0435\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043A\u043B\u0438\u0435\u043D\u0442 \u043A\u043E\u043D\u0435\u0446\u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043B\u0438\u0435\u043D\u0442 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u0441\u043B\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0431\u044B\u0447\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043D\u043A\u0438\u0439\u043A\u043B\u0438\u0435\u043D\u0442 ",m=o+d,E="\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u0430\u043D\u0438\u0446 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u043E\u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 ",p="ansitooem oemtoansi \u0432\u0432\u0435\u0441\u0442\u0438\u0432\u0438\u0434\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0438\u043E\u0434 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0434\u0430\u0442\u0430\u0433\u043E\u0434 \u0434\u0430\u0442\u0430\u043C\u0435\u0441\u044F\u0446 \u0434\u0430\u0442\u0430\u0447\u0438\u0441\u043B\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0438\u0431 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u0434\u0441\u0438\u043C\u0432 \u043A\u043E\u043D\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043D\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043A\u043E\u043D\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u043D\u0435\u0434\u0435\u043B\u0438 \u043B\u043E\u0433 \u043B\u043E\u043310 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u043D\u0430\u0431\u043E\u0440\u0430\u043F\u0440\u0430\u0432 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0432\u0438\u0434 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0441\u0447\u0435\u0442 \u043D\u0430\u0439\u0442\u0438\u0441\u0441\u044B\u043B\u043A\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043D\u0430\u0447\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u0433\u043E\u0434\u0430 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u043D\u0435\u0434\u0435\u043B\u0438\u0433\u043E\u0434\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u044F\u0437\u044B\u043A \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043E\u043A\u043D\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u043F\u0435\u0440\u0438\u043E\u0434\u0441\u0442\u0440 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u0442\u0443\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0430 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u043F\u0438\u0441\u044C \u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043C \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043F\u043E \u0441\u0438\u043C\u0432 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430 \u0441\u0442\u0440\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0447\u0435\u0442\u043F\u043E\u043A\u043E\u0434\u0443 \u0442\u0435\u043A\u0443\u0449\u0435\u0435\u0432\u0440\u0435\u043C\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0442\u0440 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043D\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043F\u043E \u0444\u0438\u043A\u0441\u0448\u0430\u0431\u043B\u043E\u043D \u0448\u0430\u0431\u043B\u043E\u043D ",f="acos asin atan base64\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 base64\u0441\u0442\u0440\u043E\u043A\u0430 cos exp log log10 pow sin sqrt tan xml\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 xml\u0441\u0442\u0440\u043E\u043A\u0430 xml\u0442\u0438\u043F xml\u0442\u0438\u043F\u0437\u043D\u0447 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0435\u043E\u043A\u043D\u043E \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u043B\u0435\u0432\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u0434\u0430\u0442\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0447\u0438\u0441\u043B\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C\u0447\u0442\u0435\u043D\u0438\u044Fxml \u0432\u043E\u043F\u0440\u043E\u0441 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0440\u0435\u0433 \u0432\u044B\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0443\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u043F\u0440\u0430\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0432\u044B\u0447\u0438\u0441\u043B\u0438\u0442\u044C \u0433\u043E\u0434 \u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B\u0432\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u0430\u0442\u0430 \u0434\u0435\u043D\u044C \u0434\u0435\u043D\u044C\u0433\u043E\u0434\u0430 \u0434\u0435\u043D\u044C\u043D\u0435\u0434\u0435\u043B\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C\u043C\u0435\u0441\u044F\u0446 \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0437\u0430\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cjson \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cxml \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u0437\u0430\u043F\u0438\u0441\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0432\u043E\u0439\u0441\u0442\u0432 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u0441\u0438\u0441\u0442\u0435\u043C\u0443 \u0437\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0444\u0430\u0439\u043B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u0438\u0437xml\u0442\u0438\u043F\u0430 \u0438\u043C\u043F\u043E\u0440\u0442\u043C\u043E\u0434\u0435\u043B\u0438xdto \u0438\u043C\u044F\u043A\u043E\u043C\u043F\u044C\u044E\u0442\u0435\u0440\u0430 \u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438\u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0433\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043A\u043E\u0434\u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u043A\u043E\u043C\u0430\u043D\u0434\u0430\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043A\u043E\u043D\u0435\u0446\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u0434\u043D\u044F \u043A\u043E\u043D\u0435\u0446\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0438\u043D\u0443\u0442\u044B \u043A\u043E\u043D\u0435\u0446\u043D\u0435\u0434\u0435\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u0447\u0430\u0441\u0430 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0444\u0430\u0439\u043B \u043A\u0440\u0430\u0442\u043A\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043B\u0435\u0432 \u043C\u0430\u043A\u0441 \u043C\u0435\u0441\u0442\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u043C\u0435\u0441\u044F\u0446 \u043C\u0438\u043D \u043C\u0438\u043D\u0443\u0442\u0430 \u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043D\u0430\u0439\u0442\u0438 \u043D\u0430\u0439\u0442\u0438\u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u043D\u0430\u0439\u0442\u0438\u043E\u043A\u043D\u043E\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435\u043D\u0430\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u0441\u0441\u044B\u043B\u043A\u0430\u043C \u043D\u0430\u0439\u0442\u0438\u0444\u0430\u0439\u043B\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u0434\u043D\u044F \u043D\u0430\u0447\u0430\u043B\u043E\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0447\u0430\u0441\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0443\u0441\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0438\u0441\u043A\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0433\u043E\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0435\u0434\u0435\u043B\u044F\u0433\u043E\u0434\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u044C\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043D\u043E\u043C\u0435\u0440\u0441\u0435\u0430\u043D\u0441\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u043E\u043C\u0435\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u0440\u0435\u0433 \u043D\u0441\u0442\u0440 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044E\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u0435\u0440\u044B\u0432\u0430\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043E\u043A\u0440 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C\u043E\u0431\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0438\u043D\u0434\u0435\u043A\u0441\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0435\u0440\u0435\u0439\u0442\u0438\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0434\u0430\u0442\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0441\u0442\u0440\u043E\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0447\u0438\u0441\u043B\u0430 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u043E\u043F\u0440\u043E\u0441 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043D\u0430\u043A\u0430\u0440\u0442\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Ccom\u043E\u0431\u044A\u0435\u043A\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Cxml\u0442\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0430\u0434\u0440\u0435\u0441\u043F\u043E\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043A\u043E\u0434\u044B\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0447\u0430\u0441\u043E\u0432\u044B\u0435\u043F\u043E\u044F\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u044D\u043A\u0440\u0430\u043D\u043E\u0432\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0430\u0434\u0440\u0435\u0441\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0438\u0439\u043C\u0430\u043A\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0443\u044E\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043A\u043D\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u0443\u044E\u043E\u0442\u043C\u0435\u0442\u043A\u0443\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445\u0441\u0441\u044B\u043B\u043E\u043A \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0435\u0430\u043D\u0441\u044B\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0443\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0441\u0435\u0430\u043D\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u043E\u0441 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0432\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u0440\u0430\u0432 \u043F\u0440\u0430\u0432\u043E\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u0434\u0430\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0430\u0432\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u044F\u0441\u0430 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043A\u0440\u0430\u0442\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C\u0432\u044B\u0437\u043E\u0432 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cjson \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cxml \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u043F\u0443\u0441\u0442\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0440\u0430\u0431\u043E\u0447\u0438\u0439\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u0440\u0430\u0437\u043E\u0440\u0432\u0430\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0440\u043E\u043B\u044C\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0430 \u0441\u0438\u0433\u043D\u0430\u043B \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u043B\u0435\u0442\u043D\u0435\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0431\u0443\u0444\u0435\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043A\u0430\u0442\u0430\u043B\u043E\u0433 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u0444\u0430\u0431\u0440\u0438\u043A\u0443xdto \u0441\u043E\u043A\u0440\u043B \u0441\u043E\u043A\u0440\u043B\u043F \u0441\u043E\u043A\u0440\u043F \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0440\u0435\u0434 \u0441\u0442\u0440\u0434\u043B\u0438\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u043D\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F\u0441 \u0441\u0442\u0440\u043E\u043A\u0430 \u0441\u0442\u0440\u043E\u043A\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0441\u0442\u0440\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u0442\u0440\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u0440\u0430\u0432\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0442\u0440\u0448\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430\u0441\u0435\u0430\u043D\u0441\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u0432\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0442\u0438\u043F \u0442\u0438\u043F\u0437\u043D\u0447 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044F\u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0442\u0440\u0435\u0433 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0444\u043E\u0440\u043C\u0430\u0442 \u0446\u0435\u043B \u0447\u0430\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0447\u0438\u0441\u043B\u043E \u0447\u0438\u0441\u043B\u043E\u043F\u0440\u043E\u043F\u0438\u0441\u044C\u044E \u044D\u0442\u043E\u0430\u0434\u0440\u0435\u0441\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 ",_="ws\u0441\u0441\u044B\u043B\u043A\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043C\u0430\u043A\u0435\u0442\u043E\u0432\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u0441\u0442\u0438\u043B\u0435\u0439 \u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u044B \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0442\u0447\u0435\u0442\u044B \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0441\u0442\u0438\u043B\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0436\u0443\u0440\u043D\u0430\u043B\u044B\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0439\u0434\u0430\u0442\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u044B \u043A\u0440\u0438\u0442\u0435\u0440\u0438\u0438\u043E\u0442\u0431\u043E\u0440\u0430 \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0435 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u043E\u0442\u0447\u0435\u0442\u044B \u043F\u0430\u043D\u0435\u043B\u044C\u0437\u0430\u0434\u0430\u0447\u043E\u0441 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u043F\u043B\u0430\u043D\u044B\u043E\u0431\u043C\u0435\u043D\u0430 \u043F\u043B\u0430\u043D\u044B\u0441\u0447\u0435\u0442\u043E\u0432 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0440\u0430\u0431\u043E\u0447\u0430\u044F\u0434\u0430\u0442\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0433\u0435\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043F\u043E\u0447\u0442\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0438\u0438 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0435\u043F\u043E\u0442\u043E\u043A\u0438 \u0444\u043E\u043D\u043E\u0432\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043E\u0431\u0449\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0445\u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A ",h=E+p+f+_,C="web\u0446\u0432\u0435\u0442\u0430 windows\u0446\u0432\u0435\u0442\u0430 windows\u0448\u0440\u0438\u0444\u0442\u044B \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0440\u0430\u043C\u043A\u0438\u0441\u0442\u0438\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0446\u0432\u0435\u0442\u0430\u0441\u0442\u0438\u043B\u044F \u0448\u0440\u0438\u0444\u0442\u044B\u0441\u0442\u0438\u043B\u044F ",b="\u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044F\u0432\u0444\u043E\u0440\u043C\u0435 \u0430\u0432\u0442\u043E\u0440\u0430\u0437\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0438\u0439 \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0438\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0432\u044B\u0441\u043E\u0442\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u0435\u043A\u043E\u0440\u0430\u0446\u0438\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0438\u0434\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044F \u0432\u0438\u0434\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u0432\u0438\u0434\u043F\u043E\u043B\u044F\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0444\u043B\u0430\u0436\u043A\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043D\u0430\u043F\u0443\u0437\u044B\u0440\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043A\u043E\u043B\u043E\u043D\u043E\u043A \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B \u0433\u0440\u0443\u043F\u043F\u044B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043C\u0435\u0436\u0434\u0443\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438\u0444\u043E\u0440\u043C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u044B\u0432\u043E\u0434\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043E\u0441\u044B\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u043E\u0447\u043A\u0438\u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043E\u0441\u0438\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043E\u043C\u0430\u043D\u0434 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u0441\u0435\u0440\u0438\u0439 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0434\u0435\u0440\u0435\u0432\u0430 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u043F\u0438\u0441\u043A\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043D\u043E\u043F\u043E\u043A \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438\u0432\u044B\u0431\u043E\u0440\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u0439\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u043E\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F\u043F\u0440\u0438\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0438\u043F\u043E\u043B\u043E\u0441\u044B\u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0444\u0438\u0433\u0443\u0440\u044B\u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0430\u043B\u0438\u0442\u0440\u0430\u0446\u0432\u0435\u0442\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0438\u0441\u043A\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043E\u043F\u043E\u0440\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u0448\u043A\u0430\u043B\u044B\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u043E\u0438\u0441\u043A\u043E\u043C \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439\u0433\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0441\u0435\u0440\u0438\u0439\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0437\u043C\u0435\u0440\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0441\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0432\u0432\u043E\u0434\u0430\u0441\u0442\u0440\u043E\u043A\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0431\u043E\u0440\u0430\u043D\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u0442\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u043F\u0435\u0447\u0430\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0440\u0435\u0436\u0438\u043C\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u043A\u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u043E\u043A\u043D\u0430\u0444\u043E\u0440\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0435\u0440\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438\u0441\u0435\u0442\u043A\u0438\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 \u0440\u0435\u0436\u0438\u043C\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043A\u043E\u043B\u043E\u043D\u043A\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0441\u043F\u0438\u0441\u043A\u0430\u0437\u0430\u0434\u0430\u0447 \u0441\u043A\u0432\u043E\u0437\u043D\u043E\u0435\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0433\u0440\u0443\u043F\u043F\u0430\u043A\u043E\u043C\u0430\u043D\u0434 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0435\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0442\u0438\u043B\u044C\u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u0442\u0438\u043F\u0430\u043F\u043F\u0440\u043E\u043A\u0441\u0438\u043C\u0430\u0446\u0438\u0438\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0442\u0438\u043F\u0438\u043C\u043F\u043E\u0440\u0442\u0430\u0441\u0435\u0440\u0438\u0439\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0438\u0438\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u0447\u043D\u043E\u0433\u043E\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0448\u043A\u0430\u043B\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0438\u0441\u043A\u0430\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u0440\u043E\u0435\u043A\u0446\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u043C\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u043E\u0441\u0435\u0440\u0438\u044F\u043C\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u0442\u0438\u043F\u0441\u0442\u043E\u0440\u043E\u043D\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0448\u043A\u0430\u043B\u044B\u0440\u0430\u0434\u0430\u0440\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0430\u043A\u0442\u043E\u0440\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0438\u0433\u0443\u0440\u0430\u043A\u043D\u043E\u043F\u043A\u0438 \u0444\u0438\u0433\u0443\u0440\u044B\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435 \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u043D\u044F\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0448\u0438\u0440\u0438\u043D\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B ",T="\u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0442\u043E\u0447\u043A\u0438\u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u0436\u0438\u043C\u0430\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0440\u0435\u0437\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u0432\u0440\u0435\u043C\u044F \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ",R="\u0430\u0432\u0442\u043E\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u043D\u043E\u043C\u0435\u0440\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 ",O="\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043B\u043E\u043D\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u0441\u0442\u0440\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u0447\u0442\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0434\u0432\u0443\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0435\u0439\u043F\u0435\u0447\u0430\u0442\u0438 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u044F\u0447\u0435\u0439\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043B\u0438\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0443\u0437\u043E\u0440\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u043E\u0447\u043D\u043E\u0441\u0442\u044C\u043F\u0435\u0447\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446 ",D="\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430 ",M="\u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ",I="\u043E\u0431\u0445\u043E\u0434\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0437\u0430\u043F\u0438\u0441\u0438\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",A="\u0432\u0438\u0434\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0442\u043E\u0433\u043E\u0432 ",x="\u0434\u043E\u0441\u0442\u0443\u043F\u043A\u0444\u0430\u0439\u043B\u0443 \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u0430\u0439\u043B\u0430 ",L="\u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",k="\u0432\u0438\u0434\u0434\u0430\u043D\u043D\u044B\u0445\u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043C\u0435\u0442\u043E\u0434\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0447\u0438\u0441\u043B\u043E\u0432\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0434\u0435\u0440\u0435\u0432\u043E\u0440\u0435\u0448\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044F \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0430\u044F\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u043C\u043E\u0434\u0435\u043B\u0438\u043F\u0440\u043E\u0433\u043D\u043E\u0437\u0430 \u0442\u0438\u043F\u043C\u0435\u0440\u044B\u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0442\u0441\u0435\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u043F\u043E\u043B\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u0440\u043E\u0449\u0435\u043D\u0438\u044F\u0434\u0435\u0440\u0435\u0432\u0430\u0440\u0435\u0448\u0435\u043D\u0438\u0439 ",U="ws\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442xpathxs \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u0430\u0442\u044Bjson \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u0432\u0438\u0434\u0444\u0430\u0441\u0435\u0442\u0430xdto \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Fdom \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u0445\u0435\u043C\u044Bxs \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Dxs \u043C\u0435\u0442\u043E\u0434\u043D\u0430\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044Fxs \u043C\u043E\u0434\u0435\u043B\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430xml \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u043E\u0442\u0431\u043E\u0440\u0430\u0443\u0437\u043B\u043E\u0432dom \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0441\u0442\u0440\u043E\u043Ajson \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435dom \u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u0442\u0438\u043F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xml \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fjson \u0442\u0438\u043F\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043Exml \u0442\u0438\u043F\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044Bxs \u0442\u0438\u043F\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438xml \u0442\u0438\u043F\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430domxpath \u0442\u0438\u043F\u0443\u0437\u043B\u0430dom \u0442\u0438\u043F\u0443\u0437\u043B\u0430xml \u0444\u043E\u0440\u043C\u0430xml \u0444\u043E\u0440\u043C\u0430\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044Fxs \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u0430\u0442\u044Bjson \u044D\u043A\u0440\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432json ",Y="\u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u0435\u0439\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0441\u043A\u043E\u0433\u043E\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0432\u044B\u0432\u043E\u0434\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u043F\u043E\u043B\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u043D\u0430\u0431\u043E\u0440\u043E\u0432\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u0432\u0442\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0443\u0441\u043B\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 ",z="\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0432\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043D\u0435ascii\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0442\u0435\u043A\u0441\u0442\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0440\u0430\u0437\u0431\u043E\u0440\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F ",B="\u0440\u0435\u0436\u0438\u043C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 ",_e="\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0442\u0438\u043F\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 ",ee="\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0438\u043C\u0435\u043D\u0444\u0430\u0439\u043B\u043E\u0432\u0432zip\u0444\u0430\u0439\u043B\u0435 \u043C\u0435\u0442\u043E\u0434\u0441\u0436\u0430\u0442\u0438\u044Fzip \u043C\u0435\u0442\u043E\u0434\u0448\u0438\u0444\u0440\u043E\u0432\u0430\u043D\u0438\u044Fzip \u0440\u0435\u0436\u0438\u043C\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439\u0444\u0430\u0439\u043B\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u043F\u043E\u0434\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439zip \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0441\u0436\u0430\u0442\u0438\u044Fzip ",Z="\u0437\u0432\u0443\u043A\u043E\u0432\u043E\u0435\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u043A\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u043F\u043E\u0442\u043E\u043A\u0435 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0431\u0430\u0439\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0444\u043E\u043D\u043E\u0432\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u043F\u043E\u0434\u043F\u0438\u0441\u0447\u0438\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044Fftp ",J="\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0440\u044F\u0434\u043A\u0430\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043C\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",fe="http\u043C\u0435\u0442\u043E\u0434 \u0430\u0432\u0442\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0430\u0432\u0442\u043E\u043F\u0440\u0435\u0444\u0438\u043A\u0441\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E\u044F\u0437\u044B\u043A\u0430 \u0432\u0438\u0434\u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0432\u0438\u0434\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0434\u0435\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u0430\u0437\u044B\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E\u0432\u044B\u0431\u043E\u0440\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0437\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u0435\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0437\u0430\u0434\u0430\u0447\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043B\u0430\u043D\u0430\u043E\u0431\u043C\u0435\u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0433\u0440\u0430\u043D\u0438\u0446\u044B\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u043D\u043E\u0441\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u0430 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0445\u0432\u044B\u0437\u043E\u0432\u043E\u0432\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B\u0438\u0432\u043D\u0435\u0448\u043D\u0438\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439 ",Re="\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0444\u043E\u0440\u043C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0439\u0434\u0430\u0442\u044B\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u0438\u0434\u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u0438\u0434\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0432\u0438\u0434\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0432\u0438\u0434\u0440\u0430\u043C\u043A\u0438 \u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0446\u0432\u0435\u0442\u0430 \u0432\u0438\u0434\u0447\u0438\u0441\u043B\u043E\u0432\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0430\u044F\u0434\u043B\u0438\u043D\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u0437\u043D\u0430\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435byteordermark \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u043A\u043E\u0434\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\u0434\u0438\u0430\u043B\u043E\u0433\u0430 \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430xbase \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0438\u0441\u043A\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u0440\u0430\u0437\u0434\u0435\u043B\u043E\u0432 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u043E\u043F\u0440\u043E\u0441 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u043E\u0440\u043C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430windows \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0442\u0438\u043F\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u043A\u043B\u0430\u0432\u0438\u0448\u0438enter \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438\u043E\u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0438\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0437\u043E\u043B\u044F\u0446\u0438\u0438\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0439 \u0445\u0435\u0448\u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0447\u0430\u0441\u0442\u0438\u0434\u0430\u0442\u044B",De=C+b+T+R+O+D+M+I+A+x+L+k+U+Y+z+B+_e+ee+Z+J+fe+Re,Le="com\u043E\u0431\u044A\u0435\u043A\u0442 ftp\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 http\u0437\u0430\u043F\u0440\u043E\u0441 http\u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0442\u0432\u0435\u0442 http\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 ws\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F ws\u043F\u0440\u043E\u043A\u0441\u0438 xbase \u0430\u043D\u0430\u043B\u0438\u0437\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u043D\u043D\u043E\u0442\u0430\u0446\u0438\u044Fxs \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u0444\u0435\u0440\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435xs \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0445\u0447\u0438\u0441\u0435\u043B \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0435\u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0440\u0443\u043F\u043F\u0430\u043C\u043E\u0434\u0435\u043B\u0438xs \u0434\u0430\u043D\u043D\u044B\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430\u0433\u0430\u043D\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0446\u0432\u0435\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u044F\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442dom \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442html \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044Fxs \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0438\u0441\u044Cdom \u0437\u0430\u043F\u0438\u0441\u044Cfastinfoset \u0437\u0430\u043F\u0438\u0441\u044Chtml \u0437\u0430\u043F\u0438\u0441\u044Cjson \u0437\u0430\u043F\u0438\u0441\u044Cxml \u0437\u0430\u043F\u0438\u0441\u044Czip\u0444\u0430\u0439\u043B\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0442\u0435\u043A\u0441\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0443\u0437\u043B\u043E\u0432dom \u0437\u0430\u043F\u0440\u043E\u0441 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435openssl \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u0435\u0439\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043C\u043F\u043E\u0440\u0442xs \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u0430 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u044B\u0439\u043F\u0440\u043E\u0444\u0438\u043B\u044C \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u0440\u043E\u043A\u0441\u0438 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u0434\u043B\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044Fxs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0442\u0435\u0440\u0430\u0442\u043E\u0440\u0443\u0437\u043B\u043E\u0432dom \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0430\u0442\u044B \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0447\u0438\u0441\u043B\u0430 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043C\u0430\u043A\u0435\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0444\u043E\u0440\u043C\u0430\u0442\u043D\u043E\u0439\u0441\u0442\u0440\u043E\u043A\u0438 \u043B\u0438\u043D\u0438\u044F \u043C\u0430\u043A\u0435\u0442\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u0441\u043A\u0430xs \u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u043D\u0430\u0431\u043E\u0440\u0441\u0445\u0435\u043Cxml \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438json \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u0445\u043E\u0434\u0434\u0435\u0440\u0435\u0432\u0430dom \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u043D\u043E\u0442\u0430\u0446\u0438\u0438xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430xs \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0434\u043E\u0441\u0442\u0443\u043F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u043E\u0442\u043A\u0430\u0437\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043C\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0442\u0438\u043F\u043E\u0432 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043E\u0432xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430dom \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044Fxpathxs \u043E\u0442\u0431\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u043A\u0435\u0442\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438json \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438xml \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0447\u0442\u0435\u043D\u0438\u044Fxml \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435xs \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A \u043F\u043E\u043B\u0435\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Cdom \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0441\u0445\u0435\u043Cxml \u043F\u043E\u0442\u043E\u043A \u043F\u043E\u0442\u043E\u043A\u0432\u043F\u0430\u043C\u044F\u0442\u0438 \u043F\u043E\u0447\u0442\u0430 \u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435xsl \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043A\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u043C\u0443xml \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u044E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0437\u044B\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Ddom \u0440\u0430\u043C\u043A\u0430 \u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u043E\u0435\u0438\u043C\u044Fxml \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0447\u0442\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0432\u043E\u0434\u043D\u0430\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u0444\u0430\u0439\u043B \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432\u0444\u0430\u0439\u043B \u0441\u0436\u0430\u0442\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0430\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435\u043A\u043B\u0430\u0432\u0438\u0448 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0439\u043F\u0435\u0440\u0438\u043E\u0434 \u0441\u0445\u0435\u043C\u0430xml \u0441\u0445\u0435\u043C\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445xml \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0439\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0439\u043F\u043E\u0442\u043E\u043A \u0444\u0430\u0441\u0435\u0442\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432\u0434\u0440\u043E\u0431\u043D\u043E\u0439\u0447\u0430\u0441\u0442\u0438xs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0440\u0430\u0437\u0446\u0430xs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0449\u0435\u0433\u043E\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432xs \u0444\u0430\u0441\u0435\u0442\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u0444\u0438\u043B\u044C\u0442\u0440\u0443\u0437\u043B\u043E\u0432dom \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442xs \u0445\u0435\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0446\u0432\u0435\u0442 \u0447\u0442\u0435\u043D\u0438\u0435fastinfoset \u0447\u0442\u0435\u043D\u0438\u0435html \u0447\u0442\u0435\u043D\u0438\u0435json \u0447\u0442\u0435\u043D\u0438\u0435xml \u0447\u0442\u0435\u043D\u0438\u0435zip\u0444\u0430\u0439\u043B\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0447\u0442\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0443\u0437\u043B\u043E\u0432dom \u0448\u0440\u0438\u0444\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 ",He="comsafearray \u0434\u0435\u0440\u0435\u0432\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043C\u0430\u0441\u0441\u0438\u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u043F\u0438\u0441\u043E\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u043C\u0430\u0441\u0441\u0438\u0432 ",Te=Le+He,et="null \u0438\u0441\u0442\u0438\u043D\u0430 \u043B\u043E\u0436\u044C \u043D\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E",le=n.inherit(n.NUMBER_MODE),G={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},we={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},tt=n.inherit(n.C_LINE_COMMENT_MODE),it={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:l,"meta-keyword":c+m},contains:[tt]},ct={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},pt={className:"function",variants:[{begin:"\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430|\u0444\u0443\u043D\u043A\u0446\u0438\u044F",end:"\\)",keywords:"\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u044F"},{begin:"\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B|\u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438",keywords:"\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:l,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:l,keyword:"\u0437\u043D\u0430\u0447",literal:et},contains:[le,G,we]},tt]},n.inherit(n.TITLE_MODE,{begin:l})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:l,keyword:c,built_in:h,class:De,type:Te,literal:et},contains:[it,pt,tt,ct,le,G,we]}}v.exports=g},4469:v=>{function g(u){return u?typeof u=="string"?u:u.source:null}function n(...u){return u.map(c=>g(c)).join("")}function l(u){const a={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},c=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],o=u.COMMENT(/;/,/$/),d={className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},m={className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},E={className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},p={className:"symbol",begin:/%[si]/},f={className:"attribute",begin:n(a.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:a.unexpectedChars,keywords:c,contains:[f,o,d,m,E,p,u.QUOTE_STRING_MODE,u.NUMBER_MODE]}}v.exports=l},84640:v=>{function g(a){return a?typeof a=="string"?a:a.source:null}function n(...a){return a.map(o=>g(o)).join("")}function l(...a){return"("+a.map(o=>g(o)).join("|")+")"}function u(a){const c=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:n(/"/,l(...c)),end:/"/,keywords:c,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}v.exports=u},16585:v=>{function g(u){return u?typeof u=="string"?u:u.source:null}function n(...u){return u.map(c=>g(c)).join("")}function l(u){const a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,c=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,u.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[u.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},u.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[u.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,o]},{begin:n(/:\s*/,c)}]},u.METHOD_GUARD],illegal:/#/}}v.exports=l},91694:v=>{function g(n){const l="\\d(_|\\d)*",u="[eE][-+]?"+l,a=l+"(\\."+l+")?("+u+")?",c="\\w+",d="\\b("+(l+"#"+c+"(\\."+c+")?#("+u+")?")+"|"+a+")",m="[A-Za-z](_?[A-Za-z0-9.])*",E=`[]\\{\\}%#'"`,p=n.COMMENT("--","$"),f={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:E,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:m,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[p,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:d,relevance:0},{className:"symbol",begin:"'"+m},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:E},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[p,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:E},f,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:E}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:E},f]}}v.exports=g},42911:v=>{function g(n){var l={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},u={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[l,u]};return l.contains=[a],u.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[n.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE],relevance:0},n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},l,u,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}v.exports=g},78075:v=>{function g(n){const l={className:"number",begin:/[$%]\d+/},u={className:"number",begin:/\d+/},a={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},c={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[n.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[a,c,n.inherit(n.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",l]},a,u,n.QUOTE_STRING_MODE]}}],illegal:/\S/}}v.exports=g},28724:v=>{function g(a){return a?typeof a=="string"?a:a.source:null}function n(...a){return a.map(o=>g(o)).join("")}function l(...a){return"("+a.map(o=>g(o)).join("|")+")"}function u(a){const c=a.inherit(a.QUOTE_STRING_MODE,{illegal:null}),o={className:"params",begin:/\(/,end:/\)/,contains:["self",a.C_NUMBER_MODE,c]},d=a.COMMENT(/--/,/$/),m=a.COMMENT(/\(\*/,/\*\)/,{contains:["self",d]}),E=[d,m,a.HASH_COMMENT_MODE],p=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],f=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[c,a.C_NUMBER_MODE,{className:"built_in",begin:n(/\b/,l(...f),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:n(/\b/,l(...p),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[a.UNDERSCORE_TITLE_MODE,o]},...E],illegal:/\/\/|->|=>|\[\[/}}v.exports=u},45234:v=>{function g(n){const l="[A-Za-z_][0-9A-Za-z_]*",u={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},a={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},c={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:n.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:u,contains:[]},d={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,o]};o.contains=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,d,c,n.REGEXP_MODE];const m=o.contains.concat([n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",keywords:u,contains:[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,d,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,a,c,{begin:/[{,]\s*/,relevance:0,contains:[{begin:l+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:l,relevance:0}]}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,n.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+l+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:m}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:l}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:m}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}v.exports=g},81376:v=>{function g(o){return o?typeof o=="string"?o:o.source:null}function n(o){return u("(?=",o,")")}function l(o){return u("(",o,")?")}function u(...o){return o.map(m=>g(m)).join("")}function a(o){const d=o.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),m="decltype\\(auto\\)",E="[a-zA-Z_]\\w*::",p="<[^<>]+>",f="("+m+"|"+l(E)+"[a-zA-Z_]\\w*"+l(p)+")",_={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},h="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",C={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[o.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+h+"|.)",end:"'",illegal:"."},o.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},b={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},T={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},o.inherit(C,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},d,o.C_BLOCK_COMMENT_MODE]},R={className:"title",begin:l(E)+o.IDENT_RE,relevance:0},O=l(E)+o.IDENT_RE+"\\s*\\(",M={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},I={className:"function.dispatch",relevance:0,keywords:M,begin:u(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,o.IDENT_RE,n(/\s*\(/))},A=[I,T,_,d,o.C_BLOCK_COMMENT_MODE,b,C],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:M,contains:A.concat([{begin:/\(/,end:/\)/,keywords:M,contains:A.concat(["self"]),relevance:0}]),relevance:0},L={className:"function",begin:"("+f+"[\\*&\\s]+)+"+O,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:M,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:m,keywords:M,relevance:0},{begin:O,returnBegin:!0,contains:[R],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[C,b]},{className:"params",begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:[d,o.C_BLOCK_COMMENT_MODE,C,b,_,{begin:/\(/,end:/\)/,keywords:M,relevance:0,contains:["self",d,o.C_BLOCK_COMMENT_MODE,C,b,_]}]},_,d,o.C_BLOCK_COMMENT_MODE,T]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:M,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,L,I,A,[T,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:M,contains:["self",_]},{begin:o.IDENT_RE+"::",keywords:M},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},o.TITLE_MODE]}]),exports:{preprocessor:T,strings:C,keywords:M}}}function c(o){const d={keyword:"boolean byte word String",built_in:"KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",_:"setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},m=a(o),E=m.keywords;return E.keyword+=" "+d.keyword,E.literal+=" "+d.literal,E.built_in+=" "+d.built_in,E._+=" "+d._,m.name="Arduino",m.aliases=["ino"],m.supersetOf="cpp",m}v.exports=c},15051:v=>{function g(n){const l={variants:[n.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),n.COMMENT("[;@]","$",{relevance:0}),n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+n.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},l,n.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}v.exports=g},54925:v=>{function g(u){return u?typeof u=="string"?u:u.source:null}function n(...u){return u.map(c=>g(c)).join("")}function l(u){const a={begin:"^'{3,}[ \\t]*$",relevance:10},c=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],o=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:n(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],d=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:n(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],m={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},E={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[u.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),u.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},E,m,...c,...o,...d,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},a,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}v.exports=l},64739:v=>{function g(u){return u?typeof u=="string"?u:u.source:null}function n(...u){return u.map(c=>g(c)).join("")}function l(u){const a="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",c="get set args call";return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[u.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},u.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a+" "+c,excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},u.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:n(u.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[u.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:n(u.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a+" "+c,relevance:0},u.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:n(u.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[u.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,u.C_NUMBER_MODE,u.C_BLOCK_COMMENT_MODE]},u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE]},u.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}v.exports=l},81576:v=>{function g(n){const l={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[l,n.inherit(n.QUOTE_STRING_MODE,{contains:[l]}),n.COMMENT(";","$",{relevance:0}),n.C_BLOCK_COMMENT_MODE,{className:"number",begin:n.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}v.exports=g},17709:v=>{function g(n){const l="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",u=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],a="True False And Null Not Or Default",c="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[n.COMMENT(";","$",{relevance:0}),n.COMMENT("#cs","#ce"),n.COMMENT("#comments-start","#comments-end")]},d={begin:"\\$[A-z0-9_]+"},m={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},E={variants:[n.BINARY_NUMBER_MODE,n.C_NUMBER_MODE]},p={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":u},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[m,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},m,o]},f={className:"symbol",begin:"@[A-z0-9_]+"},_={className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[n.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[d,m,E]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:l,built_in:c,literal:a},contains:[o,d,m,E,p,f,_]}}v.exports=g},51750:v=>{function g(n){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+n.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[n.C_BLOCK_COMMENT_MODE,n.COMMENT(";","$",{relevance:0}),n.C_NUMBER_MODE,n.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},n.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}v.exports=g},10669:v=>{function g(n){const l={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},u="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={className:"string",contains:[n.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:u},contains:[l,a,n.REGEXP_MODE,n.HASH_COMMENT_MODE,n.NUMBER_MODE]}}v.exports=g},95069:v=>{function g(n){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,n.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},n.UNDERSCORE_TITLE_MODE]}]}}v.exports=g},10693:v=>{function g(u){return u?typeof u=="string"?u:u.source:null}function n(...u){return u.map(c=>g(c)).join("")}function l(u){const a={},c={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:n(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},c]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[u.BACKSLASH_ESCAPE]},d={begin:/<<-?\s*(?=\w+)/,starts:{contains:[u.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},m={className:"string",begin:/"/,end:/"/,contains:[u.BACKSLASH_ESCAPE,a,o]};o.contains.push(m);const E={className:"",begin:/\\"/},p={className:"string",begin:/'/,end:/'/},f={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},u.NUMBER_MODE,a]},_=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=u.SHEBANG({binary:`(${_.join("|")})`,relevance:10}),C={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[u.inherit(u.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[h,u.SHEBANG(),C,f,u.HASH_COMMENT_MODE,d,m,E,p,a]}}v.exports=l},46519:v=>{function g(n){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[n.QUOTE_STRING_MODE,n.COMMENT("REM","$",{relevance:10}),n.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}v.exports=g},16948:v=>{function g(n){return{name:"Backus\u2013Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]}]}}v.exports=g},56855:v=>{function g(n){const l={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[n.COMMENT(`[^\\[\\]\\.,\\+\\-<> \r
@@ -62,19 +62,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Sn=re,Ct=Ye);const qe=
62
62
  `,o.map=[l,n.line],!0}},91403:v=>{"use strict";v.exports=function(n,l,u,a){var c,o,d,m,E,p,f,_=!1,h=n.bMarks[l]+n.tShift[l],C=n.eMarks[l];if(n.sCount[l]-n.blkIndent>=4||h+3>C||(c=n.src.charCodeAt(h),c!==126&&c!==96)||(E=h,h=n.skipChars(h,c),o=h-E,o<3)||(f=n.src.slice(E,h),d=n.src.slice(h,C),c===96&&d.indexOf(String.fromCharCode(c))>=0))return!1;if(a)return!0;for(m=l;m++,!(m>=u||(h=E=n.bMarks[m]+n.tShift[m],C=n.eMarks[m],h<C&&n.sCount[m]<n.blkIndent));)if(n.src.charCodeAt(h)===c&&!(n.sCount[m]-n.blkIndent>=4)&&(h=n.skipChars(h,c),!(h-E<o)&&(h=n.skipSpaces(h),!(h<C)))){_=!0;break}return o=n.sCount[l],n.line=m+(_?1:0),p=n.push("fence","code",0),p.info=d,p.content=n.getLines(l+1,m,o,!0),p.markup=f,p.map=[l,n.line],!0}},25659:(v,g,n)=>{"use strict";var l=n(10949).isSpace;v.exports=function(a,c,o,d){var m,E,p,f,_=a.bMarks[c]+a.tShift[c],h=a.eMarks[c];if(a.sCount[c]-a.blkIndent>=4||(m=a.src.charCodeAt(_),m!==35||_>=h))return!1;for(E=1,m=a.src.charCodeAt(++_);m===35&&_<h&&E<=6;)E++,m=a.src.charCodeAt(++_);return E>6||_<h&&!l(m)?!1:(d||(h=a.skipSpacesBack(h,_),p=a.skipCharsBack(h,35,_),p>_&&l(a.src.charCodeAt(p-1))&&(h=p),a.line=c+1,f=a.push("heading_open","h"+String(E),1),f.markup="########".slice(0,E),f.map=[c,a.line],f=a.push("inline","",0),f.content=a.src.slice(_,h).trim(),f.map=[c,a.line],f.children=[],f=a.push("heading_close","h"+String(E),-1),f.markup="########".slice(0,E)),!0)}},56324:(v,g,n)=>{"use strict";var l=n(10949).isSpace;v.exports=function(a,c,o,d){var m,E,p,f,_=a.bMarks[c]+a.tShift[c],h=a.eMarks[c];if(a.sCount[c]-a.blkIndent>=4||(m=a.src.charCodeAt(_++),m!==42&&m!==45&&m!==95))return!1;for(E=1;_<h;){if(p=a.src.charCodeAt(_++),p!==m&&!l(p))return!1;p===m&&E++}return E<3?!1:(d||(a.line=c+1,f=a.push("hr","hr",0),f.map=[c,a.line],f.markup=Array(E+1).join(String.fromCharCode(m))),!0)}},17031:(v,g,n)=>{"use strict";var l=n(42879),u=n(36009).q,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+l.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(u.source+"\\s*$"),/^$/,!1]];v.exports=function(o,d,m,E){var p,f,_,h,C=o.bMarks[d]+o.tShift[d],b=o.eMarks[d];if(o.sCount[d]-o.blkIndent>=4||!o.md.options.html||o.src.charCodeAt(C)!==60)return!1;for(h=o.src.slice(C,b),p=0;p<a.length&&!a[p][0].test(h);p++);if(p===a.length)return!1;if(E)return a[p][2];if(f=d+1,!a[p][1].test(h)){for(;f<m&&!(o.sCount[f]<o.blkIndent);f++)if(C=o.bMarks[f]+o.tShift[f],b=o.eMarks[f],h=o.src.slice(C,b),a[p][1].test(h)){h.length!==0&&f++;break}}return o.line=f,_=o.push("html_block","",0),_.map=[d,f],_.content=o.getLines(d,f,o.blkIndent,!0),!0}},50858:v=>{"use strict";v.exports=function(n,l,u){var a,c,o,d,m,E,p,f,_,h=l+1,C,b=n.md.block.ruler.getRules("paragraph");if(n.sCount[l]-n.blkIndent>=4)return!1;for(C=n.parentType,n.parentType="paragraph";h<u&&!n.isEmpty(h);h++)if(!(n.sCount[h]-n.blkIndent>3)){if(n.sCount[h]>=n.blkIndent&&(E=n.bMarks[h]+n.tShift[h],p=n.eMarks[h],E<p&&(_=n.src.charCodeAt(E),(_===45||_===61)&&(E=n.skipChars(E,_),E=n.skipSpaces(E),E>=p)))){f=_===61?1:2;break}if(!(n.sCount[h]<0)){for(c=!1,o=0,d=b.length;o<d;o++)if(b[o](n,h,u,!0)){c=!0;break}if(c)break}}return f?(a=n.getLines(l,h,n.blkIndent,!1).trim(),n.line=h+1,m=n.push("heading_open","h"+String(f),1),m.markup=String.fromCharCode(_),m.map=[l,n.line],m=n.push("inline","",0),m.content=a,m.map=[l,n.line-1],m.children=[],m=n.push("heading_close","h"+String(f),-1),m.markup=String.fromCharCode(_),n.parentType=C,!0):!1}},44561:(v,g,n)=>{"use strict";var l=n(10949).isSpace;function u(o,d){var m,E,p,f;return E=o.bMarks[d]+o.tShift[d],p=o.eMarks[d],m=o.src.charCodeAt(E++),m!==42&&m!==45&&m!==43||E<p&&(f=o.src.charCodeAt(E),!l(f))?-1:E}function a(o,d){var m,E=o.bMarks[d]+o.tShift[d],p=E,f=o.eMarks[d];if(p+1>=f||(m=o.src.charCodeAt(p++),m<48||m>57))return-1;for(;;){if(p>=f)return-1;if(m=o.src.charCodeAt(p++),m>=48&&m<=57){if(p-E>=10)return-1;continue}if(m===41||m===46)break;return-1}return p<f&&(m=o.src.charCodeAt(p),!l(m))?-1:p}function c(o,d){var m,E,p=o.level+2;for(m=d+2,E=o.tokens.length-2;m<E;m++)o.tokens[m].level===p&&o.tokens[m].type==="paragraph_open"&&(o.tokens[m+2].hidden=!0,o.tokens[m].hidden=!0,m+=2)}v.exports=function(d,m,E,p){var f,_,h,C,b,T,R,O,D,M,I,A,x,L,k,U,Y,z,B,_e,ee,Z,J,fe,Re,De,Le,He,Te=!1,et=!0;if(d.sCount[m]-d.blkIndent>=4||d.listIndent>=0&&d.sCount[m]-d.listIndent>=4&&d.sCount[m]<d.blkIndent)return!1;if(p&&d.parentType==="paragraph"&&d.sCount[m]>=d.blkIndent&&(Te=!0),(J=a(d,m))>=0){if(R=!0,Re=d.bMarks[m]+d.tShift[m],x=Number(d.src.slice(Re,J-1)),Te&&x!==1)return!1}else if((J=u(d,m))>=0)R=!1;else return!1;if(Te&&d.skipSpaces(J)>=d.eMarks[m])return!1;if(A=d.src.charCodeAt(J-1),p)return!0;for(I=d.tokens.length,R?(He=d.push("ordered_list_open","ol",1),x!==1&&(He.attrs=[["start",x]])):He=d.push("bullet_list_open","ul",1),He.map=M=[m,0],He.markup=String.fromCharCode(A),k=m,fe=!1,Le=d.md.block.ruler.getRules("list"),z=d.parentType,d.parentType="list";k<E;){for(Z=J,L=d.eMarks[k],T=U=d.sCount[k]+J-(d.bMarks[m]+d.tShift[m]);Z<L;){if(f=d.src.charCodeAt(Z),f===9)U+=4-(U+d.bsCount[k])%4;else if(f===32)U++;else break;Z++}if(_=Z,_>=L?b=1:b=U-T,b>4&&(b=1),C=T+b,He=d.push("list_item_open","li",1),He.markup=String.fromCharCode(A),He.map=O=[m,0],R&&(He.info=d.src.slice(Re,J-1)),ee=d.tight,_e=d.tShift[m],B=d.sCount[m],Y=d.listIndent,d.listIndent=d.blkIndent,d.blkIndent=C,d.tight=!0,d.tShift[m]=_-d.bMarks[m],d.sCount[m]=U,_>=L&&d.isEmpty(m+1)?d.line=Math.min(d.line+2,E):d.md.block.tokenize(d,m,E,!0),(!d.tight||fe)&&(et=!1),fe=d.line-m>1&&d.isEmpty(d.line-1),d.blkIndent=d.listIndent,d.listIndent=Y,d.tShift[m]=_e,d.sCount[m]=B,d.tight=ee,He=d.push("list_item_close","li",-1),He.markup=String.fromCharCode(A),k=m=d.line,O[1]=k,_=d.bMarks[m],k>=E||d.sCount[k]<d.blkIndent||d.sCount[m]-d.blkIndent>=4)break;for(De=!1,h=0,D=Le.length;h<D;h++)if(Le[h](d,k,E,!0)){De=!0;break}if(De)break;if(R){if(J=a(d,k),J<0)break;Re=d.bMarks[k]+d.tShift[k]}else if(J=u(d,k),J<0)break;if(A!==d.src.charCodeAt(J-1))break}return R?He=d.push("ordered_list_close","ol",-1):He=d.push("bullet_list_close","ul",-1),He.markup=String.fromCharCode(A),M[1]=k,d.line=k,d.parentType=z,et&&c(d,I),!0}},85752:v=>{"use strict";v.exports=function(n,l){var u,a,c,o,d,m,E=l+1,p=n.md.block.ruler.getRules("paragraph"),f=n.lineMax;for(m=n.parentType,n.parentType="paragraph";E<f&&!n.isEmpty(E);E++)if(!(n.sCount[E]-n.blkIndent>3)&&!(n.sCount[E]<0)){for(a=!1,c=0,o=p.length;c<o;c++)if(p[c](n,E,f,!0)){a=!0;break}if(a)break}return u=n.getLines(l,E,n.blkIndent,!1).trim(),n.line=E,d=n.push("paragraph_open","p",1),d.map=[l,n.line],d=n.push("inline","",0),d.content=u,d.map=[l,n.line],d.children=[],d=n.push("paragraph_close","p",-1),n.parentType=m,!0}},19084:(v,g,n)=>{"use strict";var l=n(10949).normalizeReference,u=n(10949).isSpace;v.exports=function(c,o,d,m){var E,p,f,_,h,C,b,T,R,O,D,M,I,A,x,L,k=0,U=c.bMarks[o]+c.tShift[o],Y=c.eMarks[o],z=o+1;if(c.sCount[o]-c.blkIndent>=4||c.src.charCodeAt(U)!==91)return!1;for(;++U<Y;)if(c.src.charCodeAt(U)===93&&c.src.charCodeAt(U-1)!==92){if(U+1===Y||c.src.charCodeAt(U+1)!==58)return!1;break}for(_=c.lineMax,x=c.md.block.ruler.getRules("reference"),O=c.parentType,c.parentType="reference";z<_&&!c.isEmpty(z);z++)if(!(c.sCount[z]-c.blkIndent>3)&&!(c.sCount[z]<0)){for(A=!1,C=0,b=x.length;C<b;C++)if(x[C](c,z,_,!0)){A=!0;break}if(A)break}for(I=c.getLines(o,z,c.blkIndent,!1).trim(),Y=I.length,U=1;U<Y;U++){if(E=I.charCodeAt(U),E===91)return!1;if(E===93){R=U;break}else E===10?k++:E===92&&(U++,U<Y&&I.charCodeAt(U)===10&&k++)}if(R<0||I.charCodeAt(R+1)!==58)return!1;for(U=R+2;U<Y;U++)if(E=I.charCodeAt(U),E===10)k++;else if(!u(E))break;if(D=c.md.helpers.parseLinkDestination(I,U,Y),!D.ok||(h=c.md.normalizeLink(D.str),!c.md.validateLink(h)))return!1;for(U=D.pos,k+=D.lines,p=U,f=k,M=U;U<Y;U++)if(E=I.charCodeAt(U),E===10)k++;else if(!u(E))break;for(D=c.md.helpers.parseLinkTitle(I,U,Y),U<Y&&M!==U&&D.ok?(L=D.str,U=D.pos,k+=D.lines):(L="",U=p,k=f);U<Y&&(E=I.charCodeAt(U),!!u(E));)U++;if(U<Y&&I.charCodeAt(U)!==10&&L)for(L="",U=p,k=f;U<Y&&(E=I.charCodeAt(U),!!u(E));)U++;return U<Y&&I.charCodeAt(U)!==10||(T=l(I.slice(1,R)),!T)?!1:(m||(typeof c.env.references=="undefined"&&(c.env.references={}),typeof c.env.references[T]=="undefined"&&(c.env.references[T]={title:L,href:h}),c.parentType=O,c.line=o+k+1),!0)}},42865:(v,g,n)=>{"use strict";var l=n(97458),u=n(10949).isSpace;function a(c,o,d,m){var E,p,f,_,h,C,b,T;for(this.src=c,this.md=o,this.env=d,this.tokens=m,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=this.src,T=!1,f=_=C=b=0,h=p.length;_<h;_++){if(E=p.charCodeAt(_),!T)if(u(E)){C++,E===9?b+=4-b%4:b++;continue}else T=!0;(E===10||_===h-1)&&(E!==10&&_++,this.bMarks.push(f),this.eMarks.push(_),this.tShift.push(C),this.sCount.push(b),this.bsCount.push(0),T=!1,C=0,b=0,f=_+1)}this.bMarks.push(p.length),this.eMarks.push(p.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}a.prototype.push=function(c,o,d){var m=new l(c,o,d);return m.block=!0,d<0&&this.level--,m.level=this.level,d>0&&this.level++,this.tokens.push(m),m},a.prototype.isEmpty=function(o){return this.bMarks[o]+this.tShift[o]>=this.eMarks[o]},a.prototype.skipEmptyLines=function(o){for(var d=this.lineMax;o<d&&!(this.bMarks[o]+this.tShift[o]<this.eMarks[o]);o++);return o},a.prototype.skipSpaces=function(o){for(var d,m=this.src.length;o<m&&(d=this.src.charCodeAt(o),!!u(d));o++);return o},a.prototype.skipSpacesBack=function(o,d){if(o<=d)return o;for(;o>d;)if(!u(this.src.charCodeAt(--o)))return o+1;return o},a.prototype.skipChars=function(o,d){for(var m=this.src.length;o<m&&this.src.charCodeAt(o)===d;o++);return o},a.prototype.skipCharsBack=function(o,d,m){if(o<=m)return o;for(;o>m;)if(d!==this.src.charCodeAt(--o))return o+1;return o},a.prototype.getLines=function(o,d,m,E){var p,f,_,h,C,b,T,R=o;if(o>=d)return"";for(b=new Array(d-o),p=0;R<d;R++,p++){for(f=0,T=h=this.bMarks[R],R+1<d||E?C=this.eMarks[R]+1:C=this.eMarks[R];h<C&&f<m;){if(_=this.src.charCodeAt(h),u(_))_===9?f+=4-(f+this.bsCount[R])%4:f++;else if(h-T<this.tShift[R])f++;else break;h++}f>m?b[p]=new Array(f-m+1).join(" ")+this.src.slice(h,C):b[p]=this.src.slice(h,C)}return b.join("")},a.prototype.Token=l,v.exports=a},70943:(v,g,n)=>{"use strict";var l=n(10949).isSpace;function u(c,o){var d=c.bMarks[o]+c.tShift[o],m=c.eMarks[o];return c.src.substr(d,m-d)}function a(c){var o=[],d=0,m=c.length,E,p=!1,f=0,_="";for(E=c.charCodeAt(d);d<m;)E===124&&(p?(_+=c.substring(f,d-1),f=d):(o.push(_+c.substring(f,d)),_="",f=d+1)),p=E===92,d++,E=c.charCodeAt(d);return o.push(_+c.substring(f)),o}v.exports=function(o,d,m,E){var p,f,_,h,C,b,T,R,O,D,M,I,A,x,L,k,U,Y;if(d+2>m||(b=d+1,o.sCount[b]<o.blkIndent)||o.sCount[b]-o.blkIndent>=4||(_=o.bMarks[b]+o.tShift[b],_>=o.eMarks[b])||(U=o.src.charCodeAt(_++),U!==124&&U!==45&&U!==58)||_>=o.eMarks[b]||(Y=o.src.charCodeAt(_++),Y!==124&&Y!==45&&Y!==58&&!l(Y))||U===45&&l(Y))return!1;for(;_<o.eMarks[b];){if(p=o.src.charCodeAt(_),p!==124&&p!==45&&p!==58&&!l(p))return!1;_++}for(f=u(o,d+1),T=f.split("|"),D=[],h=0;h<T.length;h++){if(M=T[h].trim(),!M){if(h===0||h===T.length-1)continue;return!1}if(!/^:?-+:?$/.test(M))return!1;M.charCodeAt(M.length-1)===58?D.push(M.charCodeAt(0)===58?"center":"right"):M.charCodeAt(0)===58?D.push("left"):D.push("")}if(f=u(o,d).trim(),f.indexOf("|")===-1||o.sCount[d]-o.blkIndent>=4||(T=a(f),T.length&&T[0]===""&&T.shift(),T.length&&T[T.length-1]===""&&T.pop(),R=T.length,R===0||R!==D.length))return!1;if(E)return!0;for(x=o.parentType,o.parentType="table",k=o.md.block.ruler.getRules("blockquote"),O=o.push("table_open","table",1),O.map=I=[d,0],O=o.push("thead_open","thead",1),O.map=[d,d+1],O=o.push("tr_open","tr",1),O.map=[d,d+1],h=0;h<T.length;h++)O=o.push("th_open","th",1),D[h]&&(O.attrs=[["style","text-align:"+D[h]]]),O=o.push("inline","",0),O.content=T[h].trim(),O.children=[],O=o.push("th_close","th",-1);for(O=o.push("tr_close","tr",-1),O=o.push("thead_close","thead",-1),b=d+2;b<m&&!(o.sCount[b]<o.blkIndent);b++){for(L=!1,h=0,C=k.length;h<C;h++)if(k[h](o,b,m,!0)){L=!0;break}if(L||(f=u(o,b).trim(),!f)||o.sCount[b]-o.blkIndent>=4)break;for(T=a(f),T.length&&T[0]===""&&T.shift(),T.length&&T[T.length-1]===""&&T.pop(),b===d+2&&(O=o.push("tbody_open","tbody",1),O.map=A=[d+2,0]),O=o.push("tr_open","tr",1),O.map=[b,b+1],h=0;h<R;h++)O=o.push("td_open","td",1),D[h]&&(O.attrs=[["style","text-align:"+D[h]]]),O=o.push("inline","",0),O.content=T[h]?T[h].trim():"",O.children=[],O=o.push("td_close","td",-1);O=o.push("tr_close","tr",-1)}return A&&(O=o.push("tbody_close","tbody",-1),A[1]=b),O=o.push("table_close","table",-1),I[1]=b,o.parentType=x,o.line=b,!0}},50926:v=>{"use strict";v.exports=function(n){var l;n.inlineMode?(l=new n.Token("inline","",0),l.content=n.src,l.map=[0,1],l.children=[],n.tokens.push(l)):n.md.block.parse(n.src,n.md,n.env,n.tokens)}},55883:v=>{"use strict";v.exports=function(n){var l=n.tokens,u,a,c;for(a=0,c=l.length;a<c;a++)u=l[a],u.type==="inline"&&n.md.inline.parse(u.content,n.md,n.env,u.children)}},80808:(v,g,n)=>{"use strict";var l=n(10949).arrayReplaceAt;function u(c){return/^<a[>\s]/i.test(c)}function a(c){return/^<\/a\s*>/i.test(c)}v.exports=function(o){var d,m,E,p,f,_,h,C,b,T,R,O,D,M,I,A,x=o.tokens,L;if(!!o.md.options.linkify){for(m=0,E=x.length;m<E;m++)if(!(x[m].type!=="inline"||!o.md.linkify.pretest(x[m].content)))for(p=x[m].children,D=0,d=p.length-1;d>=0;d--){if(_=p[d],_.type==="link_close"){for(d--;p[d].level!==_.level&&p[d].type!=="link_open";)d--;continue}if(_.type==="html_inline"&&(u(_.content)&&D>0&&D--,a(_.content)&&D++),!(D>0)&&_.type==="text"&&o.md.linkify.test(_.content)){for(b=_.content,L=o.md.linkify.match(b),h=[],O=_.level,R=0,C=0;C<L.length;C++)M=L[C].url,I=o.md.normalizeLink(M),o.md.validateLink(I)&&(A=L[C].text,L[C].schema?L[C].schema==="mailto:"&&!/^mailto:/i.test(A)?A=o.md.normalizeLinkText("mailto:"+A).replace(/^mailto:/,""):A=o.md.normalizeLinkText(A):A=o.md.normalizeLinkText("http://"+A).replace(/^http:\/\//,""),T=L[C].index,T>R&&(f=new o.Token("text","",0),f.content=b.slice(R,T),f.level=O,h.push(f)),f=new o.Token("link_open","a",1),f.attrs=[["href",I]],f.level=O++,f.markup="linkify",f.info="auto",h.push(f),f=new o.Token("text","",0),f.content=A,f.level=O,h.push(f),f=new o.Token("link_close","a",-1),f.level=--O,f.markup="linkify",f.info="auto",h.push(f),R=L[C].lastIndex);R<b.length&&(f=new o.Token("text","",0),f.content=b.slice(R),f.level=O,h.push(f)),x[m].children=p=l(p,d,h)}}}}},13789:v=>{"use strict";var g=/\r\n?|\n/g,n=/\0/g;v.exports=function(u){var a;a=u.src.replace(g,`
63
63
  `),a=a.replace(n,"\uFFFD"),u.src=a}},65303:v=>{"use strict";var g=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/ig,u={c:"\xA9",r:"\xAE",p:"\xA7",tm:"\u2122"};function a(d,m){return u[m.toLowerCase()]}function c(d){var m,E,p=0;for(m=d.length-1;m>=0;m--)E=d[m],E.type==="text"&&!p&&(E.content=E.content.replace(l,a)),E.type==="link_open"&&E.info==="auto"&&p--,E.type==="link_close"&&E.info==="auto"&&p++}function o(d){var m,E,p=0;for(m=d.length-1;m>=0;m--)E=d[m],E.type==="text"&&!p&&g.test(E.content)&&(E.content=E.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),E.type==="link_open"&&E.info==="auto"&&p--,E.type==="link_close"&&E.info==="auto"&&p++}v.exports=function(m){var E;if(!!m.md.options.typographer)for(E=m.tokens.length-1;E>=0;E--)m.tokens[E].type==="inline"&&(n.test(m.tokens[E].content)&&c(m.tokens[E].children),g.test(m.tokens[E].content)&&o(m.tokens[E].children))}},55965:(v,g,n)=>{"use strict";var l=n(10949).isWhiteSpace,u=n(10949).isPunctChar,a=n(10949).isMdAsciiPunct,c=/['"]/,o=/['"]/g,d="\u2019";function m(p,f,_){return p.substr(0,f)+_+p.substr(f+1)}function E(p,f){var _,h,C,b,T,R,O,D,M,I,A,x,L,k,U,Y,z,B,_e,ee,Z;for(_e=[],_=0;_<p.length;_++){for(h=p[_],O=p[_].level,z=_e.length-1;z>=0&&!(_e[z].level<=O);z--);if(_e.length=z+1,h.type!=="text")continue;C=h.content,T=0,R=C.length;e:for(;T<R&&(o.lastIndex=T,b=o.exec(C),!!b);){if(U=Y=!0,T=b.index+1,B=b[0]==="'",M=32,b.index-1>=0)M=C.charCodeAt(b.index-1);else for(z=_-1;z>=0&&!(p[z].type==="softbreak"||p[z].type==="hardbreak");z--)if(!!p[z].content){M=p[z].content.charCodeAt(p[z].content.length-1);break}if(I=32,T<R)I=C.charCodeAt(T);else for(z=_+1;z<p.length&&!(p[z].type==="softbreak"||p[z].type==="hardbreak");z++)if(!!p[z].content){I=p[z].content.charCodeAt(0);break}if(A=a(M)||u(String.fromCharCode(M)),x=a(I)||u(String.fromCharCode(I)),L=l(M),k=l(I),k?U=!1:x&&(L||A||(U=!1)),L?Y=!1:A&&(k||x||(Y=!1)),I===34&&b[0]==='"'&&M>=48&&M<=57&&(Y=U=!1),U&&Y&&(U=A,Y=x),!U&&!Y){B&&(h.content=m(h.content,b.index,d));continue}if(Y){for(z=_e.length-1;z>=0&&(D=_e[z],!(_e[z].level<O));z--)if(D.single===B&&_e[z].level===O){D=_e[z],B?(ee=f.md.options.quotes[2],Z=f.md.options.quotes[3]):(ee=f.md.options.quotes[0],Z=f.md.options.quotes[1]),h.content=m(h.content,b.index,Z),p[D.token].content=m(p[D.token].content,D.pos,ee),T+=Z.length-1,D.token===_&&(T+=ee.length-1),C=h.content,R=C.length,_e.length=z;continue e}}U?_e.push({token:_,pos:b.index,single:B,level:O}):Y&&B&&(h.content=m(h.content,b.index,d))}}}v.exports=function(f){var _;if(!!f.md.options.typographer)for(_=f.tokens.length-1;_>=0;_--)f.tokens[_].type!=="inline"||!c.test(f.tokens[_].content)||E(f.tokens[_].children,f)}},87670:(v,g,n)=>{"use strict";var l=n(97458);function u(a,c,o){this.src=a,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=c}u.prototype.Token=l,v.exports=u},25086:v=>{"use strict";var g=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;v.exports=function(u,a){var c,o,d,m,E,p,f=u.pos;if(u.src.charCodeAt(f)!==60)return!1;for(E=u.pos,p=u.posMax;;){if(++f>=p||(m=u.src.charCodeAt(f),m===60))return!1;if(m===62)break}return c=u.src.slice(E+1,f),n.test(c)?(o=u.md.normalizeLink(c),u.md.validateLink(o)?(a||(d=u.push("link_open","a",1),d.attrs=[["href",o]],d.markup="autolink",d.info="auto",d=u.push("text","",0),d.content=u.md.normalizeLinkText(c),d=u.push("link_close","a",-1),d.markup="autolink",d.info="auto"),u.pos+=c.length+2,!0):!1):g.test(c)?(o=u.md.normalizeLink("mailto:"+c),u.md.validateLink(o)?(a||(d=u.push("link_open","a",1),d.attrs=[["href",o]],d.markup="autolink",d.info="auto",d=u.push("text","",0),d.content=u.md.normalizeLinkText(c),d=u.push("link_close","a",-1),d.markup="autolink",d.info="auto"),u.pos+=c.length+2,!0):!1):!1}},28556:v=>{"use strict";v.exports=function(n,l){var u,a,c,o,d,m,E,p,f=n.pos,_=n.src.charCodeAt(f);if(_!==96)return!1;for(u=f,f++,a=n.posMax;f<a&&n.src.charCodeAt(f)===96;)f++;if(c=n.src.slice(u,f),E=c.length,n.backticksScanned&&(n.backticks[E]||0)<=u)return l||(n.pending+=c),n.pos+=E,!0;for(d=m=f;(d=n.src.indexOf("`",m))!==-1;){for(m=d+1;m<a&&n.src.charCodeAt(m)===96;)m++;if(p=m-d,p===E)return l||(o=n.push("code_inline","code",0),o.markup=c,o.content=n.src.slice(f,d).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),n.pos=m,!0;n.backticks[p]=d}return n.backticksScanned=!0,l||(n.pending+=c),n.pos+=E,!0}},59064:v=>{"use strict";function g(n,l){var u,a,c,o,d,m,E,p,f={},_=l.length;if(!!_){var h=0,C=-2,b=[];for(u=0;u<_;u++)if(c=l[u],b.push(0),(l[h].marker!==c.marker||C!==c.token-1)&&(h=u),C=c.token,c.length=c.length||0,!!c.close){for(f.hasOwnProperty(c.marker)||(f[c.marker]=[-1,-1,-1,-1,-1,-1]),d=f[c.marker][(c.open?3:0)+c.length%3],a=h-b[h]-1,m=a;a>d;a-=b[a]+1)if(o=l[a],o.marker===c.marker&&o.open&&o.end<0&&(E=!1,(o.close||c.open)&&(o.length+c.length)%3===0&&(o.length%3!==0||c.length%3!==0)&&(E=!0),!E)){p=a>0&&!l[a-1].open?b[a-1]+1:0,b[u]=u-a+p,b[a]=p,c.open=!1,o.end=u,o.close=!1,m=-1,C=-2;break}m!==-1&&(f[c.marker][(c.open?3:0)+(c.length||0)%3]=m)}}}v.exports=function(l){var u,a=l.tokens_meta,c=l.tokens_meta.length;for(g(l,l.delimiters),u=0;u<c;u++)a[u]&&a[u].delimiters&&g(l,a[u].delimiters)}},3892:v=>{"use strict";v.exports.w=function(l,u){var a,c,o,d=l.pos,m=l.src.charCodeAt(d);if(u||m!==95&&m!==42)return!1;for(c=l.scanDelims(l.pos,m===42),a=0;a<c.length;a++)o=l.push("text","",0),o.content=String.fromCharCode(m),l.delimiters.push({marker:m,length:c.length,token:l.tokens.length-1,end:-1,open:c.can_open,close:c.can_close});return l.pos+=c.length,!0};function g(n,l){var u,a,c,o,d,m,E=l.length;for(u=E-1;u>=0;u--)a=l[u],!(a.marker!==95&&a.marker!==42)&&a.end!==-1&&(c=l[a.end],m=u>0&&l[u-1].end===a.end+1&&l[u-1].marker===a.marker&&l[u-1].token===a.token-1&&l[a.end+1].token===c.token+1,d=String.fromCharCode(a.marker),o=n.tokens[a.token],o.type=m?"strong_open":"em_open",o.tag=m?"strong":"em",o.nesting=1,o.markup=m?d+d:d,o.content="",o=n.tokens[c.token],o.type=m?"strong_close":"em_close",o.tag=m?"strong":"em",o.nesting=-1,o.markup=m?d+d:d,o.content="",m&&(n.tokens[l[u-1].token].content="",n.tokens[l[a.end+1].token].content="",u--))}v.exports.g=function(l){var u,a=l.tokens_meta,c=l.tokens_meta.length;for(g(l,l.delimiters),u=0;u<c;u++)a[u]&&a[u].delimiters&&g(l,a[u].delimiters)}},89431:(v,g,n)=>{"use strict";var l=n(46364),u=n(10949).has,a=n(10949).isValidEntityCode,c=n(10949).fromCodePoint,o=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,d=/^&([a-z][a-z0-9]{1,31});/i;v.exports=function(E,p){var f,_,h,C=E.pos,b=E.posMax;if(E.src.charCodeAt(C)!==38)return!1;if(C+1<b){if(f=E.src.charCodeAt(C+1),f===35){if(h=E.src.slice(C).match(o),h)return p||(_=h[1][0].toLowerCase()==="x"?parseInt(h[1].slice(1),16):parseInt(h[1],10),E.pending+=a(_)?c(_):c(65533)),E.pos+=h[0].length,!0}else if(h=E.src.slice(C).match(d),h&&u(l,h[1]))return p||(E.pending+=l[h[1]]),E.pos+=h[0].length,!0}return p||(E.pending+="&"),E.pos++,!0}},22092:(v,g,n)=>{"use strict";for(var l=n(10949).isSpace,u=[],a=0;a<256;a++)u.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(c){u[c.charCodeAt(0)]=1}),v.exports=function(o,d){var m,E=o.pos,p=o.posMax;if(o.src.charCodeAt(E)!==92)return!1;if(E++,E<p){if(m=o.src.charCodeAt(E),m<256&&u[m]!==0)return d||(o.pending+=o.src[E]),o.pos+=2,!0;if(m===10){for(d||o.push("hardbreak","br",0),E++;E<p&&(m=o.src.charCodeAt(E),!!l(m));)E++;return o.pos=E,!0}}return d||(o.pending+="\\"),o.pos++,!0}},18926:(v,g,n)=>{"use strict";var l=n(36009).n;function u(a){var c=a|32;return c>=97&&c<=122}v.exports=function(c,o){var d,m,E,p,f=c.pos;return!c.md.options.html||(E=c.posMax,c.src.charCodeAt(f)!==60||f+2>=E)||(d=c.src.charCodeAt(f+1),d!==33&&d!==63&&d!==47&&!u(d))||(m=c.src.slice(f).match(l),!m)?!1:(o||(p=c.push("html_inline","",0),p.content=c.src.slice(f,f+m[0].length)),c.pos+=m[0].length,!0)}},52267:(v,g,n)=>{"use strict";var l=n(10949).normalizeReference,u=n(10949).isSpace;v.exports=function(c,o){var d,m,E,p,f,_,h,C,b,T,R,O,D,M="",I=c.pos,A=c.posMax;if(c.src.charCodeAt(c.pos)!==33||c.src.charCodeAt(c.pos+1)!==91||(_=c.pos+2,f=c.md.helpers.parseLinkLabel(c,c.pos+1,!1),f<0))return!1;if(h=f+1,h<A&&c.src.charCodeAt(h)===40){for(h++;h<A&&(m=c.src.charCodeAt(h),!(!u(m)&&m!==10));h++);if(h>=A)return!1;for(D=h,b=c.md.helpers.parseLinkDestination(c.src,h,c.posMax),b.ok&&(M=c.md.normalizeLink(b.str),c.md.validateLink(M)?h=b.pos:M=""),D=h;h<A&&(m=c.src.charCodeAt(h),!(!u(m)&&m!==10));h++);if(b=c.md.helpers.parseLinkTitle(c.src,h,c.posMax),h<A&&D!==h&&b.ok)for(T=b.str,h=b.pos;h<A&&(m=c.src.charCodeAt(h),!(!u(m)&&m!==10));h++);else T="";if(h>=A||c.src.charCodeAt(h)!==41)return c.pos=I,!1;h++}else{if(typeof c.env.references=="undefined")return!1;if(h<A&&c.src.charCodeAt(h)===91?(D=h+1,h=c.md.helpers.parseLinkLabel(c,h),h>=0?p=c.src.slice(D,h++):h=f+1):h=f+1,p||(p=c.src.slice(_,f)),C=c.env.references[l(p)],!C)return c.pos=I,!1;M=C.href,T=C.title}return o||(E=c.src.slice(_,f),c.md.inline.parse(E,c.md,c.env,O=[]),R=c.push("image","img",0),R.attrs=d=[["src",M],["alt",""]],R.children=O,R.content=E,T&&d.push(["title",T])),c.pos=h,c.posMax=A,!0}},69055:(v,g,n)=>{"use strict";var l=n(10949).normalizeReference,u=n(10949).isSpace;v.exports=function(c,o){var d,m,E,p,f,_,h,C,b,T="",R="",O=c.pos,D=c.posMax,M=c.pos,I=!0;if(c.src.charCodeAt(c.pos)!==91||(f=c.pos+1,p=c.md.helpers.parseLinkLabel(c,c.pos,!0),p<0))return!1;if(_=p+1,_<D&&c.src.charCodeAt(_)===40){for(I=!1,_++;_<D&&(m=c.src.charCodeAt(_),!(!u(m)&&m!==10));_++);if(_>=D)return!1;if(M=_,h=c.md.helpers.parseLinkDestination(c.src,_,c.posMax),h.ok){for(T=c.md.normalizeLink(h.str),c.md.validateLink(T)?_=h.pos:T="",M=_;_<D&&(m=c.src.charCodeAt(_),!(!u(m)&&m!==10));_++);if(h=c.md.helpers.parseLinkTitle(c.src,_,c.posMax),_<D&&M!==_&&h.ok)for(R=h.str,_=h.pos;_<D&&(m=c.src.charCodeAt(_),!(!u(m)&&m!==10));_++);}(_>=D||c.src.charCodeAt(_)!==41)&&(I=!0),_++}if(I){if(typeof c.env.references=="undefined")return!1;if(_<D&&c.src.charCodeAt(_)===91?(M=_+1,_=c.md.helpers.parseLinkLabel(c,_),_>=0?E=c.src.slice(M,_++):_=p+1):_=p+1,E||(E=c.src.slice(f,p)),C=c.env.references[l(E)],!C)return c.pos=O,!1;T=C.href,R=C.title}return o||(c.pos=f,c.posMax=p,b=c.push("link_open","a",1),b.attrs=d=[["href",T]],R&&d.push(["title",R]),c.md.inline.tokenize(c),b=c.push("link_close","a",-1)),c.pos=_,c.posMax=D,!0}},67152:(v,g,n)=>{"use strict";var l=n(10949).isSpace;v.exports=function(a,c){var o,d,m,E=a.pos;if(a.src.charCodeAt(E)!==10)return!1;if(o=a.pending.length-1,d=a.posMax,!c)if(o>=0&&a.pending.charCodeAt(o)===32)if(o>=1&&a.pending.charCodeAt(o-1)===32){for(m=o-1;m>=1&&a.pending.charCodeAt(m-1)===32;)m--;a.pending=a.pending.slice(0,m),a.push("hardbreak","br",0)}else a.pending=a.pending.slice(0,-1),a.push("softbreak","br",0);else a.push("softbreak","br",0);for(E++;E<d&&l(a.src.charCodeAt(E));)E++;return a.pos=E,!0}},42142:(v,g,n)=>{"use strict";var l=n(97458),u=n(10949).isWhiteSpace,a=n(10949).isPunctChar,c=n(10949).isMdAsciiPunct;function o(d,m,E,p){this.src=d,this.env=E,this.md=m,this.tokens=p,this.tokens_meta=Array(p.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}o.prototype.pushPending=function(){var d=new l("text","",0);return d.content=this.pending,d.level=this.pendingLevel,this.tokens.push(d),this.pending="",d},o.prototype.push=function(d,m,E){this.pending&&this.pushPending();var p=new l(d,m,E),f=null;return E<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),p.level=this.level,E>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],f={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(p),this.tokens_meta.push(f),p},o.prototype.scanDelims=function(d,m){var E=d,p,f,_,h,C,b,T,R,O,D=!0,M=!0,I=this.posMax,A=this.src.charCodeAt(d);for(p=d>0?this.src.charCodeAt(d-1):32;E<I&&this.src.charCodeAt(E)===A;)E++;return _=E-d,f=E<I?this.src.charCodeAt(E):32,T=c(p)||a(String.fromCharCode(p)),O=c(f)||a(String.fromCharCode(f)),b=u(p),R=u(f),R?D=!1:O&&(b||T||(D=!1)),b?M=!1:T&&(R||O||(M=!1)),m?(h=D,C=M):(h=D&&(!M||T),C=M&&(!D||O)),{can_open:h,can_close:C,length:_}},o.prototype.Token=l,v.exports=o},78496:v=>{"use strict";v.exports.w=function(l,u){var a,c,o,d,m,E=l.pos,p=l.src.charCodeAt(E);if(u||p!==126||(c=l.scanDelims(l.pos,!0),d=c.length,m=String.fromCharCode(p),d<2))return!1;for(d%2&&(o=l.push("text","",0),o.content=m,d--),a=0;a<d;a+=2)o=l.push("text","",0),o.content=m+m,l.delimiters.push({marker:p,length:0,token:l.tokens.length-1,end:-1,open:c.can_open,close:c.can_close});return l.pos+=c.length,!0};function g(n,l){var u,a,c,o,d,m=[],E=l.length;for(u=0;u<E;u++)c=l[u],c.marker===126&&c.end!==-1&&(o=l[c.end],d=n.tokens[c.token],d.type="s_open",d.tag="s",d.nesting=1,d.markup="~~",d.content="",d=n.tokens[o.token],d.type="s_close",d.tag="s",d.nesting=-1,d.markup="~~",d.content="",n.tokens[o.token-1].type==="text"&&n.tokens[o.token-1].content==="~"&&m.push(o.token-1));for(;m.length;){for(u=m.pop(),a=u+1;a<n.tokens.length&&n.tokens[a].type==="s_close";)a++;a--,u!==a&&(d=n.tokens[a],n.tokens[a]=n.tokens[u],n.tokens[u]=d)}}v.exports.g=function(l){var u,a=l.tokens_meta,c=l.tokens_meta.length;for(g(l,l.delimiters),u=0;u<c;u++)a[u]&&a[u].delimiters&&g(l,a[u].delimiters)}},98724:v=>{"use strict";function g(n){switch(n){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}v.exports=function(l,u){for(var a=l.pos;a<l.posMax&&!g(l.src.charCodeAt(a));)a++;return a===l.pos?!1:(u||(l.pending+=l.src.slice(l.pos,a)),l.pos=a,!0)}},89818:v=>{"use strict";v.exports=function(n){var l,u,a=0,c=n.tokens,o=n.tokens.length;for(l=u=0;l<o;l++)c[l].nesting<0&&a--,c[l].level=a,c[l].nesting>0&&a++,c[l].type==="text"&&l+1<o&&c[l+1].type==="text"?c[l+1].content=c[l].content+c[l+1].content:(l!==u&&(c[u]=c[l]),u++);l!==u&&(c.length=u)}},97458:v=>{"use strict";function g(n,l,u){this.type=n,this.tag=l,this.attrs=null,this.map=null,this.nesting=u,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}g.prototype.attrIndex=function(l){var u,a,c;if(!this.attrs)return-1;for(u=this.attrs,a=0,c=u.length;a<c;a++)if(u[a][0]===l)return a;return-1},g.prototype.attrPush=function(l){this.attrs?this.attrs.push(l):this.attrs=[l]},g.prototype.attrSet=function(l,u){var a=this.attrIndex(l),c=[l,u];a<0?this.attrPush(c):this.attrs[a]=c},g.prototype.attrGet=function(l){var u=this.attrIndex(l),a=null;return u>=0&&(a=this.attrs[u][1]),a},g.prototype.attrJoin=function(l,u){var a=this.attrIndex(l);a<0?this.attrPush([l,u]):this.attrs[a][1]=this.attrs[a][1]+" "+u},v.exports=g},70510:v=>{"use strict";var g={};function n(u){var a,c,o=g[u];if(o)return o;for(o=g[u]=[],a=0;a<128;a++)c=String.fromCharCode(a),o.push(c);for(a=0;a<u.length;a++)c=u.charCodeAt(a),o[c]="%"+("0"+c.toString(16).toUpperCase()).slice(-2);return o}function l(u,a){var c;return typeof a!="string"&&(a=l.defaultChars),c=n(a),u.replace(/(%[a-f0-9]{2})+/gi,function(o){var d,m,E,p,f,_,h,C="";for(d=0,m=o.length;d<m;d+=3){if(E=parseInt(o.slice(d+1,d+3),16),E<128){C+=c[E];continue}if((E&224)===192&&d+3<m&&(p=parseInt(o.slice(d+4,d+6),16),(p&192)===128)){h=E<<6&1984|p&63,h<128?C+="\uFFFD\uFFFD":C+=String.fromCharCode(h),d+=3;continue}if((E&240)===224&&d+6<m&&(p=parseInt(o.slice(d+4,d+6),16),f=parseInt(o.slice(d+7,d+9),16),(p&192)===128&&(f&192)===128)){h=E<<12&61440|p<<6&4032|f&63,h<2048||h>=55296&&h<=57343?C+="\uFFFD\uFFFD\uFFFD":C+=String.fromCharCode(h),d+=6;continue}if((E&248)===240&&d+9<m&&(p=parseInt(o.slice(d+4,d+6),16),f=parseInt(o.slice(d+7,d+9),16),_=parseInt(o.slice(d+10,d+12),16),(p&192)===128&&(f&192)===128&&(_&192)===128)){h=E<<18&1835008|p<<12&258048|f<<6&4032|_&63,h<65536||h>1114111?C+="\uFFFD\uFFFD\uFFFD\uFFFD":(h-=65536,C+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),d+=9;continue}C+="\uFFFD"}return C})}l.defaultChars=";/?:@&=+$,#",l.componentChars="",v.exports=l},8074:v=>{"use strict";var g={};function n(u){var a,c,o=g[u];if(o)return o;for(o=g[u]=[],a=0;a<128;a++)c=String.fromCharCode(a),/^[0-9a-z]$/i.test(c)?o.push(c):o.push("%"+("0"+a.toString(16).toUpperCase()).slice(-2));for(a=0;a<u.length;a++)o[u.charCodeAt(a)]=u[a];return o}function l(u,a,c){var o,d,m,E,p,f="";for(typeof a!="string"&&(c=a,a=l.defaultChars),typeof c=="undefined"&&(c=!0),p=n(a),o=0,d=u.length;o<d;o++){if(m=u.charCodeAt(o),c&&m===37&&o+2<d&&/^[0-9a-f]{2}$/i.test(u.slice(o+1,o+3))){f+=u.slice(o,o+3),o+=2;continue}if(m<128){f+=p[m];continue}if(m>=55296&&m<=57343){if(m>=55296&&m<=56319&&o+1<d&&(E=u.charCodeAt(o+1),E>=56320&&E<=57343)){f+=encodeURIComponent(u[o]+u[o+1]),o++;continue}f+="%EF%BF%BD";continue}f+=encodeURIComponent(u[o])}return f}l.defaultChars=";/?:@&=+$,-_.!~*'()#",l.componentChars="-_.!~*'()",v.exports=l},39484:v=>{"use strict";v.exports=function(n){var l="";return l+=n.protocol||"",l+=n.slashes?"//":"",l+=n.auth?n.auth+"@":"",n.hostname&&n.hostname.indexOf(":")!==-1?l+="["+n.hostname+"]":l+=n.hostname||"",l+=n.port?":"+n.port:"",l+=n.pathname||"",l+=n.search||"",l+=n.hash||"",l}},38318:(v,g,n)=>{"use strict";v.exports.encode=n(8074),v.exports.decode=n(70510),v.exports.format=n(39484),v.exports.parse=n(2799)},2799:v=>{"use strict";function g(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["<",">",'"',"`"," ","\r",`
64
64
  `," "],c=["{","}","|","\\","^","`"].concat(a),o=["'"].concat(c),d=["%","/","?",";","#"].concat(o),m=["/","?","#"],E=255,p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function C(b,T){if(b&&b instanceof g)return b;var R=new g;return R.parse(b,T),R}g.prototype.parse=function(b,T){var R,O,D,M,I,A=b;if(A=A.trim(),!T&&b.split("#").length===1){var x=u.exec(A);if(x)return this.pathname=x[1],x[2]&&(this.search=x[2]),this}var L=n.exec(A);if(L&&(L=L[0],D=L.toLowerCase(),this.protocol=L,A=A.substr(L.length)),(T||L||A.match(/^\/\/[^@\/]+@[^@\/]+/))&&(I=A.substr(0,2)==="//",I&&!(L&&_[L])&&(A=A.substr(2),this.slashes=!0)),!_[L]&&(I||L&&!h[L])){var k=-1;for(R=0;R<m.length;R++)M=A.indexOf(m[R]),M!==-1&&(k===-1||M<k)&&(k=M);var U,Y;for(k===-1?Y=A.lastIndexOf("@"):Y=A.lastIndexOf("@",k),Y!==-1&&(U=A.slice(0,Y),A=A.slice(Y+1),this.auth=U),k=-1,R=0;R<d.length;R++)M=A.indexOf(d[R]),M!==-1&&(k===-1||M<k)&&(k=M);k===-1&&(k=A.length),A[k-1]===":"&&k--;var z=A.slice(0,k);A=A.slice(k),this.parseHost(z),this.hostname=this.hostname||"";var B=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!B){var _e=this.hostname.split(/\./);for(R=0,O=_e.length;R<O;R++){var ee=_e[R];if(!!ee&&!ee.match(p)){for(var Z="",J=0,fe=ee.length;J<fe;J++)ee.charCodeAt(J)>127?Z+="x":Z+=ee[J];if(!Z.match(p)){var Re=_e.slice(0,R),De=_e.slice(R+1),Le=ee.match(f);Le&&(Re.push(Le[1]),De.unshift(Le[2])),De.length&&(A=De.join(".")+A),this.hostname=Re.join(".");break}}}}this.hostname.length>E&&(this.hostname=""),B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var He=A.indexOf("#");He!==-1&&(this.hash=A.substr(He),A=A.slice(0,He));var Te=A.indexOf("?");return Te!==-1&&(this.search=A.substr(Te),A=A.slice(0,Te)),A&&(this.pathname=A),h[D]&&this.hostname&&!this.pathname&&(this.pathname=""),this},g.prototype.parseHost=function(b){var T=l.exec(b);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),b=b.substr(0,b.length-T.length)),b&&(this.hostname=b)},v.exports=C},2432:v=>{"use strict";var g=Number.isNaN||function(c){return typeof c=="number"&&c!==c};function n(a,c){return!!(a===c||g(a)&&g(c))}function l(a,c){if(a.length!==c.length)return!1;for(var o=0;o<a.length;o++)if(!n(a[o],c[o]))return!1;return!0}function u(a,c){c===void 0&&(c=l);var o,d=[],m,E=!1;function p(){for(var f=[],_=0;_<arguments.length;_++)f[_]=arguments[_];return E&&o===this&&c(f,d)||(m=a.apply(this,f),E=!0,o=this,d=f),m}return p}v.exports=u},17991:function(v,g,n){var l=n(98399),u,a,c;(function(o,d){a=[],u=d,c=typeof u=="function"?u.apply(g,a):u,c!==void 0&&(v.exports=c)})(this,function(){return function(o){function d(k){return k===" "||k===" "||k===`
65
- `||k==="\f"||k==="\r"}function m(k){var U,Y=k.exec(o.substring(I));if(Y)return U=Y[0],I+=U.length,U}for(var E=o.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,_=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,C=/^\d+$/,b=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,T,R,O,D,M,I=0,A=[];;){if(m(f),I>=E)return A;T=m(_),R=[],T.slice(-1)===","?(T=T.replace(h,""),L()):x()}function x(){for(m(p),O="",D="in descriptor";;){if(M=o.charAt(I),D==="in descriptor")if(d(M))O&&(R.push(O),O="",D="after descriptor");else if(M===","){I+=1,O&&R.push(O),L();return}else if(M==="(")O=O+M,D="in parens";else if(M===""){O&&R.push(O),L();return}else O=O+M;else if(D==="in parens")if(M===")")O=O+M,D="in descriptor";else if(M===""){R.push(O),L();return}else O=O+M;else if(D==="after descriptor"&&!d(M))if(M===""){L();return}else D="in descriptor",I-=1;I+=1}}function L(){var k=!1,U,Y,z,B,_e={},ee,Z,J,fe,Re;for(B=0;B<R.length;B++)ee=R[B],Z=ee[ee.length-1],J=ee.substring(0,ee.length-1),fe=parseInt(J,10),Re=parseFloat(J),C.test(J)&&Z==="w"?((U||Y)&&(k=!0),fe===0?k=!0:U=fe):b.test(J)&&Z==="x"?((U||Y||z)&&(k=!0),Re<0?k=!0:Y=Re):C.test(J)&&Z==="h"?((z||Y)&&(k=!0),fe===0?k=!0:z=fe):k=!0;k?l&&l.log&&l.log("Invalid srcset descriptor found in '"+o+"' at '"+ee+"'."):(_e.url=T,U&&(_e.w=U),Y&&(_e.d=Y),z&&(_e.h=z),A.push(_e))}}})},85186:v=>{var g=String,n=function(){return{isColorSupported:!1,reset:g,bold:g,dim:g,italic:g,underline:g,inverse:g,hidden:g,strikethrough:g,black:g,red:g,green:g,yellow:g,blue:g,magenta:g,cyan:g,white:g,gray:g,bgBlack:g,bgRed:g,bgGreen:g,bgYellow:g,bgBlue:g,bgMagenta:g,bgCyan:g,bgWhite:g}};v.exports=n(),v.exports.createColors=n},62234:(v,g,n)=>{"use strict";n.r(g),n.d(g,{decode:()=>U,default:()=>ee,encode:()=>Y,toASCII:()=>B,toUnicode:()=>z,ucs2decode:()=>I,ucs2encode:()=>A});const l=2147483647,u=36,a=1,c=26,o=38,d=700,m=72,E=128,p="-",f=/^xn--/,_=/[^\0-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,C={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=u-a,T=Math.floor,R=String.fromCharCode;function O(Z){throw new RangeError(C[Z])}function D(Z,J){const fe=[];let Re=Z.length;for(;Re--;)fe[Re]=J(Z[Re]);return fe}function M(Z,J){const fe=Z.split("@");let Re="";fe.length>1&&(Re=fe[0]+"@",Z=fe[1]),Z=Z.replace(h,".");const De=Z.split("."),Le=D(De,J).join(".");return Re+Le}function I(Z){const J=[];let fe=0;const Re=Z.length;for(;fe<Re;){const De=Z.charCodeAt(fe++);if(De>=55296&&De<=56319&&fe<Re){const Le=Z.charCodeAt(fe++);(Le&64512)==56320?J.push(((De&1023)<<10)+(Le&1023)+65536):(J.push(De),fe--)}else J.push(De)}return J}const A=Z=>String.fromCodePoint(...Z),x=function(Z){return Z-48<10?Z-22:Z-65<26?Z-65:Z-97<26?Z-97:u},L=function(Z,J){return Z+22+75*(Z<26)-((J!=0)<<5)},k=function(Z,J,fe){let Re=0;for(Z=fe?T(Z/d):Z>>1,Z+=T(Z/J);Z>b*c>>1;Re+=u)Z=T(Z/b);return T(Re+(b+1)*Z/(Z+o))},U=function(Z){const J=[],fe=Z.length;let Re=0,De=E,Le=m,He=Z.lastIndexOf(p);He<0&&(He=0);for(let Te=0;Te<He;++Te)Z.charCodeAt(Te)>=128&&O("not-basic"),J.push(Z.charCodeAt(Te));for(let Te=He>0?He+1:0;Te<fe;){let et=Re;for(let G=1,we=u;;we+=u){Te>=fe&&O("invalid-input");const tt=x(Z.charCodeAt(Te++));(tt>=u||tt>T((l-Re)/G))&&O("overflow"),Re+=tt*G;const it=we<=Le?a:we>=Le+c?c:we-Le;if(tt<it)break;const ct=u-it;G>T(l/ct)&&O("overflow"),G*=ct}const le=J.length+1;Le=k(Re-et,le,et==0),T(Re/le)>l-De&&O("overflow"),De+=T(Re/le),Re%=le,J.splice(Re++,0,De)}return String.fromCodePoint(...J)},Y=function(Z){const J=[];Z=I(Z);let fe=Z.length,Re=E,De=0,Le=m;for(const et of Z)et<128&&J.push(R(et));let He=J.length,Te=He;for(He&&J.push(p);Te<fe;){let et=l;for(const G of Z)G>=Re&&G<et&&(et=G);const le=Te+1;et-Re>T((l-De)/le)&&O("overflow"),De+=(et-Re)*le,Re=et;for(const G of Z)if(G<Re&&++De>l&&O("overflow"),G==Re){let we=De;for(let tt=u;;tt+=u){const it=tt<=Le?a:tt>=Le+c?c:tt-Le;if(we<it)break;const ct=we-it,pt=u-it;J.push(R(L(it+ct%pt,0))),we=T(ct/pt)}J.push(R(L(we,0))),Le=k(De,le,Te==He),De=0,++Te}++De,++Re}return J.join("")},z=function(Z){return M(Z,function(J){return f.test(J)?U(J.slice(4).toLowerCase()):J})},B=function(Z){return M(Z,function(J){return _.test(J)?"xn--"+Y(J):J})},ee={version:"2.1.0",ucs2:{decode:I,encode:A},decode:U,encode:Y,toASCII:B,toUnicode:z}},47533:function(v,g,n){(function(l,u){u(g,n(32735))})(this,function(l,u){"use strict";function a(h){if(h&&h.__esModule)return h;var C=Object.create(null);return h&&Object.keys(h).forEach(function(b){if(b!=="default"){var T=Object.getOwnPropertyDescriptor(h,b);Object.defineProperty(C,b,T.get?T:{enumerable:!0,get:function(){return h[b]}})}}),C.default=h,Object.freeze(C)}var c=a(u);function o(h,C){return o=Object.setPrototypeOf||function(T,R){return T.__proto__=R,T},o(h,C)}function d(h,C){h.prototype=Object.create(C.prototype),h.prototype.constructor=h,o(h,C)}var m=function(C,b){return C===void 0&&(C=[]),b===void 0&&(b=[]),C.length!==b.length||C.some(function(T,R){return!Object.is(T,b[R])})},E={error:null},p=function(h){d(C,h);function C(){for(var T,R=arguments.length,O=new Array(R),D=0;D<R;D++)O[D]=arguments[D];return T=h.call.apply(h,[this].concat(O))||this,T.state=E,T.resetErrorBoundary=function(){for(var M,I=arguments.length,A=new Array(I),x=0;x<I;x++)A[x]=arguments[x];T.props.onReset==null||(M=T.props).onReset.apply(M,A),T.reset()},T}C.getDerivedStateFromError=function(R){return{error:R}};var b=C.prototype;return b.reset=function(){this.setState(E)},b.componentDidCatch=function(R,O){var D,M;(D=(M=this.props).onError)==null||D.call(M,R,O)},b.componentDidUpdate=function(R,O){var D=this.state.error,M=this.props.resetKeys;if(D!==null&&O.error!==null&&m(R.resetKeys,M)){var I,A;(I=(A=this.props).onResetKeysChange)==null||I.call(A,R.resetKeys,M),this.reset()}},b.render=function(){var R=this.state.error,O=this.props,D=O.fallbackRender,M=O.FallbackComponent,I=O.fallback;if(R!==null){var A={error:R,resetErrorBoundary:this.resetErrorBoundary};if(c.isValidElement(I))return I;if(typeof D=="function")return D(A);if(M)return c.createElement(M,A);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},C}(c.Component);function f(h,C){var b=function(O){return c.createElement(p,C,c.createElement(h,O))},T=h.displayName||h.name||"Unknown";return b.displayName="withErrorBoundary("+T+")",b}function _(h){var C=c.useState(null),b=C[0],T=C[1];if(h!=null)throw h;if(b!=null)throw b;return T}l.ErrorBoundary=p,l.useErrorHandler=_,l.withErrorBoundary=f,Object.defineProperty(l,"__esModule",{value:!0})})},54450:(v,g,n)=>{"use strict";var l;l={value:!0};function u(ae){return ae&&typeof ae=="object"&&"default"in ae?ae.default:ae}var a=u(n(448)),c=u(n(56121)),o=u(n(42323)),d=u(n(2432)),m=n(32735),E=u(n(66820)),p=typeof performance=="object"&&typeof performance.now=="function",f=p?function(){return performance.now()}:function(){return Date.now()};function _(ae){cancelAnimationFrame(ae.id)}function h(ae,V){var K=f();function Q(){f()-K>=V?ae.call(null):j.id=requestAnimationFrame(Q)}var j={id:requestAnimationFrame(Q)};return j}var C=-1;function b(ae){if(ae===void 0&&(ae=!1),C===-1||ae){var V=document.createElement("div"),K=V.style;K.width="50px",K.height="50px",K.overflow="scroll",document.body.appendChild(V),C=V.offsetWidth-V.clientWidth,document.body.removeChild(V)}return C}var T=null;function R(ae){if(ae===void 0&&(ae=!1),T===null||ae){var V=document.createElement("div"),K=V.style;K.width="50px",K.height="50px",K.overflow="scroll",K.direction="rtl";var Q=document.createElement("div"),j=Q.style;return j.width="100px",j.height="100px",V.appendChild(Q),document.body.appendChild(V),V.scrollLeft>0?T="positive-descending":(V.scrollLeft=1,V.scrollLeft===0?T="negative":T="positive-ascending"),document.body.removeChild(V),T}return T}var O=150,D=function(V){var K=V.columnIndex,Q=V.data,j=V.rowIndex;return j+":"+K},M=null,I=null,A=null;function x(ae){var V,K=ae.getColumnOffset,Q=ae.getColumnStartIndexForOffset,j=ae.getColumnStopIndexForStartIndex,se=ae.getColumnWidth,pe=ae.getEstimatedTotalHeight,ge=ae.getEstimatedTotalWidth,be=ae.getOffsetForColumnAndAlignment,We=ae.getOffsetForRowAndAlignment,ke=ae.getRowHeight,Ze=ae.getRowOffset,Fe=ae.getRowStartIndexForOffset,ut=ae.getRowStopIndexForStartIndex,_t=ae.initInstanceProps,te=ae.shouldResetStyleCacheOnItemSizeChange,Qe=ae.validateProps;return V=function(ue){o(rt,ue);function rt(Je){var ne;return ne=ue.call(this,Je)||this,ne._instanceProps=_t(ne.props,c(ne)),ne._resetIsScrollingTimeoutId=null,ne._outerRef=void 0,ne.state={instance:c(ne),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:typeof ne.props.initialScrollLeft=="number"?ne.props.initialScrollLeft:0,scrollTop:typeof ne.props.initialScrollTop=="number"?ne.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},ne._callOnItemsRendered=void 0,ne._callOnItemsRendered=d(function(Pe,W,X,oe,Ee,Be,ze,nt){return ne.props.onItemsRendered({overscanColumnStartIndex:Pe,overscanColumnStopIndex:W,overscanRowStartIndex:X,overscanRowStopIndex:oe,visibleColumnStartIndex:Ee,visibleColumnStopIndex:Be,visibleRowStartIndex:ze,visibleRowStopIndex:nt})}),ne._callOnScroll=void 0,ne._callOnScroll=d(function(Pe,W,X,oe,Ee){return ne.props.onScroll({horizontalScrollDirection:X,scrollLeft:Pe,scrollTop:W,verticalScrollDirection:oe,scrollUpdateWasRequested:Ee})}),ne._getItemStyle=void 0,ne._getItemStyle=function(Pe,W){var X=ne.props,oe=X.columnWidth,Ee=X.direction,Be=X.rowHeight,ze=ne._getItemStyleCache(te&&oe,te&&Ee,te&&Be),nt=Pe+":"+W,he;if(ze.hasOwnProperty(nt))he=ze[nt];else{var Oe=K(ne.props,W,ne._instanceProps),xe=Ee==="rtl";ze[nt]=he={position:"absolute",left:xe?void 0:Oe,right:xe?Oe:void 0,top:Ze(ne.props,Pe,ne._instanceProps),height:ke(ne.props,Pe,ne._instanceProps),width:se(ne.props,W,ne._instanceProps)}}return he},ne._getItemStyleCache=void 0,ne._getItemStyleCache=d(function(Pe,W,X){return{}}),ne._onScroll=function(Pe){var W=Pe.currentTarget,X=W.clientHeight,oe=W.clientWidth,Ee=W.scrollLeft,Be=W.scrollTop,ze=W.scrollHeight,nt=W.scrollWidth;ne.setState(function(he){if(he.scrollLeft===Ee&&he.scrollTop===Be)return null;var Oe=ne.props.direction,xe=Ee;if(Oe==="rtl")switch(R()){case"negative":xe=-Ee;break;case"positive-descending":xe=nt-oe-Ee;break}xe=Math.max(0,Math.min(xe,nt-oe));var Ve=Math.max(0,Math.min(Be,ze-X));return{isScrolling:!0,horizontalScrollDirection:he.scrollLeft<Ee?"forward":"backward",scrollLeft:xe,scrollTop:Ve,verticalScrollDirection:he.scrollTop<Be?"forward":"backward",scrollUpdateWasRequested:!1}},ne._resetIsScrollingDebounced)},ne._outerRefSetter=function(Pe){var W=ne.props.outerRef;ne._outerRef=Pe,typeof W=="function"?W(Pe):W!=null&&typeof W=="object"&&W.hasOwnProperty("current")&&(W.current=Pe)},ne._resetIsScrollingDebounced=function(){ne._resetIsScrollingTimeoutId!==null&&_(ne._resetIsScrollingTimeoutId),ne._resetIsScrollingTimeoutId=h(ne._resetIsScrolling,O)},ne._resetIsScrolling=function(){ne._resetIsScrollingTimeoutId=null,ne.setState({isScrolling:!1},function(){ne._getItemStyleCache(-1)})},ne}rt.getDerivedStateFromProps=function(ne,Pe){return L(ne,Pe),Qe(ne),null};var je=rt.prototype;return je.scrollTo=function(ne){var Pe=ne.scrollLeft,W=ne.scrollTop;Pe!==void 0&&(Pe=Math.max(0,Pe)),W!==void 0&&(W=Math.max(0,W)),this.setState(function(X){return Pe===void 0&&(Pe=X.scrollLeft),W===void 0&&(W=X.scrollTop),X.scrollLeft===Pe&&X.scrollTop===W?null:{horizontalScrollDirection:X.scrollLeft<Pe?"forward":"backward",scrollLeft:Pe,scrollTop:W,scrollUpdateWasRequested:!0,verticalScrollDirection:X.scrollTop<W?"forward":"backward"}},this._resetIsScrollingDebounced)},je.scrollToItem=function(ne){var Pe=ne.align,W=Pe===void 0?"auto":Pe,X=ne.columnIndex,oe=ne.rowIndex,Ee=this.props,Be=Ee.columnCount,ze=Ee.height,nt=Ee.rowCount,he=Ee.width,Oe=this.state,xe=Oe.scrollLeft,Ve=Oe.scrollTop,at=b();X!==void 0&&(X=Math.max(0,Math.min(X,Be-1))),oe!==void 0&&(oe=Math.max(0,Math.min(oe,nt-1)));var Ot=pe(this.props,this._instanceProps),It=ge(this.props,this._instanceProps),Xt=It>he?at:0,_n=Ot>ze?at:0;this.scrollTo({scrollLeft:X!==void 0?be(this.props,X,W,xe,this._instanceProps,_n):xe,scrollTop:oe!==void 0?We(this.props,oe,W,Ve,this._instanceProps,Xt):Ve})},je.componentDidMount=function(){var ne=this.props,Pe=ne.initialScrollLeft,W=ne.initialScrollTop;if(this._outerRef!=null){var X=this._outerRef;typeof Pe=="number"&&(X.scrollLeft=Pe),typeof W=="number"&&(X.scrollTop=W)}this._callPropsCallbacks()},je.componentDidUpdate=function(){var ne=this.props.direction,Pe=this.state,W=Pe.scrollLeft,X=Pe.scrollTop,oe=Pe.scrollUpdateWasRequested;if(oe&&this._outerRef!=null){var Ee=this._outerRef;if(ne==="rtl")switch(R()){case"negative":Ee.scrollLeft=-W;break;case"positive-ascending":Ee.scrollLeft=W;break;default:var Be=Ee.clientWidth,ze=Ee.scrollWidth;Ee.scrollLeft=ze-Be-W;break}else Ee.scrollLeft=Math.max(0,W);Ee.scrollTop=Math.max(0,X)}this._callPropsCallbacks()},je.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&_(this._resetIsScrollingTimeoutId)},je.render=function(){var ne=this.props,Pe=ne.children,W=ne.className,X=ne.columnCount,oe=ne.direction,Ee=ne.height,Be=ne.innerRef,ze=ne.innerElementType,nt=ne.innerTagName,he=ne.itemData,Oe=ne.itemKey,xe=Oe===void 0?D:Oe,Ve=ne.outerElementType,at=ne.outerTagName,Ot=ne.rowCount,It=ne.style,Xt=ne.useIsScrolling,_n=ne.width,Zt=this.state.isScrolling,Kt=this._getHorizontalRangeToRender(),sn=Kt[0],fn=Kt[1],Tn=this._getVerticalRangeToRender(),Jn=Tn[0],gn=Tn[1],Nn=[];if(X>0&&Ot)for(var Ht=Jn;Ht<=gn;Ht++)for(var En=sn;En<=fn;En++)Nn.push(m.createElement(Pe,{columnIndex:En,data:he,isScrolling:Xt?Zt:void 0,key:xe({columnIndex:En,data:he,rowIndex:Ht}),rowIndex:Ht,style:this._getItemStyle(Ht,En)}));var pn=pe(this.props,this._instanceProps),Mn=ge(this.props,this._instanceProps);return m.createElement(Ve||at||"div",{className:W,onScroll:this._onScroll,ref:this._outerRefSetter,style:a({position:"relative",height:Ee,width:_n,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:oe},It)},m.createElement(ze||nt||"div",{children:Nn,ref:Be,style:{height:pn,pointerEvents:Zt?"none":void 0,width:Mn}}))},je._callPropsCallbacks=function(){var ne=this.props,Pe=ne.columnCount,W=ne.onItemsRendered,X=ne.onScroll,oe=ne.rowCount;if(typeof W=="function"&&Pe>0&&oe>0){var Ee=this._getHorizontalRangeToRender(),Be=Ee[0],ze=Ee[1],nt=Ee[2],he=Ee[3],Oe=this._getVerticalRangeToRender(),xe=Oe[0],Ve=Oe[1],at=Oe[2],Ot=Oe[3];this._callOnItemsRendered(Be,ze,xe,Ve,nt,he,at,Ot)}if(typeof X=="function"){var It=this.state,Xt=It.horizontalScrollDirection,_n=It.scrollLeft,Zt=It.scrollTop,Kt=It.scrollUpdateWasRequested,sn=It.verticalScrollDirection;this._callOnScroll(_n,Zt,Xt,sn,Kt)}},je._getHorizontalRangeToRender=function(){var ne=this.props,Pe=ne.columnCount,W=ne.overscanColumnCount,X=ne.overscanColumnsCount,oe=ne.overscanCount,Ee=ne.rowCount,Be=this.state,ze=Be.horizontalScrollDirection,nt=Be.isScrolling,he=Be.scrollLeft,Oe=W||X||oe||1;if(Pe===0||Ee===0)return[0,0,0,0];var xe=Q(this.props,he,this._instanceProps),Ve=j(this.props,xe,he,this._instanceProps),at=!nt||ze==="backward"?Math.max(1,Oe):1,Ot=!nt||ze==="forward"?Math.max(1,Oe):1;return[Math.max(0,xe-at),Math.max(0,Math.min(Pe-1,Ve+Ot)),xe,Ve]},je._getVerticalRangeToRender=function(){var ne=this.props,Pe=ne.columnCount,W=ne.overscanCount,X=ne.overscanRowCount,oe=ne.overscanRowsCount,Ee=ne.rowCount,Be=this.state,ze=Be.isScrolling,nt=Be.verticalScrollDirection,he=Be.scrollTop,Oe=X||oe||W||1;if(Pe===0||Ee===0)return[0,0,0,0];var xe=Fe(this.props,he,this._instanceProps),Ve=ut(this.props,xe,he,this._instanceProps),at=!ze||nt==="backward"?Math.max(1,Oe):1,Ot=!ze||nt==="forward"?Math.max(1,Oe):1;return[Math.max(0,xe-at),Math.max(0,Math.min(Ee-1,Ve+Ot)),xe,Ve]},rt}(m.PureComponent),V.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},V}var L=function(V,K){var Q=V.children,j=V.direction,se=V.height,pe=V.innerTagName,ge=V.outerTagName,be=V.overscanColumnsCount,We=V.overscanCount,ke=V.overscanRowsCount,Ze=V.width,Fe=K.instance},k=50,U=function(V,K){var Q=V.rowCount,j=K.rowMetadataMap,se=K.estimatedRowHeight,pe=K.lastMeasuredRowIndex,ge=0;if(pe>=Q&&(pe=Q-1),pe>=0){var be=j[pe];ge=be.offset+be.size}var We=Q-pe-1,ke=We*se;return ge+ke},Y=function(V,K){var Q=V.columnCount,j=K.columnMetadataMap,se=K.estimatedColumnWidth,pe=K.lastMeasuredColumnIndex,ge=0;if(pe>=Q&&(pe=Q-1),pe>=0){var be=j[pe];ge=be.offset+be.size}var We=Q-pe-1,ke=We*se;return ge+ke},z=function(V,K,Q,j){var se,pe,ge;if(V==="column"?(se=j.columnMetadataMap,pe=K.columnWidth,ge=j.lastMeasuredColumnIndex):(se=j.rowMetadataMap,pe=K.rowHeight,ge=j.lastMeasuredRowIndex),Q>ge){var be=0;if(ge>=0){var We=se[ge];be=We.offset+We.size}for(var ke=ge+1;ke<=Q;ke++){var Ze=pe(ke);se[ke]={offset:be,size:Ze},be+=Ze}V==="column"?j.lastMeasuredColumnIndex=Q:j.lastMeasuredRowIndex=Q}return se[Q]},B=function(V,K,Q,j){var se,pe;V==="column"?(se=Q.columnMetadataMap,pe=Q.lastMeasuredColumnIndex):(se=Q.rowMetadataMap,pe=Q.lastMeasuredRowIndex);var ge=pe>0?se[pe].offset:0;return ge>=j?_e(V,K,Q,pe,0,j):ee(V,K,Q,Math.max(0,pe),j)},_e=function(V,K,Q,j,se,pe){for(;se<=j;){var ge=se+Math.floor((j-se)/2),be=z(V,K,ge,Q).offset;if(be===pe)return ge;be<pe?se=ge+1:be>pe&&(j=ge-1)}return se>0?se-1:0},ee=function(V,K,Q,j,se){for(var pe=V==="column"?K.columnCount:K.rowCount,ge=1;j<pe&&z(V,K,j,Q).offset<se;)j+=ge,ge*=2;return _e(V,K,Q,Math.min(j,pe-1),Math.floor(j/2),se)},Z=function(V,K,Q,j,se,pe,ge){var be=V==="column"?K.width:K.height,We=z(V,K,Q,pe),ke=V==="column"?Y(K,pe):U(K,pe),Ze=Math.max(0,Math.min(ke-be,We.offset)),Fe=Math.max(0,We.offset-be+ge+We.size);switch(j==="smart"&&(se>=Fe-be&&se<=Ze+be?j="auto":j="center"),j){case"start":return Ze;case"end":return Fe;case"center":return Math.round(Fe+(Ze-Fe)/2);case"auto":default:return se>=Fe&&se<=Ze?se:Fe>Ze||se<Fe?Fe:Ze}},J=x({getColumnOffset:function(V,K,Q){return z("column",V,K,Q).offset},getColumnStartIndexForOffset:function(V,K,Q){return B("column",V,Q,K)},getColumnStopIndexForStartIndex:function(V,K,Q,j){for(var se=V.columnCount,pe=V.width,ge=z("column",V,K,j),be=Q+pe,We=ge.offset+ge.size,ke=K;ke<se-1&&We<be;)ke++,We+=z("column",V,ke,j).size;return ke},getColumnWidth:function(V,K,Q){return Q.columnMetadataMap[K].size},getEstimatedTotalHeight:U,getEstimatedTotalWidth:Y,getOffsetForColumnAndAlignment:function(V,K,Q,j,se,pe){return Z("column",V,K,Q,j,se,pe)},getOffsetForRowAndAlignment:function(V,K,Q,j,se,pe){return Z("row",V,K,Q,j,se,pe)},getRowOffset:function(V,K,Q){return z("row",V,K,Q).offset},getRowHeight:function(V,K,Q){return Q.rowMetadataMap[K].size},getRowStartIndexForOffset:function(V,K,Q){return B("row",V,Q,K)},getRowStopIndexForStartIndex:function(V,K,Q,j){for(var se=V.rowCount,pe=V.height,ge=z("row",V,K,j),be=Q+pe,We=ge.offset+ge.size,ke=K;ke<se-1&&We<be;)ke++,We+=z("row",V,ke,j).size;return ke},initInstanceProps:function(V,K){var Q=V,j=Q.estimatedColumnWidth,se=Q.estimatedRowHeight,pe={columnMetadataMap:{},estimatedColumnWidth:j||k,estimatedRowHeight:se||k,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return K.resetAfterColumnIndex=function(ge,be){be===void 0&&(be=!0),K.resetAfterIndices({columnIndex:ge,shouldForceUpdate:be})},K.resetAfterRowIndex=function(ge,be){be===void 0&&(be=!0),K.resetAfterIndices({rowIndex:ge,shouldForceUpdate:be})},K.resetAfterIndices=function(ge){var be=ge.columnIndex,We=ge.rowIndex,ke=ge.shouldForceUpdate,Ze=ke===void 0?!0:ke;typeof be=="number"&&(pe.lastMeasuredColumnIndex=Math.min(pe.lastMeasuredColumnIndex,be-1)),typeof We=="number"&&(pe.lastMeasuredRowIndex=Math.min(pe.lastMeasuredRowIndex,We-1)),K._getItemStyleCache(-1),Ze&&K.forceUpdate()},pe},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(V){var K=V.columnWidth,Q=V.rowHeight}}),fe=150,Re=function(V,K){return V},De=null,Le=null;function He(ae){var V,K=ae.getItemOffset,Q=ae.getEstimatedTotalSize,j=ae.getItemSize,se=ae.getOffsetForIndexAndAlignment,pe=ae.getStartIndexForOffset,ge=ae.getStopIndexForStartIndex,be=ae.initInstanceProps,We=ae.shouldResetStyleCacheOnItemSizeChange,ke=ae.validateProps;return V=function(Ze){o(Fe,Ze);function Fe(_t){var te;return te=Ze.call(this,_t)||this,te._instanceProps=be(te.props,c(te)),te._outerRef=void 0,te._resetIsScrollingTimeoutId=null,te.state={instance:c(te),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof te.props.initialScrollOffset=="number"?te.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},te._callOnItemsRendered=void 0,te._callOnItemsRendered=d(function(Qe,ue,rt,je){return te.props.onItemsRendered({overscanStartIndex:Qe,overscanStopIndex:ue,visibleStartIndex:rt,visibleStopIndex:je})}),te._callOnScroll=void 0,te._callOnScroll=d(function(Qe,ue,rt){return te.props.onScroll({scrollDirection:Qe,scrollOffset:ue,scrollUpdateWasRequested:rt})}),te._getItemStyle=void 0,te._getItemStyle=function(Qe){var ue=te.props,rt=ue.direction,je=ue.itemSize,Je=ue.layout,ne=te._getItemStyleCache(We&&je,We&&Je,We&&rt),Pe;if(ne.hasOwnProperty(Qe))Pe=ne[Qe];else{var W=K(te.props,Qe,te._instanceProps),X=j(te.props,Qe,te._instanceProps),oe=rt==="horizontal"||Je==="horizontal",Ee=rt==="rtl",Be=oe?W:0;ne[Qe]=Pe={position:"absolute",left:Ee?void 0:Be,right:Ee?Be:void 0,top:oe?0:W,height:oe?"100%":X,width:oe?X:"100%"}}return Pe},te._getItemStyleCache=void 0,te._getItemStyleCache=d(function(Qe,ue,rt){return{}}),te._onScrollHorizontal=function(Qe){var ue=Qe.currentTarget,rt=ue.clientWidth,je=ue.scrollLeft,Je=ue.scrollWidth;te.setState(function(ne){if(ne.scrollOffset===je)return null;var Pe=te.props.direction,W=je;if(Pe==="rtl")switch(R()){case"negative":W=-je;break;case"positive-descending":W=Je-rt-je;break}return W=Math.max(0,Math.min(W,Je-rt)),{isScrolling:!0,scrollDirection:ne.scrollOffset<je?"forward":"backward",scrollOffset:W,scrollUpdateWasRequested:!1}},te._resetIsScrollingDebounced)},te._onScrollVertical=function(Qe){var ue=Qe.currentTarget,rt=ue.clientHeight,je=ue.scrollHeight,Je=ue.scrollTop;te.setState(function(ne){if(ne.scrollOffset===Je)return null;var Pe=Math.max(0,Math.min(Je,je-rt));return{isScrolling:!0,scrollDirection:ne.scrollOffset<Pe?"forward":"backward",scrollOffset:Pe,scrollUpdateWasRequested:!1}},te._resetIsScrollingDebounced)},te._outerRefSetter=function(Qe){var ue=te.props.outerRef;te._outerRef=Qe,typeof ue=="function"?ue(Qe):ue!=null&&typeof ue=="object"&&ue.hasOwnProperty("current")&&(ue.current=Qe)},te._resetIsScrollingDebounced=function(){te._resetIsScrollingTimeoutId!==null&&_(te._resetIsScrollingTimeoutId),te._resetIsScrollingTimeoutId=h(te._resetIsScrolling,fe)},te._resetIsScrolling=function(){te._resetIsScrollingTimeoutId=null,te.setState({isScrolling:!1},function(){te._getItemStyleCache(-1,null)})},te}Fe.getDerivedStateFromProps=function(te,Qe){return Te(te,Qe),ke(te),null};var ut=Fe.prototype;return ut.scrollTo=function(te){te=Math.max(0,te),this.setState(function(Qe){return Qe.scrollOffset===te?null:{scrollDirection:Qe.scrollOffset<te?"forward":"backward",scrollOffset:te,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},ut.scrollToItem=function(te,Qe){Qe===void 0&&(Qe="auto");var ue=this.props.itemCount,rt=this.state.scrollOffset;te=Math.max(0,Math.min(te,ue-1)),this.scrollTo(se(this.props,te,Qe,rt,this._instanceProps))},ut.componentDidMount=function(){var te=this.props,Qe=te.direction,ue=te.initialScrollOffset,rt=te.layout;if(typeof ue=="number"&&this._outerRef!=null){var je=this._outerRef;Qe==="horizontal"||rt==="horizontal"?je.scrollLeft=ue:je.scrollTop=ue}this._callPropsCallbacks()},ut.componentDidUpdate=function(){var te=this.props,Qe=te.direction,ue=te.layout,rt=this.state,je=rt.scrollOffset,Je=rt.scrollUpdateWasRequested;if(Je&&this._outerRef!=null){var ne=this._outerRef;if(Qe==="horizontal"||ue==="horizontal")if(Qe==="rtl")switch(R()){case"negative":ne.scrollLeft=-je;break;case"positive-ascending":ne.scrollLeft=je;break;default:var Pe=ne.clientWidth,W=ne.scrollWidth;ne.scrollLeft=W-Pe-je;break}else ne.scrollLeft=je;else ne.scrollTop=je}this._callPropsCallbacks()},ut.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&_(this._resetIsScrollingTimeoutId)},ut.render=function(){var te=this.props,Qe=te.children,ue=te.className,rt=te.direction,je=te.height,Je=te.innerRef,ne=te.innerElementType,Pe=te.innerTagName,W=te.itemCount,X=te.itemData,oe=te.itemKey,Ee=oe===void 0?Re:oe,Be=te.layout,ze=te.outerElementType,nt=te.outerTagName,he=te.style,Oe=te.useIsScrolling,xe=te.width,Ve=this.state.isScrolling,at=rt==="horizontal"||Be==="horizontal",Ot=at?this._onScrollHorizontal:this._onScrollVertical,It=this._getRangeToRender(),Xt=It[0],_n=It[1],Zt=[];if(W>0)for(var Kt=Xt;Kt<=_n;Kt++)Zt.push(m.createElement(Qe,{data:X,key:Ee(Kt,X),index:Kt,isScrolling:Oe?Ve:void 0,style:this._getItemStyle(Kt)}));var sn=Q(this.props,this._instanceProps);return m.createElement(ze||nt||"div",{className:ue,onScroll:Ot,ref:this._outerRefSetter,style:a({position:"relative",height:je,width:xe,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:rt},he)},m.createElement(ne||Pe||"div",{children:Zt,ref:Je,style:{height:at?"100%":sn,pointerEvents:Ve?"none":void 0,width:at?sn:"100%"}}))},ut._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var te=this.props.itemCount;if(te>0){var Qe=this._getRangeToRender(),ue=Qe[0],rt=Qe[1],je=Qe[2],Je=Qe[3];this._callOnItemsRendered(ue,rt,je,Je)}}if(typeof this.props.onScroll=="function"){var ne=this.state,Pe=ne.scrollDirection,W=ne.scrollOffset,X=ne.scrollUpdateWasRequested;this._callOnScroll(Pe,W,X)}},ut._getRangeToRender=function(){var te=this.props,Qe=te.itemCount,ue=te.overscanCount,rt=this.state,je=rt.isScrolling,Je=rt.scrollDirection,ne=rt.scrollOffset;if(Qe===0)return[0,0,0,0];var Pe=pe(this.props,ne,this._instanceProps),W=ge(this.props,Pe,ne,this._instanceProps),X=!je||Je==="backward"?Math.max(1,ue):1,oe=!je||Je==="forward"?Math.max(1,ue):1;return[Math.max(0,Pe-X),Math.max(0,Math.min(Qe-1,W+oe)),Pe,W]},Fe}(m.PureComponent),V.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},V}var Te=function(V,K){var Q=V.children,j=V.direction,se=V.height,pe=V.layout,ge=V.innerTagName,be=V.outerTagName,We=V.width,ke=K.instance;if(!1)var Ze},et=50,le=function(V,K,Q){var j=V,se=j.itemSize,pe=Q.itemMetadataMap,ge=Q.lastMeasuredIndex;if(K>ge){var be=0;if(ge>=0){var We=pe[ge];be=We.offset+We.size}for(var ke=ge+1;ke<=K;ke++){var Ze=se(ke);pe[ke]={offset:be,size:Ze},be+=Ze}Q.lastMeasuredIndex=K}return pe[K]},G=function(V,K,Q){var j=K.itemMetadataMap,se=K.lastMeasuredIndex,pe=se>0?j[se].offset:0;return pe>=Q?we(V,K,se,0,Q):tt(V,K,Math.max(0,se),Q)},we=function(V,K,Q,j,se){for(;j<=Q;){var pe=j+Math.floor((Q-j)/2),ge=le(V,pe,K).offset;if(ge===se)return pe;ge<se?j=pe+1:ge>se&&(Q=pe-1)}return j>0?j-1:0},tt=function(V,K,Q,j){for(var se=V.itemCount,pe=1;Q<se&&le(V,Q,K).offset<j;)Q+=pe,pe*=2;return we(V,K,Math.min(Q,se-1),Math.floor(Q/2),j)},it=function(V,K){var Q=V.itemCount,j=K.itemMetadataMap,se=K.estimatedItemSize,pe=K.lastMeasuredIndex,ge=0;if(pe>=Q&&(pe=Q-1),pe>=0){var be=j[pe];ge=be.offset+be.size}var We=Q-pe-1,ke=We*se;return ge+ke},ct=He({getItemOffset:function(V,K,Q){return le(V,K,Q).offset},getItemSize:function(V,K,Q){return Q.itemMetadataMap[K].size},getEstimatedTotalSize:it,getOffsetForIndexAndAlignment:function(V,K,Q,j,se){var pe=V.direction,ge=V.height,be=V.layout,We=V.width,ke=pe==="horizontal"||be==="horizontal",Ze=ke?We:ge,Fe=le(V,K,se),ut=it(V,se),_t=Math.max(0,Math.min(ut-Ze,Fe.offset)),te=Math.max(0,Fe.offset-Ze+Fe.size);switch(Q==="smart"&&(j>=te-Ze&&j<=_t+Ze?Q="auto":Q="center"),Q){case"start":return _t;case"end":return te;case"center":return Math.round(te+(_t-te)/2);case"auto":default:return j>=te&&j<=_t?j:j<te?te:_t}},getStartIndexForOffset:function(V,K,Q){return G(V,Q,K)},getStopIndexForStartIndex:function(V,K,Q,j){for(var se=V.direction,pe=V.height,ge=V.itemCount,be=V.layout,We=V.width,ke=se==="horizontal"||be==="horizontal",Ze=ke?We:pe,Fe=le(V,K,j),ut=Q+Ze,_t=Fe.offset+Fe.size,te=K;te<ge-1&&_t<ut;)te++,_t+=le(V,te,j).size;return te},initInstanceProps:function(V,K){var Q=V,j=Q.estimatedItemSize,se={itemMetadataMap:{},estimatedItemSize:j||et,lastMeasuredIndex:-1};return K.resetAfterIndex=function(pe,ge){ge===void 0&&(ge=!0),se.lastMeasuredIndex=Math.min(se.lastMeasuredIndex,pe-1),K._getItemStyleCache(-1),ge&&K.forceUpdate()},se},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(V){var K=V.itemSize}}),pt=x({getColumnOffset:function(V,K){var Q=V.columnWidth;return K*Q},getColumnWidth:function(V,K){var Q=V.columnWidth;return Q},getRowOffset:function(V,K){var Q=V.rowHeight;return K*Q},getRowHeight:function(V,K){var Q=V.rowHeight;return Q},getEstimatedTotalHeight:function(V){var K=V.rowCount,Q=V.rowHeight;return Q*K},getEstimatedTotalWidth:function(V){var K=V.columnCount,Q=V.columnWidth;return Q*K},getOffsetForColumnAndAlignment:function(V,K,Q,j,se,pe){var ge=V.columnCount,be=V.columnWidth,We=V.width,ke=Math.max(0,ge*be-We),Ze=Math.min(ke,K*be),Fe=Math.max(0,K*be-We+pe+be);switch(Q==="smart"&&(j>=Fe-We&&j<=Ze+We?Q="auto":Q="center"),Q){case"start":return Ze;case"end":return Fe;case"center":var ut=Math.round(Fe+(Ze-Fe)/2);return ut<Math.ceil(We/2)?0:ut>ke+Math.floor(We/2)?ke:ut;case"auto":default:return j>=Fe&&j<=Ze?j:Fe>Ze||j<Fe?Fe:Ze}},getOffsetForRowAndAlignment:function(V,K,Q,j,se,pe){var ge=V.rowHeight,be=V.height,We=V.rowCount,ke=Math.max(0,We*ge-be),Ze=Math.min(ke,K*ge),Fe=Math.max(0,K*ge-be+pe+ge);switch(Q==="smart"&&(j>=Fe-be&&j<=Ze+be?Q="auto":Q="center"),Q){case"start":return Ze;case"end":return Fe;case"center":var ut=Math.round(Fe+(Ze-Fe)/2);return ut<Math.ceil(be/2)?0:ut>ke+Math.floor(be/2)?ke:ut;case"auto":default:return j>=Fe&&j<=Ze?j:Fe>Ze||j<Fe?Fe:Ze}},getColumnStartIndexForOffset:function(V,K){var Q=V.columnWidth,j=V.columnCount;return Math.max(0,Math.min(j-1,Math.floor(K/Q)))},getColumnStopIndexForStartIndex:function(V,K,Q){var j=V.columnWidth,se=V.columnCount,pe=V.width,ge=K*j,be=Math.ceil((pe+Q-ge)/j);return Math.max(0,Math.min(se-1,K+be-1))},getRowStartIndexForOffset:function(V,K){var Q=V.rowHeight,j=V.rowCount;return Math.max(0,Math.min(j-1,Math.floor(K/Q)))},getRowStopIndexForStartIndex:function(V,K,Q){var j=V.rowHeight,se=V.rowCount,pe=V.height,ge=K*j,be=Math.ceil((pe+Q-ge)/j);return Math.max(0,Math.min(se-1,K+be-1))},initInstanceProps:function(V){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(V){var K=V.columnWidth,Q=V.rowHeight}}),Tt=He({getItemOffset:function(V,K){var Q=V.itemSize;return K*Q},getItemSize:function(V,K){var Q=V.itemSize;return Q},getEstimatedTotalSize:function(V){var K=V.itemCount,Q=V.itemSize;return Q*K},getOffsetForIndexAndAlignment:function(V,K,Q,j){var se=V.direction,pe=V.height,ge=V.itemCount,be=V.itemSize,We=V.layout,ke=V.width,Ze=se==="horizontal"||We==="horizontal",Fe=Ze?ke:pe,ut=Math.max(0,ge*be-Fe),_t=Math.min(ut,K*be),te=Math.max(0,K*be-Fe+be);switch(Q==="smart"&&(j>=te-Fe&&j<=_t+Fe?Q="auto":Q="center"),Q){case"start":return _t;case"end":return te;case"center":{var Qe=Math.round(te+(_t-te)/2);return Qe<Math.ceil(Fe/2)?0:Qe>ut+Math.floor(Fe/2)?ut:Qe}case"auto":default:return j>=te&&j<=_t?j:j<te?te:_t}},getStartIndexForOffset:function(V,K){var Q=V.itemCount,j=V.itemSize;return Math.max(0,Math.min(Q-1,Math.floor(K/j)))},getStopIndexForStartIndex:function(V,K,Q){var j=V.direction,se=V.height,pe=V.itemCount,ge=V.itemSize,be=V.layout,We=V.width,ke=j==="horizontal"||be==="horizontal",Ze=K*ge,Fe=ke?We:se,ut=Math.ceil((Fe+Q-Ze)/ge);return Math.max(0,Math.min(pe-1,K+ut-1))},initInstanceProps:function(V){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(V){var K=V.itemSize}});function de(ae,V){for(var K in ae)if(!(K in V))return!0;for(var Q in V)if(ae[Q]!==V[Q])return!0;return!1}var ve=["style"],Ne=["style"];function Ae(ae,V){var K=ae.style,Q=E(ae,ve),j=V.style,se=E(V,Ne);return!de(K,j)&&!de(Q,se)}function St(ae,V){return!Ae(this.props,ae)||de(this.state,V)}l=pt,g.t7=Tt,l=J,l=ct,l=Ae,l=St},13993:(v,g,n)=>{var l=n(98399);const u=n(75364),a=n(20823),{isPlainObject:c}=n(13382),o=n(78857),d=n(17991),{parse:m}=n(589),E=["img","audio","video","picture","svg","object","map","iframe","embed"],p=["script","style"];function f(D,M){D&&Object.keys(D).forEach(function(I){M(D[I],I)})}function _(D,M){return{}.hasOwnProperty.call(D,M)}function h(D,M){const I=[];return f(D,function(A){M(A)&&I.push(A)}),I}function C(D){for(const M in D)if(_(D,M))return!1;return!0}function b(D){return D.map(function(M){if(!M.url)throw new Error("URL missing");return M.url+(M.w?` ${M.w}w`:"")+(M.h?` ${M.h}h`:"")+(M.d?` ${M.d}x`:"")}).join(", ")}v.exports=R;const T=/^[^\0\t\n\f\r /<=>]+$/;function R(D,M,I){if(D==null)return"";let A="",x="";function L(de,ve){const Ne=this;this.tag=de,this.attribs=ve||{},this.tagPosition=A.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(fe.length){const Ae=fe[fe.length-1];Ae.text+=Ne.text}},this.updateParentNodeMediaChildren=function(){fe.length&&E.includes(this.tag)&&fe[fe.length-1].mediaChildren.push(this.tag)}}M=Object.assign({},R.defaults,M),M.parser=Object.assign({},O,M.parser),p.forEach(function(de){M.allowedTags!==!1&&(M.allowedTags||[]).indexOf(de)>-1&&!M.allowVulnerableTags&&l.warn(`
65
+ `||k==="\f"||k==="\r"}function m(k){var U,Y=k.exec(o.substring(I));if(Y)return U=Y[0],I+=U.length,U}for(var E=o.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,_=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,C=/^\d+$/,b=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,T,R,O,D,M,I=0,A=[];;){if(m(f),I>=E)return A;T=m(_),R=[],T.slice(-1)===","?(T=T.replace(h,""),L()):x()}function x(){for(m(p),O="",D="in descriptor";;){if(M=o.charAt(I),D==="in descriptor")if(d(M))O&&(R.push(O),O="",D="after descriptor");else if(M===","){I+=1,O&&R.push(O),L();return}else if(M==="(")O=O+M,D="in parens";else if(M===""){O&&R.push(O),L();return}else O=O+M;else if(D==="in parens")if(M===")")O=O+M,D="in descriptor";else if(M===""){R.push(O),L();return}else O=O+M;else if(D==="after descriptor"&&!d(M))if(M===""){L();return}else D="in descriptor",I-=1;I+=1}}function L(){var k=!1,U,Y,z,B,_e={},ee,Z,J,fe,Re;for(B=0;B<R.length;B++)ee=R[B],Z=ee[ee.length-1],J=ee.substring(0,ee.length-1),fe=parseInt(J,10),Re=parseFloat(J),C.test(J)&&Z==="w"?((U||Y)&&(k=!0),fe===0?k=!0:U=fe):b.test(J)&&Z==="x"?((U||Y||z)&&(k=!0),Re<0?k=!0:Y=Re):C.test(J)&&Z==="h"?((z||Y)&&(k=!0),fe===0?k=!0:z=fe):k=!0;k?l&&l.log&&l.log("Invalid srcset descriptor found in '"+o+"' at '"+ee+"'."):(_e.url=T,U&&(_e.w=U),Y&&(_e.d=Y),z&&(_e.h=z),A.push(_e))}}})},85186:v=>{var g=String,n=function(){return{isColorSupported:!1,reset:g,bold:g,dim:g,italic:g,underline:g,inverse:g,hidden:g,strikethrough:g,black:g,red:g,green:g,yellow:g,blue:g,magenta:g,cyan:g,white:g,gray:g,bgBlack:g,bgRed:g,bgGreen:g,bgYellow:g,bgBlue:g,bgMagenta:g,bgCyan:g,bgWhite:g}};v.exports=n(),v.exports.createColors=n},62234:(v,g,n)=>{"use strict";n.r(g),n.d(g,{decode:()=>U,default:()=>ee,encode:()=>Y,toASCII:()=>B,toUnicode:()=>z,ucs2decode:()=>I,ucs2encode:()=>A});const l=2147483647,u=36,a=1,c=26,o=38,d=700,m=72,E=128,p="-",f=/^xn--/,_=/[^\0-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,C={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=u-a,T=Math.floor,R=String.fromCharCode;function O(Z){throw new RangeError(C[Z])}function D(Z,J){const fe=[];let Re=Z.length;for(;Re--;)fe[Re]=J(Z[Re]);return fe}function M(Z,J){const fe=Z.split("@");let Re="";fe.length>1&&(Re=fe[0]+"@",Z=fe[1]),Z=Z.replace(h,".");const De=Z.split("."),Le=D(De,J).join(".");return Re+Le}function I(Z){const J=[];let fe=0;const Re=Z.length;for(;fe<Re;){const De=Z.charCodeAt(fe++);if(De>=55296&&De<=56319&&fe<Re){const Le=Z.charCodeAt(fe++);(Le&64512)==56320?J.push(((De&1023)<<10)+(Le&1023)+65536):(J.push(De),fe--)}else J.push(De)}return J}const A=Z=>String.fromCodePoint(...Z),x=function(Z){return Z-48<10?Z-22:Z-65<26?Z-65:Z-97<26?Z-97:u},L=function(Z,J){return Z+22+75*(Z<26)-((J!=0)<<5)},k=function(Z,J,fe){let Re=0;for(Z=fe?T(Z/d):Z>>1,Z+=T(Z/J);Z>b*c>>1;Re+=u)Z=T(Z/b);return T(Re+(b+1)*Z/(Z+o))},U=function(Z){const J=[],fe=Z.length;let Re=0,De=E,Le=m,He=Z.lastIndexOf(p);He<0&&(He=0);for(let Te=0;Te<He;++Te)Z.charCodeAt(Te)>=128&&O("not-basic"),J.push(Z.charCodeAt(Te));for(let Te=He>0?He+1:0;Te<fe;){let et=Re;for(let G=1,we=u;;we+=u){Te>=fe&&O("invalid-input");const tt=x(Z.charCodeAt(Te++));(tt>=u||tt>T((l-Re)/G))&&O("overflow"),Re+=tt*G;const it=we<=Le?a:we>=Le+c?c:we-Le;if(tt<it)break;const ct=u-it;G>T(l/ct)&&O("overflow"),G*=ct}const le=J.length+1;Le=k(Re-et,le,et==0),T(Re/le)>l-De&&O("overflow"),De+=T(Re/le),Re%=le,J.splice(Re++,0,De)}return String.fromCodePoint(...J)},Y=function(Z){const J=[];Z=I(Z);let fe=Z.length,Re=E,De=0,Le=m;for(const et of Z)et<128&&J.push(R(et));let He=J.length,Te=He;for(He&&J.push(p);Te<fe;){let et=l;for(const G of Z)G>=Re&&G<et&&(et=G);const le=Te+1;et-Re>T((l-De)/le)&&O("overflow"),De+=(et-Re)*le,Re=et;for(const G of Z)if(G<Re&&++De>l&&O("overflow"),G==Re){let we=De;for(let tt=u;;tt+=u){const it=tt<=Le?a:tt>=Le+c?c:tt-Le;if(we<it)break;const ct=we-it,pt=u-it;J.push(R(L(it+ct%pt,0))),we=T(ct/pt)}J.push(R(L(we,0))),Le=k(De,le,Te==He),De=0,++Te}++De,++Re}return J.join("")},z=function(Z){return M(Z,function(J){return f.test(J)?U(J.slice(4).toLowerCase()):J})},B=function(Z){return M(Z,function(J){return _.test(J)?"xn--"+Y(J):J})},ee={version:"2.1.0",ucs2:{decode:I,encode:A},decode:U,encode:Y,toASCII:B,toUnicode:z}},47533:function(v,g,n){(function(l,u){u(g,n(32735))})(this,function(l,u){"use strict";function a(h){if(h&&h.__esModule)return h;var C=Object.create(null);return h&&Object.keys(h).forEach(function(b){if(b!=="default"){var T=Object.getOwnPropertyDescriptor(h,b);Object.defineProperty(C,b,T.get?T:{enumerable:!0,get:function(){return h[b]}})}}),C.default=h,Object.freeze(C)}var c=a(u);function o(h,C){return o=Object.setPrototypeOf||function(T,R){return T.__proto__=R,T},o(h,C)}function d(h,C){h.prototype=Object.create(C.prototype),h.prototype.constructor=h,o(h,C)}var m=function(C,b){return C===void 0&&(C=[]),b===void 0&&(b=[]),C.length!==b.length||C.some(function(T,R){return!Object.is(T,b[R])})},E={error:null},p=function(h){d(C,h);function C(){for(var T,R=arguments.length,O=new Array(R),D=0;D<R;D++)O[D]=arguments[D];return T=h.call.apply(h,[this].concat(O))||this,T.state=E,T.resetErrorBoundary=function(){for(var M,I=arguments.length,A=new Array(I),x=0;x<I;x++)A[x]=arguments[x];T.props.onReset==null||(M=T.props).onReset.apply(M,A),T.reset()},T}C.getDerivedStateFromError=function(R){return{error:R}};var b=C.prototype;return b.reset=function(){this.setState(E)},b.componentDidCatch=function(R,O){var D,M;(D=(M=this.props).onError)==null||D.call(M,R,O)},b.componentDidUpdate=function(R,O){var D=this.state.error,M=this.props.resetKeys;if(D!==null&&O.error!==null&&m(R.resetKeys,M)){var I,A;(I=(A=this.props).onResetKeysChange)==null||I.call(A,R.resetKeys,M),this.reset()}},b.render=function(){var R=this.state.error,O=this.props,D=O.fallbackRender,M=O.FallbackComponent,I=O.fallback;if(R!==null){var A={error:R,resetErrorBoundary:this.resetErrorBoundary};if(c.isValidElement(I))return I;if(typeof D=="function")return D(A);if(M)return c.createElement(M,A);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},C}(c.Component);function f(h,C){var b=function(O){return c.createElement(p,C,c.createElement(h,O))},T=h.displayName||h.name||"Unknown";return b.displayName="withErrorBoundary("+T+")",b}function _(h){var C=c.useState(null),b=C[0],T=C[1];if(h!=null)throw h;if(b!=null)throw b;return T}l.ErrorBoundary=p,l.useErrorHandler=_,l.withErrorBoundary=f,Object.defineProperty(l,"__esModule",{value:!0})})},54450:(v,g,n)=>{"use strict";var l;l={value:!0};function u(ae){return ae&&typeof ae=="object"&&"default"in ae?ae.default:ae}var a=u(n(448)),c=u(n(56121)),o=u(n(42323)),d=u(n(2432)),m=n(32735),E=u(n(66820)),p=typeof performance=="object"&&typeof performance.now=="function",f=p?function(){return performance.now()}:function(){return Date.now()};function _(ae){cancelAnimationFrame(ae.id)}function h(ae,V){var K=f();function Q(){f()-K>=V?ae.call(null):j.id=requestAnimationFrame(Q)}var j={id:requestAnimationFrame(Q)};return j}var C=-1;function b(ae){if(ae===void 0&&(ae=!1),C===-1||ae){var V=document.createElement("div"),K=V.style;K.width="50px",K.height="50px",K.overflow="scroll",document.body.appendChild(V),C=V.offsetWidth-V.clientWidth,document.body.removeChild(V)}return C}var T=null;function R(ae){if(ae===void 0&&(ae=!1),T===null||ae){var V=document.createElement("div"),K=V.style;K.width="50px",K.height="50px",K.overflow="scroll",K.direction="rtl";var Q=document.createElement("div"),j=Q.style;return j.width="100px",j.height="100px",V.appendChild(Q),document.body.appendChild(V),V.scrollLeft>0?T="positive-descending":(V.scrollLeft=1,V.scrollLeft===0?T="negative":T="positive-ascending"),document.body.removeChild(V),T}return T}var O=150,D=function(V){var K=V.columnIndex,Q=V.data,j=V.rowIndex;return j+":"+K},M=null,I=null,A=null;function x(ae){var V,K=ae.getColumnOffset,Q=ae.getColumnStartIndexForOffset,j=ae.getColumnStopIndexForStartIndex,se=ae.getColumnWidth,pe=ae.getEstimatedTotalHeight,ge=ae.getEstimatedTotalWidth,be=ae.getOffsetForColumnAndAlignment,We=ae.getOffsetForRowAndAlignment,ke=ae.getRowHeight,Ze=ae.getRowOffset,Fe=ae.getRowStartIndexForOffset,ut=ae.getRowStopIndexForStartIndex,_t=ae.initInstanceProps,te=ae.shouldResetStyleCacheOnItemSizeChange,Qe=ae.validateProps;return V=function(ue){o(rt,ue);function rt(Je){var ne;return ne=ue.call(this,Je)||this,ne._instanceProps=_t(ne.props,c(ne)),ne._resetIsScrollingTimeoutId=null,ne._outerRef=void 0,ne.state={instance:c(ne),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:typeof ne.props.initialScrollLeft=="number"?ne.props.initialScrollLeft:0,scrollTop:typeof ne.props.initialScrollTop=="number"?ne.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},ne._callOnItemsRendered=void 0,ne._callOnItemsRendered=d(function(Pe,W,X,oe,Ee,Be,ze,nt){return ne.props.onItemsRendered({overscanColumnStartIndex:Pe,overscanColumnStopIndex:W,overscanRowStartIndex:X,overscanRowStopIndex:oe,visibleColumnStartIndex:Ee,visibleColumnStopIndex:Be,visibleRowStartIndex:ze,visibleRowStopIndex:nt})}),ne._callOnScroll=void 0,ne._callOnScroll=d(function(Pe,W,X,oe,Ee){return ne.props.onScroll({horizontalScrollDirection:X,scrollLeft:Pe,scrollTop:W,verticalScrollDirection:oe,scrollUpdateWasRequested:Ee})}),ne._getItemStyle=void 0,ne._getItemStyle=function(Pe,W){var X=ne.props,oe=X.columnWidth,Ee=X.direction,Be=X.rowHeight,ze=ne._getItemStyleCache(te&&oe,te&&Ee,te&&Be),nt=Pe+":"+W,he;if(ze.hasOwnProperty(nt))he=ze[nt];else{var Oe=K(ne.props,W,ne._instanceProps),xe=Ee==="rtl";ze[nt]=he={position:"absolute",left:xe?void 0:Oe,right:xe?Oe:void 0,top:Ze(ne.props,Pe,ne._instanceProps),height:ke(ne.props,Pe,ne._instanceProps),width:se(ne.props,W,ne._instanceProps)}}return he},ne._getItemStyleCache=void 0,ne._getItemStyleCache=d(function(Pe,W,X){return{}}),ne._onScroll=function(Pe){var W=Pe.currentTarget,X=W.clientHeight,oe=W.clientWidth,Ee=W.scrollLeft,Be=W.scrollTop,ze=W.scrollHeight,nt=W.scrollWidth;ne.setState(function(he){if(he.scrollLeft===Ee&&he.scrollTop===Be)return null;var Oe=ne.props.direction,xe=Ee;if(Oe==="rtl")switch(R()){case"negative":xe=-Ee;break;case"positive-descending":xe=nt-oe-Ee;break}xe=Math.max(0,Math.min(xe,nt-oe));var Ve=Math.max(0,Math.min(Be,ze-X));return{isScrolling:!0,horizontalScrollDirection:he.scrollLeft<Ee?"forward":"backward",scrollLeft:xe,scrollTop:Ve,verticalScrollDirection:he.scrollTop<Be?"forward":"backward",scrollUpdateWasRequested:!1}},ne._resetIsScrollingDebounced)},ne._outerRefSetter=function(Pe){var W=ne.props.outerRef;ne._outerRef=Pe,typeof W=="function"?W(Pe):W!=null&&typeof W=="object"&&W.hasOwnProperty("current")&&(W.current=Pe)},ne._resetIsScrollingDebounced=function(){ne._resetIsScrollingTimeoutId!==null&&_(ne._resetIsScrollingTimeoutId),ne._resetIsScrollingTimeoutId=h(ne._resetIsScrolling,O)},ne._resetIsScrolling=function(){ne._resetIsScrollingTimeoutId=null,ne.setState({isScrolling:!1},function(){ne._getItemStyleCache(-1)})},ne}rt.getDerivedStateFromProps=function(ne,Pe){return L(ne,Pe),Qe(ne),null};var je=rt.prototype;return je.scrollTo=function(ne){var Pe=ne.scrollLeft,W=ne.scrollTop;Pe!==void 0&&(Pe=Math.max(0,Pe)),W!==void 0&&(W=Math.max(0,W)),this.setState(function(X){return Pe===void 0&&(Pe=X.scrollLeft),W===void 0&&(W=X.scrollTop),X.scrollLeft===Pe&&X.scrollTop===W?null:{horizontalScrollDirection:X.scrollLeft<Pe?"forward":"backward",scrollLeft:Pe,scrollTop:W,scrollUpdateWasRequested:!0,verticalScrollDirection:X.scrollTop<W?"forward":"backward"}},this._resetIsScrollingDebounced)},je.scrollToItem=function(ne){var Pe=ne.align,W=Pe===void 0?"auto":Pe,X=ne.columnIndex,oe=ne.rowIndex,Ee=this.props,Be=Ee.columnCount,ze=Ee.height,nt=Ee.rowCount,he=Ee.width,Oe=this.state,xe=Oe.scrollLeft,Ve=Oe.scrollTop,at=b();X!==void 0&&(X=Math.max(0,Math.min(X,Be-1))),oe!==void 0&&(oe=Math.max(0,Math.min(oe,nt-1)));var Ot=pe(this.props,this._instanceProps),It=ge(this.props,this._instanceProps),Xt=It>he?at:0,_n=Ot>ze?at:0;this.scrollTo({scrollLeft:X!==void 0?be(this.props,X,W,xe,this._instanceProps,_n):xe,scrollTop:oe!==void 0?We(this.props,oe,W,Ve,this._instanceProps,Xt):Ve})},je.componentDidMount=function(){var ne=this.props,Pe=ne.initialScrollLeft,W=ne.initialScrollTop;if(this._outerRef!=null){var X=this._outerRef;typeof Pe=="number"&&(X.scrollLeft=Pe),typeof W=="number"&&(X.scrollTop=W)}this._callPropsCallbacks()},je.componentDidUpdate=function(){var ne=this.props.direction,Pe=this.state,W=Pe.scrollLeft,X=Pe.scrollTop,oe=Pe.scrollUpdateWasRequested;if(oe&&this._outerRef!=null){var Ee=this._outerRef;if(ne==="rtl")switch(R()){case"negative":Ee.scrollLeft=-W;break;case"positive-ascending":Ee.scrollLeft=W;break;default:var Be=Ee.clientWidth,ze=Ee.scrollWidth;Ee.scrollLeft=ze-Be-W;break}else Ee.scrollLeft=Math.max(0,W);Ee.scrollTop=Math.max(0,X)}this._callPropsCallbacks()},je.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&_(this._resetIsScrollingTimeoutId)},je.render=function(){var ne=this.props,Pe=ne.children,W=ne.className,X=ne.columnCount,oe=ne.direction,Ee=ne.height,Be=ne.innerRef,ze=ne.innerElementType,nt=ne.innerTagName,he=ne.itemData,Oe=ne.itemKey,xe=Oe===void 0?D:Oe,Ve=ne.outerElementType,at=ne.outerTagName,Ot=ne.rowCount,It=ne.style,Xt=ne.useIsScrolling,_n=ne.width,Zt=this.state.isScrolling,Kt=this._getHorizontalRangeToRender(),sn=Kt[0],fn=Kt[1],Tn=this._getVerticalRangeToRender(),Jn=Tn[0],gn=Tn[1],Nn=[];if(X>0&&Ot)for(var Ht=Jn;Ht<=gn;Ht++)for(var En=sn;En<=fn;En++)Nn.push(m.createElement(Pe,{columnIndex:En,data:he,isScrolling:Xt?Zt:void 0,key:xe({columnIndex:En,data:he,rowIndex:Ht}),rowIndex:Ht,style:this._getItemStyle(Ht,En)}));var pn=pe(this.props,this._instanceProps),Mn=ge(this.props,this._instanceProps);return m.createElement(Ve||at||"div",{className:W,onScroll:this._onScroll,ref:this._outerRefSetter,style:a({position:"relative",height:Ee,width:_n,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:oe},It)},m.createElement(ze||nt||"div",{children:Nn,ref:Be,style:{height:pn,pointerEvents:Zt?"none":void 0,width:Mn}}))},je._callPropsCallbacks=function(){var ne=this.props,Pe=ne.columnCount,W=ne.onItemsRendered,X=ne.onScroll,oe=ne.rowCount;if(typeof W=="function"&&Pe>0&&oe>0){var Ee=this._getHorizontalRangeToRender(),Be=Ee[0],ze=Ee[1],nt=Ee[2],he=Ee[3],Oe=this._getVerticalRangeToRender(),xe=Oe[0],Ve=Oe[1],at=Oe[2],Ot=Oe[3];this._callOnItemsRendered(Be,ze,xe,Ve,nt,he,at,Ot)}if(typeof X=="function"){var It=this.state,Xt=It.horizontalScrollDirection,_n=It.scrollLeft,Zt=It.scrollTop,Kt=It.scrollUpdateWasRequested,sn=It.verticalScrollDirection;this._callOnScroll(_n,Zt,Xt,sn,Kt)}},je._getHorizontalRangeToRender=function(){var ne=this.props,Pe=ne.columnCount,W=ne.overscanColumnCount,X=ne.overscanColumnsCount,oe=ne.overscanCount,Ee=ne.rowCount,Be=this.state,ze=Be.horizontalScrollDirection,nt=Be.isScrolling,he=Be.scrollLeft,Oe=W||X||oe||1;if(Pe===0||Ee===0)return[0,0,0,0];var xe=Q(this.props,he,this._instanceProps),Ve=j(this.props,xe,he,this._instanceProps),at=!nt||ze==="backward"?Math.max(1,Oe):1,Ot=!nt||ze==="forward"?Math.max(1,Oe):1;return[Math.max(0,xe-at),Math.max(0,Math.min(Pe-1,Ve+Ot)),xe,Ve]},je._getVerticalRangeToRender=function(){var ne=this.props,Pe=ne.columnCount,W=ne.overscanCount,X=ne.overscanRowCount,oe=ne.overscanRowsCount,Ee=ne.rowCount,Be=this.state,ze=Be.isScrolling,nt=Be.verticalScrollDirection,he=Be.scrollTop,Oe=X||oe||W||1;if(Pe===0||Ee===0)return[0,0,0,0];var xe=Fe(this.props,he,this._instanceProps),Ve=ut(this.props,xe,he,this._instanceProps),at=!ze||nt==="backward"?Math.max(1,Oe):1,Ot=!ze||nt==="forward"?Math.max(1,Oe):1;return[Math.max(0,xe-at),Math.max(0,Math.min(Ee-1,Ve+Ot)),xe,Ve]},rt}(m.PureComponent),V.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},V}var L=function(V,K){var Q=V.children,j=V.direction,se=V.height,pe=V.innerTagName,ge=V.outerTagName,be=V.overscanColumnsCount,We=V.overscanCount,ke=V.overscanRowsCount,Ze=V.width,Fe=K.instance},k=50,U=function(V,K){var Q=V.rowCount,j=K.rowMetadataMap,se=K.estimatedRowHeight,pe=K.lastMeasuredRowIndex,ge=0;if(pe>=Q&&(pe=Q-1),pe>=0){var be=j[pe];ge=be.offset+be.size}var We=Q-pe-1,ke=We*se;return ge+ke},Y=function(V,K){var Q=V.columnCount,j=K.columnMetadataMap,se=K.estimatedColumnWidth,pe=K.lastMeasuredColumnIndex,ge=0;if(pe>=Q&&(pe=Q-1),pe>=0){var be=j[pe];ge=be.offset+be.size}var We=Q-pe-1,ke=We*se;return ge+ke},z=function(V,K,Q,j){var se,pe,ge;if(V==="column"?(se=j.columnMetadataMap,pe=K.columnWidth,ge=j.lastMeasuredColumnIndex):(se=j.rowMetadataMap,pe=K.rowHeight,ge=j.lastMeasuredRowIndex),Q>ge){var be=0;if(ge>=0){var We=se[ge];be=We.offset+We.size}for(var ke=ge+1;ke<=Q;ke++){var Ze=pe(ke);se[ke]={offset:be,size:Ze},be+=Ze}V==="column"?j.lastMeasuredColumnIndex=Q:j.lastMeasuredRowIndex=Q}return se[Q]},B=function(V,K,Q,j){var se,pe;V==="column"?(se=Q.columnMetadataMap,pe=Q.lastMeasuredColumnIndex):(se=Q.rowMetadataMap,pe=Q.lastMeasuredRowIndex);var ge=pe>0?se[pe].offset:0;return ge>=j?_e(V,K,Q,pe,0,j):ee(V,K,Q,Math.max(0,pe),j)},_e=function(V,K,Q,j,se,pe){for(;se<=j;){var ge=se+Math.floor((j-se)/2),be=z(V,K,ge,Q).offset;if(be===pe)return ge;be<pe?se=ge+1:be>pe&&(j=ge-1)}return se>0?se-1:0},ee=function(V,K,Q,j,se){for(var pe=V==="column"?K.columnCount:K.rowCount,ge=1;j<pe&&z(V,K,j,Q).offset<se;)j+=ge,ge*=2;return _e(V,K,Q,Math.min(j,pe-1),Math.floor(j/2),se)},Z=function(V,K,Q,j,se,pe,ge){var be=V==="column"?K.width:K.height,We=z(V,K,Q,pe),ke=V==="column"?Y(K,pe):U(K,pe),Ze=Math.max(0,Math.min(ke-be,We.offset)),Fe=Math.max(0,We.offset-be+ge+We.size);switch(j==="smart"&&(se>=Fe-be&&se<=Ze+be?j="auto":j="center"),j){case"start":return Ze;case"end":return Fe;case"center":return Math.round(Fe+(Ze-Fe)/2);case"auto":default:return se>=Fe&&se<=Ze?se:Fe>Ze||se<Fe?Fe:Ze}},J=x({getColumnOffset:function(V,K,Q){return z("column",V,K,Q).offset},getColumnStartIndexForOffset:function(V,K,Q){return B("column",V,Q,K)},getColumnStopIndexForStartIndex:function(V,K,Q,j){for(var se=V.columnCount,pe=V.width,ge=z("column",V,K,j),be=Q+pe,We=ge.offset+ge.size,ke=K;ke<se-1&&We<be;)ke++,We+=z("column",V,ke,j).size;return ke},getColumnWidth:function(V,K,Q){return Q.columnMetadataMap[K].size},getEstimatedTotalHeight:U,getEstimatedTotalWidth:Y,getOffsetForColumnAndAlignment:function(V,K,Q,j,se,pe){return Z("column",V,K,Q,j,se,pe)},getOffsetForRowAndAlignment:function(V,K,Q,j,se,pe){return Z("row",V,K,Q,j,se,pe)},getRowOffset:function(V,K,Q){return z("row",V,K,Q).offset},getRowHeight:function(V,K,Q){return Q.rowMetadataMap[K].size},getRowStartIndexForOffset:function(V,K,Q){return B("row",V,Q,K)},getRowStopIndexForStartIndex:function(V,K,Q,j){for(var se=V.rowCount,pe=V.height,ge=z("row",V,K,j),be=Q+pe,We=ge.offset+ge.size,ke=K;ke<se-1&&We<be;)ke++,We+=z("row",V,ke,j).size;return ke},initInstanceProps:function(V,K){var Q=V,j=Q.estimatedColumnWidth,se=Q.estimatedRowHeight,pe={columnMetadataMap:{},estimatedColumnWidth:j||k,estimatedRowHeight:se||k,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return K.resetAfterColumnIndex=function(ge,be){be===void 0&&(be=!0),K.resetAfterIndices({columnIndex:ge,shouldForceUpdate:be})},K.resetAfterRowIndex=function(ge,be){be===void 0&&(be=!0),K.resetAfterIndices({rowIndex:ge,shouldForceUpdate:be})},K.resetAfterIndices=function(ge){var be=ge.columnIndex,We=ge.rowIndex,ke=ge.shouldForceUpdate,Ze=ke===void 0?!0:ke;typeof be=="number"&&(pe.lastMeasuredColumnIndex=Math.min(pe.lastMeasuredColumnIndex,be-1)),typeof We=="number"&&(pe.lastMeasuredRowIndex=Math.min(pe.lastMeasuredRowIndex,We-1)),K._getItemStyleCache(-1),Ze&&K.forceUpdate()},pe},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(V){var K=V.columnWidth,Q=V.rowHeight}}),fe=150,Re=function(V,K){return V},De=null,Le=null;function He(ae){var V,K=ae.getItemOffset,Q=ae.getEstimatedTotalSize,j=ae.getItemSize,se=ae.getOffsetForIndexAndAlignment,pe=ae.getStartIndexForOffset,ge=ae.getStopIndexForStartIndex,be=ae.initInstanceProps,We=ae.shouldResetStyleCacheOnItemSizeChange,ke=ae.validateProps;return V=function(Ze){o(Fe,Ze);function Fe(_t){var te;return te=Ze.call(this,_t)||this,te._instanceProps=be(te.props,c(te)),te._outerRef=void 0,te._resetIsScrollingTimeoutId=null,te.state={instance:c(te),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof te.props.initialScrollOffset=="number"?te.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},te._callOnItemsRendered=void 0,te._callOnItemsRendered=d(function(Qe,ue,rt,je){return te.props.onItemsRendered({overscanStartIndex:Qe,overscanStopIndex:ue,visibleStartIndex:rt,visibleStopIndex:je})}),te._callOnScroll=void 0,te._callOnScroll=d(function(Qe,ue,rt){return te.props.onScroll({scrollDirection:Qe,scrollOffset:ue,scrollUpdateWasRequested:rt})}),te._getItemStyle=void 0,te._getItemStyle=function(Qe){var ue=te.props,rt=ue.direction,je=ue.itemSize,Je=ue.layout,ne=te._getItemStyleCache(We&&je,We&&Je,We&&rt),Pe;if(ne.hasOwnProperty(Qe))Pe=ne[Qe];else{var W=K(te.props,Qe,te._instanceProps),X=j(te.props,Qe,te._instanceProps),oe=rt==="horizontal"||Je==="horizontal",Ee=rt==="rtl",Be=oe?W:0;ne[Qe]=Pe={position:"absolute",left:Ee?void 0:Be,right:Ee?Be:void 0,top:oe?0:W,height:oe?"100%":X,width:oe?X:"100%"}}return Pe},te._getItemStyleCache=void 0,te._getItemStyleCache=d(function(Qe,ue,rt){return{}}),te._onScrollHorizontal=function(Qe){var ue=Qe.currentTarget,rt=ue.clientWidth,je=ue.scrollLeft,Je=ue.scrollWidth;te.setState(function(ne){if(ne.scrollOffset===je)return null;var Pe=te.props.direction,W=je;if(Pe==="rtl")switch(R()){case"negative":W=-je;break;case"positive-descending":W=Je-rt-je;break}return W=Math.max(0,Math.min(W,Je-rt)),{isScrolling:!0,scrollDirection:ne.scrollOffset<je?"forward":"backward",scrollOffset:W,scrollUpdateWasRequested:!1}},te._resetIsScrollingDebounced)},te._onScrollVertical=function(Qe){var ue=Qe.currentTarget,rt=ue.clientHeight,je=ue.scrollHeight,Je=ue.scrollTop;te.setState(function(ne){if(ne.scrollOffset===Je)return null;var Pe=Math.max(0,Math.min(Je,je-rt));return{isScrolling:!0,scrollDirection:ne.scrollOffset<Pe?"forward":"backward",scrollOffset:Pe,scrollUpdateWasRequested:!1}},te._resetIsScrollingDebounced)},te._outerRefSetter=function(Qe){var ue=te.props.outerRef;te._outerRef=Qe,typeof ue=="function"?ue(Qe):ue!=null&&typeof ue=="object"&&ue.hasOwnProperty("current")&&(ue.current=Qe)},te._resetIsScrollingDebounced=function(){te._resetIsScrollingTimeoutId!==null&&_(te._resetIsScrollingTimeoutId),te._resetIsScrollingTimeoutId=h(te._resetIsScrolling,fe)},te._resetIsScrolling=function(){te._resetIsScrollingTimeoutId=null,te.setState({isScrolling:!1},function(){te._getItemStyleCache(-1,null)})},te}Fe.getDerivedStateFromProps=function(te,Qe){return Te(te,Qe),ke(te),null};var ut=Fe.prototype;return ut.scrollTo=function(te){te=Math.max(0,te),this.setState(function(Qe){return Qe.scrollOffset===te?null:{scrollDirection:Qe.scrollOffset<te?"forward":"backward",scrollOffset:te,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},ut.scrollToItem=function(te,Qe){Qe===void 0&&(Qe="auto");var ue=this.props.itemCount,rt=this.state.scrollOffset;te=Math.max(0,Math.min(te,ue-1)),this.scrollTo(se(this.props,te,Qe,rt,this._instanceProps))},ut.componentDidMount=function(){var te=this.props,Qe=te.direction,ue=te.initialScrollOffset,rt=te.layout;if(typeof ue=="number"&&this._outerRef!=null){var je=this._outerRef;Qe==="horizontal"||rt==="horizontal"?je.scrollLeft=ue:je.scrollTop=ue}this._callPropsCallbacks()},ut.componentDidUpdate=function(){var te=this.props,Qe=te.direction,ue=te.layout,rt=this.state,je=rt.scrollOffset,Je=rt.scrollUpdateWasRequested;if(Je&&this._outerRef!=null){var ne=this._outerRef;if(Qe==="horizontal"||ue==="horizontal")if(Qe==="rtl")switch(R()){case"negative":ne.scrollLeft=-je;break;case"positive-ascending":ne.scrollLeft=je;break;default:var Pe=ne.clientWidth,W=ne.scrollWidth;ne.scrollLeft=W-Pe-je;break}else ne.scrollLeft=je;else ne.scrollTop=je}this._callPropsCallbacks()},ut.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&_(this._resetIsScrollingTimeoutId)},ut.render=function(){var te=this.props,Qe=te.children,ue=te.className,rt=te.direction,je=te.height,Je=te.innerRef,ne=te.innerElementType,Pe=te.innerTagName,W=te.itemCount,X=te.itemData,oe=te.itemKey,Ee=oe===void 0?Re:oe,Be=te.layout,ze=te.outerElementType,nt=te.outerTagName,he=te.style,Oe=te.useIsScrolling,xe=te.width,Ve=this.state.isScrolling,at=rt==="horizontal"||Be==="horizontal",Ot=at?this._onScrollHorizontal:this._onScrollVertical,It=this._getRangeToRender(),Xt=It[0],_n=It[1],Zt=[];if(W>0)for(var Kt=Xt;Kt<=_n;Kt++)Zt.push(m.createElement(Qe,{data:X,key:Ee(Kt,X),index:Kt,isScrolling:Oe?Ve:void 0,style:this._getItemStyle(Kt)}));var sn=Q(this.props,this._instanceProps);return m.createElement(ze||nt||"div",{className:ue,onScroll:Ot,ref:this._outerRefSetter,style:a({position:"relative",height:je,width:xe,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:rt},he)},m.createElement(ne||Pe||"div",{children:Zt,ref:Je,style:{height:at?"100%":sn,pointerEvents:Ve?"none":void 0,width:at?sn:"100%"}}))},ut._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var te=this.props.itemCount;if(te>0){var Qe=this._getRangeToRender(),ue=Qe[0],rt=Qe[1],je=Qe[2],Je=Qe[3];this._callOnItemsRendered(ue,rt,je,Je)}}if(typeof this.props.onScroll=="function"){var ne=this.state,Pe=ne.scrollDirection,W=ne.scrollOffset,X=ne.scrollUpdateWasRequested;this._callOnScroll(Pe,W,X)}},ut._getRangeToRender=function(){var te=this.props,Qe=te.itemCount,ue=te.overscanCount,rt=this.state,je=rt.isScrolling,Je=rt.scrollDirection,ne=rt.scrollOffset;if(Qe===0)return[0,0,0,0];var Pe=pe(this.props,ne,this._instanceProps),W=ge(this.props,Pe,ne,this._instanceProps),X=!je||Je==="backward"?Math.max(1,ue):1,oe=!je||Je==="forward"?Math.max(1,ue):1;return[Math.max(0,Pe-X),Math.max(0,Math.min(Qe-1,W+oe)),Pe,W]},Fe}(m.PureComponent),V.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},V}var Te=function(V,K){var Q=V.children,j=V.direction,se=V.height,pe=V.layout,ge=V.innerTagName,be=V.outerTagName,We=V.width,ke=K.instance;if(!1)var Ze},et=50,le=function(V,K,Q){var j=V,se=j.itemSize,pe=Q.itemMetadataMap,ge=Q.lastMeasuredIndex;if(K>ge){var be=0;if(ge>=0){var We=pe[ge];be=We.offset+We.size}for(var ke=ge+1;ke<=K;ke++){var Ze=se(ke);pe[ke]={offset:be,size:Ze},be+=Ze}Q.lastMeasuredIndex=K}return pe[K]},G=function(V,K,Q){var j=K.itemMetadataMap,se=K.lastMeasuredIndex,pe=se>0?j[se].offset:0;return pe>=Q?we(V,K,se,0,Q):tt(V,K,Math.max(0,se),Q)},we=function(V,K,Q,j,se){for(;j<=Q;){var pe=j+Math.floor((Q-j)/2),ge=le(V,pe,K).offset;if(ge===se)return pe;ge<se?j=pe+1:ge>se&&(Q=pe-1)}return j>0?j-1:0},tt=function(V,K,Q,j){for(var se=V.itemCount,pe=1;Q<se&&le(V,Q,K).offset<j;)Q+=pe,pe*=2;return we(V,K,Math.min(Q,se-1),Math.floor(Q/2),j)},it=function(V,K){var Q=V.itemCount,j=K.itemMetadataMap,se=K.estimatedItemSize,pe=K.lastMeasuredIndex,ge=0;if(pe>=Q&&(pe=Q-1),pe>=0){var be=j[pe];ge=be.offset+be.size}var We=Q-pe-1,ke=We*se;return ge+ke},ct=He({getItemOffset:function(V,K,Q){return le(V,K,Q).offset},getItemSize:function(V,K,Q){return Q.itemMetadataMap[K].size},getEstimatedTotalSize:it,getOffsetForIndexAndAlignment:function(V,K,Q,j,se){var pe=V.direction,ge=V.height,be=V.layout,We=V.width,ke=pe==="horizontal"||be==="horizontal",Ze=ke?We:ge,Fe=le(V,K,se),ut=it(V,se),_t=Math.max(0,Math.min(ut-Ze,Fe.offset)),te=Math.max(0,Fe.offset-Ze+Fe.size);switch(Q==="smart"&&(j>=te-Ze&&j<=_t+Ze?Q="auto":Q="center"),Q){case"start":return _t;case"end":return te;case"center":return Math.round(te+(_t-te)/2);case"auto":default:return j>=te&&j<=_t?j:j<te?te:_t}},getStartIndexForOffset:function(V,K,Q){return G(V,Q,K)},getStopIndexForStartIndex:function(V,K,Q,j){for(var se=V.direction,pe=V.height,ge=V.itemCount,be=V.layout,We=V.width,ke=se==="horizontal"||be==="horizontal",Ze=ke?We:pe,Fe=le(V,K,j),ut=Q+Ze,_t=Fe.offset+Fe.size,te=K;te<ge-1&&_t<ut;)te++,_t+=le(V,te,j).size;return te},initInstanceProps:function(V,K){var Q=V,j=Q.estimatedItemSize,se={itemMetadataMap:{},estimatedItemSize:j||et,lastMeasuredIndex:-1};return K.resetAfterIndex=function(pe,ge){ge===void 0&&(ge=!0),se.lastMeasuredIndex=Math.min(se.lastMeasuredIndex,pe-1),K._getItemStyleCache(-1),ge&&K.forceUpdate()},se},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(V){var K=V.itemSize}}),pt=x({getColumnOffset:function(V,K){var Q=V.columnWidth;return K*Q},getColumnWidth:function(V,K){var Q=V.columnWidth;return Q},getRowOffset:function(V,K){var Q=V.rowHeight;return K*Q},getRowHeight:function(V,K){var Q=V.rowHeight;return Q},getEstimatedTotalHeight:function(V){var K=V.rowCount,Q=V.rowHeight;return Q*K},getEstimatedTotalWidth:function(V){var K=V.columnCount,Q=V.columnWidth;return Q*K},getOffsetForColumnAndAlignment:function(V,K,Q,j,se,pe){var ge=V.columnCount,be=V.columnWidth,We=V.width,ke=Math.max(0,ge*be-We),Ze=Math.min(ke,K*be),Fe=Math.max(0,K*be-We+pe+be);switch(Q==="smart"&&(j>=Fe-We&&j<=Ze+We?Q="auto":Q="center"),Q){case"start":return Ze;case"end":return Fe;case"center":var ut=Math.round(Fe+(Ze-Fe)/2);return ut<Math.ceil(We/2)?0:ut>ke+Math.floor(We/2)?ke:ut;case"auto":default:return j>=Fe&&j<=Ze?j:Fe>Ze||j<Fe?Fe:Ze}},getOffsetForRowAndAlignment:function(V,K,Q,j,se,pe){var ge=V.rowHeight,be=V.height,We=V.rowCount,ke=Math.max(0,We*ge-be),Ze=Math.min(ke,K*ge),Fe=Math.max(0,K*ge-be+pe+ge);switch(Q==="smart"&&(j>=Fe-be&&j<=Ze+be?Q="auto":Q="center"),Q){case"start":return Ze;case"end":return Fe;case"center":var ut=Math.round(Fe+(Ze-Fe)/2);return ut<Math.ceil(be/2)?0:ut>ke+Math.floor(be/2)?ke:ut;case"auto":default:return j>=Fe&&j<=Ze?j:Fe>Ze||j<Fe?Fe:Ze}},getColumnStartIndexForOffset:function(V,K){var Q=V.columnWidth,j=V.columnCount;return Math.max(0,Math.min(j-1,Math.floor(K/Q)))},getColumnStopIndexForStartIndex:function(V,K,Q){var j=V.columnWidth,se=V.columnCount,pe=V.width,ge=K*j,be=Math.ceil((pe+Q-ge)/j);return Math.max(0,Math.min(se-1,K+be-1))},getRowStartIndexForOffset:function(V,K){var Q=V.rowHeight,j=V.rowCount;return Math.max(0,Math.min(j-1,Math.floor(K/Q)))},getRowStopIndexForStartIndex:function(V,K,Q){var j=V.rowHeight,se=V.rowCount,pe=V.height,ge=K*j,be=Math.ceil((pe+Q-ge)/j);return Math.max(0,Math.min(se-1,K+be-1))},initInstanceProps:function(V){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(V){var K=V.columnWidth,Q=V.rowHeight}}),Tt=He({getItemOffset:function(V,K){var Q=V.itemSize;return K*Q},getItemSize:function(V,K){var Q=V.itemSize;return Q},getEstimatedTotalSize:function(V){var K=V.itemCount,Q=V.itemSize;return Q*K},getOffsetForIndexAndAlignment:function(V,K,Q,j){var se=V.direction,pe=V.height,ge=V.itemCount,be=V.itemSize,We=V.layout,ke=V.width,Ze=se==="horizontal"||We==="horizontal",Fe=Ze?ke:pe,ut=Math.max(0,ge*be-Fe),_t=Math.min(ut,K*be),te=Math.max(0,K*be-Fe+be);switch(Q==="smart"&&(j>=te-Fe&&j<=_t+Fe?Q="auto":Q="center"),Q){case"start":return _t;case"end":return te;case"center":{var Qe=Math.round(te+(_t-te)/2);return Qe<Math.ceil(Fe/2)?0:Qe>ut+Math.floor(Fe/2)?ut:Qe}case"auto":default:return j>=te&&j<=_t?j:j<te?te:_t}},getStartIndexForOffset:function(V,K){var Q=V.itemCount,j=V.itemSize;return Math.max(0,Math.min(Q-1,Math.floor(K/j)))},getStopIndexForStartIndex:function(V,K,Q){var j=V.direction,se=V.height,pe=V.itemCount,ge=V.itemSize,be=V.layout,We=V.width,ke=j==="horizontal"||be==="horizontal",Ze=K*ge,Fe=ke?We:se,ut=Math.ceil((Fe+Q-Ze)/ge);return Math.max(0,Math.min(pe-1,K+ut-1))},initInstanceProps:function(V){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(V){var K=V.itemSize}});function de(ae,V){for(var K in ae)if(!(K in V))return!0;for(var Q in V)if(ae[Q]!==V[Q])return!0;return!1}var ve=["style"],Ne=["style"];function Ae(ae,V){var K=ae.style,Q=E(ae,ve),j=V.style,se=E(V,Ne);return!de(K,j)&&!de(Q,se)}function St(ae,V){return!Ae(this.props,ae)||de(this.state,V)}l=pt,g.t7=Tt,l=J,l=ct,l=Ae,l=St},13993:(v,g,n)=>{var l=n(98399);const u=n(75364),a=n(46729),{isPlainObject:c}=n(13382),o=n(78857),d=n(17991),{parse:m}=n(589),E=["img","audio","video","picture","svg","object","map","iframe","embed"],p=["script","style"];function f(D,M){D&&Object.keys(D).forEach(function(I){M(D[I],I)})}function _(D,M){return{}.hasOwnProperty.call(D,M)}function h(D,M){const I=[];return f(D,function(A){M(A)&&I.push(A)}),I}function C(D){for(const M in D)if(_(D,M))return!1;return!0}function b(D){return D.map(function(M){if(!M.url)throw new Error("URL missing");return M.url+(M.w?` ${M.w}w`:"")+(M.h?` ${M.h}h`:"")+(M.d?` ${M.d}x`:"")}).join(", ")}v.exports=R;const T=/^[^\0\t\n\f\r /<=>]+$/;function R(D,M,I){if(D==null)return"";let A="",x="";function L(de,ve){const Ne=this;this.tag=de,this.attribs=ve||{},this.tagPosition=A.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(fe.length){const Ae=fe[fe.length-1];Ae.text+=Ne.text}},this.updateParentNodeMediaChildren=function(){fe.length&&E.includes(this.tag)&&fe[fe.length-1].mediaChildren.push(this.tag)}}M=Object.assign({},R.defaults,M),M.parser=Object.assign({},O,M.parser),p.forEach(function(de){M.allowedTags!==!1&&(M.allowedTags||[]).indexOf(de)>-1&&!M.allowVulnerableTags&&l.warn(`
66
66
 
67
67
  \u26A0\uFE0F Your \`allowedTags\` option includes, \`${de}\`, which is inherently
68
68
  vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
69
69
  Or, to disable this warning, add the \`allowVulnerableTags\` option
70
70
  and ensure you are accounting for this risk.
71
71
 
72
- `)});const k=M.nonTextTags||["script","style","textarea","option"];let U,Y;M.allowedAttributes&&(U={},Y={},f(M.allowedAttributes,function(de,ve){U[ve]=[];const Ne=[];de.forEach(function(Ae){typeof Ae=="string"&&Ae.indexOf("*")>=0?Ne.push(a(Ae).replace(/\\\*/g,".*")):U[ve].push(Ae)}),Ne.length&&(Y[ve]=new RegExp("^("+Ne.join("|")+")$"))}));const z={},B={},_e={};f(M.allowedClasses,function(de,ve){U&&(_(U,ve)||(U[ve]=[]),U[ve].push("class")),z[ve]=[],_e[ve]=[];const Ne=[];de.forEach(function(Ae){typeof Ae=="string"&&Ae.indexOf("*")>=0?Ne.push(a(Ae).replace(/\\\*/g,".*")):Ae instanceof RegExp?_e[ve].push(Ae):z[ve].push(Ae)}),Ne.length&&(B[ve]=new RegExp("^("+Ne.join("|")+")$"))});const ee={};let Z;f(M.transformTags,function(de,ve){let Ne;typeof de=="function"?Ne=de:typeof de=="string"&&(Ne=R.simpleTransform(de)),ve==="*"?Z=Ne:ee[ve]=Ne});let J,fe,Re,De,Le,He,Te=!1;le();const et=new u.Parser({onopentag:function(de,ve){if(M.enforceHtmlBoundary&&de==="html"&&le(),Le){He++;return}const Ne=new L(de,ve);fe.push(Ne);let Ae=!1;const St=!!Ne.text;let ae;if(_(ee,de)&&(ae=ee[de](de,ve),Ne.attribs=ve=ae.attribs,ae.text!==void 0&&(Ne.innerText=ae.text),de!==ae.tagName&&(Ne.name=de=ae.tagName,De[J]=ae.tagName)),Z&&(ae=Z(de,ve),Ne.attribs=ve=ae.attribs,de!==ae.tagName&&(Ne.name=de=ae.tagName,De[J]=ae.tagName)),(M.allowedTags!==!1&&(M.allowedTags||[]).indexOf(de)===-1||M.disallowedTagsMode==="recursiveEscape"&&!C(Re)||M.nestingLimit!=null&&J>=M.nestingLimit)&&(Ae=!0,Re[J]=!0,M.disallowedTagsMode==="discard"&&k.indexOf(de)!==-1&&(Le=!0,He=1),Re[J]=!0),J++,Ae){if(M.disallowedTagsMode==="discard")return;x=A,A=""}A+="<"+de,de==="script"&&(M.allowedScriptHostnames||M.allowedScriptDomains)&&(Ne.innerText=""),(!U||_(U,de)||U["*"])&&f(ve,function(V,K){if(!T.test(K)){delete Ne.attribs[K];return}let Q=!1;if(!U||_(U,de)&&U[de].indexOf(K)!==-1||U["*"]&&U["*"].indexOf(K)!==-1||_(Y,de)&&Y[de].test(K)||Y["*"]&&Y["*"].test(K))Q=!0;else if(U&&U[de]){for(const j of U[de])if(c(j)&&j.name&&j.name===K){Q=!0;let se="";if(j.multiple===!0){const pe=V.split(" ");for(const ge of pe)j.values.indexOf(ge)!==-1&&(se===""?se=ge:se+=" "+ge)}else j.values.indexOf(V)>=0&&(se=V);V=se}}if(Q){if(M.allowedSchemesAppliedToAttributes.indexOf(K)!==-1&&we(de,V)){delete Ne.attribs[K];return}if(de==="script"&&K==="src"){let j=!0;try{const se=tt(V);if(M.allowedScriptHostnames||M.allowedScriptDomains){const pe=(M.allowedScriptHostnames||[]).find(function(be){return be===se.url.hostname}),ge=(M.allowedScriptDomains||[]).find(function(be){return se.url.hostname===be||se.url.hostname.endsWith(`.${be}`)});j=pe||ge}}catch(se){j=!1}if(!j){delete Ne.attribs[K];return}}if(de==="iframe"&&K==="src"){let j=!0;try{const se=tt(V);if(se.isRelativeUrl)j=_(M,"allowIframeRelativeUrls")?M.allowIframeRelativeUrls:!M.allowedIframeHostnames&&!M.allowedIframeDomains;else if(M.allowedIframeHostnames||M.allowedIframeDomains){const pe=(M.allowedIframeHostnames||[]).find(function(be){return be===se.url.hostname}),ge=(M.allowedIframeDomains||[]).find(function(be){return se.url.hostname===be||se.url.hostname.endsWith(`.${be}`)});j=pe||ge}}catch(se){j=!1}if(!j){delete Ne.attribs[K];return}}if(K==="srcset")try{let j=d(V);if(j.forEach(function(se){we("srcset",se.url)&&(se.evil=!0)}),j=h(j,function(se){return!se.evil}),j.length)V=b(h(j,function(se){return!se.evil})),Ne.attribs[K]=V;else{delete Ne.attribs[K];return}}catch(j){delete Ne.attribs[K];return}if(K==="class"){const j=z[de],se=z["*"],pe=B[de],ge=_e[de],be=B["*"],We=[pe,be].concat(ge).filter(function(ke){return ke});if(j&&se?V=Tt(V,o(j,se),We):V=Tt(V,j||se,We),!V.length){delete Ne.attribs[K];return}}if(K==="style")try{const j=m(de+" {"+V+"}"),se=it(j,M.allowedStyles);if(V=ct(se),V.length===0){delete Ne.attribs[K];return}}catch(j){delete Ne.attribs[K];return}A+=" "+K,V&&V.length&&(A+='="'+G(V,!0)+'"')}else delete Ne.attribs[K]}),M.selfClosing.indexOf(de)!==-1?A+=" />":(A+=">",Ne.innerText&&!St&&!M.textFilter&&(A+=G(Ne.innerText),Te=!0)),Ae&&(A=x+G(A),x="")},ontext:function(de){if(Le)return;const ve=fe[fe.length-1];let Ne;if(ve&&(Ne=ve.tag,de=ve.innerText!==void 0?ve.innerText:de),M.disallowedTagsMode==="discard"&&(Ne==="script"||Ne==="style"))A+=de;else{const Ae=G(de,!1);M.textFilter&&!Te?A+=M.textFilter(Ae,Ne):Te||(A+=Ae)}if(fe.length){const Ae=fe[fe.length-1];Ae.text+=de}},onclosetag:function(de){if(Le)if(He--,!He)Le=!1;else return;const ve=fe.pop();if(!ve)return;if(ve.tag!==de){fe.push(ve);return}Le=M.enforceHtmlBoundary?de==="html":!1,J--;const Ne=Re[J];if(Ne){if(delete Re[J],M.disallowedTagsMode==="discard"){ve.updateParentNodeText();return}x=A,A=""}if(De[J]&&(de=De[J],delete De[J]),M.exclusiveFilter&&M.exclusiveFilter(ve)){A=A.substr(0,ve.tagPosition);return}if(ve.updateParentNodeMediaChildren(),ve.updateParentNodeText(),M.selfClosing.indexOf(de)!==-1){Ne&&(A=x,x="");return}A+="</"+de+">",Ne&&(A=x+G(A),x=""),Te=!1}},M.parser);return et.write(D),et.end(),A;function le(){A="",J=0,fe=[],Re={},De={},Le=!1,He=0}function G(de,ve){return typeof de!="string"&&(de=de+""),M.parser.decodeEntities&&(de=de.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),ve&&(de=de.replace(/"/g,"&quot;"))),de=de.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),ve&&(de=de.replace(/"/g,"&quot;")),de}function we(de,ve){for(ve=ve.replace(/[\x00-\x20]+/g,"");;){const St=ve.indexOf("<!--");if(St===-1)break;const ae=ve.indexOf("-->",St+4);if(ae===-1)break;ve=ve.substring(0,St)+ve.substring(ae+3)}const Ne=ve.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!Ne)return ve.match(/^[/\\]{2}/)?!M.allowProtocolRelative:!1;const Ae=Ne[1].toLowerCase();return _(M.allowedSchemesByTag,de)?M.allowedSchemesByTag[de].indexOf(Ae)===-1:!M.allowedSchemes||M.allowedSchemes.indexOf(Ae)===-1}function tt(de){if(de=de.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),de.startsWith("relative:"))throw new Error("relative: exploit attempt");let ve="relative://relative-site";for(let St=0;St<100;St++)ve+=`/${St}`;const Ne=new URL(de,ve);return{isRelativeUrl:Ne&&Ne.hostname==="relative-site"&&Ne.protocol==="relative:",url:Ne}}function it(de,ve){if(!ve)return de;const Ne=de.nodes[0];let Ae;return ve[Ne.selector]&&ve["*"]?Ae=o(ve[Ne.selector],ve["*"]):Ae=ve[Ne.selector]||ve["*"],Ae&&(de.nodes[0].nodes=Ne.nodes.reduce(pt(Ae),[])),de}function ct(de){return de.nodes[0].nodes.reduce(function(ve,Ne){return ve.push(`${Ne.prop}:${Ne.value}${Ne.important?" !important":""}`),ve},[]).join(";")}function pt(de){return function(ve,Ne){return _(de,Ne.prop)&&de[Ne.prop].some(function(St){return St.test(Ne.value)})&&ve.push(Ne),ve}}function Tt(de,ve,Ne){return ve?(de=de.split(/\s+/),de.filter(function(Ae){return ve.indexOf(Ae)!==-1||Ne.some(function(St){return St.test(Ae)})}).join(" ")):de}}const O={decodeEntities:!0};R.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},R.simpleTransform=function(D,M,I){return I=I===void 0?!0:I,M=M||{},function(A,x){let L;if(I)for(L in M)x[L]=M[L];else x=M;return{tagName:D,attribs:x}}}},20823:v=>{"use strict";v.exports=g=>{if(typeof g!="string")throw new TypeError("Expected a string");return g.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},58148:(v,g,n)=>{"use strict";let l=n(8287);class u extends l{constructor(c){super(c),this.type="atrule"}append(...c){return this.proxyOf.nodes||(this.nodes=[]),super.append(...c)}prepend(...c){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...c)}}v.exports=u,u.default=u,l.registerAtRule(u)},39865:(v,g,n)=>{"use strict";let l=n(23593);class u extends l{constructor(c){super(c),this.type="comment"}}v.exports=u,u.default=u},8287:(v,g,n)=>{"use strict";let{isClean:l,my:u}=n(92999),a=n(88198),c=n(39865),o=n(23593),d,m,E,p;function f(C){return C.map(b=>(b.nodes&&(b.nodes=f(b.nodes)),delete b.source,b))}function _(C){if(C[l]=!1,C.proxyOf.nodes)for(let b of C.proxyOf.nodes)_(b)}class h extends o{push(b){return b.parent=this,this.proxyOf.nodes.push(b),this}each(b){if(!this.proxyOf.nodes)return;let T=this.getIterator(),R,O;for(;this.indexes[T]<this.proxyOf.nodes.length&&(R=this.indexes[T],O=b(this.proxyOf.nodes[R],R),O!==!1);)this.indexes[T]+=1;return delete this.indexes[T],O}walk(b){return this.each((T,R)=>{let O;try{O=b(T,R)}catch(D){throw T.addToError(D)}return O!==!1&&T.walk&&(O=T.walk(b)),O})}walkDecls(b,T){return T?b instanceof RegExp?this.walk((R,O)=>{if(R.type==="decl"&&b.test(R.prop))return T(R,O)}):this.walk((R,O)=>{if(R.type==="decl"&&R.prop===b)return T(R,O)}):(T=b,this.walk((R,O)=>{if(R.type==="decl")return T(R,O)}))}walkRules(b,T){return T?b instanceof RegExp?this.walk((R,O)=>{if(R.type==="rule"&&b.test(R.selector))return T(R,O)}):this.walk((R,O)=>{if(R.type==="rule"&&R.selector===b)return T(R,O)}):(T=b,this.walk((R,O)=>{if(R.type==="rule")return T(R,O)}))}walkAtRules(b,T){return T?b instanceof RegExp?this.walk((R,O)=>{if(R.type==="atrule"&&b.test(R.name))return T(R,O)}):this.walk((R,O)=>{if(R.type==="atrule"&&R.name===b)return T(R,O)}):(T=b,this.walk((R,O)=>{if(R.type==="atrule")return T(R,O)}))}walkComments(b){return this.walk((T,R)=>{if(T.type==="comment")return b(T,R)})}append(...b){for(let T of b){let R=this.normalize(T,this.last);for(let O of R)this.proxyOf.nodes.push(O)}return this.markDirty(),this}prepend(...b){b=b.reverse();for(let T of b){let R=this.normalize(T,this.first,"prepend").reverse();for(let O of R)this.proxyOf.nodes.unshift(O);for(let O in this.indexes)this.indexes[O]=this.indexes[O]+R.length}return this.markDirty(),this}cleanRaws(b){if(super.cleanRaws(b),this.nodes)for(let T of this.nodes)T.cleanRaws(b)}insertBefore(b,T){let R=this.index(b),O=R===0?"prepend":!1,D=this.normalize(T,this.proxyOf.nodes[R],O).reverse();R=this.index(b);for(let I of D)this.proxyOf.nodes.splice(R,0,I);let M;for(let I in this.indexes)M=this.indexes[I],R<=M&&(this.indexes[I]=M+D.length);return this.markDirty(),this}insertAfter(b,T){let R=this.index(b),O=this.normalize(T,this.proxyOf.nodes[R]).reverse();R=this.index(b);for(let M of O)this.proxyOf.nodes.splice(R+1,0,M);let D;for(let M in this.indexes)D=this.indexes[M],R<D&&(this.indexes[M]=D+O.length);return this.markDirty(),this}removeChild(b){b=this.index(b),this.proxyOf.nodes[b].parent=void 0,this.proxyOf.nodes.splice(b,1);let T;for(let R in this.indexes)T=this.indexes[R],T>=b&&(this.indexes[R]=T-1);return this.markDirty(),this}removeAll(){for(let b of this.proxyOf.nodes)b.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(b,T,R){return R||(R=T,T={}),this.walkDecls(O=>{T.props&&!T.props.includes(O.prop)||T.fast&&!O.value.includes(T.fast)||(O.value=O.value.replace(b,R))}),this.markDirty(),this}every(b){return this.nodes.every(b)}some(b){return this.nodes.some(b)}index(b){return typeof b=="number"?b:(b.proxyOf&&(b=b.proxyOf),this.proxyOf.nodes.indexOf(b))}get first(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(b,T){if(typeof b=="string")b=f(d(b).nodes);else if(Array.isArray(b)){b=b.slice(0);for(let O of b)O.parent&&O.parent.removeChild(O,"ignore")}else if(b.type==="root"&&this.type!=="document"){b=b.nodes.slice(0);for(let O of b)O.parent&&O.parent.removeChild(O,"ignore")}else if(b.type)b=[b];else if(b.prop){if(typeof b.value=="undefined")throw new Error("Value field is missed in node creation");typeof b.value!="string"&&(b.value=String(b.value)),b=[new a(b)]}else if(b.selector)b=[new m(b)];else if(b.name)b=[new E(b)];else if(b.text)b=[new c(b)];else throw new Error("Unknown node type in node creation");return b.map(O=>(O[u]||h.rebuild(O),O=O.proxyOf,O.parent&&O.parent.removeChild(O),O[l]&&_(O),typeof O.raws.before=="undefined"&&T&&typeof T.raws.before!="undefined"&&(O.raws.before=T.raws.before.replace(/\S/g,"")),O.parent=this.proxyOf,O))}getProxyProcessor(){return{set(b,T,R){return b[T]===R||(b[T]=R,(T==="name"||T==="params"||T==="selector")&&b.markDirty()),!0},get(b,T){return T==="proxyOf"?b:b[T]?T==="each"||typeof T=="string"&&T.startsWith("walk")?(...R)=>b[T](...R.map(O=>typeof O=="function"?(D,M)=>O(D.toProxy(),M):O)):T==="every"||T==="some"?R=>b[T]((O,...D)=>R(O.toProxy(),...D)):T==="root"?()=>b.root().toProxy():T==="nodes"?b.nodes.map(R=>R.toProxy()):T==="first"||T==="last"?b[T].toProxy():b[T]:b[T]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let b=this.lastEach;return this.indexes[b]=0,b}}h.registerParse=C=>{d=C},h.registerRule=C=>{m=C},h.registerAtRule=C=>{E=C},h.registerRoot=C=>{p=C},v.exports=h,h.default=h,h.rebuild=C=>{C.type==="atrule"?Object.setPrototypeOf(C,E.prototype):C.type==="rule"?Object.setPrototypeOf(C,m.prototype):C.type==="decl"?Object.setPrototypeOf(C,a.prototype):C.type==="comment"?Object.setPrototypeOf(C,c.prototype):C.type==="root"&&Object.setPrototypeOf(C,p.prototype),C[u]=!0,C.nodes&&C.nodes.forEach(b=>{h.rebuild(b)})}},46871:(v,g,n)=>{"use strict";let l=n(85186),u=n(57544);class a extends Error{constructor(o,d,m,E,p,f){super(o),this.name="CssSyntaxError",this.reason=o,p&&(this.file=p),E&&(this.source=E),f&&(this.plugin=f),typeof d!="undefined"&&typeof m!="undefined"&&(typeof d=="number"?(this.line=d,this.column=m):(this.line=d.line,this.column=d.column,this.endLine=m.line,this.endColumn=m.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,a)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(o){if(!this.source)return"";let d=this.source;o==null&&(o=l.isColorSupported),u&&o&&(d=u(d));let m=d.split(/\r?\n/),E=Math.max(this.line-3,0),p=Math.min(this.line+2,m.length),f=String(p).length,_,h;if(o){let{bold:C,red:b,gray:T}=l.createColors(!0);_=R=>C(b(R)),h=R=>T(R)}else _=h=C=>C;return m.slice(E,p).map((C,b)=>{let T=E+1+b,R=" "+(" "+T).slice(-f)+" | ";if(T===this.line){let O=h(R.replace(/\d/g," "))+C.slice(0,this.column-1).replace(/[^\t]/g," ");return _(">")+h(R)+C+`
72
+ `)});const k=M.nonTextTags||["script","style","textarea","option"];let U,Y;M.allowedAttributes&&(U={},Y={},f(M.allowedAttributes,function(de,ve){U[ve]=[];const Ne=[];de.forEach(function(Ae){typeof Ae=="string"&&Ae.indexOf("*")>=0?Ne.push(a(Ae).replace(/\\\*/g,".*")):U[ve].push(Ae)}),Ne.length&&(Y[ve]=new RegExp("^("+Ne.join("|")+")$"))}));const z={},B={},_e={};f(M.allowedClasses,function(de,ve){U&&(_(U,ve)||(U[ve]=[]),U[ve].push("class")),z[ve]=[],_e[ve]=[];const Ne=[];de.forEach(function(Ae){typeof Ae=="string"&&Ae.indexOf("*")>=0?Ne.push(a(Ae).replace(/\\\*/g,".*")):Ae instanceof RegExp?_e[ve].push(Ae):z[ve].push(Ae)}),Ne.length&&(B[ve]=new RegExp("^("+Ne.join("|")+")$"))});const ee={};let Z;f(M.transformTags,function(de,ve){let Ne;typeof de=="function"?Ne=de:typeof de=="string"&&(Ne=R.simpleTransform(de)),ve==="*"?Z=Ne:ee[ve]=Ne});let J,fe,Re,De,Le,He,Te=!1;le();const et=new u.Parser({onopentag:function(de,ve){if(M.enforceHtmlBoundary&&de==="html"&&le(),Le){He++;return}const Ne=new L(de,ve);fe.push(Ne);let Ae=!1;const St=!!Ne.text;let ae;if(_(ee,de)&&(ae=ee[de](de,ve),Ne.attribs=ve=ae.attribs,ae.text!==void 0&&(Ne.innerText=ae.text),de!==ae.tagName&&(Ne.name=de=ae.tagName,De[J]=ae.tagName)),Z&&(ae=Z(de,ve),Ne.attribs=ve=ae.attribs,de!==ae.tagName&&(Ne.name=de=ae.tagName,De[J]=ae.tagName)),(M.allowedTags!==!1&&(M.allowedTags||[]).indexOf(de)===-1||M.disallowedTagsMode==="recursiveEscape"&&!C(Re)||M.nestingLimit!=null&&J>=M.nestingLimit)&&(Ae=!0,Re[J]=!0,M.disallowedTagsMode==="discard"&&k.indexOf(de)!==-1&&(Le=!0,He=1),Re[J]=!0),J++,Ae){if(M.disallowedTagsMode==="discard")return;x=A,A=""}A+="<"+de,de==="script"&&(M.allowedScriptHostnames||M.allowedScriptDomains)&&(Ne.innerText=""),(!U||_(U,de)||U["*"])&&f(ve,function(V,K){if(!T.test(K)){delete Ne.attribs[K];return}let Q=!1;if(!U||_(U,de)&&U[de].indexOf(K)!==-1||U["*"]&&U["*"].indexOf(K)!==-1||_(Y,de)&&Y[de].test(K)||Y["*"]&&Y["*"].test(K))Q=!0;else if(U&&U[de]){for(const j of U[de])if(c(j)&&j.name&&j.name===K){Q=!0;let se="";if(j.multiple===!0){const pe=V.split(" ");for(const ge of pe)j.values.indexOf(ge)!==-1&&(se===""?se=ge:se+=" "+ge)}else j.values.indexOf(V)>=0&&(se=V);V=se}}if(Q){if(M.allowedSchemesAppliedToAttributes.indexOf(K)!==-1&&we(de,V)){delete Ne.attribs[K];return}if(de==="script"&&K==="src"){let j=!0;try{const se=tt(V);if(M.allowedScriptHostnames||M.allowedScriptDomains){const pe=(M.allowedScriptHostnames||[]).find(function(be){return be===se.url.hostname}),ge=(M.allowedScriptDomains||[]).find(function(be){return se.url.hostname===be||se.url.hostname.endsWith(`.${be}`)});j=pe||ge}}catch(se){j=!1}if(!j){delete Ne.attribs[K];return}}if(de==="iframe"&&K==="src"){let j=!0;try{const se=tt(V);if(se.isRelativeUrl)j=_(M,"allowIframeRelativeUrls")?M.allowIframeRelativeUrls:!M.allowedIframeHostnames&&!M.allowedIframeDomains;else if(M.allowedIframeHostnames||M.allowedIframeDomains){const pe=(M.allowedIframeHostnames||[]).find(function(be){return be===se.url.hostname}),ge=(M.allowedIframeDomains||[]).find(function(be){return se.url.hostname===be||se.url.hostname.endsWith(`.${be}`)});j=pe||ge}}catch(se){j=!1}if(!j){delete Ne.attribs[K];return}}if(K==="srcset")try{let j=d(V);if(j.forEach(function(se){we("srcset",se.url)&&(se.evil=!0)}),j=h(j,function(se){return!se.evil}),j.length)V=b(h(j,function(se){return!se.evil})),Ne.attribs[K]=V;else{delete Ne.attribs[K];return}}catch(j){delete Ne.attribs[K];return}if(K==="class"){const j=z[de],se=z["*"],pe=B[de],ge=_e[de],be=B["*"],We=[pe,be].concat(ge).filter(function(ke){return ke});if(j&&se?V=Tt(V,o(j,se),We):V=Tt(V,j||se,We),!V.length){delete Ne.attribs[K];return}}if(K==="style")try{const j=m(de+" {"+V+"}"),se=it(j,M.allowedStyles);if(V=ct(se),V.length===0){delete Ne.attribs[K];return}}catch(j){delete Ne.attribs[K];return}A+=" "+K,V&&V.length&&(A+='="'+G(V,!0)+'"')}else delete Ne.attribs[K]}),M.selfClosing.indexOf(de)!==-1?A+=" />":(A+=">",Ne.innerText&&!St&&!M.textFilter&&(A+=G(Ne.innerText),Te=!0)),Ae&&(A=x+G(A),x="")},ontext:function(de){if(Le)return;const ve=fe[fe.length-1];let Ne;if(ve&&(Ne=ve.tag,de=ve.innerText!==void 0?ve.innerText:de),M.disallowedTagsMode==="discard"&&(Ne==="script"||Ne==="style"))A+=de;else{const Ae=G(de,!1);M.textFilter&&!Te?A+=M.textFilter(Ae,Ne):Te||(A+=Ae)}if(fe.length){const Ae=fe[fe.length-1];Ae.text+=de}},onclosetag:function(de){if(Le)if(He--,!He)Le=!1;else return;const ve=fe.pop();if(!ve)return;if(ve.tag!==de){fe.push(ve);return}Le=M.enforceHtmlBoundary?de==="html":!1,J--;const Ne=Re[J];if(Ne){if(delete Re[J],M.disallowedTagsMode==="discard"){ve.updateParentNodeText();return}x=A,A=""}if(De[J]&&(de=De[J],delete De[J]),M.exclusiveFilter&&M.exclusiveFilter(ve)){A=A.substr(0,ve.tagPosition);return}if(ve.updateParentNodeMediaChildren(),ve.updateParentNodeText(),M.selfClosing.indexOf(de)!==-1){Ne&&(A=x,x="");return}A+="</"+de+">",Ne&&(A=x+G(A),x=""),Te=!1}},M.parser);return et.write(D),et.end(),A;function le(){A="",J=0,fe=[],Re={},De={},Le=!1,He=0}function G(de,ve){return typeof de!="string"&&(de=de+""),M.parser.decodeEntities&&(de=de.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),ve&&(de=de.replace(/"/g,"&quot;"))),de=de.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),ve&&(de=de.replace(/"/g,"&quot;")),de}function we(de,ve){for(ve=ve.replace(/[\x00-\x20]+/g,"");;){const St=ve.indexOf("<!--");if(St===-1)break;const ae=ve.indexOf("-->",St+4);if(ae===-1)break;ve=ve.substring(0,St)+ve.substring(ae+3)}const Ne=ve.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!Ne)return ve.match(/^[/\\]{2}/)?!M.allowProtocolRelative:!1;const Ae=Ne[1].toLowerCase();return _(M.allowedSchemesByTag,de)?M.allowedSchemesByTag[de].indexOf(Ae)===-1:!M.allowedSchemes||M.allowedSchemes.indexOf(Ae)===-1}function tt(de){if(de=de.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),de.startsWith("relative:"))throw new Error("relative: exploit attempt");let ve="relative://relative-site";for(let St=0;St<100;St++)ve+=`/${St}`;const Ne=new URL(de,ve);return{isRelativeUrl:Ne&&Ne.hostname==="relative-site"&&Ne.protocol==="relative:",url:Ne}}function it(de,ve){if(!ve)return de;const Ne=de.nodes[0];let Ae;return ve[Ne.selector]&&ve["*"]?Ae=o(ve[Ne.selector],ve["*"]):Ae=ve[Ne.selector]||ve["*"],Ae&&(de.nodes[0].nodes=Ne.nodes.reduce(pt(Ae),[])),de}function ct(de){return de.nodes[0].nodes.reduce(function(ve,Ne){return ve.push(`${Ne.prop}:${Ne.value}${Ne.important?" !important":""}`),ve},[]).join(";")}function pt(de){return function(ve,Ne){return _(de,Ne.prop)&&de[Ne.prop].some(function(St){return St.test(Ne.value)})&&ve.push(Ne),ve}}function Tt(de,ve,Ne){return ve?(de=de.split(/\s+/),de.filter(function(Ae){return ve.indexOf(Ae)!==-1||Ne.some(function(St){return St.test(Ae)})}).join(" ")):de}}const O={decodeEntities:!0};R.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},R.simpleTransform=function(D,M,I){return I=I===void 0?!0:I,M=M||{},function(A,x){let L;if(I)for(L in M)x[L]=M[L];else x=M;return{tagName:D,attribs:x}}}},58148:(v,g,n)=>{"use strict";let l=n(8287);class u extends l{constructor(c){super(c),this.type="atrule"}append(...c){return this.proxyOf.nodes||(this.nodes=[]),super.append(...c)}prepend(...c){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...c)}}v.exports=u,u.default=u,l.registerAtRule(u)},39865:(v,g,n)=>{"use strict";let l=n(23593);class u extends l{constructor(c){super(c),this.type="comment"}}v.exports=u,u.default=u},8287:(v,g,n)=>{"use strict";let{isClean:l,my:u}=n(92999),a=n(88198),c=n(39865),o=n(23593),d,m,E,p;function f(C){return C.map(b=>(b.nodes&&(b.nodes=f(b.nodes)),delete b.source,b))}function _(C){if(C[l]=!1,C.proxyOf.nodes)for(let b of C.proxyOf.nodes)_(b)}class h extends o{push(b){return b.parent=this,this.proxyOf.nodes.push(b),this}each(b){if(!this.proxyOf.nodes)return;let T=this.getIterator(),R,O;for(;this.indexes[T]<this.proxyOf.nodes.length&&(R=this.indexes[T],O=b(this.proxyOf.nodes[R],R),O!==!1);)this.indexes[T]+=1;return delete this.indexes[T],O}walk(b){return this.each((T,R)=>{let O;try{O=b(T,R)}catch(D){throw T.addToError(D)}return O!==!1&&T.walk&&(O=T.walk(b)),O})}walkDecls(b,T){return T?b instanceof RegExp?this.walk((R,O)=>{if(R.type==="decl"&&b.test(R.prop))return T(R,O)}):this.walk((R,O)=>{if(R.type==="decl"&&R.prop===b)return T(R,O)}):(T=b,this.walk((R,O)=>{if(R.type==="decl")return T(R,O)}))}walkRules(b,T){return T?b instanceof RegExp?this.walk((R,O)=>{if(R.type==="rule"&&b.test(R.selector))return T(R,O)}):this.walk((R,O)=>{if(R.type==="rule"&&R.selector===b)return T(R,O)}):(T=b,this.walk((R,O)=>{if(R.type==="rule")return T(R,O)}))}walkAtRules(b,T){return T?b instanceof RegExp?this.walk((R,O)=>{if(R.type==="atrule"&&b.test(R.name))return T(R,O)}):this.walk((R,O)=>{if(R.type==="atrule"&&R.name===b)return T(R,O)}):(T=b,this.walk((R,O)=>{if(R.type==="atrule")return T(R,O)}))}walkComments(b){return this.walk((T,R)=>{if(T.type==="comment")return b(T,R)})}append(...b){for(let T of b){let R=this.normalize(T,this.last);for(let O of R)this.proxyOf.nodes.push(O)}return this.markDirty(),this}prepend(...b){b=b.reverse();for(let T of b){let R=this.normalize(T,this.first,"prepend").reverse();for(let O of R)this.proxyOf.nodes.unshift(O);for(let O in this.indexes)this.indexes[O]=this.indexes[O]+R.length}return this.markDirty(),this}cleanRaws(b){if(super.cleanRaws(b),this.nodes)for(let T of this.nodes)T.cleanRaws(b)}insertBefore(b,T){let R=this.index(b),O=R===0?"prepend":!1,D=this.normalize(T,this.proxyOf.nodes[R],O).reverse();R=this.index(b);for(let I of D)this.proxyOf.nodes.splice(R,0,I);let M;for(let I in this.indexes)M=this.indexes[I],R<=M&&(this.indexes[I]=M+D.length);return this.markDirty(),this}insertAfter(b,T){let R=this.index(b),O=this.normalize(T,this.proxyOf.nodes[R]).reverse();R=this.index(b);for(let M of O)this.proxyOf.nodes.splice(R+1,0,M);let D;for(let M in this.indexes)D=this.indexes[M],R<D&&(this.indexes[M]=D+O.length);return this.markDirty(),this}removeChild(b){b=this.index(b),this.proxyOf.nodes[b].parent=void 0,this.proxyOf.nodes.splice(b,1);let T;for(let R in this.indexes)T=this.indexes[R],T>=b&&(this.indexes[R]=T-1);return this.markDirty(),this}removeAll(){for(let b of this.proxyOf.nodes)b.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(b,T,R){return R||(R=T,T={}),this.walkDecls(O=>{T.props&&!T.props.includes(O.prop)||T.fast&&!O.value.includes(T.fast)||(O.value=O.value.replace(b,R))}),this.markDirty(),this}every(b){return this.nodes.every(b)}some(b){return this.nodes.some(b)}index(b){return typeof b=="number"?b:(b.proxyOf&&(b=b.proxyOf),this.proxyOf.nodes.indexOf(b))}get first(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(b,T){if(typeof b=="string")b=f(d(b).nodes);else if(Array.isArray(b)){b=b.slice(0);for(let O of b)O.parent&&O.parent.removeChild(O,"ignore")}else if(b.type==="root"&&this.type!=="document"){b=b.nodes.slice(0);for(let O of b)O.parent&&O.parent.removeChild(O,"ignore")}else if(b.type)b=[b];else if(b.prop){if(typeof b.value=="undefined")throw new Error("Value field is missed in node creation");typeof b.value!="string"&&(b.value=String(b.value)),b=[new a(b)]}else if(b.selector)b=[new m(b)];else if(b.name)b=[new E(b)];else if(b.text)b=[new c(b)];else throw new Error("Unknown node type in node creation");return b.map(O=>(O[u]||h.rebuild(O),O=O.proxyOf,O.parent&&O.parent.removeChild(O),O[l]&&_(O),typeof O.raws.before=="undefined"&&T&&typeof T.raws.before!="undefined"&&(O.raws.before=T.raws.before.replace(/\S/g,"")),O.parent=this.proxyOf,O))}getProxyProcessor(){return{set(b,T,R){return b[T]===R||(b[T]=R,(T==="name"||T==="params"||T==="selector")&&b.markDirty()),!0},get(b,T){return T==="proxyOf"?b:b[T]?T==="each"||typeof T=="string"&&T.startsWith("walk")?(...R)=>b[T](...R.map(O=>typeof O=="function"?(D,M)=>O(D.toProxy(),M):O)):T==="every"||T==="some"?R=>b[T]((O,...D)=>R(O.toProxy(),...D)):T==="root"?()=>b.root().toProxy():T==="nodes"?b.nodes.map(R=>R.toProxy()):T==="first"||T==="last"?b[T].toProxy():b[T]:b[T]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let b=this.lastEach;return this.indexes[b]=0,b}}h.registerParse=C=>{d=C},h.registerRule=C=>{m=C},h.registerAtRule=C=>{E=C},h.registerRoot=C=>{p=C},v.exports=h,h.default=h,h.rebuild=C=>{C.type==="atrule"?Object.setPrototypeOf(C,E.prototype):C.type==="rule"?Object.setPrototypeOf(C,m.prototype):C.type==="decl"?Object.setPrototypeOf(C,a.prototype):C.type==="comment"?Object.setPrototypeOf(C,c.prototype):C.type==="root"&&Object.setPrototypeOf(C,p.prototype),C[u]=!0,C.nodes&&C.nodes.forEach(b=>{h.rebuild(b)})}},46871:(v,g,n)=>{"use strict";let l=n(85186),u=n(57544);class a extends Error{constructor(o,d,m,E,p,f){super(o),this.name="CssSyntaxError",this.reason=o,p&&(this.file=p),E&&(this.source=E),f&&(this.plugin=f),typeof d!="undefined"&&typeof m!="undefined"&&(typeof d=="number"?(this.line=d,this.column=m):(this.line=d.line,this.column=d.column,this.endLine=m.line,this.endColumn=m.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,a)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(o){if(!this.source)return"";let d=this.source;o==null&&(o=l.isColorSupported),u&&o&&(d=u(d));let m=d.split(/\r?\n/),E=Math.max(this.line-3,0),p=Math.min(this.line+2,m.length),f=String(p).length,_,h;if(o){let{bold:C,red:b,gray:T}=l.createColors(!0);_=R=>C(b(R)),h=R=>T(R)}else _=h=C=>C;return m.slice(E,p).map((C,b)=>{let T=E+1+b,R=" "+(" "+T).slice(-f)+" | ";if(T===this.line){let O=h(R.replace(/\d/g," "))+C.slice(0,this.column-1).replace(/[^\t]/g," ");return _(">")+h(R)+C+`
73
73
  `+O+_("^")}return" "+h(R)+C}).join(`
74
74
  `)}toString(){let o=this.showSourceCode();return o&&(o=`
75
75
 
76
76
  `+o+`
77
- `),this.name+": "+this.message+o}}v.exports=a,a.default=a},88198:(v,g,n)=>{"use strict";let l=n(23593);class u extends l{constructor(c){c&&typeof c.value!="undefined"&&typeof c.value!="string"&&(c=ui(Gn({},c),{value:String(c.value)})),super(c),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}v.exports=u,u.default=u},12459:(v,g,n)=>{"use strict";let l=n(8287),u,a;class c extends l{constructor(d){super(Gn({type:"document"},d)),this.nodes||(this.nodes=[])}toResult(d={}){return new u(new a,this,d).stringify()}}c.registerLazyResult=o=>{u=o},c.registerProcessor=o=>{a=o},v.exports=c,c.default=c},89283:(v,g,n)=>{"use strict";let l=n(88198),u=n(71142),a=n(39865),c=n(58148),o=n(17652),d=n(1613),m=n(73936);function E(p,f){if(Array.isArray(p))return p.map(T=>E(T));let C=p,{inputs:_}=C,h=Ia(C,["inputs"]);if(_){f=[];for(let T of _){let R=ui(Gn({},T),{__proto__:o.prototype});R.map&&(R.map=ui(Gn({},R.map),{__proto__:u.prototype})),f.push(R)}}if(h.nodes&&(h.nodes=p.nodes.map(T=>E(T,f))),h.source){let b=h.source,{inputId:T}=b,R=Ia(b,["inputId"]);h.source=R,T!=null&&(h.source.input=f[T])}if(h.type==="root")return new d(h);if(h.type==="decl")return new l(h);if(h.type==="rule")return new m(h);if(h.type==="comment")return new a(h);if(h.type==="atrule")return new c(h);throw new Error("Unknown node type: "+p.type)}v.exports=E,E.default=E},17652:(v,g,n)=>{"use strict";let{SourceMapConsumer:l,SourceMapGenerator:u}=n(33842),{fileURLToPath:a,pathToFileURL:c}=n(85695),{resolve:o,isAbsolute:d}=n(42310),{nanoid:m}=n(3425),E=n(57544),p=n(46871),f=n(71142),_=Symbol("fromOffsetCache"),h=Boolean(l&&u),C=Boolean(o&&d);class b{constructor(R,O={}){if(R===null||typeof R=="undefined"||typeof R=="object"&&!R.toString)throw new Error(`PostCSS received ${R} instead of CSS string`);if(this.css=R.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,O.from&&(!C||/^\w+:\/\//.test(O.from)||d(O.from)?this.file=O.from:this.file=o(O.from)),C&&h){let D=new f(this.css,O);if(D.text){this.map=D;let M=D.consumer().file;!this.file&&M&&(this.file=this.mapResolve(M))}}this.file||(this.id="<input css "+m(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(R){let O,D;if(this[_])D=this[_];else{let I=this.css.split(`
77
+ `),this.name+": "+this.message+o}}v.exports=a,a.default=a},88198:(v,g,n)=>{"use strict";let l=n(23593);class u extends l{constructor(c){c&&typeof c.value!="undefined"&&typeof c.value!="string"&&(c=ui(Gn({},c),{value:String(c.value)})),super(c),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}v.exports=u,u.default=u},12459:(v,g,n)=>{"use strict";let l=n(8287),u,a;class c extends l{constructor(d){super(Gn({type:"document"},d)),this.nodes||(this.nodes=[])}toResult(d={}){return new u(new a,this,d).stringify()}}c.registerLazyResult=o=>{u=o},c.registerProcessor=o=>{a=o},v.exports=c,c.default=c},89283:(v,g,n)=>{"use strict";let l=n(88198),u=n(71142),a=n(39865),c=n(58148),o=n(17652),d=n(1613),m=n(73936);function E(p,f){if(Array.isArray(p))return p.map(T=>E(T));let C=p,{inputs:_}=C,h=Da(C,["inputs"]);if(_){f=[];for(let T of _){let R=ui(Gn({},T),{__proto__:o.prototype});R.map&&(R.map=ui(Gn({},R.map),{__proto__:u.prototype})),f.push(R)}}if(h.nodes&&(h.nodes=p.nodes.map(T=>E(T,f))),h.source){let b=h.source,{inputId:T}=b,R=Da(b,["inputId"]);h.source=R,T!=null&&(h.source.input=f[T])}if(h.type==="root")return new d(h);if(h.type==="decl")return new l(h);if(h.type==="rule")return new m(h);if(h.type==="comment")return new a(h);if(h.type==="atrule")return new c(h);throw new Error("Unknown node type: "+p.type)}v.exports=E,E.default=E},17652:(v,g,n)=>{"use strict";let{SourceMapConsumer:l,SourceMapGenerator:u}=n(33842),{fileURLToPath:a,pathToFileURL:c}=n(85695),{resolve:o,isAbsolute:d}=n(42310),{nanoid:m}=n(3425),E=n(57544),p=n(46871),f=n(71142),_=Symbol("fromOffsetCache"),h=Boolean(l&&u),C=Boolean(o&&d);class b{constructor(R,O={}){if(R===null||typeof R=="undefined"||typeof R=="object"&&!R.toString)throw new Error(`PostCSS received ${R} instead of CSS string`);if(this.css=R.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,O.from&&(!C||/^\w+:\/\//.test(O.from)||d(O.from)?this.file=O.from:this.file=o(O.from)),C&&h){let D=new f(this.css,O);if(D.text){this.map=D;let M=D.consumer().file;!this.file&&M&&(this.file=this.mapResolve(M))}}this.file||(this.id="<input css "+m(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(R){let O,D;if(this[_])D=this[_];else{let I=this.css.split(`
78
78
  `);D=new Array(I.length);let A=0;for(let x=0,L=I.length;x<L;x++)D[x]=A,A+=I[x].length+1;this[_]=D}O=D[D.length-1];let M=0;if(R>=O)M=D.length-1;else{let I=D.length-2,A;for(;M<I;)if(A=M+(I-M>>1),R<D[A])I=A-1;else if(R>=D[A+1])M=A+1;else{M=A;break}}return{line:M+1,col:R-D[M]+1}}error(R,O,D,M={}){let I,A,x;if(O&&typeof O=="object"){let k=O,U=D;if(typeof O.offset=="number"){let Y=this.fromOffset(k.offset);O=Y.line,D=Y.col}else O=k.line,D=k.column;if(typeof U.offset=="number"){let Y=this.fromOffset(U.offset);A=Y.line,x=Y.col}else A=U.line,x=U.column}else if(!D){let k=this.fromOffset(O);O=k.line,D=k.col}let L=this.origin(O,D,A,x);return L?I=new p(R,L.endLine===void 0?L.line:{line:L.line,column:L.column},L.endLine===void 0?L.column:{line:L.endLine,column:L.endColumn},L.source,L.file,M.plugin):I=new p(R,A===void 0?O:{line:O,column:D},A===void 0?D:{line:A,column:x},this.css,this.file,M.plugin),I.input={line:O,column:D,endLine:A,endColumn:x,source:this.css},this.file&&(c&&(I.input.url=c(this.file).toString()),I.input.file=this.file),I}origin(R,O,D,M){if(!this.map)return!1;let I=this.map.consumer(),A=I.originalPositionFor({line:R,column:O});if(!A.source)return!1;let x;typeof D=="number"&&(x=I.originalPositionFor({line:D,column:M}));let L;d(A.source)?L=c(A.source):L=new URL(A.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let k={url:L.toString(),line:A.line,column:A.column,endLine:x&&x.line,endColumn:x&&x.column};if(L.protocol==="file:")if(a)k.file=a(L);else throw new Error("file: protocol is not available in this PostCSS build");let U=I.sourceContentFor(A.source);return U&&(k.source=U),k}mapResolve(R){return/^\w+:\/\//.test(R)?R:o(this.map.consumer().sourceRoot||this.map.root||".",R)}get from(){return this.file||this.id}toJSON(){let R={};for(let O of["hasBOM","css","file","id"])this[O]!=null&&(R[O]=this[O]);return this.map&&(R.map=Gn({},this.map),R.map.consumerCache&&(R.map.consumerCache=void 0)),R}}v.exports=b,b.default=b,E&&E.registerInput&&E.registerInput(b)},83013:(v,g,n)=>{"use strict";var l=n(98399);let{isClean:u,my:a}=n(92999),c=n(45379),o=n(79574),d=n(8287),m=n(12459),E=n(81858),p=n(2360),f=n(49356),_=n(1613);const h={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},C={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},b={postcssPlugin:!0,prepare:!0,Once:!0},T=0;function R(x){return typeof x=="object"&&typeof x.then=="function"}function O(x){let L=!1,k=h[x.type];return x.type==="decl"?L=x.prop.toLowerCase():x.type==="atrule"&&(L=x.name.toLowerCase()),L&&x.append?[k,k+"-"+L,T,k+"Exit",k+"Exit-"+L]:L?[k,k+"-"+L,k+"Exit",k+"Exit-"+L]:x.append?[k,T,k+"Exit"]:[k,k+"Exit"]}function D(x){let L;return x.type==="document"?L=["Document",T,"DocumentExit"]:x.type==="root"?L=["Root",T,"RootExit"]:L=O(x),{node:x,events:L,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function M(x){return x[u]=!1,x.nodes&&x.nodes.forEach(L=>M(L)),x}let I={};class A{constructor(L,k,U){this.stringified=!1,this.processed=!1;let Y;if(typeof k=="object"&&k!==null&&(k.type==="root"||k.type==="document"))Y=M(k);else if(k instanceof A||k instanceof p)Y=M(k.root),k.map&&(typeof U.map=="undefined"&&(U.map={}),U.map.inline||(U.map.inline=!1),U.map.prev=k.map);else{let z=f;U.syntax&&(z=U.syntax.parse),U.parser&&(z=U.parser),z.parse&&(z=z.parse);try{Y=z(k,U)}catch(B){this.processed=!0,this.error=B}Y&&!Y[a]&&d.rebuild(Y)}this.result=new p(L,Y,U),this.helpers=ui(Gn({},I),{result:this.result,postcss:I}),this.plugins=this.processor.plugins.map(z=>typeof z=="object"&&z.prepare?Gn(Gn({},z),z.prepare(this.result)):z)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(L,k){return this.async().then(L,k)}catch(L){return this.async().catch(L)}finally(L){return this.async().then(L,L)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let L of this.plugins){let k=this.runOnRoot(L);if(R(k))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let L=this.result.root;for(;!L[u];)L[u]=!0,this.walkSync(L);if(this.listeners.OnceExit)if(L.type==="document")for(let k of L.nodes)this.visitSync(this.listeners.OnceExit,k);else this.visitSync(this.listeners.OnceExit,L)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let L=this.result.opts,k=o;L.syntax&&(k=L.syntax.stringify),L.stringifier&&(k=L.stringifier),k.stringify&&(k=k.stringify);let Y=new c(k,this.result.root,this.result.opts).generate();return this.result.css=Y[0],this.result.map=Y[1],this.result}walkSync(L){L[u]=!0;let k=O(L);for(let U of k)if(U===T)L.nodes&&L.each(Y=>{Y[u]||this.walkSync(Y)});else{let Y=this.listeners[U];if(Y&&this.visitSync(Y,L.toProxy()))return}}visitSync(L,k){for(let[U,Y]of L){this.result.lastPlugin=U;let z;try{z=Y(k,this.helpers)}catch(B){throw this.handleError(B,k.proxyOf)}if(k.type!=="root"&&k.type!=="document"&&!k.parent)return!0;if(R(z))throw this.getAsyncError()}}runOnRoot(L){this.result.lastPlugin=L;try{if(typeof L=="object"&&L.Once){if(this.result.root.type==="document"){let k=this.result.root.nodes.map(U=>L.Once(U,this.helpers));return R(k[0])?Promise.all(k):k}return L.Once(this.result.root,this.helpers)}else if(typeof L=="function")return L(this.result.root,this.result)}catch(k){throw this.handleError(k)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(L,k){let U=this.result.lastPlugin;try{k&&k.addToError(L),this.error=L,L.name==="CssSyntaxError"&&!L.plugin?(L.plugin=U.postcssPlugin,L.setMessage()):U.postcssVersion}catch(Y){l&&l.error&&l.error(Y)}return L}runAsync(){return ys(this,null,function*(){this.plugin=0;for(let L=0;L<this.plugins.length;L++){let k=this.plugins[L],U=this.runOnRoot(k);if(R(U))try{yield U}catch(Y){throw this.handleError(Y)}}if(this.prepareVisitors(),this.hasListener){let L=this.result.root;for(;!L[u];){L[u]=!0;let k=[D(L)];for(;k.length>0;){let U=this.visitTick(k);if(R(U))try{yield U}catch(Y){let z=k[k.length-1].node;throw this.handleError(Y,z)}}}if(this.listeners.OnceExit)for(let[k,U]of this.listeners.OnceExit){this.result.lastPlugin=k;try{if(L.type==="document"){let Y=L.nodes.map(z=>U(z,this.helpers));yield Promise.all(Y)}else yield U(L,this.helpers)}catch(Y){throw this.handleError(Y)}}}return this.processed=!0,this.stringify()})}prepareVisitors(){this.listeners={};let L=(k,U,Y)=>{this.listeners[U]||(this.listeners[U]=[]),this.listeners[U].push([k,Y])};for(let k of this.plugins)if(typeof k=="object")for(let U in k){if(!C[U]&&/^[A-Z]/.test(U))throw new Error(`Unknown event ${U} in ${k.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!b[U])if(typeof k[U]=="object")for(let Y in k[U])Y==="*"?L(k,U,k[U][Y]):L(k,U+"-"+Y.toLowerCase(),k[U][Y]);else typeof k[U]=="function"&&L(k,U,k[U])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(L){let k=L[L.length-1],{node:U,visitors:Y}=k;if(U.type!=="root"&&U.type!=="document"&&!U.parent){L.pop();return}if(Y.length>0&&k.visitorIndex<Y.length){let[B,_e]=Y[k.visitorIndex];k.visitorIndex+=1,k.visitorIndex===Y.length&&(k.visitors=[],k.visitorIndex=0),this.result.lastPlugin=B;try{return _e(U.toProxy(),this.helpers)}catch(ee){throw this.handleError(ee,U)}}if(k.iterator!==0){let B=k.iterator,_e;for(;_e=U.nodes[U.indexes[B]];)if(U.indexes[B]+=1,!_e[u]){_e[u]=!0,L.push(D(_e));return}k.iterator=0,delete U.indexes[B]}let z=k.events;for(;k.eventIndex<z.length;){let B=z[k.eventIndex];if(k.eventIndex+=1,B===T){U.nodes&&U.nodes.length&&(U[u]=!0,k.iterator=U.getIterator());return}else if(this.listeners[B]){k.visitors=this.listeners[B];return}}L.pop()}}A.registerPostcss=x=>{I=x},v.exports=A,A.default=A,_.registerLazyResult(A),m.registerLazyResult(A)},93317:v=>{"use strict";let g={split(n,l,u){let a=[],c="",o=!1,d=0,m=!1,E="",p=!1;for(let f of n)p?p=!1:f==="\\"?p=!0:m?f===E&&(m=!1):f==='"'||f==="'"?(m=!0,E=f):f==="("?d+=1:f===")"?d>0&&(d-=1):d===0&&l.includes(f)&&(o=!0),o?(c!==""&&a.push(c.trim()),c="",o=!1):c+=f;return(u||c!=="")&&a.push(c.trim()),a},space(n){let l=[" ",`
79
79
  `," "];return g.split(n,l)},comma(n){return g.split(n,[","],!0)}};v.exports=g,g.default=g},45379:(v,g,n)=>{"use strict";var l=n(19221).lW;let{SourceMapConsumer:u,SourceMapGenerator:a}=n(33842),{dirname:c,resolve:o,relative:d,sep:m}=n(42310),{pathToFileURL:E}=n(85695),p=n(17652),f=Boolean(u&&a),_=Boolean(c&&o&&d&&m);class h{constructor(b,T,R,O){this.stringify=b,this.mapOpts=R.map||{},this.root=T,this.opts=R,this.css=O,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(b=>{if(b.source&&b.source.input.map){let T=b.source.input.map;this.previousMaps.includes(T)||this.previousMaps.push(T)}});else{let b=new p(this.css,this.opts);b.map&&this.previousMaps.push(b.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let b=this.mapOpts.annotation;return typeof b!="undefined"&&b!==!0?!1:this.previous().length?this.previous().some(T=>T.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(b=>b.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let b;for(let T=this.root.nodes.length-1;T>=0;T--)b=this.root.nodes[T],b.type==="comment"&&b.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(T)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let b={};if(this.root)this.root.walk(T=>{if(T.source){let R=T.source.input.from;if(R&&!b[R]){b[R]=!0;let O=this.usesFileUrls?this.toFileUrl(R):this.toUrl(this.path(R));this.map.setSourceContent(O,T.source.input.css)}}});else if(this.css){let T=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(T,this.css)}}applyPrevMaps(){for(let b of this.previous()){let T=this.toUrl(this.path(b.file)),R=b.root||c(b.file),O;this.mapOpts.sourcesContent===!1?(O=new u(b.text),O.sourcesContent&&(O.sourcesContent=O.sourcesContent.map(()=>null))):O=b.consumer(),this.map.applySourceMap(O,T,this.toUrl(this.path(R)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(b=>b.annotation):!0}toBase64(b){return l?l.from(b).toString("base64"):window.btoa(unescape(encodeURIComponent(b)))}addAnnotation(){let b;this.isInline()?b="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?b=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?b=this.mapOpts.annotation(this.opts.to,this.root):b=this.outputFile()+".map";let T=`
80
80
  `;this.css.includes(`\r