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,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(lete=0,t=0;e<i.length;e++)(e%2?_O:hs).push(t=t+i[e])})();functionFd(i){if(i<768)return!1;for(lete=0,t=hs.length;;){letn=e+t>>1;if(i<hs[n])t=n;elseif(i>=_O[n])e=n+1;elsereturn!0;if(e==t)return!1}}functionZO(i){returni>=127462&&i<=127487}varVO=8205;functionzO(i,e,t=!0,n=!0){return(t?CO:Hd)(i,e,n)}functionCO(i,e,t){if(e==i.length)returne;e&&qO(i.charCodeAt(e))&&AO(i.charCodeAt(e-1))&&e--;letn=ls(i,e);for(e+=YO(n);e<i.length;){letr=ls(i,e);if(n==VO||r==VO||t&&Fd(r))e+=YO(r),n=r;elseif(ZO(r)){lets=0,o=e-2;for(;o>=0&&ZO(ls(i,o));)s++,o-=2;if(s%2==0)break;e+=2}elsebreak}returne}functionHd(i,e,t){for(;e>0;){letn=CO(i,e-2,t);if(n<e)returnn;e--}return0}functionls(i,e){lett=i.charCodeAt(e);if(!AO(t)||e+1==i.length)returnt;letn=i.charCodeAt(e+1);returnqO(n)?(t-55296<<10)+(n-56320)+65536:t}functionqO(i){returni>=56320&&i<57344}functionAO(i){returni>=55296&&i<56320}functionYO(i){returni<65536?1:2}varq=classi{lineAt(e){if(e<0||e>this.length)thrownewRangeError(`Invalid position ${e} in document of length ${this.length}`);returnthis.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)thrownewRangeError(`Invalid line number ${e} in ${this.lines}-line document`);returnthis.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=gi(this,e,t);letr=[];returnthis.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),pi.from(r,this.length-(t-e)+n.length)}append(e){returnthis.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=gi(this,e,t);letn=[];returnthis.decompose(e,t,n,0),pi.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;lett=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=newNt(this),s=newNt(e);for(leto=t,a=t;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){returnnewNt(this,e)}iterRange(e,t=this.length){returnnewGn(this,e,t)}iterLines(e,t){letn;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);letr=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}returnnewLn(n)}toString(){returnthis.sliceString(0)}toJSON(){lete=[];returnthis.flatten(e),e}constructor(){}staticof(e){if(e.length==0)thrownewRangeError("A document must have at least one line");returne.length==1&&!e[0]?i.empty:e.length<=32?newZe(e):pi.from(Ze.split(e,[]))}},Ze=classiextendsq{constructor(e,t=Kd(e)){super(),this.text=e,this.length=t}getlines(){returnthis.text.length}getchildren(){returnnull}lineInner(e,t,n,r){for(lets=0;;s++){leto=this.text[s],a=r+o.length;if((t?n:a)>=e)returnnewf
`){[e,t]=gi(this,e,t);let r="";for(let s=0,o=0;s<=t&&o<this.text.length;o++){let a=this.text[o],O=s+a.length;s>e&&o&&(r+=n),e<O&&t>s&&(r+=a.slice(Math.max(0,e-s),t-s)),s=O+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,n.length==32&&(t.push(new i(n,r)),n=[],r=-1);return r>-1&&t.push(new i(n,r)),t}},pi=class i extends q{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,r){for(let s=0;;s++){let o=this.children[s],a=r+o.length,O=n+o.lines-1;if((t?O:a)>=e)return o.lineInner(e,t,n,r);r=a+1,n=O+1}}decompose(e,t,n,r){for(let s=0,o=0;o<=t&&s<this.children.length;s++){let a=this.children[s],O=o+a.length;if(e<=O&&t>=o){let l=r&((o<=e?1:0)|(O>=t?2:0));o>=e&&O<=t&&!l?n.push(a):a.decompose(e-o,t-o,n,l)}o=O+1}}replace(e,t,n){if([e,t]=gi(this,e,t),n.lines<this.lines)for(let r=0,s=0;r<this.children.length;r++){let o=this.children[r],a=s+o.length;if(e>=s&&t<=a){let O=o.replace(e-s,t-s,n),l=this.lines-o.lines+O.lines;if(O.lines<l>>4&&O.lines>l>>6){let h=this.children.slice();return h[r]=O,new i(h,this.length-(t-e)+n.length)}return super.replace(s,a,O)}s=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=`
`){[e,t]=gi(this,e,t);let r="";for(let s=0,o=0;s<this.children.length&&o<=t;s++){let a=this.children[s],O=o+a.length;o>e&&s&&(r+=n),e<O&&t>o&&(r+=a.sliceString(e-o,t-o,n)),o=O+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof i))return 0;let n=0,[r,s,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,s+=t){if(r==o||s==a)return n;let O=this.children[r],l=e.children[s];if(O!=l)return n+O.scanIdentical(l,t);n+=O.length+1}}static from(e,t=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let d=[];for(let $ of e)$.flatten(d);return new Ze(d,t)}let r=Math.max(32,n>>5),s=r<<1,o=r>>1,a=[],O=0,l=-1,h=[];function c(d){let $;if(d.lines>s&&d instanceof i)for(let p of d.children)c(p);else d.lines>o&&(O>o||!O)?(f(),a.push(d)):d instanceof Ze&&O&&($=h[h.length-1])instanceof Ze&&d.lines+$.lines<=32?(O+=d.lines,l+=d.length+1,h[h.length-1]=new Ze($.text.concat(d.text),$.length+1+d.length)):(O+d.lines>r&&f(),O+=d.lines,l+=d.length+1,h.push(d))}function f(){O!=0&&(a.push(h.length==1?h[0]:i.from(h,l)),l=-1,O=h.length=0)}for(let d of e)c(d);return f(),a.length==1?a[0]:new i(a,t)}};q.empty=new Ze([""],0);function Kd(i){let e=-1;for(let t of i)e+=t.length+1;return e}function En(i,e,t=0,n=1e9){for(let r=0,s=0,o=!0;s<i.length&&r<=n;s++){let a=i[s],O=r+a.length;O>=t&&(O>n&&(a=a.slice(0,n-r)),r<t&&(a=a.slice(t-r)),o?(e[e.length-1]+=a,o=!1):e.push(a)),r=O+1}return e}function WO(i,e,t){return En(i,[""],e,t)}var Nt=class{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof Ze?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],o=s>>1,a=r instanceof Ze?r.text.length:r.children.length;if(o==(t>0?a:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=`
`}getreadOnly(){returnthis.facet(HO)}phrase(e,...t){for(letnofthis.facet(i.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}returnt.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";lets=+(r||1);return!s||s>t.length?n:t[s-1]})),e}languageDataAt(e,t,n=-1){letr=[];for(letsofthis.facet(DO))for(letoofs(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);returnr}charCategorizer(e){returnl$(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,a=e-n;for(;o>0;){letO=le(t,o,!1);if(s(t.slice(O,o))!=We.Word)break;o=O}for(;a<r;){letO=le(t,a);if(s(t.slice(a,O))!=We.Word)break;a=O}returno==a?null:S.range(o+n,a+n)}};B.allowMultipleSelections=ms;B.tabSize=Z.define({combine:i=>i.length?i[0]:4});B.lineSeparator=BO;B.readOnly=HO;B.phrases=Z.define({compare(i,e){lett=Object.keys(i),n=Object.keys(e);returnt.length==n.length&&t.every(r=>i[r]==e[r])}});B.languageData=DO;B.changeFilter=IO;B.transactionFilter=NO;B.transactionExtender=FO;mt.reconfigure=D.define();functionXt(i,e,t={}){letn={};for(letrofi)for(letsofObject.keys(r)){leto=r[s],a=n[s];if(a===void0)n[s]=o;elseif(!(a===o||o===void0))if(Object.hasOwnProperty.call(t,s))n[s]=t[s](a,o);elsethrownewError("Config merge conflict for field "+s)}for(letrine)n[r]===void0&&(n[r]=e[r]);returnn}varIe=class{eq(e){returnthis==e}range(e,t=e){returnGi.create(e,t,this)}};Ie.prototype.startSide=Ie.prototype.endSide=0;Ie.prototype.point=!1;Ie.prototype.mapMode=Oe.TrackDel;varGi=classi{constructor(e,t,n){this.from=e,this.to=t,this.value=n}staticcreate(e,t,n){returnnewi(e,t,n)}};functionys(i,e){returni.from-e.from||i.value.startSide-e.value.startSide}varbs=classi{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}getlength(){returnthis.to[this.to.length-1]}findIndex(e,t,n,r=0){lets=n?this.to:this.from;for(leto=r,a=s.length;;){if(o==a)returno;letO=o+a>>1,l=s[O]-e||(n?this.value[O].endSide:this.value[O].startSide)-t;if(O==o)returnl>=0?o:a;l>=0?a=O:o=O+1}}between(e,t,n,r){for(lets=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,s);s<o;s++)if(r(this.from[s]+e,this.to[s]+e,this.value[s])===!1)return!1}map(e,t){letn=[],r=[],s=[],o=-1,a=-1;for(letO=0;O<this.value.length;O++){letl=this.value[O],h=this.from[O]+e,c=this.to[O]+e,f,d;if(h==c){let$=t.mapPos(h,l.startSide,l.mapMode);if($==null||(f=d=$,l.startSide!=l.endSide&&(d=t.mapPos(h,l.endSide),d<f)))continue}elseif(f=t.mapPos(h,l.startSide),d=t.mapPos(c,l.endSide),f>d||f==d&&l.startSide>0&&l.endSide<=0)continue;(d-f||l.endSide-l.startSide)<0||(o<0&&(o=f),l.point&&(a=Math.max(a,d-f)),n.push(l),r.push(f-o),s.push(d-o))}return{mapped:n.length?newi(r,s,n,a):null,pos:o}}},K=classi{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}staticcreate(e,t,n,r){returnnewi(e,t,n,r)}getlength(){lete=this.chunk.length-1;returne<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}getsize(){if(this.isEmpty)return0;lete=this.nextLayer.size;for(lettofthis.chunk)e+=t.value.length;returne}chunkEnd(e){returnthis.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(t.length==0&&!o)returnthis;if(n&&(t=t.slice().sort(ys)),this.isEmpty)returnt.length?i.of(t):this;leta=newIn(this,null,-1).goto(0),O=0,l=[],h=newHt;for(;a.value||O<t.length;)if(O<t.length&&(a.from-t[O].from||a.startSide-t[O].value.startSide)>=0){letc=t[O++];h.addInner(c.from,c.to,c.value)||l.push(c)}elsea.rangeIndex==1&&a.chunkIndex<this.chunk.length&&(O==t.length||this.chunkEnd(a.chunkIndex)<t[O].from)&&(!o||r>this.chunkEnd(a.chunkIndex)||s<this.chunkPos[a.chunkIndex])&&h.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!o||r>a.to||s<a.from||o(a.from,a.to,a.value))&&(h.addInner(a.from,a.to,a.value)||l.push(Gi.create(a.from,a.to,a.value))),a.next());returnh.finishInner(this.nextLayer.isEmpty&&!l.length?i.empty:this.nextLayer.update({add:l,filter:o,filterFrom:r,filt
`);n=r<0?t:t.slice(0,r)}returne+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){returnthis.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=is.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){typeofe=="number"&&(e=newz(this.parser.nodeSet.types[e],Ai,Ai,(n??this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(lO(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){lete=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();returnthis.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){returnthis.ranges.length>1?sd(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(letnofe.parsers)if(n.finish(this,e))return;lett=lO(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(b.Paragraph,e.content.length),e.start)}elt(e,t,n,r){returntypeofe=="string"?W(this.parser.getNodeType(e),t,n,r):newrs(e,t)}getbuffer(){returnnewns(this.parser.nodeSet)}};functionsd(i,e,t,n,r){lets=i[e].to,o=[],a=[],O=t.from+n;functionl(h,c){for(;c?h>=s:h>s;){letf=i[e+1].from-s;n+=f,h+=f,e++,s=i[e].to}}for(leth=t.firstChild;h;h=h.nextSibling){l(h.from+n,!0);letc=h.from+n,f,d=r.get(h.tree);d?f=d:h.to+n>s?(f=sd(i,e,h,n,r),l(h.to+n,!1)):f=h.toTree(),o.push(f),a.push(c-O)}returnl(t.to+n,!1),newz(t.type,o,a,t.to+n-O,t.tree?t.tree.propValues:void0)}var_n=classiextendsyt{constructor(e,t,n,r,s,o,a,O,l){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=s,this.skipContextMarkup=o,this.inlineParsers=a,this.inlineNames=O,this.wrappers=l,this.nodeTypes=Object.create(null);for(lethofe.types)this.nodeTypes[h.name]=h.id}createParse(e,t,n){letr=newsO(this,e,t,n);for(letsofthis.wrappers)r=s(r,e,t,n);returnr}configure(e){lett=oO(e);if(!t)returnthis;let{nodeSet:n,skipContextMarkup:r}=this,s=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),a=this.blockNames.slice(),O=this.inlineParsers.slice(),l=this.inlineNames.slice(),h=this.endLeafBlock.slice(),c=this.wrappers;if(Zn(t.defineNodes)){r=Object.assign({},r);letf=n.types.slice(),d;for(let$oft.defineNodes){let{name:p,block:m,composite:Q,style:g}=typeof$=="string"?{name:$}:$;if(f.some(y=>y.name==p))continue;Q&&(r[f.length]=(y,x,w)=>Q(x,w,y.value));letP=f.length,k=Q?["Block","BlockContext"]:m?P>=b.ATXHeading1&&P<=b.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void0;f.push(ie.define({id:P,name:p,props:k&&[[Y.group,k]]})),g&&(d||(d={}),Array.isArray(g)||ginstanceofYe?d[p]=g:Object.assign(d,g))}n=newSt(f),d&&(n=n.extend(se(d)))}if(Zn(t.props)&&(n=n.extend(...t.props)),Zn(t.remove))for(letfoft.remove){letd=this.blockNames.indexOf(f),$=this.inlineNames.indexOf(f);d>-1&&(s[d]=o[d]=void0),$>-1&&(O[$]=void0)}if(Zn(t.parseBlock))for(letfoft.parseBlock){letd=a.indexOf(f.name);if(d>-1)s[d]=f.parse,o[d]=f.leaf;else{let$=f.before?ts(a,f.before):f.after?ts(a,f.after)+1:a.length-1;s.splice($,0,f.parse),o.splice($,0,f.leaf),a.splice($,0,f.name)}f.endLeaf&&h.push(f.endLeaf)}if(Zn(t.parseInline))for(letfoft.parseInline){letd=l.indexOf(f.name);if(d>-1)O[d]=f.parse;else{let$=f.before?ts(l,f.before):f.after?ts(l,f.after)+1:l.length-1;O.splice($,0,f.parse),l.splice($,0,f.name)}}returnt.wrap&&(c=c.concat(t.wrap)),newi(n,s,o,a,h,r,O,l,c)}getNodeType(e){lett=this.nodeTypes[e];if(t==null)thrownewRangeError(`Unknown node type '${e}'`);returnt}parseInline(e,t){letn=newOO(this,e,t);e:for(letr=t;r<n.end;){lets=n.char(r);for(letoofthis.inlineParsers)if(o){leta=o(n,s,r);if(a>=0){r=a;continuee}}r++}returnn.resol