-
Notifications
You must be signed in to change notification settings - Fork 0
/
imp.js
157 lines (132 loc) · 564 KB
/
imp.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
(()=>{var e={2354:(e,t,r)=>{"use strict";var i=r(4581);function n(e){"function"==typeof(e=e||{}).codeMirrorInstance&&"function"==typeof e.codeMirrorInstance.defineMode?(String.prototype.includes||(String.prototype.includes=function(){return-1!==String.prototype.indexOf.apply(this,arguments)}),e.codeMirrorInstance.defineMode("spell-checker",(function(t){if(!n.aff_loading){n.aff_loading=!0;var r=new XMLHttpRequest;r.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff",!0),r.onload=function(){4===r.readyState&&200===r.status&&(n.aff_data=r.responseText,n.num_loaded++,2==n.num_loaded&&(n.typo=new i("en_US",n.aff_data,n.dic_data,{platform:"any"})))},r.send(null)}if(!n.dic_loading){n.dic_loading=!0;var o=new XMLHttpRequest;o.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.dic",!0),o.onload=function(){4===o.readyState&&200===o.status&&(n.dic_data=o.responseText,n.num_loaded++,2==n.num_loaded&&(n.typo=new i("en_US",n.aff_data,n.dic_data,{platform:"any"})))},o.send(null)}var s='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~ ',a={token:function(e){var t=e.peek(),r="";if(s.includes(t))return e.next(),null;for(;null!=(t=e.peek())&&!s.includes(t);)r+=t,e.next();return n.typo&&!n.typo.check(r)?"spell-error":null}},l=e.codeMirrorInstance.getMode(t,t.backdrop||"text/plain");return e.codeMirrorInstance.overlayMode(l,a,!0)}))):console.log("CodeMirror Spell Checker: You must provide an instance of CodeMirror via the option `codeMirrorInstance`")}n.num_loaded=0,n.aff_loading=!1,n.dic_loading=!1,n.aff_data="",n.dic_data="",n.typo,e.exports=n},1994:(e,t,r)=>{!function(e){"use strict";function t(t,r){clearTimeout(r.timeout),e.off(window,"mouseup",r.hurry),e.off(window,"keyup",r.hurry)}e.defineOption("autoRefresh",!1,(function(r,i){r.state.autoRefresh&&(t(0,r.state.autoRefresh),r.state.autoRefresh=null),i&&0==r.display.wrapper.offsetHeight&&function(r,i){function n(){r.display.wrapper.offsetHeight?(t(0,i),r.display.lastWrapHeight!=r.display.wrapper.clientHeight&&r.refresh()):i.timeout=setTimeout(n,i.delay)}i.timeout=setTimeout(n,i.delay),i.hurry=function(){clearTimeout(i.timeout),i.timeout=setTimeout(n,50)},e.on(window,"mouseup",i.hurry),e.on(window,"keyup",i.hurry)}(r,r.state.autoRefresh={delay:i.delay||250})}))}(r(4631))},960:(e,t,r)=>{!function(e){"use strict";e.defineOption("fullScreen",!1,(function(t,r,i){i==e.Init&&(i=!1),!i!=!r&&(r?function(e){var t=e.getWrapperElement();e.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:t.style.width,height:t.style.height},t.style.width="",t.style.height="auto",t.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",e.refresh()}(t):function(e){var t=e.getWrapperElement();t.className=t.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="";var r=e.state.fullScreenRestore;t.style.width=r.width,t.style.height=r.height,window.scrollTo(r.scrollLeft,r.scrollTop),e.refresh()}(t))}))}(r(4631))},8386:(e,t,r)=>{!function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function r(e){t(e);var r=e.state.placeholder=document.createElement("pre");r.style.cssText="height: 0; overflow: visible",r.style.direction=e.getOption("direction"),r.className="CodeMirror-placeholder CodeMirror-line-like";var i=e.getOption("placeholder");"string"==typeof i&&(i=document.createTextNode(i)),r.appendChild(i),e.display.lineSpace.insertBefore(r,e.display.lineSpace.firstChild)}function i(e){o(e)&&r(e)}function n(e){var i=e.getWrapperElement(),n=o(e);i.className=i.className.replace(" CodeMirror-empty","")+(n?" CodeMirror-empty":""),n?r(e):t(e)}function o(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",(function(o,s,a){var l=a&&a!=e.Init;if(s&&!l)o.on("blur",i),o.on("change",n),o.on("swapDoc",n),e.on(o.getInputField(),"compositionupdate",o.state.placeholderCompose=function(){!function(e){setTimeout((function(){var i=!1;if(1==e.lineCount()){var n=e.getInputField();i="TEXTAREA"==n.nodeName?!e.getLine(0).length:!/[^\u200b]/.test(n.querySelector(".CodeMirror-line").textContent)}i?r(e):t(e)}),20)}(o)}),n(o);else if(!s&&l){o.off("blur",i),o.off("change",n),o.off("swapDoc",n),e.off(o.getInputField(),"compositionupdate",o.state.placeholderCompose),t(o);var u=o.getWrapperElement();u.className=u.className.replace(" CodeMirror-empty","")}s&&!o.hasFocus()&&i(o)}))}(r(4631))},3350:(e,t,r)=>{!function(e){"use strict";var t=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,r=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,i=/[*+-]\s/;function n(e,r){var i=r.line,n=0,o=0,s=t.exec(e.getLine(i)),a=s[1];do{var l=i+(n+=1),u=e.getLine(l),c=t.exec(u);if(c){var d=c[1],f=parseInt(s[3],10)+n-o,h=parseInt(c[3],10),p=h;if(a!==d||isNaN(h)){if(a.length>d.length)return;if(a.length<d.length&&1===n)return;o+=1}else f===h&&(p=h+1),f>h&&(p=f+1),e.replaceRange(u.replace(t,d+p+c[4]+c[5]),{line:l,ch:0},{line:l,ch:u.length})}}while(c)}e.commands.newlineAndIndentContinueMarkdownList=function(o){if(o.getOption("disableInput"))return e.Pass;for(var s=o.listSelections(),a=[],l=0;l<s.length;l++){var u=s[l].head,c=o.getStateAfter(u.line),d=e.innerMode(o.getMode(),c);if("markdown"!==d.mode.name&&"markdown"!==d.mode.helperType)return void o.execCommand("newlineAndIndent");var f=!1!==(c=d.state).list,h=0!==c.quote,p=o.getLine(u.line),g=t.exec(p),m=/^\s*$/.test(p.slice(0,u.ch));if(!s[l].empty()||!f&&!h||!g||m)return void o.execCommand("newlineAndIndent");if(r.test(p)){var b=h&&/>\s*$/.test(p),v=!/>\s*$/.test(p);(b||v)&&o.replaceRange("",{line:u.line,ch:0},{line:u.line,ch:u.ch+1}),a[l]="\n"}else{var x=g[1],y=g[5],k=!(i.test(g[2])||g[2].indexOf(">")>=0),w=k?parseInt(g[3],10)+1+g[4]:g[2].replace("x"," ");a[l]="\n"+x+w+y,k&&n(o,u)}}o.replaceSelections(a)}}(r(4631))},4146:(e,t,r)=>{!function(e){"use strict";e.overlayMode=function(t,r,i){return{startState:function(){return{base:e.startState(t),overlay:e.startState(r),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:e.copyState(t,i.base),overlay:e.copyState(r,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(e,n){return(e!=n.streamSeen||Math.min(n.basePos,n.overlayPos)<e.start)&&(n.streamSeen=e,n.basePos=n.overlayPos=e.start),e.start==n.basePos&&(n.baseCur=t.token(e,n.base),n.basePos=e.pos),e.start==n.overlayPos&&(e.pos=e.start,n.overlayCur=r.token(e,n.overlay),n.overlayPos=e.pos),e.pos=Math.min(n.basePos,n.overlayPos),null==n.overlayCur?n.baseCur:null!=n.baseCur&&n.overlay.combineTokens||i&&null==n.overlay.combineTokens?n.baseCur+" "+n.overlayCur:n.overlayCur},indent:t.indent&&function(e,r,i){return t.indent(e.base,r,i)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var n,o;return t.blankLine&&(n=t.blankLine(e.base)),r.blankLine&&(o=r.blankLine(e.overlay)),null==o?n:i&&null!=n?n+" "+o:o}}}}(r(4631))},2095:(e,t,r)=>{!function(e){"use strict";var t,r,i=e.Pos;function n(e,t){for(var r=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}(e),i=r,n=0;n<t.length;n++)-1==i.indexOf(t.charAt(n))&&(i+=t.charAt(n));return r==i?e:new RegExp(e.source,i)}function o(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function s(e,t,r){t=n(t,"g");for(var o=r.line,s=r.ch,a=e.lastLine();o<=a;o++,s=0){t.lastIndex=s;var l=e.getLine(o),u=t.exec(l);if(u)return{from:i(o,u.index),to:i(o,u.index+u[0].length),match:u}}}function a(e,t,r){if(!o(t))return s(e,t,r);t=n(t,"gm");for(var a,l=1,u=r.line,c=e.lastLine();u<=c;){for(var d=0;d<l&&!(u>c);d++){var f=e.getLine(u++);a=null==a?f:a+"\n"+f}l*=2,t.lastIndex=r.ch;var h=t.exec(a);if(h){var p=a.slice(0,h.index).split("\n"),g=h[0].split("\n"),m=r.line+p.length-1,b=p[p.length-1].length;return{from:i(m,b),to:i(m+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:h}}}}function l(e,t,r){for(var i,n=0;n<=e.length;){t.lastIndex=n;var o=t.exec(e);if(!o)break;var s=o.index+o[0].length;if(s>e.length-r)break;(!i||s>i.index+i[0].length)&&(i=o),n=o.index+1}return i}function u(e,t,r){t=n(t,"g");for(var o=r.line,s=r.ch,a=e.firstLine();o>=a;o--,s=-1){var u=e.getLine(o),c=l(u,t,s<0?0:u.length-s);if(c)return{from:i(o,c.index),to:i(o,c.index+c[0].length),match:c}}}function c(e,t,r){if(!o(t))return u(e,t,r);t=n(t,"gm");for(var s,a=1,c=e.getLine(r.line).length-r.ch,d=r.line,f=e.firstLine();d>=f;){for(var h=0;h<a&&d>=f;h++){var p=e.getLine(d--);s=null==s?p:p+"\n"+s}a*=2;var g=l(s,t,c);if(g){var m=s.slice(0,g.index).split("\n"),b=g[0].split("\n"),v=d+m.length,x=m[m.length-1].length;return{from:i(v,x),to:i(v+b.length-1,1==b.length?x+b[0].length:b[b.length-1].length),match:g}}}}function d(e,t,r,i){if(e.length==t.length)return r;for(var n=0,o=r+Math.max(0,e.length-t.length);;){if(n==o)return n;var s=n+o>>1,a=i(e.slice(0,s)).length;if(a==r)return s;a>r?o=s:n=s+1}}function f(e,n,o,s){if(!n.length)return null;var a=s?t:r,l=a(n).split(/\r|\n\r?/);e:for(var u=o.line,c=o.ch,f=e.lastLine()+1-l.length;u<=f;u++,c=0){var h=e.getLine(u).slice(c),p=a(h);if(1==l.length){var g=p.indexOf(l[0]);if(-1==g)continue e;return o=d(h,p,g,a)+c,{from:i(u,d(h,p,g,a)+c),to:i(u,d(h,p,g+l[0].length,a)+c)}}var m=p.length-l[0].length;if(p.slice(m)==l[0]){for(var b=1;b<l.length-1;b++)if(a(e.getLine(u+b))!=l[b])continue e;var v=e.getLine(u+l.length-1),x=a(v),y=l[l.length-1];if(x.slice(0,y.length)==y)return{from:i(u,d(h,p,m,a)+c),to:i(u+l.length-1,d(v,x,y.length,a))}}}}function h(e,n,o,s){if(!n.length)return null;var a=s?t:r,l=a(n).split(/\r|\n\r?/);e:for(var u=o.line,c=o.ch,f=e.firstLine()-1+l.length;u>=f;u--,c=-1){var h=e.getLine(u);c>-1&&(h=h.slice(0,c));var p=a(h);if(1==l.length){var g=p.lastIndexOf(l[0]);if(-1==g)continue e;return{from:i(u,d(h,p,g,a)),to:i(u,d(h,p,g+l[0].length,a))}}var m=l[l.length-1];if(p.slice(0,m.length)==m){var b=1;for(o=u-l.length+1;b<l.length-1;b++)if(a(e.getLine(o+b))!=l[b])continue e;var v=e.getLine(u+1-l.length),x=a(v);if(x.slice(x.length-l[0].length)==l[0])return{from:i(u+1-l.length,d(v,x,v.length-l[0].length,a)),to:i(u,d(h,p,m.length,a))}}}}function p(e,t,r,o){var l;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,r=r?e.clipPos(r):i(0,0),this.pos={from:r,to:r},"object"==typeof o?l=o.caseFold:(l=o,o=null),"string"==typeof t?(null==l&&(l=!1),this.matches=function(r,i){return(r?h:f)(e,t,i,l)}):(t=n(t,"gm"),o&&!1===o.multiline?this.matches=function(r,i){return(r?u:s)(e,t,i)}:this.matches=function(r,i){return(r?c:a)(e,t,i)})}String.prototype.normalize?(t=function(e){return e.normalize("NFD").toLowerCase()},r=function(e){return e.normalize("NFD")}):(t=function(e){return e.toLowerCase()},r=function(e){return e}),p.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var r=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(r=i(r.line,r.ch),t?(r.ch--,r.ch<0&&(r.line--,r.ch=(this.doc.getLine(r.line)||"").length)):(r.ch++,r.ch>(this.doc.getLine(r.line)||"").length&&(r.ch=0,r.line++)),0!=e.cmpPos(r,this.doc.clipPos(r))))return this.atOccurrence=!1;var n=this.matches(t,r);if(this.afterEmptyMatch=n&&0==e.cmpPos(n.from,n.to),n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var o=i(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,r){if(this.atOccurrence){var n=e.splitLines(t);this.doc.replaceRange(n,this.pos.from,this.pos.to,r),this.pos.to=i(this.pos.from.line+n.length-1,n[n.length-1].length+(1==n.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,r){return new p(this.doc,e,t,r)})),e.defineDocExtension("getSearchCursor",(function(e,t,r){return new p(this,e,t,r)})),e.defineExtension("selectMatches",(function(t,r){for(var i=[],n=this.getSearchCursor(t,this.getCursor("from"),r);n.findNext()&&!(e.cmpPos(n.to(),this.getCursor("to"))>0);)i.push({anchor:n.from(),head:n.to()});i.length&&this.setSelections(i,0)}))}(r(4631))},4020:(e,t,r)=>{!function(e){"use strict";function t(e){e.state.markedSelection&&e.operation((function(){!function(e){if(!e.somethingSelected())return s(e);if(e.listSelections().length>1)return a(e);var t=e.getCursor("start"),r=e.getCursor("end"),i=e.state.markedSelection;if(!i.length)return o(e,t,r);var l=i[0].find(),u=i[i.length-1].find();if(!l||!u||r.line-t.line<=8||n(t,u.to)>=0||n(r,l.from)<=0)return a(e);for(;n(t,l.from)>0;)i.shift().clear(),l=i[0].find();for(n(t,l.from)<0&&(l.to.line-t.line<8?(i.shift().clear(),o(e,t,l.to,0)):o(e,t,l.from,0));n(r,u.to)<0;)i.pop().clear(),u=i[i.length-1].find();n(r,u.to)>0&&(r.line-u.from.line<8?(i.pop().clear(),o(e,u.from,r)):o(e,u.to,r))}(e)}))}function r(e){e.state.markedSelection&&e.state.markedSelection.length&&e.operation((function(){s(e)}))}e.defineOption("styleSelectedText",!1,(function(i,n,o){var l=o&&o!=e.Init;n&&!l?(i.state.markedSelection=[],i.state.markedSelectionStyle="string"==typeof n?n:"CodeMirror-selectedtext",a(i),i.on("cursorActivity",t),i.on("change",r)):!n&&l&&(i.off("cursorActivity",t),i.off("change",r),s(i),i.state.markedSelection=i.state.markedSelectionStyle=null)}));var i=e.Pos,n=e.cmpPos;function o(e,t,r,o){if(0!=n(t,r))for(var s=e.state.markedSelection,a=e.state.markedSelectionStyle,l=t.line;;){var u=l==t.line?t:i(l,0),c=l+8,d=c>=r.line,f=d?r:i(c,0),h=e.markText(u,f,{className:a});if(null==o?s.push(h):s.splice(o++,0,h),d)break;l=c}}function s(e){for(var t=e.state.markedSelection,r=0;r<t.length;++r)t[r].clear();t.length=0}function a(e){s(e);for(var t=e.listSelections(),r=0;r<t.length;r++)o(e,t[r].from(),t[r].to())}}(r(4631))},4631:function(e){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),i=/MSIE \d/.test(e),n=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),s=i||n||o,a=s&&(i?document.documentMode||6:+(o||n)[1]),l=!o&&/WebKit\//.test(e),u=l&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=f&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),m=/Android/.test(e),b=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),v=g||/Mac/.test(t),x=/\bCrOS\b/.test(e),y=/win/i.test(t),k=d&&e.match(/Version\/(\d*\.\d*)/);k&&(k=Number(k[1])),k&&k>=15&&(d=!1,l=!0);var w=v&&(u||d&&(null==k||k<12.11)),C=r||s&&a>=9;function D(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var _,S=function(e,t){var r=e.className,i=D(t).exec(r);if(i){var n=r.slice(i.index+i[0].length);e.className=r.slice(0,i.index)+(n?i[1]+n:"")}};function A(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function E(e,t){return A(e).appendChild(t)}function F(e,t,r,i){var n=document.createElement(e);if(r&&(n.className=r),i&&(n.style.cssText=i),"string"==typeof t)n.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)n.appendChild(t[o]);return n}function L(e,t,r,i){var n=F(e,t,r,i);return n.setAttribute("role","presentation"),n}function M(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function T(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function z(e,t){var r=e.className;D(t).test(r)||(e.className+=(r?" ":"")+t)}function B(e,t){for(var r=e.split(" "),i=0;i<r.length;i++)r[i]&&!D(r[i]).test(t)&&(t+=" "+r[i]);return t}_=document.createRange?function(e,t,r,i){var n=document.createRange();return n.setEnd(i||e,r),n.setStart(e,t),n}:function(e,t,r){var i=document.body.createTextRange();try{i.moveToElementText(e.parentNode)}catch(e){return i}return i.collapse(!0),i.moveEnd("character",r),i.moveStart("character",t),i};var N=function(e){e.select()};function I(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function O(e,t,r){for(var i in t||(t={}),e)!e.hasOwnProperty(i)||!1===r&&t.hasOwnProperty(i)||(t[i]=e[i]);return t}function R(e,t,r,i,n){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=i||0,s=n||0;;){var a=e.indexOf("\t",o);if(a<0||a>=t)return s+(t-o);s+=a-o,s+=r-s%r,o=a+1}}g?N=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:s&&(N=function(e){try{e.select()}catch(e){}});var q=function(){this.id=null,this.f=null,this.time=0,this.handler=I(this.onTimeout,this)};function P(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}q.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},q.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r)};var H={toString:function(){return"CodeMirror.Pass"}},j={scroll:!1},$={origin:"*mouse"},W={origin:"+move"};function U(e,t,r){for(var i=0,n=0;;){var o=e.indexOf("\t",i);-1==o&&(o=e.length);var s=o-i;if(o==e.length||n+s>=t)return i+Math.min(s,t-n);if(n+=o-i,i=o+1,(n+=r-n%r)>=t)return i}}var V=[""];function G(e){for(;V.length<=e;)V.push(Z(V)+" ");return V[e]}function Z(e){return e[e.length-1]}function K(e,t){for(var r=[],i=0;i<e.length;i++)r[i]=t(e[i],i);return r}function X(){}function Y(e,t){var r;return Object.create?r=Object.create(e):(X.prototype=e,r=new X),t&&O(t,r),r}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>""&&(e.toUpperCase()!=e.toLowerCase()||Q.test(e))}function ee(e,t){return t?!!(t.source.indexOf("\\w")>-1&&J(e))||t.test(e):J(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\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 ie(e){return e.charCodeAt(0)>=768&&re.test(e)}function ne(e,t,r){for(;(r<0?t>0:t<e.length)&&ie(e.charAt(t));)t+=r;return t}function oe(e,t,r){for(var i=t>r?-1:1;;){if(t==r)return t;var n=(t+r)/2,o=i<0?Math.ceil(n):Math.floor(n);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+i}}var se=null;function ae(e,t,r){var i;se=null;for(var n=0;n<e.length;++n){var o=e[n];if(o.from<t&&o.to>t)return n;o.to==t&&(o.from!=o.to&&"before"==r?i=n:se=n),o.from==t&&(o.from!=o.to&&"before"!=r?i=n:se=n)}return null!=i?i:se}var le=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,r=/[LRr]/,i=/[Lb1n]/,n=/[1n]/;function o(e,t,r){this.level=e,this.from=t,this.to=r}return function(s,a){var l,u="ltr"==a?"L":"R";if(0==s.length||"ltr"==a&&!e.test(s))return!1;for(var c=s.length,d=[],f=0;f<c;++f)d.push((l=s.charCodeAt(f))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(l):1424<=l&&l<=1524?"R":1536<=l&&l<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(l-1536):1774<=l&&l<=2220?"r":8192<=l&&l<=8203?"w":8204==l?"b":"L");for(var h=0,p=u;h<c;++h){var g=d[h];"m"==g?d[h]=p:p=g}for(var m=0,b=u;m<c;++m){var v=d[m];"1"==v&&"r"==b?d[m]="n":r.test(v)&&(b=v,"r"==v&&(d[m]="R"))}for(var x=1,y=d[0];x<c-1;++x){var k=d[x];"+"==k&&"1"==y&&"1"==d[x+1]?d[x]="1":","!=k||y!=d[x+1]||"1"!=y&&"n"!=y||(d[x]=y),y=k}for(var w=0;w<c;++w){var C=d[w];if(","==C)d[w]="N";else if("%"==C){var D=void 0;for(D=w+1;D<c&&"%"==d[D];++D);for(var _=w&&"!"==d[w-1]||D<c&&"1"==d[D]?"1":"N",S=w;S<D;++S)d[S]=_;w=D-1}}for(var A=0,E=u;A<c;++A){var F=d[A];"L"==E&&"1"==F?d[A]="L":r.test(F)&&(E=F)}for(var L=0;L<c;++L)if(t.test(d[L])){var M=void 0;for(M=L+1;M<c&&t.test(d[M]);++M);for(var T="L"==(L?d[L-1]:u),z=T==("L"==(M<c?d[M]:u))?T?"L":"R":u,B=L;B<M;++B)d[B]=z;L=M-1}for(var N,I=[],O=0;O<c;)if(i.test(d[O])){var R=O;for(++O;O<c&&i.test(d[O]);++O);I.push(new o(0,R,O))}else{var q=O,P=I.length,H="rtl"==a?1:0;for(++O;O<c&&"L"!=d[O];++O);for(var j=q;j<O;)if(n.test(d[j])){q<j&&(I.splice(P,0,new o(1,q,j)),P+=H);var $=j;for(++j;j<O&&n.test(d[j]);++j);I.splice(P,0,new o(2,$,j)),P+=H,q=j}else++j;q<O&&I.splice(P,0,new o(1,q,O))}return"ltr"==a&&(1==I[0].level&&(N=s.match(/^\s+/))&&(I[0].from=N[0].length,I.unshift(new o(0,0,N[0].length))),1==Z(I).level&&(N=s.match(/\s+$/))&&(Z(I).to-=N[0].length,I.push(new o(0,c-N[0].length,c)))),"rtl"==a?I.reverse():I}}();function ue(e,t){var r=e.order;return null==r&&(r=e.order=le(e.text,t)),r}var ce=[],de=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var i=e._handlers||(e._handlers={});i[t]=(i[t]||ce).concat(r)}};function fe(e,t){return e._handlers&&e._handlers[t]||ce}function he(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var i=e._handlers,n=i&&i[t];if(n){var o=P(n,r);o>-1&&(i[t]=n.slice(0,o).concat(n.slice(o+1)))}}}function pe(e,t){var r=fe(e,t);if(r.length)for(var i=Array.prototype.slice.call(arguments,2),n=0;n<r.length;++n)r[n].apply(null,i)}function ge(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),pe(e,r||t.type,e,t),ke(t)||t.codemirrorIgnore}function me(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),i=0;i<t.length;++i)-1==P(r,t[i])&&r.push(t[i])}function be(e,t){return fe(e,t).length>0}function ve(e){e.prototype.on=function(e,t){de(this,e,t)},e.prototype.off=function(e,t){he(this,e,t)}}function xe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function ye(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ke(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function we(e){xe(e),ye(e)}function Ce(e){return e.target||e.srcElement}function De(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),v&&e.ctrlKey&&1==t&&(t=3),t}var _e,Se,Ae=function(){if(s&&a<9)return!1;var e=F("div");return"draggable"in e||"dragDrop"in e}();function Ee(e){if(null==_e){var t=F("span","");E(e,F("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(_e=t.offsetWidth<=1&&t.offsetHeight>2&&!(s&&a<8))}var r=_e?F("span",""):F("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Fe(e){if(null!=Se)return Se;var t=E(e,document.createTextNode("AخA")),r=_(t,0,1).getBoundingClientRect(),i=_(t,1,2).getBoundingClientRect();return A(e),!(!r||r.left==r.right)&&(Se=i.right-r.right<3)}var Le,Me=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],i=e.length;t<=i;){var n=e.indexOf("\n",t);-1==n&&(n=e.length);var o=e.slice(t,"\r"==e.charAt(n-1)?n-1:n),s=o.indexOf("\r");-1!=s?(r.push(o.slice(0,s)),t+=s+1):(r.push(o),t=n+1)}return r}:function(e){return e.split(/\r\n?|\n/)},Te=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},ze="oncopy"in(Le=F("div"))||(Le.setAttribute("oncopy","return;"),"function"==typeof Le.oncopy),Be=null;var Ne={},Ie={};function Oe(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ne[e]=t}function Re(e){if("string"==typeof e&&Ie.hasOwnProperty(e))e=Ie[e];else if(e&&"string"==typeof e.name&&Ie.hasOwnProperty(e.name)){var t=Ie[e.name];"string"==typeof t&&(t={name:t}),(e=Y(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Re("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Re("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function qe(e,t){t=Re(t);var r=Ne[t.name];if(!r)return qe(e,"text/plain");var i=r(e,t);if(Pe.hasOwnProperty(t.name)){var n=Pe[t.name];for(var o in n)n.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=n[o])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var s in t.modeProps)i[s]=t.modeProps[s];return i}var Pe={};function He(e,t){O(t,Pe.hasOwnProperty(e)?Pe[e]:Pe[e]={})}function je(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var i in t){var n=t[i];n instanceof Array&&(n=n.concat([])),r[i]=n}return r}function $e(e,t){for(var r;e.innerMode&&(r=e.innerMode(t))&&r.mode!=e;)t=r.state,e=r.mode;return r||{mode:e,state:t}}function We(e,t,r){return!e.startState||e.startState(t,r)}var Ue=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};function Ve(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var i=0;;++i){var n=r.children[i],o=n.chunkSize();if(t<o){r=n;break}t-=o}return r.lines[t]}function Ge(e,t,r){var i=[],n=t.line;return e.iter(t.line,r.line+1,(function(e){var o=e.text;n==r.line&&(o=o.slice(0,r.ch)),n==t.line&&(o=o.slice(t.ch)),i.push(o),++n})),i}function Ze(e,t,r){var i=[];return e.iter(t,r,(function(e){i.push(e.text)})),i}function Ke(e,t){var r=t-e.height;if(r)for(var i=e;i;i=i.parent)i.height+=r}function Xe(e){if(null==e.parent)return null;for(var t=e.parent,r=P(t.lines,e),i=t.parent;i;t=i,i=i.parent)for(var n=0;i.children[n]!=t;++n)r+=i.children[n].chunkSize();return r+t.first}function Ye(e,t){var r=e.first;e:do{for(var i=0;i<e.children.length;++i){var n=e.children[i],o=n.height;if(t<o){e=n;continue e}t-=o,r+=n.chunkSize()}return r}while(!e.lines);for(var s=0;s<e.lines.length;++s){var a=e.lines[s].height;if(t<a)break;t-=a}return r+s}function Qe(e,t){return t>=e.first&&t<e.first+e.size}function Je(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,r){if(void 0===r&&(r=null),!(this instanceof et))return new et(e,t,r);this.line=e,this.ch=t,this.sticky=r}function tt(e,t){return e.line-t.line||e.ch-t.ch}function rt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function it(e){return et(e.line,e.ch)}function nt(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function st(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function at(e,t){if(t.line<e.first)return et(e.first,0);var r=e.first+e.size-1;return t.line>r?et(r,Ve(e,r).text.length):function(e,t){var r=e.ch;return null==r||r>t?et(e.line,t):r<0?et(e.line,0):e}(t,Ve(e,t.line).text.length)}function lt(e,t){for(var r=[],i=0;i<t.length;i++)r[i]=at(e,t[i]);return r}Ue.prototype.eol=function(){return this.pos>=this.string.length},Ue.prototype.sol=function(){return this.pos==this.lineStart},Ue.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ue.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ue.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ue.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ue.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ue.prototype.skipToEnd=function(){this.pos=this.string.length},Ue.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ue.prototype.backUp=function(e){this.pos-=e},Ue.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.match=function(e,t,r){if("string"!=typeof e){var i=this.string.slice(this.pos).match(e);return i&&i.index>0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}var n=function(e){return r?e.toLowerCase():e};if(n(this.string.substr(this.pos,e.length))==n(e))return!1!==t&&(this.pos+=e.length),!0},Ue.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ue.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ue.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ue.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ut=function(e,t){this.state=e,this.lookAhead=t},ct=function(e,t,r,i){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};function dt(e,t,r,i){var n=[e.state.modeGen],o={};yt(e,t.text,e.doc.mode,r,(function(e,t){return n.push(e,t)}),o,i);for(var s=r.state,a=function(i){r.baseTokens=n;var a=e.state.overlays[i],l=1,u=0;r.state=!0,yt(e,t.text,a.mode,r,(function(e,t){for(var r=l;u<e;){var i=n[l];i>e&&n.splice(l,1,e,n[l+1],i),l+=2,u=Math.min(e,i)}if(t)if(a.opaque)n.splice(r,l-r,e,"overlay "+t),l=r+2;else for(;r<l;r+=2){var o=n[r+1];n[r+1]=(o?o+" ":"")+"overlay "+t}}),o),r.state=s,r.baseTokens=null,r.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)a(l);return{styles:n,classes:o.bgClass||o.textClass?o:null}}function ft(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var i=ht(e,Xe(t)),n=t.text.length>e.options.maxHighlightLength&&je(e.doc.mode,i.state),o=dt(e,t,i);n&&(i.state=n),t.stateAfter=i.save(!n),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function ht(e,t,r){var i=e.doc,n=e.display;if(!i.mode.startState)return new ct(i,!0,t);var o=function(e,t,r){for(var i,n,o=e.doc,s=r?-1:t-(e.doc.mode.innerMode?1e3:100),a=t;a>s;--a){if(a<=o.first)return o.first;var l=Ve(o,a-1),u=l.stateAfter;if(u&&(!r||a+(u instanceof ut?u.lookAhead:0)<=o.modeFrontier))return a;var c=R(l.text,null,e.options.tabSize);(null==n||i>c)&&(n=a-1,i=c)}return n}(e,t,r),s=o>i.first&&Ve(i,o-1).stateAfter,a=s?ct.fromSaved(i,s,o):new ct(i,We(i.mode),o);return i.iter(o,t,(function(r){pt(e,r.text,a);var i=a.line;r.stateAfter=i==t-1||i%5==0||i>=n.viewFrom&&i<n.viewTo?a.save():null,a.nextLine()})),r&&(i.modeFrontier=a.line),a}function pt(e,t,r,i){var n=e.doc.mode,o=new Ue(t,e.options.tabSize,r);for(o.start=o.pos=i||0,""==t&>(n,r.state);!o.eol();)mt(n,o,r.state),o.start=o.pos}function gt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=$e(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function mt(e,t,r,i){for(var n=0;n<10;n++){i&&(i[0]=$e(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}ct.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ct.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}},ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ct.fromSaved=function(e,t,r){return t instanceof ut?new ct(e,je(e.mode,t.state),r,t.lookAhead):new ct(e,je(e.mode,t),r)},ct.prototype.save=function(e){var t=!1!==e?je(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ut(t,this.maxLookAhead):t};var bt=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function vt(e,t,r,i){var n,o,s=e.doc,a=s.mode,l=Ve(s,(t=at(s,t)).line),u=ht(e,t.line,r),c=new Ue(l.text,e.options.tabSize,u);for(i&&(o=[]);(i||c.pos<t.ch)&&!c.eol();)c.start=c.pos,n=mt(a,c,u.state),i&&o.push(new bt(c,n,je(s.mode,u.state)));return i?o:new bt(c,n,u.state)}function xt(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var i=r[1]?"bgClass":"textClass";null==t[i]?t[i]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[i])||(t[i]+=" "+r[2])}return e}function yt(e,t,r,i,n,o,s){var a=r.flattenSpans;null==a&&(a=e.options.flattenSpans);var l,u=0,c=null,d=new Ue(t,e.options.tabSize,i),f=e.options.addModeClass&&[null];for(""==t&&xt(gt(r,i.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(a=!1,s&&pt(e,t,i,d.pos),d.pos=t.length,l=null):l=xt(mt(r,d,i.state,f),o),f){var h=f[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!a||c!=l){for(;u<d.start;)n(u=Math.min(d.start,u+5e3),c);c=l}d.start=d.pos}for(;u<d.pos;){var p=Math.min(d.pos,u+5e3);n(p,c),u=p}}var kt=!1,wt=!1;function Ct(e,t,r){this.marker=e,this.from=t,this.to=r}function Dt(e,t){if(e)for(var r=0;r<e.length;++r){var i=e[r];if(i.marker==t)return i}}function _t(e,t){for(var r,i=0;i<e.length;++i)e[i]!=t&&(r||(r=[])).push(e[i]);return r}function St(e,t){if(t.full)return null;var r=Qe(e,t.from.line)&&Ve(e,t.from.line).markedSpans,i=Qe(e,t.to.line)&&Ve(e,t.to.line).markedSpans;if(!r&&!i)return null;var n=t.from.ch,o=t.to.ch,s=0==tt(t.from,t.to),a=function(e,t,r){var i;if(e)for(var n=0;n<e.length;++n){var o=e[n],s=o.marker;if(null==o.from||(s.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==s.type&&(!r||!o.marker.insertLeft)){var a=null==o.to||(s.inclusiveRight?o.to>=t:o.to>t);(i||(i=[])).push(new Ct(s,o.from,a?null:o.to))}}return i}(r,n,s),l=function(e,t,r){var i;if(e)for(var n=0;n<e.length;++n){var o=e[n],s=o.marker;if(null==o.to||(s.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==s.type&&(!r||o.marker.insertLeft)){var a=null==o.from||(s.inclusiveLeft?o.from<=t:o.from<t);(i||(i=[])).push(new Ct(s,a?null:o.from-t,null==o.to?null:o.to-t))}}return i}(i,o,s),u=1==t.text.length,c=Z(t.text).length+(u?n:0);if(a)for(var d=0;d<a.length;++d){var f=a[d];if(null==f.to){var h=Dt(l,f.marker);h?u&&(f.to=null==h.to?null:h.to+c):f.to=n}}if(l)for(var p=0;p<l.length;++p){var g=l[p];null!=g.to&&(g.to+=c),null==g.from?Dt(a,g.marker)||(g.from=c,u&&(a||(a=[])).push(g)):(g.from+=c,u&&(a||(a=[])).push(g))}a&&(a=At(a)),l&&l!=a&&(l=At(l));var m=[a];if(!u){var b,v=t.text.length-2;if(v>0&&a)for(var x=0;x<a.length;++x)null==a[x].to&&(b||(b=[])).push(new Ct(a[x].marker,null,null));for(var y=0;y<v;++y)m.push(b);m.push(l)}return m}function At(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Et(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}}function Ft(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}}function Lt(e){return e.inclusiveLeft?-1:0}function Mt(e){return e.inclusiveRight?1:0}function Tt(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var i=e.find(),n=t.find(),o=tt(i.from,n.from)||Lt(e)-Lt(t);return o?-o:tt(i.to,n.to)||Mt(e)-Mt(t)||t.id-e.id}function zt(e,t){var r,i=wt&&e.markedSpans;if(i)for(var n=void 0,o=0;o<i.length;++o)(n=i[o]).marker.collapsed&&null==(t?n.from:n.to)&&(!r||Tt(r,n.marker)<0)&&(r=n.marker);return r}function Bt(e){return zt(e,!0)}function Nt(e){return zt(e,!1)}function It(e,t){var r,i=wt&&e.markedSpans;if(i)for(var n=0;n<i.length;++n){var o=i[n];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||Tt(r,o.marker)<0)&&(r=o.marker)}return r}function Ot(e,t,r,i,n){var o=Ve(e,t),s=wt&&o.markedSpans;if(s)for(var a=0;a<s.length;++a){var l=s[a];if(l.marker.collapsed){var u=l.marker.find(0),c=tt(u.from,r)||Lt(l.marker)-Lt(n),d=tt(u.to,i)||Mt(l.marker)-Mt(n);if(!(c>=0&&d<=0||c<=0&&d>=0)&&(c<=0&&(l.marker.inclusiveRight&&n.inclusiveLeft?tt(u.to,r)>=0:tt(u.to,r)>0)||c>=0&&(l.marker.inclusiveRight&&n.inclusiveLeft?tt(u.from,i)<=0:tt(u.from,i)<0)))return!0}}}function Rt(e){for(var t;t=Bt(e);)e=t.find(-1,!0).line;return e}function qt(e,t){var r=Ve(e,t),i=Rt(r);return r==i?t:Xe(i)}function Pt(e,t){if(t>e.lastLine())return t;var r,i=Ve(e,t);if(!Ht(e,i))return t;for(;r=Nt(i);)i=r.find(1,!0).line;return Xe(i)+1}function Ht(e,t){var r=wt&&t.markedSpans;if(r)for(var i=void 0,n=0;n<r.length;++n)if((i=r[n]).marker.collapsed){if(null==i.from)return!0;if(!i.marker.widgetNode&&0==i.from&&i.marker.inclusiveLeft&&jt(e,t,i))return!0}}function jt(e,t,r){if(null==r.to){var i=r.marker.find(1,!0);return jt(e,i.line,Dt(i.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var n=void 0,o=0;o<t.markedSpans.length;++o)if((n=t.markedSpans[o]).marker.collapsed&&!n.marker.widgetNode&&n.from==r.to&&(null==n.to||n.to!=r.from)&&(n.marker.inclusiveLeft||r.marker.inclusiveRight)&&jt(e,t,n))return!0}function $t(e){for(var t=0,r=(e=Rt(e)).parent,i=0;i<r.lines.length;++i){var n=r.lines[i];if(n==e)break;t+=n.height}for(var o=r.parent;o;o=(r=o).parent)for(var s=0;s<o.children.length;++s){var a=o.children[s];if(a==r)break;t+=a.height}return t}function Wt(e){if(0==e.height)return 0;for(var t,r=e.text.length,i=e;t=Bt(i);){var n=t.find(0,!0);i=n.from.line,r+=n.from.ch-n.to.ch}for(i=e;t=Nt(i);){var o=t.find(0,!0);r-=i.text.length-o.from.ch,r+=(i=o.to.line).text.length-o.to.ch}return r}function Ut(e){var t=e.display,r=e.doc;t.maxLine=Ve(r,r.first),t.maxLineLength=Wt(t.maxLine),t.maxLineChanged=!0,r.iter((function(e){var r=Wt(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)}))}var Vt=function(e,t,r){this.text=e,Ft(this,t),this.height=r?r(this):1};function Gt(e){e.parent=null,Et(e)}Vt.prototype.lineNo=function(){return Xe(this)},ve(Vt);var Zt={},Kt={};function Xt(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?Kt:Zt;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function Yt(e,t){var r=L("span",null,null,l?"padding-right: .1px":null),i={pre:L("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var n=0;n<=(t.rest?t.rest.length:0);n++){var o=n?t.rest[n-1]:t.line,s=void 0;i.pos=0,i.addToken=Jt,Fe(e.display.measure)&&(s=ue(o,e.doc.direction))&&(i.addToken=er(i.addToken,s)),i.map=[],rr(o,i,ft(e,o,t!=e.display.externalMeasured&&Xe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(i.bgClass=B(o.styleClasses.bgClass,i.bgClass||"")),o.styleClasses.textClass&&(i.textClass=B(o.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(Ee(e.display.measure))),0==n?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var a=i.content.lastChild;(/\bcm-tab\b/.test(a.className)||a.querySelector&&a.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return pe(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=B(i.pre.className,i.textClass||"")),i}function Qt(e){var t=F("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Jt(e,t,r,i,n,o,l){if(t){var u,c=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,i="",n=0;n<e.length;n++){var o=e.charAt(n);" "!=o||!r||n!=e.length-1&&32!=e.charCodeAt(n+1)||(o=" "),i+=o,r=" "==o}return i}(t,e.trailingSpace):t,d=e.cm.state.specialChars,f=!1;if(d.test(t)){u=document.createDocumentFragment();for(var h=0;;){d.lastIndex=h;var p=d.exec(t),g=p?p.index-h:t.length-h;if(g){var m=document.createTextNode(c.slice(h,h+g));s&&a<9?u.appendChild(F("span",[m])):u.appendChild(m),e.map.push(e.pos,e.pos+g,m),e.col+=g,e.pos+=g}if(!p)break;h+=g+1;var b=void 0;if("\t"==p[0]){var v=e.cm.options.tabSize,x=v-e.col%v;(b=u.appendChild(F("span",G(x),"cm-tab"))).setAttribute("role","presentation"),b.setAttribute("cm-text","\t"),e.col+=x}else"\r"==p[0]||"\n"==p[0]?((b=u.appendChild(F("span","\r"==p[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((b=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),s&&a<9?u.appendChild(F("span",[b])):u.appendChild(b),e.col+=1);e.map.push(e.pos,e.pos+1,b),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),s&&a<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),r||i||n||f||o||l){var y=r||"";i&&(y+=i),n&&(y+=n);var k=F("span",[u],y,o);if(l)for(var w in l)l.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&k.setAttribute(w,l[w]);return e.content.appendChild(k)}e.content.appendChild(u)}}function er(e,t){return function(r,i,n,o,s,a,l){n=n?n+" cm-force-border":"cm-force-border";for(var u=r.pos,c=u+i.length;;){for(var d=void 0,f=0;f<t.length&&!((d=t[f]).to>u&&d.from<=u);f++);if(d.to>=c)return e(r,i,n,o,s,a,l);e(r,i.slice(0,d.to-u),n,o,null,a,l),o=null,i=i.slice(d.to-u),u=d.to}}}function tr(e,t,r,i){var n=!i&&r.widgetNode;n&&e.map.push(e.pos,e.pos+t,n),!i&&e.cm.display.input.needsContentAttribute&&(n||(n=e.content.appendChild(document.createElement("span"))),n.setAttribute("cm-marker",r.id)),n&&(e.cm.display.input.setUneditable(n),e.content.appendChild(n)),e.pos+=t,e.trailingSpace=!1}function rr(e,t,r){var i=e.markedSpans,n=e.text,o=0;if(i)for(var s,a,l,u,c,d,f,h=n.length,p=0,g=1,m="",b=0;;){if(b==p){l=u=c=a="",f=null,d=null,b=1/0;for(var v=[],x=void 0,y=0;y<i.length;++y){var k=i[y],w=k.marker;if("bookmark"==w.type&&k.from==p&&w.widgetNode)v.push(w);else if(k.from<=p&&(null==k.to||k.to>p||w.collapsed&&k.to==p&&k.from==p)){if(null!=k.to&&k.to!=p&&b>k.to&&(b=k.to,u=""),w.className&&(l+=" "+w.className),w.css&&(a=(a?a+";":"")+w.css),w.startStyle&&k.from==p&&(c+=" "+w.startStyle),w.endStyle&&k.to==b&&(x||(x=[])).push(w.endStyle,k.to),w.title&&((f||(f={})).title=w.title),w.attributes)for(var C in w.attributes)(f||(f={}))[C]=w.attributes[C];w.collapsed&&(!d||Tt(d.marker,w)<0)&&(d=k)}else k.from>p&&b>k.from&&(b=k.from)}if(x)for(var D=0;D<x.length;D+=2)x[D+1]==b&&(u+=" "+x[D]);if(!d||d.from==p)for(var _=0;_<v.length;++_)tr(t,0,v[_]);if(d&&(d.from||0)==p){if(tr(t,(null==d.to?h+1:d.to)-p,d.marker,null==d.from),null==d.to)return;d.to==p&&(d=!1)}}if(p>=h)break;for(var S=Math.min(h,b);;){if(m){var A=p+m.length;if(!d){var E=A>S?m.slice(0,S-p):m;t.addToken(t,E,s?s+l:l,c,p+E.length==b?u:"",a,f)}if(A>=S){m=m.slice(S-p),p=S;break}p=A,c=""}m=n.slice(o,o=r[g++]),s=Xt(r[g++],t.cm.options)}}else for(var F=1;F<r.length;F+=2)t.addToken(t,n.slice(o,o=r[F]),Xt(r[F+1],t.cm.options))}function ir(e,t,r){this.line=t,this.rest=function(e){for(var t,r;t=Nt(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}(t),this.size=this.rest?Xe(Z(this.rest))-r+1:1,this.node=this.text=null,this.hidden=Ht(e,t)}function nr(e,t,r){for(var i,n=[],o=t;o<r;o=i){var s=new ir(e.doc,Ve(e.doc,o),o);i=o+s.size,n.push(s)}return n}var or=null;var sr=null;function ar(e,t){var r=fe(e,t);if(r.length){var i,n=Array.prototype.slice.call(arguments,2);or?i=or.delayedCallbacks:sr?i=sr:(i=sr=[],setTimeout(lr,0));for(var o=function(e){i.push((function(){return r[e].apply(null,n)}))},s=0;s<r.length;++s)o(s)}}function lr(){var e=sr;sr=null;for(var t=0;t<e.length;++t)e[t]()}function ur(e,t,r,i){for(var n=0;n<t.changes.length;n++){var o=t.changes[n];"text"==o?fr(e,t):"gutter"==o?pr(e,t,r,i):"class"==o?hr(e,t):"widget"==o&&gr(e,t,i)}t.changes=null}function cr(e){return e.node==e.text&&(e.node=F("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),s&&a<8&&(e.node.style.zIndex=2)),e.node}function dr(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):Yt(e,t)}function fr(e,t){var r=t.text.className,i=dr(e,t);t.text==t.node&&(t.node=i.pre),t.text.parentNode.replaceChild(i.pre,t.text),t.text=i.pre,i.bgClass!=t.bgClass||i.textClass!=t.textClass?(t.bgClass=i.bgClass,t.textClass=i.textClass,hr(e,t)):r&&(t.text.className=r)}function hr(e,t){(function(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var i=cr(t);t.background=i.insertBefore(F("div",null,r),i.firstChild),e.display.input.setUneditable(t.background)}})(e,t),t.line.wrapClass?cr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function pr(e,t,r,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var n=cr(t);t.gutterBackground=F("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),n.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var s=cr(t),a=t.gutter=F("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(a.setAttribute("aria-hidden","true"),e.display.input.setUneditable(a),s.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(F("div",Je(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var u=e.display.gutterSpecs[l].className,c=o.hasOwnProperty(u)&&o[u];c&&a.appendChild(F("div",[c],"CodeMirror-gutter-elt","left: "+i.gutterLeft[u]+"px; width: "+i.gutterWidth[u]+"px"))}}}function gr(e,t,r){t.alignable&&(t.alignable=null);for(var i=D("CodeMirror-linewidget"),n=t.node.firstChild,o=void 0;n;n=o)o=n.nextSibling,i.test(n.className)&&t.node.removeChild(n);br(e,t,r)}function mr(e,t,r,i){var n=dr(e,t);return t.text=t.node=n.pre,n.bgClass&&(t.bgClass=n.bgClass),n.textClass&&(t.textClass=n.textClass),hr(e,t),pr(e,t,r,i),br(e,t,i),t.node}function br(e,t,r){if(vr(e,t.line,t,r,!0),t.rest)for(var i=0;i<t.rest.length;i++)vr(e,t.rest[i],t,r,!1)}function vr(e,t,r,i,n){if(t.widgets)for(var o=cr(r),s=0,a=t.widgets;s<a.length;++s){var l=a[s],u=F("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),xr(l,u,r,i),e.display.input.setUneditable(u),n&&l.above?o.insertBefore(u,r.gutter||r.text):o.appendChild(u),ar(l,"redraw")}}function xr(e,t,r,i){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var n=i.wrapperWidth;t.style.left=i.fixedPos+"px",e.coverGutter||(n-=i.gutterTotalWidth,t.style.paddingLeft=i.gutterTotalWidth+"px"),t.style.width=n+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-i.gutterTotalWidth+"px"))}function yr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!M(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),E(t.display.measure,F("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function kr(e,t){for(var r=Ce(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function wr(e){return e.lineSpace.offsetTop}function Cr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Dr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=E(e.measure,F("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,i={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(i.left)||isNaN(i.right)||(e.cachedPaddingH=i),i}function _r(e){return 50-e.display.nativeBarWidth}function Sr(e){return e.display.scroller.clientWidth-_r(e)-e.display.barWidth}function Ar(e){return e.display.scroller.clientHeight-_r(e)-e.display.barHeight}function Er(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(var n=0;n<e.rest.length;n++)if(Xe(e.rest[n])>r)return{map:e.measure.maps[n],cache:e.measure.caches[n],before:!0}}}function Fr(e,t,r,i){return Tr(e,Mr(e,t),r,i)}function Lr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[ui(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function Mr(e,t){var r=Xe(t),i=Lr(e,r);i&&!i.text?i=null:i&&i.changes&&(ur(e,i,r,ni(e)),e.curOp.forceUpdate=!0),i||(i=function(e,t){var r=Xe(t=Rt(t)),i=e.display.externalMeasured=new ir(e.doc,t,r);i.lineN=r;var n=i.built=Yt(e,i);return i.text=n.pre,E(e.display.lineMeasure,n.pre),i}(e,t));var n=Er(i,t,r);return{line:t,view:i,rect:null,map:n.map,cache:n.cache,before:n.before,hasHeights:!1}}function Tr(e,t,r,i,n){t.before&&(r=-1);var o,l=r+(i||"");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,r){var i=e.options.lineWrapping,n=i&&Sr(e);if(!t.measure.heights||i&&t.measure.width!=n){var o=t.measure.heights=[];if(i){t.measure.width=n;for(var s=t.text.firstChild.getClientRects(),a=0;a<s.length-1;a++){var l=s[a],u=s[a+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.top)/2-r.top)}}o.push(r.bottom-r.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,r,i){var n,o=Nr(t.map,r,i),l=o.node,u=o.start,c=o.end,d=o.collapse;if(3==l.nodeType){for(var f=0;f<4;f++){for(;u&&ie(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+c<o.coverEnd&&ie(t.line.text.charAt(o.coverStart+c));)++c;if((n=s&&a<9&&0==u&&c==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Ir(_(l,u,c).getClientRects(),i)).left||n.right||0==u)break;c=u,u-=1,d="right"}s&&a<11&&(n=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Be)return Be;var t=E(e,F("span","x")),r=t.getBoundingClientRect(),i=_(t,0,1).getBoundingClientRect();return Be=Math.abs(r.left-i.left)>1}(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*i,bottom:t.bottom*i}}(e.display.measure,n))}else{var h;u>0&&(d=i="right"),n=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==i?h.length-1:0]:l.getBoundingClientRect()}if(s&&a<9&&!u&&(!n||!n.left&&!n.right)){var p=l.parentNode.getClientRects()[0];n=p?{left:p.left,right:p.left+ii(e.display),top:p.top,bottom:p.bottom}:Br}for(var g=n.top-t.rect.top,m=n.bottom-t.rect.top,b=(g+m)/2,v=t.view.measure.heights,x=0;x<v.length-1&&!(b<v[x]);x++);var y=x?v[x-1]:0,k=v[x],w={left:("right"==d?n.right:n.left)-t.rect.left,right:("left"==d?n.left:n.right)-t.rect.left,top:y,bottom:k};return n.left||n.right||(w.bogus=!0),e.options.singleCursorHeightPerLine||(w.rtop=g,w.rbottom=m),w}(e,t,r,i)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:n?o.rtop:o.top,bottom:n?o.rbottom:o.bottom}}var zr,Br={left:0,right:0,top:0,bottom:0};function Nr(e,t,r){for(var i,n,o,s,a,l,u=0;u<e.length;u+=3)if(a=e[u],l=e[u+1],t<a?(n=0,o=1,s="left"):t<l?o=1+(n=t-a):(u==e.length-3||t==l&&e[u+3]>t)&&(n=(o=l-a)-1,t>=l&&(s="right")),null!=n){if(i=e[u+2],a==l&&r==(i.insertLeft?"left":"right")&&(s=r),"left"==r&&0==n)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)i=e[2+(u-=3)],s="left";if("right"==r&&n==l-a)for(;u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft;)i=e[(u+=3)+2],s="right";break}return{node:i,start:n,end:o,collapse:s,coverStart:a,coverEnd:l}}function Ir(e,t){var r=Br;if("left"==t)for(var i=0;i<e.length&&(r=e[i]).left==r.right;i++);else for(var n=e.length-1;n>=0&&(r=e[n]).left==r.right;n--);return r}function Or(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 Rr(e){e.display.externalMeasure=null,A(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Or(e.display.view[t])}function qr(e){Rr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Pr(){return c&&m?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Hr(){return c&&m?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function jr(e){var t=Rt(e).widgets,r=0;if(t)for(var i=0;i<t.length;++i)t[i].above&&(r+=yr(t[i]));return r}function $r(e,t,r,i,n){if(!n){var o=jr(t);r.top+=o,r.bottom+=o}if("line"==i)return r;i||(i="local");var s=$t(t);if("local"==i?s+=wr(e.display):s-=e.display.viewOffset,"page"==i||"window"==i){var a=e.display.lineSpace.getBoundingClientRect();s+=a.top+("window"==i?0:Hr());var l=a.left+("window"==i?0:Pr());r.left+=l,r.right+=l}return r.top+=s,r.bottom+=s,r}function Wr(e,t,r){if("div"==r)return t;var i=t.left,n=t.top;if("page"==r)i-=Pr(),n-=Hr();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();i+=o.left,n+=o.top}var s=e.display.lineSpace.getBoundingClientRect();return{left:i-s.left,top:n-s.top}}function Ur(e,t,r,i,n){return i||(i=Ve(e.doc,t.line)),$r(e,i,Fr(e,i,t.ch,n),r)}function Vr(e,t,r,i,n,o){function s(t,s){var a=Tr(e,n,t,s?"right":"left",o);return s?a.left=a.right:a.right=a.left,$r(e,i,a,r)}i=i||Ve(e.doc,t.line),n||(n=Mr(e,i));var a=ue(i,e.doc.direction),l=t.ch,u=t.sticky;if(l>=i.text.length?(l=i.text.length,u="before"):l<=0&&(l=0,u="after"),!a)return s("before"==u?l-1:l,"before"==u);function c(e,t,r){return s(r?e-1:e,1==a[t].level!=r)}var d=ae(a,l,u),f=se,h=c(l,d,"before"==u);return null!=f&&(h.other=c(l,f,"before"!=u)),h}function Gr(e,t){var r=0;t=at(e.doc,t),e.options.lineWrapping||(r=ii(e.display)*t.ch);var i=Ve(e.doc,t.line),n=$t(i)+wr(e.display);return{left:r,right:r,top:n,bottom:n+i.height}}function Zr(e,t,r,i,n){var o=et(e,t,r);return o.xRel=n,i&&(o.outside=i),o}function Kr(e,t,r){var i=e.doc;if((r+=e.display.viewOffset)<0)return Zr(i.first,0,null,-1,-1);var n=Ye(i,r),o=i.first+i.size-1;if(n>o)return Zr(i.first+i.size-1,Ve(i,o).text.length,null,1,1);t<0&&(t=0);for(var s=Ve(i,n);;){var a=Jr(e,s,n,t,r),l=It(s,a.ch+(a.xRel>0||a.outside>0?1:0));if(!l)return a;var u=l.find(1);if(u.line==n)return u;s=Ve(i,n=u.line)}}function Xr(e,t,r,i){i-=jr(t);var n=t.text.length,o=oe((function(t){return Tr(e,r,t-1).bottom<=i}),n,0);return{begin:o,end:n=oe((function(t){return Tr(e,r,t).top>i}),o,n)}}function Yr(e,t,r,i){return r||(r=Mr(e,t)),Xr(e,t,r,$r(e,t,Tr(e,r,i),"line").top)}function Qr(e,t,r,i){return!(e.bottom<=r)&&(e.top>r||(i?e.left:e.right)>t)}function Jr(e,t,r,i,n){n-=$t(t);var o=Mr(e,t),s=jr(t),a=0,l=t.text.length,u=!0,c=ue(t,e.doc.direction);if(c){var d=(e.options.lineWrapping?ti:ei)(e,t,r,o,c,i,n);a=(u=1!=d.level)?d.from:d.to-1,l=u?d.to:d.from-1}var f,h,p=null,g=null,m=oe((function(t){var r=Tr(e,o,t);return r.top+=s,r.bottom+=s,!!Qr(r,i,n,!1)&&(r.top<=n&&r.left<=i&&(p=t,g=r),!0)}),a,l),b=!1;if(g){var v=i-g.left<g.right-i,x=v==u;m=p+(x?0:1),h=x?"after":"before",f=v?g.left:g.right}else{u||m!=l&&m!=a||m++,h=0==m?"after":m==t.text.length?"before":Tr(e,o,m-(u?1:0)).bottom+s<=n==u?"after":"before";var y=Vr(e,et(r,m,h),"line",t,o);f=y.left,b=n<y.top?-1:n>=y.bottom?1:0}return Zr(r,m=ne(t.text,m,1),h,b,i-f)}function ei(e,t,r,i,n,o,s){var a=oe((function(a){var l=n[a],u=1!=l.level;return Qr(Vr(e,et(r,u?l.to:l.from,u?"before":"after"),"line",t,i),o,s,!0)}),0,n.length-1),l=n[a];if(a>0){var u=1!=l.level,c=Vr(e,et(r,u?l.from:l.to,u?"after":"before"),"line",t,i);Qr(c,o,s,!0)&&c.top>s&&(l=n[a-1])}return l}function ti(e,t,r,i,n,o,s){var a=Xr(e,t,i,s),l=a.begin,u=a.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,d=null,f=0;f<n.length;f++){var h=n[f];if(!(h.from>=u||h.to<=l)){var p=Tr(e,i,1!=h.level?Math.min(u,h.to)-1:Math.max(l,h.from)).right,g=p<o?o-p+1e9:p-o;(!c||d>g)&&(c=h,d=g)}}return c||(c=n[n.length-1]),c.from<l&&(c={from:l,to:c.to,level:c.level}),c.to>u&&(c={from:c.from,to:u,level:c.level}),c}function ri(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==zr){zr=F("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)zr.appendChild(document.createTextNode("x")),zr.appendChild(F("br"));zr.appendChild(document.createTextNode("x"))}E(e.measure,zr);var r=zr.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),A(e.measure),r||1}function ii(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=F("span","xxxxxxxxxx"),r=F("pre",[t],"CodeMirror-line-like");E(e.measure,r);var i=t.getBoundingClientRect(),n=(i.right-i.left)/10;return n>2&&(e.cachedCharWidth=n),n||10}function ni(e){for(var t=e.display,r={},i={},n=t.gutters.clientLeft,o=t.gutters.firstChild,s=0;o;o=o.nextSibling,++s){var a=e.display.gutterSpecs[s].className;r[a]=o.offsetLeft+o.clientLeft+n,i[a]=o.clientWidth}return{fixedPos:oi(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function oi(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function si(e){var t=ri(e.display),r=e.options.lineWrapping,i=r&&Math.max(5,e.display.scroller.clientWidth/ii(e.display)-3);return function(n){if(Ht(e.doc,n))return 0;var o=0;if(n.widgets)for(var s=0;s<n.widgets.length;s++)n.widgets[s].height&&(o+=n.widgets[s].height);return r?o+(Math.ceil(n.text.length/i)||1)*t:o+t}}function ai(e){var t=e.doc,r=si(e);t.iter((function(e){var t=r(e);t!=e.height&&Ke(e,t)}))}function li(e,t,r,i){var n=e.display;if(!r&&"true"==Ce(t).getAttribute("cm-not-content"))return null;var o,s,a=n.lineSpace.getBoundingClientRect();try{o=t.clientX-a.left,s=t.clientY-a.top}catch(e){return null}var l,u=Kr(e,o,s);if(i&&u.xRel>0&&(l=Ve(e.doc,u.line).text).length==u.ch){var c=R(l,l.length,e.options.tabSize)-l.length;u=et(u.line,Math.max(0,Math.round((o-Dr(e.display).left)/ii(e.display))-c))}return u}function ui(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var r=e.display.view,i=0;i<r.length;i++)if((t-=r[i].size)<0)return i}function ci(e,t,r,i){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),i||(i=0);var n=e.display;if(i&&r<n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>t)&&(n.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=n.viewTo)wt&&qt(e.doc,t)<n.viewTo&&fi(e);else if(r<=n.viewFrom)wt&&Pt(e.doc,r+i)>n.viewFrom?fi(e):(n.viewFrom+=i,n.viewTo+=i);else if(t<=n.viewFrom&&r>=n.viewTo)fi(e);else if(t<=n.viewFrom){var o=hi(e,r,r+i,1);o?(n.view=n.view.slice(o.index),n.viewFrom=o.lineN,n.viewTo+=i):fi(e)}else if(r>=n.viewTo){var s=hi(e,t,t,-1);s?(n.view=n.view.slice(0,s.index),n.viewTo=s.lineN):fi(e)}else{var a=hi(e,t,t,-1),l=hi(e,r,r+i,1);a&&l?(n.view=n.view.slice(0,a.index).concat(nr(e,a.lineN,l.lineN)).concat(n.view.slice(l.index)),n.viewTo+=i):fi(e)}var u=n.externalMeasured;u&&(r<u.lineN?u.lineN+=i:t<u.lineN+u.size&&(n.externalMeasured=null))}function di(e,t,r){e.curOp.viewChanged=!0;var i=e.display,n=e.display.externalMeasured;if(n&&t>=n.lineN&&t<n.lineN+n.size&&(i.externalMeasured=null),!(t<i.viewFrom||t>=i.viewTo)){var o=i.view[ui(e,t)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==P(s,r)&&s.push(r)}}}function fi(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function hi(e,t,r,i){var n,o=ui(e,t),s=e.display.view;if(!wt||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var a=e.display.viewFrom,l=0;l<o;l++)a+=s[l].size;if(a!=t){if(i>0){if(o==s.length-1)return null;n=a+s[o].size-t,o++}else n=a-t;t+=n,r+=n}for(;qt(e.doc,r)!=r;){if(o==(i<0?0:s.length-1))return null;r+=i*s[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:r}}function pi(e){for(var t=e.display.view,r=0,i=0;i<t.length;i++){var n=t[i];n.hidden||n.node&&!n.changes||++r}return r}function gi(e){e.display.input.showSelection(e.display.input.prepareSelection())}function mi(e,t){void 0===t&&(t=!0);var r=e.doc,i={},n=i.cursors=document.createDocumentFragment(),o=i.selection=document.createDocumentFragment(),s=e.options.$customCursor;s&&(t=!0);for(var a=0;a<r.sel.ranges.length;a++)if(t||a!=r.sel.primIndex){var l=r.sel.ranges[a];if(!(l.from().line>=e.display.viewTo||l.to().line<e.display.viewFrom)){var u=l.empty();if(s){var c=s(e,l);c&&bi(e,c,n)}else(u||e.options.showCursorWhenSelecting)&&bi(e,l.head,n);u||xi(e,l,o)}}return i}function bi(e,t,r){var i=Vr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),n=r.appendChild(F("div"," ","CodeMirror-cursor"));if(n.style.left=i.left+"px",n.style.top=i.top+"px",n.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var o=Ur(e,t,"div",null,null),s=o.right-o.left;n.style.width=(s>0?s:e.defaultCharWidth())+"px"}if(i.other){var a=r.appendChild(F("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=i.other.left+"px",a.style.top=i.other.top+"px",a.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function vi(e,t){return e.top-t.top||e.left-t.left}function xi(e,t,r){var i=e.display,n=e.doc,o=document.createDocumentFragment(),s=Dr(e.display),a=s.left,l=Math.max(i.sizerWidth,Sr(e)-i.sizer.offsetLeft)-s.right,u="ltr"==n.direction;function c(e,t,r,i){t<0&&(t=0),t=Math.round(t),i=Math.round(i),o.appendChild(F("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?l-e:r)+"px;\n height: "+(i-t)+"px"))}function d(t,r,i){var o,s,d=Ve(n,t),f=d.text.length;function h(r,i){return Ur(e,et(t,r),"div",d,i)}function p(t,r,i){var n=Yr(e,d,null,t),o="ltr"==r==("after"==i)?"left":"right";return h("after"==i?n.begin:n.end-(/\s/.test(d.text.charAt(n.end-1))?2:1),o)[o]}var g=ue(d,n.direction);return function(e,t,r,i){if(!e)return i(t,r,"ltr",0);for(var n=!1,o=0;o<e.length;++o){var s=e[o];(s.from<r&&s.to>t||t==r&&s.to==t)&&(i(Math.max(s.from,t),Math.min(s.to,r),1==s.level?"rtl":"ltr",o),n=!0)}n||i(t,r,"ltr")}(g,r||0,null==i?f:i,(function(e,t,n,d){var m="ltr"==n,b=h(e,m?"left":"right"),v=h(t-1,m?"right":"left"),x=null==r&&0==e,y=null==i&&t==f,k=0==d,w=!g||d==g.length-1;if(v.top-b.top<=3){var C=(u?y:x)&&w,D=(u?x:y)&&k?a:(m?b:v).left,_=C?l:(m?v:b).right;c(D,b.top,_-D,b.bottom)}else{var S,A,E,F;m?(S=u&&x&&k?a:b.left,A=u?l:p(e,n,"before"),E=u?a:p(t,n,"after"),F=u&&y&&w?l:v.right):(S=u?p(e,n,"before"):a,A=!u&&x&&k?l:b.right,E=!u&&y&&w?a:v.left,F=u?p(t,n,"after"):l),c(S,b.top,A-S,b.bottom),b.bottom<v.top&&c(a,b.bottom,null,v.top),c(E,v.top,F-E,v.bottom)}(!o||vi(b,o)<0)&&(o=b),vi(v,o)<0&&(o=v),(!s||vi(b,s)<0)&&(s=b),vi(v,s)<0&&(s=v)})),{start:o,end:s}}var f=t.from(),h=t.to();if(f.line==h.line)d(f.line,f.ch,h.ch);else{var p=Ve(n,f.line),g=Ve(n,h.line),m=Rt(p)==Rt(g),b=d(f.line,f.ch,m?p.text.length+1:null).end,v=d(h.line,m?0:null,h.ch).start;m&&(b.top<v.top-2?(c(b.right,b.top,null,b.bottom),c(a,v.top,v.left,v.bottom)):c(b.right,b.top,v.left-b.right,b.bottom)),b.bottom<v.top&&c(a,b.bottom,null,v.top)}r.appendChild(o)}function yi(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||Di(e),t.cursorDiv.style.visibility=(r=!r)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ki(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Ci(e))}function wi(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Di(e))}),100)}function Ci(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(pe(e,"focus",e,t),e.state.focused=!0,z(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),yi(e))}function Di(e,t){e.state.delayingBlurEvent||(e.state.focused&&(pe(e,"blur",e,t),e.state.focused=!1,S(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function _i(e){for(var t=e.display,r=t.lineDiv.offsetTop,i=Math.max(0,t.scroller.getBoundingClientRect().top),n=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l<t.view.length;l++){var u=t.view[l],c=e.options.lineWrapping,d=void 0,f=0;if(!u.hidden){if(n+=u.line.height,s&&a<8){var h=u.node.offsetTop+u.node.offsetHeight;d=h-r,r=h}else{var p=u.node.getBoundingClientRect();d=p.bottom-p.top,!c&&u.text.firstChild&&(f=u.text.firstChild.getBoundingClientRect().right-p.left-1)}var g=u.line.height-d;if((g>.005||g<-.005)&&(n<i&&(o-=g),Ke(u.line,d),Si(u.line),u.rest))for(var m=0;m<u.rest.length;m++)Si(u.rest[m]);if(f>e.display.sizerWidth){var b=Math.ceil(f/ii(e.display));b>e.display.maxLineLength&&(e.display.maxLineLength=b,e.display.maxLine=u.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function Si(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],i=r.node.parentNode;i&&(r.height=i.offsetHeight)}}function Ai(e,t,r){var i=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;i=Math.floor(i-wr(e));var n=r&&null!=r.bottom?r.bottom:i+e.wrapper.clientHeight,o=Ye(t,i),s=Ye(t,n);if(r&&r.ensure){var a=r.ensure.from.line,l=r.ensure.to.line;a<o?(o=a,s=Ye(t,$t(Ve(t,a))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=s&&(o=Ye(t,$t(Ve(t,l))-e.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function Ei(e,t){var r=e.display,i=ri(e.display);t.top<0&&(t.top=0);var n=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=Ar(e),s={};t.bottom-t.top>o&&(t.bottom=t.top+o);var a=e.doc.height+Cr(r),l=t.top<i,u=t.bottom>a-i;if(t.top<n)s.scrollTop=l?0:t.top;else if(t.bottom>n+o){var c=Math.min(t.top,(u?a:t.bottom)-o);c!=n&&(s.scrollTop=c)}var d=e.options.fixedGutter?0:r.gutters.offsetWidth,f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft-d,h=Sr(e)-r.gutters.offsetWidth,p=t.right-t.left>h;return p&&(t.right=t.left+h),t.left<10?s.scrollLeft=0:t.left<f?s.scrollLeft=Math.max(0,t.left+d-(p?0:10)):t.right>h+f-3&&(s.scrollLeft=t.right+(p?0:10)-h),s}function Fi(e,t){null!=t&&(Ti(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Li(e){Ti(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Mi(e,t,r){null==t&&null==r||Ti(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r)}function Ti(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,zi(e,Gr(e,t.from),Gr(e,t.to),t.margin))}function zi(e,t,r,i){var n=Ei(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-i,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+i});Mi(e,n.scrollLeft,n.scrollTop)}function Bi(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||ln(e,{top:t}),Ni(e,t,!0),r&&ln(e),rn(e,100))}function Ni(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Ii(e,t,r,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i||(e.doc.scrollLeft=t,dn(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Oi(e){var t=e.display,r=t.gutters.offsetWidth,i=Math.round(e.doc.height+Cr(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?r:0,docHeight:i,scrollHeight:i+_r(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var Ri=function(e,t,r){this.cm=r;var i=this.vert=F("div",[F("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),n=this.horiz=F("div",[F("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=n.tabIndex=-1,e(i),e(n),de(i,"scroll",(function(){i.clientHeight&&t(i.scrollTop,"vertical")})),de(n,"scroll",(function(){n.clientWidth&&t(n.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,s&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ri.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var n=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+n)+"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=r?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?i:0,bottom:t?i:0}},Ri.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ri.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ri.prototype.zeroWidthHack=function(){var e=v&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new q,this.disableVert=new q},Ri.prototype.enableZeroWidthBar=function(e,t,r){e.style.pointerEvents="auto",t.set(1e3,(function i(){var n=e.getBoundingClientRect();("vert"==r?document.elementFromPoint(n.right-1,(n.top+n.bottom)/2):document.elementFromPoint((n.right+n.left)/2,n.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,i)}))},Ri.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var qi=function(){};function Pi(e,t){t||(t=Oi(e));var r=e.display.barWidth,i=e.display.barHeight;Hi(e,t);for(var n=0;n<4&&r!=e.display.barWidth||i!=e.display.barHeight;n++)r!=e.display.barWidth&&e.options.lineWrapping&&_i(e),Hi(e,Oi(e)),r=e.display.barWidth,i=e.display.barHeight}function Hi(e,t){var r=e.display,i=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=i.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=i.bottom)+"px",r.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=i.bottom+"px",r.scrollbarFiller.style.width=i.right+"px"):r.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=i.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}qi.prototype.update=function(){return{bottom:0,right:0}},qi.prototype.setScrollLeft=function(){},qi.prototype.setScrollTop=function(){},qi.prototype.clear=function(){};var ji={native:Ri,null:qi};function $i(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&S(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ji[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),de(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,r){"horizontal"==r?Ii(e,t):Bi(e,t)}),e),e.display.scrollbars.addClass&&z(e.display.wrapper,e.display.scrollbars.addClass)}var Wi=0;function Ui(e){var t;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:++Wi,markArrays:null},t=e.curOp,or?or.ops.push(t):t.ownsGroup=or={ops:[t],delayedCallbacks:[]}}function Vi(e){var t=e.curOp;t&&function(e,t){var r=e.ownsGroup;if(r)try{!function(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var i=0;i<e.ops.length;i++){var n=e.ops[i];if(n.cursorActivityHandlers)for(;n.cursorActivityCalled<n.cursorActivityHandlers.length;)n.cursorActivityHandlers[n.cursorActivityCalled++].call(null,n.cm)}}while(r<t.length)}(r)}finally{or=null,t(r)}}(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,r=0;r<t.length;r++)Gi(t[r]);for(var i=0;i<t.length;i++)Zi(t[i]);for(var n=0;n<t.length;n++)Ki(t[n]);for(var o=0;o<t.length;o++)Xi(t[o]);for(var s=0;s<t.length;s++)Yi(t[s])}(e)}))}function Gi(e){var t=e.cm,r=t.display;(function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=_r(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=_r(e)+"px",t.scrollbarsClipped=!0)})(t),e.updateMaxLine&&Ut(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new on(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Zi(e){e.updatedDisplay=e.mustUpdate&&sn(e.cm,e.update)}function Ki(e){var t=e.cm,r=t.display;e.updatedDisplay&&_i(t),e.barMeasure=Oi(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Fr(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+_r(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Sr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function Xi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Ii(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==T();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Pi(t,e.barMeasure),e.updatedDisplay&&cn(t,e.barMeasure),e.selectionChanged&&yi(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&ki(e.cm)}function Yi(e){var t=e.cm,r=t.display,i=t.doc;e.updatedDisplay&&an(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&Ni(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Ii(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!ge(e,"scrollCursorIntoView")){var r=e.display,i=r.sizer.getBoundingClientRect(),n=null;if(t.top+i.top<0?n=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(n=!1),null!=n&&!p){var o=F("div","",null,"position: absolute;\n top: "+(t.top-r.viewOffset-wr(e.display))+"px;\n height: "+(t.bottom-t.top+_r(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(n),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,r,i){var n;null==i&&(i=0),e.options.lineWrapping||t!=r||(r="before"==t.sticky?et(t.line,t.ch+1,"before"):t,t=t.ch?et(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var s=!1,a=Vr(e,t),l=r&&r!=t?Vr(e,r):a,u=Ei(e,n={left:Math.min(a.left,l.left),top:Math.min(a.top,l.top)-i,right:Math.max(a.left,l.left),bottom:Math.max(a.bottom,l.bottom)+i}),c=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=u.scrollTop&&(Bi(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(s=!0)),null!=u.scrollLeft&&(Ii(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(s=!0)),!s)break}return n}(t,at(i,e.scrollToPos.from),at(i,e.scrollToPos.to),e.scrollToPos.margin));var n=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(n)for(var s=0;s<n.length;++s)n[s].lines.length||pe(n[s],"hide");if(o)for(var a=0;a<o.length;++a)o[a].lines.length&&pe(o[a],"unhide");r.wrapper.offsetHeight&&(i.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&pe(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Qi(e,t){if(e.curOp)return t();Ui(e);try{return t()}finally{Vi(e)}}function Ji(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Ui(e);try{return t.apply(e,arguments)}finally{Vi(e)}}}function en(e){return function(){if(this.curOp)return e.apply(this,arguments);Ui(this);try{return e.apply(this,arguments)}finally{Vi(this)}}}function tn(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Ui(t);try{return e.apply(this,arguments)}finally{Vi(t)}}}function rn(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,I(nn,e))}function nn(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date+e.options.workTime,i=ht(e,t.highlightFrontier),n=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(i.line>=e.display.viewFrom){var s=o.styles,a=o.text.length>e.options.maxHighlightLength?je(t.mode,i.state):null,l=dt(e,o,i,!0);a&&(i.state=a),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var d=!s||s.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),f=0;!d&&f<s.length;++f)d=s[f]!=o.styles[f];d&&n.push(i.line),o.stateAfter=i.save(),i.nextLine()}else o.text.length<=e.options.maxHighlightLength&&pt(e,o.text,i),o.stateAfter=i.line%5==0?i.save():null,i.nextLine();if(+new Date>r)return rn(e,e.options.workDelay),!0})),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),n.length&&Qi(e,(function(){for(var t=0;t<n.length;t++)di(e,n[t],"text")}))}}var on=function(e,t,r){var i=e.display;this.viewport=t,this.visible=Ai(i,e.doc,t),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=Sr(e),this.force=r,this.dims=ni(e),this.events=[]};function sn(e,t){var r=e.display,i=e.doc;if(t.editorIsHidden)return fi(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==pi(e))return!1;fn(e)&&(fi(e),t.dims=ni(e));var n=i.first+i.size,o=Math.max(t.visible.from-e.options.viewportMargin,i.first),s=Math.min(n,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(i.first,r.viewFrom)),r.viewTo>s&&r.viewTo-s<20&&(s=Math.min(n,r.viewTo)),wt&&(o=qt(e.doc,o),s=Pt(e.doc,s));var a=o!=r.viewFrom||s!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;(function(e,t,r){var i=e.display;0==i.view.length||t>=i.viewTo||r<=i.viewFrom?(i.view=nr(e,t,r),i.viewFrom=t):(i.viewFrom>t?i.view=nr(e,t,i.viewFrom).concat(i.view):i.viewFrom<t&&(i.view=i.view.slice(ui(e,t))),i.viewFrom=t,i.viewTo<r?i.view=i.view.concat(nr(e,i.viewTo,r)):i.viewTo>r&&(i.view=i.view.slice(0,ui(e,r)))),i.viewTo=r})(e,o,s),r.viewOffset=$t(Ve(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var u=pi(e);if(!a&&0==u&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=T();if(!t||!M(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&M(e.display.lineDiv,i.anchorNode)&&(r.anchorNode=i.anchorNode,r.anchorOffset=i.anchorOffset,r.focusNode=i.focusNode,r.focusOffset=i.focusOffset)}return r}(e);return u>4&&(r.lineDiv.style.display="none"),function(e,t,r){var i=e.display,n=e.options.lineNumbers,o=i.lineDiv,s=o.firstChild;function a(t){var r=t.nextSibling;return l&&v&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r}for(var u=i.view,c=i.viewFrom,d=0;d<u.length;d++){var f=u[d];if(f.hidden);else if(f.node&&f.node.parentNode==o){for(;s!=f.node;)s=a(s);var h=n&&null!=t&&t<=c&&f.lineNumber;f.changes&&(P(f.changes,"gutter")>-1&&(h=!1),ur(e,f,c,r)),h&&(A(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(Je(e.options,c)))),s=f.node.nextSibling}else{var p=mr(e,f,c,r);o.insertBefore(p,s)}c+=f.size}for(;s;)s=a(s)}(e,r.updateLineNumbers,t.dims),u>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,function(e){if(e&&e.activeElt&&e.activeElt!=T()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&M(document.body,e.anchorNode)&&M(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset)}}(c),A(r.cursorDiv),A(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,a&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,rn(e,400)),r.updateLineNumbers=null,!0}function an(e,t){for(var r=t.viewport,i=!0;;i=!1){if(i&&e.options.lineWrapping&&t.oldDisplayWidth!=Sr(e))i&&(t.visible=Ai(e.display,e.doc,r));else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Cr(e.display)-Ar(e),r.top)}),t.visible=Ai(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!sn(e,t))break;_i(e);var n=Oi(e);gi(e),Pi(e,n),cn(e,n),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 ln(e,t){var r=new on(e,t);if(sn(e,r)){_i(e),an(e,r);var i=Oi(e);gi(e),Pi(e,i),cn(e,i),r.finish()}}function un(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",ar(e,"gutterChanged",e)}function cn(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+_r(e)+"px"}function dn(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var i=oi(t)-t.scroller.scrollLeft+e.doc.scrollLeft,n=t.gutters.offsetWidth,o=i+"px",s=0;s<r.length;s++)if(!r[s].hidden){e.options.fixedGutter&&(r[s].gutter&&(r[s].gutter.style.left=o),r[s].gutterBackground&&(r[s].gutterBackground.style.left=o));var a=r[s].alignable;if(a)for(var l=0;l<a.length;l++)a[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=i+n+"px")}}function fn(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=Je(e.options,t.first+t.size-1),i=e.display;if(r.length!=i.lineNumChars){var n=i.measure.appendChild(F("div",[F("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=n.firstChild.offsetWidth,s=n.offsetWidth-o;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(o,i.lineGutter.offsetWidth-s)+1,i.lineNumWidth=i.lineNumInnerWidth+s,i.lineNumChars=i.lineNumInnerWidth?r.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",un(e.display),!0}return!1}function hn(e,t){for(var r=[],i=!1,n=0;n<e.length;n++){var o=e[n],s=null;if("string"!=typeof o&&(s=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;i=!0}r.push({className:o,style:s})}return t&&!i&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function pn(e){var t=e.gutters,r=e.gutterSpecs;A(t),e.lineGutter=null;for(var i=0;i<r.length;++i){var n=r[i],o=n.className,s=n.style,a=t.appendChild(F("div",null,"CodeMirror-gutter "+o));s&&(a.style.cssText=s),"CodeMirror-linenumbers"==o&&(e.lineGutter=a,a.style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",un(e)}function gn(e){pn(e.display),ci(e),dn(e)}function mn(e,t,i,n){var o=this;this.input=i,o.scrollbarFiller=F("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=F("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=L("div",null,"CodeMirror-code"),o.selectionDiv=F("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=F("div",null,"CodeMirror-cursors"),o.measure=F("div",null,"CodeMirror-measure"),o.lineMeasure=F("div",null,"CodeMirror-measure"),o.lineSpace=L("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var u=L("div",[o.lineSpace],"CodeMirror-lines");o.mover=F("div",[u],null,"position: relative"),o.sizer=F("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=F("div",null,null,"position: absolute; height: 50px; width: 1px;"),o.gutters=F("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=F("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=F("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),o.wrapper.setAttribute("translate","no"),s&&a<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||r&&b||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=hn(n.gutters,n.lineNumbers),pn(o),i.init(o)}on.prototype.signal=function(e,t){be(e,t)&&this.events.push(arguments)},on.prototype.finish=function(){for(var e=0;e<this.events.length;e++)pe.apply(null,this.events[e])};var bn=0,vn=null;function xn(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function yn(e){var t=xn(e);return t.x*=vn,t.y*=vn,t}function kn(e,t){var i=xn(t),n=i.x,o=i.y,s=vn;0===t.deltaMode&&(n=t.deltaX,o=t.deltaY,s=1);var a=e.display,u=a.scroller,c=u.scrollWidth>u.clientWidth,f=u.scrollHeight>u.clientHeight;if(n&&c||o&&f){if(o&&v&&l)e:for(var h=t.target,p=a.view;h!=u;h=h.parentNode)for(var g=0;g<p.length;g++)if(p[g].node==h){e.display.currentWheelTarget=h;break e}if(n&&!r&&!d&&null!=s)return o&&f&&Bi(e,Math.max(0,u.scrollTop+o*s)),Ii(e,Math.max(0,u.scrollLeft+n*s)),(!o||o&&f)&&xe(t),void(a.wheelStartX=null);if(o&&null!=s){var m=o*s,b=e.doc.scrollTop,x=b+a.wrapper.clientHeight;m<0?b=Math.max(0,b+m-50):x=Math.min(e.doc.height,x+m+50),ln(e,{top:b,bottom:x})}bn<20&&0!==t.deltaMode&&(null==a.wheelStartX?(a.wheelStartX=u.scrollLeft,a.wheelStartY=u.scrollTop,a.wheelDX=n,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=u.scrollLeft-a.wheelStartX,t=u.scrollTop-a.wheelStartY,r=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,r&&(vn=(vn*bn+r)/(bn+1),++bn)}}),200)):(a.wheelDX+=n,a.wheelDY+=o))}}s?vn=-.53:r?vn=15:c?vn=-.7:f&&(vn=-1/3);var wn=function(e,t){this.ranges=e,this.primIndex=t};wn.prototype.primary=function(){return this.ranges[this.primIndex]},wn.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 r=this.ranges[t],i=e.ranges[t];if(!rt(r.anchor,i.anchor)||!rt(r.head,i.head))return!1}return!0},wn.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Cn(it(this.ranges[t].anchor),it(this.ranges[t].head));return new wn(e,this.primIndex)},wn.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},wn.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var i=this.ranges[r];if(tt(t,i.from())>=0&&tt(e,i.to())<=0)return r}return-1};var Cn=function(e,t){this.anchor=e,this.head=t};function Dn(e,t,r){var i=e&&e.options.selectionsMayTouch,n=t[r];t.sort((function(e,t){return tt(e.from(),t.from())})),r=P(t,n);for(var o=1;o<t.length;o++){var s=t[o],a=t[o-1],l=tt(a.to(),s.from());if(i&&!s.empty()?l>0:l>=0){var u=ot(a.from(),s.from()),c=nt(a.to(),s.to()),d=a.empty()?s.from()==s.head:a.from()==a.head;o<=r&&--r,t.splice(--o,2,new Cn(d?c:u,d?u:c))}}return new wn(t,r)}function _n(e,t){return new wn([new Cn(e,t||e)],0)}function Sn(e){return e.text?et(e.from.line+e.text.length-1,Z(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function An(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return Sn(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=Sn(t).ch-t.to.ch),et(r,i)}function En(e,t){for(var r=[],i=0;i<e.sel.ranges.length;i++){var n=e.sel.ranges[i];r.push(new Cn(An(n.anchor,t),An(n.head,t)))}return Dn(e.cm,r,e.sel.primIndex)}function Fn(e,t,r){return e.line==t.line?et(r.line,e.ch-t.ch+r.ch):et(r.line+(e.line-t.line),e.ch)}function Ln(e){e.doc.mode=qe(e.options,e.doc.modeOption),Mn(e)}function Mn(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,rn(e,100),e.state.modeGen++,e.curOp&&ci(e)}function Tn(e,t){return 0==t.from.ch&&0==t.to.ch&&""==Z(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function zn(e,t,r,i){function n(e){return r?r[e]:null}function o(e,r,n){(function(e,t,r,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Et(e),Ft(e,r);var n=i?i(e):1;n!=e.height&&Ke(e,n)})(e,r,n,i),ar(e,"change",e,t)}function s(e,t){for(var r=[],o=e;o<t;++o)r.push(new Vt(u[o],n(o),i));return r}var a=t.from,l=t.to,u=t.text,c=Ve(e,a.line),d=Ve(e,l.line),f=Z(u),h=n(u.length-1),p=l.line-a.line;if(t.full)e.insert(0,s(0,u.length)),e.remove(u.length,e.size-u.length);else if(Tn(e,t)){var g=s(0,u.length-1);o(d,d.text,h),p&&e.remove(a.line,p),g.length&&e.insert(a.line,g)}else if(c==d)if(1==u.length)o(c,c.text.slice(0,a.ch)+f+c.text.slice(l.ch),h);else{var m=s(1,u.length-1);m.push(new Vt(f+c.text.slice(l.ch),h,i)),o(c,c.text.slice(0,a.ch)+u[0],n(0)),e.insert(a.line+1,m)}else if(1==u.length)o(c,c.text.slice(0,a.ch)+u[0]+d.text.slice(l.ch),n(0)),e.remove(a.line+1,p);else{o(c,c.text.slice(0,a.ch)+u[0],n(0)),o(d,f+d.text.slice(l.ch),h);var b=s(1,u.length-1);p>1&&e.remove(a.line+1,p-1),e.insert(a.line+1,b)}ar(e,"change",e,t)}function Bn(e,t,r){!function e(i,n,o){if(i.linked)for(var s=0;s<i.linked.length;++s){var a=i.linked[s];if(a.doc!=n){var l=o&&a.sharedHist;r&&!l||(t(a.doc,l),e(a.doc,i,l))}}}(e,null,!0)}function Nn(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ai(e),Ln(e),In(e),e.options.direction=t.direction,e.options.lineWrapping||Ut(e),e.options.mode=t.modeOption,ci(e)}function In(e){("rtl"==e.doc.direction?z:S)(e.display.lineDiv,"CodeMirror-rtl")}function On(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 Rn(e,t){var r={from:it(t.from),to:Sn(t),text:Ge(e,t.from,t.to)};return $n(e,r,t.from.line,t.to.line+1),Bn(e,(function(e){return $n(e,r,t.from.line,t.to.line+1)}),!0),r}function qn(e){for(;e.length&&Z(e).ranges;)e.pop()}function Pn(e,t,r,i){var n=e.history;n.undone.length=0;var o,s,a=+new Date;if((n.lastOp==i||n.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&n.lastModTime>a-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(qn(e.done),Z(e.done)):e.done.length&&!Z(e.done).ranges?Z(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Z(e.done)):void 0}(n,n.lastOp==i)))s=Z(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,s.to)?s.to=Sn(t):o.changes.push(Rn(e,t));else{var l=Z(n.done);for(l&&l.ranges||jn(e.sel,n.done),o={changes:[Rn(e,t)],generation:n.generation},n.done.push(o);n.done.length>n.undoDepth;)n.done.shift(),n.done[0].ranges||n.done.shift()}n.done.push(r),n.generation=++n.maxGeneration,n.lastModTime=n.lastSelTime=a,n.lastOp=n.lastSelOp=i,n.lastOrigin=n.lastSelOrigin=t.origin,s||pe(e,"historyAdded")}function Hn(e,t,r,i){var n=e.history,o=i&&i.origin;r==n.lastSelOp||o&&n.lastSelOrigin==o&&(n.lastModTime==n.lastSelTime&&n.lastOrigin==o||function(e,t,r,i){var n=t.charAt(0);return"*"==n||"+"==n&&r.ranges.length==i.ranges.length&&r.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,Z(n.done),t))?n.done[n.done.length-1]=t:jn(t,n.done),n.lastSelTime=+new Date,n.lastSelOrigin=o,n.lastSelOp=r,i&&!1!==i.clearRedo&&qn(n.undone)}function jn(e,t){var r=Z(t);r&&r.ranges&&r.equals(e)||t.push(e)}function $n(e,t,r,i){var n=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,i),(function(r){r.markedSpans&&((n||(n=t["spans_"+e.id]={}))[o]=r.markedSpans),++o}))}function Wn(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function Un(e,t){var r=function(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var i=[],n=0;n<t.text.length;++n)i.push(Wn(r[n]));return i}(e,t),i=St(e,t);if(!r)return i;if(!i)return r;for(var n=0;n<r.length;++n){var o=r[n],s=i[n];if(o&&s)e:for(var a=0;a<s.length;++a){for(var l=s[a],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue e;o.push(l)}else s&&(r[n]=s)}return r}function Vn(e,t,r){for(var i=[],n=0;n<e.length;++n){var o=e[n];if(o.ranges)i.push(r?wn.prototype.deepCopy.call(o):o);else{var s=o.changes,a=[];i.push({changes:a});for(var l=0;l<s.length;++l){var u=s[l],c=void 0;if(a.push({from:u.from,to:u.to,text:u.text}),t)for(var d in u)(c=d.match(/^spans_(\d+)$/))&&P(t,Number(c[1]))>-1&&(Z(a)[d]=u[d],delete u[d])}}}return i}function Gn(e,t,r,i){if(i){var n=e.anchor;if(r){var o=tt(t,n)<0;o!=tt(r,n)<0?(n=t,t=r):o!=tt(t,r)<0&&(t=r)}return new Cn(n,t)}return new Cn(r||t,t)}function Zn(e,t,r,i,n){null==n&&(n=e.cm&&(e.cm.display.shift||e.extend)),Jn(e,new wn([Gn(e.sel.primary(),t,r,n)],0),i)}function Kn(e,t,r){for(var i=[],n=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)i[o]=Gn(e.sel.ranges[o],t[o],null,n);Jn(e,Dn(e.cm,i,e.sel.primIndex),r)}function Xn(e,t,r,i){var n=e.sel.ranges.slice(0);n[t]=r,Jn(e,Dn(e.cm,n,e.sel.primIndex),i)}function Yn(e,t,r,i){Jn(e,_n(t,r),i)}function Qn(e,t,r){var i=e.history.done,n=Z(i);n&&n.ranges?(i[i.length-1]=t,eo(e,t,r)):Jn(e,t,r)}function Jn(e,t,r){eo(e,t,r),Hn(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function eo(e,t,r){(be(e,"beforeSelectionChange")||e.cm&&be(e.cm,"beforeSelectionChange"))&&(t=function(e,t,r){var i={ranges:t.ranges,update:function(t){this.ranges=[];for(var r=0;r<t.length;r++)this.ranges[r]=new Cn(at(e,t[r].anchor),at(e,t[r].head))},origin:r&&r.origin};return pe(e,"beforeSelectionChange",e,i),e.cm&&pe(e.cm,"beforeSelectionChange",e.cm,i),i.ranges!=t.ranges?Dn(e.cm,i.ranges,i.ranges.length-1):t}(e,t,r));var i=r&&r.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);to(e,io(e,t,i,!0)),r&&!1===r.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||Li(e.cm)}function to(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,me(e.cm)),ar(e,"cursorActivity",e))}function ro(e){to(e,io(e,e.sel,null,!1))}function io(e,t,r,i){for(var n,o=0;o<t.ranges.length;o++){var s=t.ranges[o],a=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=oo(e,s.anchor,a&&a.anchor,r,i),u=oo(e,s.head,a&&a.head,r,i);(n||l!=s.anchor||u!=s.head)&&(n||(n=t.ranges.slice(0,o)),n[o]=new Cn(l,u))}return n?Dn(e.cm,n,t.primIndex):t}function no(e,t,r,i,n){var o=Ve(e,t.line);if(o.markedSpans)for(var s=0;s<o.markedSpans.length;++s){var a=o.markedSpans[s],l=a.marker,u="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,c="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==a.from||(u?a.from<=t.ch:a.from<t.ch))&&(null==a.to||(c?a.to>=t.ch:a.to>t.ch))){if(n&&(pe(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(r){var d=l.find(i<0?1:-1),f=void 0;if((i<0?c:u)&&(d=so(e,d,-i,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(f=tt(d,r))&&(i<0?f<0:f>0))return no(e,d,t,i,n)}var h=l.find(i<0?-1:1);return(i<0?u:c)&&(h=so(e,h,i,h.line==t.line?o:null)),h?no(e,h,t,i,n):null}}return t}function oo(e,t,r,i,n){var o=i||1;return no(e,t,r,o,n)||!n&&no(e,t,r,o,!0)||no(e,t,r,-o,n)||!n&&no(e,t,r,-o,!0)||(e.cantEdit=!0,et(e.first,0))}function so(e,t,r,i){return r<0&&0==t.ch?t.line>e.first?at(e,et(t.line-1)):null:r>0&&t.ch==(i||Ve(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+r)}function ao(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),j)}function lo(e,t,r){var i={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return i.canceled=!0}};return r&&(i.update=function(t,r,n,o){t&&(i.from=at(e,t)),r&&(i.to=at(e,r)),n&&(i.text=n),void 0!==o&&(i.origin=o)}),pe(e,"beforeChange",e,i),e.cm&&pe(e.cm,"beforeChange",e.cm,i),i.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:i.from,to:i.to,text:i.text,origin:i.origin}}function uo(e,t,r){if(e.cm){if(!e.cm.curOp)return Ji(e.cm,uo)(e,t,r);if(e.cm.state.suppressEdits)return}if(!(be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"))||(t=lo(e,t,!0))){var i=kt&&!r&&function(e,t,r){var i=null;if(e.iter(t.line,r.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||i&&-1!=P(i,r)||(i||(i=[])).push(r)}})),!i)return null;for(var n=[{from:t,to:r}],o=0;o<i.length;++o)for(var s=i[o],a=s.find(0),l=0;l<n.length;++l){var u=n[l];if(!(tt(u.to,a.from)<0||tt(u.from,a.to)>0)){var c=[l,1],d=tt(u.from,a.from),f=tt(u.to,a.to);(d<0||!s.inclusiveLeft&&!d)&&c.push({from:u.from,to:a.from}),(f>0||!s.inclusiveRight&&!f)&&c.push({from:a.to,to:u.to}),n.splice.apply(n,c),l+=c.length-3}}return n}(e,t.from,t.to);if(i)for(var n=i.length-1;n>=0;--n)co(e,{from:i[n].from,to:i[n].to,text:n?[""]:t.text,origin:t.origin});else co(e,t)}}function co(e,t){if(1!=t.text.length||""!=t.text[0]||0!=tt(t.from,t.to)){var r=En(e,t);Pn(e,t,r,e.cm?e.cm.curOp.id:NaN),po(e,t,r,St(e,t));var i=[];Bn(e,(function(e,r){r||-1!=P(i,e.history)||(vo(e.history,t),i.push(e.history)),po(e,t,null,St(e,t))}))}}function fo(e,t,r){var i=e.cm&&e.cm.state.suppressEdits;if(!i||r){for(var n,o=e.history,s=e.sel,a="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,u=0;u<a.length&&(n=a[u],r?!n.ranges||n.equals(e.sel):n.ranges);u++);if(u!=a.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(n=a.pop()).ranges){if(i)return void a.push(n);break}if(jn(n,l),r&&!n.equals(e.sel))return void Jn(e,n,{clearRedo:!1});s=n}var c=[];jn(s,l),l.push({changes:c,generation:o.generation}),o.generation=n.generation||++o.maxGeneration;for(var d=be(e,"beforeChange")||e.cm&&be(e.cm,"beforeChange"),f=function(r){var i=n.changes[r];if(i.origin=t,d&&!lo(e,i,!1))return a.length=0,{};c.push(Rn(e,i));var o=r?En(e,i):Z(a);po(e,i,o,Un(e,i)),!r&&e.cm&&e.cm.scrollIntoView({from:i.from,to:Sn(i)});var s=[];Bn(e,(function(e,t){t||-1!=P(s,e.history)||(vo(e.history,i),s.push(e.history)),po(e,i,null,Un(e,i))}))},h=n.changes.length-1;h>=0;--h){var p=f(h);if(p)return p.v}}}}function ho(e,t){if(0!=t&&(e.first+=t,e.sel=new wn(K(e.sel.ranges,(function(e){return new Cn(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){ci(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,i=r.viewFrom;i<r.viewTo;i++)di(e.cm,i,"gutter")}}function po(e,t,r,i){if(e.cm&&!e.cm.curOp)return Ji(e.cm,po)(e,t,r,i);if(t.to.line<e.first)ho(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var n=t.text.length-1-(e.first-t.from.line);ho(e,n),t={from:et(e.first,0),to:et(t.to.line+n,t.to.ch),text:[Z(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Ve(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ge(e,t.from,t.to),r||(r=En(e,t)),e.cm?function(e,t,r){var i=e.doc,n=e.display,o=t.from,s=t.to,a=!1,l=o.line;e.options.lineWrapping||(l=Xe(Rt(Ve(i,o.line))),i.iter(l,s.line+1,(function(e){if(e==n.maxLine)return a=!0,!0}))),i.sel.contains(t.from,t.to)>-1&&me(e),zn(i,t,r,si(e)),e.options.lineWrapping||(i.iter(l,o.line+t.text.length,(function(e){var t=Wt(e);t>n.maxLineLength&&(n.maxLine=e,n.maxLineLength=t,n.maxLineChanged=!0,a=!1)})),a&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,i=t-1;i>r;i--){var n=Ve(e,i).stateAfter;if(n&&(!(n instanceof ut)||i+n.lookAhead<t)){r=i+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}}(i,o.line),rn(e,400);var u=t.text.length-(s.line-o.line)-1;t.full?ci(e):o.line!=s.line||1!=t.text.length||Tn(e.doc,t)?ci(e,o.line,s.line+1,u):di(e,o.line,"text");var c=be(e,"changes"),d=be(e,"change");if(d||c){var f={from:o,to:s,text:t.text,removed:t.removed,origin:t.origin};d&&ar(e,"change",e,f),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}(e.cm,t,i):zn(e,t,i),eo(e,r,j),e.cantEdit&&oo(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function go(e,t,r,i,n){var o;i||(i=r),tt(i,r)<0&&(r=(o=[i,r])[0],i=o[1]),"string"==typeof t&&(t=e.splitLines(t)),uo(e,{from:r,to:i,text:t,origin:n})}function mo(e,t,r,i){r<e.line?e.line+=i:t<e.line&&(e.line=t,e.ch=0)}function bo(e,t,r,i){for(var n=0;n<e.length;++n){var o=e[n],s=!0;if(o.ranges){o.copied||((o=e[n]=o.deepCopy()).copied=!0);for(var a=0;a<o.ranges.length;a++)mo(o.ranges[a].anchor,t,r,i),mo(o.ranges[a].head,t,r,i)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(r<u.from.line)u.from=et(u.from.line+i,u.from.ch),u.to=et(u.to.line+i,u.to.ch);else if(t<=u.to.line){s=!1;break}}s||(e.splice(0,n+1),n=0)}}}function vo(e,t){var r=t.from.line,i=t.to.line,n=t.text.length-(i-r)-1;bo(e.done,r,i,n),bo(e.undone,r,i,n)}function xo(e,t,r,i){var n=t,o=t;return"number"==typeof t?o=Ve(e,st(e,t)):n=Xe(t),null==n?null:(i(o,n)&&e.cm&&di(e.cm,n,r),o)}function yo(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height;this.height=t}function ko(e){this.children=e;for(var t=0,r=0,i=0;i<e.length;++i){var n=e[i];t+=n.chunkSize(),r+=n.height,n.parent=this}this.size=t,this.height=r,this.parent=null}Cn.prototype.from=function(){return ot(this.anchor,this.head)},Cn.prototype.to=function(){return nt(this.anchor,this.head)},Cn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},yo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,i=e+t;r<i;++r){var n=this.lines[r];this.height-=n.height,Gt(n),ar(n,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=this},iterN:function(e,t,r){for(var i=e+t;e<i;++e)if(r(this.lines[e]))return!0}},ko.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var i=this.children[r],n=i.chunkSize();if(e<n){var o=Math.min(t,n-e),s=i.height;if(i.removeInner(e,o),this.height-=s-i.height,n==o&&(this.children.splice(r--,1),i.parent=null),0==(t-=o))break;e=0}else e-=n}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof yo))){var a=[];this.collapse(a),this.children=[new yo(a)],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,r){this.size+=t.length,this.height+=r;for(var i=0;i<this.children.length;++i){var n=this.children[i],o=n.chunkSize();if(e<=o){if(n.insertInner(e,t,r),n.lines&&n.lines.length>50){for(var s=n.lines.length%25+25,a=s;a<n.lines.length;){var l=new yo(n.lines.slice(a,a+=25));n.height-=l.height,this.children.splice(++i,0,l),l.parent=this}n.lines=n.lines.slice(0,s),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new ko(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var r=P(e.parent.children,e);e.parent.children.splice(r+1,0,t)}else{var i=new ko(e.children);i.parent=e,e.children=[i,t],e=i}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var i=0;i<this.children.length;++i){var n=this.children[i],o=n.chunkSize();if(e<o){var s=Math.min(t,o-e);if(n.iterN(e,s,r))return!0;if(0==(t-=s))break;e=0}else e-=o}}};var wo=function(e,t,r){if(r)for(var i in r)r.hasOwnProperty(i)&&(this[i]=r[i]);this.doc=e,this.node=t};function Co(e,t,r){$t(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Fi(e,r)}wo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,i=Xe(r);if(null!=i&&t){for(var n=0;n<t.length;++n)t[n]==this&&t.splice(n--,1);t.length||(r.widgets=null);var o=yr(this);Ke(r,Math.max(0,r.height-o)),e&&(Qi(e,(function(){Co(e,r,-o),di(e,i,"widget")})),ar(e,"lineWidgetCleared",e,this,i))}},wo.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,i=this.line;this.height=null;var n=yr(this)-t;n&&(Ht(this.doc,i)||Ke(i,i.height+n),r&&Qi(r,(function(){r.curOp.forceUpdate=!0,Co(r,i,n),ar(r,"lineWidgetChanged",r,e,Xe(i))})))},ve(wo);var Do=0,_o=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Do};function So(e,t,r,i,n){if(i&&i.shared)return function(e,t,r,i,n){(i=O(i)).shared=!1;var o=[So(e,t,r,i,n)],s=o[0],a=i.widgetNode;return Bn(e,(function(e){a&&(i.widgetNode=a.cloneNode(!0)),o.push(So(e,at(e,t),at(e,r),i,n));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;s=Z(o)})),new Ao(o,s)}(e,t,r,i,n);if(e.cm&&!e.cm.curOp)return Ji(e.cm,So)(e,t,r,i,n);var o=new _o(e,n),s=tt(t,r);if(i&&O(i,o,!1),s>0||0==s&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=L("span",[o.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Ot(e,t.line,t,r,o)||t.line!=r.line&&Ot(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");wt=!0}o.addToHistory&&Pn(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var a,l=t.line,u=e.cm;if(e.iter(l,r.line+1,(function(i){u&&o.collapsed&&!u.options.lineWrapping&&Rt(i)==u.display.maxLine&&(a=!0),o.collapsed&&l!=t.line&&Ke(i,0),function(e,t,r){var i=r&&window.WeakSet&&(r.markedSpans||(r.markedSpans=new WeakSet));i&&e.markedSpans&&i.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],i&&i.add(e.markedSpans)),t.marker.attachLine(e)}(i,new Ct(o,l==t.line?t.ch:null,l==r.line?r.ch:null),e.cm&&e.cm.curOp),++l})),o.collapsed&&e.iter(t.line,r.line+1,(function(t){Ht(e,t)&&Ke(t,0)})),o.clearOnEnter&&de(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(kt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Do,o.atomic=!0),u){if(a&&(u.curOp.updateMaxLine=!0),o.collapsed)ci(u,t.line,r.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=r.line;c++)di(u,c,"text");o.atomic&&ro(u.doc),ar(u,"markerAdded",u,o)}return o}_o.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ui(e),be(this,"clear")){var r=this.find();r&&ar(this,"clear",r.from,r.to)}for(var i=null,n=null,o=0;o<this.lines.length;++o){var s=this.lines[o],a=Dt(s.markedSpans,this);e&&!this.collapsed?di(e,Xe(s),"text"):e&&(null!=a.to&&(n=Xe(s)),null!=a.from&&(i=Xe(s))),s.markedSpans=_t(s.markedSpans,a),null==a.from&&this.collapsed&&!Ht(this.doc,s)&&e&&Ke(s,ri(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var u=Rt(this.lines[l]),c=Wt(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&ci(e,i,n+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&ro(e.doc)),e&&ar(e,"markerCleared",e,this,i,n),t&&Vi(e),this.parent&&this.parent.clear()}},_o.prototype.find=function(e,t){var r,i;null==e&&"bookmark"==this.type&&(e=1);for(var n=0;n<this.lines.length;++n){var o=this.lines[n],s=Dt(o.markedSpans,this);if(null!=s.from&&(r=et(t?o:Xe(o),s.from),-1==e))return r;if(null!=s.to&&(i=et(t?o:Xe(o),s.to),1==e))return i}return r&&{from:r,to:i}},_o.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,i=this.doc.cm;t&&i&&Qi(i,(function(){var n=t.line,o=Xe(t.line),s=Lr(i,o);if(s&&(Or(s),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!Ht(r.doc,n)&&null!=r.height){var a=r.height;r.height=null;var l=yr(r)-a;l&&Ke(n,n.height+l)}ar(i,"markerChanged",i,e)}))},_o.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=P(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},_o.prototype.detachLine=function(e){if(this.lines.splice(P(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ve(_o);var Ao=function(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=this};function Eo(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),(function(e){return e.parent}))}function Fo(e){for(var t=function(t){var r=e[t],i=[r.primary.doc];Bn(r.primary.doc,(function(e){return i.push(e)}));for(var n=0;n<r.markers.length;n++){var o=r.markers[n];-1==P(i,o.doc)&&(o.parent=null,r.markers.splice(n--,1))}},r=0;r<e.length;r++)t(r)}Ao.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();ar(this,"clear")}},Ao.prototype.find=function(e,t){return this.primary.find(e,t)},ve(Ao);var Lo=0,Mo=function(e,t,r,i,n){if(!(this instanceof Mo))return new Mo(e,t,r,i,n);null==r&&(r=0),ko.call(this,[new yo([new Vt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var o=et(r,0);this.sel=_n(o),this.history=new On(null),this.id=++Lo,this.modeOption=t,this.lineSep=i,this.direction="rtl"==n?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),zn(this,{from:o,to:o,text:e}),Jn(this,_n(o),j)};Mo.prototype=Y(ko.prototype,{constructor:Mo,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,i=0;i<t.length;++i)r+=t[i].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ze(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:tn((function(e){var t=et(this.first,0),r=this.first+this.size-1;uo(this,{from:t,to:et(r,Ve(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Mi(this.cm,0,0),Jn(this,_n(t),j)})),replaceRange:function(e,t,r,i){go(this,e,t=at(this,t),r=r?at(this,r):t,i)},getRange:function(e,t,r){var i=Ge(this,at(this,e),at(this,t));return!1===r?i:""===r?i.join(""):i.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Qe(this,e))return Ve(this,e)},getLineNumber:function(e){return Xe(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ve(this,e)),Rt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return at(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:tn((function(e,t,r){Yn(this,at(this,"number"==typeof e?et(e,t||0):e),null,r)})),setSelection:tn((function(e,t,r){Yn(this,at(this,e),at(this,t||e),r)})),extendSelection:tn((function(e,t,r){Zn(this,at(this,e),t&&at(this,t),r)})),extendSelections:tn((function(e,t){Kn(this,lt(this,e),t)})),extendSelectionsBy:tn((function(e,t){Kn(this,lt(this,K(this.sel.ranges,e)),t)})),setSelections:tn((function(e,t,r){if(e.length){for(var i=[],n=0;n<e.length;n++)i[n]=new Cn(at(this,e[n].anchor),at(this,e[n].head||e[n].anchor));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Jn(this,Dn(this.cm,i,t),r)}})),addSelection:tn((function(e,t,r){var i=this.sel.ranges.slice(0);i.push(new Cn(at(this,e),at(this,t||e))),Jn(this,Dn(this.cm,i,i.length-1),r)})),getSelection:function(e){for(var t,r=this.sel.ranges,i=0;i<r.length;i++){var n=Ge(this,r[i].from(),r[i].to());t=t?t.concat(n):n}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,i=0;i<r.length;i++){var n=Ge(this,r[i].from(),r[i].to());!1!==e&&(n=n.join(e||this.lineSeparator())),t[i]=n}return t},replaceSelection:function(e,t,r){for(var i=[],n=0;n<this.sel.ranges.length;n++)i[n]=e;this.replaceSelections(i,t,r||"+input")},replaceSelections:tn((function(e,t,r){for(var i=[],n=this.sel,o=0;o<n.ranges.length;o++){var s=n.ranges[o];i[o]={from:s.from(),to:s.to(),text:this.splitLines(e[o]),origin:r}}for(var a=t&&"end"!=t&&function(e,t,r){for(var i=[],n=et(e.first,0),o=n,s=0;s<t.length;s++){var a=t[s],l=Fn(a.from,n,o),u=Fn(Sn(a),n,o);if(n=a.to,o=u,"around"==r){var c=e.sel.ranges[s],d=tt(c.head,c.anchor)<0;i[s]=new Cn(d?u:l,d?l:u)}else i[s]=new Cn(l,l)}return new wn(i,e.sel.primIndex)}(this,i,t),l=i.length-1;l>=0;l--)uo(this,i[l]);a?Qn(this,a):this.cm&&Li(this.cm)})),undo:tn((function(){fo(this,"undo")})),redo:tn((function(){fo(this,"redo")})),undoSelection:tn((function(){fo(this,"undo",!0)})),redoSelection:tn((function(){fo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(var n=0;n<e.undone.length;n++)e.undone[n].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){var e=this;this.history=new On(this.history),Bn(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:Vn(this.history.done),undone:Vn(this.history.undone)}},setHistory:function(e){var t=this.history=new On(this.history);t.done=Vn(e.done.slice(0),null,!0),t.undone=Vn(e.undone.slice(0),null,!0)},setGutterMarker:tn((function(e,t,r){return xo(this,e,"gutter",(function(e){var i=e.gutterMarkers||(e.gutterMarkers={});return i[t]=r,!r&&te(i)&&(e.gutterMarkers=null),!0}))})),clearGutter:tn((function(e){var t=this;this.iter((function(r){r.gutterMarkers&&r.gutterMarkers[e]&&xo(t,r,"gutter",(function(){return r.gutterMarkers[e]=null,te(r.gutterMarkers)&&(r.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!Qe(this,e))return null;if(t=e,!(e=Ve(this,e)))return null}else if(null==(t=Xe(e)))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:tn((function(e,t,r){return xo(this,e,"gutter"==t?"gutter":"class",(function(e){var i="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[i]){if(D(r).test(e[i]))return!1;e[i]+=" "+r}else e[i]=r;return!0}))})),removeLineClass:tn((function(e,t,r){return xo(this,e,"gutter"==t?"gutter":"class",(function(e){var i="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",n=e[i];if(!n)return!1;if(null==r)e[i]=null;else{var o=n.match(D(r));if(!o)return!1;var s=o.index+o[0].length;e[i]=n.slice(0,o.index)+(o.index&&s!=n.length?" ":"")+n.slice(s)||null}return!0}))})),addLineWidget:tn((function(e,t,r){return function(e,t,r,i){var n=new wo(e,r,i),o=e.cm;return o&&n.noHScroll&&(o.display.alignWidgets=!0),xo(e,t,"widget",(function(t){var r=t.widgets||(t.widgets=[]);if(null==n.insertAt?r.push(n):r.splice(Math.min(r.length,Math.max(0,n.insertAt)),0,n),n.line=t,o&&!Ht(e,t)){var i=$t(t)<e.scrollTop;Ke(t,t.height+yr(n)),i&&Fi(o,n.height),o.curOp.forceUpdate=!0}return!0})),o&&ar(o,"lineWidgetAdded",o,n,"number"==typeof t?t:Xe(t)),n}(this,e,t,r)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return So(this,at(this,e),at(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return So(this,e=at(this,e),e,r,"bookmark")},findMarksAt:function(e){var t=[],r=Ve(this,(e=at(this,e)).line).markedSpans;if(r)for(var i=0;i<r.length;++i){var n=r[i];(null==n.from||n.from<=e.ch)&&(null==n.to||n.to>=e.ch)&&t.push(n.marker.parent||n.marker)}return t},findMarks:function(e,t,r){e=at(this,e),t=at(this,t);var i=[],n=e.line;return this.iter(e.line,t.line+1,(function(o){var s=o.markedSpans;if(s)for(var a=0;a<s.length;a++){var l=s[a];null!=l.to&&n==e.line&&e.ch>=l.to||null==l.from&&n!=e.line||null!=l.from&&n==t.line&&l.from>=t.ch||r&&!r(l.marker)||i.push(l.marker.parent||l.marker)}++n})),i},getAllMarks:function(){var e=[];return this.iter((function(t){var r=t.markedSpans;if(r)for(var i=0;i<r.length;++i)null!=r[i].from&&e.push(r[i].marker)})),e},posFromIndex:function(e){var t,r=this.first,i=this.lineSeparator().length;return this.iter((function(n){var o=n.text.length+i;if(o>e)return t=e,!0;e-=o,++r})),at(this,et(r,t))},indexFromPos:function(e){var t=(e=at(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+r})),t},copy:function(e){var t=new Mo(Ze(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,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var i=new Mo(Ze(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:e.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var r=0;r<t.length;r++){var i=t[r],n=i.find(),o=e.clipPos(n.from),s=e.clipPos(n.to);if(tt(o,s)){var a=So(e,o,s,i.primary,i.primary.type);i.markers.push(a),a.parent=i}}}(i,Eo(this)),i},unlinkDoc:function(e){if(e instanceof As&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Fo(Eo(this));break}if(e.history==this.history){var r=[e.id];Bn(e,(function(e){return r.push(e.id)}),!0),e.history=new On(null),e.history.done=Vn(this.history.done,r),e.history.undone=Vn(this.history.undone,r)}},iterLinkedDocs:function(e){Bn(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Me(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:tn((function(e){var t;"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Qi(t=this.cm,(function(){In(t),ci(t)})))}))}),Mo.prototype.eachLine=Mo.prototype.iter;var To=0;function zo(e){var t=this;if(Bo(t),!ge(t,e)&&!kr(t.display,e)){xe(e),s&&(To=+new Date);var r=li(t,e,!0),i=e.dataTransfer.files;if(r&&!t.isReadOnly())if(i&&i.length&&window.FileReader&&window.File)for(var n=i.length,o=Array(n),a=0,l=function(){++a==n&&Ji(t,(function(){var e={from:r=at(t.doc,r),to:r,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};uo(t.doc,e),Qn(t.doc,_n(at(t.doc,r),at(t.doc,Sn(e))))}))()},u=function(e,r){if(t.options.allowDropFileTypes&&-1==P(t.options.allowDropFileTypes,e.type))l();else{var i=new FileReader;i.onerror=function(){return l()},i.onload=function(){var e=i.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[r]=e),l()},i.readAsText(e)}},c=0;c<i.length;c++)u(i[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var d=e.dataTransfer.getData("Text");if(d){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),eo(t.doc,_n(r,r)),f)for(var h=0;h<f.length;++h)go(t.doc,"",f[h].anchor,f[h].head,"drag");t.replaceSelection(d,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Bo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function No(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],i=0;i<t.length;i++){var n=t[i].CodeMirror;n&&r.push(n)}r.length&&r[0].operation((function(){for(var t=0;t<r.length;t++)e(r[t])}))}}var Io=!1;function Oo(){var e;Io||(de(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,No(Ro)}),100))})),de(window,"blur",(function(){return No(Di)})),Io=!0)}function Ro(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var qo={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"},Po=0;Po<10;Po++)qo[Po+48]=qo[Po+96]=String(Po);for(var Ho=65;Ho<=90;Ho++)qo[Ho]=String.fromCharCode(Ho);for(var jo=1;jo<=12;jo++)qo[jo+111]=qo[jo+63235]="F"+jo;var $o={};function Wo(e){var t,r,i,n,o=e.split(/-(?!$)/);e=o[o.length-1];for(var s=0;s<o.length-1;s++){var a=o[s];if(/^(cmd|meta|m)$/i.test(a))n=!0;else if(/^a(lt)?$/i.test(a))t=!0;else if(/^(c|ctrl|control)$/i.test(a))r=!0;else{if(!/^s(hift)?$/i.test(a))throw new Error("Unrecognized modifier name: "+a);i=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),n&&(e="Cmd-"+e),i&&(e="Shift-"+e),e}function Uo(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==i){delete e[r];continue}for(var n=K(r.split(" "),Wo),o=0;o<n.length;o++){var s=void 0,a=void 0;o==n.length-1?(a=n.join(" "),s=i):(a=n.slice(0,o+1).join(" "),s="...");var l=t[a];if(l){if(l!=s)throw new Error("Inconsistent bindings for "+a)}else t[a]=s}delete e[r]}for(var u in t)e[u]=t[u];return e}function Vo(e,t,r,i){var n=(t=Xo(t)).call?t.call(e,i):t[e];if(!1===n)return"nothing";if("..."===n)return"multi";if(null!=n&&r(n))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Vo(e,t.fallthrough,r,i);for(var o=0;o<t.fallthrough.length;o++){var s=Vo(e,t.fallthrough[o],r,i);if(s)return s}}}function Go(e){var t="string"==typeof e?e:qo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Zo(e,t,r){var i=e;return t.altKey&&"Alt"!=i&&(e="Alt-"+e),(w?t.metaKey:t.ctrlKey)&&"Ctrl"!=i&&(e="Ctrl-"+e),(w?t.ctrlKey:t.metaKey)&&"Mod"!=i&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=i&&(e="Shift-"+e),e}function Ko(e,t){if(d&&34==e.keyCode&&e.char)return!1;var r=qo[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),Zo(r,e,t))}function Xo(e){return"string"==typeof e?$o[e]:e}function Yo(e,t){for(var r=e.doc.sel.ranges,i=[],n=0;n<r.length;n++){for(var o=t(r[n]);i.length&&tt(o.from,Z(i).to)<=0;){var s=i.pop();if(tt(s.from,o.from)<0){o.from=s.from;break}}i.push(o)}Qi(e,(function(){for(var t=i.length-1;t>=0;t--)go(e.doc,"",i[t].from,i[t].to,"+delete");Li(e)}))}function Qo(e,t,r){var i=ne(e.text,t+r,r);return i<0||i>e.text.length?null:i}function Jo(e,t,r){var i=Qo(e,t.ch,r);return null==i?null:new et(t.line,i,r<0?"after":"before")}function es(e,t,r,i,n){if(e){"rtl"==t.doc.direction&&(n=-n);var o=ue(r,t.doc.direction);if(o){var s,a=n<0?Z(o):o[0],l=n<0==(1==a.level)?"after":"before";if(a.level>0||"rtl"==t.doc.direction){var u=Mr(t,r);s=n<0?r.text.length-1:0;var c=Tr(t,u,s).top;s=oe((function(e){return Tr(t,u,e).top==c}),n<0==(1==a.level)?a.from:a.to-1,s),"before"==l&&(s=Qo(r,s,1))}else s=n<0?a.to:a.from;return new et(i,s,l)}}return new et(i,n<0?r.text.length:0,n<0?"before":"after")}$o.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"},$o.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"},$o.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"},$o.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"]},$o.default=v?$o.macDefault:$o.pcDefault;var ts={selectAll:ao,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),j)},killLine:function(e){return Yo(e,(function(t){if(t.empty()){var r=Ve(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,r)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Yo(e,(function(t){return{from:et(t.from().line,0),to:at(e.doc,et(t.to().line+1,0))}}))},delLineLeft:function(e){return Yo(e,(function(e){return{from:et(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Yo(e,(function(t){var r=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:r},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return Yo(e,(function(t){var r=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:i}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return rs(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return is(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var r=Ve(e.doc,t),i=function(e){for(var t;t=Nt(e);)e=t.find(1,!0).line;return e}(r);return i!=r&&(t=Xe(i)),es(!0,e,r,t,-1)}(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")}),W)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div")}),W)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:r},"div");return i.ch<e.getLine(i.line).search(/\S/)?is(e,t.head):i}),W)},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("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),i=e.options.tabSize,n=0;n<r.length;n++){var o=r[n].from(),s=R(e.getLine(o.line),o.ch,i);t.push(G(i-s%i))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Qi(e,(function(){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++)if(t[i].empty()){var n=t[i].head,o=Ve(e.doc,n.line).text;if(o)if(n.ch==o.length&&(n=new et(n.line,n.ch-1)),n.ch>0)n=new et(n.line,n.ch+1),e.replaceRange(o.charAt(n.ch-1)+o.charAt(n.ch-2),et(n.line,n.ch-2),n,"+transpose");else if(n.line>e.doc.first){var s=Ve(e.doc,n.line-1).text;s&&(n=new et(n.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+s.charAt(s.length-1),et(n.line-1,s.length-1),n,"+transpose"))}r.push(new Cn(n,n))}e.setSelections(r)}))},newlineAndIndent:function(e){return Qi(e,(function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var i=0;i<t.length;i++)e.indentLine(t[i].from().line,null,!0);Li(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function rs(e,t){var r=Ve(e.doc,t),i=Rt(r);return i!=r&&(t=Xe(i)),es(!0,e,i,t,1)}function is(e,t){var r=rs(e,t.line),i=Ve(e.doc,r.line),n=ue(i,e.doc.direction);if(!n||0==n[0].level){var o=Math.max(r.ch,i.text.search(/\S/)),s=t.line==r.line&&t.ch<=o&&t.ch;return et(r.line,s?0:o,r.sticky)}return r}function ns(e,t,r){if("string"==typeof t&&!(t=ts[t]))return!1;e.display.input.ensurePolled();var i=e.display.shift,n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),n=t(e)!=H}finally{e.display.shift=i,e.state.suppressEdits=!1}return n}var os=new q;function ss(e,t,r,i){var n=e.state.keySeq;if(n){if(Go(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:os.set(50,(function(){e.state.keySeq==n&&(e.state.keySeq=null,e.display.input.reset())})),as(e,n+" "+t,r,i))return!0}return as(e,t,r,i)}function as(e,t,r,i){var n=function(e,t,r){for(var i=0;i<e.state.keyMaps.length;i++){var n=Vo(t,e.state.keyMaps[i],r,e);if(n)return n}return e.options.extraKeys&&Vo(t,e.options.extraKeys,r,e)||Vo(t,e.options.keyMap,r,e)}(e,t,i);return"multi"==n&&(e.state.keySeq=t),"handled"==n&&ar(e,"keyHandled",e,t,r),"handled"!=n&&"multi"!=n||(xe(r),yi(e)),!!n}function ls(e,t){var r=Ko(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?ss(e,"Shift-"+r,t,(function(t){return ns(e,t,!0)}))||ss(e,r,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return ns(e,t)})):ss(e,r,t,(function(t){return ns(e,t)})))}var us=null;function cs(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=T(),ge(t,e)))){s&&a<11&&27==e.keyCode&&(e.returnValue=!1);var i=e.keyCode;t.display.shift=16==i||e.shiftKey;var n=ls(t,e);d&&(us=n?i:null,n||88!=i||ze||!(v?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),r&&!v&&!n&&46==i&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=i||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(S(t,"CodeMirror-crosshair"),he(document,"keyup",r),he(document,"mouseover",r))}z(t,"CodeMirror-crosshair"),de(document,"keyup",r),de(document,"mouseover",r)}(t)}}function ds(e){16==e.keyCode&&(this.doc.sel.shift=!1),ge(this,e)}function fs(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||kr(t.display,e)||ge(t,e)||e.ctrlKey&&!e.altKey||v&&e.metaKey)){var r=e.keyCode,i=e.charCode;if(d&&r==us)return us=null,void xe(e);if(!d||e.which&&!(e.which<10)||!ls(t,e)){var n=String.fromCharCode(null==i?r:i);"\b"!=n&&(function(e,t,r){return ss(e,"'"+r+"'",t,(function(t){return ns(e,t,!0)}))}(t,e,n)||t.display.input.onKeyPress(e))}}}var hs,ps,gs=function(e,t,r){this.time=e,this.pos=t,this.button=r};function ms(e){var t=this,r=t.display;if(!(ge(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,kr(r,e))l||(r.scroller.draggable=!1,setTimeout((function(){return r.scroller.draggable=!0}),100));else if(!xs(t,e)){var i=li(t,e),n=De(e),o=i?function(e,t){var r=+new Date;return ps&&ps.compare(r,e,t)?(hs=ps=null,"triple"):hs&&hs.compare(r,e,t)?(ps=new gs(r,e,t),hs=null,"double"):(hs=new gs(r,e,t),ps=null,"single")}(i,n):"single";window.focus(),1==n&&t.state.selectingText&&t.state.selectingText(e),i&&function(e,t,r,i,n){var o="Click";return"double"==i?o="Double"+o:"triple"==i&&(o="Triple"+o),ss(e,Zo(o=(1==t?"Left":2==t?"Middle":"Right")+o,n),n,(function(t){if("string"==typeof t&&(t=ts[t]),!t)return!1;var i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i=t(e,r)!=H}finally{e.state.suppressEdits=!1}return i}))}(t,n,i,o,e)||(1==n?i?function(e,t,r,i){s?setTimeout(I(ki,e),0):e.curOp.focus=T();var n,o=function(e,t,r){var i=e.getOption("configureMouse"),n=i?i(e,t,r):{};if(null==n.unit){var o=x?r.shiftKey&&r.metaKey:r.altKey;n.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==n.extend||e.doc.extend)&&(n.extend=e.doc.extend||r.shiftKey),null==n.addNew&&(n.addNew=v?r.metaKey:r.ctrlKey),null==n.moveOnDrag&&(n.moveOnDrag=!(v?r.altKey:r.ctrlKey)),n}(e,r,i),u=e.doc.sel;e.options.dragDrop&&Ae&&!e.isReadOnly()&&"single"==r&&(n=u.contains(t))>-1&&(tt((n=u.ranges[n]).from(),t)<0||t.xRel>0)&&(tt(n.to(),t)>0||t.xRel<0)?function(e,t,r,i){var n=e.display,o=!1,u=Ji(e,(function(t){l&&(n.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:wi(e)),he(n.wrapper.ownerDocument,"mouseup",u),he(n.wrapper.ownerDocument,"mousemove",c),he(n.scroller,"dragstart",d),he(n.scroller,"drop",u),o||(xe(t),i.addNew||Zn(e.doc,r,null,null,i.extend),l&&!f||s&&9==a?setTimeout((function(){n.wrapper.ownerDocument.body.focus({preventScroll:!0}),n.input.focus()}),20):n.input.focus())})),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(n.scroller.draggable=!0),e.state.draggingText=u,u.copy=!i.moveOnDrag,de(n.wrapper.ownerDocument,"mouseup",u),de(n.wrapper.ownerDocument,"mousemove",c),de(n.scroller,"dragstart",d),de(n.scroller,"drop",u),e.state.delayingBlurEvent=!0,setTimeout((function(){return n.input.focus()}),20),n.scroller.dragDrop&&n.scroller.dragDrop()}(e,i,t,o):function(e,t,r,i){s&&wi(e);var n=e.display,o=e.doc;xe(t);var a,l,u=o.sel,c=u.ranges;if(i.addNew&&!i.extend?(l=o.sel.contains(r),a=l>-1?c[l]:new Cn(r,r)):(a=o.sel.primary(),l=o.sel.primIndex),"rectangle"==i.unit)i.addNew||(a=new Cn(r,r)),r=li(e,t,!0,!0),l=-1;else{var d=bs(e,r,i.unit);a=i.extend?Gn(a,d.anchor,d.head,i.extend):d}i.addNew?-1==l?(l=c.length,Jn(o,Dn(e,c.concat([a]),l),{scroll:!1,origin:"*mouse"})):c.length>1&&c[l].empty()&&"char"==i.unit&&!i.extend?(Jn(o,Dn(e,c.slice(0,l).concat(c.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),u=o.sel):Xn(o,l,a,$):(l=0,Jn(o,new wn([a],0),$),u=o.sel);var f=r;function h(t){if(0!=tt(f,t))if(f=t,"rectangle"==i.unit){for(var n=[],s=e.options.tabSize,c=R(Ve(o,r.line).text,r.ch,s),d=R(Ve(o,t.line).text,t.ch,s),h=Math.min(c,d),p=Math.max(c,d),g=Math.min(r.line,t.line),m=Math.min(e.lastLine(),Math.max(r.line,t.line));g<=m;g++){var b=Ve(o,g).text,v=U(b,h,s);h==p?n.push(new Cn(et(g,v),et(g,v))):b.length>v&&n.push(new Cn(et(g,v),et(g,U(b,p,s))))}n.length||n.push(new Cn(r,r)),Jn(o,Dn(e,u.ranges.slice(0,l).concat(n),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x,y=a,k=bs(e,t,i.unit),w=y.anchor;tt(k.anchor,w)>0?(x=k.head,w=ot(y.from(),k.anchor)):(x=k.anchor,w=nt(y.to(),k.head));var C=u.ranges.slice(0);C[l]=function(e,t){var r=t.anchor,i=t.head,n=Ve(e.doc,r.line);if(0==tt(r,i)&&r.sticky==i.sticky)return t;var o=ue(n);if(!o)return t;var s=ae(o,r.ch,r.sticky),a=o[s];if(a.from!=r.ch&&a.to!=r.ch)return t;var l,u=s+(a.from==r.ch==(1!=a.level)?0:1);if(0==u||u==o.length)return t;if(i.line!=r.line)l=(i.line-r.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=ae(o,i.ch,i.sticky),d=c-s||(i.ch-r.ch)*(1==a.level?-1:1);l=c==u-1||c==u?d<0:d>0}var f=o[u+(l?-1:0)],h=l==(1==f.level),p=h?f.from:f.to,g=h?"after":"before";return r.ch==p&&r.sticky==g?t:new Cn(new et(r.line,p,g),i)}(e,new Cn(at(o,w),x)),Jn(o,Dn(e,C,l),$)}}var p=n.wrapper.getBoundingClientRect(),g=0;function m(t){var r=++g,s=li(e,t,!0,"rectangle"==i.unit);if(s)if(0!=tt(s,f)){e.curOp.focus=T(),h(s);var a=Ai(n,o);(s.line>=a.to||s.line<a.from)&&setTimeout(Ji(e,(function(){g==r&&m(t)})),150)}else{var l=t.clientY<p.top?-20:t.clientY>p.bottom?20:0;l&&setTimeout(Ji(e,(function(){g==r&&(n.scroller.scrollTop+=l,m(t))})),50)}}function b(t){e.state.selectingText=!1,g=1/0,t&&(xe(t),n.input.focus()),he(n.wrapper.ownerDocument,"mousemove",v),he(n.wrapper.ownerDocument,"mouseup",x),o.history.lastSelOrigin=null}var v=Ji(e,(function(e){0!==e.buttons&&De(e)?m(e):b(e)})),x=Ji(e,b);e.state.selectingText=x,de(n.wrapper.ownerDocument,"mousemove",v),de(n.wrapper.ownerDocument,"mouseup",x)}(e,i,t,o)}(t,i,o,e):Ce(e)==r.scroller&&xe(e):2==n?(i&&Zn(t.doc,i),setTimeout((function(){return r.input.focus()}),20)):3==n&&(C?t.display.input.onContextMenu(e):wi(t)))}}function bs(e,t,r){if("char"==r)return new Cn(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new Cn(et(t.line,0),at(e.doc,et(t.line+1,0)));var i=r(e,t);return new Cn(i.from,i.to)}function vs(e,t,r,i){var n,o;if(t.touches)n=t.touches[0].clientX,o=t.touches[0].clientY;else try{n=t.clientX,o=t.clientY}catch(e){return!1}if(n>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&xe(t);var s=e.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!be(e,r))return ke(t);o-=a.top-s.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var u=s.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=n)return pe(e,r,e,Ye(e.doc,o),e.display.gutterSpecs[l].className,t),ke(t)}}function xs(e,t){return vs(e,t,"gutterClick",!0)}function ys(e,t){kr(e.display,t)||function(e,t){return!!be(e,"gutterContextMenu")&&vs(e,t,"gutterContextMenu",!1)}(e,t)||ge(e,t,"contextmenu")||C||e.display.input.onContextMenu(t)}function ks(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),qr(e)}gs.prototype.compare=function(e,t,r){return this.time+400>e&&0==tt(t,this.pos)&&r==this.button};var ws={toString:function(){return"CodeMirror.Init"}},Cs={},Ds={};function _s(e,t,r){if(!t!=!(r&&r!=ws)){var i=e.display.dragFunctions,n=t?de:he;n(e.display.scroller,"dragstart",i.start),n(e.display.scroller,"dragenter",i.enter),n(e.display.scroller,"dragover",i.over),n(e.display.scroller,"dragleave",i.leave),n(e.display.scroller,"drop",i.drop)}}function Ss(e){e.options.lineWrapping?(z(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(S(e.display.wrapper,"CodeMirror-wrap"),Ut(e)),ai(e),ci(e),qr(e),setTimeout((function(){return Pi(e)}),100)}function As(e,t){var r=this;if(!(this instanceof As))return new As(e,t);this.options=t=t?O(t):{},O(Cs,t,!1);var i=t.value;"string"==typeof i?i=new Mo(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var n=new As.inputStyles[t.inputStyle](this),o=this.display=new mn(e,i,n,t);for(var u in o.wrapper.CodeMirror=this,ks(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),$i(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 q,keySeq:null,specialChars:null},t.autofocus&&!b&&o.input.focus(),s&&a<11&&setTimeout((function(){return r.display.input.reset(!0)}),20),function(e){var t=e.display;de(t.scroller,"mousedown",Ji(e,ms)),de(t.scroller,"dblclick",s&&a<11?Ji(e,(function(t){if(!ge(e,t)){var r=li(e,t);if(r&&!xs(e,t)&&!kr(e.display,t)){xe(t);var i=e.findWordAt(r);Zn(e.doc,i.anchor,i.head)}}})):function(t){return ge(e,t)||xe(t)}),de(t.scroller,"contextmenu",(function(t){return ys(e,t)})),de(t.input.getField(),"contextmenu",(function(r){t.scroller.contains(r.target)||ys(e,r)}));var r,i={end:0};function n(){t.activeTouch&&(r=setTimeout((function(){return t.activeTouch=null}),1e3),(i=t.activeTouch).end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var r=t.left-e.left,i=t.top-e.top;return r*r+i*i>400}de(t.scroller,"touchstart",(function(n){if(!ge(e,n)&&!o(n)&&!xs(e,n)){t.input.ensurePolled(),clearTimeout(r);var s=+new Date;t.activeTouch={start:s,moved:!1,prev:s-i.end<=300?i:null},1==n.touches.length&&(t.activeTouch.left=n.touches[0].pageX,t.activeTouch.top=n.touches[0].pageY)}})),de(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),de(t.scroller,"touchend",(function(r){var i=t.activeTouch;if(i&&!kr(t,r)&&null!=i.left&&!i.moved&&new Date-i.start<300){var o,s=e.coordsChar(t.activeTouch,"page");o=!i.prev||l(i,i.prev)?new Cn(s,s):!i.prev.prev||l(i,i.prev.prev)?e.findWordAt(s):new Cn(et(s.line,0),at(e.doc,et(s.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),xe(r)}n()})),de(t.scroller,"touchcancel",n),de(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Bi(e,t.scroller.scrollTop),Ii(e,t.scroller.scrollLeft,!0),pe(e,"scroll",e))})),de(t.scroller,"mousewheel",(function(t){return kn(e,t)})),de(t.scroller,"DOMMouseScroll",(function(t){return kn(e,t)})),de(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ge(e,t)||we(t)},over:function(t){ge(e,t)||(function(e,t){var r=li(e,t);if(r){var i=document.createDocumentFragment();bi(e,r,i),e.display.dragCursor||(e.display.dragCursor=F("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),E(e.display.dragCursor,i)}}(e,t),we(t))},start:function(t){return function(e,t){if(s&&(!e.state.draggingText||+new Date-To<100))we(t);else if(!ge(e,t)&&!kr(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var r=F("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),d&&r.parentNode.removeChild(r)}}(e,t)},drop:Ji(e,zo),leave:function(t){ge(e,t)||Bo(e)}};var u=t.input.getField();de(u,"keyup",(function(t){return ds.call(e,t)})),de(u,"keydown",Ji(e,cs)),de(u,"keypress",Ji(e,fs)),de(u,"focus",(function(t){return Ci(e,t)})),de(u,"blur",(function(t){return Di(e,t)}))}(this),Oo(),Ui(this),this.curOp.forceUpdate=!0,Nn(this,i),t.autofocus&&!b||this.hasFocus()?setTimeout((function(){r.hasFocus()&&!r.state.focused&&Ci(r)}),20):Di(this),Ds)Ds.hasOwnProperty(u)&&Ds[u](this,t[u],ws);fn(this),t.finishInit&&t.finishInit(this);for(var c=0;c<Es.length;++c)Es[c](this);Vi(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}As.defaults=Cs,As.optionHandlers=Ds;var Es=[];function Fs(e,t,r,i){var n,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?n=ht(e,t).state:r="prev");var s=e.options.tabSize,a=Ve(o,t),l=R(a.text,null,s);a.stateAfter&&(a.stateAfter=null);var u,c=a.text.match(/^\s*/)[0];if(i||/\S/.test(a.text)){if("smart"==r&&((u=o.mode.indent(n,a.text.slice(c.length),a.text))==H||u>150)){if(!i)return;r="prev"}}else u=0,r="not";"prev"==r?u=t>o.first?R(Ve(o,t-1).text,null,s):0:"add"==r?u=l+e.options.indentUnit:"subtract"==r?u=l-e.options.indentUnit:"number"==typeof r&&(u=l+r),u=Math.max(0,u);var d="",f=0;if(e.options.indentWithTabs)for(var h=Math.floor(u/s);h;--h)f+=s,d+="\t";if(f<u&&(d+=G(u-f)),d!=c)return go(o,d,et(t,0),et(t,c.length),"+input"),a.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var g=o.sel.ranges[p];if(g.head.line==t&&g.head.ch<c.length){var m=et(t,c.length);Xn(o,p,new Cn(m,m));break}}}As.defineInitHook=function(e){return Es.push(e)};var Ls=null;function Ms(e){Ls=e}function Ts(e,t,r,i,n){var o=e.doc;e.display.shift=!1,i||(i=o.sel);var s=+new Date-200,a="paste"==n||e.state.pasteIncoming>s,l=Me(t),u=null;if(a&&i.ranges.length>1)if(Ls&&Ls.text.join("\n")==t){if(i.ranges.length%Ls.text.length==0){u=[];for(var c=0;c<Ls.text.length;c++)u.push(o.splitLines(Ls.text[c]))}}else l.length==i.ranges.length&&e.options.pasteLinesPerSelection&&(u=K(l,(function(e){return[e]})));for(var d=e.curOp.updateInput,f=i.ranges.length-1;f>=0;f--){var h=i.ranges[f],p=h.from(),g=h.to();h.empty()&&(r&&r>0?p=et(p.line,p.ch-r):e.state.overwrite&&!a?g=et(g.line,Math.min(Ve(o,g.line).text.length,g.ch+Z(l).length)):a&&Ls&&Ls.lineWise&&Ls.text.join("\n")==l.join("\n")&&(p=g=et(p.line,0)));var m={from:p,to:g,text:u?u[f%u.length]:l,origin:n||(a?"paste":e.state.cutIncoming>s?"cut":"+input")};uo(e.doc,m),ar(e,"inputRead",e,m)}t&&!a&&Bs(e,t),Li(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function zs(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Qi(t,(function(){return Ts(t,r,0,null,"paste")})),!0}function Bs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,i=r.ranges.length-1;i>=0;i--){var n=r.ranges[i];if(!(n.head.ch>100||i&&r.ranges[i-1].head.line==n.head.line)){var o=e.getModeAt(n.head),s=!1;if(o.electricChars){for(var a=0;a<o.electricChars.length;a++)if(t.indexOf(o.electricChars.charAt(a))>-1){s=Fs(e,n.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ve(e.doc,n.head.line).text.slice(0,n.head.ch))&&(s=Fs(e,n.head.line,"smart"));s&&ar(e,"electricInput",e,n.head.line)}}}function Ns(e){for(var t=[],r=[],i=0;i<e.doc.sel.ranges.length;i++){var n=e.doc.sel.ranges[i].head.line,o={anchor:et(n,0),head:et(n+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function Is(e,t,r,i){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",i?"":"off"),e.setAttribute("spellcheck",!!t)}function Os(){var e=F("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=F("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),Is(e),t}function Rs(e,t,r,i,n){var o=t,s=r,a=Ve(e,t.line),l=n&&"rtl"==e.direction?-r:r;function u(o){var s,u;if("codepoint"==i){var c=a.text.charCodeAt(t.ch+(r>0?0:-1));if(isNaN(c))s=null;else{var d=r>0?c>=55296&&c<56320:c>=56320&&c<57343;s=new et(t.line,Math.max(0,Math.min(a.text.length,t.ch+r*(d?2:1))),-r)}}else s=n?function(e,t,r,i){var n=ue(t,e.doc.direction);if(!n)return Jo(t,r,i);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var o=ae(n,r.ch,r.sticky),s=n[o];if("ltr"==e.doc.direction&&s.level%2==0&&(i>0?s.to>r.ch:s.from<r.ch))return Jo(t,r,i);var a,l=function(e,r){return Qo(t,e instanceof et?e.ch:e,r)},u=function(r){return e.options.lineWrapping?(a=a||Mr(e,t),Yr(e,t,a,r)):{begin:0,end:t.text.length}},c=u("before"==r.sticky?l(r,-1):r.ch);if("rtl"==e.doc.direction||1==s.level){var d=1==s.level==i<0,f=l(r,d?1:-1);if(null!=f&&(d?f<=s.to&&f<=c.end:f>=s.from&&f>=c.begin)){var h=d?"before":"after";return new et(r.line,f,h)}}var p=function(e,t,i){for(var o=function(e,t){return t?new et(r.line,l(e,1),"before"):new et(r.line,e,"after")};e>=0&&e<n.length;e+=t){var s=n[e],a=t>0==(1!=s.level),u=a?i.begin:l(i.end,-1);if(s.from<=u&&u<s.to)return o(u,a);if(u=a?s.from:l(s.to,-1),i.begin<=u&&u<i.end)return o(u,a)}},g=p(o+i,i,c);if(g)return g;var m=i>0?c.end:l(c.begin,-1);return null==m||i>0&&m==t.text.length||!(g=p(i>0?0:n.length-1,i,u(m)))?null:g}(e.cm,a,t,r):Jo(a,t,r);if(null==s){if(o||((u=t.line+l)<e.first||u>=e.first+e.size||(t=new et(u,t.ch,t.sticky),!(a=Ve(e,u)))))return!1;t=es(n,e.cm,a,t.line,l)}else t=s;return!0}if("char"==i||"codepoint"==i)u();else if("column"==i)u(!0);else if("word"==i||"group"==i)for(var c=null,d="group"==i,f=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;!(r<0)||u(!h);h=!1){var p=a.text.charAt(t.ch)||"\n",g=ee(p,f)?"w":d&&"\n"==p?"n":!d||/\s/.test(p)?null:"p";if(!d||h||g||(g="s"),c&&c!=g){r<0&&(r=1,u(),t.sticky="after");break}if(g&&(c=g),r>0&&!u(!h))break}var m=oo(e,t,o,s,!0);return rt(o,m)&&(m.hitSide=!0),m}function qs(e,t,r,i){var n,o,s=e.doc,a=t.left;if("page"==i){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*ri(e.display),3);n=(r>0?t.bottom:t.top)+r*u}else"line"==i&&(n=r>0?t.bottom+3:t.top-3);for(;(o=Kr(e,a,n)).outside;){if(r<0?n<=0:n>=s.height){o.hitSide=!0;break}n+=5*r}return o}var Ps=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new q,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Hs(e,t){var r=Lr(e,t.line);if(!r||r.hidden)return null;var i=Ve(e.doc,t.line),n=Er(r,i,t.line),o=ue(i,e.doc.direction),s="left";o&&(s=ae(o,t.ch)%2?"right":"left");var a=Nr(n.map,t.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function js(e,t){return t&&(e.bad=!0),e}function $s(e,t,r){var i;if(t==e.display.lineDiv){if(!(i=e.display.lineDiv.childNodes[r]))return js(e.clipPos(et(e.display.viewTo-1)),!0);t=null,r=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var n=0;n<e.display.view.length;n++){var o=e.display.view[n];if(o.node==i)return Ws(o,t,r)}}function Ws(e,t,r){var i=e.text.firstChild,n=!1;if(!t||!M(i,t))return js(et(Xe(e.line),0),!0);if(t==i&&(n=!0,t=i.childNodes[r],r=0,!t)){var o=e.rest?Z(e.rest):e.line;return js(et(Xe(o),o.text.length),n)}var s=3==t.nodeType?t:null,a=t;for(s||1!=t.childNodes.length||3!=t.firstChild.nodeType||(s=t.firstChild,r&&(r=s.nodeValue.length));a.parentNode!=i;)a=a.parentNode;var l=e.measure,u=l.maps;function c(t,r,i){for(var n=-1;n<(u?u.length:0);n++)for(var o=n<0?l.map:u[n],s=0;s<o.length;s+=3){var a=o[s+2];if(a==t||a==r){var c=Xe(n<0?e.line:e.rest[n]),d=o[s]+i;return(i<0||a!=t)&&(d=o[s+(i?1:0)]),et(c,d)}}}var d=c(s,a,r);if(d)return js(d,n);for(var f=a.nextSibling,h=s?s.nodeValue.length-r:0;f;f=f.nextSibling){if(d=c(f,f.firstChild,0))return js(et(d.line,d.ch-h),n);h+=f.textContent.length}for(var p=a.previousSibling,g=r;p;p=p.previousSibling){if(d=c(p,p.firstChild,-1))return js(et(d.line,d.ch+g),n);g+=p.textContent.length}}Ps.prototype.init=function(e){var t=this,r=this,i=r.cm,n=r.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==n)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function s(e){if(o(e)&&!ge(i,e)){if(i.somethingSelected())Ms({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=Ns(i);Ms({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation((function(){i.setSelections(t.ranges,0,j),i.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var s=Ls.text.join("\n");if(e.clipboardData.setData("Text",s),e.clipboardData.getData("Text")==s)return void e.preventDefault()}var a=Os(),l=a.firstChild;i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild),l.value=Ls.text.join("\n");var u=T();N(l),setTimeout((function(){i.display.lineSpace.removeChild(a),u.focus(),u==n&&r.showPrimarySelection()}),50)}}n.contentEditable=!0,Is(n,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize),de(n,"paste",(function(e){!o(e)||ge(i,e)||zs(e,i)||a<=11&&setTimeout(Ji(i,(function(){return t.updateFromDOM()})),20)})),de(n,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),de(n,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),de(n,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),de(n,"touchstart",(function(){return r.forceCompositionEnd()})),de(n,"input",(function(){t.composing||t.readFromDOMSoon()})),de(n,"copy",s),de(n,"cut",s)},Ps.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ps.prototype.prepareSelection=function(){var e=mi(this.cm,!1);return e.focus=T()==this.div,e},Ps.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ps.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ps.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,i=t.doc.sel.primary(),n=i.from(),o=i.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var s=$s(t,e.anchorNode,e.anchorOffset),a=$s(t,e.focusNode,e.focusOffset);if(!s||s.bad||!a||a.bad||0!=tt(ot(s,a),n)||0!=tt(nt(s,a),o)){var l=t.display.view,u=n.line>=t.display.viewFrom&&Hs(t,n)||{node:l[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&Hs(t,o);if(!c){var d=l[l.length-1].measure,f=d.maps?d.maps[d.maps.length-1]:d.map;c={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(u&&c){var h,p=e.rangeCount&&e.getRangeAt(0);try{h=_(u.node,u.offset,c.offset,c.node)}catch(e){}h&&(!r&&t.state.focused?(e.collapse(u.node,u.offset),h.collapsed||(e.removeAllRanges(),e.addRange(h))):(e.removeAllRanges(),e.addRange(h)),p&&null==e.anchorNode?e.addRange(p):r&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ps.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)},Ps.prototype.showMultipleSelections=function(e){E(this.cm.display.cursorDiv,e.cursors),E(this.cm.display.selectionDiv,e.selection)},Ps.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ps.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return M(this.div,t)},Ps.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&T()==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ps.prototype.blur=function(){this.div.blur()},Ps.prototype.getField=function(){return this.div},Ps.prototype.supportsTouch=function(){return!0},Ps.prototype.receivedFocus=function(){var e=this,t=this;this.selectionInEditor()?setTimeout((function(){return e.pollSelection()}),20):Qi(this.cm,(function(){return t.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}))},Ps.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ps.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(m&&c&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=$s(t,e.anchorNode,e.anchorOffset),i=$s(t,e.focusNode,e.focusOffset);r&&i&&Qi(t,(function(){Jn(t.doc,_n(r,i),j),(r.bad||i.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ps.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,i=this.cm,n=i.display,o=i.doc.sel.primary(),s=o.from(),a=o.to();if(0==s.ch&&s.line>i.firstLine()&&(s=et(s.line-1,Ve(i.doc,s.line-1).length)),a.ch==Ve(i.doc,a.line).text.length&&a.line<i.lastLine()&&(a=et(a.line+1,0)),s.line<n.viewFrom||a.line>n.viewTo-1)return!1;s.line==n.viewFrom||0==(e=ui(i,s.line))?(t=Xe(n.view[0].line),r=n.view[0].node):(t=Xe(n.view[e].line),r=n.view[e-1].node.nextSibling);var l,u,c=ui(i,a.line);if(c==n.view.length-1?(l=n.viewTo-1,u=n.lineDiv.lastChild):(l=Xe(n.view[c+1].line)-1,u=n.view[c+1].node.previousSibling),!r)return!1;for(var d=i.doc.splitLines(function(e,t,r,i,n){var o="",s=!1,a=e.doc.lineSeparator(),l=!1;function u(){s&&(o+=a,l&&(o+=a),s=l=!1)}function c(e){e&&(u(),o+=e)}function d(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(r)return void c(r);var o,f=t.getAttribute("cm-marker");if(f){var h=e.findMarks(et(i,0),et(n+1,0),(m=+f,function(e){return e.id==m}));return void(h.length&&(o=h[0].find(0))&&c(Ge(e.doc,o.from,o.to).join(a)))}if("false"==t.getAttribute("contenteditable"))return;var p=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;p&&u();for(var g=0;g<t.childNodes.length;g++)d(t.childNodes[g]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),p&&(s=!0)}else 3==t.nodeType&&c(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var m}for(;d(t),t!=r;)t=t.nextSibling,l=!1;return o}(i,r,u,t,l)),f=Ge(i.doc,et(t,0),et(l,Ve(i.doc,l).text.length));d.length>1&&f.length>1;)if(Z(d)==Z(f))d.pop(),f.pop(),l--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),t++}for(var h=0,p=0,g=d[0],m=f[0],b=Math.min(g.length,m.length);h<b&&g.charCodeAt(h)==m.charCodeAt(h);)++h;for(var v=Z(d),x=Z(f),y=Math.min(v.length-(1==d.length?h:0),x.length-(1==f.length?h:0));p<y&&v.charCodeAt(v.length-p-1)==x.charCodeAt(x.length-p-1);)++p;if(1==d.length&&1==f.length&&t==s.line)for(;h&&h>s.ch&&v.charCodeAt(v.length-p-1)==x.charCodeAt(x.length-p-1);)h--,p++;d[d.length-1]=v.slice(0,v.length-p).replace(/^\u200b+/,""),d[0]=d[0].slice(h).replace(/\u200b+$/,"");var k=et(t,h),w=et(l,f.length?Z(f).length-p:0);return d.length>1||d[0]||tt(k,w)?(go(i.doc,d,k,w,"+input"),!0):void 0},Ps.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ps.prototype.reset=function(){this.forceCompositionEnd()},Ps.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ps.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ps.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Qi(this.cm,(function(){return ci(e.cm)}))},Ps.prototype.setUneditable=function(e){e.contentEditable="false"},Ps.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ji(this.cm,Ts)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ps.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ps.prototype.onContextMenu=function(){},Ps.prototype.resetPosition=function(){},Ps.prototype.needsContentAttribute=!0;var Us=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new q,this.hasSelection=!1,this.composing=null};Us.prototype.init=function(e){var t=this,r=this,i=this.cm;this.createField(e);var n=this.textarea;function o(e){if(!ge(i,e)){if(i.somethingSelected())Ms({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=Ns(i);Ms({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,j):(r.prevInput="",n.value=t.text.join("\n"),N(n))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(n.style.width="0px"),de(n,"input",(function(){s&&a>=9&&t.hasSelection&&(t.hasSelection=null),r.poll()})),de(n,"paste",(function(e){ge(i,e)||zs(e,i)||(i.state.pasteIncoming=+new Date,r.fastPoll())})),de(n,"cut",o),de(n,"copy",o),de(e.scroller,"paste",(function(t){if(!kr(e,t)&&!ge(i,t)){if(!n.dispatchEvent)return i.state.pasteIncoming=+new Date,void r.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,n.dispatchEvent(o)}})),de(e.lineSpace,"selectstart",(function(t){kr(e,t)||xe(t)})),de(n,"compositionstart",(function(){var e=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}})),de(n,"compositionend",(function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)}))},Us.prototype.createField=function(e){this.wrapper=Os(),this.textarea=this.wrapper.firstChild},Us.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Us.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,i=mi(e);if(e.options.moveInputWithCursor){var n=Vr(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),s=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,n.top+s.top-o.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,n.left+s.left-o.left))}return i},Us.prototype.showSelection=function(e){var t=this.cm.display;E(t.cursorDiv,e.cursors),E(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Us.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&N(this.textarea),s&&a>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",s&&a>=9&&(this.hasSelection=null))}},Us.prototype.getField=function(){return this.textarea},Us.prototype.supportsTouch=function(){return!1},Us.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!b||T()!=this.textarea))try{this.textarea.focus()}catch(e){}},Us.prototype.blur=function(){this.textarea.blur()},Us.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Us.prototype.receivedFocus=function(){this.slowPoll()},Us.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Us.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function r(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r))}))},Us.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||Te(r)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var n=r.value;if(n==i&&!t.somethingSelected())return!1;if(s&&a>=9&&this.hasSelection===n||v&&/[\uf700-\uf7ff]/.test(n))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=n.charCodeAt(0);if(8203!=o||i||(i=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,u=Math.min(i.length,n.length);l<u&&i.charCodeAt(l)==n.charCodeAt(l);)++l;return Qi(t,(function(){Ts(t,n.slice(l),i.length-l,null,e.composing?"*compose":null),n.length>1e3||n.indexOf("\n")>-1?r.value=e.prevInput="":e.prevInput=n,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Us.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Us.prototype.onKeyPress=function(){s&&a>=9&&(this.hasSelection=null),this.fastPoll()},Us.prototype.onContextMenu=function(e){var t=this,r=t.cm,i=r.display,n=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=li(r,e),u=i.scroller.scrollTop;if(o&&!d){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(o)&&Ji(r,Jn)(r.doc,_n(o),j);var c,f=n.style.cssText,h=t.wrapper.style.cssText,p=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",n.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(s?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(c=window.scrollY),i.input.focus(),l&&window.scrollTo(null,c),i.input.reset(),r.somethingSelected()||(n.value=t.prevInput=" "),t.contextMenuPending=b,i.selForContextMenu=r.doc.sel,clearTimeout(i.detectingSelectAll),s&&a>=9&&m(),C){we(e);var g=function(){he(window,"mouseup",g),setTimeout(b,20)};de(window,"mouseup",g)}else setTimeout(b,50)}function m(){if(null!=n.selectionStart){var e=r.somethingSelected(),o=""+(e?n.value:"");n.value="⇚",n.value=o,t.prevInput=e?"":"",n.selectionStart=1,n.selectionEnd=o.length,i.selForContextMenu=r.doc.sel}}function b(){if(t.contextMenuPending==b&&(t.contextMenuPending=!1,t.wrapper.style.cssText=h,n.style.cssText=f,s&&a<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=u),null!=n.selectionStart)){(!s||s&&a<9)&&m();var e=0,o=function(){i.selForContextMenu==r.doc.sel&&0==n.selectionStart&&n.selectionEnd>0&&""==t.prevInput?Ji(r,ao)(r):e++<10?i.detectingSelectAll=setTimeout(o,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(o,200)}}},Us.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},Us.prototype.setUneditable=function(){},Us.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function r(r,i,n,o){e.defaults[r]=i,n&&(t[r]=o?function(e,t,r){r!=ws&&n(e,t,r)}:n)}e.defineOption=r,e.Init=ws,r("value","",(function(e,t){return e.setValue(t)}),!0),r("mode",null,(function(e,t){e.doc.modeOption=t,Ln(e)}),!0),r("indentUnit",2,Ln,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,(function(e){Mn(e),qr(e),ci(e)}),!0),r("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var r=[],i=e.doc.first;e.doc.iter((function(e){for(var n=0;;){var o=e.text.indexOf(t,n);if(-1==o)break;n=o+t.length,r.push(et(i,o))}i++}));for(var n=r.length-1;n>=0;n--)go(e.doc,t,r[n],et(r[n].line,r[n].ch+t.length))}})),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=ws&&e.refresh()})),r("specialCharPlaceholder",Qt,(function(e){return e.refresh()}),!0),r("electricChars",!0),r("inputStyle",b?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),r("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),r("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),r("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),r("rtlMoveVisually",!y),r("wholeLineUpdateBefore",!0),r("theme","default",(function(e){ks(e),gn(e)}),!0),r("keyMap","default",(function(e,t,r){var i=Xo(t),n=r!=ws&&Xo(r);n&&n.detach&&n.detach(e,i),i.attach&&i.attach(e,n||null)})),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Ss,!0),r("gutters",[],(function(e,t){e.display.gutterSpecs=hn(t,e.options.lineNumbers),gn(e)}),!0),r("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?oi(e.display)+"px":"0",e.refresh()}),!0),r("coverGutterNextToScrollbar",!1,(function(e){return Pi(e)}),!0),r("scrollbarStyle","native",(function(e){$i(e),Pi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),r("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=hn(e.options.gutters,t),gn(e)}),!0),r("firstLineNumber",1,gn,!0),r("lineNumberFormatter",(function(e){return e}),gn,!0),r("showCursorWhenSelecting",!1,gi,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,(function(e,t){"nocursor"==t&&(Di(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),r("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),r("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),r("dragDrop",!0,_s),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,gi,!0),r("singleCursorHeightPerLine",!0,gi,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,Mn,!0),r("addModeClass",!1,Mn,!0),r("pollInterval",100),r("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),r("historyEventDelay",1250),r("viewportMargin",10,(function(e){return e.refresh()}),!0),r("maxHighlightLength",1e4,Mn,!0),r("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),r("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),r("autofocus",null),r("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),r("phrases",null)}(As),function(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,r){var i=this.options,n=i[e];i[e]==r&&"mode"!=e||(i[e]=r,t.hasOwnProperty(e)&&Ji(this,t[e])(this,r,n),pe(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Xo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:en((function(t,r){var i=t.token?t:e.getMode(this.options,t);if(i.startState)throw new Error("Overlays may not be stateful.");(function(e,t,r){for(var i=0,n=r(t);i<e.length&&r(e[i])<=n;)i++;e.splice(i,0,t)})(this.state.overlays,{mode:i,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},(function(e){return e.priority})),this.state.modeGen++,ci(this)})),removeOverlay:en((function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var i=t[r].modeSpec;if(i==e||"string"==typeof e&&i.name==e)return t.splice(r,1),this.state.modeGen++,void ci(this)}})),indentLine:en((function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),Qe(this.doc,e)&&Fs(this,e,t,r)})),indentSelection:en((function(e){for(var t=this.doc.sel.ranges,r=-1,i=0;i<t.length;i++){var n=t[i];if(n.empty())n.head.line>r&&(Fs(this,n.head.line,e,!0),r=n.head.line,i==this.doc.sel.primIndex&&Li(this));else{var o=n.from(),s=n.to(),a=Math.max(r,o.line);r=Math.min(this.lastLine(),s.line-(s.ch?0:1))+1;for(var l=a;l<r;++l)Fs(this,l,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[i].from().ch>0&&Xn(this.doc,i,new Cn(o,u[i].to()),j)}}})),getTokenAt:function(e,t){return vt(this,e,t)},getLineTokens:function(e,t){return vt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=at(this.doc,e);var t,r=ft(this,Ve(this.doc,e.line)),i=0,n=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var s=i+n>>1;if((s?r[2*s-1]:0)>=o)n=s;else{if(!(r[2*s+1]<o)){t=r[2*s+2];break}i=s+1}}var a=t?t.indexOf("overlay "):-1;return a<0?t:0==a?null:t.slice(0,a-1)},getModeAt:function(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var i=[];if(!r.hasOwnProperty(t))return i;var n=r[t],o=this.getModeAt(e);if("string"==typeof o[t])n[o[t]]&&i.push(n[o[t]]);else if(o[t])for(var s=0;s<o[t].length;s++){var a=n[o[t][s]];a&&i.push(a)}else o.helperType&&n[o.helperType]?i.push(n[o.helperType]):n[o.name]&&i.push(n[o.name]);for(var l=0;l<n._global.length;l++){var u=n._global[l];u.pred(o,this)&&-1==P(i,u.val)&&i.push(u.val)}return i},getStateAfter:function(e,t){var r=this.doc;return ht(this,(e=st(r,null==e?r.first+r.size-1:e))+1,t).state},cursorCoords:function(e,t){var r=this.doc.sel.primary();return Vr(this,null==e?r.head:"object"==typeof e?at(this.doc,e):e?r.from():r.to(),t||"page")},charCoords:function(e,t){return Ur(this,at(this.doc,e),t||"page")},coordsChar:function(e,t){return Kr(this,(e=Wr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Wr(this,{top:e,left:0},t||"page").top,Ye(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var i,n=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,n=!0),i=Ve(this.doc,e)}else i=e;return $r(this,i,{top:0,left:0},t||"page",r||n).top+(n?this.doc.height-$t(i):0)},defaultTextHeight:function(){return ri(this.display)},defaultCharWidth:function(){return ii(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,i,n){var o,s,a,l=this.display,u=(e=Vr(this,at(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==i)u=e.top;else if("above"==i||"near"==i){var d=Math.max(l.wrapper.clientHeight,this.doc.height),f=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==i||e.bottom+t.offsetHeight>d)&&e.top>t.offsetHeight?u=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=d&&(u=e.bottom),c+t.offsetWidth>f&&(c=f-t.offsetWidth)}t.style.top=u+"px",t.style.left=t.style.right="","right"==n?(c=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==n?c=0:"middle"==n&&(c=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),r&&(o=this,s={left:c,top:u,right:c+t.offsetWidth,bottom:u+t.offsetHeight},null!=(a=Ei(o,s)).scrollTop&&Bi(o,a.scrollTop),null!=a.scrollLeft&&Ii(o,a.scrollLeft))},triggerOnKeyDown:en(cs),triggerOnKeyPress:en(fs),triggerOnKeyUp:ds,triggerOnMouseDown:en(ms),execCommand:function(e){if(ts.hasOwnProperty(e))return ts[e].call(null,this)},triggerElectric:en((function(e){Bs(this,e)})),findPosH:function(e,t,r,i){var n=1;t<0&&(n=-1,t=-t);for(var o=at(this.doc,e),s=0;s<t&&!(o=Rs(this.doc,o,n,r,i)).hitSide;++s);return o},moveH:en((function(e,t){var r=this;this.extendSelectionsBy((function(i){return r.display.shift||r.doc.extend||i.empty()?Rs(r.doc,i.head,e,t,r.options.rtlMoveVisually):e<0?i.from():i.to()}),W)})),deleteH:en((function(e,t){var r=this.doc.sel,i=this.doc;r.somethingSelected()?i.replaceSelection("",null,"+delete"):Yo(this,(function(r){var n=Rs(i,r.head,e,t,!1);return e<0?{from:n,to:r.head}:{from:r.head,to:n}}))})),findPosV:function(e,t,r,i){var n=1,o=i;t<0&&(n=-1,t=-t);for(var s=at(this.doc,e),a=0;a<t;++a){var l=Vr(this,s,"div");if(null==o?o=l.left:l.left=o,(s=qs(this,l,n,r)).hitSide)break}return s},moveV:en((function(e,t){var r=this,i=this.doc,n=[],o=!this.display.shift&&!i.extend&&i.sel.somethingSelected();if(i.extendSelectionsBy((function(s){if(o)return e<0?s.from():s.to();var a=Vr(r,s.head,"div");null!=s.goalColumn&&(a.left=s.goalColumn),n.push(a.left);var l=qs(r,a,e,t);return"page"==t&&s==i.sel.primary()&&Fi(r,Ur(r,l,"div").top-a.top),l}),W),n.length)for(var s=0;s<i.sel.ranges.length;s++)i.sel.ranges[s].goalColumn=n[s]})),findWordAt:function(e){var t=Ve(this.doc,e.line).text,r=e.ch,i=e.ch;if(t){var n=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=t.length||!r?++i:--r;for(var o=t.charAt(r),s=ee(o,n)?function(e){return ee(e,n)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ee(e)};r>0&&s(t.charAt(r-1));)--r;for(;i<t.length&&s(t.charAt(i));)++i}return new Cn(et(e.line,r),et(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?z(this.display.cursorDiv,"CodeMirror-overwrite"):S(this.display.cursorDiv,"CodeMirror-overwrite"),pe(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==T()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:en((function(e,t){Mi(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-_r(this)-this.display.barHeight,width:e.scrollWidth-_r(this)-this.display.barWidth,clientHeight:Ar(this),clientWidth:Sr(this)}},scrollIntoView:en((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Ti(e),e.curOp.scrollToPos=t}(this,e):zi(this,e.from,e.to,e.margin)})),setSize:en((function(e,t){var r=this,i=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=i(e)),null!=t&&(this.display.wrapper.style.height=i(t)),this.options.lineWrapping&&Rr(this);var n=this.display.viewFrom;this.doc.iter(n,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){di(r,n,"widget");break}++n})),this.curOp.forceUpdate=!0,pe(this,"refresh",this)})),operation:function(e){return Qi(this,e)},startOperation:function(){return Ui(this)},endOperation:function(){return Vi(this)},refresh:en((function(){var e=this.display.cachedTextHeight;ci(this),this.curOp.forceUpdate=!0,qr(this),Mi(this,this.doc.scrollLeft,this.doc.scrollTop),un(this.display),(null==e||Math.abs(e-ri(this.display))>.5||this.options.lineWrapping)&&ai(this),pe(this,"refresh",this)})),swapDoc:en((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Nn(this,e),qr(this),this.display.input.reset(),Mi(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,ar(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},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}},ve(e),e.registerHelper=function(t,i,n){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][i]=n},e.registerGlobalHelper=function(t,i,n,o){e.registerHelper(t,i,o),r[t]._global.push({pred:n,val:o})}}(As);var Vs="iter insert remove copy getEditor constructor".split(" ");for(var Gs in Mo.prototype)Mo.prototype.hasOwnProperty(Gs)&&P(Vs,Gs)<0&&(As.prototype[Gs]=function(e){return function(){return e.apply(this.doc,arguments)}}(Mo.prototype[Gs]));return ve(Mo),As.inputStyles={textarea:Us,contenteditable:Ps},As.defineMode=function(e){As.defaults.mode||"null"==e||(As.defaults.mode=e),Oe.apply(this,arguments)},As.defineMIME=function(e,t){Ie[e]=t},As.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),As.defineMIME("text/plain","null"),As.defineExtension=function(e,t){As.prototype[e]=t},As.defineDocExtension=function(e,t){Mo.prototype[e]=t},As.fromTextArea=function(e,t){if((t=t?O(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=T();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}function i(){e.value=a.getValue()}var n;if(e.form&&(de(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var o=e.form;n=o.submit;try{var s=o.submit=function(){i(),o.submit=n,o.submit(),o.submit=s}}catch(e){}}t.finishInit=function(r){r.save=i,r.getTextArea=function(){return e},r.toTextArea=function(){r.toTextArea=isNaN,i(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(he(e.form,"submit",i),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=n))}},e.style.display="none";var a=As((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return a},function(e){e.off=he,e.on=de,e.wheelEventPixels=yn,e.Doc=Mo,e.splitLines=Me,e.countColumn=R,e.findColumn=U,e.isWordChar=J,e.Pass=H,e.signal=pe,e.Line=Vt,e.changeEnd=Sn,e.scrollbarModel=ji,e.Pos=et,e.cmpPos=tt,e.modes=Ne,e.mimeModes=Ie,e.resolveMode=Re,e.getMode=qe,e.modeExtensions=Pe,e.extendMode=He,e.copyState=je,e.startState=We,e.innerMode=$e,e.commands=ts,e.keyMap=$o,e.keyName=Ko,e.isModifierKey=Go,e.lookupKey=Vo,e.normalizeKeyMap=Uo,e.StringStream=Ue,e.SharedTextMarker=Ao,e.TextMarker=_o,e.LineWidget=wo,e.e_preventDefault=xe,e.e_stopPropagation=ye,e.e_stop=we,e.addClass=z,e.contains=M,e.rmClass=S,e.keyNames=qo}(As),As.version="5.65.3",As}()},2425:(e,t,r)=>{!function(e){"use strict";var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode("gfm",(function(r,i){var n=0;var o={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,r){if(r.combineTokens=null,r.codeBlock)return e.match(/^```+/)?(r.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(r.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),r.codeBlock=!0,null;if("`"===e.peek()){e.next();var o=e.pos;e.eatWhile("`");var s=1+e.pos-o;return r.code?s===n&&(r.code=!1):(n=s,r.code=!0),null}if(r.code)return e.next(),null;if(e.eatSpace())return r.ateSpace=!0,null;if((e.sol()||r.ateSpace)&&(r.ateSpace=!1,!1!==i.gitHubSpice)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return r.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return r.combineTokens=!0,"link"}return e.match(t)&&"]("!=e.string.slice(e.start-2,e.start)&&(0==e.start||/\W/.test(e.string.charAt(e.start-1)))?(r.combineTokens=!0,"link"):(e.next(),null)},blankLine:function(e){return e.code=!1,null}},s={taskLists:!0,strikethrough:!0,emoji:!0};for(var a in i)s[a]=i[a];return s.name="markdown",e.overlayMode(e.getMode(r,s),o)}),"markdown"),e.defineMIME("text/x-gfm","gfm")}(r(4631),r(9047),r(4146))},9047:(e,t,r)=>{!function(e){"use strict";e.defineMode("markdown",(function(t,r){var i=e.getMode(t,"text/html"),n="null"==i.name;void 0===r.highlightFormatting&&(r.highlightFormatting=!1),void 0===r.maxBlockquoteDepth&&(r.maxBlockquoteDepth=0),void 0===r.taskLists&&(r.taskLists=!1),void 0===r.strikethrough&&(r.strikethrough=!1),void 0===r.emoji&&(r.emoji=!1),void 0===r.fencedCodeBlockHighlighting&&(r.fencedCodeBlockHighlighting=!0),void 0===r.fencedCodeBlockDefaultMode&&(r.fencedCodeBlockDefaultMode="text/plain"),void 0===r.xml&&(r.xml=!0),void 0===r.tokenTypeOverrides&&(r.tokenTypeOverrides={});var o={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in o)o.hasOwnProperty(s)&&r.tokenTypeOverrides[s]&&(o[s]=r.tokenTypeOverrides[s]);var a=/^([*\-_])(?:\s*\1){2,}\s*$/,l=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,c=r.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,d=/^ {0,3}(?:\={1,}|-{2,})\s*$/,f=/^[^#!\[\]*_\\<>` "'(~:]+/,h=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,p=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/;function m(e,t,r){return t.f=t.inline=r,r(e,t)}function b(e,t,r){return t.f=t.block=r,r(e,t)}function v(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==y){var r=n;if(!r){var o=e.innerMode(i,t.htmlState);r="xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText}r&&(t.f=D,t.block=x,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function x(i,n){var s,f=i.column()===n.indentation,g=!(s=n.prevLine.stream)||!/\S/.test(s.string),b=n.indentedCode,v=n.prevLine.hr,x=!1!==n.list,y=(n.listStack[n.listStack.length-1]||0)+3;n.indentedCode=!1;var C=n.indentation;if(null===n.indentationDiff&&(n.indentationDiff=n.indentation,x)){for(n.list=null;C<n.listStack[n.listStack.length-1];)n.listStack.pop(),n.listStack.length?n.indentation=n.listStack[n.listStack.length-1]:n.list=!1;!1!==n.list&&(n.indentationDiff=C-n.listStack[n.listStack.length-1])}var D=!(g||v||n.prevLine.header||x&&b||n.prevLine.fencedCodeEnd),_=(!1===n.list||v||g)&&n.indentation<=y&&i.match(a),S=null;if(n.indentationDiff>=4&&(b||n.prevLine.fencedCodeEnd||n.prevLine.header||g))return i.skipToEnd(),n.indentedCode=!0,o.code;if(i.eatSpace())return null;if(f&&n.indentation<=y&&(S=i.match(c))&&S[1].length<=6)return n.quote=0,n.header=S[1].length,n.thisLine.header=!0,r.highlightFormatting&&(n.formatting="header"),n.f=n.inline,w(n);if(n.indentation<=y&&i.eat(">"))return n.quote=f?1:n.quote+1,r.highlightFormatting&&(n.formatting="quote"),i.eatSpace(),w(n);if(!_&&!n.setext&&f&&n.indentation<=y&&(S=i.match(l))){var A=S[1]?"ol":"ul";return n.indentation=C+i.current().length,n.list=!0,n.quote=0,n.listStack.push(n.indentation),n.em=!1,n.strong=!1,n.code=!1,n.strikethrough=!1,r.taskLists&&i.match(u,!1)&&(n.taskList=!0),n.f=n.inline,r.highlightFormatting&&(n.formatting=["list","list-"+A]),w(n)}return f&&n.indentation<=y&&(S=i.match(h,!0))?(n.quote=0,n.fencedEndRE=new RegExp(S[1]+"+ *$"),n.localMode=r.fencedCodeBlockHighlighting&&function(r){if(e.findModeByName){var i=e.findModeByName(r);i&&(r=i.mime||i.mimes[0])}var n=e.getMode(t,r);return"null"==n.name?null:n}(S[2]||r.fencedCodeBlockDefaultMode),n.localMode&&(n.localState=e.startState(n.localMode)),n.f=n.block=k,r.highlightFormatting&&(n.formatting="code-block"),n.code=-1,w(n)):n.setext||!(D&&x||n.quote||!1!==n.list||n.code||_||p.test(i.string))&&(S=i.lookAhead(1))&&(S=S.match(d))?(n.setext?(n.header=n.setext,n.setext=0,i.skipToEnd(),r.highlightFormatting&&(n.formatting="header")):(n.header="="==S[0].charAt(0)?1:2,n.setext=n.header),n.thisLine.header=!0,n.f=n.inline,w(n)):_?(i.skipToEnd(),n.hr=!0,n.thisLine.hr=!0,o.hr):"["===i.peek()?m(i,n,E):m(i,n,n.inline)}function y(t,r){var o=i.token(t,r.htmlState);if(!n){var s=e.innerMode(i,r.htmlState);("xml"==s.mode.name&&null===s.state.tagStart&&!s.state.context&&s.state.tokenize.isInText||r.md_inside&&t.current().indexOf(">")>-1)&&(r.f=D,r.block=x,r.htmlState=null)}return o}function k(e,t){var i,n=t.listStack[t.listStack.length-1]||0,s=t.indentation<n,a=n+3;return t.fencedEndRE&&t.indentation<=a&&(s||e.match(t.fencedEndRE))?(r.highlightFormatting&&(t.formatting="code-block"),s||(i=w(t)),t.localMode=t.localState=null,t.block=x,t.f=D,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,s?b(e,t,t.block):i):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),o.code)}function w(e){var t=[];if(e.formatting){t.push(o.formatting),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var i=0;i<e.formatting.length;i++)t.push(o.formatting+"-"+e.formatting[i]),"header"===e.formatting[i]&&t.push(o.formatting+"-"+e.formatting[i]+"-"+e.header),"quote"===e.formatting[i]&&(!r.maxBlockquoteDepth||r.maxBlockquoteDepth>=e.quote?t.push(o.formatting+"-"+e.formatting[i]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(o.linkHref,"url"):(e.strong&&t.push(o.strong),e.em&&t.push(o.em),e.strikethrough&&t.push(o.strikethrough),e.emoji&&t.push(o.emoji),e.linkText&&t.push(o.linkText),e.code&&t.push(o.code),e.image&&t.push(o.image),e.imageAltText&&t.push(o.imageAltText,"link"),e.imageMarker&&t.push(o.imageMarker)),e.header&&t.push(o.header,o.header+"-"+e.header),e.quote&&(t.push(o.quote),!r.maxBlockquoteDepth||r.maxBlockquoteDepth>=e.quote?t.push(o.quote+"-"+e.quote):t.push(o.quote+"-"+r.maxBlockquoteDepth)),!1!==e.list){var n=(e.listStack.length-1)%3;n?1===n?t.push(o.list2):t.push(o.list3):t.push(o.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function C(e,t){if(e.match(f,!0))return w(t)}function D(t,n){var s=n.text(t,n);if(void 0!==s)return s;if(n.list)return n.list=null,w(n);if(n.taskList)return" "===t.match(u,!0)[1]?n.taskOpen=!0:n.taskClosed=!0,r.highlightFormatting&&(n.formatting="task"),n.taskList=!1,w(n);if(n.taskOpen=!1,n.taskClosed=!1,n.header&&t.match(/^#+$/,!0))return r.highlightFormatting&&(n.formatting="header"),w(n);var a=t.next();if(n.linkTitle){n.linkTitle=!1;var l=a;"("===a&&(l=")");var c="^\\s*(?:[^"+(l=(l+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+l;if(t.match(new RegExp(c),!0))return o.linkHref}if("`"===a){var d=n.formatting;r.highlightFormatting&&(n.formatting="code"),t.eatWhile("`");var f=t.current().length;if(0!=n.code||n.quote&&1!=f){if(f==n.code){var h=w(n);return n.code=0,h}return n.formatting=d,w(n)}return n.code=f,w(n)}if(n.code)return w(n);if("\\"===a&&(t.next(),r.highlightFormatting)){var p=w(n),m=o.formatting+"-escape";return p?p+" "+m:m}if("!"===a&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return n.imageMarker=!0,n.image=!0,r.highlightFormatting&&(n.formatting="image"),w(n);if("["===a&&n.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return n.imageMarker=!1,n.imageAltText=!0,r.highlightFormatting&&(n.formatting="image"),w(n);if("]"===a&&n.imageAltText){r.highlightFormatting&&(n.formatting="image");p=w(n);return n.imageAltText=!1,n.image=!1,n.inline=n.f=S,p}if("["===a&&!n.image)return n.linkText&&t.match(/^.*?\]/)||(n.linkText=!0,r.highlightFormatting&&(n.formatting="link")),w(n);if("]"===a&&n.linkText){r.highlightFormatting&&(n.formatting="link");p=w(n);return n.linkText=!1,n.inline=n.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?S:D,p}if("<"===a&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return n.f=n.inline=_,r.highlightFormatting&&(n.formatting="link"),(p=w(n))?p+=" ":p="",p+o.linkInline;if("<"===a&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return n.f=n.inline=_,r.highlightFormatting&&(n.formatting="link"),(p=w(n))?p+=" ":p="",p+o.linkEmail;if(r.xml&&"<"===a&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var v=t.string.indexOf(">",t.pos);if(-1!=v){var x=t.string.substring(t.start,v);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(n.md_inside=!0)}return t.backUp(1),n.htmlState=e.startState(i),b(t,n,y)}if(r.xml&&"<"===a&&t.match(/^\/\w*?>/))return n.md_inside=!1,"tag";if("*"===a||"_"===a){for(var k=1,C=1==t.pos?" ":t.string.charAt(t.pos-2);k<3&&t.eat(a);)k++;var A=t.peek()||" ",E=!/\s/.test(A)&&(!g.test(A)||/\s/.test(C)||g.test(C)),F=!/\s/.test(C)&&(!g.test(C)||/\s/.test(A)||g.test(A)),L=null,M=null;if(k%2&&(n.em||!E||"*"!==a&&F&&!g.test(C)?n.em!=a||!F||"*"!==a&&E&&!g.test(A)||(L=!1):L=!0),k>1&&(n.strong||!E||"*"!==a&&F&&!g.test(C)?n.strong!=a||!F||"*"!==a&&E&&!g.test(A)||(M=!1):M=!0),null!=M||null!=L)return r.highlightFormatting&&(n.formatting=null==L?"strong":null==M?"em":"strong em"),!0===L&&(n.em=a),!0===M&&(n.strong=a),h=w(n),!1===L&&(n.em=!1),!1===M&&(n.strong=!1),h}else if(" "===a&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return w(n);t.backUp(1)}if(r.strikethrough)if("~"===a&&t.eatWhile(a)){if(n.strikethrough)return r.highlightFormatting&&(n.formatting="strikethrough"),h=w(n),n.strikethrough=!1,h;if(t.match(/^[^\s]/,!1))return n.strikethrough=!0,r.highlightFormatting&&(n.formatting="strikethrough"),w(n)}else if(" "===a&&t.match("~~",!0)){if(" "===t.peek())return w(n);t.backUp(2)}if(r.emoji&&":"===a&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){n.emoji=!0,r.highlightFormatting&&(n.formatting="emoji");var T=w(n);return n.emoji=!1,T}return" "===a&&(t.match(/^ +$/,!1)?n.trailingSpace++:n.trailingSpace&&(n.trailingSpaceNewLine=!0)),w(n)}function _(e,t){if(">"===e.next()){t.f=t.inline=D,r.highlightFormatting&&(t.formatting="link");var i=w(t);return i?i+=" ":i="",i+o.linkInline}return e.match(/^[^>]+/,!0),o.linkInline}function S(e,t){if(e.eatSpace())return null;var i,n=e.next();return"("===n||"["===n?(t.f=t.inline=(i="("===n?")":"]",function(e,t){if(e.next()===i){t.f=t.inline=D,r.highlightFormatting&&(t.formatting="link-string");var n=w(t);return t.linkHref=!1,n}return e.match(A[i]),t.linkHref=!0,w(t)}),r.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,w(t)):"error"}var A={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function E(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=F,e.next(),r.highlightFormatting&&(t.formatting="link"),t.linkText=!0,w(t)):m(e,t,D)}function F(e,t){if(e.match("]:",!0)){t.f=t.inline=L,r.highlightFormatting&&(t.formatting="link");var i=w(t);return t.linkText=!1,i}return e.match(/^([^\]\\]|\\.)+/,!0),o.linkText}function L(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),t.f=t.inline=D,o.linkHref+" url")}var M={startState:function(){return{f:x,prevLine:{stream:null},thisLine:{stream:null},block:x,htmlState:null,indentation:0,inline:D,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(i,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return v(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=y)){var r=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(t.indentation=r,t.indentationDiff=null,r>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==y?{state:e.htmlState,mode:i}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:M}},indent:function(t,r,n){return t.block==y&&i.indent?i.indent(t.htmlState,r,n):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},blankLine:v,getType:w,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return M}),"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")}(r(4631),r(9589),r(2539))},2539:(e,t,r)=>{!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var t=0;t<e.modeInfo.length;t++){var r=e.modeInfo[t];r.mimes&&(r.mime=r.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var i=e.modeInfo[r];if(i.mime==t)return i;if(i.mimes)for(var n=0;n<i.mimes.length;n++)if(i.mimes[n]==t)return i}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var i=e.modeInfo[r];if(i.ext)for(var n=0;n<i.ext.length;n++)if(i.ext[n]==t)return i}},e.findModeByFileName=function(t){for(var r=0;r<e.modeInfo.length;r++){var i=e.modeInfo[r];if(i.file&&i.file.test(t))return i}var n=t.lastIndexOf("."),o=n>-1&&t.substring(n+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var i=e.modeInfo[r];if(i.name.toLowerCase()==t)return i;if(i.alias)for(var n=0;n<i.alias.length;n++)if(i.alias[n].toLowerCase()==t)return i}}}(r(4631))},9589:(e,t,r)=>{!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(i,n){var o,s,a=i.indentUnit,l={},u=n.htmlMode?t:r;for(var c in u)l[c]=u[c];for(var c in n)l[c]=n[c];function d(e,t){function r(r){return t.tokenize=r,r(e,t)}var i=e.next();return"<"==i?e.eat("!")?e.eat("[")?e.match("CDATA[")?r(h("atom","]]>")):null:e.match("--")?r(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),r(p(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=f,"tag bracket"):"&"==i?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function f(e,t){var r,i,n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=d,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"==n){t.tokenize=d,t.state=x,t.tagName=t.tagStart=null;var s=t.tokenize(e,t);return s?s+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=(r=n,i=function(e,t){for(;!e.eol();)if(e.next()==r){t.tokenize=f;break}return"string"},i.isInAttribute=!0,i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=d;break}r.next()}return e}}function p(e){return function(t,r){for(var i;null!=(i=t.next());){if("<"==i)return r.tokenize=p(e+1),r.tokenize(t,r);if(">"==i){if(1==e){r.tokenize=d;break}return r.tokenize=p(e-1),r.tokenize(t,r)}}return"meta"}}function g(e){return e&&e.toLowerCase()}function m(e,t,r){this.prev=e.context,this.tagName=t||"",this.indent=e.indented,this.startOfLine=r,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function b(e){e.context&&(e.context=e.context.prev)}function v(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!l.contextGrabbers.hasOwnProperty(g(r))||!l.contextGrabbers[g(r)].hasOwnProperty(g(t)))return;b(e)}}function x(e,t,r){return"openTag"==e?(r.tagStart=t.column(),y):"closeTag"==e?k:x}function y(e,t,r){return"word"==e?(r.tagName=t.current(),s="tag",D):l.allowMissingTagName&&"endTag"==e?(s="tag bracket",D(e,0,r)):(s="error",y)}function k(e,t,r){if("word"==e){var i=t.current();return r.context&&r.context.tagName!=i&&l.implicitlyClosed.hasOwnProperty(g(r.context.tagName))&&b(r),r.context&&r.context.tagName==i||!1===l.matchClosing?(s="tag",w):(s="tag error",C)}return l.allowMissingTagName&&"endTag"==e?(s="tag bracket",w(e,0,r)):(s="error",C)}function w(e,t,r){return"endTag"!=e?(s="error",w):(b(r),x)}function C(e,t,r){return s="error",w(e,0,r)}function D(e,t,r){if("word"==e)return s="attribute",_;if("endTag"==e||"selfcloseTag"==e){var i=r.tagName,n=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(g(i))?v(r,i):(v(r,i),r.context=new m(r,i,n==r.indented)),x}return s="error",D}function _(e,t,r){return"equals"==e?S:(l.allowMissing||(s="error"),D(e,0,r))}function S(e,t,r){return"string"==e?A:"word"==e&&l.allowUnquoted?(s="string",D):(s="error",D(e,0,r))}function A(e,t,r){return"string"==e?A:D(e,0,r)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:x,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var r=t.tokenize(e,t);return(r||o)&&"comment"!=r&&(s=null,t.state=t.state(o||r,e,t),s&&(r="error"==s?r+" error":s)),r},indent:function(t,r,i){var n=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(n&&n.noIndent)return e.Pass;if(t.tokenize!=f&&t.tokenize!=d)return i?i.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var o=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(o&&o[1])for(;n;){if(n.tagName==o[2]){n=n.prev;break}if(!l.implicitlyClosed.hasOwnProperty(g(n.tagName)))break;n=n.prev}else if(o)for(;n;){var s=l.contextGrabbers[g(n.tagName)];if(!s||!s.hasOwnProperty(g(o[2])))break;n=n.prev}for(;n&&n.prev&&!n.startOfLine;)n=n.prev;return n?n.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==S&&(e.state=D)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],r=e.context;r;r=r.prev)t.push(r.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(r(4631))},1556:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(8081),n=r.n(i),o=r(3645),s=r.n(o)()(n());s.push([e.id,'.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0 !important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:0 0}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:0 0}.cm-fat-cursor{caret-color:rgba(0,0,0,0)}@-moz-keyframes blink{50%{background-color:rgba(0,0,0,0)}}@-webkit-keyframes blink{50%{background-color:rgba(0,0,0,0)}}@keyframes blink{50%{background-color:rgba(0,0,0,0)}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:blue}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta{color:#555}.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error{color:red}.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll !important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid rgba(0,0,0,0)}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:0}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0 !important;border:none !important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:rgba(0,0,0,0)}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:rgba(0,0,0,0)}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:0 0}.EasyMDEContainer{display:block}.CodeMirror-rtl pre{direction:rtl}.EasyMDEContainer.sided--no-fullscreen{display:flex;flex-direction:row;flex-wrap:wrap}.EasyMDEContainer .CodeMirror{box-sizing:border-box;height:auto;border:1px solid #ddd;border-bottom-left-radius:4px;border-bottom-right-radius:4px;padding:10px;font:inherit;z-index:0;word-wrap:break-word}.EasyMDEContainer .CodeMirror-scroll{cursor:text}.EasyMDEContainer .CodeMirror-fullscreen{background:#fff;position:fixed !important;top:50px;left:0;right:0;bottom:0;height:auto;z-index:8;border-right:none !important;border-bottom-right-radius:0 !important}.EasyMDEContainer .CodeMirror-sided{width:50% !important}.EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided{border-right:none !important;border-bottom-right-radius:0;position:relative;flex:1 1 auto}.EasyMDEContainer .CodeMirror-placeholder{opacity:.5}.EasyMDEContainer .CodeMirror-focused .CodeMirror-selected{background:#d9d9d9}.editor-toolbar{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;padding:9px 10px;border-top:1px solid #bbb;border-left:1px solid #bbb;border-right:1px solid #bbb;border-top-left-radius:4px;border-top-right-radius:4px}.editor-toolbar.fullscreen{width:100%;height:50px;padding-top:10px;padding-bottom:10px;box-sizing:border-box;background:#fff;border:0;position:fixed;top:0;left:0;opacity:1;z-index:9}.editor-toolbar.fullscreen::before{width:20px;height:50px;background:-moz-linear-gradient(left, #fff 0, rgba(255, 255, 255, 0) 100%);background:-webkit-gradient(linear, left top, right top, color-stop(0, #fff), color-stop(100%, rgba(255, 255, 255, 0)));background:-webkit-linear-gradient(left, #fff 0, rgba(255, 255, 255, 0) 100%);background:-o-linear-gradient(left, #fff 0, rgba(255, 255, 255, 0) 100%);background:-ms-linear-gradient(left, #fff 0, rgba(255, 255, 255, 0) 100%);background:linear-gradient(to right, #fff 0, rgba(255, 255, 255, 0) 100%);position:fixed;top:0;left:0;margin:0;padding:0}.editor-toolbar.fullscreen::after{width:20px;height:50px;background:-moz-linear-gradient(left, rgba(255, 255, 255, 0) 0, #fff 100%);background:-webkit-gradient(linear, left top, right top, color-stop(0, rgba(255, 255, 255, 0)), color-stop(100%, #fff));background:-webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, #fff 100%);background:-o-linear-gradient(left, rgba(255, 255, 255, 0) 0, #fff 100%);background:-ms-linear-gradient(left, rgba(255, 255, 255, 0) 0, #fff 100%);background:linear-gradient(to right, rgba(255, 255, 255, 0) 0, #fff 100%);position:fixed;top:0;right:0;margin:0;padding:0}.EasyMDEContainer.sided--no-fullscreen .editor-toolbar{width:100%}.editor-toolbar .easymde-dropdown,.editor-toolbar button{background:0 0;display:inline-block;text-align:center;text-decoration:none !important;height:30px;margin:0;padding:0;border:1px solid rgba(0,0,0,0);border-radius:3px;cursor:pointer}.editor-toolbar button{width:30px}.editor-toolbar button.active,.editor-toolbar button:hover{background:#fcfcfc;border-color:#95a5a6}.editor-toolbar i.separator{display:inline-block;width:0;border-left:1px solid #d9d9d9;border-right:1px solid #fff;color:rgba(0,0,0,0);text-indent:-10px;margin:0 6px}.editor-toolbar button:after{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:65%;vertical-align:text-bottom;position:relative;top:2px}.editor-toolbar button.heading-1:after{content:"1"}.editor-toolbar button.heading-2:after{content:"2"}.editor-toolbar button.heading-3:after{content:"3"}.editor-toolbar button.heading-bigger:after{content:"▲"}.editor-toolbar button.heading-smaller:after{content:"▼"}.editor-toolbar.disabled-for-preview button:not(.no-disable){opacity:.6;pointer-events:none}@media only screen and (max-width: 700px){.editor-toolbar i.no-mobile{display:none}}.editor-statusbar{padding:8px 10px;font-size:12px;color:#959694;text-align:right}.EasyMDEContainer.sided--no-fullscreen .editor-statusbar{width:100%}.editor-statusbar span{display:inline-block;min-width:4em;margin-left:1em}.editor-statusbar .lines:before{content:"lines: "}.editor-statusbar .words:before{content:"words: "}.editor-statusbar .characters:before{content:"characters: "}.editor-preview-full{position:absolute;width:100%;height:100%;top:0;left:0;z-index:7;overflow:auto;display:none;box-sizing:border-box}.editor-preview-side{position:fixed;bottom:0;width:50%;top:50px;right:0;z-index:9;overflow:auto;display:none;box-sizing:border-box;border:1px solid #ddd;word-wrap:break-word}.editor-preview-active-side{display:block}.EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side{flex:1 1 auto;height:auto;position:static}.editor-preview-active{display:block}.editor-preview{padding:10px;background:#fafafa}.editor-preview>p{margin-top:0}.editor-preview pre{background:#eee;margin-bottom:10px}.editor-preview table td,.editor-preview table th{border:1px solid #ddd;padding:5px}.cm-s-easymde .cm-tag{color:#63a35c}.cm-s-easymde .cm-attribute{color:#795da3}.cm-s-easymde .cm-string{color:#183691}.cm-s-easymde .cm-header-1{font-size:200%;line-height:200%}.cm-s-easymde .cm-header-2{font-size:160%;line-height:160%}.cm-s-easymde .cm-header-3{font-size:125%;line-height:125%}.cm-s-easymde .cm-header-4{font-size:110%;line-height:110%}.cm-s-easymde .cm-comment{background:rgba(0,0,0,.05);border-radius:2px}.cm-s-easymde .cm-link{color:#7f8c8d}.cm-s-easymde .cm-url{color:#aab2b3}.cm-s-easymde .cm-quote{color:#7f8c8d;font-style:italic}.editor-toolbar .easymde-dropdown{position:relative;background:linear-gradient(to bottom right, #fff 0, #fff 84%, #333 50%, #333 100%);border-radius:0;border:1px solid #fff}.editor-toolbar .easymde-dropdown:hover{background:linear-gradient(to bottom right, #fff 0, #fff 84%, #333 50%, #333 100%)}.easymde-dropdown-content{display:block;visibility:hidden;position:absolute;background-color:#f9f9f9;box-shadow:0 8px 16px 0 rgba(0,0,0,.2);padding:8px;z-index:2;top:30px}.easymde-dropdown:active .easymde-dropdown-content,.easymde-dropdown:focus .easymde-dropdown-content,.easymde-dropdown:focus-within .easymde-dropdown-content{visibility:visible}span[data-img-src]::after{content:"";background-image:var(--bg-image);display:block;max-height:100%;max-width:100%;background-size:contain;height:0;padding-top:var(--height);width:var(--width);background-repeat:no-repeat}.CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word){background:rgba(255,0,0,.15)}',""]);const a=s},1235:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(8081),n=r.n(i),o=r(3645),s=r.n(o)()(n());s.push([e.id,'/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.file-cta,.file-name,.select select,.textarea,.input,.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid rgba(0,0,0,0);border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(0.5em - 1px);padding-left:calc(0.75em - 1px);padding-right:calc(0.75em - 1px);padding-top:calc(0.5em - 1px);position:relative;vertical-align:top}.file-cta:focus,.file-name:focus,.select select:focus,.textarea:focus,.input:focus,.button:focus,.is-focused.file-cta,.is-focused.file-name,.select select.is-focused,.is-focused.textarea,.is-focused.input,.is-focused.button,.file-cta:active,.file-name:active,.select select:active,.textarea:active,.input:active,.button:active,.is-active.file-cta,.is-active.file-name,.select select.is-active,.is-active.textarea,.is-active.input,.is-active.button{outline:none}[disabled].file-cta,[disabled].file-name,.select select[disabled],[disabled].textarea,[disabled].input,[disabled].button,fieldset[disabled] .file-cta,fieldset[disabled] .file-name,fieldset[disabled] .select select,.select fieldset[disabled] select,fieldset[disabled] .textarea,fieldset[disabled] .input,fieldset[disabled] .button{cursor:not-allowed}.file,.button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select:not(.is-multiple):not(.is-loading)::after{border:3px solid rgba(0,0,0,0);border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-0.4375em;pointer-events:none;position:absolute;top:50%;transform:rotate(-45deg);transform-origin:center;width:.625em}.block:not(:last-child),.title:not(:last-child),.subtitle:not(:last-child),.table-container:not(:last-child),.table:not(:last-child),.progress:not(:last-child),.notification:not(:last-child),.content:not(:last-child),.box:not(:last-child){margin-bottom:1.5rem}.delete{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:rgba(10,10,10,.2);border:none;border-radius:9999px;cursor:pointer;pointer-events:auto;display:inline-block;flex-grow:0;flex-shrink:0;font-size:0;height:20px;max-height:20px;max-width:20px;min-height:20px;min-width:20px;outline:none;position:relative;vertical-align:top;width:20px}.delete::before,.delete::after{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.delete::before{height:2px;width:50%}.delete::after{height:50%;width:2px}.delete:hover,.delete:focus{background-color:rgba(10,10,10,.3)}.delete:active{background-color:rgba(10,10,10,.4)}.is-small.delete{height:16px;max-height:16px;max-width:16px;min-height:16px;min-width:16px;width:16px}.is-medium.delete{height:24px;max-height:24px;max-width:24px;min-height:24px;min-width:24px;width:24px}.is-large.delete{height:32px;max-height:32px;max-width:32px;min-height:32px;min-width:32px;width:32px}.control.is-loading::after,.select.is-loading::after,.loader,.button.is-loading::after{animation:spinAround 500ms infinite linear;border:2px solid #dbdbdb;border-radius:9999px;border-right-color:rgba(0,0,0,0);border-top-color:rgba(0,0,0,0);content:"";display:block;height:1em;position:relative;width:1em}.image.is-square img,.image.is-square .has-ratio,.image.is-1by1 img,.image.is-1by1 .has-ratio,.image.is-5by4 img,.image.is-5by4 .has-ratio,.image.is-4by3 img,.image.is-4by3 .has-ratio,.image.is-3by2 img,.image.is-3by2 .has-ratio,.image.is-5by3 img,.image.is-5by3 .has-ratio,.image.is-16by9 img,.image.is-16by9 .has-ratio,.image.is-2by1 img,.image.is-2by1 .has-ratio,.image.is-3by1 img,.image.is-3by1 .has-ratio,.image.is-4by5 img,.image.is-4by5 .has-ratio,.image.is-3by4 img,.image.is-3by4 .has-ratio,.image.is-2by3 img,.image.is-2by3 .has-ratio,.image.is-3by5 img,.image.is-3by5 .has-ratio,.image.is-9by16 img,.image.is-9by16 .has-ratio,.image.is-1by2 img,.image.is-1by2 .has-ratio,.image.is-1by3 img,.image.is-1by3 .has-ratio{bottom:0;left:0;position:absolute;right:0;top:0}html{background-color:#fff;font-size:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:300px;overflow-x:hidden;overflow-y:scroll;text-rendering:optimizeLegibility;text-size-adjust:100%}article,aside,figure,footer,header,hgroup,section{display:block}body,button,input,optgroup,select,textarea{font-family:BlinkMacSystemFont,-apple-system,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue","Helvetica","Arial",sans-serif}code,pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:monospace}body{color:#4a4a4a;font-size:1em;font-weight:400;line-height:1.5}a{color:#485fc7;cursor:pointer;text-decoration:none}a strong{color:currentColor}a:hover{color:#363636}code{background-color:#f5f5f5;color:#da1039;font-size:.875em;font-weight:normal;padding:.25em .5em .25em}hr{background-color:#f5f5f5;border:none;display:block;height:2px;margin:1.5rem 0}img{height:auto;max-width:100%}input[type=checkbox],input[type=radio]{vertical-align:baseline}small{font-size:.875em}span{font-style:inherit;font-weight:inherit}strong{color:#363636;font-weight:700}fieldset{border:none}pre{-webkit-overflow-scrolling:touch;background-color:#f5f5f5;color:#4a4a4a;font-size:.875em;overflow-x:auto;padding:1.25rem 1.5rem;white-space:pre;word-wrap:normal}pre code{background-color:rgba(0,0,0,0);color:currentColor;font-size:1em;padding:0}table td,table th{vertical-align:top}table td:not([align]),table th:not([align]){text-align:inherit}table th{color:#363636}.box{background-color:#fff;border-radius:6px;box-shadow:0 .5em 1em -0.125em rgba(10,10,10,.1),0 0px 0 1px rgba(10,10,10,.02);color:#4a4a4a;display:block;padding:1.25rem}a.box:hover,a.box:focus{box-shadow:0 .5em 1em -0.125em rgba(10,10,10,.1),0 0 0 1px #485fc7}a.box:active{box-shadow:inset 0 1px 2px rgba(10,10,10,.2),0 0 0 1px #485fc7}.button{background-color:#fff;border-color:#dbdbdb;border-width:1px;color:#363636;cursor:pointer;justify-content:center;padding-bottom:calc(0.5em - 1px);padding-left:1em;padding-right:1em;padding-top:calc(0.5em - 1px);text-align:center;white-space:nowrap}.button strong{color:inherit}.button .icon,.button .icon.is-small,.button .icon.is-medium,.button .icon.is-large{height:1.5em;width:1.5em}.button .icon:first-child:not(:last-child){margin-left:calc(-0.5em - 1px);margin-right:.25em}.button .icon:last-child:not(:first-child){margin-left:.25em;margin-right:calc(-0.5em - 1px)}.button .icon:first-child:last-child{margin-left:calc(-0.5em - 1px);margin-right:calc(-0.5em - 1px)}.button:hover,.button.is-hovered{border-color:#b5b5b5;color:#363636}.button:focus,.button.is-focused{border-color:#485fc7;color:#363636}.button:focus:not(:active),.button.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(72,95,199,.25)}.button:active,.button.is-active{border-color:#4a4a4a;color:#363636}.button.is-text{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0);color:#4a4a4a;text-decoration:underline}.button.is-text:hover,.button.is-text.is-hovered,.button.is-text:focus,.button.is-text.is-focused{background-color:#f5f5f5;color:#363636}.button.is-text:active,.button.is-text.is-active{background-color:#e8e8e8;color:#363636}.button.is-text[disabled],fieldset[disabled] .button.is-text{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0);box-shadow:none}.button.is-ghost{background:none;border-color:rgba(0,0,0,0);color:#485fc7;text-decoration:none}.button.is-ghost:hover,.button.is-ghost.is-hovered{color:#485fc7;text-decoration:underline}.button.is-white{background-color:#fff;border-color:rgba(0,0,0,0);color:#0a0a0a}.button.is-white:hover,.button.is-white.is-hovered{background-color:#f9f9f9;border-color:rgba(0,0,0,0);color:#0a0a0a}.button.is-white:focus,.button.is-white.is-focused{border-color:rgba(0,0,0,0);color:#0a0a0a}.button.is-white:focus:not(:active),.button.is-white.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(255,255,255,.25)}.button.is-white:active,.button.is-white.is-active{background-color:#f2f2f2;border-color:rgba(0,0,0,0);color:#0a0a0a}.button.is-white[disabled],fieldset[disabled] .button.is-white{background-color:#fff;border-color:#fff;box-shadow:none}.button.is-white.is-inverted{background-color:#0a0a0a;color:#fff}.button.is-white.is-inverted:hover,.button.is-white.is-inverted.is-hovered{background-color:#000}.button.is-white.is-inverted[disabled],fieldset[disabled] .button.is-white.is-inverted{background-color:#0a0a0a;border-color:rgba(0,0,0,0);box-shadow:none;color:#fff}.button.is-white.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #0a0a0a #0a0a0a !important}.button.is-white.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-white.is-outlined:hover,.button.is-white.is-outlined.is-hovered,.button.is-white.is-outlined:focus,.button.is-white.is-outlined.is-focused{background-color:#fff;border-color:#fff;color:#0a0a0a}.button.is-white.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-white.is-outlined.is-loading:hover::after,.button.is-white.is-outlined.is-loading.is-hovered::after,.button.is-white.is-outlined.is-loading:focus::after,.button.is-white.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #0a0a0a #0a0a0a !important}.button.is-white.is-outlined[disabled],fieldset[disabled] .button.is-white.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-white.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#0a0a0a;color:#0a0a0a}.button.is-white.is-inverted.is-outlined:hover,.button.is-white.is-inverted.is-outlined.is-hovered,.button.is-white.is-inverted.is-outlined:focus,.button.is-white.is-inverted.is-outlined.is-focused{background-color:#0a0a0a;color:#fff}.button.is-white.is-inverted.is-outlined.is-loading:hover::after,.button.is-white.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-white.is-inverted.is-outlined.is-loading:focus::after,.button.is-white.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-white.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-white.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.button.is-black{background-color:#0a0a0a;border-color:rgba(0,0,0,0);color:#fff}.button.is-black:hover,.button.is-black.is-hovered{background-color:#040404;border-color:rgba(0,0,0,0);color:#fff}.button.is-black:focus,.button.is-black.is-focused{border-color:rgba(0,0,0,0);color:#fff}.button.is-black:focus:not(:active),.button.is-black.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(10,10,10,.25)}.button.is-black:active,.button.is-black.is-active{background-color:#000;border-color:rgba(0,0,0,0);color:#fff}.button.is-black[disabled],fieldset[disabled] .button.is-black{background-color:#0a0a0a;border-color:#0a0a0a;box-shadow:none}.button.is-black.is-inverted{background-color:#fff;color:#0a0a0a}.button.is-black.is-inverted:hover,.button.is-black.is-inverted.is-hovered{background-color:#f2f2f2}.button.is-black.is-inverted[disabled],fieldset[disabled] .button.is-black.is-inverted{background-color:#fff;border-color:rgba(0,0,0,0);box-shadow:none;color:#0a0a0a}.button.is-black.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-black.is-outlined{background-color:rgba(0,0,0,0);border-color:#0a0a0a;color:#0a0a0a}.button.is-black.is-outlined:hover,.button.is-black.is-outlined.is-hovered,.button.is-black.is-outlined:focus,.button.is-black.is-outlined.is-focused{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.button.is-black.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #0a0a0a #0a0a0a !important}.button.is-black.is-outlined.is-loading:hover::after,.button.is-black.is-outlined.is-loading.is-hovered::after,.button.is-black.is-outlined.is-loading:focus::after,.button.is-black.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-black.is-outlined[disabled],fieldset[disabled] .button.is-black.is-outlined{background-color:rgba(0,0,0,0);border-color:#0a0a0a;box-shadow:none;color:#0a0a0a}.button.is-black.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-black.is-inverted.is-outlined:hover,.button.is-black.is-inverted.is-outlined.is-hovered,.button.is-black.is-inverted.is-outlined:focus,.button.is-black.is-inverted.is-outlined.is-focused{background-color:#fff;color:#0a0a0a}.button.is-black.is-inverted.is-outlined.is-loading:hover::after,.button.is-black.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-black.is-inverted.is-outlined.is-loading:focus::after,.button.is-black.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #0a0a0a #0a0a0a !important}.button.is-black.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-black.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-light{background-color:#f5f5f5;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-light:hover,.button.is-light.is-hovered{background-color:#eee;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-light:focus,.button.is-light.is-focused{border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-light:focus:not(:active),.button.is-light.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(245,245,245,.25)}.button.is-light:active,.button.is-light.is-active{background-color:#e8e8e8;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-light[disabled],fieldset[disabled] .button.is-light{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none}.button.is-light.is-inverted{background-color:rgba(0,0,0,.7);color:#f5f5f5}.button.is-light.is-inverted:hover,.button.is-light.is-inverted.is-hovered{background-color:rgba(0,0,0,.7)}.button.is-light.is-inverted[disabled],fieldset[disabled] .button.is-light.is-inverted{background-color:rgba(0,0,0,.7);border-color:rgba(0,0,0,0);box-shadow:none;color:#f5f5f5}.button.is-light.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.7) rgba(0,0,0,.7) !important}.button.is-light.is-outlined{background-color:rgba(0,0,0,0);border-color:#f5f5f5;color:#f5f5f5}.button.is-light.is-outlined:hover,.button.is-light.is-outlined.is-hovered,.button.is-light.is-outlined:focus,.button.is-light.is-outlined.is-focused{background-color:#f5f5f5;border-color:#f5f5f5;color:rgba(0,0,0,.7)}.button.is-light.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #f5f5f5 #f5f5f5 !important}.button.is-light.is-outlined.is-loading:hover::after,.button.is-light.is-outlined.is-loading.is-hovered::after,.button.is-light.is-outlined.is-loading:focus::after,.button.is-light.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.7) rgba(0,0,0,.7) !important}.button.is-light.is-outlined[disabled],fieldset[disabled] .button.is-light.is-outlined{background-color:rgba(0,0,0,0);border-color:#f5f5f5;box-shadow:none;color:#f5f5f5}.button.is-light.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,.7);color:rgba(0,0,0,.7)}.button.is-light.is-inverted.is-outlined:hover,.button.is-light.is-inverted.is-outlined.is-hovered,.button.is-light.is-inverted.is-outlined:focus,.button.is-light.is-inverted.is-outlined.is-focused{background-color:rgba(0,0,0,.7);color:#f5f5f5}.button.is-light.is-inverted.is-outlined.is-loading:hover::after,.button.is-light.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-light.is-inverted.is-outlined.is-loading:focus::after,.button.is-light.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #f5f5f5 #f5f5f5 !important}.button.is-light.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-light.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,.7);box-shadow:none;color:rgba(0,0,0,.7)}.button.is-dark{background-color:#363636;border-color:rgba(0,0,0,0);color:#fff}.button.is-dark:hover,.button.is-dark.is-hovered{background-color:#2f2f2f;border-color:rgba(0,0,0,0);color:#fff}.button.is-dark:focus,.button.is-dark.is-focused{border-color:rgba(0,0,0,0);color:#fff}.button.is-dark:focus:not(:active),.button.is-dark.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(54,54,54,.25)}.button.is-dark:active,.button.is-dark.is-active{background-color:#292929;border-color:rgba(0,0,0,0);color:#fff}.button.is-dark[disabled],fieldset[disabled] .button.is-dark{background-color:#363636;border-color:#363636;box-shadow:none}.button.is-dark.is-inverted{background-color:#fff;color:#363636}.button.is-dark.is-inverted:hover,.button.is-dark.is-inverted.is-hovered{background-color:#f2f2f2}.button.is-dark.is-inverted[disabled],fieldset[disabled] .button.is-dark.is-inverted{background-color:#fff;border-color:rgba(0,0,0,0);box-shadow:none;color:#363636}.button.is-dark.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-dark.is-outlined{background-color:rgba(0,0,0,0);border-color:#363636;color:#363636}.button.is-dark.is-outlined:hover,.button.is-dark.is-outlined.is-hovered,.button.is-dark.is-outlined:focus,.button.is-dark.is-outlined.is-focused{background-color:#363636;border-color:#363636;color:#fff}.button.is-dark.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #363636 #363636 !important}.button.is-dark.is-outlined.is-loading:hover::after,.button.is-dark.is-outlined.is-loading.is-hovered::after,.button.is-dark.is-outlined.is-loading:focus::after,.button.is-dark.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-dark.is-outlined[disabled],fieldset[disabled] .button.is-dark.is-outlined{background-color:rgba(0,0,0,0);border-color:#363636;box-shadow:none;color:#363636}.button.is-dark.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-dark.is-inverted.is-outlined:hover,.button.is-dark.is-inverted.is-outlined.is-hovered,.button.is-dark.is-inverted.is-outlined:focus,.button.is-dark.is-inverted.is-outlined.is-focused{background-color:#fff;color:#363636}.button.is-dark.is-inverted.is-outlined.is-loading:hover::after,.button.is-dark.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-dark.is-inverted.is-outlined.is-loading:focus::after,.button.is-dark.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #363636 #363636 !important}.button.is-dark.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-dark.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-primary{background-color:#00d1b2;border-color:rgba(0,0,0,0);color:#fff}.button.is-primary:hover,.button.is-primary.is-hovered{background-color:#00c4a7;border-color:rgba(0,0,0,0);color:#fff}.button.is-primary:focus,.button.is-primary.is-focused{border-color:rgba(0,0,0,0);color:#fff}.button.is-primary:focus:not(:active),.button.is-primary.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(0,209,178,.25)}.button.is-primary:active,.button.is-primary.is-active{background-color:#00b89c;border-color:rgba(0,0,0,0);color:#fff}.button.is-primary[disabled],fieldset[disabled] .button.is-primary{background-color:#00d1b2;border-color:#00d1b2;box-shadow:none}.button.is-primary.is-inverted{background-color:#fff;color:#00d1b2}.button.is-primary.is-inverted:hover,.button.is-primary.is-inverted.is-hovered{background-color:#f2f2f2}.button.is-primary.is-inverted[disabled],fieldset[disabled] .button.is-primary.is-inverted{background-color:#fff;border-color:rgba(0,0,0,0);box-shadow:none;color:#00d1b2}.button.is-primary.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-primary.is-outlined{background-color:rgba(0,0,0,0);border-color:#00d1b2;color:#00d1b2}.button.is-primary.is-outlined:hover,.button.is-primary.is-outlined.is-hovered,.button.is-primary.is-outlined:focus,.button.is-primary.is-outlined.is-focused{background-color:#00d1b2;border-color:#00d1b2;color:#fff}.button.is-primary.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #00d1b2 #00d1b2 !important}.button.is-primary.is-outlined.is-loading:hover::after,.button.is-primary.is-outlined.is-loading.is-hovered::after,.button.is-primary.is-outlined.is-loading:focus::after,.button.is-primary.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-primary.is-outlined[disabled],fieldset[disabled] .button.is-primary.is-outlined{background-color:rgba(0,0,0,0);border-color:#00d1b2;box-shadow:none;color:#00d1b2}.button.is-primary.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-primary.is-inverted.is-outlined:hover,.button.is-primary.is-inverted.is-outlined.is-hovered,.button.is-primary.is-inverted.is-outlined:focus,.button.is-primary.is-inverted.is-outlined.is-focused{background-color:#fff;color:#00d1b2}.button.is-primary.is-inverted.is-outlined.is-loading:hover::after,.button.is-primary.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-primary.is-inverted.is-outlined.is-loading:focus::after,.button.is-primary.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #00d1b2 #00d1b2 !important}.button.is-primary.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-primary.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-primary.is-light{background-color:#ebfffc;color:#00947e}.button.is-primary.is-light:hover,.button.is-primary.is-light.is-hovered{background-color:#defffa;border-color:rgba(0,0,0,0);color:#00947e}.button.is-primary.is-light:active,.button.is-primary.is-light.is-active{background-color:#d1fff8;border-color:rgba(0,0,0,0);color:#00947e}.button.is-link{background-color:#485fc7;border-color:rgba(0,0,0,0);color:#fff}.button.is-link:hover,.button.is-link.is-hovered{background-color:#3e56c4;border-color:rgba(0,0,0,0);color:#fff}.button.is-link:focus,.button.is-link.is-focused{border-color:rgba(0,0,0,0);color:#fff}.button.is-link:focus:not(:active),.button.is-link.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(72,95,199,.25)}.button.is-link:active,.button.is-link.is-active{background-color:#3a51bb;border-color:rgba(0,0,0,0);color:#fff}.button.is-link[disabled],fieldset[disabled] .button.is-link{background-color:#485fc7;border-color:#485fc7;box-shadow:none}.button.is-link.is-inverted{background-color:#fff;color:#485fc7}.button.is-link.is-inverted:hover,.button.is-link.is-inverted.is-hovered{background-color:#f2f2f2}.button.is-link.is-inverted[disabled],fieldset[disabled] .button.is-link.is-inverted{background-color:#fff;border-color:rgba(0,0,0,0);box-shadow:none;color:#485fc7}.button.is-link.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-link.is-outlined{background-color:rgba(0,0,0,0);border-color:#485fc7;color:#485fc7}.button.is-link.is-outlined:hover,.button.is-link.is-outlined.is-hovered,.button.is-link.is-outlined:focus,.button.is-link.is-outlined.is-focused{background-color:#485fc7;border-color:#485fc7;color:#fff}.button.is-link.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #485fc7 #485fc7 !important}.button.is-link.is-outlined.is-loading:hover::after,.button.is-link.is-outlined.is-loading.is-hovered::after,.button.is-link.is-outlined.is-loading:focus::after,.button.is-link.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-link.is-outlined[disabled],fieldset[disabled] .button.is-link.is-outlined{background-color:rgba(0,0,0,0);border-color:#485fc7;box-shadow:none;color:#485fc7}.button.is-link.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-link.is-inverted.is-outlined:hover,.button.is-link.is-inverted.is-outlined.is-hovered,.button.is-link.is-inverted.is-outlined:focus,.button.is-link.is-inverted.is-outlined.is-focused{background-color:#fff;color:#485fc7}.button.is-link.is-inverted.is-outlined.is-loading:hover::after,.button.is-link.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-link.is-inverted.is-outlined.is-loading:focus::after,.button.is-link.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #485fc7 #485fc7 !important}.button.is-link.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-link.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-link.is-light{background-color:#eff1fa;color:#3850b7}.button.is-link.is-light:hover,.button.is-link.is-light.is-hovered{background-color:#e6e9f7;border-color:rgba(0,0,0,0);color:#3850b7}.button.is-link.is-light:active,.button.is-link.is-light.is-active{background-color:#dce0f4;border-color:rgba(0,0,0,0);color:#3850b7}.button.is-info{background-color:#3e8ed0;border-color:rgba(0,0,0,0);color:#fff}.button.is-info:hover,.button.is-info.is-hovered{background-color:#3488ce;border-color:rgba(0,0,0,0);color:#fff}.button.is-info:focus,.button.is-info.is-focused{border-color:rgba(0,0,0,0);color:#fff}.button.is-info:focus:not(:active),.button.is-info.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(62,142,208,.25)}.button.is-info:active,.button.is-info.is-active{background-color:#3082c5;border-color:rgba(0,0,0,0);color:#fff}.button.is-info[disabled],fieldset[disabled] .button.is-info{background-color:#3e8ed0;border-color:#3e8ed0;box-shadow:none}.button.is-info.is-inverted{background-color:#fff;color:#3e8ed0}.button.is-info.is-inverted:hover,.button.is-info.is-inverted.is-hovered{background-color:#f2f2f2}.button.is-info.is-inverted[disabled],fieldset[disabled] .button.is-info.is-inverted{background-color:#fff;border-color:rgba(0,0,0,0);box-shadow:none;color:#3e8ed0}.button.is-info.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-info.is-outlined{background-color:rgba(0,0,0,0);border-color:#3e8ed0;color:#3e8ed0}.button.is-info.is-outlined:hover,.button.is-info.is-outlined.is-hovered,.button.is-info.is-outlined:focus,.button.is-info.is-outlined.is-focused{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.button.is-info.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #3e8ed0 #3e8ed0 !important}.button.is-info.is-outlined.is-loading:hover::after,.button.is-info.is-outlined.is-loading.is-hovered::after,.button.is-info.is-outlined.is-loading:focus::after,.button.is-info.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-info.is-outlined[disabled],fieldset[disabled] .button.is-info.is-outlined{background-color:rgba(0,0,0,0);border-color:#3e8ed0;box-shadow:none;color:#3e8ed0}.button.is-info.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-info.is-inverted.is-outlined:hover,.button.is-info.is-inverted.is-outlined.is-hovered,.button.is-info.is-inverted.is-outlined:focus,.button.is-info.is-inverted.is-outlined.is-focused{background-color:#fff;color:#3e8ed0}.button.is-info.is-inverted.is-outlined.is-loading:hover::after,.button.is-info.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-info.is-inverted.is-outlined.is-loading:focus::after,.button.is-info.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #3e8ed0 #3e8ed0 !important}.button.is-info.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-info.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-info.is-light{background-color:#eff5fb;color:#296fa8}.button.is-info.is-light:hover,.button.is-info.is-light.is-hovered{background-color:#e4eff9;border-color:rgba(0,0,0,0);color:#296fa8}.button.is-info.is-light:active,.button.is-info.is-light.is-active{background-color:#dae9f6;border-color:rgba(0,0,0,0);color:#296fa8}.button.is-success{background-color:#48c78e;border-color:rgba(0,0,0,0);color:#fff}.button.is-success:hover,.button.is-success.is-hovered{background-color:#3ec487;border-color:rgba(0,0,0,0);color:#fff}.button.is-success:focus,.button.is-success.is-focused{border-color:rgba(0,0,0,0);color:#fff}.button.is-success:focus:not(:active),.button.is-success.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(72,199,142,.25)}.button.is-success:active,.button.is-success.is-active{background-color:#3abb81;border-color:rgba(0,0,0,0);color:#fff}.button.is-success[disabled],fieldset[disabled] .button.is-success{background-color:#48c78e;border-color:#48c78e;box-shadow:none}.button.is-success.is-inverted{background-color:#fff;color:#48c78e}.button.is-success.is-inverted:hover,.button.is-success.is-inverted.is-hovered{background-color:#f2f2f2}.button.is-success.is-inverted[disabled],fieldset[disabled] .button.is-success.is-inverted{background-color:#fff;border-color:rgba(0,0,0,0);box-shadow:none;color:#48c78e}.button.is-success.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-success.is-outlined{background-color:rgba(0,0,0,0);border-color:#48c78e;color:#48c78e}.button.is-success.is-outlined:hover,.button.is-success.is-outlined.is-hovered,.button.is-success.is-outlined:focus,.button.is-success.is-outlined.is-focused{background-color:#48c78e;border-color:#48c78e;color:#fff}.button.is-success.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #48c78e #48c78e !important}.button.is-success.is-outlined.is-loading:hover::after,.button.is-success.is-outlined.is-loading.is-hovered::after,.button.is-success.is-outlined.is-loading:focus::after,.button.is-success.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-success.is-outlined[disabled],fieldset[disabled] .button.is-success.is-outlined{background-color:rgba(0,0,0,0);border-color:#48c78e;box-shadow:none;color:#48c78e}.button.is-success.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-success.is-inverted.is-outlined:hover,.button.is-success.is-inverted.is-outlined.is-hovered,.button.is-success.is-inverted.is-outlined:focus,.button.is-success.is-inverted.is-outlined.is-focused{background-color:#fff;color:#48c78e}.button.is-success.is-inverted.is-outlined.is-loading:hover::after,.button.is-success.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-success.is-inverted.is-outlined.is-loading:focus::after,.button.is-success.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #48c78e #48c78e !important}.button.is-success.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-success.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-success.is-light{background-color:#effaf5;color:#257953}.button.is-success.is-light:hover,.button.is-success.is-light.is-hovered{background-color:#e6f7ef;border-color:rgba(0,0,0,0);color:#257953}.button.is-success.is-light:active,.button.is-success.is-light.is-active{background-color:#dcf4e9;border-color:rgba(0,0,0,0);color:#257953}.button.is-warning{background-color:#ffe08a;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-warning:hover,.button.is-warning.is-hovered{background-color:#ffdc7d;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-warning:focus,.button.is-warning.is-focused{border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-warning:focus:not(:active),.button.is-warning.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(255,224,138,.25)}.button.is-warning:active,.button.is-warning.is-active{background-color:#ffd970;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.button.is-warning[disabled],fieldset[disabled] .button.is-warning{background-color:#ffe08a;border-color:#ffe08a;box-shadow:none}.button.is-warning.is-inverted{background-color:rgba(0,0,0,.7);color:#ffe08a}.button.is-warning.is-inverted:hover,.button.is-warning.is-inverted.is-hovered{background-color:rgba(0,0,0,.7)}.button.is-warning.is-inverted[disabled],fieldset[disabled] .button.is-warning.is-inverted{background-color:rgba(0,0,0,.7);border-color:rgba(0,0,0,0);box-shadow:none;color:#ffe08a}.button.is-warning.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.7) rgba(0,0,0,.7) !important}.button.is-warning.is-outlined{background-color:rgba(0,0,0,0);border-color:#ffe08a;color:#ffe08a}.button.is-warning.is-outlined:hover,.button.is-warning.is-outlined.is-hovered,.button.is-warning.is-outlined:focus,.button.is-warning.is-outlined.is-focused{background-color:#ffe08a;border-color:#ffe08a;color:rgba(0,0,0,.7)}.button.is-warning.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #ffe08a #ffe08a !important}.button.is-warning.is-outlined.is-loading:hover::after,.button.is-warning.is-outlined.is-loading.is-hovered::after,.button.is-warning.is-outlined.is-loading:focus::after,.button.is-warning.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.7) rgba(0,0,0,.7) !important}.button.is-warning.is-outlined[disabled],fieldset[disabled] .button.is-warning.is-outlined{background-color:rgba(0,0,0,0);border-color:#ffe08a;box-shadow:none;color:#ffe08a}.button.is-warning.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,.7);color:rgba(0,0,0,.7)}.button.is-warning.is-inverted.is-outlined:hover,.button.is-warning.is-inverted.is-outlined.is-hovered,.button.is-warning.is-inverted.is-outlined:focus,.button.is-warning.is-inverted.is-outlined.is-focused{background-color:rgba(0,0,0,.7);color:#ffe08a}.button.is-warning.is-inverted.is-outlined.is-loading:hover::after,.button.is-warning.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-warning.is-inverted.is-outlined.is-loading:focus::after,.button.is-warning.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #ffe08a #ffe08a !important}.button.is-warning.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-warning.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,.7);box-shadow:none;color:rgba(0,0,0,.7)}.button.is-warning.is-light{background-color:#fffaeb;color:#946c00}.button.is-warning.is-light:hover,.button.is-warning.is-light.is-hovered{background-color:#fff6de;border-color:rgba(0,0,0,0);color:#946c00}.button.is-warning.is-light:active,.button.is-warning.is-light.is-active{background-color:#fff3d1;border-color:rgba(0,0,0,0);color:#946c00}.button.is-danger{background-color:#f14668;border-color:rgba(0,0,0,0);color:#fff}.button.is-danger:hover,.button.is-danger.is-hovered{background-color:#f03a5f;border-color:rgba(0,0,0,0);color:#fff}.button.is-danger:focus,.button.is-danger.is-focused{border-color:rgba(0,0,0,0);color:#fff}.button.is-danger:focus:not(:active),.button.is-danger.is-focused:not(:active){box-shadow:0 0 0 .125em rgba(241,70,104,.25)}.button.is-danger:active,.button.is-danger.is-active{background-color:#ef2e55;border-color:rgba(0,0,0,0);color:#fff}.button.is-danger[disabled],fieldset[disabled] .button.is-danger{background-color:#f14668;border-color:#f14668;box-shadow:none}.button.is-danger.is-inverted{background-color:#fff;color:#f14668}.button.is-danger.is-inverted:hover,.button.is-danger.is-inverted.is-hovered{background-color:#f2f2f2}.button.is-danger.is-inverted[disabled],fieldset[disabled] .button.is-danger.is-inverted{background-color:#fff;border-color:rgba(0,0,0,0);box-shadow:none;color:#f14668}.button.is-danger.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-danger.is-outlined{background-color:rgba(0,0,0,0);border-color:#f14668;color:#f14668}.button.is-danger.is-outlined:hover,.button.is-danger.is-outlined.is-hovered,.button.is-danger.is-outlined:focus,.button.is-danger.is-outlined.is-focused{background-color:#f14668;border-color:#f14668;color:#fff}.button.is-danger.is-outlined.is-loading::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #f14668 #f14668 !important}.button.is-danger.is-outlined.is-loading:hover::after,.button.is-danger.is-outlined.is-loading.is-hovered::after,.button.is-danger.is-outlined.is-loading:focus::after,.button.is-danger.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff #fff !important}.button.is-danger.is-outlined[disabled],fieldset[disabled] .button.is-danger.is-outlined{background-color:rgba(0,0,0,0);border-color:#f14668;box-shadow:none;color:#f14668}.button.is-danger.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;color:#fff}.button.is-danger.is-inverted.is-outlined:hover,.button.is-danger.is-inverted.is-outlined.is-hovered,.button.is-danger.is-inverted.is-outlined:focus,.button.is-danger.is-inverted.is-outlined.is-focused{background-color:#fff;color:#f14668}.button.is-danger.is-inverted.is-outlined.is-loading:hover::after,.button.is-danger.is-inverted.is-outlined.is-loading.is-hovered::after,.button.is-danger.is-inverted.is-outlined.is-loading:focus::after,.button.is-danger.is-inverted.is-outlined.is-loading.is-focused::after{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #f14668 #f14668 !important}.button.is-danger.is-inverted.is-outlined[disabled],fieldset[disabled] .button.is-danger.is-inverted.is-outlined{background-color:rgba(0,0,0,0);border-color:#fff;box-shadow:none;color:#fff}.button.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.button.is-danger.is-light:hover,.button.is-danger.is-light.is-hovered{background-color:#fde0e6;border-color:rgba(0,0,0,0);color:#cc0f35}.button.is-danger.is-light:active,.button.is-danger.is-light.is-active{background-color:#fcd4dc;border-color:rgba(0,0,0,0);color:#cc0f35}.button.is-small{font-size:.75rem}.button.is-small:not(.is-rounded){border-radius:2px}.button.is-normal{font-size:1rem}.button.is-medium{font-size:1.25rem}.button.is-large{font-size:1.5rem}.button[disabled],fieldset[disabled] .button{background-color:#fff;border-color:#dbdbdb;box-shadow:none;opacity:.5}.button.is-fullwidth{display:flex;width:100%}.button.is-loading{color:rgba(0,0,0,0) !important;pointer-events:none}.button.is-loading::after{position:absolute;left:calc(50% - (1em * 0.5));top:calc(50% - (1em * 0.5));position:absolute !important}.button.is-static{background-color:#f5f5f5;border-color:#dbdbdb;color:#7a7a7a;box-shadow:none;pointer-events:none}.button.is-rounded{border-radius:9999px;padding-left:calc(1em + 0.25em);padding-right:calc(1em + 0.25em)}.buttons{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.buttons .button{margin-bottom:.5rem}.buttons .button:not(:last-child):not(.is-fullwidth){margin-right:.5rem}.buttons:last-child{margin-bottom:-0.5rem}.buttons:not(:last-child){margin-bottom:1rem}.buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large){font-size:.75rem}.buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded){border-radius:2px}.buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large){font-size:1.25rem}.buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium){font-size:1.5rem}.buttons.has-addons .button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.buttons.has-addons .button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.buttons.has-addons .button:last-child{margin-right:0}.buttons.has-addons .button:hover,.buttons.has-addons .button.is-hovered{z-index:2}.buttons.has-addons .button:focus,.buttons.has-addons .button.is-focused,.buttons.has-addons .button:active,.buttons.has-addons .button.is-active,.buttons.has-addons .button.is-selected{z-index:3}.buttons.has-addons .button:focus:hover,.buttons.has-addons .button.is-focused:hover,.buttons.has-addons .button:active:hover,.buttons.has-addons .button.is-active:hover,.buttons.has-addons .button.is-selected:hover{z-index:4}.buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}.buttons.is-centered{justify-content:center}.buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}.buttons.is-right{justify-content:flex-end}.buttons.is-right:not(.has-addons) .button:not(.is-fullwidth){margin-left:.25rem;margin-right:.25rem}@media screen and (max-width: 768px){.button.is-responsive.is-small{font-size:.5625rem}.button.is-responsive,.button.is-responsive.is-normal{font-size:.65625rem}.button.is-responsive.is-medium{font-size:.75rem}.button.is-responsive.is-large{font-size:1rem}}@media screen and (min-width: 769px)and (max-width: 1023px){.button.is-responsive.is-small{font-size:.65625rem}.button.is-responsive,.button.is-responsive.is-normal{font-size:.75rem}.button.is-responsive.is-medium{font-size:1rem}.button.is-responsive.is-large{font-size:1.25rem}}.container{flex-grow:1;margin:0 auto;position:relative;width:auto}.container.is-fluid{max-width:none !important;padding-left:32px;padding-right:32px;width:100%}@media screen and (min-width: 1024px){.container{max-width:960px}}@media screen and (max-width: 1215px){.container.is-widescreen:not(.is-max-desktop){max-width:1152px}}@media screen and (max-width: 1407px){.container.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen){max-width:1344px}}@media screen and (min-width: 1216px){.container:not(.is-max-desktop){max-width:1152px}}@media screen and (min-width: 1408px){.container:not(.is-max-desktop):not(.is-max-widescreen){max-width:1344px}}.content li+li{margin-top:.25em}.content p:not(:last-child),.content dl:not(:last-child),.content ol:not(:last-child),.content ul:not(:last-child),.content blockquote:not(:last-child),.content pre:not(:last-child),.content table:not(:last-child){margin-bottom:1em}.content h1,.content h2,.content h3,.content h4,.content h5,.content h6{color:#363636;font-weight:600;line-height:1.125}.content h1{font-size:2em;margin-bottom:.5em}.content h1:not(:first-child){margin-top:1em}.content h2{font-size:1.75em;margin-bottom:.5714em}.content h2:not(:first-child){margin-top:1.1428em}.content h3{font-size:1.5em;margin-bottom:.6666em}.content h3:not(:first-child){margin-top:1.3333em}.content h4{font-size:1.25em;margin-bottom:.8em}.content h5{font-size:1.125em;margin-bottom:.8888em}.content h6{font-size:1em;margin-bottom:1em}.content blockquote{background-color:#f5f5f5;border-left:5px solid #dbdbdb;padding:1.25em 1.5em}.content ol{list-style-position:outside;margin-left:2em;margin-top:1em}.content ol:not([type]){list-style-type:decimal}.content ol:not([type]).is-lower-alpha{list-style-type:lower-alpha}.content ol:not([type]).is-lower-roman{list-style-type:lower-roman}.content ol:not([type]).is-upper-alpha{list-style-type:upper-alpha}.content ol:not([type]).is-upper-roman{list-style-type:upper-roman}.content ul{list-style:disc outside;margin-left:2em;margin-top:1em}.content ul ul{list-style-type:circle;margin-top:.5em}.content ul ul ul{list-style-type:square}.content dd{margin-left:2em}.content figure{margin-left:2em;margin-right:2em;text-align:center}.content figure:not(:first-child){margin-top:2em}.content figure:not(:last-child){margin-bottom:2em}.content figure img{display:inline-block}.content figure figcaption{font-style:italic}.content pre{-webkit-overflow-scrolling:touch;overflow-x:auto;padding:1.25em 1.5em;white-space:pre;word-wrap:normal}.content sup,.content sub{font-size:75%}.content table{width:100%}.content table td,.content table th{border:1px solid #dbdbdb;border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.content table th{color:#363636}.content table th:not([align]){text-align:inherit}.content table thead td,.content table thead th{border-width:0 0 2px;color:#363636}.content table tfoot td,.content table tfoot th{border-width:2px 0 0;color:#363636}.content table tbody tr:last-child td,.content table tbody tr:last-child th{border-bottom-width:0}.content .tabs li+li{margin-top:0}.content.is-small{font-size:.75rem}.content.is-normal{font-size:1rem}.content.is-medium{font-size:1.25rem}.content.is-large{font-size:1.5rem}.icon{align-items:center;display:inline-flex;justify-content:center;height:1.5rem;width:1.5rem}.icon.is-small{height:1rem;width:1rem}.icon.is-medium{height:2rem;width:2rem}.icon.is-large{height:3rem;width:3rem}.icon-text{align-items:flex-start;color:inherit;display:inline-flex;flex-wrap:wrap;line-height:1.5rem;vertical-align:top}.icon-text .icon{flex-grow:0;flex-shrink:0}.icon-text .icon:not(:last-child){margin-right:.25em}.icon-text .icon:not(:first-child){margin-left:.25em}div.icon-text{display:flex}.image{display:block;position:relative}.image img{display:block;height:auto;width:100%}.image img.is-rounded{border-radius:9999px}.image.is-fullwidth{width:100%}.image.is-square img,.image.is-square .has-ratio,.image.is-1by1 img,.image.is-1by1 .has-ratio,.image.is-5by4 img,.image.is-5by4 .has-ratio,.image.is-4by3 img,.image.is-4by3 .has-ratio,.image.is-3by2 img,.image.is-3by2 .has-ratio,.image.is-5by3 img,.image.is-5by3 .has-ratio,.image.is-16by9 img,.image.is-16by9 .has-ratio,.image.is-2by1 img,.image.is-2by1 .has-ratio,.image.is-3by1 img,.image.is-3by1 .has-ratio,.image.is-4by5 img,.image.is-4by5 .has-ratio,.image.is-3by4 img,.image.is-3by4 .has-ratio,.image.is-2by3 img,.image.is-2by3 .has-ratio,.image.is-3by5 img,.image.is-3by5 .has-ratio,.image.is-9by16 img,.image.is-9by16 .has-ratio,.image.is-1by2 img,.image.is-1by2 .has-ratio,.image.is-1by3 img,.image.is-1by3 .has-ratio{height:100%;width:100%}.image.is-square,.image.is-1by1{padding-top:100%}.image.is-5by4{padding-top:80%}.image.is-4by3{padding-top:75%}.image.is-3by2{padding-top:66.6666%}.image.is-5by3{padding-top:60%}.image.is-16by9{padding-top:56.25%}.image.is-2by1{padding-top:50%}.image.is-3by1{padding-top:33.3333%}.image.is-4by5{padding-top:125%}.image.is-3by4{padding-top:133.3333%}.image.is-2by3{padding-top:150%}.image.is-3by5{padding-top:166.6666%}.image.is-9by16{padding-top:177.7777%}.image.is-1by2{padding-top:200%}.image.is-1by3{padding-top:300%}.image.is-16x16{height:16px;width:16px}.image.is-24x24{height:24px;width:24px}.image.is-32x32{height:32px;width:32px}.image.is-48x48{height:48px;width:48px}.image.is-64x64{height:64px;width:64px}.image.is-96x96{height:96px;width:96px}.image.is-128x128{height:128px;width:128px}.notification{background-color:#f5f5f5;border-radius:4px;position:relative;padding:1.25rem 2.5rem 1.25rem 1.5rem}.notification a:not(.button):not(.dropdown-item){color:currentColor;text-decoration:underline}.notification strong{color:currentColor}.notification code,.notification pre{background:#fff}.notification pre code{background:rgba(0,0,0,0)}.notification>.delete{right:.5rem;position:absolute;top:.5rem}.notification .title,.notification .subtitle,.notification .content{color:currentColor}.notification.is-white{background-color:#fff;color:#0a0a0a}.notification.is-black{background-color:#0a0a0a;color:#fff}.notification.is-light{background-color:#f5f5f5;color:rgba(0,0,0,.7)}.notification.is-dark{background-color:#363636;color:#fff}.notification.is-primary{background-color:#00d1b2;color:#fff}.notification.is-primary.is-light{background-color:#ebfffc;color:#00947e}.notification.is-link{background-color:#485fc7;color:#fff}.notification.is-link.is-light{background-color:#eff1fa;color:#3850b7}.notification.is-info{background-color:#3e8ed0;color:#fff}.notification.is-info.is-light{background-color:#eff5fb;color:#296fa8}.notification.is-success{background-color:#48c78e;color:#fff}.notification.is-success.is-light{background-color:#effaf5;color:#257953}.notification.is-warning{background-color:#ffe08a;color:rgba(0,0,0,.7)}.notification.is-warning.is-light{background-color:#fffaeb;color:#946c00}.notification.is-danger{background-color:#f14668;color:#fff}.notification.is-danger.is-light{background-color:#feecf0;color:#cc0f35}.progress{-moz-appearance:none;-webkit-appearance:none;border:none;border-radius:9999px;display:block;height:1rem;overflow:hidden;padding:0;width:100%}.progress::-webkit-progress-bar{background-color:#ededed}.progress::-webkit-progress-value{background-color:#4a4a4a}.progress::-moz-progress-bar{background-color:#4a4a4a}.progress::-ms-fill{background-color:#4a4a4a;border:none}.progress.is-white::-webkit-progress-value{background-color:#fff}.progress.is-white::-moz-progress-bar{background-color:#fff}.progress.is-white::-ms-fill{background-color:#fff}.progress.is-white:indeterminate{background-image:linear-gradient(to right, hsl(0deg, 0%, 100%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-black::-webkit-progress-value{background-color:#0a0a0a}.progress.is-black::-moz-progress-bar{background-color:#0a0a0a}.progress.is-black::-ms-fill{background-color:#0a0a0a}.progress.is-black:indeterminate{background-image:linear-gradient(to right, hsl(0deg, 0%, 4%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-light::-webkit-progress-value{background-color:#f5f5f5}.progress.is-light::-moz-progress-bar{background-color:#f5f5f5}.progress.is-light::-ms-fill{background-color:#f5f5f5}.progress.is-light:indeterminate{background-image:linear-gradient(to right, hsl(0deg, 0%, 96%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-dark::-webkit-progress-value{background-color:#363636}.progress.is-dark::-moz-progress-bar{background-color:#363636}.progress.is-dark::-ms-fill{background-color:#363636}.progress.is-dark:indeterminate{background-image:linear-gradient(to right, hsl(0deg, 0%, 21%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-primary::-webkit-progress-value{background-color:#00d1b2}.progress.is-primary::-moz-progress-bar{background-color:#00d1b2}.progress.is-primary::-ms-fill{background-color:#00d1b2}.progress.is-primary:indeterminate{background-image:linear-gradient(to right, hsl(171deg, 100%, 41%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-link::-webkit-progress-value{background-color:#485fc7}.progress.is-link::-moz-progress-bar{background-color:#485fc7}.progress.is-link::-ms-fill{background-color:#485fc7}.progress.is-link:indeterminate{background-image:linear-gradient(to right, hsl(229deg, 53%, 53%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-info::-webkit-progress-value{background-color:#3e8ed0}.progress.is-info::-moz-progress-bar{background-color:#3e8ed0}.progress.is-info::-ms-fill{background-color:#3e8ed0}.progress.is-info:indeterminate{background-image:linear-gradient(to right, hsl(207deg, 61%, 53%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-success::-webkit-progress-value{background-color:#48c78e}.progress.is-success::-moz-progress-bar{background-color:#48c78e}.progress.is-success::-ms-fill{background-color:#48c78e}.progress.is-success:indeterminate{background-image:linear-gradient(to right, hsl(153deg, 53%, 53%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-warning::-webkit-progress-value{background-color:#ffe08a}.progress.is-warning::-moz-progress-bar{background-color:#ffe08a}.progress.is-warning::-ms-fill{background-color:#ffe08a}.progress.is-warning:indeterminate{background-image:linear-gradient(to right, hsl(44deg, 100%, 77%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress.is-danger::-webkit-progress-value{background-color:#f14668}.progress.is-danger::-moz-progress-bar{background-color:#f14668}.progress.is-danger::-ms-fill{background-color:#f14668}.progress.is-danger:indeterminate{background-image:linear-gradient(to right, hsl(348deg, 86%, 61%) 30%, hsl(0deg, 0%, 93%) 30%)}.progress:indeterminate{animation-duration:1.5s;animation-iteration-count:infinite;animation-name:moveIndeterminate;animation-timing-function:linear;background-color:#ededed;background-image:linear-gradient(to right, hsl(0deg, 0%, 29%) 30%, hsl(0deg, 0%, 93%) 30%);background-position:top left;background-repeat:no-repeat;background-size:150% 150%}.progress:indeterminate::-webkit-progress-bar{background-color:rgba(0,0,0,0)}.progress:indeterminate::-moz-progress-bar{background-color:rgba(0,0,0,0)}.progress:indeterminate::-ms-fill{animation-name:none}.progress.is-small{height:.75rem}.progress.is-medium{height:1.25rem}.progress.is-large{height:1.5rem}@keyframes moveIndeterminate{from{background-position:200% 0}to{background-position:-200% 0}}.table{background-color:#fff;color:#363636}.table td,.table th{border:1px solid #dbdbdb;border-width:0 0 1px;padding:.5em .75em;vertical-align:top}.table td.is-white,.table th.is-white{background-color:#fff;border-color:#fff;color:#0a0a0a}.table td.is-black,.table th.is-black{background-color:#0a0a0a;border-color:#0a0a0a;color:#fff}.table td.is-light,.table th.is-light{background-color:#f5f5f5;border-color:#f5f5f5;color:rgba(0,0,0,.7)}.table td.is-dark,.table th.is-dark{background-color:#363636;border-color:#363636;color:#fff}.table td.is-primary,.table th.is-primary{background-color:#00d1b2;border-color:#00d1b2;color:#fff}.table td.is-link,.table th.is-link{background-color:#485fc7;border-color:#485fc7;color:#fff}.table td.is-info,.table th.is-info{background-color:#3e8ed0;border-color:#3e8ed0;color:#fff}.table td.is-success,.table th.is-success{background-color:#48c78e;border-color:#48c78e;color:#fff}.table td.is-warning,.table th.is-warning{background-color:#ffe08a;border-color:#ffe08a;color:rgba(0,0,0,.7)}.table td.is-danger,.table th.is-danger{background-color:#f14668;border-color:#f14668;color:#fff}.table td.is-narrow,.table th.is-narrow{white-space:nowrap;width:1%}.table td.is-selected,.table th.is-selected{background-color:#00d1b2;color:#fff}.table td.is-selected a,.table td.is-selected strong,.table th.is-selected a,.table th.is-selected strong{color:currentColor}.table td.is-vcentered,.table th.is-vcentered{vertical-align:middle}.table th{color:#363636}.table th:not([align]){text-align:left}.table tr.is-selected{background-color:#00d1b2;color:#fff}.table tr.is-selected a,.table tr.is-selected strong{color:currentColor}.table tr.is-selected td,.table tr.is-selected th{border-color:#fff;color:currentColor}.table thead{background-color:rgba(0,0,0,0)}.table thead td,.table thead th{border-width:0 0 2px;color:#363636}.table tfoot{background-color:rgba(0,0,0,0)}.table tfoot td,.table tfoot th{border-width:2px 0 0;color:#363636}.table tbody{background-color:rgba(0,0,0,0)}.table tbody tr:last-child td,.table tbody tr:last-child th{border-bottom-width:0}.table.is-bordered td,.table.is-bordered th{border-width:1px}.table.is-bordered tr:last-child td,.table.is-bordered tr:last-child th{border-bottom-width:1px}.table.is-fullwidth{width:100%}.table.is-hoverable tbody tr:not(.is-selected):hover{background-color:#fafafa}.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:#fafafa}.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(even){background-color:#f5f5f5}.table.is-narrow td,.table.is-narrow th{padding:.25em .5em}.table.is-striped tbody tr:not(.is-selected):nth-child(even){background-color:#fafafa}.table-container{-webkit-overflow-scrolling:touch;overflow:auto;overflow-y:hidden;max-width:100%}.tags{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start}.tags .tag{margin-bottom:.5rem}.tags .tag:not(:last-child){margin-right:.5rem}.tags:last-child{margin-bottom:-0.5rem}.tags:not(:last-child){margin-bottom:1rem}.tags.are-medium .tag:not(.is-normal):not(.is-large){font-size:1rem}.tags.are-large .tag:not(.is-normal):not(.is-medium){font-size:1.25rem}.tags.is-centered{justify-content:center}.tags.is-centered .tag{margin-right:.25rem;margin-left:.25rem}.tags.is-right{justify-content:flex-end}.tags.is-right .tag:not(:first-child){margin-left:.5rem}.tags.is-right .tag:not(:last-child){margin-right:0}.tags.has-addons .tag{margin-right:0}.tags.has-addons .tag:not(:first-child){margin-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.tags.has-addons .tag:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.tag:not(body){align-items:center;background-color:#f5f5f5;border-radius:4px;color:#4a4a4a;display:inline-flex;font-size:.75rem;height:2em;justify-content:center;line-height:1.5;padding-left:.75em;padding-right:.75em;white-space:nowrap}.tag:not(body) .delete{margin-left:.25rem;margin-right:-0.375rem}.tag:not(body).is-white{background-color:#fff;color:#0a0a0a}.tag:not(body).is-black{background-color:#0a0a0a;color:#fff}.tag:not(body).is-light{background-color:#f5f5f5;color:rgba(0,0,0,.7)}.tag:not(body).is-dark{background-color:#363636;color:#fff}.tag:not(body).is-primary{background-color:#00d1b2;color:#fff}.tag:not(body).is-primary.is-light{background-color:#ebfffc;color:#00947e}.tag:not(body).is-link{background-color:#485fc7;color:#fff}.tag:not(body).is-link.is-light{background-color:#eff1fa;color:#3850b7}.tag:not(body).is-info{background-color:#3e8ed0;color:#fff}.tag:not(body).is-info.is-light{background-color:#eff5fb;color:#296fa8}.tag:not(body).is-success{background-color:#48c78e;color:#fff}.tag:not(body).is-success.is-light{background-color:#effaf5;color:#257953}.tag:not(body).is-warning{background-color:#ffe08a;color:rgba(0,0,0,.7)}.tag:not(body).is-warning.is-light{background-color:#fffaeb;color:#946c00}.tag:not(body).is-danger{background-color:#f14668;color:#fff}.tag:not(body).is-danger.is-light{background-color:#feecf0;color:#cc0f35}.tag:not(body).is-normal{font-size:.75rem}.tag:not(body).is-medium{font-size:1rem}.tag:not(body).is-large{font-size:1.25rem}.tag:not(body) .icon:first-child:not(:last-child){margin-left:-0.375em;margin-right:.1875em}.tag:not(body) .icon:last-child:not(:first-child){margin-left:.1875em;margin-right:-0.375em}.tag:not(body) .icon:first-child:last-child{margin-left:-0.375em;margin-right:-0.375em}.tag:not(body).is-delete{margin-left:1px;padding:0;position:relative;width:2em}.tag:not(body).is-delete::before,.tag:not(body).is-delete::after{background-color:currentColor;content:"";display:block;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) rotate(45deg);transform-origin:center center}.tag:not(body).is-delete::before{height:1px;width:50%}.tag:not(body).is-delete::after{height:50%;width:1px}.tag:not(body).is-delete:hover,.tag:not(body).is-delete:focus{background-color:#e8e8e8}.tag:not(body).is-delete:active{background-color:#dbdbdb}.tag:not(body).is-rounded{border-radius:9999px}a.tag:hover{text-decoration:underline}.title,.subtitle{word-break:break-word}.title em,.title span,.subtitle em,.subtitle span{font-weight:inherit}.title sub,.subtitle sub{font-size:.75em}.title sup,.subtitle sup{font-size:.75em}.title .tag,.subtitle .tag{vertical-align:middle}.title{color:#363636;font-size:2rem;font-weight:600;line-height:1.125}.title strong{color:inherit;font-weight:inherit}.title:not(.is-spaced)+.subtitle{margin-top:-1.25rem}.title.is-1{font-size:3rem}.title.is-2{font-size:2.5rem}.title.is-3{font-size:2rem}.title.is-4{font-size:1.5rem}.title.is-5{font-size:1.25rem}.title.is-6{font-size:1rem}.title.is-7{font-size:.75rem}.subtitle{color:#4a4a4a;font-size:1.25rem;font-weight:400;line-height:1.25}.subtitle strong{color:#363636;font-weight:600}.subtitle:not(.is-spaced)+.title{margin-top:-1.25rem}.subtitle.is-1{font-size:3rem}.subtitle.is-2{font-size:2.5rem}.subtitle.is-3{font-size:2rem}.subtitle.is-4{font-size:1.5rem}.subtitle.is-5{font-size:1.25rem}.subtitle.is-6{font-size:1rem}.subtitle.is-7{font-size:.75rem}.heading{display:block;font-size:11px;letter-spacing:1px;margin-bottom:5px;text-transform:uppercase}.number{align-items:center;background-color:#f5f5f5;border-radius:9999px;display:inline-flex;font-size:1.25rem;height:2em;justify-content:center;margin-right:1.5rem;min-width:2.5em;padding:.25rem .5rem;text-align:center;vertical-align:top}.select select,.textarea,.input{background-color:#fff;border-color:#dbdbdb;border-radius:4px;color:#363636}.select select::-moz-placeholder,.textarea::-moz-placeholder,.input::-moz-placeholder{color:rgba(54,54,54,.3)}.select select::-webkit-input-placeholder,.textarea::-webkit-input-placeholder,.input::-webkit-input-placeholder{color:rgba(54,54,54,.3)}.select select:-moz-placeholder,.textarea:-moz-placeholder,.input:-moz-placeholder{color:rgba(54,54,54,.3)}.select select:-ms-input-placeholder,.textarea:-ms-input-placeholder,.input:-ms-input-placeholder{color:rgba(54,54,54,.3)}.select select:hover,.textarea:hover,.input:hover,.select select.is-hovered,.is-hovered.textarea,.is-hovered.input{border-color:#b5b5b5}.select select:focus,.textarea:focus,.input:focus,.select select.is-focused,.is-focused.textarea,.is-focused.input,.select select:active,.textarea:active,.input:active,.select select.is-active,.is-active.textarea,.is-active.input{border-color:#485fc7;box-shadow:0 0 0 .125em rgba(72,95,199,.25)}.select select[disabled],[disabled].textarea,[disabled].input,fieldset[disabled] .select select,.select fieldset[disabled] select,fieldset[disabled] .textarea,fieldset[disabled] .input{background-color:#f5f5f5;border-color:#f5f5f5;box-shadow:none;color:#7a7a7a}.select select[disabled]::-moz-placeholder,[disabled].textarea::-moz-placeholder,[disabled].input::-moz-placeholder,fieldset[disabled] .select select::-moz-placeholder,.select fieldset[disabled] select::-moz-placeholder,fieldset[disabled] .textarea::-moz-placeholder,fieldset[disabled] .input::-moz-placeholder{color:rgba(122,122,122,.3)}.select select[disabled]::-webkit-input-placeholder,[disabled].textarea::-webkit-input-placeholder,[disabled].input::-webkit-input-placeholder,fieldset[disabled] .select select::-webkit-input-placeholder,.select fieldset[disabled] select::-webkit-input-placeholder,fieldset[disabled] .textarea::-webkit-input-placeholder,fieldset[disabled] .input::-webkit-input-placeholder{color:rgba(122,122,122,.3)}.select select[disabled]:-moz-placeholder,[disabled].textarea:-moz-placeholder,[disabled].input:-moz-placeholder,fieldset[disabled] .select select:-moz-placeholder,.select fieldset[disabled] select:-moz-placeholder,fieldset[disabled] .textarea:-moz-placeholder,fieldset[disabled] .input:-moz-placeholder{color:rgba(122,122,122,.3)}.select select[disabled]:-ms-input-placeholder,[disabled].textarea:-ms-input-placeholder,[disabled].input:-ms-input-placeholder,fieldset[disabled] .select select:-ms-input-placeholder,.select fieldset[disabled] select:-ms-input-placeholder,fieldset[disabled] .textarea:-ms-input-placeholder,fieldset[disabled] .input:-ms-input-placeholder{color:rgba(122,122,122,.3)}.textarea,.input{box-shadow:inset 0 .0625em .125em rgba(10,10,10,.05);max-width:100%;width:100%}[readonly].textarea,[readonly].input{box-shadow:none}.is-white.textarea,.is-white.input{border-color:#fff}.is-white.textarea:focus,.is-white.input:focus,.is-white.is-focused.textarea,.is-white.is-focused.input,.is-white.textarea:active,.is-white.input:active,.is-white.is-active.textarea,.is-white.is-active.input{box-shadow:0 0 0 .125em rgba(255,255,255,.25)}.is-black.textarea,.is-black.input{border-color:#0a0a0a}.is-black.textarea:focus,.is-black.input:focus,.is-black.is-focused.textarea,.is-black.is-focused.input,.is-black.textarea:active,.is-black.input:active,.is-black.is-active.textarea,.is-black.is-active.input{box-shadow:0 0 0 .125em rgba(10,10,10,.25)}.is-light.textarea,.is-light.input{border-color:#f5f5f5}.is-light.textarea:focus,.is-light.input:focus,.is-light.is-focused.textarea,.is-light.is-focused.input,.is-light.textarea:active,.is-light.input:active,.is-light.is-active.textarea,.is-light.is-active.input{box-shadow:0 0 0 .125em rgba(245,245,245,.25)}.is-dark.textarea,.is-dark.input{border-color:#363636}.is-dark.textarea:focus,.is-dark.input:focus,.is-dark.is-focused.textarea,.is-dark.is-focused.input,.is-dark.textarea:active,.is-dark.input:active,.is-dark.is-active.textarea,.is-dark.is-active.input{box-shadow:0 0 0 .125em rgba(54,54,54,.25)}.is-primary.textarea,.is-primary.input{border-color:#00d1b2}.is-primary.textarea:focus,.is-primary.input:focus,.is-primary.is-focused.textarea,.is-primary.is-focused.input,.is-primary.textarea:active,.is-primary.input:active,.is-primary.is-active.textarea,.is-primary.is-active.input{box-shadow:0 0 0 .125em rgba(0,209,178,.25)}.is-link.textarea,.is-link.input{border-color:#485fc7}.is-link.textarea:focus,.is-link.input:focus,.is-link.is-focused.textarea,.is-link.is-focused.input,.is-link.textarea:active,.is-link.input:active,.is-link.is-active.textarea,.is-link.is-active.input{box-shadow:0 0 0 .125em rgba(72,95,199,.25)}.is-info.textarea,.is-info.input{border-color:#3e8ed0}.is-info.textarea:focus,.is-info.input:focus,.is-info.is-focused.textarea,.is-info.is-focused.input,.is-info.textarea:active,.is-info.input:active,.is-info.is-active.textarea,.is-info.is-active.input{box-shadow:0 0 0 .125em rgba(62,142,208,.25)}.is-success.textarea,.is-success.input{border-color:#48c78e}.is-success.textarea:focus,.is-success.input:focus,.is-success.is-focused.textarea,.is-success.is-focused.input,.is-success.textarea:active,.is-success.input:active,.is-success.is-active.textarea,.is-success.is-active.input{box-shadow:0 0 0 .125em rgba(72,199,142,.25)}.is-warning.textarea,.is-warning.input{border-color:#ffe08a}.is-warning.textarea:focus,.is-warning.input:focus,.is-warning.is-focused.textarea,.is-warning.is-focused.input,.is-warning.textarea:active,.is-warning.input:active,.is-warning.is-active.textarea,.is-warning.is-active.input{box-shadow:0 0 0 .125em rgba(255,224,138,.25)}.is-danger.textarea,.is-danger.input{border-color:#f14668}.is-danger.textarea:focus,.is-danger.input:focus,.is-danger.is-focused.textarea,.is-danger.is-focused.input,.is-danger.textarea:active,.is-danger.input:active,.is-danger.is-active.textarea,.is-danger.is-active.input{box-shadow:0 0 0 .125em rgba(241,70,104,.25)}.is-small.textarea,.is-small.input{border-radius:2px;font-size:.75rem}.is-medium.textarea,.is-medium.input{font-size:1.25rem}.is-large.textarea,.is-large.input{font-size:1.5rem}.is-fullwidth.textarea,.is-fullwidth.input{display:block;width:100%}.is-inline.textarea,.is-inline.input{display:inline;width:auto}.input.is-rounded{border-radius:9999px;padding-left:calc(calc(0.75em - 1px) + 0.375em);padding-right:calc(calc(0.75em - 1px) + 0.375em)}.input.is-static{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0);box-shadow:none;padding-left:0;padding-right:0}.textarea{display:block;max-width:100%;min-width:100%;padding:calc(0.75em - 1px);resize:vertical}.textarea:not([rows]){max-height:40em;min-height:8em}.textarea[rows]{height:initial}.textarea.has-fixed-size{resize:none}.radio,.checkbox{cursor:pointer;display:inline-block;line-height:1.25;position:relative}.radio input,.checkbox input{cursor:pointer}.radio:hover,.checkbox:hover{color:#363636}[disabled].radio,[disabled].checkbox,fieldset[disabled] .radio,fieldset[disabled] .checkbox,.radio input[disabled],.checkbox input[disabled]{color:#7a7a7a;cursor:not-allowed}.radio+.radio{margin-left:.5em}.select{display:inline-block;max-width:100%;position:relative;vertical-align:top}.select:not(.is-multiple){height:2.5em}.select:not(.is-multiple):not(.is-loading)::after{border-color:#485fc7;right:1.125em;z-index:4}.select.is-rounded select{border-radius:9999px;padding-left:1em}.select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}.select select::-ms-expand{display:none}.select select[disabled]:hover,fieldset[disabled] .select select:hover{border-color:#f5f5f5}.select select:not([multiple]){padding-right:2.5em}.select select[multiple]{height:auto;padding:0}.select select[multiple] option{padding:.5em 1em}.select:not(.is-multiple):not(.is-loading):hover::after{border-color:#363636}.select.is-white:not(:hover)::after{border-color:#fff}.select.is-white select{border-color:#fff}.select.is-white select:hover,.select.is-white select.is-hovered{border-color:#f2f2f2}.select.is-white select:focus,.select.is-white select.is-focused,.select.is-white select:active,.select.is-white select.is-active{box-shadow:0 0 0 .125em rgba(255,255,255,.25)}.select.is-black:not(:hover)::after{border-color:#0a0a0a}.select.is-black select{border-color:#0a0a0a}.select.is-black select:hover,.select.is-black select.is-hovered{border-color:#000}.select.is-black select:focus,.select.is-black select.is-focused,.select.is-black select:active,.select.is-black select.is-active{box-shadow:0 0 0 .125em rgba(10,10,10,.25)}.select.is-light:not(:hover)::after{border-color:#f5f5f5}.select.is-light select{border-color:#f5f5f5}.select.is-light select:hover,.select.is-light select.is-hovered{border-color:#e8e8e8}.select.is-light select:focus,.select.is-light select.is-focused,.select.is-light select:active,.select.is-light select.is-active{box-shadow:0 0 0 .125em rgba(245,245,245,.25)}.select.is-dark:not(:hover)::after{border-color:#363636}.select.is-dark select{border-color:#363636}.select.is-dark select:hover,.select.is-dark select.is-hovered{border-color:#292929}.select.is-dark select:focus,.select.is-dark select.is-focused,.select.is-dark select:active,.select.is-dark select.is-active{box-shadow:0 0 0 .125em rgba(54,54,54,.25)}.select.is-primary:not(:hover)::after{border-color:#00d1b2}.select.is-primary select{border-color:#00d1b2}.select.is-primary select:hover,.select.is-primary select.is-hovered{border-color:#00b89c}.select.is-primary select:focus,.select.is-primary select.is-focused,.select.is-primary select:active,.select.is-primary select.is-active{box-shadow:0 0 0 .125em rgba(0,209,178,.25)}.select.is-link:not(:hover)::after{border-color:#485fc7}.select.is-link select{border-color:#485fc7}.select.is-link select:hover,.select.is-link select.is-hovered{border-color:#3a51bb}.select.is-link select:focus,.select.is-link select.is-focused,.select.is-link select:active,.select.is-link select.is-active{box-shadow:0 0 0 .125em rgba(72,95,199,.25)}.select.is-info:not(:hover)::after{border-color:#3e8ed0}.select.is-info select{border-color:#3e8ed0}.select.is-info select:hover,.select.is-info select.is-hovered{border-color:#3082c5}.select.is-info select:focus,.select.is-info select.is-focused,.select.is-info select:active,.select.is-info select.is-active{box-shadow:0 0 0 .125em rgba(62,142,208,.25)}.select.is-success:not(:hover)::after{border-color:#48c78e}.select.is-success select{border-color:#48c78e}.select.is-success select:hover,.select.is-success select.is-hovered{border-color:#3abb81}.select.is-success select:focus,.select.is-success select.is-focused,.select.is-success select:active,.select.is-success select.is-active{box-shadow:0 0 0 .125em rgba(72,199,142,.25)}.select.is-warning:not(:hover)::after{border-color:#ffe08a}.select.is-warning select{border-color:#ffe08a}.select.is-warning select:hover,.select.is-warning select.is-hovered{border-color:#ffd970}.select.is-warning select:focus,.select.is-warning select.is-focused,.select.is-warning select:active,.select.is-warning select.is-active{box-shadow:0 0 0 .125em rgba(255,224,138,.25)}.select.is-danger:not(:hover)::after{border-color:#f14668}.select.is-danger select{border-color:#f14668}.select.is-danger select:hover,.select.is-danger select.is-hovered{border-color:#ef2e55}.select.is-danger select:focus,.select.is-danger select.is-focused,.select.is-danger select:active,.select.is-danger select.is-active{box-shadow:0 0 0 .125em rgba(241,70,104,.25)}.select.is-small{border-radius:2px;font-size:.75rem}.select.is-medium{font-size:1.25rem}.select.is-large{font-size:1.5rem}.select.is-disabled::after{border-color:#7a7a7a !important;opacity:.5}.select.is-fullwidth{width:100%}.select.is-fullwidth select{width:100%}.select.is-loading::after{margin-top:0;position:absolute;right:.625em;top:.625em;transform:none}.select.is-loading.is-small:after{font-size:.75rem}.select.is-loading.is-medium:after{font-size:1.25rem}.select.is-loading.is-large:after{font-size:1.5rem}.file{align-items:stretch;display:flex;justify-content:flex-start;position:relative}.file.is-white .file-cta{background-color:#fff;border-color:rgba(0,0,0,0);color:#0a0a0a}.file.is-white:hover .file-cta,.file.is-white.is-hovered .file-cta{background-color:#f9f9f9;border-color:rgba(0,0,0,0);color:#0a0a0a}.file.is-white:focus .file-cta,.file.is-white.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(255,255,255,.25);color:#0a0a0a}.file.is-white:active .file-cta,.file.is-white.is-active .file-cta{background-color:#f2f2f2;border-color:rgba(0,0,0,0);color:#0a0a0a}.file.is-black .file-cta{background-color:#0a0a0a;border-color:rgba(0,0,0,0);color:#fff}.file.is-black:hover .file-cta,.file.is-black.is-hovered .file-cta{background-color:#040404;border-color:rgba(0,0,0,0);color:#fff}.file.is-black:focus .file-cta,.file.is-black.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(10,10,10,.25);color:#fff}.file.is-black:active .file-cta,.file.is-black.is-active .file-cta{background-color:#000;border-color:rgba(0,0,0,0);color:#fff}.file.is-light .file-cta{background-color:#f5f5f5;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.file.is-light:hover .file-cta,.file.is-light.is-hovered .file-cta{background-color:#eee;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.file.is-light:focus .file-cta,.file.is-light.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(245,245,245,.25);color:rgba(0,0,0,.7)}.file.is-light:active .file-cta,.file.is-light.is-active .file-cta{background-color:#e8e8e8;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.file.is-dark .file-cta{background-color:#363636;border-color:rgba(0,0,0,0);color:#fff}.file.is-dark:hover .file-cta,.file.is-dark.is-hovered .file-cta{background-color:#2f2f2f;border-color:rgba(0,0,0,0);color:#fff}.file.is-dark:focus .file-cta,.file.is-dark.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(54,54,54,.25);color:#fff}.file.is-dark:active .file-cta,.file.is-dark.is-active .file-cta{background-color:#292929;border-color:rgba(0,0,0,0);color:#fff}.file.is-primary .file-cta{background-color:#00d1b2;border-color:rgba(0,0,0,0);color:#fff}.file.is-primary:hover .file-cta,.file.is-primary.is-hovered .file-cta{background-color:#00c4a7;border-color:rgba(0,0,0,0);color:#fff}.file.is-primary:focus .file-cta,.file.is-primary.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(0,209,178,.25);color:#fff}.file.is-primary:active .file-cta,.file.is-primary.is-active .file-cta{background-color:#00b89c;border-color:rgba(0,0,0,0);color:#fff}.file.is-link .file-cta{background-color:#485fc7;border-color:rgba(0,0,0,0);color:#fff}.file.is-link:hover .file-cta,.file.is-link.is-hovered .file-cta{background-color:#3e56c4;border-color:rgba(0,0,0,0);color:#fff}.file.is-link:focus .file-cta,.file.is-link.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(72,95,199,.25);color:#fff}.file.is-link:active .file-cta,.file.is-link.is-active .file-cta{background-color:#3a51bb;border-color:rgba(0,0,0,0);color:#fff}.file.is-info .file-cta{background-color:#3e8ed0;border-color:rgba(0,0,0,0);color:#fff}.file.is-info:hover .file-cta,.file.is-info.is-hovered .file-cta{background-color:#3488ce;border-color:rgba(0,0,0,0);color:#fff}.file.is-info:focus .file-cta,.file.is-info.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(62,142,208,.25);color:#fff}.file.is-info:active .file-cta,.file.is-info.is-active .file-cta{background-color:#3082c5;border-color:rgba(0,0,0,0);color:#fff}.file.is-success .file-cta{background-color:#48c78e;border-color:rgba(0,0,0,0);color:#fff}.file.is-success:hover .file-cta,.file.is-success.is-hovered .file-cta{background-color:#3ec487;border-color:rgba(0,0,0,0);color:#fff}.file.is-success:focus .file-cta,.file.is-success.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(72,199,142,.25);color:#fff}.file.is-success:active .file-cta,.file.is-success.is-active .file-cta{background-color:#3abb81;border-color:rgba(0,0,0,0);color:#fff}.file.is-warning .file-cta{background-color:#ffe08a;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.file.is-warning:hover .file-cta,.file.is-warning.is-hovered .file-cta{background-color:#ffdc7d;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.file.is-warning:focus .file-cta,.file.is-warning.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(255,224,138,.25);color:rgba(0,0,0,.7)}.file.is-warning:active .file-cta,.file.is-warning.is-active .file-cta{background-color:#ffd970;border-color:rgba(0,0,0,0);color:rgba(0,0,0,.7)}.file.is-danger .file-cta{background-color:#f14668;border-color:rgba(0,0,0,0);color:#fff}.file.is-danger:hover .file-cta,.file.is-danger.is-hovered .file-cta{background-color:#f03a5f;border-color:rgba(0,0,0,0);color:#fff}.file.is-danger:focus .file-cta,.file.is-danger.is-focused .file-cta{border-color:rgba(0,0,0,0);box-shadow:0 0 .5em rgba(241,70,104,.25);color:#fff}.file.is-danger:active .file-cta,.file.is-danger.is-active .file-cta{background-color:#ef2e55;border-color:rgba(0,0,0,0);color:#fff}.file.is-small{font-size:.75rem}.file.is-normal{font-size:1rem}.file.is-medium{font-size:1.25rem}.file.is-medium .file-icon .fa{font-size:21px}.file.is-large{font-size:1.5rem}.file.is-large .file-icon .fa{font-size:28px}.file.has-name .file-cta{border-bottom-right-radius:0;border-top-right-radius:0}.file.has-name .file-name{border-bottom-left-radius:0;border-top-left-radius:0}.file.has-name.is-empty .file-cta{border-radius:4px}.file.has-name.is-empty .file-name{display:none}.file.is-boxed .file-label{flex-direction:column}.file.is-boxed .file-cta{flex-direction:column;height:auto;padding:1em 3em}.file.is-boxed .file-name{border-width:0 1px 1px}.file.is-boxed .file-icon{height:1.5em;width:1.5em}.file.is-boxed .file-icon .fa{font-size:21px}.file.is-boxed.is-small .file-icon .fa{font-size:14px}.file.is-boxed.is-medium .file-icon .fa{font-size:28px}.file.is-boxed.is-large .file-icon .fa{font-size:35px}.file.is-boxed.has-name .file-cta{border-radius:4px 4px 0 0}.file.is-boxed.has-name .file-name{border-radius:0 0 4px 4px;border-width:0 1px 1px}.file.is-centered{justify-content:center}.file.is-fullwidth .file-label{width:100%}.file.is-fullwidth .file-name{flex-grow:1;max-width:none}.file.is-right{justify-content:flex-end}.file.is-right .file-cta{border-radius:0 4px 4px 0}.file.is-right .file-name{border-radius:4px 0 0 4px;border-width:1px 0 1px 1px;order:-1}.file-label{align-items:stretch;display:flex;cursor:pointer;justify-content:flex-start;overflow:hidden;position:relative}.file-label:hover .file-cta{background-color:#eee;color:#363636}.file-label:hover .file-name{border-color:#d5d5d5}.file-label:active .file-cta{background-color:#e8e8e8;color:#363636}.file-label:active .file-name{border-color:#cfcfcf}.file-input{height:100%;left:0;opacity:0;outline:none;position:absolute;top:0;width:100%}.file-cta,.file-name{border-color:#dbdbdb;border-radius:4px;font-size:1em;padding-left:1em;padding-right:1em;white-space:nowrap}.file-cta{background-color:#f5f5f5;color:#4a4a4a}.file-name{border-color:#dbdbdb;border-style:solid;border-width:1px 1px 1px 0;display:block;max-width:16em;overflow:hidden;text-align:inherit;text-overflow:ellipsis}.file-icon{align-items:center;display:flex;height:1em;justify-content:center;margin-right:.5em;width:1em}.file-icon .fa{font-size:14px}.label{color:#363636;display:block;font-size:1rem;font-weight:700}.label:not(:last-child){margin-bottom:.5em}.label.is-small{font-size:.75rem}.label.is-medium{font-size:1.25rem}.label.is-large{font-size:1.5rem}.help{display:block;font-size:.75rem;margin-top:.25rem}.help.is-white{color:#fff}.help.is-black{color:#0a0a0a}.help.is-light{color:#f5f5f5}.help.is-dark{color:#363636}.help.is-primary{color:#00d1b2}.help.is-link{color:#485fc7}.help.is-info{color:#3e8ed0}.help.is-success{color:#48c78e}.help.is-warning{color:#ffe08a}.help.is-danger{color:#f14668}.field:not(:last-child){margin-bottom:.75rem}.field.has-addons{display:flex;justify-content:flex-start}.field.has-addons .control:not(:last-child){margin-right:-1px}.field.has-addons .control:not(:first-child):not(:last-child) .button,.field.has-addons .control:not(:first-child):not(:last-child) .input,.field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}.field.has-addons .control:first-child:not(:only-child) .button,.field.has-addons .control:first-child:not(:only-child) .input,.field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}.field.has-addons .control:last-child:not(:only-child) .button,.field.has-addons .control:last-child:not(:only-child) .input,.field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}.field.has-addons .control .button:not([disabled]):hover,.field.has-addons .control .button:not([disabled]).is-hovered,.field.has-addons .control .input:not([disabled]):hover,.field.has-addons .control .input:not([disabled]).is-hovered,.field.has-addons .control .select select:not([disabled]):hover,.field.has-addons .control .select select:not([disabled]).is-hovered{z-index:2}.field.has-addons .control .button:not([disabled]):focus,.field.has-addons .control .button:not([disabled]).is-focused,.field.has-addons .control .button:not([disabled]):active,.field.has-addons .control .button:not([disabled]).is-active,.field.has-addons .control .input:not([disabled]):focus,.field.has-addons .control .input:not([disabled]).is-focused,.field.has-addons .control .input:not([disabled]):active,.field.has-addons .control .input:not([disabled]).is-active,.field.has-addons .control .select select:not([disabled]):focus,.field.has-addons .control .select select:not([disabled]).is-focused,.field.has-addons .control .select select:not([disabled]):active,.field.has-addons .control .select select:not([disabled]).is-active{z-index:3}.field.has-addons .control .button:not([disabled]):focus:hover,.field.has-addons .control .button:not([disabled]).is-focused:hover,.field.has-addons .control .button:not([disabled]):active:hover,.field.has-addons .control .button:not([disabled]).is-active:hover,.field.has-addons .control .input:not([disabled]):focus:hover,.field.has-addons .control .input:not([disabled]).is-focused:hover,.field.has-addons .control .input:not([disabled]):active:hover,.field.has-addons .control .input:not([disabled]).is-active:hover,.field.has-addons .control .select select:not([disabled]):focus:hover,.field.has-addons .control .select select:not([disabled]).is-focused:hover,.field.has-addons .control .select select:not([disabled]):active:hover,.field.has-addons .control .select select:not([disabled]).is-active:hover{z-index:4}.field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}.field.has-addons.has-addons-centered{justify-content:center}.field.has-addons.has-addons-right{justify-content:flex-end}.field.has-addons.has-addons-fullwidth .control{flex-grow:1;flex-shrink:0}.field.is-grouped{display:flex;justify-content:flex-start}.field.is-grouped>.control{flex-shrink:0}.field.is-grouped>.control:not(:last-child){margin-bottom:0;margin-right:.75rem}.field.is-grouped>.control.is-expanded{flex-grow:1;flex-shrink:1}.field.is-grouped.is-grouped-centered{justify-content:center}.field.is-grouped.is-grouped-right{justify-content:flex-end}.field.is-grouped.is-grouped-multiline{flex-wrap:wrap}.field.is-grouped.is-grouped-multiline>.control:last-child,.field.is-grouped.is-grouped-multiline>.control:not(:last-child){margin-bottom:.75rem}.field.is-grouped.is-grouped-multiline:last-child{margin-bottom:-0.75rem}.field.is-grouped.is-grouped-multiline:not(:last-child){margin-bottom:0}@media screen and (min-width: 769px),print{.field.is-horizontal{display:flex}}.field-label .label{font-size:inherit}@media screen and (max-width: 768px){.field-label{margin-bottom:.5rem}}@media screen and (min-width: 769px),print{.field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}.field-label.is-small{font-size:.75rem;padding-top:.375em}.field-label.is-normal{padding-top:.375em}.field-label.is-medium{font-size:1.25rem;padding-top:.375em}.field-label.is-large{font-size:1.5rem;padding-top:.375em}}.field-body .field .field{margin-bottom:0}@media screen and (min-width: 769px),print{.field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.field-body .field{margin-bottom:0}.field-body>.field{flex-shrink:1}.field-body>.field:not(.is-narrow){flex-grow:1}.field-body>.field:not(:last-child){margin-right:.75rem}}.control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:inherit}.control.has-icons-left .input:focus~.icon,.control.has-icons-left .select:focus~.icon,.control.has-icons-right .input:focus~.icon,.control.has-icons-right .select:focus~.icon{color:#4a4a4a}.control.has-icons-left .input.is-small~.icon,.control.has-icons-left .select.is-small~.icon,.control.has-icons-right .input.is-small~.icon,.control.has-icons-right .select.is-small~.icon{font-size:.75rem}.control.has-icons-left .input.is-medium~.icon,.control.has-icons-left .select.is-medium~.icon,.control.has-icons-right .input.is-medium~.icon,.control.has-icons-right .select.is-medium~.icon{font-size:1.25rem}.control.has-icons-left .input.is-large~.icon,.control.has-icons-left .select.is-large~.icon,.control.has-icons-right .input.is-large~.icon,.control.has-icons-right .select.is-large~.icon{font-size:1.5rem}.control.has-icons-left .icon,.control.has-icons-right .icon{color:#dbdbdb;height:2.5em;pointer-events:none;position:absolute;top:0;width:2.5em;z-index:4}.control.has-icons-left .input,.control.has-icons-left .select select{padding-left:2.5em}.control.has-icons-left .icon.is-left{left:0}.control.has-icons-right .input,.control.has-icons-right .select select{padding-right:2.5em}.control.has-icons-right .icon.is-right{right:0}.control.is-loading::after{position:absolute !important;right:.625em;top:.625em;z-index:4}.control.is-loading.is-small:after{font-size:.75rem}.control.is-loading.is-medium:after{font-size:1.25rem}.control.is-loading.is-large:after{font-size:1.5rem}body{background-color:#fff}#mainButtons{left:32px;box-sizing:border-box;position:fixed;display:flex;flex-direction:row;padding:0;top:0;z-index:60;border-radius:0 0 12px 12px}@media(max-width: 800px){#mainButtons{left:0px;bottom:0;top:initial;width:100%;background-color:#fff;border-radius:0}}#exportHTML,#fullPreview{all:unset;cursor:pointer;background-color:#666;color:#fff;display:block;padding:8px 18px;font-family:inherit;text-align:center}#exportHTML:hover,#fullPreview:hover{background-color:#888}@media(max-width: 800px){#exportHTML,#fullPreview{width:50%;border-radius:0 !important;padding-top:10px}}#exportHTML{border-radius:0 0 0 16px;border-right:1px solid gray}#exportHTML.modified{background-color:#f14668;color:#000}#exportHTML.modified:hover{background-color:#f5758f}#fullPreview{border-radius:0 0 16px 0}#previewIframe{position:fixed;top:0;width:100%;height:100vh;z-index:50;background-color:#fff;border:none}#branding{position:absolute;top:0;right:32px;padding-top:8px}@media(max-width: 800px){#branding{position:static;width:100%;text-align:center;font-size:1.5em}}.PageEditor input,.PageEditor textarea{box-sizing:border-box !important;width:100%}.PageEditor label{display:block}.PageEditor .EditorToolbar{padding:8px;background-color:silver;position:fixed;width:100%;display:flex;flex-direction:row;top:0;left:0;z-index:10}.PageEditor hr{display:block;border:none;border-bottom:1px solid #ccc}.PageEditor .workZone{all:unset;display:block;margin-top:64px;padding:16px;padding-bottom:32px;margin-left:auto;margin-right:auto;max-width:800px}@media(max-width: 800px){.PageEditor .workZone{margin-top:32px;padding-bottom:80px}}.PageEditor .areacss{min-height:300px}.editor-toolbar{background-color:#fff !important}.editor-toolbar button{color:#000 !important}.CodeMirror-fullscreen,.editor-toolbar.fullscreen{z-index:20 !important}.editor-preview{z-index:20 !important;position:relative}.editor-preview iframe{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%}.TheInput{margin-bottom:1rem}.formRow{display:flex;flex-direction:row;justify-content:stretch}.formRow .TheInput{flex-grow:1}.formRow .divider{width:8px;flex-grow:0}.divider{width:8px;flex-shrink:0;flex-grow:0}',""]);const a=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",i=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),i&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),i&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,i,n,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);i&&s[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),r&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=r):c[2]=r),n&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=n):c[4]="".concat(n)),t.push(c))}},t}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},6912:(e,t,r)=>{var i=r(4631);i.commands.tabAndIndentMarkdownList=function(e){var t=e.listSelections()[0].head;if(!1!==e.getStateAfter(t.line).list)e.execCommand("indentMore");else if(e.options.indentWithTabs)e.execCommand("insertTab");else{var r=Array(e.options.tabSize+1).join(" ");e.replaceSelection(r)}},i.commands.shiftTabAndUnindentMarkdownList=function(e){var t=e.listSelections()[0].head;if(!1!==e.getStateAfter(t.line).list)e.execCommand("indentLess");else if(e.options.indentWithTabs)e.execCommand("insertTab");else{var r=Array(e.options.tabSize+1).join(" ");e.replaceSelection(r)}}},4442:(e,t,r)=>{"use strict";var i=r(4631);r(3350),r(6912),r(960),r(9047),r(4146),r(8386),r(1994),r(4020),r(2095),r(2425),r(9589);var n=r(2354),o=r(970).TU,s=/Mac/.test(navigator.platform),a=new RegExp(/(<a.*?https?:\/\/.*?[^a]>)+?/g),l={toggleBold:w,toggleItalic:C,drawLink:N,toggleHeadingSmaller:A,toggleHeadingBigger:E,drawImage:I,toggleBlockquote:S,toggleOrderedList:z,toggleUnorderedList:T,toggleCodeBlock:_,togglePreview:W,toggleStrikethrough:D,toggleHeading1:F,toggleHeading2:L,toggleHeading3:M,cleanBlock:B,drawTable:q,drawHorizontalRule:P,undo:H,redo:j,toggleSideBySide:$,toggleFullScreen:k},u={toggleBold:"Cmd-B",toggleItalic:"Cmd-I",drawLink:"Cmd-K",toggleHeadingSmaller:"Cmd-H",toggleHeadingBigger:"Shift-Cmd-H",cleanBlock:"Cmd-E",drawImage:"Cmd-Alt-I",toggleBlockquote:"Cmd-'",toggleOrderedList:"Cmd-Alt-L",toggleUnorderedList:"Cmd-L",toggleCodeBlock:"Cmd-Alt-C",togglePreview:"Cmd-P",toggleSideBySide:"F9",toggleFullScreen:"F11"},c=function(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4)))&&(t=!0),t};function d(e){return s?e.replace("Ctrl","Cmd"):e.replace("Cmd","Ctrl")}var f={};function h(e){return f[e]||(f[e]=new RegExp("\\s*"+e+"(\\s*)","g"))}function p(e,t){if(e&&t){var r=h(t);e.className.match(r)||(e.className+=" "+t)}}function g(e,t){if(e&&t){var r=h(t);e.className.match(r)&&(e.className=e.className.replace(r,"$1"))}}function m(e,t,r,i){var n=b(e,!1,t,r,"button",i);n.className+=" easymde-dropdown",n.onclick=function(){n.focus()};var o=document.createElement("div");o.className="easymde-dropdown-content";for(var s=0;s<e.children.length;s++){var a,l=e.children[s];(a=b("string"==typeof l&&l in J?J[l]:l,!0,t,r,"button",i)).addEventListener("click",(function(e){e.stopPropagation()}),!1),o.appendChild(a)}return n.appendChild(o),n}function b(e,t,r,i,n,o){e=e||{};var a=document.createElement(n);if(e.attributes)for(var u in e.attributes)Object.prototype.hasOwnProperty.call(e.attributes,u)&&a.setAttribute(u,e.attributes[u]);a.className=e.name,a.setAttribute("type",n),r=null==r||r,e.name&&e.name in i&&(l[e.name]=e.action),e.title&&r&&(a.title=function(e,t,r){var i,n=e;return t&&r[i=function(e){for(var t in l)if(l[t]===e)return t;return null}(t)]&&(n+=" ("+d(r[i])+")"),n}(e.title,e.action,i),s&&(a.title=a.title.replace("Ctrl","⌘"),a.title=a.title.replace("Alt","⌥"))),e.noDisable&&a.classList.add("no-disable"),e.noMobile&&a.classList.add("no-mobile");var c=[];void 0!==e.className&&(c=e.className.split(" "));for(var f=[],h=0;h<c.length;h++){var p=c[h];p.match(/^fa([srlb]|(-[\w-]*)|$)/)?f.push(p):a.classList.add(p)}a.tabIndex=-1;for(var g=document.createElement("i"),m=0;m<f.length;m++){var b=f[m];g.classList.add(b)}return a.appendChild(g),void 0!==e.icon&&(a.innerHTML=e.icon),e.action&&t&&("function"==typeof e.action?a.onclick=function(t){t.preventDefault(),e.action(o)}:"string"==typeof e.action&&(a.onclick=function(t){t.preventDefault(),window.open(e.action,"_blank")})),a}function v(){var e=document.createElement("i");return e.className="separator",e.innerHTML="|",e}function x(e,t){t=t||e.getCursor("start");var r=e.getTokenAt(t);if(!r.type)return{};for(var i,n,o=r.type.split(" "),s={},a=0;a<o.length;a++)"strong"===(i=o[a])?s.bold=!0:"variable-2"===i?(n=e.getLine(t.line),/^\s*\d+\.\s/.test(n)?s["ordered-list"]=!0:s["unordered-list"]=!0):"atom"===i?s.quote=!0:"em"===i?s.italic=!0:"quote"===i?s.quote=!0:"strikethrough"===i?s.strikethrough=!0:"comment"===i?s.code=!0:"link"===i?s.link=!0:"tag"===i?s.image=!0:i.match(/^header(-[1-6])?$/)&&(s[i.replace("header","heading")]=!0);return s}var y="";function k(e){var t=e.codemirror;t.setOption("fullScreen",!t.getOption("fullScreen")),t.getOption("fullScreen")?(y=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=y;var r=t.getWrapperElement(),i=r.nextSibling;if(/editor-preview-active-side/.test(i.className))if(!1===e.options.sideBySideFullscreen){var n=r.parentNode;t.getOption("fullScreen")?g(n,"sided--no-fullscreen"):p(n,"sided--no-fullscreen")}else $(e);if(e.options.onToggleFullScreen&&e.options.onToggleFullScreen(t.getOption("fullScreen")||!1),void 0!==e.options.maxHeight&&(t.getOption("fullScreen")?(t.getScrollerElement().style.removeProperty("height"),i.style.removeProperty("height")):(t.getScrollerElement().style.height=e.options.maxHeight,e.setPreviewMaxHeight())),/fullscreen/.test(e.toolbar_div.className)?e.toolbar_div.className=e.toolbar_div.className.replace(/\s*fullscreen\b/,""):e.toolbar_div.className+=" fullscreen",e.toolbarElements&&e.toolbarElements.fullscreen){var o=e.toolbarElements.fullscreen;/active/.test(o.className)?o.className=o.className.replace(/\s*active\s*/g,""):o.className+=" active"}}function w(e){Z(e,"bold",e.options.blockStyles.bold)}function C(e){Z(e,"italic",e.options.blockStyles.italic)}function D(e){Z(e,"strikethrough","~~")}function _(e){var t=e.options.blockStyles.code;function r(e){if("object"!=typeof e)throw"fencing_line() takes a 'line' object (not a line number, or line text). Got: "+typeof e+": "+e;return e.styles&&e.styles[2]&&-1!==e.styles[2].indexOf("formatting-code-block")}function i(e){return e.state.base.base||e.state.base}function n(e,t,n,o,s){n=n||e.getLineHandle(t),o=o||e.getTokenAt({line:t,ch:1}),s=s||!!n.text&&e.getTokenAt({line:t,ch:n.text.length-1});var a=o.type?o.type.split(" "):[];return s&&i(s).indentedCode?"indented":-1!==a.indexOf("comment")&&(i(o).fencedChars||i(s).fencedChars||r(n)?"fenced":"single")}var o,s,a,l=e.codemirror,u=l.getCursor("start"),c=l.getCursor("end"),d=l.getTokenAt({line:u.line,ch:u.ch||1}),f=l.getLineHandle(u.line),h=n(l,u.line,f,d);if("single"===h){var p=f.text.slice(0,u.ch).replace("`",""),g=f.text.slice(u.ch).replace("`","");l.replaceRange(p+g,{line:u.line,ch:0},{line:u.line,ch:99999999999999}),u.ch--,u!==c&&c.ch--,l.setSelection(u,c),l.focus()}else if("fenced"===h)if(u.line!==c.line||u.ch!==c.ch){for(o=u.line;o>=0&&!r(f=l.getLineHandle(o));o--);var m,b,v,x,y=i(l.getTokenAt({line:o,ch:1})).fencedChars;r(l.getLineHandle(u.line))?(m="",b=u.line):r(l.getLineHandle(u.line-1))?(m="",b=u.line-1):(m=y+"\n",b=u.line),r(l.getLineHandle(c.line))?(v="",x=c.line,0===c.ch&&(x+=1)):0!==c.ch&&r(l.getLineHandle(c.line+1))?(v="",x=c.line+1):(v=y+"\n",x=c.line+1),0===c.ch&&(x-=1),l.operation((function(){l.replaceRange(v,{line:x,ch:0},{line:x+(v?0:1),ch:0}),l.replaceRange(m,{line:b,ch:0},{line:b+(m?0:1),ch:0})})),l.setSelection({line:b+(m?1:0),ch:0},{line:x+(m?1:-1),ch:0}),l.focus()}else{var k=u.line;if(r(l.getLineHandle(u.line))&&("fenced"===n(l,u.line+1)?(o=u.line,k=u.line+1):(s=u.line,k=u.line-1)),void 0===o)for(o=k;o>=0&&!r(f=l.getLineHandle(o));o--);if(void 0===s)for(a=l.lineCount(),s=k;s<a&&!r(f=l.getLineHandle(s));s++);l.operation((function(){l.replaceRange("",{line:o,ch:0},{line:o+1,ch:0}),l.replaceRange("",{line:s-1,ch:0},{line:s,ch:0})})),l.focus()}else if("indented"===h){if(u.line!==c.line||u.ch!==c.ch)o=u.line,s=c.line,0===c.ch&&s--;else{for(o=u.line;o>=0;o--)if(!(f=l.getLineHandle(o)).text.match(/^\s*$/)&&"indented"!==n(l,o,f)){o+=1;break}for(a=l.lineCount(),s=u.line;s<a;s++)if(!(f=l.getLineHandle(s)).text.match(/^\s*$/)&&"indented"!==n(l,s,f)){s-=1;break}}var w=l.getLineHandle(s+1),C=w&&l.getTokenAt({line:s+1,ch:w.text.length-1});C&&i(C).indentedCode&&l.replaceRange("\n",{line:s+1,ch:0});for(var D=o;D<=s;D++)l.indentLine(D,"subtract");l.focus()}else{var _=u.line===c.line&&u.ch===c.ch&&0===u.ch,S=u.line!==c.line;_||S?function(e,t,r,i){var n=t.line+1,o=r.line+1,s=t.line!==r.line,a=i+"\n",l="\n"+i;s&&o++,s&&0===r.ch&&(l=i+"\n",o--),U(e,!1,[a,l]),e.setSelection({line:n,ch:0},{line:o,ch:0})}(l,u,c,t):U(l,!1,["`","`"])}}function S(e){G(e.codemirror,"quote")}function A(e){V(e.codemirror,"smaller")}function E(e){V(e.codemirror,"bigger")}function F(e){V(e.codemirror,void 0,1)}function L(e){V(e.codemirror,void 0,2)}function M(e){V(e.codemirror,void 0,3)}function T(e){var t=e.codemirror,r="*";["-","+","*"].includes(e.options.unorderedListStyle)&&(r=e.options.unorderedListStyle),G(t,"unordered-list",r)}function z(e){G(e.codemirror,"ordered-list")}function B(e){!function(e){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className))for(var t,r=e.getCursor("start"),i=e.getCursor("end"),n=r.line;n<=i.line;n++)t=(t=e.getLine(n)).replace(/^[ ]*([# ]+|\*|-|[> ]+|[0-9]+(.|\)))[ ]*/,""),e.replaceRange(t,{line:n,ch:0},{line:n,ch:99999999999999})}(e.codemirror)}function N(e){var t=e.codemirror,r=x(t),i=e.options,n="https://";if(i.promptURLs&&!(n=prompt(i.promptTexts.link,"https://")))return!1;U(t,r.link,i.insertTexts.link,n)}function I(e){var t=e.codemirror,r=x(t),i=e.options,n="https://";if(i.promptURLs&&!(n=prompt(i.promptTexts.image,"https://")))return!1;U(t,r.image,i.insertTexts.image,n)}function O(e){e.openBrowseFileWindow()}function R(e,t){var r=e.codemirror,i=x(r),n=e.options,o=t.substr(t.lastIndexOf("/")+1),s=o.substring(o.lastIndexOf(".")+1).replace(/\?.*$/,"").toLowerCase();if(["png","jpg","jpeg","gif","svg"].includes(s))U(r,i.image,n.insertTexts.uploadedImage,t);else{var a=n.insertTexts.link;a[0]="["+o,U(r,i.link,a,t)}e.updateStatusBar("upload-image",e.options.imageTexts.sbOnUploaded.replace("#image_name#",o)),setTimeout((function(){e.updateStatusBar("upload-image",e.options.imageTexts.sbInit)}),1e3)}function q(e){var t=e.codemirror,r=x(t),i=e.options;U(t,r.table,i.insertTexts.table)}function P(e){var t=e.codemirror,r=x(t),i=e.options;U(t,r.image,i.insertTexts.horizontalRule)}function H(e){var t=e.codemirror;t.undo(),t.focus()}function j(e){var t=e.codemirror;t.redo(),t.focus()}function $(e){var t=e.codemirror,r=t.getWrapperElement(),i=r.nextSibling,n=e.toolbarElements&&e.toolbarElements["side-by-side"],o=!1,s=r.parentNode;/editor-preview-active-side/.test(i.className)?(!1===e.options.sideBySideFullscreen&&g(s,"sided--no-fullscreen"),i.className=i.className.replace(/\s*editor-preview-active-side\s*/g,""),n&&(n.className=n.className.replace(/\s*active\s*/g,"")),r.className=r.className.replace(/\s*CodeMirror-sided\s*/g," ")):(setTimeout((function(){t.getOption("fullScreen")||(!1===e.options.sideBySideFullscreen?p(s,"sided--no-fullscreen"):k(e)),i.className+=" editor-preview-active-side"}),1),n&&(n.className+=" active"),r.className+=" CodeMirror-sided",o=!0);var a=r.lastChild;if(/editor-preview-active/.test(a.className)){a.className=a.className.replace(/\s*editor-preview-active\s*/g,"");var l=e.toolbarElements.preview,u=e.toolbar_div;l.className=l.className.replace(/\s*active\s*/g,""),u.className=u.className.replace(/\s*disabled-for-preview*/g,"")}if(t.sideBySideRenderingFunction||(t.sideBySideRenderingFunction=function(){var t=e.options.previewRender(e.value(),i);null!=t&&(i.innerHTML=t)}),o){var c=e.options.previewRender(e.value(),i);null!=c&&(i.innerHTML=c),t.on("update",t.sideBySideRenderingFunction)}else t.off("update",t.sideBySideRenderingFunction);t.refresh()}function W(e){var t=e.codemirror,r=t.getWrapperElement(),i=e.toolbar_div,n=!!e.options.toolbar&&e.toolbarElements.preview,o=r.lastChild,s=t.getWrapperElement().nextSibling;if(/editor-preview-active-side/.test(s.className)&&$(e),!o||!/editor-preview-full/.test(o.className)){if((o=document.createElement("div")).className="editor-preview-full",e.options.previewClass)if(Array.isArray(e.options.previewClass))for(var a=0;a<e.options.previewClass.length;a++)o.className+=" "+e.options.previewClass[a];else"string"==typeof e.options.previewClass&&(o.className+=" "+e.options.previewClass);r.appendChild(o)}/editor-preview-active/.test(o.className)?(o.className=o.className.replace(/\s*editor-preview-active\s*/g,""),n&&(n.className=n.className.replace(/\s*active\s*/g,""),i.className=i.className.replace(/\s*disabled-for-preview*/g,""))):(setTimeout((function(){o.className+=" editor-preview-active"}),1),n&&(n.className+=" active",i.className+=" disabled-for-preview")),o.innerHTML=e.options.previewRender(e.value(),o)}function U(e,t,r,i){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){var n,o=r[0],s=r[1],a={},l={};Object.assign(a,e.getCursor("start")),Object.assign(l,e.getCursor("end")),i&&(o=o.replace("#url#",i),s=s.replace("#url#",i)),t?(o=(n=e.getLine(a.line)).slice(0,a.ch),s=n.slice(a.ch),e.replaceRange(o+s,{line:a.line,ch:0})):(n=e.getSelection(),e.replaceSelection(o+n+s),a.ch+=o.length,a!==l&&(l.ch+=o.length)),e.setSelection(a,l),e.focus()}}function V(e,t,r){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var i=e.getCursor("start"),n=e.getCursor("end"),o=i.line;o<=n.line;o++)!function(i){var n=e.getLine(i),o=n.search(/[^#]/);n=void 0!==t?o<=0?"bigger"==t?"###### "+n:"# "+n:6==o&&"smaller"==t?n.substr(7):1==o&&"bigger"==t?n.substr(2):"bigger"==t?n.substr(1):"#"+n:1==r?o<=0?"# "+n:o==r?n.substr(o+1):"# "+n.substr(o+1):2==r?o<=0?"## "+n:o==r?n.substr(o+1):"## "+n.substr(o+1):o<=0?"### "+n:o==r?n.substr(o+1):"### "+n.substr(o+1),e.replaceRange(n,{line:i,ch:0},{line:i,ch:99999999999999})}(o);e.focus()}}function G(e,t,r){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var i=/^(\s*)(\*|-|\+|\d*\.)(\s+)/,n=/^\s*/,o=x(e),s=e.getCursor("start"),a=e.getCursor("end"),l={quote:/^(\s*)>\s+/,"unordered-list":i,"ordered-list":i},u=function(e,t,o){var s=i.exec(t),a=function(e,t){return{quote:">","unordered-list":r,"ordered-list":"%%i."}[e].replace("%%i",t)}(e,c);return null!==s?(function(e,t){var i=new RegExp({quote:">","unordered-list":"\\"+r,"ordered-list":"\\d+."}[e]);return t&&i.test(t)}(e,s[2])&&(a=""),t=s[1]+a+s[3]+t.replace(n,"").replace(l[e],"$1")):0==o&&(t=a+" "+t),t},c=1,d=s.line;d<=a.line;d++)!function(r){var i=e.getLine(r);o[t]?i=i.replace(l[t],"$1"):("unordered-list"==t&&(i=u("ordered-list",i,!0)),i=u(t,i,!1),c+=1),e.replaceRange(i,{line:r,ch:0},{line:r,ch:99999999999999})}(d);e.focus()}}function Z(e,t,r,i){if(!/editor-preview-active/.test(e.codemirror.getWrapperElement().lastChild.className)){i=void 0===i?r:i;var n,o=e.codemirror,s=x(o),a=r,l=i,u=o.getCursor("start"),c=o.getCursor("end");s[t]?(a=(n=o.getLine(u.line)).slice(0,u.ch),l=n.slice(u.ch),"bold"==t?(a=a.replace(/(\*\*|__)(?![\s\S]*(\*\*|__))/,""),l=l.replace(/(\*\*|__)/,"")):"italic"==t?(a=a.replace(/(\*|_)(?![\s\S]*(\*|_))/,""),l=l.replace(/(\*|_)/,"")):"strikethrough"==t&&(a=a.replace(/(\*\*|~~)(?![\s\S]*(\*\*|~~))/,""),l=l.replace(/(\*\*|~~)/,"")),o.replaceRange(a+l,{line:u.line,ch:0},{line:u.line,ch:99999999999999}),"bold"==t||"strikethrough"==t?(u.ch-=2,u!==c&&(c.ch-=2)):"italic"==t&&(u.ch-=1,u!==c&&(c.ch-=1))):(n=o.getSelection(),"bold"==t?n=(n=n.split("**").join("")).split("__").join(""):"italic"==t?n=(n=n.split("*").join("")).split("_").join(""):"strikethrough"==t&&(n=n.split("~~").join("")),o.replaceSelection(a+n+l),u.ch+=r.length,c.ch=u.ch+n.length),o.setSelection(u,c),o.focus()}}function K(e,t){if(Math.abs(e)<1024)return""+e+t[0];var r=0;do{e/=1024,++r}while(Math.abs(e)>=1024&&r<t.length);return""+e.toFixed(1)+t[r]}function X(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(t[r]instanceof Array?e[r]=t[r].concat(e[r]instanceof Array?e[r]:[]):null!==t[r]&&"object"==typeof t[r]&&t[r].constructor===Object?e[r]=X(e[r]||{},t[r]):e[r]=t[r]);return e}function Y(e){for(var t=1;t<arguments.length;t++)e=X(e,arguments[t]);return e}function Q(e){var t=e.match(/[a-zA-Z0-9_\u00A0-\u02AF\u0392-\u03c9\u0410-\u04F9]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g),r=0;if(null===t)return r;for(var i=0;i<t.length;i++)t[i].charCodeAt(0)>=19968?r+=t[i].length:r+=1;return r}var J={bold:{name:"bold",action:w,className:"fa fa-bold",title:"Bold",default:!0},italic:{name:"italic",action:C,className:"fa fa-italic",title:"Italic",default:!0},strikethrough:{name:"strikethrough",action:D,className:"fa fa-strikethrough",title:"Strikethrough"},heading:{name:"heading",action:A,className:"fa fa-header fa-heading",title:"Heading",default:!0},"heading-smaller":{name:"heading-smaller",action:A,className:"fa fa-header fa-heading header-smaller",title:"Smaller Heading"},"heading-bigger":{name:"heading-bigger",action:E,className:"fa fa-header fa-heading header-bigger",title:"Bigger Heading"},"heading-1":{name:"heading-1",action:F,className:"fa fa-header fa-heading header-1",title:"Big Heading"},"heading-2":{name:"heading-2",action:L,className:"fa fa-header fa-heading header-2",title:"Medium Heading"},"heading-3":{name:"heading-3",action:M,className:"fa fa-header fa-heading header-3",title:"Small Heading"},"separator-1":{name:"separator-1"},code:{name:"code",action:_,className:"fa fa-code",title:"Code"},quote:{name:"quote",action:S,className:"fa fa-quote-left",title:"Quote",default:!0},"unordered-list":{name:"unordered-list",action:T,className:"fa fa-list-ul",title:"Generic List",default:!0},"ordered-list":{name:"ordered-list",action:z,className:"fa fa-list-ol",title:"Numbered List",default:!0},"clean-block":{name:"clean-block",action:B,className:"fa fa-eraser",title:"Clean block"},"separator-2":{name:"separator-2"},link:{name:"link",action:N,className:"fa fa-link",title:"Create Link",default:!0},image:{name:"image",action:I,className:"fa fa-image",title:"Insert Image",default:!0},"upload-image":{name:"upload-image",action:O,className:"fa fa-image",title:"Import an image"},table:{name:"table",action:q,className:"fa fa-table",title:"Insert Table"},"horizontal-rule":{name:"horizontal-rule",action:P,className:"fa fa-minus",title:"Insert Horizontal Line"},"separator-3":{name:"separator-3"},preview:{name:"preview",action:W,className:"fa fa-eye",noDisable:!0,title:"Toggle Preview",default:!0},"side-by-side":{name:"side-by-side",action:$,className:"fa fa-columns",noDisable:!0,noMobile:!0,title:"Toggle Side by Side",default:!0},fullscreen:{name:"fullscreen",action:k,className:"fa fa-arrows-alt",noDisable:!0,noMobile:!0,title:"Toggle Fullscreen",default:!0},"separator-4":{name:"separator-4"},guide:{name:"guide",action:"https://www.markdownguide.org/basic-syntax/",className:"fa fa-question-circle",noDisable:!0,title:"Markdown Guide",default:!0},"separator-5":{name:"separator-5"},undo:{name:"undo",action:H,className:"fa fa-undo",noDisable:!0,title:"Undo"},redo:{name:"redo",action:j,className:"fa fa-repeat fa-redo",noDisable:!0,title:"Redo"}},ee={link:["[","](#url#)"],image:["![](","#url#)"],uploadedImage:["![](#url#)",""],table:["","\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],horizontalRule:["","\n\n-----\n\n"]},te={link:"URL for the link:",image:"URL of the image:"},re={locale:"en-US",format:{hour:"2-digit",minute:"2-digit"}},ie={bold:"**",code:"```",italic:"*"},ne={sbInit:"Attach files by drag and dropping or pasting from clipboard.",sbOnDragEnter:"Drop image to upload it.",sbOnDrop:"Uploading image #images_names#...",sbProgress:"Uploading #file_name#: #progress#%",sbOnUploaded:"Uploaded #image_name#",sizeUnits:" B, KB, MB"},oe={noFileGiven:"You must select a file.",typeNotAllowed:"This image type is not allowed.",fileTooLarge:"Image #image_name# is too big (#image_size#).\nMaximum file size is #image_max_size#.",importError:"Something went wrong when uploading the image #image_name#."};function se(e){(e=e||{}).parent=this;var t=!0;if(!1===e.autoDownloadFontAwesome&&(t=!1),!0!==e.autoDownloadFontAwesome)for(var r=document.styleSheets,i=0;i<r.length;i++)r[i].href&&r[i].href.indexOf("//maxcdn.bootstrapcdn.com/font-awesome/")>-1&&(t=!1);if(t){var n=document.createElement("link");n.rel="stylesheet",n.href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css",document.getElementsByTagName("head")[0].appendChild(n)}if(e.element)this.element=e.element;else if(null===e.element)return void console.log("EasyMDE: Error. No element was found.");if(void 0===e.toolbar)for(var o in e.toolbar=[],J)Object.prototype.hasOwnProperty.call(J,o)&&(-1!=o.indexOf("separator-")&&e.toolbar.push("|"),(!0===J[o].default||e.showIcons&&e.showIcons.constructor===Array&&-1!=e.showIcons.indexOf(o))&&e.toolbar.push(o));if(Object.prototype.hasOwnProperty.call(e,"previewClass")||(e.previewClass="editor-preview"),Object.prototype.hasOwnProperty.call(e,"status")||(e.status=["autosave","lines","words","cursor"],e.uploadImage&&e.status.unshift("upload-image")),e.previewRender||(e.previewRender=function(e){return this.parent.markdown(e)}),e.parsingConfig=Y({highlightFormatting:!0},e.parsingConfig||{}),e.insertTexts=Y({},ee,e.insertTexts||{}),e.promptTexts=Y({},te,e.promptTexts||{}),e.blockStyles=Y({},ie,e.blockStyles||{}),null!=e.autosave&&(e.autosave.timeFormat=Y({},re,e.autosave.timeFormat||{})),e.shortcuts=Y({},u,e.shortcuts||{}),e.maxHeight=e.maxHeight||void 0,e.direction=e.direction||"ltr",void 0!==e.maxHeight?e.minHeight=e.maxHeight:e.minHeight=e.minHeight||"300px",e.errorCallback=e.errorCallback||function(e){alert(e)},e.uploadImage=e.uploadImage||!1,e.imageMaxSize=e.imageMaxSize||2097152,e.imageAccept=e.imageAccept||"image/png, image/jpeg",e.imageTexts=Y({},ne,e.imageTexts||{}),e.errorMessages=Y({},oe,e.errorMessages||{}),null!=e.autosave&&null!=e.autosave.unique_id&&""!=e.autosave.unique_id&&(e.autosave.uniqueId=e.autosave.unique_id),e.overlayMode&&void 0===e.overlayMode.combine&&(e.overlayMode.combine=!0),this.options=e,this.render(),!e.initialValue||this.options.autosave&&!0===this.options.autosave.foundSavedValue||this.value(e.initialValue),e.uploadImage){var s=this;this.codemirror.on("dragenter",(function(e,t){s.updateStatusBar("upload-image",s.options.imageTexts.sbOnDragEnter),t.stopPropagation(),t.preventDefault()})),this.codemirror.on("dragend",(function(e,t){s.updateStatusBar("upload-image",s.options.imageTexts.sbInit),t.stopPropagation(),t.preventDefault()})),this.codemirror.on("dragleave",(function(e,t){s.updateStatusBar("upload-image",s.options.imageTexts.sbInit),t.stopPropagation(),t.preventDefault()})),this.codemirror.on("dragover",(function(e,t){s.updateStatusBar("upload-image",s.options.imageTexts.sbOnDragEnter),t.stopPropagation(),t.preventDefault()})),this.codemirror.on("drop",(function(t,r){r.stopPropagation(),r.preventDefault(),e.imageUploadFunction?s.uploadImagesUsingCustomFunction(e.imageUploadFunction,r.dataTransfer.files):s.uploadImages(r.dataTransfer.files)})),this.codemirror.on("paste",(function(t,r){e.imageUploadFunction?s.uploadImagesUsingCustomFunction(e.imageUploadFunction,r.clipboardData.files):s.uploadImages(r.clipboardData.files)}))}}function ae(){if("object"!=typeof localStorage)return!1;try{localStorage.setItem("smde_localStorage",1),localStorage.removeItem("smde_localStorage")}catch(e){return!1}return!0}se.prototype.uploadImages=function(e,t,r){if(0!==e.length){for(var i=[],n=0;n<e.length;n++)i.push(e[n].name),this.uploadImage(e[n],t,r);this.updateStatusBar("upload-image",this.options.imageTexts.sbOnDrop.replace("#images_names#",i.join(", ")))}},se.prototype.uploadImagesUsingCustomFunction=function(e,t){if(0!==t.length){for(var r=[],i=0;i<t.length;i++)r.push(t[i].name),this.uploadImageUsingCustomFunction(e,t[i]);this.updateStatusBar("upload-image",this.options.imageTexts.sbOnDrop.replace("#images_names#",r.join(", ")))}},se.prototype.updateStatusBar=function(e,t){if(this.gui.statusbar){var r=this.gui.statusbar.getElementsByClassName(e);1===r.length?this.gui.statusbar.getElementsByClassName(e)[0].textContent=t:0===r.length?console.log("EasyMDE: status bar item "+e+" was not found."):console.log("EasyMDE: Several status bar items named "+e+" was found.")}},se.prototype.markdown=function(e){if(o){var t;if(t=this.options&&this.options.renderingConfig&&this.options.renderingConfig.markedOptions?this.options.renderingConfig.markedOptions:{},this.options&&this.options.renderingConfig&&!1===this.options.renderingConfig.singleLineBreaks?t.breaks=!1:t.breaks=!0,this.options&&this.options.renderingConfig&&!0===this.options.renderingConfig.codeSyntaxHighlighting){var r=this.options.renderingConfig.hljs||window.hljs;r&&(t.highlight=function(e,t){return t&&r.getLanguage(t)?r.highlight(t,e).value:r.highlightAuto(e).value})}o.setOptions(t);var i=o.parse(e);return this.options.renderingConfig&&"function"==typeof this.options.renderingConfig.sanitizerFunction&&(i=this.options.renderingConfig.sanitizerFunction.call(this,i)),function(e){for(var t=(new DOMParser).parseFromString(e,"text/html"),r=t.getElementsByTagName("li"),i=0;i<r.length;i++)for(var n=r[i],o=0;o<n.children.length;o++){var s=n.children[o];s instanceof HTMLInputElement&&"checkbox"===s.type&&(n.style.marginLeft="-1.5em",n.style.listStyleType="none")}return t.documentElement.innerHTML}(i=function(e){for(var t;null!==(t=a.exec(e));){var r=t[0];if(-1===r.indexOf("target=")){var i=r.replace(/>$/,' target="_blank">');e=e.replace(r,i)}}return e}(i))}},se.prototype.render=function(e){if(e||(e=this.element||document.getElementsByTagName("textarea")[0]),!this._rendered||this._rendered!==e){this.element=e;var t,r,o=this.options,s=this,a={};for(var u in o.shortcuts)null!==o.shortcuts[u]&&null!==l[u]&&function(e){a[d(o.shortcuts[e])]=function(){var t=l[e];"function"==typeof t?t(s):"string"==typeof t&&window.open(t,"_blank")}}(u);if(a.Enter="newlineAndIndentContinueMarkdownList",a.Tab="tabAndIndentMarkdownList",a["Shift-Tab"]="shiftTabAndUnindentMarkdownList",a.Esc=function(e){e.getOption("fullScreen")&&k(s)},this.documentOnKeyDown=function(e){27==(e=e||window.event).keyCode&&s.codemirror.getOption("fullScreen")&&k(s)},document.addEventListener("keydown",this.documentOnKeyDown,!1),o.overlayMode?(i.defineMode("overlay-mode",(function(e){return i.overlayMode(i.getMode(e,!1!==o.spellChecker?"spell-checker":"gfm"),o.overlayMode.mode,o.overlayMode.combine)})),t="overlay-mode",(r=o.parsingConfig).gitHubSpice=!1):((t=o.parsingConfig).name="gfm",t.gitHubSpice=!1),!1!==o.spellChecker&&(t="spell-checker",(r=o.parsingConfig).name="gfm",r.gitHubSpice=!1,"function"==typeof o.spellChecker?o.spellChecker({codeMirrorInstance:i}):n({codeMirrorInstance:i})),this.codemirror=i.fromTextArea(e,{mode:t,backdrop:r,theme:null!=o.theme?o.theme:"easymde",tabSize:null!=o.tabSize?o.tabSize:2,indentUnit:null!=o.tabSize?o.tabSize:2,indentWithTabs:!1!==o.indentWithTabs,lineNumbers:!0===o.lineNumbers,autofocus:!0===o.autofocus,extraKeys:a,direction:o.direction,lineWrapping:!1!==o.lineWrapping,allowDropFileTypes:["text/plain"],placeholder:o.placeholder||e.getAttribute("placeholder")||"",styleSelectedText:null!=o.styleSelectedText?o.styleSelectedText:!c(),scrollbarStyle:null!=o.scrollbarStyle?o.scrollbarStyle:"native",configureMouse:function(e,t,r){return{addNew:!1}},inputStyle:null!=o.inputStyle?o.inputStyle:c()?"contenteditable":"textarea",spellcheck:null==o.nativeSpellcheck||o.nativeSpellcheck,autoRefresh:null!=o.autoRefresh&&o.autoRefresh}),this.codemirror.getScrollerElement().style.minHeight=o.minHeight,void 0!==o.maxHeight&&(this.codemirror.getScrollerElement().style.height=o.maxHeight),!0===o.forceSync){var f=this.codemirror;f.on("change",(function(){f.save()}))}this.gui={};var h=document.createElement("div");h.classList.add("EasyMDEContainer");var p=this.codemirror.getWrapperElement();p.parentNode.insertBefore(h,p),h.appendChild(p),!1!==o.toolbar&&(this.gui.toolbar=this.createToolbar()),!1!==o.status&&(this.gui.statusbar=this.createStatusbar()),null!=o.autosave&&!0===o.autosave.enabled&&(this.autosave(),this.codemirror.on("change",(function(){clearTimeout(s._autosave_timeout),s._autosave_timeout=setTimeout((function(){s.autosave()}),s.options.autosave.submit_delay||s.options.autosave.delay||1e3)})));var g=this;this.codemirror.on("update",(function(){o.previewImagesInEditor&&h.querySelectorAll(".cm-image-marker").forEach((function(e){var t=e.parentElement;if(t.innerText.match(/^!\[.*?\]\(.*\)/g)&&!t.hasAttribute("data-img-src")){var r=t.innerText.match("\\((.*)\\)");if(window.EMDEimagesCache||(window.EMDEimagesCache={}),r&&r.length>=2){var i=r[1];if(window.EMDEimagesCache[i])b(t,window.EMDEimagesCache[i]);else{var n=document.createElement("img");n.onload=function(){window.EMDEimagesCache[i]={naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight,url:i},b(t,window.EMDEimagesCache[i])},n.src=i}}}}))})),this.gui.sideBySide=this.createSideBySide(),this._rendered=this.element;var m=this.codemirror;setTimeout(function(){m.refresh()}.bind(m),0)}function b(e,t){var r,i;e.setAttribute("data-img-src",t.url),e.setAttribute("style","--bg-image:url("+t.url+");--width:"+t.naturalWidth+"px;--height:"+(r=t.naturalWidth,i=t.naturalHeight,r<window.getComputedStyle(document.querySelector(".CodeMirror-sizer")).width.replace("px","")?i+"px":i/r*100+"%")),g.codemirror.setSize()}},se.prototype.cleanup=function(){document.removeEventListener("keydown",this.documentOnKeyDown)},se.prototype.autosave=function(){if(ae()){var e=this;if(null==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId)return void console.log("EasyMDE: You must set a uniqueId to use the autosave feature");!0!==this.options.autosave.binded&&(null!=e.element.form&&null!=e.element.form&&e.element.form.addEventListener("submit",(function(){clearTimeout(e.autosaveTimeoutId),e.autosaveTimeoutId=void 0,localStorage.removeItem("smde_"+e.options.autosave.uniqueId)})),this.options.autosave.binded=!0),!0!==this.options.autosave.loaded&&("string"==typeof localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&""!=localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&(this.codemirror.setValue(localStorage.getItem("smde_"+this.options.autosave.uniqueId)),this.options.autosave.foundSavedValue=!0),this.options.autosave.loaded=!0);var t=e.value();""!==t?localStorage.setItem("smde_"+this.options.autosave.uniqueId,t):localStorage.removeItem("smde_"+this.options.autosave.uniqueId);var r=document.getElementById("autosaved");if(null!=r&&null!=r&&""!=r){var i=new Date,n=new Intl.DateTimeFormat([this.options.autosave.timeFormat.locale,"en-US"],this.options.autosave.timeFormat.format).format(i),o=null==this.options.autosave.text?"Autosaved: ":this.options.autosave.text;r.innerHTML=o+n}}else console.log("EasyMDE: localStorage not available, cannot autosave")},se.prototype.clearAutosavedValue=function(){if(ae()){if(null==this.options.autosave||null==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId)return void console.log("EasyMDE: You must set a uniqueId to clear the autosave value");localStorage.removeItem("smde_"+this.options.autosave.uniqueId)}else console.log("EasyMDE: localStorage not available, cannot autosave")},se.prototype.openBrowseFileWindow=function(e,t){var r=this,i=this.gui.toolbar.getElementsByClassName("imageInput")[0];i.click(),i.addEventListener("change",(function n(o){r.options.imageUploadFunction?r.uploadImagesUsingCustomFunction(r.options.imageUploadFunction,o.target.files):r.uploadImages(o.target.files,e,t),i.removeEventListener("change",n)}))},se.prototype.uploadImage=function(e,t,r){var i=this;function n(e){i.updateStatusBar("upload-image",e),setTimeout((function(){i.updateStatusBar("upload-image",i.options.imageTexts.sbInit)}),1e4),r&&"function"==typeof r&&r(e),i.options.errorCallback(e)}function o(t){var r=i.options.imageTexts.sizeUnits.split(",");return t.replace("#image_name#",e.name).replace("#image_size#",K(e.size,r)).replace("#image_max_size#",K(i.options.imageMaxSize,r))}if(t=t||function(e){R(i,e)},e.size>this.options.imageMaxSize)n(o(this.options.errorMessages.fileTooLarge));else{var s=new FormData;s.append("image",e),i.options.imageCSRFToken&&s.append("csrfmiddlewaretoken",i.options.imageCSRFToken);var a=new XMLHttpRequest;a.upload.onprogress=function(t){if(t.lengthComputable){var r=""+Math.round(100*t.loaded/t.total);i.updateStatusBar("upload-image",i.options.imageTexts.sbProgress.replace("#file_name#",e.name).replace("#progress#",r))}},a.open("POST",this.options.imageUploadEndpoint),a.onload=function(){try{var e=JSON.parse(this.responseText)}catch(e){return console.error("EasyMDE: The server did not return a valid json."),void n(o(i.options.errorMessages.importError))}200===this.status&&e&&!e.error&&e.data&&e.data.filePath?t((i.options.imagePathAbsolute?"":window.location.origin+"/")+e.data.filePath):e.error&&e.error in i.options.errorMessages?n(o(i.options.errorMessages[e.error])):e.error?n(o(e.error)):(console.error("EasyMDE: Received an unexpected response after uploading the image."+this.status+" ("+this.statusText+")"),n(o(i.options.errorMessages.importError)))},a.onerror=function(e){console.error("EasyMDE: An unexpected error occurred when trying to upload the image."+e.target.status+" ("+e.target.statusText+")"),n(i.options.errorMessages.importError)},a.send(s)}},se.prototype.uploadImageUsingCustomFunction=function(e,t){var r=this;e.apply(this,[t,function(e){R(r,e)},function(e){var i=function(e){var i=r.options.imageTexts.sizeUnits.split(",");return e.replace("#image_name#",t.name).replace("#image_size#",K(t.size,i)).replace("#image_max_size#",K(r.options.imageMaxSize,i))}(e);r.updateStatusBar("upload-image",i),setTimeout((function(){r.updateStatusBar("upload-image",r.options.imageTexts.sbInit)}),1e4),r.options.errorCallback(i)}])},se.prototype.setPreviewMaxHeight=function(){var e=this.codemirror.getWrapperElement(),t=e.nextSibling,r=parseInt(window.getComputedStyle(e).paddingTop),i=parseInt(window.getComputedStyle(e).borderTopWidth),n=(parseInt(this.options.maxHeight)+2*r+2*i).toString()+"px";t.style.height=n},se.prototype.createSideBySide=function(){var e=this.codemirror,t=e.getWrapperElement(),r=t.nextSibling;if(!r||!/editor-preview-side/.test(r.className)){if((r=document.createElement("div")).className="editor-preview-side",this.options.previewClass)if(Array.isArray(this.options.previewClass))for(var i=0;i<this.options.previewClass.length;i++)r.className+=" "+this.options.previewClass[i];else"string"==typeof this.options.previewClass&&(r.className+=" "+this.options.previewClass);t.parentNode.insertBefore(r,t.nextSibling)}if(void 0!==this.options.maxHeight&&this.setPreviewMaxHeight(),!1===this.options.syncSideBySidePreviewScroll)return r;var n=!1,o=!1;return e.on("scroll",(function(e){if(n)n=!1;else{o=!0;var t=e.getScrollInfo().height-e.getScrollInfo().clientHeight,i=parseFloat(e.getScrollInfo().top)/t,s=(r.scrollHeight-r.clientHeight)*i;r.scrollTop=s}})),r.onscroll=function(){if(o)o=!1;else{n=!0;var t=r.scrollHeight-r.clientHeight,i=parseFloat(r.scrollTop)/t,s=(e.getScrollInfo().height-e.getScrollInfo().clientHeight)*i;e.scrollTo(0,s)}},r},se.prototype.createToolbar=function(e){if((e=e||this.options.toolbar)&&0!==e.length){var t;for(t=0;t<e.length;t++)null!=J[e[t]]&&(e[t]=J[e[t]]);var r=document.createElement("div");r.className="editor-toolbar";var i=this,n={};for(i.toolbar=e,t=0;t<e.length;t++)if(("guide"!=e[t].name||!1!==i.options.toolbarGuideIcon)&&!(i.options.hideIcons&&-1!=i.options.hideIcons.indexOf(e[t].name)||("fullscreen"==e[t].name||"side-by-side"==e[t].name)&&c())){if("|"===e[t]){for(var o=!1,s=t+1;s<e.length;s++)"|"===e[s]||i.options.hideIcons&&-1!=i.options.hideIcons.indexOf(e[s].name)||(o=!0);if(!o)continue}!function(e){var t;if(t="|"===e?v():e.children?m(e,i.options.toolbarTips,i.options.shortcuts,i):b(e,!0,i.options.toolbarTips,i.options.shortcuts,"button",i),n[e.name||e]=t,r.appendChild(t),"upload-image"===e.name){var o=document.createElement("input");o.className="imageInput",o.type="file",o.multiple=!0,o.name="image",o.accept=i.options.imageAccept,o.style.display="none",o.style.opacity=0,r.appendChild(o)}}(e[t])}i.toolbar_div=r,i.toolbarElements=n;var a=this.codemirror;a.on("cursorActivity",(function(){var e=x(a);for(var t in n)!function(t){var r=n[t];e[t]?r.className+=" active":"fullscreen"!=t&&"side-by-side"!=t&&(r.className=r.className.replace(/\s*active\s*/g,""))}(t)}));var l=a.getWrapperElement();return l.parentNode.insertBefore(r,l),r}},se.prototype.createStatusbar=function(e){e=e||this.options.status;var t=this.options,r=this.codemirror;if(e&&0!==e.length){var i,n,o,s,a=[];for(i=0;i<e.length;i++)if(n=void 0,o=void 0,s=void 0,"object"==typeof e[i])a.push({className:e[i].className,defaultValue:e[i].defaultValue,onUpdate:e[i].onUpdate,onActivity:e[i].onActivity});else{var l=e[i];"words"===l?(s=function(e){e.innerHTML=Q(r.getValue())},n=function(e){e.innerHTML=Q(r.getValue())}):"lines"===l?(s=function(e){e.innerHTML=r.lineCount()},n=function(e){e.innerHTML=r.lineCount()}):"cursor"===l?(s=function(e){e.innerHTML="1:1"},o=function(e){var t=r.getCursor(),i=t.line+1,n=t.ch+1;e.innerHTML=i+":"+n}):"autosave"===l?s=function(e){null!=t.autosave&&!0===t.autosave.enabled&&e.setAttribute("id","autosaved")}:"upload-image"===l&&(s=function(e){e.innerHTML=t.imageTexts.sbInit}),a.push({className:l,defaultValue:s,onUpdate:n,onActivity:o})}var u=document.createElement("div");for(u.className="editor-statusbar",i=0;i<a.length;i++){var c=a[i],d=document.createElement("span");d.className=c.className,"function"==typeof c.defaultValue&&c.defaultValue(d),"function"==typeof c.onUpdate&&this.codemirror.on("update",function(e,t){return function(){t.onUpdate(e)}}(d,c)),"function"==typeof c.onActivity&&this.codemirror.on("cursorActivity",function(e,t){return function(){t.onActivity(e)}}(d,c)),u.appendChild(d)}var f=this.codemirror.getWrapperElement();return f.parentNode.insertBefore(u,f.nextSibling),u}},se.prototype.value=function(e){var t=this.codemirror;if(void 0===e)return t.getValue();if(t.getDoc().setValue(e),this.isPreviewActive()){var r=t.getWrapperElement().lastChild;r.innerHTML=this.options.previewRender(e,r)}return this},se.toggleBold=w,se.toggleItalic=C,se.toggleStrikethrough=D,se.toggleBlockquote=S,se.toggleHeadingSmaller=A,se.toggleHeadingBigger=E,se.toggleHeading1=F,se.toggleHeading2=L,se.toggleHeading3=M,se.toggleCodeBlock=_,se.toggleUnorderedList=T,se.toggleOrderedList=z,se.cleanBlock=B,se.drawLink=N,se.drawImage=I,se.drawUploadedImage=O,se.drawTable=q,se.drawHorizontalRule=P,se.undo=H,se.redo=j,se.togglePreview=W,se.toggleSideBySide=$,se.toggleFullScreen=k,se.prototype.toggleBold=function(){w(this)},se.prototype.toggleItalic=function(){C(this)},se.prototype.toggleStrikethrough=function(){D(this)},se.prototype.toggleBlockquote=function(){S(this)},se.prototype.toggleHeadingSmaller=function(){A(this)},se.prototype.toggleHeadingBigger=function(){E(this)},se.prototype.toggleHeading1=function(){F(this)},se.prototype.toggleHeading2=function(){L(this)},se.prototype.toggleHeading3=function(){M(this)},se.prototype.toggleCodeBlock=function(){_(this)},se.prototype.toggleUnorderedList=function(){T(this)},se.prototype.toggleOrderedList=function(){z(this)},se.prototype.cleanBlock=function(){B(this)},se.prototype.drawLink=function(){N(this)},se.prototype.drawImage=function(){I(this)},se.prototype.drawUploadedImage=function(){O(this)},se.prototype.drawTable=function(){q(this)},se.prototype.drawHorizontalRule=function(){P(this)},se.prototype.undo=function(){H(this)},se.prototype.redo=function(){j(this)},se.prototype.togglePreview=function(){W(this)},se.prototype.toggleSideBySide=function(){$(this)},se.prototype.toggleFullScreen=function(){k(this)},se.prototype.isPreviewActive=function(){var e=this.codemirror.getWrapperElement().lastChild;return/editor-preview-active/.test(e.className)},se.prototype.isSideBySideActive=function(){var e=this.codemirror.getWrapperElement().nextSibling;return/editor-preview-active-side/.test(e.className)},se.prototype.isFullscreenActive=function(){return this.codemirror.getOption("fullScreen")},se.prototype.getState=function(){return x(this.codemirror)},se.prototype.toTextArea=function(){var e=this.codemirror,t=e.getWrapperElement(),r=t.parentNode;r&&(this.gui.toolbar&&r.removeChild(this.gui.toolbar),this.gui.statusbar&&r.removeChild(this.gui.statusbar),this.gui.sideBySide&&r.removeChild(this.gui.sideBySide)),r.parentNode.insertBefore(t,r),r.remove(),e.toTextArea(),this.autosaveTimeoutId&&(clearTimeout(this.autosaveTimeoutId),this.autosaveTimeoutId=void 0,this.clearAutosavedValue())},e.exports=se},8337:(e,t,r)=>{"use strict";function i(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function n(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===n(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,r){var i=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(i)?i.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var i=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var i=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(i)?i.match(r.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function c(e){var t=e.re=r(6066)(e.__opts__),i=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||i.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),i.push(t.src_xn),t.src_tlds=i.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var l=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var i={validate:null,link:null};if(e.__compiled__[t]=i,"[object Object]"===n(r))return"[object RegExp]"!==n(r.validate)?o(r.validate)?i.validate=r.validate:u(t,r):i.validate=function(e){return function(t,r){var i=t.slice(r);return e.test(i)?i.match(e)[0].length:0}}(r.validate),void(o(r.normalize)?i.normalize=r.normalize:r.normalize?u(t,r):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===n(e)}(r)?u(t,r):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var c=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+c+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+c+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function d(e,t){var r=e.__index__,i=e.__last_index__,n=e.__text_cache__.slice(r,i);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=i+t,this.raw=n,this.text=n,this.url=n}function f(e,t){var r=new d(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=i({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},l,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},c(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,c(this),this},h.prototype.set=function(e){return this.__opts__=i(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,i,n,o,s,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(n=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)r.push(f(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,f(this,0)):null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),c(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,c(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},6066:(e,t,r)=>{"use strict";e.exports=function(e){var t={};return e=e||{},t.src_Any=r(9369).source,t.src_Cc=r(9413).source,t.src_Z=r(5045).source,t.src_P=r(3189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},717:(e,t,r)=>{var i,n;i=r(6419),n=function(e,t,r){"use strict";var n,o,s,a,l,u;return n=e.utils.arrayReplaceAt,a=0,s={divWrap:!1,divClass:"checkbox",idPrefix:"checkbox"},t=i.extend(s,t),l=/\[(X|\s|\_|\-)\]\s(.*)/i,o=function(e,r,i){var n,o,s;return o=[],t.divWrap&&((s=new i("checkbox_open","div",1)).attrs=[["class",t.divClass]],o.push(s)),n=t.idPrefix+a,a+=1,(s=new i("checkbox_input","input",0)).attrs=[["type","checkbox"],["id",n]],!0===e&&s.attrs.push(["checked","true"]),o.push(s),(s=new i("label_open","label",1)).attrs=[["for",n]],o.push(s),(s=new i("text","",0)).content=r,o.push(s),o.push(new i("label_close","label",-1)),t.divWrap&&o.push(new i("checkbox_close","div",-1)),o},u=function(e,t){var r,i,n,s;return null===(n=e.content.match(l))?e:(r=!1,s=n[1],i=n[2],"X"!==s&&"x"!==s||(r=!0),o(r,i,t))},function(e){var t,r,i,o,s,a;for(i=0,o=(t=e.tokens).length;i<o;)if("inline"===t[i].type){for(r=(a=t[i].children).length-1;r>=0;)s=a[r],t[i].children=a=n(a,r,u(s,e.Token)),r--;i++}else i++}},e.exports=function(e,t){"use strict";e.core.ruler.push("checkbox",n(e,t))}},6051:(e,t,r)=>{"use strict";var i=r(8640);e.exports=function(e,t){function r(e,t){var r,i,n=e.bMarks[t]+e.sCount[t],o=e.bMarks[t]+e.blkIndent,s=e.skipSpacesBack(e.eMarks[t],o),a=[],l=!1,u=!1;for(r=n;r<s;r++)switch(e.src.charCodeAt(r)){case 92:l=!0;break;case 96:(i=e.skipChars(r,96)-1)>r?r=i:!u&&l||(u=!u),l=!1;break;case 124:u||l||a.push(r),l=!1;break;default:l=!1}return 0===a.length||(a[0]>o&&a.unshift(o-1),a[a.length-1]<s-1&&a.push(s)),a}function n(e,t,r){var i={text:null,label:null},n=e.bMarks[r]+e.sCount[r],o=e.eMarks[r],s=e.src.slice(n,o).match(/^\[([^\[\]]+)\](\[([^\[\]]+)\])?\s*$/);return!!s&&(!!t||(i.text=s[1],i.label=s[2]||s[1],i.label=i.label.toLowerCase().replace(/\W+/g,""),i))}function o(e,i,n){var o,s,a,l={bounds:null,multiline:null},u=r(e,n);return!(u.length<2)&&(!!i||(l.bounds=u,t.multiline&&(o=e.bMarks[n]+e.sCount[n],s=e.eMarks[n]-1,l.multiline=92===e.src.charCodeAt(s),l.multiline&&(a=e.eMarks[n],e.eMarks[n]=e.skipSpacesBack(s,o),l.bounds=r(e,n),e.eMarks[n]=a)),l))}function s(e,t,i){var n,o,s={aligns:[],wraps:[]},a=r(e,i),l=/^:?(-+|=+):?\+?$/;if(e.sCount[i]-e.blkIndent>=4)return!1;if(0===a.length)return!1;for(n=0;n<a.length-1;n++){if(o=e.src.slice(a[n]+1,a[n+1]).trim(),!l.test(o))return!1;switch(s.wraps.push(43===o.charCodeAt(o.length-1)),(58===o.charCodeAt(0))<<4|58===o.charCodeAt(o.length-1-s.wraps[n])){case 0:s.aligns.push("");break;case 1:s.aligns.push("right");break;case 16:s.aligns.push("left");break;case 17:s.aligns.push("center")}}return!!t||s}function a(e,t,r){return e.isEmpty(r)}t=e.utils.assign({},{multiline:!1,rowspan:!1,headerless:!1,multibody:!0},t||{}),e.block.ruler.at("table",(function(e,r,l,u){var c,d,f,h,p,g,m,b,v,x,y,k,w,C,D,_,S=new i,A=16,E=-1,F=[];if(r+2>l)return!1;if((d=new e.Token("table_open","table",1)).meta={sep:null,cap:null,tr:[]},S.set_highest_alphabet(65536),S.set_initial_state(65792),S.set_accept_states([65552,65553,0]),S.set_match_alphabets({65536:n.bind(this,e,!0),4096:s.bind(this,e,!0),256:o.bind(this,e,!0),16:o.bind(this,e,!0),1:a.bind(this,e,!0)}),S.set_transitions({65792:{65536:256,256:4352},256:{256:4352},4352:{4096:65552,256:4352},65552:{65536:0,16:65553},65553:{65536:0,16:65553,1:65552}}),t.headerless&&(S.set_initial_state(69888),S.update_transition(69888,{65536:4352,4096:65552,256:4352}),(f=new e.Token("tr_placeholder","tr",0)).meta=Object()),t.multibody||S.update_transition(65552,{65536:0,16:65552}),S.set_actions((function(i,a,l){switch(l){case 65536:if(d.meta.cap)break;d.meta.cap=n(e,!1,i),d.meta.cap.map=[i,i+1],d.meta.cap.first=i===r;break;case 4096:d.meta.sep=s(e,!1,i),d.meta.sep.map=[i,i+1],f.meta.grp|=1,A=16;break;case 256:case 16:(f=new e.Token("tr_open","tr",1)).map=[i,i+1],f.meta=o(e,!1,i),f.meta.type=l,f.meta.grp=A,A=0,d.meta.tr.push(f),t.multiline&&(f.meta.multiline&&E<0?E=d.meta.tr.length-1:!f.meta.multiline&&E>=0&&((c=d.meta.tr[E]).meta.mbounds=d.meta.tr.slice(E).map((function(e){return e.meta.bounds})),c.map[1]=f.map[1],d.meta.tr=d.meta.tr.slice(0,E+1),E=-1));break;case 1:f.meta.grp|=1,A=16}})),!1===S.execute(r,l))return!1;if(!d.meta.tr.length)return!1;if(u)return!0;for(d.meta.tr[d.meta.tr.length-1].meta.grp|=1,d.map=m=[r,0],d.block=!0,d.level=e.level++,e.tokens.push(d),d.meta.cap&&((c=e.push("caption_open","caption",1)).map=d.meta.cap.map,c.attrs=[["id",d.meta.cap.label]],(c=e.push("inline","",0)).content=d.meta.cap.text,c.map=d.meta.cap.map,c.children=[],c=e.push("caption_close","caption",-1)),k=0;k<d.meta.tr.length;k++){for(p=new e.Token("td_th_placeholder","",0),16&(f=d.meta.tr[k]).meta.grp&&(v=256===f.meta.type?"thead":"tbody",(c=e.push(v+"_open",v,1)).map=b=[f.map[0],0],F=[]),f.block=!0,f.level=e.level++,e.tokens.push(f),w=0;w<f.meta.bounds.length-1;w++)if(y=[f.meta.bounds[w]+1,f.meta.bounds[w+1]],""!==(x=e.src.slice.apply(e.src,y)))if(t.rowspan&&F[w]&&"^^"===x.trim())g=F[w].attrGet("rowspan"),F[w].attrSet("rowspan",null===g?2:g+1),p=new e.Token("td_th_placeholder","",0);else{if(v=256===f.meta.type?"th":"td",(c=e.push(v+"_open",v,1)).map=f.map,c.attrs=[],d.meta.sep.aligns[w]&&c.attrs.push(["style","text-align:"+d.meta.sep.aligns[w]]),d.meta.sep.wraps[w]&&c.attrs.push(["class","extend"]),p=F[w]=c,t.multiline&&f.meta.multiline&&f.meta.mbounds){for(x=new Array(f.map[0]).fill("").concat([x.trimRight()]),C=1;C<f.meta.mbounds.length;C++)w>f.meta.mbounds[C].length-2||(y=[f.meta.mbounds[C][w]+1,f.meta.mbounds[C][w+1]],x.push(e.src.slice.apply(e.src,y).trimRight()));for((_=new e.md.block.State(x.join("\n"),e.md,e.env,[])).level=f.level+1,e.md.block.tokenize(_,f.map[0],_.lineMax),D=0;D<_.tokens.length;D++)e.tokens.push(_.tokens[D])}else(c=e.push("inline","",0)).content=x.trim(),c.map=f.map,c.level=f.level+1,c.children=[];c=e.push(v+"_close",v,-1)}else h=p.attrGet("colspan"),p.attrSet("colspan",null===h?2:h+1);e.push("tr_close","tr",-1),1&f.meta.grp&&(v=256===f.meta.type?"thead":"tbody",c=e.push(v+"_close",v,-1),b[1]=f.map[1])}return m[1]=Math.max(b[1],d.meta.sep.map[1],d.meta.cap?d.meta.cap.map[1]:-1),c=e.push("table_close","table",-1),e.line=m[1],!0}),{alt:["paragraph","reference"]})}},8640:e=>{"use strict";function t(){this.__highest_alphabet__=0,this.__match_alphabets__={},this.__initial_state__=0,this.__accept_states__={},this.__transitions__={},this.__actions__={}}t.prototype.set_highest_alphabet=function(e){this.__highest_alphabet__=e},t.prototype.set_match_alphabets=function(e){this.__match_alphabets__=e},t.prototype.set_initial_state=function(e){this.__initial_state__=e},t.prototype.set_accept_states=function(e){for(var t=0;t<e.length;t++)this.__accept_states__[e[t]]=!0},t.prototype.set_transitions=function(e){this.__transitions__=e},t.prototype.set_actions=function(e){this.__actions__=e},t.prototype.update_transition=function(e,t){this.__transitions__[e]=Object.assign(this.__transitions__[e]||Object(),t)},t.prototype.execute=function(e,t){var r,i,n;for(r=this.__initial_state__,i=e;r&&i<t;i++){for(n=this.__highest_alphabet__;n>0&&!(r&n&&this.__match_alphabets__[n].call(this,i,r,n));n>>=4);if(this.__actions__(i,r,n),0===n)break;r=this.__transitions__[r][n]||0}return!!this.__accept_states__[r]},e.exports=t},9980:(e,t,r)=>{"use strict";e.exports=r(7024)},6233:(e,t,r)=>{"use strict";e.exports=r(9323)},813:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},1947:e=>{"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+t+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),n=new RegExp("^(?:"+t+"|"+r+")");e.exports.n=i,e.exports.q=n},7022:(e,t,r)=>{"use strict";var i=Object.prototype.hasOwnProperty;function n(e,t){return i.call(e,t)}function o(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=r(6233),d=/[&<>"]/,f=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function p(e){return h[e]}var g=/[.?*+^$[\]\\(){}|-]/g,m=r(3189);t.lib={},t.lib.mdurl=r(8765),t.lib.ucmicro=r(4205),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,r){return t||function(e,t){var r=0;return n(c,t)?c[t]:35===t.charCodeAt(0)&&u.test(t)&&o(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=o,t.fromCodePoint=s,t.escapeHtml=function(e){return d.test(e)?e.replace(f,p):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(g,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},1685:(e,t,r)=>{"use strict";t.parseLinkLabel=r(3595),t.parseLinkDestination=r(2548),t.parseLinkTitle=r(8040)},2548:(e,t,r)=>{"use strict";var i=r(7022).unescapeAll;e.exports=function(e,t,r){var n,o,s=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(n=e.charCodeAt(t)))return a;if(60===n)return a;if(62===n)return a.pos=t+1,a.str=i(e.slice(s+1,t)),a.ok=!0,a;92===n&&t+1<r?t+=2:t++}return a}for(o=0;t<r&&32!==(n=e.charCodeAt(t))&&!(n<32||127===n);)if(92===n&&t+1<r){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===n&&++o>32)return a;if(41===n){if(0===o)break;o--}t++}return s===t||0!==o||(a.str=i(e.slice(s,t)),a.lines=0,a.pos=t,a.ok=!0),a}},3595:e=>{"use strict";e.exports=function(e,t,r){var i,n,o,s,a=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,i=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--i){n=!0;break}if(s=e.pos,e.md.inline.skipToken(e),91===o)if(s===e.pos-1)i++;else if(r)return e.pos=u,-1}return n&&(a=e.pos),e.pos=u,a}},8040:(e,t,r)=>{"use strict";var i=r(7022).unescapeAll;e.exports=function(e,t,r){var n,o,s=0,a=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=r)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<r;){if((n=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=s,l.str=i(e.slice(a+1,t)),l.ok=!0,l;if(40===n&&41===o)return l;10===n?s++:92===n&&t+1<r&&(t++,10===e.charCodeAt(t)&&s++),t++}return l}},7024:(e,t,r)=>{"use strict";var i=r(7022),n=r(1685),o=r(7529),s=r(7346),a=r(2471),l=r(4485),u=r(8337),c=r(8765),d=r(3689),f={default:r(4218),zero:r(873),commonmark:r(6895)},h=/^(vbscript|javascript|file|data):/,p=/^data:image\/(gif|png|jpeg|webp);/;function g(e){var t=e.trim().toLowerCase();return!h.test(t)||!!p.test(t)}var m=["http:","https:","mailto:"];function b(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=d.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function v(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=d.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t),c.decode.defaultChars+"%")}function x(e,t){if(!(this instanceof x))return new x(e,t);t||i.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new a,this.core=new s,this.renderer=new o,this.linkify=new u,this.validateLink=g,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=i,this.helpers=i.assign({},n),this.options={},this.configure(e),t&&this.set(t)}x.prototype.set=function(e){return i.assign(this.options,e),this},x.prototype.configure=function(e){var t,r=this;if(i.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},x.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var i=e.filter((function(e){return r.indexOf(e)<0}));if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},x.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var i=e.filter((function(e){return r.indexOf(e)<0}));if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},x.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},x.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},x.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},x.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},x.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=x},2471:(e,t,r)=>{"use strict";var i=r(9580),n=[["table",r(1785),["paragraph","reference"]],["code",r(8768)],["fence",r(3542),["paragraph","reference","blockquote","list"]],["blockquote",r(5258),["paragraph","reference","blockquote","list"]],["hr",r(5634),["paragraph","reference","blockquote","list"]],["list",r(8532),["paragraph","reference","blockquote"]],["reference",r(3804)],["html_block",r(6329),["paragraph","reference","blockquote"]],["heading",r(1630),["paragraph","reference","blockquote"]],["lheading",r(6850)],["paragraph",r(6864)]];function o(){this.ruler=new i;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1],{alt:(n[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,r){for(var i,n=this.ruler.getRules(""),o=n.length,s=t,a=!1,l=e.md.options.maxNesting;s<r&&(e.line=s=e.skipEmptyLines(s),!(s>=r))&&!(e.sCount[s]<e.blkIndent);){if(e.level>=l){e.line=r;break}for(i=0;i<o&&!n[i](e,s,r,!1);i++);e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(s=e.line)<r&&e.isEmpty(s)&&(a=!0,s++,e.line=s)}},o.prototype.parse=function(e,t,r,i){var n;e&&(n=new this.State(e,t,r,i),this.tokenize(n,n.line,n.lineMax))},o.prototype.State=r(2948),e.exports=o},7346:(e,t,r)=>{"use strict";var i=r(9580),n=[["normalize",r(4129)],["block",r(898)],["inline",r(9827)],["linkify",r(7830)],["replacements",r(2834)],["smartquotes",r(8450)],["text_join",r(6633)]];function o(){this.ruler=new i;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1])}o.prototype.process=function(e){var t,r,i;for(t=0,r=(i=this.ruler.getRules("")).length;t<r;t++)i[t](e)},o.prototype.State=r(6480),e.exports=o},4485:(e,t,r)=>{"use strict";var i=r(9580),n=[["text",r(9941)],["linkify",r(2906)],["newline",r(3905)],["escape",r(1917)],["backticks",r(9755)],["strikethrough",r(4814).w],["emphasis",r(7894).w],["link",r(1727)],["image",r(3006)],["autolink",r(3420)],["html_inline",r(1779)],["entity",r(9391)]],o=[["balance_pairs",r(9354)],["strikethrough",r(4814).g],["emphasis",r(7894).g],["fragments_join",r(9969)]];function s(){var e;for(this.ruler=new i,e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1]);for(this.ruler2=new i,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}s.prototype.skipToken=function(e){var t,r,i=e.pos,n=this.ruler.getRules(""),o=n.length,s=e.md.options.maxNesting,a=e.cache;if(void 0===a[i]){if(e.level<s)for(r=0;r<o&&(e.level++,t=n[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,a[i]=e.pos}else e.pos=a[i]},s.prototype.tokenize=function(e){for(var t,r,i=this.ruler.getRules(""),n=i.length,o=e.posMax,s=e.md.options.maxNesting;e.pos<o;){if(e.level<s)for(r=0;r<n&&!(t=i[r](e,!1));r++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},s.prototype.parse=function(e,t,r,i){var n,o,s,a=new this.State(e,t,r,i);for(this.tokenize(a),s=(o=this.ruler2.getRules("")).length,n=0;n<s;n++)o[n](a)},s.prototype.State=r(670),e.exports=s},6895:e=>{"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},4218:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},873:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}},7529:(e,t,r)=>{"use strict";var i=r(7022).assign,n=r(7022).unescapeAll,o=r(7022).escapeHtml,s={};function a(){this.rules=i({},s)}s.code_inline=function(e,t,r,i,n){var s=e[t];return"<code"+n.renderAttrs(s)+">"+o(e[t].content)+"</code>"},s.code_block=function(e,t,r,i,n){var s=e[t];return"<pre"+n.renderAttrs(s)+"><code>"+o(e[t].content)+"</code></pre>\n"},s.fence=function(e,t,r,i,s){var a,l,u,c,d,f=e[t],h=f.info?n(f.info).trim():"",p="",g="";return h&&(p=(u=h.split(/(\s+)/g))[0],g=u.slice(2).join("")),0===(a=r.highlight&&r.highlight(f.content,p,g)||o(f.content)).indexOf("<pre")?a+"\n":h?(l=f.attrIndex("class"),c=f.attrs?f.attrs.slice():[],l<0?c.push(["class",r.langPrefix+p]):(c[l]=c[l].slice(),c[l][1]+=" "+r.langPrefix+p),d={attrs:c},"<pre><code"+s.renderAttrs(d)+">"+a+"</code></pre>\n"):"<pre><code"+s.renderAttrs(f)+">"+a+"</code></pre>\n"},s.image=function(e,t,r,i,n){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=n.renderInlineAsText(o.children,r,i),n.renderToken(e,t,r)},s.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},s.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},s.text=function(e,t){return o(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,r,i;if(!e.attrs)return"";for(i="",t=0,r=e.attrs.length;t<r;t++)i+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return i},a.prototype.renderToken=function(e,t,r){var i,n="",o=!1,s=e[t];return s.hidden?"":(s.block&&-1!==s.nesting&&t&&e[t-1].hidden&&(n+="\n"),n+=(-1===s.nesting?"</":"<")+s.tag,n+=this.renderAttrs(s),0===s.nesting&&r.xhtmlOut&&(n+=" /"),s.block&&(o=!0,1===s.nesting&&t+1<e.length&&("inline"===(i=e[t+1]).type||i.hidden||-1===i.nesting&&i.tag===s.tag)&&(o=!1)),n+=o?">\n":">")},a.prototype.renderInline=function(e,t,r){for(var i,n="",o=this.rules,s=0,a=e.length;s<a;s++)void 0!==o[i=e[s].type]?n+=o[i](e,s,t,r,this):n+=this.renderToken(e,s,t);return n},a.prototype.renderInlineAsText=function(e,t,r){for(var i="",n=0,o=e.length;n<o;n++)"text"===e[n].type?i+=e[n].content:"image"===e[n].type?i+=this.renderInlineAsText(e[n].children,t,r):"softbreak"===e[n].type&&(i+="\n");return i},a.prototype.render=function(e,t,r){var i,n,o,s="",a=this.rules;for(i=0,n=e.length;i<n;i++)"inline"===(o=e[i].type)?s+=this.renderInline(e[i].children,t,r):void 0!==a[o]?s+=a[e[i].type](e,i,t,r,this):s+=this.renderToken(e,i,t,r);return s},e.exports=a},9580:e=>{"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))}))}))},t.prototype.at=function(e,t,r){var i=this.__find__(e),n=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__[i].fn=t,this.__rules__[i].alt=n.alt||[],this.__cache__=null},t.prototype.before=function(e,t,r,i){var n=this.__find__(e),o=i||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__.splice(n,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,r,i){var n=this.__find__(e),o=i||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__.splice(n+1,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,r){var i=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:i.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var i=this.__find__(e);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[i].enabled=!0,r.push(e)}),this),this.__cache__=null,r},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var i=this.__find__(e);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[i].enabled=!1,r.push(e)}),this),this.__cache__=null,r},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},5258:(e,t,r)=>{"use strict";var i=r(7022).isSpace;e.exports=function(e,t,r,n){var o,s,a,l,u,c,d,f,h,p,g,m,b,v,x,y,k,w,C,D,_=e.lineMax,S=e.bMarks[t]+e.tShift[t],A=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(n)return!0;for(l=h=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,l++,h++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[t]+h)%4==3?(S++,l++,h++,o=!1):o=!0):y=!1,p=[e.bMarks[t]],e.bMarks[t]=S;S<A&&(s=e.src.charCodeAt(S),i(s));)9===s?h+=4-(h+e.bsCount[t]+(o?1:0))%4:h++,S++;for(g=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),c=S>=A,v=[e.sCount[t]],e.sCount[t]=h-l,x=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",f=t+1;f<r&&(D=e.sCount[f]<e.blkIndent,!((S=e.bMarks[f]+e.tShift[f])>=(A=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(S++)||D){if(c)break;for(k=!1,a=0,u=w.length;a<u;a++)if(w[a](e,f,r,!0)){k=!0;break}if(k){e.lineMax=f,0!==e.blkIndent&&(p.push(e.bMarks[f]),g.push(e.bsCount[f]),x.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}p.push(e.bMarks[f]),g.push(e.bsCount[f]),x.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]=-1}else{for(l=h=e.sCount[f]+1,32===e.src.charCodeAt(S)?(S++,l++,h++,o=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[f]+h)%4==3?(S++,l++,h++,o=!1):o=!0):y=!1,p.push(e.bMarks[f]),e.bMarks[f]=S;S<A&&(s=e.src.charCodeAt(S),i(s));)9===s?h+=4-(h+e.bsCount[f]+(o?1:0))%4:h++,S++;c=S>=A,g.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(y?1:0),v.push(e.sCount[f]),e.sCount[f]=h-l,x.push(e.tShift[f]),e.tShift[f]=S-e.bMarks[f]}for(m=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=d=[t,0],e.md.block.tokenize(e,t,f),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=_,e.parentType=b,d[1]=e.line,a=0;a<x.length;a++)e.bMarks[a+t]=p[a],e.tShift[a+t]=x[a],e.sCount[a+t]=v[a],e.bsCount[a+t]=g[a];return e.blkIndent=m,!0}},8768:e=>{"use strict";e.exports=function(e,t,r){var i,n,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(n=i=t+1;i<r;)if(e.isEmpty(i))i++;else{if(!(e.sCount[i]-e.blkIndent>=4))break;n=++i}return e.line=n,(o=e.push("code_block","code",0)).content=e.getLines(t,n,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}},3542:e=>{"use strict";e.exports=function(e,t,r,i){var n,o,s,a,l,u,c,d=!1,f=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>h)return!1;if(126!==(n=e.src.charCodeAt(f))&&96!==n)return!1;if(l=f,(o=(f=e.skipChars(f,n))-l)<3)return!1;if(c=e.src.slice(l,f),s=e.src.slice(f,h),96===n&&s.indexOf(String.fromCharCode(n))>=0)return!1;if(i)return!0;for(a=t;!(++a>=r||(f=l=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.sCount[a]<e.blkIndent);)if(e.src.charCodeAt(f)===n&&!(e.sCount[a]-e.blkIndent>=4||(f=e.skipChars(f,n))-l<o||(f=e.skipSpaces(f))<h)){d=!0;break}return o=e.sCount[t],e.line=a+(d?1:0),(u=e.push("fence","code",0)).info=s,u.content=e.getLines(t+1,a,o,!0),u.markup=c,u.map=[t,e.line],!0}},1630:(e,t,r)=>{"use strict";var i=r(7022).isSpace;e.exports=function(e,t,r,n){var o,s,a,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(u))||u>=c)return!1;for(s=1,o=e.src.charCodeAt(++u);35===o&&u<c&&s<=6;)s++,o=e.src.charCodeAt(++u);return!(s>6||u<c&&!i(o)||(n||(c=e.skipSpacesBack(c,u),(a=e.skipCharsBack(c,35,u))>u&&i(e.src.charCodeAt(a-1))&&(c=a),e.line=t+1,(l=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(u,c).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),0))}},5634:(e,t,r)=>{"use strict";var i=r(7022).isSpace;e.exports=function(e,t,r,n){var o,s,a,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(u++))&&45!==o&&95!==o)return!1;for(s=1;u<c;){if((a=e.src.charCodeAt(u++))!==o&&!i(a))return!1;a===o&&s++}return!(s<3||(n||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(o))),0))}},6329:(e,t,r)=>{"use strict";var i=r(813),n=r(1947).q,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+i.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(n.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,i){var n,s,a,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),n=0;n<o.length&&!o[n][0].test(l);n++);if(n===o.length)return!1;if(i)return o[n][2];if(s=t+1,!o[n][1].test(l))for(;s<r&&!(e.sCount[s]<e.blkIndent);s++)if(u=e.bMarks[s]+e.tShift[s],c=e.eMarks[s],l=e.src.slice(u,c),o[n][1].test(l)){0!==l.length&&s++;break}return e.line=s,(a=e.push("html_block","",0)).map=[t,s],a.content=e.getLines(t,s,e.blkIndent,!0),!0}},6850:e=>{"use strict";e.exports=function(e,t,r){var i,n,o,s,a,l,u,c,d,f,h=t+1,p=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h])<(u=e.eMarks[h])&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=u)){c=61===d?1:2;break}if(!(e.sCount[h]<0)){for(n=!1,o=0,s=p.length;o<s;o++)if(p[o](e,h,r,!0)){n=!0;break}if(n)break}}return!!c&&(i=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(a=e.push("heading_open","h"+String(c),1)).markup=String.fromCharCode(d),a.map=[t,e.line],(a=e.push("inline","",0)).content=i,a.map=[t,e.line-1],a.children=[],(a=e.push("heading_close","h"+String(c),-1)).markup=String.fromCharCode(d),e.parentType=f,!0)}},8532:(e,t,r)=>{"use strict";var i=r(7022).isSpace;function n(e,t){var r,n,o,s;return n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(r=e.src.charCodeAt(n++))&&45!==r&&43!==r||n<o&&(s=e.src.charCodeAt(n),!i(s))?-1:n}function o(e,t){var r,n=e.bMarks[t]+e.tShift[t],o=n,s=e.eMarks[t];if(o+1>=s)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=s)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-n>=10)return-1}return o<s&&(r=e.src.charCodeAt(o),!i(r))?-1:o}e.exports=function(e,t,r,i){var s,a,l,u,c,d,f,h,p,g,m,b,v,x,y,k,w,C,D,_,S,A,E,F,L,M,T,z,B=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(i&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(B=!0),(E=o(e,t))>=0){if(f=!0,L=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(L,E-1)),B&&1!==v)return!1}else{if(!((E=n(e,t))>=0))return!1;f=!1}if(B&&e.skipSpaces(E)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(E-1),i)return!0;for(m=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==v&&(z.attrs=[["start",v]])):z=e.push("bullet_list_open","ul",1),z.map=g=[t,0],z.markup=String.fromCharCode(b),y=t,F=!1,T=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";y<r;){for(A=E,x=e.eMarks[y],d=k=e.sCount[y]+E-(e.bMarks[t]+e.tShift[t]);A<x;){if(9===(s=e.src.charCodeAt(A)))k+=4-(k+e.bsCount[y])%4;else{if(32!==s)break;k++}A++}if((c=(a=A)>=x?1:k-d)>4&&(c=1),u=d+c,(z=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),z.map=h=[t,0],f&&(z.info=e.src.slice(L,E-1)),S=e.tight,_=e.tShift[t],D=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=k,a>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!F||(N=!1),F=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=_,e.sCount[t]=D,e.tight=S,(z=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),y=t=e.line,h[1]=y,a=e.bMarks[t],y>=r)break;if(e.sCount[y]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(M=!1,l=0,p=T.length;l<p;l++)if(T[l](e,y,r,!0)){M=!0;break}if(M)break;if(f){if((E=o(e,y))<0)break;L=e.bMarks[y]+e.tShift[y]}else if((E=n(e,y))<0)break;if(b!==e.src.charCodeAt(E-1))break}return(z=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),g[1]=y,e.line=y,e.parentType=C,N&&function(e,t){var r,i,n=e.level+2;for(r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0}},6864:e=>{"use strict";e.exports=function(e,t){var r,i,n,o,s,a,l=t+1,u=e.md.block.ruler.getRules("paragraph"),c=e.lineMax;for(a=e.parentType,e.parentType="paragraph";l<c&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(i=!1,n=0,o=u.length;n<o;n++)if(u[n](e,l,c,!0)){i=!0;break}if(i)break}return r=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(s=e.push("paragraph_open","p",1)).map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line],s.children=[],s=e.push("paragraph_close","p",-1),e.parentType=a,!0}},3804:(e,t,r)=>{"use strict";var i=r(7022).normalizeReference,n=r(7022).isSpace;e.exports=function(e,t,r,o){var s,a,l,u,c,d,f,h,p,g,m,b,v,x,y,k,w=0,C=e.bMarks[t]+e.tShift[t],D=e.eMarks[t],_=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C<D;)if(93===e.src.charCodeAt(C)&&92!==e.src.charCodeAt(C-1)){if(C+1===D)return!1;if(58!==e.src.charCodeAt(C+1))return!1;break}for(u=e.lineMax,y=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";_<u&&!e.isEmpty(_);_++)if(!(e.sCount[_]-e.blkIndent>3||e.sCount[_]<0)){for(x=!1,d=0,f=y.length;d<f;d++)if(y[d](e,_,u,!0)){x=!0;break}if(x)break}for(D=(v=e.getLines(t,_,e.blkIndent,!1).trim()).length,C=1;C<D;C++){if(91===(s=v.charCodeAt(C)))return!1;if(93===s){p=C;break}(10===s||92===s&&++C<D&&10===v.charCodeAt(C))&&w++}if(p<0||58!==v.charCodeAt(p+1))return!1;for(C=p+2;C<D;C++)if(10===(s=v.charCodeAt(C)))w++;else if(!n(s))break;if(!(m=e.md.helpers.parseLinkDestination(v,C,D)).ok)return!1;if(c=e.md.normalizeLink(m.str),!e.md.validateLink(c))return!1;for(a=C=m.pos,l=w+=m.lines,b=C;C<D;C++)if(10===(s=v.charCodeAt(C)))w++;else if(!n(s))break;for(m=e.md.helpers.parseLinkTitle(v,C,D),C<D&&b!==C&&m.ok?(k=m.str,C=m.pos,w+=m.lines):(k="",C=a,w=l);C<D&&(s=v.charCodeAt(C),n(s));)C++;if(C<D&&10!==v.charCodeAt(C)&&k)for(k="",C=a,w=l;C<D&&(s=v.charCodeAt(C),n(s));)C++;return!(C<D&&10!==v.charCodeAt(C)||!(h=i(v.slice(1,p)))||(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[h]&&(e.env.references[h]={title:k,href:c}),e.parentType=g,e.line=t+w+1),0))}},2948:(e,t,r)=>{"use strict";var i=r(5872),n=r(7022).isSpace;function o(e,t,r,i){var o,s,a,l,u,c,d,f;for(this.src=e,this.md=t,this.env=r,this.tokens=i,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="",f=!1,a=l=c=d=0,u=(s=this.src).length;l<u;l++){if(o=s.charCodeAt(l),!f){if(n(o)){c++,9===o?d+=4-d%4:d++;continue}f=!0}10!==o&&l!==u-1||(10!==o&&l++,this.bMarks.push(a),this.eMarks.push(l),this.tShift.push(c),this.sCount.push(d),this.bsCount.push(0),f=!1,c=0,d=0,a=l+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,r){var n=new i(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),n(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!n(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,r,i){var o,s,a,l,u,c,d,f=e;if(e>=t)return"";for(c=new Array(t-e),o=0;f<t;f++,o++){for(s=0,d=l=this.bMarks[f],u=f+1<t||i?this.eMarks[f]+1:this.eMarks[f];l<u&&s<r;){if(a=this.src.charCodeAt(l),n(a))9===a?s+=4-(s+this.bsCount[f])%4:s++;else{if(!(l-d<this.tShift[f]))break;s++}l++}c[o]=s>r?new Array(s-r+1).join(" ")+this.src.slice(l,u):this.src.slice(l,u)}return c.join("")},o.prototype.Token=i,e.exports=o},1785:(e,t,r)=>{"use strict";var i=r(7022).isSpace;function n(e,t){var r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(r,i)}function o(e){var t,r=[],i=0,n=e.length,o=!1,s=0,a="";for(t=e.charCodeAt(i);i<n;)124===t&&(o?(a+=e.substring(s,i-1),s=i):(r.push(a+e.substring(s,i)),a="",s=i+1)),o=92===t,i++,t=e.charCodeAt(i);return r.push(a+e.substring(s)),r}e.exports=function(e,t,r,s){var a,l,u,c,d,f,h,p,g,m,b,v,x,y,k,w,C,D;if(t+2>r)return!1;if(f=t+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((u=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(C=e.src.charCodeAt(u++))&&45!==C&&58!==C)return!1;if(u>=e.eMarks[f])return!1;if(124!==(D=e.src.charCodeAt(u++))&&45!==D&&58!==D&&!i(D))return!1;if(45===C&&i(D))return!1;for(;u<e.eMarks[f];){if(124!==(a=e.src.charCodeAt(u))&&45!==a&&58!==a&&!i(a))return!1;u++}for(h=(l=n(e,t+1)).split("|"),m=[],c=0;c<h.length;c++){if(!(b=h[c].trim())){if(0===c||c===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?m.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(l=n(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((h=o(l)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),0===(p=h.length)||p!==m.length)return!1;if(s)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(g=e.push("table_open","table",1)).map=v=[t,0],(g=e.push("thead_open","thead",1)).map=[t,t+1],(g=e.push("tr_open","tr",1)).map=[t,t+1],c=0;c<h.length;c++)g=e.push("th_open","th",1),m[c]&&(g.attrs=[["style","text-align:"+m[c]]]),(g=e.push("inline","",0)).content=h[c].trim(),g.children=[],g=e.push("th_close","th",-1);for(g=e.push("tr_close","tr",-1),g=e.push("thead_close","thead",-1),f=t+2;f<r&&!(e.sCount[f]<e.blkIndent);f++){for(k=!1,c=0,d=w.length;c<d;c++)if(w[c](e,f,r,!0)){k=!0;break}if(k)break;if(!(l=n(e,f).trim()))break;if(e.sCount[f]-e.blkIndent>=4)break;for((h=o(l)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),f===t+2&&((g=e.push("tbody_open","tbody",1)).map=x=[t+2,0]),(g=e.push("tr_open","tr",1)).map=[f,f+1],c=0;c<p;c++)g=e.push("td_open","td",1),m[c]&&(g.attrs=[["style","text-align:"+m[c]]]),(g=e.push("inline","",0)).content=h[c]?h[c].trim():"",g.children=[],g=e.push("td_close","td",-1);g=e.push("tr_close","tr",-1)}return x&&(g=e.push("tbody_close","tbody",-1),x[1]=f),g=e.push("table_close","table",-1),v[1]=f,e.parentType=y,e.line=f,!0}},898:e=>{"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},9827:e=>{"use strict";e.exports=function(e){var t,r,i,n=e.tokens;for(r=0,i=n.length;r<i;r++)"inline"===(t=n[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},7830:(e,t,r)=>{"use strict";var i=r(7022).arrayReplaceAt;function n(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,o,s,a,l,u,c,d,f,h,p,g,m,b,v,x,y,k=e.tokens;if(e.md.options.linkify)for(r=0,o=k.length;r<o;r++)if("inline"===k[r].type&&e.md.linkify.pretest(k[r].content))for(g=0,t=(s=k[r].children).length-1;t>=0;t--)if("link_close"!==(l=s[t]).type){if("html_inline"===l.type&&(y=l.content,/^<a[>\s]/i.test(y)&&g>0&&g--,n(l.content)&&g++),!(g>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,x=e.md.linkify.match(d),u=[],p=l.level,h=0,x.length>0&&0===x[0].index&&t>0&&"text_special"===s[t-1].type&&(x=x.slice(1)),c=0;c<x.length;c++)m=x[c].url,b=e.md.normalizeLink(m),e.md.validateLink(b)&&(v=x[c].text,v=x[c].schema?"mailto:"!==x[c].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(f=x[c].index)>h&&((a=new e.Token("text","",0)).content=d.slice(h,f),a.level=p,u.push(a)),(a=new e.Token("link_open","a",1)).attrs=[["href",b]],a.level=p++,a.markup="linkify",a.info="auto",u.push(a),(a=new e.Token("text","",0)).content=v,a.level=p,u.push(a),(a=new e.Token("link_close","a",-1)).level=--p,a.markup="linkify",a.info="auto",u.push(a),h=x[c].lastIndex);h<d.length&&((a=new e.Token("text","",0)).content=d.slice(h),a.level=p,u.push(a)),k[r].children=s=i(s,t,u)}}else for(t--;s[t].level!==l.level&&"link_open"!==s[t].type;)t--}},4129:e=>{"use strict";var t=/\r\n?|\n/g,r=/\0/g;e.exports=function(e){var i;i=(i=e.src.replace(t,"\n")).replace(r,"�"),e.src=i}},2834:e=>{"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,r=/\((c|tm|r)\)/i,i=/\((c|tm|r)\)/gi,n={c:"©",r:"®",tm:"™"};function o(e,t){return n[t.toLowerCase()]}function s(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(i,o)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function a(e){var r,i,n=0;for(r=e.length-1;r>=0;r--)"text"!==(i=e[r]).type||n||t.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===i.type&&"auto"===i.info&&n--,"link_close"===i.type&&"auto"===i.info&&n++}e.exports=function(e){var i;if(e.md.options.typographer)for(i=e.tokens.length-1;i>=0;i--)"inline"===e.tokens[i].type&&(r.test(e.tokens[i].content)&&s(e.tokens[i].children),t.test(e.tokens[i].content)&&a(e.tokens[i].children))}},8450:(e,t,r)=>{"use strict";var i=r(7022).isWhiteSpace,n=r(7022).isPunctChar,o=r(7022).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function l(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function u(e,t){var r,s,u,c,d,f,h,p,g,m,b,v,x,y,k,w,C,D,_,S,A;for(_=[],r=0;r<e.length;r++){for(s=e[r],h=e[r].level,C=_.length-1;C>=0&&!(_[C].level<=h);C--);if(_.length=C+1,"text"===s.type){d=0,f=(u=s.content).length;e:for(;d<f&&(a.lastIndex=d,c=a.exec(u));){if(k=w=!0,d=c.index+1,D="'"===c[0],g=32,c.index-1>=0)g=u.charCodeAt(c.index-1);else for(C=r-1;C>=0&&"softbreak"!==e[C].type&&"hardbreak"!==e[C].type;C--)if(e[C].content){g=e[C].content.charCodeAt(e[C].content.length-1);break}if(m=32,d<f)m=u.charCodeAt(d);else for(C=r+1;C<e.length&&"softbreak"!==e[C].type&&"hardbreak"!==e[C].type;C++)if(e[C].content){m=e[C].content.charCodeAt(0);break}if(b=o(g)||n(String.fromCharCode(g)),v=o(m)||n(String.fromCharCode(m)),x=i(g),(y=i(m))?k=!1:v&&(x||b||(k=!1)),x?w=!1:b&&(y||v||(w=!1)),34===m&&'"'===c[0]&&g>=48&&g<=57&&(w=k=!1),k&&w&&(k=b,w=v),k||w){if(w)for(C=_.length-1;C>=0&&(p=_[C],!(_[C].level<h));C--)if(p.single===D&&_[C].level===h){p=_[C],D?(S=t.md.options.quotes[2],A=t.md.options.quotes[3]):(S=t.md.options.quotes[0],A=t.md.options.quotes[1]),s.content=l(s.content,c.index,A),e[p.token].content=l(e[p.token].content,p.pos,S),d+=A.length-1,p.token===r&&(d+=S.length-1),f=(u=s.content).length,_.length=C;continue e}k?_.push({token:r,pos:c.index,single:D,level:h}):w&&D&&(s.content=l(s.content,c.index,"’"))}else D&&(s.content=l(s.content,c.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},6480:(e,t,r)=>{"use strict";var i=r(5872);function n(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}n.prototype.Token=i,e.exports=n},6633:e=>{"use strict";e.exports=function(e){var t,r,i,n,o,s,a=e.tokens;for(t=0,r=a.length;t<r;t++)if("inline"===a[t].type){for(o=(i=a[t].children).length,n=0;n<o;n++)"text_special"===i[n].type&&(i[n].type="text");for(n=s=0;n<o;n++)"text"===i[n].type&&n+1<o&&"text"===i[n+1].type?i[n+1].content=i[n].content+i[n+1].content:(n!==s&&(i[s]=i[n]),s++);n!==s&&(i.length=s)}}},3420:e=>{"use strict";var t=/^([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])?)*)$/,r=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,i){var n,o,s,a,l,u,c=e.pos;if(60!==e.src.charCodeAt(c))return!1;for(l=e.pos,u=e.posMax;;){if(++c>=u)return!1;if(60===(a=e.src.charCodeAt(c)))return!1;if(62===a)break}return n=e.src.slice(l+1,c),r.test(n)?(o=e.md.normalizeLink(n),!!e.md.validateLink(o)&&(i||((s=e.push("link_open","a",1)).attrs=[["href",o]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(n),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=n.length+2,!0)):!!t.test(n)&&(o=e.md.normalizeLink("mailto:"+n),!!e.md.validateLink(o)&&(i||((s=e.push("link_open","a",1)).attrs=[["href",o]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(n),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=n.length+2,!0))}},9755:e=>{"use strict";e.exports=function(e,t){var r,i,n,o,s,a,l,u,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,i=e.posMax;c<i&&96===e.src.charCodeAt(c);)c++;if(l=(n=e.src.slice(r,c)).length,e.backticksScanned&&(e.backticks[l]||0)<=r)return t||(e.pending+=n),e.pos+=l,!0;for(s=a=c;-1!==(s=e.src.indexOf("`",a));){for(a=s+1;a<i&&96===e.src.charCodeAt(a);)a++;if((u=a-s)===l)return t||((o=e.push("code_inline","code",0)).markup=n,o.content=e.src.slice(c,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0;e.backticks[u]=s}return e.backticksScanned=!0,t||(e.pending+=n),e.pos+=l,!0}},9354:e=>{"use strict";function t(e,t){var r,i,n,o,s,a,l,u,c={},d=t.length;if(d){var f=0,h=-2,p=[];for(r=0;r<d;r++)if(n=t[r],p.push(0),t[f].marker===n.marker&&h===n.token-1||(f=r),h=n.token,n.length=n.length||0,n.close){for(c.hasOwnProperty(n.marker)||(c[n.marker]=[-1,-1,-1,-1,-1,-1]),s=c[n.marker][(n.open?3:0)+n.length%3],a=i=f-p[f]-1;i>s;i-=p[i]+1)if((o=t[i]).marker===n.marker&&o.open&&o.end<0&&(l=!1,(o.close||n.open)&&(o.length+n.length)%3==0&&(o.length%3==0&&n.length%3==0||(l=!0)),!l)){u=i>0&&!t[i-1].open?p[i-1]+1:0,p[r]=r-i+u,p[i]=u,n.open=!1,o.end=r,o.close=!1,a=-1,h=-2;break}-1!==a&&(c[n.marker][(n.open?3:0)+(n.length||0)%3]=a)}}}e.exports=function(e){var r,i=e.tokens_meta,n=e.tokens_meta.length;for(t(0,e.delimiters),r=0;r<n;r++)i[r]&&i[r].delimiters&&t(0,i[r].delimiters)}},7894:e=>{"use strict";function t(e,t){var r,i,n,o,s,a;for(r=t.length-1;r>=0;r--)95!==(i=t[r]).marker&&42!==i.marker||-1!==i.end&&(n=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===n.token+1,s=String.fromCharCode(i.marker),(o=e.tokens[i.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?s+s:s,o.content="",(o=e.tokens[n.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?s+s:s,o.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--))}e.exports.w=function(e,t){var r,i,n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(95!==o&&42!==o)return!1;for(i=e.scanDelims(e.pos,42===o),r=0;r<i.length;r++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},e.exports.g=function(e){var r,i=e.tokens_meta,n=e.tokens_meta.length;for(t(e,e.delimiters),r=0;r<n;r++)i[r]&&i[r].delimiters&&t(e,i[r].delimiters)}},9391:(e,t,r)=>{"use strict";var i=r(6233),n=r(7022).has,o=r(7022).isValidEntityCode,s=r(7022).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,u,c,d=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1>=f)return!1;if(35===e.src.charCodeAt(d+1)){if(u=e.src.slice(d).match(a))return t||(r="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),(c=e.push("text_special","",0)).content=o(r)?s(r):s(65533),c.markup=u[0],c.info="entity"),e.pos+=u[0].length,!0}else if((u=e.src.slice(d).match(l))&&n(i,u[1]))return t||((c=e.push("text_special","",0)).content=i[u[1]],c.markup=u[0],c.info="entity"),e.pos+=u[0].length,!0;return!1}},1917:(e,t,r)=>{"use strict";for(var i=r(7022).isSpace,n=[],o=0;o<256;o++)n.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){n[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,o,s,a,l,u=e.pos,c=e.posMax;if(92!==e.src.charCodeAt(u))return!1;if(++u>=c)return!1;if(10===(r=e.src.charCodeAt(u))){for(t||e.push("hardbreak","br",0),u++;u<c&&(r=e.src.charCodeAt(u),i(r));)u++;return e.pos=u,!0}return a=e.src[u],r>=55296&&r<=56319&&u+1<c&&(o=e.src.charCodeAt(u+1))>=56320&&o<=57343&&(a+=e.src[u+1],u++),s="\\"+a,t||(l=e.push("text_special","",0),r<256&&0!==n[r]?l.content=a:l.content=s,l.markup=s,l.info="escape"),e.pos=u+1,!0}},9969:e=>{"use strict";e.exports=function(e){var t,r,i=0,n=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)n[t].nesting<0&&i--,n[t].level=i,n[t].nesting>0&&i++,"text"===n[t].type&&t+1<o&&"text"===n[t+1].type?n[t+1].content=n[t].content+n[t+1].content:(t!==r&&(n[r]=n[t]),r++);t!==r&&(n.length=r)}},1779:(e,t,r)=>{"use strict";var i=r(1947).n;e.exports=function(e,t){var r,n,o,s,a,l=e.pos;return!(!e.md.options.html||(o=e.posMax,60!==e.src.charCodeAt(l)||l+2>=o||33!==(r=e.src.charCodeAt(l+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r)||!(n=e.src.slice(l).match(i))||(t||((s=e.push("html_inline","",0)).content=e.src.slice(l,l+n[0].length),a=s.content,/^<a[>\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(s.content)&&e.linkLevel--),e.pos+=n[0].length,0)))}},3006:(e,t,r)=>{"use strict";var i=r(7022).normalizeReference,n=r(7022).isSpace;e.exports=function(e,t){var r,o,s,a,l,u,c,d,f,h,p,g,m,b="",v=e.pos,x=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(u=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=l+1)<x&&40===e.src.charCodeAt(c)){for(c++;c<x&&(o=e.src.charCodeAt(c),n(o)||10===o);c++);if(c>=x)return!1;for(m=c,(f=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(b=e.md.normalizeLink(f.str),e.md.validateLink(b)?c=f.pos:b=""),m=c;c<x&&(o=e.src.charCodeAt(c),n(o)||10===o);c++);if(f=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<x&&m!==c&&f.ok)for(h=f.str,c=f.pos;c<x&&(o=e.src.charCodeAt(c),n(o)||10===o);c++);else h="";if(c>=x||41!==e.src.charCodeAt(c))return e.pos=v,!1;c++}else{if(void 0===e.env.references)return!1;if(c<x&&91===e.src.charCodeAt(c)?(m=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(m,c++):c=l+1):c=l+1,a||(a=e.src.slice(u,l)),!(d=e.env.references[i(a)]))return e.pos=v,!1;b=d.href,h=d.title}return t||(s=e.src.slice(u,l),e.md.inline.parse(s,e.md,e.env,g=[]),(p=e.push("image","img",0)).attrs=r=[["src",b],["alt",""]],p.children=g,p.content=s,h&&r.push(["title",h])),e.pos=c,e.posMax=x,!0}},1727:(e,t,r)=>{"use strict";var i=r(7022).normalizeReference,n=r(7022).isSpace;e.exports=function(e,t){var r,o,s,a,l,u,c,d,f="",h="",p=e.pos,g=e.posMax,m=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((u=a+1)<g&&40===e.src.charCodeAt(u)){for(b=!1,u++;u<g&&(o=e.src.charCodeAt(u),n(o)||10===o);u++);if(u>=g)return!1;if(m=u,(c=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok){for(f=e.md.normalizeLink(c.str),e.md.validateLink(f)?u=c.pos:f="",m=u;u<g&&(o=e.src.charCodeAt(u),n(o)||10===o);u++);if(c=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<g&&m!==u&&c.ok)for(h=c.str,u=c.pos;u<g&&(o=e.src.charCodeAt(u),n(o)||10===o);u++);}(u>=g||41!==e.src.charCodeAt(u))&&(b=!0),u++}if(b){if(void 0===e.env.references)return!1;if(u<g&&91===e.src.charCodeAt(u)?(m=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(m,u++):u=a+1):u=a+1,s||(s=e.src.slice(l,a)),!(d=e.env.references[i(s)]))return e.pos=p,!1;f=d.href,h=d.title}return t||(e.pos=l,e.posMax=a,e.push("link_open","a",1).attrs=r=[["href",f]],h&&r.push(["title",h]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=u,e.posMax=g,!0}},2906:e=>{"use strict";var t=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;e.exports=function(e,r){var i,n,o,s,a,l,u;return!(!e.md.options.linkify||e.linkLevel>0||(i=e.pos)+3>e.posMax||58!==e.src.charCodeAt(i)||47!==e.src.charCodeAt(i+1)||47!==e.src.charCodeAt(i+2)||!(n=e.pending.match(t))||(o=n[1],!(s=e.md.linkify.matchAtStart(e.src.slice(i-o.length)))||(a=(a=s.url).replace(/\*+$/,""),l=e.md.normalizeLink(a),!e.md.validateLink(l)||(r||(e.pending=e.pending.slice(0,-o.length),(u=e.push("link_open","a",1)).attrs=[["href",l]],u.markup="linkify",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(a),(u=e.push("link_close","a",-1)).markup="linkify",u.info="auto"),e.pos+=a.length-o.length,0))))}},3905:(e,t,r)=>{"use strict";var i=r(7022).isSpace;e.exports=function(e,t){var r,n,o,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;if(r=e.pending.length-1,n=e.posMax,!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(o=r-1;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s<n&&i(e.src.charCodeAt(s));)s++;return e.pos=s,!0}},670:(e,t,r)=>{"use strict";var i=r(5872),n=r(7022).isWhiteSpace,o=r(7022).isPunctChar,s=r(7022).isMdAsciiPunct;function a(e,t,r,i){this.src=e,this.env=r,this.md=t,this.tokens=i,this.tokens_meta=Array(i.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,this.linkLevel=0}a.prototype.pushPending=function(){var e=new i("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},a.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new i(e,t,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},a.prototype.scanDelims=function(e,t){var r,i,a,l,u,c,d,f,h,p=e,g=!0,m=!0,b=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;p<b&&this.src.charCodeAt(p)===v;)p++;return a=p-e,i=p<b?this.src.charCodeAt(p):32,d=s(r)||o(String.fromCharCode(r)),h=s(i)||o(String.fromCharCode(i)),c=n(r),(f=n(i))?g=!1:h&&(c||d||(g=!1)),c?m=!1:d&&(f||h||(m=!1)),t?(l=g,u=m):(l=g&&(!m||d),u=m&&(!g||h)),{can_open:l,can_close:u,length:a}},a.prototype.Token=i,e.exports=a},4814:e=>{"use strict";function t(e,t){var r,i,n,o,s,a=[],l=t.length;for(r=0;r<l;r++)126===(n=t[r]).marker&&-1!==n.end&&(o=t[n.end],(s=e.tokens[n.token]).type="s_open",s.tag="s",s.nesting=1,s.markup="~~",s.content="",(s=e.tokens[o.token]).type="s_close",s.tag="s",s.nesting=-1,s.markup="~~",s.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&a.push(o.token-1));for(;a.length;){for(i=(r=a.pop())+1;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;r!==--i&&(s=e.tokens[i],e.tokens[i]=e.tokens[r],e.tokens[r]=s)}}e.exports.w=function(e,t){var r,i,n,o,s=e.pos,a=e.src.charCodeAt(s);if(t)return!1;if(126!==a)return!1;if(n=(i=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(a),n<2)return!1;for(n%2&&(e.push("text","",0).content=o,n--),r=0;r<n;r+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:a,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},e.exports.g=function(e){var r,i=e.tokens_meta,n=e.tokens_meta.length;for(t(e,e.delimiters),r=0;r<n;r++)i[r]&&i[r].delimiters&&t(e,i[r].delimiters)}},9941:e=>{"use strict";function t(e){switch(e){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}}e.exports=function(e,r){for(var i=e.pos;i<e.posMax&&!t(e.src.charCodeAt(i));)i++;return i!==e.pos&&(r||(e.pending+=e.src.slice(e.pos,i)),e.pos=i,!0)}},5872:e=>{"use strict";function t(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,r,i;if(!this.attrs)return-1;for(r=0,i=(t=this.attrs).length;r<i;r++)if(t[r][0]===e)return r;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var r=this.attrIndex(e),i=[e,t];r<0?this.attrPush(i):this.attrs[r]=i},t.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},t.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=t},3122:e=>{"use strict";var t={};function r(e,i){var n;return"string"!=typeof i&&(i=r.defaultChars),n=function(e){var r,i,n=t[e];if(n)return n;for(n=t[e]=[],r=0;r<128;r++)i=String.fromCharCode(r),n.push(i);for(r=0;r<e.length;r++)n[i=e.charCodeAt(r)]="%"+("0"+i.toString(16).toUpperCase()).slice(-2);return n}(i),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,i,o,s,a,l,u="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?u+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(u+=(l=i<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),s=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&s))?(u+=(l=i<<12&61440|o<<6&4032|63&s)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),s=parseInt(e.slice(t+7,t+9),16),a=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&s)&&128==(192&a))?((l=i<<18&1835008|o<<12&258048|s<<6&4032|63&a)<65536||l>1114111?u+="����":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+="�";return u}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},729:e=>{"use strict";var t={};function r(e,i,n){var o,s,a,l,u,c="";for("string"!=typeof i&&(n=i,i=r.defaultChars),void 0===n&&(n=!0),u=function(e){var r,i,n=t[e];if(n)return n;for(n=t[e]=[],r=0;r<128;r++)i=String.fromCharCode(r),/^[0-9a-z]$/i.test(i)?n.push(i):n.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<e.length;r++)n[e.charCodeAt(r)]=e[r];return n}(i),o=0,s=e.length;o<s;o++)if(a=e.charCodeAt(o),n&&37===a&&o+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))c+=e.slice(o,o+3),o+=2;else if(a<128)c+=u[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1<s&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},2201:e=>{"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",(t+=e.search||"")+(e.hash||"")}},8765:(e,t,r)=>{"use strict";e.exports.encode=r(729),e.exports.decode=r(3122),e.exports.format=r(2201),e.exports.parse=r(9553)},9553:e=>{"use strict";function t(){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 r=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,n=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(o),a=["%","/","?",";","#"].concat(s),l=["/","?","#"],u=/^[+a-z0-9A-Z_-]{0,63}$/,c=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var i,o,s,h,p,g=e;if(g=g.trim(),!t&&1===e.split("#").length){var m=n.exec(g);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var b=r.exec(g);if(b&&(s=(b=b[0]).toLowerCase(),this.protocol=b,g=g.substr(b.length)),(t||b||g.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(p="//"===g.substr(0,2))||b&&d[b]||(g=g.substr(2),this.slashes=!0)),!d[b]&&(p||b&&!f[b])){var v,x,y=-1;for(i=0;i<l.length;i++)-1!==(h=g.indexOf(l[i]))&&(-1===y||h<y)&&(y=h);for(-1!==(x=-1===y?g.lastIndexOf("@"):g.lastIndexOf("@",y))&&(v=g.slice(0,x),g=g.slice(x+1),this.auth=v),y=-1,i=0;i<a.length;i++)-1!==(h=g.indexOf(a[i]))&&(-1===y||h<y)&&(y=h);-1===y&&(y=g.length),":"===g[y-1]&&y--;var k=g.slice(0,y);g=g.slice(y),this.parseHost(k),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var C=this.hostname.split(/\./);for(i=0,o=C.length;i<o;i++){var D=C[i];if(D&&!D.match(u)){for(var _="",S=0,A=D.length;S<A;S++)D.charCodeAt(S)>127?_+="x":_+=D[S];if(!_.match(u)){var E=C.slice(0,i),F=C.slice(i+1),L=D.match(c);L&&(E.push(L[1]),F.unshift(L[2])),F.length&&(g=F.join(".")+g),this.hostname=E.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var M=g.indexOf("#");-1!==M&&(this.hash=g.substr(M),g=g.slice(0,M));var T=g.indexOf("?");return-1!==T&&(this.search=g.substr(T),g=g.slice(0,T)),g&&(this.pathname=g),f[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,r){if(e&&e instanceof t)return e;var i=new t;return i.parse(e,r),i}},3689:(e,t,r)=>{"use strict";r.r(t),r.d(t,{decode:()=>b,default:()=>k,encode:()=>v,toASCII:()=>y,toUnicode:()=>x,ucs2decode:()=>h,ucs2encode:()=>p});const i=2147483647,n=36,o=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,c=String.fromCharCode;function d(e){throw new RangeError(l[e])}function f(e,t){const r=e.split("@");let i="";r.length>1&&(i=r[0]+"@",e=r[1]);const n=function(e,t){const r=[];let i=e.length;for(;i--;)r[i]=t(e[i]);return r}((e=e.replace(a,".")).split("."),t).join(".");return i+n}function h(e){const t=[];let r=0;const i=e.length;for(;r<i;){const n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<i){const i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),r--)}else t.push(n)}return t}const p=e=>String.fromCodePoint(...e),g=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},m=function(e,t,r){let i=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;i+=n)e=u(e/35);return u(i+36*e/(e+38))},b=function(e){const t=[],r=e.length;let o=0,s=128,a=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let r=0;r<l;++r)e.charCodeAt(r)>=128&&d("not-basic"),t.push(e.charCodeAt(r));for(let f=l>0?l+1:0;f<r;){let l=o;for(let t=1,s=n;;s+=n){f>=r&&d("invalid-input");const l=(c=e.charCodeAt(f++))-48<10?c-22:c-65<26?c-65:c-97<26?c-97:n;(l>=n||l>u((i-o)/t))&&d("overflow"),o+=l*t;const h=s<=a?1:s>=a+26?26:s-a;if(l<h)break;const p=n-h;t>u(i/p)&&d("overflow"),t*=p}const h=t.length+1;a=m(o-l,h,0==l),u(o/h)>i-s&&d("overflow"),s+=u(o/h),o%=h,t.splice(o++,0,s)}var c;return String.fromCodePoint(...t)},v=function(e){const t=[];let r=(e=h(e)).length,o=128,s=0,a=72;for(const r of e)r<128&&t.push(c(r));let l=t.length,f=l;for(l&&t.push("-");f<r;){let r=i;for(const t of e)t>=o&&t<r&&(r=t);const h=f+1;r-o>u((i-s)/h)&&d("overflow"),s+=(r-o)*h,o=r;for(const r of e)if(r<o&&++s>i&&d("overflow"),r==o){let e=s;for(let r=n;;r+=n){const i=r<=a?1:r>=a+26?26:r-a;if(e<i)break;const o=e-i,s=n-i;t.push(c(g(i+o%s,0))),e=u(o/s)}t.push(c(g(e,0))),a=m(s,h,f==l),s=0,++f}++s,++o}return t.join("")},x=function(e){return f(e,(function(e){return o.test(e)?b(e.slice(4).toLowerCase()):e}))},y=function(e){return f(e,(function(e){return s.test(e)?"xn--"+v(e):e}))},k={version:"2.1.0",ucs2:{decode:h,encode:p},decode:b,encode:v,toASCII:y,toUnicode:x}},3132:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var i=r(3379),n=r.n(i),o=r(7795),s=r.n(o),a=r(569),l=r.n(a),u=r(3565),c=r.n(u),d=r(9216),f=r.n(d),h=r(4589),p=r.n(h),g=r(1556),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=f(),n()(g.Z,m);const b=g.Z&&g.Z.locals?g.Z.locals:void 0},5569:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var i=r(3379),n=r.n(i),o=r(7795),s=r.n(o),a=r(569),l=r.n(a),u=r(3565),c=r.n(u),d=r(9216),f=r.n(d),h=r(4589),p=r.n(h),g=r(1235),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=f(),n()(g.Z,m);const b=g.Z&&g.Z.locals?g.Z.locals:void 0},3379:e=>{"use strict";var t=[];function r(e){for(var r=-1,i=0;i<t.length;i++)if(t[i].identifier===e){r=i;break}return r}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var l=e[a],u=i.base?l[0]+i.base:l[0],c=o[u]||0,d="".concat(u," ").concat(c);o[u]=c+1;var f=r(d),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(h);else{var p=n(h,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function n(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,n){var o=i(e=e||[],n=n||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=r(o[s]);t[a].references--}for(var l=i(e,n),u=0;u<o.length;u++){var c=r(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var i=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(r)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var i="";r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,n&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4581:(e,t,r)=>{var i;!function(){"use strict";(i=function(e,t,r,i){i=i||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=i.flags||{},this.memoized={},this.loaded=!1;var n,o,s,a,l,u=this;function c(e,t){var r=u._readFile(e,null,i.asyncLoad);i.asyncLoad?r.then((function(e){t(e)})):t(r)}function d(e){t=e,r&&h()}function f(e){r=e,t&&h()}function h(){for(u.rules=u._parseAFF(t),u.compoundRuleCodes={},o=0,a=u.compoundRules.length;o<a;o++){var e=u.compoundRules[o];for(s=0,l=e.length;s<l;s++)u.compoundRuleCodes[e[s]]=[]}for(o in"ONLYINCOMPOUND"in u.flags&&(u.compoundRuleCodes[u.flags.ONLYINCOMPOUND]=[]),u.dictionaryTable=u._parseDIC(r),u.compoundRuleCodes)0===u.compoundRuleCodes[o].length&&delete u.compoundRuleCodes[o];for(o=0,a=u.compoundRules.length;o<a;o++){var n=u.compoundRules[o],c="";for(s=0,l=n.length;s<l;s++){var d=n[s];d in u.compoundRuleCodes?c+="("+u.compoundRuleCodes[d].join("|")+")":c+=d}u.compoundRules[o]=new RegExp(c,"i")}u.loaded=!0,i.asyncLoad&&i.loadedCallback&&i.loadedCallback(u)}return e&&(u.dictionary=e,t&&r?h():"undefined"!=typeof window&&"chrome"in window&&"extension"in window.chrome&&"getURL"in window.chrome.extension?(n=i.dictionaryPath?i.dictionaryPath:"typo/dictionaries",t||c(chrome.extension.getURL(n+"/"+e+"/"+e+".aff"),d),r||c(chrome.extension.getURL(n+"/"+e+"/"+e+".dic"),f)):(n=i.dictionaryPath?i.dictionaryPath:"//dictionaries",t||c(n+"/"+e+"/"+e+".aff",d),r||c(n+"/"+e+"/"+e+".dic",f))),this}).prototype={load:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);return this},_readFile:function(e,t,i){if(t=t||"utf8","undefined"!=typeof XMLHttpRequest){var n,o=new XMLHttpRequest;return o.open("GET",e,i),i&&(n=new Promise((function(e,t){o.onload=function(){200===o.status?e(o.responseText):t(o.statusText)},o.onerror=function(){t(o.statusText)}}))),o.overrideMimeType&&o.overrideMimeType("text/plain; charset="+t),o.send(null),i?n:o.responseText}var s=r(2562);try{if(s.existsSync(e))return s.readFileSync(e,t);console.log("Path "+e+" does not exist.")}catch(e){return console.log(e),""}},_parseAFF:function(e){var t,r,i,n,o,s,a,l={},u=e.split(/\r?\n/);for(n=0,s=u.length;n<s;n++)if(t=(t=this._removeAffixComments(u[n])).trim()){var c=t.split(/\s+/),d=c[0];if("PFX"==d||"SFX"==d){var f=c[1],h=c[2],p=[];for(o=n+1,a=n+1+(r=parseInt(c[3],10));o<a;o++){var g=(i=u[o].split(/\s+/))[2],m=i[3].split("/"),b=m[0];"0"===b&&(b="");var v=this.parseRuleCodes(m[1]),x=i[4],y={};y.add=b,v.length>0&&(y.continuationClasses=v),"."!==x&&(y.match="SFX"===d?new RegExp(x+"$"):new RegExp("^"+x)),"0"!=g&&(y.remove="SFX"===d?new RegExp(g+"$"):g),p.push(y)}l[f]={type:d,combineable:"Y"==h,entries:p},n+=r}else if("COMPOUNDRULE"===d){for(o=n+1,a=n+1+(r=parseInt(c[1],10));o<a;o++)i=(t=u[o]).split(/\s+/),this.compoundRules.push(i[1]);n+=r}else"REP"===d?3===(i=t.split(/\s+/)).length&&this.replacementTable.push([i[1],i[2]]):this.flags[d]=c[1]}return l},_removeAffixComments:function(e){return e.match(/^\s*#/,"")?"":e},_parseDIC:function(e){var t=(e=this._removeDicComments(e)).split(/\r?\n/),r={};function i(e,t){r.hasOwnProperty(e)||(r[e]=null),t.length>0&&(null===r[e]&&(r[e]=[]),r[e].push(t))}for(var n=1,o=t.length;n<o;n++){var s=t[n];if(s){var a=s.split("/",2),l=a[0];if(a.length>1){var u=this.parseRuleCodes(a[1]);"NEEDAFFIX"in this.flags&&-1!=u.indexOf(this.flags.NEEDAFFIX)||i(l,u);for(var c=0,d=u.length;c<d;c++){var f=u[c],h=this.rules[f];if(h)for(var p=this._applyRule(l,h),g=0,m=p.length;g<m;g++){var b=p[g];if(i(b,[]),h.combineable)for(var v=c+1;v<d;v++){var x=u[v],y=this.rules[x];if(y&&y.combineable&&h.type!=y.type)for(var k=this._applyRule(b,y),w=0,C=k.length;w<C;w++)i(k[w],[])}}f in this.compoundRuleCodes&&this.compoundRuleCodes[f].push(l)}}else i(l.trim(),[])}}return r},_removeDicComments:function(e){return e.replace(/^\t.*$/gm,"")},parseRuleCodes:function(e){if(!e)return[];if(!("FLAG"in this.flags))return e.split("");if("long"===this.flags.FLAG){for(var t=[],r=0,i=e.length;r<i;r+=2)t.push(e.substr(r,2));return t}return"num"===this.flags.FLAG?e.split(","):void 0},_applyRule:function(e,t){for(var r=t.entries,i=[],n=0,o=r.length;n<o;n++){var s=r[n];if(!s.match||e.match(s.match)){var a=e;if(s.remove&&(a=a.replace(s.remove,"")),"SFX"===t.type?a+=s.add:a=s.add+a,i.push(a),"continuationClasses"in s)for(var l=0,u=s.continuationClasses.length;l<u;l++){var c=this.rules[s.continuationClasses[l]];c&&(i=i.concat(this._applyRule(a,c)))}}}return i},check:function(e){if(!this.loaded)throw"Dictionary not loaded.";var t=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"");if(this.checkExact(t))return!0;if(t.toUpperCase()===t){var r=t[0]+t.substring(1).toLowerCase();if(this.hasFlag(r,"KEEPCASE"))return!1;if(this.checkExact(r))return!0;if(this.checkExact(t.toLowerCase()))return!0}var i=t[0].toLowerCase()+t.substring(1);if(i!==t){if(this.hasFlag(i,"KEEPCASE"))return!1;if(this.checkExact(i))return!0}return!1},checkExact:function(e){if(!this.loaded)throw"Dictionary not loaded.";var t,r,i=this.dictionaryTable[e];if(void 0===i){if("COMPOUNDMIN"in this.flags&&e.length>=this.flags.COMPOUNDMIN)for(t=0,r=this.compoundRules.length;t<r;t++)if(e.match(this.compoundRules[t]))return!0}else{if(null===i)return!0;if("object"==typeof i)for(t=0,r=i.length;t<r;t++)if(!this.hasFlag(e,"ONLYINCOMPOUND",i[t]))return!0}return!1},hasFlag:function(e,t,r){if(!this.loaded)throw"Dictionary not loaded.";return!(!(t in this.flags)||(void 0===r&&(r=Array.prototype.concat.apply([],this.dictionaryTable[e])),!r||-1===r.indexOf(this.flags[t])))},alphabet:"",suggest:function(e,t){if(!this.loaded)throw"Dictionary not loaded.";if(t=t||5,this.memoized.hasOwnProperty(e)){var r=this.memoized[e].limit;if(t<=r||this.memoized[e].suggestions.length<r)return this.memoized[e].suggestions.slice(0,t)}if(this.check(e))return[];for(var i=0,n=this.replacementTable.length;i<n;i++){var o=this.replacementTable[i];if(-1!==e.indexOf(o[0])){var s=e.replace(o[0],o[1]);if(this.check(s))return[s]}}var a=this;function l(e,t){var r,i,n,o,s={},l=a.alphabet.length;if("string"==typeof e){var u=e;(e={})[u]=!0}for(var u in e)for(r=0,n=u.length+1;r<n;r++){var c=[u.substring(0,r),u.substring(r)];if(c[1]&&(o=c[0]+c[1].substring(1),t&&!a.check(o)||(o in s?s[o]+=1:s[o]=1)),c[1].length>1&&c[1][1]!==c[1][0]&&(o=c[0]+c[1][1]+c[1][0]+c[1].substring(2),t&&!a.check(o)||(o in s?s[o]+=1:s[o]=1)),c[1]){var d=c[1].substring(0,1).toUpperCase()===c[1].substring(0,1)?"uppercase":"lowercase";for(i=0;i<l;i++){var f=a.alphabet[i];"uppercase"===d&&(f=f.toUpperCase()),f!=c[1].substring(0,1)&&(o=c[0]+f+c[1].substring(1),t&&!a.check(o)||(o in s?s[o]+=1:s[o]=1))}}if(c[1])for(i=0;i<l;i++)d=c[0].substring(-1).toUpperCase()===c[0].substring(-1)&&c[1].substring(0,1).toUpperCase()===c[1].substring(0,1)?"uppercase":"lowercase",f=a.alphabet[i],"uppercase"===d&&(f=f.toUpperCase()),o=c[0]+f+c[1],t&&!a.check(o)||(o in s?s[o]+=1:s[o]=1)}return s}return a.alphabet="abcdefghijklmnopqrstuvwxyz",this.memoized[e]={suggestions:function(e){var r,i=l(e),n=l(i,!0);for(var o in i)a.check(o)&&(o in n?n[o]+=i[o]:n[o]=i[o]);var s=[];for(r in n)n.hasOwnProperty(r)&&s.push([r,n[r]]);s.sort((function(e,t){var r=e[1],i=t[1];return r<i?-1:r>i?1:t[0].localeCompare(e[0])})).reverse();var u=[],c="lowercase";e.toUpperCase()===e?c="uppercase":e.substr(0,1).toUpperCase()+e.substr(1).toLowerCase()===e&&(c="capitalized");var d=t;for(r=0;r<Math.min(d,s.length);r++)"uppercase"===c?s[r][0]=s[r][0].toUpperCase():"capitalized"===c&&(s[r][0]=s[r][0].substr(0,1).toUpperCase()+s[r][0].substr(1)),a.hasFlag(s[r][0],"NOSUGGEST")||-1!=u.indexOf(s[r][0])?d++:u.push(s[r][0]);return u}(e),limit:t},this.memoized[e].suggestions}}}(),e.exports=i},9413:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},2326:e=>{e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},3189:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},5045:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},4205:(e,t,r)=>{"use strict";t.Any=r(9369),t.Cc=r(9413),t.Cf=r(2326),t.P=r(3189),t.Z=r(5045)},9369:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},2562:()=>{},970:(e,t)=>{"use strict";function r(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.ce={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};var o=/[&<>"']/,s=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return u[e]};function d(e,t){if(t){if(o.test(e))return e.replace(s,c)}else if(a.test(e))return e.replace(l,c);return e}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(f,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var p=/(^|[^\[])\^/g;function g(e,t){e="string"==typeof e?e:e.source,t=t||"";var r={replace:function(t,i){return i=(i=i.source||i).replace(p,"$1"),e=e.replace(t,i),r},getRegex:function(){return new RegExp(e,t)}};return r}var m=/[^\w:]/g,b=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function v(e,t,r){if(e){var i;try{i=decodeURIComponent(h(r)).replace(m,"").toLowerCase()}catch(e){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!b.test(r)&&(r=function(e,t){x[" "+e]||(y.test(e)?x[" "+e]=e+"/":x[" "+e]=S(e,"/",!0));var r=-1===(e=x[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(k,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(w,"$1")+t:e+t}(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r}var x={},y=/^[^:]+:\/*[^/]*$/,k=/^([^:]+:)[\s\S]*$/,w=/^([^:]+:\/*[^/]*)[\s\S]*$/,C={exec:function(){}};function D(e){for(var t,r,i=1;i<arguments.length;i++)for(r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function _(e,t){var r=e.replace(/\|/g,(function(e,t,r){for(var i=!1,n=t;--n>=0&&"\\"===r[n];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function S(e,t,r){var i=e.length;if(0===i)return"";for(var n=0;n<i;){var o=e.charAt(i-n-1);if(o!==t||r){if(o===t||!r)break;n++}else n++}return e.slice(0,i-n)}function A(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function E(e,t){if(t<1)return"";for(var r="";t>1;)1&t&&(r+=e),t>>=1,e+=e;return r+e}function F(e,t,r,i){var n=t.href,o=t.title?d(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;var a={type:"link",raw:r,href:n,title:o,text:s,tokens:i.inlineTokens(s,[])};return i.state.inLink=!1,a}return{type:"image",raw:r,href:n,title:o,text:d(s)}}var L=function(){function e(e){this.options=e||t.ce}var r=e.prototype;return r.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},r.code=function(e){var t=this.rules.block.code.exec(e);if(t){var r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:S(r,"\n")}}},r.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],i=function(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var i=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e})).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:i}}},r.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var r=t[2].trim();if(/#$/.test(r)){var i=S(r,"#");this.options.pedantic?r=i.trim():i&&!/ $/.test(i)||(r=i.trim())}var n={type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},r.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},r.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(r,[]),text:r}}},r.list=function(e){var t=this.rules.block.list.exec(e);if(t){var r,i,o,s,a,l,u,c,d,f,h,p,g=t[1].trim(),m=g.length>1,b={type:"list",raw:"",ordered:m,start:m?+g.slice(0,-1):"",loose:!1,items:[]};g=m?"\\d{1,9}\\"+g.slice(-1):"\\"+g,this.options.pedantic&&(g=m?g:"[*+-]");for(var v=new RegExp("^( {0,3}"+g+")((?:[\t ][^\\n]*)?(?:\\n|$))");e&&(p=!1,t=v.exec(e))&&!this.rules.block.hr.test(e);){if(r=t[0],e=e.substring(r.length),c=t[2].split("\n",1)[0],d=e.split("\n",1)[0],this.options.pedantic?(s=2,h=c.trimLeft()):(s=(s=t[2].search(/[^ ]/))>4?1:s,h=c.slice(s),s+=t[1].length),l=!1,!c&&/^ *$/.test(d)&&(r+=d+"\n",e=e.substring(d.length+1),p=!0),!p)for(var x=new RegExp("^ {0,"+Math.min(3,s-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),y=new RegExp("^ {0,"+Math.min(3,s-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)");e&&(c=f=e.split("\n",1)[0],this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!x.test(c))&&!y.test(e);){if(c.search(/[^ ]/)>=s||!c.trim())h+="\n"+c.slice(s);else{if(l)break;h+="\n"+c}l||c.trim()||(l=!0),r+=f+"\n",e=e.substring(f.length+1)}b.loose||(u?b.loose=!0:/\n *\n *$/.test(r)&&(u=!0)),this.options.gfm&&(i=/^\[[ xX]\] /.exec(h))&&(o="[ ] "!==i[0],h=h.replace(/^\[[ xX]\] +/,"")),b.items.push({type:"list_item",raw:r,task:!!i,checked:o,loose:!1,text:h}),b.raw+=r}b.items[b.items.length-1].raw=r.trimRight(),b.items[b.items.length-1].text=h.trimRight(),b.raw=b.raw.trimRight();var k=b.items.length;for(a=0;a<k;a++){this.lexer.state.top=!1,b.items[a].tokens=this.lexer.blockTokens(b.items[a].text,[]);var w=b.items[a].tokens.filter((function(e){return"space"===e.type})),C=w.every((function(e){for(var t,r=0,i=n(e.raw.split(""));!(t=i()).done;)if("\n"===t.value&&(r+=1),r>1)return!0;return!1}));!b.loose&&w.length&&C&&(b.loose=!0,b.items[a].loose=!0)}return b}},r.html=function(e){var t=this.rules.block.html.exec(e);if(t){var r={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(r.type="paragraph",r.text=this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]),r.tokens=[],this.lexer.inline(r.text,r.tokens)),r}},r.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},r.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:_(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var i,n,o,s,a=r.align.length;for(i=0;i<a;i++)/^ *-+: *$/.test(r.align[i])?r.align[i]="right":/^ *:-+: *$/.test(r.align[i])?r.align[i]="center":/^ *:-+ *$/.test(r.align[i])?r.align[i]="left":r.align[i]=null;for(a=r.rows.length,i=0;i<a;i++)r.rows[i]=_(r.rows[i],r.header.length).map((function(e){return{text:e}}));for(a=r.header.length,n=0;n<a;n++)r.header[n].tokens=[],this.lexer.inline(r.header[n].text,r.header[n].tokens);for(a=r.rows.length,n=0;n<a;n++)for(s=r.rows[n],o=0;o<s.length;o++)s[o].tokens=[],this.lexer.inline(s[o].text,s[o].tokens);return r}}},r.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t){var r={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},r.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t){var r={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},r.text=function(e){var t=this.rules.block.text.exec(e);if(t){var r={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},r.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}},r.tag=function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}},r.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=t[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;var i=S(r.slice(0,-1),"\\");if((r.length-i.length)%2==0)return}else{var n=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=e.length,i=0,n=0;n<r;n++)if("\\"===e[n])n++;else if(e[n]===t[0])i++;else if(e[n]===t[1]&&--i<0)return n;return-1}(t[2],"()");if(n>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var s=t[2],a="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],a=l[3])}else a=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^</.test(s)&&(s=this.options.pedantic&&!/>$/.test(r)?s.slice(1):s.slice(1,-1)),F(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0],this.lexer)}},r.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var i=(r[2]||r[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var n=r[0].charAt(0);return{type:"text",raw:n,text:n}}return F(r,i,r[0],this.lexer)}},r.emStrong=function(e,t,r){void 0===r&&(r="");var i=this.rules.inline.emStrong.lDelim.exec(e);if(i&&(!i[3]||!r.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var n=i[1]||i[2]||"";if(!n||n&&(""===r||this.rules.inline.punctuation.exec(r))){var o,s,a=i[0].length-1,l=a,u=0,c="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+a);null!=(i=c.exec(t));)if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6])if(s=o.length,i[3]||i[4])l+=s;else if(!((i[5]||i[6])&&a%3)||(a+s)%3){if(!((l-=s)>0)){if(s=Math.min(s,s+l+u),Math.min(a,s)%2){var d=e.slice(1,a+i.index+s);return{type:"em",raw:e.slice(0,a+i.index+s+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}var f=e.slice(2,a+i.index+s-1);return{type:"strong",raw:e.slice(0,a+i.index+s+1),text:f,tokens:this.lexer.inlineTokens(f,[])}}}else u+=s}}},r.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),i=/[^ ]/.test(r),n=/^ /.test(r)&&/ $/.test(r);return i&&n&&(r=r.substring(1,r.length-1)),r=d(r,!0),{type:"codespan",raw:t[0],text:r}}},r.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},r.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},r.autolink=function(e,t){var r,i,n=this.rules.inline.autolink.exec(e);if(n)return i="@"===n[2]?"mailto:"+(r=d(this.options.mangle?t(n[1]):n[1])):r=d(n[1]),{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}},r.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var i,n;if("@"===r[2])n="mailto:"+(i=d(this.options.mangle?t(r[0]):r[0]));else{var o;do{o=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(o!==r[0]);i=d(r[0]),n="www."===r[1]?"http://"+i:i}return{type:"link",raw:r[0],text:i,href:n,tokens:[{type:"text",raw:i,text:i}]}}},r.inlineText=function(e,t){var r,i=this.rules.inline.text.exec(e);if(i)return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):d(i[0]):i[0]:d(this.options.smartypants?t(i[0]):i[0]),{type:"text",raw:i[0],text:r}},e}(),M={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:C,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};M.def=g(M.def).replace("label",M._label).replace("title",M._title).getRegex(),M.bullet=/(?:[*+-]|\d{1,9}[.)])/,M.listItemStart=g(/^( *)(bull) */).replace("bull",M.bullet).getRegex(),M.list=g(M.list).replace(/bull/g,M.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+M.def.source+")").getRegex(),M._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",M._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,M.html=g(M.html,"i").replace("comment",M._comment).replace("tag",M._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),M.paragraph=g(M._paragraph).replace("hr",M.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M._tag).getRegex(),M.blockquote=g(M.blockquote).replace("paragraph",M.paragraph).getRegex(),M.normal=D({},M),M.gfm=D({},M.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),M.gfm.table=g(M.gfm.table).replace("hr",M.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M._tag).getRegex(),M.gfm.paragraph=g(M._paragraph).replace("hr",M.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",M.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M._tag).getRegex(),M.pedantic=D({},M.normal,{html:g("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",M._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:C,paragraph:g(M.normal._paragraph).replace("hr",M.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",M.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var T={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:C,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:C,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function z(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function B(e){var t,r,i="",n=e.length;for(t=0;t<n;t++)r=e.charCodeAt(t),Math.random()>.5&&(r="x"+r.toString(16)),i+="&#"+r+";";return i}T._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",T.punctuation=g(T.punctuation).replace(/punctuation/g,T._punctuation).getRegex(),T.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,T.escapedEmSt=/\\\*|\\_/g,T._comment=g(M._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),T.emStrong.lDelim=g(T.emStrong.lDelim).replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimAst=g(T.emStrong.rDelimAst,"g").replace(/punct/g,T._punctuation).getRegex(),T.emStrong.rDelimUnd=g(T.emStrong.rDelimUnd,"g").replace(/punct/g,T._punctuation).getRegex(),T._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,T._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,T._email=/[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])?)+(?![-_])/,T.autolink=g(T.autolink).replace("scheme",T._scheme).replace("email",T._email).getRegex(),T._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,T.tag=g(T.tag).replace("comment",T._comment).replace("attribute",T._attribute).getRegex(),T._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,T._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,T._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,T.link=g(T.link).replace("label",T._label).replace("href",T._href).replace("title",T._title).getRegex(),T.reflink=g(T.reflink).replace("label",T._label).replace("ref",M._label).getRegex(),T.nolink=g(T.nolink).replace("ref",M._label).getRegex(),T.reflinkSearch=g(T.reflinkSearch,"g").replace("reflink",T.reflink).replace("nolink",T.nolink).getRegex(),T.normal=D({},T),T.pedantic=D({},T.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",T._label).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",T._label).getRegex()}),T.gfm=D({},T.normal,{escape:g(T.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),T.gfm.url=g(T.gfm.url,"i").replace("email",T.gfm._extended_email).getRegex(),T.breaks=D({},T.gfm,{br:g(T.br).replace("{2,}","*").getRegex(),text:g(T.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var N=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||t.ce,this.options.tokenizer=this.options.tokenizer||new L,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var r={block:M.normal,inline:T.normal};this.options.pedantic?(r.block=M.pedantic,r.inline=T.pedantic):this.options.gfm&&(r.block=M.gfm,this.options.breaks?r.inline=T.breaks:r.inline=T.gfm),this.tokenizer.rules=r}e.lex=function(t,r){return new e(r).lex(t)},e.lexInline=function(t,r){return new e(r).inlineTokens(t)};var i,n,o=e.prototype;return o.lex=function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens},o.blockTokens=function(e,t){var r,i,n,o,s=this;for(void 0===t&&(t=[]),e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(function(e,t,r){return t+" ".repeat(r.length)}));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(i){return!!(r=i.call({lexer:s},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),!(i=t[t.length-1])||"paragraph"!==i.type&&"text"!==i.type?t.push(r):(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.list(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.def(e))e=e.substring(r.raw.length),!(i=t[t.length-1])||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(i.raw+="\n"+r.raw,i.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,r=e.slice(1),i=void 0;s.options.extensions.startBlock.forEach((function(e){"number"==typeof(i=e.call({lexer:this},r))&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(n=e.substring(0,t+1))}(),this.state.top&&(r=this.tokenizer.paragraph(n)))i=t[t.length-1],o&&"paragraph"===i.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r),o=n.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),(i=t[t.length-1])&&"text"===i.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r);else if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}return this.state.top=!0,t},o.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},o.inlineTokens=function(e,t){var r,i,n,o=this;void 0===t&&(t=[]);var s,a,l,u=e;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(u));)c.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,s.index)+"["+E("a",s[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,s.index)+"["+E("a",s[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,s.index)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(a||(l=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(i){return!!(r=i.call({lexer:o},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)}))))if(r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e))e=e.substring(r.raw.length),(i=t[t.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(r.raw.length),(i=t[t.length-1])&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);else if(r=this.tokenizer.emStrong(e,u,l))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.autolink(e,B))e=e.substring(r.raw.length),t.push(r);else if(this.state.inLink||!(r=this.tokenizer.url(e,B))){if(n=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,r=e.slice(1),i=void 0;o.options.extensions.startInline.forEach((function(e){"number"==typeof(i=e.call({lexer:this},r))&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(n=e.substring(0,t+1))}(),r=this.tokenizer.inlineText(n,z))e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(l=r.raw.slice(-1)),a=!0,(i=t[t.length-1])&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(r.raw.length),t.push(r);return t},i=e,n=[{key:"rules",get:function(){return{block:M,inline:T}}}],null&&r(i.prototype,null),n&&r(i,n),Object.defineProperty(i,"prototype",{writable:!1}),e}(),I=function(){function e(e){this.options=e||t.ce}var r=e.prototype;return r.code=function(e,t,r){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var n=this.options.highlight(e,i);null!=n&&n!==e&&(r=!0,e=n)}return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="'+this.options.langPrefix+d(i,!0)+'">'+(r?e:d(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:d(e,!0))+"</code></pre>\n"},r.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},r.html=function(e){return e},r.heading=function(e,t,r,i){return this.options.headerIds?"<h"+t+' id="'+(this.options.headerPrefix+i.slug(r))+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},r.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},r.list=function(e,t,r){var i=t?"ol":"ul";return"<"+i+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+i+">\n"},r.listitem=function(e){return"<li>"+e+"</li>\n"},r.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},r.paragraph=function(e){return"<p>"+e+"</p>\n"},r.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},r.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},r.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"</"+r+">\n"},r.strong=function(e){return"<strong>"+e+"</strong>"},r.em=function(e){return"<em>"+e+"</em>"},r.codespan=function(e){return"<code>"+e+"</code>"},r.br=function(){return this.options.xhtml?"<br/>":"<br>"},r.del=function(e){return"<del>"+e+"</del>"},r.link=function(e,t,r){if(null===(e=v(this.options.sanitize,this.options.baseUrl,e)))return r;var i='<a href="'+d(e)+'"';return t&&(i+=' title="'+t+'"'),i+">"+r+"</a>"},r.image=function(e,t,r){if(null===(e=v(this.options.sanitize,this.options.baseUrl,e)))return r;var i='<img src="'+e+'" alt="'+r+'"';return t&&(i+=' title="'+t+'"'),i+(this.options.xhtml?"/>":">")},r.text=function(e){return e},e}(),O=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),R=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var r=e,i=0;if(this.seen.hasOwnProperty(r)){i=this.seen[e];do{r=e+"-"+ ++i}while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=i,this.seen[r]=0),r},t.slug=function(e,t){void 0===t&&(t={});var r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)},e}(),q=function(){function e(e){this.options=e||t.ce,this.options.renderer=this.options.renderer||new I,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new O,this.slugger=new R}e.parse=function(t,r){return new e(r).parse(t)},e.parseInline=function(t,r){return new e(r).parseInline(t)};var r=e.prototype;return r.parse=function(e,t){void 0===t&&(t=!0);var r,i,n,o,s,a,l,u,c,d,f,p,g,m,b,v,x,y,k,w="",C=e.length;for(r=0;r<C;r++)if(d=e[r],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type])||!1===(k=this.options.extensions.renderers[d.type].call({parser:this},d))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))switch(d.type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(d.tokens),d.depth,h(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(u="",l="",o=d.header.length,i=0;i<o;i++)l+=this.renderer.tablecell(this.parseInline(d.header[i].tokens),{header:!0,align:d.align[i]});for(u+=this.renderer.tablerow(l),c="",o=d.rows.length,i=0;i<o;i++){for(l="",s=(a=d.rows[i]).length,n=0;n<s;n++)l+=this.renderer.tablecell(this.parseInline(a[n].tokens),{header:!1,align:d.align[n]});c+=this.renderer.tablerow(l)}w+=this.renderer.table(u,c);continue;case"blockquote":c=this.parse(d.tokens),w+=this.renderer.blockquote(c);continue;case"list":for(f=d.ordered,p=d.start,g=d.loose,o=d.items.length,c="",i=0;i<o;i++)v=(b=d.items[i]).checked,x=b.task,m="",b.task&&(y=this.renderer.checkbox(v),g?b.tokens.length>0&&"paragraph"===b.tokens[0].type?(b.tokens[0].text=y+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&"text"===b.tokens[0].tokens[0].type&&(b.tokens[0].tokens[0].text=y+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:y}):m+=y),m+=this.parse(b.tokens,g),c+=this.renderer.listitem(m,x,v);w+=this.renderer.list(c,f,p);continue;case"html":w+=this.renderer.html(d.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(c=d.tokens?this.parseInline(d.tokens):d.text;r+1<C&&"text"===e[r+1].type;)c+="\n"+((d=e[++r]).tokens?this.parseInline(d.tokens):d.text);w+=t?this.renderer.paragraph(c):c;continue;default:var D='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(D);throw new Error(D)}else w+=k||"";return w},r.parseInline=function(e,t){t=t||this.renderer;var r,i,n,o="",s=e.length;for(r=0;r<s;r++)if(i=e[r],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type])||!1===(n=this.options.extensions.renderers[i.type].call({parser:this},i))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))switch(i.type){case"escape":case"text":o+=t.text(i.text);break;case"html":o+=t.html(i.text);break;case"link":o+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":o+=t.image(i.href,i.title,i.text);break;case"strong":o+=t.strong(this.parseInline(i.tokens,t));break;case"em":o+=t.em(this.parseInline(i.tokens,t));break;case"codespan":o+=t.codespan(i.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(i.tokens,t));break;default:var a='Token with "'+i.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}else o+=n||"";return o},e}();function P(e,t,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(r=t,t=null),A(t=D({},P.defaults,t||{})),r){var i,n=t.highlight;try{i=N.lex(e,t)}catch(e){return r(e)}var o=function(e){var o;if(!e)try{t.walkTokens&&P.walkTokens(i,t.walkTokens),o=q.parse(i,t)}catch(t){e=t}return t.highlight=n,e?r(e):r(null,o)};if(!n||n.length<3)return o();if(delete t.highlight,!i.length)return o();var s=0;return P.walkTokens(i,(function(e){"code"===e.type&&(s++,setTimeout((function(){n(e.text,e.lang,(function(t,r){if(t)return o(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),0==--s&&o()}))}),0))})),void(0===s&&o())}try{var a=N.lex(e,t);return t.walkTokens&&P.walkTokens(a,t.walkTokens),q.parse(a,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+d(e.message+"",!0)+"</pre>";throw e}}P.options=P.setOptions=function(e){var r;return D(P.defaults,e),r=P.defaults,t.ce=r,P},P.getDefaults=function(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},P.defaults=t.ce,P.use=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i,n=D.apply(void 0,[{}].concat(t)),o=P.defaults.extensions||{renderers:{},childTokens:{}};t.forEach((function(e){if(e.extensions&&(i=!0,e.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=o.renderers?o.renderers[e.name]:null;o.renderers[e.name]=t?function(){for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];var o=e.renderer.apply(this,i);return!1===o&&(o=t.apply(this,i)),o}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");o[e.level]?o[e.level].unshift(e.tokenizer):o[e.level]=[e.tokenizer],e.start&&("block"===e.level?o.startBlock?o.startBlock.push(e.start):o.startBlock=[e.start]:"inline"===e.level&&(o.startInline?o.startInline.push(e.start):o.startInline=[e.start]))}e.childTokens&&(o.childTokens[e.name]=e.childTokens)}))),e.renderer&&function(){var t=P.defaults.renderer||new I,r=function(r){var i=t[r];t[r]=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a=e.renderer[r].apply(t,o);return!1===a&&(a=i.apply(t,o)),a}};for(var i in e.renderer)r(i);n.renderer=t}(),e.tokenizer&&function(){var t=P.defaults.tokenizer||new L,r=function(r){var i=t[r];t[r]=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a=e.tokenizer[r].apply(t,o);return!1===a&&(a=i.apply(t,o)),a}};for(var i in e.tokenizer)r(i);n.tokenizer=t}(),e.walkTokens){var t=P.defaults.walkTokens;n.walkTokens=function(r){e.walkTokens.call(this,r),t&&t.call(this,r)}}i&&(n.extensions=o),P.setOptions(n)}))},P.walkTokens=function(e,t){for(var r,i=function(){var e=r.value;switch(t.call(P,e),e.type){case"table":for(var i,o=n(e.header);!(i=o()).done;){var s=i.value;P.walkTokens(s.tokens,t)}for(var a,l=n(e.rows);!(a=l()).done;)for(var u,c=n(a.value);!(u=c()).done;){var d=u.value;P.walkTokens(d.tokens,t)}break;case"list":P.walkTokens(e.items,t);break;default:P.defaults.extensions&&P.defaults.extensions.childTokens&&P.defaults.extensions.childTokens[e.type]?P.defaults.extensions.childTokens[e.type].forEach((function(r){P.walkTokens(e[r],t)})):e.tokens&&P.walkTokens(e.tokens,t)}},o=n(e);!(r=o()).done;)i()},P.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");A(t=D({},P.defaults,t||{}));try{var r=N.lexInline(e,t);return t.walkTokens&&P.walkTokens(r,t.walkTokens),q.parseInline(r,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+d(e.message+"",!0)+"</pre>";throw e}},P.Parser=q,P.parser=q.parse,P.Renderer=I,P.TextRenderer=O,P.Lexer=N,P.lexer=N.lex,P.Tokenizer=L,P.Slugger=R,P.parse=P;P.options,P.setOptions,P.use,P.walkTokens,P.parseInline,q.parse,N.lex;t.TU=P},6419:function(e,t,r){e.exports=function(){var e="1.13.3",t="object"==typeof self&&self.self===self&&self||"object"==typeof r.g&&r.g.global===r.g&&r.g||Function("return this")()||{},i=Array.prototype,n=Object.prototype,o="undefined"!=typeof Symbol?Symbol.prototype:null,s=i.push,a=i.slice,l=n.toString,u=n.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,d="undefined"!=typeof DataView,f=Array.isArray,h=Object.keys,p=Object.create,g=c&&ArrayBuffer.isView,m=isNaN,b=isFinite,v=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],y=Math.pow(2,53)-1;function k(e,t){return t=null==t?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),i=Array(r),n=0;n<r;n++)i[n]=arguments[n+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var o=Array(t+1);for(n=0;n<t;n++)o[n]=arguments[n];return o[t]=i,e.apply(this,o)}}function w(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function C(e){return void 0===e}function D(e){return!0===e||!1===e||"[object Boolean]"===l.call(e)}function _(e){var t="[object "+e+"]";return function(e){return l.call(e)===t}}var S=_("String"),A=_("Number"),E=_("Date"),F=_("RegExp"),L=_("Error"),M=_("Symbol"),T=_("ArrayBuffer"),z=_("Function"),B=t.document&&t.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof B&&(z=function(e){return"function"==typeof e||!1});var N=z,I=_("Object"),O=d&&I(new DataView(new ArrayBuffer(8))),R="undefined"!=typeof Map&&I(new Map),q=_("DataView"),P=O?function(e){return null!=e&&N(e.getInt8)&&T(e.buffer)}:q,H=f||_("Array");function j(e,t){return null!=e&&u.call(e,t)}var $=_("Arguments");!function(){$(arguments)||($=function(e){return j(e,"callee")})}();var W=$;function U(e){return A(e)&&m(e)}function V(e){return function(){return e}}function G(e){return function(t){var r=e(t);return"number"==typeof r&&r>=0&&r<=y}}function Z(e){return function(t){return null==t?void 0:t[e]}}var K=Z("byteLength"),X=G(K),Y=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,Q=c?function(e){return g?g(e)&&!P(e):X(e)&&Y.test(l.call(e))}:V(!1),J=Z("length");function ee(e,t){t=function(e){for(var t={},r=e.length,i=0;i<r;++i)t[e[i]]=!0;return{contains:function(e){return!0===t[e]},push:function(r){return t[r]=!0,e.push(r)}}}(t);var r=x.length,i=e.constructor,o=N(i)&&i.prototype||n,s="constructor";for(j(e,s)&&!t.contains(s)&&t.push(s);r--;)(s=x[r])in e&&e[s]!==o[s]&&!t.contains(s)&&t.push(s)}function te(e){if(!w(e))return[];if(h)return h(e);var t=[];for(var r in e)j(e,r)&&t.push(r);return v&&ee(e,t),t}function re(e,t){var r=te(t),i=r.length;if(null==e)return!i;for(var n=Object(e),o=0;o<i;o++){var s=r[o];if(t[s]!==n[s]||!(s in n))return!1}return!0}function ie(e){return e instanceof ie?e:this instanceof ie?void(this._wrapped=e):new ie(e)}function ne(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,K(e))}ie.VERSION=e,ie.prototype.value=function(){return this._wrapped},ie.prototype.valueOf=ie.prototype.toJSON=ie.prototype.value,ie.prototype.toString=function(){return String(this._wrapped)};var oe="[object DataView]";function se(e,t,r,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var n=typeof e;return("function"===n||"object"===n||"object"==typeof t)&&function e(t,r,i,n){t instanceof ie&&(t=t._wrapped),r instanceof ie&&(r=r._wrapped);var s=l.call(t);if(s!==l.call(r))return!1;if(O&&"[object Object]"==s&&P(t)){if(!P(r))return!1;s=oe}switch(s){case"[object RegExp]":case"[object String]":return""+t==""+r;case"[object Number]":return+t!=+t?+r!=+r:0==+t?1/+t==1/r:+t==+r;case"[object Date]":case"[object Boolean]":return+t==+r;case"[object Symbol]":return o.valueOf.call(t)===o.valueOf.call(r);case"[object ArrayBuffer]":case oe:return e(ne(t),ne(r),i,n)}var a="[object Array]"===s;if(!a&&Q(t)){if(K(t)!==K(r))return!1;if(t.buffer===r.buffer&&t.byteOffset===r.byteOffset)return!0;a=!0}if(!a){if("object"!=typeof t||"object"!=typeof r)return!1;var u=t.constructor,c=r.constructor;if(u!==c&&!(N(u)&&u instanceof u&&N(c)&&c instanceof c)&&"constructor"in t&&"constructor"in r)return!1}n=n||[];for(var d=(i=i||[]).length;d--;)if(i[d]===t)return n[d]===r;if(i.push(t),n.push(r),a){if((d=t.length)!==r.length)return!1;for(;d--;)if(!se(t[d],r[d],i,n))return!1}else{var f,h=te(t);if(d=h.length,te(r).length!==d)return!1;for(;d--;)if(!j(r,f=h[d])||!se(t[f],r[f],i,n))return!1}return i.pop(),n.pop(),!0}(e,t,r,i)}function ae(e){if(!w(e))return[];var t=[];for(var r in e)t.push(r);return v&&ee(e,t),t}function le(e){var t=J(e);return function(r){if(null==r)return!1;var i=ae(r);if(J(i))return!1;for(var n=0;n<t;n++)if(!N(r[e[n]]))return!1;return e!==he||!N(r[ue])}}var ue="forEach",ce=["clear","delete"],de=["get","has","set"],fe=ce.concat(ue,de),he=ce.concat(de),pe=["add"].concat(ce,ue,"has"),ge=R?le(fe):_("Map"),me=R?le(he):_("WeakMap"),be=R?le(pe):_("Set"),ve=_("WeakSet");function xe(e){for(var t=te(e),r=t.length,i=Array(r),n=0;n<r;n++)i[n]=e[t[n]];return i}function ye(e){for(var t={},r=te(e),i=0,n=r.length;i<n;i++)t[e[r[i]]]=r[i];return t}function ke(e){var t=[];for(var r in e)N(e[r])&&t.push(r);return t.sort()}function we(e,t){return function(r){var i=arguments.length;if(t&&(r=Object(r)),i<2||null==r)return r;for(var n=1;n<i;n++)for(var o=arguments[n],s=e(o),a=s.length,l=0;l<a;l++){var u=s[l];t&&void 0!==r[u]||(r[u]=o[u])}return r}}var Ce=we(ae),De=we(te),_e=we(ae,!0);function Se(e){if(!w(e))return{};if(p)return p(e);var t=function(){};t.prototype=e;var r=new t;return t.prototype=null,r}function Ae(e){return H(e)?e:[e]}function Ee(e){return ie.toPath(e)}function Fe(e,t){for(var r=t.length,i=0;i<r;i++){if(null==e)return;e=e[t[i]]}return r?e:void 0}function Le(e,t,r){var i=Fe(e,Ee(t));return C(i)?r:i}function Me(e){return e}function Te(e){return e=De({},e),function(t){return re(t,e)}}function ze(e){return e=Ee(e),function(t){return Fe(t,e)}}function Be(e,t,r){if(void 0===t)return e;switch(null==r?3:r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,i,n){return e.call(t,r,i,n)};case 4:return function(r,i,n,o){return e.call(t,r,i,n,o)}}return function(){return e.apply(t,arguments)}}function Ne(e,t,r){return null==e?Me:N(e)?Be(e,t,r):w(e)&&!H(e)?Te(e):ze(e)}function Ie(e,t){return Ne(e,t,1/0)}function Oe(e,t,r){return ie.iteratee!==Ie?ie.iteratee(e,t):Ne(e,t,r)}function Re(){}function qe(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}ie.toPath=Ae,ie.iteratee=Ie;var Pe=Date.now||function(){return(new Date).getTime()};function He(e){var t=function(t){return e[t]},r="(?:"+te(e).join("|")+")",i=RegExp(r),n=RegExp(r,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(n,t):e}}var je={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},$e=He(je),We=He(ye(je)),Ue=ie.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ve=/(.)^/,Ge={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ze=/\\|'|\r|\n|\u2028|\u2029/g;function Ke(e){return"\\"+Ge[e]}var Xe=/^\s*(\w|\$)+\s*$/,Ye=0;function Qe(e,t,r,i,n){if(!(i instanceof t))return e.apply(r,n);var o=Se(e.prototype),s=e.apply(o,n);return w(s)?s:o}var Je=k((function(e,t){var r=Je.placeholder,i=function(){for(var n=0,o=t.length,s=Array(o),a=0;a<o;a++)s[a]=t[a]===r?arguments[n++]:t[a];for(;n<arguments.length;)s.push(arguments[n++]);return Qe(e,i,this,this,s)};return i}));Je.placeholder=ie;var et=k((function(e,t,r){if(!N(e))throw new TypeError("Bind must be called on a function");var i=k((function(n){return Qe(e,i,t,this,r.concat(n))}));return i})),tt=G(J);function rt(e,t,r,i){if(i=i||[],t||0===t){if(t<=0)return i.concat(e)}else t=1/0;for(var n=i.length,o=0,s=J(e);o<s;o++){var a=e[o];if(tt(a)&&(H(a)||W(a)))if(t>1)rt(a,t-1,r,i),n=i.length;else for(var l=0,u=a.length;l<u;)i[n++]=a[l++];else r||(i[n++]=a)}return i}var it=k((function(e,t){var r=(t=rt(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var i=t[r];e[i]=et(e[i],e)}return e})),nt=k((function(e,t,r){return setTimeout((function(){return e.apply(null,r)}),t)})),ot=Je(nt,ie,1);function st(e){return function(){return!e.apply(this,arguments)}}function at(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var lt=Je(at,2);function ut(e,t,r){t=Oe(t,r);for(var i,n=te(e),o=0,s=n.length;o<s;o++)if(t(e[i=n[o]],i,e))return i}function ct(e){return function(t,r,i){r=Oe(r,i);for(var n=J(t),o=e>0?0:n-1;o>=0&&o<n;o+=e)if(r(t[o],o,t))return o;return-1}}var dt=ct(1),ft=ct(-1);function ht(e,t,r,i){for(var n=(r=Oe(r,i,1))(t),o=0,s=J(e);o<s;){var a=Math.floor((o+s)/2);r(e[a])<n?o=a+1:s=a}return o}function pt(e,t,r){return function(i,n,o){var s=0,l=J(i);if("number"==typeof o)e>0?s=o>=0?o:Math.max(o+l,s):l=o>=0?Math.min(o+1,l):o+l+1;else if(r&&o&&l)return i[o=r(i,n)]===n?o:-1;if(n!=n)return(o=t(a.call(i,s,l),U))>=0?o+s:-1;for(o=e>0?s:l-1;o>=0&&o<l;o+=e)if(i[o]===n)return o;return-1}}var gt=pt(1,dt,ht),mt=pt(-1,ft);function bt(e,t,r){var i=(tt(e)?dt:ut)(e,t,r);if(void 0!==i&&-1!==i)return e[i]}function vt(e,t,r){var i,n;if(t=Be(t,r),tt(e))for(i=0,n=e.length;i<n;i++)t(e[i],i,e);else{var o=te(e);for(i=0,n=o.length;i<n;i++)t(e[o[i]],o[i],e)}return e}function xt(e,t,r){t=Oe(t,r);for(var i=!tt(e)&&te(e),n=(i||e).length,o=Array(n),s=0;s<n;s++){var a=i?i[s]:s;o[s]=t(e[a],a,e)}return o}function yt(e){var t=function(t,r,i,n){var o=!tt(t)&&te(t),s=(o||t).length,a=e>0?0:s-1;for(n||(i=t[o?o[a]:a],a+=e);a>=0&&a<s;a+=e){var l=o?o[a]:a;i=r(i,t[l],l,t)}return i};return function(e,r,i,n){var o=arguments.length>=3;return t(e,Be(r,n,4),i,o)}}var kt=yt(1),wt=yt(-1);function Ct(e,t,r){var i=[];return t=Oe(t,r),vt(e,(function(e,r,n){t(e,r,n)&&i.push(e)})),i}function Dt(e,t,r){t=Oe(t,r);for(var i=!tt(e)&&te(e),n=(i||e).length,o=0;o<n;o++){var s=i?i[o]:o;if(!t(e[s],s,e))return!1}return!0}function _t(e,t,r){t=Oe(t,r);for(var i=!tt(e)&&te(e),n=(i||e).length,o=0;o<n;o++){var s=i?i[o]:o;if(t(e[s],s,e))return!0}return!1}function St(e,t,r,i){return tt(e)||(e=xe(e)),("number"!=typeof r||i)&&(r=0),gt(e,t,r)>=0}var At=k((function(e,t,r){var i,n;return N(t)?n=t:(t=Ee(t),i=t.slice(0,-1),t=t[t.length-1]),xt(e,(function(e){var o=n;if(!o){if(i&&i.length&&(e=Fe(e,i)),null==e)return;o=e[t]}return null==o?o:o.apply(e,r)}))}));function Et(e,t){return xt(e,ze(t))}function Ft(e,t,r){var i,n,o=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=tt(e)?e:xe(e)).length;a<l;a++)null!=(i=e[a])&&i>o&&(o=i);else t=Oe(t,r),vt(e,(function(e,r,i){((n=t(e,r,i))>s||n===-1/0&&o===-1/0)&&(o=e,s=n)}));return o}var Lt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Mt(e){return e?H(e)?a.call(e):S(e)?e.match(Lt):tt(e)?xt(e,Me):xe(e):[]}function Tt(e,t,r){if(null==t||r)return tt(e)||(e=xe(e)),e[qe(e.length-1)];var i=Mt(e),n=J(i);t=Math.max(Math.min(t,n),0);for(var o=n-1,s=0;s<t;s++){var a=qe(s,o),l=i[s];i[s]=i[a],i[a]=l}return i.slice(0,t)}function zt(e,t){return function(r,i,n){var o=t?[[],[]]:{};return i=Oe(i,n),vt(r,(function(t,n){var s=i(t,n,r);e(o,t,s)})),o}}var Bt=zt((function(e,t,r){j(e,r)?e[r].push(t):e[r]=[t]})),Nt=zt((function(e,t,r){e[r]=t})),It=zt((function(e,t,r){j(e,r)?e[r]++:e[r]=1})),Ot=zt((function(e,t,r){e[r?0:1].push(t)}),!0);function Rt(e,t,r){return t in r}var qt=k((function(e,t){var r={},i=t[0];if(null==e)return r;N(i)?(t.length>1&&(i=Be(i,t[1])),t=ae(e)):(i=Rt,t=rt(t,!1,!1),e=Object(e));for(var n=0,o=t.length;n<o;n++){var s=t[n],a=e[s];i(a,s,e)&&(r[s]=a)}return r})),Pt=k((function(e,t){var r,i=t[0];return N(i)?(i=st(i),t.length>1&&(r=t[1])):(t=xt(rt(t,!1,!1),String),i=function(e,r){return!St(t,r)}),qt(e,i,r)}));function Ht(e,t,r){return a.call(e,0,Math.max(0,e.length-(null==t||r?1:t)))}function jt(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[0]:Ht(e,e.length-t)}function $t(e,t,r){return a.call(e,null==t||r?1:t)}var Wt=k((function(e,t){return t=rt(t,!0,!0),Ct(e,(function(e){return!St(t,e)}))})),Ut=k((function(e,t){return Wt(e,t)}));function Vt(e,t,r,i){D(t)||(i=r,r=t,t=!1),null!=r&&(r=Oe(r,i));for(var n=[],o=[],s=0,a=J(e);s<a;s++){var l=e[s],u=r?r(l,s,e):l;t&&!r?(s&&o===u||n.push(l),o=u):r?St(o,u)||(o.push(u),n.push(l)):St(n,l)||n.push(l)}return n}var Gt=k((function(e){return Vt(rt(e,!0,!0))}));function Zt(e){for(var t=e&&Ft(e,J).length||0,r=Array(t),i=0;i<t;i++)r[i]=Et(e,i);return r}var Kt=k(Zt);function Xt(e,t){return e._chain?ie(t).chain():t}function Yt(e){return vt(ke(e),(function(t){var r=ie[t]=e[t];ie.prototype[t]=function(){var e=[this._wrapped];return s.apply(e,arguments),Xt(this,r.apply(ie,e))}})),ie}vt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=i[e];ie.prototype[e]=function(){var r=this._wrapped;return null!=r&&(t.apply(r,arguments),"shift"!==e&&"splice"!==e||0!==r.length||delete r[0]),Xt(this,r)}})),vt(["concat","join","slice"],(function(e){var t=i[e];ie.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Xt(this,e)}}));var Qt=Yt({__proto__:null,VERSION:e,restArguments:k,isObject:w,isNull:function(e){return null===e},isUndefined:C,isBoolean:D,isElement:function(e){return!(!e||1!==e.nodeType)},isString:S,isNumber:A,isDate:E,isRegExp:F,isError:L,isSymbol:M,isArrayBuffer:T,isDataView:P,isArray:H,isFunction:N,isArguments:W,isFinite:function(e){return!M(e)&&b(e)&&!isNaN(parseFloat(e))},isNaN:U,isTypedArray:Q,isEmpty:function(e){if(null==e)return!0;var t=J(e);return"number"==typeof t&&(H(e)||S(e)||W(e))?0===t:0===J(te(e))},isMatch:re,isEqual:function(e,t){return se(e,t)},isMap:ge,isWeakMap:me,isSet:be,isWeakSet:ve,keys:te,allKeys:ae,values:xe,pairs:function(e){for(var t=te(e),r=t.length,i=Array(r),n=0;n<r;n++)i[n]=[t[n],e[t[n]]];return i},invert:ye,functions:ke,methods:ke,extend:Ce,extendOwn:De,assign:De,defaults:_e,create:function(e,t){var r=Se(e);return t&&De(r,t),r},clone:function(e){return w(e)?H(e)?e.slice():Ce({},e):e},tap:function(e,t){return t(e),e},get:Le,has:function(e,t){for(var r=(t=Ee(t)).length,i=0;i<r;i++){var n=t[i];if(!j(e,n))return!1;e=e[n]}return!!r},mapObject:function(e,t,r){t=Oe(t,r);for(var i=te(e),n=i.length,o={},s=0;s<n;s++){var a=i[s];o[a]=t(e[a],a,e)}return o},identity:Me,constant:V,noop:Re,toPath:Ae,property:ze,propertyOf:function(e){return null==e?Re:function(t){return Le(e,t)}},matcher:Te,matches:Te,times:function(e,t,r){var i=Array(Math.max(0,e));t=Be(t,r,1);for(var n=0;n<e;n++)i[n]=t(n);return i},random:qe,now:Pe,escape:$e,unescape:We,templateSettings:Ue,template:function(e,t,r){!t&&r&&(t=r),t=_e({},t,ie.templateSettings);var i=RegExp([(t.escape||Ve).source,(t.interpolate||Ve).source,(t.evaluate||Ve).source].join("|")+"|$","g"),n=0,o="__p+='";e.replace(i,(function(t,r,i,s,a){return o+=e.slice(n,a).replace(Ze,Ke),n=a+t.length,r?o+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),t})),o+="';\n";var s,a=t.variable;if(a){if(!Xe.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{s=new Function(a,"_",o)}catch(e){throw e.source=o,e}var l=function(e){return s.call(this,e,ie)};return l.source="function("+a+"){\n"+o+"}",l},result:function(e,t,r){var i=(t=Ee(t)).length;if(!i)return N(r)?r.call(e):r;for(var n=0;n<i;n++){var o=null==e?void 0:e[t[n]];void 0===o&&(o=r,n=i),e=N(o)?o.call(e):o}return e},uniqueId:function(e){var t=++Ye+"";return e?e+t:t},chain:function(e){var t=ie(e);return t._chain=!0,t},iteratee:Ie,partial:Je,bind:et,bindAll:it,memoize:function(e,t){var r=function(i){var n=r.cache,o=""+(t?t.apply(this,arguments):i);return j(n,o)||(n[o]=e.apply(this,arguments)),n[o]};return r.cache={},r},delay:nt,defer:ot,throttle:function(e,t,r){var i,n,o,s,a=0;r||(r={});var l=function(){a=!1===r.leading?0:Pe(),i=null,s=e.apply(n,o),i||(n=o=null)},u=function(){var u=Pe();a||!1!==r.leading||(a=u);var c=t-(u-a);return n=this,o=arguments,c<=0||c>t?(i&&(clearTimeout(i),i=null),a=u,s=e.apply(n,o),i||(n=o=null)):i||!1===r.trailing||(i=setTimeout(l,c)),s};return u.cancel=function(){clearTimeout(i),a=0,i=n=o=null},u},debounce:function(e,t,r){var i,n,o,s,a,l=function(){var u=Pe()-n;t>u?i=setTimeout(l,t-u):(i=null,r||(s=e.apply(a,o)),i||(o=a=null))},u=k((function(u){return a=this,o=u,n=Pe(),i||(i=setTimeout(l,t),r&&(s=e.apply(a,o))),s}));return u.cancel=function(){clearTimeout(i),i=o=a=null},u},wrap:function(e,t){return Je(t,e)},negate:st,compose:function(){var e=arguments,t=e.length-1;return function(){for(var r=t,i=e[t].apply(this,arguments);r--;)i=e[r].call(this,i);return i}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:at,once:lt,findKey:ut,findIndex:dt,findLastIndex:ft,sortedIndex:ht,indexOf:gt,lastIndexOf:mt,find:bt,detect:bt,findWhere:function(e,t){return bt(e,Te(t))},each:vt,forEach:vt,map:xt,collect:xt,reduce:kt,foldl:kt,inject:kt,reduceRight:wt,foldr:wt,filter:Ct,select:Ct,reject:function(e,t,r){return Ct(e,st(Oe(t)),r)},every:Dt,all:Dt,some:_t,any:_t,contains:St,includes:St,include:St,invoke:At,pluck:Et,where:function(e,t){return Ct(e,Te(t))},max:Ft,min:function(e,t,r){var i,n,o=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=tt(e)?e:xe(e)).length;a<l;a++)null!=(i=e[a])&&i<o&&(o=i);else t=Oe(t,r),vt(e,(function(e,r,i){((n=t(e,r,i))<s||n===1/0&&o===1/0)&&(o=e,s=n)}));return o},shuffle:function(e){return Tt(e,1/0)},sample:Tt,sortBy:function(e,t,r){var i=0;return t=Oe(t,r),Et(xt(e,(function(e,r,n){return{value:e,index:i++,criteria:t(e,r,n)}})).sort((function(e,t){var r=e.criteria,i=t.criteria;if(r!==i){if(r>i||void 0===r)return 1;if(r<i||void 0===i)return-1}return e.index-t.index})),"value")},groupBy:Bt,indexBy:Nt,countBy:It,partition:Ot,toArray:Mt,size:function(e){return null==e?0:tt(e)?e.length:te(e).length},pick:qt,omit:Pt,first:jt,head:jt,take:jt,initial:Ht,last:function(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[e.length-1]:$t(e,Math.max(0,e.length-t))},rest:$t,tail:$t,drop:$t,compact:function(e){return Ct(e,Boolean)},flatten:function(e,t){return rt(e,t,!1)},without:Ut,uniq:Vt,unique:Vt,union:Gt,intersection:function(e){for(var t=[],r=arguments.length,i=0,n=J(e);i<n;i++){var o=e[i];if(!St(t,o)){var s;for(s=1;s<r&&St(arguments[s],o);s++);s===r&&t.push(o)}}return t},difference:Wt,unzip:Zt,transpose:Zt,zip:Kt,object:function(e,t){for(var r={},i=0,n=J(e);i<n;i++)t?r[e[i]]=t[i]:r[e[i][0]]=e[i][1];return r},range:function(e,t,r){null==t&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/r),0),n=Array(i),o=0;o<i;o++,e+=r)n[o]=e;return n},chunk:function(e,t){if(null==t||t<1)return[];for(var r=[],i=0,n=e.length;i<n;)r.push(a.call(e,i,i+=t));return r},mixin:Yt,default:ie});return Qt._=Qt,Qt}()},9323:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={id:i,exports:{}};return e[i].call(o.exports,o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0,(()=>{"use strict";var e,t,i,n,o,s,a={},l=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function c(e,t){for(var r in t)e[r]=t[r];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function f(t,r,i){var n,o,s,a={};for(s in r)"key"==s?n=r[s]:"ref"==s?o=r[s]:a[s]=r[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return h(t,a,n,o,null)}function h(e,r,n,o,s){var a={type:e,props:r,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++i:s};return null==s&&null!=t.vnode&&t.vnode(a),a}function p(e){return e.children}function g(e,t){this.props=e,this.context=t}function m(e,t){if(null==t)return e.__?m(e.__,e.__.__k.indexOf(e)+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?m(e):null}function b(e){var t,r;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e){e.__e=e.__c.base=r.__e;break}return b(e)}}function v(e){(!e.__d&&(e.__d=!0)&&n.push(e)&&!x.__r++||s!==t.debounceRendering)&&((s=t.debounceRendering)||o)(x)}function x(){for(var e;x.__r=n.length;)e=n.sort((function(e,t){return e.__v.__b-t.__v.__b})),n=[],e.some((function(e){var t,r,i,n,o,s;e.__d&&(o=(n=(t=e).__v).__e,(s=t.__P)&&(r=[],(i=c({},n)).__v=n.__v+1,A(s,n,i,t.__n,void 0!==s.ownerSVGElement,null!=n.__h?[o]:null,r,null==o?m(n):o,n.__h),E(r,n),n.__e!=o&&b(n)))}))}function y(e,t,r,i,n,o,s,u,c,d){var f,g,b,v,x,y,C,D=i&&i.__k||l,_=D.length;for(r.__k=[],f=0;f<t.length;f++)if(null!=(v=r.__k[f]=null==(v=t[f])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?h(null,v,null,null,v):Array.isArray(v)?h(p,{children:v},null,null,null):v.__b>0?h(v.type,v.props,v.key,null,v.__v):v)){if(v.__=r,v.__b=r.__b+1,null===(b=D[f])||b&&v.key==b.key&&v.type===b.type)D[f]=void 0;else for(g=0;g<_;g++){if((b=D[g])&&v.key==b.key&&v.type===b.type){D[g]=void 0;break}b=null}A(e,v,b=b||a,n,o,s,u,c,d),x=v.__e,(g=v.ref)&&b.ref!=g&&(C||(C=[]),b.ref&&C.push(b.ref,null,v),C.push(g,v.__c||x,v)),null!=x?(null==y&&(y=x),"function"==typeof v.type&&v.__k===b.__k?v.__d=c=k(v,c,e):c=w(e,v,b,D,x,c),"function"==typeof r.type&&(r.__d=c)):c&&b.__e==c&&c.parentNode!=e&&(c=m(b))}for(r.__e=y,f=_;f--;)null!=D[f]&&("function"==typeof r.type&&null!=D[f].__e&&D[f].__e==r.__d&&(r.__d=m(i,f+1)),M(D[f],D[f]));if(C)for(f=0;f<C.length;f++)L(C[f],C[++f],C[++f])}function k(e,t,r){for(var i,n=e.__k,o=0;n&&o<n.length;o++)(i=n[o])&&(i.__=e,t="function"==typeof i.type?k(i,t,r):w(r,i,i,n,i.__e,t));return t}function w(e,t,r,i,n,o){var s,a,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==r||n!=o||null==n.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(n),s=null;else{for(a=o,l=0;(a=a.nextSibling)&&l<i.length;l+=2)if(a==n)break e;e.insertBefore(n,o),s=o}return void 0!==s?s:n.nextSibling}function C(e,t,r){"-"===t[0]?e.setProperty(t,r):e[t]=null==r?"":"number"!=typeof r||u.test(t)?r:r+"px"}function D(e,t,r,i,n){var o;e:if("style"===t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||C(e.style,t,"");if(r)for(t in r)i&&r[t]===i[t]||C(e.style,t,r[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?i||e.addEventListener(t,o?S:_,o):e.removeEventListener(t,o?S:_,o);else if("dangerouslySetInnerHTML"!==t){if(n)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null!=r&&(!1!==r||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,r):e.removeAttribute(t))}}function _(e){this.l[e.type+!1](t.event?t.event(e):e)}function S(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,r,i,n,o,s,a,l,u){var d,f,h,m,b,v,x,k,w,C,D,_=r.type;if(void 0!==r.constructor)return null;null!=i.__h&&(u=i.__h,l=r.__e=i.__e,r.__h=null,s=[l]),(d=t.__b)&&d(r);try{e:if("function"==typeof _){if(k=r.props,w=(d=_.contextType)&&n[d.__c],C=d?w?w.props.value:d.__:n,i.__c?x=(f=r.__c=i.__c).__=f.__E:("prototype"in _&&_.prototype.render?r.__c=f=new _(k,C):(r.__c=f=new g(k,C),f.constructor=_,f.render=T),w&&w.sub(f),f.props=k,f.state||(f.state={}),f.context=C,f.__n=n,h=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=_.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=c({},f.__s)),c(f.__s,_.getDerivedStateFromProps(k,f.__s))),m=f.props,b=f.state,h)null==_.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==_.getDerivedStateFromProps&&k!==m&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(k,C),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(k,f.__s,C)||r.__v===i.__v){f.props=k,f.state=f.__s,r.__v!==i.__v&&(f.__d=!1),f.__v=r,r.__e=i.__e,r.__k=i.__k,r.__k.forEach((function(e){e&&(e.__=r)})),f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(k,f.__s,C),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(m,b,v)}))}f.context=C,f.props=k,f.state=f.__s,(d=t.__r)&&d(r),f.__d=!1,f.__v=r,f.__P=e,d=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(n=c(c({},n),f.getChildContext())),h||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(m,b)),D=null!=d&&d.type===p&&null==d.key?d.props.children:d,y(e,Array.isArray(D)?D:[D],r,i,n,o,s,a,l,u),f.base=r.__e,r.__h=null,f.__h.length&&a.push(f),x&&(f.__E=f.__=null),f.__e=!1}else null==s&&r.__v===i.__v?(r.__k=i.__k,r.__e=i.__e):r.__e=F(i.__e,r,i,n,o,s,a,u);(d=t.diffed)&&d(r)}catch(e){r.__v=null,(u||null!=s)&&(r.__e=l,r.__h=!!u,s[s.indexOf(l)]=null),t.__e(e,r,i)}}function E(e,r){t.__c&&t.__c(r,e),e.some((function(r){try{e=r.__h,r.__h=[],e.some((function(e){e.call(r)}))}catch(e){t.__e(e,r.__v)}}))}function F(t,r,i,n,o,s,l,u){var c,f,h,p=i.props,g=r.props,b=r.type,v=0;if("svg"===b&&(o=!0),null!=s)for(;v<s.length;v++)if((c=s[v])&&"setAttribute"in c==!!b&&(b?c.localName===b:3===c.nodeType)){t=c,s[v]=null;break}if(null==t){if(null===b)return document.createTextNode(g);t=o?document.createElementNS("http://www.w3.org/2000/svg",b):document.createElement(b,g.is&&g),s=null,u=!1}if(null===b)p===g||u&&t.data===g||(t.data=g);else{if(s=s&&e.call(t.childNodes),f=(p=i.props||a).dangerouslySetInnerHTML,h=g.dangerouslySetInnerHTML,!u){if(null!=s)for(p={},v=0;v<t.attributes.length;v++)p[t.attributes[v].name]=t.attributes[v].value;(h||f)&&(h&&(f&&h.__html==f.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(e,t,r,i,n){var o;for(o in r)"children"===o||"key"===o||o in t||D(e,o,null,r[o],i);for(o in t)n&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||r[o]===t[o]||D(e,o,t[o],r[o],i)}(t,g,p,o,u),h)r.__k=[];else if(v=r.props.children,y(t,Array.isArray(v)?v:[v],r,i,n,o&&"foreignObject"!==b,s,l,s?s[0]:i.__k&&m(i,0),u),null!=s)for(v=s.length;v--;)null!=s[v]&&d(s[v]);u||("value"in g&&void 0!==(v=g.value)&&(v!==t.value||"progress"===b&&!v||"option"===b&&v!==p.value)&&D(t,"value",v,p.value,!1),"checked"in g&&void 0!==(v=g.checked)&&v!==t.checked&&D(t,"checked",v,p.checked,!1))}return t}function L(e,r,i){try{"function"==typeof e?e(r):e.current=r}catch(e){t.__e(e,i)}}function M(e,r,i){var n,o;if(t.unmount&&t.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||L(n,null,r)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){t.__e(e,r)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&M(n[o],r,"function"!=typeof e.type);i||null==e.__e||d(e.__e),e.__e=e.__d=void 0}function T(e,t,r){return this.constructor(e,r)}e=l.slice,t={__e:function(e,t,r,i){for(var n,o,s;t=t.__;)if((n=t.__c)&&!n.__)try{if((o=n.constructor)&&null!=o.getDerivedStateFromError&&(n.setState(o.getDerivedStateFromError(e)),s=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e,i||{}),s=n.__d),s)return n.__E=n}catch(t){e=t}throw e}},i=0,g.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=c({},this.state),"function"==typeof e&&(e=e(c({},r),this.props)),e&&c(r,e),null!=e&&this.__v&&(t&&this.__h.push(t),v(this))},g.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},g.prototype.render=p,n=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x.__r=0;const z={"&":"&","<":"<",">":">"},B={"&":"&","<":"<",">":">"};function N(e){return e.replace(/[&<>]/g,(e=>z[e]||e))}function I(e){return e.replace(/&|<|>/g,(e=>B[e]||e))}function O(e,t,r){const i=document.querySelector("#customCSS");return function(e,t,r,i,n,o,s,a,l,u,c,d,f){return`<!DOCTYPE html>\n<html lang="en">\n<head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <title>${i}</title>\n <meta name="description" content="">\n <meta name="author" content="${d}">\n <meta name="keywords" content="${f}">\n <meta name="og:title" content="${i}">\n <meta name="og:description" content="${n}">\n <meta name="og:image" content="${o}">\n <meta name="twitter:card" content="summary_large_image">\n <meta name="twitter:image" content="${o}">\n <link rel="icon" type="image/png" href="">\n <link id = "viewCSS" rel="stylesheet" href="${c||"style.css"}">\n <style id="customCSS">${s}\n </style>\n <script>\n window.settings = ${JSON.stringify(l,null,2)}\n <\/script>\n <script>\n window.addEventListener("DOMContentLoaded" , function(){\n\n function IMPEdit(){\n console.info("Loading editor...")\n const editor = document.createElement("script");\n editor.id="editorScript";\n editor.src="${u||"imp.js"}";\n document.head.appendChild(editor);\n }\n\n if(window.self.name==="IMPPreviewIframe"){\n return;\n }\n if(window.location.hash==="#view"){\n return;\n }\n if(window.location.hash ==="#edit"){\n IMPEdit();\n }\n if(window.location.protocol==="file:"){\n IMPEdit();\n }\n})\n\nwindow.addEventListener("hashchange", ()=>history.go(0));\n <\/script>\n ${a||"\x3c!--custom html here--\x3e"}\n</head>\n<body>\n${h=e,"<div class='container'>"+h+"</div>"}\n<footer id="pageFooter">${r}</footer>\n<script id="pageData" type="text/markdown">\n${N(t)}\n<\/script>\n</body>\n</html>`;var h}(e,t,r.footer(),r.title(),r.description(),r.image(),i?i.innerHTML:"",r.headHTML(),r.copy(!0),r.editor(),r.viewCSS(),r.author(),r.keywords())}function R(e,t,r){console.log("save with",r.copy()),q(r.filename(),O(e,t,r))}function q(e,t){var r=document.createElement("a");r.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),r.setAttribute("download",e),document.body.appendChild(r),r.click(),document.body.removeChild(r)}const P={},H=["title","description","image","icon","filename","footer","css","headHTML","editor","viewCSS","author","keywords"];var j,$,W,U,V=0,G=[],Z=t.__b,K=t.__r,X=t.diffed,Y=t.__c,Q=t.unmount;function J(e,r){var i=function(e,r){t.__h&&t.__h(W,e,V||r),V=0;var i=W.__H||(W.__H={__:[],__h:[]});return e>=i.__.length&&i.__.push({}),i.__[e]}($++,7);return function(e,t){return!e||e.length!==t.length||t.some((function(t,r){return t!==e[r]}))}(i.__H,r)&&(i.__=e(),i.__H=r,i.__h=e),i.__}function ee(){for(var e;e=G.shift();)if(e.__P)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ie),e.__H.__h=[]}catch(r){e.__H.__h=[],t.__e(r,e.__v)}}t.__b=function(e){W=null,Z&&Z(e)},t.__r=function(e){K&&K(e),$=0;var t=(W=e.__c).__H;t&&(t.__h.forEach(re),t.__h.forEach(ie),t.__h=[])},t.diffed=function(e){X&&X(e);var r=e.__c;r&&r.__H&&r.__H.__h.length&&(1!==G.push(r)&&U===t.requestAnimationFrame||((U=t.requestAnimationFrame)||function(e){var t,r=function(){clearTimeout(i),te&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,100);te&&(t=requestAnimationFrame(r))})(ee)),W=null},t.__c=function(e,r){r.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(i){r.some((function(e){e.__h&&(e.__h=[])})),r=[],t.__e(i,e.__v)}})),Y&&Y(e,r)},t.unmount=function(e){Q&&Q(e);var r,i=e.__c;i&&i.__H&&(i.__H.__.forEach((function(e){try{re(e)}catch(e){r=e}})),r&&t.__e(r,i.__v))};var te="function"==typeof requestAnimationFrame;function re(e){var t=W,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),W=t}function ie(e){var t=W;e.__c=e.__(),W=t}var ne=function(e,t,r,i){var n;t[0]=0;for(var o=1;o<t.length;o++){var s=t[o++],a=t[o]?(t[0]|=s?1:2,r[t[o++]]):t[++o];3===s?i[0]=a:4===s?i[1]=Object.assign(i[1]||{},a):5===s?(i[1]=i[1]||{})[t[++o]]=a:6===s?i[1][t[++o]]+=a+"":s?(n=e.apply(a,ne(e,a,r,["",null])),i.push(n),a[0]?t[0]|=2:(t[o-2]=0,t[o]=n)):i.push(a)}return i},oe=new Map,se=function(e){var t=oe.get(this);return t||(t=new Map,oe.set(this,t)),(t=ne(this,t.get(e)||(t.set(e,t=function(e){for(var t,r,i=1,n="",o="",s=[0],a=function(e){1===i&&(e||(n=n.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?s.push(0,e,n):3===i&&(e||n)?(s.push(3,e,n),i=2):2===i&&"..."===n&&e?s.push(4,e,0):2===i&&n&&!e?s.push(5,0,!0,n):i>=5&&((n||!e&&5===i)&&(s.push(i,0,n,r),i=6),e&&(s.push(i,e,0,r),i=6)),n=""},l=0;l<e.length;l++){l&&(1===i&&a(),a(l));for(var u=0;u<e[l].length;u++)t=e[l][u],1===i?"<"===t?(a(),s=[s],i=3):n+=t:4===i?"--"===n&&">"===t?(i=1,n=""):n=t+n[0]:o?t===o?o="":n+=t:'"'===t||"'"===t?o=t:">"===t?(a(),i=1):i&&("="===t?(i=5,r=n,n=""):"/"===t&&(i<5||">"===e[l][u+1])?(a(),3===i&&(s=s[0]),i=s,(s=s[0]).push(2,0,i),i=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(a(),i=2):n+=t),3===i&&"!--"===n&&(i=4,s=s[0])}return a(),s}(e)),t),arguments,[])).length>1?t:t[0]}.bind(f),ae=r(4442);class le extends g{constructor(e){super(e)}render(){return this.props.condition?this.props.children:""}}var ue=r(9980)({html:!0}).use(r(717)).use(r(6051),{headerless:!0,multiline:!0});function ce(e){const t=(V=5,J((function(){return{current:null}}),[])),r=()=>{e.handler(t.current.value)};return se`<div class="TheInput">
<label class="label" for=${e.name||""}>${e.title}</label>
<${le} condition=${1==e.area}>
<textarea ref=${t}
style="min-height: 100px;transition:height .5s"
class=${"input biginout area"+e.name}
name=${e.name||""}
onfocus=${e=>{const t=e.target.getBoundingClientRect().height,r=e.target.scrollHeight;r>t&&(e.target.style.height=r+16+"px")}}
onblur=${e=>e.target.style.height="100px"}
onkeyup=${e=>{const t=e.target.getBoundingClientRect().height,i=e.target.scrollHeight;i>t&&(e.target.style.height=i+16+"px"),r()}}
onchange=${e=>{r()}} >
${e.value||""}
</textarea>
</${le}>
<${le} condition=${0==e.area}>
<input class="input" type="text" ref=${t} name=${e.name||""}
value=${e.value||""}
onchange=${r}
></input>
</${le}>
</div>`}r(5569),r(3132),console.info("IMP! editor v0.2.4");let de=function(){const e=document.querySelector("script#pageData");return e?"text/markdown"==e.type?{markdown:I(e.innerHTML)}:JSON.parse(I(e.innerHTML)):(console.info("It is empty document"),{markdown:""})}();const fe=(he=window.settings,H.forEach((e=>P[e]=he[e]||"")),function(){const e={listProps:()=>H.slice(0),copy:e=>e?H.reduce(((e,t)=>(e[t]=P[t]||"",e)),{}):H.reduce(((e,t)=>(e[t]=I(P[t]||""),e)),{})};return H.forEach((t=>{e[t]=r=>{if(void 0===r)return I(P[t]||"");const i=N(r);return P[t]===i||(P[t]=i,function(e,t){j&&j(e,t)}(t,r)),e}})),e}());var he;const pe=document.querySelector("#viewCSS");pe&&pe.remove();let ge=f(class extends g{constructor(e){super(e),this.mdEditorNode={current:null},this.modified=!1,this.previewIframe,this.state={text:e.text,action:"edit",title:e.settings.title()||"",image:e.settings.image()||"",filename:e.settings.filename()||"",description:e.settings.description()||"",footer:e.settings.footer()||"",customCSS:this.findCustomCSS(),editor:e.settings.editor()||"",viewCSS:e.settings.viewCSS()||"",headHTML:e.settings.headHTML()||"",author:e.settings.author()||"",keywords:e.settings.keywords()||""}}findCustomCSS(){if(this.props.settings.css())return this.props.settings.css();let e=document.getElementById("customCSS");return e&&e.innerHTML?e.innerHTML:"/* write your CSS here*/"}handleInput(e,t){const r={};r[e]=t,this.setState(r)}makeHandler(e){const t=t=>this.handleInput(e,t);return t.bind(this),t}render(){return se`<div class="PageEditor">
<div id="branding"><strong>IMP!</strong> ${"0.2.4"}</div>
<div class="is-mobile" id="mainButtons">
<input type=button id="exportHTML" value="Save"
class=${this.modified?"modified":"not-modified"}
onclick=${()=>{console.log("export requested..."),R(ue.render(this.state.text),this.state.text,this.props.settings),this.modified=!1}}
></input>
<input type="button" id="fullPreview"
value=${"preview"==this.state.action?"Edit":"Preview"}
onclick=${()=>{let e=document.getElementById("previewIframe");if(e)return e.remove(),document.body.style.overflow="auto",void this.setState({action:"edit"});let t=document.createElement("iframe");t.name="IMPPreviewIframe",document.body.style.overflow="hidden",t.id="previewIframe",document.body.appendChild(t),this.radicalPreview(t),this.setState({action:"preview"})}}></input>
</div>
<div class="workZone">
<!--markdown editor-->
<textarea
class="editorArea"
ref=${this.mdEditorNode}>
</textarea>
<!--form-->
<div class="formRow">
<${ce}
title=${"File name"}
name=${"filename"}
value=${this.state.filename}
area=${!1}
handler=${this.makeHandler("filename")}
/>
<div class="divider"></div>
<${ce}
title=${"Title"}
value=${this.state.title}
name=${"title"}
area=${!1}
handler=${this.makeHandler("title")}
/>
</div>
<div class="formRow">
<${ce}
title=${"Author"}
value=${this.state.author}
name=${"author"}
area=${!1}
handler=${this.makeHandler("author")}
/>
<div class="divider"></div>
<${ce}
title=${"Keywords"}
value=${this.state.keywords}
name=${"keywords"}
area=${!1}
handler=${this.makeHandler("keywords")}
/>
</div>
<${ce}
title=${"Description"}
name=${"description"}
value=${this.state.description}
area=${!0}
handler=${this.makeHandler("description")}
/>
<div class="formRow">
<${ce}
title=${"Preview image URL"}
value=${this.state.image}
name=${"image"}
area=${!1}
handler=${this.makeHandler("image")}
/>
</div>
<${ce}
title=${"Footer"}
name=${"footer"}
value=${this.state.footer}
area=${!0}
handler=${this.makeHandler("footer")}
/>
<${ce}
title=${"Custom CSS"}
name=${"css"}
area=${!0}
value=${this.state.customCSS}
handler=${this.makeHandler("customCSS")}
/>
<hr />
<h2 class="subtitle is-3">Advanced </h2>
<${ce}
title=${"Custom HTML to HEAD"}
name=${"head"}
area=${!0}
value=${this.state.headHTML}
handler=${this.makeHandler("headHTML")}
/>
<${ce}
title=${"Editor location"}
value=${this.state.editor}
name=${"editor"}
area=${!1}
handler=${this.makeHandler("editor")}
/>
<${ce}
title=${"View CSS location"}
value=${this.state.viewCSS}
name=${"viewcss"}
area=${!1}
handler=${this.makeHandler("viewCSS")}
/>
<div class="formRow">
<input type="button" class="utility button is-gray" value="Switch to view mode" onclick=${()=>window.location="#view"}></input>
<div class="divider"></div>
<input type="button" class="utility button is-gray" value="Duplicate file" onclick=${()=>{const e=this.props.settings.filename(),t=prompt("Enter new filename with extension",this.props.settings.filename());this.props.settings.filename(t),R(ue.render(this.state.text),this.state.text,this.props.settings),this.props.settings.filename(e)}}></input>
</div>
</div>
</div>`}updateMdEditor(){const e=new ae({element:this.mdEditorNode.current,syncSideBySidePreviewScroll:!1,previewRender:(e,t)=>ue.render(e),spellChecker:!1,sideBySideFullscreen:!1,toolbar:["bold","italic","heading","|","quote","unordered-list","ordered-list","|","link","image","|","preview","side-by-side","fullscreen","|","guide","|",{name:"export",action:()=>{q(this.state.filename.replace(/.htm(l)?$/,".md"),this.state.text)},className:"fa fa-download",title:"Export markdown"},{name:"import",action:()=>{!function(e){var t=document.createElement("input");t.setAttribute("type","file"),t.addEventListener("change",(function(){t.files[0].text().then((t=>e(t)))})),document.body.appendChild(t),t.click(),document.body.removeChild(t)}((t=>{e.value(t),this.setState({text:t})}))},className:"fa fa-upload",title:"Import markdown"}]});e.value(this.state.text),e.codemirror.on("change",(()=>{this.handleInput("text",e.value())}))}fixPreview(e){console.log("fix preview...");let t=e.getElementById("radicalPreviewIframe");console.log(t),t||(console.log("preview needs fixin"),this.radicalPreview(this.state.text,document.querySelector(".editor-preview")))}radicalPreview(e){const t=O(ue.render(this.state.text),"",this.props.settings);e.contentWindow.document.open(),e.contentWindow.document.write(t),e.contentWindow.document.close()}componentDidMount(){this.updateMdEditor()}componentWillUpdate(e,t){t.action==this.state.action&&(this.modified=!0)}componentDidUpdate(){this.props.settings.title(this.state.title).description(this.state.description).filename(this.state.filename).css(this.state.customCSS).image(this.state.image).footer(this.state.footer).editor(this.state.editor).viewCSS(this.state.viewCSS).headHTML(this.state.headHTML).author(this.state.author).keywords(this.state.keywords),document.title=this.state.title;const e=document.querySelector("#customCSS");e&&(e.innerHTML=this.state.customCSS)}},{settings:fe,text:de.markdown},"");document.body.innerHTML="\x3c!--clean up--\x3e",function(r,i,n){var o,s,l;t.__&&t.__(r,i),s=(o="function"==typeof n)?null:n&&n.__k||i.__k,l=[],A(i,r=(!o&&n||i).__k=f(p,null,[r]),s||a,a,void 0!==i.ownerSVGElement,!o&&n?[n]:s?null:i.firstChild?e.call(i.childNodes):null,l,!o&&n?n:s?s.__e:i.firstChild,o),E(l,r)}(ge,document.body)})()})();