diff --git a/_data/8VxApzQr7voeSdDjuYPsbRPmU1TzpwkZ5FMHPiZmHFDD8geRaM6o4DKrHCbqksoDfPkJaJa3bgBomEwSBBymU11LWU.js b/_data/8Vx2LVQHtVnZhCEkKFBb4oZ3QMpombfaCYAnUwjVX3FNvHXsAX9S38FBzuoMEh9gA4grqiQCcmnVydbWG7B5fcEG9n.js similarity index 70% rename from _data/8VxApzQr7voeSdDjuYPsbRPmU1TzpwkZ5FMHPiZmHFDD8geRaM6o4DKrHCbqksoDfPkJaJa3bgBomEwSBBymU11LWU.js rename to _data/8Vx2LVQHtVnZhCEkKFBb4oZ3QMpombfaCYAnUwjVX3FNvHXsAX9S38FBzuoMEh9gA4grqiQCcmnVydbWG7B5fcEG9n.js index 94c0647..0fff683 100644 --- a/_data/8VxApzQr7voeSdDjuYPsbRPmU1TzpwkZ5FMHPiZmHFDD8geRaM6o4DKrHCbqksoDfPkJaJa3bgBomEwSBBymU11LWU.js +++ b/_data/8Vx2LVQHtVnZhCEkKFBb4oZ3QMpombfaCYAnUwjVX3FNvHXsAX9S38FBzuoMEh9gA4grqiQCcmnVydbWG7B5fcEG9n.js @@ -78,105 +78,98 @@ m.IterMode.IgnoreMounts)}moveTo(wa){let {cursor:Ra}=this,nb=wa-this.offset;for(; this.fragments=wa;this.fragI=this.curTo=0;wa.length?(wa=this.curFrag=wa[0],this.curTo=null!==(Ra=wa.tree.prop(ea))&&void 0!==Ra?Ra:wa.to,this.inner=new xb(wa.tree,-wa.offset)):this.curFrag=this.inner=null}hasNode(wa){for(;this.curFrag&&wa.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=wa.from&&this.curTo>=wa.to&&this.inner.hasNode(wa)}nextFrag(){var wa;this.fragI++;if(this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let Ra=this.curFrag=this.fragments[this.fragI]; this.curTo=null!==(wa=Ra.tree.prop(ea))&&void 0!==wa?wa:Ra.to;this.inner=new xb(Ra.tree,-Ra.offset)}}findMounts(wa,Ra){var nb;let Hb=[];if(this.inner)for(this.inner.cursor.moveTo(wa,1),wa=this.inner.cursor.node;wa;wa=wa.parent){let Jb=null===(nb=wa.tree)||void 0===nb?void 0:nb.prop(E.mounted);if(Jb&&Jb.parser==Ra)for(let Bb=this.fragI;Bb=wa.to)break;xc.tree==this.curFrag.tree&&Hb.push({frag:xc,pos:wa.from-xc.offset,mount:Jb})}}return Hb}} m.DefaultBufferLength=1024;m.MountedTree=N;m.NodeProp=E;m.NodeSet=L;m.NodeType=G;m.NodeWeakMap=ab;m.Parser=Ya;m.Tree=Ha;m.TreeBuffer=Ja;m.TreeCursor=Sa;m.TreeFragment=Ta;m.parseMixed=function(wa){return(Ra,nb,Hb,Jb)=>new Aa(Ra,wa,nb,Hb,Jb)}}; -shadow$provide[1]=function(R,K,pa,m){function A(da){let Ea=-1;for(let bb of da)Ea+=bb.length+1;return Ea}function w(da,Ea,bb=0,jb=1E9){for(let Ba=0,Qa=0,sb=!0;Qa=bb&&(Lb>jb&&(ub=ub.slice(0,jb-Ba)),Ba=da}function g(da,Ea,bb=!0,jb=!0){return(bb?f:e)(da,Ea,jb)}function f(da,Ea,bb){if(Ea==da.length)return Ea;var jb;if(jb= -Ea)jb=da.charCodeAt(Ea),jb=56320<=jb&&57344>jb;jb&&(jb=da.charCodeAt(Ea-1),jb=55296<=jb&&56320>jb);jb&&Ea--;jb=h(da,Ea);for(Ea+=l(jb);EaBa){Qa=Mb[Qa-1]<=Ba;break a}Qa=!1}if(Qa)Ea+=l(Ba),jb=Ba;else if(p(Ba)){Ba=0;for(Qa=Ea-2;0<=Qa&&p(h(da,Qa));)Ba++,Qa-=2;if(0==Ba%2)break;else Ea+=2}else break}return Ea}function e(da,Ea,bb){for(;0bb)||Ea+1==da.length)return bb;da=da.charCodeAt(Ea+1);return 56320<=da&&57344>da?(bb-55296<<10)+(da-56320)+65536:bb}function l(da){return 65536>da?1:2}function c(da,Ea,bb,jb=!1){if(!(0==Ea&&0>=bb)){var Ba=da.length-2;0<=Ba&&0>=bb&&bb==da[Ba+1]?da[Ba]+=Ea:0==Ea&&0==da[Ba]?da[Ba+1]+=bb:jb?(da[Ba]+=Ea,da[Ba+1]+=bb):da.push(Ea,bb)}}function r(da,Ea,bb){if(0!=bb.length)if(Ea=Ea.length-2>>1,EaLb)Ba+=ub,Qa+=ub;else{let Zb=Ba,qc=Qa,Zc=Ya.empty;for(;;){Zb+=ub;qc+=Lb;Lb&&jb&&(Zc=Zc.append(jb[sb-2>>1]));if(bb||sb==da.sections.length||0>da.sections[sb+1])break;ub=da.sections[sb++];Lb=da.sections[sb++]}Ea(Ba,Zb,Qa,qc,Zc);Ba=Zb;Qa=qc}}}function z(da,Ea,bb,jb=!1){let Ba=[];jb=jb?[]:null;da=new Hb(da);Ea= -new Hb(Ea);for(let ub=-1;;)if(-1==da.ins&&-1==Ea.ins){var Qa=Math.min(da.len,Ea.len);c(Ba,Qa,-1);da.forward(Qa);Ea.forward(Qa)}else if(0<=Ea.ins&&(0>da.ins||ub==da.i||0==da.off&&(Ea.lenQa||0<=Ea.ins&&Ea.len>Qa)&&(Ba||jb.length>sb);da.forward2(Qa);Ea.forward(Qa)}else c(jb,0,Ea.ins,Ba),bb&&r(bb,jb,Ea.text),Ea.next()}}function y(da,Ea){for(let bb of da.ranges)if(bb.to>Ea)throw new RangeError("Selection points outside of document"); -}function D(da,Ea){return da==Ea||da.length==Ea.length&&da.every((bb,jb)=>bb===Ea[jb])}function B(da,Ea,bb){if(da.length!=Ea.length)return!1;for(let jb=0;jbda[Lb.id]),Qa=bb.map(Lb=> -Lb.type),sb=Ba.filter(Lb=>!(Lb&1)),ub=da[Ea.id]>>1;return{create(Lb){for(let Zb of Ba)G(Lb,Zb);Lb.values[ub]=jb(Lb);return 1},update(Lb,Zb){if(!F(Lb,sb))return 0;Zb=jb(Lb);if(Ea.compare(Zb,Lb.values[ub]))return 0;Lb.values[ub]=Zb;return 1},reconfigure(Lb,Zb){var qc=F(Lb,Ba);let Zc=Zb.config.facets[Ea.id];Zb=Zb.facet(Ea);if(Zc&&!qc&&D(bb,Zc))return Lb.values[ub]=Zb,0;qc=jb(Lb);if(Ea.compare(qc,Zb))return Lb.values[ub]=Zb,0;Lb.values[ub]=qc;return 1}}}function N(da){return Ea=>new Nb(Ea,da)}function U(da, -Ea,bb){function jb(sb,ub){var Lb=Qa.get(sb);if(null!=Lb){if(Lb<=ub)return;let Zb=Ba[Lb].indexOf(sb);-1sb.concat(ub))}function G(da,Ea){if(Ea&1)return 2;Ea>>=1;var bb=da.status[Ea]; -if(4==bb)throw Error("Cyclic dependency between fields and/or facets");if(bb&2)return bb;da.status[Ea]=4;bb=da.computeSlot(da,da.config.dynamicSlots[Ea]);return da.status[Ea]=2|bb}function L(da,Ea){return Ea&1?da.config.staticValues[Ea>>1]:da.values[Ea>>1]}function aa(da,Ea,bb){var jb;let Ba,Qa;bb?(bb=Ea.changes,Ba=nb.empty(Ea.changes.length),Qa=da.changes.compose(Ea.changes)):(bb=Ea.changes.map(da.changes),Ba=da.changes.mapDesc(Ea.changes,!0),Qa=da.changes.compose(bb));return{changes:Qa,selection:Ea.selection? -Ea.selection.map(Ba):null===(jb=da.selection)||void 0===jb?void 0:jb.map(bb),effects:Wa.mapEffects(da.effects,bb).concat(Wa.mapEffects(Ea.effects,Ba)),annotations:da.annotations.length?da.annotations.concat(Ea.annotations):Ea.annotations,scrollIntoView:da.scrollIntoView||Ea.scrollIntoView}}function ha(da,Ea,bb){let jb=Ea.selection,Ba=Oa(Ea.annotations);Ea.userEvent&&(Ba=Ba.concat(hb.userEvent.of(Ea.userEvent)));return{changes:Ea.changes instanceof nb?Ea.changes:nb.of(Ea.changes||[],bb,da.facet(I)), -selection:jb&&(jb instanceof Bb?jb:Bb.single(jb.anchor,jb.head)),effects:Oa(Ea.effects),annotations:Ba,scrollIntoView:!!Ea.scrollIntoView}}function Ha(da,Ea,bb){var jb=ha(da,Ea.length?Ea[0]:{},da.doc.length);Ea.length&&!1===Ea[0].filter&&(bb=!1);for(var Ba=1;Ba=Ea[ub]))Qa=Ea[ub++],Zb=Ea[ub++];else if(Lb{if(!/\S/.test(Ea))return m.CharCategory.Space;a:if(hc)var bb=hc.test(Ea);else{for(bb=0;bb=Ba.chunk[da].maxPoint&&jb.set(Ba.chunk[da],Ba.chunkPos[da]);Ba=new Set;for(let Qa of Ea)for(Ea=0;Ea=da.length)break;let Ba=da[jb];jb+1bb.compare(Ba))break;da[jb]=bb;da[Ea]=Ba;Ea=jb}}function Xa(da,Ea,bb,jb,Ba,Qa){da.goto(Ea);bb.goto(jb);Ba=jb+Ba;let sb=jb;for(Ea=jb-Ea;;){jb=da.to+Ea-bb.to||da.endSide-bb.endSide;let ub=0>jb?da.to+Ea:bb.to,Lb=Math.min(ub,Ba);da.point||bb.point?da.point&& -bb.point&&(da.point==bb.point||da.point.eq(bb.point))&&Sa(da.activeForPoint(da.to),bb.activeForPoint(bb.to))||Qa.comparePoint(sb,Lb,da.point,bb.point):Lb>sb&&!Sa(da.active,bb.active)&&Qa.compareRange(sb,Lb,da.active,bb.active);if(ub>Ba)break;sb=ub;0>=jb&&da.next();0<=jb&&bb.next()}}function Sa(da,Ea){if(da.length!=Ea.length)return!1;for(let bb=0;bb=Ea;jb--)da[jb+1]=da[jb];da[Ea]=bb}function Ta(da,Ea){let bb=-1,jb=1E9;for(let Ba=0;Ba(Ea[Ba]-jb||da[Ba].endSide-da[bb].endSide)&&(bb=Ba,jb=Ea[Ba]);return bb}class Ya{lineAt(da){if(0>da||da>this.length)throw new RangeError(`Invalid position ${da} in document of length ${this.length}`);return this.lineInner(da,!1,1,0)}line(da){if(1>da||da>this.lines)throw new RangeError(`Invalid line number ${da} in ${this.lines}-line document`);return this.lineInner(da, -!0,1,0)}replace(da,Ea,bb){let jb=[];this.decompose(0,da,jb,2);bb.length&&bb.decompose(0,bb.length,jb,3);this.decompose(Ea,this.length,jb,1);return Cb.from(jb,this.length-(Ea-da)+bb.length)}append(da){return this.replace(this.length,this.length,da)}slice(da,Ea=this.length){let bb=[];this.decompose(da,Ea,bb,0);return Cb.from(bb,Ea-da)}eq(da){if(da==this)return!0;if(da.length!=this.length||da.lines!=this.lines)return!1;let Ea=this.scanIdentical(da,1),bb=this.length-this.scanIdentical(da,-1),jb=new ac(this); -da=new ac(da);for(let Ba=Ea,Qa=Ea;;){jb.next(Ba);da.next(Ba);Ba=0;if(jb.lineBreak!=da.lineBreak||jb.done!=da.done||jb.value!=da.value)return!1;Qa+=jb.value.length;if(jb.done||Qa>=bb)return!0}}iter(da=1){return new ac(this,da)}iterRange(da,Ea=this.length){return new ea(this,da,Ea)}iterLines(da,Ea){null==da?Ea=this.iter():(null==Ea&&(Ea=this.lines+1),da=this.line(da).from,Ea=this.iterRange(da,Math.max(da,Ea==this.lines+1?this.length:1>=Ea?0:this.line(Ea-1).to)));return new Aa(Ea)}toString(){return this.sliceString(0)}toJSON(){let da= -[];this.flatten(da);return da}constructor(){}static of(da){if(0==da.length)throw new RangeError("A document must have at least one line");return 1!=da.length||da[0]?32>=da.length?new rb(da):Cb.from(rb.split(da,[])):Ya.empty}}class rb extends Ya{constructor(da,Ea=A(da)){super();this.text=da;this.length=Ea}get lines(){return this.text.length}get children(){return null}lineInner(da,Ea,bb,jb){for(let Ba=0;;Ba++){let Qa=this.text[Ba],sb=jb+Qa.length;if((Ea?bb:sb)>=da)return new xb(jb,sb,bb,Qa);jb=sb+1; -bb++}}decompose(da,Ea,bb,jb){da=0>=da&&Ea>=this.length?this:new rb(w(this.text,[""],da,Ea),Math.min(Ea,this.length)-Math.max(0,da));jb&1?(Ea=bb.pop(),jb=w(da.text,Ea.text.slice(),0,da.length),32>=jb.length?bb.push(new rb(jb,Ea.length+da.length)):(da=jb.length>>1,bb.push(new rb(jb.slice(0,da)),new rb(jb.slice(da))))):bb.push(da)}replace(da,Ea,bb){if(!(bb instanceof rb))return super.replace(da,Ea,bb);let jb=w(this.text,w(bb.text,w(this.text,[""],0,da)),Ea);da=this.length+bb.length-(Ea-da);return 32>= -jb.length?new rb(jb,da):Cb.from(rb.split(jb,[]),da)}sliceString(da,Ea=this.length,bb="\n"){let jb="";for(let Ba=0,Qa=0;Ba<=Ea&&Qada&&Qa&&(jb+=bb);daBa&&(jb+=sb.slice(Math.max(0,da-Ba),Ea-Ba));Ba=ub+1}return jb}flatten(da){for(let Ea of this.text)da.push(Ea)}scanIdentical(){return 0}static split(da,Ea){let bb=[],jb=-1;for(let Ba of da)bb.push(Ba),jb+=Ba.length+1,32==bb.length&&(Ea.push(new rb(bb,jb)),bb=[],jb=-1);-1=da)return Qa.lineInner(da,Ea,bb,jb);jb=sb+1;bb=ub+1}}decompose(da,Ea,bb,jb){for(let Ba=0,Qa=0;Qa<=Ea&&Ba=Qa){let Lb=jb&((Qa<=da?1:0)|(ub>=Ea?2:0));Qa>=da&&ub<= -Ea&&!Lb?bb.push(sb):sb.decompose(da-Qa,Ea-Qa,bb,Lb)}Qa=ub+1}}replace(da,Ea,bb){if(bb.lines=sb&&Ea<=Ba){let ub=jb.replace(da-sb,Ea-sb,bb);jb=this.lines-jb.lines+ub.lines;return ub.lines>4&&ub.lines>jb>>6?(Ba=this.children.slice(),Ba[Qa]=ub,new Cb(Ba,this.length-(Ea-da)+bb.length)):super.replace(sb,Ba,ub)}sb=Ba+1}return super.replace(da,Ea,bb)}sliceString(da,Ea=this.length,bb="\n"){let jb= -"";for(let Ba=0,Qa=0;Bada&&Ba&&(jb+=bb);daQa&&(jb+=sb.sliceString(da-Qa,Ea-Qa,bb));Qa=ub+1}return jb}flatten(da){for(let Ea of this.children)Ea.flatten(da)}scanIdentical(da,Ea){if(!(da instanceof Cb))return 0;let bb=0,[jb,Ba,Qa,sb]=0bb+jb.length+1,-1)){function bb(Gd){let Ce;if(Gd.lines>sb&&Gd instanceof Cb)for(let le of Gd.children)bb(le);else Gd.lines>ub&&(Zb>ub||!Zb)?(jb(),Lb.push(Gd)):Gd instanceof rb&&Zb&&(Ce=Zc[Zc.length-1])instanceof rb&&32>=Gd.lines+Ce.lines?(Zb+=Gd.lines,qc+=Gd.length+1,Zc[Zc.length-1]=new rb(Ce.text.concat(Gd.text),Ce.length+1+Gd.length)):(Zb+Gd.lines>Qa&&jb(),Zb+=Gd.lines,qc+=Gd.length+1,Zc.push(Gd))} -function jb(){0!=Zb&&(Lb.push(1==Zc.length?Zc[0]:Cb.from(Zc,qc)),qc=-1,Zb=Zc.length=0)}var Ba=0;for(let Gd of da)Ba+=Gd.lines;if(32>Ba){Ba=[];for(let Gd of da)Gd.flatten(Ba);return new rb(Ba,Ea)}let Qa=Math.max(32,Ba>>5),sb=Qa<<1,ub=Qa>>1,Lb=[],Zb=0,qc=-1,Zc=[];for(let Gd of da)bb(Gd);jb();return 1==Lb.length?Lb[0]:new Cb(Lb,Ea)}}Ya.empty=new rb([""],0);class ac{constructor(da,Ea=1){this.dir=Ea;this.lineBreak=this.done=!1;this.value="";this.nodes=[da];this.offsets=[0>1,sb=bb instanceof rb?bb.text.length:bb.children.length;if(Qa==(0Ea?-1: -0)];this.offsets[jb]+=Ea;if(bb.length>Math.max(0,da))return this.value=0==da?bb:0Ea?-1:0)],da>bb.length?(da-=bb.length,this.offsets[jb]+=Ea):(0>Ea&&this.offsets[jb]--,this.nodes.push(bb),this.offsets.push(0da&&(this.nextInner(-da,-this.dir),da=this.value.length);return this.nextInner(da,this.dir)}}class ea{constructor(da,Ea,bb){this.value= -"";this.done=!1;this.cursor=new ac(da,Ea>bb?-1:1);this.pos=Ea>bb?da.length:0;this.from=Math.min(Ea,bb);this.to=Math.max(Ea,bb)}nextInner(da,Ea){if(0>Ea?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;da+=Math.max(0,0>Ea?this.pos-this.to:this.from-this.pos);let bb=0>Ea?this.pos-this.from:this.to-this.pos;da>bb&&(da=bb);bb-=da;let {value:jb}=this.cursor.next(da);this.pos+=(jb.length+da)*Ea;this.value=jb.length<=bb?jb:0>Ea?jb.slice(jb.length-bb):jb.slice(0,bb);this.done= -!this.value;return this}next(da=0){0>da?da=Math.max(da,this.from-this.pos):0 -da?parseInt(da,36):1);for(R=1;Rbb?this.sections[Ea]:bb}return da}get empty(){return 0==this.sections.length||2==this.sections.length&&0>this.sections[1]}iterGaps(da){for(let Ea=0,bb=0,jb=0;EaQa?(da(bb,jb,Ba),jb+=Ba):jb+=Qa;bb+=Ba}}iterChangedRanges(da,Ea=!1){q(this,da,Ea)}get invertedDesc(){let da=[];for(let Ea=0;Eajb?da.push(bb,jb):da.push(jb,bb)}return new Ra(da)}composeDesc(da){return this.empty? -da:da.empty?this:x(this,da)}mapDesc(da,Ea=!1){return da.empty?this:z(this,da,Ea)}mapPos(da,Ea=-1,bb=m.MapMode.Simple){let jb=0,Ba=0;for(let Qa=0;Qaub){if(Lb>da)return Ba+(da-jb);Ba+=sb}else{if(bb!=m.MapMode.Simple&&Lb>=da&&(bb==m.MapMode.TrackDel&&jbda||bb==m.MapMode.TrackBefore&&jbda))return null;if(Lb>da||Lb==da&&0>Ea&&!sb)return da==jb||0>Ea?Ba:Ba+ub;Ba+=ub}jb=Lb}if(da> -jb)throw new RangeError(`Position ${da} is out of range for changeset of length ${jb}`);return Ba}touchesRange(da,Ea=da){for(let jb=0,Ba=0;jb=da)return BaEa?"cover":!0;Ba=bb}return!1}toString(){let da="";for(let Ea=0;Ea"number"!=typeof Ea))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Ra(da)}static create(da){return new Ra(da)}}class nb extends Ra{constructor(da,Ea){super(da);this.inserted=Ea}apply(da){if(this.length!=da.length)throw new RangeError("Applying change set to a document with the wrong length");q(this,(Ea,bb,jb,Ba,Qa)=>da=da.replace(jb,jb+(bb-Ea),Qa),!1);return da}mapDesc(da,Ea=!1){return z(this,da,Ea,!0)}invert(da){let Ea=this.sections.slice(), -bb=[];for(let Ba=0,Qa=0;Ba>1;bb.lengthjb?da.push(bb):0==jb?da.push([bb]):da.push([bb].concat(this.inserted[Ea>>1].toJSON()))}return da}static of(da,Ea,bb){function jb(Zb=!1){if(Zb||Qa.length)ubGd||0>Zc||Gd>Ea)throw new RangeError(`Invalid change range ${Zc} to ${Gd} (in doc of length ${Ea})`);Zb=Ce?"string"==typeof Ce?Ya.of(Ce.split(bb||wa)):Ce:Ya.empty;qc=Zb.length;if(Zc!=Gd||0!=qc)Zcub&&c(Qa,Zc-ub,-1),c(Qa,Gd-Zc,qc),r(sb,Qa,Zb),ub=Gd}}let Qa=[],sb=[],ub=0,Lb=null;Ba(da);jb(!Lb);return Lb}static empty(da){return new nb(da?[da,-1]:[],[])}static fromJSON(da){if(!Array.isArray(da))throw new RangeError("Invalid JSON representation of ChangeSet");let Ea=[], -bb=[];for(let jb=0;jbsb&&"string"!=typeof Qa))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==Ba.length)Ea.push(Ba[0],0);else{for(;bb.lengththis.ins?this.len:this.ins}get text(){let {inserted:da}=this.set,Ea=this.i-2>>1;return Ea>=da.length?Ya.empty:da[Ea]}textBit(da){let {inserted:Ea}=this.set,bb=this.i-2>>1;return bb>=Ea.length&&!da?Ya.empty:Ea[bb].slice(this.off,null==da?void 0:this.off+da)}forward(da){da==this.len?this.next():(this.len-=da,this.off+=da)}forward2(da){-1==this.ins? -this.forward(da):da==this.ins?this.next():(this.ins-=da,this.off+=da)}}class Jb{constructor(da,Ea,bb){this.from=da;this.to=Ea;this.flags=bb}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let da=this.flags&7;return 7==da?null:da}get goalColumn(){let da=this.flags>>6;return 16777215==da?void 0:da}map(da,Ea=-1){this.empty?Ea=da=da.mapPos(this.from, -Ea):(Ea=da.mapPos(this.from,1),da=da.mapPos(this.to,-1));return Ea==this.from&&da==this.to?this:new Jb(Ea,da,this.flags)}extend(da,Ea=da){return da<=this.anchor&&Ea>=this.anchor?Bb.range(da,Ea):Bb.range(this.anchor,Math.abs(da-this.anchor)>Math.abs(Ea-this.anchor)?da:Ea)}eq(da){return this.anchor==da.anchor&&this.head==da.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(da){if(!da||"number"!=typeof da.anchor||"number"!=typeof da.head)throw new RangeError("Invalid JSON representation for SelectionRange"); -return Bb.range(da.anchor,da.head)}static create(da,Ea,bb){return new Jb(da,Ea,bb)}}class Bb{constructor(da,Ea){this.ranges=da;this.mainIndex=Ea}map(da,Ea=-1){return da.empty?this:Bb.create(this.ranges.map(bb=>bb.map(da,Ea)),this.mainIndex)}eq(da){if(this.ranges.length!=da.ranges.length||this.mainIndex!=da.mainIndex)return!1;for(let Ea=0;Eada.toJSON()),main:this.mainIndex}}static fromJSON(da){if(!da||!Array.isArray(da.ranges)||"number"!=typeof da.main||da.main>=da.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Bb(da.ranges.map(Ea=> -Jb.fromJSON(Ea)),da.main)}static single(da,Ea=da){return new Bb([Bb.range(da,Ea)],0)}static create(da,Ea=0){if(0==da.length)throw new RangeError("A selection needs at least one range");for(let bb=0,jb=0;jbEa?8:16)|(null==bb?7:Math.min(6,bb))|(null!==jb&&void 0!==jb?jb:16777215)<<6)}static range(da,Ea,bb,jb){bb= -(null!==bb&&void 0!==bb?bb:16777215)<<6|(null==jb?7:Math.min(6,jb));return Eada?8:0)|bb)}static normalized(da,Ea=0){Ea=da[Ea];da.sort((jb,Ba)=>jb.from-Ba.from);Ea=da.indexOf(Ea);for(let jb=1;jbBa.head?Bb.range(bb,Qa):Bb.range(Qa,bb))}}return new Bb(da,Ea)}}let xc=0;class bd{constructor(da, -Ea,bb,jb,Ba){this.combine=da;this.compareInput=Ea;this.compare=bb;this.isStatic=jb;this.id=xc++;this.default=da([]);this.extensions="function"==typeof Ba?Ba(this):Ba}get reader(){return this}static define(da={}){return new bd(da.combine||(Ea=>Ea),da.compareInput||((Ea,bb)=>Ea===bb),da.compare||(da.combine?(Ea,bb)=>Ea===bb:D),!!da.static,da.enables)}of(da){return new Yc([],this,0,da)}compute(da,Ea){if(this.isStatic)throw Error("Can't compute a static facet");return new Yc(da,this,1,Ea)}computeN(da, -Ea){if(this.isStatic)throw Error("Can't compute a static facet");return new Yc(da,this,2,Ea)}from(da,Ea){Ea||(Ea=bb=>bb);return this.compute([da],bb=>Ea(bb.field(da)))}}class Yc{constructor(da,Ea,bb,jb){this.dependencies=da;this.facet=Ea;this.type=bb;this.value=jb;this.id=xc++}dynamicSlot(da){var Ea;let bb=this.value,jb=this.facet.compareInput,Ba=this.id,Qa=da[Ba]>>1,sb=2==this.type,ub=!1,Lb=!1,Zb=[];for(let qc of this.dependencies)"doc"==qc?ub=!0:"selection"==qc?Lb=!0:0==((null!==(Ea=da[qc.id])&& -void 0!==Ea?Ea:1)&1)&&Zb.push(da[qc.id]);return{create(qc){qc.values[Qa]=bb(qc);return 1},update(qc,Zc){if(ub&&Zc.docChanged||Lb&&(Zc.docChanged||Zc.selection)||F(qc,Zb))if(Zc=bb(qc),sb?!B(Zc,qc.values[Qa],jb):!jb(Zc,qc.values[Qa]))return qc.values[Qa]=Zc,1;return 0},reconfigure:(qc,Zc)=>{let Gd;var Ce=Zc.config.address[Ba];if(null!=Ce){if(Ce=L(Zc,Ce),this.dependencies.every(le=>le instanceof bd?Zc.facet(le)===qc.facet(le):le instanceof cd?Zc.field(le,!1)==qc.field(le,!1):!0)||(sb?B(Gd=bb(qc),Ce, -jb):jb(Gd=bb(qc),Ce)))return qc.values[Qa]=Ce,0}else Gd=bb(qc);qc.values[Qa]=Gd;return 1}}}}const Xb=bd.define({static:!0});class cd{constructor(da,Ea,bb,jb,Ba){this.id=da;this.createF=Ea;this.updateF=bb;this.compareF=jb;this.spec=Ba;this.provides=void 0}static define(da){let Ea=new cd(xc++,da.create,da.update,da.compare||((bb,jb)=>bb===jb),da);da.provide&&(Ea.provides=da.provide(Ea));return Ea}create(da){let Ea=da.facet(Xb).find(bb=>bb.field==this);return((null===Ea||void 0===Ea?void 0:Ea.create)|| -this.createF)(da)}slot(da){let Ea=da[this.id]>>1;return{create:bb=>{bb.values[Ea]=this.create(bb);return 1},update:(bb,jb)=>{let Ba=bb.values[Ea];jb=this.updateF(Ba,jb);if(this.compareF(Ba,jb))return 0;bb.values[Ea]=jb;return 1},reconfigure:(bb,jb)=>{if(null!=jb.config.address[this.id])return bb.values[Ea]=jb.field(this),0;bb.values[Ea]=this.create(bb);return 1}}}init(da){return[this,Xb.of({field:this,create:da})]}get extension(){return this}}const Sc={lowest:4,low:3,default:2,high:1,highest:0};R= -{highest:N(Sc.highest),high:N(Sc.high),default:N(Sc.default),low:N(Sc.low),lowest:N(Sc.lowest)};class Nb{constructor(da,Ea){this.inner=da;this.prec=Ea}}class Wb{of(da){return new b(this,da)}reconfigure(da){return Wb.reconfigure.of({compartment:this,extension:da})}get(da){return da.config.compartments.get(this)}}class b{constructor(da,Ea){this.compartment=da;this.inner=Ea}}class k{constructor(da,Ea,bb,jb,Ba,Qa){this.base=da;this.compartments=Ea;this.dynamicSlots=bb;this.address=jb;this.staticValues= -Ba;this.facets=Qa;for(this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(da,Ea,bb){var jb=[];let Ba=Object.create(null),Qa=new Map;for(var sb of U(da,Ea,Qa))sb instanceof cd?jb.push(sb):(Ba[sb.facet.id]||(Ba[sb.facet.id]=[])).push(sb);let ub=Object.create(null);Ea=[];sb=[];for(let Zb of jb)ub[Zb.id]=sb.length<<1,sb.push(qc=>Zb.slot(qc));jb=null===bb|| -void 0===bb?void 0:bb.config.facets;for(let Zb in Ba){let qc=Ba[Zb],Zc=qc[0].facet;var Lb=jb&&jb[Zb]||[];if(qc.every(Gd=>0==Gd.type))ub[Zc.id]=Ea.length<<1|1,D(Lb,qc)?Ea.push(bb.facet(Zc)):(Lb=Zc.combine(qc.map(Gd=>Gd.value)),Ea.push(bb&&Zc.compare(Lb,bb.facet(Zc))?bb.facet(Zc):Lb));else{for(let Gd of qc)0==Gd.type?(ub[Gd.id]=Ea.length<<1|1,Ea.push(Gd.value)):(ub[Gd.id]=sb.length<<1,sb.push(Ce=>Gd.dynamicSlot(Ce)));ub[Zc.id]=sb.length<<1;sb.push(Gd=>E(Gd,Zc,qc))}}bb=sb.map(Zb=>Zb(ub));return new k(da, -Qa,bb,ub,Ea,Ba)}}const u=bd.define(),t=bd.define({combine:da=>da.some(Ea=>Ea),static:!0}),I=bd.define({combine:da=>da.length?da[0]:void 0,static:!0}),Q=bd.define(),X=bd.define(),ca=bd.define(),na=bd.define({combine:da=>da.length?da[0]:!1});class oa{constructor(da,Ea){this.type=da;this.value=Ea}static define(){return new xa}}class xa{of(da){return new oa(this,da)}}class Fa{constructor(da){this.map=da}of(da){return new Wa(this,da)}}class Wa{constructor(da,Ea){this.type=da;this.value=Ea}map(da){da=this.type.map(this.value, -da);return void 0===da?void 0:da==this.value?this:new Wa(this.type,da)}is(da){return this.type==da}static define(da={}){return new Fa(da.map||(Ea=>Ea))}static mapEffects(da,Ea){if(!da.length)return da;let bb=[];for(let jb of da)(da=jb.map(Ea))&&bb.push(da);return bb}}Wa.reconfigure=Wa.define();Wa.appendConfig=Wa.define();class hb{constructor(da,Ea,bb,jb,Ba,Qa){this.startState=da;this.changes=Ea;this.selection=bb;this.effects=jb;this.annotations=Ba;this.scrollIntoView=Qa;this._state=this._doc=null; -bb&&y(bb,Ea.newLength);Ba.some(sb=>sb.type==hb.time)||(this.annotations=Ba.concat(hb.time.of(Date.now())))}static create(da,Ea,bb,jb,Ba,Qa){return new hb(da,Ea,bb,jb,Ba,Qa)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){this._state||this.startState.applyTransaction(this);return this._state}annotation(da){for(let Ea of this.annotations)if(Ea.type==da)return Ea.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!= -this.state.config}isUserEvent(da){let Ea=this.annotation(hb.userEvent);return!(!Ea||!(Ea==da||Ea.length>da.length&&Ea.slice(0,da.length)==da&&"."==Ea[da.length]))}}hb.time=oa.define();hb.userEvent=oa.define();hb.addToHistory=oa.define();hb.remote=oa.define();const Fb=[];m.CharCategory=void 0;(function(da){da[da.Word=0]="Word";da[da.Space=1]="Space";da[da.Other=2]="Other"})(m.CharCategory||(m.CharCategory={}));const Ob=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/; -let hc;try{hc=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(da){}class pb{constructor(da,Ea,bb,jb,Ba,Qa){this.config=da;this.doc=Ea;this.selection=bb;this.values=jb;this.status=da.statusTemplate.slice();this.computeSlot=Ba;Qa&&(Qa._state=this);for(da=0;dajb.set(sb,Qa)),Ea=null),jb.set(Ba.value.compartment,Ba.value.extension)):Ba.is(Wa.reconfigure)?(Ea=null,bb=Ba.value):Ba.is(Wa.appendConfig)&&(Ea=null,bb=Oa(bb).concat(Ba.value));Ea?Ba=da.startState.values.slice():(Ea=k.resolve(bb,jb,this),Ba=(new pb(Ea,this.doc,this.selection,Ea.dynamicSlots.map(()=>null),(Qa,sb)=>sb.reconfigure(Qa, -this),null)).values);new pb(Ea,da.newDoc,da.newSelection,Ba,(Qa,sb)=>sb.update(Qa,da),da)}replaceSelection(da){"string"==typeof da&&(da=this.toText(da));return this.changeByRange(Ea=>({changes:{from:Ea.from,to:Ea.to,insert:da},range:Bb.cursor(Ea.from+da.length)}))}changeByRange(da){let Ea=this.selection;var bb=da(Ea.ranges[0]);let jb=this.changes(bb.changes),Ba=[bb.range];bb=Oa(bb.effects);for(let sb=1;sbQa.spec.fromJSON(sb,ub)))}return pb.create({doc:da.doc,selection:Bb.fromJSON(da.selection),extensions:Ea.extensions?jb.concat([Ea.extensions]):jb})}static create(da={}){let Ea=k.resolve(da.extensions||[],new Map),bb=da.doc instanceof Ya?da.doc:Ya.of((da.doc||"").split(Ea.staticFacet(pb.lineSeparator)||wa));da=da.selection?da.selection instanceof Bb?da.selection:Bb.single(da.selection.anchor,da.selection.head):Bb.single(0);y(da,bb.length);Ea.staticFacet(t)|| -(da=da.asSingle());return new pb(Ea,bb,da,Ea.dynamicSlots.map(()=>null),(jb,Ba)=>Ba.create(jb),null)}get tabSize(){return this.facet(pb.tabSize)}get lineBreak(){return this.facet(pb.lineSeparator)||"\n"}get readOnly(){return this.facet(na)}phrase(da,...Ea){for(let bb of this.facet(pb.phrases))if(Object.prototype.hasOwnProperty.call(bb,da)){da=bb[da];break}Ea.length&&(da=da.replace(/\$(\$|\d*)/g,(bb,jb)=>{if("$"==jb)return"$";jb=+(jb||1);return!jb||jb>Ea.length?bb:Ea[jb-1]}));return da}languageDataAt(da, -Ea,bb=-1){let jb=[];for(let Ba of this.facet(u))for(let Qa of Ba(this,Ea,bb))Object.prototype.hasOwnProperty.call(Qa,da)&&jb.push(Qa[da]);return jb}charCategorizer(da){return Ja(this.languageDataAt("wordChars",da).join(""))}wordAt(da){let {text:Ea,from:bb,length:jb}=this.doc.lineAt(da),Ba=this.charCategorizer(da),Qa=da-bb;for(da-=bb;0da.length?da[0]:4});pb.lineSeparator=I;pb.readOnly=na;pb.phrases=bd.define({compare(da,Ea){let bb=Object.keys(da),jb=Object.keys(Ea);return bb.length==jb.length&&bb.every(Ba=>da[Ba]==Ea[Ba])}});pb.languageData=u;pb.changeFilter=Q;pb.transactionFilter=X;pb.transactionExtender=ca;Wb.reconfigure=Wa.define();class ia{eq(da){return this==da}range(da,Ea=da){return ua.create(da,Ea,this)}}ia.prototype.startSide= -ia.prototype.endSide=0;ia.prototype.point=!1;ia.prototype.mapMode=m.MapMode.TrackDel;class ua{constructor(da,Ea,bb){this.from=da;this.to=Ea;this.value=bb}static create(da,Ea,bb){return new ua(da,Ea,bb)}}class Ua{constructor(da,Ea,bb,jb){this.from=da;this.to=Ea;this.value=bb;this.maxPoint=jb}get length(){return this.to[this.to.length-1]}findIndex(da,Ea,bb,jb=0){let Ba=bb?this.to:this.from;for(let Qa=jb,sb=Ba.length;;){if(Qa==sb)return Qa;jb=Qa+sb>>1;let ub=Ba[jb]-da||(bb?this.value[jb].endSide:this.value[jb].startSide)- -Ea;if(jb==Qa)return 0<=ub?Qa:sb;0<=ub?sb=jb:Qa=jb+1}}between(da,Ea,bb,jb){for(let Ba=this.findIndex(Ea,-1E9,!0),Qa=this.findIndex(bb,1E9,!1,Ba);Baub||Lb==ub&&0=qc.endSide)continue;0>(ub-Lb||qc.endSide-qc.startSide)||(0>Qa&&(Qa=Lb),qc.point&&(sb=Math.max(sb,ub-Lb)),bb.push(qc),jb.push(Lb-Qa),Ba.push(ub-Qa))}return{mapped:bb.length?new Ua(jb,Ba,bb,sb):null,pos:Qa}}}class qb{constructor(da,Ea,bb,jb){this.chunkPos=da;this.chunk=Ea;this.nextLayer=bb;this.maxPoint=jb}static create(da,Ea,bb,jb){return new qb(da,Ea,bb,jb)}get length(){let da= -this.chunk.length-1;return 0>da?0:Math.max(this.chunkEnd(da),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let da=this.nextLayer.size;for(let Ea of this.chunk)da+=Ea.value.length;return da}chunkEnd(da){return this.chunkPos[da]+this.chunk[da].length}update(da){let {add:Ea=[],sort:bb=!1,filterFrom:jb=0,filterTo:Ba=this.length}=da;da=da.filter;if(0==Ea.length&&!da)return this;bb&&(Ea=Ea.slice().sort(cb));if(this.isEmpty)return Ea.length?qb.of(Ea):this;let Qa=(new gc(this,null,-1)).goto(0), -sb=0,ub=[],Lb=new Rb;for(;Qa.value||sbthis.chunkEnd(Qa.chunkIndex)||BaQa.to||Ba=Ba&&da<=Ba+Qa.length&&!1===Qa.between(Ba,da-Ba,Ea-Ba,bb))return}this.nextLayer.between(da,Ea,bb)}}iter(da=0){return Qb.from([this]).goto(da)}get isEmpty(){return this.nextLayer==this}static iter(da, -Ea=0){return Qb.from(da).goto(Ea)}static compare(da,Ea,bb,jb,Ba=-1){da=da.filter(Lb=>0=Ba);Ea=Ea.filter(Lb=>0=Ba);let Qa=za(da,Ea,bb),sb=new kc(da,Qa,Ba),ub=new kc(Ea,Qa,Ba);bb.iterGaps((Lb,Zb,qc)=>Xa(sb,Lb,ub,Zb,qc,jb));bb.empty&&0==bb.length&&Xa(sb,0,ub,0,0,jb)}static eq(da,Ea,bb=0,jb){null==jb&&(jb=1E9-1);var Ba=da.filter(ub=>!ub.isEmpty&&0>Ea.indexOf(ub));let Qa=Ea.filter(ub=>!ub.isEmpty&&0>da.indexOf(ub));if(Ba.length!= -Qa.length)return!1;if(!Ba.length)return!0;let sb=za(Ba,Qa);Ba=(new kc(Ba,sb,0)).goto(bb);for(bb=(new kc(Qa,sb,0)).goto(bb);;){if(Ba.to!=bb.to||!Sa(Ba.active,bb.active)||Ba.point&&(!bb.point||!Ba.point.eq(bb.point)))return!1;if(Ba.to>jb)return!0;Ba.next();bb.next()}}static spans(da,Ea,bb,jb,Ba=-1){da=(new kc(da,null,Ba)).goto(Ea);Ba=Ea;let Qa=da.openStart;for(;;){let sb=Math.min(da.to,bb);if(da.point){let ub=da.activeForPoint(da.to);jb.point(Ba,sb,da.point,ub,da.pointFromBa&&(jb.span(Ba,sb,da.active,Qa),Qa=da.openEnd(sb));if(da.to>bb)return Qa+(da.point&&da.to>bb?1:0);Ba=da.to;da.next()}}static of(da,Ea=!1){let bb=new Rb;for(let jb of da instanceof ua?[da]:Ea?ma(da):da)bb.add(jb.from,jb.to,jb.value);return bb.finish()}}qb.empty=new qb([],[],null,-1);qb.empty.nextLayer=qb.empty;class Rb{finishChunk(da){this.chunks.push(new Ua(this.from,this.to,this.value,this.maxPoint));this.chunkPos.push(this.chunkStart); -this.chunkStart=-1;this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint);this.maxPoint=-1;da&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[];this.chunkPos=[];this.chunkStart=-1;this.last=null;this.lastTo=this.lastFrom=-1E9;this.from=[];this.to=[];this.value=[];this.setMaxPoint=this.maxPoint=-1;this.nextLayer=null}add(da,Ea,bb){this.addInner(da,Ea,bb)||(this.nextLayer||(this.nextLayer=new Rb)).add(da,Ea,bb)}addInner(da,Ea,bb){let jb=da-this.lastTo||bb.startSide-this.last.endSide; -if(0>=jb&&0>(da-this.lastFrom||bb.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");if(0>jb)return!1;250==this.from.length&&this.finishChunk(!0);0>this.chunkStart&&(this.chunkStart=da);this.from.push(da-this.chunkStart);this.to.push(Ea-this.chunkStart);this.last=bb;this.lastFrom=da;this.lastTo=Ea;this.value.push(bb);bb.point&&(this.maxPoint=Math.max(this.maxPoint,Ea-da));return!0}addChunk(da,Ea){if(0>(da-this.lastTo||Ea.value[0].startSide- -this.last.endSide))return!1;this.from.length&&this.finishChunk(!0);this.setMaxPoint=Math.max(this.setMaxPoint,Ea.maxPoint);this.chunks.push(Ea);this.chunkPos.push(da);let bb=Ea.value.length-1;this.last=Ea.value[bb];this.lastFrom=Ea.from[bb]+da;this.lastTo=Ea.to[bb]+da;return!0}finish(){return this.finishInner(qb.empty)}finishInner(da){this.from.length&&this.finishChunk(!1);if(0==this.chunks.length)return da;da=qb.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(da):da,this.setMaxPoint); -this.from=null;return da}}class gc{constructor(da,Ea,bb,jb=0){this.layer=da;this.skip=Ea;this.minPoint=bb;this.rank=jb}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(da,Ea=-1E9){this.chunkIndex=this.rangeIndex=0;this.gotoInner(da,Ea,!1);return this}gotoInner(da,Ea,bb){for(;this.chunkIndex(this.to-da||this.endSide-Ea)&&this.gotoInner(da,Ea,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1E9;this.value=null;break}else{let da=this.layer.chunkPos[this.chunkIndex],Ea=this.layer.chunk[this.chunkIndex]; -this.from=da+Ea.from[this.rangeIndex];this.to=da+Ea.to[this.rangeIndex];this.value=Ea.value[this.rangeIndex];this.setRangeIndex(this.rangeIndex+1);if(0>this.minPoint||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(da){if(da==this.layer.chunk[this.chunkIndex].value.length){this.chunkIndex++;if(this.skip)for(;this.chunkIndex=bb&&jb.push(new gc(Qa,Ea,bb,Ba));return 1==jb.length?jb[0]:new Qb(jb)}get startSide(){return this.value?this.value.startSide:0}goto(da,Ea=-1E9){for(let bb of this.heap)bb.goto(da, -Ea);for(da=this.heap.length>>1;0<=da;da--)Ga(this.heap,da);this.next();return this}forward(da,Ea){for(var bb of this.heap)bb.forward(da,Ea);for(bb=this.heap.length>>1;0<=bb;bb--)Ga(this.heap,bb);0>(this.to-da||this.value.endSide-Ea)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1E9,this.value=null,this.rank=-1;else{let da=this.heap[0];this.from=da.from;this.to=da.to;this.value=da.value;this.rank=da.rank;da.value&&da.next();Ga(this.heap,0)}}}class kc{constructor(da,Ea,bb){this.minPoint= -bb;this.active=[];this.activeTo=[];this.activeRank=[];this.minActive=-1;this.point=null;this.pointRank=this.pointFrom=0;this.to=-1E9;this.endSide=0;this.openStart=-1;this.cursor=Qb.from(da,Ea,bb)}goto(da,Ea=-1E9){this.cursor.goto(da,Ea);this.active.length=this.activeTo.length=this.activeRank.length=0;this.minActive=-1;this.to=da;this.endSide=Ea;this.openStart=-1;this.next();return this}forward(da,Ea){for(;-1(this.activeTo[this.minActive]-da||this.active[this.minActive].endSide- -Ea);)this.removeActive(this.minActive);this.cursor.forward(da,Ea)}removeActive(da){Va(this.active,da);Va(this.activeTo,da);Va(this.activeRank,da);this.minActive=Ta(this.active,this.activeTo)}addActive(da){let Ea=0,{value:bb,to:jb,rank:Ba}=this.cursor;for(;Eathis.openStart?[]:null;for(;;){var jb=this.minActive;if(-1(this.activeTo[jb]-this.cursor.from||this.active[jb].endSide-this.cursor.startSide)){if(this.activeTo[jb]>da){this.to=this.activeTo[jb];this.endSide=this.active[jb].endSide;break}this.removeActive(jb);bb&&Va(bb,jb)}else if(this.cursor.value)if(this.cursor.from>da){this.to=this.cursor.from;this.endSide=this.cursor.startSide;break}else if(jb=this.cursor.value,jb.point)if(Ea&&this.cursor.to==this.to&&this.cursor.from< -this.cursor.to)this.cursor.next();else{this.point=jb;this.pointFrom=this.cursor.from;this.pointRank=this.cursor.rank;this.to=this.cursor.to;this.endSide=jb.endSide;this.cursor.next();this.forward(this.to,this.endSide);break}else this.addActive(bb),this.cursor.next();else{this.to=this.endSide=1E9;break}}if(bb)for(this.openStart=0,Ea=bb.length-1;0<=Ea&&bb[Ea]da||this.activeTo[bb]==da&&this.active[bb].endSide>=this.point.endSide)&&Ea.push(this.active[bb]);return Ea.reverse()}openEnd(da){let Ea=0;for(let bb=this.activeTo.length-1;0<=bb&&this.activeTo[bb]>da;bb--)Ea++;return Ea}}m.Annotation=oa;m.AnnotationType=xa;m.ChangeDesc=Ra;m.ChangeSet=nb;m.Compartment=Wb;m.EditorSelection=Bb;m.EditorState=pb;m.Facet=bd;m.Line=xb;m.Prec=R;m.Range=ua;m.RangeSet=qb;m.RangeSetBuilder=Rb;m.RangeValue=ia;m.SelectionRange=Jb;m.StateEffect= -Wa;m.StateEffectType=Fa;m.StateField=cd;m.Text=Ya;m.Transaction=hb;m.codePointAt=h;m.codePointSize=l;m.combineConfig=function(da,Ea,bb={}){let jb={};for(let Ba of da)for(let Qa of Object.keys(Ba)){da=Ba[Qa];let sb=jb[Qa];if(void 0===sb)jb[Qa]=da;else if(sb!==da&&void 0!==da)if(Object.hasOwnProperty.call(bb,Qa))jb[Qa]=bb[Qa](sb,da);else throw Error("Config merge conflict for field "+Qa);}for(let Ba in Ea)void 0===jb[Ba]&&(jb[Ba]=Ea[Ba]);return jb};m.countColumn=function(da,Ea,bb=da.length){let jb= -0;for(let Ba=0;Ba=Ea)return Ba;if(Ba==da.length)break;Qa+=9==da.charCodeAt(Ba)?bb-Qa%bb:1;Ba=g(da,Ba)}return!0===jb?-1:da.length};m.fromCodePoint=function(da){if(65535>=da)return String.fromCharCode(da);da-=65536;return String.fromCharCode((da>>10)+55296,(da&1023)+56320)}}; +shadow$provide[1]=function(ka,pa,Ba,C){function Ca(d){let h=-1;for(let q of d)h+=q.length+1;return h}function Ea(d,h,q=0,v=1E9){for(let g=0,l=0,r=!0;l=q&&(A>v&&(w=w.slice(0,v-g)),g=d}function Ra(d,h,q=!0,v=!0){return(q?Eb:nb)(d,h,v)}function Eb(d,h,q){if(h==d.length)return h;var v;if(v=h)v=d.charCodeAt(h),v=56320<=v&&57344>v;v&&(v=d.charCodeAt(h- +1),v=55296<=v&&56320>v);v&&h--;v=Ib(d,h);for(h+=Za(v);hg){l=Da[l-1]<=g;break a}l=!1}if(l)h+=Za(g),v=g;else if(Ka(g)){g=0;for(l=h-2;0<=l&&Ka(Ib(d,l));)g++,l-=2;if(0==g%2)break;else h+=2}else break}return h}function nb(d,h,q){for(;0q)||h+1==d.length)return q;d=d.charCodeAt(h+1);return 56320<=d&& +57344>d?(q-55296<<10)+(d-56320)+65536:q}function Za(d){return 65536>d?1:2}function Sa(d,h,q,v=!1){if(!(0==h&&0>=q)){var g=d.length-2;0<=g&&0>=q&&q==d[g+1]?d[g]+=h:0==h&&0==d[g]?d[g+1]+=q:v?(d[g]+=h,d[g+1]+=q):d.push(h,q)}}function Jb(d,h,q){if(0!=q.length)if(h=h.length-2>>1,hA)g+= +w,l+=w;else{let I=g,M=l,Q=la.empty;for(;;){I+=w;M+=A;A&&v&&(Q=Q.append(v[r-2>>1]));if(q||r==d.sections.length||0>d.sections[r+1])break;w=d.sections[r++];A=d.sections[r++]}h(g,I,l,M,Q);g=I;l=M}}}function sb(d,h,q,v=!1){let g=[];v=v?[]:null;d=new cb(d);h=new cb(h);for(let w=-1;;)if(-1==d.ins&&-1==h.ins){var l=Math.min(d.len,h.len);Sa(g,l,-1);d.forward(l);h.forward(l)}else if(0<=h.ins&&(0>d.ins||w==d.i||0==d.off&&(h.lenl||0<=h.ins&&h.len>l)&&(g||v.length>r);d.forward2(l);h.forward(l)}else Sa(v, +0,h.ins,g),q&&Jb(q,v,h.text),h.next()}}function Kb(d,h){for(let q of d.ranges)if(q.to>h)throw new RangeError("Selection points outside of document");}function pb(d,h){return d==h||d.length==h.length&&d.every((q,v)=>q===h[v])}function $a(d,h,q){if(d.length!=h.length)return!1;for(let v=0;vd[A.id]),l=q.map(A=>A.type),r=g.filter(A=>!(A&1)),w=d[h.id]>>1;return{create(A){for(let I of g)xb(A,I);A.values[w]=v(A);return 1},update(A,I){if(!Wa(A,r))return 0;I=v(A);if(h.compare(I,A.values[w]))return 0;A.values[w]=I;return 1},reconfigure(A,I){var M=Wa(A,g);let Q=I.config.facets[h.id];I=I.facet(h);if(Q&&!M&&pb(q,Q))return A.values[w]=I,0;M=v(A);if(h.compare(M,I))return A.values[w]=I,0;A.values[w]=M;return 1}}}function eb(d){return h=>new fb(h, +d)}function va(d,h,q){function v(r,w){var A=l.get(r);if(null!=A){if(A<=w)return;let I=g[A].indexOf(r);-1r.concat(w))}function xb(d,h){if(h&1)return 2;h>>=1;var q=d.status[h];if(4==q)throw Error("Cyclic dependency between fields and/or facets"); +if(q&2)return q;d.status[h]=4;q=d.computeSlot(d,d.config.dynamicSlots[h]);return d.status[h]=2|q}function Fb(d,h){return h&1?d.config.staticValues[h>>1]:d.values[h>>1]}function Zb(d,h,q){var v;let g,l;q?(q=h.changes,g=Pa.empty(h.changes.length),l=d.changes.compose(h.changes)):(q=h.changes.map(d.changes),g=d.changes.mapDesc(h.changes,!0),l=d.changes.compose(q));return{changes:l,selection:h.selection?h.selection.map(g):null===(v=d.selection)||void 0===v?void 0:v.map(q),effects:db.mapEffects(d.effects, +q).concat(db.mapEffects(h.effects,g)),annotations:d.annotations.length?d.annotations.concat(h.annotations):h.annotations,scrollIntoView:d.scrollIntoView||h.scrollIntoView}}function Ab(d,h,q){let v=h.selection,g=rb(h.annotations);h.userEvent&&(g=g.concat(Ta.userEvent.of(h.userEvent)));return{changes:h.changes instanceof Pa?h.changes:Pa.of(h.changes||[],q,d.facet(Mb)),selection:v&&(v instanceof Ga?v:Ga.single(v.anchor,v.head)),effects:rb(h.effects),annotations:g,scrollIntoView:!!h.scrollIntoView}}function Nb(d, +h,q){var v=Ab(d,h.length?h[0]:{},d.doc.length);h.length&&!1===h[0].filter&&(q=!1);for(var g=1;g=h[w]))l=h[w++],I=h[w++]; +else if(A{if(!/\S/.test(h))return C.CharCategory.Space;a:if(ic)var q=ic.test(h);else{for(q=0;q=g.chunk[d].maxPoint&&v.set(g.chunk[d],g.chunkPos[d]);g= +new Set;for(let l of h)for(h=0;h=d.length)break;let g=d[v];v+1q.compare(g))break;d[v]=q;d[h]=g;h=v}}function Ma(d,h,q,v,g,l){d.goto(h);q.goto(v);g=v+g;let r=v;for(h=v-h;;){v=d.to+h-q.to||d.endSide-q.endSide;let w=0>v?d.to+ +h:q.to,A=Math.min(w,g);d.point||q.point?d.point&&q.point&&(d.point==q.point||d.point.eq(q.point))&&xa(d.activeForPoint(d.to),q.activeForPoint(q.to))||l.comparePoint(r,A,d.point,q.point):A>r&&!xa(d.active,q.active)&&l.compareRange(r,A,d.active,q.active);if(w>g)break;r=w;0>=v&&d.next();0<=v&&q.next()}}function xa(d,h){if(d.length!=h.length)return!1;for(let q=0;q=h;v--)d[v+1]=d[v];d[h]=q}function ea(d,h){let q=-1,v=1E9;for(let g=0;g(h[g]-v||d[g].endSide-d[q].endSide)&&(q=g,v=h[g]);return q}class la{lineAt(d){if(0>d||d>this.length)throw new RangeError(`Invalid position ${d} in document of length ${this.length}`);return this.lineInner(d,!1,1,0)}line(d){if(1>d||d>this.lines)throw new RangeError(`Invalid line number ${d} in ${this.lines}-line document`);return this.lineInner(d,!0,1,0)}replace(d,h,q){let v=[];this.decompose(0, +d,v,2);q.length&&q.decompose(0,q.length,v,3);this.decompose(h,this.length,v,1);return ta.from(v,this.length-(h-d)+q.length)}append(d){return this.replace(this.length,this.length,d)}slice(d,h=this.length){let q=[];this.decompose(d,h,q,0);return ta.from(q,h-d)}eq(d){if(d==this)return!0;if(d.length!=this.length||d.lines!=this.lines)return!1;let h=this.scanIdentical(d,1),q=this.length-this.scanIdentical(d,-1),v=new Hb(this);d=new Hb(d);for(let g=h,l=h;;){v.next(g);d.next(g);g=0;if(v.lineBreak!=d.lineBreak|| +v.done!=d.done||v.value!=d.value)return!1;l+=v.value.length;if(v.done||l>=q)return!0}}iter(d=1){return new Hb(this,d)}iterRange(d,h=this.length){return new Pb(this,d,h)}iterLines(d,h){null==d?h=this.iter():(null==h&&(h=this.lines+1),d=this.line(d).from,h=this.iterRange(d,Math.max(d,h==this.lines+1?this.length:1>=h?0:this.line(h-1).to)));return new lb(h)}toString(){return this.sliceString(0)}toJSON(){let d=[];this.flatten(d);return d}constructor(){}static of(d){if(0==d.length)throw new RangeError("A document must have at least one line"); +return 1!=d.length||d[0]?32>=d.length?new ra(d):ta.from(ra.split(d,[])):la.empty}}class ra extends la{constructor(d,h=Ca(d)){super();this.text=d;this.length=h}get lines(){return this.text.length}get children(){return null}lineInner(d,h,q,v){for(let g=0;;g++){let l=this.text[g],r=v+l.length;if((h?q:r)>=d)return new oa(v,r,q,l);v=r+1;q++}}decompose(d,h,q,v){d=0>=d&&h>=this.length?this:new ra(Ea(this.text,[""],d,h),Math.min(h,this.length)-Math.max(0,d));v&1?(h=q.pop(),v=Ea(d.text,h.text.slice(),0,d.length), +32>=v.length?q.push(new ra(v,h.length+d.length)):(d=v.length>>1,q.push(new ra(v.slice(0,d)),new ra(v.slice(d))))):q.push(d)}replace(d,h,q){if(!(q instanceof ra))return super.replace(d,h,q);let v=Ea(this.text,Ea(q.text,Ea(this.text,[""],0,d)),h);d=this.length+q.length-(h-d);return 32>=v.length?new ra(v,d):ta.from(ra.split(v,[]),d)}sliceString(d,h=this.length,q="\n"){let v="";for(let g=0,l=0;g<=h&&ld&&l&&(v+=q);dg&&(v+=r.slice(Math.max(0, +d-g),h-g));g=w+1}return v}flatten(d){for(let h of this.text)d.push(h)}scanIdentical(){return 0}static split(d,h){let q=[],v=-1;for(let g of d)q.push(g),v+=g.length+1,32==q.length&&(h.push(new ra(q,v)),q=[],v=-1);-1=d)return l.lineInner(d,h,q,v);v= +r+1;q=w+1}}decompose(d,h,q,v){for(let g=0,l=0;l<=h&&g=l){let A=v&((l<=d?1:0)|(w>=h?2:0));l>=d&&w<=h&&!A?q.push(r):r.decompose(d-l,h-l,q,A)}l=w+1}}replace(d,h,q){if(q.lines=r&&h<=g){let w=v.replace(d-r,h-r,q);v=this.lines-v.lines+w.lines;return w.lines>4&&w.lines>v>>6?(g=this.children.slice(),g[l]=w,new ta(g,this.length-(h-d)+ +q.length)):super.replace(r,g,w)}r=g+1}return super.replace(d,h,q)}sliceString(d,h=this.length,q="\n"){let v="";for(let g=0,l=0;gd&&g&&(v+=q);dl&&(v+=r.sliceString(d-l,h-l,q));l=w+1}return v}flatten(d){for(let h of this.children)h.flatten(d)}scanIdentical(d,h){if(!(d instanceof ta))return 0;let q=0,[v,g,l,r]=0q+v.length+1,-1)){function q(aa){let qa;if(aa.lines>r&&aa instanceof ta)for(let ua of aa.children)q(ua);else aa.lines>w&&(I>w||!I)?(v(),A.push(aa)):aa instanceof ra&&I&&(qa=Q[Q.length-1])instanceof ra&&32>=aa.lines+qa.lines?(I+=aa.lines,M+=aa.length+1,Q[Q.length-1]=new ra(qa.text.concat(aa.text),qa.length+1+aa.length)):(I+aa.lines>l&&v(),I+=aa.lines,M+=aa.length+ +1,Q.push(aa))}function v(){0!=I&&(A.push(1==Q.length?Q[0]:ta.from(Q,M)),M=-1,I=Q.length=0)}var g=0;for(let aa of d)g+=aa.lines;if(32>g){g=[];for(let aa of d)aa.flatten(g);return new ra(g,h)}let l=Math.max(32,g>>5),r=l<<1,w=l>>1,A=[],I=0,M=-1,Q=[];for(let aa of d)q(aa);v();return 1==A.length?A[0]:new ta(A,h)}}la.empty=new ra([""],0);class Hb{constructor(d,h=1){this.dir=h;this.lineBreak=this.done=!1;this.value="";this.nodes=[d];this.offsets=[0>1,r=q instanceof ra?q.text.length:q.children.length;if(l==(0h?-1:0)];this.offsets[v]+=h;if(q.length>Math.max(0,d))return this.value= +0==d?q:0h?-1:0)],d>q.length?(d-=q.length,this.offsets[v]+=h):(0>h&&this.offsets[v]--,this.nodes.push(q),this.offsets.push(0d&&(this.nextInner(-d,-this.dir),d=this.value.length);return this.nextInner(d,this.dir)}}class Pb{constructor(d,h,q){this.value="";this.done=!1;this.cursor=new Hb(d,h>q?-1:1);this.pos=h>q?d.length:0;this.from=Math.min(h,q);this.to= +Math.max(h,q)}nextInner(d,h){if(0>h?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;d+=Math.max(0,0>h?this.pos-this.to:this.from-this.pos);let q=0>h?this.pos-this.from:this.to-this.pos;d>q&&(d=q);q-=d;let {value:v}=this.cursor.next(d);this.pos+=(v.length+d)*h;this.value=v.length<=q?v:0>h?v.slice(v.length-q):v.slice(0,q);this.done=!this.value;return this}next(d=0){0>d?d=Math.max(d,this.from-this.pos):0 +d?parseInt(d,36):1);for(ka=1;kaq?this.sections[h]: +q}return d}get empty(){return 0==this.sections.length||2==this.sections.length&&0>this.sections[1]}iterGaps(d){for(let h=0,q=0,v=0;hl?(d(q,v,g),v+=g):v+=l;q+=g}}iterChangedRanges(d,h=!1){Rb(this,d,h)}get invertedDesc(){let d=[];for(let h=0;hv?d.push(q,v):d.push(v,q)}return new za(d)}composeDesc(d){return this.empty?d:d.empty?this:ob(this,d)}mapDesc(d,h=!1){return d.empty? +this:sb(this,d,h)}mapPos(d,h=-1,q=C.MapMode.Simple){let v=0,g=0;for(let l=0;lw){if(A>d)return g+(d-v);g+=r}else{if(q!=C.MapMode.Simple&&A>=d&&(q==C.MapMode.TrackDel&&vd||q==C.MapMode.TrackBefore&&vd))return null;if(A>d||A==d&&0>h&&!r)return d==v||0>h?g:g+w;g+=w}v=A}if(d>v)throw new RangeError(`Position ${d} is out of range for changeset of length ${v}`);return g}touchesRange(d,h=d){for(let v= +0,g=0;v=d)return gh?"cover":!0;g=q}return!1}toString(){let d="";for(let h=0;h"number"!=typeof h))throw new RangeError("Invalid JSON representation of ChangeDesc");return new za(d)}static create(d){return new za(d)}} +class Pa extends za{constructor(d,h){super(d);this.inserted=h}apply(d){if(this.length!=d.length)throw new RangeError("Applying change set to a document with the wrong length");Rb(this,(h,q,v,g,l)=>d=d.replace(v,v+(q-h),l),!1);return d}mapDesc(d,h=!1){return sb(this,d,h,!0)}invert(d){let h=this.sections.slice(),q=[];for(let g=0,l=0;g>1;q.lengthv?d.push(q):0==v?d.push([q]):d.push([q].concat(this.inserted[h>>1].toJSON()))}return d}static of(d,h,q){function v(I=!1){if(I||l.length)waa||0>Q||aa>h)throw new RangeError(`Invalid change range ${Q} to ${aa} (in doc of length ${h})`);I=qa?"string"==typeof qa?la.of(qa.split(q||Na)):qa:la.empty;M=I.length;if(Q!=aa||0!=M)Qw&&Sa(l,Q-w,-1),Sa(l,aa-Q,M),Jb(r,l,I),w=aa}}let l=[],r=[],w=0,A=null;g(d);v(!A);return A}static empty(d){return new Pa(d?[d,-1]:[],[])}static fromJSON(d){if(!Array.isArray(d))throw new RangeError("Invalid JSON representation of ChangeSet"); +let h=[],q=[];for(let v=0;vr&&"string"!=typeof l))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==g.length)h.push(g[0],0);else{for(;q.lengththis.ins?this.len:this.ins}get text(){let {inserted:d}=this.set,h=this.i-2>>1;return h>=d.length?la.empty:d[h]}textBit(d){let {inserted:h}=this.set,q=this.i-2>>1;return q>=h.length&&!d?la.empty:h[q].slice(this.off,null==d?void 0:this.off+d)}forward(d){d==this.len?this.next():(this.len-=d,this.off+=d)}forward2(d){-1==this.ins?this.forward(d):d==this.ins? +this.next():(this.ins-=d,this.off+=d)}}class Ha{constructor(d,h,q){this.from=d;this.to=h;this.flags=q}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let d=this.flags&7;return 7==d?null:d}get goalColumn(){let d=this.flags>>6;return 16777215==d?void 0:d}map(d,h=-1){this.empty?h=d=d.mapPos(this.from,h):(h=d.mapPos(this.from,1),d=d.mapPos(this.to, +-1));return h==this.from&&d==this.to?this:new Ha(h,d,this.flags)}extend(d,h=d){return d<=this.anchor&&h>=this.anchor?Ga.range(d,h):Ga.range(this.anchor,Math.abs(d-this.anchor)>Math.abs(h-this.anchor)?d:h)}eq(d){return this.anchor==d.anchor&&this.head==d.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(d){if(!d||"number"!=typeof d.anchor||"number"!=typeof d.head)throw new RangeError("Invalid JSON representation for SelectionRange");return Ga.range(d.anchor,d.head)}static create(d, +h,q){return new Ha(d,h,q)}}class Ga{constructor(d,h){this.ranges=d;this.mainIndex=h}map(d,h=-1){return d.empty?this:Ga.create(this.ranges.map(q=>q.map(d,h)),this.mainIndex)}eq(d){if(this.ranges.length!=d.ranges.length||this.mainIndex!=d.mainIndex)return!1;for(let h=0;hd.toJSON()),main:this.mainIndex}}static fromJSON(d){if(!d||!Array.isArray(d.ranges)||"number"!=typeof d.main||d.main>=d.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Ga(d.ranges.map(h=>Ha.fromJSON(h)),d.main)}static single(d,h=d){return new Ga([Ga.range(d,h)],0)}static create(d,h=0){if(0== +d.length)throw new RangeError("A selection needs at least one range");for(let q=0,v=0;vh?8:16)|(null==q?7:Math.min(6,q))|(null!==v&&void 0!==v?v:16777215)<<6)}static range(d,h,q,v){q=(null!==q&&void 0!==q?q:16777215)<<6|(null==v?7:Math.min(6,v));return hd?8:0)|q)}static normalized(d,h=0){h= +d[h];d.sort((v,g)=>v.from-g.from);h=d.indexOf(h);for(let v=1;vg.head?Ga.range(q,l):Ga.range(l,q))}}return new Ga(d,h)}}let zb=0;class Ia{constructor(d,h,q,v,g){this.combine=d;this.compareInput=h;this.compare=q;this.isStatic=v;this.id=zb++;this.default=d([]);this.extensions="function"==typeof g?g(this):g}get reader(){return this}static define(d={}){return new Ia(d.combine|| +(h=>h),d.compareInput||((h,q)=>h===q),d.compare||(d.combine?(h,q)=>h===q:pb),!!d.static,d.enables)}of(d){return new ab([],this,0,d)}compute(d,h){if(this.isStatic)throw Error("Can't compute a static facet");return new ab(d,this,1,h)}computeN(d,h){if(this.isStatic)throw Error("Can't compute a static facet");return new ab(d,this,2,h)}from(d,h){h||(h=q=>q);return this.compute([d],q=>h(q.field(d)))}}class ab{constructor(d,h,q,v){this.dependencies=d;this.facet=h;this.type=q;this.value=v;this.id=zb++}dynamicSlot(d){var h; +let q=this.value,v=this.facet.compareInput,g=this.id,l=d[g]>>1,r=2==this.type,w=!1,A=!1,I=[];for(let M of this.dependencies)"doc"==M?w=!0:"selection"==M?A=!0:0==((null!==(h=d[M.id])&&void 0!==h?h:1)&1)&&I.push(d[M.id]);return{create(M){M.values[l]=q(M);return 1},update(M,Q){if(w&&Q.docChanged||A&&(Q.docChanged||Q.selection)||Wa(M,I))if(Q=q(M),r?!$a(Q,M.values[l],v):!v(Q,M.values[l]))return M.values[l]=Q,1;return 0},reconfigure:(M,Q)=>{let aa;var qa=Q.config.address[g];if(null!=qa){if(qa=Fb(Q,qa), +this.dependencies.every(ua=>ua instanceof Ia?Q.facet(ua)===M.facet(ua):ua instanceof jb?Q.field(ua,!1)==M.field(ua,!1):!0)||(r?$a(aa=q(M),qa,v):v(aa=q(M),qa)))return M.values[l]=qa,0}else aa=q(M);M.values[l]=aa;return 1}}}}const $b=Ia.define({static:!0});class jb{constructor(d,h,q,v,g){this.id=d;this.createF=h;this.updateF=q;this.compareF=v;this.spec=g;this.provides=void 0}static define(d){let h=new jb(zb++,d.create,d.update,d.compare||((q,v)=>q===v),d);d.provide&&(h.provides=d.provide(h));return h}create(d){let h= +d.facet($b).find(q=>q.field==this);return((null===h||void 0===h?void 0:h.create)||this.createF)(d)}slot(d){let h=d[this.id]>>1;return{create:q=>{q.values[h]=this.create(q);return 1},update:(q,v)=>{let g=q.values[h];v=this.updateF(g,v);if(this.compareF(g,v))return 0;q.values[h]=v;return 1},reconfigure:(q,v)=>{if(null!=v.config.address[this.id])return q.values[h]=v.field(this),0;q.values[h]=this.create(q);return 1}}}init(d){return[this,$b.of({field:this,create:d})]}get extension(){return this}}const Fa= +{lowest:4,low:3,default:2,high:1,highest:0};ka={highest:eb(Fa.highest),high:eb(Fa.high),default:eb(Fa.default),low:eb(Fa.low),lowest:eb(Fa.lowest)};class fb{constructor(d,h){this.inner=d;this.prec=h}}class ub{of(d){return new Lb(this,d)}reconfigure(d){return ub.reconfigure.of({compartment:this,extension:d})}get(d){return d.config.compartments.get(this)}}class Lb{constructor(d,h){this.compartment=d;this.inner=h}}class Wb{constructor(d,h,q,v,g,l){this.base=d;this.compartments=h;this.dynamicSlots=q; +this.address=v;this.staticValues=g;this.facets=l;for(this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(d,h,q){var v=[];let g=Object.create(null),l=new Map;for(var r of va(d,h,l))r instanceof jb?v.push(r):(g[r.facet.id]||(g[r.facet.id]=[])).push(r);let w=Object.create(null);h=[];r=[];for(let I of v)w[I.id]=r.length<<1,r.push(M=>I.slot(M));v=null===q||void 0=== +q?void 0:q.config.facets;for(let I in g){let M=g[I],Q=M[0].facet;var A=v&&v[I]||[];if(M.every(aa=>0==aa.type))w[Q.id]=h.length<<1|1,pb(A,M)?h.push(q.facet(Q)):(A=Q.combine(M.map(aa=>aa.value)),h.push(q&&Q.compare(A,q.facet(Q))?q.facet(Q):A));else{for(let aa of M)0==aa.type?(w[aa.id]=h.length<<1|1,h.push(aa.value)):(w[aa.id]=r.length<<1,r.push(qa=>aa.dynamicSlot(qa)));w[Q.id]=r.length<<1;r.push(aa=>qb(aa,Q,M))}}q=r.map(I=>I(w));return new Wb(d,l,q,w,h,g)}}const ec=Ia.define(),Ub=Ia.define({combine:d=> +d.some(h=>h),static:!0}),Mb=Ia.define({combine:d=>d.length?d[0]:void 0,static:!0}),Bb=Ia.define(),yb=Ia.define(),Sb=Ia.define(),Ua=Ia.define({combine:d=>d.length?d[0]:!1});class bb{constructor(d,h){this.type=d;this.value=h}static define(){return new Cb}}class Cb{of(d){return new bb(this,d)}}class Db{constructor(d){this.map=d}of(d){return new db(this,d)}}class db{constructor(d,h){this.type=d;this.value=h}map(d){d=this.type.map(this.value,d);return void 0===d?void 0:d==this.value?this:new db(this.type, +d)}is(d){return this.type==d}static define(d={}){return new Db(d.map||(h=>h))}static mapEffects(d,h){if(!d.length)return d;let q=[];for(let v of d)(d=v.map(h))&&q.push(d);return q}}db.reconfigure=db.define();db.appendConfig=db.define();class Ta{constructor(d,h,q,v,g,l){this.startState=d;this.changes=h;this.selection=q;this.effects=v;this.annotations=g;this.scrollIntoView=l;this._state=this._doc=null;q&&Kb(q,h.newLength);g.some(r=>r.type==Ta.time)||(this.annotations=g.concat(Ta.time.of(Date.now())))}static create(d, +h,q,v,g,l){return new Ta(d,h,q,v,g,l)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){this._state||this.startState.applyTransaction(this);return this._state}annotation(d){for(let h of this.annotations)if(h.type==d)return h.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(d){let h=this.annotation(Ta.userEvent); +return!(!h||!(h==d||h.length>d.length&&h.slice(0,d.length)==d&&"."==h[d.length]))}}Ta.time=bb.define();Ta.userEvent=bb.define();Ta.addToHistory=bb.define();Ta.remote=bb.define();const cc=[];C.CharCategory=void 0;(function(d){d[d.Word=0]="Word";d[d.Space=1]="Space";d[d.Other=2]="Other"})(C.CharCategory||(C.CharCategory={}));const dc=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let ic;try{ic=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(d){}class Qa{constructor(d, +h,q,v,g,l){this.config=d;this.doc=h;this.selection=q;this.values=v;this.status=d.statusTemplate.slice();this.computeSlot=g;l&&(l._state=this);for(d=0;dv.set(w,r)),h=null),v.set(g.value.compartment,g.value.extension)):g.is(db.reconfigure)?(h=null,q=g.value):g.is(db.appendConfig)&&(h=null,q=rb(q).concat(g.value));h?g=d.startState.values.slice():(h=Wb.resolve(q,v,this),g=(new Qa(h,this.doc,this.selection,h.dynamicSlots.map(()=>null),(r,w)=>w.reconfigure(r,this),null)).values);let l=d.startState.facet(Ub)?d.newSelection:d.newSelection.asSingle();new Qa(h,d.newDoc,l,g,(r,w)=>w.update(r,d),d)}replaceSelection(d){"string"== +typeof d&&(d=this.toText(d));return this.changeByRange(h=>({changes:{from:h.from,to:h.to,insert:d},range:Ga.cursor(h.from+d.length)}))}changeByRange(d){let h=this.selection;var q=d(h.ranges[0]);let v=this.changes(q.changes),g=[q.range];q=rb(q.effects);for(let r=1;rl.spec.fromJSON(r,w)))}return Qa.create({doc:d.doc,selection:Ga.fromJSON(d.selection),extensions:h.extensions?v.concat([h.extensions]):v})}static create(d={}){let h= +Wb.resolve(d.extensions||[],new Map),q=d.doc instanceof la?d.doc:la.of((d.doc||"").split(h.staticFacet(Qa.lineSeparator)||Na));d=d.selection?d.selection instanceof Ga?d.selection:Ga.single(d.selection.anchor,d.selection.head):Ga.single(0);Kb(d,q.length);h.staticFacet(Ub)||(d=d.asSingle());return new Qa(h,q,d,h.dynamicSlots.map(()=>null),(v,g)=>g.create(v),null)}get tabSize(){return this.facet(Qa.tabSize)}get lineBreak(){return this.facet(Qa.lineSeparator)||"\n"}get readOnly(){return this.facet(Ua)}phrase(d, +...h){for(let q of this.facet(Qa.phrases))if(Object.prototype.hasOwnProperty.call(q,d)){d=q[d];break}h.length&&(d=d.replace(/\$(\$|\d*)/g,(q,v)=>{if("$"==v)return"$";v=+(v||1);return!v||v>h.length?q:h[v-1]}));return d}languageDataAt(d,h,q=-1){let v=[];for(let g of this.facet(ec))for(let l of g(this,h,q))Object.prototype.hasOwnProperty.call(l,d)&&v.push(l[d]);return v}charCategorizer(d){return Gb(this.languageDataAt("wordChars",d).join(""))}wordAt(d){let {text:h,from:q,length:v}=this.doc.lineAt(d), +g=this.charCategorizer(d),l=d-q;for(d-=q;0d.length?d[0]:4});Qa.lineSeparator=Mb;Qa.readOnly=Ua;Qa.phrases=Ia.define({compare(d,h){let q=Object.keys(d),v=Object.keys(h);return q.length==v.length&&q.every(g=>d[g]==h[g])}});Qa.languageData=ec;Qa.changeFilter=Bb; +Qa.transactionFilter=yb;Qa.transactionExtender=Sb;ub.reconfigure=db.define();class Xb{eq(d){return this==d}range(d,h=d){return k.create(d,h,this)}}Xb.prototype.startSide=Xb.prototype.endSide=0;Xb.prototype.point=!1;Xb.prototype.mapMode=C.MapMode.TrackDel;class k{constructor(d,h,q){this.from=d;this.to=h;this.value=q}static create(d,h,q){return new k(d,h,q)}}class p{constructor(d,h,q,v){this.from=d;this.to=h;this.value=q;this.maxPoint=v}get length(){return this.to[this.to.length-1]}findIndex(d,h,q, +v=0){let g=q?this.to:this.from;for(let l=v,r=g.length;;){if(l==r)return l;v=l+r>>1;let w=g[v]-d||(q?this.value[v].endSide:this.value[v].startSide)-h;if(v==l)return 0<=w?l:r;0<=w?r=v:l=v+1}}between(d,h,q,v){for(let g=this.findIndex(h,-1E9,!0),l=this.findIndex(q,1E9,!1,g);gw||A==w&&0=M.endSide)continue;0>(w-A||M.endSide-M.startSide)||(0>l&&(l=A),M.point&&(r=Math.max(r,w-A)),q.push(M),v.push(A-l),g.push(w-l))}return{mapped:q.length?new p(v,g,q,r):null,pos:l}}}class z{constructor(d,h,q,v){this.chunkPos=d;this.chunk=h;this.nextLayer=q;this.maxPoint=v}static create(d,h,q,v){return new z(d, +h,q,v)}get length(){let d=this.chunk.length-1;return 0>d?0:Math.max(this.chunkEnd(d),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let d=this.nextLayer.size;for(let h of this.chunk)d+=h.value.length;return d}chunkEnd(d){return this.chunkPos[d]+this.chunk[d].length}update(d){let {add:h=[],sort:q=!1,filterFrom:v=0,filterTo:g=this.length}=d;d=d.filter;if(0==h.length&&!d)return this;q&&(h=h.slice().sort(tb));if(this.isEmpty)return h.length?z.of(h):this;let l=(new T(this,null,-1)).goto(0), +r=0,w=[],A=new H;for(;l.value||rthis.chunkEnd(l.chunkIndex)||gl.to||g=g&&d<=g+l.length&&!1===l.between(g,d-g,h-g,q))return}this.nextLayer.between(d,h,q)}}iter(d=0){return Z.from([this]).goto(d)}get isEmpty(){return this.nextLayer==this}static iter(d,h=0){return Z.from(d).goto(h)}static compare(d,h,q,v,g=-1){d=d.filter(A=>0=g);h=h.filter(A=> +0=g);let l=Xa(d,h,q),r=new ca(d,l,g),w=new ca(h,l,g);q.iterGaps((A,I,M)=>Ma(r,A,w,I,M,v));q.empty&&0==q.length&&Ma(r,0,w,0,0,v)}static eq(d,h,q=0,v){null==v&&(v=1E9-1);var g=d.filter(w=>!w.isEmpty&&0>h.indexOf(w));let l=h.filter(w=>!w.isEmpty&&0>d.indexOf(w));if(g.length!=l.length)return!1;if(!g.length)return!0;let r=Xa(g,l);g=(new ca(g,r,0)).goto(q);for(q=(new ca(l,r,0)).goto(q);;){if(g.to!=q.to||!xa(g.active,q.active)||g.point&&(!q.point||!g.point.eq(q.point)))return!1; +if(g.to>v)return!0;g.next();q.next()}}static spans(d,h,q,v,g=-1){d=(new ca(d,null,g)).goto(h);g=h;let l=d.openStart;for(;;){let r=Math.min(d.to,q);if(d.point){let w=d.activeForPoint(d.to);v.point(g,r,d.point,w,d.pointFromg&&(v.span(g,r,d.active,l),l=d.openEnd(r));if(d.to>q)return l+(d.point&&d.to>q?1:0);g=d.to;d.next()}}static of(d,h=!1){let q=new H;for(let v of d instanceof k?[d]:h?Tb(d):d)q.add(v.from,v.to, +v.value);return q.finish()}}z.empty=new z([],[],null,-1);z.empty.nextLayer=z.empty;class H{finishChunk(d){this.chunks.push(new p(this.from,this.to,this.value,this.maxPoint));this.chunkPos.push(this.chunkStart);this.chunkStart=-1;this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint);this.maxPoint=-1;d&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[];this.chunkPos=[];this.chunkStart=-1;this.last=null;this.lastTo=this.lastFrom=-1E9;this.from=[];this.to=[];this.value=[];this.setMaxPoint= +this.maxPoint=-1;this.nextLayer=null}add(d,h,q){this.addInner(d,h,q)||(this.nextLayer||(this.nextLayer=new H)).add(d,h,q)}addInner(d,h,q){let v=d-this.lastTo||q.startSide-this.last.endSide;if(0>=v&&0>(d-this.lastFrom||q.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");if(0>v)return!1;250==this.from.length&&this.finishChunk(!0);0>this.chunkStart&&(this.chunkStart=d);this.from.push(d-this.chunkStart);this.to.push(h-this.chunkStart);this.last= +q;this.lastFrom=d;this.lastTo=h;this.value.push(q);q.point&&(this.maxPoint=Math.max(this.maxPoint,h-d));return!0}addChunk(d,h){if(0>(d-this.lastTo||h.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0);this.setMaxPoint=Math.max(this.setMaxPoint,h.maxPoint);this.chunks.push(h);this.chunkPos.push(d);let q=h.value.length-1;this.last=h.value[q];this.lastFrom=h.from[q]+d;this.lastTo=h.to[q]+d;return!0}finish(){return this.finishInner(z.empty)}finishInner(d){this.from.length&& +this.finishChunk(!1);if(0==this.chunks.length)return d;d=z.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(d):d,this.setMaxPoint);this.from=null;return d}}class T{constructor(d,h,q,v=0){this.layer=d;this.skip=h;this.minPoint=q;this.rank=v}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(d,h=-1E9){this.chunkIndex=this.rangeIndex=0;this.gotoInner(d,h,!1);return this}gotoInner(d,h,q){for(;this.chunkIndex(this.to-d||this.endSide-h)&&this.gotoInner(d,h,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1E9; +this.value=null;break}else{let d=this.layer.chunkPos[this.chunkIndex],h=this.layer.chunk[this.chunkIndex];this.from=d+h.from[this.rangeIndex];this.to=d+h.to[this.rangeIndex];this.value=h.value[this.rangeIndex];this.setRangeIndex(this.rangeIndex+1);if(0>this.minPoint||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(d){if(d==this.layer.chunk[this.chunkIndex].value.length){this.chunkIndex++;if(this.skip)for(;this.chunkIndex=q&&v.push(new T(l,h,q,g));return 1==v.length?v[0]:new Z(v)}get startSide(){return this.value?this.value.startSide:0}goto(d,h=-1E9){for(let q of this.heap)q.goto(d, +h);for(d=this.heap.length>>1;0<=d;d--)kb(this.heap,d);this.next();return this}forward(d,h){for(var q of this.heap)q.forward(d,h);for(q=this.heap.length>>1;0<=q;q--)kb(this.heap,q);0>(this.to-d||this.value.endSide-h)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1E9,this.value=null,this.rank=-1;else{let d=this.heap[0];this.from=d.from;this.to=d.to;this.value=d.value;this.rank=d.rank;d.value&&d.next();kb(this.heap,0)}}}class ca{constructor(d,h,q){this.minPoint=q;this.active=[];this.activeTo= +[];this.activeRank=[];this.minActive=-1;this.point=null;this.pointRank=this.pointFrom=0;this.to=-1E9;this.endSide=0;this.openStart=-1;this.cursor=Z.from(d,h,q)}goto(d,h=-1E9){this.cursor.goto(d,h);this.active.length=this.activeTo.length=this.activeRank.length=0;this.minActive=-1;this.to=d;this.endSide=h;this.openStart=-1;this.next();return this}forward(d,h){for(;-1(this.activeTo[this.minActive]-d||this.active[this.minActive].endSide-h);)this.removeActive(this.minActive);this.cursor.forward(d, +h)}removeActive(d){Ob(this.active,d);Ob(this.activeTo,d);Ob(this.activeRank,d);this.minActive=ea(this.active,this.activeTo)}addActive(d){let h=0,{value:q,to:v,rank:g}=this.cursor;for(;hthis.openStart?[]:null;for(;;){var v=this.minActive;if(-1 +(this.activeTo[v]-this.cursor.from||this.active[v].endSide-this.cursor.startSide)){if(this.activeTo[v]>d){this.to=this.activeTo[v];this.endSide=this.active[v].endSide;break}this.removeActive(v);q&&Ob(q,v)}else if(this.cursor.value)if(this.cursor.from>d){this.to=this.cursor.from;this.endSide=this.cursor.startSide;break}else if(v=this.cursor.value,v.point)if(h&&this.cursor.to==this.to&&this.cursor.fromd||this.activeTo[q]==d&&this.active[q].endSide>=this.point.endSide)&& +h.push(this.active[q]);return h.reverse()}openEnd(d){let h=0;for(let q=this.activeTo.length-1;0<=q&&this.activeTo[q]>d;q--)h++;return h}}C.Annotation=bb;C.AnnotationType=Cb;C.ChangeDesc=za;C.ChangeSet=Pa;C.Compartment=ub;C.EditorSelection=Ga;C.EditorState=Qa;C.Facet=Ia;C.Line=oa;C.Prec=ka;C.Range=k;C.RangeSet=z;C.RangeSetBuilder=H;C.RangeValue=Xb;C.SelectionRange=Ha;C.StateEffect=db;C.StateEffectType=Db;C.StateField=jb;C.Text=la;C.Transaction=Ta;C.codePointAt=Ib;C.codePointSize=Za;C.combineConfig= +function(d,h,q={}){let v={};for(let g of d)for(let l of Object.keys(g)){d=g[l];let r=v[l];if(void 0===r)v[l]=d;else if(r!==d&&void 0!==d)if(Object.hasOwnProperty.call(q,l))v[l]=q[l](r,d);else throw Error("Config merge conflict for field "+l);}for(let g in h)void 0===v[g]&&(v[g]=h[g]);return v};C.countColumn=function(d,h,q=d.length){let v=0;for(let g=0;g=h)return g; +if(g==d.length)break;l+=9==d.charCodeAt(g)?q-l%q:1;g=Ra(d,g)}return!0===v?-1:d.length};C.fromCodePoint=function(d){if(65535>=d)return String.fromCharCode(d);d-=65536;return String.fromCharCode((d>>10)+55296,(d&1023)+56320)}}; shadow$provide[2]=function(R,K,pa,m){var A="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),w="undefined"==typeof Symbol?"__styleSet"+Math.floor(1E8*Math.random()):Symbol("styleSet"),p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};R=m.StyleModule=function(e,h){function l(z){return/^@/.test(z)?[z]:z.split(/,\s*/)}function c(z,x,y,D){var B=[],F=/^@(\w+)\b/.exec(z[0]),E=F&&"keyframes"==F[1];if(F&&null==x)return y.push(z[0]+";");for(var N in x){var U=x[N];if(/&/.test(N))c(N.split(/,\s*/).map(function(G){return z.map(function(L){return G.replace(/&/, L)})}).reduce(function(G,L){return G.concat(L)}),U,y);else if(U&&"object"==typeof U){if(!F)throw new RangeError("The value of a property ("+N+") should be a primitive value.");c(l(N),U,B,E)}else null!=U&&B.push(N.replace(/_.*/,"").replace(/[A-Z]/g,function(G){return"-"+G.toLowerCase()})+": "+U+";")}(B.length||E)&&y.push((!r||F||D?z:z.map(r)).join(", ")+" {"+B.join(" ")+"}")}this.rules=[];var r=(h||{}).finish,q;for(q in e)c(l(q),e[q],this.rules)};R.prototype.getRules=function(){return this.rules.join("\n")}; R.newName=function(){var e=p[A]||1;p[A]=e+1;return"ͼ"+e.toString(36)};R.mount=function(e,h,l){var c=e[w];l=l&&l.nonce;c?l&&c.setNonce(l):c=new f(e,l);c.mount(Array.isArray(h)?h:[h])};var g=new Map,f=function(e,h){var l=e.ownerDocument||e,c=l.defaultView;if(!e.head&&e.adoptedStyleSheets&&c.CSSStyleSheet){if(h=g.get(l))return e.adoptedStyleSheets=[h.sheet].concat(e.adoptedStyleSheets),e[w]=h;this.sheet=new c.CSSStyleSheet;e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets);g.set(l,this)}else this.styleTag= @@ -186,358 +179,345 @@ shadow$provide[3]=function(R,K,pa,m){Object.defineProperty(m,"__esModule",{value 162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"\x3d",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},w={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"\x26",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"\x3c",189:"_",190:"\x3e",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},p="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),g="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent); for(R=0;10>R;R++)A[48+R]=A[96+R]=String(R);for(R=1;24>=R;R++)A[R+111]="F"+R;for(R=65;90>=R;R++)A[R]=String.fromCharCode(R+32),w[R]=String.fromCharCode(R);for(var f in A)w.hasOwnProperty(f)||(w[f]=A[f]);m.base=A;m.keyName=function(e){e=!(p&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||g&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?w:A)[e.keyCode]||e.key||"Unidentified";"Esc"==e&&(e="Escape");"Del"==e&&(e="Delete");"Left"==e&&(e="ArrowLeft");"Up"==e&&(e="ArrowUp"); "Right"==e&&(e="ArrowRight");"Down"==e&&(e="ArrowDown");return e};m.shift=w}; -shadow$provide[4]=function(R,K,pa,m){function A(H){return(11==H.nodeType?H.getSelection?H:H.ownerDocument:H).getSelection()}function w(H,V){return V?H==V||H.contains(1!=V.nodeType?V.parentNode:V):!1}function p(H,V){if(!V.anchorNode)return!1;try{return w(H,V.anchorNode)}catch(ba){return!1}}function g(H){return 3==H.nodeType?z(H,0,H.nodeValue.length).getClientRects():1==H.nodeType?H.getClientRects():[]}function f(H,V,ba,Ca){return ba?h(H,V,ba,Ca,-1)||h(H,V,ba,Ca,1):!1}function e(H){for(var V=0;;V++)if(H= -H.previousSibling,!H)return V}function h(H,V,ba,Ca,Pa){for(;;){if(H==ba&&V==Ca)return!0;if(V==(0>Pa?0:l(H))){if("DIV"==H.nodeName)return!1;let wb=H.parentNode;if(!wb||1!=wb.nodeType)return!1;V=e(H)+(0>Pa?0:1);H=wb}else if(1==H.nodeType){H=H.childNodes[V+(0>Pa?-1:0)];if(1==H.nodeType&&"false"==H.contentEditable)return!1;V=0>Pa?l(H):0}else return!1}}function l(H){return 3==H.nodeType?H.nodeValue.length:H.childNodes.length}function c(H,V){V=V?H.left:H.right;return{left:V,right:V,top:H.top,bottom:H.bottom}} -function r(H){let V=H.ownerDocument;for(H=H.parentNode;H&&H!=V.body;)if(1==H.nodeType){if(H.scrollHeight>H.clientHeight||H.scrollWidth>H.clientWidth)return H;H=H.assignedSlot||H.parentNode}else if(11==H.nodeType)H=H.host;else break;return null}function q(H){if(H.setActive)return H.setActive();if(je)return H.focus(je);let V=[];for(var ba=H;ba&&(V.push(ba,ba.scrollTop,ba.scrollLeft),ba!=ba.ownerDocument);ba=ba.parentNode);H.focus(null==je?{get preventScroll(){je={preventScroll:!0};return!0}}:void 0); -if(!je)for(je=!1,H=0;HMath.max(1,H.scrollHeight-H.clientHeight-4)}function F(H){let V=H.nextSibling;H.parentNode.removeChild(H);return V}function E(H,V,ba,Ca,Pa,wb,Vb,oc,yc){let {children:$c}=H,vd=$c.length?$c[V]:null,sd=wb.length?wb[wb.length-1]:null,Jd=sd?sd.breakAfter:Vb;if(!(V==Ca&&vd&& -!Vb&&!Jd&&2>wb.length&&vd.merge(ba,Pa,wb.length?sd:null,0==ba,oc,yc))){if(Ca<$c.length){let de=$c[Ca];if(de&&(PaCa&&(V=Ca);let Pa=V,wb=V,Vb=0;0==V&&0>ba||V==Ca&&0<=ba?fd.chrome||fd.gecko||(V?(Pa--,Vb=1):wbba?Pa--:wbVb:0<=ba)?0:H.length-1];fd.safari&&!Vb&&0==ba.width&&(ba=Array.prototype.find.call(H,oc=>oc.width)|| -ba);return Vb?c(ba,0>Vb):ba||null}function G(H,V){let ba=H.dom;({children:H}=H);var Ca=0;for(var Pa=0;Ca=wb.getSide())){if(V>Pa&&V=$c)if(Jd.children.length)Ca(Jd,$c-sd);else if((!Vb||Vb.isHidden&&0$c||sd==de&&0Jd.getSide()&&!Jd.isHidden)Pa=Jd,wb=$c-sd;sd=de}}let Pa=null,wb=-1,Vb=null,oc= --1;Ca(H,V);return(V=(0>ba?Pa:Vb)||Pa||Vb)?V.coordsAt(Math.max(0,V==Pa?wb:oc),ba):ha(H)}function ha(H){let V=H.dom.lastChild;if(!V)return H.dom.getBoundingClientRect();H=g(V);return H[H.length-1]||null}function Ha(H,V){for(let ba in H)"class"==ba&&V.class?V.class+=" "+H.class:"style"==ba&&V.style?V.style+=";"+H.style:V[ba]=H[ba];return V}function Oa(H,V,ba){if(H==V)return!0;H||(H=zb);V||(V=zb);let Ca=Object.keys(H),Pa=Object.keys(V);if(Ca.length-(ba&&-1=H?ba[Pa]=Math.max(ba[Pa],V):ba.push(H,V)}function za(H,V){for(let ba of V)H=new oe(ba,[H],H.length);return H}function Ga(H,V,ba){H=H.facet($d);if(H.length)H[0](V);else if(window.onerror)window.onerror(String(V),ba,void 0,void 0,V);else ba?console.error(ba+":",V):console.error(V)}function Xa(H,V,ba){var Ca=H.state.facet(Ge);if(!Ca.length)return Ca;Ca=Ca.map(wb=>wb instanceof Function?wb(H):wb);let Pa=[];wc.RangeSet.spans(Ca, -V,ba,{point(){},span(wb,Vb,oc,yc){let $c=Pa;for(let sd=oc.length-1;0<=sd;sd--,yc--){var vd=oc[sd].spec.bidiIsolate;let Jd;null!=vd&&(0de&&Vb.push(new tg(de,Jd.from,vd)),Ya(H,Jd.direction==Mh!=!(vd%2)?Ca+1:Ca,Pa,Jd.inner,Jd.from,Jd.to,Vb),de=Jd.to);sd=Jd.to}else if(sd==ba||(V?ag[sd]!=oc:ag[sd]==oc))break; -else sd++;$c?Ta(H,de,sd,Ca+1,Pa,$c,Vb):deV;){ba=!0;yc=!1;if(!Re||de>wb[Re-1].to)$c=ag[de-1],$c!=oc&&(ba=!1,yc=16==$c);$c=ba||1!=oc?null:[];vd=ba?Ca:Ca+1;sd=de;a:for(;;)if(Re&&sd==wb[Re-1].to){if(yc)break a;Jd=wb[--Re];if(!ba)for(let Ve=Jd.from,$e=Re;;){if(Ve==V)break a;if($e&&wb[$e-1].to==Ve)Ve=wb[--$e].from;else if(ag[Ve-1]==oc)break a;else break}$c?$c.push(Jd):(Jd.to=Jd?Vd[Jd]:1424<=Jd&&1524>=Jd?2:1536<=Jd&&1785>=Jd?Ne[Jd-1536]:1774<=Jd&&2220>=Jd?4:8192<= -Jd&&8203>=Jd?256:64336<=Jd&&65023>=Jd?4:8204==Jd?256:1;512==Jd?Jd=Re:8==Jd&&4==Ve&&(Jd=16);ag[de]=4==Jd?2:Jd;Jd&7&&(Ve=Jd);Re=Jd}for(let de=$c,Re=sd,Ve=sd;deSf)for($c=Re-3;0<=$c;$c-=3){if(Je[$c+1]==-Sf){sd=Je[$c+2];(sd=sd&2?oc:sd&4?sd&1?yc:oc:0)&&(ag[$e]=ag[Je[$c]]=sd);Re=$c;break}}else if(189==Je.length)break;else Je[Re++]=$e,Je[Re++]=nf,Je[Re++]=Ve;else if(2==(of=ag[$e])||1==of)for(Ve=($c=of==oc)?0:1,sd=Re-3;0<=sd;sd-=3){Jd=Je[sd+2];if(Jd&2)break;if($c)Je[sd+2]|=2;else{if(Jd&4)break;Je[sd+2]|=4}}}for(let de=0,Re=oc;de<=Ca.length;de++)for(vd=de?Ca[de- -1].to:Pa,yc=devd;)Ve==nf&&(Ve=Ca[--$e].from,nf=$e?Ca[$e-1].to:Pa),ag[--Ve]=sd;vd=$c}else Re=$c,vd++;Ta(H,Pa,wb,V,ba,Ca,Vb)}function rb(H,V,ba){if(!H)return[new tg(0,0,V==Nh?1:0)];if(V==Mh&&!ba.length&&!Cf.test(H))return[new tg(0, -H.length,0)];if(ba.length)for(;H.length>ag.length;)ag[ag.length]=256;let Ca=[];V=V==Mh?0:1;Ya(H,V,V,ba,0,H.length,Ca);return Ca}function Cb(H,V,ba,Ca,Pa){var wb;let Vb=Ca.head-H.from,oc=-1;if(0==Vb){if(!Pa||!H.length)return null;V[0].level!=ba&&(Vb=V[0].side(!1,ba),oc=0)}else if(Vb==H.length){if(Pa)return null;var yc=V[V.length-1];yc.level!=ba&&(Vb=yc.side(!0,ba),oc=V.length-1)}0>oc&&(oc=tg.find(V,Vb,null!==(wb=Ca.bidiLevel)&&void 0!==wb?wb:-1,Ca.assoc));Ca=V[oc];Vb==Ca.side(Pa,ba)&&(Ca=V[oc+=Pa? -1:-1],Vb=Ca.side(!Pa,ba));yc=Pa==(Ca.dir==ba);wb=wc.findClusterBreak(H.text,Vb,yc);Gg=H.text.slice(Math.min(Vb,wb),Math.max(Vb,wb));return wb!=Ca.side(Pa,ba)?wc.EditorSelection.cursor(wb+H.from,yc?-1:1,Ca.level):(V=oc==(Pa?V.length-1:0)?null:V[oc+(Pa?1:-1)])||Ca.level==ba?V&&V.level=ba)for(let Ca=H,Pa=V;;){if(3==Ca.nodeType)return{node:Ca,offset:Pa};if(1==Ca.nodeType&&0{CaV.from&&(ba=!0)});return ba}function wa(H,V,ba=1){let Ca=H.charCategorizer(V);H=H.doc.lineAt(V);var Pa=V-H.from;if(0==H.length)return wc.EditorSelection.cursor(V); -0==Pa?ba=1:Pa==H.length&&(ba=-1);let wb=V=Pa;0>ba?V=wc.findClusterBreak(H.text,Pa,!1):wb=wc.findClusterBreak(H.text,Pa);for(ba=Ca(H.text.slice(V,wb));0V.top+1}function nb(H,V){return VH.bottom?{top:H.top,left:H.left,right:H.right,bottom:V}:H}function Jb(H,V,ba){let Ca,Pa;let wb;var Vb=!1;let oc,yc,$c,vd;for(let Jd=H.firstChild;Jd;Jd=Jd.nextSibling){let de=g(Jd);for(let Re=0;ReV?Ve.left-V:Math.max(0,V-Ve.right),nf=Ve.top>ba?Ve.top-ba:Math.max(0,ba-Ve.bottom);if(0==$e&&0==nf)return 3==Jd.nodeType?Bb(Jd,V,ba):Jb(Jd,V,ba);if(!Ca||wb>nf||wb==nf&& -sd>$e){Ca=Jd;Pa=Ve;var sd=$e;Vb=(wb=nf)?baVe.bottom&&(!$c||$c.bottomVe.top)&&(yc=Jd,vd=Ve):$c&&Ra($c,Ve)?$c=Hb($c,Ve.bottom):vd&&Ra(vd,Ve)&&(vd=nb(vd,Ve.top))}}$c&&$c.bottom>=ba?(Ca=oc,Pa=$c):vd&&vd.top<=ba&&(Ca=yc,Pa=vd);if(!Ca)return{node:H,offset:0};sd=Math.max(Pa.left,Math.min(Pa.right,V));if(3==Ca.nodeType)return Bb(Ca,sd,ba);if(Vb&&"false"!=Ca.contentEditable)return Jb(Ca, -sd,ba);V=Array.prototype.indexOf.call(H.childNodes,Ca)+(V>=(Pa.left+Pa.right)/2?1:0);return{node:H,offset:V}}function Bb(H,V,ba){let Ca=H.nodeValue.length;var Pa=-1,wb=1E9;let Vb=0;for(let oc=0;ocba?vd.top-ba:ba-vd.bottom)-1;if(vd.left-1<=V&&vd.right+1>=V&&sd=(vd.left+vd.right)/2;(fd.chrome||fd.gecko)&&z(H,oc).getBoundingClientRect().left== -vd.right&&(wb=!Pa);if(0>=sd)return{node:H,offset:oc+(wb?1:0)};Pa=oc+(wb?1:0);wb=sd}}}return{node:H,offset:-1Jd)return 0;if(Jd>$c)return H.state.doc.length;for(let Ve=H.viewState.heightOracle.textHeight/2,$e=!1;;){yc=H.elementAtHeight(Jd);if(yc.type==m.BlockType.Text)break;for(;;){Jd=0H.viewport.to)return H.viewport.to==H.state.doc.length?H.state.doc.length:ba?null:bd(H,Vb,yc,vd,sd);ba=H.dom.ownerDocument;$c=H.root.elementFromPoint?H.root:ba;(oc=$c.elementFromPoint(vd,sd))&&!H.contentDOM.contains(oc)&&(oc=null);oc||(vd=Math.max(Vb.left+1,Math.min(Vb.right-1,vd)),(oc=$c.elementFromPoint(vd,sd))&& -!H.contentDOM.contains(oc)&&(oc=null));var de;Vb=-1;if(oc&&0!=(null===(Pa=H.docView.nearest(oc))||void 0===Pa?void 0:Pa.isEditable))if(ba.caretPositionFromPoint){var Re=ba.caretPositionFromPoint(vd,sd);Re&&({offsetNode:de,offset:Vb}=Re)}else if(ba.caretRangeFromPoint&&(Pa=ba.caretRangeFromPoint(vd,sd))){({startContainer:de,startOffset:Vb}=Pa);if(!(Pa=!H.contentDOM.contains(de))&&(Pa=fd.safari))a:if(Pa=vd,3!=de.nodeType||Vb!=(Re=de.nodeValue.length))Pa=!1;else{for(ba=de.nextSibling;ba;ba=ba.nextSibling)if(1!= -ba.nodeType||"BR"!=ba.nodeName){Pa=!1;break a}Pa=z(de,Re-1,Re).getBoundingClientRect().left>Pa}if(!(Re=Pa)&&(Re=fd.chrome))a:if(Pa=de,Re=vd,0!=Vb)Re=!1;else{for(ba=Pa;;){oc=ba.parentNode;if(!oc||1!=oc.nodeType||oc.firstChild!=ba){Re=!1;break a}if(oc.classList.contains("cm-line"))break;ba=oc}Pa=1==Pa.nodeType?Pa.getBoundingClientRect():z(Pa,0,Math.max(Pa.nodeValue.length,1)).getBoundingClientRect();Re=5 -yc.top+yc.height/2?yc.to:yc.from;({node:de,offset:Vb}=Jb(de.dom,vd,sd))}H=H.docView.nearest(de);return H?H.isWidget&&1==(null===(wb=H.dom)||void 0===wb?void 0:wb.nodeType)?(wb=H.dom.getBoundingClientRect(),V.y1.5*H.defaultLineHeight&&(Ca=H.viewState.heightOracle.textHeight,V+=Math.floor((Pa- -ba.top-.5*(H.defaultLineHeight-Ca))/Ca)*H.viewState.heightOracle.lineLength);Pa=H.state.sliceDoc(ba.from,ba.to);return ba.from+wc.findColumn(Pa,V,H.state.tabSize)}function Yc(H,V){H=H.lineBlockAt(V);if(Array.isArray(H.type))for(let ba of H.type)if(ba.to>V||ba.to==V&&(ba.to==H.to||ba.type==m.BlockType.Text))return ba;return H}function Xb(H,V,ba,Ca){let Pa=H.state.doc.lineAt(V.head),wb=H.bidiSpans(Pa),Vb=H.textDirectionAt(Pa.from);for(let oc=V,yc=null;;){V=Cb(Pa,wb,Vb,oc,ba);let $c=Gg;if(!V){if(Pa.number== -(ba?H.state.doc.lines:1))return oc;$c="\n";Pa=H.state.doc.line(Pa.number+(ba?1:-1));wb=H.bidiSpans(Pa);V=wc.EditorSelection.cursor(ba?Pa.from:Pa.to)}if(!yc){if(!Ca)return V;yc=Ca($c)}else if(!yc($c))return oc;oc=V}}function cd(H,V,ba){let Ca=H.state.charCategorizer(V),Pa=Ca(ba);return wb=>{wb=Ca(wb);Pa==wc.CharCategory.Space&&(Pa=wb);return Pa==wb}}function Sc(H,V,ba){for(;;){let Ca=0;for(let Pa of H)Pa.between(V-1,V+1,(wb,Vb,oc)=>{V>wb&&Voc?wb:Vb,Ca=oc)});if(!Ca)return V}} -function Nb(H,V,ba){V=Sc(H.state.facet(ph).map(Ca=>Ca(H)),ba.from,V.head>ba.from?-1:1);return V==ba.from?ba:wc.EditorSelection.cursor(V,V{try{return V.call(H,Ca,ba)}catch(Pa){Ga(ba.state,Pa)}}}function b(H){function V(Pa){return ba[Pa]||(ba[Pa]={observers:[],handlers:[]})}let ba=Object.create(null);for(let Pa of H){if((H=Pa.spec)&&H.domEventHandlers)for(let wb in H.domEventHandlers){var Ca=H.domEventHandlers[wb];Ca&&V(wb).handlers.push(Wb(Pa.value,Ca))}if(H&& -H.domEventObservers)for(let wb in H.domEventObservers)(Ca=H.domEventObservers[wb])&&V(wb).observers.push(Wb(Pa.value,Ca))}for(let Pa in Mf)V(Pa).handlers.push(Mf[Pa]);for(let Pa in wg)V(Pa).observers.push(wg[Pa]);return ba}function k(H,V){H=H.state.facet(mc);return H.length?H[0](V):fd.mac?V.metaKey:V.ctrlKey}function u(H,V){var {main:ba}=H.state.selection;if(ba.empty)return!1;H=A(H.root);if(!H||0==H.rangeCount)return!0;H=H.getRangeAt(0).getClientRects();for(ba=0;ba=V.clientX&&Ca.top<=V.clientY&&Ca.bottom>=V.clientY)return!0}return!1}function t(H,V){if(!V.bubbles)return!0;if(V.defaultPrevented)return!1;for(let ba=V.target,Ca;ba!=H.contentDOM;ba=ba.parentNode)if(!ba||11==ba.nodeType||(Ca=ic.get(ba))&&Ca.ignoreEvent(V))return!1;return!0}function I(H){let V=H.dom.parentNode;if(V){var ba=V.appendChild(document.createElement("textarea"));ba.style.cssText="position: fixed; left: -10000px; top: 10px";ba.focus();setTimeout(()=>{H.focus();ba.remove(); -Q(H,ba.value)},50)}}function Q(H,V){let {state:ba}=H,Ca,Pa=1,wb=ba.toText(V),Vb=wb.lines==ba.selection.ranges.length;if(null!=qg&&ba.selection.ranges.every(oc=>oc.empty)&&qg==wb.toString()){let oc=-1;Ca=ba.changeByRange(yc=>{let $c=ba.doc.lineAt(yc.from);if($c.from==oc)return{range:yc};oc=$c.from;let vd=ba.toText((Vb?wb.line(Pa++).text:V)+ba.lineBreak);return{changes:{from:$c.from,insert:vd},range:wc.EditorSelection.cursor(yc.from+vd.length)}})}else Ca=Vb?ba.changeByRange(oc=>{let yc=wb.line(Pa++); -return{changes:{from:oc.from,to:oc.to,insert:yc.text},range:wc.EditorSelection.cursor(oc.from+yc.length)}}):ba.replaceSelection(wb);H.dispatch(Ca,{userEvent:"input.paste",scrollIntoView:!0})}function X(H,V,ba,Ca){if(1==Ca)return wc.EditorSelection.cursor(V,ba);if(2==Ca)return wa(H.state,V,ba);ba=nc.find(H.docView,V);V=H.state.doc.lineAt(ba?ba.posAtEnd:V);Ca=ba?ba.posAtStart:V.from;ba=ba?ba.posAtEnd:V.to;ba=H.top&&V<=H.bottom&&Ca>=H.left&&Ca<=H.right;if(wb)Ca=-1;else{if(wb=Pa=Vb.coordsAt(Pa,1))wb=V>=Pa.top&&V<=Pa.bottom&&Ca>=Pa.left&&Ca<=Pa.right;Ca=wb?1:H&&V>=H.top&&V<=H.bottom?-1:1}}}else Ca=1}return{pos:ba,bias:Ca}}function na(H){if(!id)return H.detail;let V=zg,ba=sh;zg=H;sh=Date.now(); -return th=!V||ba>Date.now()-400&&2>Math.abs(V.clientX-H.clientX)&&2>Math.abs(V.clientY-H.clientY)?(th+1)%3:1}function oa(H,V){let ba=ca(H,V),Ca=na(V),Pa=H.state.selection;return{update(wb){wb.docChanged&&(ba.pos=wb.changes.mapPos(ba.pos),Pa=Pa.map(wb.changes))},get(wb,Vb,oc){var yc=ca(H,wb);wb=X(H,yc.pos,yc.bias,Ca);if(ba.pos!=yc.pos&&!Vb){var $c=X(H,ba.pos,ba.bias,Ca);let sd=Math.min($c.from,wb.from);$c=Math.max($c.to,wb.to);wb=sd=yc){yc=wc.EditorSelection.create(vd.ranges.slice(0,Vb).concat(vd.ranges.slice(Vb+1)),vd.mainIndex==Vb?0:vd.mainIndex-(vd.mainIndex>Vb?1:0));break a}}yc=null}Vb=vd=yc}return Vb?vd:oc?Pa.addRange(wb):wc.EditorSelection.create([wb])}}}function xa(H,V,ba,Ca){if(ba){var Pa=H.posAtCoords({x:V.clientX, -y:V.clientY},!1),{draggedContent:wb}=H.inputState;if(Ca=Ca&&wb)Ca=H.state.facet(ed),Ca=Ca.length?Ca[0](V):fd.mac?!V.altKey:!V.ctrlKey;V=Ca?{from:wb.from,to:wb.to}:null;ba={from:Pa,insert:ba};ba=H.state.changes(V?[V,ba]:ba);H.focus();H.dispatch({changes:ba,selection:{anchor:ba.mapPos(Pa,-1),head:ba.mapPos(Pa,1)},userEvent:V?"move.drop":"input.drop"});H.inputState.draggedContent=null}}function Fa(H,V){let ba=H.dom.parentNode;if(ba){var Ca=ba.appendChild(document.createElement("textarea"));Ca.style.cssText= -"position: fixed; left: -10000px; top: 10px";Ca.value=V;Ca.focus();Ca.selectionEnd=V.length;Ca.selectionStart=0;setTimeout(()=>{Ca.remove();H.focus()},50)}}function Wa(H,V){let ba=[];for(let Ca of H.facet(tf)){let Pa=Ca(H,V);Pa&&ba.push(Pa)}return ba?H.update({effects:ba,annotations:Vg.of(!0)}):null}function hb(H){setTimeout(()=>{var V=H.hasFocus;V!=H.inputState.notifiedFocused&&((V=Wa(H.state,V))?H.dispatch(V):H.update([]))},10)}function Fb(H){Ab.has(H)||(Ab.add(H),H.addEventListener("copy",()=> -{}),H.addEventListener("cut",()=>{}))}function Ob(H,V){let ba,Ca;null==H[V]&&(ba=H[V-1])instanceof qf&&(Ca=H[V+1])instanceof qf&&H.splice(V-1,3,new qf(ba.length+1+Ca.length))}function hc(H,V,ba){let Ca=new ch;wc.RangeSet.compare(H,V,ba,Ca,0);return Ca.changes}function pb(H,V){let ba=H.getBoundingClientRect(),Ca=H.ownerDocument;var Pa=Ca.defaultView||window;let wb=Math.max(0,ba.left),Vb=Math.min(Pa.innerWidth,ba.right),oc=Math.max(0,ba.top);Pa=Math.min(Pa.innerHeight,ba.bottom);for(let yc=H.parentNode;yc&& -yc!=Ca.body;)if(1==yc.nodeType){let $c=yc,vd=window.getComputedStyle($c);if(($c.scrollHeight>$c.clientHeight||$c.scrollWidth>$c.clientWidth)&&"visible"!=vd.overflow){let sd=$c.getBoundingClientRect();wb=Math.max(wb,sd.left);Vb=Math.min(Vb,sd.right);oc=Math.max(oc,sd.top);Pa=yc==H.parentNode?sd.bottom:Math.min(Pa,sd.bottom)}yc="absolute"==vd.position||"fixed"==vd.position?$c.offsetParent:$c.parentNode}else if(11==yc.nodeType)yc=yc.host;else break;return{left:wb-ba.left,right:Math.max(wb,Vb)-ba.left, -top:oc-(ba.top+V),bottom:Math.max(oc,Pa)-(ba.top+V)}}function ia(H,V){H=H.getBoundingClientRect();return{left:0,right:H.right-H.left,top:V,bottom:H.bottom-(H.top+V)}}function ua(H,V,ba){let Ca=[],Pa=H,wb=0;wc.RangeSet.spans(ba,H,V,{span(){},point(Vb,oc){Vb>Pa&&(Ca.push({from:Pa,to:Vb}),wb+=Vb-Pa);Pa=oc}},20);Pa=ba)return V[0].from;if(1<=ba)return V[V.length-1].to;H=Math.floor(H*ba);for(ba=0;;ba++){let {from:Ca, -to:Pa}=V[ba],wb=Pa-Ca;if(H<=wb)return Ca+H;H-=wb}}function qb(H,V){let ba=0;for(let {from:Ca,to:Pa}of H.ranges){if(V<=Pa){ba+=V-Ca;break}ba+=Pa-Ca}return ba/H.total}function Rb(H,V){for(let ba of H)if(V(ba))return ba}function gc(H,V){if(1==V.scale)return H;let ba=V.toDOM(H.top),Ca=V.toDOM(H.bottom);return new Zd(H.from,H.length,ba,Ca-ba,Array.isArray(H._content)?H._content.map(Pa=>gc(Pa,V)):H._content)}function Qb(H,V,ba){return new Dd.StyleModule(V,{finish(Ca){return/&/.test(Ca)?Ca.replace(/&\w*/, -Pa=>{if("\x26"==Pa)return H;if(!ba||!ba[Pa])throw new RangeError(`Unsupported selector: ${Pa}`);return ba[Pa]}):H+" "+Ca}})}function kc(H){return 1==H.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(H.nodeName)}function da(H,V){let ba,{newSel:Ca}=V;var Pa=H.state.selection.main;let wb=H.inputState.lastKeyTime>Date.now()-100?H.inputState.lastKeyCode:-1;if(V.bounds){let {from:oc,to:yc}=V.bounds;var Vb=Pa.from;let $c=null;if(8===wb||fd.android&&V.text.length=Pa.from&&ba.to<=Pa.to&&(ba.from!=Pa.from||ba.to!= -Pa.to)&&4>=Pa.to-Pa.from-(ba.to-ba.from)?ba={from:Pa.from,to:Pa.to,insert:H.state.doc.slice(Pa.from,ba.from).append(ba.insert).append(H.state.doc.slice(ba.to,Pa.to))}:(fd.mac||fd.android)&&ba&&ba.from==ba.to&&ba.from==Pa.head-1&&/^\. ?$/.test(ba.insert.toString())&&"off"==H.contentDOM.getAttribute("autocorrect")?(Ca&&2==ba.insert.length&&(Ca=wc.EditorSelection.single(Ca.main.anchor-1,Ca.main.head-1)),ba={from:Pa.from,to:Pa.to,insert:wc.Text.of([" "])}):fd.chrome&&ba&&ba.from==ba.to&&ba.from==Pa.head&& -"\n "==ba.insert.toString()&&H.lineWrapping&&(Ca&&(Ca=wc.EditorSelection.single(Ca.main.anchor-1,Ca.main.head-1)),ba={from:Pa.from,to:Pa.to,insert:wc.Text.of([" "])});if(ba){if(fd.ios&&H.inputState.flushIOSKey()||fd.android&&(ba.from==Pa.from&&ba.to==Pa.to&&1==ba.insert.length&&2==ba.insert.lines&&x(H.contentDOM,"Enter",13)||(ba.from==Pa.from-1&&ba.to==Pa.to&&0==ba.insert.length||8==wb&&ba.insert.lengthPa.head)&&x(H.contentDOM,"Backspace",8)||ba.from==Pa.from&&ba.to==Pa.to+1&& -0==ba.insert.length&&x(H.contentDOM,"Delete",46)))return!0;let oc=ba.insert.toString();0<=H.inputState.composing&&H.inputState.composing++;let yc,$c=()=>yc||(yc=Ea(H,ba,Ca));H.state.facet(Me).some(vd=>vd(H,ba.from,ba.to,oc,$c))||H.dispatch($c());return!0}return Ca&&!Ca.main.eq(Pa)?(V=!1,Pa="select",H.inputState.lastSelectionTime>Date.now()-50&&("select"==H.inputState.lastSelectionOrigin&&(V=!0),Pa=H.inputState.lastSelectionOrigin),H.dispatch({selection:Ca,scrollIntoView:V,userEvent:Pa}),!0):!1}function Ea(H, -V,ba){let Ca=H.state,Pa=Ca.selection.main;if(V.from>=Pa.from&&V.to<=Pa.to&&V.to-V.from>=(Pa.to-Pa.from)/3&&(!ba||ba.main.empty&&ba.main.from==V.from+V.insert.length)&&0>H.inputState.composing){ba=Pa.fromV.to?Ca.sliceDoc(V.to,Pa.to):"";ba=Ca.replaceSelection(H.state.toText(ba+V.insert.sliceString(0,void 0,H.state.lineBreak)+wb))}else{let Vb=Ca.changes(V),oc=ba&&ba.main.to<=Vb.newLength?ba.main:void 0;if(1=Pa.to-10){let yc=H.state.sliceDoc(V.from,V.to),$c;$c=(ba=ba&&ac(H,ba.main.head))?{from:ba.from,to:ba.to-(V.insert.length-(V.to-V.from))}:H.state.doc.lineAt(Pa.head);let vd=Pa.to-V.to,sd=Pa.to-Pa.from;ba=Ca.changeByRange(Jd=>{if(Jd.from==Pa.from&&Jd.to==Pa.to)return{changes:Vb,range:oc||Jd.map(Vb)};var de=Jd.to-vd,Re=de-yc.length;if(Jd.to-Jd.from!=sd||H.state.sliceDoc(Re,de)!=yc||Jd.to>=$c.from&&Jd.from<=$c.to)return{range:Jd};de=Ca.changes({from:Re,to:de,insert:V.insert});Re=Jd.to- -Pa.to;return{changes:de,range:oc?wc.EditorSelection.range(Math.max(0,oc.anchor+Re),Math.max(0,oc.head+Re)):Jd.map(de)}})}else ba={changes:Vb,selection:oc&&Ca.selection.replaceRange(oc)}}wb="input.type";if(H.composing||H.inputState.compositionPendingChange&&H.inputState.compositionEndedAt>Date.now()-50)H.inputState.compositionPendingChange=!1,wb+=".compose",H.inputState.compositionFirstChange&&(wb+=".start",H.inputState.compositionFirstChange=!1);return Ca.update(ba,{userEvent:wb,scrollIntoView:!0})} -function bb(H,V,ba,Ca){var Pa=Math.min(H.length,V.length);let wb=0;for(;wb=Pa?wb-ba:0,Vb=wb+(Vb-Pa),Pa=wb):Vb=Vb?wb-ba:0,Pa=wb+(Pa-Vb),Vb=wb);return{from:wb,toA:Pa,toB:Vb}}function jb(H,V,ba){for(;V;){var Ca= -ic.get(V);if(Ca&&Ca.parent==H)return Ca;Ca=V.parentNode;V=Ca!=H.dom?Ca:0ba.concat(Ca),[])));return V} -function Lb(H,V=Nc){let ba=Object.create(null),Ca=Object.create(null),Pa=(oc,yc)=>{let $c=Ca[oc];if(null==$c)Ca[oc]=yc;else if($c!=yc)throw Error("Key binding "+oc+" is used both as a regular binding and as a multi-stroke prefix");},wb=(oc,yc,$c,vd,sd)=>{var Jd,de,Re=ba[oc]||(ba[oc]=Object.create(null));yc=yc.split(/ (?!$)/).map(Ve=>{Ve=Ve.split(/-(?!$)/);let $e=Ve[Ve.length-1];"Space"==$e&&($e=" ");let nf,Sf,of,Eg;for(let Wg=0;Wg{let Sf=$a={view:nf,prefix:$e,scope:oc};setTimeout(()=> -{$a==Sf&&($a=null)},4E3);return!0}]})}yc=yc.join(" ");Pa(yc,!1);Re=Re[yc]||(Re[yc]={preventDefault:!1,stopPropagation:!1,run:(null===(de=null===(Jd=Re._any)||void 0===Jd?void 0:Jd.run)||void 0===de?void 0:de.slice())||[]});$c&&Re.run.push($c);vd&&(Re.preventDefault=!0);sd&&(Re.stopPropagation=!0)};for(let oc of H){H=oc.scope?oc.scope.split(" "):["editor"];if(oc.any)for(let yc of H){var Vb=ba[yc]||(ba[yc]=Object.create(null));Vb._any||(Vb._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let $c in Vb)Vb[$c].run.push(oc.any)}if(Vb= -oc[V]||oc.key)for(let yc of H)wb(yc,Vb,oc.run,oc.preventDefault,oc.stopPropagation),oc.shift&&wb(yc,"Shift-"+Vb,oc.shift,oc.preventDefault,oc.stopPropagation)}return ba}function Zb(H,V,ba,Ca){let Pa=Sd.keyName(V);var wb=wc.codePointAt(Pa,0);wb=wc.codePointSize(wb)==Pa.length&&" "!=Pa;let Vb="",oc=!1,yc=!1,$c=!1;$a&&$a.view==ba&&$a.scope==Ca&&(Vb=$a.prefix+" ",0>uh.indexOf(V.keyCode)&&(yc=!0,$a=null));let vd=new Set,sd=Re=>{if(Re){for(let Ve of Re.run)if(!vd.has(Ve)&&(vd.add(Ve),Ve(ba,V)))return Re.stopPropagation&& -($c=!0),!0;Re.preventDefault&&(Re.stopPropagation&&($c=!0),yc=!0)}return!1};H=H[Ca];let Jd,de;H&&(sd(H[Vb+sb(Pa,V,!wb)])?oc=!0:wb&&(V.altKey||V.metaKey||V.ctrlKey)&&!(fd.windows&&V.ctrlKey&&V.altKey)&&(Jd=Sd.base[V.keyCode])&&Jd!=Pa?sd(H[Vb+sb(Jd,V,!0)])?oc=!0:V.shiftKey&&(de=Sd.shift[V.keyCode])!=Pa&&de!=Jd&&sd(H[Vb+sb(de,V,!1)])&&(oc=!0):wb&&V.shiftKey&&sd(H[Vb+sb(Pa,V,!0)])&&(oc=!0),!oc&&sd(H._any)&&(oc=!0));yc&&(oc=!0);oc&&$c&&V.stopPropagation();return oc}function qc(H){let V=H.scrollDOM.getBoundingClientRect(); -return{left:(H.textDirection==m.Direction.LTR?V.left:V.right-H.scrollDOM.clientWidth*H.scaleX)-H.scrollDOM.scrollLeft*H.scaleX,top:V.top-H.scrollDOM.scrollTop*H.scaleY}}function Zc(H,V,ba){V=wc.EditorSelection.cursor(V);return{from:Math.max(ba.from,H.moveToLineBoundary(V,!1,!0).from),to:Math.min(ba.to,H.moveToLineBoundary(V,!0,!0).from),type:m.BlockType.Text}}function Gd(H,V,ba){function Ca(Sf,of,Eg,Wg){return new Yb(V,Sf-Jd.left,of-Jd.top-.01,Eg-Sf,Wg-of+.01)}function Pa({top:Sf,bottom:of,horizontal:Eg}){let Wg= -[];for(let dh=0;dh -Oh&&Kh.from=qa)break;bc>Ii&&Wg(Math.max(mb,Ii),null==Sf&&mb<=Oh,Math.min(bc,qa),null==of&&bc>=Ji,db.dir)}Ii=La.to+1;if(Ii>=qa)break}0==ff.length&&Wg(Oh,null==Sf,Ji,null==of,H.textDirection);return{top:dh,bottom:og,horizontal:ff}}function Vb(Sf,of){Sf=sd.top+(of?Sf.top:Sf.bottom);return{top:Sf,bottom:Sf,horizontal:[]}}if(ba.to<=H.viewport.from|| -ba.from>=H.viewport.to)return[];var oc=Math.max(ba.from,H.viewport.from),yc=Math.min(ba.to,H.viewport.to);let $c=H.textDirection==m.Direction.LTR;var vd=H.contentDOM;let sd=vd.getBoundingClientRect(),Jd=qc(H);vd=(vd=vd.querySelector(".cm-line"))&&window.getComputedStyle(vd);let de=sd.left+(vd?parseInt(vd.paddingLeft)+Math.min(0,parseInt(vd.textIndent)):0),Re=sd.right-(vd?parseInt(vd.paddingRight):0);vd=Yc(H,oc);let Ve=Yc(H,yc),$e=vd.type==m.BlockType.Text?vd:null,nf=Ve.type==m.BlockType.Text?Ve:null; -$e&&(H.lineWrapping||vd.widgetLineBreaks)&&($e=Zc(H,oc,$e));nf&&(H.lineWrapping||Ve.widgetLineBreaks)&&(nf=Zc(H,yc,nf));if($e&&nf&&$e.from==nf.from)return Pa(wb(ba.from,ba.to,$e));oc=$e?wb(ba.from,null,$e):Vb(vd,!1);ba=nf?wb(null,ba.to,nf):Vb(Ve,!0);yc=[];($e||vd).to<(nf||Ve).from-($e&&nf?1:0)||1new Hc(V,H)),Dc.of(H)]}function le(H){return H.startState.facet(Od)!=H.state.facet(Od)}function af(H,V,ba,Ca,Pa){V.lastIndex=0;for(let wb=H.iterRange(ba,Ca),Vb=ba,oc;!wb.next().done;Vb+=wb.value.length)if(!wb.lineBreak)for(;oc=V.exec(wb.value);)Pa(Vb+oc.index,oc)}function gb(H,V){let ba=H.visibleRanges;if(1==ba.length&&ba[0].from==H.viewport.from&&ba[0].to==H.viewport.to)return ba;let Ca=[];for(let {from:Pa,to:wb}of ba)Pa= -Math.max(H.state.doc.lineAt(Pa).from,Pa-V),wb=Math.min(H.state.doc.lineAt(wb).to,wb+V),Ca.length&&Ca[Ca.length-1].to>=Pa?Ca[Ca.length-1].to=wb:Ca.push({from:Pa,to:wb});return Ca}function Gb(){return vc||(vc=Nf.fromClass(class{constructor(H){this.view=H;this.decorations=od.none;this.decorationCache=Object.create(null);this.decorator=this.makeDecorator(H.state.facet(Tb));this.decorations=this.decorator.createDeco(H)}makeDecorator(H){return new sc({regexp:H.specialChars,decoration:(V,ba,Ca)=>{var {doc:Pa}= -ba.state;V=wc.codePointAt(V[0],0);return 9==V?(Pa=Pa.lineAt(Ca),ba=ba.state.tabSize,Ca=wc.countColumn(Pa.text,ba,Ca-Pa.from),od.replace({widget:new Ed((ba-Ca%ba)*this.view.defaultCharacterWidth/this.view.scaleX)})):this.decorationCache[V]||(this.decorationCache[V]=od.replace({widget:new Ic(H,V)}))},boundary:H.replaceTabs?void 0:/[^]/})}update(H){let V=H.state.facet(Tb);H.startState.facet(Tb)!=V?(this.decorator=this.makeDecorator(V),this.decorations=this.decorator.createDeco(H.view)):this.decorations= -this.decorator.updateDeco(H,this.decorations)}},{decorations:H=>H.decorations}))}function rc(H,V){var ba=H.posAtCoords({x:V.clientX,y:V.clientY},!1);let Ca=H.state.doc.lineAt(ba),Pa=ba-Ca.from;2E3yc.col||0>oc.col){var sd=Math.min(yc.off,oc.off);for(oc=Math.max(yc.off,oc.off);$c<=wb;$c++)yc=Pa.doc.line($c),yc.length<=oc&&vd.push(wc.EditorSelection.range(yc.from+ -sd,yc.to+oc))}else for(sd=Math.min(yc.col,oc.col),oc=Math.max(yc.col,oc.col);$c<=wb;$c++){yc=Pa.doc.line($c);let Jd=wc.findColumn(yc.text,sd,Pa.tabSize,!0);if(0>Jd)vd.push(wc.EditorSelection.cursor(yc.to));else{let de=wc.findColumn(yc.text,oc,Pa.tabSize);vd.push(wc.EditorSelection.range(yc.from+Jd,yc.from+de))}}return vd.length?Vb?wc.EditorSelection.create(vd.concat(Ca.ranges)):wc.EditorSelection.create(vd):Ca}}:null}function Qc(H){({win:H}=H);return{top:0,left:0,bottom:H.innerHeight,right:H.innerWidth}} -function Hd(H){for(;H;H=H.parentNode)if(1==H.nodeType&&H.classList.contains("cm-tooltip"))return!0;return!1}function yb(H){let V=H.nextSibling;H.remove();return V}function vb(H){let V=[Yi];H&&!1===H.fixed&&V.push($h.of(!0));return V}function zc(H){return Array.isArray(H)?H:[H]}function ad(H,V,ba){for(;H.value&&H.from<=ba;)H.from==ba&&V.push(H.value),H.next()}function Ad(H,V){return H.state.facet(xg).formatNumber(V,H.state)}function jc(H){let V=9;for(;V -({decorations:H.createDeco(V),update(ba){this.decorations=H.updateDeco(ba,this.decorations)}}),{decorations:V=>V.decorations})}var wc=K(1),Dd=K(2),Sd=K(3);class Kd{constructor(){this.anchorNode=null;this.anchorOffset=0;this.focusNode=null;this.focusOffset=0}eq(H){return this.anchorNode==H.anchorNode&&this.anchorOffset==H.anchorOffset&&this.focusNode==H.focusNode&&this.focusOffset==H.focusOffset}setRange(H){let {anchorNode:V,focusNode:ba}=H;this.set(V,Math.min(H.anchorOffset,V?l(V):0),ba,Math.min(H.focusOffset, -ba?l(ba):0))}set(H,V,ba,Ca){this.anchorNode=H;this.anchorOffset=V;this.focusNode=ba;this.focusOffset=Ca}}let je=null,Te;class ge{constructor(H,V,ba=!0){this.node=H;this.offset=V;this.precise=ba}static before(H,V){return new ge(H.parentNode,e(H),V)}static after(H,V){return new ge(H.parentNode,e(H)+1,V)}}const se=[];class ic{constructor(){this.dom=this.parent=null;this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+ -this.length}posBefore(H){let V=this.posAtStart;for(let ba of this.children){if(ba==H)return V;V+=ba.length+ba.breakAfter}throw new RangeError("Invalid child in posBefore");}posAfter(H){return this.posBefore(H)+H.length}sync(H,V){if(this.flags&2){var ba=this.dom;let Ca=null,Pa;for(let wb of this.children){if(wb.flags&7){if(!wb.dom&&(Pa=Ca?Ca.nextSibling:ba.firstChild)){let Vb=ic.get(Pa);(!Vb||!Vb.parent&&Vb.canReuseDOM(wb))&&wb.reuseDOM(Pa)}wb.sync(H,V);wb.flags&=-8}Pa=Ca?Ca.nextSibling:ba.firstChild; -V&&!V.written&&V.node==ba&&Pa!=wb.dom&&(V.written=!0);if(wb.dom.parentNode==ba)for(;Pa&&Pa!=wb.dom;)Pa=F(Pa);else ba.insertBefore(wb.dom,Pa);Ca=wb.dom}(Pa=Ca?Ca.nextSibling:ba.firstChild)&&V&&V.node==ba&&(V.written=!0);for(;Pa;)Pa=F(Pa)}else if(this.flags&1)for(ba of this.children)ba.flags&7&&(ba.sync(H,V),ba.flags&=-8)}reuseDOM(H){}localPosFromDOM(H,V){if(H==this.dom)H=this.dom.childNodes[V];else{for(V=0==l(H)?0:0==V?-1:1;;){let ba=H.parentNode;if(ba==this.dom)break;0==V&&ba.firstChild!=ba.lastChild&& -(V=H==ba.firstChild?-1:1);H=ba}H=0>V?H:H.nextSibling}if(H==this.dom.firstChild)return 0;for(;H&&!ic.get(H);)H=H.nextSibling;if(!H)return this.length;for(let ba=0,Ca=0;;ba++){V=this.children[ba];if(V.dom==H)return Ca;Ca+=V.length+V.breakAfter}}domBoundsAround(H,V,ba=0){let Ca=-1,Pa=-1,wb=-1,Vb=-1;for(let oc=0,yc=ba,$c=ba;ocV)return vd.domBoundsAround(H,V,yc);sd>=H&&-1==Ca&&(Ca=oc,Pa=yc);if(yc>V&&vd.dom.parentNode==this.dom){wb= -oc;Vb=$c;break}$c=sd;yc=sd+vd.breakAfter}return{from:Pa,to:0>Vb?ba+this.length:Vb,startDOM:(Ca?this.children[Ca-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:wbthis.pos||H==this.pos&&(0=Pa||V=wb))return!1;N(this,H,V,ba?ba.children:[],Pa-1,wb-1);this.markDirty();return!0}split(H){let V=[];var ba=0;let Ca=-1,Pa=0;for(let wb of this.children){let Vb= -ba+wb.length;Vb>H&&V.push(baCa&&ba>=H&&(Ca=Pa);ba=Vb;Pa++}ba=this.length-H;this.length=H;-1=Pa||V=wb))return!1;this.length=H+(ba?ba.length:0)+(this.length-V);return!0}become(H){return H instanceof xd&&H.side==this.side&&this.widget.constructor==H.widget.constructor?(this.widget.compare(H.widget)|| -this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=H.widget,this.length=H.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(H){return this.widget.ignoreEvent(H)}get overrideDOMText(){if(0==this.length)return wc.Text.empty;for(var H=this;H.parent;)H=H.parent;({view:H}=H);H=H&&H.state.doc;let V=this.posAtStart;return H?H.slice(V,V+this.length):wc.Text.empty}domAtPos(H){return(this.length?0==H:0this.side:0Ca instanceof me))||(ba=document.createElement("BR"),ba.cmIgnore=!0,this.dom.appendChild(ba))}measureTextSize(){if(0==this.children.length||20Math.abs(ba-V.lineHeight)&&V.textHeight=V){if(Pa instanceof nc)return Pa;if(wb>V)break}Ca=wb+Pa.breakAfter}return null}}class Ec extends ic{constructor(H,V,ba){super();this.widget=H;this.length=V;this.deco=ba;this.breakAfter=0;this.prevWidget=null}merge(H,V,ba,Ca,Pa,wb){if(ba&&(!(ba instanceof Ec&&this.widget.compare(ba.widget))||0=Pa||V= -wb))return!1;this.length=H+(ba?ba.length:0)+(this.length-V);return!0}domAtPos(H){return 0==H?ge.before(this.dom):ge.after(this.dom,H==this.length)}split(H){let V=this.length-H;this.length=H;H=new Ec(this.widget,V,this.deco);H.breakAfter=this.breakAfter;return H}get children(){return se}sync(H){this.dom&&this.widget.updateDOM(this.dom,H)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(H)),this.dom.contentEditable="false")}get overrideDOMText(){return this.parent? -this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):wc.Text.empty}domBoundsAround(){return null}become(H){return H instanceof Ec&&H.widget.constructor==this.widget.constructor?(H.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=H.widget,this.length=H.length,this.deco=H.deco,this.breakAfter=H.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(H){return this.widget.ignoreEvent(H)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(H, -V){return this.widget.coordsAt(this.dom,H,V)}destroy(){super.destroy();this.dom&&this.widget.destroy(this.dom)}covers(H){let {startSide:V,endSide:ba}=this.deco;return V==ba?!1:0>H?0>V:0=V)throw new RangeError("Mark decorations may not be empty");return super.range(H,V)}}ld.prototype.point=!1;class Wd extends od{constructor(H){super(-2E8,-2E8,null,H)}eq(H){return H instanceof Wd&&this.spec.class==H.spec.class&&Oa(this.spec.attributes, -H.spec.attributes)}range(H,V=H){if(V!=H)throw new RangeError("Line decoration ranges must be zero-length");return super.range(H,V)}}Wd.prototype.mapMode=wc.MapMode.TrackBefore;Wd.prototype.point=!0;class Ka extends od{constructor(H,V,ba,Ca,Pa,wb){super(V,ba,Pa,H);this.block=Ca;this.isReplace=wb;this.mapMode=Ca?0>=V?wc.MapMode.TrackBefore:wc.MapMode.TrackAfter:wc.MapMode.TrackDel}get type(){return this.startSide!=this.endSide?m.BlockType.WidgetRange:0>=this.startSide?m.BlockType.WidgetBefore:m.BlockType.WidgetAfter}get heightRelevant(){return this.block|| -!!this.widget&&(5<=this.widget.estimatedHeight||0V||H==V&&0=this.endSide))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&V!=H)throw new RangeError("Widget decorations can only have zero-length ranges"); -return super.range(H,V)}}Ka.prototype.point=!0;class kb{constructor(H,V,ba,Ca){this.doc=H;this.pos=V;this.end=ba;this.disallowBlockEffectsFor=Ca;this.content=[];this.curLine=null;this.pendingBuffer=this.breakAtStart=0;this.bufferMarks=[];this.atCursorPos=!0;this.openEnd=this.openStart=-1;this.text="";this.textOff=0;this.cursor=H.iter();this.skip=V}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let H=this.content[this.content.length-1];return!(H.breakAfter|| -H instanceof Ec&&0>H.deco.endSide)}getLine(){this.curLine||(this.content.push(this.curLine=new nc),this.atCursorPos=!0);return this.curLine}flushBuffer(H=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(za(new Oe(-1),H),H.length),this.pendingBuffer=0)}addBlockWidget(H){this.flushBuffer();this.curLine=null;this.content.push(H)}finish(H){this.pendingBuffer&&H<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0;this.posCovered()||H&&this.content.length&&this.content[this.content.length- -1]instanceof Ec||this.getLine()}buildText(H,V,ba){for(;0this.openStart&&(this.openStart=Ca)}point(H,V,ba,Ca,Pa,wb){if(this.disallowBlockEffectsFor[wb]&&ba instanceof Ka){if(ba.block)throw new RangeError("Block decorations may not be specified via plugins");if(V>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins"); -}wb=V-H;if(ba instanceof Ka)if(ba.block)0Ca.length||0>=ba.startSide);let yc=this.getLine();2!=this.pendingBuffer||oc||Vb.isEditable||(this.pendingBuffer=0);this.flushBuffer(Ca);oc&&(yc.append(za(new Oe(1),Ca),Pa),Pa=Ca.length+ -Math.max(0,Pa-Ca.length));yc.append(za(Vb,Ca),Pa);if(this.pendingBuffer=(this.atCursorPos=ba)?HCa.length?1:2:0)this.bufferMarks=Ca.slice()}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(ba);wb&&(this.textOff+wb<=this.text.length?this.textOff+=wb:(this.skip+=wb-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=V);0>this.openStart&&(this.openStart=Pa)}static build(H,V,ba,Ca,Pa){H=new kb(H,V,ba,Pa);H.openEnd=wc.RangeSet.spans(Ca,V,ba,H);0>H.openStart&& -(H.openStart=H.openEnd);H.finish(H.openEnd);return H}}class Pb extends Fc{constructor(H){super();this.tag=H}eq(H){return H.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(H){return H.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const mc=wc.Facet.define(),ed=wc.Facet.define(),Ld=wc.Facet.define(),$d=wc.Facet.define(),He=wc.Facet.define(),Me=wc.Facet.define(),tf=wc.Facet.define(),wf=wc.Facet.define({combine:H=>H.some(V=>V)}),vf=wc.Facet.define({combine:H=>H.some(V=> -V)});class Af{constructor(H,V="nearest",ba="nearest",Ca=5,Pa=5,wb=!1){this.range=H;this.y=V;this.x=ba;this.yMargin=Ca;this.xMargin=Pa;this.isSnapshot=wb}map(H){return H.empty?this:new Af(this.range.map(H),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(H){return this.range.to<=H.doc.length?this:new Af(wc.EditorSelection.cursor(H.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const gg=wc.StateEffect.define({map:(H,V)=>H.map(V)}),lg=wc.Facet.define({combine:H=>H.length? -H[0]:!0});let Ag=0;const Bf=wc.Facet.define();class Nf{constructor(H,V,ba,Ca,Pa){this.id=H;this.create=V;this.domEventHandlers=ba;this.domEventObservers=Ca;this.extension=Pa(this)}static define(H,V){const {eventHandlers:ba,eventObservers:Ca,provide:Pa,decorations:wb}=V||{};return new Nf(Ag++,H,ba,Ca,Vb=>{let oc=[Bf.of(Vb)];wb&&oc.push(Hg.of(yc=>(yc=yc.plugin(Vb))?wb(yc):od.none));Pa&&oc.push(Pa(Vb));return oc})}static fromClass(H,V){return Nf.define(ba=>new H(ba),V)}}class dg{constructor(H){this.spec= -H;this.value=this.mustUpdate=null}update(H){if(!this.value){if(this.spec)try{this.value=this.spec.create(H)}catch(V){Ga(H.state,V,"CodeMirror plugin crashed"),this.deactivate()}}else if(this.mustUpdate&&(H=this.mustUpdate,this.mustUpdate=null,this.value.update))try{this.value.update(H)}catch(V){Ga(H.state,V,"CodeMirror plugin crashed");if(this.value.destroy)try{this.value.destroy()}catch(ba){}this.deactivate()}return this}destroy(H){var V;if(null===(V=this.value)||void 0===V?0:V.destroy)try{this.value.destroy()}catch(ba){Ga(H.state, -ba,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Hh=wc.Facet.define(),Xf=wc.Facet.define(),Hg=wc.Facet.define(),ph=wc.Facet.define(),Ge=wc.Facet.define(),Lf=wc.Facet.define(),Bh=wc.Facet.define();class Kg{constructor(H,V,ba,Ca){this.fromA=H;this.toA=V;this.fromB=ba;this.toB=Ca}join(H){return new Kg(Math.min(this.fromA,H.fromA),Math.max(this.toA,H.toA),Math.min(this.fromB,H.fromB),Math.max(this.toB,H.toB))}addToSet(H){let V=H.length,ba=this;for(;0ba.toA)){if(Ca.toA$c)break;else Pa+=2}if(!oc)return ba;(new Kg(oc.fromA,oc.toA,oc.fromB,oc.toB)).addToSet(ba);wb=oc.toA; -Vb=oc.toB}}}class Xg{constructor(H,V,ba){this.view=H;this.state=V;this.transactions=ba;this.flags=0;this.startState=H.state;this.changes=wc.ChangeSet.empty(this.startState.doc.length);for(let Pa of ba)this.changes=this.changes.compose(Pa.changes);let Ca=[];this.changes.iterChangedRanges((Pa,wb,Vb,oc)=>Ca.push(new Kg(Pa,wb,Vb,oc)));this.changedRanges=Ca}static create(H,V,ba){return new Xg(H,V,ba)}get viewportChanged(){return 0<(this.flags&4)}get heightChanged(){return 0<(this.flags&2)}get geometryChanged(){return this.docChanged|| -0<(this.flags&10)}get focusChanged(){return 0<(this.flags&1)}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(H=>H.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}m.Direction=void 0;(function(H){H[H.LTR=0]="LTR";H[H.RTL=1]="RTL"})(m.Direction||(m.Direction={}));const Mh=m.Direction.LTR,Nh=m.Direction.RTL,Vd=Va("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"), -Ne=Va("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Wf=Object.create(null),Je=[];for(let H of["()","[]","{}"]){let V=H.charCodeAt(0),ba=H.charCodeAt(1);Wf[V]=ba;Wf[ba]=-V}const Cf=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class tg{get dir(){return this.level%2?Nh:Mh}constructor(H, -V,ba){this.from=H;this.to=V;this.level=ba}side(H,V){return this.dir==V==H?this.to:this.from}static find(H,V,ba,Ca){let Pa=-1;for(let wb=0;wb=V){if(Vb.level==ba)return wb;if(0>Pa||(0!=Ca?0>Ca?Vb.fromV:H[Pa].level>Vb.level))Pa=wb}}if(0>Pa)throw new RangeError("Index out of range");return Pa}}const ag=[];let Gg="";class yg extends ic{get length(){return this.view.state.doc.length}constructor(H){super();this.view=H;this.decorations=[];this.dynamicDecorationMap= -[];this.hasComposition=this.domChanged=null;this.markedForComposition=new Set;this.minWidthTo=this.minWidthFrom=this.minWidth=0;this.impreciseHead=this.impreciseAnchor=null;this.forceSelection=!1;this.lastUpdate=Date.now();this.setDOM(H.contentDOM);this.children=[new nc];this.children[0].setParent(this);this.updateDeco();this.updateInner([new Kg(0,0,0,H.state.doc.length)],0,null)}update(H){var V;let ba=H.changedRanges;0Vbthis.minWidthTo)?(this.minWidthFrom=H.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=H.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);var Ca=-1;0<=this.view.inputState.composing&&((null===(V=this.domChanged)||void 0===V?0:V.newSel)?Ca=this.domChanged.newSel.head:Mb(H.changes,this.hasComposition)||H.selectionSet||(Ca=H.state.selection.main.head));V=-1{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px";this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let Pa=fd.chrome||fd.ios?{node:Ca.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,Pa);this.flags&=-8;Pa&&(Pa.written||Ca.selectionRange.focusNode!=Pa.node)&&(this.forceSelection=!0);this.dom.style.height= -""});this.markedForComposition.forEach(Pa=>Pa.flags&=-9);H=[];if(this.view.viewport.from||this.view.viewport.toyc){Pa=kb.build(this.view.state.doc, -yc,ba.range.fromB,this.decorations,this.dynamicDecorationMap);let $e=kb.build(this.view.state.doc,ba.range.toB,$c,this.decorations,this.dynamicDecorationMap);Ca=Pa.breakAtStart;vd=Pa.openStart;sd=$e.openEnd;let nf=this.compositionView(ba);$e.breakAtStart?nf.breakAfter=1:$e.content.length&&nf.merge(nf.length,nf.length,$e.content[0],!1,$e.openStart,0)&&(nf.breakAfter=$e.content[0].breakAfter,$e.content.shift());Pa.content.length&&nf.merge(0,0,Pa.content[Pa.content.length-1],!0,0,Pa.openEnd)&&Pa.content.pop(); -Pa=Pa.content.concat(nf).concat($e.content)}else({content:Pa,breakAtStart:Ca,openStart:vd,openEnd:sd}=kb.build(this.view.state.doc,yc,$c,this.decorations,this.dynamicDecorationMap));let {i:Jd,off:de}=V.findPos(oc,1),{i:Re,off:Ve}=V.findPos(Vb,-1);E(this,Re,Ve,Jd,de,Pa,Ca,vd,sd)}ba&&this.fixCompositionDOM(ba)}compositionView(H){let V=new me(H.text.nodeValue);V.flags|=8;for(let {deco:ba}of H.marks)V=new oe(ba,[V],V.length);H=new nc;H.append(V,0);return H}fixCompositionDOM(H){let V=(Pa,wb)=>{wb.flags= -wb.flags|8|(wb.children.some(oc=>oc.flags&7)?1:0);this.markedForComposition.add(wb);let Vb=ic.get(Pa);Vb&&Vb!=wb&&(Vb.dom=null);wb.setDOM(Pa)},ba=this.childPos(H.range.fromB,1),Ca=this.children[ba.i];V(H.line,Ca);for(let Pa=H.marks.length-1;-1<=Pa;Pa--)ba=Ca.childPos(ba.off,1),Ca=Ca.children[ba.i],V(0<=Pa?H.marks[Pa].node:H.text,Ca)}updateSelection(H=!1,V=!1){!H&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let ba=this.view.root.activeElement;H=ba==this.dom; -let Ca=!H&&p(this.dom,this.view.observer.selectionRange)&&!(ba&&this.dom.contains(ba));if(H||V||Ca){V=this.forceSelection;this.forceSelection=!1;var Pa=this.view.state.selection.main,wb=this.moveToLine(this.domAtPos(Pa.anchor)),Vb=Pa.empty?wb:this.moveToLine(this.domAtPos(Pa.head));if(fd.gecko&&Pa.empty&&!this.hasComposition&&1==wb.node.nodeType&&wb.node.firstChild&&(0==wb.offset||"false"==wb.node.childNodes[wb.offset-1].contentEditable)&&(wb.offset==wb.node.childNodes.length||"false"==wb.node.childNodes[wb.offset].contentEditable)){let yc= -document.createTextNode("");this.view.observer.ignore(()=>wb.node.insertBefore(yc,wb.node.childNodes[wb.offset]||null));wb=Vb=new ge(yc,0);V=!0}var oc=this.view.observer.selectionRange;!V&&oc.focusNode&&f(wb.node,wb.offset,oc.anchorNode,oc.anchorOffset)&&f(Vb.node,Vb.offset,oc.focusNode,oc.focusOffset)||(this.view.observer.ignore(()=>{var yc;if(yc=fd.android&&fd.chrome&&this.dom.contains(oc.focusNode))a:{for(yc=oc.focusNode;yc&&yc!=this.dom;yc=yc.assignedSlot||yc.parentNode)if(1==yc.nodeType&&"false"== -yc.contentEditable){yc=!0;break a}yc=!1}yc&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));if(yc=A(this.view.root))if(Pa.empty){if(fd.gecko){var $c=wb.node;var vd=wb.offset;$c=1!=$c.nodeType?0:(vd&&"false"==$c.childNodes[vd-1].contentEditable?1:0)|(vd<$c.childNodes.length&&"false"==$c.childNodes[vd].contentEditable?2:0);$c&&3!=$c&&($c=Aa(wb.node,wb.offset,1==$c?1:-1))&&(wb=new ge($c.node,$c.offset))}yc.collapse(wb.node,wb.offset);null!=Pa.bidiLevel&&void 0!==yc.caretBidiLevel&&(yc.caretBidiLevel= -Pa.bidiLevel)}else if(yc.extend){yc.collapse(wb.node,wb.offset);try{yc.extend(Vb.node,Vb.offset)}catch(sd){}}else $c=document.createRange(),Pa.anchor>Pa.head&&([wb,Vb]=[Vb,wb]),$c.setEnd(Vb.node,Vb.offset),$c.setStart(wb.node,wb.offset),yc.removeAllRanges(),yc.addRange($c);Ca&&this.view.root.activeElement==this.dom&&(this.dom.blur(),ba&&ba.focus())}),this.view.observer.setSelectionRange(wb,Vb));this.impreciseAnchor=wb.precise?null:new ge(oc.anchorNode,oc.anchorOffset);this.impreciseHead=Vb.precise? -null:new ge(oc.focusNode,oc.focusOffset)}}enforceCursorAssoc(){if(!this.hasComposition){var {view:H}=this,V=H.state.selection.main,ba=A(H.root),{anchorNode:Ca,anchorOffset:Pa}=H.observer.selectionRange;if(ba&&V.empty&&V.assoc&&ba.modify){var wb=nc.find(this,V.head);if(wb){var Vb=wb.posAtStart;V.head!=Vb&&V.head!=Vb+wb.length&&(wb=this.coordsAt(V.head,-1),Vb=this.coordsAt(V.head,1),!wb||!Vb||wb.bottom>Vb.top||(wb=this.domAtPos(V.head+V.assoc),ba.collapse(wb.node,wb.offset),ba.modify("move",0>V.assoc? -"forward":"backward","lineboundary"),H.observer.readSelectionRange(),wb=H.observer.selectionRange,H.docView.posFromDOM(wb.anchorNode,wb.anchorOffset)!=V.from&&ba.collapse(Ca,Pa)))}}}}moveToLine(H){let V=this.dom,ba;if(H.node!=V)return H;for(var Ca=H.offset;!ba&&CaH||Vb.covers(1))&&(!ba||Vb instanceof nc&&!(ba instanceof nc&&0<=V))&&(ba=Vb,Ca=yc);Pa=yc}return ba?ba.coordsAt(H-Ca,V):null}coordsForChar(H){let {i:V,off:ba}=this.childPos(H,1);H=this.children[V];if(!(H instanceof nc))return null;for(;H.children.length;){let {i:Pa,off:wb}=H.childPos(ba,1);for(;;Pa++){if(Pa==H.children.length)return null; -if((H=H.children[Pa]).length)break}ba=wb}if(!(H instanceof me))return null;var Ca=wc.findClusterBreak(H.text,ba);if(Ca==ba)return null;H=z(H.dom,ba,Ca).getClientRects();for(Ca=0;CaMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,wb=-1,Vb=this.view.textDirection==m.Direction.LTR;for(let $c= -0,vd=0;vdCa)break;if($c>=ba){var oc=sd.dom.getBoundingClientRect();V.push(oc.height);if(Pa){var yc=sd.dom.lastChild;yc=yc?g(yc):[];yc.length&&(yc=yc[yc.length-1],oc=Vb?yc.right-oc.left:oc.right-yc.left,oc>wb&&(wb=oc,this.minWidth=H,this.minWidthFrom=$c,this.minWidthTo=Jd))}}$c=Jd+sd.breakAfter}return V}textDirectionAt(H){({i:H}=this.childPos(H,1));return"rtl"==getComputedStyle(this.children[H].dom).direction?m.Direction.RTL: -m.Direction.LTR}measureTextSize(){for(let Pa of this.children)if(Pa instanceof nc){let wb=Pa.measureTextSize();if(wb)return wb}let H=document.createElement("div"),V,ba,Ca;H.className="cm-line";H.style.width="99999px";H.style.position="absolute";H.textContent="abc def ghi jkl mno pqr stu";this.view.observer.ignore(()=>{this.dom.appendChild(H);let Pa=g(H.firstChild)[0];V=H.getBoundingClientRect().height;ba=Pa?Pa.width/27:7;Ca=Pa?Pa.height:V;H.remove()});return{lineHeight:V,charWidth:ba,textHeight:Ca}}childCursor(H= -this.length){let V=this.children.length;V&&(H-=this.children[--V].length);return new qd(this.children,H,V)}computeBlockGapDeco(){let H=[],V=this.view.viewState;for(let ba=0,Ca=0;;Ca++){let Pa=Ca==V.viewports.length?null:V.viewports[Ca],wb=Pa?Pa.from-1:this.length;if(wb>ba){let Vb=(V.lineBlockAt(wb).bottom-V.lineBlockAt(ba).top)/this.view.scaleY;H.push(od.replace({widget:new bg(Vb),block:!0,inclusive:!0,isBlockGap:!0}).range(ba,wb))}if(!Pa)break;ba=Pa.to+1}return od.set(H)}updateDeco(){let H=this.view.state.facet(Hg).map((V, -ba)=>(this.dynamicDecorationMap[ba]="function"==typeof V)?V(this.view):V);for(let V=H.length;Vba.anchor?-1:1);var Ca; -if(V){!ba.empty&&(Ca=this.coordsAt(ba.anchor,ba.anchor>ba.head?-1:1))&&(V={left:Math.min(V.left,Ca.left),top:Math.min(V.top,Ca.top),right:Math.max(V.right,Ca.right),bottom:Math.max(V.bottom,Ca.bottom)});Ca=Sa(this.view);V={left:V.left-Ca.left,top:V.top-Ca.top,right:V.right+Ca.right,bottom:V.bottom+Ca.bottom};var {offsetWidth:Pa,offsetHeight:wb}=this.view.scrollDOM,Vb=this.view.scrollDOM;ba=ba.head$e+Sf&&(Sf=V.bottom-$e+Sf+H)):V.bottom>$e&&(Sf=V.bottom-$e+H,0>ba&&V.top-Sfba?V.top-H:V.bottom-$e+H)-Ve);"nearest"==Ca?V.leftRe+nf&&(nf=V.right-Re+nf+yc)):V.right>Re&&(nf=V.right- -Re+yc,0>ba&&V.leftMath.abs(de-nf)&&(Ca="nearest"),Re&&1>Math.abs(Re-Sf)&&(oc="nearest"));if(Vb)break;of=of.assignedSlot|| -of.parentNode}else if(11==of.nodeType)of=of.host;else break}}}}class bg extends Fc{constructor(H){super();this.height=H}toDOM(){let H=document.createElement("div");this.updateDOM(H);return H}eq(H){return H.height==this.height}updateDOM(H){H.style.height=this.height+"px";return!0}get estimatedHeight(){return this.height}}let rh=class{constructor(){this.changes=[]}compareRange(H,V){ma(H,V,this.changes)}comparePoint(H,V){ma(H,V,this.changes)}};class Ng{setSelectionOrigin(H){this.lastSelectionOrigin= -H;this.lastSelectionTime=Date.now()}constructor(H){this.view=H;this.lastScrollLeft=this.lastScrollTop=this.lastFocusTime=this.lastTouchTime=this.lastKeyTime=this.lastKeyCode=0;this.pendingIOSKey=void 0;this.lastSelectionOrigin=null;this.lastContextMenu=this.lastEscPress=this.lastSelectionTime=0;this.scrollHandlers=[];this.handlers=Object.create(null);this.composing=-1;this.compositionFirstChange=null;this.compositionEndedAt=0;this.compositionPendingChange=this.compositionPendingKey=!1;this.draggedContent= -this.mouseSelection=null;this.handleEvent=this.handleEvent.bind(this);this.notifiedFocused=H.hasFocus;fd.safari&&H.contentDOM.addEventListener("input",()=>null);fd.gecko&&Fb(H.contentDOM.ownerDocument)}handleEvent(H){t(this.view,H)&&!this.ignoreDuringComposition(H)&&("keydown"==H.type&&this.keydown(H)||this.runHandlers(H.type,H))}runHandlers(H,V){if(H=this.handlers[H]){for(let ba of H.observers)ba(this.view,V);for(let ba of H.handlers){if(V.defaultPrevented)break;if(ba(this.view,V)){V.preventDefault(); -break}}}}ensureHandlers(H){H=b(H);let V=this.handlers,ba=this.view.contentDOM;for(let Ca in H)if("scroll"!=Ca){let Pa=!H[Ca].handlers.length,wb=V[Ca];wb&&Pa!=!wb.handlers.length&&(ba.removeEventListener(Ca,this.handleEvent),wb=null);wb||ba.addEventListener(Ca,this.handleEvent,{passive:Pa})}for(let Ca in V)"scroll"==Ca||H[Ca]||ba.removeEventListener(Ca,this.handleEvent);this.handlers=H}keydown(H){this.lastKeyCode=H.keyCode;this.lastKeyTime=Date.now();if(9==H.keyCode&&Date.now()uh.indexOf(H.keyCode)&&(this.view.inputState.lastEscPress=0);if(fd.android&&fd.chrome&&!H.synthetic&&(13==H.keyCode||8==H.keyCode))return this.view.observer.delayAndroidKey(H.key,H.keyCode),!0;let V;if(fd.ios&&!H.synthetic&&!H.altKey&&!H.metaKey&&((V=Uc.find(ba=>ba.keyCode==H.keyCode))&&!H.ctrlKey||-1<"dthko".indexOf(H.key)&&H.ctrlKey&&!H.shiftKey))return this.pendingIOSKey=V||H,setTimeout(()=>this.flushIOSKey(),250),!0;229!=H.keyCode&&this.view.observer.forceFlush();return!1}flushIOSKey(){let H= -this.pendingIOSKey;if(!H)return!1;this.pendingIOSKey=void 0;return x(this.view.contentDOM,H.key,H.keyCode)}ignoreDuringComposition(H){return/^key/.test(H.type)?0Date.now()-this.compositionEndedAt?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(H){this.mouseSelection&&this.mouseSelection.destroy();this.mouseSelection=H}update(H){this.mouseSelection&&this.mouseSelection.update(H);this.draggedContent&&H.docChanged&&(this.draggedContent= -this.draggedContent.map(H.changes));H.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const Uc=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],uh=[16,17,18,20,91,92,224,225];class vh{constructor(H,V,ba,Ca){this.view=H;this.startEvent=V;this.style= -ba;this.mustSelect=Ca;this.scrollSpeed={x:0,y:0};this.scrolling=-1;this.lastEvent=V;this.scrollParent=r(H.contentDOM);this.atoms=H.state.facet(ph).map(Pa=>Pa(H));ba=H.contentDOM.ownerDocument;ba.addEventListener("mousemove",this.move=this.move.bind(this));ba.addEventListener("mouseup",this.up=this.up.bind(this));this.extend=V.shiftKey;this.multiple=H.state.facet(wc.EditorState.allowMultipleSelections)&&k(H,V);this.dragging=u(H,V)&&1==na(V)?null:!1}start(H){!1===this.dragging&&this.select(H)}move(H){var V; -if(0==H.buttons)return this.destroy();var ba;!(ba=this.dragging)&&(ba=null==this.dragging)&&(ba=this.startEvent,ba=10>Math.max(Math.abs(ba.clientX-H.clientX),Math.abs(ba.clientY-H.clientY)));if(!ba){this.select(this.lastEvent=H);var Ca=ba=0,Pa=(null===(V=this.scrollParent)||void 0===V?void 0:V.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight};V=Sa(this.view);H.clientX-V.left<=Pa.left+6?ba=-(.7*Math.max(0,Pa.left-H.clientX)+8):H.clientX+V.right>= -Pa.right-6&&(ba=.7*Math.max(0,H.clientX-Pa.right)+8);H.clientY-V.top<=Pa.top+6?Ca=-(.7*Math.max(0,Pa.top-H.clientY)+8):H.clientY+V.bottom>=Pa.bottom-6&&(Ca=.7*Math.max(0,H.clientY-Pa.bottom)+8);this.setScrollSpeed(ba,Ca)}}up(H){null==this.dragging&&this.select(this.lastEvent);this.dragging||H.preventDefault();this.destroy()}destroy(){this.setScrollSpeed(0,0);let H=this.view.contentDOM.ownerDocument;H.removeEventListener("mousemove",this.move);H.removeEventListener("mouseup",this.up);this.view.inputState.mouseSelection= -this.view.inputState.draggedContent=null}setScrollSpeed(H,V){this.scrollSpeed={x:H,y:V};H||V?0>this.scrolling&&(this.scrolling=setInterval(()=>this.scroll(),50)):-1this.select(this.lastEvent),20)}}const Mf=Object.create(null),wg=Object.create(null),Cg=fd.ie&&15>fd.ie_version||fd.ios&&604>fd.webkit_version;wg.scroll=H=>{H.inputState.lastScrollTop=H.scrollDOM.scrollTop;H.inputState.lastScrollLeft=H.scrollDOM.scrollLeft};Mf.keydown=(H,V)=>{H.inputState.setSelectionOrigin("select"); -27==V.keyCode&&(H.inputState.lastEscPress=Date.now());return!1};wg.touchstart=(H,V)=>{H.inputState.lastTouchTime=Date.now();H.inputState.setSelectionOrigin("select.pointer")};wg.touchmove=H=>{H.inputState.setSelectionOrigin("select.pointer")};Mf.mousedown=(H,V)=>{H.observer.flush();if(H.inputState.lastTouchTime>Date.now()-2E3)return!1;var ba=null;for(var Ca of H.state.facet(Ld))if(ba=Ca(H,V))break;ba||0!=V.button||(ba=oa(H,V));return ba&&(Ca=!H.hasFocus,H.inputState.startMouseSelection(new vh(H,V, -ba,Ca)),Ca&&H.observer.ignore(()=>q(H.contentDOM)),ba=H.inputState.mouseSelection)?(ba.start(V),!1===ba.dragging):!1};const id=fd.ie&&11>=fd.ie_version;let zg=null,th=0,sh=0;Mf.dragstart=(H,V)=>{let {selection:{main:ba}}=H.state;if(V.target.draggable){var Ca=H.docView.nearest(V.target);if(Ca&&Ca.isWidget){var Pa=Ca.posAtStart;Ca=Pa+Ca.length;if(Pa>=ba.to||Ca<=ba.from)ba=wc.EditorSelection.range(Pa,Ca)}}({inputState:Pa}=H);Pa.mouseSelection&&(Pa.mouseSelection.dragging=!0);Pa.draggedContent=ba;V.dataTransfer&& -(V.dataTransfer.setData("Text",H.state.sliceDoc(ba.from,ba.to)),V.dataTransfer.effectAllowed="copyMove");return!1};Mf.dragend=H=>{H.inputState.draggedContent=null;return!1};Mf.drop=(H,V)=>{if(!V.dataTransfer)return!1;if(H.state.readOnly)return!0;let ba=V.dataTransfer.files;if(ba&&ba.length){let Pa=Array(ba.length),wb=0,Vb=()=>{++wb==ba.length&&xa(H,V,Pa.filter(oc=>null!=oc).join(H.state.lineBreak),!1)};for(let oc=0;oc{/[\x00-\x08\x0e-\x1f]{2}/.test(yc.result)|| -(Pa[oc]=yc.result);Vb()};yc.readAsText(ba[oc])}return!0}let Ca=V.dataTransfer.getData("Text");return Ca?(xa(H,V,Ca,!0),!0):!1};Mf.paste=(H,V)=>{if(H.state.readOnly)return!0;H.observer.flush();if(V=Cg?null:V.clipboardData)return Q(H,V.getData("text/plain")||V.getData("text/uri-text")),!0;I(H);return!1};let qg=null;Mf.copy=Mf.cut=(H,V)=>{var ba=H.state;let Ca=[],Pa=[];var wb=!1;for(var Vb of ba.selection.ranges)Vb.empty||(Ca.push(ba.sliceDoc(Vb.from,Vb.to)),Pa.push(Vb));if(!Ca.length){wb=-1;for(let {from:vd}of ba.selection.ranges)Vb= -ba.doc.lineAt(vd),Vb.number>wb&&(Ca.push(Vb.text),Pa.push({from:Vb.from,to:Math.min(ba.doc.length,Vb.to+1)})),wb=Vb.number;wb=!0}ba={text:Ca.join(ba.lineBreak),ranges:Pa,linewise:wb};let {text:oc,ranges:yc,linewise:$c}=ba;if(!oc&&!$c)return!1;qg=$c?oc:null;"cut"!=V.type||H.state.readOnly||H.dispatch({changes:yc,scrollIntoView:!0,userEvent:"delete.cut"});if(V=Cg?null:V.clipboardData)return V.clearData(),V.setData("text/plain",oc),!0;Fa(H,oc);return!1};const Vg=wc.Annotation.define();wg.focus=H=>{H.inputState.lastFocusTime= -Date.now();H.scrollDOM.scrollTop||!H.inputState.lastScrollTop&&!H.inputState.lastScrollLeft||(H.scrollDOM.scrollTop=H.inputState.lastScrollTop,H.scrollDOM.scrollLeft=H.inputState.lastScrollLeft);hb(H)};wg.blur=H=>{H.observer.clearSelectionRange();hb(H)};wg.compositionstart=wg.compositionupdate=H=>{null==H.inputState.compositionFirstChange&&(H.inputState.compositionFirstChange=!0);0>H.inputState.composing&&(H.inputState.composing=0)};wg.compositionend=H=>{H.inputState.composing=-1;H.inputState.compositionEndedAt= -Date.now();H.inputState.compositionPendingKey=!0;H.inputState.compositionPendingChange=0H.observer.flush()):setTimeout(()=>{0>H.inputState.composing&&H.docView.hasComposition&&H.update([])},50)};wg.contextmenu=H=>{H.inputState.lastContextMenu=Date.now()};Mf.beforeinput=(H,V)=>{var ba;let Ca;if(fd.chrome&&fd.android&& -(Ca=Uc.find(Pa=>Pa.inputType==V.inputType))&&(H.observer.delayAndroidKey(Ca.key,Ca.keyCode),"Backspace"==Ca.key||"Delete"==Ca.key)){let Pa=(null===(ba=window.visualViewport)||void 0===ba?void 0:ba.height)||0;setTimeout(()=>{var wb;((null===(wb=window.visualViewport)||void 0===wb?void 0:wb.height)||0)>Pa+10&&H.hasFocus&&(H.contentDOM.blur(),H.focus())},100)}return!1};const Ab=new Set,cc=["pre-wrap","normal","pre-line","break-spaces"];class Gc{constructor(H){this.lineWrapping=H;this.doc=wc.Text.empty; -this.heightSamples={};this.lineHeight=14;this.charWidth=7;this.textHeight=14;this.lineLength=30;this.heightChanged=!1}heightForGap(H,V){let ba=this.doc.lineAt(V).number-this.doc.lineAt(H).number+1;this.lineWrapping&&(ba+=Math.max(0,Math.ceil((V-H-ba*this.lineLength*.5)/this.lineLength)));return this.lineHeight*ba}heightForLine(H){return this.lineWrapping?(1+Math.max(0,Math.ceil((H-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(H){this.doc=H;return this}mustRefreshForWrapping(H){return-1< -cc.indexOf(H)!=this.lineWrapping}mustRefreshForHeights(H){let V=!1;for(let ba=0;baCa?ba++:this.heightSamples[Math.floor(10*Ca)]||(V=!0,this.heightSamples[Math.floor(10*Ca)]=!0)}return V}refresh(H,V,ba,Ca,Pa,wb){let Vb=-1ba?V++:this.heightSamples[Math.floor(10* -ba)]=!0;return H}}class gd{constructor(H,V){this.from=H;this.heights=V;this.index=0}get more(){return this.index=$c?Vb:Pa.lineAt($c,Md.ByPosNoHeight,ba,0,0);sd+=Jd.to-$c;for($c= -Jd.to;02*Pa){var wb=H[V-1];wb.break?H.splice(--V,1,wb.left,null,wb.right):H.splice(--V,1,wb.left,wb.right);ba+=1+wb.break;Ca-=wb.size}else if(Pa> -2*Ca)wb=H[ba],wb.break?H.splice(ba,1,wb.left,null,wb.right):H.splice(ba,1,wb.left,wb.right),ba+=2+wb.break,Pa-=wb.size;else break;else Ca=Pa&&wb(this.blockAt(0,ba,Ca,Pa))}updateHeight(H,V=0,ba,Ca){Ca&&Ca.from<=V&&Ca.more&&this.setHeight(H,Ca.heights[Ca.index++]);this.outdated=!1;return this}toString(){return`block(${this.length})`}}class ef extends Pd{constructor(H,V){super(H,V,null);this.breaks=this.widgetHeight=this.collapsed=0}blockAt(H,V,ba,Ca){return new Zd(Ca,this.length,ba,this.height,this.breaks)}replace(H,V,ba){H=ba[0];return 1==ba.length&&(H instanceof ef||H instanceof -qf&&H.flags&4)&&10>Math.abs(this.length-H.length)?(H instanceof qf?H=new ef(H.length,this.height):H.height=this.height,this.outdated||(H.outdated=!1),H):qe.of(ba)}updateHeight(H,V=0,ba=!1,Ca){Ca&&Ca.from<=V&&Ca.more?this.setHeight(H,Ca.heights[Ca.index++]):(ba||this.outdated)&&this.setHeight(H,Math.max(this.widgetHeight,H.heightForLine(this.length-this.collapsed))+this.breaks*H.lineHeight);this.outdated=!1;return this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight? -":"+this.widgetHeight:""})`}}class qf extends qe{constructor(H){super(H,0)}heightMetrics(H,V){let ba=H.doc.lineAt(V).number;V=H.doc.lineAt(V+this.length).number;let Ca=V-ba+1,Pa=0;if(H.lineWrapping){let wb=Math.min(this.height,H.lineHeight*Ca);H=wb/Ca;this.length>Ca+1&&(Pa=(this.height-wb)/(this.length-Ca-1))}else H=this.height/Ca;return{firstLine:ba,lastLine:V,perLine:H,perChar:Pa}}blockAt(H,V,ba,Ca){let {firstLine:Pa,lastLine:wb,perLine:Vb,perChar:oc}=this.heightMetrics(V,Ca);if(V.lineWrapping)return V= -V.doc.lineAt(Ca+Math.round(Math.max(0,Math.min(1,(H-ba)/this.height))*this.length)),Ca=Vb+V.length*oc,new Zd(V.from,V.length,Math.max(ba,H-Ca/2),Ca,0);H=Math.max(0,Math.min(wb-Pa,Math.floor((H-ba)/Vb)));let {from:yc,length:$c}=V.doc.line(Pa+H);return new Zd(yc,$c,ba+Vb*H,Vb,0)}lineAt(H,V,ba,Ca,Pa){if(V==Md.ByHeight)return this.blockAt(H,ba,Ca,Pa);if(V==Md.ByPosNoHeight){let {from:yc,to:$c}=ba.doc.lineAt(H);return new Zd(yc,$c-yc,0,0,0)}let {firstLine:wb,perLine:Vb,perChar:oc}=this.heightMetrics(ba, -Pa);H=ba.doc.lineAt(H);V=Vb+H.length*oc;ba=H.number-wb;return new Zd(H.from,H.length,Math.max(Ca,Math.min(Ca+Vb*ba+oc*(H.from-Pa-ba),Ca+this.height-V)),V,0)}forEachLine(H,V,ba,Ca,Pa,wb){H=Math.max(H,Pa);V=Math.min(V,Pa+this.length);let {firstLine:Vb,perLine:oc,perChar:yc}=this.heightMetrics(ba,Pa);for(let vd=H,sd=Ca;vd<=V;){Ca=ba.doc.lineAt(vd);if(vd==H){var $c=Ca.number-Vb;sd+=oc*$c+yc*(H-Pa-$c)}$c=oc+yc*Ca.length;wb(new Zd(Ca.from,Ca.length,sd,$c,0));sd+=$c;vd=Ca.to+1}}replace(H,V,ba){V=this.length- -V;if(0V&&Vb.push((new qf(Ca.from-V-1)).updateHeight(H, -V));oc<=Pa&&Ca.more;){let yc=H.doc.lineAt(oc).length;Vb.length&&Vb.push(null);var wb=Ca.heights[Ca.index++];-1==ba?ba=wb:.001<=Math.abs(wb-ba)&&(ba=-2);wb=new ef(yc,wb);wb.outdated=!1;Vb.push(wb);oc+=yc+1}oc<=Pa&&Vb.push(null,(new qf(Pa-oc)).updateHeight(H,oc));Ca=qe.of(Vb);if(0>ba||.001<=Math.abs(Ca.height-this.height)||.001<=Math.abs(ba-this.heightMetrics(H,V).perLine))H.heightChanged=!0;return Ca}if(ba||this.outdated)this.setHeight(H,H.heightForGap(V,V+this.length)),this.outdated=!1;return this}toString(){return`gap(${this.length})`}} -class Of extends qe{constructor(H,V,ba){super(H.length+V+ba.length,H.height+ba.height,V|(H.outdated||ba.outdated?2:0));this.left=H;this.right=ba;this.size=H.size+ba.size}get break(){return this.flags&1}blockAt(H,V,ba,Ca){let Pa=ba+this.left.height;return HVb))return H;V=V==Md.ByPosNoHeight?Md.ByPosNoHeight:Md.ByPos;return oc?H.join(this.right.lineAt(Vb,V,ba,wb,Vb)):this.left.lineAt(Vb,V,ba,Ca,Pa).join(H)}forEachLine(H,V,ba,Ca,Pa,wb){let Vb=Ca+this.left.height,oc=Pa+this.left.length+this.break;if(this.break)H=oc&&this.right.forEachLine(H,V,ba,Vb,oc,wb);else{let yc=this.lineAt(oc,Md.ByPos,ba,Ca,Pa);H= -H&&yc.from<=V&&wb(yc);V>yc.to&&this.right.forEachLine(yc.to+1,V,ba,Vb,oc,wb)}}replace(H,V,ba){var Ca=this.left.length+this.break;if(Vthis.left.length)return this.balanced(this.left,this.right.replace(H-Ca,V-Ca,ba));Ca=[];0=ba&&V.push(null));H>ba&&this.right.decomposeLeft(H-ba,V)}decomposeRight(H,V){let ba=this.left.length,Ca=ba+this.break;if(H>=Ca)return this.right.decomposeRight(H-Ca,V);H2*V.size||V.size>2*H.size)return qe.of(this.break?[H,null,V]:[H,V]);this.left=H;this.right=V;this.height=H.height+V.height;this.outdated=H.outdated|| -V.outdated;this.size=H.size+V.size;this.length=H.length+this.break+V.length;return this}updateHeight(H,V=0,ba=!1,Ca){let {left:Pa,right:wb}=this,Vb=V+Pa.length+this.break,oc=null;Ca&&Ca.from<=V+Pa.length&&Ca.more?oc=Pa=Pa.updateHeight(H,V,ba,Ca):Pa.updateHeight(H,V,ba);Ca&&Ca.from<=Vb+wb.length&&Ca.more?oc=wb=wb.updateHeight(H,Vb,ba,Ca):wb.updateHeight(H,Vb,ba);if(oc)return this.balanced(Pa,wb);this.height=this.left.height+this.right.height;this.outdated=!1;return this}toString(){return this.left+ -(this.break?" ":"-")+this.right}}class rg{constructor(H,V){this.pos=H;this.oracle=V;this.nodes=[];this.lineEnd=this.lineStart=-1;this.covering=null;this.writtenTo=H}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(H,V){if(-1this.pos||!this.isCovered)&&this.nodes.push(new ef(H-this.pos,-1));this.writtenTo=H;V>H&&(this.nodes.push(null), -this.writtenTo++,this.lineStart=-1)}this.pos=V}point(H,V,ba){if(HCa&&(Ca=this.oracle.lineHeight);H=V-H;ba.block?this.addBlock(new Pd(H,Ca,ba)):(H||Pa||5<=Ca)&&this.addLineDeco(Ca,Pa,H)}else V>H&&this.span(H,V);-1H&&this.nodes.push(new ef(this.pos-H,-1));this.writtenTo=this.pos}}blankContent(H,V){let ba=new qf(V-H);this.oracle.doc.lineAt(H).to==V&&(ba.flags|=4);return ba}ensureLine(){this.enterLine();var H=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(H instanceof ef)return H;H=new ef(0,-1);this.nodes.push(H);return H}addBlock(H){this.enterLine(); -let V=H.deco;V&&0"function"!=typeof ba&&"cm-lineWrapping"==ba.class);this.heightOracle=new Gc(V);this.stateDeco=H.facet(Hg).filter(ba=>"function"!=typeof ba);this.heightMap=qe.empty().applyChanges(this.stateDeco,wc.Text.empty,this.heightOracle.setDoc(H.doc),[new Kg(0,0,0,H.doc.length)]);this.viewport=this.getViewport(0,null);this.updateViewportLines();this.updateForViewport();this.lineGaps= -this.ensureLineGaps([]);this.lineGapDeco=od.set(this.lineGaps.map(ba=>ba.draw(this,!1)));this.computeVisibleRanges()}updateForViewport(){let H=[this.viewport],{main:V}=this.state.selection;for(let ba=0;1>=ba;ba++){let Ca=ba?V.head:V.anchor;if(!H.some(({from:Pa,to:wb})=>Ca>=Pa&&Ca<=wb)){let {from:Pa,to:wb}=this.lineBlockAt(Ca);H.push(new dd(Pa,wb))}}this.viewports=H.sort((ba,Ca)=>ba.from-Ca.from);this.scaler=7E6>=this.heightMap.height?Ih:new Ch(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines= -[];this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,H=>{this.viewportLines.push(1==this.scaler.scale?H:gc(H,this.scaler))})}update(H,V=null){this.state=H.state;var ba=this.stateDeco;this.stateDeco=this.state.facet(Hg).filter(wb=>"function"!=typeof wb);ba=Kg.extendWithRanges(H.changedRanges,hc(ba,this.stateDeco,H?H.changes:wc.ChangeSet.empty(this.state.doc.length)));var Ca=this.heightMap.height;let Pa=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop); -this.heightMap=this.heightMap.applyChanges(this.stateDeco,H.startState.doc,this.heightOracle.setDoc(this.state.doc),ba);this.heightMap.height!=Ca&&(H.flags|=2);Pa?(this.scrollAnchorPos=H.changes.mapPos(Pa.from,-1),this.scrollAnchorHeight=Pa.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);ba=ba.length?this.mapViewport(this.viewport,H.changes):this.viewport;if(V&&(V.range.headba.to)||!this.viewportIsAppropriate(ba))ba=this.getViewport(0,V);Ca=!H.changes.empty|| -H.flags&2||ba.from!=this.viewport.from||ba.to!=this.viewport.to;this.viewport=ba;this.updateForViewport();Ca&&this.updateViewportLines();(this.lineGaps.length||4E3vd||!isFinite(vd)||1>Math.abs(Vb.width-V.offsetWidth))vd=1;if(.995sd||!isFinite(sd)||1>Math.abs(Vb.height-V.offsetHeight))sd=1;if(this.scaleX!=vd||this.scaleY!=sd)this.scaleX=vd,this.scaleY=sd,yc|=8,wb=oc=!0}vd=(parseInt(ba.paddingTop)||0)*this.scaleY;ba=(parseInt(ba.paddingBottom)||0)*this.scaleY;if(this.paddingTop!=vd||this.paddingBottom!=ba)this.paddingTop=vd,this.paddingBottom=ba,yc|=10;this.editorWidth!=H.scrollDOM.clientWidth&&(Ca.lineWrapping&&(oc=!0),this.editorWidth= -H.scrollDOM.clientWidth,yc|=8);ba=H.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=ba&&(this.scrollAnchorHeight=-1,this.scrollTop=ba);this.scrolledToBottom=B(H.scrollDOM);vd=(this.printing?ia:pb)(V,this.paddingTop);V=vd.top-this.pixelViewport.top;ba=vd.bottom-this.pixelViewport.bottom;this.pixelViewport=vd;vd=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;vd!=this.inView&&(this.inView=vd)&&(oc=!0);if(!this.inView&&!this.scrollTarget)return 0;vd= -Vb.width;if(this.contentDOMWidth!=vd||this.editorHeight!=H.scrollDOM.clientHeight)this.contentDOMWidth=Vb.width,this.editorHeight=H.scrollDOM.clientHeight,yc|=8;if(oc){Vb=H.docView.measureVisibleLineHeights(this.viewport);Ca.mustRefreshForHeights(Vb)&&(wb=!0);if(wb||Ca.lineWrapping&&Math.abs(vd-this.contentDOMWidth)>Ca.charWidth){let {lineHeight:sd,charWidth:Jd,textHeight:de}=H.docView.measureTextSize();if(wb=0V&&0>ba&&($c=Math.min(V,ba));Ca.heightChanged=!1;for(let sd of this.viewports)Pa=sd.from==this.viewport.from?Vb:H.docView.measureVisibleLineHeights(sd),this.heightMap=(wb?qe.empty().applyChanges(this.stateDeco,wc.Text.empty,this.heightOracle,[new Kg(0,0,0,H.state.doc.length)]):this.heightMap).updateHeight(Ca,0,wb,new gd(sd.from,Pa));Ca.heightChanged&&(yc|=2)}if(Ca=!this.viewportIsAppropriate(this.viewport,$c)||this.scrollTarget&&(this.scrollTarget.range.head -this.viewport.to))this.viewport=this.getViewport($c,this.scrollTarget);this.updateForViewport();(yc&2||Ca)&&this.updateViewportLines();(this.lineGaps.length||4E3Vb.to){ba=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top);let yc=H.lineAt(oc,Md.ByPos,Ca,0,0);V="center"==V.y?(yc.top+yc.bottom)/2-ba/2:"start"==V.y||"nearest"==V.y&&oc=Vb+Math.max(10,Math.min(ba,250)))&&Ca>wb-2E3&&Pa>1,wb=Ca<<1;if(this.defaultTextDirection!=m.Direction.LTR&&!ba)return[]; -let Vb=[],oc=(sd,Jd,de,Re)=>{if(!(Jd-sdsd&&nfnf.from>=de.from&&nf.to<=de.to&&Math.abs(nf.from-sd)nf.fromSf));Ve||(Jdnf.from<=Jd&&nf.to>=Jd)&&(Ve=V.moveToLineBoundary(wc.EditorSelection.cursor(Jd),!1,!0).head,Ve>sd&&(Jd=Ve)),Ve=new jh(sd,Jd,this.gapSize(de, -sd,Jd,Re)));Vb.push(Ve)}};for(let sd of this.viewportLines){if(sd.lengthsd.from&&oc(sd.from,yc,sd,Jd);$cV.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){var H=this.stateDeco;this.lineGaps.length&&(H=H.concat(this.lineGapDeco));let V=[];wc.RangeSet.spans(H,this.viewport.from,this.viewport.to,{span(ba,Ca){V.push({from:ba,to:Ca})},point(){}},20);H=V.length!=this.visibleRanges.length||this.visibleRanges.some((ba,Ca)=>ba.from!=V[Ca].from||ba.to!=V[Ca].to);this.visibleRanges=V;return H?4:0}lineBlockAt(H){return H>=this.viewport.from&& -H<=this.viewport.to&&this.viewportLines.find(V=>V.from<=H&&V.to>=H)||gc(this.heightMap.lineAt(H,Md.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(H){return gc(this.heightMap.lineAt(this.scaler.fromDOM(H),Md.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(H){let V=this.lineBlockAtHeight(H+8);return V.from>=this.viewport.from||200{let yc=V.lineAt(Vb,Md.ByPos,H,0,0).top,$c=V.lineAt(oc,Md.ByPos,H,0,0).bottom;Ca+=$c-yc;return{from:Vb,to:oc,top:yc,bottom:$c,domTop:0,domBottom:0}}); -this.scale=(7E6-Ca)/(V.height-Ca);for(let Vb of this.viewports)Vb.domTop=wb+(Vb.top-Pa)*this.scale,wb=Vb.domBottom=Vb.domTop+(Vb.bottom-Vb.top),Pa=Vb.bottom}toDOM(H){for(let V=0,ba=0,Ca=0;;V++){let Pa=VH.join(" ")}),hi=wc.Facet.define({combine:H=>-1Ca)&&this.lineBreak();H=Pa}this.findPointBefore(ba,V);return this}readTextNode(H){let V=H.nodeValue;for(var ba of this.points)ba.node==H&&(ba.pos=this.text.length+Math.min(ba.offset,V.length));for(let Ca=0,Pa=this.lineSeparator?null:/\r\n?|\n/g;;){ba=-1;let wb=1,Vb;if(this.lineSeparator)ba=V.indexOf(this.lineSeparator,Ca),wb=this.lineSeparator.length;else if(Vb=Pa.exec(V))ba=Vb.index,wb=Vb[0].length;this.append(V.slice(Ca,0>ba?V.length:ba));if(0>ba)break; -this.lineBreak();if(1this.text.length&&(oc.pos-=wb-1);Ca=ba+wb}}readNode(H){if(!H.cmIgnore){var V=ic.get(H);V=V&&V.overrideDOMText;if(null!=V)for(this.findPointInside(H,V.length),H=V.iter();!H.next().done;)H.lineBreak?this.lineBreak():this.append(H.value);else 3==H.nodeType?this.readTextNode(H):"BR"==H.nodeName?H.nextSibling&&this.lineBreak():1==H.nodeType&&this.readRange(H.firstChild,null)}}findPointBefore(H,V){for(let ba of this.points)ba.node==H&& -H.childNodes[ba.offset]==V&&(ba.pos=this.text.length)}findPointInside(H,V){for(let oc of this.points)if(3==H.nodeType?oc.node==H:H.contains(oc.node)){var ba=oc,Ca=this.text.length;a:{var Pa=H;for(var wb=oc.node,Vb=oc.offset;;){if(!wb||Vb=fd.ie_version;class Bi{constructor(H){this.view=H;this.active=!1;this.selectionRange=new Kd;this.selectionChanged=!1;this.resizeTimeout=this.delayedFlush=-1;this.queue=[];this.delayedAndroidKey=null;this.flushingAndroidKey=-1;this.lastChange=0;this.scrollTargets=[];this.resizeScroll=this.intersection=null;this.intersecting=!1;this.gapIntersection=null;this.gaps=[];this.parentCheck=-1;this.dom=H.contentDOM;this.observer= -new MutationObserver(V=>{for(let ba of V)this.queue.push(ba);(fd.ie&&11>=fd.ie_version||fd.ios&&H.composing)&&V.some(ba=>"childList"==ba.type&&ba.removedNodes.length||"characterData"==ba.type&&ba.oldValue.length>ba.target.nodeValue.length)?this.flushSoon():this.flush()});hh&&(this.onCharData=V=>{this.queue.push({target:V.target,type:"characterData",oldValue:V.prevValue});this.flushSoon()});this.onSelectionChange=this.onSelectionChange.bind(this);this.onResize=this.onResize.bind(this);this.onPrint= -this.onPrint.bind(this);this.onScroll=this.onScroll.bind(this);"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver(()=>{var V;if((null===(V=this.view.docView)||void 0===V?void 0:V.lastUpdate){0>this.parentCheck&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this), -1E3));if(0{if(0this.resizeTimeout&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1;this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0;this.view.measure();setTimeout(()=>{this.view.viewState.printing=!1;this.view.requestMeasure()},500)}updateGaps(H){if(this.gapIntersection&&(H.length!=this.gaps.length||this.gaps.some((V,ba)=>V!=H[ba]))){this.gapIntersection.disconnect(); -for(let V of H)this.gapIntersection.observe(V);this.gaps=H}}onSelectionChange(H){let V=this.selectionChanged;if(this.readSelectionRange()&&!this.delayedAndroidKey){var {view:ba}=this,Ca=this.selectionRange;if(ba.state.facet(lg)?ba.root.activeElement==this.dom:p(ba.dom,Ca)){var Pa=Ca.anchorNode&&ba.docView.nearest(Ca.anchorNode);Pa&&Pa.ignoreEvent(H)?V||(this.selectionChanged=!1):(fd.ie&&11>=fd.ie_version||fd.android&&fd.chrome)&&!ba.state.selection.main.empty&&Ca.focusNode&&f(Ca.focusNode,Ca.focusOffset, -Ca.anchorNode,Ca.anchorOffset)?this.flushSoon():this.flush(!1)}}}readSelectionRange(){let {view:H}=this;var V;if(V=fd.safari&&11==H.root.nodeType){for(V=this.dom.ownerDocument.activeElement;V&&V.shadowRoot;)V=V.shadowRoot.activeElement;V=V==this.dom}V=V&&Ba(this.view)||A(H.root);if(!V||this.selectionRange.eq(V))return!1;let ba=p(this.dom,V);var Ca;if(Ca=ba&&!this.selectionChanged&&H.inputState.lastFocusTime>Date.now()-200&&H.inputState.lastTouchTime{let Ca=this.delayedAndroidKey;Ca&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=Ca.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&Ca.force&&x(this.dom,Ca.key,Ca.keyCode))}));this.delayedAndroidKey&&"Enter"!=H||(this.delayedAndroidKey={key:H,keyCode:V,force:this.lastChangethis.delayedFlush&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1;this.flush()}))}forceFlush(){0<=this.delayedFlush&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1);this.flush()}pendingRecords(){for(let H of this.observer.takeRecords())this.queue.push(H); -return this.queue}processRecords(){var H=this.pendingRecords();H.length&&(this.queue=[]);let V=-1,ba=-1,Ca=!1;for(let Pa of H)if(H=this.readMutation(Pa))H.typeOver&&(Ca=!0),-1==V?{from:V,to:ba}=H:(V=Math.min(H.from,V),ba=Math.max(H.to,ba));return{from:V,to:ba,typeOver:Ca}}readChange(){let {from:H,to:V,typeOver:ba}=this.processRecords();var Ca=this.selectionChanged&&p(this.dom,this.selectionRange);if(0>H&&!Ca)return null;-1ba.forEach(Ca=>V(Ca,this)))||(ba=>this.update(ba));this.dispatch=this.dispatch.bind(this); -this._root=H.root||y(H.parent)||document;this.viewState=new kh(H.state||wc.EditorState.create(H));H.scrollTo&&H.scrollTo.is(gg)&&(this.viewState.scrollTarget=H.scrollTo.value.clip(this.viewState.state));this.plugins=this.state.facet(Bf).map(ba=>new dg(ba));for(let ba of this.plugins)ba.update(this);this.observer=new Bi(this);this.inputState=new Ng(this);this.inputState.ensureHandlers(this.plugins);this.docView=new yg(this);this.mountStyles();this.updateAttrs();this.updateState=0;this.requestMeasure(); -H.parent&&H.parent.appendChild(this.dom)}dispatch(...H){H=1==H.length&&H[0]instanceof wc.Transaction?H:1==H.length&&Array.isArray(H[0])?H[0]:[this.state.update(...H)];this.dispatchTransactions(H,this)}update(H){if(0!=this.updateState)throw Error("Calls to EditorView.update are not allowed while an update is in progress");let V=!1,ba=!1;var Ca=this.state;for(var Pa of H){if(Pa.startState!=Ca)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state."); -Ca=Pa.state}if(this.destroyed)this.viewState.state=Ca;else{var wb=this.hasFocus;Pa=0;var Vb=null;H.some($c=>$c.annotation(Vg))?(this.inputState.notifiedFocused=wb,Pa=1):wb!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=wb,(Vb=Wa(Ca,wb))||(Pa=1));var oc=this.observer.delayedAndroidKey,yc=null;if(oc){if(this.observer.clearDelayedAndroidKey(),(yc=this.observer.readChange())&&!this.state.doc.eq(Ca.doc)||!this.state.selection.eq(Ca.selection))yc=null}else this.observer.clear();if(Ca.facet(wc.EditorState.phrases)!= -this.state.facet(wc.EditorState.phrases))return this.setState(Ca);Ca=Xg.create(this,Ca,H);Ca.flags|=Pa;Pa=this.viewState.scrollTarget;try{this.updateState=2;for(let $c of H){Pa&&(Pa=Pa.map($c.changes));if($c.scrollIntoView){let {main:vd}=$c.state.selection;Pa=new Af(vd.empty?vd:wc.EditorSelection.cursor(vd.head,vd.head>vd.anchor?-1:1))}for(let vd of $c.effects)vd.is(gg)&&(Pa=vd.value.clip(this.state))}this.viewState.update(Ca,Pa);this.bidiCache=pc.update(this.bidiCache,Ca.changes);Ca.empty||(this.updatePlugins(Ca), -this.inputState.update(Ca));V=this.docView.update(Ca);this.state.facet(Bh)!=this.styleModules&&this.mountStyles();ba=this.updateAttrs();this.showAnnouncements(H);this.docView.updateSelection(V,H.some($c=>$c.isUserEvent("select.pointer")))}finally{this.updateState=0}Ca.startState.facet(Wh)!=Ca.state.facet(Wh)&&(this.viewState.mustMeasureContent=!0);(V||ba||Pa||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure();if(!Ca.empty)for(let $c of this.state.facet(He))try{$c(Ca)}catch(vd){Ga(this.state, -vd,"update listener")}(Vb||yc)&&Promise.resolve().then(()=>{Vb&&this.state==Vb.startState&&this.dispatch(Vb);yc&&!da(this,yc)&&oc.force&&x(this.contentDOM,oc.key,oc.keyCode)})}}setState(H){if(0!=this.updateState)throw Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)this.viewState.state=H;else{this.updateState=2;var V=this.hasFocus;try{for(let ba of this.plugins)ba.destroy(this);this.viewState=new kh(H);this.plugins=H.facet(Bf).map(ba=>new dg(ba)); -this.pluginMap.clear();for(let ba of this.plugins)ba.update(this);this.docView=new yg(this);this.inputState.ensureHandlers(this.plugins);this.mountStyles();this.updateAttrs();this.bidiCache=[]}finally{this.updateState=0}V&&this.focus();this.requestMeasure()}}updatePlugins(H){let V=H.startState.facet(Bf),ba=H.state.facet(Bf);if(V!=ba){var Ca=[];for(let wb of ba){var Pa=V.indexOf(wb);0>Pa?Ca.push(new dg(wb)):(Pa=this.plugins[Pa],Pa.mustUpdate=H,Ca.push(Pa))}for(let wb of this.plugins)wb.mustUpdate!= -H&&wb.destroy(this);this.plugins=Ca;this.pluginMap.clear()}else for(Ca of this.plugins)Ca.mustUpdate=H;for(H=0;HPa)if(B(V))Ca=-1,Pa=this.viewState.heightMap.height;else{let sd=this.viewState.scrollAnchorAt(ba);Ca=sd.from;Pa=sd.top}this.updateState=1;let Vb=this.viewState.measure(this);if(!Vb&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(5{try{return sd.read(this)}catch(Jd){return Ga(this.state,Jd),Mc}}),$c=Xg.create(this,this.state,[]),vd=!1;$c.flags|=Vb;H?H.flags|=Vb:H=$c;this.updateState=2;$c.empty||(this.updatePlugins($c),this.inputState.update($c),this.updateAttrs(),vd=this.docView.update($c));for(let sd=0;sdCa?this.viewState.heightMap.height:this.viewState.lineBlockAt(Ca).top)-Pa;if(1sd){ba+=sd;V.scrollTop=ba/this.scaleY;Pa=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(H&&!H.empty)for(let wb of this.state.facet(He))wb(H)}}get themeClasses(){return wh+ -" "+(this.state.facet(hi)?Tf:Lh)+" "+this.state.facet(Wh)}updateAttrs(){let H=Qa(this,Hh,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),V={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(lg)?"true":"false",class:"cm-content",style:`${fd.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(V["aria-readonly"]="true");Qa(this,Xf,V);let ba=this.observer.ignore(()=>{let Ca=Ja(this.contentDOM, -this.contentAttrs,V),Pa=Ja(this.dom,this.editorAttrs,H);return Ca||Pa});this.editorAttrs=H;this.contentAttrs=V;return ba}showAnnouncements(H){let V=!0;for(let ba of H)for(let Ca of ba.effects)Ca.is(Qd.announce)&&(V&&(this.announceDOM.textContent=""),V=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=Ca.value)}mountStyles(){this.styleModules=this.state.facet(Bh);let H=this.state.facet(Qd.cspNonce);Dd.StyleModule.mount(this.root,this.styleModules.concat(Yg).reverse(),H?{nonce:H}: -void 0)}readMeasured(){if(2==this.updateState)throw Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&-1this.measureScheduled&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure()));if(H&&!(-1ba.spec==H)||null);return V&&V.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(H){this.readMeasured();return this.viewState.elementAtHeight(H)}lineBlockAtHeight(H){this.readMeasured(); -return this.viewState.lineBlockAtHeight(H)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(H){return this.viewState.lineBlockAt(H)}get contentHeight(){return this.viewState.contentHeight}moveByChar(H,V,ba){return Nb(this,H,Xb(this,H,V,ba))}moveByGroup(H,V){return Nb(this,H,Xb(this,H,V,ba=>cd(this,H.head,ba)))}moveToLineBoundary(H,V,ba=!0){a:{let Ca=Yc(this,H.head);if(H=ba&&Ca.type==m.BlockType.Text&&(this.lineWrapping||Ca.widgetLineBreaks)?this.coordsAtPos(0>H.assoc&&H.head> -Ca.from?H.head-1:H.head):null){ba=this.dom.getBoundingClientRect();let Pa=this.textDirectionAt(Ca.from);H=this.posAtCoords({x:V==(Pa==m.Direction.LTR)?ba.right-1:ba.left+1,y:(H.top+H.bottom)/2});if(null!=H){V=wc.EditorSelection.cursor(H,V?-1:1);break a}}V=wc.EditorSelection.cursor(V?Ca.to:Ca.from,V?-1:1)}return V}moveVertically(H,V,ba){a:{var Ca=H.head;let yc=V?1:-1;if(Ca==(V?this.state.doc.length:0))V=wc.EditorSelection.cursor(Ca,H.assoc);else{V=H.goalColumn;var Pa=this.contentDOM.getBoundingClientRect(), -wb=this.coordsAtPos(Ca,H.assoc||-1);var Vb=this.documentTop;wb?(null==V&&(V=wb.left-Pa.left),Vb=0>yc?wb.top:wb.bottom):(wb=this.viewState.lineBlockAt(Ca),null==V&&(V=Math.min(Pa.right-Pa.left,this.defaultCharacterWidth*(Ca-wb.from))),Vb=(0>yc?wb.top:wb.bottom)+Vb);wb=Pa.left+V;var oc=null!==ba&&void 0!==ba?ba:this.viewState.heightOracle.textHeight>>1;for(let $c=0;;$c+=10){ba=Vb+(oc+$c)*yc;let vd=xc(this,{x:wb,y:ba},!1,yc);if(baPa.bottom||(0>yc?vdCa)){Ca=this.docView.coordsForChar(vd); -V=wc.EditorSelection.cursor(vd,!Ca||bathis.viewport.to)return this.textDirection;this.readMeasured();return this.docView.textDirectionAt(H)}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(H){if(4096< -H.length)return[new tg(0,H.length,0)];let V=this.textDirectionAt(H.from),ba;for(var Ca of this.bidiCache)if(Ca.from==H.from&&Ca.dir==V&&(Ca.fresh||ab(Ca.isolates,ba=Xa(this,H.from,H.to))))return Ca.order;ba||(ba=Xa(this,H.from,H.to));Ca=rb(H.text,V,ba);this.bidiCache.push(new pc(H.from,H.to,V,ba,!0,Ca));return Ca}get hasFocus(){var H;return(this.dom.ownerDocument.hasFocus()||fd.safari&&(null===(H=this.inputState)||void 0===H?void 0:H.lastContextMenu)>Date.now()-3E4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=> -{q(this.contentDOM);this.docView.updateSelection()})}setRoot(H){this._root!=H&&(this._root=H,this.observer.setWindow((9==H.nodeType?H:H.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let H of this.plugins)H.destroy(this);this.plugins=[];this.inputState.destroy();this.dom.remove();this.observer.destroy();-1({}),{eventHandlers:H})}static domEventObservers(H){return Nf.define(()=>({}),{eventObservers:H})}static theme(H,V){let ba=Dd.StyleModule.newName();H=[Wh.of(ba),Bh.of(Qb(`.${ba}`,H))];V&&V.dark&&H.push(hi.of(!0));return H}static baseTheme(H){return wc.Prec.lowest(Bh.of(Qb("."+ -wh,H,ii)))}static findFromDOM(H){var V;let ba=H.querySelector(".cm-content");H=ba&&ic.get(ba)||ic.get(H);return(null===(V=null===H||void 0===H?void 0:H.rootView)||void 0===V?void 0:V.view)||null}}Qd.styleModule=Bh;Qd.inputHandler=Me;Qd.focusChangeEffect=tf;Qd.perLineTextDirection=wf;Qd.exceptionSink=$d;Qd.updateListener=He;Qd.editable=lg;Qd.mouseSelectionStyle=Ld;Qd.dragMovesSelection=ed;Qd.clickAddsSelectionRange=mc;Qd.decorations=Hg;Qd.atomicRanges=ph;Qd.bidiIsolatedRanges=Ge;Qd.scrollMargins=Lf; -Qd.darkTheme=hi;Qd.cspNonce=wc.Facet.define({combine:H=>H.length?H[0]:""});Qd.contentAttributes=Xf;Qd.editorAttributes=Hh;Qd.lineWrapping=Qd.contentAttributes.of({"class":"cm-lineWrapping"});Qd.announce=wc.StateEffect.define();const Mc={};class pc{constructor(H,V,ba,Ca,Pa,wb){this.from=H;this.to=V;this.dir=ba;this.isolates=Ca;this.fresh=Pa;this.order=wb}static update(H,V){if(V.empty&&!H.some(Pa=>Pa.fresh))return H;let ba=[],Ca=H.length?H[H.length-1].dir:m.Direction.LTR;for(let Pa=Math.max(0,H.length- -10);Pa{Ca=this.drawn[Ca];return!(ba.constructor==Ca.constructor&&ba.eq(Ca))})){let ba=this.dom.firstChild;var V=0;for(let Ca of H)Ca.update&&ba&&Ca.constructor&&this.drawn[V].constructor&&Ca.update(ba,this.drawn[V])?(ba=ba.nextSibling,V++):this.dom.insertBefore(Ca.draw(),ba);for(;ba;)V=ba.nextSibling,ba.remove(),ba=V;this.drawn=H}}destroy(){this.layer.destroy&& -this.layer.destroy(this.dom,this.view);this.dom.remove()}}const Dc=wc.Facet.define(),zd=!fd.ios,Od=wc.Facet.define({combine(H){return wc.combineConfig(H,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(V,ba)=>Math.min(V,ba),drawRangeCursor:(V,ba)=>V||ba})}}),Ke=Ce({above:!0,markers(H){let {state:V}=H,ba=V.facet(Od),Ca=[];for(let wb of V.selection.ranges){var Pa=wb==V.selection.main;if(wb.empty?!Pa||zd:ba.drawRangeCursor){Pa=Pa?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary"; -let Vb=wb.empty?wb:wc.EditorSelection.cursor(wb.head,wb.head>wb.anchor?-1:1);for(let oc of Yb.forRange(H,Pa,Vb))Ca.push(oc)}}return Ca},update(H,V){H.transactions.some(Ca=>Ca.selection)&&(V.style.animationName="cm-blink"==V.style.animationName?"cm-blink2":"cm-blink");let ba=le(H);ba&&(V.style.animationDuration=H.state.facet(Od).cursorBlinkRate+"ms");return H.docChanged||H.selectionSet||ba},mount(H,V){H.style.animationDuration=V.state.facet(Od).cursorBlinkRate+"ms"},class:"cm-cursorLayer"}),Le=Ce({above:!1, -markers(H){return H.state.selection.ranges.map(V=>V.empty?[]:Yb.forRange(H,"cm-selectionBackground",V)).reduce((V,ba)=>V.concat(ba))},update(H,V){return H.docChanged||H.selectionSet||H.viewportChanged||le(H)},class:"cm-selectionLayer"}),Df={".cm-line":{"\x26 ::selection":{backgroundColor:"transparent !important"},"\x26::selection":{backgroundColor:"transparent !important"}}};zd&&(Df[".cm-line"].caretColor="transparent !important");const uf=wc.Prec.highest(Qd.theme(Df)),Bd=wc.StateEffect.define({map(H, -V){return null==H?null:V.mapPos(H)}}),he=wc.StateField.define({create(){return null},update(H,V){null!=H&&(H=V.changes.mapPos(H));return V.effects.reduce((ba,Ca)=>Ca.is(Bd)?Ca.value:ba,H)}}),uc=Nf.fromClass(class{constructor(H){this.view=H;this.cursor=null;this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(H){var V;let ba=H.state.field(he);null==ba?null!=this.cursor&&(null===(V=this.cursor)||void 0===V?void 0:V.remove(),this.cursor=null):(this.cursor||(this.cursor= -this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(H.startState.field(he)!=ba||H.docChanged||H.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let {view:H}=this;var V=H.state.field(he);V=null!=V&&H.coordsAtPos(V);if(!V)return null;let ba=H.scrollDOM.getBoundingClientRect();return{left:V.left-ba.left+H.scrollDOM.scrollLeft*H.scaleX,top:V.top-ba.top+H.scrollDOM.scrollTop*H.scaleY,height:V.bottom-V.top}}drawCursor(H){if(this.cursor){let {scaleX:V, -scaleY:ba}=this.view;H?(this.cursor.style.left=H.left/V+"px",this.cursor.style.top=H.top/ba+"px",this.cursor.style.height=H.height/ba+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(H){this.view.state.field(he)!=H&&this.view.dispatch({effects:Bd.of(H)})}},{eventObservers:{dragover(H){this.setDropPos(this.view.posAtCoords({x:H.clientX,y:H.clientY}))},dragleave(H){H.target!=this.view.contentDOM&&this.view.contentDOM.contains(H.relatedTarget)||this.setDropPos(null)}, -dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});class sc{constructor(H){const {regexp:V,decoration:ba,decorate:Ca,boundary:Pa,maxLength:wb=1E3}=H;if(!V.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");this.regexp=V;if(Ca)this.addMatch=(Vb,oc,yc,$c)=>Ca($c,yc,yc+Vb[0].length,Vb,oc);else if("function"==typeof ba)this.addMatch=(Vb,oc,yc,$c)=>{(oc=ba(Vb,oc,yc))&&$c(yc,yc+Vb[0].length,oc)};else if(ba)this.addMatch=(Vb,oc,yc,$c)=> -$c(yc,yc+Vb[0].length,ba);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=Pa;this.maxLength=wb}createDeco(H){let V=new wc.RangeSetBuilder,ba=V.add.bind(V);for(let {from:Ca,to:Pa}of gb(H,this.maxLength))af(H.state.doc,this.regexp,Ca,Pa,(wb,Vb)=>this.addMatch(Vb,H,wb,ba));return V.finish()}updateDeco(H,V){let ba=1E9,Ca=-1;H.docChanged&&H.changes.iterChanges((Pa,wb,Vb,oc)=>{oc>H.view.viewport.from&&Vbwb){let oc=H.state.doc.lineAt(wb),yc=oc.tooc.from;wb--)if(this.boundary.test(oc.text[wb-1-oc.from])){$c=wb;break}for(;Vbsd.push($e.range(Re,Ve));if(oc==yc)for(this.regexp.lastIndex=$c-oc.from;(Jd=this.regexp.exec(oc.text))&&Jd.indexthis.addMatch(Ve,H,Re,de));V=V.update({filterFrom:$c,filterTo:vd,filter:(Re,Ve)=>Re<$c||Ve>vd,add:sd})}}return V}}const T=null!=/x/.unicode?"gu":"g",fa=RegExp("[\x00-\b\n--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩-]",T),ya={0:"null",7:"bell",8:"backspace", -10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Za=null;const Tb=wc.Facet.define({combine(H){H= -wc.combineConfig(H,{render:null,specialChars:fa,addSpecialChars:null});var V;if(null==Za&&"undefined"!=typeof document&&document.body){let ba=document.body.style;Za=null!=(null!==(V=ba.tabSize)&&void 0!==V?V:ba.MozTabSize)}if(H.replaceTabs=!Za)H.specialChars=new RegExp("\t|"+H.specialChars.source,T);H.addSpecialChars&&(H.specialChars=new RegExp(H.specialChars.source+"|"+H.addSpecialChars.source,T));return H}});let vc=null;class Ic extends Fc{constructor(H,V){super();this.options=H;this.code=V}eq(H){return H.code== -this.code}toDOM(H){var V=this.code;V=32<=V?"•":10==V?"␤":String.fromCharCode(9216+V);H=H.state.phrase("Control character")+" "+(ya[this.code]||"0x"+this.code.toString(16));var ba=this.options.render&&this.options.render(this.code,H,V);if(ba)return ba;ba=document.createElement("span");ba.textContent=V;ba.title=H;ba.setAttribute("aria-label",H);ba.className="cm-specialChar";return ba}ignoreEvent(){return!1}}class Ed extends Fc{constructor(H){super();this.width=H}eq(H){return H.width==this.width}toDOM(){let H= -document.createElement("span");H.textContent="\t";H.className="cm-tab";H.style.width=this.width+"px";return H}ignoreEvent(){return!1}}const be=Nf.fromClass(class{constructor(){this.height=1E3;this.attrs={style:"padding-bottom: 1000px"}}update(H){({view:H}=H);H=H.viewState.editorHeight*H.scaleY-H.defaultLineHeight-H.documentPadding.top-.5;0<=H&&H!=this.height&&(this.height=H,this.attrs={style:`padding-bottom: ${H}px`})}}),te=od.line({class:"cm-activeLine"}),Se=Nf.fromClass(class{constructor(H){this.decorations= -this.getDeco(H)}update(H){if(H.docChanged||H.selectionSet)this.decorations=this.getDeco(H.view)}getDeco(H){let V=-1,ba=[];for(let Ca of H.state.selection.ranges){let Pa=H.lineBlockAt(Ca.head);Pa.from>V&&(ba.push(te.range(Pa.from)),V=Pa.from)}return od.set(ba)}},{decorations:H=>H.decorations});class Rd extends Fc{constructor(H){super();this.content=H}toDOM(){let H=document.createElement("span");H.className="cm-placeholder";H.style.pointerEvents="none";H.appendChild("string"==typeof this.content?document.createTextNode(this.content): -this.content);"string"==typeof this.content?H.setAttribute("aria-label","placeholder "+this.content):H.setAttribute("aria-hidden","true");return H}coordsAt(H){var V=H.firstChild?g(H.firstChild):[];if(!V.length)return null;H=window.getComputedStyle(H.parentNode);V=c(V[0],"rtl"!=H.direction);H=parseInt(H.lineHeight);return V.bottom-V.top>1.5*H?{left:V.left,right:V.right,top:V.top,bottom:V.top+H}:V}ignoreEvent(){return!1}}const kf={Alt:[18,H=>!!H.altKey],Control:[17,H=>!!H.ctrlKey],Shift:[16,H=>!!H.shiftKey], -Meta:[91,H=>!!H.metaKey]},mg={style:"cursor: crosshair"};class ig{constructor(H,V,ba){this.facet=V;this.createTooltipView=ba;this.input=H.state.facet(V);this.tooltips=this.input.filter(Ca=>Ca);this.tooltipViews=this.tooltips.map(ba)}update(H,V){var ba;let Ca=H.state.facet(this.facet),Pa=Ca.filter(yc=>yc);if(Ca===this.input){for(var wb of this.tooltipViews)wb.update&&wb.update(H);return!1}wb=[];let Vb=V?[]:null;for(let yc=0;yc$c?(wb[yc]=this.createTooltipView(oc),Vb&&(Vb[yc]=!!oc.above)):(oc=wb[yc]=this.tooltipViews[$c],Vb&&(Vb[yc]=V[$c]),oc.update&&oc.update(H))}}for(let yc of this.tooltipViews)0>wb.indexOf(yc)&&(yc.dom.remove(),null===(ba=yc.destroy)||void 0===ba?void 0:ba.call(yc));V&&(Vb.forEach((yc,$c)=>V[$c]=yc),V.length=Vb.length);this.input=Ca;this.tooltips=Pa;this.tooltipViews=wb;return!0}}const cg=wc.Facet.define({combine:H=>{var V,ba,Ca;return{position:fd.ios? -"absolute":(null===(V=H.find(Pa=>Pa.position))||void 0===V?void 0:V.position)||"fixed",parent:(null===(ba=H.find(Pa=>Pa.parent))||void 0===ba?void 0:ba.parent)||null,tooltipSpace:(null===(Ca=H.find(Pa=>Pa.tooltipSpace))||void 0===Ca?void 0:Ca.tooltipSpace)||Qc}}}),ug=new WeakMap,Dh=Nf.fromClass(class{constructor(H){this.view=H;this.above=[];this.inView=!0;this.madeAbsolute=!1;this.lastTransaction=0;this.measureTimeout=-1;let V=H.state.facet(cg);this.position=V.position;this.parent=V.parent;this.classes= -H.themeClasses;this.createContainer();this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this};this.manager=new ig(H,Jf,ba=>this.createTooltip(ba));this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(ba=>{Date.now()>this.lastTransaction-50&&0ba[ba.length-1].intersectionRatio&&this.measureSoon()},{threshold:[1]}):null;this.observeIntersection();H.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)); -this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let H of this.manager.tooltipViews)this.intersectionObserver.observe(H.dom)}}measureSoon(){0>this.measureTimeout&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout= --1;this.maybeMeasure()},50))}update(H){H.transactions.length&&(this.lastTransaction=Date.now());var V=this.manager.update(H,this.above);V&&this.observeIntersection();V=V||H.geometryChanged;H=H.state.facet(cg);if(H.position!=this.position&&!this.madeAbsolute){this.position=H.position;for(let ba of this.manager.tooltipViews)ba.dom.style.position=this.position;V=!0}if(H.parent!=this.parent){this.parent&&this.container.remove();this.parent=H.parent;this.createContainer();for(let ba of this.manager.tooltipViews)this.container.appendChild(ba.dom); -V=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);V&&this.maybeMeasure()}createTooltip(H){let V=H.create(this.view);V.dom.classList.add("cm-tooltip");H.arrow&&!V.dom.querySelector(".cm-tooltip \x3e .cm-tooltip-arrow")&&(H=document.createElement("div"),H.className="cm-tooltip-arrow",V.dom.appendChild(H));V.dom.style.position=this.position;V.dom.style.top="-10000px";V.dom.style.left="0px";this.container.appendChild(V.dom);V.mount&& -V.mount(this.view);return V}destroy(){var H,V;this.view.win.removeEventListener("resize",this.measureSoon);for(let ba of this.manager.tooltipViews)ba.dom.remove(),null===(H=ba.destroy)||void 0===H?void 0:H.call(ba);this.parent&&this.container.remove();null===(V=this.intersectionObserver)||void 0===V?void 0:V.disconnect();clearTimeout(this.measureTimeout)}readMeasure(){let H=this.view.dom.getBoundingClientRect(),V=1,ba=1;var Ca=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){var {dom:Pa}= -this.manager.tooltipViews[0];fd.gecko?Ca=Pa.offsetParent!=this.container.ownerDocument.body:1!=this.view.scaleX||1!=this.view.scaleY?Ca=!0:"-10000px"==Pa.style.top&&"0px"==Pa.style.left&&(Ca=Pa.getBoundingClientRect(),Ca=1{Vb=this.manager.tooltipViews[Vb];return Vb.getCoords?Vb.getCoords(wb.pos):this.view.coordsAtPos(wb.pos)}),size:this.manager.tooltipViews.map(({dom:wb})=>wb.getBoundingClientRect()),space:this.view.state.facet(cg).tooltipSpace(this.view),scaleX:V,scaleY:ba,makeAbsolute:Ca}}writeMeasure(H){var V;if(H.makeAbsolute){this.madeAbsolute=!0;this.position="absolute";for(var ba of this.manager.tooltipViews)ba.dom.style.position= -"absolute"}let {editor:Ca,space:Pa,scaleX:wb,scaleY:Vb}=H;ba=[];for(let $c=0;$c=Math.min(Ca.bottom,Pa.bottom)||Jd.rightMath.min(Ca.right,Pa.right)+.1){sd.style.top="-10000px";continue}let Re=oc.arrow?vd.dom.querySelector(".cm-tooltip-arrow"):null,Ve=Re?7:0;var yc=de.right- -de.left;let $e=null!==(V=ug.get(vd))&&void 0!==V?V:de.bottom-de.top,nf=vd.offset||Fe,Sf=this.view.textDirection==m.Direction.LTR,of=de.width>Pa.right-Pa.left?Sf?Pa.left:Pa.right-de.width:Sf?Math.min(Jd.left-(Re?14:0)+nf.x,Pa.right-yc):Math.max(Pa.left,Jd.left-yc+(Re?14:0)-nf.x),Eg=this.above[$c];!oc.strictSide&&(Eg?Jd.top-(de.bottom-de.top)-nf.yPa.bottom)&&Eg==Pa.bottom-Jd.bottom>Jd.top-Pa.top&&(Eg=this.above[$c]=!Eg);oc=(Eg?Jd.top-Pa.top:Pa.bottom-Jd.bottom)- -Ve;if(oc<$e&&!1!==vd.resize){if(ocof&&Wg.topoc&&(oc=Eg?Wg.top-$e-2-Ve:Wg.bottom+Ve+2);"absolute"==this.position?(sd.style.top=(oc-H.parent.top)/Vb+"px",sd.style.left=(of-H.parent.left)/wb+"px"):(sd.style.top=oc/Vb+"px",sd.style.left= -of/wb+"px");Re&&(Re.style.left=(Jd.left+(Sf?nf.x:-nf.x)-(of+14-7))/wb+"px");!0!==vd.overlap&&ba.push({left:of,top:oc,right:yc,bottom:oc+$e});sd.classList.toggle("cm-tooltip-above",Eg);sd.classList.toggle("cm-tooltip-below",!Eg);vd.positioned&&vd.positioned(H.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let H of this.manager.tooltipViews)H.dom.style.top= -"-10000px"}},{eventObservers:{scroll(){this.maybeMeasure()}}}),hg=Qd.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"\x26light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"\x26light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"\x26dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","\x26:before, \x26:after":{content:"''",position:"absolute", -width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above \x26":{bottom:"-7px","\x26:before":{borderTop:"7px solid #bbb"},"\x26:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below \x26":{top:"-7px","\x26:before":{borderBottom:"7px solid #bbb"},"\x26:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"\x26dark .cm-tooltip .cm-tooltip-arrow":{"\x26:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"\x26:after":{borderTopColor:"transparent", -borderBottomColor:"transparent"}}}),Fe={x:0,y:0},Jf=wc.Facet.define({enables:[Dh,hg]}),Oi=wc.Facet.define();class vi{static create(H){return new vi(H)}constructor(H){this.view=H;this.mounted=!1;this.dom=document.createElement("div");this.dom.classList.add("cm-tooltip-hover");this.manager=new ig(H,Oi,V=>this.createHostedView(V))}createHostedView(H){H=H.create(this.view);H.dom.classList.add("cm-tooltip-section");this.dom.appendChild(H.dom);this.mounted&&H.mount&&H.mount(this.view);return H}mount(H){for(let V of this.manager.tooltipViews)V.mount&& -V.mount(H);this.mounted=!0}positioned(H){for(let V of this.manager.tooltipViews)V.positioned&&V.positioned(H)}update(H){this.manager.update(H)}destroy(){var H;for(let V of this.manager.tooltipViews)null===(H=V.destroy)||void 0===H?void 0:H.call(V)}passProp(H){let V=void 0;for(let ba of this.manager.tooltipViews){let Ca=ba[H];if(void 0!==Ca)if(void 0===V)V=Ca;else if(V!==Ca)return}return V}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}} -const Zi=Jf.compute([Oi],H=>{H=H.facet(Oi).filter(V=>V);return 0===H.length?null:{pos:Math.min(...H.map(V=>V.pos)),end:Math.max(...H.filter(V=>null!=V.end).map(V=>V.end)),create:vi.create,above:H[0].above,arrow:H.some(V=>V.arrow)}});class Pj{constructor(H,V,ba,Ca,Pa){this.view=H;this.source=V;this.field=ba;this.setHover=Ca;this.hoverTime=Pa;this.restartTimeout=this.hoverTimeout=-1;this.pending=null;this.lastMove={x:0,y:0,target:H.dom,time:0};this.checkHover=this.checkHover.bind(this);H.dom.addEventListener("mouseleave", -this.mouseleave=this.mouseleave.bind(this));H.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){this.hoverTimeout=-1;if(!this.active){var H=Date.now()-this.lastMove.time;Hba.bottom||V.xba.right+H.defaultCharacterWidth)return;Ca=(Ca=H.bidiSpans(H.state.doc.lineAt(Pa)).find(wb=>wb.from<=Pa&&wb.to>=Pa))&&Ca.dir==m.Direction.RTL?-1:1;Ca=V.x{this.pending==wb&&(this.pending=null,Vb&&H.dispatch({effects:this.setHover.of(Vb)}))},Vb=>Ga(H.state,Vb,"hover tooltip"))}else ba&&H.dispatch({effects:this.setHover.of(ba)})}}mousemove(H){var V;this.lastMove={x:H.clientX,y:H.clientY,target:H.target,time:Date.now()};0>this.hoverTimeout&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));var ba=this.active;if(ba&&!Hd(this.lastMove.target)||this.pending){var {pos:Ca}=ba||this.pending;ba=null!==(V=null===ba||void 0=== -ba?void 0:ba.end)&&void 0!==V?V:Ca;if(Ca==ba)V=this.view.posAtCoords(this.lastMove)!=Ca;else{{V=this.view;var Pa=H.clientX;H=H.clientY;let wb=V.scrollDOM.getBoundingClientRect(),Vb=V.documentTop+V.documentPadding.top+V.contentHeight;wb.left>Pa||wb.rightH||Math.min(wb.bottom,Vb)=Ca&&V<=ba)}V=!V}V&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(H){clearTimeout(this.hoverTimeout);this.hoverTimeout=-1;this.active&& -!Hd(H.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout);this.view.dom.removeEventListener("mouseleave",this.mouseleave);this.view.dom.removeEventListener("mousemove",this.mousemove)}}const Pi=wc.StateEffect.define(),Li=Pi.of(null),we=wc.Facet.define({combine(H){let V,ba;for(let Ca of H)V=V||Ca.topContainer,ba=ba||Ca.bottomContainer;return{topContainer:V,bottomContainer:ba}}}),ej=Nf.fromClass(class{constructor(H){this.input=H.state.facet(mi); -this.specs=this.input.filter(ba=>ba);this.panels=this.specs.map(ba=>ba(H));let V=H.state.facet(we);this.top=new zf(H,!0,V.topContainer);this.bottom=new zf(H,!1,V.bottomContainer);this.top.sync(this.panels.filter(ba=>ba.top));this.bottom.sync(this.panels.filter(ba=>!ba.top));for(let ba of this.panels)ba.dom.classList.add("cm-panel"),ba.mount&&ba.mount()}update(H){var V=H.state.facet(we);this.top.container!=V.topContainer&&(this.top.sync([]),this.top=new zf(H.view,!0,V.topContainer));this.bottom.container!= -V.bottomContainer&&(this.bottom.sync([]),this.bottom=new zf(H.view,!1,V.bottomContainer));this.top.syncClasses();this.bottom.syncClasses();V=H.state.facet(mi);if(V!=this.input){var ba=V.filter(oc=>oc);V=[];let Pa=[],wb=[],Vb=[];for(let oc of ba){var Ca=this.specs.indexOf(oc);0>Ca?(Ca=oc(H.view),Vb.push(Ca)):(Ca=this.panels[Ca],Ca.update&&Ca.update(H));V.push(Ca);(Ca.top?Pa:wb).push(Ca)}this.specs=ba;this.panels=V;this.top.sync(Pa);this.bottom.sync(wb);for(let oc of Vb)oc.dom.classList.add("cm-panel"), -oc.mount&&oc.mount()}else for(ba of this.panels)ba.update&&ba.update(H)}destroy(){this.top.sync([]);this.bottom.sync([])}},{provide:H=>Qd.scrollMargins.of(V=>(V=V.plugin(H))&&{top:V.top.scrollMargin(),bottom:V.bottom.scrollMargin()})});class zf{constructor(H,V,ba){this.view=H;this.top=V;this.container=ba;this.dom=void 0;this.classes="";this.panels=[];this.syncClasses()}sync(H){for(let V of this.panels)V.destroy&&0>H.indexOf(V)&&V.destroy();this.panels=H;this.syncDOM()}syncDOM(){if(0==this.panels.length)this.dom&& -(this.dom.remove(),this.dom=void 0);else{if(!this.dom){this.dom=document.createElement("div");this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom";this.dom.style[this.top?"top":"bottom"]="0";var H=this.container||this.view.dom;H.insertBefore(this.dom,this.top?H.firstChild:null)}H=this.dom.firstChild;for(let V of this.panels)if(V.dom.parentNode==this.dom){for(;H!=V.dom;)H=yb(H);H=H.nextSibling}else this.dom.insertBefore(V.dom,H);for(;H;)H=yb(H)}}scrollMargin(){return!this.dom|| -this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let H of this.classes.split(" "))H&&this.container.classList.remove(H);for(let H of(this.classes=this.view.themeClasses).split(" "))H&&this.container.classList.add(H)}}}const mi= -wc.Facet.define({enables:ej});class Ci extends wc.RangeValue{compare(H){return this==H||this.constructor==H.constructor&&this.eq(H)}eq(H){return!1}destroy(H){}}Ci.prototype.elementClass="";Ci.prototype.toDOM=void 0;Ci.prototype.mapMode=wc.MapMode.TrackBefore;Ci.prototype.startSide=Ci.prototype.endSide=-1;Ci.prototype.point=!0;const lh=wc.Facet.define(),vj={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>wc.RangeSet.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null, -initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Di=wc.Facet.define(),$h=wc.Facet.define({combine:H=>H.some(V=>V)}),Yi=Nf.fromClass(class{constructor(H){this.view=H;this.prevViewport=H.viewport;this.dom=document.createElement("div");this.dom.className="cm-gutters";this.dom.setAttribute("aria-hidden","true");this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px";this.gutters=H.state.facet(Di).map(V=>new Ef(H,V));for(let V of this.gutters)this.dom.appendChild(V.dom);if(this.fixed= -!H.state.facet($h))this.dom.style.position="sticky";this.syncGutters(!1);H.scrollDOM.insertBefore(this.dom,H.contentDOM)}update(H){if(this.updateGutters(H)){let V=this.prevViewport,ba=H.view.viewport;this.syncGutters(Math.min(V.to,ba.to)-Math.max(V.from,ba.from)<.8*(ba.to-ba.from))}H.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px");this.view.state.facet($h)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"");this.prevViewport=H.view.viewport}syncGutters(H){let V= -this.dom.nextSibling;H&&this.dom.remove();let ba=wc.RangeSet.iter(this.view.state.facet(lh),this.view.viewport.from),Ca=[],Pa=this.gutters.map(wb=>new xh(wb,this.view.viewport,-this.view.documentPadding.top));for(let wb of this.view.viewportLineBlocks)if(Ca.length&&(Ca=[]),Array.isArray(wb.type)){let Vb=!0;for(let oc of wb.type)if(oc.type==m.BlockType.Text&&Vb){ad(ba,Ca,oc.from);for(let yc of Pa)yc.line(this.view,oc,Ca);Vb=!1}else if(oc.widget)for(let yc of Pa)yc.widget(this.view,oc)}else if(wb.type== -m.BlockType.Text){ad(ba,Ca,wb.from);for(let Vb of Pa)Vb.line(this.view,wb,Ca)}else if(wb.widget)for(let Vb of Pa)Vb.widget(this.view,wb);for(let wb of Pa)wb.finish();H&&this.view.scrollDOM.insertBefore(this.dom,V)}updateGutters(H){let V=H.startState.facet(Di);var ba=H.state.facet(Di);let Ca=H.docChanged||H.heightChanged||H.viewportChanged||!wc.RangeSet.eq(H.startState.facet(lh),H.state.facet(lh),H.view.viewport.from,H.view.viewport.to);if(V==ba)for(var Pa of this.gutters)Pa.update(H)&&(Ca=!0);else{Ca= -!0;Pa=[];for(let wb of ba)ba=V.indexOf(wb),0>ba?Pa.push(new Ef(this.view,wb)):(this.gutters[ba].update(H),Pa.push(this.gutters[ba]));for(let wb of this.gutters)wb.dom.remove(),0>Pa.indexOf(wb)&&wb.destroy();for(let wb of Pa)this.dom.appendChild(wb.dom);this.gutters=Pa}return Ca}destroy(){for(let H of this.gutters)H.destroy();this.dom.remove()}},{provide:H=>Qd.scrollMargins.of(V=>{let ba=V.plugin(H);return ba&&0!=ba.gutters.length&&ba.fixed?V.textDirection==m.Direction.LTR?{left:ba.dom.offsetWidth* -V.scaleX}:{right:ba.dom.offsetWidth*V.scaleX}:null})});class xh{constructor(H,V,ba){this.gutter=H;this.height=ba;this.i=0;this.cursor=wc.RangeSet.iter(H.markers,V.from)}addElement(H,V,ba){let {gutter:Ca}=this,Pa=(V.top-this.height)/H.scaleY,wb=V.height/H.scaleY;this.i==Ca.elements.length?(H=new Zg(H,wb,Pa,ba),Ca.elements.push(H),Ca.dom.appendChild(H.dom)):Ca.elements[this.i].update(H,wb,Pa,ba);this.height=V.bottom;this.i++}line(H,V,ba){let Ca=[];ad(this.cursor,Ca,V.from);ba.length&&(Ca=Ca.concat(ba)); -(ba=this.gutter.config.lineMarker(H,V,Ca))&&Ca.unshift(ba);ba=this.gutter;(0!=Ca.length||ba.config.renderEmptyElements)&&this.addElement(H,V,Ca)}widget(H,V){let ba=this.gutter.config.widgetMarker(H,V.widget,V);ba&&this.addElement(H,V,[ba])}finish(){let H=this.gutter;for(;H.elements.length>this.i;){let V=H.elements.pop();H.dom.removeChild(V.dom);V.destroy()}}}class Ef{constructor(H,V){this.view=H;this.config=V;this.elements=[];this.spacer=null;this.dom=document.createElement("div");this.dom.className= -"cm-gutter"+(this.config.class?" "+this.config.class:"");for(let ba in V.domEventHandlers)this.dom.addEventListener(ba,Ca=>{var Pa=Ca.target;if(Pa!=this.dom&&this.dom.contains(Pa)){for(;Pa.parentNode!=this.dom;)Pa=Pa.parentNode;Pa=Pa.getBoundingClientRect();Pa=(Pa.top+Pa.bottom)/2}else Pa=Ca.clientY;Pa=H.lineBlockAtHeight(Pa-H.documentTop);V.domEventHandlers[ba](H,Pa,Ca)&&Ca.preventDefault()});this.markers=zc(V.markers(H));V.initialSpacer&&(this.spacer=new Zg(H,0,0,[V.initialSpacer(H)]),this.dom.appendChild(this.spacer.dom), -this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(H){let V=this.markers;this.markers=zc(this.config.markers(H.view));if(this.spacer&&this.config.updateSpacer){var ba=this.config.updateSpacer(this.spacer.markers[0],H);ba!=this.spacer.markers[0]&&this.spacer.update(H.view,0,0,[ba])}ba=H.view.viewport;return!wc.RangeSet.eq(this.markers,V,ba.from,ba.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(H):!1)}destroy(){for(let H of this.elements)H.destroy()}} -class Zg{constructor(H,V,ba,Ca){this.height=-1;this.above=0;this.markers=[];this.dom=document.createElement("div");this.dom.className="cm-gutterElement";this.update(H,V,ba,Ca)}update(H,V,ba,Ca){this.height!=V&&(this.height=V,this.dom.style.height=V+"px");this.above!=ba&&(this.dom.style.marginTop=(this.above=ba)?ba+"px":"");a:if(V=this.markers,V.length!=Ca.length)V=!1;else{for(ba=0;baPa(Vb,oc,yc)||wb(Vb,oc,yc):wb}return V}})}});class Qi extends Ci{constructor(H){super();this.number=H}eq(H){return this.number==H.number}toDOM(){return document.createTextNode(this.number)}}const Og=Di.compute([xg],H=>({class:"cm-lineNumbers",renderEmptyElements:!1, -markers(V){return V.state.facet(mh)},lineMarker(V,ba,Ca){return Ca.some(Pa=>Pa.toDOM)?null:new Qi(Ad(V,V.state.doc.lineAt(ba.from).number))},widgetMarker:()=>null,lineMarkerChange:V=>V.startState.facet(xg)!=V.state.facet(xg),initialSpacer(V){return new Qi(Ad(V,jc(V.state.doc.lines)))},updateSpacer(V,ba){ba=Ad(ba.view,jc(ba.view.state.doc.lines));return ba==V.number?V:new Qi(ba)},domEventHandlers:H.facet(xg).domEventHandlers})),Mi=new class extends Ci{constructor(){super(...arguments);this.elementClass= -"cm-activeLineGutter"}},$i=lh.compute(["selection"],H=>{let V=[],ba=-1;for(let Ca of H.selection.ranges){let Pa=H.doc.lineAt(Ca.head).from;Pa>ba&&(ba=Pa,V.push(Mi.range(Pa)))}return wc.RangeSet.of(V)}),bi=new Map,aj=pd(new sc({regexp:/\t| +/g,decoration:H=>{H=H[0];let V=bi.get(H);V||bi.set(H,V=od.mark({attributes:"\t"===H?{class:"cm-highlightTab"}:{class:"cm-highlightSpace","data-display":H.replace(/ /g,"·")}}));return V},boundary:/\S/})),wi=pd(new sc({regexp:/\s+$/g,decoration:od.mark({class:"cm-trailingSpace"}), -boundary:/\S/})),Ig={HeightMap:qe,HeightOracle:Gc,MeasuredHeights:gd,QueryType:Md,ChangedRange:Kg,computeOrder:rb,moveVisually:Cb};m.BidiSpan=tg;m.BlockInfo=Zd;m.Decoration=od;m.EditorView=Qd;m.GutterMarker=Ci;m.MatchDecorator=sc;m.RectangleMarker=Yb;m.ViewPlugin=Nf;m.ViewUpdate=Xg;m.WidgetType=Fc;m.__test=Ig;m.closeHoverTooltips=Li;m.crosshairCursor=function(H={}){let [V,ba]=kf[H.key||"Alt"],Ca=Nf.fromClass(class{constructor(Pa){this.view=Pa;this.isDown=!1}set(Pa){this.isDown!=Pa&&(this.isDown=Pa, -this.view.update([]))}},{eventObservers:{keydown(Pa){this.set(Pa.keyCode==V||ba(Pa))},keyup(Pa){Pa.keyCode!=V&&ba(Pa)||this.set(!1)},mousemove(Pa){this.set(ba(Pa))}}});return[Ca,Qd.contentAttributes.of(Pa=>{var wb;return(null===(wb=Pa.plugin(Ca))||void 0===wb?0:wb.isDown)?mg:null})]};m.drawSelection=function(H={}){return[Od.of(H),Ke,Le,uf,vf.of(!0)]};m.dropCursor=function(){return[he,uc]};m.getDrawSelectionConfig=function(H){return H.facet(Od)};m.getPanel=function(H,V){V=(H=H.plugin(ej))?H.specs.indexOf(V): --1;return-1V?null:H.manager.tooltipViews[V]};m.gutter=function(H){return[vb(),Di.of(Object.assign(Object.assign({},vj),H))]};m.gutterLineClass=lh;m.gutters=vb;m.hasHoverTooltips=function(H){return H.facet(Oi).some(V=>V)};m.highlightActiveLine=function(){return Se};m.highlightActiveLineGutter=function(){return $i};m.highlightSpecialChars=function(H={}){return[Tb.of(H),Gb()]};m.highlightTrailingWhitespace= -function(){return wi};m.highlightWhitespace=function(){return aj};m.hoverTooltip=function(H,V={}){let ba=wc.StateEffect.define(),Ca=wc.StateField.define({create(){return null},update(Pa,wb){if(Pa&&(V.hideOnChange&&(wb.docChanged||wb.selection)||V.hideOn&&V.hideOn(wb,Pa)))return null;if(Pa&&wb.docChanged){let Vb=wb.changes.mapPos(Pa.pos,-1,wc.MapMode.TrackDel);if(null==Vb)return null;let oc=Object.assign(Object.create(null),Pa);oc.pos=Vb;null!=Pa.end&&(oc.end=wb.changes.mapPos(Pa.end));Pa=oc}for(let Vb of wb.effects)Vb.is(ba)&& -(Pa=Vb.value),Vb.is(Pi)&&(Pa=null);return Pa},provide:Pa=>Oi.from(Pa)});return[Ca,Nf.define(Pa=>new Pj(Pa,H,Ca,ba,V.hoverTime||300)),Zi]};m.keymap=la;m.layer=Ce;m.lineNumberMarkers=mh;m.lineNumbers=function(H={}){return[xg.of(H),vb(),Og]};m.logException=Ga;m.panels=function(H){return H?[we.of(H)]:[]};m.placeholder=function(H){return Nf.fromClass(class{constructor(V){this.view=V;this.placeholder=H?od.set([od.widget({widget:new Rd(H),side:1}).range(0)]):od.none}get decorations(){return this.view.state.doc.length? -od.none:this.placeholder}},{decorations:V=>V.decorations})};m.rectangularSelection=function(H){let V=(null===H||void 0===H?void 0:H.eventFilter)||(ba=>ba.altKey&&0==ba.button);return Qd.mouseSelectionStyle.of((ba,Ca)=>V(Ca)?Cc(ba,Ca):null)};m.repositionTooltips=function(H){(H=H.plugin(Dh))&&H.maybeMeasure()};m.runScopeHandlers=function(H,V,ba){return Zb(ub(H.state),V,H,ba)};m.scrollPastEnd=function(){return[be,Xf.of(H=>{var V;return(null===(V=H.plugin(be))||void 0===V?void 0:V.attrs)||null})]};m.showPanel= -mi;m.showTooltip=Jf;m.tooltips=function(H={}){return cg.of(H)}}; +shadow$provide[4]=function(ka,pa,Ba,C){function Ca(a){return(11==a.nodeType?a.getSelection?a:a.ownerDocument:a).getSelection()}function Ea(a,b){return b?a==b||a.contains(1!=b.nodeType?b.parentNode:b):!1}function Ka(a,b){if(!b.anchorNode)return!1;try{return Ea(a,b.anchorNode)}catch(c){return!1}}function Ra(a){return 3==a.nodeType?sb(a,0,a.nodeValue.length).getClientRects():1==a.nodeType?a.getClientRects():[]}function Eb(a,b,c,e){return c?Ib(a,b,c,e,-1)||Ib(a,b,c,e,1):!1}function nb(a){for(var b=0;;b++)if(a= +a.previousSibling,!a)return b}function Ib(a,b,c,e,f){for(;;){if(a==c&&b==e)return!0;if(b==(0>f?0:Za(a))){if("DIV"==a.nodeName)return!1;let n=a.parentNode;if(!n||1!=n.nodeType)return!1;b=nb(a)+(0>f?0:1);a=n}else if(1==a.nodeType){a=a.childNodes[b+(0>f?-1:0)];if(1==a.nodeType&&"false"==a.contentEditable)return!1;b=0>f?Za(a):0}else return!1}}function Za(a){return 3==a.nodeType?a.nodeValue.length:a.childNodes.length}function Sa(a,b){b=b?a.left:a.right;return{left:b,right:b,top:a.top,bottom:a.bottom}} +function Jb(a){let b=a.ownerDocument;for(a=a.parentNode;a&&a!=b.body;)if(1==a.nodeType){if(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth)return a;a=a.assignedSlot||a.parentNode}else if(11==a.nodeType)a=a.host;else break;return null}function Rb(a){if(a.setActive)return a.setActive();if(jc)return a.focus(jc);let b=[];for(var c=a;c&&(b.push(c,c.scrollTop,c.scrollLeft),c!=c.ownerDocument);c=c.parentNode);a.focus(null==jc?{get preventScroll(){jc={preventScroll:!0};return!0}}:void 0);if(!jc)for(jc= +!1,a=0;aMath.max(1,a.scrollHeight-a.clientHeight-4)}function Wa(a){let b=a.nextSibling;a.parentNode.removeChild(a);return b}function qb(a,b,c,e,f,n,x,y,B){let {children:G}=a,L=G.length?G[b]:null,N=n.length?n[n.length-1]:null,S=N?N.breakAfter:x;if(!(b==e&&L&&!x&&!S&&2>n.length&&L.merge(c,f,n.length?N:null,0==c,y,B))){if(e< +G.length){let V=G[e];if(V&&(fe&&(b=e);let f=b,n=b,x=0;0==b&&0>c||b==e&&0<=c?sa.chrome||sa.gecko||(b?(f--,x=1):nc?f--:nx:0<=c)?0:a.length-1];sa.safari&&!x&&0==c.width&&(c=Array.prototype.find.call(a,y=>y.width)||c);return x?Sa(c,0>x):c||null}function xb(a,b){let c=a.dom;({children:a}=a);var e=0;for(var f=0;e=n.getSide())){if(b>f&&b=G)if(S.children.length)e(S, +G-N);else if((!x||x.isHidden&&0G||N==V&&0S.getSide()&&!S.isHidden)f=S,n=G-N;N=V}}let f=null,n=-1,x=null,y=-1;e(a,b);return(b=(0>c?f:x)||f||x)?b.coordsAt(Math.max(0,b==f?n:y),c):Ab(a)}function Ab(a){let b=a.dom.lastChild;if(!b)return a.dom.getBoundingClientRect();a=Ra(b);return a[a.length-1]||null}function Nb(a,b){for(let c in a)"class"==c&&b.class?b.class+=" "+a.class:"style"==c&&b.style?b.style+=";"+a.style:b[c]=a[c];return b}function rb(a,b,c){if(a== +b)return!0;a||(a=t);b||(b=t);let e=Object.keys(a),f=Object.keys(b);if(e.length-(c&&-1=a?c[f]=Math.max(c[f],b):c.push(a,b)}function Xa(a,b){for(let c of b)a=new tc(c,[a],a.length);return a}function kb(a,b,c){a=a.facet(nc);if(a.length)a[0](b);else if(window.onerror)window.onerror(String(b),c,void 0,void 0,b);else c?console.error(c+":",b):console.error(b)}function Ma(a,b,c){var e=a.state.facet(Rd);if(!e.length)return e; +e=e.map(n=>n instanceof Function?n(a):n);let f=[];W.RangeSet.spans(e,b,c,{point(){},span(n,x,y,B){let G=f;for(let N=y.length-1;0<=N;N--,B--){var L=y[N].spec.bidiIsolate;let S;null!=L&&(0V&&x.push(new xc(V,S.from,L)),la(a,S.direction==Sc!=!(L%2)?e+1:e,f,S.inner,S.from,S.to,x),V=S.to);N=S.to}else if(N==c||(b?gb[N]!=y:gb[N]==y))break;else N++;G?ea(a,V,N,e+1,f,G,x):Vb;){c=!0;B=!1;if(!da||V>n[da-1].to)G=gb[V-1],G!=y&&(c=!1,B=16==G);G=c||1!=y?null:[];L=c?e:e+1;N=V;a:for(;;)if(da&&N==n[da-1].to){if(B)break a;S=n[--da];if(!c)for(let fa=S.from,ja=da;;){if(fa==b)break a;if(ja&&n[ja-1].to==fa)fa=n[--ja].from;else if(gb[fa-1]==y)break a;else break}G?G.push(S):(S.to=S?Ie[S]:1424<=S&&1524>=S?2:1536<=S&&1785>=S?Je[S-1536]:1774<=S&&2220>=S?4:8192<=S&&8203>=S?256:64336<=S&&65023>=S?4:8204==S?256:1;512==S?S=da:8==S&&4==fa&&(S=16);gb[V]=4==S?2:S;S&7&&(fa=S);da=S}for(let V=G,da=N,fa=N;VAa)for(G=da-3;0<=G;G-=3){if(oc[G+1]==-Aa){N=oc[G+2];(N=N&2?y:N&4?N&1?B:y:0)&&(gb[ja]=gb[oc[G]]=N);da=G;break}}else if(189==oc.length)break;else oc[da++]=ja,oc[da++]=ma,oc[da++]= +fa;else if(2==(wa=gb[ja])||1==wa)for(fa=(G=wa==y)?0:1,N=da-3;0<=N;N-=3){S=oc[N+2];if(S&2)break;if(G)oc[N+2]|=2;else{if(S&4)break;oc[N+2]|=4}}}for(let V=0,da=y;V<=e.length;V++)for(L=V?e[V-1].to:f,B=VL;)fa==ma&&(fa=e[--ja].from,ma=ja?e[ja-1].to:f),gb[--fa]=N;L=G}else da= +G,L++;ea(a,f,n,b,c,e,x)}function ra(a,b,c){if(!a)return[new xc(0,0,b==Td?1:0)];if(b==Sc&&!c.length&&!Ke.test(a))return[new xc(0,a.length,0)];if(c.length)for(;a.length>gb.length;)gb[gb.length]=256;let e=[];b=b==Sc?0:1;la(a,b,b,c,0,a.length,e);return e}function ta(a,b,c,e,f){var n;let x=e.head-a.from,y=-1;if(0==x){if(!f||!a.length)return null;b[0].level!=c&&(x=b[0].side(!1,c),y=0)}else if(x==a.length){if(f)return null;var B=b[b.length-1];B.level!=c&&(x=B.side(!0,c),y=b.length-1)}0>y&&(y=xc.find(b,x, +null!==(n=e.bidiLevel)&&void 0!==n?n:-1,e.assoc));e=b[y];x==e.side(f,c)&&(e=b[y+=f?1:-1],x=e.side(!f,c));B=f==(e.dir==c);n=W.findClusterBreak(a.text,x,B);Ud=a.text.slice(Math.min(x,n),Math.max(x,n));return n!=e.side(f,c)?W.EditorSelection.cursor(n+a.from,B?-1:1,e.level):(b=y==(f?b.length-1:0)?null:b[y+(f?1:-1)])||e.level==c?b&&b.level=c)for(let e=a,f=b;;){if(3==e.nodeType)return{node:e,offset:f};if(1==e.nodeType&&0{eb.from&&(c=!0)});return c}function Na(a,b,c=1){let e=a.charCategorizer(b);a=a.doc.lineAt(b);var f=b-a.from;if(0==a.length)return W.EditorSelection.cursor(b);0==f?c=1:f==a.length&&(c=-1);let n= +b=f;0>c?b=W.findClusterBreak(a.text,f,!1):n=W.findClusterBreak(a.text,f);for(c=e(a.text.slice(b,n));0b.top+1}function Pa(a,b){return ba.bottom?{top:a.top, +left:a.left,right:a.right,bottom:b}:a}function Ha(a,b,c){let e,f;let n;var x=!1;let y,B,G,L;for(let S=a.firstChild;S;S=S.nextSibling){let V=Ra(S);for(let da=0;dab?fa.left-b:Math.max(0,b-fa.right),ma=fa.top>c?fa.top-c:Math.max(0,c-fa.bottom);if(0==ja&&0==ma)return 3==S.nodeType?Ga(S,b,c):Ha(S,b,c);if(!e||n>ma||n==ma&&N>ja){e=S;f=fa;var N=ja;x=(n=ma)?cfa.bottom&&(!G||G.bottomfa.top)&&(B=S,L=fa):G&&za(G,fa)?G=cb(G,fa.bottom):L&&za(L,fa)&&(L=Pa(L,fa.top))}}G&&G.bottom>=c?(e=y,f=G):L&&L.top<=c&&(e=B,f=L);if(!e)return{node:a,offset:0};N=Math.max(f.left,Math.min(f.right,b));if(3==e.nodeType)return Ga(e,N,c);if(x&&"false"!=e.contentEditable)return Ha(e,N,c);b=Array.prototype.indexOf.call(a.childNodes,e)+(b>=(f.left+f.right)/2?1:0);return{node:a,offset:b}}function Ga(a,b,c){let e=a.nodeValue.length;var f= +-1,n=1E9;let x=0;for(let y=0;yc?L.top-c:c-L.bottom)-1;if(L.left-1<=b&&L.right+1>=b&&N=(L.left+L.right)/2;(sa.chrome||sa.gecko)&&sb(a,y).getBoundingClientRect().left==L.right&&(n=!f);if(0>=N)return{node:a,offset:y+(n?1:0)};f=y+(n?1:0);n=N}}}return{node:a,offset:-1S)return 0;if(S>G)return a.state.doc.length;for(let fa=a.viewState.heightOracle.textHeight/2,ja=!1;;){B=a.elementAtHeight(S);if(B.type==C.BlockType.Text)break;for(;;){S=0a.viewport.to)return a.viewport.to==a.state.doc.length?a.state.doc.length: +c?null:Ia(a,x,B,L,N);c=a.dom.ownerDocument;G=a.root.elementFromPoint?a.root:c;(y=G.elementFromPoint(L,N))&&!a.contentDOM.contains(y)&&(y=null);y||(L=Math.max(x.left+1,Math.min(x.right-1,L)),(y=G.elementFromPoint(L,N))&&!a.contentDOM.contains(y)&&(y=null));var V;x=-1;if(y&&0!=(null===(f=a.docView.nearest(y))||void 0===f?void 0:f.isEditable))if(c.caretPositionFromPoint){var da=c.caretPositionFromPoint(L,N);da&&({offsetNode:V,offset:x}=da)}else if(c.caretRangeFromPoint&&(f=c.caretRangeFromPoint(L,N))){({startContainer:V, +startOffset:x}=f);if(!(f=!a.contentDOM.contains(V))&&(f=sa.safari))a:if(f=L,3!=V.nodeType||x!=(da=V.nodeValue.length))f=!1;else{for(c=V.nextSibling;c;c=c.nextSibling)if(1!=c.nodeType||"BR"!=c.nodeName){f=!1;break a}f=sb(V,da-1,da).getBoundingClientRect().left>f}if(!(da=f)&&(da=sa.chrome))a:if(f=V,da=L,0!=x)da=!1;else{for(c=f;;){y=c.parentNode;if(!y||1!=y.nodeType||y.firstChild!=c){da=!1;break a}if(y.classList.contains("cm-line"))break;c=y}f=1==f.nodeType?f.getBoundingClientRect():sb(f,0,Math.max(f.nodeValue.length, +1)).getBoundingClientRect();da=5B.top+B.height/2?B.to:B.from;({node:V,offset:x}=Ha(V.dom,L,N))}a=a.docView.nearest(V);return a?a.isWidget&&1==(null===(n=a.dom)||void 0===n?void 0:n.nodeType)?(n=a.dom.getBoundingClientRect(),b.y1.5*a.defaultLineHeight&&(e=a.viewState.heightOracle.textHeight,b+=Math.floor((f-c.top-.5*(a.defaultLineHeight-e))/e)*a.viewState.heightOracle.lineLength);f=a.state.sliceDoc(c.from,c.to);return c.from+W.findColumn(f,b,a.state.tabSize)}function ab(a,b){a=a.lineBlockAt(b);if(Array.isArray(a.type))for(let c of a.type)if(c.to>b||c.to==b&&(c.to==a.to||c.type==C.BlockType.Text))return c;return a}function $b(a,b,c,e){let f=a.state.doc.lineAt(b.head),n=a.bidiSpans(f),x=a.textDirectionAt(f.from); +for(let y=b,B=null;;){b=ta(f,n,x,y,c);let G=Ud;if(!b){if(f.number==(c?a.state.doc.lines:1))return y;G="\n";f=a.state.doc.line(f.number+(c?1:-1));n=a.bidiSpans(f);b=W.EditorSelection.cursor(c?f.from:f.to)}if(!B){if(!e)return b;B=e(G)}else if(!B(G))return y;y=b}}function jb(a,b,c){let e=a.state.charCategorizer(b),f=e(c);return n=>{n=e(n);f==W.CharCategory.Space&&(f=n);return f==n}}function Fa(a,b,c){for(;;){let e=0;for(let f of a)f.between(b-1,b+1,(n,x,y)=>{b>n&&by?n: +x,e=y)});if(!e)return b}}function fb(a,b,c){b=Fa(a.state.facet(xd).map(e=>e(a)),c.from,b.head>c.from?-1:1);return b==c.from?c:W.EditorSelection.cursor(b,b{try{return b.call(a,e,c)}catch(f){kb(c.state,f)}}}function Lb(a){function b(f){return c[f]||(c[f]={observers:[],handlers:[]})}let c=Object.create(null);for(let f of a){if((a=f.spec)&&a.domEventHandlers)for(let n in a.domEventHandlers){var e=a.domEventHandlers[n];e&&b(n).handlers.push(ub(f.value,e))}if(a&& +a.domEventObservers)for(let n in a.domEventObservers)(e=a.domEventObservers[n])&&b(n).observers.push(ub(f.value,e))}for(let f in uc)b(f).handlers.push(uc[f]);for(let f in vc)b(f).observers.push(vc[f]);return c}function Wb(a,b){a=a.state.facet(Ya);return a.length?a[0](b):sa.mac?b.metaKey:b.ctrlKey}function ec(a,b){var {main:c}=a.state.selection;if(c.empty)return!1;a=Ca(a.root);if(!a||0==a.rangeCount)return!0;a=a.getRangeAt(0).getClientRects();for(c=0;c=b.clientX&&e.top<=b.clientY&&e.bottom>=b.clientY)return!0}return!1}function Ub(a,b){if(!b.bubbles)return!0;if(b.defaultPrevented)return!1;for(let c=b.target,e;c!=a.contentDOM;c=c.parentNode)if(!c||11==c.nodeType||(e=hb.get(c))&&e.ignoreEvent(b))return!1;return!0}function Mb(a){let b=a.dom.parentNode;if(b){var c=b.appendChild(document.createElement("textarea"));c.style.cssText="position: fixed; left: -10000px; top: 10px";c.focus();setTimeout(()=>{a.focus();c.remove();Bb(a,c.value)},50)}}function Bb(a, +b){let {state:c}=a,e,f=1,n=c.toText(b),x=n.lines==c.selection.ranges.length;if(null!=yd&&c.selection.ranges.every(y=>y.empty)&&yd==n.toString()){let y=-1;e=c.changeByRange(B=>{let G=c.doc.lineAt(B.from);if(G.from==y)return{range:B};y=G.from;let L=c.toText((x?n.line(f++).text:b)+c.lineBreak);return{changes:{from:G.from,insert:L},range:W.EditorSelection.cursor(B.from+L.length)}})}else e=x?c.changeByRange(y=>{let B=n.line(f++);return{changes:{from:y.from,to:y.to,insert:B.text},range:W.EditorSelection.cursor(y.from+ +B.length)}}):c.replaceSelection(n);a.dispatch(e,{userEvent:"input.paste",scrollIntoView:!0})}function yb(a,b,c,e){if(1==e)return W.EditorSelection.cursor(b,c);if(2==e)return Na(a.state,b,c);c=E.find(a.docView,b);b=a.state.doc.lineAt(c?c.posAtEnd:b);e=c?c.posAtStart:b.from;c=c?c.posAtEnd:b.to;c=a.top&&b<=a.bottom&&e>=a.left&&e<=a.right;if(n)e=-1;else{if(n=f=x.coordsAt(f,1))n=b>=f.top&&b<=f.bottom&&e>=f.left&&e<=f.right;e=n?1:a&&b>=a.top&&b<=a.bottom?-1:1}}}else e=1}return{pos:c,bias:e}}function Ua(a){if(!Me)return a.detail;let b=Vd,c=Wd;Vd=a;Wd=Date.now();return Xd=!b||c>Date.now()-400&&2>Math.abs(b.clientX-a.clientX)&&2>Math.abs(b.clientY-a.clientY)?(Xd+1)%3:1}function bb(a,b){let c=Sb(a,b),e=Ua(b),f=a.state.selection; +return{update(n){n.docChanged&&(c.pos=n.changes.mapPos(c.pos),f=f.map(n.changes))},get(n,x,y){var B=Sb(a,n);n=yb(a,B.pos,B.bias,e);if(c.pos!=B.pos&&!x){var G=yb(a,c.pos,c.bias,e);let N=Math.min(G.from,n.from);G=Math.max(G.to,n.to);n=N=B){B=W.EditorSelection.create(L.ranges.slice(0, +x).concat(L.ranges.slice(x+1)),L.mainIndex==x?0:L.mainIndex-(L.mainIndex>x?1:0));break a}}B=null}x=L=B}return x?L:y?f.addRange(n):W.EditorSelection.create([n])}}}function Cb(a,b,c,e){if(c){var f=a.posAtCoords({x:b.clientX,y:b.clientY},!1),{draggedContent:n}=a.inputState;if(e=e&&n)e=a.state.facet(qc),e=e.length?e[0](b):sa.mac?!b.altKey:!b.ctrlKey;b=e?{from:n.from,to:n.to}:null;c={from:f,insert:c};c=a.state.changes(b?[b,c]:c);a.focus();a.dispatch({changes:c,selection:{anchor:c.mapPos(f,-1),head:c.mapPos(f, +1)},userEvent:b?"move.drop":"input.drop"});a.inputState.draggedContent=null}}function Db(a,b){let c=a.dom.parentNode;if(c){var e=c.appendChild(document.createElement("textarea"));e.style.cssText="position: fixed; left: -10000px; top: 10px";e.value=b;e.focus();e.selectionEnd=b.length;e.selectionStart=0;setTimeout(()=>{e.remove();a.focus()},50)}}function db(a,b){let c=[];for(let e of a.facet(Yd)){let f=e(a,b);f&&c.push(f)}return c?a.update({effects:c,annotations:Zd.of(!0)}):null}function Ta(a){setTimeout(()=> +{var b=a.hasFocus;b!=a.inputState.notifiedFocused&&((b=db(a.state,b))?a.dispatch(b):a.update([]))},10)}function cc(a){$d.has(a)||($d.add(a),a.addEventListener("copy",()=>{}),a.addEventListener("cut",()=>{}))}function dc(a,b){let c,e;null==a[b]&&(c=a[b-1])instanceof ac&&(e=a[b+1])instanceof ac&&a.splice(b-1,3,new ac(c.length+1+e.length))}function ic(a,b,c){let e=new Ne;W.RangeSet.compare(a,b,c,e,0);return e.changes}function Qa(a,b){let c=a.getBoundingClientRect(),e=a.ownerDocument;var f=e.defaultView|| +window;let n=Math.max(0,c.left),x=Math.min(f.innerWidth,c.right),y=Math.max(0,c.top);f=Math.min(f.innerHeight,c.bottom);for(let B=a.parentNode;B&&B!=e.body;)if(1==B.nodeType){let G=B,L=window.getComputedStyle(G);if((G.scrollHeight>G.clientHeight||G.scrollWidth>G.clientWidth)&&"visible"!=L.overflow){let N=G.getBoundingClientRect();n=Math.max(n,N.left);x=Math.min(x,N.right);y=Math.max(y,N.top);f=B==a.parentNode?N.bottom:Math.min(f,N.bottom)}B="absolute"==L.position||"fixed"==L.position?G.offsetParent: +G.parentNode}else if(11==B.nodeType)B=B.host;else break;return{left:n-c.left,right:Math.max(n,x)-c.left,top:y-(c.top+b),bottom:Math.max(y,f)-(c.top+b)}}function Xb(a,b){a=a.getBoundingClientRect();return{left:0,right:a.right-a.left,top:b,bottom:a.bottom-(a.top+b)}}function k(a,b,c){let e=[],f=a,n=0;W.RangeSet.spans(c,a,b,{span(){},point(x,y){x>f&&(e.push({from:f,to:x}),n+=x-f);f=y}},20);f=c)return b[0].from; +if(1<=c)return b[b.length-1].to;a=Math.floor(a*c);for(c=0;;c++){let {from:e,to:f}=b[c],n=f-e;if(a<=n)return e+a;a-=n}}function z(a,b){let c=0;for(let {from:e,to:f}of a.ranges){if(b<=f){c+=b-e;break}c+=f-e}return c/a.total}function H(a,b){for(let c of a)if(b(c))return c}function T(a,b){if(1==b.scale)return a;let c=b.toDOM(a.top),e=b.toDOM(a.bottom);return new yc(a.from,a.length,c,e-c,Array.isArray(a._content)?a._content.map(f=>T(f,b)):a._content)}function Z(a,b,c){return new kc.StyleModule(b,{finish(e){return/&/.test(e)? +e.replace(/&\w*/,f=>{if("\x26"==f)return a;if(!c||!c[f])throw new RangeError(`Unsupported selector: ${f}`);return c[f]}):a+" "+e}})}function ca(a){return 1==a.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(a.nodeName)}function d(a,b){let c,{newSel:e}=b;var f=a.state.selection.main;let n=a.inputState.lastKeyTime>Date.now()-100?a.inputState.lastKeyCode:-1;if(b.bounds){let {from:y,to:B}=b.bounds;var x=f.from;let G=null;if(8===n||sa.android&&b.text.length=f.from&&c.to<=f.to&&(c.from!=f.from||c.to!=f.to)&&4>=f.to-f.from-(c.to-c.from)?c={from:f.from, +to:f.to,insert:a.state.doc.slice(f.from,c.from).append(c.insert).append(a.state.doc.slice(c.to,f.to))}:(sa.mac||sa.android)&&c&&c.from==c.to&&c.from==f.head-1&&/^\. ?$/.test(c.insert.toString())&&"off"==a.contentDOM.getAttribute("autocorrect")?(e&&2==c.insert.length&&(e=W.EditorSelection.single(e.main.anchor-1,e.main.head-1)),c={from:f.from,to:f.to,insert:W.Text.of([" "])}):sa.chrome&&c&&c.from==c.to&&c.from==f.head&&"\n "==c.insert.toString()&&a.lineWrapping&&(e&&(e=W.EditorSelection.single(e.main.anchor- +1,e.main.head-1)),c={from:f.from,to:f.to,insert:W.Text.of([" "])});if(c){if(sa.ios&&a.inputState.flushIOSKey()||sa.android&&(c.from==f.from&&c.to==f.to&&1==c.insert.length&&2==c.insert.lines&&ob(a.contentDOM,"Enter",13)||(c.from==f.from-1&&c.to==f.to&&0==c.insert.length||8==n&&c.insert.lengthf.head)&&ob(a.contentDOM,"Backspace",8)||c.from==f.from&&c.to==f.to+1&&0==c.insert.length&&ob(a.contentDOM,"Delete",46)))return!0;let y=c.insert.toString();0<=a.inputState.composing&&a.inputState.composing++; +let B,G=()=>B||(B=h(a,c,e));a.state.facet(Lc).some(L=>L(a,c.from,c.to,y,G))||a.dispatch(G());return!0}return e&&!e.main.eq(f)?(b=!1,f="select",a.inputState.lastSelectionTime>Date.now()-50&&("select"==a.inputState.lastSelectionOrigin&&(b=!0),f=a.inputState.lastSelectionOrigin),a.dispatch({selection:e,scrollIntoView:b,userEvent:f}),!0):!1}function h(a,b,c){let e=a.state,f=e.selection.main;if(b.from>=f.from&&b.to<=f.to&&b.to-b.from>=(f.to-f.from)/3&&(!c||c.main.empty&&c.main.from==b.from+b.insert.length)&& +0>a.inputState.composing){c=f.fromb.to?e.sliceDoc(b.to,f.to):"";c=e.replaceSelection(a.state.toText(c+b.insert.sliceString(0,void 0,a.state.lineBreak)+n))}else{let x=e.changes(b),y=c&&c.main.to<=x.newLength?c.main:void 0;if(1=f.to-10){let B=a.state.sliceDoc(b.from,b.to),G;G=(c=c&&Hb(a,c.main.head))?{from:c.from,to:c.to-(b.insert.length-(b.to-b.from))}:a.state.doc.lineAt(f.head); +let L=f.to-b.to,N=f.to-f.from;c=e.changeByRange(S=>{if(S.from==f.from&&S.to==f.to)return{changes:x,range:y||S.map(x)};var V=S.to-L,da=V-B.length;if(S.to-S.from!=N||a.state.sliceDoc(da,V)!=B||S.to>=G.from&&S.from<=G.to)return{range:S};V=e.changes({from:da,to:V,insert:b.insert});da=S.to-f.to;return{changes:V,range:y?W.EditorSelection.range(Math.max(0,y.anchor+da),Math.max(0,y.head+da)):S.map(V)}})}else c={changes:x,selection:y&&e.selection.replaceRange(y)}}n="input.type";if(a.composing||a.inputState.compositionPendingChange&& +a.inputState.compositionEndedAt>Date.now()-50)a.inputState.compositionPendingChange=!1,n+=".compose",a.inputState.compositionFirstChange&&(n+=".start",a.inputState.compositionFirstChange=!1);return e.update(c,{userEvent:n,scrollIntoView:!0})}function q(a,b,c,e){var f=Math.min(a.length,b.length);let n=0;for(;n=f?n-c:0,x=n+(x-f),f=n):x=x?n-c:0,f=n+(f-x),x=n);return{from:n,toA:f,toB:x}}function v(a,b,c){for(;b;){var e=hb.get(b);if(e&&e.parent==a)return e;e=b.parentNode;b=e!=a.dom?e:0c.concat(e),[])));return b}function A(a,b=Oe){let c=Object.create(null),e=Object.create(null),f=(y,B)=>{let G=e[y];if(null==G)e[y]=B;else if(G!=B)throw Error("Key binding "+y+" is used both as a regular binding and as a multi-stroke prefix");},n=(y,B,G,L,N)=>{var S,V,da=c[y]||(c[y]=Object.create(null));B=B.split(/ (?!$)/).map(fa=>{fa=fa.split(/-(?!$)/);let ja=fa[fa.length-1];"Space"==ja&&(ja=" ");let ma,Aa,wa, +ib;for(let vb=0;vb{let Aa=Bc={view:ma,prefix:ja,scope:y};setTimeout(()=>{Bc==Aa&&(Bc=null)},4E3);return!0}]})}B=B.join(" ");f(B,!1);da=da[B]||(da[B]={preventDefault:!1,stopPropagation:!1,run:(null===(V=null===(S=da._any)||void 0===S?void 0:S.run)||void 0===V?void 0:V.slice())||[]});G&&da.run.push(G);L&&(da.preventDefault=!0);N&&(da.stopPropagation=!0)};for(let y of a){a=y.scope?y.scope.split(" "):["editor"];if(y.any)for(let B of a){var x=c[B]||(c[B]=Object.create(null));x._any||(x._any= +{preventDefault:!1,stopPropagation:!1,run:[]});for(let G in x)x[G].run.push(y.any)}if(x=y[b]||y.key)for(let B of a)n(B,x,y.run,y.preventDefault,y.stopPropagation),y.shift&&n(B,"Shift-"+x,y.shift,y.preventDefault,y.stopPropagation)}return c}function I(a,b,c,e){let f=gc.keyName(b);var n=W.codePointAt(f,0);n=W.codePointSize(n)==f.length&&" "!=f;let x="",y=!1,B=!1,G=!1;Bc&&Bc.view==c&&Bc.scope==e&&(x=Bc.prefix+" ",0>ce.indexOf(b.keyCode)&&(B=!0,Bc=null));let L=new Set,N=da=>{if(da){for(let fa of da.run)if(!L.has(fa)&& +(L.add(fa),fa(c,b)))return da.stopPropagation&&(G=!0),!0;da.preventDefault&&(da.stopPropagation&&(G=!0),B=!0)}return!1};a=a[e];let S,V;a&&(N(a[x+r(f,b,!n)])?y=!0:n&&(b.altKey||b.metaKey||b.ctrlKey)&&!(sa.windows&&b.ctrlKey&&b.altKey)&&(S=gc.base[b.keyCode])&&S!=f?N(a[x+r(S,b,!0)])?y=!0:b.shiftKey&&(V=gc.shift[b.keyCode])!=f&&V!=S&&N(a[x+r(V,b,!1)])&&(y=!0):n&&b.shiftKey&&N(a[x+r(f,b,!0)])&&(y=!0),!y&&N(a._any)&&(y=!0));B&&(y=!0);y&&G&&b.stopPropagation();return y}function M(a){let b=a.scrollDOM.getBoundingClientRect(); +return{left:(a.textDirection==C.Direction.LTR?b.left:b.right-a.scrollDOM.clientWidth*a.scaleX)-a.scrollDOM.scrollLeft*a.scaleX,top:b.top-a.scrollDOM.scrollTop*a.scaleY}}function Q(a,b,c){b=W.EditorSelection.cursor(b);return{from:Math.max(c.from,a.moveToLineBoundary(b,!1,!0).from),to:Math.min(c.to,a.moveToLineBoundary(b,!0,!0).from),type:C.BlockType.Text}}function aa(a,b,c){function e(Aa,wa,ib,vb){return new Tc(b,Aa-S.left,wa-S.top-.01,ib-Aa,vb-wa+.01)}function f({top:Aa,bottom:wa,horizontal:ib}){let vb= +[];for(let fc=0;fc +jd&&lc.from=rc)break;Bd>Cc&&vb(Math.max(Ad,Cc),null==Aa&&Ad<=jd,Math.min(Bd,rc),null==wa&&Bd>=kd,Uc.dir)}Cc=Ec.to+1;if(Cc>=rc)break}0==id.length&&vb(jd,null==Aa,kd,null==wa,a.textDirection);return{top:fc,bottom:zd,horizontal:id}}function x(Aa,wa){Aa=N.top+(wa?Aa.top:Aa.bottom);return{top:Aa,bottom:Aa,horizontal:[]}}if(c.to<=a.viewport.from|| +c.from>=a.viewport.to)return[];var y=Math.max(c.from,a.viewport.from),B=Math.min(c.to,a.viewport.to);let G=a.textDirection==C.Direction.LTR;var L=a.contentDOM;let N=L.getBoundingClientRect(),S=M(a);L=(L=L.querySelector(".cm-line"))&&window.getComputedStyle(L);let V=N.left+(L?parseInt(L.paddingLeft)+Math.min(0,parseInt(L.textIndent)):0),da=N.right-(L?parseInt(L.paddingRight):0);L=ab(a,y);let fa=ab(a,B),ja=L.type==C.BlockType.Text?L:null,ma=fa.type==C.BlockType.Text?fa:null;ja&&(a.lineWrapping||L.widgetLineBreaks)&& +(ja=Q(a,y,ja));ma&&(a.lineWrapping||fa.widgetLineBreaks)&&(ma=Q(a,B,ma));if(ja&&ma&&ja.from==ma.from)return f(n(c.from,c.to,ja));y=ja?n(c.from,null,ja):x(L,!1);c=ma?n(null,c.to,ma):x(fa,!0);B=[];(ja||L).to<(ma||fa).from-(ja&&ma?1:0)||1 +new Pe(b,a)),ld.of(a)]}function ua(a){return a.startState.facet(Fc)!=a.state.facet(Fc)}function Ja(a,b,c,e,f){b.lastIndex=0;for(let n=a.iterRange(c,e),x=c,y;!n.next().done;x+=n.value.length)if(!n.lineBreak)for(;y=b.exec(n.value);)f(x+y.index,y)}function wb(a,b){let c=a.visibleRanges;if(1==c.length&&c[0].from==a.viewport.from&&c[0].to==a.viewport.to)return c;let e=[];for(let {from:f,to:n}of c)f=Math.max(a.state.doc.lineAt(f).from,f-b),n=Math.min(a.state.doc.lineAt(n).to,n+b),e.length&&e[e.length-1].to>= +f?e[e.length-1].to=n:e.push({from:f,to:n});return e}function m(){return de||(de=Yb.fromClass(class{constructor(a){this.view=a;this.decorations=O.none;this.decorationCache=Object.create(null);this.decorator=this.makeDecorator(a.state.facet(md));this.decorations=this.decorator.createDeco(a)}makeDecorator(a){return new nd({regexp:a.specialChars,decoration:(b,c,e)=>{var {doc:f}=c.state;b=W.codePointAt(b[0],0);return 9==b?(f=f.lineAt(e),c=c.state.tabSize,e=W.countColumn(f.text,c,e-f.from),O.replace({widget:new Qe((c- +e%c)*this.view.defaultCharacterWidth/this.view.scaleX)})):this.decorationCache[b]||(this.decorationCache[b]=O.replace({widget:new Re(a,b)}))},boundary:a.replaceTabs?void 0:/[^]/})}update(a){let b=a.state.facet(md);a.startState.facet(md)!=b?(this.decorator=this.makeDecorator(b),this.decorations=this.decorator.createDeco(a.view)):this.decorations=this.decorator.updateDeco(a,this.decorations)}},{decorations:a=>a.decorations}))}function u(a,b){var c=a.posAtCoords({x:b.clientX,y:b.clientY},!1);let e=a.state.doc.lineAt(c), +f=c-e.from;2E3B.col||0>y.col){var N=Math.min(B.off,y.off);for(y=Math.max(B.off,y.off);G<=n;G++)B=f.doc.line(G),B.length<=y&&L.push(W.EditorSelection.range(B.from+N,B.to+y))}else for(N=Math.min(B.col,y.col),y=Math.max(B.col,y.col);G<=n;G++){B=f.doc.line(G);let S=W.findColumn(B.text,N,f.tabSize,!0);if(0>S)L.push(W.EditorSelection.cursor(B.to));else{let V=W.findColumn(B.text,y,f.tabSize);L.push(W.EditorSelection.range(B.from+ +S,B.from+V))}}return L.length?x?W.EditorSelection.create(L.concat(e.ranges)):W.EditorSelection.create(L):e}}:null}function F(a){({win:a}=a);return{top:0,left:0,bottom:a.innerHeight,right:a.innerWidth}}function R(a){let b=a.nextSibling;a.remove();return b}function X(a){let b=[Se];a&&!1===a.fixed&&b.push(Cd.of(!0));return b}function U(a){return Array.isArray(a)?a:[a]}function ba(a,b,c){for(;a.value&&a.from<=c;)a.from==c&&b.push(a.value),a.next()}function ya(a,b){return a.state.facet(Mc).formatNumber(b, +a.state)}function Oa(a){let b=9;for(;b({decorations:a.createDeco(b),update(c){this.decorations=a.updateDeco(c,this.decorations)}}),{decorations:b=>b.decorations})}var W=pa(1),kc=pa(2),gc=pa(3);class Gc{constructor(){this.anchorNode=null;this.anchorOffset=0;this.focusNode=null;this.focusOffset=0}eq(a){return this.anchorNode==a.anchorNode&&this.anchorOffset==a.anchorOffset&&this.focusNode==a.focusNode&&this.focusOffset==a.focusOffset}setRange(a){let {anchorNode:b, +focusNode:c}=a;this.set(b,Math.min(a.anchorOffset,b?Za(b):0),c,Math.min(a.focusOffset,c?Za(c):0))}set(a,b,c,e){this.anchorNode=a;this.anchorOffset=b;this.focusNode=c;this.focusOffset=e}}let jc=null,Kc;class Vb{constructor(a,b,c=!0){this.node=a;this.offset=b;this.precise=c}static before(a,b){return new Vb(a.parentNode,nb(a),b)}static after(a,b){return new Vb(a.parentNode,nb(a)+1,b)}}const Nc=[];class hb{constructor(){this.dom=this.parent=null;this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent? +this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(a){let b=this.posAtStart;for(let c of this.children){if(c==a)return b;b+=c.length+c.breakAfter}throw new RangeError("Invalid child in posBefore");}posAfter(a){return this.posBefore(a)+a.length}sync(a,b){if(this.flags&2){var c=this.dom;let e=null,f;for(let n of this.children){if(n.flags&7){if(!n.dom&&(f=e?e.nextSibling:c.firstChild)){let x=hb.get(f);(!x||!x.parent&&x.canReuseDOM(n))&&n.reuseDOM(f)}n.sync(a,b); +n.flags&=-8}f=e?e.nextSibling:c.firstChild;b&&!b.written&&b.node==c&&f!=n.dom&&(b.written=!0);if(n.dom.parentNode==c)for(;f&&f!=n.dom;)f=Wa(f);else c.insertBefore(n.dom,f);e=n.dom}(f=e?e.nextSibling:c.firstChild)&&b&&b.node==c&&(b.written=!0);for(;f;)f=Wa(f)}else if(this.flags&1)for(c of this.children)c.flags&7&&(c.sync(a,b),c.flags&=-8)}reuseDOM(a){}localPosFromDOM(a,b){if(a==this.dom)a=this.dom.childNodes[b];else{for(b=0==Za(a)?0:0==b?-1:1;;){let c=a.parentNode;if(c==this.dom)break;0==b&&c.firstChild!= +c.lastChild&&(b=a==c.firstChild?-1:1);a=c}a=0>b?a:a.nextSibling}if(a==this.dom.firstChild)return 0;for(;a&&!hb.get(a);)a=a.nextSibling;if(!a)return this.length;for(let c=0,e=0;;c++){b=this.children[c];if(b.dom==a)return e;e+=b.length+b.breakAfter}}domBoundsAround(a,b,c=0){let e=-1,f=-1,n=-1,x=-1;for(let y=0,B=c,G=c;yb)return L.domBoundsAround(a,b,B);N>=a&&-1==e&&(e=y,f=B);if(B>b&&L.dom.parentNode==this.dom){n=y;x=G;break}G=N; +B=N+L.breakAfter}return{from:f,to:0>x?c+this.length:x,startDOM:(e?this.children[e-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:nc.indexOf(f)&&f.destroy()}this.children.splice(a,b-a,...c);for(a=0;athis.pos||a==this.pos&&(0=f||b=n))return!1;eb(this,a,b,c?c.children:[],f-1,n-1);this.markDirty();return!0}split(a){let b=[];var c=0;let e=-1,f=0;for(let n of this.children){let x=c+n.length;x>a&&b.push(ce&&c>= +a&&(e=f);c=x;f++}c=this.length-a;this.length=a;-1=f||b=n))return!1;this.length=a+(c?c.length:0)+(this.length-b);return!0}become(a){return a instanceof zc&&a.side==this.side&&this.widget.constructor==a.widget.constructor?(this.widget.compare(a.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget= +this.widget),this.widget=a.widget,this.length=a.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(a){return this.widget.ignoreEvent(a)}get overrideDOMText(){if(0==this.length)return W.Text.empty;for(var a=this;a.parent;)a=a.parent;({view:a}=a);a=a&&a.state.doc;let b=this.posAtStart;return a?a.slice(b,b+this.length):W.Text.empty}domAtPos(a){return(this.length?0==a:0this.side:0e instanceof wc))||(c=document.createElement("BR"),c.cmIgnore=!0,this.dom.appendChild(c))}measureTextSize(){if(0==this.children.length||20Math.abs(c-b.lineHeight)&&b.textHeight=b){if(f instanceof E)return f;if(n>b)break}e=n+f.breakAfter}return null}}class K extends hb{constructor(a,b,c){super();this.widget=a;this.length=b;this.deco=c;this.breakAfter=0;this.prevWidget=null}merge(a,b,c,e,f,n){if(c&&(!(c instanceof K&&this.widget.compare(c.widget))||0=f||b=n))return!1;this.length=a+(c?c.length:0)+(this.length-b);return!0}domAtPos(a){return 0==a?Vb.before(this.dom):Vb.after(this.dom, +a==this.length)}split(a){let b=this.length-a;this.length=a;a=new K(this.widget,b,this.deco);a.breakAfter=this.breakAfter;return a}get children(){return Nc}sync(a){this.dom&&this.widget.updateDOM(this.dom,a)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(a)),this.dom.contentEditable="false")}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):W.Text.empty}domBoundsAround(){return null}become(a){return a instanceof +K&&a.widget.constructor==this.widget.constructor?(a.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=a.widget,this.length=a.length,this.deco=a.deco,this.breakAfter=a.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(a){return this.widget.ignoreEvent(a)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(a,b){return this.widget.coordsAt(this.dom,a,b)}destroy(){super.destroy();this.dom&&this.widget.destroy(this.dom)}covers(a){let {startSide:b, +endSide:c}=this.deco;return b==c?!1:0>a?0>b:0=b)throw new RangeError("Mark decorations may not be empty");return super.range(a,b)}}P.prototype.point=!1;class Y extends O{constructor(a){super(-2E8,-2E8,null,a)}eq(a){return a instanceof Y&&this.spec.class==a.spec.class&&rb(this.spec.attributes,a.spec.attributes)}range(a,b=a){if(b!=a)throw new RangeError("Line decoration ranges must be zero-length");return super.range(a,b)}}Y.prototype.mapMode=W.MapMode.TrackBefore;Y.prototype.point=!0;class ia extends O{constructor(a, +b,c,e,f,n){super(b,c,f,a);this.block=e;this.isReplace=n;this.mapMode=e?0>=b?W.MapMode.TrackBefore:W.MapMode.TrackAfter:W.MapMode.TrackDel}get type(){return this.startSide!=this.endSide?C.BlockType.WidgetRange:0>=this.startSide?C.BlockType.WidgetBefore:C.BlockType.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(5<=this.widget.estimatedHeight||0b||a==b&&0=this.endSide))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&b!=a)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(a,b)}}ia.prototype.point=!0;class na{constructor(a,b,c,e){this.doc=a;this.pos=b;this.end=c;this.disallowBlockEffectsFor=e;this.content=[];this.curLine=null;this.pendingBuffer= +this.breakAtStart=0;this.bufferMarks=[];this.atCursorPos=!0;this.openEnd=this.openStart=-1;this.text="";this.textOff=0;this.cursor=a.iter();this.skip=b}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let a=this.content[this.content.length-1];return!(a.breakAfter||a instanceof K&&0>a.deco.endSide)}getLine(){this.curLine||(this.content.push(this.curLine=new E),this.atCursorPos=!0);return this.curLine}flushBuffer(a=this.bufferMarks){this.pendingBuffer&& +(this.curLine.append(Xa(new Jc(-1),a),a.length),this.pendingBuffer=0)}addBlockWidget(a){this.flushBuffer();this.curLine=null;this.content.push(a)}finish(a){this.pendingBuffer&&a<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0;this.posCovered()||a&&this.content.length&&this.content[this.content.length-1]instanceof K||this.getLine()}buildText(a,b,c){for(;0 +this.openStart&&(this.openStart=e)}point(a,b,c,e,f,n){if(this.disallowBlockEffectsFor[n]&&c instanceof ia){if(c.block)throw new RangeError("Block decorations may not be specified via plugins");if(b>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins");}n=b-a;if(c instanceof ia)if(c.block)0e.length||0>=c.startSide);let B=this.getLine();2!=this.pendingBuffer||y||x.isEditable||(this.pendingBuffer=0);this.flushBuffer(e);y&&(B.append(Xa(new Jc(1),e),f),f=e.length+Math.max(0,f-e.length));B.append(Xa(x,e),f);if(this.pendingBuffer=(this.atCursorPos=c)?ae.length?1:2:0)this.bufferMarks=e.slice()}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(c);n&& +(this.textOff+n<=this.text.length?this.textOff+=n:(this.skip+=n-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=b);0>this.openStart&&(this.openStart=f)}static build(a,b,c,e,f){a=new na(a,b,c,f);a.openEnd=W.RangeSet.spans(e,b,c,a);0>a.openStart&&(a.openStart=a.openEnd);a.finish(a.openEnd);return a}}class La extends J{constructor(a){super();this.tag=a}eq(a){return a.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(a){return a.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}} +const Ya=W.Facet.define(),qc=W.Facet.define(),mc=W.Facet.define(),nc=W.Facet.define(),Dc=W.Facet.define(),Lc=W.Facet.define(),Yd=W.Facet.define(),ee=W.Facet.define({combine:a=>a.some(b=>b)}),fe=W.Facet.define({combine:a=>a.some(b=>b)});class $c{constructor(a,b="nearest",c="nearest",e=5,f=5,n=!1){this.range=a;this.y=b;this.x=c;this.yMargin=e;this.xMargin=f;this.isSnapshot=n}map(a){return a.empty?this:new $c(this.range.map(a),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(a){return this.range.to<= +a.doc.length?this:new $c(W.EditorSelection.cursor(a.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const od=W.StateEffect.define({map:(a,b)=>a.map(b)}),hd=W.Facet.define({combine:a=>a.length?a[0]:!0});let Te=0;const ad=W.Facet.define();class Yb{constructor(a,b,c,e,f){this.id=a;this.create=b;this.domEventHandlers=c;this.domEventObservers=e;this.extension=f(this)}static define(a,b){const {eventHandlers:c,eventObservers:e,provide:f,decorations:n}=b||{};return new Yb(Te++,a,c,e, +x=>{let y=[ad.of(x)];n&&y.push(bd.of(B=>(B=B.plugin(x))?n(B):O.none));f&&y.push(f(x));return y})}static fromClass(a,b){return Yb.define(c=>new a(c),b)}}class Dd{constructor(a){this.spec=a;this.value=this.mustUpdate=null}update(a){if(!this.value){if(this.spec)try{this.value=this.spec.create(a)}catch(b){kb(a.state,b,"CodeMirror plugin crashed"),this.deactivate()}}else if(this.mustUpdate&&(a=this.mustUpdate,this.mustUpdate=null,this.value.update))try{this.value.update(a)}catch(b){kb(a.state,b,"CodeMirror plugin crashed"); +if(this.value.destroy)try{this.value.destroy()}catch(c){}this.deactivate()}return this}destroy(a){var b;if(null===(b=this.value)||void 0===b?0:b.destroy)try{this.value.destroy()}catch(c){kb(a.state,c,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const ge=W.Facet.define(),pd=W.Facet.define(),bd=W.Facet.define(),xd=W.Facet.define(),Rd=W.Facet.define(),Sd=W.Facet.define(),cd=W.Facet.define();class pc{constructor(a,b,c,e){this.fromA=a;this.toA=b;this.fromB=c;this.toB=e}join(a){return new pc(Math.min(this.fromA, +a.fromA),Math.max(this.toA,a.toA),Math.min(this.fromB,a.fromB),Math.max(this.toB,a.toB))}addToSet(a){let b=a.length,c=this;for(;0c.toA)){if(e.toAG)break;else f+=2}if(!y)return c;(new pc(y.fromA,y.toA,y.fromB,y.toB)).addToSet(c);n=y.toA;x=y.toB}}}class qd{constructor(a,b,c){this.view=a;this.state=b;this.transactions=c;this.flags=0;this.startState=a.state;this.changes=W.ChangeSet.empty(this.startState.doc.length);for(let f of c)this.changes=this.changes.compose(f.changes);let e=[];this.changes.iterChangedRanges((f,n,x,y)=>e.push(new pc(f,n,x,y)));this.changedRanges=e}static create(a,b,c){return new qd(a,b,c)}get viewportChanged(){return 0< +(this.flags&4)}get heightChanged(){return 0<(this.flags&2)}get geometryChanged(){return this.docChanged||0<(this.flags&10)}get focusChanged(){return 0<(this.flags&1)}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(a=>a.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}C.Direction=void 0;(function(a){a[a.LTR=0]="LTR";a[a.RTL=1]="RTL"})(C.Direction||(C.Direction={}));const Sc=C.Direction.LTR,Td=C.Direction.RTL,Ie=Ob("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"), +Je=Ob("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),wd=Object.create(null),oc=[];for(let a of["()","[]","{}"]){let b=a.charCodeAt(0),c=a.charCodeAt(1);wd[b]=c;wd[c]=-b}const Ke=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class xc{get dir(){return this.level%2?Td:Sc}constructor(a, +b,c){this.from=a;this.to=b;this.level=c}side(a,b){return this.dir==b==a?this.to:this.from}static find(a,b,c,e){let f=-1;for(let n=0;n=b){if(x.level==c)return n;if(0>f||(0!=e?0>e?x.fromb:a[f].level>x.level))f=n}}if(0>f)throw new RangeError("Index out of range");return f}}const gb=[];let Ud="";class he extends hb{get length(){return this.view.state.doc.length}constructor(a){super();this.view=a;this.decorations=[];this.dynamicDecorationMap=[];this.hasComposition= +this.domChanged=null;this.markedForComposition=new Set;this.minWidthTo=this.minWidthFrom=this.minWidth=0;this.impreciseHead=this.impreciseAnchor=null;this.forceSelection=!1;this.lastUpdate=Date.now();this.setDOM(a.contentDOM);this.children=[new E];this.children[0].setParent(this);this.updateDeco();this.updateInner([new pc(0,0,0,a.state.doc.length)],0,null)}update(a){var b;let c=a.changedRanges;0xthis.minWidthTo)?(this.minWidthFrom= +a.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=a.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);var e=-1;0<=this.view.inputState.composing&&((null===(b=this.domChanged)||void 0===b?0:b.newSel)?e=this.domChanged.newSel.head:Da(a.changes,this.hasComposition)||a.selectionSet||(e=a.state.selection.main.head));b=-1{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px";this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let f=sa.chrome||sa.ios?{node:e.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,f);this.flags&=-8;f&&(f.written||e.selectionRange.focusNode!=f.node)&&(this.forceSelection=!0);this.dom.style.height=""});this.markedForComposition.forEach(f=>f.flags&=-9);a=[];if(this.view.viewport.from|| +this.view.viewport.toB){f=na.build(this.view.state.doc,B,c.range.fromB,this.decorations,this.dynamicDecorationMap);let ja=na.build(this.view.state.doc, +c.range.toB,G,this.decorations,this.dynamicDecorationMap);e=f.breakAtStart;L=f.openStart;N=ja.openEnd;let ma=this.compositionView(c);ja.breakAtStart?ma.breakAfter=1:ja.content.length&&ma.merge(ma.length,ma.length,ja.content[0],!1,ja.openStart,0)&&(ma.breakAfter=ja.content[0].breakAfter,ja.content.shift());f.content.length&&ma.merge(0,0,f.content[f.content.length-1],!0,0,f.openEnd)&&f.content.pop();f=f.content.concat(ma).concat(ja.content)}else({content:f,breakAtStart:e,openStart:L,openEnd:N}=na.build(this.view.state.doc, +B,G,this.decorations,this.dynamicDecorationMap));let {i:S,off:V}=b.findPos(y,1),{i:da,off:fa}=b.findPos(x,-1);qb(this,da,fa,S,V,f,e,L,N)}c&&this.fixCompositionDOM(c)}compositionView(a){let b=new wc(a.text.nodeValue);b.flags|=8;for(let {deco:c}of a.marks)b=new tc(c,[b],b.length);a=new E;a.append(b,0);return a}fixCompositionDOM(a){let b=(f,n)=>{n.flags=n.flags|8|(n.children.some(y=>y.flags&7)?1:0);this.markedForComposition.add(n);let x=hb.get(f);x&&x!=n&&(x.dom=null);n.setDOM(f)},c=this.childPos(a.range.fromB, +1),e=this.children[c.i];b(a.line,e);for(let f=a.marks.length-1;-1<=f;f--)c=e.childPos(c.off,1),e=e.children[c.i],b(0<=f?a.marks[f].node:a.text,e)}updateSelection(a=!1,b=!1){!a&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let c=this.view.root.activeElement;a=c==this.dom;let e=!a&&Ka(this.dom,this.view.observer.selectionRange)&&!(c&&this.dom.contains(c));if(a||b||e){b=this.forceSelection;this.forceSelection=!1;var f=this.view.state.selection.main,n=this.moveToLine(this.domAtPos(f.anchor)), +x=f.empty?n:this.moveToLine(this.domAtPos(f.head));if(sa.gecko&&f.empty&&!this.hasComposition&&1==n.node.nodeType&&n.node.firstChild&&(0==n.offset||"false"==n.node.childNodes[n.offset-1].contentEditable)&&(n.offset==n.node.childNodes.length||"false"==n.node.childNodes[n.offset].contentEditable)){let B=document.createTextNode("");this.view.observer.ignore(()=>n.node.insertBefore(B,n.node.childNodes[n.offset]||null));n=x=new Vb(B,0);b=!0}var y=this.view.observer.selectionRange;!b&&y.focusNode&&Eb(n.node, +n.offset,y.anchorNode,y.anchorOffset)&&Eb(x.node,x.offset,y.focusNode,y.focusOffset)||(this.view.observer.ignore(()=>{var B;if(B=sa.android&&sa.chrome&&this.dom.contains(y.focusNode))a:{for(B=y.focusNode;B&&B!=this.dom;B=B.assignedSlot||B.parentNode)if(1==B.nodeType&&"false"==B.contentEditable){B=!0;break a}B=!1}B&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));if(B=Ca(this.view.root))if(f.empty){if(sa.gecko){var G=n.node;var L=n.offset;G=1!=G.nodeType?0:(L&&"false"==G.childNodes[L-1].contentEditable? +1:0)|(Lf.head&&([n,x]=[x,n]),G.setEnd(x.node,x.offset),G.setStart(n.node,n.offset),B.removeAllRanges(),B.addRange(G);e&&this.view.root.activeElement== +this.dom&&(this.dom.blur(),c&&c.focus())}),this.view.observer.setSelectionRange(n,x));this.impreciseAnchor=n.precise?null:new Vb(y.anchorNode,y.anchorOffset);this.impreciseHead=x.precise?null:new Vb(y.focusNode,y.focusOffset)}}enforceCursorAssoc(){if(!this.hasComposition){var {view:a}=this,b=a.state.selection.main,c=Ca(a.root),{anchorNode:e,anchorOffset:f}=a.observer.selectionRange;if(c&&b.empty&&b.assoc&&c.modify){var n=E.find(this,b.head);if(n){var x=n.posAtStart;b.head!=x&&b.head!=x+n.length&& +(n=this.coordsAt(b.head,-1),x=this.coordsAt(b.head,1),!n||!x||n.bottom>x.top||(n=this.domAtPos(b.head+b.assoc),c.collapse(n.node,n.offset),c.modify("move",0>b.assoc?"forward":"backward","lineboundary"),a.observer.readSelectionRange(),n=a.observer.selectionRange,a.docView.posFromDOM(n.anchorNode,n.anchorOffset)!=b.from&&c.collapse(e,f)))}}}}moveToLine(a){let b=this.dom,c;if(a.node!=b)return a;for(var e=a.offset;!c&&ea||x.covers(1))&&(!c||x instanceof E&&!(c instanceof E&&0<=b))&&(c=x,e=B);f=B}return c?c.coordsAt(a-e,b):null}coordsForChar(a){let {i:b,off:c}=this.childPos(a,1);a=this.children[b];if(!(a instanceof E))return null;for(;a.children.length;){let {i:f, +off:n}=a.childPos(c,1);for(;;f++){if(f==a.children.length)return null;if((a=a.children[f]).length)break}c=n}if(!(a instanceof wc))return null;var e=W.findClusterBreak(a.text,c);if(e==c)return null;a=sb(a.dom,c,e).getClientRects();for(e=0;eMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,n=-1,x=this.view.textDirection== +C.Direction.LTR;for(let G=0,L=0;Le)break;if(G>=c){var y=N.dom.getBoundingClientRect();b.push(y.height);if(f){var B=N.dom.lastChild;B=B?Ra(B):[];B.length&&(B=B[B.length-1],y=x?B.right-y.left:y.right-B.left,y>n&&(n=y,this.minWidth=a,this.minWidthFrom=G,this.minWidthTo=S))}}G=S+N.breakAfter}return b}textDirectionAt(a){({i:a}=this.childPos(a,1));return"rtl"==getComputedStyle(this.children[a].dom).direction?C.Direction.RTL:C.Direction.LTR}measureTextSize(){for(let f of this.children)if(f instanceof +E){let n=f.measureTextSize();if(n)return n}let a=document.createElement("div"),b,c,e;a.className="cm-line";a.style.width="99999px";a.style.position="absolute";a.textContent="abc def ghi jkl mno pqr stu";this.view.observer.ignore(()=>{this.dom.appendChild(a);let f=Ra(a.firstChild)[0];b=a.getBoundingClientRect().height;c=f?f.width/27:7;e=f?f.height:b;a.remove()});return{lineHeight:b,charWidth:c,textHeight:e}}childCursor(a=this.length){let b=this.children.length;b&&(a-=this.children[--b].length);return new Vc(this.children, +a,b)}computeBlockGapDeco(){let a=[],b=this.view.viewState;for(let c=0,e=0;;e++){let f=e==b.viewports.length?null:b.viewports[e],n=f?f.from-1:this.length;if(n>c){let x=(b.lineBlockAt(n).bottom-b.lineBlockAt(c).top)/this.view.scaleY;a.push(O.replace({widget:new ie(x),block:!0,inclusive:!0,isBlockGap:!0}).range(c,n))}if(!f)break;c=f.to+1}return O.set(a)}updateDeco(){let a=this.view.state.facet(bd).map((b,c)=>(this.dynamicDecorationMap[c]="function"==typeof b)?b(this.view):b);for(let b=a.length;bc.anchor?-1:1);var e;if(b){!c.empty&&(e=this.coordsAt(c.anchor,c.anchor>c.head?-1:1))&&(b={left:Math.min(b.left,e.left),top:Math.min(b.top, +e.top),right:Math.max(b.right,e.right),bottom:Math.max(b.bottom,e.bottom)});e=xa(this.view);b={left:b.left-e.left,top:b.top-e.top,right:b.right+e.right,bottom:b.bottom+e.bottom};var {offsetWidth:f,offsetHeight:n}=this.view.scrollDOM,x=this.view.scrollDOM;c=c.head +ja+Aa&&(Aa=b.bottom-ja+Aa+a)):b.bottom>ja&&(Aa=b.bottom-ja+a,0>c&&b.top-Aac?b.top-a:b.bottom-ja+a)-fa);"nearest"==e?b.leftda+ma&&(ma=b.right-da+ma+B)):b.right>da&&(ma=b.right-da+B,0>c&&b.leftMath.abs(V-ma)&&(e="nearest"),da&&1>Math.abs(da-Aa)&&(y="nearest"));if(x)break;wa=wa.assignedSlot||wa.parentNode}else if(11==wa.nodeType)wa=wa.host;else break}}}}class ie extends J{constructor(a){super();this.height=a}toDOM(){let a=document.createElement("div");this.updateDOM(a);return a}eq(a){return a.height== +this.height}updateDOM(a){a.style.height=this.height+"px";return!0}get estimatedHeight(){return this.height}}let Le=class{constructor(){this.changes=[]}compareRange(a,b){Tb(a,b,this.changes)}comparePoint(a,b){Tb(a,b,this.changes)}};class Ue{setSelectionOrigin(a){this.lastSelectionOrigin=a;this.lastSelectionTime=Date.now()}constructor(a){this.view=a;this.lastScrollLeft=this.lastScrollTop=this.lastFocusTime=this.lastTouchTime=this.lastKeyTime=this.lastKeyCode=0;this.pendingIOSKey=void 0;this.lastSelectionOrigin= +null;this.lastContextMenu=this.lastEscPress=this.lastSelectionTime=0;this.scrollHandlers=[];this.handlers=Object.create(null);this.composing=-1;this.compositionFirstChange=null;this.compositionEndedAt=0;this.compositionPendingChange=this.compositionPendingKey=!1;this.draggedContent=this.mouseSelection=null;this.handleEvent=this.handleEvent.bind(this);this.notifiedFocused=a.hasFocus;sa.safari&&a.contentDOM.addEventListener("input",()=>null);sa.gecko&&cc(a.contentDOM.ownerDocument)}handleEvent(a){Ub(this.view, +a)&&!this.ignoreDuringComposition(a)&&("keydown"==a.type&&this.keydown(a)||this.runHandlers(a.type,a))}runHandlers(a,b){if(a=this.handlers[a]){for(let c of a.observers)c(this.view,b);for(let c of a.handlers){if(b.defaultPrevented)break;if(c(this.view,b)){b.preventDefault();break}}}}ensureHandlers(a){a=Lb(a);let b=this.handlers,c=this.view.contentDOM;for(let e in a)if("scroll"!=e){let f=!a[e].handlers.length,n=b[e];n&&f!=!n.handlers.length&&(c.removeEventListener(e,this.handleEvent),n=null);n||c.addEventListener(e, +this.handleEvent,{passive:f})}for(let e in b)"scroll"==e||a[e]||c.removeEventListener(e,this.handleEvent);this.handlers=a}keydown(a){this.lastKeyCode=a.keyCode;this.lastKeyTime=Date.now();if(9==a.keyCode&&Date.now()ce.indexOf(a.keyCode)&&(this.view.inputState.lastEscPress=0);if(sa.android&&sa.chrome&&!a.synthetic&&(13==a.keyCode||8==a.keyCode))return this.view.observer.delayAndroidKey(a.key,a.keyCode),!0;let b;if(sa.ios&&!a.synthetic&&!a.altKey&&!a.metaKey&& +((b=je.find(c=>c.keyCode==a.keyCode))&&!a.ctrlKey||-1<"dthko".indexOf(a.key)&&a.ctrlKey&&!a.shiftKey))return this.pendingIOSKey=b||a,setTimeout(()=>this.flushIOSKey(),250),!0;229!=a.keyCode&&this.view.observer.forceFlush();return!1}flushIOSKey(){let a=this.pendingIOSKey;if(!a)return!1;this.pendingIOSKey=void 0;return ob(this.view.contentDOM,a.key,a.keyCode)}ignoreDuringComposition(a){return/^key/.test(a.type)?0Date.now()-this.compositionEndedAt? +(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(a){this.mouseSelection&&this.mouseSelection.destroy();this.mouseSelection=a}update(a){this.mouseSelection&&this.mouseSelection.update(a);this.draggedContent&&a.docChanged&&(this.draggedContent=this.draggedContent.map(a.changes));a.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const je=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter", +keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],ce=[16,17,18,20,91,92,224,225];class Ve{constructor(a,b,c,e){this.view=a;this.startEvent=b;this.style=c;this.mustSelect=e;this.scrollSpeed={x:0,y:0};this.scrolling=-1;this.lastEvent=b;this.scrollParent=Jb(a.contentDOM);this.atoms=a.state.facet(xd).map(f=>f(a));c=a.contentDOM.ownerDocument;c.addEventListener("mousemove",this.move=this.move.bind(this)); +c.addEventListener("mouseup",this.up=this.up.bind(this));this.extend=b.shiftKey;this.multiple=a.state.facet(W.EditorState.allowMultipleSelections)&&Wb(a,b);this.dragging=ec(a,b)&&1==Ua(b)?null:!1}start(a){!1===this.dragging&&this.select(a)}move(a){var b;if(0==a.buttons)return this.destroy();var c;!(c=this.dragging)&&(c=null==this.dragging)&&(c=this.startEvent,c=10>Math.max(Math.abs(c.clientX-a.clientX),Math.abs(c.clientY-a.clientY)));if(!c){this.select(this.lastEvent=a);var e=c=0,f=(null===(b=this.scrollParent)|| +void 0===b?void 0:b.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight};b=xa(this.view);a.clientX-b.left<=f.left+6?c=-(.7*Math.max(0,f.left-a.clientX)+8):a.clientX+b.right>=f.right-6&&(c=.7*Math.max(0,a.clientX-f.right)+8);a.clientY-b.top<=f.top+6?e=-(.7*Math.max(0,f.top-a.clientY)+8):a.clientY+b.bottom>=f.bottom-6&&(e=.7*Math.max(0,a.clientY-f.bottom)+8);this.setScrollSpeed(c,e)}}up(a){null==this.dragging&&this.select(this.lastEvent);this.dragging|| +a.preventDefault();this.destroy()}destroy(){this.setScrollSpeed(0,0);let a=this.view.contentDOM.ownerDocument;a.removeEventListener("mousemove",this.move);a.removeEventListener("mouseup",this.up);this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(a,b){this.scrollSpeed={x:a,y:b};a||b?0>this.scrolling&&(this.scrolling=setInterval(()=>this.scroll(),50)):-1this.select(this.lastEvent),20)}}const uc=Object.create(null),vc=Object.create(null),ke=sa.ie&& +15>sa.ie_version||sa.ios&&604>sa.webkit_version;vc.scroll=a=>{a.inputState.lastScrollTop=a.scrollDOM.scrollTop;a.inputState.lastScrollLeft=a.scrollDOM.scrollLeft};uc.keydown=(a,b)=>{a.inputState.setSelectionOrigin("select");27==b.keyCode&&(a.inputState.lastEscPress=Date.now());return!1};vc.touchstart=(a,b)=>{a.inputState.lastTouchTime=Date.now();a.inputState.setSelectionOrigin("select.pointer")};vc.touchmove=a=>{a.inputState.setSelectionOrigin("select.pointer")};uc.mousedown=(a,b)=>{a.observer.flush(); +if(a.inputState.lastTouchTime>Date.now()-2E3)return!1;var c=null;for(var e of a.state.facet(mc))if(c=e(a,b))break;c||0!=b.button||(c=bb(a,b));return c&&(e=!a.hasFocus,a.inputState.startMouseSelection(new Ve(a,b,c,e)),e&&a.observer.ignore(()=>Rb(a.contentDOM)),c=a.inputState.mouseSelection)?(c.start(b),!1===c.dragging):!1};const Me=sa.ie&&11>=sa.ie_version;let Vd=null,Xd=0,Wd=0;uc.dragstart=(a,b)=>{let {selection:{main:c}}=a.state;if(b.target.draggable){var e=a.docView.nearest(b.target);if(e&&e.isWidget){var f= +e.posAtStart;e=f+e.length;if(f>=c.to||e<=c.from)c=W.EditorSelection.range(f,e)}}({inputState:f}=a);f.mouseSelection&&(f.mouseSelection.dragging=!0);f.draggedContent=c;b.dataTransfer&&(b.dataTransfer.setData("Text",a.state.sliceDoc(c.from,c.to)),b.dataTransfer.effectAllowed="copyMove");return!1};uc.dragend=a=>{a.inputState.draggedContent=null;return!1};uc.drop=(a,b)=>{if(!b.dataTransfer)return!1;if(a.state.readOnly)return!0;let c=b.dataTransfer.files;if(c&&c.length){let f=Array(c.length),n=0,x=()=> +{++n==c.length&&Cb(a,b,f.filter(y=>null!=y).join(a.state.lineBreak),!1)};for(let y=0;y{/[\x00-\x08\x0e-\x1f]{2}/.test(B.result)||(f[y]=B.result);x()};B.readAsText(c[y])}return!0}let e=b.dataTransfer.getData("Text");return e?(Cb(a,b,e,!0),!0):!1};uc.paste=(a,b)=>{if(a.state.readOnly)return!0;a.observer.flush();if(b=ke?null:b.clipboardData)return Bb(a,b.getData("text/plain")||b.getData("text/uri-text")),!0;Mb(a);return!1};let yd=null;uc.copy= +uc.cut=(a,b)=>{var c=a.state;let e=[],f=[];var n=!1;for(var x of c.selection.ranges)x.empty||(e.push(c.sliceDoc(x.from,x.to)),f.push(x));if(!e.length){n=-1;for(let {from:L}of c.selection.ranges)x=c.doc.lineAt(L),x.number>n&&(e.push(x.text),f.push({from:x.from,to:Math.min(c.doc.length,x.to+1)})),n=x.number;n=!0}c={text:e.join(c.lineBreak),ranges:f,linewise:n};let {text:y,ranges:B,linewise:G}=c;if(!y&&!G)return!1;yd=G?y:null;"cut"!=b.type||a.state.readOnly||a.dispatch({changes:B,scrollIntoView:!0,userEvent:"delete.cut"}); +if(b=ke?null:b.clipboardData)return b.clearData(),b.setData("text/plain",y),!0;Db(a,y);return!1};const Zd=W.Annotation.define();vc.focus=a=>{a.inputState.lastFocusTime=Date.now();a.scrollDOM.scrollTop||!a.inputState.lastScrollTop&&!a.inputState.lastScrollLeft||(a.scrollDOM.scrollTop=a.inputState.lastScrollTop,a.scrollDOM.scrollLeft=a.inputState.lastScrollLeft);Ta(a)};vc.blur=a=>{a.observer.clearSelectionRange();Ta(a)};vc.compositionstart=vc.compositionupdate=a=>{null==a.inputState.compositionFirstChange&& +(a.inputState.compositionFirstChange=!0);0>a.inputState.composing&&(a.inputState.composing=0)};vc.compositionend=a=>{a.inputState.composing=-1;a.inputState.compositionEndedAt=Date.now();a.inputState.compositionPendingKey=!0;a.inputState.compositionPendingChange=0a.observer.flush()):setTimeout(()=>{0>a.inputState.composing&& +a.docView.hasComposition&&a.update([])},50)};vc.contextmenu=a=>{a.inputState.lastContextMenu=Date.now()};uc.beforeinput=(a,b)=>{var c;let e;if(sa.chrome&&sa.android&&(e=je.find(f=>f.inputType==b.inputType))&&(a.observer.delayAndroidKey(e.key,e.keyCode),"Backspace"==e.key||"Delete"==e.key)){let f=(null===(c=window.visualViewport)||void 0===c?void 0:c.height)||0;setTimeout(()=>{var n;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>f+10&&a.hasFocus&&(a.contentDOM.blur(),a.focus())}, +100)}return!1};const $d=new Set,le=["pre-wrap","normal","pre-line","break-spaces"];class me{constructor(a){this.lineWrapping=a;this.doc=W.Text.empty;this.heightSamples={};this.lineHeight=14;this.charWidth=7;this.textHeight=14;this.lineLength=30;this.heightChanged=!1}heightForGap(a,b){let c=this.doc.lineAt(b).number-this.doc.lineAt(a).number+1;this.lineWrapping&&(c+=Math.max(0,Math.ceil((b-a-c*this.lineLength*.5)/this.lineLength)));return this.lineHeight*c}heightForLine(a){return this.lineWrapping? +(1+Math.max(0,Math.ceil((a-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(a){this.doc=a;return this}mustRefreshForWrapping(a){return-1e?c++:this.heightSamples[Math.floor(10*e)]||(b=!0,this.heightSamples[Math.floor(10*e)]=!0)}return b}refresh(a,b,c,e,f,n){let x=-1c?b++:this.heightSamples[Math.floor(10*c)]=!0;return a}}class ne{constructor(a,b){this.from=a;this.heights=b;this.index=0}get more(){return this.index=G?x:f.lineAt(G,mb.ByPosNoHeight,c,0,0);N+=S.to-G;for(G=S.to;02*f){var n=a[b-1];n.break?a.splice(--b, +1,n.left,null,n.right):a.splice(--b,1,n.left,n.right);c+=1+n.break;e-=n.size}else if(f>2*e)n=a[c],n.break?a.splice(c,1,n.left,null,n.right):a.splice(c,1,n.left,n.right),c+=2+n.break,f-=n.size;else break;else e=f&&n(this.blockAt(0,c,e,f))}updateHeight(a,b=0,c,e){e&&e.from<=b&&e.more&&this.setHeight(a,e.heights[e.index++]);this.outdated=!1;return this}toString(){return`block(${this.length})`}}class sc extends pe{constructor(a,b){super(a,b,null);this.breaks=this.widgetHeight=this.collapsed=0}blockAt(a,b,c,e){return new yc(e,this.length,c,this.height,this.breaks)}replace(a,b,c){a=c[0];return 1==c.length&& +(a instanceof sc||a instanceof ac&&a.flags&4)&&10>Math.abs(this.length-a.length)?(a instanceof ac?a=new sc(a.length,this.height):a.height=this.height,this.outdated||(a.outdated=!1),a):hc.of(c)}updateHeight(a,b=0,c=!1,e){e&&e.from<=b&&e.more?this.setHeight(a,e.heights[e.index++]):(c||this.outdated)&&this.setHeight(a,Math.max(this.widgetHeight,a.heightForLine(this.length-this.collapsed))+this.breaks*a.lineHeight);this.outdated=!1;return this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed: +""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ac extends hc{constructor(a){super(a,0)}heightMetrics(a,b){let c=a.doc.lineAt(b).number;b=a.doc.lineAt(b+this.length).number;let e=b-c+1,f=0;if(a.lineWrapping){let n=Math.min(this.height,a.lineHeight*e);a=n/e;this.length>e+1&&(f=(this.height-n)/(this.length-e-1))}else a=this.height/e;return{firstLine:c,lastLine:b,perLine:a,perChar:f}}blockAt(a,b,c,e){let {firstLine:f,lastLine:n,perLine:x,perChar:y}=this.heightMetrics(b,e);if(b.lineWrapping)return b= +b.doc.lineAt(e+Math.round(Math.max(0,Math.min(1,(a-c)/this.height))*this.length)),e=x+b.length*y,new yc(b.from,b.length,Math.max(c,a-e/2),e,0);a=Math.max(0,Math.min(n-f,Math.floor((a-c)/x)));let {from:B,length:G}=b.doc.line(f+a);return new yc(B,G,c+x*a,x,0)}lineAt(a,b,c,e,f){if(b==mb.ByHeight)return this.blockAt(a,c,e,f);if(b==mb.ByPosNoHeight){let {from:B,to:G}=c.doc.lineAt(a);return new yc(B,G-B,0,0,0)}let {firstLine:n,perLine:x,perChar:y}=this.heightMetrics(c,f);a=c.doc.lineAt(a);b=x+a.length* +y;c=a.number-n;return new yc(a.from,a.length,Math.max(e,Math.min(e+x*c+y*(a.from-f-c),e+this.height-b)),b,0)}forEachLine(a,b,c,e,f,n){a=Math.max(a,f);b=Math.min(b,f+this.length);let {firstLine:x,perLine:y,perChar:B}=this.heightMetrics(c,f);for(let L=a,N=e;L<=b;){e=c.doc.lineAt(L);if(L==a){var G=e.number-x;N+=y*G+B*(a-f-G)}G=y+B*e.length;n(new yc(e.from,e.length,N,G,0));N+=G;L=e.to+1}}replace(a,b,c){b=this.length-b;if(0b&&x.push((new ac(e.from-b-1)).updateHeight(a,b));y<=f&&e.more;){let B=a.doc.lineAt(y).length;x.length&&x.push(null);var n=e.heights[e.index++];-1==c?c=n:.001<= +Math.abs(n-c)&&(c=-2);n=new sc(B,n);n.outdated=!1;x.push(n);y+=B+1}y<=f&&x.push(null,(new ac(f-y)).updateHeight(a,y));e=hc.of(x);if(0>c||.001<=Math.abs(e.height-this.height)||.001<=Math.abs(c-this.heightMetrics(a,b).perLine))a.heightChanged=!0;return e}if(c||this.outdated)this.setHeight(a,a.heightForGap(b,b+this.length)),this.outdated=!1;return this}toString(){return`gap(${this.length})`}}class We extends hc{constructor(a,b,c){super(a.length+b+c.length,a.height+c.height,b|(a.outdated||c.outdated? +2:0));this.left=a;this.right=c;this.size=a.size+c.size}get break(){return this.flags&1}blockAt(a,b,c,e){let f=c+this.left.height;return ax))return a;b=b==mb.ByPosNoHeight?mb.ByPosNoHeight:mb.ByPos;return y?a.join(this.right.lineAt(x, +b,c,n,x)):this.left.lineAt(x,b,c,e,f).join(a)}forEachLine(a,b,c,e,f,n){let x=e+this.left.height,y=f+this.left.length+this.break;if(this.break)a=y&&this.right.forEachLine(a,b,c,x,y,n);else{let B=this.lineAt(y,mb.ByPos,c,e,f);a=a&&B.from<=b&&n(B);b>B.to&&this.right.forEachLine(B.to+1,b,c,x,y,n)}}replace(a,b,c){var e=this.left.length+this.break;if(bthis.left.length)return this.balanced(this.left,this.right.replace(a-e,b-e,c));e=[];0=c&&b.push(null));a>c&&this.right.decomposeLeft(a-c,b)}decomposeRight(a,b){let c=this.left.length,e=c+this.break;if(a>=e)return this.right.decomposeRight(a- +e,b);a2*b.size||b.size>2*a.size)return hc.of(this.break?[a,null,b]:[a,b]);this.left=a;this.right=b;this.height=a.height+b.height;this.outdated=a.outdated||b.outdated;this.size=a.size+b.size;this.length=a.length+this.break+b.length;return this}updateHeight(a,b=0,c=!1,e){let {left:f,right:n}=this,x=b+f.length+this.break,y=null;e&&e.from<=b+f.length&&e.more?y=f=f.updateHeight(a,b,c,e):f.updateHeight(a, +b,c);e&&e.from<=x+n.length&&e.more?y=n=n.updateHeight(a,x,c,e):n.updateHeight(a,x,c);if(y)return this.balanced(f,n);this.height=this.left.height+this.right.height;this.outdated=!1;return this}toString(){return this.left+(this.break?" ":"-")+this.right}}class oe{constructor(a,b){this.pos=a;this.oracle=b;this.nodes=[];this.lineEnd=this.lineStart=-1;this.covering=null;this.writtenTo=a}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(a,b){if(-1this.pos||!this.isCovered)&&this.nodes.push(new sc(a-this.pos,-1));this.writtenTo=a;b>a&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=b}point(a,b,c){if(ae&&(e=this.oracle.lineHeight);a=b-a;c.block?this.addBlock(new pe(a,e,c)):(a||f||5<=e)&&this.addLineDeco(e,f,a)}else b>a&&this.span(a, +b);-1a&&this.nodes.push(new sc(this.pos-a,-1));this.writtenTo=this.pos}}blankContent(a,b){let c=new ac(b-a);this.oracle.doc.lineAt(a).to== +b&&(c.flags|=4);return c}ensureLine(){this.enterLine();var a=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(a instanceof sc)return a;a=new sc(0,-1);this.nodes.push(a);return a}addBlock(a){this.enterLine();let b=a.deco;b&&0"function"!=typeof c&&"cm-lineWrapping"==c.class);this.heightOracle=new me(b);this.stateDeco=a.facet(bd).filter(c=>"function"!=typeof c);this.heightMap=hc.empty().applyChanges(this.stateDeco,W.Text.empty, +this.heightOracle.setDoc(a.doc),[new pc(0,0,0,a.doc.length)]);this.viewport=this.getViewport(0,null);this.updateViewportLines();this.updateForViewport();this.lineGaps=this.ensureLineGaps([]);this.lineGapDeco=O.set(this.lineGaps.map(c=>c.draw(this,!1)));this.computeVisibleRanges()}updateForViewport(){let a=[this.viewport],{main:b}=this.state.selection;for(let c=0;1>=c;c++){let e=c?b.head:b.anchor;if(!a.some(({from:f,to:n})=>e>=f&&e<=n)){let {from:f,to:n}=this.lineBlockAt(e);a.push(new rd(f,n))}}this.viewports= +a.sort((c,e)=>c.from-e.from);this.scaler=7E6>=this.heightMap.height?re:new Ye(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[];this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,a=>{this.viewportLines.push(1==this.scaler.scale?a:T(a,this.scaler))})}update(a,b=null){this.state=a.state;var c=this.stateDeco;this.stateDeco=this.state.facet(bd).filter(n=>"function"!=typeof n);c=pc.extendWithRanges(a.changedRanges, +ic(c,this.stateDeco,a?a.changes:W.ChangeSet.empty(this.state.doc.length)));var e=this.heightMap.height;let f=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,a.startState.doc,this.heightOracle.setDoc(this.state.doc),c);this.heightMap.height!=e&&(a.flags|=2);f?(this.scrollAnchorPos=a.changes.mapPos(f.from,-1),this.scrollAnchorHeight=f.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);c=c.length?this.mapViewport(this.viewport, +a.changes):this.viewport;if(b&&(b.range.headc.to)||!this.viewportIsAppropriate(c))c=this.getViewport(0,b);e=!a.changes.empty||a.flags&2||c.from!=this.viewport.from||c.to!=this.viewport.to;this.viewport=c;this.updateForViewport();e&&this.updateViewportLines();(this.lineGaps.length||4E3L||!isFinite(L)||1>Math.abs(x.width-b.offsetWidth))L=1;if(.995N||!isFinite(N)||1>Math.abs(x.height-b.offsetHeight))N=1;if(this.scaleX!=L||this.scaleY!=N)this.scaleX=L,this.scaleY=N,B|=8,n=y=!0}L=(parseInt(c.paddingTop)||0)*this.scaleY;c=(parseInt(c.paddingBottom)||0)*this.scaleY;if(this.paddingTop!=L||this.paddingBottom!=c)this.paddingTop=L,this.paddingBottom=c,B|=10;this.editorWidth!= +a.scrollDOM.clientWidth&&(e.lineWrapping&&(y=!0),this.editorWidth=a.scrollDOM.clientWidth,B|=8);c=a.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=c&&(this.scrollAnchorHeight=-1,this.scrollTop=c);this.scrolledToBottom=$a(a.scrollDOM);L=(this.printing?Xb:Qa)(b,this.paddingTop);b=L.top-this.pixelViewport.top;c=L.bottom-this.pixelViewport.bottom;this.pixelViewport=L;L=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;L!=this.inView&&(this.inView=L)&& +(y=!0);if(!this.inView&&!this.scrollTarget)return 0;L=x.width;if(this.contentDOMWidth!=L||this.editorHeight!=a.scrollDOM.clientHeight)this.contentDOMWidth=x.width,this.editorHeight=a.scrollDOM.clientHeight,B|=8;if(y){x=a.docView.measureVisibleLineHeights(this.viewport);e.mustRefreshForHeights(x)&&(n=!0);if(n||e.lineWrapping&&Math.abs(L-this.contentDOMWidth)>e.charWidth){let {lineHeight:N,charWidth:S,textHeight:V}=a.docView.measureTextSize();if(n=0b&&0>c&&(G=Math.min(b,c));e.heightChanged=!1;for(let N of this.viewports)f=N.from==this.viewport.from?x:a.docView.measureVisibleLineHeights(N),this.heightMap=(n?hc.empty().applyChanges(this.stateDeco,W.Text.empty,this.heightOracle,[new pc(0,0,0,a.state.doc.length)]):this.heightMap).updateHeight(e,0,n,new ne(N.from,f));e.heightChanged&&(B|=2)}if(e=!this.viewportIsAppropriate(this.viewport,G)||this.scrollTarget&&(this.scrollTarget.range.head +this.viewport.to))this.viewport=this.getViewport(G,this.scrollTarget);this.updateForViewport();(B&2||e)&&this.updateViewportLines();(this.lineGaps.length||4E3x.to){c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top);let B=a.lineAt(y,mb.ByPos,e,0,0);b="center"==b.y?(B.top+B.bottom)/2-c/2:"start"==b.y||"nearest"==b.y&&y=x+Math.max(10,Math.min(c,250)))&&e>n-2E3&&f>1,n=e<<1;if(this.defaultTextDirection!=C.Direction.LTR&&!c)return[];let x=[],y=(N,S,V,da)=>{if(!(S-NN&&mama.from>=V.from&&ma.to<=V.to&&Math.abs(ma.from-N)ma.fromAa));fa||(Sma.from<=S&&ma.to>=S)&&(fa=b.moveToLineBoundary(W.EditorSelection.cursor(S),!1,!0).head,fa>N&&(S=fa)),fa=new Ed(N,S,this.gapSize(V,N,S,da)));x.push(fa)}};for(let N of this.viewportLines){if(N.lengthN.from&&y(N.from,B,N,S);Gb.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){var a=this.stateDeco;this.lineGaps.length&&(a=a.concat(this.lineGapDeco)); +let b=[];W.RangeSet.spans(a,this.viewport.from,this.viewport.to,{span(c,e){b.push({from:c,to:e})},point(){}},20);a=b.length!=this.visibleRanges.length||this.visibleRanges.some((c,e)=>c.from!=b[e].from||c.to!=b[e].to);this.visibleRanges=b;return a?4:0}lineBlockAt(a){return a>=this.viewport.from&&a<=this.viewport.to&&this.viewportLines.find(b=>b.from<=a&&b.to>=a)||T(this.heightMap.lineAt(a,mb.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(a){return T(this.heightMap.lineAt(this.scaler.fromDOM(a), +mb.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(a){let b=this.lineBlockAtHeight(a+8);return b.from>=this.viewport.from||200{let B=b.lineAt(x,mb.ByPos,a,0,0).top,G=b.lineAt(y,mb.ByPos,a,0,0).bottom;e+=G-B;return{from:x,to:y,top:B,bottom:G,domTop:0,domBottom:0}});this.scale=(7E6-e)/(b.height-e);for(let x of this.viewports)x.domTop=n+(x.top-f)*this.scale,n=x.domBottom=x.domTop+(x.bottom-x.top),f=x.bottom}toDOM(a){for(let b=0,c=0,e=0;;b++){let f=ba.join(" ")}),Fd=W.Facet.define({combine:a=>-1e)&&this.lineBreak();a=f}this.findPointBefore(c,b);return this}readTextNode(a){let b=a.nodeValue;for(var c of this.points)c.node==a&&(c.pos=this.text.length+Math.min(c.offset,b.length));for(let e=0,f=this.lineSeparator?null:/\r\n?|\n/g;;){c=-1;let n= +1,x;if(this.lineSeparator)c=b.indexOf(this.lineSeparator,e),n=this.lineSeparator.length;else if(x=f.exec(b))c=x.index,n=x[0].length;this.append(b.slice(e,0>c?b.length:c));if(0>c)break;this.lineBreak();if(1this.text.length&&(y.pos-=n-1);e=c+n}}readNode(a){if(!a.cmIgnore){var b=hb.get(a);b=b&&b.overrideDOMText;if(null!=b)for(this.findPointInside(a,b.length),a=b.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value);else 3==a.nodeType?this.readTextNode(a): +"BR"==a.nodeName?a.nextSibling&&this.lineBreak():1==a.nodeType&&this.readRange(a.firstChild,null)}}findPointBefore(a,b){for(let c of this.points)c.node==a&&a.childNodes[c.offset]==b&&(c.pos=this.text.length)}findPointInside(a,b){for(let y of this.points)if(3==a.nodeType?y.node==a:a.contains(y.node)){var c=y,e=this.text.length;a:{var f=a;for(var n=y.node,x=y.offset;;){if(!n||x=sa.ie_version;class cf{constructor(a){this.view=a;this.active=!1;this.selectionRange=new Gc;this.selectionChanged=!1;this.resizeTimeout=this.delayedFlush=-1;this.queue=[];this.delayedAndroidKey=null;this.flushingAndroidKey=-1;this.lastChange=0;this.scrollTargets=[];this.resizeScroll=this.intersection=null;this.intersecting=!1;this.gapIntersection= +null;this.gaps=[];this.parentCheck=-1;this.dom=a.contentDOM;this.observer=new MutationObserver(b=>{for(let c of b)this.queue.push(c);(sa.ie&&11>=sa.ie_version||sa.ios&&a.composing)&&b.some(c=>"childList"==c.type&&c.removedNodes.length||"characterData"==c.type&&c.oldValue.length>c.target.nodeValue.length)?this.flushSoon():this.flush()});Hd&&(this.onCharData=b=>{this.queue.push({target:b.target,type:"characterData",oldValue:b.prevValue});this.flushSoon()});this.onSelectionChange=this.onSelectionChange.bind(this); +this.onResize=this.onResize.bind(this);this.onPrint=this.onPrint.bind(this);this.onScroll=this.onScroll.bind(this);"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver(()=>{var b;if((null===(b=this.view.docView)||void 0===b?void 0:b.lastUpdate){0>this.parentCheck&&(this.parentCheck= +setTimeout(this.listenForScroll.bind(this),1E3));if(0{if(0this.resizeTimeout&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1;this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0;this.view.measure();setTimeout(()=>{this.view.viewState.printing=!1;this.view.requestMeasure()},500)}updateGaps(a){if(this.gapIntersection&&(a.length!=this.gaps.length||this.gaps.some((b,c)=>b!=a[c]))){this.gapIntersection.disconnect(); +for(let b of a)this.gapIntersection.observe(b);this.gaps=a}}onSelectionChange(a){let b=this.selectionChanged;if(this.readSelectionRange()&&!this.delayedAndroidKey){var {view:c}=this,e=this.selectionRange;if(c.state.facet(hd)?c.root.activeElement==this.dom:Ka(c.dom,e)){var f=e.anchorNode&&c.docView.nearest(e.anchorNode);f&&f.ignoreEvent(a)?b||(this.selectionChanged=!1):(sa.ie&&11>=sa.ie_version||sa.android&&sa.chrome)&&!c.state.selection.main.empty&&e.focusNode&&Eb(e.focusNode,e.focusOffset,e.anchorNode, +e.anchorOffset)?this.flushSoon():this.flush(!1)}}}readSelectionRange(){let {view:a}=this;var b;if(b=sa.safari&&11==a.root.nodeType){for(b=this.dom.ownerDocument.activeElement;b&&b.shadowRoot;)b=b.shadowRoot.activeElement;b=b==this.dom}b=b&&g(this.view)||Ca(a.root);if(!b||this.selectionRange.eq(b))return!1;let c=Ka(this.dom,b);var e;if(e=c&&!this.selectionChanged&&a.inputState.lastFocusTime>Date.now()-200&&a.inputState.lastTouchTime{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&ob(this.dom,e.key,e.keyCode))}));this.delayedAndroidKey&&"Enter"!=a||(this.delayedAndroidKey={key:a,keyCode:b,force:this.lastChangethis.delayedFlush&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1;this.flush()}))}forceFlush(){0<=this.delayedFlush&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1);this.flush()}pendingRecords(){for(let a of this.observer.takeRecords())this.queue.push(a);return this.queue}processRecords(){var a=this.pendingRecords();a.length&&(this.queue=[]);let b=-1,c=-1,e=!1;for(let f of a)if(a= +this.readMutation(f))a.typeOver&&(e=!0),-1==b?{from:b,to:c}=a:(b=Math.min(a.from,b),c=Math.max(a.to,c));return{from:b,to:c,typeOver:e}}readChange(){let {from:a,to:b,typeOver:c}=this.processRecords();var e=this.selectionChanged&&Ka(this.dom,this.selectionRange);if(0>a&&!e)return null;-1c.forEach(e=>b(e,this)))||(c=>this.update(c));this.dispatch=this.dispatch.bind(this);this._root=a.root||Kb(a.parent)||document;this.viewState=new qe(a.state||W.EditorState.create(a));a.scrollTo&&a.scrollTo.is(od)&&(this.viewState.scrollTarget=a.scrollTo.value.clip(this.viewState.state));this.plugins= +this.state.facet(ad).map(c=>new Dd(c));for(let c of this.plugins)c.update(this);this.observer=new cf(this);this.inputState=new Ue(this);this.inputState.ensureHandlers(this.plugins);this.docView=new he(this);this.mountStyles();this.updateAttrs();this.updateState=0;this.requestMeasure();a.parent&&a.parent.appendChild(this.dom)}dispatch(...a){a=1==a.length&&a[0]instanceof W.Transaction?a:1==a.length&&Array.isArray(a[0])?a[0]:[this.state.update(...a)];this.dispatchTransactions(a,this)}update(a){if(0!= +this.updateState)throw Error("Calls to EditorView.update are not allowed while an update is in progress");let b=!1,c=!1;var e=this.state;for(var f of a){if(f.startState!=e)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");e=f.state}if(this.destroyed)this.viewState.state=e;else{var n=this.hasFocus;f=0;var x=null;a.some(G=>G.annotation(Zd))?(this.inputState.notifiedFocused=n,f=1):n!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused= +n,(x=db(e,n))||(f=1));var y=this.observer.delayedAndroidKey,B=null;if(y){if(this.observer.clearDelayedAndroidKey(),(B=this.observer.readChange())&&!this.state.doc.eq(e.doc)||!this.state.selection.eq(e.selection))B=null}else this.observer.clear();if(e.facet(W.EditorState.phrases)!=this.state.facet(W.EditorState.phrases))return this.setState(e);e=qd.create(this,e,a);e.flags|=f;f=this.viewState.scrollTarget;try{this.updateState=2;for(let G of a){f&&(f=f.map(G.changes));if(G.scrollIntoView){let {main:L}= +G.state.selection;f=new $c(L.empty?L:W.EditorSelection.cursor(L.head,L.head>L.anchor?-1:1))}for(let L of G.effects)L.is(od)&&(f=L.value.clip(this.state))}this.viewState.update(e,f);this.bidiCache=Id.update(this.bidiCache,e.changes);e.empty||(this.updatePlugins(e),this.inputState.update(e));b=this.docView.update(e);this.state.facet(cd)!=this.styleModules&&this.mountStyles();c=this.updateAttrs();this.showAnnouncements(a);this.docView.updateSelection(b,a.some(G=>G.isUserEvent("select.pointer")))}finally{this.updateState= +0}e.startState.facet(sd)!=e.state.facet(sd)&&(this.viewState.mustMeasureContent=!0);(b||c||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure();if(!e.empty)for(let G of this.state.facet(Dc))try{G(e)}catch(L){kb(this.state,L,"update listener")}(x||B)&&Promise.resolve().then(()=>{x&&this.state==x.startState&&this.dispatch(x);B&&!d(this,B)&&y.force&&ob(this.contentDOM,y.key,y.keyCode)})}}setState(a){if(0!=this.updateState)throw Error("Calls to EditorView.setState are not allowed while an update is in progress"); +if(this.destroyed)this.viewState.state=a;else{this.updateState=2;var b=this.hasFocus;try{for(let c of this.plugins)c.destroy(this);this.viewState=new qe(a);this.plugins=a.facet(ad).map(c=>new Dd(c));this.pluginMap.clear();for(let c of this.plugins)c.update(this);this.docView.destroy();this.docView=new he(this);this.inputState.ensureHandlers(this.plugins);this.mountStyles();this.updateAttrs();this.bidiCache=[]}finally{this.updateState=0}b&&this.focus();this.requestMeasure()}}updatePlugins(a){let b= +a.startState.facet(ad),c=a.state.facet(ad);if(b!=c){var e=[];for(let n of c){var f=b.indexOf(n);0>f?e.push(new Dd(n)):(f=this.plugins[f],f.mustUpdate=a,e.push(f))}for(let n of this.plugins)n.mustUpdate!=a&&n.destroy(this);this.plugins=e;this.pluginMap.clear()}else for(e of this.plugins)e.mustUpdate=a;for(a=0;af)if($a(b))e=-1,f=this.viewState.heightMap.height;else{let N=this.viewState.scrollAnchorAt(c);e=N.from;f=N.top}this.updateState=1;let x=this.viewState.measure(this); +if(!x&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(5{try{return N.read(this)}catch(S){return kb(this.state,S),we}}),G=qd.create(this,this.state,[]),L=!1;G.flags|=x;a?a.flags|=x:a=G;this.updateState=2;G.empty||(this.updatePlugins(G),this.inputState.update(G),this.updateAttrs(), +L=this.docView.update(G));for(let N=0;Ne?this.viewState.heightMap.height:this.viewState.lineBlockAt(e).top)-f;if(1N){c+=N;b.scrollTop= +c/this.scaleY;f=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(a&&!a.empty)for(let n of this.state.facet(Dc))n(a)}}get themeClasses(){return Gd+" "+(this.state.facet(Fd)?te:se)+" "+this.state.facet(sd)}updateAttrs(){let a=l(this,ge,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),b={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(hd)?"true":"false",class:"cm-content",style:`${sa.tabSize}: ${this.state.tabSize}`, +role:"textbox","aria-multiline":"true"};this.state.readOnly&&(b["aria-readonly"]="true");l(this,pd,b);let c=this.observer.ignore(()=>{let e=Gb(this.contentDOM,this.contentAttrs,b),f=Gb(this.dom,this.editorAttrs,a);return e||f});this.editorAttrs=a;this.contentAttrs=b;return c}showAnnouncements(a){let b=!0;for(let c of a)for(let e of c.effects)e.is(Va.announce)&&(b&&(this.announceDOM.textContent=""),b=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value)}mountStyles(){this.styleModules= +this.state.facet(cd);let a=this.state.facet(Va.cspNonce);kc.StyleModule.mount(this.root,this.styleModules.concat(Ze).reverse(),a?{nonce:a}:void 0)}readMeasured(){if(2==this.updateState)throw Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&-1this.measureScheduled&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure()));if(a&&!(-1c.spec==a)||null);return b&&b.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(a){this.readMeasured(); +return this.viewState.elementAtHeight(a)}lineBlockAtHeight(a){this.readMeasured();return this.viewState.lineBlockAtHeight(a)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(a){return this.viewState.lineBlockAt(a)}get contentHeight(){return this.viewState.contentHeight}moveByChar(a,b,c){return fb(this,a,$b(this,a,b,c))}moveByGroup(a,b){return fb(this,a,$b(this,a,b,c=>jb(this,a.head,c)))}moveToLineBoundary(a,b,c=!0){a:{let e=ab(this,a.head);if(a=c&&e.type==C.BlockType.Text&& +(this.lineWrapping||e.widgetLineBreaks)?this.coordsAtPos(0>a.assoc&&a.head>e.from?a.head-1:a.head):null){c=this.dom.getBoundingClientRect();let f=this.textDirectionAt(e.from);a=this.posAtCoords({x:b==(f==C.Direction.LTR)?c.right-1:c.left+1,y:(a.top+a.bottom)/2});if(null!=a){b=W.EditorSelection.cursor(a,b?-1:1);break a}}b=W.EditorSelection.cursor(b?e.to:e.from,b?-1:1)}return b}moveVertically(a,b,c){a:{var e=a.head;let B=b?1:-1;if(e==(b?this.state.doc.length:0))b=W.EditorSelection.cursor(e,a.assoc); +else{b=a.goalColumn;var f=this.contentDOM.getBoundingClientRect(),n=this.coordsAtPos(e,a.assoc||-1);var x=this.documentTop;n?(null==b&&(b=n.left-f.left),x=0>B?n.top:n.bottom):(n=this.viewState.lineBlockAt(e),null==b&&(b=Math.min(f.right-f.left,this.defaultCharacterWidth*(e-n.from))),x=(0>B?n.top:n.bottom)+x);n=f.left+b;var y=null!==c&&void 0!==c?c:this.viewState.heightOracle.textHeight>>1;for(let G=0;;G+=10){c=x+(y+G)*B;let L=zb(this,{x:n,y:c},!1,B);if(cf.bottom||(0>B?Le)){e=this.docView.coordsForChar(L); +b=W.EditorSelection.cursor(L,!e||cthis.viewport.to)return this.textDirection;this.readMeasured();return this.docView.textDirectionAt(a)}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(a){if(4096< +a.length)return[new xc(0,a.length,0)];let b=this.textDirectionAt(a.from),c;for(var e of this.bidiCache)if(e.from==a.from&&e.dir==b&&(e.fresh||ha(e.isolates,c=Ma(this,a.from,a.to))))return e.order;c||(c=Ma(this,a.from,a.to));e=ra(a.text,b,c);this.bidiCache.push(new Id(a.from,a.to,b,c,!0,e));return e}get hasFocus(){var a;return(this.dom.ownerDocument.hasFocus()||sa.safari&&(null===(a=this.inputState)||void 0===a?void 0:a.lastContextMenu)>Date.now()-3E4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=> +{Rb(this.contentDOM);this.docView.updateSelection()})}setRoot(a){this._root!=a&&(this._root=a,this.observer.setWindow((9==a.nodeType?a:a.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let a of this.plugins)a.destroy(this);this.plugins=[];this.inputState.destroy();this.docView.destroy();this.dom.remove();this.observer.destroy();-1({}),{eventHandlers:a})}static domEventObservers(a){return Yb.define(()=>({}),{eventObservers:a})}static theme(a,b){let c=kc.StyleModule.newName();a=[sd.of(c),cd.of(Z(`.${c}`,a))];b&&b.dark&&a.push(Fd.of(!0)); +return a}static baseTheme(a){return W.Prec.lowest(cd.of(Z("."+Gd,a,ue)))}static findFromDOM(a){var b;let c=a.querySelector(".cm-content");a=c&&hb.get(c)||hb.get(a);return(null===(b=null===a||void 0===a?void 0:a.rootView)||void 0===b?void 0:b.view)||null}}Va.styleModule=cd;Va.inputHandler=Lc;Va.focusChangeEffect=Yd;Va.perLineTextDirection=ee;Va.exceptionSink=nc;Va.updateListener=Dc;Va.editable=hd;Va.mouseSelectionStyle=mc;Va.dragMovesSelection=qc;Va.clickAddsSelectionRange=Ya;Va.decorations=bd;Va.atomicRanges= +xd;Va.bidiIsolatedRanges=Rd;Va.scrollMargins=Sd;Va.darkTheme=Fd;Va.cspNonce=W.Facet.define({combine:a=>a.length?a[0]:""});Va.contentAttributes=pd;Va.editorAttributes=ge;Va.lineWrapping=Va.contentAttributes.of({"class":"cm-lineWrapping"});Va.announce=W.StateEffect.define();const we={};class Id{constructor(a,b,c,e,f,n){this.from=a;this.to=b;this.dir=c;this.isolates=e;this.fresh=f;this.order=n}static update(a,b){if(b.empty&&!a.some(f=>f.fresh))return a;let c=[],e=a.length?a[a.length-1].dir:C.Direction.LTR; +for(let f=Math.max(0,a.length-10);f{e=this.drawn[e];return!(c.constructor==e.constructor&&c.eq(e))})){let c=this.dom.firstChild;var b=0;for(let e of a)e.update&&c&&e.constructor&&this.drawn[b].constructor&&e.update(c,this.drawn[b])?(c=c.nextSibling,b++):this.dom.insertBefore(e.draw(),c);for(;c;)b=c.nextSibling,c.remove(),c=b;this.drawn=a}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom, +this.view);this.dom.remove()}}const ld=W.Facet.define(),xe=!sa.ios,Fc=W.Facet.define({combine(a){return W.combineConfig(a,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(b,c)=>Math.min(b,c),drawRangeCursor:(b,c)=>b||c})}}),ef=qa({above:!0,markers(a){let {state:b}=a,c=b.facet(Fc),e=[];for(let n of b.selection.ranges){var f=n==b.selection.main;if(n.empty?!f||xe:c.drawRangeCursor){f=f?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary";let x=n.empty?n:W.EditorSelection.cursor(n.head, +n.head>n.anchor?-1:1);for(let y of Tc.forRange(a,f,x))e.push(y)}}return e},update(a,b){a.transactions.some(e=>e.selection)&&(b.style.animationName="cm-blink"==b.style.animationName?"cm-blink2":"cm-blink");let c=ua(a);c&&(b.style.animationDuration=a.state.facet(Fc).cursorBlinkRate+"ms");return a.docChanged||a.selectionSet||c},mount(a,b){a.style.animationDuration=b.state.facet(Fc).cursorBlinkRate+"ms"},class:"cm-cursorLayer"}),ff=qa({above:!1,markers(a){return a.state.selection.ranges.map(b=>b.empty? +[]:Tc.forRange(a,"cm-selectionBackground",b)).reduce((b,c)=>b.concat(c))},update(a,b){return a.docChanged||a.selectionSet||a.viewportChanged||ua(a)},class:"cm-selectionLayer"}),Jd={".cm-line":{"\x26 ::selection":{backgroundColor:"transparent !important"},"\x26::selection":{backgroundColor:"transparent !important"}}};xe&&(Jd[".cm-line"].caretColor="transparent !important",Jd[".cm-content"]={caretColor:"transparent !important"});const gf=W.Prec.highest(Va.theme(Jd)),ye=W.StateEffect.define({map(a,b){return null== +a?null:b.mapPos(a)}}),dd=W.StateField.define({create(){return null},update(a,b){null!=a&&(a=b.changes.mapPos(a));return b.effects.reduce((c,e)=>e.is(ye)?e.value:c,a)}}),hf=Yb.fromClass(class{constructor(a){this.view=a;this.cursor=null;this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(a){var b;let c=a.state.field(dd);null==c?null!=this.cursor&&(null===(b=this.cursor)||void 0===b?void 0:b.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")), +this.cursor.className="cm-dropCursor"),(a.startState.field(dd)!=c||a.docChanged||a.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let {view:a}=this;var b=a.state.field(dd);b=null!=b&&a.coordsAtPos(b);if(!b)return null;let c=a.scrollDOM.getBoundingClientRect();return{left:b.left-c.left+a.scrollDOM.scrollLeft*a.scaleX,top:b.top-c.top+a.scrollDOM.scrollTop*a.scaleY,height:b.bottom-b.top}}drawCursor(a){if(this.cursor){let {scaleX:b,scaleY:c}=this.view;a?(this.cursor.style.left= +a.left/b+"px",this.cursor.style.top=a.top/c+"px",this.cursor.style.height=a.height/c+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(a){this.view.state.field(dd)!=a&&this.view.dispatch({effects:ye.of(a)})}},{eventObservers:{dragover(a){this.setDropPos(this.view.posAtCoords({x:a.clientX,y:a.clientY}))},dragleave(a){a.target!=this.view.contentDOM&&this.view.contentDOM.contains(a.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)}, +drop(){this.setDropPos(null)}}});class nd{constructor(a){const {regexp:b,decoration:c,decorate:e,boundary:f,maxLength:n=1E3}=a;if(!b.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");this.regexp=b;if(e)this.addMatch=(x,y,B,G)=>e(G,B,B+x[0].length,x,y);else if("function"==typeof c)this.addMatch=(x,y,B,G)=>{(y=c(x,y,B))&&G(B,B+x[0].length,y)};else if(c)this.addMatch=(x,y,B,G)=>G(B,B+x[0].length,c);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator"); +this.boundary=f;this.maxLength=n}createDeco(a){let b=new W.RangeSetBuilder,c=b.add.bind(b);for(let {from:e,to:f}of wb(a,this.maxLength))Ja(a.state.doc,this.regexp,e,f,(n,x)=>this.addMatch(x,a,n,c));return b.finish()}updateDeco(a,b){let c=1E9,e=-1;a.docChanged&&a.changes.iterChanges((f,n,x,y)=>{y>a.view.viewport.from&&xn){let y=a.state.doc.lineAt(n),B=y.toy.from;n--)if(this.boundary.test(y.text[n-1-y.from])){G=n;break}for(;xN.push(ja.range(da,fa));if(y==B)for(this.regexp.lastIndex=G-y.from;(S=this.regexp.exec(y.text))&&S.indexthis.addMatch(fa,a,da,V));b=b.update({filterFrom:G,filterTo:L,filter:(da,fa)=>daL,add:N})}}return b}}const Kd=null!=/x/.unicode?"gu":"g",jf=RegExp("[\x00-\b\n--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩-]",Kd),kf={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator", +8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Ld=null;const md=W.Facet.define({combine(a){a=W.combineConfig(a,{render:null,specialChars:jf,addSpecialChars:null});var b;if(null==Ld&&"undefined"!=typeof document&&document.body){let c=document.body.style;Ld=null!=(null!==(b=c.tabSize)&&void 0!==b?b:c.MozTabSize)}if(a.replaceTabs= +!Ld)a.specialChars=new RegExp("\t|"+a.specialChars.source,Kd);a.addSpecialChars&&(a.specialChars=new RegExp(a.specialChars.source+"|"+a.addSpecialChars.source,Kd));return a}});let de=null;class Re extends J{constructor(a,b){super();this.options=a;this.code=b}eq(a){return a.code==this.code}toDOM(a){var b=this.code;b=32<=b?"•":10==b?"␤":String.fromCharCode(9216+b);a=a.state.phrase("Control character")+" "+(kf[this.code]||"0x"+this.code.toString(16));var c=this.options.render&&this.options.render(this.code, +a,b);if(c)return c;c=document.createElement("span");c.textContent=b;c.title=a;c.setAttribute("aria-label",a);c.className="cm-specialChar";return c}ignoreEvent(){return!1}}class Qe extends J{constructor(a){super();this.width=a}eq(a){return a.width==this.width}toDOM(){let a=document.createElement("span");a.textContent="\t";a.className="cm-tab";a.style.width=this.width+"px";return a}ignoreEvent(){return!1}}const ze=Yb.fromClass(class{constructor(){this.height=1E3;this.attrs={style:"padding-bottom: 1000px"}}update(a){({view:a}= +a);a=a.viewState.editorHeight*a.scaleY-a.defaultLineHeight-a.documentPadding.top-.5;0<=a&&a!=this.height&&(this.height=a,this.attrs={style:`padding-bottom: ${a}px`})}}),lf=O.line({class:"cm-activeLine"}),mf=Yb.fromClass(class{constructor(a){this.decorations=this.getDeco(a)}update(a){if(a.docChanged||a.selectionSet)this.decorations=this.getDeco(a.view)}getDeco(a){let b=-1,c=[];for(let e of a.state.selection.ranges){let f=a.lineBlockAt(e.head);f.from>b&&(c.push(lf.range(f.from)),b=f.from)}return O.set(c)}}, +{decorations:a=>a.decorations});class nf extends J{constructor(a){super();this.content=a}toDOM(){let a=document.createElement("span");a.className="cm-placeholder";a.style.pointerEvents="none";a.appendChild("string"==typeof this.content?document.createTextNode(this.content):this.content);"string"==typeof this.content?a.setAttribute("aria-label","placeholder "+this.content):a.setAttribute("aria-hidden","true");return a}coordsAt(a){var b=a.firstChild?Ra(a.firstChild):[];if(!b.length)return null;a=window.getComputedStyle(a.parentNode); +b=Sa(b[0],"rtl"!=a.direction);a=parseInt(a.lineHeight);return b.bottom-b.top>1.5*a?{left:b.left,right:b.right,top:b.top,bottom:b.top+a}:b}ignoreEvent(){return!1}}const of={Alt:[18,a=>!!a.altKey],Control:[17,a=>!!a.ctrlKey],Shift:[16,a=>!!a.shiftKey],Meta:[91,a=>!!a.metaKey]},pf={style:"cursor: crosshair"};class Ae{constructor(a,b,c){this.facet=b;this.createTooltipView=c;this.input=a.state.facet(b);this.tooltips=this.input.filter(e=>e);this.tooltipViews=this.tooltips.map(c)}update(a,b){var c;let e= +a.state.facet(this.facet),f=e.filter(B=>B);if(e===this.input){for(var n of this.tooltipViews)n.update&&n.update(a);return!1}n=[];let x=b?[]:null;for(let B=0;BG?(n[B]=this.createTooltipView(y),x&&(x[B]=!!y.above)):(y=n[B]=this.tooltipViews[G],x&&(x[B]=b[G]),y.update&&y.update(a))}}for(let B of this.tooltipViews)0>n.indexOf(B)&&(B.dom.remove(),null===(c=B.destroy)|| +void 0===c?void 0:c.call(B));b&&(x.forEach((B,G)=>b[G]=B),b.length=x.length);this.input=e;this.tooltips=f;this.tooltipViews=n;return!0}}const td=W.Facet.define({combine:a=>{var b,c,e;return{position:sa.ios?"absolute":(null===(b=a.find(f=>f.position))||void 0===b?void 0:b.position)||"fixed",parent:(null===(c=a.find(f=>f.parent))||void 0===c?void 0:c.parent)||null,tooltipSpace:(null===(e=a.find(f=>f.tooltipSpace))||void 0===e?void 0:e.tooltipSpace)||F}}}),Be=new WeakMap,ud=Yb.fromClass(class{constructor(a){this.view= +a;this.above=[];this.inView=!0;this.madeAbsolute=!1;this.lastTransaction=0;this.measureTimeout=-1;let b=a.state.facet(td);this.position=b.position;this.parent=b.parent;this.classes=a.themeClasses;this.createContainer();this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this};this.manager=new Ae(a,Md,c=>this.createTooltip(c));this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(c=>{Date.now()>this.lastTransaction-50&&0c[c.length-1].intersectionRatio&&this.measureSoon()},{threshold:[1]}):null;this.observeIntersection();a.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this));this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect(); +for(let a of this.manager.tooltipViews)this.intersectionObserver.observe(a.dom)}}measureSoon(){0>this.measureTimeout&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1;this.maybeMeasure()},50))}update(a){a.transactions.length&&(this.lastTransaction=Date.now());var b=this.manager.update(a,this.above);b&&this.observeIntersection();b=b||a.geometryChanged;a=a.state.facet(td);if(a.position!=this.position&&!this.madeAbsolute){this.position=a.position;for(let c of this.manager.tooltipViews)c.dom.style.position= +this.position;b=!0}if(a.parent!=this.parent){this.parent&&this.container.remove();this.parent=a.parent;this.createContainer();for(let c of this.manager.tooltipViews)this.container.appendChild(c.dom);b=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);b&&this.maybeMeasure()}createTooltip(a){let b=a.create(this.view);b.dom.classList.add("cm-tooltip");a.arrow&&!b.dom.querySelector(".cm-tooltip \x3e .cm-tooltip-arrow")&&(a=document.createElement("div"), +a.className="cm-tooltip-arrow",b.dom.appendChild(a));b.dom.style.position=this.position;b.dom.style.top="-10000px";b.dom.style.left="0px";this.container.appendChild(b.dom);b.mount&&b.mount(this.view);return b}destroy(){var a,b;this.view.win.removeEventListener("resize",this.measureSoon);for(let c of this.manager.tooltipViews)c.dom.remove(),null===(a=c.destroy)||void 0===a?void 0:a.call(c);this.parent&&this.container.remove();null===(b=this.intersectionObserver)||void 0===b?void 0:b.disconnect();clearTimeout(this.measureTimeout)}readMeasure(){let a= +this.view.dom.getBoundingClientRect(),b=1,c=1;var e=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){var {dom:f}=this.manager.tooltipViews[0];sa.gecko?e=f.offsetParent!=this.container.ownerDocument.body:1!=this.view.scaleX||1!=this.view.scaleY?e=!0:"-10000px"==f.style.top&&"0px"==f.style.left&&(e=f.getBoundingClientRect(),e=1{x=this.manager.tooltipViews[x];return x.getCoords?x.getCoords(n.pos):this.view.coordsAtPos(n.pos)}),size:this.manager.tooltipViews.map(({dom:n})=>n.getBoundingClientRect()),space:this.view.state.facet(td).tooltipSpace(this.view),scaleX:b,scaleY:c,makeAbsolute:e}}writeMeasure(a){var b;if(a.makeAbsolute){this.madeAbsolute= +!0;this.position="absolute";for(var c of this.manager.tooltipViews)c.dom.style.position="absolute"}let {editor:e,space:f,scaleX:n,scaleY:x}=a;c=[];for(let G=0;G=Math.min(e.bottom,f.bottom)||S.rightMath.min(e.right,f.right)+.1){N.style.top="-10000px";continue}let da=y.arrow?L.dom.querySelector(".cm-tooltip-arrow"): +null,fa=da?7:0;var B=V.right-V.left;let ja=null!==(b=Be.get(L))&&void 0!==b?b:V.bottom-V.top,ma=L.offset||qf,Aa=this.view.textDirection==C.Direction.LTR,wa=V.width>f.right-f.left?Aa?f.left:f.right-V.width:Aa?Math.min(S.left-(da?14:0)+ma.x,f.right-B):Math.max(f.left,S.left-B+(da?14:0)-ma.x),ib=this.above[G];!y.strictSide&&(ib?S.top-(V.bottom-V.top)-ma.yf.bottom)&&ib==f.bottom-S.bottom>S.top-f.top&&(ib=this.above[G]=!ib);y=(ib?S.top-f.top:f.bottom-S.bottom)-fa; +if(ywa&&vb.topy&&(y=ib?vb.top-ja-2-fa:vb.bottom+fa+2);"absolute"==this.position?(N.style.top=(y-a.parent.top)/x+"px",N.style.left=(wa-a.parent.left)/n+"px"):(N.style.top=y/x+"px",N.style.left=wa/n+"px");da&&(da.style.left= +(S.left+(Aa?ma.x:-ma.x)-(wa+14-7))/n+"px");!0!==L.overlap&&c.push({left:wa,top:y,right:B,bottom:y+ja});N.classList.toggle("cm-tooltip-above",ib);N.classList.toggle("cm-tooltip-below",!ib);L.positioned&&L.positioned(a.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let a of this.manager.tooltipViews)a.dom.style.top="-10000px"}},{eventObservers:{scroll(){this.maybeMeasure()}}}), +rf=Va.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"\x26light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"\x26light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"\x26dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","\x26:before, \x26:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"}, +".cm-tooltip-above \x26":{bottom:"-7px","\x26:before":{borderTop:"7px solid #bbb"},"\x26:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below \x26":{top:"-7px","\x26:before":{borderBottom:"7px solid #bbb"},"\x26:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"\x26dark .cm-tooltip .cm-tooltip-arrow":{"\x26:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"\x26:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),qf={x:0,y:0},Md=W.Facet.define({enables:[ud, +rf]}),ed=W.Facet.define();class Nd{static create(a){return new Nd(a)}constructor(a){this.view=a;this.mounted=!1;this.dom=document.createElement("div");this.dom.classList.add("cm-tooltip-hover");this.manager=new Ae(a,ed,b=>this.createHostedView(b))}createHostedView(a){a=a.create(this.view);a.dom.classList.add("cm-tooltip-section");this.dom.appendChild(a.dom);this.mounted&&a.mount&&a.mount(this.view);return a}mount(a){for(let b of this.manager.tooltipViews)b.mount&&b.mount(a);this.mounted=!0}positioned(a){for(let b of this.manager.tooltipViews)b.positioned&& +b.positioned(a)}update(a){this.manager.update(a)}destroy(){var a;for(let b of this.manager.tooltipViews)null===(a=b.destroy)||void 0===a?void 0:a.call(b)}passProp(a){let b=void 0;for(let c of this.manager.tooltipViews){let e=c[a];if(void 0!==e)if(void 0===b)b=e;else if(b!==e)return}return b}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const sf=Md.compute([ed], +a=>{a=a.facet(ed).filter(b=>b);return 0===a.length?null:{pos:Math.min(...a.map(b=>b.pos)),end:Math.max(...a.map(b=>{var c;return null!==(c=b.end)&&void 0!==c?c:b.pos})),create:Nd.create,above:a[0].above,arrow:a.some(b=>b.arrow)}});class tf{constructor(a,b,c,e,f){this.view=a;this.source=b;this.field=c;this.setHover=e;this.hoverTime=f;this.restartTimeout=this.hoverTimeout=-1;this.pending=null;this.lastMove={x:0,y:0,target:a.dom,time:0};this.checkHover=this.checkHover.bind(this);a.dom.addEventListener("mouseleave", +this.mouseleave=this.mouseleave.bind(this));a.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){this.hoverTimeout=-1;if(!this.active){var a=Date.now()-this.lastMove.time;ac.bottom||b.xc.right+a.defaultCharacterWidth)return;e=(e=a.bidiSpans(a.state.doc.lineAt(f)).find(n=>n.from<=f&&n.to>=f))&&e.dir==C.Direction.RTL?-1:1;e=b.x{this.pending== +n&&(this.pending=null,x&&a.dispatch({effects:this.setHover.of(x)}))},x=>kb(a.state,x,"hover tooltip"))}else c&&a.dispatch({effects:this.setHover.of(c)})}}get tooltip(){let a=this.view.plugin(ud),b=a?a.manager.tooltips.findIndex(c=>c.create==Nd.create):-1;return-1this.hoverTimeout&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let {active:c,tooltip:e}=this; +var f;if(f=c&&e)f=e.dom.getBoundingClientRect(),f=!(a.clientX>=f.left-4&&a.clientX<=f.right+4&&a.clientY>=f.top-4&&a.clientY<=f.bottom+4);if(f||this.pending){({pos:f}=c||this.pending);var n=null!==(b=null===c||void 0===c?void 0:c.end)&&void 0!==b?b:f;if(f==n)a=this.view.posAtCoords(this.lastMove)!=f;else{{b=this.view;var x=a.clientX;a=a.clientY;let y=b.scrollDOM.getBoundingClientRect(),B=b.documentTop+b.documentPadding.top+b.contentHeight;y.left>x||y.righta||Math.min(y.bottom,B)=f&&a<=n)}a=!a}a&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(a){clearTimeout(this.hoverTimeout);this.hoverTimeout=-1;var {active:b}=this;b&&({tooltip:b}=this,b&&b.dom.contains(a.relatedTarget)?this.watchTooltipLeave(b.dom):this.view.dispatch({effects:this.setHover.of(null)}))}watchTooltipLeave(a){let b=c=>{a.removeEventListener("mouseleave",b);this.active&&!this.view.dom.contains(c.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}; +a.addEventListener("mouseleave",b)}destroy(){clearTimeout(this.hoverTimeout);this.view.dom.removeEventListener("mouseleave",this.mouseleave);this.view.dom.removeEventListener("mousemove",this.mousemove)}}const Ce=W.StateEffect.define(),uf=Ce.of(null),Od=W.Facet.define({combine(a){let b,c;for(let e of a)b=b||e.topContainer,c=c||e.bottomContainer;return{topContainer:b,bottomContainer:c}}}),De=Yb.fromClass(class{constructor(a){this.input=a.state.facet(Pd);this.specs=this.input.filter(c=>c);this.panels= +this.specs.map(c=>c(a));let b=a.state.facet(Od);this.top=new vd(a,!0,b.topContainer);this.bottom=new vd(a,!1,b.bottomContainer);this.top.sync(this.panels.filter(c=>c.top));this.bottom.sync(this.panels.filter(c=>!c.top));for(let c of this.panels)c.dom.classList.add("cm-panel"),c.mount&&c.mount()}update(a){var b=a.state.facet(Od);this.top.container!=b.topContainer&&(this.top.sync([]),this.top=new vd(a.view,!0,b.topContainer));this.bottom.container!=b.bottomContainer&&(this.bottom.sync([]),this.bottom= +new vd(a.view,!1,b.bottomContainer));this.top.syncClasses();this.bottom.syncClasses();b=a.state.facet(Pd);if(b!=this.input){var c=b.filter(y=>y);b=[];let f=[],n=[],x=[];for(let y of c){var e=this.specs.indexOf(y);0>e?(e=y(a.view),x.push(e)):(e=this.panels[e],e.update&&e.update(a));b.push(e);(e.top?f:n).push(e)}this.specs=c;this.panels=b;this.top.sync(f);this.bottom.sync(n);for(let y of x)y.dom.classList.add("cm-panel"),y.mount&&y.mount()}else for(c of this.panels)c.update&&c.update(a)}destroy(){this.top.sync([]); +this.bottom.sync([])}},{provide:a=>Va.scrollMargins.of(b=>(b=b.plugin(a))&&{top:b.top.scrollMargin(),bottom:b.bottom.scrollMargin()})});class vd{constructor(a,b,c){this.view=a;this.top=b;this.container=c;this.dom=void 0;this.classes="";this.panels=[];this.syncClasses()}sync(a){for(let b of this.panels)b.destroy&&0>a.indexOf(b)&&b.destroy();this.panels=a;this.syncDOM()}syncDOM(){if(0==this.panels.length)this.dom&&(this.dom.remove(),this.dom=void 0);else{if(!this.dom){this.dom=document.createElement("div"); +this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom";this.dom.style[this.top?"top":"bottom"]="0";var a=this.container||this.view.dom;a.insertBefore(this.dom,this.top?a.firstChild:null)}a=this.dom.firstChild;for(let b of this.panels)if(b.dom.parentNode==this.dom){for(;a!=b.dom;)a=R(a);a=a.nextSibling}else this.dom.insertBefore(b.dom,a);for(;a;)a=R(a)}}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0, +this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let a of this.classes.split(" "))a&&this.container.classList.remove(a);for(let a of(this.classes=this.view.themeClasses).split(" "))a&&this.container.classList.add(a)}}}const Pd=W.Facet.define({enables:De});class Ac extends W.RangeValue{compare(a){return this==a||this.constructor== +a.constructor&&this.eq(a)}eq(a){return!1}destroy(a){}}Ac.prototype.elementClass="";Ac.prototype.toDOM=void 0;Ac.prototype.mapMode=W.MapMode.TrackBefore;Ac.prototype.startSide=Ac.prototype.endSide=-1;Ac.prototype.point=!0;const fd=W.Facet.define(),vf={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>W.RangeSet.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},gd=W.Facet.define(),Cd=W.Facet.define({combine:a=>a.some(b=> +b)}),Se=Yb.fromClass(class{constructor(a){this.view=a;this.prevViewport=a.viewport;this.dom=document.createElement("div");this.dom.className="cm-gutters";this.dom.setAttribute("aria-hidden","true");this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px";this.gutters=a.state.facet(gd).map(b=>new Ee(a,b));for(let b of this.gutters)this.dom.appendChild(b.dom);if(this.fixed=!a.state.facet(Cd))this.dom.style.position="sticky";this.syncGutters(!1);a.scrollDOM.insertBefore(this.dom,a.contentDOM)}update(a){if(this.updateGutters(a)){let b= +this.prevViewport,c=a.view.viewport;this.syncGutters(Math.min(b.to,c.to)-Math.max(b.from,c.from)<.8*(c.to-c.from))}a.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px");this.view.state.facet(Cd)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"");this.prevViewport=a.view.viewport}syncGutters(a){let b=this.dom.nextSibling;a&&this.dom.remove();let c=W.RangeSet.iter(this.view.state.facet(fd),this.view.viewport.from),e=[],f=this.gutters.map(n=>new wf(n, +this.view.viewport,-this.view.documentPadding.top));for(let n of this.view.viewportLineBlocks)if(e.length&&(e=[]),Array.isArray(n.type)){let x=!0;for(let y of n.type)if(y.type==C.BlockType.Text&&x){ba(c,e,y.from);for(let B of f)B.line(this.view,y,e);x=!1}else if(y.widget)for(let B of f)B.widget(this.view,y)}else if(n.type==C.BlockType.Text){ba(c,e,n.from);for(let x of f)x.line(this.view,n,e)}else if(n.widget)for(let x of f)x.widget(this.view,n);for(let n of f)n.finish();a&&this.view.scrollDOM.insertBefore(this.dom, +b)}updateGutters(a){let b=a.startState.facet(gd);var c=a.state.facet(gd);let e=a.docChanged||a.heightChanged||a.viewportChanged||!W.RangeSet.eq(a.startState.facet(fd),a.state.facet(fd),a.view.viewport.from,a.view.viewport.to);if(b==c)for(var f of this.gutters)f.update(a)&&(e=!0);else{e=!0;f=[];for(let n of c)c=b.indexOf(n),0>c?f.push(new Ee(this.view,n)):(this.gutters[c].update(a),f.push(this.gutters[c]));for(let n of this.gutters)n.dom.remove(),0>f.indexOf(n)&&n.destroy();for(let n of f)this.dom.appendChild(n.dom); +this.gutters=f}return e}destroy(){for(let a of this.gutters)a.destroy();this.dom.remove()}},{provide:a=>Va.scrollMargins.of(b=>{let c=b.plugin(a);return c&&0!=c.gutters.length&&c.fixed?b.textDirection==C.Direction.LTR?{left:c.dom.offsetWidth*b.scaleX}:{right:c.dom.offsetWidth*b.scaleX}:null})});class wf{constructor(a,b,c){this.gutter=a;this.height=c;this.i=0;this.cursor=W.RangeSet.iter(a.markers,b.from)}addElement(a,b,c){let {gutter:e}=this,f=(b.top-this.height)/a.scaleY,n=b.height/a.scaleY;this.i== +e.elements.length?(a=new Fe(a,n,f,c),e.elements.push(a),e.dom.appendChild(a.dom)):e.elements[this.i].update(a,n,f,c);this.height=b.bottom;this.i++}line(a,b,c){let e=[];ba(this.cursor,e,b.from);c.length&&(e=e.concat(c));(c=this.gutter.config.lineMarker(a,b,e))&&e.unshift(c);c=this.gutter;(0!=e.length||c.config.renderEmptyElements)&&this.addElement(a,b,e)}widget(a,b){let c=this.gutter.config.widgetMarker(a,b.widget,b);c&&this.addElement(a,b,[c])}finish(){let a=this.gutter;for(;a.elements.length>this.i;){let b= +a.elements.pop();a.dom.removeChild(b.dom);b.destroy()}}}class Ee{constructor(a,b){this.view=a;this.config=b;this.elements=[];this.spacer=null;this.dom=document.createElement("div");this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let c in b.domEventHandlers)this.dom.addEventListener(c,e=>{var f=e.target;if(f!=this.dom&&this.dom.contains(f)){for(;f.parentNode!=this.dom;)f=f.parentNode;f=f.getBoundingClientRect();f=(f.top+f.bottom)/2}else f=e.clientY;f=a.lineBlockAtHeight(f- +a.documentTop);b.domEventHandlers[c](a,f,e)&&e.preventDefault()});this.markers=U(b.markers(a));b.initialSpacer&&(this.spacer=new Fe(a,0,0,[b.initialSpacer(a)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(a){let b=this.markers;this.markers=U(this.config.markers(a.view));if(this.spacer&&this.config.updateSpacer){var c=this.config.updateSpacer(this.spacer.markers[0],a);c!=this.spacer.markers[0]&&this.spacer.update(a.view,0,0, +[c])}c=a.view.viewport;return!W.RangeSet.eq(this.markers,b,c.from,c.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(a):!1)}destroy(){for(let a of this.elements)a.destroy()}}class Fe{constructor(a,b,c,e){this.height=-1;this.above=0;this.markers=[];this.dom=document.createElement("div");this.dom.className="cm-gutterElement";this.update(a,b,c,e)}update(a,b,c,e){this.height!=b&&(this.height=b,this.dom.style.height=b+"px");this.above!=c&&(this.dom.style.marginTop=(this.above=c)?c+"px": +"");a:if(b=this.markers,b.length!=e.length)b=!1;else{for(c=0;cf(x,y,B)||n(x,y,B):n}return b}})}});class Qd extends Ac{constructor(a){super();this.number=a}eq(a){return this.number==a.number}toDOM(){return document.createTextNode(this.number)}} +const xf=gd.compute([Mc],a=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(b){return b.state.facet(Ge)},lineMarker(b,c,e){return e.some(f=>f.toDOM)?null:new Qd(ya(b,b.state.doc.lineAt(c.from).number))},widgetMarker:()=>null,lineMarkerChange:b=>b.startState.facet(Mc)!=b.state.facet(Mc),initialSpacer(b){return new Qd(ya(b,Oa(b.state.doc.lines)))},updateSpacer(b,c){c=ya(c.view,Oa(c.view.state.doc.lines));return c==b.number?b:new Qd(c)},domEventHandlers:a.facet(Mc).domEventHandlers})),yf=new class extends Ac{constructor(){super(...arguments); +this.elementClass="cm-activeLineGutter"}},zf=fd.compute(["selection"],a=>{let b=[],c=-1;for(let e of a.selection.ranges){let f=a.doc.lineAt(e.head).from;f>c&&(c=f,b.push(yf.range(f)))}return W.RangeSet.of(b)}),He=new Map,Af=Qb(new nd({regexp:/\t| +/g,decoration:a=>{a=a[0];let b=He.get(a);b||He.set(a,b=O.mark({attributes:"\t"===a?{class:"cm-highlightTab"}:{class:"cm-highlightSpace","data-display":a.replace(/ /g,"·")}}));return b},boundary:/\S/})),Bf=Qb(new nd({regexp:/\s+$/g,decoration:O.mark({class:"cm-trailingSpace"}), +boundary:/\S/})),Cf={HeightMap:hc,HeightOracle:me,MeasuredHeights:ne,QueryType:mb,ChangedRange:pc,computeOrder:ra,moveVisually:ta};C.BidiSpan=xc;C.BlockInfo=yc;C.Decoration=O;C.EditorView=Va;C.GutterMarker=Ac;C.MatchDecorator=nd;C.RectangleMarker=Tc;C.ViewPlugin=Yb;C.ViewUpdate=qd;C.WidgetType=J;C.__test=Cf;C.closeHoverTooltips=uf;C.crosshairCursor=function(a={}){let [b,c]=of[a.key||"Alt"],e=Yb.fromClass(class{constructor(f){this.view=f;this.isDown=!1}set(f){this.isDown!=f&&(this.isDown=f,this.view.update([]))}}, +{eventObservers:{keydown(f){this.set(f.keyCode==b||c(f))},keyup(f){f.keyCode!=b&&c(f)||this.set(!1)},mousemove(f){this.set(c(f))}}});return[e,Va.contentAttributes.of(f=>{var n;return(null===(n=f.plugin(e))||void 0===n?0:n.isDown)?pf:null})]};C.drawSelection=function(a={}){return[Fc.of(a),ef,ff,gf,fe.of(!0)]};C.dropCursor=function(){return[dd,hf]};C.getDrawSelectionConfig=function(a){return a.facet(Fc)};C.getPanel=function(a,b){b=(a=a.plugin(De))?a.specs.indexOf(b):-1;return-1b?null:a.manager.tooltipViews[b]};C.gutter=function(a){return[X(),gd.of(Object.assign(Object.assign({},vf),a))]};C.gutterLineClass=fd;C.gutters=X;C.hasHoverTooltips=function(a){return a.facet(ed).some(b=>b)};C.highlightActiveLine=function(){return mf};C.highlightActiveLineGutter=function(){return zf};C.highlightSpecialChars=function(a={}){return[md.of(a),m()]};C.highlightTrailingWhitespace=function(){return Bf}; +C.highlightWhitespace=function(){return Af};C.hoverTooltip=function(a,b={}){let c=W.StateEffect.define(),e=W.StateField.define({create(){return null},update(f,n){if(f&&(b.hideOnChange&&(n.docChanged||n.selection)||b.hideOn&&b.hideOn(n,f)))return null;if(f&&n.docChanged){let x=n.changes.mapPos(f.pos,-1,W.MapMode.TrackDel);if(null==x)return null;let y=Object.assign(Object.create(null),f);y.pos=x;null!=f.end&&(y.end=n.changes.mapPos(f.end));f=y}for(let x of n.effects)x.is(c)&&(f=x.value),x.is(Ce)&&(f= +null);return f},provide:f=>ed.from(f)});return[e,Yb.define(f=>new tf(f,a,e,c,b.hoverTime||300)),sf]};C.keymap=ae;C.layer=qa;C.lineNumberMarkers=Ge;C.lineNumbers=function(a={}){return[Mc.of(a),X(),xf]};C.logException=kb;C.panels=function(a){return a?[Od.of(a)]:[]};C.placeholder=function(a){return Yb.fromClass(class{constructor(b){this.view=b;this.placeholder=a?O.set([O.widget({widget:new nf(a),side:1}).range(0)]):O.none}get decorations(){return this.view.state.doc.length?O.none:this.placeholder}}, +{decorations:b=>b.decorations})};C.rectangularSelection=function(a){let b=(null===a||void 0===a?void 0:a.eventFilter)||(c=>c.altKey&&0==c.button);return Va.mouseSelectionStyle.of((c,e)=>b(e)?D(c,e):null)};C.repositionTooltips=function(a){(a=a.plugin(ud))&&a.maybeMeasure()};C.runScopeHandlers=function(a,b,c){return I(w(a.state),b,a,c)};C.scrollPastEnd=function(){return[ze,pd.of(a=>{var b;return(null===(b=a.plugin(ze))||void 0===b?void 0:b.attrs)||null})]};C.showPanel=Pd;C.showTooltip=Md;C.tooltips= +function(a={}){return td.of(a)}}; shadow$provide[5]=function(R,K,pa,m){function A(Ja,cb){return Ja.length==cb.length&&Ja.every((ma,za)=>ma==cb[za])}function w(Ja){let cb=[[]];for(let ma=0;maza.length-ma.length)}function p(Ja,cb){let ma=Object.create(null);for(let Xa of Ja)if(Array.isArray(Xa.tag))for(let Sa of Xa.tag)ma[Sa.id]=Xa.class;else ma[Xa.tag.id]=Xa.class;let {scope:za,all:Ga=null}=cb||{};return{style:Xa=>{let Sa=Ga; for(let Va of Xa)for(let ab of Va.set)if(Xa=ma[ab.id]){Sa=Sa?Sa+" "+Xa:Xa;break}return Sa},scope:za}}function g(Ja,cb){let ma=null;for(let za of Ja)(Ja=za.style(cb))&&(ma=ma?ma+" "+Ja:Ja);return ma}function f(Ja,cb,ma,za=0,Ga=Ja.length){cb=new y(za,Array.isArray(cb)?cb:[cb],ma);cb.highlightRange(Ja.cursor(),za,Ga,"",cb.highlighters);cb.flush(Ga)}function e(Ja){let cb=Ja.type.prop(z);for(;cb&&cb.context&&!Ja.matchContext(cb.context);)cb=cb.next;return cb||null}var h=K(0);let l=0;class c{constructor(Ja, cb,ma){this.set=Ja;this.base=cb;this.modified=ma;this.id=l++}static define(Ja){if(null===Ja||void 0===Ja?0:Ja.base)throw Error("Can not derive from a modified tag");let cb=new c([],null,[]);cb.set.push(cb);if(Ja)for(let ma of Ja.set)cb.set.push(ma);return cb}static defineModifier(){let Ja=new q;return cb=>-1ma.id-za.id))}}let r=0;class q{constructor(){this.instances=[];this.id=r++}static get(Ja,cb){if(!cb.length)return Ja; @@ -553,81 +533,77 @@ class:"tok-variableName tok-local"},{tag:R.definition(R.variableName),class:"tok class:"tok-comment"},{tag:R.meta,class:"tok-meta"},{tag:R.invalid,class:"tok-invalid"},{tag:R.punctuation,class:"tok-punctuation"}]);m.Tag=c;m.classHighlighter=K;m.getStyleTags=e;m.highlightCode=function(Ja,cb,ma,za,Ga,Xa=0,Sa=Ja.length){function Va(Ta,Ya){if(!(Ta<=ab)){for(let rb=Ja.slice(ab,Ta),Cb=0;;){let ac=rb.indexOf("\n",Cb),ea=0>ac?rb.length:ac;ea>Cb&&za(rb.slice(Cb,ea),Ya);if(0>ac)break;Ga();Cb=ac+1}ab=Ta}}let ab=Xa;f(cb,ma,(Ta,Ya,rb)=>{Va(Ta,"");Va(Ya,rb)},Xa,Sa);Va(Sa,"")};m.highlightTree= f;m.styleTags=function(Ja){let cb=Object.create(null);for(let Xa in Ja){let Sa=Ja[Xa];Array.isArray(Sa)||(Sa=[Sa]);for(let Va of Xa.split(" "))if(Va){var ma=[];let ab=2;var za=Va;for(var Ga=0;;){if("..."==za&&0Gb.concat(gb):void 0})}function w(gb,Gb,rc){var Cc=gb.facet(Yc);gb=p(gb).topNode;if(!Cc||Cc.allowsNesting)for(Cc=gb;Cc;Cc=Cc.enter(Gb,rc,Ta.IterMode.ExcludeBuffers))Cc.type.isTop&&(gb=Cc);return gb}function p(gb){return(gb=gb.field(Mb.state,!1))?gb.tree:Ta.Tree.empty}function g(gb,Gb,rc=50){var Cc;gb=null===(Cc=gb.field(Mb.state,!1))||void 0===Cc?void 0:Cc.context;if(!gb)return null;Cc=gb.viewport;gb.updateViewport({from:0, -to:Gb});Gb=gb.isDone(Gb)||gb.work(rc,Gb)?gb.tree:null;gb.updateViewport(Cc);return Gb}function f(gb,Gb,rc){return Ta.TreeFragment.applyChanges(gb,[{fromA:Gb,toA:rc,fromB:Gb,toB:rc}])}function e(gb){let Gb=gb.facet(Nb);return 9==Gb.charCodeAt(0)?gb.tabSize*Gb.length:Gb.length}function h(gb,Gb){let rc="";var Cc=gb.tabSize;gb=gb.facet(Nb)[0];if("\t"==gb){for(;Gb>=Cc;)rc+="\t",Gb-=Cc;gb=" "}for(Cc=0;Cc=Gb){rc=rc.resolveStack(Gb);var Qc=rc.node.enterUnfinishedNodesBefore(Gb);if(Qc!=rc.node){for(Cc=[];Qc!=rc.node;Qc=Qc.parent)Cc.push(Qc);for(Qc=Cc.length-1;0<=Qc;Qc--)rc={node:Cc[Qc],next:rc}}Gb=c(rc,gb,Gb)}else Gb=null;return Gb}function c(gb,Gb,rc){for(;gb;gb=gb.next){let Cc=r(gb.node);if(Cc)return Cc(k.create(Gb,rc,gb))}return 0}function r(gb){var Gb=gb.type.prop(b);if(Gb)return Gb;Gb=gb.firstChild;let rc;if(Gb&&(rc=Gb.type.prop(Ta.NodeProp.closedBy))){let Cc= -gb.lastChild,Qc=Cc&&-1z(Hd,!0,1,void 0,!Qc||Hd.pos==Hd.options.simulateBreak&&Hd.options.simulateDoubleBreak?void 0:Cc.from)}return null==gb.parent?q:null}function q(){return 0}function z(gb,Gb,rc,Cc,Qc){var Hd=gb.textAfter,yb=Hd.match(/^\s*/)[0].length;Cc=Cc&&Hd.slice(yb,yb+Cc.length)==Cc||Qc==gb.pos+yb;if(Gb)a:if(Gb=gb.node,Qc=Gb.childAfter(Gb.from),Hd=Gb.lastChild,Qc){yb=gb.options.simulateBreak;var vb=gb.state.doc.lineAt(Qc.from);yb=null==yb||yb<=vb.from?vb.to: -Math.min(vb.to,yb);for(vb=Qc.to;;){vb=Gb.childAfter(vb);if(!vb||vb==Hd){Gb=null;break a}if(!vb.type.isSkipped){Gb=vb.fromrc)continue;if(Cc&&yb.from=Gb&&yb.to>rc&&(Cc=yb)}gb=Cc}return gb}function y(gb,Gb){let rc=Gb.mapPos(gb.from,1);gb=Gb.mapPos(gb.to,-1);return rc>=gb?void 0:{from:rc,to:gb}}function D(gb){let Gb=[];for(let {head:rc}of gb.state.selection.ranges)Gb.some(Cc=>Cc.from<=rc&&Cc.to>=rc)||Gb.push(gb.lineBlockAt(rc));return Gb}function B(gb,Gb,rc){var Cc; -let Qc=null;null===(Cc=gb.field(X,!1))||void 0===Cc?void 0:Cc.between(Gb,rc,(Hd,yb)=>{if(!Qc||Qc.from>Hd)Qc={from:Hd,to:yb}});return Qc}function F(gb,Gb,rc){let Cc=!1;gb.between(Gb,Gb,(Qc,Hd)=>{Qc==Gb&&Hd==rc&&(Cc=!0)});return Cc}function E(gb,Gb){return gb.field(X,!1)?Gb:Gb.concat(Ya.StateEffect.appendConfig.of(U()))}function N(gb,Gb,rc=!0){let Cc=gb.state.doc.lineAt(Gb.from).number;Gb=gb.state.doc.lineAt(Gb.to).number;return rb.EditorView.announce.of(`${gb.state.phrase(rc?"Folded lines":"Unfolded lines")} ${Cc} ${gb.state.phrase("to")} ${Gb}.`)} -function U(gb){let Gb=[X,ia];gb&&Gb.push(hb.of(gb));return Gb}function G(gb,Gb){let {state:rc}=gb,Cc=rc.facet(hb),Qc=Hd=>{var yb=gb.lineBlockAt(gb.posAtDOM(Hd.target));(yb=B(gb.state,yb.from,yb.to))&&gb.dispatch({effects:Q.of(yb)});Hd.preventDefault()};if(Cc.placeholderDOM)return Cc.placeholderDOM(gb,Qc,Gb);Gb=document.createElement("span");Gb.textContent=Cc.placeholderText;Gb.setAttribute("aria-label",rc.phrase("folded code"));Gb.title=rc.phrase("unfold");Gb.className="cm-foldPlaceholder";Gb.onclick= -Qc;return Gb}function L(gb){let Gb=gb.facet(Ua);return Gb.length?Gb:gb.facet(qb)}function aa(gb){let Gb=[],rc=gb.matched?Ea:bb;Gb.push(rc.range(gb.start.from,gb.start.to));gb.end&&Gb.push(rc.range(gb.end.from,gb.end.to));return Gb}function ha(gb,Gb,rc){let Cc=gb.prop(0>Gb?Ta.NodeProp.openedBy:Ta.NodeProp.closedBy);return Cc?Cc:1==gb.name.length&&(gb=rc.indexOf(gb.name),-1Gb?1:0))?[rc[gb+Gb]]:null}function Ha(gb){let Gb=gb.type.prop(Ba);return Gb?Gb(gb.node):gb}function Oa(gb,Gb,rc,Cc= -{}){var Qc=Cc.maxScanDistance||1E4;Cc=Cc.brackets||"()[]{}";var Hd=p(gb),yb=Hd.resolveInner(Gb,rc);for(var vb=yb;vb;vb=vb.parent){var zc=ha(vb.type,rc,Cc);if(zc&&vb.from=ad.from&&Gbad.from&&Gb<=ad.to)){a:{Gb=rc;rc=vb;Qc=zc;Hd=Cc;gb=rc.parent;Cc={from:ad.from,to:ad.to};ad=0;if((gb=null===gb||void 0===gb?void 0:gb.cursor())&&(0>Gb?gb.childBefore(rc.from):gb.childAfter(rc.to))){do if(0>Gb?gb.to<=rc.from:gb.from>=rc.to)if(0==ad&&-1Gb?gb.prevSibling():gb.nextSibling())}Cc={start:Cc,matched:!1}}return Cc}}}a:if(ad=yb.type,zc=0>rc?gb.sliceDoc(Gb-1,Gb):gb.sliceDoc(Gb,Gb+1),vb=Cc.indexOf(zc),0>vb||0==vb%2!=0rc?Gb-1:Gb,to:0rc&&(Ad+=jc.length);let pd=Gb+Ad*rc;for(let wc=0Sd||Hd.resolveInner(pd+wc,1).type!=ad))if(0==Sd%2==0>1==vb>>1};break a}else yb--}0{}),startState:gb.startState||(()=>!0),copyState:gb.copyState||ma,indent:gb.indent||(()=>null),languageData:gb.languageData||{},tokenTable:gb.tokenTable||Zb}}function ma(gb){if("object"!=typeof gb)return gb;let Gb={};for(let rc in gb){let Cc=gb[rc];Gb[rc]=Cc instanceof Array?Cc.slice(): -Cc}return Gb}function za(gb,Gb,rc,Cc,Qc){var Hd=rc>=Cc&&rc+Gb.length<=Qc&&Gb.prop(gb.stateAfter);if(Hd)return{state:gb.streamParser.copyState(Hd),pos:rc+Gb.length};for(Hd=Gb.children.length-1;0<=Hd;Hd--){var yb=Gb.children[Hd];let vb=rc+Gb.positions[Hd];if(yb=yb instanceof Ta.Tree&&vb=rc&&Cc>=Gb.length)return Gb;Qc||Gb.type!=gb.topNode||(Qc=!0);for(let Hd=Gb.children.length-1;0<=Hd;Hd--){let yb=Gb.positions[Hd],vb= -Gb.children[Hd];if(ybCc;Cc++){let Qc=gb(Gb,rc);if(Gb.pos>Gb.start)return Qc}throw Error("Stream parser failed to advance stream.");}function Sa(gb,Gb){-1gb)],top:!0});qc.push(Gb);return Gb}var Ta=K(0),Ya=K(1),rb=K(4),Cb=K(5),ac=K(2),ea;const Aa=new Ta.NodeProp,xb=new Ta.NodeProp;class Mb{constructor(gb,Gb,rc=[],Cc=""){this.data=gb;this.name=Cc;Ya.EditorState.prototype.hasOwnProperty("tree")||Object.defineProperty(Ya.EditorState.prototype,"tree",{get(){return p(this)}});this.parser=Gb;this.extension=[Yc.of(this),Ya.EditorState.languageData.of((Qc,Hd,yb)=>{let vb=w(Qc,Hd,yb);var zc=vb.type.prop(Aa);if(!zc)return[]; -zc=Qc.facet(zc);let ad=vb.type.prop(xb);if(ad){Hd=vb.resolve(Hd-vb.from,yb);for(let Ad of ad)if(Ad.test(Hd,Qc))return Qc=Qc.facet(Ad.facet),"replace"==Ad.type?Qc:Qc.concat(zc)}return zc})].concat(rc)}isActiveAt(gb,Gb,rc=-1){return w(gb,Gb,rc).type.prop(Aa)==this.data}findRegions(gb){let Gb=gb.facet(Yc);if((null===Gb||void 0===Gb?void 0:Gb.data)==this.data)return[{from:0,to:gb.doc.length}];if(!Gb||!Gb.allowsNesting)return[];let rc=[],Cc=(Qc,Hd)=>{if(Qc.prop(Aa)==this.data)rc.push({from:Hd,to:Hd+Qc.length}); -else{var yb=Qc.prop(Ta.NodeProp.mounted);if(yb){if(yb.tree.prop(Aa)==this.data){if(yb.overlay)for(var vb of yb.overlay)rc.push({from:vb.from+Hd,to:vb.to+Hd});else rc.push({from:Hd,to:Hd+Qc.length});return}if(yb.overlay&&(vb=rc.length,Cc(yb.tree,yb.overlay[0].from+Hd),rc.length>vb))return}for(yb=0;ybrc.isTop?Gb:void 0)]}),gb.name)}configure(gb,Gb){return new wa(this.data,this.parser.configure(gb),Gb||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}class Ra{constructor(gb){this.doc=gb;this.cursorPos=0;this.string="";this.cursor=gb.iter()}get length(){return this.doc.length}syncTo(gb){this.string=this.cursor.next(gb-this.cursorPos).value; -this.cursorPos=gb+this.string.length;return this.cursorPos-this.string.length}chunk(gb){this.syncTo(gb);return this.string}get lineChunks(){return!0}read(gb,Gb){let rc=this.cursorPos-this.string.length;return gb=this.cursorPos?this.doc.sliceString(gb,Gb):this.string.slice(gb-rc,Gb-rc)}}let nb=null;class Hb{constructor(gb,Gb,rc=[],Cc,Qc,Hd,yb,vb){this.parser=gb;this.state=Gb;this.fragments=rc;this.tree=Cc;this.treeLen=Qc;this.viewport=Hd;this.skipped=yb;this.scheduleOn=vb;this.parse=null;this.tempSkipped= -[]}static create(gb,Gb,rc){return new Hb(gb,Gb,[],Ta.Tree.empty,0,rc,[],null)}startParse(){return this.parser.startParse(new Ra(this.state.doc),this.fragments)}work(gb,Gb){null!=Gb&&Gb>=this.state.doc.length&&(Gb=void 0);return this.tree!=Ta.Tree.empty&&this.isDone(null!==Gb&&void 0!==Gb?Gb:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var rc;if("number"==typeof gb){let Cc=Date.now()+gb;gb=()=>Date.now()>Cc}this.parse||(this.parse=this.startParse());for(null!=Gb&&(null==this.parse.stoppedAt|| -this.parse.stoppedAt>Gb)&&Gb= -this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>gb)&&this.parse.stopAt(gb),this.withContext(()=>{for(;!(Gb=this.parse.advance()););}),this.treeLen=gb,this.tree=Gb,this.fragments=this.withoutTempSkipped(Ta.TreeFragment.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(gb){let Gb=nb;nb=this;try{return gb()}finally{nb=Gb}}withoutTempSkipped(gb){for(let Gb;Gb=this.tempSkipped.pop();)gb=f(gb,Gb.from,Gb.to);return gb}changes(gb,Gb){let {fragments:rc,tree:Cc,treeLen:Qc, -viewport:Hd,skipped:yb}=this;this.takeTree();if(!gb.empty){let vb=[];gb.iterChangedRanges((zc,ad,Ad,jc)=>vb.push({fromA:zc,toA:ad,fromB:Ad,toB:jc}));rc=Ta.TreeFragment.applyChanges(rc,vb);Cc=Ta.Tree.empty;Qc=0;Hd={from:gb.mapPos(Hd.from,-1),to:gb.mapPos(Hd.to,1)};if(this.skipped.length){yb=[];for(let zc of this.skipped){let ad=gb.mapPos(zc.from,1),Ad=gb.mapPos(zc.to,-1);adgb.from&&(this.fragments=f(this.fragments,Cc,Qc),this.skipped.splice(rc--,1))}if(this.skipped.length>=Gb)return!1;this.reset();return!0}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(gb,Gb){this.skipped.push({from:gb,to:Gb})}static getSkippingParser(gb){return new class extends Ta.Parser{createParse(Gb, -rc,Cc){let Qc=Cc[0].from,Hd=Cc[Cc.length-1].to;return{parsedPos:Qc,advance(){let yb=nb;if(yb){for(let vb of Cc)yb.tempSkipped.push(vb);gb&&(yb.scheduleOn=yb.scheduleOn?Promise.all([yb.scheduleOn,gb]):gb)}this.parsedPos=Hd;return new Ta.Tree(Ta.NodeType.none,[],[],Hd-Qc)},stoppedAt:null,stopAt(){}}}}}isDone(gb){gb=Math.min(gb,this.state.doc.length);let Gb=this.fragments;return this.treeLen>=gb&&Gb.length&&0==Gb[0].from&&Gb[0].to>=gb}static get(){return nb}}class Jb{constructor(gb){this.context=gb; -this.tree=gb.tree}apply(gb){if(!gb.docChanged&&this.tree==this.context.tree)return this;let Gb=this.context.changes(gb.changes,gb.state);gb=this.context.treeLen==gb.startState.doc.length?void 0:Math.max(gb.changes.mapPos(this.context.treeLen),Gb.viewport.to);Gb.work(20,gb)||Gb.takeTree();return new Jb(Gb)}static init(gb){let Gb=Math.min(3E3,gb.doc.length);gb=Hb.create(gb.facet(Yc).parser,gb,{from:0,to:Gb});gb.work(20,Gb)||gb.takeTree();return new Jb(gb)}}Mb.state=Ya.StateField.define({create:Jb.init, -update(gb,Gb){for(let rc of Gb.effects)if(rc.is(Mb.setState))return rc.value;return Gb.startState.facet(Yc)!=Gb.state.facet(Yc)?Jb.init(Gb.state):gb.apply(Gb)}});let Bb=gb=>{let Gb=setTimeout(()=>gb(),500);return()=>clearTimeout(Gb)};"undefined"!=typeof requestIdleCallback&&(Bb=gb=>{let Gb=-1,rc=setTimeout(()=>{Gb=requestIdleCallback(gb,{timeout:400})},100);return()=>0>Gb?clearTimeout(rc):cancelIdleCallback(Gb)});const xc="undefined"!=typeof navigator&&(null===(ea=navigator.scheduling)||void 0=== -ea?0:ea.isInputPending)?()=>navigator.scheduling.isInputPending():null,bd=rb.ViewPlugin.fromClass(class{constructor(gb){this.view=gb;this.working=null;this.workScheduled=0;this.chunkBudget=this.chunkEnd=-1;this.work=this.work.bind(this);this.scheduleWork()}update(gb){let Gb=this.view.state.field(Mb.state).context;(Gb.updateViewport(gb.view.viewport)||this.view.viewport.to>Gb.treeLen)&&this.scheduleWork();if(gb.docChanged||gb.selectionSet)this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork(); -this.checkAsyncSchedule(Gb)}scheduleWork(){if(!this.working){var {state:gb}=this.view,Gb=gb.field(Mb.state);Gb.tree==Gb.context.tree&&Gb.context.isDone(gb.doc.length)||(this.working=Bb(this.work))}}work(gb){this.working=null;let Gb=Date.now();this.chunkEndthis.chunkEnd||this.view.hasFocus)&&(this.chunkEnd=Gb+3E4,this.chunkBudget=3E3);if(!(0>=this.chunkBudget)){var {state:rc,viewport:{to:Cc}}=this.view,Qc=rc.field(Mb.state);if(Qc.tree!=Qc.context.tree||!Qc.context.isDone(Cc+1E5)){var Hd=Date.now()+ -Math.min(this.chunkBudget,100,gb&&!xc?Math.max(25,gb.timeRemaining()-5):1E9);gb=Qc.context.treeLenCc+1E3;var yb=Qc.context.work(()=>xc&&xc()||Date.now()>Hd,Cc+(gb?0:1E5));this.chunkBudget-=Date.now()-Gb;if(yb||0>=this.chunkBudget)Qc.context.takeTree(),this.view.dispatch({effects:Mb.setState.of(new Jb(Qc.context))});0 -this.scheduleWork()).catch(Gb=>rb.logException(this.view.state,Gb)).then(()=>this.workScheduled--),gb.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||0[Mb.state,bd,rb.EditorView.contentAttributes.compute([gb],Gb=>(Gb=Gb.facet(gb))&&Gb.name?{"data-language":Gb.name}:{})]});class Xb{constructor(gb,Gb=[]){this.language= -gb;this.support=Gb;this.extension=[gb,Gb]}}class cd{constructor(gb,Gb,rc,Cc,Qc,Hd){this.name=gb;this.alias=Gb;this.extensions=rc;this.filename=Cc;this.loadFunc=Qc;this.support=Hd;this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(gb=>this.support=gb,gb=>{this.loading=null;throw gb;}))}static of(gb){let {load:Gb,support:rc}=gb;if(!Gb){if(!rc)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");Gb=()=>Promise.resolve(rc)}return new cd(gb.name, -(gb.alias||[]).concat(gb.name).map(Cc=>Cc.toLowerCase()),gb.extensions||[],gb.filename,Gb,rc)}static matchFilename(gb,Gb){for(let rc of gb)if(rc.filename&&rc.filename.test(Gb))return rc;if(Gb=/\.([^.]+)$/.exec(Gb))for(let rc of gb)if(-1Qc==Gb))return Cc;if(rc)for(let Cc of gb)for(let Qc of Cc.alias)if(gb=Gb.indexOf(Qc),-1{if(!gb.length)return" ";let Gb=gb[0];if(!Gb||/\S/.test(Gb)||Array.from(Gb).some(rc=>rc!=Gb[0]))throw Error("Invalid indent unit: "+JSON.stringify(gb[0]));return Gb}});class Wb{constructor(gb,Gb={}){this.state=gb;this.options=Gb;this.unit=e(gb)}lineAt(gb,Gb=1){let rc=this.state.doc.lineAt(gb),{simulateBreak:Cc,simulateDoubleBreak:Qc}=this.options;return null!=Cc&&Cc>=rc.from&&Cc<= -rc.to?Qc&&Cc==gb?{text:"",from:gb}:(0>Gb?CcCc.value.from!=Qc||Cc.value.to!=Hd,filterFrom:Cc.value.from,filterTo:Cc.value.to}));if(Gb.selection){let Cc=!1,{head:Qc}=Gb.selection.main;gb.between(Qc,Qc,(Hd,yb)=>{HdQc&&(Cc=!0)});Cc&&(gb=gb.update({filterFrom:Qc,filterTo:Qc,filter:(Hd,yb)=>yb<=Qc||Hd>=Qc}))}return gb},provide:gb=>rb.EditorView.decorations.from(gb),toJSON(gb,Gb){let rc=[];gb.between(0,Gb.doc.length,(Cc,Qc)=>{rc.push(Cc,Qc)});return rc},fromJSON(gb){if(!Array.isArray(gb)||gb.length%2)throw new RangeError("Invalid JSON for fold state"); -let Gb=[];for(let rc=0;rc{for(let Gb of D(gb)){let rc=x(gb.state,Gb.from,Gb.to);if(rc)return gb.dispatch({effects:E(gb.state,[I.of(rc),N(gb,rc)])}),!0}return!1},na=gb=>{if(!gb.state.field(X,!1))return!1;let Gb=[];for(let rc of D(gb)){let Cc=B(gb.state,rc.from,rc.to);Cc&&Gb.push(Q.of(Cc),N(gb,Cc,!1))}Gb.length&& -gb.dispatch({effects:Gb});return 0{let {state:Gb}=gb,rc=[];for(var Cc=0;Cc{let Gb=gb.state.field(X,!1);if(!Gb||!Gb.size)return!1;let rc=[];Gb.between(0,gb.state.doc.length,(Cc,Qc)=>{rc.push(Q.of({from:Cc,to:Qc}))});gb.dispatch({effects:rc});return!0},Fa=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[", -run:ca},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:na},{key:"Ctrl-Alt-[",run:oa},{key:"Ctrl-Alt-]",run:xa}],Wa={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},hb=Ya.Facet.define({combine(gb){return Ya.combineConfig(gb,Wa)}}),Fb=rb.Decoration.replace({widget:new class extends rb.WidgetType{toDOM(gb){return G(gb,null)}}});class Ob extends rb.WidgetType{constructor(gb){super();this.value=gb}eq(gb){return this.value==gb.value}toDOM(gb){return G(gb,this.value)}}const hc={openText:"⌄",closedText:"›", -markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class pb extends rb.GutterMarker{constructor(gb,Gb){super();this.config=gb;this.open=Gb}eq(gb){return this.config==gb.config&&this.open==gb.open}toDOM(gb){if(this.config.markerDOM)return this.config.markerDOM(this.open);let Gb=document.createElement("span");Gb.textContent=this.open?this.config.openText:this.config.closedText;Gb.title=gb.state.phrase(this.open?"Fold line":"Unfold line");return Gb}}const ia=rb.EditorView.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee", -border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ua{constructor(gb,Gb){function rc(yb){let vb=ac.StyleModule.newName();(Cc||(Cc=Object.create(null)))["."+vb]=yb;return vb}this.specs=gb;let Cc;const Qc="string"==typeof Gb.all?Gb.all:Gb.all?rc(Gb.all):void 0,Hd=Gb.scope;this.scope=Hd instanceof Mb?yb=>yb.prop(Aa)==Hd.data:Hd?yb=>yb==Hd:void 0;this.style=Cb.tagHighlighter(gb.map(yb=> -({tag:yb.tag,class:yb.class||rc(Object.assign({},yb,{tag:null}))})),{all:Qc}).style;this.module=Cc?new ac.StyleModule(Cc):null;this.themeType=Gb.themeType}static define(gb,Gb){return new ua(gb,Gb||{})}}const Ua=Ya.Facet.define(),qb=Ya.Facet.define({combine(gb){return gb.length?[gb[0]]:null}});class Rb{constructor(gb){this.markCache=Object.create(null);this.tree=p(gb.state);this.decorations=this.buildDeco(gb,L(gb.state))}update(gb){let Gb=p(gb.state),rc=L(gb.state),Cc=rc!=L(gb.startState);if(Gb.length< -gb.view.viewport.to&&!Cc&&Gb.type==this.tree.type)this.decorations=this.decorations.map(gb.changes);else if(Gb!=this.tree||gb.viewportChanged||Cc)this.tree=Gb,this.decorations=this.buildDeco(gb.view,rc)}buildDeco(gb,Gb){if(!Gb||!this.tree.length)return rb.Decoration.none;let rc=new Ya.RangeSetBuilder;for(let {from:Cc,to:Qc}of gb.visibleRanges)Cb.highlightTree(this.tree,Gb,(Hd,yb,vb)=>{rc.add(Hd,yb,this.markCache[vb]||(this.markCache[vb]=rb.Decoration.mark({class:vb})))},Cc,Qc);return rc.finish()}} -const gc=Ya.Prec.high(rb.ViewPlugin.fromClass(Rb,{decorations:gb=>gb.decorations})),Qb=ua.define([{tag:Cb.tags.meta,color:"#404740"},{tag:Cb.tags.link,textDecoration:"underline"},{tag:Cb.tags.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Cb.tags.emphasis,fontStyle:"italic"},{tag:Cb.tags.strong,fontWeight:"bold"},{tag:Cb.tags.strikethrough,textDecoration:"line-through"},{tag:Cb.tags.keyword,color:"#708"},{tag:[Cb.tags.atom,Cb.tags.bool,Cb.tags.url,Cb.tags.contentSeparator,Cb.tags.labelName], -color:"#219"},{tag:[Cb.tags.literal,Cb.tags.inserted],color:"#164"},{tag:[Cb.tags.string,Cb.tags.deleted],color:"#a11"},{tag:[Cb.tags.regexp,Cb.tags.escape,Cb.tags.special(Cb.tags.string)],color:"#e40"},{tag:Cb.tags.definition(Cb.tags.variableName),color:"#00f"},{tag:Cb.tags.local(Cb.tags.variableName),color:"#30a"},{tag:[Cb.tags.typeName,Cb.tags.namespace],color:"#085"},{tag:Cb.tags.className,color:"#167"},{tag:[Cb.tags.special(Cb.tags.variableName),Cb.tags.macroName],color:"#256"},{tag:Cb.tags.definition(Cb.tags.propertyName), -color:"#00c"},{tag:Cb.tags.comment,color:"#940"},{tag:Cb.tags.invalid,color:"#f00"}]),kc=rb.EditorView.baseTheme({"\x26.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"\x26.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),da=Ya.Facet.define({combine(gb){return Ya.combineConfig(gb,{afterCursor:!0,brackets:"()[]{}",maxScanDistance:1E4,renderMatch:aa})}}),Ea=rb.Decoration.mark({class:"cm-matchingBracket"}),bb=rb.Decoration.mark({class:"cm-nonmatchingBracket"}),jb=[Ya.StateField.define({create(){return rb.Decoration.none}, -update(gb,Gb){if(!Gb.docChanged&&!Gb.selection)return gb;gb=[];let rc=Gb.state.facet(da);for(let Cc of Gb.state.selection.ranges){if(!Cc.empty)continue;let Qc=Oa(Gb.state,Cc.head,-1,rc)||0rb.EditorView.decorations.from(gb)}),kc],Ba=new Ta.NodeProp;class Qa{constructor(gb, -Gb,rc,Cc){this.string=gb;this.tabSize=Gb;this.indentUnit=rc;this.overrideIndent=Cc;this.lastColumnValue=this.lastColumnPos=this.start=this.pos=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posGb}eatSpace(){let gb=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>gb}skipToEnd(){this.pos=this.string.length}skipTo(gb){gb=this.string.indexOf(gb,this.pos);if(-1this.getIndent(Hd,yb))],gb.name);this.topNode=ab(Gb);Cc=this;this.streamParser=rc;this.stateAfter=new Ta.NodeProp({perNode:!0});this.tokenTable=gb.tokenTable?new le(rc.tokenTable):af}static define(gb){return new ub(gb)}getIndent(gb,Gb){for(var rc=p(gb.state),Cc=rc.resolve(Gb);Cc&&Cc.type!=this.topNode;)Cc=Cc.parent;if(!Cc)return null;let Qc=void 0,{overrideIndentation:Hd}= -gb.options;Hd&&(Qc=sb.get(gb.state),null!=Qc&&Qcyb?void 0:yb);yb.posCc&&za(gb,vb.tree,0-vb.offset,Cc,rc);let zc;if(rc&&(zc=Ga(gb,vb.tree,Cc+vb.offset,rc.pos+vb.offset,!1))){gb={state:rc.state,tree:zc};break a}}gb={state:gb.streamParser.startState(Qc?e(Qc):4),tree:Ta.Tree.empty}}let {state:Hd,tree:yb}=gb;this.state=Hd;this.parsedPos=this.chunkStart=Cc+yb.length;for(gb=0;gb=Gb?this.finish():gb&&this.parsedPos>=gb.viewport.to?(gb.skipUntilInView(this.parsedPos,Gb),this.finish()):null}stopAt(gb){this.stoppedAt= -gb}lineAfter(gb){let Gb=this.input.chunk(gb);if(this.input.lineChunks)"\n"==Gb&&(Gb="");else{let rc=Gb.indexOf("\n");-1=rc)break;Gb=Gb.slice(0,Cc-(rc-Gb.length));gb++;if(gb==this.ranges.length)break;rc=this.ranges[gb].from;Cc=this.lineAfter(rc);Gb+=Cc;rc+=Cc.length}return{line:Gb,end:rc}}skipGapsTo(gb, -Gb,rc){for(;;){let Qc=this.ranges[this.rangeIndex].to;var Cc=gb+Gb;if(0Cc:Qc>=Cc)break;Cc=this.ranges[++this.rangeIndex].from;Gb+=Cc-Qc}return Gb}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to{let Cc=gb&&gb.test(rc.textAfter); -return rc.baseIndent+(Cc?0:Gb*rc.unit)}};m.defaultHighlightStyle=Qb;m.defineLanguageFacet=A;m.delimitedIndent=function({closing:gb,align:Gb=!0,units:rc=1}){return Cc=>z(Cc,Gb,rc,gb)};m.ensureSyntaxTree=g;m.flatIndent=gb=>gb.baseIndent;m.foldAll=oa;m.foldCode=ca;m.foldEffect=I;m.foldGutter=function(gb={}){let Gb=Object.assign(Object.assign({},hc),gb),rc=new pb(Gb,!0),Cc=new pb(Gb,!1),Qc=rb.ViewPlugin.fromClass(class{constructor(yb){this.from=yb.viewport.from;this.markers=this.buildMarkers(yb)}update(yb){if(yb.docChanged|| -yb.viewportChanged||yb.startState.facet(Yc)!=yb.state.facet(Yc)||yb.startState.field(X,!1)!=yb.state.field(X,!1)||p(yb.startState)!=p(yb.state)||Gb.foldingChanged(yb))this.markers=this.buildMarkers(yb.view)}buildMarkers(yb){let vb=new Ya.RangeSetBuilder;for(let zc of yb.viewportLineBlocks){let ad=B(yb.state,zc.from,zc.to)?Cc:x(yb.state,zc.from,zc.to)?rc:null;ad&&vb.add(zc.from,zc.from,ad)}return vb.finish()}}),{domEventHandlers:Hd}=Gb;return[Qc,rb.gutter({class:"cm-foldGutter",markers(yb){var vb; -return(null===(vb=yb.plugin(Qc))||void 0===vb?void 0:vb.markers)||Ya.RangeSet.empty},initialSpacer(){return new pb(Gb,!1)},domEventHandlers:Object.assign(Object.assign({},Hd),{click:(yb,vb,zc)=>Hd.click&&Hd.click(yb,vb,zc)?!0:(zc=B(yb.state,vb.from,vb.to))?(yb.dispatch({effects:Q.of(zc)}),!0):(vb=x(yb.state,vb.from,vb.to))?(yb.dispatch({effects:I.of(vb)}),!0):!1})}),U()]};m.foldInside=function(gb){let Gb=gb.firstChild,rc=gb.lastChild;return Gb&&Gb.to{if(!gb.docChanged||!gb.isUserEvent("input.type")&&!gb.isUserEvent("input.complete"))return gb;var Gb=gb.startState.languageDataAt("indentOnInput",gb.startState.selection.main.head);if(!Gb.length)return gb;var rc=gb.newDoc,{head:Cc}=gb.newSelection.main,Qc=rc.lineAt(Cc);if(Cc>Qc.from+200)return gb;let Hd=rc.sliceString(Qc.from,Cc);if(!Gb.some(vb=>vb.test(Hd)))return gb;({state:Gb}=gb);rc=-1;Cc=[];for(let {head:vb}of Gb.selection.ranges){Qc= -Gb.doc.lineAt(vb);if(Qc.from==rc)continue;rc=Qc.from;var yb=l(Gb,Qc.from);if(null==yb)continue;let zc=/^\s*/.exec(Qc.text)[0];yb=h(Gb,yb);zc!=yb&&Cc.push({from:Qc.from,to:Qc.from+zc.length,insert:yb})}return Cc.length?[gb,{changes:Cc,sequential:!0}]:gb})};m.indentRange=function(gb,Gb,rc){let Cc=Object.create(null),Qc=new Wb(gb,{overrideIndentation:yb=>{var vb;return null!==(vb=Cc[yb])&&void 0!==vb?vb:-1}}),Hd=[];for(;Gb<=rc;){let yb=gb.doc.lineAt(Gb);Gb=yb.to+1;let vb=l(Qc,yb.from);if(null==vb)continue; -/\S/.test(yb.text)||(vb=0);let zc=/^\s*/.exec(yb.text)[0],ad=h(gb,vb);zc!=ad&&(Cc[yb.from]=vb,Hd.push({from:yb.from,to:yb.from+zc.length,insert:ad}))}return gb.changes(Hd)};m.indentService=Sc;m.indentString=h;m.indentUnit=Nb;m.language=Yc;m.languageDataProp=Aa;m.matchBrackets=Oa;m.sublanguageProp=xb;m.syntaxHighlighting=function(gb,Gb){let rc=[gc],Cc;gb instanceof ua&&(gb.module&&rc.push(rb.EditorView.styleModule.of(gb.module)),Cc=gb.themeType);(null===Gb||void 0===Gb?0:Gb.fallback)?rc.push(qb.of(gb)): -Cc?rc.push(Ua.computeN([rb.EditorView.darkTheme],Qc=>Qc.facet(rb.EditorView.darkTheme)==("dark"==Cc)?[gb]:[])):rc.push(Ua.of(gb));return rc};m.syntaxParserRunning=function(gb){var Gb;return(null===(Gb=gb.plugin(bd))||void 0===Gb?void 0:Gb.isWorking())||!1};m.syntaxTree=p;m.syntaxTreeAvailable=function(gb,Gb=gb.doc.length){var rc;return(null===(rc=gb.field(Mb.state,!1))||void 0===rc?void 0:rc.context.isDone(Gb))||!1};m.toggleFold=gb=>{let Gb=[];for(let Qc of D(gb)){var rc=B(gb.state,Qc.from,Qc.to); -if(rc)Gb.push(Q.of(rc),N(gb,rc,!1));else{a:{rc=gb;var Cc=Qc;for(let Hd=Cc;;){let yb=x(rc.state,Hd.from,Hd.to);if(yb&&yb.to>Cc.from){rc=yb;break a}if(!Hd.from){rc=null;break a}Hd=rc.lineBlockAt(Hd.from-1)}}rc&&Gb.push(I.of(rc),N(gb,rc))}}0u.concat(m):void 0})}function Ea(m,u,D){var F=m.facet(ab);m=Ka(m).topNode;if(!F||F.allowsNesting)for(F=m;F;F=F.enter(u,D,ea.IterMode.ExcludeBuffers))F.type.isTop&&(m=F);return m}function Ka(m){return(m=m.field(Da.state,!1))?m.tree:ea.Tree.empty}function Ra(m,u,D=50){var F;m=null===(F=m.field(Da.state,!1))||void 0===F?void 0:F.context;if(!m)return null;F=m.viewport;m.updateViewport({from:0,to:u});u=m.isDone(u)|| +m.work(D,u)?m.tree:null;m.updateViewport(F);return u}function Eb(m,u,D){return ea.TreeFragment.applyChanges(m,[{fromA:u,toA:D,fromB:u,toB:D}])}function nb(m){let u=m.facet(fb);return 9==u.charCodeAt(0)?m.tabSize*u.length:u.length}function Ib(m,u){let D="";var F=m.tabSize;m=m.facet(fb)[0];if("\t"==m){for(;u>=F;)D+="\t",u-=F;m=" "}for(F=0;F=u){D=D.resolveStack(u);var R=D.node.enterUnfinishedNodesBefore(u);if(R!=D.node){for(F=[];R!=D.node;R=R.parent)F.push(R);for(R=F.length-1;0<=R;R--)D={node:F[R],next:D}}u=Sa(D,m,u)}else u=null;return u}function Sa(m,u,D){for(;m;m=m.next){let F=Jb(m.node);if(F)return F(Wb.create(u,D,m))}return 0}function Jb(m){var u=m.type.prop(Lb);if(u)return u;u=m.firstChild;let D;if(u&&(D=u.type.prop(ea.NodeProp.closedBy))){let F=m.lastChild,R=F&&-1sb(X,!0,1,void 0,!R||X.pos== +X.options.simulateBreak&&X.options.simulateDoubleBreak?void 0:F.from)}return null==m.parent?Rb:null}function Rb(){return 0}function sb(m,u,D,F,R){var X=m.textAfter,U=X.match(/^\s*/)[0].length;F=F&&X.slice(U,U+F.length)==F||R==m.pos+U;if(u)a:if(u=m.node,R=u.childAfter(u.from),X=u.lastChild,R){U=m.options.simulateBreak;var ba=m.state.doc.lineAt(R.from);U=null==U||U<=ba.from?ba.to:Math.min(ba.to,U);for(ba=R.to;;){ba=u.childAfter(ba);if(!ba||ba==X){u=null;break a}if(!ba.type.isSkipped){u=ba.fromD)continue;if(F&&U.from=u&&U.to>D&&(F=U)}m=F}return m}function Kb(m,u){let D=u.mapPos(m.from,1);m=u.mapPos(m.to,-1);return D>=m?void 0:{from:D,to:m}}function pb(m){let u=[];for(let {head:D}of m.state.selection.ranges)u.some(F=>F.from<=D&&F.to>=D)||u.push(m.lineBlockAt(D));return u}function $a(m,u,D){var F;let R=null;null===(F=m.field(yb,!1))||void 0===F?void 0:F.between(u,D,(X,U)=>{if(!R||R.from>X)R={from:X,to:U}});return R}function Wa(m,u,D){let F=!1;m.between(u,u,(R,X)=>{R==u&&X==D&&(F=!0)});return F}function qb(m, +u){return m.field(yb,!1)?u:u.concat(la.StateEffect.appendConfig.of(va()))}function eb(m,u,D=!0){let F=m.state.doc.lineAt(u.from).number;u=m.state.doc.lineAt(u.to).number;return ra.EditorView.announce.of(`${m.state.phrase(D?"Folded lines":"Unfolded lines")} ${F} ${m.state.phrase("to")} ${u}.`)}function va(m){let u=[yb,Xb];m&&u.push(Ta.of(m));return u}function xb(m,u){let {state:D}=m,F=D.facet(Ta),R=X=>{var U=m.lineBlockAt(m.posAtDOM(X.target));(U=$a(m.state,U.from,U.to))&&m.dispatch({effects:Bb.of(U)}); +X.preventDefault()};if(F.placeholderDOM)return F.placeholderDOM(m,R,u);u=document.createElement("span");u.textContent=F.placeholderText;u.setAttribute("aria-label",D.phrase("folded code"));u.title=D.phrase("unfold");u.className="cm-foldPlaceholder";u.onclick=R;return u}function Fb(m){let u=m.facet(p);return u.length?u:m.facet(z)}function Zb(m){let u=[],D=m.matched?h:q;u.push(D.range(m.start.from,m.start.to));m.end&&u.push(D.range(m.end.from,m.end.to));return u}function Ab(m,u,D){let F=m.prop(0>u? +ea.NodeProp.openedBy:ea.NodeProp.closedBy);return F?F:1==m.name.length&&(m=D.indexOf(m.name),-1u?1:0))?[D[m+u]]:null}function Nb(m){let u=m.type.prop(g);return u?u(m.node):m}function rb(m,u,D,F={}){var R=F.maxScanDistance||1E4;F=F.brackets||"()[]{}";var X=Ka(m),U=X.resolveInner(u,D);for(var ba=U;ba;ba=ba.parent){var ya=Ab(ba.type,D,F);if(ya&&ba.from=Oa.from&&uOa.from&&u<=Oa.to)){a:{u=D;D=ba;R=ya;X=F;m=D.parent;F={from:Oa.from,to:Oa.to};Oa=0; +if((m=null===m||void 0===m?void 0:m.cursor())&&(0>u?m.childBefore(D.from):m.childAfter(D.to))){do if(0>u?m.to<=D.from:m.from>=D.to)if(0==Oa&&-1u?m.prevSibling():m.nextSibling())}F={start:F,matched:!1}}return F}}}a:if(Oa=U.type, +ya=0>D?m.sliceDoc(u-1,u):m.sliceDoc(u,u+1),ba=F.indexOf(ya),0>ba||0==ba%2!=0D?u-1:u,to:0D&&(Qb+=W.length);let kc=u+Qb*D;for(let gc=0jc||X.resolveInner(kc+gc,1).type!=Oa))if(0==jc%2==0>1==ba>>1};break a}else U--}0{}),startState:m.startState||(()=>!0),copyState:m.copyState||Tb,indent:m.indent||(()=>null),languageData:m.languageData||{},tokenTable:m.tokenTable||I}}function Tb(m){if("object"!=typeof m)return m;let u={};for(let D in m){let F= +m[D];u[D]=F instanceof Array?F.slice():F}return u}function Xa(m,u,D,F,R){var X=D>=F&&D+u.length<=R&&u.prop(m.stateAfter);if(X)return{state:m.streamParser.copyState(X),pos:D+u.length};for(X=u.children.length-1;0<=X;X--){var U=u.children[X];let ba=D+u.positions[X];if(U=U instanceof ea.Tree&&ba=D&&F>=u.length)return u;R||u.type!=m.topNode||(R=!0);for(let X=u.children.length-1;0<=X;X--){let U=u.positions[X],ba=u.children[X];if(UF;F++){let R=m(u,D);if(u.pos>u.start)return R}throw Error("Stream parser failed to advance stream.");}function xa(m,u){-1R.id);if(F=qa[u])return F.id;D=qa[u]=ea.NodeType.define({id:M.length,name:m,props:[ta.styleTags({[m]:D})]});M.push(D);return D.id}function ha(m){let u=ea.NodeType.define({id:M.length,name:"Document",props:[lb.add(()=>m)],top:!0});M.push(u); +return u}var ea=pa(0),la=pa(1),ra=pa(4),ta=pa(5),Hb=pa(2),Pb;const lb=new ea.NodeProp,oa=new ea.NodeProp;class Da{constructor(m,u,D=[],F=""){this.data=m;this.name=F;la.EditorState.prototype.hasOwnProperty("tree")||Object.defineProperty(la.EditorState.prototype,"tree",{get(){return Ka(this)}});this.parser=u;this.extension=[ab.of(this),la.EditorState.languageData.of((R,X,U)=>{let ba=Ea(R,X,U);var ya=ba.type.prop(lb);if(!ya)return[];ya=R.facet(ya);let Oa=ba.type.prop(oa);if(Oa){X=ba.resolve(X-ba.from, +U);for(let Qb of Oa)if(Qb.test(X,R))return R=R.facet(Qb.facet),"replace"==Qb.type?R:R.concat(ya)}return ya})].concat(D)}isActiveAt(m,u,D=-1){return Ea(m,u,D).type.prop(lb)==this.data}findRegions(m){let u=m.facet(ab);if((null===u||void 0===u?void 0:u.data)==this.data)return[{from:0,to:m.doc.length}];if(!u||!u.allowsNesting)return[];let D=[],F=(R,X)=>{if(R.prop(lb)==this.data)D.push({from:X,to:X+R.length});else{var U=R.prop(ea.NodeProp.mounted);if(U){if(U.tree.prop(lb)==this.data){if(U.overlay)for(var ba of U.overlay)D.push({from:ba.from+ +X,to:ba.to+X});else D.push({from:X,to:X+R.length});return}if(U.overlay&&(ba=D.length,F(U.tree,U.overlay[0].from+X),D.length>ba))return}for(U=0;UD.isTop?u:void 0)]}), +m.name)}configure(m,u){return new Na(this.data,this.parser.configure(m),u||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}class za{constructor(m){this.doc=m;this.cursorPos=0;this.string="";this.cursor=m.iter()}get length(){return this.doc.length}syncTo(m){this.string=this.cursor.next(m-this.cursorPos).value;this.cursorPos=m+this.string.length;return this.cursorPos-this.string.length}chunk(m){this.syncTo(m);return this.string}get lineChunks(){return!0}read(m,u){let D=this.cursorPos- +this.string.length;return m=this.cursorPos?this.doc.sliceString(m,u):this.string.slice(m-D,u-D)}}let Pa=null;class cb{constructor(m,u,D=[],F,R,X,U,ba){this.parser=m;this.state=u;this.fragments=D;this.tree=F;this.treeLen=R;this.viewport=X;this.skipped=U;this.scheduleOn=ba;this.parse=null;this.tempSkipped=[]}static create(m,u,D){return new cb(m,u,[],ea.Tree.empty,0,D,[],null)}startParse(){return this.parser.startParse(new za(this.state.doc),this.fragments)}work(m,u){null!=u&&u>=this.state.doc.length&& +(u=void 0);return this.tree!=ea.Tree.empty&&this.isDone(null!==u&&void 0!==u?u:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var D;if("number"==typeof m){let F=Date.now()+m;m=()=>Date.now()>F}this.parse||(this.parse=this.startParse());for(null!=u&&(null==this.parse.stoppedAt||this.parse.stoppedAt>u)&&u=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>m)&&this.parse.stopAt(m),this.withContext(()=>{for(;!(u=this.parse.advance()););}),this.treeLen=m,this.tree=u,this.fragments=this.withoutTempSkipped(ea.TreeFragment.addTree(this.tree, +this.fragments,!0)),this.parse=null)}withContext(m){let u=Pa;Pa=this;try{return m()}finally{Pa=u}}withoutTempSkipped(m){for(let u;u=this.tempSkipped.pop();)m=Eb(m,u.from,u.to);return m}changes(m,u){let {fragments:D,tree:F,treeLen:R,viewport:X,skipped:U}=this;this.takeTree();if(!m.empty){let ba=[];m.iterChangedRanges((ya,Oa,Qb,W)=>ba.push({fromA:ya,toA:Oa,fromB:Qb,toB:W}));D=ea.TreeFragment.applyChanges(D,ba);F=ea.Tree.empty;R=0;X={from:m.mapPos(X.from,-1),to:m.mapPos(X.to,1)};if(this.skipped.length){U= +[];for(let ya of this.skipped){let Oa=m.mapPos(ya.from,1),Qb=m.mapPos(ya.to,-1);Oam.from&&(this.fragments=Eb(this.fragments,F,R),this.skipped.splice(D--,1))}if(this.skipped.length>=u)return!1;this.reset();return!0}reset(){this.parse&& +(this.takeTree(),this.parse=null)}skipUntilInView(m,u){this.skipped.push({from:m,to:u})}static getSkippingParser(m){return new class extends ea.Parser{createParse(u,D,F){let R=F[0].from,X=F[F.length-1].to;return{parsedPos:R,advance(){let U=Pa;if(U){for(let ba of F)U.tempSkipped.push(ba);m&&(U.scheduleOn=U.scheduleOn?Promise.all([U.scheduleOn,m]):m)}this.parsedPos=X;return new ea.Tree(ea.NodeType.none,[],[],X-R)},stoppedAt:null,stopAt(){}}}}}isDone(m){m=Math.min(m,this.state.doc.length);let u=this.fragments; +return this.treeLen>=m&&u.length&&0==u[0].from&&u[0].to>=m}static get(){return Pa}}class Ha{constructor(m){this.context=m;this.tree=m.tree}apply(m){if(!m.docChanged&&this.tree==this.context.tree)return this;let u=this.context.changes(m.changes,m.state);m=this.context.treeLen==m.startState.doc.length?void 0:Math.max(m.changes.mapPos(this.context.treeLen),u.viewport.to);u.work(20,m)||u.takeTree();return new Ha(u)}static init(m){let u=Math.min(3E3,m.doc.length);m=cb.create(m.facet(ab).parser,m,{from:0, +to:u});m.work(20,u)||m.takeTree();return new Ha(m)}}Da.state=la.StateField.define({create:Ha.init,update(m,u){for(let D of u.effects)if(D.is(Da.setState))return D.value;return u.startState.facet(ab)!=u.state.facet(ab)?Ha.init(u.state):m.apply(u)}});let Ga=m=>{let u=setTimeout(()=>m(),500);return()=>clearTimeout(u)};"undefined"!=typeof requestIdleCallback&&(Ga=m=>{let u=-1,D=setTimeout(()=>{u=requestIdleCallback(m,{timeout:400})},100);return()=>0>u?clearTimeout(D):cancelIdleCallback(u)});const zb= +"undefined"!=typeof navigator&&(null===(Pb=navigator.scheduling)||void 0===Pb?0:Pb.isInputPending)?()=>navigator.scheduling.isInputPending():null,Ia=ra.ViewPlugin.fromClass(class{constructor(m){this.view=m;this.working=null;this.workScheduled=0;this.chunkBudget=this.chunkEnd=-1;this.work=this.work.bind(this);this.scheduleWork()}update(m){let u=this.view.state.field(Da.state).context;(u.updateViewport(m.view.viewport)||this.view.viewport.to>u.treeLen)&&this.scheduleWork();if(m.docChanged||m.selectionSet)this.view.hasFocus&& +(this.chunkBudget+=50),this.scheduleWork();this.checkAsyncSchedule(u)}scheduleWork(){if(!this.working){var {state:m}=this.view,u=m.field(Da.state);u.tree==u.context.tree&&u.context.isDone(m.doc.length)||(this.working=Ga(this.work))}}work(m){this.working=null;let u=Date.now();this.chunkEndthis.chunkEnd||this.view.hasFocus)&&(this.chunkEnd=u+3E4,this.chunkBudget=3E3);if(!(0>=this.chunkBudget)){var {state:D,viewport:{to:F}}=this.view,R=D.field(Da.state);if(R.tree!=R.context.tree||!R.context.isDone(F+ +1E5)){var X=Date.now()+Math.min(this.chunkBudget,100,m&&!zb?Math.max(25,m.timeRemaining()-5):1E9);m=R.context.treeLenF+1E3;var U=R.context.work(()=>zb&&zb()||Date.now()>X,F+(m?0:1E5));this.chunkBudget-=Date.now()-u;if(U||0>=this.chunkBudget)R.context.takeTree(),this.view.dispatch({effects:Da.setState.of(new Ha(R.context))});0 +this.scheduleWork()).catch(u=>ra.logException(this.view.state,u)).then(()=>this.workScheduled--),m.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||0[Da.state,Ia,ra.EditorView.contentAttributes.compute([m],u=>(u=u.facet(m))&&u.name?{"data-language":u.name}:{})]});class $b{constructor(m,u=[]){this.language=m;this.support= +u;this.extension=[m,u]}}class jb{constructor(m,u,D,F,R,X){this.name=m;this.alias=u;this.extensions=D;this.filename=F;this.loadFunc=R;this.support=X;this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(m=>this.support=m,m=>{this.loading=null;throw m;}))}static of(m){let {load:u,support:D}=m;if(!u){if(!D)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");u=()=>Promise.resolve(D)}return new jb(m.name,(m.alias||[]).concat(m.name).map(F=> +F.toLowerCase()),m.extensions||[],m.filename,u,D)}static matchFilename(m,u){for(let D of m)if(D.filename&&D.filename.test(u))return D;if(u=/\.([^.]+)$/.exec(u))for(let D of m)if(-1R==u))return F;if(D)for(let F of m)for(let R of F.alias)if(m=u.indexOf(R),-1{if(!m.length)return" ";let u=m[0];if(!u||/\S/.test(u)||Array.from(u).some(D=>D!=u[0]))throw Error("Invalid indent unit: "+JSON.stringify(m[0]));return u}});class ub{constructor(m,u={}){this.state=m;this.options=u;this.unit=nb(m)}lineAt(m,u=1){let D=this.state.doc.lineAt(m),{simulateBreak:F,simulateDoubleBreak:R}=this.options;return null!=F&&F>=D.from&&F<=D.to?R&&F==m?{text:"",from:m}:(0>u?FF.value.from!=R||F.value.to!=X,filterFrom:F.value.from,filterTo:F.value.to}));if(u.selection){let F=!1,{head:R}=u.selection.main;m.between(R,R,(X,U)=>{XR&&(F=!0)});F&&(m=m.update({filterFrom:R,filterTo:R,filter:(X,U)=>U<= +R||X>=R}))}return m},provide:m=>ra.EditorView.decorations.from(m),toJSON(m,u){let D=[];m.between(0,u.doc.length,(F,R)=>{D.push(F,R)});return D},fromJSON(m){if(!Array.isArray(m)||m.length%2)throw new RangeError("Invalid JSON for fold state");let u=[];for(let D=0;D{for(let u of pb(m)){let D=ob(m.state,u.from,u.to); +if(D)return m.dispatch({effects:qb(m.state,[Mb.of(D),eb(m,D)])}),!0}return!1},Ua=m=>{if(!m.state.field(yb,!1))return!1;let u=[];for(let D of pb(m)){let F=$a(m.state,D.from,D.to);F&&u.push(Bb.of(F),eb(m,F,!1))}u.length&&m.dispatch({effects:u});return 0{let {state:u}=m,D=[];for(var F=0;F{let u=m.state.field(yb, +!1);if(!u||!u.size)return!1;let D=[];u.between(0,m.state.doc.length,(F,R)=>{D.push(Bb.of({from:F,to:R}))});m.dispatch({effects:D});return!0},Db=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Sb},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:Ua},{key:"Ctrl-Alt-[",run:bb},{key:"Ctrl-Alt-]",run:Cb}],db={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Ta=la.Facet.define({combine(m){return la.combineConfig(m,db)}}),cc=ra.Decoration.replace({widget:new class extends ra.WidgetType{toDOM(m){return xb(m, +null)}}});class dc extends ra.WidgetType{constructor(m){super();this.value=m}eq(m){return this.value==m.value}toDOM(m){return xb(m,this.value)}}const ic={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class Qa extends ra.GutterMarker{constructor(m,u){super();this.config=m;this.open=u}eq(m){return this.config==m.config&&this.open==m.open}toDOM(m){if(this.config.markerDOM)return this.config.markerDOM(this.open);let u=document.createElement("span");u.textContent= +this.open?this.config.openText:this.config.closedText;u.title=m.state.phrase(this.open?"Fold line":"Unfold line");return u}}const Xb=ra.EditorView.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class k{constructor(m,u){function D(U){let ba=Hb.StyleModule.newName();(F||(F=Object.create(null)))["."+ba]=U;return ba}this.specs=m; +let F;const R="string"==typeof u.all?u.all:u.all?D(u.all):void 0,X=u.scope;this.scope=X instanceof Da?U=>U.prop(lb)==X.data:X?U=>U==X:void 0;this.style=ta.tagHighlighter(m.map(U=>({tag:U.tag,class:U.class||D(Object.assign({},U,{tag:null}))})),{all:R}).style;this.module=F?new Hb.StyleModule(F):null;this.themeType=u.themeType}static define(m,u){return new k(m,u||{})}}const p=la.Facet.define(),z=la.Facet.define({combine(m){return m.length?[m[0]]:null}});class H{constructor(m){this.markCache=Object.create(null); +this.tree=Ka(m.state);this.decorations=this.buildDeco(m,Fb(m.state))}update(m){let u=Ka(m.state),D=Fb(m.state),F=D!=Fb(m.startState);if(u.length{D.add(X,U,this.markCache[ba]||(this.markCache[ba]=ra.Decoration.mark({class:ba})))},F,R);return D.finish()}}const T=la.Prec.high(ra.ViewPlugin.fromClass(H,{decorations:m=>m.decorations})),Z=k.define([{tag:ta.tags.meta,color:"#404740"},{tag:ta.tags.link,textDecoration:"underline"},{tag:ta.tags.heading,textDecoration:"underline",fontWeight:"bold"},{tag:ta.tags.emphasis,fontStyle:"italic"},{tag:ta.tags.strong,fontWeight:"bold"},{tag:ta.tags.strikethrough,textDecoration:"line-through"},{tag:ta.tags.keyword, +color:"#708"},{tag:[ta.tags.atom,ta.tags.bool,ta.tags.url,ta.tags.contentSeparator,ta.tags.labelName],color:"#219"},{tag:[ta.tags.literal,ta.tags.inserted],color:"#164"},{tag:[ta.tags.string,ta.tags.deleted],color:"#a11"},{tag:[ta.tags.regexp,ta.tags.escape,ta.tags.special(ta.tags.string)],color:"#e40"},{tag:ta.tags.definition(ta.tags.variableName),color:"#00f"},{tag:ta.tags.local(ta.tags.variableName),color:"#30a"},{tag:[ta.tags.typeName,ta.tags.namespace],color:"#085"},{tag:ta.tags.className,color:"#167"}, +{tag:[ta.tags.special(ta.tags.variableName),ta.tags.macroName],color:"#256"},{tag:ta.tags.definition(ta.tags.propertyName),color:"#00c"},{tag:ta.tags.comment,color:"#940"},{tag:ta.tags.invalid,color:"#f00"}]),ca=ra.EditorView.baseTheme({"\x26.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"\x26.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),d=la.Facet.define({combine(m){return la.combineConfig(m,{afterCursor:!0,brackets:"()[]{}",maxScanDistance:1E4,renderMatch:Zb})}}), +h=ra.Decoration.mark({class:"cm-matchingBracket"}),q=ra.Decoration.mark({class:"cm-nonmatchingBracket"}),v=[la.StateField.define({create(){return ra.Decoration.none},update(m,u){if(!u.docChanged&&!u.selection)return m;m=[];let D=u.state.facet(d);for(let F of u.state.selection.ranges){if(!F.empty)continue;let R=rb(u.state,F.head,-1,D)||0ra.EditorView.decorations.from(m)}),ca],g=new ea.NodeProp;class l{constructor(m,u,D,F){this.string=m;this.tabSize=u;this.indentUnit=D;this.overrideIndent=F;this.lastColumnValue=this.lastColumnPos=this.start=this.pos=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posu}eatSpace(){let m=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>m}skipToEnd(){this.pos=this.string.length}skipTo(m){m=this.string.indexOf(m,this.pos);if(-1this.getIndent(X,U))],m.name);this.topNode=ha(u);F=this;this.streamParser=D;this.stateAfter=new ea.NodeProp({perNode:!0});this.tokenTable=m.tokenTable?new Ja(D.tokenTable):wb}static define(m){return new w(m)}getIndent(m,u){for(var D=Ka(m.state),F=D.resolve(u);F&&F.type!=this.topNode;)F=F.parent;if(!F)return null;let R=void 0,{overrideIndentation:X}= +m.options;X&&(R=r.get(m.state),null!=R&&RU?void 0:U);U.posF&&Xa(m,ba.tree,0-ba.offset,F,D);let ya; +if(D&&(ya=kb(m,ba.tree,F+ba.offset,D.pos+ba.offset,!1))){m={state:D.state,tree:ya};break a}}m={state:m.streamParser.startState(R?nb(R):4),tree:ea.Tree.empty}}let {state:X,tree:U}=m;this.state=X;this.parsedPos=this.chunkStart=F+U.length;for(m=0;m=u?this.finish():m&&this.parsedPos>=m.viewport.to?(m.skipUntilInView(this.parsedPos,u),this.finish()):null}stopAt(m){this.stoppedAt=m}lineAfter(m){let u=this.input.chunk(m);if(this.input.lineChunks)"\n"==u&&(u= +"");else{let D=u.indexOf("\n");-1=D)break;u=u.slice(0,F-(D-u.length));m++;if(m==this.ranges.length)break;D=this.ranges[m].from;F=this.lineAfter(D);u+=F;D+=F.length}return{line:u,end:D}}skipGapsTo(m,u,D){for(;;){let R=this.ranges[this.rangeIndex].to;var F=m+u;if(0F:R>=F)break;F=this.ranges[++this.rangeIndex].from; +u+=F-R}return u}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to{let F=m&&m.test(D.textAfter);return D.baseIndent+(F?0:u*D.unit)}};C.defaultHighlightStyle=Z;C.defineLanguageFacet=Ca;C.delimitedIndent=function({closing:m,align:u=!0,units:D=1}){return F=>sb(F,u,D,m)};C.ensureSyntaxTree=Ra;C.flatIndent=m=>m.baseIndent; +C.foldAll=bb;C.foldCode=Sb;C.foldEffect=Mb;C.foldGutter=function(m={}){let u=Object.assign(Object.assign({},ic),m),D=new Qa(u,!0),F=new Qa(u,!1),R=ra.ViewPlugin.fromClass(class{constructor(U){this.from=U.viewport.from;this.markers=this.buildMarkers(U)}update(U){if(U.docChanged||U.viewportChanged||U.startState.facet(ab)!=U.state.facet(ab)||U.startState.field(yb,!1)!=U.state.field(yb,!1)||Ka(U.startState)!=Ka(U.state)||u.foldingChanged(U))this.markers=this.buildMarkers(U.view)}buildMarkers(U){let ba= +new la.RangeSetBuilder;for(let ya of U.viewportLineBlocks){let Oa=$a(U.state,ya.from,ya.to)?F:ob(U.state,ya.from,ya.to)?D:null;Oa&&ba.add(ya.from,ya.from,Oa)}return ba.finish()}}),{domEventHandlers:X}=u;return[R,ra.gutter({class:"cm-foldGutter",markers(U){var ba;return(null===(ba=U.plugin(R))||void 0===ba?void 0:ba.markers)||la.RangeSet.empty},initialSpacer(){return new Qa(u,!1)},domEventHandlers:Object.assign(Object.assign({},X),{click:(U,ba,ya)=>X.click&&X.click(U,ba,ya)?!0:(ya=$a(U.state,ba.from, +ba.to))?(U.dispatch({effects:Bb.of(ya)}),!0):(ba=ob(U.state,ba.from,ba.to))?(U.dispatch({effects:Mb.of(ba)}),!0):!1})}),va()]};C.foldInside=function(m){let u=m.firstChild,D=m.lastChild;return u&&u.to{if(!m.docChanged||!m.isUserEvent("input.type")&&!m.isUserEvent("input.complete"))return m;var u=m.startState.languageDataAt("indentOnInput",m.startState.selection.main.head);if(!u.length)return m;var D=m.newDoc,{head:F}= +m.newSelection.main,R=D.lineAt(F);if(F>R.from+200)return m;let X=D.sliceString(R.from,F);if(!u.some(ba=>ba.test(X)))return m;({state:u}=m);D=-1;F=[];for(let {head:ba}of u.selection.ranges){R=u.doc.lineAt(ba);if(R.from==D)continue;D=R.from;var U=Za(u,R.from);if(null==U)continue;let ya=/^\s*/.exec(R.text)[0];U=Ib(u,U);ya!=U&&F.push({from:R.from,to:R.from+ya.length,insert:U})}return F.length?[m,{changes:F,sequential:!0}]:m})};C.indentRange=function(m,u,D){let F=Object.create(null),R=new ub(m,{overrideIndentation:U=> +{var ba;return null!==(ba=F[U])&&void 0!==ba?ba:-1}}),X=[];for(;u<=D;){let U=m.doc.lineAt(u);u=U.to+1;let ba=Za(R,U.from);if(null==ba)continue;/\S/.test(U.text)||(ba=0);let ya=/^\s*/.exec(U.text)[0],Oa=Ib(m,ba);ya!=Oa&&(F[U.from]=ba,X.push({from:U.from,to:U.from+ya.length,insert:Oa}))}return m.changes(X)};C.indentService=Fa;C.indentString=Ib;C.indentUnit=fb;C.language=ab;C.languageDataProp=lb;C.matchBrackets=rb;C.sublanguageProp=oa;C.syntaxHighlighting=function(m,u){let D=[T],F;m instanceof k&&(m.module&& +D.push(ra.EditorView.styleModule.of(m.module)),F=m.themeType);(null===u||void 0===u?0:u.fallback)?D.push(z.of(m)):F?D.push(p.computeN([ra.EditorView.darkTheme],R=>R.facet(ra.EditorView.darkTheme)==("dark"==F)?[m]:[])):D.push(p.of(m));return D};C.syntaxParserRunning=function(m){var u;return(null===(u=m.plugin(Ia))||void 0===u?void 0:u.isWorking())||!1};C.syntaxTree=Ka;C.syntaxTreeAvailable=function(m,u=m.doc.length){var D;return(null===(D=m.field(Da.state,!1))||void 0===D?void 0:D.context.isDone(u))|| +!1};C.toggleFold=m=>{let u=[];for(let R of pb(m)){var D=$a(m.state,R.from,R.to);if(D)u.push(Bb.of(D),eb(m,D,!1));else{a:{D=m;var F=R;for(let X=F;;){let U=ob(D.state,X.from,X.to);if(U&&U.to>F.from){D=U;break a}if(!X.from){D=null;break a}X=D.lineBlockAt(X.from-1)}}D&&u.push(Mb.of(D),eb(m,D))}}0=ua.stack[Ua.depth+1].value+Ua.baseIndent)return!0;if(Ua.indent>=Ua.baseIndent+4)return!1;let qb=(ia.type==ab.OrderedList?c:l)(Ua,ua,!1);return 0e(Ua,ua,!1))&&Ua.text.charCodeAt(Ua.pos+qb-1)==ia.value}function w(ia){return 32==ia||9==ia||10==ia||13==ia}function p(ia,ua=0){for(;ua -Ua&&w(ia.charCodeAt(ua-1));)ua--;return ua}function f(ia){if(96!=ia.next&&126!=ia.next)return-1;let ua=ia.pos+1;for(;uaqb?-1:1}function h(ia,ua){for(let Ua=ia.stack.length-1;0<=Ua;Ua--)if(ia.stack[Ua].type==ua)return!0;return!1}function l(ia,ua,Ua){return 45!=ia.next&&43!=ia.next&&42!=ia.next||ia.pos!=ia.text.length-1&&!w(ia.text.charCodeAt(ia.pos+1))||!(!Ua||h(ua,ab.BulletList)||ia.skipSpace(ia.pos+2)=Rb)qb++;else break;if(qb==ia.text.length)return-1;Rb=ia.text.charCodeAt(qb)}return qb== -ia.pos||qb>ia.pos+9||46!=Rb&&41!=Rb||qbia.pos+1||49!=ia.next)?-1:qb+1-ia.pos}function r(ia){if(35!=ia.next)return-1;let ua=ia.pos+1;for(;ua=ia.baseIndent+4)return-1;let ua=ia.pos+1;for(;ua=Ua+5?Ua+1:ia}function y(ia,ua,Ua){let qb=ia.length-1;0<=qb&&ia[qb].to==ua&&ia[qb].type==ab.CodeText? -ia[qb].to=Ua:ia.push(U(ab.CodeText,ua,Ua))}function D(ia,ua){for(;ua=Qb:jb>Qb;){let Qa=ia[ua+1].from-Qb;qb+=Qa;jb+=Qa;ua++;Qb=ia[ua].to}}let Qb=ia[ua].to,kc=[],da=[],Ea=Ua.from+qb;for(let jb=Ua.firstChild;jb;jb=jb.nextSibling){gc(jb.from+qb,!0);let Ba=jb.from+qb;var bb=void 0;bb=Rb.get(jb.tree);bb||(jb.to+qb>Qb?(bb=B(ia,ua,jb,qb,Rb),gc(jb.to+qb,!1)):bb=jb.toTree()); -kc.push(bb);da.push(Ba-Ea)}gc(Ua.to+qb,!1);return new Xa.Tree(Ua.type,kc,da,Ua.to+qb-Ea,Ua.tree?Ua.tree.propValues:void 0)}function F(ia){return null!=ia&&0Ua(qb(Rb,gc,Qb,kc),gc,Qb,kc):Ua:qb}}function N(ia,ua){ia=ia.indexOf(ua);if(0>ia)throw new RangeError(`Position specified relative to unknown parser ${ua}`);return ia}function U(ia,ua,Ua,qb){return new xc(ia,ua,Ua,qb)}function G(ia,ua,Ua){if(60==ia.charCodeAt(ua)){for(var qb=ua+1;qbua?U(ab.URL,ua+Ua,Rb+Ua):Rb==ia.length?null:!1}function L(ia,ua,Ua){var qb=ia.charCodeAt(ua);if(39!=qb&&34!=qb&&40!=qb)return!1;qb=40==qb?41:qb;for(let Rb=ua+1,gc=!1;Rbgc&&qb.push({from:gc,to:ia});if(!Rb)break;gc=Rb.to}return qb}function Ja(ia,ua,Ua=0,qb,Rb=0){let gc=0,Qb=!0,kc=-1,da=-1,Ea=!1,bb=()=>{qb.push(ia.elt("TableCell",Rb+kc,Rb+da,ia.parser.parseInline(ua.slice(kc, -da),Rb+kc)))};for(;Uakc&&(kc=Ua),da=Ua+1;Ea=!Ea&&92==jb}-1{if(Rb!=ia||qb.char(gc+1)==ia)return-1;Rb=[qb.elt(Ua,gc,gc+1)];for(let Qb=gc+1;Qbnew Xa.Tree(Xa.NodeType.none,qb,Rb,gc,this.hashProp)})}}var ab;(function(ia){ia[ia.Document=1]="Document";ia[ia.CodeBlock=2]="CodeBlock";ia[ia.FencedCode=3]="FencedCode";ia[ia.Blockquote=4]="Blockquote";ia[ia.HorizontalRule=5]="HorizontalRule";ia[ia.BulletList=6]="BulletList";ia[ia.OrderedList=7]="OrderedList";ia[ia.ListItem=8]="ListItem"; -ia[ia.ATXHeading1=9]="ATXHeading1";ia[ia.ATXHeading2=10]="ATXHeading2";ia[ia.ATXHeading3=11]="ATXHeading3";ia[ia.ATXHeading4=12]="ATXHeading4";ia[ia.ATXHeading5=13]="ATXHeading5";ia[ia.ATXHeading6=14]="ATXHeading6";ia[ia.SetextHeading1=15]="SetextHeading1";ia[ia.SetextHeading2=16]="SetextHeading2";ia[ia.HTMLBlock=17]="HTMLBlock";ia[ia.LinkReference=18]="LinkReference";ia[ia.Paragraph=19]="Paragraph";ia[ia.CommentBlock=20]="CommentBlock";ia[ia.ProcessingInstructionBlock=21]="ProcessingInstructionBlock"; -ia[ia.Escape=22]="Escape";ia[ia.Entity=23]="Entity";ia[ia.HardBreak=24]="HardBreak";ia[ia.Emphasis=25]="Emphasis";ia[ia.StrongEmphasis=26]="StrongEmphasis";ia[ia.Link=27]="Link";ia[ia.Image=28]="Image";ia[ia.InlineCode=29]="InlineCode";ia[ia.HTMLTag=30]="HTMLTag";ia[ia.Comment=31]="Comment";ia[ia.ProcessingInstruction=32]="ProcessingInstruction";ia[ia.URL=33]="URL";ia[ia.HeaderMark=34]="HeaderMark";ia[ia.QuoteMark=35]="QuoteMark";ia[ia.ListMark=36]="ListMark";ia[ia.LinkMark=37]="LinkMark";ia[ia.EmphasisMark= -38]="EmphasisMark";ia[ia.CodeMark=39]="CodeMark";ia[ia.CodeText=40]="CodeText";ia[ia.CodeInfo=41]="CodeInfo";ia[ia.LinkTitle=42]="LinkTitle";ia[ia.LinkLabel=43]="LinkLabel"})(ab||(ab={}));class Ta{constructor(ia,ua){this.start=ia;this.content=ua;this.marks=[];this.parsers=[]}}class Ya{constructor(){this.text="";this.depth=this.basePos=this.baseIndent=0;this.markers=[];this.indent=this.pos=0;this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let ia=this.skipSpace(this.basePos); -this.indent=this.countIndent(ia,this.pos,this.indent);this.pos=ia;this.next=ia==this.text.length?-1:this.text.charCodeAt(ia)}skipSpace(ia){return p(this.text,ia)}reset(ia){this.text=ia;this.baseIndent=this.basePos=this.pos=this.indent=0;this.forwardInner();for(this.depth=1;this.markers.length;)this.markers.pop()}moveBase(ia){this.basePos=ia;this.baseIndent=this.countIndent(ia,this.pos,this.indent)}moveBaseColumn(ia){this.baseIndent=ia;this.basePos=this.findColumn(ia)}addMarker(ia){this.markers.push(ia)}countIndent(ia, -ua=0,Ua=0){for(;ua/,ea=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*\x3c!--/,Cb],[/^\s*<\?/,ac],[/^\s*/],[/^\s*/],[/^\s*<\/?(?: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)(?:\s|\/?>|$)/i, -rb],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,rb]],Aa={LinkReference:void 0,IndentedCode(ia,ua){let Ua=ua.baseIndent+4;if(ua.indent=ia.stack.length;)if(ua.pos==ua.text.length){y(Qb,ia.lineStart-1,ia.lineStart);for(let kc of ua.markers)Qb.push(kc)}else if(ua.indentkc.type!=ab.CodeText),Qb.length&&(ua.markers=Qb.concat(ua.markers)));ia.addNode(ia.buffer.writeElements(gc,-qb).finish(ab.CodeBlock,Rb-qb),qb);return!0},FencedCode(ia,ua){var Ua=f(ua);if(0>Ua)return!1;let qb=ia.lineStart+ua.pos,Rb=ua.next,gc=Ua-ua.pos; -var Qb=ua.skipSpace(Ua),kc=g(ua.text,ua.text.length,Qb);Ua=[U(ab.CodeMark,qb,qb+gc)];Qb=ia.stack.length;Qb=!1){kc=ua.pos;if(4>ua.indent-ua.baseIndent)for(;kc=gc&&ua.skipSpace(kc)==ua.text.length){for(let da of ua.markers)Ua.push(da);Ua.push(U(ab.CodeMark,ia.lineStart+ua.pos,ia.lineStart+kc));ia.nextLine();break}else{Qb||y(Ua,ia.lineStart-1,ia.lineStart); -for(let da of ua.markers)Ua.push(da);Qb=ia.lineStart+ua.basePos;kc=ia.lineStart+ua.text.length;QbUa)return!1;ia.startContext(ab.Blockquote,ua.pos);ia.addNode(ab.QuoteMark,ia.lineStart+ua.pos,ia.lineStart+ua.pos+1);ua.moveBase(ua.pos+Ua);return null},HorizontalRule(ia,ua){if(0>e(ua,ia,!1))return!1;ua=ia.lineStart+ -ua.pos;ia.nextLine();ia.addNode(ab.HorizontalRule,ua);return!0},BulletList(ia,ua){let Ua=l(ua,ia,!1);if(0>Ua)return!1;ia.block.type!=ab.BulletList&&ia.startContext(ab.BulletList,ua.basePos,ua.next);let qb=x(ua,ua.pos+1);ia.startContext(ab.ListItem,ua.basePos,qb-ua.baseIndent);ia.addNode(ab.ListMark,ia.lineStart+ua.pos,ia.lineStart+ua.pos+Ua);ua.moveBaseColumn(qb);return null},OrderedList(ia,ua){let Ua=c(ua,ia,!1);if(0>Ua)return!1;ia.block.type!=ab.OrderedList&&ia.startContext(ab.OrderedList,ua.basePos, -ua.text.charCodeAt(ua.pos+Ua-1));let qb=x(ua,ua.pos+Ua);ia.startContext(ab.ListItem,ua.basePos,qb-ua.baseIndent);ia.addNode(ab.ListMark,ia.lineStart+ua.pos,ia.lineStart+ua.pos+Ua);ua.moveBaseColumn(qb);return null},ATXHeading(ia,ua){let Ua=r(ua);if(0>Ua)return!1;let qb=ua.pos,Rb=ia.lineStart+qb,gc=g(ua.text,ua.text.length,qb),Qb=gc;for(;Qb>qb&&ua.text.charCodeAt(Qb-1)==ua.next;)Qb--;Qb!=gc&&Qb!=qb&&w(ua.text.charCodeAt(Qb-1))||(Qb=ua.text.length);let kc=ia.buffer.write(ab.HeaderMark,0,Ua).writeElements(ia.parser.parseInline(ua.text.slice(qb+ -Ua+1,Qb),Rb+Ua+1),-Rb);QbUa)return!1;let qb=ia.lineStart+ua.pos,Rb=ea[Ua][1];Ua=[];let gc=Rb!=rb;for(;!Rb.test(ua.text)&&ia.nextLine();){if(ua.depththis.pos&&(ua=L(ia,ua,this.start))){let qb=D(ia,ua.to-this.start);0qb)return!1;ua=U(ab.HeaderMark,ia.lineStart+ua.pos,ia.lineStart+qb);ia.nextLine();ia.addLeafElement(Ua,U(61==Rb?ab.SetextHeading1:ab.SetextHeading2, -Ua.start,ia.prevLineEnd(),[...ia.parser.parseInline(Ua.content,Ua.start),ua]));return!0}finish(){return!1}}const wa={LinkReference(ia,ua){return 91==ua.content.charCodeAt(0)?new xb(ua):null},SetextHeading(){return new Mb}},Ra={text:"",end:0};class nb{constructor(ia,ua,Ua,qb){this.parser=ia;this.input=ua;this.ranges=qb;this.line=new Ya;this.atEnd=!1;this.reusePlaceholders=new Map;this.stoppedAt=null;this.rangeI=0;this.to=qb[qb.length-1].to;this.lineStart=this.absoluteLineStart=this.absoluteLineEnd= -qb[0].from;this.block=Va.create(ab.Document,0,this.lineStart,0,0);this.stack=[this.block];this.fragments=Ua.length?new t(Ua,ua):null;this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let {line:ia}=this;for(;;){for(;ia.depth=this.to)return this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1;this.lineStart++;this.absoluteLineStart=this.absoluteLineEnd+1;this.moveRangeI(); -this.readLine();return!0}moveRangeI(){for(;this.rangeI=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(ia){Ra.end=ia;if(ia>=this.to)Ra.text="";else if(Ra.text=this.lineChunkAt(ia),Ra.end+=Ra.text.length,1Ua?ua:ua.slice(0,Ua)}return ia+ua.length>this.to?ua.slice(0,this.to-ia):ua}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(ia,ua,Ua=0){this.block=Va.create(ia,Ua,this.lineStart+ua,this.block.hash,this.lineStart+this.line.text.length);this.stack.push(this.block)}startComposite(ia,ua,Ua=0){this.startContext(this.parser.getNodeType(ia),ua,Ua)}addNode(ia,ua,Ua){"number"==typeof ia&&(ia=new Xa.Tree(this.parser.nodeSet.types[ia], -Jb,Jb,(null!==Ua&&void 0!==Ua?Ua:this.prevLineEnd())-ua));this.block.addChild(ia,ua-this.block.from)}addElement(ia){this.block.addChild(ia.toTree(this.parser.nodeSet),ia.from-this.block.from)}addLeafElement(ia,ua){this.addNode(this.buffer.writeElements(ha(ua.children,ia.marks),-ua.from).finish(ua.type,ua.to-ua.from),ua.from)}finishContext(){let ia=this.stack.pop(),ua=this.stack[this.stack.length-1];ua.addChild(ia.toTree(this.parser.nodeSet),ia.from-ua.from);this.block=ua}finish(){for(;1Ce.name== -ub))continue;Zb&&(Ua[sb.length]=(Ce,le,af)=>Zb(le,af,Ce.value));let Zc=sb.length,Gd=Zb?["Block","BlockContext"]:Lb?Zc>=ab.ATXHeading1&&Zc<=ab.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;sb.push(Xa.NodeType.define({id:Zc,name:ub,props:Gd&&[[Xa.NodeProp.group,Gd]]}));qc&&(bb||(bb={}),Array.isArray(qc)||qc instanceof Sa.Tag?bb[ub]=qc:Object.assign(bb,qc))}ua=new Xa.NodeSet(sb);bb&&(ua=ua.extend(Sa.styleTags(bb)))}F(ia.props)&&(ua=ua.extend(...ia.props));if(F(ia.remove))for(var Ba of ia.remove)bb= -this.blockNames.indexOf(Ba),jb=this.inlineNames.indexOf(Ba),-1=ab.Escape?[]:[[Xa.NodeProp.group,ia in R?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==ua});const Jb=[];class Bb{constructor(ia){this.nodeSet=ia;this.content=[];this.nodes=[]}write(ia,ua,Ua,qb=0){this.content.push(ia,ua,Ua,4+4*qb);return this}writeElements(ia,ua=0){for(let Ua of ia)Ua.writeTo(this,ua);return this}finish(ia,ua){return Xa.Tree.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes, -topID:ia,length:ua})}}class xc{constructor(ia,ua,Ua,qb=Jb){this.type=ia;this.from=ua;this.to=Ua;this.children=qb}writeTo(ia,ua){let Ua=ia.content.length;ia.writeElements(this.children,ua);ia.content.push(this.type,this.from+ua,this.to+ua,ia.content.length+4-Ua)}toTree(ia){return(new Bb(ia)).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class bd{constructor(ia,ua){this.tree=ia;this.from=ua}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Jb}writeTo(ia, -ua){ia.nodes.push(this.tree);ia.content.push(ia.nodes.length-1,this.from+ua,this.to+ua,-1)}toTree(){return this.tree}}const Yc={resolve:"Emphasis",mark:"EmphasisMark"},Xb={resolve:"Emphasis",mark:"EmphasisMark"},cd={},Sc={};class Nb{constructor(ia,ua,Ua,qb){this.type=ia;this.from=ua;this.to=Ua;this.side=qb}}let Wb=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Wb=RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(ia){}const b={Escape(ia,ua,Ua){if(92!=ua|| -Ua==ia.end-1)return-1;ua=ia.char(Ua+1);for(let qb=0;32>qb;qb++)if("!\"#$%\x26'()*+,-./:;\x3c\x3d\x3e?@[\\]^_`{|}~".charCodeAt(qb)==ua)return ia.append(U(ab.Escape,Ua,Ua+2));return-1},Entity(ia,ua,Ua){return 38!=ua?-1:(ua=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(ia.slice(Ua+1,Ua+31)))?ia.append(U(ab.Entity,Ua,Ua+1+ua[0].length)):-1},InlineCode(ia,ua,Ua){if(96!=ua||Ua&&96==ia.char(Ua-1))return-1;for(ua=Ua+1;ua]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(ua);return qb?ia.append(U(ab.URL,Ua,Ua+1+qb[0].length)):(qb=/^!--[^>](?:-[^-]|[^-])*?--\x3e/i.exec(ua))?ia.append(U(ab.Comment,Ua,Ua+1+qb[0].length)): -(qb=/^\?[^]*?\?>/.exec(ua))?ia.append(U(ab.ProcessingInstruction,Ua,Ua+1+qb[0].length)):(ua=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(ua))?ia.append(U(ab.HTMLTag,Ua,Ua+1+ua[0].length)):-1},Emphasis(ia,ua,Ua){if(95!=ua&&42!=ua)return-1;let qb=Ua+1;for(;ia.char(qb)==ua;)qb++;var Rb=ia.slice(Ua-1,Ua),gc=ia.slice(qb,qb+1);let Qb=Wb.test(Rb),kc=Wb.test(gc);Rb=/\s|^$/.test(Rb);let da= -/\s|^$/.test(gc);gc=!da&&(!kc||Rb||Qb);Rb=!Rb&&(!Qb||da||kc);return ia.append(new Nb(95==ua?Yc:Xb,Ua,qb,(!gc||42!=ua&&Rb&&!Qb?0:1)|(!Rb||42!=ua&&gc&&!kc?0:2)))},HardBreak(ia,ua,Ua){if(92==ua&&10==ia.char(Ua+1))return ia.append(U(ab.HardBreak,Ua,Ua+2));if(32==ua){for(ua=Ua+1;32==ia.char(ua);)ua++;if(10==ia.char(ua)&&ua>=Ua+2)return ia.append(U(ab.HardBreak,Ua,ua+1))}return-1},Link(ia,ua,Ua){return 91==ua?ia.append(new Nb(cd,Ua,Ua+1,1)):-1},Image(ia,ua,Ua){return 33==ua&&91==ia.char(Ua+1)?ia.append(new Nb(Sc, -Ua,Ua+2,1)):-1},LinkEnd(ia,ua,Ua){if(93!=ua)return-1;for(ua=ia.parts.length-1;0<=ua;ua--){var qb=ia.parts[ua];if(qb instanceof Nb&&(qb.type==cd||qb.type==Sc)){if(!qb.side||ia.skipSpace(qb.to)==Ua&&!/[(\[]/.test(ia.slice(Ua+1,Ua+2))){ia.parts[ua]=null;break}var Rb=ia.takeContent(ua),gc=ia.parts,Qb=ua;let Ba=void 0;var kc=ia;var da=qb.type==cd?ab.Link:ab.Image,Ea=qb.from,bb=Ua+1;let {text:Qa}=kc;var jb=kc.char(bb);Ua=bb;Rb.unshift(U(ab.LinkMark,Ea,Ea+(da==ab.Image?2:1)));Rb.push(U(ab.LinkMark,bb-1, -bb));if(40==jb){jb=kc.skipSpace(bb+1);let sb=G(Qa,jb-kc.offset,kc.offset);sb&&(jb=kc.skipSpace(sb.to),(Ba=L(Qa,jb-kc.offset,kc.offset))&&(jb=kc.skipSpace(Ba.to)));41==kc.char(jb)&&(Rb.push(U(ab.LinkMark,bb,bb+1)),Ua=jb+1,sb&&Rb.push(sb),Ba&&Rb.push(Ba),Rb.push(U(ab.LinkMark,jb,Ua)))}else 91==jb&&(kc=aa(Qa,bb-kc.offset,kc.offset,!1))&&(Rb.push(kc),Ua=kc.to);kc=U(da,Ea,Ua,Rb);gc=gc[Qb]=kc;if(qb.type==cd)for(qb=0;qb=this.end?-1:this.text.charCodeAt(ia-this.offset)}get end(){return this.offset+this.text.length}slice(ia,ua){return this.text.slice(ia-this.offset,ua-this.offset)}append(ia){this.parts.push(ia);return ia.to}addDelimiter(ia,ua,Ua,qb,Rb){return this.append(new Nb(ia,ua,Ua,(qb?1:0)|(Rb?2:0)))}addElement(ia){return this.append(ia)}resolveMarkers(ia){for(var ua=ia;ua=ia;da--){var Rb=this.parts[da];if(Rb instanceof Nb&&Rb.side&1&&Rb.type==Ua.type&&!(Qb&&(Ua.side&1||Rb.side&2)&&0==(Rb.to-Rb.from+qb)%3&&((Rb.to-Rb.from)%3||qb%3))){kc=Rb;break}}if(!kc)continue;let Ea=Ua.type.resolve;var gc=[];Rb=kc.from;let bb=Ua.to;Qb&&(qb=Math.min(2,kc.to-kc.from,qb),Rb=kc.to-qb,bb=Ua.from+qb,Ea=1==qb?"Emphasis":"StrongEmphasis"); -kc.type.mark&&gc.push(this.elt(kc.type.mark,Rb,kc.to));for(qb=da+1;qb(ia?ia-1:0))return!1;if(0>this.fragmentEnd){for(var Ua=this.fragment.to;0=ia)return this.fragment.from<=ua;if(!Ua.childAfter(ia))return!1}}matches(ia){let ua=this.cursor.tree;return ua&&ua.prop(Xa.NodeProp.contextHash)==ia}takeNodes(ia){let ua=this.cursor,Ua=this.fragment.offset,qb=this.fragmentEnd-(this.fragment.openEnd?1:0),Rb=ia.absoluteLineStart,gc=Rb,Qb=ia.block.children.length,kc=gc,da=Qb;for(;;){if(ua.to- -Ua>qb){if(ua.type.isAnonymous&&ua.firstChild())continue;break}let Ea=Ha(ua.from-Ua,ia.ranges);if(ua.to-Ua<=ia.ranges[ia.rangeI].to)ia.addNode(ua.tree,Ea);else{let bb=new Xa.Tree(ia.parser.nodeSet.types[ab.Paragraph],[],[],0,ia.block.hashProp);ia.reusePlaceholders.set(bb,ua.tree);ia.addNode(bb,Ea)}ua.type.is("Block")&&(0>u.indexOf(ua.type.id)?(gc=ua.to-Ua,Qb=ia.block.children.length):(gc=kc,Qb=da,kc=ua.to-Ua,da=ia.block.children.length));if(!ua.nextSibling())break}for(;ia.block.children.length>Qb;)ia.block.children.pop(), -ia.block.positions.pop();return gc-Rb}}pa=Sa.styleTags({"Blockquote/...":Sa.tags.quote,HorizontalRule:Sa.tags.contentSeparator,"ATXHeading1/... SetextHeading1/...":Sa.tags.heading1,"ATXHeading2/... SetextHeading2/...":Sa.tags.heading2,"ATXHeading3/...":Sa.tags.heading3,"ATXHeading4/...":Sa.tags.heading4,"ATXHeading5/...":Sa.tags.heading5,"ATXHeading6/...":Sa.tags.heading6,"Comment CommentBlock":Sa.tags.comment,Escape:Sa.tags.escape,Entity:Sa.tags.character,"Emphasis/...":Sa.tags.emphasis,"StrongEmphasis/...":Sa.tags.strong, -"Link/... Image/...":Sa.tags.link,"OrderedList/... BulletList/...":Sa.tags.list,"BlockQuote/...":Sa.tags.quote,"InlineCode CodeText":Sa.tags.monospace,URL:Sa.tags.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":Sa.tags.processingInstruction,"CodeInfo LinkLabel":Sa.tags.labelName,LinkTitle:Sa.tags.string,Paragraph:Sa.tags.content});R=new Hb((new Xa.NodeSet(K)).extend(pa),Object.keys(Aa).map(ia=>Aa[ia]),Object.keys(Aa).map(ia=>wa[ia]),Object.keys(Aa),[(ia,ua)=>0<=r(ua), -(ia,ua)=>0<=f(ua),(ia,ua)=>0<=(62!=ua.next?-1:32==ua.text.charCodeAt(ua.pos+1)?2:1),(ia,ua)=>0<=l(ua,ia,!0),(ia,ua)=>0<=c(ua,ia,!0),(ia,ua)=>0<=e(ua,ia,!0),(ia,ua)=>0<=z(ua,ia,!0)],R,Object.keys(b).map(ia=>b[ia]),Object.keys(b),[]);const I={resolve:"Strikethrough",mark:"StrikethroughMark"};K={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":Sa.tags.strikethrough}},{name:"StrikethroughMark",style:Sa.tags.processingInstruction}],parseInline:[{name:"Strikethrough",parse(ia,ua,Ua){if(126!= -ua||126!=ia.char(Ua+1)||126==ia.char(Ua+2))return-1;var qb=ia.slice(Ua-1,Ua),Rb=ia.slice(Ua+2,Ua+3);ua=/\s|^$/.test(qb);let gc=/\s|^$/.test(Rb);qb=Wb.test(qb);Rb=Wb.test(Rb);return ia.addDelimiter(I,Ua,Ua+2,!gc&&(!Rb||ua||qb),!ua&&(!qb||gc||Rb))},after:"Emphasis"}]};const Q=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class X{constructor(){this.rows=null}nextLine(ia,ua,Ua){if(null==this.rows){this.rows=!1;let qb;if((45==ua.next||58==ua.next||124==ua.next)&&Q.test(qb=ua.text.slice(ua.pos))){let Rb=[];Ja(ia, -Ua.content,0,Rb,Ua.start)==Ja(ia,qb,ua.pos)&&(this.rows=[ia.elt("TableHeader",Ua.start,Ua.start+Ua.content.length,Rb),ia.elt("TableDelimiter",ia.lineStart+ua.pos,ia.lineStart+ua.text.length)])}}else this.rows&&(Ua=[],Ja(ia,ua.text,ua.pos,Ua,ia.lineStart),this.rows.push(ia.elt("TableRow",ia.lineStart+ua.pos,ia.lineStart+ua.text.length,Ua)));return!1}finish(ia,ua){if(!this.rows)return!1;ia.addLeafElement(ua,ia.elt("Table",ua.start,ua.start+ua.content.length,this.rows));return!0}}pa={defineNodes:[{name:"Table", -block:!0},{name:"TableHeader",style:{"TableHeader/...":Sa.tags.heading}},"TableRow",{name:"TableCell",style:Sa.tags.content},{name:"TableDelimiter",style:Sa.tags.processingInstruction}],parseBlock:[{name:"Table",leaf(ia,ua){return cb(ua.content,0)?new X:null},endLeaf(ia,ua,Ua){if(Ua.parsers.some(qb=>qb instanceof X)||!cb(ua.text,ua.basePos))return!1;Ua=ia.scanLine(ia.absoluteLineEnd+1).text;return Q.test(Ua)&&Ja(ia,ua.text,ua.basePos)==Ja(ia,Ua,ua.basePos)},before:"SetextHeading"}]};class ca{nextLine(){return!1}finish(ia, -ua){ia.addLeafElement(ua,ia.elt("Task",ua.start,ua.start+ua.content.length,[ia.elt("TaskMarker",ua.start,ua.start+3),...ia.parser.parseInline(ua.content.slice(3),ua.start+3)]));return!0}}const na={defineNodes:[{name:"Task",block:!0,style:Sa.tags.list},{name:"TaskMarker",style:Sa.tags.atom}],parseBlock:[{name:"TaskList",leaf(ia,ua){return/^\[[ xX]\][ \t]/.test(ua.content)&&"ListItem"==ia.parentType().name?new ca:null},after:"SetextHeading"}]},oa=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy, -xa=/[\w-]+(\.\w+(\.\w+)?)(\/[^\s<]*)?/gy,Fa=/[\w.+-]+@[\w-]+\.[\w.-]+/gy,Wa=/\/[a-zA-Z\d@.]+/gy,hb={parseInline:[{name:"Autolink",parse(ia,ua,Ua){var qb=Ua-ia.offset;oa.lastIndex=qb;var Rb=oa.exec(ia.text),gc;if(!Rb)return-1;if(Rb[1]||Rb[2])if(ua=ia.text,Rb=qb+Rb[0].length,xa.lastIndex=Rb,qb=xa.exec(ua)){for(qb=Rb+qb[0].length;;){let Qb=ua[qb-1];if(/[?!.,:*_~]/.test(Qb)||")"==Qb&&ma(ua,Rb,qb,")")>ma(ua,Rb,qb,"("))qb--;else if(";"==Qb&&(gc=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(ua.slice(Rb,qb))))qb=Rb+ -gc.index;else break}gc=qb}else gc=-1;else Rb[3]?gc=za(ia.text,qb):(gc=za(ia.text,qb+Rb[0].length),-1gc)return-1;ia.addElement(ia.elt("URL",Ua,gc+ia.offset));return gc+ia.offset}}]},Fb=[pa,na,K,hb],Ob={defineNodes:[{name:"Superscript",style:Sa.tags.special(Sa.tags.content)},{name:"SuperscriptMark",style:Sa.tags.processingInstruction}],parseInline:[{name:"Superscript",parse:Ga(94,"Superscript","SuperscriptMark")}]}, -hc={defineNodes:[{name:"Subscript",style:Sa.tags.special(Sa.tags.content)},{name:"SubscriptMark",style:Sa.tags.processingInstruction}],parseInline:[{name:"Subscript",parse:Ga(126,"Subscript","SubscriptMark")}]},pb={defineNodes:[{name:"Emoji",style:Sa.tags.character}],parseInline:[{name:"Emoji",parse(ia,ua,Ua){let qb;return 58==ua&&(qb=/^[a-zA-Z_0-9]+:/.exec(ia.slice(Ua+1,ia.end)))?ia.addElement(ia.elt("Emoji",Ua,Ua+1+qb[0].length)):-1}}]};m.Autolink=hb;m.BlockContext=nb;m.Element=xc;m.Emoji=pb;m.GFM= -Fb;m.InlineContext=k;m.LeafBlock=Ta;m.Line=Ya;m.MarkdownParser=Hb;m.Strikethrough=K;m.Subscript=hc;m.Superscript=Ob;m.Table=pa;m.TaskList=na;m.parseCode=function(ia){let {codeParser:ua,htmlParser:Ua}=ia;return{wrap:Xa.parseMixed((qb,Rb)=>{let gc=qb.type.id;if(ua&&(gc==ab.CodeBlock||gc==ab.FencedCode)){let Qb="";gc==ab.FencedCode&&(qb=qb.node.getChild(ab.CodeInfo))&&(Qb=Rb.read(qb.from,qb.to));if(Rb=ua(Qb))return{parser:Rb,overlay:kc=>kc.type.id==ab.CodeText}}else if(Ua&&(gc==ab.HTMLBlock||gc==ab.HTMLTag))return{parser:Ua, -overlay:Oa(qb.node,qb.from,qb.to)};return null})}};m.parser=R}; -shadow$provide[192]=function(R,K,pa,m){function A(zb,nc){return({state:Ec,dispatch:Fc})=>{if(Ec.readOnly)return!1;let od=zb(nc,Ec);if(!od)return!1;Fc(Ec.update(od));return!0}}function w(zb,nc){zb=zb.languageDataAt("commentTokens",nc);return zb.length?zb[0]:{}}function p(zb,{open:nc,close:Ec},Fc,od){var ld=zb.sliceDoc(Fc-50,Fc),Wd=zb.sliceDoc(od,od+50),Ka=/\s*$/.exec(ld)[0].length,kb=/^\s*/.exec(Wd)[0].length;let Pb=ld.length-Ka;if(ld.slice(Pb-nc.length,Pb)==nc&&Wd.slice(kb,kb+Ec.length)==Ec)return{open:{pos:Fc- -Ka,margin:Ka&&1},close:{pos:od+kb,margin:kb&&1}};100>=od-Fc?ld=zb=zb.sliceDoc(Fc,od):(ld=zb.sliceDoc(Fc,Fc+50),zb=zb.sliceDoc(od-50,od));Wd=/^\s*/.exec(ld)[0].length;Ka=/\s*$/.exec(zb)[0].length;kb=zb.length-Ka-Ec.length;return ld.slice(Wd,Wd+nc.length)==nc&&zb.slice(kb,kb+Ec.length)==Ec?{open:{pos:Fc+Wd+nc.length,margin:/\s/.test(ld.charAt(Wd+nc.length))?1:0},close:{pos:od-Ka-Ec.length,margin:/\s/.test(zb.charAt(kb-1))?1:0}}:null}function g(zb,nc,Ec=nc.selection.ranges){let Fc=Ec.map(ld=>w(nc,ld.from).block); -if(!Fc.every(ld=>ld))return null;let od=Ec.map((ld,Wd)=>p(nc,Fc[Wd],ld.from,ld.to));if(2!=zb&&!od.every(ld=>ld))return{changes:nc.changes(Ec.map((ld,Wd)=>od[Wd]?[]:[{from:ld.from,insert:Fc[Wd].open+" "},{from:ld.to,insert:" "+Fc[Wd].close}]))};if(1!=zb&&od.some(ld=>ld)){zb=[];for(let ld=0,Wd;ldod&&(Ka==kb||kb>Wd.from)){od=Wd.from;let mc=/^\s*/.exec(Wd.text)[0].length,ed=mc==Wd.length,Ld=Wd.text.slice(mc,mc+ld.length)==ld?mc:-1;mcPb)for(ld=Ec;ld0>Ka.comment&&(!Ka.empty||Ka.single))){zb=[];for(let {line:Ka,token:kb,indent:Pb,empty:mc,single:ed}of Fc)!ed&&mc||zb.push({from:Ka.from+Pb,insert:kb+" "});Fc=nc.changes(zb);return{changes:Fc,selection:nc.selection.map(Fc,1)}}if(1!=zb&&Fc.some(Ka=>0<=Ka.comment)){nc=[];for(let {line:Ka,comment:kb,token:Pb}of Fc)0<=kb&&(Fc=Ka.from+kb,zb=Fc+Pb.length," "==Ka.text[zb-Ka.from]&&zb++,nc.push({from:Fc,to:zb}));return{changes:nc}}return null} -function e(zb){let nc=0;zb.iterChangedRanges((Ec,Fc)=>nc=Fc);return nc}function h(zb,nc){return function({state:Ec,dispatch:Fc}){if(!nc&&Ec.readOnly)return!1;let od=Ec.field(k,!1);if(!od)return!1;Ec=od.pop(zb,Ec,nc);if(!Ec)return!1;Fc(Ec);return!0}}function l(zb){return function(nc){nc=nc.field(k,!1);if(!nc)return 0;nc=0==zb?nc.done:nc.undone;return nc.length-(nc.length&&!nc[0].changes?1:0)}}function c(zb,nc,Ec,Fc){zb=zb.slice(nc+1>Ec+20?nc-Ec-1:0,nc);zb.push(Fc);return zb}function r(zb,nc){let Ec= -[],Fc=!1;zb.iterChangedRanges((od,ld)=>Ec.push(od,ld));nc.iterChangedRanges((od,ld,Wd,Ka)=>{for(od=0;od=ld&&Wd<=kb&&(Fc=!0)}});return Fc}function q(zb,nc){return zb.ranges.length==nc.ranges.length&&0===zb.ranges.filter((Ec,Fc)=>Ec.empty!=nc.ranges[Fc].empty).length}function z(zb,nc){return zb.length?nc.length?zb.concat(nc):zb:nc}function x(zb,nc){if(zb.length){let Ec=zb[zb.length-1],Fc=Ec.selectionsAfter.slice(Math.max(0,Ec.selectionsAfter.length-200)); -if(Fc.length&&Fc[Fc.length-1].eq(nc))return zb;Fc.push(nc);return c(zb,zb.length-1,1E9,Ec.setSelAfter(Fc))}return[oa.selection([nc])]}function y(zb,nc){if(!zb.length)return zb;let Ec=zb.length;for(var Fc=xa;Ec;){Fc=D(zb[Ec-1],nc,Fc);if(Fc.changes&&!Fc.changes.empty||Fc.effects.length)return zb=zb.slice(0,Ec),zb[Ec-1]=Fc,zb;nc=Fc.mapped;Ec--;Fc=Fc.selectionsAfter}return Fc.length?[oa.selection(Fc)]:xa}function D(zb,nc,Ec){Ec=z(zb.selectionsAfter.length?zb.selectionsAfter.map(Wd=>Wd.map(nc)):xa,Ec); -if(!zb.changes)return oa.selection(Ec);let Fc=zb.changes.map(nc),od=nc.mapDesc(zb.changes,!0),ld=zb.mapped?zb.mapped.composeDesc(od):od;return new oa(Fc,Mb.StateEffect.mapEffects(zb.effects,nc),ld,zb.startSelection.map(od),Ec)}function B(zb,nc){return Mb.EditorSelection.create(zb.ranges.map(nc),zb.mainIndex)}function F(zb,nc){return zb.update({selection:nc,scrollIntoView:!0,userEvent:"select"})}function E({state:zb,dispatch:nc},Ec){Ec=B(zb.selection,Ec);if(Ec.eq(zb.selection))return!1;nc(F(zb,Ec)); -return!0}function N(zb,nc){return Mb.EditorSelection.cursor(nc?zb.to:zb.from)}function U(zb,nc){return E(zb,Ec=>Ec.empty?zb.moveByChar(Ec,nc):N(Ec,nc))}function G(zb){return zb.textDirectionAt(zb.state.selection.main.head)==wa.Direction.LTR}function L(zb,nc){return E(zb,Ec=>Ec.empty?zb.moveByGroup(Ec,nc):N(Ec,nc))}function aa(zb,nc,Ec){let Fc=zb.state.charCategorizer(nc.from),od=Mb.CharCategory.Space,ld=nc.from,Wd=0,Ka=!1,kb=!1,Pb=!1,mc=$d=>{if(Ka)return!1;ld+=Ec?$d.length:-$d.length;let He=Fc($d), -Me;He==Mb.CharCategory.Word&&128>$d.charCodeAt(0)&&/[\W_]/.test($d)&&(He=-1);od==Mb.CharCategory.Space&&(od=He);if(od!=He)return!1;if(od==Mb.CharCategory.Word)if($d.toLowerCase()==$d){if(!Ec&&kb)return!1;Pb=!0}else if(Pb){if(Ec)return!1;Ka=!0}else{if(kb&&Ec&&Fc(Me=zb.state.sliceDoc(ld,ld+1))==Mb.CharCategory.Word&&Me.toLowerCase()==Me)return!1;kb=!0}Wd++;return!0},ed=zb.moveByChar(nc,Ec,$d=>{mc($d);return mc});if(ia&&od==Mb.CharCategory.Word&&ed.from==nc.from+Wd*(Ec?1:-1)){var Ld=zb.state.sliceDoc(Math.min(nc.head, -ed.head),Math.max(nc.head,ed.head));if(1Ec.empty?aa(zb,Ec,nc):N(Ec,nc))}function Ha(zb,nc,Ec){let Fc=Ra.syntaxTree(zb).resolveInner(nc.head),od=Ec?nb.NodeProp.closedBy:nb.NodeProp.openedBy;for(nc=nc.head;;){let kb=Ec?Fc.childAfter(nc):Fc.childBefore(nc); -if(!kb)break;a:{var ld=zb;var Wd=kb;if(Wd.type.prop(od)){ld=!0;break a}let Pb=Wd.to-Wd.from;ld=Pb&&(2{if(!Ec.empty)return N(Ec,nc);let Fc=zb.moveVertically(Ec,nc);return Fc.head!= -Ec.head?Fc:zb.moveToLineBoundary(Ec,nc)})}function Ja(zb){let nc=zb.scrollDOM.clientHeightKa.empty?zb.moveVertically(Ka,nc,Ec.height):N(Ka,nc));if(od.eq(Fc.selection))return!1;let ld;if(Ec.selfScroll){let Ka=zb.coordsAtPos(Fc.selection.main.head);var Wd=zb.scrollDOM.getBoundingClientRect();let kb=Wd.top+Ec.marginTop;Wd=Wd.bottom-Ec.marginBottom;Ka&&Ka.top>kb&&Ka.bottom{var Wd=Ra.matchBrackets(zb,ld.head, --1)||Ra.matchBrackets(zb,ld.head,1)||0{let od=nc(Fc);return Mb.EditorSelection.range(Fc.anchor,od.head,od.goalColumn,od.bidiLevel||void 0)});if(Ec.eq(zb.state.selection))return!1; -zb.dispatch(F(zb.state,Ec));return!0}function Xa(zb,nc){return Ga(zb,Ec=>zb.moveByChar(Ec,nc))}function Sa(zb,nc){return Ga(zb,Ec=>zb.moveByGroup(Ec,nc))}function Va(zb,nc){return Ga(zb,Ec=>aa(zb,Ec,nc))}function ab(zb,nc){return Ga(zb,Ec=>zb.moveVertically(Ec,nc))}function Ta(zb,nc){return Ga(zb,Ec=>zb.moveVertically(Ec,nc,Ja(zb).height))}function Ya(zb,nc){if(zb.state.readOnly)return!1;let Ec="delete.selection",{state:Fc}=zb,od=Fc.changeByRange(ld=>{let {from:Wd,to:Ka}=ld;if(Wd==Ka){let kb=nc(ld); -kbWd&&(Ec="delete.forward",kb=rb(zb,kb,!0));Wd=Math.min(Wd,kb);Ka=Math.max(Ka,kb)}else Wd=rb(zb,Wd,!1),Ka=rb(zb,Ka,!0);return Wd==Ka?{range:ld}:{changes:{from:Wd,to:Ka},range:Mb.EditorSelection.cursor(Wd,Wdod(zb)))Fc.between(nc,nc,(od,ld)=>{odnc&&(nc=Ec?ld:od)});return nc}function Cb(zb){let nc=[];var Ec=-1;for(let Fc of zb.selection.ranges){let od=zb.doc.lineAt(Fc.from),ld=zb.doc.lineAt(Fc.to);Fc.empty||Fc.to!=ld.from||(ld=zb.doc.lineAt(Fc.to-1));Ec>=od.number?(Ec=nc[nc.length-1],Ec.to=ld.to,Ec.ranges.push(Fc)):nc.push({from:od.from,to:ld.to,ranges:[Fc]});Ec=ld.number+1}return nc}function ac(zb,nc,Ec){if(zb.readOnly)return!1; -let Fc=[],od=[];for(let ld of Cb(zb)){if(Ec?ld.to==zb.doc.length:0==ld.from)continue;let Wd=zb.doc.lineAt(Ec?ld.to+1:ld.from-1),Ka=Wd.length+1;if(Ec){Fc.push({from:ld.to,to:Wd.to},{from:ld.from,insert:Wd.text+zb.lineBreak});for(let kb of ld.ranges)od.push(Mb.EditorSelection.range(Math.min(zb.doc.length,kb.anchor+Ka),Math.min(zb.doc.length,kb.head+Ka)))}else{Fc.push({from:Wd.from,to:ld.from},{from:ld.to,insert:zb.lineBreak+Wd.text});for(let kb of ld.ranges)od.push(Mb.EditorSelection.range(kb.anchor- -Ka,kb.head-Ka))}}if(!Fc.length)return!1;nc(zb.update({changes:Fc,scrollIntoView:!0,selection:Mb.EditorSelection.create(od,zb.selection.mainIndex),userEvent:"move.line"}));return!0}function ea(zb,nc,Ec){if(zb.readOnly)return!1;let Fc=[];for(let od of Cb(zb))Ec?Fc.push({from:od.from,insert:zb.doc.slice(od.from,od.to)+zb.lineBreak}):Fc.push({from:od.to,insert:zb.lineBreak+zb.doc.slice(od.from,od.to)});nc(zb.update({changes:Fc,scrollIntoView:!0,userEvent:"input.copyline"}));return!0}function Aa(zb){return({state:nc, -dispatch:Ec})=>{if(nc.readOnly)return!1;let Fc=nc.changeByRange(od=>{let {from:ld,to:Wd}=od;od=nc.doc.lineAt(ld);var Ka;if(Ka=!zb&&ld==Wd)if(Ka=ld,/\(\)|\[\]|\{\}/.test(nc.sliceDoc(Ka-1,Ka+1)))Ka={from:Ka,to:Ka};else{var kb=Ra.syntaxTree(nc).resolveInner(Ka),Pb=kb.childBefore(Ka);kb=kb.childAfter(Ka);var mc;Ka=Pb&&kb&&Pb.to<=Ka&&kb.from>=Ka&&(mc=Pb.type.prop(nb.NodeProp.closedBy))&&-1od.from&&ld{let od=[];for(var ld=Fc.from;ld<=Fc.to;)ld=zb.doc.lineAt(ld),ld.number>Ec&&(Fc.empty||Fc.to>ld.from)&&(nc(ld,od,Fc),Ec=ld.number),ld=ld.to+1;ld=zb.changes(od);return{changes:od,range:Mb.EditorSelection.range(ld.mapPos(Fc.anchor,1),ld.mapPos(Fc.head,1))}})}var Mb=K(1),wa= -K(4),Ra=K(6),nb=K(0);const Hb=zb=>{var {state:nc}=zb;nc=nc.doc.lineAt(nc.selection.main.from);nc=w(zb.state,nc.from);return nc.line?Jb(zb):nc.block?cd(zb):!1},Jb=A(f,0),Bb=A(f,1),xc=A(f,2),bd=A(g,0),Yc=A(g,1),Xb=A(g,2),cd=A((zb,nc)=>{let Ec=[];for(let Fc of nc.selection.ranges){let od=nc.doc.lineAt(Fc.from),ld=Fc.to<=od.to?od:nc.doc.lineAt(Fc.to),Wd=Ec.length-1;0<=Wd&&Ec[Wd].to>od.from?Ec[Wd].to=ld.to:Ec.push({from:od.from+/^\s*/.exec(od.text)[0].length,to:ld.to})}return g(zb,nc,Ec)},0),Sc=Mb.Annotation.define(), -Nb=Mb.Annotation.define(),Wb=Mb.Facet.define(),b=Mb.Facet.define({combine(zb){return Mb.combineConfig(zb,{minDepth:100,newGroupDelay:500,joinToEvent:(nc,Ec)=>Ec},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(nc,Ec)=>(Fc,od)=>nc(Fc,od)||Ec(Fc,od)})}}),k=Mb.StateField.define({create(){return Wa.empty},update(zb,nc){let Ec=nc.state.facet(b);var Fc=nc.annotation(Sc);if(Fc){var od=nc.docChanged?Mb.EditorSelection.single(e(nc.changes)):void 0;od=oa.fromTransaction(nc,od);var ld=Fc.side;zb=0==ld? -zb.undone:zb.done;zb=od?c(zb,zb.length,Ec.minDepth,od):x(zb,nc.startState.selection);return new Wa(0==ld?Fc.rest:zb,0==ld?zb:Fc.rest)}Fc=nc.annotation(Nb);if("full"==Fc||"before"==Fc)zb=zb.isolate();if(!1===nc.annotation(Mb.Transaction.addToHistory))return nc.changes.empty?zb:zb.addMapping(nc.changes.desc);od=oa.fromTransaction(nc);ld=nc.annotation(Mb.Transaction.time);let Wd=nc.annotation(Mb.Transaction.userEvent);od?zb=zb.addChanges(od,ld,Wd,Ec,nc):nc.selection&&(zb=zb.addSelection(nc.startState.selection, -ld,Wd,Ec.newGroupDelay));if("full"==Fc||"after"==Fc)zb=zb.isolate();return zb},toJSON(zb){return{done:zb.done.map(nc=>nc.toJSON()),undone:zb.undone.map(nc=>nc.toJSON())}},fromJSON(zb){return new Wa(zb.done.map(oa.fromJSON),zb.undone.map(oa.fromJSON))}}),u=k,t=h(0,!1),I=h(1,!1),Q=h(0,!0),X=h(1,!0),ca=l(0),na=l(1);class oa{constructor(zb,nc,Ec,Fc,od){this.changes=zb;this.effects=nc;this.mapped=Ec;this.startSelection=Fc;this.selectionsAfter=od}setSelAfter(zb){return new oa(this.changes,this.effects, -this.mapped,this.startSelection,zb)}toJSON(){var zb,nc,Ec;return{changes:null===(zb=this.changes)||void 0===zb?void 0:zb.toJSON(),mapped:null===(nc=this.mapped)||void 0===nc?void 0:nc.toJSON(),startSelection:null===(Ec=this.startSelection)||void 0===Ec?void 0:Ec.toJSON(),selectionsAfter:this.selectionsAfter.map(Fc=>Fc.toJSON())}}static fromJSON(zb){return new oa(zb.changes&&Mb.ChangeSet.fromJSON(zb.changes),[],zb.mapped&&Mb.ChangeDesc.fromJSON(zb.mapped),zb.startSelection&&Mb.EditorSelection.fromJSON(zb.startSelection), -zb.selectionsAfter.map(Mb.EditorSelection.fromJSON))}static fromTransaction(zb,nc){let Ec=xa;for(let Fc of zb.startState.facet(Wb)){let od=Fc(zb);od.length&&(Ec=Ec.concat(od))}return!Ec.length&&zb.changes.empty?null:new oa(zb.changes.invert(zb.startState.doc),Ec,void 0,nc||zb.startState.selection,xa)}static selection(zb){return new oa(void 0,xa,void 0,void 0,zb)}}const xa=[],Fa=/^(input\.type|delete)($|\.)/;class Wa{constructor(zb,nc,Ec=0,Fc){this.done=zb;this.undone=nc;this.prevTime=Ec;this.prevUserEvent= -Fc}isolate(){return this.prevTime?new Wa(this.done,this.undone):this}addChanges(zb,nc,Ec,Fc,od){let ld=this.done,Wd=ld[ld.length-1];ld=Wd&&Wd.changes&&!Wd.changes.empty&&zb.changes&&(!Ec||Fa.test(Ec))&&(!Wd.selectionsAfter.length&&nc-this.prevTimeU(zb,!G(zb)),Ob=zb=>U(zb,G(zb)),hc=zb=>L(zb,!G(zb)),pb=zb=>L(zb,G(zb)),ia="undefined"!=typeof Intl&&Intl.Segmenter?new Intl.Segmenter(void 0, -{granularity:"word"}):null,ua=zb=>E(zb,nc=>Ha(zb.state,nc,!G(zb))),Ua=zb=>E(zb,nc=>Ha(zb.state,nc,G(zb))),qb=zb=>Oa(zb,!1),Rb=zb=>Oa(zb,!0),gc=zb=>cb(zb,!1),Qb=zb=>cb(zb,!0),kc=zb=>E(zb,nc=>ma(zb,nc,!0)),da=zb=>E(zb,nc=>ma(zb,nc,!1)),Ea=zb=>E(zb,nc=>ma(zb,nc,!G(zb))),bb=zb=>E(zb,nc=>ma(zb,nc,G(zb))),jb=zb=>E(zb,nc=>Mb.EditorSelection.cursor(zb.lineBlockAt(nc.head).from,1)),Ba=zb=>E(zb,nc=>Mb.EditorSelection.cursor(zb.lineBlockAt(nc.head).to,-1)),Qa=({state:zb,dispatch:nc})=>za(zb,nc,!1),sb=zb=>Xa(zb, -!G(zb)),ub=zb=>Xa(zb,G(zb)),Lb=zb=>Sa(zb,!G(zb)),Zb=zb=>Sa(zb,G(zb)),qc=zb=>Ga(zb,nc=>Ha(zb.state,nc,!G(zb))),Zc=zb=>Ga(zb,nc=>Ha(zb.state,nc,G(zb))),Gd=zb=>ab(zb,!1),Ce=zb=>ab(zb,!0),le=zb=>Ta(zb,!1),af=zb=>Ta(zb,!0),gb=zb=>Ga(zb,nc=>ma(zb,nc,!0)),Gb=zb=>Ga(zb,nc=>ma(zb,nc,!1)),rc=zb=>Ga(zb,nc=>ma(zb,nc,!G(zb))),Cc=zb=>Ga(zb,nc=>ma(zb,nc,G(zb))),Qc=zb=>Ga(zb,nc=>Mb.EditorSelection.cursor(zb.lineBlockAt(nc.head).from)),Hd=zb=>Ga(zb,nc=>Mb.EditorSelection.cursor(zb.lineBlockAt(nc.head).to)),yb=({state:zb, -dispatch:nc})=>{nc(F(zb,{anchor:0}));return!0},vb=({state:zb,dispatch:nc})=>{nc(F(zb,{anchor:zb.doc.length}));return!0},zc=({state:zb,dispatch:nc})=>{nc(F(zb,{anchor:zb.selection.main.anchor,head:0}));return!0},ad=({state:zb,dispatch:nc})=>{nc(F(zb,{anchor:zb.selection.main.anchor,head:zb.doc.length}));return!0},Ad=({state:zb,dispatch:nc})=>{nc(zb.update({selection:{anchor:0,head:zb.doc.length},userEvent:"select"}));return!0},jc=({state:zb,dispatch:nc})=>{let Ec=Cb(zb).map(({from:Fc,to:od})=>Mb.EditorSelection.range(Fc, -Math.min(od+1,zb.doc.length)));nc(zb.update({selection:Mb.EditorSelection.create(Ec),userEvent:"select"}));return!0},pd=({state:zb,dispatch:nc})=>{let Ec=B(zb.selection,Fc=>{for(var od,ld=Ra.syntaxTree(zb).resolveStack(Fc.from,1);ld;ld=ld.next){let {node:Wd}=ld;if((Wd.from=Fc.to||Wd.to>Fc.to&&Wd.from<=Fc.from)&&(null===(od=Wd.parent)||void 0===od?0:od.parent))return Mb.EditorSelection.range(Wd.to,Wd.from)}return Fc});nc(F(zb,Ec));return!0},wc=({state:zb,dispatch:nc})=>{let Ec=zb.selection, -Fc=null;1Ya(zb,Ec=>{Ec=Ec.from;var {state:Fc}=zb,od=Fc.doc.lineAt(Ec),ld;if(!nc&&Ec>od.from&&EcDd(zb,!1),Kd=zb=>Dd(zb,!0),je=(zb,nc)=>Ya(zb,Ec=>{let Fc=Ec.head,{state:od}=zb,ld=od.doc.lineAt(Fc),Wd=od.charCategorizer(Fc);for(let Ka=null;;){if(Fc==(nc?ld.to:ld.from)){Fc==Ec.head&&ld.number!=(nc?od.doc.lines:1)&&(Fc+=nc?1:-1);break}let kb=Mb.findClusterBreak(ld.text,Fc-ld.from,nc)+ld.from,Pb=ld.text.slice(Math.min(Fc,kb)-ld.from,Math.max(Fc, -kb)-ld.from),mc=Wd(Pb);if(null!=Ka&&mc!=Ka)break;if(" "!=Pb||Fc!=Ec.head)Ka=mc;Fc=kb}return Fc}),Te=zb=>je(zb,!1),ge=zb=>je(zb,!0),se=zb=>Ya(zb,nc=>{let Ec=zb.lineBlockAt(nc.head).to;return nc.headYa(zb,nc=>{let Ec=zb.moveToLineBoundary(nc,!1).head;return nc.head>Ec?Ec:Math.max(0,nc.head-1)}),qd=zb=>Ya(zb,nc=>{let Ec=zb.moveToLineBoundary(nc,!0).head;return nc.head -{if(zb.readOnly)return!1;let Ec=zb.changeByRange(Fc=>({changes:{from:Fc.from,to:Fc.to,insert:Mb.Text.of(["",""])},range:Mb.EditorSelection.cursor(Fc.from)}));nc(zb.update(Ec,{scrollIntoView:!0,userEvent:"input"}));return!0},Td=({state:zb,dispatch:nc})=>{if(zb.readOnly)return!1;let Ec=zb.changeByRange(Fc=>{if(!Fc.empty||0==Fc.from||Fc.from==zb.doc.length)return{range:Fc};Fc=Fc.from;var od=zb.doc.lineAt(Fc);let ld=Fc==od.from?Fc-1:Mb.findClusterBreak(od.text,Fc-od.from,!1)+od.from;od=Fc==od.to?Fc+1: -Mb.findClusterBreak(od.text,Fc-od.from,!0)+od.from;return{changes:{from:ld,to:od,insert:zb.doc.slice(Fc,od).append(zb.doc.slice(ld,Fc))},range:Mb.EditorSelection.cursor(od)}});if(Ec.changes.empty)return!1;nc(zb.update(Ec,{scrollIntoView:!0,userEvent:"move.character"}));return!0},eb=({state:zb,dispatch:nc})=>ac(zb,nc,!1),Db=({state:zb,dispatch:nc})=>ac(zb,nc,!0),Ub=({state:zb,dispatch:nc})=>ea(zb,nc,!1),$b=({state:zb,dispatch:nc})=>ea(zb,nc,!0),Lc=zb=>{if(zb.state.readOnly)return!1;let {state:nc}= -zb,Ec=nc.changes(Cb(nc).map(({from:od,to:ld})=>{0zb.moveVertically(od,!0)).map(Ec);zb.dispatch({changes:Ec,selection:Fc,scrollIntoView:!0,userEvent:"delete.line"});return!0},Xc=Aa(!1),ud=Aa(!0),Tc=({state:zb,dispatch:nc})=>{if(zb.readOnly)return!1;let Ec=Object.create(null),Fc=new Ra.IndentContext(zb,{overrideIndentation:ld=>{ld=Ec[ld];return null==ld?-1:ld}}),od=xb(zb,(ld,Wd,Ka)=>{let kb=Ra.getIndentation(Fc,ld.from); -if(null!=kb){/\S/.test(ld.text)||(kb=0);var Pb=/^\s*/.exec(ld.text)[0],mc=Ra.indentString(zb,kb);if(Pb!=mc||Ka.from{if(zb.readOnly)return!1;nc(zb.update(xb(zb,(Ec,Fc)=>{Fc.push({from:Ec.from,insert:zb.facet(Ra.indentUnit)})}),{userEvent:"input.indent"}));return!0},fd=({state:zb,dispatch:nc})=>{if(zb.readOnly)return!1; -nc(zb.update(xb(zb,(Ec,Fc)=>{let od=/^\s*/.exec(Ec.text)[0];if(od){var ld=Mb.countColumn(od,zb.tabSize),Wd=0;for(ld=Ra.indentString(zb,Math.max(0,ld-Ra.getIndentUnit(zb)));Wd({mac:zb.key,run:zb.run,shift:zb.shift}))),xd=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:ua,shift:qc},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Ua,shift:Zc},{key:"Alt-ArrowUp",run:eb},{key:"Shift-Alt-ArrowUp", -run:Ub},{key:"Alt-ArrowDown",run:Db},{key:"Shift-Alt-ArrowDown",run:$b},{key:"Escape",run:wc},{key:"Mod-Enter",run:ud},{key:"Alt-l",mac:"Ctrl-l",run:jc},{key:"Mod-i",run:pd,preventDefault:!0},{key:"Mod-[",run:fd},{key:"Mod-]",run:jd},{key:"Mod-Alt-\\",run:Tc},{key:"Shift-Mod-k",run:Lc},{key:"Shift-Mod-\\",run:Qa},{key:"Mod-/",run:Hb},{key:"Alt-A",run:bd}].concat(oe),Oe={key:"Tab",run:jd,shift:fd};m.blockComment=Yc;m.blockUncomment=Xb;m.copyLineDown=$b;m.copyLineUp=Ub;m.cursorCharBackward=zb=>U(zb, -!1);m.cursorCharForward=zb=>U(zb,!0);m.cursorCharLeft=Fb;m.cursorCharRight=Ob;m.cursorDocEnd=vb;m.cursorDocStart=yb;m.cursorGroupBackward=zb=>L(zb,!1);m.cursorGroupForward=zb=>L(zb,!0);m.cursorGroupLeft=hc;m.cursorGroupRight=pb;m.cursorLineBoundaryBackward=da;m.cursorLineBoundaryForward=kc;m.cursorLineBoundaryLeft=Ea;m.cursorLineBoundaryRight=bb;m.cursorLineDown=Rb;m.cursorLineEnd=Ba;m.cursorLineStart=jb;m.cursorLineUp=qb;m.cursorMatchingBracket=Qa;m.cursorPageDown=Qb;m.cursorPageUp=gc;m.cursorSubwordBackward= -zb=>ha(zb,!1);m.cursorSubwordForward=zb=>ha(zb,!0);m.cursorSyntaxLeft=ua;m.cursorSyntaxRight=Ua;m.defaultKeymap=xd;m.deleteCharBackward=Sd;m.deleteCharForward=Kd;m.deleteGroupBackward=Te;m.deleteGroupForward=ge;m.deleteLine=Lc;m.deleteLineBoundaryBackward=ic;m.deleteLineBoundaryForward=qd;m.deleteToLineEnd=se;m.deleteToLineStart=zb=>Ya(zb,nc=>{let Ec=zb.lineBlockAt(nc.head).from;return nc.head>Ec?Ec:Math.max(0,nc.head-1)});m.deleteTrailingWhitespace=({state:zb,dispatch:nc})=>{if(zb.readOnly)return!1; -let Ec=[];for(let Fc=0,od="",ld=zb.doc.iter();;){ld.next();if(ld.lineBreak||ld.done){let Wd=od.search(/\s+$/);-1{nc(zb.update(zb.replaceSelection(zb.lineBreak),{scrollIntoView:!0,userEvent:"input"}));return!0};m.insertNewlineAndIndent=Xc;m.insertTab=({state:zb,dispatch:nc})=>{if(zb.selection.ranges.some(Ec=>!Ec.empty))return jd({state:zb,dispatch:nc});nc(zb.update(zb.replaceSelection("\t"),{scrollIntoView:!0, -userEvent:"input"}));return!0};m.invertedEffects=Wb;m.isolateHistory=Nb;m.lineComment=Bb;m.lineUncomment=xc;m.moveLineDown=Db;m.moveLineUp=eb;m.redo=I;m.redoDepth=na;m.redoSelection=X;m.selectAll=Ad;m.selectCharBackward=zb=>Xa(zb,!1);m.selectCharForward=zb=>Xa(zb,!0);m.selectCharLeft=sb;m.selectCharRight=ub;m.selectDocEnd=ad;m.selectDocStart=zc;m.selectGroupBackward=zb=>Sa(zb,!1);m.selectGroupForward=zb=>Sa(zb,!0);m.selectGroupLeft=Lb;m.selectGroupRight=Zb;m.selectLine=jc;m.selectLineBoundaryBackward= -Gb;m.selectLineBoundaryForward=gb;m.selectLineBoundaryLeft=rc;m.selectLineBoundaryRight=Cc;m.selectLineDown=Ce;m.selectLineEnd=Hd;m.selectLineStart=Qc;m.selectLineUp=Gd;m.selectMatchingBracket=({state:zb,dispatch:nc})=>za(zb,nc,!0);m.selectPageDown=af;m.selectPageUp=le;m.selectParentSyntax=pd;m.selectSubwordBackward=zb=>Va(zb,!1);m.selectSubwordForward=zb=>Va(zb,!0);m.selectSyntaxLeft=qc;m.selectSyntaxRight=Zc;m.simplifySelection=wc;m.splitLine=wd;m.standardKeymap=oe;m.toggleBlockComment=bd;m.toggleBlockCommentByLine= -cd;m.toggleComment=Hb;m.toggleLineComment=Jb;m.transposeChars=Td;m.undo=t;m.undoDepth=ca;m.undoSelection=Q}; -shadow$provide[193]=function(R,K,pa,m){function A(Ba){Ba=Object.keys(Ba).join("");let Qa=/\w/.test(Ba);Qa&&(Ba=Ba.replace(/\w/g,""));return`[${Qa?"\\w":""}${Ba.replace(/[^\w\s]/g,"\\$\x26")}]`}function w(Ba){var Qa=Object.create(null);let sb=Object.create(null);for(let {label:ub}of Ba)for(Qa[ub[0]]=!0,Ba=1;Ba"string"==typeof Lb?{label:Lb}:Lb),[sb,ub]=Qa.every(Lb=>/^\w+$/.test(Lb.label))? -[/\w*$/,/\w+$/]:w(Qa);return Lb=>{let Zb=Lb.matchBefore(ub);return Zb||Lb.explicit?{from:Zb?Zb.from:Lb.pos,options:Qa,validFor:sb}:null}}function g(Ba){return Ba.selection.main.from}function f(Ba,Qa){var sb;let {source:ub}=Ba;Qa=Qa&&"^"!=ub[0];let Lb="$"!=ub[ub.length-1];return Qa||Lb?new RegExp(`${Qa?"^":""}(?:${ub})${Lb?"$":""}`,null!==(sb=Ba.flags)&&void 0!==sb?sb:Ba.ignoreCase?"i":""):Ba}function e(Ba,Qa,sb,ub){let {main:Lb}=Ba.selection,Zb=sb-Lb.from,qc=ub-Lb.from;return Object.assign(Object.assign({}, -Ba.changeByRange(Zc=>Zc!=Lb&&sb!=ub&&Ba.sliceDoc(Zc.from+Zb,Zc.from+qc)!=Ba.sliceDoc(sb,ub)?{range:Zc}:{changes:{from:Zc.from+Zb,to:ub==Lb.from?Zc.to:Zc.from+qc,insert:Qa},range:Ta.EditorSelection.cursor(Zc.from+Zb+Qa.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}function h(Ba){if(!Array.isArray(Ba))return Ba;let Qa=Aa.get(Ba);Qa||Aa.set(Ba,Qa=p(Ba));return Qa}function l(Ba,Qa){return Ba?Qa?Ba+" "+Qa:Ba:Qa}function c(Ba,Qa,sb,ub,Lb,Zb){let qc=Ba=Ba.textDirection==Ya.Direction.RTL,Zc= -!1,Gd="top";var Ce=Qa.left-Lb.left;let le=Lb.right-Qa.right,af=ub.right-ub.left;ub=ub.bottom-ub.top;qc&&Ce=ub||Lb>Qa.top?sb=sb.bottom-Qa.top:(Gd="bottom",sb=Qa.bottom-sb.top));return{style:`${Gd}: ${sb/((Qa.bottom-Qa.top)/Zb.offsetHeight)}px; max-width: ${Ce/((Qa.right- -Qa.left)/Zb.offsetWidth)}px`,class:"cm-completionInfo-"+(Zc?Ba?"left-narrow":"right-narrow":qc?"left":"right")}}function r(Ba){let Qa=Ba.addToOptions.slice();Ba.icons&&Qa.push({render(sb){let ub=document.createElement("div");ub.classList.add("cm-completionIcon");sb.type&&ub.classList.add(...sb.type.split(/\s+/g).map(Lb=>"cm-completionIcon-"+Lb));ub.setAttribute("aria-hidden","true");return ub},position:20});Qa.push({render(sb,ub,Lb,Zb){ub=document.createElement("span");ub.className="cm-completionLabel"; -sb=sb.displayLabel||sb.label;var qc=0;for(Lb=0;Lbqc&&ub.appendChild(document.createTextNode(sb.slice(qc,Zc)));qc=ub.appendChild(document.createElement("span"));qc.appendChild(document.createTextNode(sb.slice(Zc,Gd)));qc.className="cm-completionMatchedText";qc=Gd}qcsb.position-ub.position).map(sb=>sb.render)}function q(Ba,Qa,sb){if(Ba<=sb)return{from:0,to:Ba};0>Qa&&(Qa=0);if(Qa<=Ba>>1)return Ba=Math.floor(Qa/sb),{from:Ba*sb,to:(Ba+1)*sb};Qa=Math.floor((Ba-Qa)/sb);return{from:Ba-(Qa+1)*sb,to:Ba-Qa*sb}}function z(Ba){return 100*(Ba.boost||0)+(Ba.apply?10:0)+(Ba.info?5:0)+(Ba.type?1:0)}function x(Ba,Qa){let sb=[],ub=null;var Lb=le=>{sb.push(le);({section:le}=le.completion);if(le){ub||(ub= -[]);let af="string"==typeof le?le:le.name;ub.some(gb=>gb.name==af)||ub.push("string"==typeof le?{name:af}:le)}};for(var Zb of Ba)if(Zb.hasResult())if(Ba=Zb.result.getMatch,!1===Zb.result.filter)for(var qc of Zb.result.options)Lb(new ac(qc,Zb.source,Ba?Ba(qc):[],1E9-sb.length));else{let le=new wa(Qa.sliceDoc(Zb.from,Zb.to));for(let af of Zb.result.options)if(le.match(af.label)){let gb=af.displayLabel?Ba?Ba(af,le.matched):[]:le.matched;Lb(new ac(af,Zb.source,gb,le.score+(af.boost||0)))}}if(ub){Lb=Object.create(null); -Zb=0;qc=(le,af)=>{var gb,Gb;return(null!==(gb=le.rank)&&void 0!==gb?gb:1E9)-(null!==(Gb=af.rank)&&void 0!==Gb?Gb:1E9)||(le.namegb.score-af.score||Ce(af.completion,gb.completion)))Qa=le.completion,!Zc||Zc.label!=Qa.label||Zc.detail!=Qa.detail||null!=Zc.type&& -null!=Qa.type&&Zc.type!=Qa.type||Zc.apply!=Qa.apply||Zc.boost!=Qa.boost?Gd.push(le):z(le.completion)>z(Zc)&&(Gd[Gd.length-1]=le),Zc=le.completion;return Gd}function y(Ba,Qa){if(Ba==Qa)return!0;for(let sb=0,ub=0;;){for(;sbLb.source==Qa.source);if(!(ub instanceof Yc))return!1;"string"==typeof sb?Ba.dispatch(Object.assign(Object.assign({},e(Ba.state,sb,ub.from,ub.to)),{annotations:ea.of(Qa.completion)})):sb(Ba,Qa.completion,ub.from,ub.to);return!0} -function E(Ba,Qa="option"){return sb=>{var ub=sb.state.field(Sc,!1);if(!ub||!ub.open||ub.open.disabled||Date.now()-ub.open.timestampub?ub="page"==Qa?0:Zb-1:ub>=Zb&&(ub="page"==Qa?Zb-1:0);sb.dispatch({effects:cd.of(ub)}); -return!0}}function N(Ba,Qa){return Ta.EditorSelection.create(Ba.filter(sb=>sb.field==Qa).map(sb=>Ta.EditorSelection.range(sb.from,sb.to)))}function U(Ba){let Qa=I.parse(Ba);return(sb,ub,Lb,Zb)=>{let {text:qc,ranges:Zc}=Qa.instantiate(sb.state,Lb);ub={changes:{from:Lb,to:Zb,insert:Ta.Text.of(qc)},scrollIntoView:!0,annotations:ub?ea.of(ub):void 0};Zc.length&&(ub.selection=N(Zc,0));1{let ub=Qa.field(xa,!1);if(!ub||0>Ba&&0==ub.active)return!1;let Lb=ub.active+Ba,Zb=0qc.field==Lb+Ba);sb(Qa.update({selection:N(ub.ranges,Lb),effects:na.of(Zb?null:new ca(ub.ranges,Lb)),scrollIntoView:!0}));return!0}}function L(Ba){Ba=Ba.replace(/[\]\-\\]/g,"\\$\x26");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${Ba}]+`,"ug")}catch(Qa){return new RegExp(`[\w${Ba}]`,"g")}}function aa(Ba, -Qa){return new RegExp(Qa(Ba.source),Ba.unicode?"u":"")}function ha(Ba,Qa,sb,ub,Lb){for(let Zb=Ba.iterLines(),qc=0;!Zb.next().done;){({value:Ba}=Zb);let Zc;for(Qa.lastIndex=0;Zc=Qa.exec(Ba);)if(!ub[Zc[0]]&&qc+Zc.index!=Lb&&(sb.push({type:"text",label:Zc[0]}),ub[Zc[0]]=!0,2E3<=sb.length))return;qc+=Ba.length+1}}function Ha(Ba,Qa,sb,ub,Lb){let Zb=1E3<=Ba.length;var qc=Zb&&Qa.get(Ba);if(qc)return qc;qc=[];let Zc=Object.create(null);if(Ba.children){let Gd=0;for(let Ce of Ba.children){if(1E3<=Ce.length)for(let le of Ha(Ce, -Qa,sb,ub-Gd,Lb-Gd))Zc[le.label]||(Zc[le.label]=!0,qc.push(le));else ha(Ce,sb,qc,Zc,Lb-Gd);Gd+=Ce.length+1}}else ha(Ba,sb,qc,Zc,Lb);Zb&&2E3>qc.length&&Qa.set(Ba,qc);return qc}function Oa(Ba){for(let Qa=0;8>Qa;Qa+=2)if("()[]{}\x3c\x3e".charCodeAt(Qa)==Ba)return"()[]{}\x3c\x3e".charAt(Qa+1);return Ta.fromCodePoint(128>Ba?Ba:Ba+1)}function Ja(Ba,Qa){let sb=Ba.languageDataAt("closeBrackets",Ba.selection.main.head)[0]||ua,ub=sb.brackets||ua.brackets;for(let Lb of ub){let Zb=Oa(Ta.codePointAt(Lb,0));if(Qa== -Lb)return Zb==Lb?Xa(Ba,Lb,-1{ub==Qa&&(sb=!0)});return sb}function ma(Ba,Qa){Ba=Ba.sliceString(Qa,Qa+2);return Ba.slice(0,Ta.codePointSize(Ta.codePointAt(Ba,0)))}function za(Ba,Qa,sb,ub){let Lb=null,Zb=Ba.changeByRange(qc=>{if(!qc.empty)return{changes:[{insert:Qa,from:qc.from},{insert:sb,from:qc.to}], -effects:Ua.of(qc.to+Qa.length),range:Ta.EditorSelection.range(qc.anchor+Qa.length,qc.head+Qa.length)};let Zc=ma(Ba.doc,qc.head);return!Zc||/\s/.test(Zc)||-1Lb.empty&&ma(Ba.doc,Lb.head)==sb?{changes:{from:Lb.head,to:Lb.head+ -sb.length,insert:sb},range:Ta.EditorSelection.cursor(Lb.head+sb.length)}:ub={range:Lb});return ub?null:Ba.update(Qa,{scrollIntoView:!0,userEvent:"input.type"})}function Xa(Ba,Qa,sb,ub){let Lb=ub.stringPrefixes||ua.stringPrefixes,Zb=null;ub=Ba.changeByRange(qc=>{if(!qc.empty)return{changes:[{insert:Qa,from:qc.from},{insert:Qa,from:qc.to}],effects:Ua.of(qc.to+Qa.length),range:Ta.EditorSelection.range(qc.anchor+Qa.length,qc.head+Qa.length)};let Zc=qc.head,Gd=ma(Ba.doc,Zc),Ce;if(Gd==Qa){if(Sa(Ba,Zc))return{changes:{insert:Qa+ -Qa,from:Zc},effects:Ua.of(Zc+Qa.length),range:Ta.EditorSelection.cursor(Zc+Qa.length)};if(cb(Ba,Zc))return qc=sb&&Ba.sliceDoc(Zc,Zc+3*Qa.length)==Qa+Qa+Qa?Qa+Qa+Qa:Qa,{changes:{from:Zc,to:Zc+qc.length,insert:qc},range:Ta.EditorSelection.cursor(Zc+qc.length)}}else{if(sb&&Ba.sliceDoc(Zc-2*Qa.length,Zc)==Qa+Qa&&-1<(Ce=ab(Ba,Zc-2*Qa.length,Lb))&&Sa(Ba,Ce))return{changes:{insert:Qa+Qa+Qa+Qa,from:Zc},effects:Ua.of(Zc+Qa.length),range:Ta.EditorSelection.cursor(Zc+Qa.length)};if(Ba.charCategorizer(Zc)(Gd)!= -Ta.CharCategory.Word&&-1Math.max(qc,Zc.length),0);for(let qc=0;5>qc;qc++){let Zc= -Ba.sliceDoc(Lb.from,Math.min(Lb.to,Lb.from+sb.length+Zb)),Gd=Zc.indexOf(sb);if(!Gd||-1sb.length+Gd;){if(Ba.sliceDoc(Qa.to-sb.length,Qa.to)==sb)return!1;Qa=Qa.firstChild}return!0}Lb=Lb.to==Qa&&Lb.parent;if(!Lb)break}return!1}function ab(Ba,Qa,sb){let ub=Ba.charCategorizer(Qa);if(ub(Ba.sliceDoc(Qa-1,Qa))!=Ta.CharCategory.Word)return Qa;for(let Lb of sb)if(sb=Qa-Lb.length,Ba.sliceDoc(sb,Qa)==Lb&&ub(Ba.sliceDoc(sb- -1,sb))!=Ta.CharCategory.Word)return sb;return-1}var Ta=K(1),Ya=K(4),rb=K(6);class Cb{constructor(Ba,Qa,sb){this.state=Ba;this.pos=Qa;this.explicit=sb;this.abortListeners=[]}tokenBefore(Ba){let Qa=rb.syntaxTree(this.state).resolveInner(this.pos,-1);for(;Qa&&0>Ba.indexOf(Qa.name);)Qa=Qa.parent;return Qa?{from:Qa.from,to:this.pos,text:this.state.sliceDoc(Qa.from,this.pos),type:Qa.type}:null}matchBefore(Ba){var Qa=this.state.doc.lineAt(this.pos);let sb=Math.max(Qa.from,this.pos-250);Qa=Qa.text.slice(sb- -Qa.from,this.pos-Qa.from);Ba=Qa.search(f(Ba,!1));return 0>Ba?null:{from:sb+Ba,to:this.pos,text:Qa.slice(Ba)}}get aborted(){return null==this.abortListeners}addEventListener(Ba,Qa){"abort"==Ba&&this.abortListeners&&this.abortListeners.push(Qa)}}class ac{constructor(Ba,Qa,sb,ub){this.completion=Ba;this.source=Qa;this.match=sb;this.score=ub}}const ea=Ta.Annotation.define(),Aa=new WeakMap,xb=Ta.StateEffect.define(),Mb=Ta.StateEffect.define();class wa{constructor(Ba){this.pattern=Ba;this.chars=[];this.folded= -[];this.any=[];this.precise=[];this.byWord=[];this.score=0;this.matched=[];for(let sb=0;sbqc){for(let Qc=0,Hd=Math.min(Ba.length,200);Qcqc&&(Gdvb?48<=vb&&57>=vb||97<=vb&&122>=vb?2:65<=vb&&90>=vb?1:0:(zc=Ta.fromCodePoint(vb))!=zc.toLowerCase()?1:zc!=zc.toUpperCase()?2:0;if(!Qc||1==ad&&rc||0==yb&&0!=ad)Qa[Ce]==vb||sb[Ce]==vb&&(le=!0)?Zb[Ce++]=Qc:Zb.length&&(Cc= -!1);yb=ad;Qc+=Ta.codePointSize(vb)}return Ce==Zc&&0==Zb[0]&&Cc?this.result(-100+(le?-200:0),Zb,Ba):af==Zc&&0==gb?this.ret(-200-Ba.length+(Gb==Ba.length?0:-100),[0,Gb]):-1"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:c,compareCompletions:(Qa,sb)=>Qa.label.localeCompare(sb.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(Qa,sb)=>Qa&&sb,closeOnBlur:(Qa,sb)=>Qa&&sb,icons:(Qa, -sb)=>Qa&&sb,tooltipClass:(Qa,sb)=>ub=>l(Qa(ub),sb(ub)),optionClass:(Qa,sb)=>ub=>l(Qa(ub),sb(ub)),addToOptions:(Qa,sb)=>Qa.concat(sb)})}});class nb{constructor(Ba,Qa,sb){this.view=Ba;this.stateField=Qa;this.applyCompletion=sb;this.infoDestroy=this.info=null;this.placeInfoReq={read:()=>this.measureInfo(),write:qc=>this.placeInfo(qc),key:this};this.space=null;this.currentClass="";sb=Ba.state.field(Qa);let {options:ub,selected:Lb}=sb.open,Zb=Ba.state.facet(Ra);this.optionContent=r(Zb);this.optionClass= -Zb.optionClass;this.tooltipClass=Zb.tooltipClass;this.range=q(ub.length,Lb,Zb.maxRenderedOptions);this.dom=document.createElement("div");this.dom.className="cm-tooltip-autocomplete";this.updateTooltipClass(Ba.state);this.dom.addEventListener("mousedown",qc=>{let {options:Zc}=Ba.state.field(Qa).open;for(let Gd=qc.target,Ce;Gd&&Gd!=this.dom;Gd=Gd.parentNode)if("LI"==Gd.nodeName&&(Ce=/-(\d+)$/.exec(Gd.id))&&+Ce[1]{let Zc=Ba.state.field(this.stateField,!1);Zc&&Zc.tooltip&&Ba.state.facet(Ra).closeOnBlur&&qc.relatedTarget!=Ba.contentDOM&&Ba.dispatch({effects:Mb.of(null)})});this.showOptions(ub,sb.id)}mount(){this.updateSel()}showOptions(Ba,Qa){this.list&&this.list.remove();this.list=this.dom.appendChild(this.createListBox(Ba,Qa,this.range));this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(Ba){var Qa;let sb=Ba.state.field(this.stateField),ub=Ba.startState.field(this.stateField); -this.updateTooltipClass(Ba.state);if(sb!=ub){let {options:Lb,selected:Zb,disabled:qc}=sb.open;ub.open&&ub.open.options==Lb||(this.range=q(Lb.length,Zb,Ba.state.facet(Ra).maxRenderedOptions),this.showOptions(Lb,sb.id));this.updateSel();qc!=(null===(Qa=ub.open)||void 0===Qa?void 0:Qa.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!qc)}}updateTooltipClass(Ba){Ba=this.tooltipClass(Ba);if(Ba!=this.currentClass){for(let Qa of this.currentClass.split(" "))Qa&&this.dom.classList.remove(Qa); -for(let Qa of Ba.split(" "))Qa&&this.dom.classList.add(Qa);this.currentClass=Ba}}positioned(Ba){this.space=Ba;this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let Ba=this.view.state.field(this.stateField);var Qa=Ba.open;if(-1=this.range.to)this.range=q(Qa.options.length,Qa.selected,this.view.state.facet(Ra).maxRenderedOptions),this.showOptions(Qa.options,Ba.id);if(this.updateSelectedOption(Qa.selected)){this.destroyInfo();let {completion:sb}= -Qa.options[Qa.selected];({info:Qa}=sb);Qa&&(Qa="string"===typeof Qa?document.createTextNode(Qa):Qa(sb))&&("then"in Qa?Qa.then(ub=>{ub&&this.view.state.field(this.stateField,!1)==Ba&&this.addInfoPane(ub,sb)}).catch(ub=>Ya.logException(this.view.state,ub,"completion info")):this.addInfoPane(Qa,sb))}}addInfoPane(Ba,Qa){this.destroyInfo();Qa=this.info=document.createElement("div");Qa.className="cm-tooltip cm-completionInfo";if(null!=Ba.nodeType)Qa.appendChild(Ba),this.infoDestroy=null;else{let {dom:sb, -destroy:ub}=Ba;Qa.appendChild(sb);this.infoDestroy=ub||null}this.dom.appendChild(Qa);this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(Ba){let Qa=null;for(let ub=this.list.firstChild,Lb=this.range.from;ub;ub=ub.nextSibling,Lb++)"LI"==ub.nodeName&&ub.id?Lb==Ba?ub.hasAttribute("aria-selected")||(ub.setAttribute("aria-selected","true"),Qa=ub):ub.hasAttribute("aria-selected")&&ub.removeAttribute("aria-selected"):Lb--;if(Qa){Ba=this.list;var sb=Qa;let ub=Ba.getBoundingClientRect();sb=sb.getBoundingClientRect(); -let Lb=ub.height/Ba.offsetHeight;sb.topub.bottom&&(Ba.scrollTop+=(sb.bottom-ub.bottom)/Lb)}return Qa}measureInfo(){var Ba=this.dom.querySelector("[aria-selected]");if(!Ba||!this.info)return null;let Qa=this.dom.getBoundingClientRect(),sb=this.info.getBoundingClientRect();Ba=Ba.getBoundingClientRect();var ub=this.space;ub||(ub=this.dom.ownerDocument.defaultView||window,ub={left:0,top:0,right:ub.innerWidth,bottom:ub.innerHeight});return Ba.top>Math.min(ub.bottom, -Qa.bottom)-10||Ba.bottomsb.from||0==sb.from)&&(Lb=qc,"string"!=typeof Zb&&Zb.header?ub.appendChild(Zb.header(Zb)):ub.appendChild(document.createElement("completion-section")).textContent=qc)}Zb=ub.appendChild(document.createElement("li"));Zb.id=Qa+"-"+Zc;Zb.setAttribute("role","option");if(qc=this.optionClass(Gd))Zb.className=qc;for(let le of this.optionContent)(qc= -le(Gd,this.view.state,this.view,Ce))&&Zb.appendChild(qc)}sb.from&&ub.classList.add("cm-completionListIncompleteTop");sb.to=this.options.length?this:new Hb(this.options,D(Qa,Ba),this.tooltip,this.timestamp,Ba,this.disabled)}static build(Ba,Qa,sb,ub,Lb){let Zb=x(Ba,Qa);if(!Zb.length)return ub&&Ba.some(qc=>1==qc.state)?new Hb(ub.options,ub.attrs,ub.tooltip,ub.timestamp,ub.selected,!0):null;Qa=Qa.facet(Ra).selectOnOpen?0:-1;if(ub&&ub.selected!=Qa&&-1!=ub.selected){let qc=ub.options[ub.selected].completion;for(let Zc=0;ZcZc.hasResult()?Math.min(qc,Zc.from):qc,1E8),create:Nb,above:Lb.aboveCursor},ub?ub.timestamp:Date.now(),Qa,!1)}map(Ba){return new Hb(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:Ba.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Jb{constructor(Ba,Qa,sb){this.active=Ba;this.id=Qa;this.open=sb}static start(){return new Jb(xc,"cm-ac-"+Math.floor(2E6*Math.random()).toString(36),null)}update(Ba){let {state:Qa}=Ba,sb=Qa.facet(Ra),ub=(sb.override|| -Qa.languageDataAt("autocomplete",g(Qa)).map(h)).map(Zb=>(this.active.find(qc=>qc.source==Zb)||new bd(Zb,this.active.some(qc=>0!=qc.state)?1:0)).update(Ba,sb));ub.length==this.active.length&&ub.every((Zb,qc)=>Zb==this.active[qc])&&(ub=this.active);let Lb=this.open;Lb&&Ba.docChanged&&(Lb=Lb.map(Ba.changes));Ba.selection||ub.some(Zb=>Zb.hasResult()&&Ba.changes.touchesRange(Zb.from,Zb.to))||!y(ub,this.active)?Lb=Hb.build(ub,Qa,this.id,Lb,sb):Lb&&Lb.disabled&&!ub.some(Zb=>1==Zb.state)&&(Lb=null);!Lb&& -ub.every(Zb=>1!=Zb.state)&&ub.some(Zb=>Zb.hasResult())&&(ub=ub.map(Zb=>Zb.hasResult()?new bd(Zb.source,0):Zb));for(let Zb of Ba.effects)Zb.is(cd)&&(Lb=Lb&&Lb.setSelected(Zb.value,this.id));return ub==this.active&&Lb==this.open?this:new Jb(ub,this.id,Lb)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:Bb}}const Bb={"aria-autocomplete":"list"},xc=[];class bd{constructor(Ba,Qa,sb=-1){this.source=Ba;this.state=Qa;this.explicitPos=sb}hasResult(){return!1}update(Ba, -Qa){let sb=B(Ba),ub=this;sb?ub=ub.handleUserEvent(Ba,sb,Qa):Ba.docChanged?ub=ub.handleChange(Ba):Ba.selection&&0!=ub.state&&(ub=new bd(ub.source,0));for(let Lb of Ba.effects)if(Lb.is(xb))ub=new bd(ub.source,1,Lb.value?g(Ba.state):-1);else if(Lb.is(Mb))ub=new bd(ub.source,0);else if(Lb.is(Xb))for(let Zb of Lb.value)Zb.source==ub.source&&(ub=Zb);return ub}handleUserEvent(Ba,Qa,sb){return"delete"!=Qa&&sb.activateOnTyping?new bd(this.source,1):this.map(Ba.changes)}handleChange(Ba){return Ba.changes.touchesRange(g(Ba.startState))? -new bd(this.source,0):this.map(Ba.changes)}map(Ba){return Ba.empty||0>this.explicitPos?this:new bd(this.source,this.state,Ba.mapPos(this.explicitPos))}}class Yc extends bd{constructor(Ba,Qa,sb,ub,Lb){super(Ba,2,Qa);this.result=sb;this.from=ub;this.to=Lb}hasResult(){return!0}handleUserEvent(Ba,Qa,sb){var ub;let Lb=Ba.changes.mapPos(this.from),Zb=Ba.changes.mapPos(this.to,1),qc=g(Ba.state);if((0>this.explicitPos?qc<=Lb:qcZb||"delete"==Qa&&g(Ba.startState)==this.from)return new bd(this.source, -"input"==Qa&&sb.activateOnTyping?1:0);Qa=0>this.explicitPos?-1:Ba.changes.mapPos(this.explicitPos);let Zc;sb=this.result.validFor;var Gd=Ba.state;if(sb){var Ce=Gd.sliceDoc(Lb,Zb);sb="function"==typeof sb?sb(Ce,Lb,Zb,Gd):f(sb,!0).test(Ce)}else sb=!1;return sb?new Yc(this.source,Qa,this.result,Lb,Zb):this.result.update&&(Zc=this.result.update(this.result,Lb,Zb,new Cb(Ba.state,qc,0<=Qa)))?new Yc(this.source,Qa,Zc,Zc.from,null!==(ub=Zc.to)&&void 0!==ub?ub:g(Ba.state)):new bd(this.source,1,Qa)}handleChange(Ba){return Ba.changes.touchesRange(this.from, -this.to)?new bd(this.source,0):this.map(Ba.changes)}map(Ba){return Ba.empty?this:new Yc(this.source,0>this.explicitPos?-1:Ba.mapPos(this.explicitPos),this.result,Ba.mapPos(this.from),Ba.mapPos(this.to,1))}}const Xb=Ta.StateEffect.define({map(Ba,Qa){return Ba.map(sb=>sb.map(Qa))}}),cd=Ta.StateEffect.define(),Sc=Ta.StateField.define({create(){return Jb.start()},update(Ba,Qa){return Ba.update(Qa)},provide:Ba=>[Ya.showTooltip.from(Ba,Qa=>Qa.tooltip),Ya.EditorView.contentAttributes.from(Ba,Qa=>Qa.attrs)]}), -Nb=function(Ba,Qa){return sb=>new nb(sb,Ba,Qa)}(Sc,F);R=Ba=>{let Qa=Ba.state.field(Sc,!1);return Ba.state.readOnly||!Qa||!Qa.open||0>Qa.open.selected||Qa.open.disabled||Date.now()-Qa.open.timestamp{if(!Ba.state.field(Sc,!1))return!1;Ba.dispatch({effects:xb.of(!0)});return!0};pa=Ba=>{let Qa=Ba.state.field(Sc,!1);if(!Qa||!Qa.active.some(sb=>0!=sb.state))return!1;Ba.dispatch({effects:Mb.of(null)});return!0};class Wb{constructor(Ba, -Qa){this.active=Ba;this.context=Qa;this.time=Date.now();this.updates=[];this.done=void 0}}const b=Ya.ViewPlugin.fromClass(class{constructor(Ba){this.view=Ba;this.debounceUpdate=-1;this.running=[];this.debounceAccept=-1;this.composing=0;for(let Qa of Ba.state.field(Sc).active)1==Qa.state&&this.startQuery(Qa)}update(Ba){let Qa=Ba.state.field(Sc);if(Ba.selectionSet||Ba.docChanged||Ba.startState.field(Sc)!=Qa){var sb=Ba.transactions.some(ub=>(ub.selection||ub.docChanged)&&!B(ub));for(let ub=0;ub1==ub.state&&!this.running.some(Lb=>Lb.active.source==ub.source))?setTimeout(()=>this.startUpdate(),50):-1;if(0!=this.composing)for(let ub of Ba.transactions)"input"== -B(ub)?this.composing=2:2==this.composing&&ub.selection&&(this.composing=3)}}startUpdate(){this.debounceUpdate=-1;var {state:Ba}=this.view;Ba=Ba.field(Sc);for(let Qa of Ba.active)1!=Qa.state||this.running.some(sb=>sb.active.source==Qa.source)||this.startQuery(Qa)}startQuery(Ba){var {state:Qa}=this.view;let sb=g(Qa);Qa=new Cb(Qa,sb,Ba.explicitPos==sb);let ub=new Wb(Ba,Qa);this.running.push(ub);Promise.resolve(Ba.source(Qa)).then(Lb=>{ub.context.aborted||(ub.done=Lb||null,this.scheduleAccept())},Lb=> -{this.view.dispatch({effects:Mb.of(null)});Ya.logException(this.view.state,Lb)})}scheduleAccept(){this.running.every(Ba=>void 0!==Ba.done)?this.accept():0>this.debounceAccept&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ra).updateSyncTime))}accept(){var Ba;-1qc.source==Zb.active.source))&&1==ub.state)if(null==Zb.done){ub=new bd(Zb.active.source,0);for(let qc of Zb.updates)ub=ub.update(qc,sb);1!=ub.state&&Qa.push(ub)}else this.startQuery(ub)}}Qa.length&& -this.view.dispatch({effects:Xb.of(Qa)})}},{eventHandlers:{blur(Ba){var Qa=this.view.state.field(Sc,!1);Qa&&Qa.tooltip&&this.view.state.facet(Ra).closeOnBlur&&((Qa=Qa.open&&Ya.getTooltip(this.view,Qa.open.tooltip))&&Qa.dom.contains(Ba.relatedTarget)||this.view.dispatch({effects:Mb.of(null)}))},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:xb.of(!1)}),20);this.composing=0}}}),k=Ya.EditorView.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"\x26 \x3e ul":{fontFamily:"monospace", -whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"\x26 \x3e li, \x26 \x3e completion-section":{padding:"1px 3px",lineHeight:1.2},"\x26 \x3e li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"\x26 \x3e completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"\x26light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c", -color:"white"},"\x26light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"\x26dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"\x26dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content", -maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"\x26light .cm-snippetField":{backgroundColor:"#00000022"},"\x26dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block", -margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"\x26:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"\x26:after":{content:"'○'"}},".cm-completionIcon-interface":{"\x26:after":{content:"'◌'"}}, -".cm-completionIcon-variable":{"\x26:after":{content:"'\ud835\udc65'"}},".cm-completionIcon-constant":{"\x26:after":{content:"'\ud835\udc36'"}},".cm-completionIcon-type":{"\x26:after":{content:"'\ud835\udc61'"}},".cm-completionIcon-enum":{"\x26:after":{content:"'∪'"}},".cm-completionIcon-property":{"\x26:after":{content:"'□'"}},".cm-completionIcon-keyword":{"\x26:after":{content:"'\ud83d\udd11︎'"}},".cm-completionIcon-namespace":{"\x26:after":{content:"'▢'"}},".cm-completionIcon-text":{"\x26:after":{content:"'abc'", -fontSize:"50%",verticalAlign:"middle"}}});class u{constructor(Ba,Qa,sb,ub){this.field=Ba;this.line=Qa;this.from=sb;this.to=ub}}class t{constructor(Ba,Qa,sb){this.field=Ba;this.from=Qa;this.to=sb}map(Ba){let Qa=Ba.mapPos(this.from,-1,Ta.MapMode.TrackDel);Ba=Ba.mapPos(this.to,1,Ta.MapMode.TrackDel);return null==Qa||null==Ba?null:new t(this.field,Qa,Ba)}}class I{constructor(Ba,Qa){this.lines=Ba;this.fieldPositions=Qa}instantiate(Ba,Qa){let sb=[],ub=[Qa];var Lb=Ba.doc.lineAt(Qa);Lb=/^\s*/.exec(Lb.text)[0]; -for(let Zb of this.lines){if(sb.length){let qc=Lb,Zc=/^\t*/.exec(Zb)[0].length;for(let Gd=0;Gdnew t(Zb.field,ub[Zb.line]+Zb.from,ub[Zb.line]+Zb.to));return{text:sb,ranges:Ba}}static parse(Ba){let Qa=[],sb=[],ub=[];for(let Zb of Ba.split(/\r\n?|\n/)){for(;Ba=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(Zb);){let qc=Ba[1]?+Ba[1]:null,Zc=Ba[2]||Ba[3]||"";var Lb= --1;for(let Gd=0;GdLb){for(Lb=0;Lb=Lb&&Gd.field++}ub.push(new u(Lb,sb.length,Ba.index,Ba.index+Zc.length));Zb=Zb.slice(0,Ba.index)+Zc+Zb.slice(Ba.index+Ba[0].length)}for(;Ba=/\\([{}])/.exec(Zb);){Zb=Zb.slice(0,Ba.index)+Ba[1]+Zb.slice(Ba.index+Ba[0].length);for(let qc of ub)qc.line==sb.length&&qc.from>Ba.index&& -(qc.from--,qc.to--)}sb.push(Zb)}return new I(sb,ub)}}let Q=Ya.Decoration.widget({widget:new class extends Ya.WidgetType{toDOM(){let Ba=document.createElement("span");Ba.className="cm-snippetFieldPosition";return Ba}ignoreEvent(){return!1}}}),X=Ya.Decoration.mark({class:"cm-snippetField"});class ca{constructor(Ba,Qa){this.ranges=Ba;this.active=Qa;this.deco=Ya.Decoration.set(Ba.map(sb=>(sb.from==sb.to?Q:X).range(sb.from,sb.to)))}map(Ba){let Qa=[];for(let sb of this.ranges){let ub=sb.map(Ba);if(!ub)return null; -Qa.push(ub)}return new ca(Qa,this.active)}selectionInsideField(Ba){return Ba.ranges.every(Qa=>this.ranges.some(sb=>sb.field==this.active&&sb.from<=Qa.from&&sb.to>=Qa.to))}}const na=Ta.StateEffect.define({map(Ba,Qa){return Ba&&Ba.map(Qa)}}),oa=Ta.StateEffect.define(),xa=Ta.StateField.define({create(){return null},update(Ba,Qa){for(let sb of Qa.effects){if(sb.is(na))return sb.value;if(sb.is(oa)&&Ba)return new ca(Ba.ranges,sb.value)}Ba&&Qa.docChanged&&(Ba=Ba.map(Qa.changes));Ba&&Qa.selection&&!Ba.selectionInsideField(Qa.selection)&& -(Ba=null);return Ba},provide:Ba=>Ya.EditorView.decorations.from(Ba,Qa=>Qa?Qa.deco:Ya.Decoration.none)}),Fa=({state:Ba,dispatch:Qa})=>{if(!Ba.field(xa,!1))return!1;Qa(Ba.update({effects:na.of(null)}));return!0},Wa=G(1),hb=G(-1),Fb=[{key:"Tab",run:Wa,shift:hb},{key:"Escape",run:Fa}],Ob=Ta.Facet.define({combine(Ba){return Ba.length?Ba[0]:Fb}}),hc=Ta.Prec.highest(Ya.keymap.compute([Ob],Ba=>Ba.facet(Ob))),pb=Ya.EditorView.domEventHandlers({mousedown(Ba,Qa){let sb=Qa.state.field(xa,!1),ub;if(!sb||null== -(ub=Qa.posAtCoords({x:Ba.clientX,y:Ba.clientY})))return!1;let Lb=sb.ranges.find(Zb=>Zb.from<=ub&&Zb.to>=ub);if(!Lb||Lb.field==sb.active)return!1;Qa.dispatch({selection:N(sb.ranges,Lb.field),effects:na.of(sb.ranges.some(Zb=>Zb.field>Lb.field)?new ca(sb.ranges,Lb.field):null),scrollIntoView:!0});return!0}}),ia=Object.create(null),ua={brackets:["(","[","{","'",'"'],before:")]}:;\x3e",stringPrefixes:[]},Ua=Ta.StateEffect.define({map(Ba,Qa){Ba=Qa.mapPos(Ba,-1,Ta.MapMode.TrackAfter);return null==Ba?void 0: -Ba}}),qb=new class extends Ta.RangeValue{};qb.startSide=1;qb.endSide=-1;const Rb=Ta.StateField.define({create(){return Ta.RangeSet.empty},update(Ba,Qa){if(Qa.selection){let sb=Qa.state.doc.lineAt(Qa.selection.main.head);Ba=Ba.update({filter:ub=>ub>=sb.from&&ub<=sb.to})}Ba=Ba.map(Qa.changes);for(let sb of Qa.effects)sb.is(Ua)&&(Ba=Ba.update({add:[qb.range(sb.value,sb.value+1)]}));return Ba}}),gc="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Qb=Ya.EditorView.inputHandler.of((Ba, -Qa,sb,ub)=>{if((gc?Ba.composing:Ba.compositionStarted)||Ba.state.readOnly)return!1;let Lb=Ba.state.selection.main;if(2{if(Ba.readOnly)return!1;let sb=(Ba.languageDataAt("closeBrackets",Ba.selection.main.head)[0]||ua).brackets||ua.brackets,ub=null,Lb=Ba.changeByRange(Zb=>{if(Zb.empty){var qc=Zb.head;qc=Ba.doc.sliceString(qc- -2,qc);qc=Ta.codePointSize(Ta.codePointAt(qc,0))==qc.length?qc:qc.slice(1);for(let Zc of sb)if(Zc==qc&&ma(Ba.doc,Zb.head)==Oa(Ta.codePointAt(Zc,0)))return{changes:{from:Zb.head-Zc.length,to:Zb.head+Zc.length},range:Ta.EditorSelection.cursor(Zb.head-Zc.length)}}return{range:ub=Zb}});ub||Qa(Ba.update(Lb,{scrollIntoView:!0,userEvent:"delete.backward"}));return!ub},da=[{key:"Backspace",run:kc}],Ea=[{key:"Ctrl-Space",run:K},{key:"Escape",run:pa},{key:"ArrowDown",run:E(!0)},{key:"ArrowUp",run:E(!1)},{key:"PageDown", -run:E(!0,"page")},{key:"PageUp",run:E(!1,"page")},{key:"Enter",run:R}],bb=Ta.Prec.highest(Ya.keymap.computeN([Ra],Ba=>Ba.facet(Ra).defaultKeymap?[Ea]:[])),jb=new WeakMap;m.CompletionContext=Cb;m.acceptCompletion=R;m.autocompletion=function(Ba={}){return[Sc,Ra.of(Ba),b,bb,k]};m.clearSnippet=Fa;m.closeBrackets=function(){return[Qb,Rb]};m.closeBracketsKeymap=da;m.closeCompletion=pa;m.completeAnyWord=Ba=>{let Qa=Ba.state.languageDataAt("wordChars",Ba.pos).join(""),sb=L(Qa);var ub=Ba.matchBefore(aa(sb, -Lb=>Lb+"$"));if(!ub&&!Ba.explicit)return null;ub=ub?ub.from:Ba.pos;Ba=Ha(Ba.state.doc,ia[Qa]||(ia[Qa]=new WeakMap),sb,5E4,ub);return{from:ub,options:Ba,validFor:aa(sb,Lb=>"^"+Lb)}};m.completeFromList=p;m.completionKeymap=Ea;m.completionStatus=function(Ba){return(Ba=Ba.field(Sc,!1))&&Ba.active.some(Qa=>1==Qa.state)?"pending":Ba&&Ba.active.some(Qa=>0!=Qa.state)?"active":null};m.currentCompletions=function(Ba){var Qa;Ba=null===(Qa=Ba.field(Sc,!1))||void 0===Qa?void 0:Qa.open;if(!Ba||Ba.disabled)return[]; -(Qa=jb.get(Ba.options))||jb.set(Ba.options,Qa=Ba.options.map(sb=>sb.completion));return Qa};m.deleteBracketPair=kc;m.hasNextSnippetField=function(Ba){let Qa=Ba.field(xa,!1);return!(!Qa||!Qa.ranges.some(sb=>sb.field==Qa.active+1))};m.hasPrevSnippetField=function(Ba){Ba=Ba.field(xa,!1);return!!(Ba&&0{for(let ub=rb.syntaxTree(sb.state).resolveInner(sb.pos,-1);ub;ub=ub.parent){if(-1{for(let ub=rb.syntaxTree(sb.state).resolveInner(sb.pos,-1);ub;ub=ub.parent){if(-1=p.stack[z.depth+1].value+z.baseIndent)return!0;if(z.indent>=z.baseIndent+4)return!1;let H=(k.type==ha.OrderedList?Sa:Za)(z,p,!1);return 0nb(z,p,!1))&&z.text.charCodeAt(z.pos+H-1)==k.value}function Ea(k){return 32==k||9==k||10==k||13==k}function Ka(k,p=0){for(;pz&&Ea(k.charCodeAt(p-1));)p--;return p} +function Eb(k){if(96!=k.next&&126!=k.next)return-1;let p=k.pos+1;for(;pH?-1:1}function Ib(k,p){for(let z= +k.stack.length-1;0<=z;z--)if(k.stack[z].type==p)return!0;return!1}function Za(k,p,z){return 45!=k.next&&43!=k.next&&42!=k.next||k.pos!=k.text.length-1&&!Ea(k.text.charCodeAt(k.pos+1))||!(!z||Ib(p,ha.BulletList)||k.skipSpace(k.pos+2)=T)H++;else break;if(H==k.text.length)return-1;T=k.text.charCodeAt(H)}return H==k.pos||H>k.pos+9||46!=T&&41!=T||Hk.pos+1||49!=k.next)?-1:H+1-k.pos}function Jb(k){if(35!=k.next)return-1;let p=k.pos+1;for(;p=k.baseIndent+4)return-1;let p=k.pos+1;for(;p=z+5?z+1:k}function Kb(k,p,z){let H=k.length-1;0<=H&&k[H].to==p&&k[H].type==ha.CodeText?k[H].to=z:k.push(va(ha.CodeText,p,z))}function pb(k,p){for(;p=ca:g>ca;){let r=k[p+1].from- +ca;H+=r;g+=r;p++;ca=k[p].to}}let ca=k[p].to,d=[],h=[],q=z.from+H;for(let g=z.firstChild;g;g=g.nextSibling){Z(g.from+H,!0);let l=g.from+H;var v=void 0;v=T.get(g.tree);v||(g.to+H>ca?(v=$a(k,p,g,H,T),Z(g.to+H,!1)):v=g.toTree());d.push(v);h.push(l-q)}Z(z.to+H,!1);return new Ma.Tree(z.type,d,h,z.to+H-q,z.tree?z.tree.propValues:void 0)}function Wa(k){return null!=k&&0z(H(T,Z,ca,d),Z,ca,d):z:H}}function eb(k,p){k=k.indexOf(p);if(0>k)throw new RangeError(`Position specified relative to unknown parser ${p}`);return k}function va(k,p,z,H){return new zb(k, +p,z,H)}function xb(k,p,z){if(60==k.charCodeAt(p)){for(var H=p+1;Hp?va(ha.URL,p+z,T+z):T==k.length?null:!1}function Fb(k,p,z){var H=k.charCodeAt(p);if(39!=H&&34!=H&&40!=H)return!1;H=40==H?41:H;for(let T=p+1,Z=!1;TZ&&H.push({from:Z,to:k});if(!T)break;Z=T.to}return H}function Gb(k,p,z=0,H,T=0){let Z=0,ca=!0,d=-1,h=-1,q=!1,v=()=>{H.push(k.elt("TableCell",T+d,T+h,k.parser.parseInline(p.slice(d,h),T+d)))};for(;zd&&(d=z),h=z+1;q=!q&&92==g}-1{if(T!=k||H.char(Z+1)==k)return-1;T=[H.elt(z,Z,Z+1)];for(let ca=Z+1;canew Ma.Tree(Ma.NodeType.none,H,T, +Z,this.hashProp)})}}var ha;(function(k){k[k.Document=1]="Document";k[k.CodeBlock=2]="CodeBlock";k[k.FencedCode=3]="FencedCode";k[k.Blockquote=4]="Blockquote";k[k.HorizontalRule=5]="HorizontalRule";k[k.BulletList=6]="BulletList";k[k.OrderedList=7]="OrderedList";k[k.ListItem=8]="ListItem";k[k.ATXHeading1=9]="ATXHeading1";k[k.ATXHeading2=10]="ATXHeading2";k[k.ATXHeading3=11]="ATXHeading3";k[k.ATXHeading4=12]="ATXHeading4";k[k.ATXHeading5=13]="ATXHeading5";k[k.ATXHeading6=14]="ATXHeading6";k[k.SetextHeading1= +15]="SetextHeading1";k[k.SetextHeading2=16]="SetextHeading2";k[k.HTMLBlock=17]="HTMLBlock";k[k.LinkReference=18]="LinkReference";k[k.Paragraph=19]="Paragraph";k[k.CommentBlock=20]="CommentBlock";k[k.ProcessingInstructionBlock=21]="ProcessingInstructionBlock";k[k.Escape=22]="Escape";k[k.Entity=23]="Entity";k[k.HardBreak=24]="HardBreak";k[k.Emphasis=25]="Emphasis";k[k.StrongEmphasis=26]="StrongEmphasis";k[k.Link=27]="Link";k[k.Image=28]="Image";k[k.InlineCode=29]="InlineCode";k[k.HTMLTag=30]="HTMLTag"; +k[k.Comment=31]="Comment";k[k.ProcessingInstruction=32]="ProcessingInstruction";k[k.URL=33]="URL";k[k.HeaderMark=34]="HeaderMark";k[k.QuoteMark=35]="QuoteMark";k[k.ListMark=36]="ListMark";k[k.LinkMark=37]="LinkMark";k[k.EmphasisMark=38]="EmphasisMark";k[k.CodeMark=39]="CodeMark";k[k.CodeText=40]="CodeText";k[k.CodeInfo=41]="CodeInfo";k[k.LinkTitle=42]="LinkTitle";k[k.LinkLabel=43]="LinkLabel"})(ha||(ha={}));class ea{constructor(k,p){this.start=k;this.content=p;this.marks=[];this.parsers=[]}}class la{constructor(){this.text= +"";this.depth=this.basePos=this.baseIndent=0;this.markers=[];this.indent=this.pos=0;this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let k=this.skipSpace(this.basePos);this.indent=this.countIndent(k,this.pos,this.indent);this.pos=k;this.next=k==this.text.length?-1:this.text.charCodeAt(k)}skipSpace(k){return Ka(this.text,k)}reset(k){this.text=k;this.baseIndent=this.basePos=this.pos=this.indent=0;this.forwardInner();for(this.depth=1;this.markers.length;)this.markers.pop()}moveBase(k){this.basePos= +k;this.baseIndent=this.countIndent(k,this.pos,this.indent)}moveBaseColumn(k){this.baseIndent=k;this.basePos=this.findColumn(k)}addMarker(k){this.markers.push(k)}countIndent(k,p=0,z=0){for(;p/,Pb=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*\x3c!--/, +ta],[/^\s*<\?/,Hb],[/^\s*/],[/^\s*/],[/^\s*<\/?(?: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)(?:\s|\/?>|$)/i,ra],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i, +ra]],lb={LinkReference:void 0,IndentedCode(k,p){let z=p.baseIndent+4;if(p.indent=k.stack.length;)if(p.pos==p.text.length){Kb(ca,k.lineStart-1,k.lineStart);for(let d of p.markers)ca.push(d)}else if(p.indentd.type!=ha.CodeText),ca.length&&(p.markers=ca.concat(p.markers)));k.addNode(k.buffer.writeElements(Z,-H).finish(ha.CodeBlock,T-H),H);return!0},FencedCode(k,p){var z=Eb(p);if(0>z)return!1;let H=k.lineStart+p.pos,T=p.next,Z=z-p.pos;var ca=p.skipSpace(z),d=Ra(p.text,p.text.length,ca);z=[va(ha.CodeMark,H,H+Z)];ca= +k.stack.length;ca=!1){d=p.pos;if(4>p.indent-p.baseIndent)for(;d=Z&&p.skipSpace(d)==p.text.length){for(let h of p.markers)z.push(h);z.push(va(ha.CodeMark,k.lineStart+p.pos,k.lineStart+d));k.nextLine();break}else{ca||Kb(z,k.lineStart-1,k.lineStart);for(let h of p.markers)z.push(h);ca=k.lineStart+p.basePos;d=k.lineStart+p.text.length;caz)return!1;k.startContext(ha.Blockquote,p.pos);k.addNode(ha.QuoteMark,k.lineStart+p.pos,k.lineStart+p.pos+1);p.moveBase(p.pos+z);return null},HorizontalRule(k,p){if(0>nb(p,k,!1))return!1;p=k.lineStart+p.pos;k.nextLine();k.addNode(ha.HorizontalRule,p);return!0},BulletList(k,p){let z=Za(p,k,!1);if(0>z)return!1;k.block.type!=ha.BulletList&&k.startContext(ha.BulletList,p.basePos,p.next);let H=ob(p,p.pos+1);k.startContext(ha.ListItem,p.basePos, +H-p.baseIndent);k.addNode(ha.ListMark,k.lineStart+p.pos,k.lineStart+p.pos+z);p.moveBaseColumn(H);return null},OrderedList(k,p){let z=Sa(p,k,!1);if(0>z)return!1;k.block.type!=ha.OrderedList&&k.startContext(ha.OrderedList,p.basePos,p.text.charCodeAt(p.pos+z-1));let H=ob(p,p.pos+z);k.startContext(ha.ListItem,p.basePos,H-p.baseIndent);k.addNode(ha.ListMark,k.lineStart+p.pos,k.lineStart+p.pos+z);p.moveBaseColumn(H);return null},ATXHeading(k,p){let z=Jb(p);if(0>z)return!1;let H=p.pos,T=k.lineStart+H,Z= +Ra(p.text,p.text.length,H),ca=Z;for(;ca>H&&p.text.charCodeAt(ca-1)==p.next;)ca--;ca!=Z&&ca!=H&&Ea(p.text.charCodeAt(ca-1))||(ca=p.text.length);let d=k.buffer.write(ha.HeaderMark,0,z).writeElements(k.parser.parseInline(p.text.slice(H+z+1,ca),T+z+1),-T);caz)return!1;let H=k.lineStart+p.pos,T=Pb[z][1];z=[];let Z=T!=ra;for(;!T.test(p.text)&& +k.nextLine();){if(p.depththis.pos&&(p=Fb(k,p,this.start))){let H=pb(k,p.to-this.start);0H)return!1;p=va(ha.HeaderMark, +k.lineStart+p.pos,k.lineStart+H);k.nextLine();k.addLeafElement(z,va(61==T?ha.SetextHeading1:ha.SetextHeading2,z.start,k.prevLineEnd(),[...k.parser.parseInline(z.content,z.start),p]));return!0}finish(){return!1}}const Na={LinkReference(k,p){return 91==p.content.charCodeAt(0)?new oa(p):null},SetextHeading(){return new Da}},za={text:"",end:0};class Pa{constructor(k,p,z,H){this.parser=k;this.input=p;this.ranges=H;this.line=new la;this.atEnd=!1;this.reusePlaceholders=new Map;this.stoppedAt=null;this.rangeI= +0;this.to=H[H.length-1].to;this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=H[0].from;this.block=Ob.create(ha.Document,0,this.lineStart,0,0);this.stack=[this.block];this.fragments=z.length?new Ub(z,p):null;this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let {line:k}=this;for(;;){for(;k.depth=this.to)return this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1;this.lineStart++;this.absoluteLineStart= +this.absoluteLineEnd+1;this.moveRangeI();this.readLine();return!0}moveRangeI(){for(;this.rangeI=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(k){za.end=k;if(k>=this.to)za.text="";else if(za.text=this.lineChunkAt(k),za.end+=za.text.length,1z?p:p.slice(0,z)}return k+p.length>this.to?p.slice(0,this.to-k):p}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(k,p,z=0){this.block=Ob.create(k,z,this.lineStart+p,this.block.hash,this.lineStart+this.line.text.length);this.stack.push(this.block)}startComposite(k,p,z=0){this.startContext(this.parser.getNodeType(k),p,z)}addNode(k,p,z){"number"==typeof k&&(k=new Ma.Tree(this.parser.nodeSet.types[k],Ha,Ha,(null!==z&&void 0!==z? +z:this.prevLineEnd())-p));this.block.addChild(k,p-this.block.from)}addElement(k){this.block.addChild(k.toTree(this.parser.nodeSet),k.from-this.block.from)}addLeafElement(k,p){this.addNode(this.buffer.writeElements(Ab(p.children,k.marks),-p.from).finish(p.type,p.to-p.from),p.from)}finishContext(){let k=this.stack.pop(),p=this.stack[this.stack.length-1];p.addChild(k.toTree(this.parser.nodeSet),k.from-p.from);this.block=p}finish(){for(;1ua.name==A))continue;M&&(z[w.length]=(ua,Ja,wb)=>M(Ja,wb,ua.value));let aa=w.length,qa=M?["Block","BlockContext"]:I?aa>=ha.ATXHeading1&&aa<=ha.SetextHeading2?["Block","LeafBlock","Heading"]: +["Block","LeafBlock"]:void 0;w.push(Ma.NodeType.define({id:aa,name:A,props:qa&&[[Ma.NodeProp.group,qa]]}));Q&&(v||(v={}),Array.isArray(Q)||Q instanceof xa.Tag?v[A]=Q:Object.assign(v,Q))}p=new Ma.NodeSet(w);v&&(p=p.extend(xa.styleTags(v)))}Wa(k.props)&&(p=p.extend(...k.props));if(Wa(k.remove))for(var l of k.remove)v=this.blockNames.indexOf(l),g=this.inlineNames.indexOf(l),-1=ha.Escape?[]:[[Ma.NodeProp.group,k in ka?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==p});const Ha=[];class Ga{constructor(k){this.nodeSet=k;this.content=[];this.nodes=[]}write(k,p,z,H=0){this.content.push(k, +p,z,4+4*H);return this}writeElements(k,p=0){for(let z of k)z.writeTo(this,p);return this}finish(k,p){return Ma.Tree.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:k,length:p})}}class zb{constructor(k,p,z,H=Ha){this.type=k;this.from=p;this.to=z;this.children=H}writeTo(k,p){let z=k.content.length;k.writeElements(this.children,p);k.content.push(this.type,this.from+p,this.to+p,k.content.length+4-z)}toTree(k){return(new Ga(k)).writeElements(this.children,-this.from).finish(this.type, +this.to-this.from)}}class Ia{constructor(k,p){this.tree=k;this.from=p}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Ha}writeTo(k,p){k.nodes.push(this.tree);k.content.push(k.nodes.length-1,this.from+p,this.to+p,-1)}toTree(){return this.tree}}const ab={resolve:"Emphasis",mark:"EmphasisMark"},$b={resolve:"Emphasis",mark:"EmphasisMark"},jb={},Fa={};class fb{constructor(k,p,z,H){this.type=k;this.from=p;this.to=z;this.side=H}}let ub=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/; +try{ub=RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(k){}const Lb={Escape(k,p,z){if(92!=p||z==k.end-1)return-1;p=k.char(z+1);for(let H=0;32>H;H++)if("!\"#$%\x26'()*+,-./:;\x3c\x3d\x3e?@[\\]^_`{|}~".charCodeAt(H)==p)return k.append(va(ha.Escape,z,z+2));return-1},Entity(k,p,z){return 38!=p?-1:(p=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(k.slice(z+1,z+31)))?k.append(va(ha.Entity,z,z+1+p[0].length)):-1},InlineCode(k,p,z){if(96!=p||z&&96==k.char(z-1))return-1;for(p=z+1;p]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(p);return H?k.append(va(ha.URL,z,z+1+H[0].length)):(H=/^!--[^>](?:-[^-]|[^-])*?--\x3e/i.exec(p))? +k.append(va(ha.Comment,z,z+1+H[0].length)):(H=/^\?[^]*?\?>/.exec(p))?k.append(va(ha.ProcessingInstruction,z,z+1+H[0].length)):(p=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(p))?k.append(va(ha.HTMLTag,z,z+1+p[0].length)):-1},Emphasis(k,p,z){if(95!=p&&42!=p)return-1;let H=z+1;for(;k.char(H)==p;)H++;var T=k.slice(z-1,z),Z=k.slice(H,H+1);let ca=ub.test(T),d=ub.test(Z);T=/\s|^$/.test(T); +let h=/\s|^$/.test(Z);Z=!h&&(!d||T||ca);T=!T&&(!ca||h||d);return k.append(new fb(95==p?ab:$b,z,H,(!Z||42!=p&&T&&!ca?0:1)|(!T||42!=p&&Z&&!d?0:2)))},HardBreak(k,p,z){if(92==p&&10==k.char(z+1))return k.append(va(ha.HardBreak,z,z+2));if(32==p){for(p=z+1;32==k.char(p);)p++;if(10==k.char(p)&&p>=z+2)return k.append(va(ha.HardBreak,z,p+1))}return-1},Link(k,p,z){return 91==p?k.append(new fb(jb,z,z+1,1)):-1},Image(k,p,z){return 33==p&&91==k.char(z+1)?k.append(new fb(Fa,z,z+2,1)):-1},LinkEnd(k,p,z){if(93!=p)return-1; +for(p=k.parts.length-1;0<=p;p--){var H=k.parts[p];if(H instanceof fb&&(H.type==jb||H.type==Fa)){if(!H.side||k.skipSpace(H.to)==z&&!/[(\[]/.test(k.slice(z+1,z+2))){k.parts[p]=null;break}var T=k.takeContent(p),Z=k.parts,ca=p;let l=void 0;var d=k;var h=H.type==jb?ha.Link:ha.Image,q=H.from,v=z+1;let {text:r}=d;var g=d.char(v);z=v;T.unshift(va(ha.LinkMark,q,q+(h==ha.Image?2:1)));T.push(va(ha.LinkMark,v-1,v));if(40==g){g=d.skipSpace(v+1);let w=xb(r,g-d.offset,d.offset);w&&(g=d.skipSpace(w.to),(l=Fb(r,g- +d.offset,d.offset))&&(g=d.skipSpace(l.to)));41==d.char(g)&&(T.push(va(ha.LinkMark,v,v+1)),z=g+1,w&&T.push(w),l&&T.push(l),T.push(va(ha.LinkMark,g,z)))}else 91==g&&(d=Zb(r,v-d.offset,d.offset,!1))&&(T.push(d),z=d.to);d=va(h,q,z,T);Z=Z[ca]=d;if(H.type==jb)for(H=0;H=this.end?-1:this.text.charCodeAt(k-this.offset)}get end(){return this.offset+ +this.text.length}slice(k,p){return this.text.slice(k-this.offset,p-this.offset)}append(k){this.parts.push(k);return k.to}addDelimiter(k,p,z,H,T){return this.append(new fb(k,p,z,(H?1:0)|(T?2:0)))}addElement(k){return this.append(k)}resolveMarkers(k){for(var p=k;p=k;h--){var T=this.parts[h];if(T instanceof fb&&T.side&1&&T.type==z.type&& +!(ca&&(z.side&1||T.side&2)&&0==(T.to-T.from+H)%3&&((T.to-T.from)%3||H%3))){d=T;break}}if(!d)continue;let q=z.type.resolve;var Z=[];T=d.from;let v=z.to;ca&&(H=Math.min(2,d.to-d.from,H),T=d.to-H,v=z.from+H,q=1==H?"Emphasis":"StrongEmphasis");d.type.mark&&Z.push(this.elt(d.type.mark,T,d.to));for(H=h+1;H(k?k-1:0))return!1;if(0> +this.fragmentEnd){for(var z=this.fragment.to;0=k)return this.fragment.from<=p;if(!z.childAfter(k))return!1}}matches(k){let p=this.cursor.tree;return p&&p.prop(Ma.NodeProp.contextHash)==k}takeNodes(k){let p=this.cursor,z=this.fragment.offset,H=this.fragmentEnd-(this.fragment.openEnd? +1:0),T=k.absoluteLineStart,Z=T,ca=k.block.children.length,d=Z,h=ca;for(;;){if(p.to-z>H){if(p.type.isAnonymous&&p.firstChild())continue;break}let q=Nb(p.from-z,k.ranges);if(p.to-z<=k.ranges[k.rangeI].to)k.addNode(p.tree,q);else{let v=new Ma.Tree(k.parser.nodeSet.types[ha.Paragraph],[],[],0,k.block.hashProp);k.reusePlaceholders.set(v,p.tree);k.addNode(v,q)}p.type.is("Block")&&(0>ec.indexOf(p.type.id)?(Z=p.to-z,ca=k.block.children.length):(Z=d,ca=h,d=p.to-z,h=k.block.children.length));if(!p.nextSibling())break}for(;k.block.children.length> +ca;)k.block.children.pop(),k.block.positions.pop();return Z-T}}Ba=xa.styleTags({"Blockquote/...":xa.tags.quote,HorizontalRule:xa.tags.contentSeparator,"ATXHeading1/... SetextHeading1/...":xa.tags.heading1,"ATXHeading2/... SetextHeading2/...":xa.tags.heading2,"ATXHeading3/...":xa.tags.heading3,"ATXHeading4/...":xa.tags.heading4,"ATXHeading5/...":xa.tags.heading5,"ATXHeading6/...":xa.tags.heading6,"Comment CommentBlock":xa.tags.comment,Escape:xa.tags.escape,Entity:xa.tags.character,"Emphasis/...":xa.tags.emphasis, +"StrongEmphasis/...":xa.tags.strong,"Link/... Image/...":xa.tags.link,"OrderedList/... BulletList/...":xa.tags.list,"BlockQuote/...":xa.tags.quote,"InlineCode CodeText":xa.tags.monospace,URL:xa.tags.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":xa.tags.processingInstruction,"CodeInfo LinkLabel":xa.tags.labelName,LinkTitle:xa.tags.string,Paragraph:xa.tags.content});ka=new cb((new Ma.NodeSet(pa)).extend(Ba),Object.keys(lb).map(k=>lb[k]),Object.keys(lb).map(k=>Na[k]),Object.keys(lb), +[(k,p)=>0<=Jb(p),(k,p)=>0<=Eb(p),(k,p)=>0<=(62!=p.next?-1:32==p.text.charCodeAt(p.pos+1)?2:1),(k,p)=>0<=Za(p,k,!0),(k,p)=>0<=Sa(p,k,!0),(k,p)=>0<=nb(p,k,!0),(k,p)=>0<=sb(p,k,!0)],ka,Object.keys(Lb).map(k=>Lb[k]),Object.keys(Lb),[]);const Mb={resolve:"Strikethrough",mark:"StrikethroughMark"};pa={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":xa.tags.strikethrough}},{name:"StrikethroughMark",style:xa.tags.processingInstruction}],parseInline:[{name:"Strikethrough",parse(k,p,z){if(126!= +p||126!=k.char(z+1)||126==k.char(z+2))return-1;var H=k.slice(z-1,z),T=k.slice(z+2,z+3);p=/\s|^$/.test(H);let Z=/\s|^$/.test(T);H=ub.test(H);T=ub.test(T);return k.addDelimiter(Mb,z,z+2,!Z&&(!T||p||H),!p&&(!H||Z||T))},after:"Emphasis"}]};const Bb=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class yb{constructor(){this.rows=null}nextLine(k,p,z){if(null==this.rows){this.rows=!1;let H;if((45==p.next||58==p.next||124==p.next)&&Bb.test(H=p.text.slice(p.pos))){let T=[];Gb(k,z.content,0,T,z.start)==Gb(k,H,p.pos)&& +(this.rows=[k.elt("TableHeader",z.start,z.start+z.content.length,T),k.elt("TableDelimiter",k.lineStart+p.pos,k.lineStart+p.text.length)])}}else this.rows&&(z=[],Gb(k,p.text,p.pos,z,k.lineStart),this.rows.push(k.elt("TableRow",k.lineStart+p.pos,k.lineStart+p.text.length,z)));return!1}finish(k,p){if(!this.rows)return!1;k.addLeafElement(p,k.elt("Table",p.start,p.start+p.content.length,this.rows));return!0}}Ba={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":xa.tags.heading}}, +"TableRow",{name:"TableCell",style:xa.tags.content},{name:"TableDelimiter",style:xa.tags.processingInstruction}],parseBlock:[{name:"Table",leaf(k,p){return tb(p.content,0)?new yb:null},endLeaf(k,p,z){if(z.parsers.some(H=>H instanceof yb)||!tb(p.text,p.basePos))return!1;z=k.scanLine(k.absoluteLineEnd+1).text;return Bb.test(z)&&Gb(k,p.text,p.basePos)==Gb(k,z,p.basePos)},before:"SetextHeading"}]};class Sb{nextLine(){return!1}finish(k,p){k.addLeafElement(p,k.elt("Task",p.start,p.start+p.content.length, +[k.elt("TaskMarker",p.start,p.start+3),...k.parser.parseInline(p.content.slice(3),p.start+3)]));return!0}}const Ua={defineNodes:[{name:"Task",block:!0,style:xa.tags.list},{name:"TaskMarker",style:xa.tags.atom}],parseBlock:[{name:"TaskList",leaf(k,p){return/^\[[ xX]\][ \t]/.test(p.content)&&"ListItem"==k.parentType().name?new Sb:null},after:"SetextHeading"}]},bb=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Cb=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,Db=/[\w-]+\.[\w-]+($|\/)/,db=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy, +Ta=/\/[a-zA-Z\d@.]+/gy,cc={parseInline:[{name:"Autolink",parse(k,p,z){var H=z-k.offset;bb.lastIndex=H;var T=bb.exec(k.text);if(!T)return-1;if(T[1]||T[2])if(p=k.text,T=H+T[0].length,Cb.lastIndex=T,H=Cb.exec(p),!H||-1Tb(p,T,H,"("))H--;else if(";"==ca&&(Z=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(p.slice(T,H))))H=T+Z.index;else break}Z=H}else T[3]?Z=Xa(k.text,H):(Z=Xa(k.text,H+T[0].length), +-1Z)return-1;k.addElement(k.elt("URL",z,Z+k.offset));return Z+k.offset}}]},dc=[Ba,Ua,pa,cc],ic={defineNodes:[{name:"Superscript",style:xa.tags.special(xa.tags.content)},{name:"SuperscriptMark",style:xa.tags.processingInstruction}],parseInline:[{name:"Superscript",parse:kb(94,"Superscript","SuperscriptMark")}]},Qa={defineNodes:[{name:"Subscript",style:xa.tags.special(xa.tags.content)},{name:"SubscriptMark",style:xa.tags.processingInstruction}], +parseInline:[{name:"Subscript",parse:kb(126,"Subscript","SubscriptMark")}]},Xb={defineNodes:[{name:"Emoji",style:xa.tags.character}],parseInline:[{name:"Emoji",parse(k,p,z){let H;return 58==p&&(H=/^[a-zA-Z_0-9]+:/.exec(k.slice(z+1,k.end)))?k.addElement(k.elt("Emoji",z,z+1+H[0].length)):-1}}]};C.Autolink=cc;C.BlockContext=Pa;C.Element=zb;C.Emoji=Xb;C.GFM=dc;C.InlineContext=Wb;C.LeafBlock=ea;C.Line=la;C.MarkdownParser=cb;C.Strikethrough=pa;C.Subscript=Qa;C.Superscript=ic;C.Table=Ba;C.TaskList=Ua;C.parseCode= +function(k){let {codeParser:p,htmlParser:z}=k;return{wrap:Ma.parseMixed((H,T)=>{let Z=H.type.id;if(p&&(Z==ha.CodeBlock||Z==ha.FencedCode)){let ca="";Z==ha.FencedCode&&(H=H.node.getChild(ha.CodeInfo))&&(ca=T.read(H.from,H.to));if(T=p(ca))return{parser:T,overlay:d=>d.type.id==ha.CodeText}}else if(z&&(Z==ha.HTMLBlock||Z==ha.HTMLTag))return{parser:z,overlay:rb(H.node,H.from,H.to)};return null})}};C.parser=ka}; +shadow$provide[192]=function(ka,pa,Ba,C){function Ca(t,E){return({state:K,dispatch:J})=>{if(K.readOnly)return!1;let O=t(E,K);if(!O)return!1;J(K.update(O));return!0}}function Ea(t,E){t=t.languageDataAt("commentTokens",E);return t.length?t[0]:{}}function Ka(t,{open:E,close:K},J,O){var P=t.sliceDoc(J-50,J),Y=t.sliceDoc(O,O+50),ia=/\s*$/.exec(P)[0].length,na=/^\s*/.exec(Y)[0].length;let La=P.length-ia;if(P.slice(La-E.length,La)==E&&Y.slice(na,na+K.length)==K)return{open:{pos:J-ia,margin:ia&&1},close:{pos:O+ +na,margin:na&&1}};100>=O-J?P=t=t.sliceDoc(J,O):(P=t.sliceDoc(J,J+50),t=t.sliceDoc(O-50,O));Y=/^\s*/.exec(P)[0].length;ia=/\s*$/.exec(t)[0].length;na=t.length-ia-K.length;return P.slice(Y,Y+E.length)==E&&t.slice(na,na+K.length)==K?{open:{pos:J+Y+E.length,margin:/\s/.test(P.charAt(Y+E.length))?1:0},close:{pos:O-ia-K.length,margin:/\s/.test(t.charAt(na-1))?1:0}}:null}function Ra(t,E,K=E.selection.ranges){let J=K.map(P=>Ea(E,P.from).block);if(!J.every(P=>P))return null;let O=K.map((P,Y)=>Ka(E,J[Y],P.from, +P.to));if(2!=t&&!O.every(P=>P))return{changes:E.changes(K.map((P,Y)=>O[Y]?[]:[{from:P.from,insert:J[Y].open+" "},{from:P.to,insert:" "+J[Y].close}]))};if(1!=t&&O.some(P=>P)){t=[];for(let P=0,Y;PO&&(ia==na||na>Y.from)){O=Y.from;let Ya=/^\s*/.exec(Y.text)[0].length,qc=Ya==Y.length,mc=Y.text.slice(Ya,Ya+P.length)==P?Ya:-1;YaLa)for(P=K;P0>ia.comment&&(!ia.empty||ia.single))){t=[];for(let {line:ia,token:na, +indent:La,empty:Ya,single:qc}of J)!qc&&Ya||t.push({from:ia.from+La,insert:na+" "});J=E.changes(t);return{changes:J,selection:E.selection.map(J,1)}}if(1!=t&&J.some(ia=>0<=ia.comment)){E=[];for(let {line:ia,comment:na,token:La}of J)0<=na&&(J=ia.from+na,t=J+La.length," "==ia.text[t-ia.from]&&t++,E.push({from:J,to:t}));return{changes:E}}return null}function nb(t,E){return function({state:K,dispatch:J}){if(!E&&K.readOnly)return!1;let O=K.field(Lb,!1);if(!O)return!1;K=O.pop(t,K,E);if(!K)return!1;J(K);return!0}} +function Ib(t){return function(E){E=E.field(Lb,!1);if(!E)return 0;E=0==t?E.done:E.undone;return E.length-(E.length&&!E[0].changes?1:0)}}function Za(t,E,K,J){t=t.slice(E+1>K+20?E-K-1:0,E);t.push(J);return t}function Sa(t,E){let K=[],J=!1;t.iterChangedRanges((O,P)=>K.push(O,P));E.iterChangedRanges((O,P,Y,ia)=>{for(O=0;O=P&&Y<=na&&(J=!0)}});return J}function Jb(t,E){return t.ranges.length==E.ranges.length&&0===t.ranges.filter((K,J)=>K.empty!=E.ranges[J].empty).length} +function Rb(t,E){return t.length?E.length?t.concat(E):t:E}function sb(t,E){if(t.length){let K=t[t.length-1],J=K.selectionsAfter.slice(Math.max(0,K.selectionsAfter.length-200));if(J.length&&J[J.length-1].eq(E))return t;J.push(E);return Za(t,t.length-1,1E9,K.setSelAfter(J))}return[Ua.selection([E])]}function ob(t,E){if(!t.length)return t;let K=t.length;for(var J=bb;K;){J=Kb(t[K-1],E,J);if(J.changes&&!J.changes.empty||J.effects.length)return t=t.slice(0,K),t[K-1]=J,t;E=J.mapped;K--;J=J.selectionsAfter}return J.length? +[Ua.selection(J)]:bb}function Kb(t,E,K){K=Rb(t.selectionsAfter.length?t.selectionsAfter.map(Y=>Y.map(E)):bb,K);if(!t.changes)return Ua.selection(K);let J=t.changes.map(E),O=E.mapDesc(t.changes,!0),P=t.mapped?t.mapped.composeDesc(O):O;return new Ua(J,oa.StateEffect.mapEffects(t.effects,E),P,t.startSelection.map(O),K)}function pb(t,E){return oa.EditorSelection.create(t.ranges.map(E),t.mainIndex)}function $a(t,E){return t.update({selection:E,scrollIntoView:!0,userEvent:"select"})}function Wa({state:t, +dispatch:E},K){K=pb(t.selection,K);if(K.eq(t.selection))return!1;E($a(t,K));return!0}function qb(t,E){return oa.EditorSelection.cursor(E?t.to:t.from)}function eb(t,E){return Wa(t,K=>K.empty?t.moveByChar(K,E):qb(K,E))}function va(t){return t.textDirectionAt(t.state.selection.main.head)==Da.Direction.LTR}function xb(t,E){return Wa(t,K=>K.empty?t.moveByGroup(K,E):qb(K,E))}function Fb(t,E,K){let J=t.state.charCategorizer(E.from),O=oa.CharCategory.Space,P=E.from,Y=0,ia=!1,na=!1,La=!1,Ya=nc=>{if(ia)return!1; +P+=K?nc.length:-nc.length;let Dc=J(nc),Lc;Dc==oa.CharCategory.Word&&128>nc.charCodeAt(0)&&/[\W_]/.test(nc)&&(Dc=-1);O==oa.CharCategory.Space&&(O=Dc);if(O!=Dc)return!1;if(O==oa.CharCategory.Word)if(nc.toLowerCase()==nc){if(!K&&na)return!1;La=!0}else if(La){if(K)return!1;ia=!0}else{if(na&&K&&J(Lc=t.state.sliceDoc(P,P+1))==oa.CharCategory.Word&&Lc.toLowerCase()==Lc)return!1;na=!0}Y++;return!0},qc=t.moveByChar(E,K,nc=>{Ya(nc);return Ya});if(Qa&&O==oa.CharCategory.Word&&qc.from==E.from+Y*(K?1:-1)){var mc= +t.state.sliceDoc(Math.min(E.head,qc.head),Math.max(E.head,qc.head));if(1K.empty?Fb(t,K,E):qb(K,E))}function Ab(t,E,K){let J=Na.syntaxTree(t).resolveInner(E.head),O=K?za.NodeProp.closedBy:za.NodeProp.openedBy;for(E=E.head;;){let na=K?J.childAfter(E):J.childBefore(E); +if(!na)break;a:{var P=t;var Y=na;if(Y.type.prop(O)){P=!0;break a}let La=Y.to-Y.from;P=La&&(2{if(!K.empty)return qb(K,E);let J=t.moveVertically(K,E);return J.head!=K.head?J:t.moveToLineBoundary(K,E)})} +function rb(t){let E=t.scrollDOM.clientHeightia.empty?t.moveVertically(ia,E,K.height):qb(ia,E));if(O.eq(J.selection))return!1;let P;if(K.selfScroll){let ia=t.coordsAtPos(J.selection.main.head);var Y=t.scrollDOM.getBoundingClientRect();let na=Y.top+K.marginTop;Y=Y.bottom-K.marginBottom;ia&&ia.top>na&&ia.bottom{var Y=Na.matchBrackets(t,P.head,-1)||Na.matchBrackets(t,P.head,1)||0{let O=E(J);return oa.EditorSelection.range(J.anchor,O.head,O.goalColumn,O.bidiLevel||void 0)});if(K.eq(t.state.selection))return!1;t.dispatch($a(t.state,K));return!0}function kb(t,E){return Xa(t,K=>t.moveByChar(K,E))}function Ma(t,E){return Xa(t,K=>t.moveByGroup(K,E))}function xa(t,E){return Xa(t,K=>Fb(t,K,E))}function Ob(t, +E){return Xa(t,K=>t.moveVertically(K,E))}function ha(t,E){return Xa(t,K=>t.moveVertically(K,E,rb(t).height))}function ea(t,E){if(t.state.readOnly)return!1;let K="delete.selection",{state:J}=t,O=J.changeByRange(P=>{let {from:Y,to:ia}=P;if(Y==ia){let na=E(P);naY&&(K="delete.forward",na=la(t,na,!0));Y=Math.min(Y,na);ia=Math.max(ia,na)}else Y=la(t,Y,!1),ia=la(t,ia,!0);return Y==ia?{range:P}:{changes:{from:Y,to:ia},range:oa.EditorSelection.cursor(Y,YO(t)))J.between(E,E,(O,P)=>{OE&&(E=K?P:O)});return E}function ra(t){let E=[];var K=-1;for(let J of t.selection.ranges){let O=t.doc.lineAt(J.from),P=t.doc.lineAt(J.to);J.empty||J.to!=P.from||(P= +t.doc.lineAt(J.to-1));K>=O.number?(K=E[E.length-1],K.to=P.to,K.ranges.push(J)):E.push({from:O.from,to:P.to,ranges:[J]});K=P.number+1}return E}function ta(t,E,K){if(t.readOnly)return!1;let J=[],O=[];for(let P of ra(t)){if(K?P.to==t.doc.length:0==P.from)continue;let Y=t.doc.lineAt(K?P.to+1:P.from-1),ia=Y.length+1;if(K){J.push({from:P.to,to:Y.to},{from:P.from,insert:Y.text+t.lineBreak});for(let na of P.ranges)O.push(oa.EditorSelection.range(Math.min(t.doc.length,na.anchor+ia),Math.min(t.doc.length,na.head+ +ia)))}else{J.push({from:Y.from,to:P.from},{from:P.to,insert:t.lineBreak+Y.text});for(let na of P.ranges)O.push(oa.EditorSelection.range(na.anchor-ia,na.head-ia))}}if(!J.length)return!1;E(t.update({changes:J,scrollIntoView:!0,selection:oa.EditorSelection.create(O,t.selection.mainIndex),userEvent:"move.line"}));return!0}function Hb(t,E,K){if(t.readOnly)return!1;let J=[];for(let O of ra(t))K?J.push({from:O.from,insert:t.doc.slice(O.from,O.to)+t.lineBreak}):J.push({from:O.to,insert:t.lineBreak+t.doc.slice(O.from, +O.to)});E(t.update({changes:J,scrollIntoView:!0,userEvent:"input.copyline"}));return!0}function Pb(t){return({state:E,dispatch:K})=>{if(E.readOnly)return!1;let J=E.changeByRange(O=>{let {from:P,to:Y}=O;O=E.doc.lineAt(P);var ia;if(ia=!t&&P==Y)if(ia=P,/\(\)|\[\]|\{\}/.test(E.sliceDoc(ia-1,ia+1)))ia={from:ia,to:ia};else{var na=Na.syntaxTree(E).resolveInner(ia),La=na.childBefore(ia);na=na.childAfter(ia);var Ya;ia=La&&na&&La.to<=ia&&na.from>=ia&&(Ya=La.type.prop(za.NodeProp.closedBy))&&-1O.from&&P{let O=[];for(var P=J.from;P<=J.to;)P=t.doc.lineAt(P),P.number>K&&(J.empty||J.to>P.from)&&(E(P,O,J),K=P.number),P=P.to+1;P=t.changes(O);return{changes:O,range:oa.EditorSelection.range(P.mapPos(J.anchor,1),P.mapPos(J.head,1))}})} +var oa=pa(1),Da=pa(4),Na=pa(6),za=pa(0);const Pa=t=>{var {state:E}=t;E=E.doc.lineAt(E.selection.main.from);E=Ea(t.state,E.from);return E.line?cb(t):E.block?$b(t):!1},cb=Ca(Eb,0),Ha=Ca(Eb,1),Ga=Ca(Eb,2),zb=Ca(Ra,0),Ia=Ca(Ra,1),ab=Ca(Ra,2),$b=Ca((t,E)=>{let K=[];for(let J of E.selection.ranges){let O=E.doc.lineAt(J.from),P=J.to<=O.to?O:E.doc.lineAt(J.to),Y=K.length-1;0<=Y&&K[Y].to>O.from?K[Y].to=P.to:K.push({from:O.from+/^\s*/.exec(O.text)[0].length,to:P.to})}return Ra(t,E,K)},0),jb=oa.Annotation.define(), +Fa=oa.Annotation.define(),fb=oa.Facet.define(),ub=oa.Facet.define({combine(t){return oa.combineConfig(t,{minDepth:100,newGroupDelay:500,joinToEvent:(E,K)=>K},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(E,K)=>(J,O)=>E(J,O)||K(J,O)})}}),Lb=oa.StateField.define({create(){return Db.empty},update(t,E){let K=E.state.facet(ub);var J=E.annotation(jb);if(J){var O=Ua.fromTransaction(E,J.selection),P=J.side;t=0==P?t.undone:t.done;t=O?Za(t,t.length,K.minDepth,O):sb(t,E.startState.selection);return new Db(0== +P?J.rest:t,0==P?t:J.rest)}J=E.annotation(Fa);if("full"==J||"before"==J)t=t.isolate();if(!1===E.annotation(oa.Transaction.addToHistory))return E.changes.empty?t:t.addMapping(E.changes.desc);O=Ua.fromTransaction(E);P=E.annotation(oa.Transaction.time);let Y=E.annotation(oa.Transaction.userEvent);O?t=t.addChanges(O,P,Y,K,E):E.selection&&(t=t.addSelection(E.startState.selection,P,Y,K.newGroupDelay));if("full"==J||"after"==J)t=t.isolate();return t},toJSON(t){return{done:t.done.map(E=>E.toJSON()),undone:t.undone.map(E=> +E.toJSON())}},fromJSON(t){return new Db(t.done.map(Ua.fromJSON),t.undone.map(Ua.fromJSON))}}),Wb=Lb,ec=nb(0,!1),Ub=nb(1,!1),Mb=nb(0,!0),Bb=nb(1,!0),yb=Ib(0),Sb=Ib(1);class Ua{constructor(t,E,K,J,O){this.changes=t;this.effects=E;this.mapped=K;this.startSelection=J;this.selectionsAfter=O}setSelAfter(t){return new Ua(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,E,K;return{changes:null===(t=this.changes)||void 0===t?void 0:t.toJSON(),mapped:null===(E=this.mapped)||void 0=== +E?void 0:E.toJSON(),startSelection:null===(K=this.startSelection)||void 0===K?void 0:K.toJSON(),selectionsAfter:this.selectionsAfter.map(J=>J.toJSON())}}static fromJSON(t){return new Ua(t.changes&&oa.ChangeSet.fromJSON(t.changes),[],t.mapped&&oa.ChangeDesc.fromJSON(t.mapped),t.startSelection&&oa.EditorSelection.fromJSON(t.startSelection),t.selectionsAfter.map(oa.EditorSelection.fromJSON))}static fromTransaction(t,E){let K=bb;for(let J of t.startState.facet(fb)){let O=J(t);O.length&&(K=K.concat(O))}return!K.length&& +t.changes.empty?null:new Ua(t.changes.invert(t.startState.doc),K,void 0,E||t.startState.selection,bb)}static selection(t){return new Ua(void 0,bb,void 0,void 0,t)}}const bb=[],Cb=/^(input\.type|delete)($|\.)/;class Db{constructor(t,E,K=0,J){this.done=t;this.undone=E;this.prevTime=K;this.prevUserEvent=J}isolate(){return this.prevTime?new Db(this.done,this.undone):this}addChanges(t,E,K,J,O){let P=this.done,Y=P[P.length-1];P=Y&&Y.changes&&!Y.changes.empty&&t.changes&&(!K||Cb.test(K))&&(!Y.selectionsAfter.length&& +E-this.prevTimeeb(t,!va(t)),cc=t=>eb(t,va(t)),dc=t=>xb(t,!va(t)),ic=t=>xb(t,va(t)),Qa="undefined"!=typeof Intl&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null,Xb=t=>Wa(t,E=>Ab(t.state,E,!va(t))),k=t=>Wa(t,E=>Ab(t.state,E,va(t))),p=t=>Nb(t,!1),z=t=>Nb(t,!0),H=t=>Gb(t,!1),T=t=>Gb(t,!0),Z=t=>Wa(t,E=>tb(t,E,!0)),ca=t=>Wa(t,E=>tb(t,E,!1)),d=t=>Wa(t,E=>tb(t,E,!va(t))),h= +t=>Wa(t,E=>tb(t,E,va(t))),q=t=>Wa(t,E=>oa.EditorSelection.cursor(t.lineBlockAt(E.head).from,1)),v=t=>Wa(t,E=>oa.EditorSelection.cursor(t.lineBlockAt(E.head).to,-1)),g=({state:t,dispatch:E})=>Tb(t,E,!1),l=t=>kb(t,!va(t)),r=t=>kb(t,va(t)),w=t=>Ma(t,!va(t)),A=t=>Ma(t,va(t)),I=t=>Xa(t,E=>Ab(t.state,E,!va(t))),M=t=>Xa(t,E=>Ab(t.state,E,va(t))),Q=t=>Ob(t,!1),aa=t=>Ob(t,!0),qa=t=>ha(t,!1),ua=t=>ha(t,!0),Ja=t=>Xa(t,E=>tb(t,E,!0)),wb=t=>Xa(t,E=>tb(t,E,!1)),m=t=>Xa(t,E=>tb(t,E,!va(t))),u=t=>Xa(t,E=>tb(t,E, +va(t))),D=t=>Xa(t,E=>oa.EditorSelection.cursor(t.lineBlockAt(E.head).from)),F=t=>Xa(t,E=>oa.EditorSelection.cursor(t.lineBlockAt(E.head).to)),R=({state:t,dispatch:E})=>{E($a(t,{anchor:0}));return!0},X=({state:t,dispatch:E})=>{E($a(t,{anchor:t.doc.length}));return!0},U=({state:t,dispatch:E})=>{E($a(t,{anchor:t.selection.main.anchor,head:0}));return!0},ba=({state:t,dispatch:E})=>{E($a(t,{anchor:t.selection.main.anchor,head:t.doc.length}));return!0},ya=({state:t,dispatch:E})=>{E(t.update({selection:{anchor:0, +head:t.doc.length},userEvent:"select"}));return!0},Oa=({state:t,dispatch:E})=>{let K=ra(t).map(({from:J,to:O})=>oa.EditorSelection.range(J,Math.min(O+1,t.doc.length)));E(t.update({selection:oa.EditorSelection.create(K),userEvent:"select"}));return!0},Qb=({state:t,dispatch:E})=>{let K=pb(t.selection,J=>{for(var O,P=Na.syntaxTree(t).resolveStack(J.from,1);P;P=P.next){let {node:Y}=P;if((Y.from=J.to||Y.to>J.to&&Y.from<=J.from)&&(null===(O=Y.parent)||void 0===O?0:O.parent))return oa.EditorSelection.range(Y.to, +Y.from)}return J});E($a(t,K));return!0},W=({state:t,dispatch:E})=>{let K=t.selection,J=null;1ea(t,K=>{K=K.from;var {state:J}=t,O=J.doc.lineAt(K),P;if(!E&&K>O.from&&Kkc(t,!1),Gc=t=>kc(t,!0),jc=(t,E)=>ea(t,K=>{let J=K.head,{state:O}=t,P=O.doc.lineAt(J),Y=O.charCategorizer(J);for(let ia=null;;){if(J==(E?P.to:P.from)){J==K.head&&P.number!=(E?O.doc.lines:1)&&(J+=E?1:-1);break}let na=oa.findClusterBreak(P.text, +J-P.from,E)+P.from,La=P.text.slice(Math.min(J,na)-P.from,Math.max(J,na)-P.from),Ya=Y(La);if(null!=ia&&Ya!=ia)break;if(" "!=La||J!=K.head)ia=Ya;J=na}return J}),Kc=t=>jc(t,!1),Vb=t=>jc(t,!0),Nc=t=>ea(t,E=>{let K=t.lineBlockAt(E.head).to;return E.headea(t,E=>{let K=t.moveToLineBoundary(E,!1).head;return E.head>K?K:Math.max(0,E.head-1)}),Vc=t=>ea(t,E=>{let K=t.moveToLineBoundary(E,!0).head;return E.head{if(t.readOnly)return!1;let K=t.changeByRange(J=>({changes:{from:J.from,to:J.to,insert:oa.Text.of(["",""])},range:oa.EditorSelection.cursor(J.from)}));E(t.update(K,{scrollIntoView:!0,userEvent:"input"}));return!0},Oc=({state:t,dispatch:E})=>{if(t.readOnly)return!1;let K=t.changeByRange(J=>{if(!J.empty||0==J.from||J.from==t.doc.length)return{range:J};J=J.from;var O=t.doc.lineAt(J);let P=J==O.from?J-1:oa.findClusterBreak(O.text,J-O.from,!1)+O.from;O=J==O.to?J+1:oa.findClusterBreak(O.text, +J-O.from,!0)+O.from;return{changes:{from:P,to:O,insert:t.doc.slice(J,O).append(t.doc.slice(P,J))},range:oa.EditorSelection.cursor(O)}});if(K.changes.empty)return!1;E(t.update(K,{scrollIntoView:!0,userEvent:"move.character"}));return!0},Pc=({state:t,dispatch:E})=>ta(t,E,!1),Wc=({state:t,dispatch:E})=>ta(t,E,!0),Qc=({state:t,dispatch:E})=>Hb(t,E,!1),Hc=({state:t,dispatch:E})=>Hb(t,E,!0),Xc=t=>{if(t.state.readOnly)return!1;let {state:E}=t,K=E.changes(ra(E).map(({from:O,to:P})=>{0t.moveVertically(O,!0)).map(K);t.dispatch({changes:K,selection:J,scrollIntoView:!0,userEvent:"delete.line"});return!0},Rc=Pb(!1),Yc=Pb(!0),Zc=({state:t,dispatch:E})=>{if(t.readOnly)return!1;let K=Object.create(null),J=new Na.IndentContext(t,{overrideIndentation:P=>{P=K[P];return null==P?-1:P}}),O=lb(t,(P,Y,ia)=>{let na=Na.getIndentation(J,P.from);if(null!=na){/\S/.test(P.text)||(na=0);var La=/^\s*/.exec(P.text)[0],Ya=Na.indentString(t,na);if(La!=Ya|| +ia.from{if(t.readOnly)return!1;E(t.update(lb(t,(K,J)=>{J.push({from:K.from,insert:t.facet(Na.indentUnit)})}),{userEvent:"input.indent"}));return!0},sa=({state:t,dispatch:E})=>{if(t.readOnly)return!1;E(t.update(lb(t,(K,J)=>{let O=/^\s*/.exec(K.text)[0];if(O){var P=oa.countColumn(O,t.tabSize),Y=0;for(P=Na.indentString(t,Math.max(0, +P-Na.getIndentUnit(t)));Y({mac:t.key,run:t.run,shift:t.shift}))),zc=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Xb,shift:I},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:k,shift:M},{key:"Alt-ArrowUp",run:Pc},{key:"Shift-Alt-ArrowUp",run:Qc},{key:"Alt-ArrowDown",run:Wc},{key:"Shift-Alt-ArrowDown",run:Hc},{key:"Escape",run:W},{key:"Mod-Enter",run:Yc},{key:"Alt-l",mac:"Ctrl-l",run:Oa},{key:"Mod-i",run:Qb, +preventDefault:!0},{key:"Mod-[",run:sa},{key:"Mod-]",run:Ic},{key:"Mod-Alt-\\",run:Zc},{key:"Shift-Mod-k",run:Xc},{key:"Shift-Mod-\\",run:g},{key:"Mod-/",run:Pa},{key:"Alt-A",run:zb}].concat(tc),Jc={key:"Tab",run:Ic,shift:sa};C.blockComment=Ia;C.blockUncomment=ab;C.copyLineDown=Hc;C.copyLineUp=Qc;C.cursorCharBackward=t=>eb(t,!1);C.cursorCharForward=t=>eb(t,!0);C.cursorCharLeft=Ta;C.cursorCharRight=cc;C.cursorDocEnd=X;C.cursorDocStart=R;C.cursorGroupBackward=t=>xb(t,!1);C.cursorGroupForward=t=>xb(t, +!0);C.cursorGroupLeft=dc;C.cursorGroupRight=ic;C.cursorLineBoundaryBackward=ca;C.cursorLineBoundaryForward=Z;C.cursorLineBoundaryLeft=d;C.cursorLineBoundaryRight=h;C.cursorLineDown=z;C.cursorLineEnd=v;C.cursorLineStart=q;C.cursorLineUp=p;C.cursorMatchingBracket=g;C.cursorPageDown=T;C.cursorPageUp=H;C.cursorSubwordBackward=t=>Zb(t,!1);C.cursorSubwordForward=t=>Zb(t,!0);C.cursorSyntaxLeft=Xb;C.cursorSyntaxRight=k;C.defaultKeymap=zc;C.deleteCharBackward=gc;C.deleteCharForward=Gc;C.deleteGroupBackward= +Kc;C.deleteGroupForward=Vb;C.deleteLine=Xc;C.deleteLineBoundaryBackward=hb;C.deleteLineBoundaryForward=Vc;C.deleteToLineEnd=Nc;C.deleteToLineStart=t=>ea(t,E=>{let K=t.lineBlockAt(E.head).from;return E.head>K?K:Math.max(0,E.head-1)});C.deleteTrailingWhitespace=({state:t,dispatch:E})=>{if(t.readOnly)return!1;let K=[];for(let J=0,O="",P=t.doc.iter();;){P.next();if(P.lineBreak||P.done){let Y=O.search(/\s+$/);-1{E(t.update(t.replaceSelection(t.lineBreak), +{scrollIntoView:!0,userEvent:"input"}));return!0};C.insertNewlineAndIndent=Rc;C.insertTab=({state:t,dispatch:E})=>{if(t.selection.ranges.some(K=>!K.empty))return Ic({state:t,dispatch:E});E(t.update(t.replaceSelection("\t"),{scrollIntoView:!0,userEvent:"input"}));return!0};C.invertedEffects=fb;C.isolateHistory=Fa;C.lineComment=Ha;C.lineUncomment=Ga;C.moveLineDown=Wc;C.moveLineUp=Pc;C.redo=Ub;C.redoDepth=Sb;C.redoSelection=Bb;C.selectAll=ya;C.selectCharBackward=t=>kb(t,!1);C.selectCharForward=t=>kb(t, +!0);C.selectCharLeft=l;C.selectCharRight=r;C.selectDocEnd=ba;C.selectDocStart=U;C.selectGroupBackward=t=>Ma(t,!1);C.selectGroupForward=t=>Ma(t,!0);C.selectGroupLeft=w;C.selectGroupRight=A;C.selectLine=Oa;C.selectLineBoundaryBackward=wb;C.selectLineBoundaryForward=Ja;C.selectLineBoundaryLeft=m;C.selectLineBoundaryRight=u;C.selectLineDown=aa;C.selectLineEnd=F;C.selectLineStart=D;C.selectLineUp=Q;C.selectMatchingBracket=({state:t,dispatch:E})=>Tb(t,E,!0);C.selectPageDown=ua;C.selectPageUp=qa;C.selectParentSyntax= +Qb;C.selectSubwordBackward=t=>xa(t,!1);C.selectSubwordForward=t=>xa(t,!0);C.selectSyntaxLeft=I;C.selectSyntaxRight=M;C.simplifySelection=W;C.splitLine=bc;C.standardKeymap=tc;C.toggleBlockComment=zb;C.toggleBlockCommentByLine=$b;C.toggleComment=Pa;C.toggleLineComment=cb;C.transposeChars=Oc;C.undo=ec;C.undoDepth=yb;C.undoSelection=Mb}; +shadow$provide[193]=function(ka,pa,Ba,C){function Ca(g){g=Object.keys(g).join("");let l=/\w/.test(g);l&&(g=g.replace(/\w/g,""));return`[${l?"\\w":""}${g.replace(/[^\w\s]/g,"\\$\x26")}]`}function Ea(g){var l=Object.create(null);let r=Object.create(null);for(let {label:w}of g)for(l[w[0]]=!0,g=1;g"string"==typeof A?{label:A}:A),[r,w]=l.every(A=>/^\w+$/.test(A.label))?[/\w*$/,/\w+$/]:Ea(l); +return A=>{let I=A.matchBefore(w);return I||A.explicit?{from:I?I.from:A.pos,options:l,validFor:r}:null}}function Ra(g){return g.selection.main.from}function Eb(g,l){var r;let {source:w}=g;l=l&&"^"!=w[0];let A="$"!=w[w.length-1];return l||A?new RegExp(`${l?"^":""}(?:${w})${A?"$":""}`,null!==(r=g.flags)&&void 0!==r?r:g.ignoreCase?"i":""):g}function nb(g,l,r,w){let {main:A}=g.selection,I=r-A.from,M=w-A.from;return Object.assign(Object.assign({},g.changeByRange(Q=>Q!=A&&r!=w&&g.sliceDoc(Q.from+I,Q.from+ +M)!=g.sliceDoc(r,w)?{range:Q}:{changes:{from:Q.from+I,to:w==A.from?Q.to:Q.from+M,insert:l},range:ea.EditorSelection.cursor(Q.from+I+l.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}function Ib(g){if(!Array.isArray(g))return g;let l=lb.get(g);l||lb.set(g,l=Ka(g));return l}function Za(g,l){return g?l?g+" "+l:g:l}function Sa(g,l,r,w,A,I){let M=g=g.textDirection==la.Direction.RTL,Q=!1,aa="top";var qa=l.left-A.left;let ua=A.right-l.right,Ja=w.right-w.left;w=w.bottom-w.top;M&&qa=w||A>l.top?r=r.bottom-l.top:(aa="bottom",r=l.bottom-r.top));return{style:`${aa}: ${r/((l.bottom-l.top)/I.offsetHeight)}px; max-width: ${qa/((l.right-l.left)/I.offsetWidth)}px`,class:"cm-completionInfo-"+(Q?g?"left-narrow":"right-narrow":M?"left":"right")}}function Jb(g){let l=g.addToOptions.slice(); +g.icons&&l.push({render(r){let w=document.createElement("div");w.classList.add("cm-completionIcon");r.type&&w.classList.add(...r.type.split(/\s+/g).map(A=>"cm-completionIcon-"+A));w.setAttribute("aria-hidden","true");return w},position:20});l.push({render(r,w,A,I){w=document.createElement("span");w.className="cm-completionLabel";r=r.displayLabel||r.label;var M=0;for(A=0;AM&&w.appendChild(document.createTextNode(r.slice(M,Q)));M=w.appendChild(document.createElement("span")); +M.appendChild(document.createTextNode(r.slice(Q,aa)));M.className="cm-completionMatchedText";M=aa}Mr.position-w.position).map(r=>r.render)}function Rb(g,l,r){if(g<=r)return{from:0,to:g};0>l&&(l=0);if(l<=g>>1)return g=Math.floor(l/r),{from:g* +r,to:(g+1)*r};l=Math.floor((g-l)/r);return{from:g-(l+1)*r,to:g-l*r}}function sb(g){return 100*(g.boost||0)+(g.apply?10:0)+(g.info?5:0)+(g.type?1:0)}function ob(g,l){let r=[],w=null;var A=ua=>{r.push(ua);({section:ua}=ua.completion);if(ua){w||(w=[]);let Ja="string"==typeof ua?ua:ua.name;w.some(wb=>wb.name==Ja)||w.push("string"==typeof ua?{name:Ja}:ua)}};for(var I of g)if(I.hasResult())if(g=I.result.getMatch,!1===I.result.filter)for(var M of I.result.options)A(new Hb(M,I.source,g?g(M):[],1E9-r.length)); +else{let ua=new Na(l.sliceDoc(I.from,I.to));for(let Ja of I.result.options)if(ua.match(Ja.label)){let wb=Ja.displayLabel?g?g(Ja,ua.matched):[]:ua.matched;A(new Hb(Ja,I.source,wb,ua.score+(Ja.boost||0)))}}if(w){A=Object.create(null);I=0;M=(ua,Ja)=>{var wb,m;return(null!==(wb=ua.rank)&&void 0!==wb?wb:1E9)-(null!==(m=Ja.rank)&&void 0!==m?m:1E9)||(ua.namewb.score-Ja.score||qa(Ja.completion,wb.completion)))l=ua.completion,!Q||Q.label!=l.label||Q.detail!=l.detail||null!=Q.type&&null!=l.type&&Q.type!=l.type||Q.apply!=l.apply||Q.boost!=l.boost?aa.push(ua):sb(ua.completion)>sb(Q)&&(aa[aa.length-1]=ua),Q=ua.completion;return aa}function Kb(g,l){if(g==l)return!0;for(let r=0,w=0;;){for(;rA.source==l.source);if(!(w instanceof ab))return!1;"string"==typeof r?g.dispatch(Object.assign(Object.assign({}, +nb(g.state,r,w.from,w.to)),{annotations:Pb.of(l.completion)})):r(g,l.completion,w.from,w.to);return!0}function qb(g,l="option"){return r=>{var w=r.state.field(Fa,!1);if(!w||!w.open||w.open.disabled||Date.now()-w.open.timestampw?w="page"==l?0:I-1:w>=I&&(w="page"==l?I-1:0);r.dispatch({effects:jb.of(w)});return!0}}function eb(g,l){return ea.EditorSelection.create(g.filter(r=>r.field==l).map(r=>ea.EditorSelection.range(r.from,r.to)))}function va(g){let l=Mb.parse(g);return(r,w,A,I)=>{let {text:M,ranges:Q}=l.instantiate(r.state,A);w={changes:{from:A,to:I,insert:ea.Text.of(M)},scrollIntoView:!0,annotations:w?Pb.of(w):void 0};Q.length&&(w.selection=eb(Q,0));1{let w=l.field(Cb,!1);if(!w||0>g&&0==w.active)return!1;let A=w.active+g,I=0M.field==A+g);r(l.update({selection:eb(w.ranges,A),effects:Ua.of(I?null:new Sb(w.ranges,A)),scrollIntoView:!0}));return!0}}function Fb(g){g=g.replace(/[\]\-\\]/g,"\\$\x26");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${g}]+`,"ug")}catch(l){return new RegExp(`[\w${g}]`, +"g")}}function Zb(g,l){return new RegExp(l(g.source),g.unicode?"u":"")}function Ab(g,l,r,w,A){for(let I=g.iterLines(),M=0;!I.next().done;){({value:g}=I);let Q;for(l.lastIndex=0;Q=l.exec(g);)if(!w[Q[0]]&&M+Q.index!=A&&(r.push({type:"text",label:Q[0]}),w[Q[0]]=!0,2E3<=r.length))return;M+=g.length+1}}function Nb(g,l,r,w,A){let I=1E3<=g.length;var M=I&&l.get(g);if(M)return M;M=[];let Q=Object.create(null);if(g.children){let aa=0;for(let qa of g.children){if(1E3<=qa.length)for(let ua of Nb(qa,l,r,w-aa, +A-aa))Q[ua.label]||(Q[ua.label]=!0,M.push(ua));else Ab(qa,r,M,Q,A-aa);aa+=qa.length+1}}else Ab(g,r,M,Q,A);I&&2E3>M.length&&l.set(g,M);return M}function rb(g){for(let l=0;8>l;l+=2)if("()[]{}\x3c\x3e".charCodeAt(l)==g)return"()[]{}\x3c\x3e".charAt(l+1);return ea.fromCodePoint(128>g?g:g+1)}function Gb(g,l){let r=g.languageDataAt("closeBrackets",g.selection.main.head)[0]||k,w=r.brackets||k.brackets;for(let A of w){let I=rb(ea.codePointAt(A,0));if(l==A)return I==A?Ma(g,A,-1{w==l&&(r=!0)});return r}function Tb(g,l){g=g.sliceString(l,l+2);return g.slice(0,ea.codePointSize(ea.codePointAt(g,0)))}function Xa(g,l,r,w){let A=null,I=g.changeByRange(M=>{if(!M.empty)return{changes:[{insert:l,from:M.from},{insert:r,from:M.to}],effects:p.of(M.to+l.length),range:ea.EditorSelection.range(M.anchor+l.length,M.head+l.length)};let Q=Tb(g.doc, +M.head);return!Q||/\s/.test(Q)||-1A.empty&&Tb(g.doc,A.head)==r?{changes:{from:A.head,to:A.head+r.length,insert:r},range:ea.EditorSelection.cursor(A.head+r.length)}:w={range:A});return w?null:g.update(l,{scrollIntoView:!0,userEvent:"input.type"})} +function Ma(g,l,r,w){let A=w.stringPrefixes||k.stringPrefixes,I=null;w=g.changeByRange(M=>{if(!M.empty)return{changes:[{insert:l,from:M.from},{insert:l,from:M.to}],effects:p.of(M.to+l.length),range:ea.EditorSelection.range(M.anchor+l.length,M.head+l.length)};let Q=M.head,aa=Tb(g.doc,Q),qa;if(aa==l){if(xa(g,Q))return{changes:{insert:l+l,from:Q},effects:p.of(Q+l.length),range:ea.EditorSelection.cursor(Q+l.length)};if(tb(g,Q))return M=r&&g.sliceDoc(Q,Q+3*l.length)==l+l+l?l+l+l:l,{changes:{from:Q,to:Q+ +M.length,insert:M},range:ea.EditorSelection.cursor(Q+M.length)}}else{if(r&&g.sliceDoc(Q-2*l.length,Q)==l+l&&-1<(qa=ha(g,Q-2*l.length,A))&&xa(g,qa))return{changes:{insert:l+l+l+l,from:Q},effects:p.of(Q+l.length),range:ea.EditorSelection.cursor(Q+l.length)};if(g.charCategorizer(Q)(aa)!=ea.CharCategory.Word&&-1Math.max(M,Q.length),0);for(let M=0;5>M;M++){let Q=g.sliceDoc(A.from,Math.min(A.to,A.from+r.length+I)),aa=Q.indexOf(r);if(!aa||-1r.length+aa;){if(g.sliceDoc(l.to-r.length,l.to)==r)return!1;l=l.firstChild}return!0}A=A.to==l&&A.parent; +if(!A)break}return!1}function ha(g,l,r){let w=g.charCategorizer(l);if(w(g.sliceDoc(l-1,l))!=ea.CharCategory.Word)return l;for(let A of r)if(r=l-A.length,g.sliceDoc(r,l)==A&&w(g.sliceDoc(r-1,r))!=ea.CharCategory.Word)return r;return-1}var ea=pa(1),la=pa(4),ra=pa(6);class ta{constructor(g,l,r){this.state=g;this.pos=l;this.explicit=r;this.abortListeners=[]}tokenBefore(g){let l=ra.syntaxTree(this.state).resolveInner(this.pos,-1);for(;l&&0>g.indexOf(l.name);)l=l.parent;return l?{from:l.from,to:this.pos, +text:this.state.sliceDoc(l.from,this.pos),type:l.type}:null}matchBefore(g){var l=this.state.doc.lineAt(this.pos);let r=Math.max(l.from,this.pos-250);l=l.text.slice(r-l.from,this.pos-l.from);g=l.search(Eb(g,!1));return 0>g?null:{from:r+g,to:this.pos,text:l.slice(g)}}get aborted(){return null==this.abortListeners}addEventListener(g,l){"abort"==g&&this.abortListeners&&this.abortListeners.push(l)}}class Hb{constructor(g,l,r,w){this.completion=g;this.source=l;this.match=r;this.score=w}}const Pb=ea.Annotation.define(), +lb=new WeakMap,oa=ea.StateEffect.define(),Da=ea.StateEffect.define();class Na{constructor(g){this.pattern=g;this.chars=[];this.folded=[];this.any=[];this.precise=[];this.byWord=[];this.score=0;this.matched=[];for(let r=0;rM){for(let F=0,R=Math.min(g.length,200);FM&&(aaU?48<=U&&57>=U||97<=U&&122>=U?2:65<=U&&90>=U?1:0:(ba=ea.fromCodePoint(U))!=ba.toLowerCase()?1:ba!=ba.toUpperCase()?2:0;if(!F||1==ya&&u||0==X&&0!=ya)l[qa]==U||r[qa]==U&&(ua=!0)?I[qa++]= +F:I.length&&(D=!1);X=ya;F+=ea.codePointSize(U)}return qa==Q&&0==I[0]&&D?this.result(-100+(ua?-200:0),I,g):Ja==Q&&0==wb?this.ret(-200-g.length+(m==g.length?0:-100),[0,m]):-1"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Sa,compareCompletions:(l,r)=>l.label.localeCompare(r.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(l,r)=>l&&r,closeOnBlur:(l,r)=>l&&r,icons:(l,r)=>l&&r,tooltipClass:(l,r)=>w=>Za(l(w),r(w)), +optionClass:(l,r)=>w=>Za(l(w),r(w)),addToOptions:(l,r)=>l.concat(r)})}});class Pa{constructor(g,l,r){this.view=g;this.stateField=l;this.applyCompletion=r;this.infoDestroy=this.info=null;this.placeInfoReq={read:()=>this.measureInfo(),write:M=>this.placeInfo(M),key:this};this.space=null;this.currentClass="";r=g.state.field(l);let {options:w,selected:A}=r.open,I=g.state.facet(za);this.optionContent=Jb(I);this.optionClass=I.optionClass;this.tooltipClass=I.tooltipClass;this.range=Rb(w.length,A,I.maxRenderedOptions); +this.dom=document.createElement("div");this.dom.className="cm-tooltip-autocomplete";this.updateTooltipClass(g.state);this.dom.addEventListener("mousedown",M=>{let {options:Q}=g.state.field(l).open;for(let aa=M.target,qa;aa&&aa!=this.dom;aa=aa.parentNode)if("LI"==aa.nodeName&&(qa=/-(\d+)$/.exec(aa.id))&&+qa[1]{let Q=g.state.field(this.stateField,!1);Q&&Q.tooltip&&g.state.facet(za).closeOnBlur&& +M.relatedTarget!=g.contentDOM&&g.dispatch({effects:Da.of(null)})});this.showOptions(w,r.id)}mount(){this.updateSel()}showOptions(g,l){this.list&&this.list.remove();this.list=this.dom.appendChild(this.createListBox(g,l,this.range));this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(g){var l;let r=g.state.field(this.stateField),w=g.startState.field(this.stateField);this.updateTooltipClass(g.state);if(r!=w){let {options:A,selected:I,disabled:M}=r.open; +w.open&&w.open.options==A||(this.range=Rb(A.length,I,g.state.facet(za).maxRenderedOptions),this.showOptions(A,r.id));this.updateSel();M!=(null===(l=w.open)||void 0===l?void 0:l.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!M)}}updateTooltipClass(g){g=this.tooltipClass(g);if(g!=this.currentClass){for(let l of this.currentClass.split(" "))l&&this.dom.classList.remove(l);for(let l of g.split(" "))l&&this.dom.classList.add(l);this.currentClass=g}}positioned(g){this.space=g; +this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let g=this.view.state.field(this.stateField);var l=g.open;if(-1=this.range.to)this.range=Rb(l.options.length,l.selected,this.view.state.facet(za).maxRenderedOptions),this.showOptions(l.options,g.id);if(this.updateSelectedOption(l.selected)){this.destroyInfo();let {completion:r}=l.options[l.selected];({info:l}=r);l&&(l="string"===typeof l?document.createTextNode(l):l(r))&&("then"in +l?l.then(w=>{w&&this.view.state.field(this.stateField,!1)==g&&this.addInfoPane(w,r)}).catch(w=>la.logException(this.view.state,w,"completion info")):this.addInfoPane(l,r))}}addInfoPane(g,l){this.destroyInfo();l=this.info=document.createElement("div");l.className="cm-tooltip cm-completionInfo";if(null!=g.nodeType)l.appendChild(g),this.infoDestroy=null;else{let {dom:r,destroy:w}=g;l.appendChild(r);this.infoDestroy=w||null}this.dom.appendChild(l);this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(g){let l= +null;for(let w=this.list.firstChild,A=this.range.from;w;w=w.nextSibling,A++)"LI"==w.nodeName&&w.id?A==g?w.hasAttribute("aria-selected")||(w.setAttribute("aria-selected","true"),l=w):w.hasAttribute("aria-selected")&&w.removeAttribute("aria-selected"):A--;if(l){g=this.list;var r=l;let w=g.getBoundingClientRect();r=r.getBoundingClientRect();let A=w.height/g.offsetHeight;r.topw.bottom&&(g.scrollTop+=(r.bottom-w.bottom)/A)}return l}measureInfo(){var g=this.dom.querySelector("[aria-selected]"); +if(!g||!this.info)return null;let l=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect();g=g.getBoundingClientRect();var w=this.space;w||(w=this.dom.ownerDocument.defaultView||window,w={left:0,top:0,right:w.innerWidth,bottom:w.innerHeight});return g.top>Math.min(w.bottom,l.bottom)-10||g.bottomr.from||0==r.from)&&(A=M,"string"!=typeof I&&I.header?w.appendChild(I.header(I)):w.appendChild(document.createElement("completion-section")).textContent= +M)}I=w.appendChild(document.createElement("li"));I.id=l+"-"+Q;I.setAttribute("role","option");if(M=this.optionClass(aa))I.className=M;for(let ua of this.optionContent)(M=ua(aa,this.view.state,this.view,qa))&&I.appendChild(M)}r.from&&w.classList.add("cm-completionListIncompleteTop");r.to=this.options.length?this:new cb(this.options,pb(l,g),this.tooltip,this.timestamp,g,this.disabled)}static build(g,l,r,w,A){let I=ob(g,l);if(!I.length)return w&&g.some(M=>1==M.state)?new cb(w.options,w.attrs,w.tooltip,w.timestamp,w.selected,!0):null;l=l.facet(za).selectOnOpen?0:-1;if(w&&w.selected!=l&&-1!=w.selected){let M=w.options[w.selected].completion; +for(let Q=0;QQ.hasResult()?Math.min(M,Q.from):M,1E8),create:fb,above:A.aboveCursor},w?w.timestamp:Date.now(),l,!1)}map(g){return new cb(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:g.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Ha{constructor(g,l,r){this.active=g;this.id=l;this.open=r}static start(){return new Ha(zb,"cm-ac-"+Math.floor(2E6*Math.random()).toString(36), +null)}update(g){let {state:l}=g,r=l.facet(za),w=(r.override||l.languageDataAt("autocomplete",Ra(l)).map(Ib)).map(I=>(this.active.find(M=>M.source==I)||new Ia(I,this.active.some(M=>0!=M.state)?1:0)).update(g,r));w.length==this.active.length&&w.every((I,M)=>I==this.active[M])&&(w=this.active);let A=this.open;A&&g.docChanged&&(A=A.map(g.changes));g.selection||w.some(I=>I.hasResult()&&g.changes.touchesRange(I.from,I.to))||!Kb(w,this.active)?A=cb.build(w,l,this.id,A,r):A&&A.disabled&&!w.some(I=>1==I.state)&& +(A=null);!A&&w.every(I=>1!=I.state)&&w.some(I=>I.hasResult())&&(w=w.map(I=>I.hasResult()?new Ia(I.source,0):I));for(let I of g.effects)I.is(jb)&&(A=A&&A.setSelected(I.value,this.id));return w==this.active&&A==this.open?this:new Ha(w,this.id,A)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:Ga}}const Ga={"aria-autocomplete":"list"},zb=[];class Ia{constructor(g,l,r=-1){this.source=g;this.state=l;this.explicitPos=r}hasResult(){return!1}update(g,l){let r= +$a(g),w=this;r?w=w.handleUserEvent(g,r,l):g.docChanged?w=w.handleChange(g):g.selection&&0!=w.state&&(w=new Ia(w.source,0));for(let A of g.effects)if(A.is(oa))w=new Ia(w.source,1,A.value?Ra(g.state):-1);else if(A.is(Da))w=new Ia(w.source,0);else if(A.is($b))for(let I of A.value)I.source==w.source&&(w=I);return w}handleUserEvent(g,l,r){return"delete"!=l&&r.activateOnTyping?new Ia(this.source,1):this.map(g.changes)}handleChange(g){return g.changes.touchesRange(Ra(g.startState))?new Ia(this.source,0): +this.map(g.changes)}map(g){return g.empty||0>this.explicitPos?this:new Ia(this.source,this.state,g.mapPos(this.explicitPos))}}class ab extends Ia{constructor(g,l,r,w,A){super(g,2,l);this.result=r;this.from=w;this.to=A}hasResult(){return!0}handleUserEvent(g,l,r){var w;let A=g.changes.mapPos(this.from),I=g.changes.mapPos(this.to,1),M=Ra(g.state);if((0>this.explicitPos?M<=A:MI||"delete"==l&&Ra(g.startState)==this.from)return new Ia(this.source,"input"==l&&r.activateOnTyping?1:0);l=0>this.explicitPos? +-1:g.changes.mapPos(this.explicitPos);let Q;r=this.result.validFor;var aa=g.state;if(r){var qa=aa.sliceDoc(A,I);r="function"==typeof r?r(qa,A,I,aa):Eb(r,!0).test(qa)}else r=!1;return r?new ab(this.source,l,this.result,A,I):this.result.update&&(Q=this.result.update(this.result,A,I,new ta(g.state,M,0<=l)))?new ab(this.source,l,Q,Q.from,null!==(w=Q.to)&&void 0!==w?w:Ra(g.state)):new Ia(this.source,1,l)}handleChange(g){return g.changes.touchesRange(this.from,this.to)?new Ia(this.source,0):this.map(g.changes)}map(g){return g.empty? +this:new ab(this.source,0>this.explicitPos?-1:g.mapPos(this.explicitPos),this.result,g.mapPos(this.from),g.mapPos(this.to,1))}}const $b=ea.StateEffect.define({map(g,l){return g.map(r=>r.map(l))}}),jb=ea.StateEffect.define(),Fa=ea.StateField.define({create(){return Ha.start()},update(g,l){return g.update(l)},provide:g=>[la.showTooltip.from(g,l=>l.tooltip),la.EditorView.contentAttributes.from(g,l=>l.attrs)]}),fb=function(g,l){return r=>new Pa(r,g,l)}(Fa,Wa);ka=g=>{let l=g.state.field(Fa,!1);return g.state.readOnly|| +!l||!l.open||0>l.open.selected||l.open.disabled||Date.now()-l.open.timestamp{if(!g.state.field(Fa,!1))return!1;g.dispatch({effects:oa.of(!0)});return!0};Ba=g=>{let l=g.state.field(Fa,!1);if(!l||!l.active.some(r=>0!=r.state))return!1;g.dispatch({effects:Da.of(null)});return!0};class ub{constructor(g,l){this.active=g;this.context=l;this.time=Date.now();this.updates=[];this.done=void 0}}const Lb=la.ViewPlugin.fromClass(class{constructor(g){this.view= +g;this.debounceUpdate=-1;this.running=[];this.debounceAccept=-1;this.composing=0;for(let l of g.state.field(Fa).active)1==l.state&&this.startQuery(l)}update(g){let l=g.state.field(Fa);if(g.selectionSet||g.docChanged||g.startState.field(Fa)!=l){var r=g.transactions.some(w=>(w.selection||w.docChanged)&&!$a(w));for(let w=0;w1==w.state&&!this.running.some(A=>A.active.source==w.source))?setTimeout(()=>this.startUpdate(),50):-1;if(0!=this.composing)for(let w of g.transactions)"input"==$a(w)?this.composing=2:2==this.composing&&w.selection&&(this.composing=3)}}startUpdate(){this.debounceUpdate=-1;var {state:g}=this.view;g=g.field(Fa); +for(let l of g.active)1!=l.state||this.running.some(r=>r.active.source==l.source)||this.startQuery(l)}startQuery(g){var {state:l}=this.view;let r=Ra(l);l=new ta(l,r,g.explicitPos==r);let w=new ub(g,l);this.running.push(w);Promise.resolve(g.source(l)).then(A=>{w.context.aborted||(w.done=A||null,this.scheduleAccept())},A=>{this.view.dispatch({effects:Da.of(null)});la.logException(this.view.state,A)})}scheduleAccept(){this.running.every(g=>void 0!==g.done)?this.accept():0>this.debounceAccept&&(this.debounceAccept= +setTimeout(()=>this.accept(),this.view.state.facet(za).updateSyncTime))}accept(){var g;-1M.source==I.active.source))&&1==w.state)if(null==I.done){w=new Ia(I.active.source,0);for(let M of I.updates)w=w.update(M,r);1!=w.state&&l.push(w)}else this.startQuery(w)}}l.length&&this.view.dispatch({effects:$b.of(l)})}},{eventHandlers:{blur(g){var l=this.view.state.field(Fa,!1);l&&l.tooltip&&this.view.state.facet(za).closeOnBlur&&((l=l.open&&la.getTooltip(this.view,l.open.tooltip))&&l.dom.contains(g.relatedTarget)|| +this.view.dispatch({effects:Da.of(null)}))},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:oa.of(!1)}),20);this.composing=0}}}),Wb=la.EditorView.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"\x26 \x3e ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"\x26 \x3e li, \x26 \x3e completion-section":{padding:"1px 3px", +lineHeight:1.2},"\x26 \x3e li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"\x26 \x3e completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"\x26light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"\x26light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"\x26dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"\x26dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"}, +".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"}, +"\x26light .cm-snippetField":{backgroundColor:"#00000022"},"\x26dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em", +opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"\x26:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"\x26:after":{content:"'○'"}},".cm-completionIcon-interface":{"\x26:after":{content:"'◌'"}},".cm-completionIcon-variable":{"\x26:after":{content:"'\ud835\udc65'"}},".cm-completionIcon-constant":{"\x26:after":{content:"'\ud835\udc36'"}},".cm-completionIcon-type":{"\x26:after":{content:"'\ud835\udc61'"}},".cm-completionIcon-enum":{"\x26:after":{content:"'∪'"}}, +".cm-completionIcon-property":{"\x26:after":{content:"'□'"}},".cm-completionIcon-keyword":{"\x26:after":{content:"'\ud83d\udd11︎'"}},".cm-completionIcon-namespace":{"\x26:after":{content:"'▢'"}},".cm-completionIcon-text":{"\x26:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class ec{constructor(g,l,r,w){this.field=g;this.line=l;this.from=r;this.to=w}}class Ub{constructor(g,l,r){this.field=g;this.from=l;this.to=r}map(g){let l=g.mapPos(this.from,-1,ea.MapMode.TrackDel);g=g.mapPos(this.to, +1,ea.MapMode.TrackDel);return null==l||null==g?null:new Ub(this.field,l,g)}}class Mb{constructor(g,l){this.lines=g;this.fieldPositions=l}instantiate(g,l){let r=[],w=[l];var A=g.doc.lineAt(l);A=/^\s*/.exec(A.text)[0];for(let I of this.lines){if(r.length){let M=A,Q=/^\t*/.exec(I)[0].length;for(let aa=0;aanew Ub(I.field,w[I.line]+I.from,w[I.line]+I.to));return{text:r,ranges:g}}static parse(g){let l= +[],r=[],w=[];for(let I of g.split(/\r\n?|\n/)){for(;g=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(I);){let M=g[1]?+g[1]:null,Q=g[2]||g[3]||"";var A=-1;for(let aa=0;aaA){for(A=0;A=A&&aa.field++}w.push(new ec(A,r.length,g.index,g.index+Q.length));I=I.slice(0,g.index)+Q+I.slice(g.index+g[0].length)}for(;g=/\\([{}])/.exec(I);){I= +I.slice(0,g.index)+g[1]+I.slice(g.index+g[0].length);for(let M of w)M.line==r.length&&M.from>g.index&&(M.from--,M.to--)}r.push(I)}return new Mb(r,w)}}let Bb=la.Decoration.widget({widget:new class extends la.WidgetType{toDOM(){let g=document.createElement("span");g.className="cm-snippetFieldPosition";return g}ignoreEvent(){return!1}}}),yb=la.Decoration.mark({class:"cm-snippetField"});class Sb{constructor(g,l){this.ranges=g;this.active=l;this.deco=la.Decoration.set(g.map(r=>(r.from==r.to?Bb:yb).range(r.from, +r.to)))}map(g){let l=[];for(let r of this.ranges){let w=r.map(g);if(!w)return null;l.push(w)}return new Sb(l,this.active)}selectionInsideField(g){return g.ranges.every(l=>this.ranges.some(r=>r.field==this.active&&r.from<=l.from&&r.to>=l.to))}}const Ua=ea.StateEffect.define({map(g,l){return g&&g.map(l)}}),bb=ea.StateEffect.define(),Cb=ea.StateField.define({create(){return null},update(g,l){for(let r of l.effects){if(r.is(Ua))return r.value;if(r.is(bb)&&g)return new Sb(g.ranges,r.value)}g&&l.docChanged&& +(g=g.map(l.changes));g&&l.selection&&!g.selectionInsideField(l.selection)&&(g=null);return g},provide:g=>la.EditorView.decorations.from(g,l=>l?l.deco:la.Decoration.none)}),Db=({state:g,dispatch:l})=>{if(!g.field(Cb,!1))return!1;l(g.update({effects:Ua.of(null)}));return!0},db=xb(1),Ta=xb(-1),cc=[{key:"Tab",run:db,shift:Ta},{key:"Escape",run:Db}],dc=ea.Facet.define({combine(g){return g.length?g[0]:cc}}),ic=ea.Prec.highest(la.keymap.compute([dc],g=>g.facet(dc))),Qa=la.EditorView.domEventHandlers({mousedown(g, +l){let r=l.state.field(Cb,!1),w;if(!r||null==(w=l.posAtCoords({x:g.clientX,y:g.clientY})))return!1;let A=r.ranges.find(I=>I.from<=w&&I.to>=w);if(!A||A.field==r.active)return!1;l.dispatch({selection:eb(r.ranges,A.field),effects:Ua.of(r.ranges.some(I=>I.field>A.field)?new Sb(r.ranges,A.field):null),scrollIntoView:!0});return!0}}),Xb=Object.create(null),k={brackets:["(","[","{","'",'"'],before:")]}:;\x3e",stringPrefixes:[]},p=ea.StateEffect.define({map(g,l){g=l.mapPos(g,-1,ea.MapMode.TrackAfter);return null== +g?void 0:g}}),z=new class extends ea.RangeValue{};z.startSide=1;z.endSide=-1;const H=ea.StateField.define({create(){return ea.RangeSet.empty},update(g,l){g=g.map(l.changes);if(l.selection){let r=l.state.doc.lineAt(l.selection.main.head);g=g.update({filter:w=>w>=r.from&&w<=r.to})}for(let r of l.effects)r.is(p)&&(g=g.update({add:[z.range(r.value,r.value+1)]}));return g}}),T="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Z=la.EditorView.inputHandler.of((g,l,r,w)=>{if((T?g.composing: +g.compositionStarted)||g.state.readOnly)return!1;let A=g.state.selection.main;if(2{if(g.readOnly)return!1;let r=(g.languageDataAt("closeBrackets",g.selection.main.head)[0]||k).brackets||k.brackets,w=null,A=g.changeByRange(I=>{if(I.empty){var M=I.head;M=g.doc.sliceString(M-2,M);M=ea.codePointSize(ea.codePointAt(M,0))==M.length? +M:M.slice(1);for(let Q of r)if(Q==M&&Tb(g.doc,I.head)==rb(ea.codePointAt(Q,0)))return{changes:{from:I.head-Q.length,to:I.head+Q.length},range:ea.EditorSelection.cursor(I.head-Q.length)}}return{range:w=I}});w||l(g.update(A,{scrollIntoView:!0,userEvent:"delete.backward"}));return!w},d=[{key:"Backspace",run:ca}],h=[{key:"Ctrl-Space",run:pa},{key:"Escape",run:Ba},{key:"ArrowDown",run:qb(!0)},{key:"ArrowUp",run:qb(!1)},{key:"PageDown",run:qb(!0,"page")},{key:"PageUp",run:qb(!1,"page")},{key:"Enter",run:ka}], +q=ea.Prec.highest(la.keymap.computeN([za],g=>g.facet(za).defaultKeymap?[h]:[])),v=new WeakMap;C.CompletionContext=ta;C.acceptCompletion=ka;C.autocompletion=function(g={}){return[Fa,za.of(g),Lb,q,Wb]};C.clearSnippet=Db;C.closeBrackets=function(){return[Z,H]};C.closeBracketsKeymap=d;C.closeCompletion=Ba;C.completeAnyWord=g=>{let l=g.state.languageDataAt("wordChars",g.pos).join(""),r=Fb(l);var w=g.matchBefore(Zb(r,A=>A+"$"));if(!w&&!g.explicit)return null;w=w?w.from:g.pos;g=Nb(g.state.doc,Xb[l]||(Xb[l]= +new WeakMap),r,5E4,w);return{from:w,options:g,validFor:Zb(r,A=>"^"+A)}};C.completeFromList=Ka;C.completionKeymap=h;C.completionStatus=function(g){return(g=g.field(Fa,!1))&&g.active.some(l=>1==l.state)?"pending":g&&g.active.some(l=>0!=l.state)?"active":null};C.currentCompletions=function(g){var l;g=null===(l=g.field(Fa,!1))||void 0===l?void 0:l.open;if(!g||g.disabled)return[];(l=v.get(g.options))||v.set(g.options,l=g.options.map(r=>r.completion));return l};C.deleteBracketPair=ca;C.hasNextSnippetField= +function(g){let l=g.field(Cb,!1);return!(!l||!l.ranges.some(r=>r.field==l.active+1))};C.hasPrevSnippetField=function(g){g=g.field(Cb,!1);return!!(g&&0{for(let w=ra.syntaxTree(r.state).resolveInner(r.pos,-1);w;w=w.parent){if(-1{for(let w=ra.syntaxTree(r.state).resolveInner(r.pos,-1);w;w=w.parent){if(-1a?-0x7fffffffffffffff>=a?maa: -(new ha(-a,-a/4294967296)).qb():la},qa=function(a,b){if("-"==a.charAt(0))return qa(a.substring(1),b).qb();var c=parseInt(a,b||10);if(9007199254740991>=c)return new ha(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("number format error: empty string");if(0<=a.indexOf("-"))throw Error('number format error: interior "-" character: '+a);b=b||10;if(2>b||36k?(k=oa(Math.pow(b,k)),d=d.multiply(k).add(oa(m))):(d=d.multiply(c),d=d.add(oa(m)))}return d},naa=function(a,b){b&=63;if(0==b)return a;var c=a.mb;return 32>b?ia(a.nb>>>b|c<<32-b,c>>>b):32==b?ia(c,0):ia(c>>>b-32,0)},sa=function(a,b){this.Oc=b;for(var c=[],d=!0,g=a.length-1;0<=g;g--){var k=a[g]|0;d&&k==b||(c[g]=k,d=!1)}this.Hb=c},oaa=function(a){return-128<=a&&128>a?kaa(a,function(b){return new sa([b|0],0>b?-1:0)}):new sa([a|0],0>a?-1:0)},ua=function(a){if(isNaN(a)||!isFinite(a))return ta; -if(0>a)return ua(-a).qb();for(var b=[],c=1,d=0;a>=c;d++)b[d]=a/c|0,c*=paa;return new sa(b,0)},xa=function(a,b){return 0>b?0:b>>16,a[b]&=65535,b++},raa=function(a,b){this.Rh=a;this.remainder=b},saa=function(a,b){if(b.isZero())throw Error("division by zero");if(a.isZero())return new raa(ta,ta);if(a.Gb())return b=saa(a.qb(),b),new raa(b.Rh.qb(),b.remainder.qb());if(b.Gb())return b=saa(a,b.qb()),new raa(b.Rh.qb(),b.remainder); -if(30=d?1:Math.pow(2,d-48); -k=ua(c);for(m=k.multiply(b);m.Gb()||m.greaterThan(a);)c-=d,k=ua(c),m=k.multiply(b);k.isZero()&&(k=ya);g=g.add(k);a=a.subtract(m)}return new raa(g,a)},za=function(a,b){return 0==a.lastIndexOf(b,0)},Da=function(a,b){const c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},taa=function(a){return/^[\s\xa0]*$/.test(a)},Ea=function(a,b){return-1!=a.indexOf(b)},Fa=function(a){const b=[];let c=0;for(const d in a)b[c++]=d;return b},Ha=function(a,b){var c=b;var d=ba(c);c=(d="array"==d||"object"==d&&"number"== -typeof c.length)?b:arguments;for(d=d?0:1;db?1:a=a||"€"<=a&&"�">=a},Iaa=function(){const a={"\x26amp;":"\x26","\x26lt;":"\x3c","\x26gt;":"\x3e","\x26quot;":'"'};let b;b=ea.document.createElement("div");return"\x26nbsp;".replace(Eaa,function(c,d){var g=a[c];if(g)return g;"#"==d.charAt(0)&&(d=Number("0"+d.slice(1)),isNaN(d)||(g=String.fromCharCode(d))); -if(!g){g=c+" ";if(void 0===Faa){d=null;var k=ea.trustedTypes;if(k&&k.createPolicy)try{d=k.createPolicy("goog#html",{createHTML:haa,createScript:haa,createScriptURL:haa})}catch(m){ea.console&&ea.console.error(m.message)}Faa=d}g=(d=Faa)?d.createHTML(g):g;g=new Baa(g,Gaa);if(Haa())for(;b.lastChild;)b.removeChild(b.lastChild);b.innerHTML=Caa(g);g=b.firstChild.nodeValue.slice(0,-1)}return a[c]=g})},Ma=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);let c=a.indexOf(".");-1===c&&(c=a.length); -const d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+Jaa("0",Math.max(0,b-c))+a},Kaa=function(a){return String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()},Na=function(a,b){null!=a&&this.append.apply(this,arguments)},Laa=function(a){var b="undefined"!==typeof setTimeout;return b?(a=setTimeout(a,0),Oa.j?Oa.j(a):Oa.call(null,a)):b},Va=function(){return new f(null,5,[Maa,!0,Pa,Qa,Ra,Sa,Naa,Ta,Oaa,Ua],null)},Qaa=function(){Xa=!1;Za=function(){var a=arguments;return console.log.apply(console, -yaa(a))};Paa=function(){var a=arguments;return console.error.apply(console,yaa(a))};return null},h=function(a){return null!=a&&!1!==a},Raa=function(a,b){return a===b},$a=function(a){return null==a},ab=function(a){return a instanceof Array},bb=function(a){return"number"===typeof a},cb=function(a){return null==a?!0:!1===a?!0:!1},db=function(a){return null!=a},Saa=function(a){return null!=a?a.constructor===Object:!1},Taa=function(a){return"string"===ba(a)},eb=function(a){return"string"===typeof a&&1=== -a.length},fb=function(){return!0},gb=function(a,b){return a[ba(null==b?null:b)]?!0:a._?!0:!1},hb=function(a){return null==a?null:a.constructor},jb=function(a,b){var c=hb(b);c=h(h(c)?c.Ii:c)?c.pg:ba(b);return Error(["No protocol method ",a," defined for type ",c,": ",b].join(""))},Uaa=function(a){var b=a.pg;return h(b)?b:l.j(a)},Vaa=function(){if("undefined"!==typeof performance&&null!=performance.now)return performance.now();if("undefined"!==typeof process&&null!=process.hrtime){var a=process.hrtime(); -return(1E9*a[0]+a[1])/1E6}return(new Date).getTime()},kb=function(a){for(var b=a.length,c=Array(b),d=0;;)if(d>>-b},Uba=function(a){return kc(Tba(kc(a|0,-862048943),15),461845907)},Vba=function(a,b){return kc(Tba((a|0)^(b|0),13),5)+-430675100|0},Wba=function(a,b){a=(a|0)^b;a=kc(a^a>>>16,-2048144789);a=kc(a^a>>>13,-1028477387);return a^a>>>16},Xba=function(a){return 0===a?a:Wba(Vba(0,Uba(a)),4)},Yba=function(a){a:{var b=1;for(var c=0;;)if(b< -a.length)c=Vba(c,Uba(a.charCodeAt(b-1)|a.charCodeAt(b)<<16)),b+=2;else{b=c;break a}}return Wba(1===(a.length&1)?b^Uba(a.charCodeAt(a.length-1)):b,kc(2,a.length))},Zba=function(a){if(null!=a){var b=a.length;if(0>2)},nc=function(a){return a instanceof n},eca=function(a){return dca(Yba(a.name),cca(a.ns))},fca=function(a,b){if(a.str=== -b.str)return 0;var c=cb(a.ns);if(h(c?b.ns:c))return-1;if(h(a.ns)){if(cb(b.ns))return 1;c=La(a.ns,b.ns);return 0===c?La(a.name,b.name):c}return La(a.name,b.name)},n=function(a,b,c,d,g){this.ns=a;this.name=b;this.str=c;this.We=d;this.hd=g;this.ha=2154168321;this.ja=4096},gca=function(a){return a instanceof p},p=function(a,b,c){this.val=a;this.Kb=b;this.hd=c;this.ha=6717441;this.ja=0},hca=function(a){return null!=a?a.ja&131072||lc===a.Kl?!0:a.ja?!1:gb(Sba,a):gb(Sba,a)},ica=function(a){return null!=a&& -null!=a[oc]},r=function(a){if(null==a)return null;if(null!=a&&(a.ha&8388608||lc===a.Ci))return a.sa(null);if(ab(a)||"string"===typeof a)return 0===a.length?null:new pc(a,0,null);if(ica(a))return a=Ja(a,oc).call(a),qc.j?qc.j(a):qc.call(null,a);if(gb(Aba,a))return Jb(a);throw Error([l.j(a)," is not ISeqable"].join(""));},t=function(a){if(null==a)return null;if(null!=a&&(a.ha&64||lc===a.Pa))return a.zb(null);a=r(a);return null==a?null:pb(a)},sc=function(a){return null!=a?null!=a&&(a.ha&64||lc===a.Pa)? -a.Lb(null):(a=r(a))?a.Lb(null):rc:rc},u=function(a){return null==a?null:null!=a&&(a.ha&128||lc===a.Df)?a.Ib(null):r(sc(a))},jca=function(a){this.s=a},tc=function(a){return new jca(r(a))},uc=function(a,b,c){this.value=a;this.iter=b;this.Tg=c;this.ha=8388672;this.ja=0},qc=function(a){var b=a.next();return h(b.done)?null:new uc(b.value,a,null)},kca=function(a,b){return Wba(Vba(0,Uba(a)),b)},vc=function(a){var b=0,c=1;for(a=r(a);;)if(null!=a)b+=1,c=kc(31,c)+mc(t(a))|0,a=u(a);else return kca(c,b)},wc= -function(a){var b=0,c=0;for(a=r(a);;)if(null!=a)b+=1,c=c+mc(t(a))|0,a=u(a);else return kca(c,b)},lca=function(){},mca=function(a){if(null!=a&&null!=a.Hi)a=a.Hi(a);else{var b=mca[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=mca._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("Inst.inst-ms*",a);}return a},nca=function(a){return mca(a)},oca=function(a){return null!=a?lc===a.ik?!0:a.Pc?!1:gb(lca,a):gb(lca,a)},xc=function(a){return a+1},yc=function(a){this.val=a;this.ha=32768; -this.ja=0},zc=function(a){return new yc(a)},Ac=function(a){return a instanceof yc},pca=function(a){return Ac(a)?a:zc(a)},Cc=function(a){return Ac(a)?Bc.j?Bc.j(a):Bc.call(null,a):a},Bc=function(a){return Bb(a)},qca=function(a,b){var c=a.va(null);if(0===c)return b.ca?b.ca():b.call(null);for(var d=a.ua(null,0),g=1;;)if(gc?d+c:c;for(;;)if(0<=c){if(Fc.B(x.B?x.B(a,c):x.call(null,a,c),b))return c;--c}else return-1},tca=function(a,b){this.arr=a;this.i=b},pc=function(a,b,c){this.arr=a;this.i=b;this.meta= -c;this.ha=166592766;this.ja=139264},Hc=function(a,b,c){this.zf=a;this.i=b;this.meta=c;this.ha=32374990;this.ja=8192},Ic=function(a){return t(u(a))},Jc=function(a){return t(t(a))},uca=function(a){return u(t(a))},vca=function(a){return t(u(a))},Kc=function(a){return u(u(a))},Lc=function(a){for(;;){var b=u(a);if(null!=b)a=b;else return t(a)}},Mc=function(a){return null==a?null:null!=a&&(a.ha&4||lc===a.Vj)?a.gb(null):(null!=a?a.ha&4||lc===a.Vj||(a.ha?0:gb(dba,a)):gb(dba,a))?mb(a):null},Ec=function(a){if(null!= -a)if(null!=a&&(a.ha&2||lc===a.Tj))a=a.va(null);else if(ab(a))a=a.length;else if("string"===typeof a)a=a.length;else if(null!=a&&(a.ha&8388608||lc===a.Ci))a:{a=r(a);for(var b=0;;){if(Dc(a)){a=b+lb(a);break a}a=u(a);b+=1}}else a=lb(a);else a=0;return a},wca=function(a,b,c){for(;;){if(null==a)return c;if(0===b)return r(a)?t(a):c;if(sca(a))return Nc(a,b,c);if(r(a))a=u(a),--b;else return c}},xca=function(a,b){for(var c=a;;)if(a=0a:a instanceof sa?a.Gb():a instanceof ha?a.Gb():!1},Hca=function(a){return id(a)?!(0>a):a instanceof sa?cb(a.Gb()):a instanceof ha?cb(a.Gb()):!1},Ica=function(a){return"number"===typeof a},Jca=function(a){return"number"===typeof a},Kca=function(a){return a===Number.POSITIVE_INFINITY|| -a===Number.NEGATIVE_INFINITY},ld=function(a,b){return null!=a&&(a.ha&512||lc===a.ri)?a.Na(null,b):gb(jba,a)?tb(a,b):y.G(a,b,kd)===kd?!1:!0},nd=function(a,b){return zca(a)?vb(a,b):null!=a&&yca(a)&&ld(a,b)?new md(b,y.B(a,b),null):null},od=function(a,b){if(a===b)return 0;if(null==a)return-1;if(null==b)return 1;if("number"===typeof a){if("number"===typeof b)return La(a,b);throw Error(["Cannot compare ",l.j(a)," to ",l.j(b)].join(""));}if(null!=a?a.ja&2048||lc===a.bd||(a.ja?0:gb(Zb,a)):gb(Zb,a))return $b(a, -b);if("string"!==typeof a&&!ab(a)&&!0!==a&&!1!==a||hb(a)!==hb(b))throw Error(["Cannot compare ",l.j(a)," to ",l.j(b)].join(""));return La(a,b)},Lca=function(a,b){var c=Ec(a),d=Ec(b);if(cd)a=1;else if(0===c)a=0;else a:for(d=0;;){var g=od(x.B(a,d),x.B(b,d));if(0===g&&d+1>b},zda=function(a,b){return a>>>b},Bd=function(a){a-=a>>1&1431655765;a=(a&858993459)+(a>>2&858993459);return 16843009*(a+(a>>4)&252645135)>>24},Ada=function(a){return 0a},Cda=function(a,b){for(a=r(a);;)if(a&&0a?0:a-1>>>5<<5},qea=function(a,b,c){for(;;){if(0===b)return c;var d=oea(a);d.arr[0]=c;c=d;b-=5}},rea=function(a,b){throw Error(["No item ",l.j(a)," in vector of length ",l.j(b)].join(""));},Oe=function(a,b){if(b>=Ne(a))return a.tail;var c=a.root;for(a=a.shift;;)if(0>>a&31];a=d}else return c.arr},sea=function(a,b){return 0<=b&&bc)return new E(null,c,5,F,a,null);var d=a.slice(0,32);b=32;for(var g=(new E(null,32,5,F,d,null)).Ke(null);;)if(bc||dEc(b))throw Error("Index out of bounds");return new Ve(a,b,c,d,g)}},xea=function(a,b){return a===b.kb?b:new Me(a,kb(b.arr))},yea=function(a){return new Me({},kb(a.arr))},zea=function(a){var b=[null,null,null,null,null,null,null,null,null,null,null,null,null, -null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];cd(a,0,b,0,a.length);return b},Aea=function(a,b,c,d){this.na=a;this.shift=b;this.root=c;this.tail=d;this.ja=88;this.ha=275},Xe=function(a,b){this.kf=a;this.cg=b},Ye=function(a,b,c,d){this.meta=a;this.Hc=b;this.Qc=c;this.ga=d;this.ha=31850700;this.ja=0},Ze=function(a,b,c,d,g){this.meta=a;this.count=b;this.Hc=c;this.Qc=d;this.ga=g;this.ja=139264;this.ha=31858766},$e=function(){this.ha=2097152;this.ja=0}, -Cea=function(a,b){return Oa(Zc(b)&&!$c(b)?Ec(a)===Ec(b)?(null!=a?a.ha&1048576||lc===a.Ll||(a.ha?0:gb(xba,a)):gb(xba,a))?ud(function(c,d,g){return Fc.B(y.G(b,d,Bea),g)?!0:zc(!1)},!0,a):ne(function(c){return Fc.B(y.G(b,t(c),Bea),Ic(c))},a):null:null)},af=function(a,b){for(var c=b.length,d=0;;)if(db?1:0},Eea=function(a,b,c){var d=a.keys,g=d.length,k=a.pe;a=Rc(a);for(var m=0,q=Vb(bf);;)if(m=g){if(hf(c[g],c[m]))return m;m-=2}else return m}(),a[k]=c[g],a[k+1]=c[b+1],b=2+k,g=2+g,k=b);else break;return new f(null,a.length/2,a,null)}return new f(null, -c.length/2,c,null)},Pea=function(a,b,c){this.Le=a;this.len=b;this.arr=c;this.ha=259;this.ja=56},Qea=function(a,b){for(var c=Vb(bf),d=0;;)if(dd?c.left:c.right}else return null},jfa=function(a){return u(a)?be(sd(a)):r(a)?t(a):C},Gf=function(a,b){this.ob=a;this.hd=b;this.ha=32374988;this.ja=0},Hf=function(a){return(a=r(a))?new Gf(a,null):null},Se=function(a){return xb(a)},If=function(a,b){this.ob=a;this.hd=b;this.ha=32374988; -this.ja=0},Jf=function(a){return(a=r(a))?new If(a,null):null},Te=function(a){return yb(a)},Mf=function(a,b){var c=C;for(b=r(b);;)if(b){var d=t(b),g=y.G(a,d,kfa);c=Kf.B(g,kfa)?Lf.G(c,d,g):c;b=u(b)}else return Db(c,Rc(a))},Nf=function(a){this.iter=a},Pf=function(a,b,c){this.meta=a;this.Vd=b;this.ga=c;this.ha=15077647;this.ja=139268},Rf=function(a){for(var b=a.length,c=Vb(Qf),d=0;;)if(djg)return Ob(a,"#");Ob(a,c);if(0===Oaa.j(k))r(m)&&Ob(a,function(){var Q=sfa.j(k);return h(Q)?Q:"..."}());else{if(r(m)){var v=t(m);b.G?b.G(v,a,k):b.call(null,v,a,k)}for(var w=u(m),A=Oaa.j(k)-1;;)if(!w||null!=A&&0===A){r(w)&&0===A&&(Ob(a,d),Ob(a,function(){var Q=sfa.j(k);return h(Q)?Q:"..."}()));break}else{Ob(a,d);var D=t(w);c=a;m=k;b.G?b.G(D,c,m):b.call(null,D,c,m);var G=u(w);c=A-1;w=G;A=c}}return Ob(a,g)}finally{jg= -q}},lg=function(a){if(null==Za)throw Error("No *print-fn* fn set for evaluation environment");Za.call(null,a);return null},ufa=function(a){return['"',l.j(a.replace(RegExp('[\\\\"\b\f\n\r\t]',"g"),function(b){return tfa[b]})),'"'].join("")},vfa=function(a,b){return(a=Oa(y.B(a,Ra)))?(a=null!=b?b.ha&131072||lc===b.Bf?!0:!1:!1)?null!=Rc(b):a:a},wfa=function(a,b,c){if(null==a)return Ob(b,"nil");if(vfa(c,a)){Ob(b,"^");var d=Rc(a);mg.G?mg.G(d,b,c):mg.call(null,d,b,c);Ob(b," ")}if(a.Ii)return a.jk(b);if(null!= -a?a.ha&2147483648||lc===a.ab||(a.ha?0:gb(Qb,a)):gb(Qb,a))return Rb(a,b,c);if(!0===a||!1===a)return Ob(b,l.j(a));if("number"===typeof a)return Ob(b,isNaN(a)?"##NaN":a===Number.POSITIVE_INFINITY?"##Inf":a===Number.NEGATIVE_INFINITY?"##-Inf":l.j(a));if(Saa(a))return Ob(b,"#js "),d=ng.B(function(k){return new md(null!=eg(/[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*/,k)?og.j(k):k,a[k],null)},Fa(a)),pg.da?pg.da(d,mg,b,c):pg.call(null,d,mg,b,c);if(ab(a))return kg(b,mg,"#js ["," ","]",c,a);if("string"===typeof a)return h(Pa.j(c))? -Ob(b,ufa(a)):Ob(b,a);if("function"===typeof a){var g=a.name;c=h(function(){var k=null==g;return k?k:taa(g)}())?"Function":g;return qg.J(b,H.B(["#object[",c,h(!1)?[' "',l.j(a),'"'].join(""):"","]"],0))}if(a instanceof Date)return c=function(k,m){for(k=l.j(k);;)if(k.length>>28,d=b>>>28;return ca){var c=0===a,d=c?-1043:-1022;for(a=c?b:a<<11;;)if(0>20)-1023},yha=function(a,b,c){if(-1022<=a)return new E(null,2,5,F,[1048576|1048575&b,c],null);a=-1022-a;return 31>=a?new E(null,2,5,F,[b<>>32-a,c<>>31];try{var w=xha(g,k),A=xha(q,m),D=yha(w,g,k),G=x.G(D,0,null),Q=x.G(D,1,null),U=yha(A,q,m),aa=x.G(U,0,null),ja=x.G(U,1,null),ma=function(){for(var Wa=w-A,Ya=G,ib=Q;;){if(0===Wa)return new E(null,2,5,F,[Ya,ib],null);var ob=uha(ib,ja)?Ya-aa-1:Ya-aa,rb=ib-ja;if(0>ob)Ya=new E(null,2,5,F,[Ya+Ya+(ib>>>31),ib+ib],null);else{if(0===(ob|rb))throw xh.B("Signed zero",new f(null,1,[Eha,!0],null));Ya= -new E(null,2,5,F,[ob+ob+(rb>>>31),rb+rb],null)}ib=Ya;Ya=x.G(ib,0,null);ib=x.G(ib,1,null);Ya&=4294967295;ib&=4294967295;--Wa}}(),pa=x.G(ma,0,null),ra=x.G(ma,1,null),wa=uha(ra,ja)?pa-aa-1:pa-aa,Ga=0<=wa?new E(null,2,5,F,[wa,ra-ja],null):new E(null,2,5,F,[pa,ra],null),Ca=x.G(Ga,0,null),ca=x.G(Ga,1,null);if(0===(Ca|ca))throw xh.B("Signed zero",new f(null,1,[Eha,!0],null));var Z=function(){for(var Wa=Ca,Ya=ca,ib=A;;)if(1048576>Wa){var ob=Ya+Ya;--ib;Wa=Wa+Wa+(Ya>>>31);Ya=ob}else return new E(null,3,5,F, -[Wa,Ya,ib],null)}(),va=x.G(Z,0,null),ka=x.G(Z,1,null),na=x.G(Z,2,null);if(-1022<=na)return c[zha]=va-1048576|na+1023<<20|b,c[Aha]=ka,d[0];a=-1022-na;var Aa=20>=a?new E(null,2,5,F,[va>>a,ka>>>a|va<<32-a],null):31>=a?new E(null,2,5,F,[b,va<<32-a|ka>>>a],null):new E(null,2,5,F,[b,va>>a-32],null);var Ba=x.G(Aa,0,null);var Ia=x.G(Aa,1,null);c[zha]=Ba|b;c[Aha]=Ia;return 1*d[0]}catch(Wa){return Dha[b>>>31]}},Hha=function(a,b){var c=new ArrayBuffer(16),d=new Float64Array(c);c=new Uint8Array(c);var g=Gha? -7:0;d[0]=a;d[1]=b;c[g]=128&c[8+g]|127&c[g];return d[0]},Iha=function(a){if(isNaN(a)||!isFinite(a))return 1024;if(0===a)return-1023;var b=new ArrayBuffer(8),c=new Float64Array(b);b=new Uint32Array(b);var d=Gha?1:0;c[0]=a;return((b[d]&2146435072)>>20)-1023},Ah=function(a,b){var c=new ArrayBuffer(8),d=new Float64Array(c);c=new Uint32Array(c);c[yh]=b;c[zh]=a;return d[0]},Bh=function(a,b,c,d){var g=(2147483647&b)+(2147483647&d);b=((b&2147483648)>>>31)+((d&2147483648)>>>31)+((g&2147483648)>>>31);return new E(null, -2,5,F,[4294967295&a+c+(b>>1),g&2147483647|b<<31],null)},Jha=function(a,b,c){var d=RegExp,g=b.source,k=h(b.ignoreCase)?"gi":"g";k=h(b.multiline)?[k,"m"].join(""):k;b=h(b.unicode)?[k,"u"].join(""):k;return a.replace(new d(g,b),c)},Kha=function(a){return function(){function b(d){var g=null;if(0=b||b>=2+Ec(a))return Gd.B(td(Jd("",ng.B(l,r(a)))),"");if(h(Gh.B?Gh.B(1,b):Gh.call(null,1,b)))return new E(null,1,5,F,[a],null);if(h(Gh.B?Gh.B(2,b):Gh.call(null,2,b)))return new E(null,2,5,F,["",a],null);b-=2;return Gd.B(td(Jd("",Hh.G(td(ng.B(l,r(a))),0,b))),hg.B(a,b))},Nha=function(a){return Ih.B(a,/\n|\r\n/)},Oha=function(a){return Jh(a)},Pha=function(a){for(var b=a.length;;){if(0===b)return"";var c=y.B(a,b-1);if("\n"===c||"\r"===c)--b;else return a.substring(0,b)}},Kh=function(a){return taa(null== -a?"":String(a))},Qha=function(a,b){for(var c=new Na,d=a.length,g=0;;){if(d===g)return c.toString();var k=a.charAt(g),m=y.B(b,k);null!=m?c.append(l.j(m)):c.append(k);g+=1}},Lh=function(a,b){return za(a,b)},Rha=function(a,b){return Da(a,b)},Sha=function(a,b){return Ea(a,b)},Mh=function(a,b,c,d,g){this.Ld=a;this.form=b;this.fa=c;this.ba=d;this.ga=g;this.ha=2230716170;this.ja=139264},Tha=function(a,b){return new Mh(b,a,null,null,null)},Nh=function(a){return null==a?null:","===a?!0:Uha.test(a)},Vha=function(a){return null== -a?null:!/[^0-9]/.test(a)},Wha=function(a){return"\n"===a||"\n"===a||null==a},Xha=function(a,b){return function g(d){return new Sd(null,function(){for(;;){var k=r(d);if(k){if(bd(k)){var m=ac(k),q=Ec(m),v=Ud(q);return function(){for(var A=0;;)if(Ac?(b=c.toString(16),a=ii(a,H.B(["Invalid character literal \\u",b,"."],0))):a=b,a;if(h(za(b,"o"))){--c;if(3ja.getLength())ja=ja.append("0");else{ja=ja.toString();break a}ja=Ei(ja);return h(ja)?ja:0}();w=(Fc.B(w,"-")?-1:1)*(60*function(){var ja= -Ei(A);return h(ja)?ja:0}()+function(){var ja=Ei(D);return h(ja)?ja:0}());return new E(null,8,5,F,[a,Fi(1,b,12,"timestamp month field must be in range 1..12"),Fi(1,c,ija(b,0===xd(a,4)&&(0!==xd(a,100)||0===xd(a,400))),"timestamp day field must be in range 1..last day in month"),Fi(0,G,23,"timestamp hour field must be in range 0..23"),Fi(0,Q,59,"timestamp minute field must be in range 0..59"),Fi(0,U,Fc.B(Q,59)?60:59,"timestamp second field must be in range 0..60"),Fi(0,aa,999,"timestamp millisecond field must be in range 0..999"), -w],null)},kja=function(a){if("string"===typeof a){var b=jja(a);if(h(b)){a=x.G(b,0,null);var c=x.G(b,1,null),d=x.G(b,2,null),g=x.G(b,3,null),k=x.G(b,4,null),m=x.G(b,5,null),q=x.G(b,6,null);b=x.G(b,7,null);b=new Date(Date.UTC(a,c-1,d,g,k,m,q)-6E4*b)}else throw Error(["Unrecognized date/time syntax: ",l.j(a)].join(""));return b}throw Error("Instance literal expects a string for its timestamp.");},lja=function(a){return"string"===typeof a||a instanceof B&&null==Od(a)},mja=function(a){this.val=a},nja= -function(a,b,c){if(Ed(c))return Qc(function(){var g=qe.B(M,ng.B(a,c));return b.j?b.j(g):b.call(null,g)}(),Rc(c));if(Re(c)){var d=new md(function(){var g=xb(c);return a.j?a.j(g):a.call(null,g)}(),function(){var g=yb(c);return a.j?a.j(g):a.call(null,g)}(),null);return b.j?b.j(d):b.call(null,d)}return fd(c)?Qc(function(){var g=Gi.j(ng.B(a,c));return b.j?b.j(g):b.call(null,g)}(),Rc(c)):$c(c)?(d=rd.G(function(g,k){return Gd.B(g,a.j?a.j(k):a.call(null,k))},c,c),b.j?b.j(d):b.call(null,d)):Vc(c)?(d=jf.B(Mc(c), -ng.B(a,c)),b.j?b.j(d):b.call(null,d)):b.j?b.j(c):b.call(null,c)},sja=function(a){var b=we(new f(null,2,[Hi,0,oja,!1],null));a=pja(function(g){if(g instanceof n){var k=eg(/^%(.*)/,Vf(g));if(h(k)){x.G(k,0,null);k=x.G(k,1,null);if(Uc(k))return b.pc(null,Ii.da(b.ib(null),Hi,Ji,1)),qja;Fc.B("\x26",k)?b.pc(null,Lf.G(b.ib(null),oja,!0)):(k=parseInt(k),b.pc(null,Ii.da(b.ib(null),Hi,Ji,k)))}}return g},a);var c=Bb(b),d=ce(c);c=y.B(d,Hi);d=y.B(d,oja);c=ng.B(function(g){return J.j(["%",l.j(g)].join(""))},Ki.B(1, -c+1));c=td(R.B(c,h(d)?new E(null,2,5,F,[Pg,rja],null):null));return new z(null,bh,new z(null,c,new z(null,a,null,1,null),2,null),3,null)},uja=function(a){return fd(a)&&Fc.B(t(a),tja)},wja=function(a){return fd(a)&&Fc.B(t(a),vja)},Dja=function(a,b,c,d){a:{d=r(d);for(var g=Vb(Ke);;)if(d){var k=t(d);g=Je.B(g,uja(k)?new z(null,xja,new z(null,Ic(k),null,1,null),2,null):wja(k)?Ic(k):new z(null,xja,new z(null,yja.G?yja.G(a,b,k):yja.call(null,a,b,k),null,1,null),2,null));d=u(d)}else{a=r(Xb(g));break a}}a= -new z(null,zja,new z(null,new z(null,Aja,new z(null,Jd(Bja,a),null,1,null),2,null),null,1,null),2,null);return h(c)?new z(null,Cja,new z(null,c,new z(null,a,null,1,null),2,null),3,null):a},Eja=function(a){a=r(a);for(var b=Vb(Ke);;)if(a){var c=t(a);a=u(a);b=Je.B(Je.B(b,xb(c)),yb(c))}else return r(Xb(b))},Lja=function(a,b,c){var d=ce(a),g=y.B(d,Fja);if(Gga(c))return new z(null,gh,new z(null,c,null,1,null),2,null);if(c instanceof n)return new z(null,gh,new z(null,function(){var k=Vf(c);if(Gga(c))return c; -if(Da(k,"#")){var m=y.B(Bb(g),c);if(h(m))return m;k=hg.G(k,0,k.length-1);k=Li.j([k,"__"].join(""));k=J.j([Vf(k),"__auto__"].join(""));zg.da(g,Lf,c,k);return k}k=Gja.j(Mi.j(d));k=h(k)?k:vd;return k.j?k.j(c):k.call(null,c)}(),null,1,null),2,null);if(uja(c))return Ic(c);if(wja(c))throw Error("unquote-splice not in list");if(Vc(c)){if(c instanceof Kb)return c;if(Zc(c))return Dja(d,b,16<=Ec(c)?Hja:Ija,Eja(c));if(ad(c))return new z(null,Jja,new z(null,Dja(d,b,null,c),null,1,null),2,null);if(Wc(c))return Dja(d, -b,Kja,c);if(fd(c)||Ed(c))return(a=r(c))?Dja(d,b,null,a):M(xja);throw Error("Unknown Collection type");}return c instanceof B||"number"===typeof c||eb(c)||"string"===typeof c||null==c||ed(c)||pfa(c)?c:new z(null,gh,new z(null,c,null,1,null),2,null)},yja=function(a,b,c){var d=Lja(a,b,c),g=null!=c?c.ha&262144||lc===c.Gf?!0:!1:!1;return(g?r(ci.J(Rc(c),Ni.j(a),H.B([Oi.j(a),Pi.j(a),Qi.j(a)],0))):g)?new z(null,Mja,new z(null,d,new z(null,Lja(a,b,Rc(c)),null,1,null),2,null),3,null):d},Si=function(a,b,c){return Ri(a, -b,c,null)},Ri=function(a,b,c,d){return Ti(a,b,c,d,null)},Ti=function(a,b,c,d,g){var k=Xh(b),m=k?hi.B(g,Sh(b)):null;b=k?Ui.B(g,Rh(b)):null;throw xh.B(c,bi.J(H.B([Lf.J(new f(null,1,[gi,Nja],null),Ni.j(a),b,H.B([Oi.j(a),m],0)),d],0)));},Oja=function(a){return h(a)?-1<["\r","\n","\t"," ",","].indexOf(a):a},Pja=function(a,b){for(var c=new Na;;){var d=Oja(b);if(!h(d)){b:switch(b){case '"':case ";":case "@":case "^":case "`":case "~":case "(":case ")":case "[":case "]":case "{":case "}":case "\\":d=!0;break b; -default:d=!1}d=h(d)?d:null==b}if(h(d))return h(b)&&a.dd(null,b),l.j(c);c=c.append(b);b=a.Wa(null)}},Qja=function(a,b,c){for(var d=function(){var q=new Na;q.append(c);return q}(),g=b.Wa(null);;){if(h(function(){var q=Oja(g);if(h(q))return q;a:switch(g){case ":":case ";":case "'":case "@":case "^":case "`":case "~":case "(":case ")":case "[":case "]":case "{":case "}":case "\\":case "%":case "#":case '"':q=!0;break a;default:q=!1}return h(q)?q:null==g}())){var k=l.j(d);b.dd(null,g);var m=Cia(k);return h(m)? -m:Si(a,b,["Invalid number: ",k].join(""))}k=function(){var q=d;q.append(g);return q}();m=b.Wa(null);d=k;g=m}},Sja=function(a,b){a=Rja.j(a);return Di(a,b)},Vja=function(a,b){var c=Xh(b),d=c?b.ee(null):null;c=c?b.de(null):null;for(var g=b.Wa(null),k=new Na,m=b.Wa(null);;){var q=m;if(Fc.B(null,q))return Ri(a,b,["EOF while reading, expected ",l.j(g)," to match ",l.j(g)," at [",l.j(d),",",l.j(c),"]"].join(""),new f(null,3,[Vi,l.j(g),Wi,l.j(g),Tja,new f(null,2,[Ui,d,hi,c],null)],null));if(Fc.B("\\",q)){q= -function(){var w=k;w.append(Uja.B?Uja.B(k,b):Uja.call(null,k,b));return w}();var v=b.Wa(null);k=q;m=v}else{if(Fc.B('"',q))return l.j(k);q=function(){var w=k;w.append(m);return w}();v=b.Wa(null);k=q;m=v}}},Yi=function(a,b,c,d,g){this.row=a;this.col=b;this.fa=c;this.ba=d;this.ga=g;this.ha=2230716170;this.ja=139264},Zi=function(a){return new Yi(a.ee(null),a.de(null),null,null,null)},Wja=function(a){a:for(var b=a.Wa(null),c=new Na;;){if(Wha(b)){l.j(c);break a}var d=a.Wa(null);c=c.append(b);b=d}return a}, -Xja=function(a){for(;;){var b=a.Wa(null);if(h(b)){if(!h(Oja(b)))return a.dd(null,b),a}else return null}},$ja=function(a,b,c){var d=Ke,g=Xh(b),k=g?b.ee(null):null;g=g?b.de(null):null;var m=b.Wa(null);a=Lf.G(Lf.G(a,$i,c),aj,new f(null,3,[bj,m,Ui,k,hi,g],null));for(d=Vb(d);;){var q=cj?cj(a,b):dj.call(null,a,b);var v=q;v=null==v?null:Rc(v);v=null==v?null:Yja.j(v);if(ej===q)return Ri(a,b,["EOF while reading, expected ",l.j(c)," to match ",l.j(m)," at [",l.j(k),",",l.j(g),"]"].join(""),new f(null,3,[Vi, -l.j(c),Wi,l.j(m),Tja,new f(null,2,[Ui,k,hi,g],null)],null));if(fj===q)return Xb(d);if(h(v)){q=r(q);v=null;for(var w=0,A=0;;)if(A=g?qe.B(tj,d):qe.B(uj,d)},tka=function(a,b){b.Wa(null);var c=b.Wa(null);h(Oja(c))&&Si(a,b,"Invalid token: :");c=Pja(b,c);var d=":"===c.charAt(0);if(d){var g=d?hg.B(c,1):c;d=lj.j?lj.j(g): -lj.call(null,g);c=x.G(d,0,null);d=x.G(d,1,null);if(h(c)){var k=jka(a,b,g,null);g=J.j(c);a=kka(a,k,g,b,c,null)}else k=jka(a,b,g,"Use `:auto-resolve` + `:current` to resolve current namespace."),a=kka(a,k,nj,b,g,"Use `:auto-resolve` + `:current` to resolve current namespace.");return og.B(l.j(a),d)}return og.j(c)},uka=function(a){return a instanceof B?be([a,!0]):a instanceof n?new f(null,1,[yi,a],null):"string"===typeof a?new f(null,1,[yi,a],null):a},vka=function(a,b){return a instanceof B?be([b.j? -b.j(a):b.call(null,a),b.j?b.j(!0):b.call(null,!0)]):a instanceof n?be([b.j?b.j(yi):b.call(null,yi),b.j?b.j(a):b.call(null,a)]):"string"===typeof a?be([b.j?b.j(yi):b.call(null,yi),b.j?b.j(a):b.call(null,a)]):a},zka=function(a,b,c){var d=Xh(b);if(Fc.B("#",c))return b.Wa(null),rka(a,b);if(Fc.B(null,c))return ej;if(Fc.B("@",c))return c=vj.j(a),h(c)?(d=c,b.Wa(null),c=cj?cj(a,b):dj.call(null,a,b),!0===d?new z(null,xj,new z(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)):Si(a,b,"Deref not allowed. Use the `:deref` option"); -if(Fc.B("`",c))return c=Mi.j(a),h(c)?(d=c,b.Wa(null),c=cj?cj(a,b):dj.call(null,a,b),!0===d||Zc(d)?(d=yg.j(C),d=Lf.G(a,Fja,d),yja(d,b,c)):d.j?d.j(c):d.call(null,c)):Si(a,b,"Syntax quote not allowed. Use the `:syntax-quote` option");if(Fc.B('"',c))return Vja(a,b);if(Fc.B("'",c))return c=yj.j(a),h(c)?(d=c,b.Wa(null),c=cj?cj(a,b):dj.call(null,a,b),ej===c&&Si(a,b,"EOF while reading"),!0===d?new z(null,gh,new z(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)):Sja(a,b);if(Fc.B("(",c))return qe.B(M, -$ja(a,b,")"));if(Fc.B(")",c)){var g=$i.j(a);if(Kf.B(g,c))return d=d?Zi(b):null,b.Wa(null),Ti(a,b,["Unmatched delimiter: ",l.j(c),h(g)?[", expected: ",l.j(g),function(){var k=aj.j(a);if(h(k)){var m=ce(k);k=y.B(m,Ui);var q=y.B(m,hi);m=y.B(m,bj);return[" to match ",l.j(m)," at ",l.j(new E(null,2,5,F,[k,q],null))].join("")}return null}()].join(""):null].join(""),function(){var k=aj.j(a),m=ce(k);k=y.B(m,bj);var q=y.B(m,Ui);m=y.B(m,hi);return new f(null,3,[Wi,l.j(k),Tja,new f(null,2,[Ui,q,hi,m],null),Vi, -l.j(g)],null)}(),d);b.Wa(null);return fj}if(Fc.B(":",c))return tka(a,b);if(Fc.B(";",c))return Wja(b);if(Fc.B("[",c))return $ja(a,b,"]");if(Fc.B("{",c))return ska(a,b);if(Fc.B("\\",c))return c=b.Wa(null),wka.G?wka.G(b,c,null):wka.call(null,b,c,null);if(Fc.B("]",c)){g=$i.j(a);if(Kf.B(g,c))return d=d?Zi(b):null,b.Wa(null),Ti(a,b,["Unmatched delimiter: ",l.j(c),h(g)?[", expected: ",l.j(g),function(){var k=aj.j(a);if(h(k)){var m=ce(k);k=y.B(m,Ui);var q=y.B(m,hi);m=y.B(m,bj);return[" to match ",l.j(m), -" at ",l.j(new E(null,2,5,F,[k,q],null))].join("")}return null}()].join(""):null].join(""),function(){var k=aj.j(a),m=ce(k);k=y.B(m,bj);var q=y.B(m,Ui);m=y.B(m,hi);return new f(null,3,[Wi,l.j(k),Tja,new f(null,2,[Ui,q,hi,m],null),Vi,l.j(g)],null)}(),d);b.Wa(null);return fj}if(Fc.B("}",c)){g=$i.j(a);if(Kf.B(g,c))return d=d?Zi(b):null,b.Wa(null),Ti(a,b,["Unmatched delimiter: ",l.j(c),h(g)?[", expected: ",l.j(g),function(){var k=aj.j(a);if(h(k)){var m=ce(k);k=y.B(m,Ui);var q=y.B(m,hi);m=y.B(m,bj);return[" to match ", -l.j(m)," at ",l.j(new E(null,2,5,F,[k,q],null))].join("")}return null}()].join(""):null].join(""),function(){var k=aj.j(a),m=ce(k);k=y.B(m,bj);var q=y.B(m,Ui);m=y.B(m,hi);return new f(null,3,[Wi,l.j(k),Tja,new f(null,2,[Ui,q,hi,m],null),Vi,l.j(g)],null)}(),d);b.Wa(null);return fj}if(Fc.B("^",c))return b.Wa(null),c=xka?xka(a,b,!0):dj.call(null,a,b,!0),ij.G(cj?cj(a,b):dj.call(null,a,b),bi,c);if(Fc.B("~",c)){c=function(){var k=Mi.j(a);return h(k)?(k=zj.j(a),h(k)?k:!0):k}();if(h(c)){d=c;b.Wa(null);if("@"=== -b.Jc(null))return d=function(){var k=Mi.j(a);return h(k)?(k=Aj.j(a),h(k)?k:!0):k}(),h(d)?(b.Wa(null),c=cj?cj(a,b):dj.call(null,a,b),!0===d?new z(null,vja,new z(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)):Si(a,b,"Syntax unquote splice not allowed. Use the `:syntax-quote` option");c=cj?cj(a,b):dj.call(null,a,b);return!0===d?new z(null,tja,new z(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)}return Si(a,b,"Syntax unquote not allowed. Use the `:syntax-unquote` option")}c=b.Wa(null); -return h(yka.B?yka.B(b,c):yka.call(null,b,c))?Qja(a,b,c):lka(a,b,c)},Aka=function(a){return null!=a?a.ha&262144||lc===a.Gf?!0:a.ha?!1:gb(vba,a):gb(vba,a)},dj=function(a){switch(arguments.length){case 2:return cj(arguments[0],arguments[1]);case 3:return xka(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}},cj=function(a,b){return xka(a,b,null)},xka=function(a,b,c){for(;;){var d=Xh(b),g=function(){var Z=Xja(b);return h(Z)?Zha(b):Z}(); -if(h(g)){var k=g,m=d?Zi(b):null,q=ai.j(a),v=h(q)?Vh.j(Bb(b.frames)):null,w=h(q)?v.getLength():null,A=h(q)?fia(b,function(Z,va,ka,na,Aa,Ba,Ia,Wa){return function(){return zka(Z,va,Wa)}}(a,b,c,m,q,v,w,k,g,d)):zka(a,b,k);if(b!==A){if(fj===A)return A;var D=Bj.j(a),G=Cj.j(a),Q=Dj.j(a),U=Aka(A),aa=h(q)?hg.B(l.j(v),w).trim():null,ja=function(){var Z=d;if(Z){if(Z=U)Z=(Z=cb(G))?Z:G.j?G.j(A):G.call(null,A);return h(Z)?Z:D}return Z}(),ma=h(function(){var Z=d;return Z?(Z=ja,h(Z)?Q:Z):Z}())?Zi(b):null,pa=h(ja)? -Ui.j(m):null,ra=h(Q)?Ui.j(ma):null,wa=h(ja)?hi.j(m):null,Ga=h(Q)?hi.j(ma):null,Ca=h(D)?function(Z,va,ka,na,Aa,Ba,Ia,Wa,Ya,ib,ob,rb,wb,Fb){return function(zb){var Gb=function(){var cc=new f(null,1,[Ej,zb],null);cc=h(Ya)?Lf.G(cc,Bka,function(){var gc=be([Ni.j(Z),ob,Oi.j(Z),wb]);return h(Ba)?Lf.J(gc,Pi.j(Z),rb,H.B([Qi.j(Z),Fb],0)):gc}()):cc;return h(Wa)?Lf.G(cc,function(){var gc=Fj.j(Z);return h(gc)?gc:ai}(),Wa):cc}();return na.j?na.j(Gb):na.call(null,Gb)}}(a,b,c,D,G,Q,U,aa,ja,ma,pa,ra,wa,Ga,m,q,v,w, -A,k,g,d):null,ca=h(c)?h(Ca)?vka(A,Ca):uka(A):A;return h(D)?Ca.j?Ca.j(ca):Ca.call(null,ca):h(ja)?ij.B(ca,function(Z,va,ka,na,Aa,Ba,Ia,Wa,Ya,ib,ob,rb,wb,Fb){return function(zb){zb=Lf.G(Lf.G(zb,Ni.j(Z),ob),Oi.j(Z),wb);zb=h(Ba)?Lf.G(Lf.G(zb,Pi.j(Z),rb),Qi.j(Z),Fb):zb;return h(Wa)?Lf.G(zb,Fj.j(Z),Wa):zb}}(a,b,c,D,G,Q,U,aa,ja,ma,pa,ra,wa,Ga,Ca,ca,m,q,v,w,A,k,g,d)):ca}}else return ej}},Gj=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa,Ga){this.dispatch=a;this.deref=b;this.Yb=c;this.sb=d;this.$b= -g;this.quote=k;this.fn=m;this.tb=q;this.Ub=v;this.Vb=w;this.Wb=A;this.Nb=D;this.Rb=G;this.Pb=Q;this.source=U;this.Xb=aa;this.Tb=ja;this.Sb=ma;this.Qb=pa;this.fa=ra;this.ba=wa;this.ga=Ga;this.ha=2230716170;this.ja=139264},Cka=function(a){var b=ci.J(a,Hj,H.B([vj,Mi,zj,Aj,yj,qj,pj,rj,oj,Ni,Oi,Pi,Qi,ai,Fj,Bj,Cj,Dj],0));b=$c(a)?jf.B(C,b):b;return new Gj(Hj.j(a),vj.j(a),Mi.j(a),zj.j(a),Aj.j(a),yj.j(a),qj.j(a),pj.j(a),rj.j(a),oj.j(a),Ni.j(a),Oi.j(a),Pi.j(a),Qi.j(a),ai.j(a),Fj.j(a),Bj.j(a),Cj.j(a),Dj.j(a), -null,de(b),null)},Fka=function(a){var b=function(){var d=Hj.j(a);return h(d)?jf.B(ci.B(a,Hj),new E(null,9,5,F,[function(){var g=Ij.B(d,new E(null,1,5,F,["@"],null));return h(g)?new E(null,2,5,F,[vj,g],null):null}(),function(){var g=Ij.B(d,new E(null,1,5,F,["`"],null));return h(g)?new E(null,2,5,F,[Mi,g],null):null}(),function(){var g=Ij.B(d,new E(null,1,5,F,["~"],null));if(h(g)){if(Oc(g))return new E(null,2,5,F,[zj,g],null);g=Ci.j(g);return h(g)?new E(null,2,5,F,[zj,g],null):null}return null}(),function(){var g= -Ij.B(d,new E(null,2,5,F,["~","@"],null));return h(g)?new E(null,2,5,F,[Aj,g],null):null}(),function(){var g=Ij.B(d,new E(null,1,5,F,["'"],null));return h(g)?new E(null,2,5,F,[yj,g],null):null}(),function(){var g=Ij.B(d,new E(null,2,5,F,["#","("],null));return h(g)?new E(null,2,5,F,[qj,g],null):null}(),function(){var g=Ij.B(d,new E(null,2,5,F,["#","'"],null));return h(g)?new E(null,2,5,F,[pj,g],null):null}(),function(){var g=Ij.B(d,new E(null,2,5,F,["#","\x3d"],null));return h(g)?new E(null,2,5,F, -[rj,g],null):null}(),function(){var g=Ij.B(d,new E(null,2,5,F,["#",'"'],null));return h(g)?new E(null,2,5,F,[oj,g],null):null}()],null)):a}(),c=h(Jj.j(b))?bi.J(H.B([new f(null,7,[vj,!0,qj,!0,yj,!0,rj,!0,oj,!0,Mi,!0,pj,!0],null),b],0)):b;b=function(){var d=cb(Ni.j(c))?Lf.G(c,Ni,Ui):c;d=cb(Oi.j(c))?Lf.G(d,Oi,hi):d;d=cb(Pi.j(c))?Lf.G(d,Pi,Dka):d;d=cb(Qi.j(c))?Lf.G(d,Qi,Eka):d;d=cb(Fj.j(c))?Lf.G(d,Fj,ai):d;return ld(c,Dj)?d:Lf.G(d,Dj,!0)}();return Cka(b)},Kj=function(a){var b=Bb(Gka);b=Fka(b);a=h(b.source)? -eia(a):Zh(Yh(a));b=Lf.G(b,$i,null);a=cj(b,a);return ej===a?null:a},Ika=function(a,b){a instanceof dia&&Vh.j(Bb(a.frames)).clear();a=cj(b,a);return ej===a?(b=y.B(b,ji),h(b)?b:Hka):a},Lj=function(a,b){const c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(g,k,m,q,v,w,A,D){if("%"==w)return"%";const G=c.shift();if("undefined"==typeof G)throw Error("[goog.string.format] Not enough arguments"); -arguments[0]=G;return Lj.ge[w].apply(null,arguments)})},Jka=function(a){return[l.j(l.j(a).replace(RegExp("\\.","g"),"$").replace("/","$")),"$"].join("")},Kka=function(a){for(var b=C;;)if(r(a))b=Lf.G(b,t(a),bg.B(fd,u(a))),a=cg.B(fd,u(a));else return b},Lka=function(a,b){return Lf.G(b,0,ij.da(b.j?b.j(0):b.call(null,0),Lf,yi,a))},Mka=function(a,b){return Mj.B(Lka(a,t(b)),u(b))},Nka=function(a,b){return ad(Ic(b))?Mj.G(t(b),Lka(a,Ic(b)),Kc(b)):Mj.B(t(b),ng.B(di.B(Mka,a),sc(b)))},Oka=function(a,b){return ud(function(c, -d,g){return Lf.G(c,d,ng.B(di.B(Nka,a),g))},C,b)},Qka=function(a,b,c,d,g){a=x.G(g,0,null);g=x.G(g,1,null);b=b.j?b.j(a):b.call(null,a);var k=hg.G(l.j(b),0,l.j(b).indexOf("/")+1);return Jd(Nj.j(r(R.J(new z(null,Pka,null,1,null),new z(null,b,null,1,null),H.B([new z(null,d,null,1,null),new z(null,!0,null,1,null)],0)))),ng.B(function(m){var q=r(m),v=t(q);q=u(q);return Nj.j(r(R.J(new z(null,Pka,null,1,null),new z(null,J.j([k,l.j(v)].join("")),null,1,null),H.B([new z(null,d,null,1,null),new z(null,Qc(Nj.j(r(R.B(new z(null, -Pj,null,1,null),q))),Rc(m)),null,1,null)],0))))},g))},Rka=function(a,b,c){return ng.B(function(d){var g=r(d),k=t(g);g=u(g);g=ad(t(g))?new E(null,2,5,F,[k,new E(null,1,5,F,[sc(d)],null)],null):new E(null,2,5,F,[k,g],null);k=x.G(g,0,null);g=x.G(g,1,null);return Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Qj.B(b,k),null,1,null),H.B([new z(null,Qc(Nj.j(r(R.B(new z(null,Pj,null,1,null),ng.B(function(m){m=r(m);var q=t(m);m=u(m);var v=r(q);q=t(v);v=u(v);return new z(null,td(v),new z(null,Mj.G(Rj,ij.da(q, -Lf,yi,a),m),null,1,null),2,null)},g)))),Rc(d)),null,1,null)],0))))},c)},Ska=function(a,b){b=r(b);var c=t(b);b=u(b);var d=r(c);c=t(d);d=u(d);a=ij.da(c,Lf,yi,a);return Nj.j(r(R.B(new z(null,td(Jd(a,d)),null,1,null),new z(null,Nj.j(r(R.J(new z(null,Rj,null,1,null),new z(null,a,null,1,null),H.B([b],0)))),null,1,null))))},Tka=function(a,b,c){var d=r(c);t(d);d=u(d);return ng.B(function(g){var k=Ec(t(g));return Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Qj.B(b,J.j(["cljs$core$IFn$_invoke$arity$",l.j(k)].join(""))), -null,1,null),H.B([new z(null,Qc(Nj.j(r(R.B(new z(null,Pj,null,1,null),new z(null,g,null,1,null)))),Rc(c)),null,1,null)],0))))},ng.B(function(g){g=r(g);var k=t(g);g=u(g);var m=r(k);k=t(m);m=u(m);return Nj.j(r(R.B(new z(null,td(m),null,1,null),new z(null,Nj.j(r(R.J(new z(null,Rj,null,1,null),new z(null,ij.da(k,Lf,yi,a),null,1,null),H.B([g],0)))),null,1,null))))},d))},fla=function(a,b,c){var d=r(c);t(d);d=u(d);d=ng.B(function(m){m=r(m);var q=t(m);m=u(m);var v=r(q);q=t(v);v=u(v);var w=Qc(Uka,new f(null, -1,[yi,a],null));return Nj.j(r(R.B(new z(null,td(Jd(w,v)),null,1,null),new z(null,Nj.j(r(R.J(new z(null,Rj,null,1,null),new z(null,w,null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,Sj,null,1,null),new z(null,td(Nj.j(r(R.B(new z(null,q,null,1,null),new z(null,w,null,1,null))))),null,1,null),H.B([m],0)))),null,1,null)],0)))),null,1,null))))},d);var g=Qc(Uka,new f(null,1,[yi,a],null)),k=Li.j("args");return R.B(new E(null,2,5,F,[Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Qj.B(b,Vka),null,1,null), -H.B([new z(null,Qc(Nj.j(r(R.B(new z(null,Pj,null,1,null),d))),Rc(c)),null,1,null)],0)))),Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Qj.B(b,Tj),null,1,null),H.B([new z(null,Qc(Nj.j(r(R.J(new z(null,Pj,null,1,null),new z(null,new E(null,2,5,F,[g,k],null),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,Rj,null,1,null),new z(null,g,null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,Sj,null,1,null),new z(null,td(Nj.j(r(R.B(new z(null,Wka,null,1,null),new z(null,Nj.j(r(R.B(new z(null,Xka,null, -1,null),new z(null,k,null,1,null)))),null,1,null))))),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,Yka,null,1,null),new z(null,Nj.j(r(R.B(new z(null,Zka,null,1,null),new z(null,g,null,1,null)))),null,1,null),H.B([new z(null,g,null,1,null),new z(null,Nj.j(r(R.J(new z(null,$ka,null,1,null),new z(null,Nj.j(r(R.B(new z(null,ala,null,1,null),new z(null,g,null,1,null)))),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,Wg,null,1,null),new z(null,Nj.j(r(R.J(new z(null,bla,null,1,null),new z(null, -Nj.j(r(R.B(new z(null,cla,null,1,null),new z(null,Wka,null,1,null)))),null,1,null),H.B([new z(null,20,null,1,null)],0)))),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,dla,null,1,null),new z(null,Nj.j(r(R.J(new z(null,ela,null,1,null),new z(null,Wka,null,1,null),H.B([new z(null,0,null,1,null),new z(null,20,null,1,null)],0)))),null,1,null),H.B([new z(null,Nj.j(r(R.B(new z(null,Uj,null,1,null),new z(null,Nj.j(r(R.J(new z(null,ela,null,1,null),new z(null,Wka,null,1,null),H.B([new z(null,20,null, -1,null)],0)))),null,1,null)))),null,1,null)],0)))),null,1,null),new z(null,Wka,null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),Rc(c)),null,1,null)],0))))],null),Tka(a,b,c))},gla=function(a,b,c,d){var g=r(d),k=t(g);g=u(g);var m=[l.j(a),l.j(mh(Vf(k)))].join("");return ad(t(g))?new E(null,1,5,F,[Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Qj.B(c,[m,"$arity$",l.j(Ec(t(g)))].join("")),null,1,null),H.B([new z(null,Qc(Nj.j(r(R.B(new z(null, -Pj,null,1,null),Ska(b,g)))),Rc(d)),null,1,null)],0))))],null):ng.B(function(q){var v=r(q),w=t(v);u(v);return Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Qj.B(c,[m,"$arity$",l.j(Ec(w))].join("")),null,1,null),H.B([new z(null,Qc(Nj.j(r(R.B(new z(null,Pj,null,1,null),new z(null,Ska(b,q),null,1,null)))),Rc(d)),null,1,null)],0))))},g)},ila=function(a,b,c,d,g){a=x.G(g,0,null);g=x.G(g,1,null);var k=b.j?b.j(a):b.call(null,a),m=Jka(k);b=Tf(Vj.j(Rc(c)));return Fc.B(a,Wj)?Rka(d,c,g):R.B(h(b.j?b.j(k):b.call(null, -k))?null:new E(null,1,5,F,[Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Qj.B(c,m),null,1,null),H.B([new z(null,hla,null,1,null)],0))))],null),Fe.J(function(q){return Fc.B(k,Xj)?fla(d,c,q):gla(m,d,c,q)},H.B([g],0)))},lla=function(a){a=Kka(a);var b=r(Yj.B(jla,ng.B(vd,Hf(a))));if(b){a=jf.B(Qf,He.B(di.B(ld,jla),ng.B(vd,Hf(a))));var c=function(){var d=Bg(t,b);d=jf.B(C,ng.B(Oh.B(Se,Zj.B(di.B(ng,Sc),Te)),d));return jf.B(C,ng.B(Oh.B(Se,Zj.B(di.B(rd,ak),Te)),d))}();return new E(null,2,5,F,[a,rd.G(function(d, -g){return $h.G(d,new E(null,1,5,F,[g],null),bk.B(vd,0))},c,Ki.j(kla))],null)}return null},mla=function(a,b,c){var d=x.G(c,0,null);c=x.G(c,1,null);return Gd.B(b,ij.G(Jd(d,ng.B(function(g){return Jd(Ic(g),Kc(g))},c)),bi,a))},qla=function(a){var b=ck.B(2,a),c=function q(g,k,m){function v(A,D,G){var Q=Rc(D),U=function(){var wa=dk.j(Q);return h(wa)?wa:Fc.B(ek,yi.j(Q))}(),aa=Li.j("map__"),ja=fk.j(D),ma=function(wa,Ga,Ca){return function(ca){return h(hk.j(D))?Gd.J(ca,hk.j(D),H.B([Ca],0)):ca}}(Q,U,aa,ja, -w,b)(Gd.B(Gd.B(Gd.B(Gd.B(A,aa),G),aa),new z(null,nla,new z(null,aa,null,1,null),2,null)));for(A=function(){var wa=rd.G(function(Ga,Ca,ca){return function(Z,va){if(va instanceof B){var ka=Od(va),na=Vf(va);return h(ca)?Lf.G(Z,va,function(Aa){return hg.B(l.j(og.B(h(ka)?ka:Od(Aa),Vf(Aa))),1)}):Fc.B(na,"keys")?Lf.G(Z,va,function(Aa){return og.B(h(ka)?ka:Od(Aa),Vf(Aa))}):Fc.B(na,"syms")?Lf.G(Z,va,function(Aa){return new z(null,gh,new z(null,J.B(h(ka)?ka:Od(Aa),Vf(Aa)),null,1,null),2,null)}):Fc.B(na,"strs")? -Lf.G(Z,va,l):Z}return Z}}(ma,Q,U,aa,ja,w,b),C,Hf(D));return rd.G(function(){return function(Ga,Ca){return rd.G(function(ca,Z){var va=Lf.G;var ka=yb(Ca);ka=ka.j?ka.j(Z):ka.call(null,Z);return va.call(Lf,ca,Z,ka)},ci.B(Ga,xb(Ca)),function(){var ca=xb(Ca);return ca.j?ca.j(Ga):ca.call(null,Ga)}())}}(wa,ma,Q,U,aa,ja,w,b),ci.J(D,hk,H.B([fk],0)),wa)}();;)if(r(A)){G=xb(t(A));var pa=yb(t(A)),ra=null!=G&&(G.ja&4096||lc===G.Xe)?Qc(J.B(null,Vf(G)),Rc(G)):G;pa=ld(ja,ra)?h(U)?new z(null,ik,new z(null,aa,new z(null, -pa,new z(null,ja.j?ja.j(ra):ja.call(null,ra),null,1,null),2,null),3,null),4,null):new z(null,jk,new z(null,aa,new z(null,pa,new z(null,ja.j?ja.j(ra):ja.call(null,ra),null,1,null),2,null),3,null),4,null):h(U)?new z(null,ik,new z(null,aa,new z(null,pa,null,1,null),2,null),3,null):new z(null,jk,new z(null,aa,new z(null,pa,null,1,null),2,null),3,null);G=G instanceof B||G instanceof n?Gd.J(ma,ra,H.B([pa],0)):q(ma,G,pa);A=u(A);ma=G}else return ma}function w(A,D,G){var Q=Li.j("vec__"),U=Li.j("seq__"),aa= -Li.j("first__"),ja=oe(new Pf(null,new f(null,1,[Pg,null],null),null),D);A=Gd.J(A,Q,H.B([G],0));A=h(ja)?Gd.J(A,U,H.B([new z(null,kk,new z(null,Q,null,1,null),2,null)],0)):A;G=0;for(var ma=!1;;)if(r(D)){var pa=t(D);if(Fc.B(pa,Pg))A=q(A,Ic(D),U),D=Kc(D),ma=!0;else{if(Fc.B(pa,hk))return q(A,Ic(D),Q);if(h(ma))throw Error("Unsupported binding form, only :as can follow \x26 parameter");A=q(h(ja)?Gd.J(A,aa,H.B([Nj.j(r(R.B(new z(null,lk,null,1,null),new z(null,U,null,1,null)))),U,Nj.j(r(R.B(new z(null,ola, -null,1,null),new z(null,U,null,1,null))))],0)):A,pa,h(ja)?aa:new z(null,pla,new z(null,Q,new z(null,G,new z(null,null,null,1,null),2,null),3,null),4,null));G+=1;D=u(D)}}else return A}if(k instanceof n)return Gd.B(Gd.B(g,h(Od(k))?J.j(Vf(k)):k),m);if(k instanceof B)return Gd.B(Gd.B(g,J.j(Vf(k))),m);if(ad(k))return w(g,k,m);if(Zc(k))return v(g,k,m);throw Error(["Unsupported binding form: ",l.j(k)].join(""));};if(ne(nc,ng.B(t,b)))return a;if(a=r(He.B(function(g){return t(g)instanceof B},b)))throw Error(["Unsupported binding key: ", -l.j(Jc(a))].join(""));return rd.G(function(g,k){return c(g,t(k),Ic(k))},Ke,b)},rla=function(a,b){if(ne(nc,a))return Jd(a,b);for(var c=Qc(Ke,Rc(a)),d=Ke;;)if(h(a))if(t(a)instanceof n){var g=u(a);c=Gd.B(c,t(a));a=g}else{var k=Li.j("p__");g=u(a);c=Gd.B(c,k);d=Gd.B(Gd.B(d,t(a)),k);a=g}else return Nj.j(r(R.B(new z(null,c,null,1,null),new z(null,Nj.j(r(R.J(new z(null,Sj,null,1,null),new z(null,d,null,1,null),H.B([b],0)))),null,1,null))))},sla=function(){return new z(null,ah,new z(null,"arguments",null, -1,null),2,null)},tla=function(a){return new z(null,ah,new z(null,"(~{}[~{}])",new z(null,sla(),new z(null,a,null,1,null),2,null),3,null),4,null)},wla=function(a){var b=Li.j("i");return Nj.j(r(R.J(new z(null,Sj,null,1,null),new z(null,td(Nj.j(r(R.B(new z(null,ula,null,1,null),new z(null,Nj.j(r(R.B(new z(null,mk,null,1,null),new z(null,sla(),null,1,null)))),null,1,null))))),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,nk,null,1,null),new z(null,td(Nj.j(r(R.B(new z(null,b,null,1,null),new z(null, -0,null,1,null))))),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,ok,null,1,null),new z(null,Nj.j(r(R.J(new z(null,pk,null,1,null),new z(null,b,null,1,null),H.B([new z(null,ula,null,1,null)],0)))),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,Uj,null,1,null),new z(null,a,null,1,null),H.B([new z(null,tla(b),null,1,null)],0)))),null,1,null),new z(null,Nj.j(r(R.B(new z(null,ch,null,1,null),new z(null,Nj.j(r(R.B(new z(null,vla,null,1,null),new z(null,b,null,1,null)))),null,1,null)))),null,1, -null)],0)))),null,1,null)],0)))),null,1,null)],0))))},Dla=function(a,b,c){function d(v){return td(Nj.j(r(R.J(new z(null,v,null,1,null),new z(null,Nj.j(r(R.B(new z(null,Qc(lk,qe.B(tj,Nj.j(r(R.J(new z(null,N,null,1,null),new z(null,"cherry/internal/fn.cljc",null,1,null),H.B([new z(null,O,null,1,null),new z(null,58,null,1,null),new z(null,P,null,1,null),new z(null,43,null,1,null),new z(null,S,null,1,null),new z(null,58,null,1,null),new z(null,T,null,1,null),new z(null,48,null,1,null),new z(null,xla, -null,1,null),new z(null,!0,null,1,null)],0)))))),null,1,null),new z(null,q,null,1,null)))),null,1,null),H.B([new z(null,q,null,1,null),new z(null,Nj.j(r(R.B(new z(null,Qc(ola,qe.B(tj,Nj.j(r(R.J(new z(null,N,null,1,null),new z(null,"cherry/internal/fn.cljc",null,1,null),H.B([new z(null,O,null,1,null),new z(null,59,null,1,null),new z(null,P,null,1,null),new z(null,45,null,1,null),new z(null,S,null,1,null),new z(null,59,null,1,null),new z(null,T,null,1,null),new z(null,49,null,1,null),new z(null,xla, -null,1,null),new z(null,!0,null,1,null)],0)))))),null,1,null),new z(null,q,null,1,null)))),null,1,null)],0)))))}var g=r(b);b=t(g);g=u(g);var k=qk.j(Rc(a)),m=rk.B(new Pf(null,new f(null,1,[Pg,"null"],null),null),b),q=Li.j("seq");return Nj.j(r(R.J(new z(null,Ug,null,1,null),new z(null,Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Nj.j(r(R.J(new z(null,eh,null,1,null),new z(null,a,null,1,null),H.B([new z(null,J.j(["-",l.j(yla)].join("")),null,1,null)],0)))),null,1,null),H.B([new z(null,Qc(Nj.j(r(R.B(new z(null, -Pj,null,1,null),new z(null,Nj.j(r(R.B(new z(null,td(m),null,1,null),g))),null,1,null)))),new f(null,1,[qk,k],null)),null,1,null)],0)))),null,1,null),H.B([h(c)?td(Nj.j(r(R.j(new z(null,Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Nj.j(r(R.J(new z(null,eh,null,1,null),new z(null,a,null,1,null),H.B([new z(null,zla,null,1,null)],0)))),null,1,null),H.B([new z(null,Ec(m)-1,null,1,null)],0)))),null,1,null))))):null,new z(null,Nj.j(r(R.J(new z(null,dh,null,1,null),new z(null,Nj.j(r(R.J(new z(null,eh, -null,1,null),new z(null,ij.G(a,ci,sk),null,1,null),H.B([new z(null,Ala,null,1,null)],0)))),null,1,null),H.B([new z(null,function(){if(1d.length?d:d.substring(d.length-2))?a:[l.j(a),";\n"].join("")},Jk=function(a){return["(",Ik.B(", ",a),")"].join("")},Rla=function(a){var b=l.j(mh(a)),c=new Pf(null,new f(null,2,["await",null,"import",null],null),null);return Da(b,"$")&&ld(c,l.j(a))?Dh(b,/\$$/,""):b},Kk=function(a,b){return h(h(!1)? -Fk.j(b):!1)?["\nglobalThis._repl \x3d ",l.j(a)].join(""):a},Mk=function(a,b){return h(Lk.j(b))?Lj.B?Lj.B("{%s}",a):Lj.call(null,"{%s}",a):a},Ok=function(a,b){var c=Lf.J(a,Dk,kj,H.B([Fk,!1],0));return ng.B(function(d){return Nk.B(d,c)},b)},Vla=function(a,b){b=r(b);var c=t(b),d=u(b),g=Lf.J(a,Dk,kj,H.B([Fk,!1],0));b=Ec(d);return cb(function(){var k=Vf(c);return Sla.j?Sla.j(k):Sla.call(null,k)}())&&2a?0:a,H.B([Tl],0));a=g}}},Bna=function(a){a=una(a);for(var b=Ke;;){if(bna(a))return r(b)?new f(null,2,[Ml,Yma(a),zna,b],null):null;var c=ql(a),d=ce(c);c=y.B(d,gi);d=y.B(d,Il);Fc.B(pna,c)?(a=zl(Ul.J(a,Lf,H.B([gi,Ana],0))),b=Gd.B(b,d)):a=zl(a)}},Ona=function(a){var b=ce(a),c=y.B(b,Ll),d=y.B(b,Vl);if(cb(r(d)))return b;for(var g= -una(b),k=Xma(g),m=g;;){if(null==k)return Lf.G(ql(m),Cna,!0);if(ld(new Pf(null,new f(null,8,[Dna,null,Ena,null,Fna,null,Gna,null,Hna,null,Ina,null,Jna,null,Kna,null],null),null),gi.j(ql(k)))){var q=Bna(ql(k));if(null==q)k=xl(k);else{var v=q,w=ce(v),A=y.B(w,Ml),D=y.B(w,zna);m=ana(ana(yl(k,new f(null,2,[gi,Lna,Bl,Ke],null)),A),new f(null,2,[gi,Mna,Bl,wh.B(function(G,Q,U,aa,ja,ma,pa,ra,wa,Ga,Ca,ca,Z){return function(va){va=y.B(Z,va);var ka=ce(va),na=y.B(ka,Il);va=y.B(ka,Jl);ka=y.B(ka,Bl);ka=Bl.j(t(ka)); -na=new f(null,1,[Il,na],null);va=h(va)?Lf.G(na,Jl,va):na;return rna(Nna,ka,null,va)}}(k,m,v,w,A,D,q,g,a,b,b,c,d),D)],null));k=xl(m);m=vl(m)}}else k=xl(k)}},Sna=function(a){var b=ce(a),c=y.B(b,Wl);a=y.B(b,Xl);var d=y.B(b,Pna),g=y.B(b,oj),k=y.B(b,Qna);b=cb(c)?Lf.G(b,Wl,function(m,q){q=ce(q);q=y.B(q,Rna);return Nl(m,d.j?d.j(q):d.call(null,q))}):b;g=cb(k)?Lf.G(b,Qna,di.B(jna,g)):b;return cb(a)?Lf.G(g,Xl,se(!0)):g},Una=function(a,b,c){var d=ce(a);a=y.B(d,Qna);var g=y.B(d,Xl),k=y.B(d,Wl);c=ce(c);var m= -y.B(c,Dl);b=h(g.j?g.j(b):g.call(null,b))?a.j?a.j(m):a.call(null,m):null;return r(b)?(b=rd.G(function(q,v){var w=ce(q),A=y.B(w,Tna);q=x.G(v,0,null);var D=x.G(v,1,null);v=x.G(v,2,null);var G=Ii.da;w=Ii.ia(w,Tna,hg,0,D);A=vEc(a)?Eh(a):[Eh(hg.G(a,0,1)),hg.B(a,1)].join("")},asa=function(a){if("string"===typeof a)return a;a=Vf(a);var b=Ih.B(a,/-/),c=r(b);b=t(c);c=u(c);return h($ra.j? -$ra.j(b):$ra.call(null,b))?a:qe.G(l,b,ng.B(Zra,c))},bsa=function(a){var b=function(){var c=function(){var d=Oc(a);if(d){d=a.displayName;if(h(d))return d;d=a.name;return"string"===typeof d&&r(d)?d:null}return d}();if(h(c))return c;c=function(){var d=null!=a?a.ja&4096||lc===a.Xe?!0:!1:!1;return d?Vf(a):d}();if(h(c))return c;c=Rc(a);return Zc(c)?X.j(c):null}();return h(b)?Dh(l.j(b),"$","."):null},Pn=function(a){return a instanceof B||a instanceof n},csa=function(a){if(Zc(a))try{var b=y.B(a,Qn)}catch(c){b= -null}else b=null;return b},dsa=function(a){var b=Qn.j(Rc(a));if(null!=b)return b;b=x.G(a,0,null);switch(b instanceof B?b.la:null){case "\x3e":case "f\x3e":return csa(x.G(a,2,null));case "r\x3e":return a=x.G(a,2,null),null==a?null:a.key;default:return csa(x.G(a,1,null))}},esa=function(a){return setTimeout(a,16)},fsa=function(a,b){return a.nh-b.nh},gsa=function(){return null},hsa=function(a){for(var b=a.length,c=0;;)if(cb?{from:b,to:a}:{from:a,to:b}},bta=function(a,b){return h(b)?(a.dispatch(b),!0):!1},cta=function(a,b,c){return new f(null,2,[go,new f(null,3,[ho,c,io,a,jo,b],null),ko,a+c.length],null)},dta=function(a,b){Fc.B(a,b)&&(--a,a=0>a?0:a);return new f(null,2,[ko,a,go,new f(null,2,[io,a,jo,b],null)],null)},mo=function(a,b){return lo(a,null,b)},lo=function(a,b,c){return a.update(no.B(a.changeByRange(function(d){var g=c.j?c.j(d):c.call(null,d);if(null== -g)g=null;else{g=fo(g,Zc);g=ce(g);var k=y.B(g,eta),m=y.B(g,ko),q=y.B(g,fta),v=y.B(g,oo);g=y.B(g,go);g=h(g)?a.changes(po(g)):null;h(v)?q=v:(h(k)?q=eo.EditorSelection.cursor(g.mapPos(k)):h(m)?q=eo.EditorSelection.cursor(m):h(q)?(k=q.j?q.j(0):q.call(null,0),q=q.j?q.j(1):q.call(null,1),q=eo.EditorSelection.range(k,q)):q=null,q=h(q)?q:d);q={range:q};h(g)&&(q.changes=g);g=q}return h(g)?g:{range:d}}),b))},hta=function(a){for(var b=[],c=arguments.length,d=0;;)if(dg}()))return a.update(no.B({changes:a.changes(q)}, -c));m=k.next();A=function(){var ma=(ma=cb(Q))?b.G?b.G(v,U,w):b.call(null,v,U,w):ma;if(h(ma)){var pa=q;pa.push(ma);return pa}return q}();var aa=v+U.length,ja=function(){var ma=w;return h(Q)?ma+1:ma}();q=A;v=aa;w=ja}},jta=function(a,b){var c=yg.j(-1),d=a.doc;return a.changeByRange(function(g){var k=null!=g&&(g.ha&64||lc===g.Pa)?qe.B(uj,g):g;var m=null!=k?k.from:void 0;var q=null!=k?k.to:void 0;var v=null!=k?k.anchor:void 0;var w=null!=k?k.head:void 0;for(var A=[],D=d.lineAt(m);;){var G=D,Q=null!=G&& -(G.ha&64||lc===G.Pa)?qe.B(uj,G):G,U=function(){var ma=Q;if(null!=ma)return ma.number}(),aa=function(){var ma=Q;if(null!=ma)return ma.to}();D.number>Bb(c)&&(ue(c,U),b.G?b.G(D,A,k):b.call(null,D,A,k));var ja=function(){var ma=q>aa;return ma?fo(d.lineAt(aa+1),function(pa,ra,wa,Ga,Ca){return function(ca){return ca.number>Ca}}(D,ma,G,Q,U,aa,A,g,k,k,m,q,v,w,c,d)):ma}();if(h(ja))D=ja;else return ja=a.changes(A),{changes:A,range:eo.EditorSelection.range(ja.mapPos(v,1),ja.mapPos(w,1))}}})},kta=function(a, -b){var c=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;a=null!=c?c.state:void 0;var d=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;var g=null!=d?d.doc:void 0;var k=null!=c?c.changes:void 0;a=null!=c?c.effects:void 0;var m=null!=c?c.selection:void 0;var q=yg.j(-1),v=[];k.iterChanges(function(D,G,Q,U){D=g.lineAt(Q);Q=null!=D&&(D.ha&64||lc===D.Pa)?qe.B(uj,D):D;D=null!=Q?Q.number:void 0;G=null!=Q?Q.to:void 0;for(;;){D>Bb(q)&&(ue(q,D),b.B?b.B(Q,v):b.call(null,Q,v));if(U<=G)return null;var aa=g.lineAt(G+1), -ja=aa;if(h(h(ja)?aa.number>Q.number:ja))Q=aa;else return null}});var w=d.changes(v);if(r(v)){var A=function(){if(null!=c){var D={};"annotations"in c&&(D.annotations=c.annotations);"scrollIntoView"in c&&(D.scrollIntoView=c.scrollIntoView);"reconfigure"in c&&(D.reconfigure=c.reconfigure)}else D={};D=null!=D?D:{};D.changes=k.compose(w);return D}();m=h(m)?function(){var D=null!=A?A:{};D.selection=d.selection.map(w);return D}():A;return h(a)?(m=null!=m?m:{},m.effects=eo.StateEffect.mapEffects(a,w),m): -m}return c},lta=function(a){a=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;a=null!=a?a.selection:void 0;a=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;a=null!=a?a.ranges:void 0;return!ne(function(b){return b.empty},a)},mta=function(a,b){var c=null!=b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;b=null!=c?c.from:void 0;var d=null!=c?c.to:void 0;c=l;var g=c.j;a=a.doc;a=a.slice.call(a,b,d);return g.call(c,a)},nta=function(a){return a.parent},ota=function(a){for(var b=0;;){a=a.parent;if(null==a)return b;b+=1}},qo= -function(a){return a.parent.childBefore(a.from)},ro=function(a){return a.parent.childAfter(a.to)},qta=function(a){return a.type.prop(pta)},sta=function(a){return a.type.prop(rta)},uta=function(a){return a.type.prop(tta)},wta=function(a){return a.type.prop(vta)},xta=function(a){return a.prop(tta)||a.prop(so)||a.prop(pta)},yta=function(a){return a.prop(vta)||a.prop(so)},Ata=function(a){a=a.type.prop(zta.NodeProp.closedBy);return null==a?null:a[0]},to=function(a){return a.type.isTop},Bta=function(a){return"Program"=== -a.name},Cta=function(a){return"String"===a.name},Dta=function(a){return"LineComment"===a.name},uo=function(a){return a.type.prop(Eta)},Gta=function(a){return a.isTop?!1:h(a.prop(Fta))?!1:h(a.prop(Eta))?!1:"Meta"===a.name?!1:"TaggedLiteral"===a.name?!1:"ConstructorCall"===a.name?!1:!0},Hta=function(a){var b=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;a=null!=b?b.firstChild:void 0;b=null!=b?b.lastChild:void 0;var c=Ata(a);return h(c)?Fc.B(c,b.name)&&Kf.B(a.to,b.to):!0},xo=function(a,b){return h(b.j? -b.j(a):b.call(null,a))?a:rd.G(function(c,d){return h(b.j?b.j(d):b.call(null,d))?zc(d):null},null,wo(a))},Ita=function(a,b){return rd.G(function(c,d){return h(b.j?b.j(d):b.call(null,d))?d:zc(c)},null,Jd(a,wo(a)))},Jta=function(a,b,c){a:switch(c){case 1:var d=a.childAfter(b);break a;case -1:d=a.childBefore(b);break a;default:throw Error(["No matching clause: ",l.j(c)].join(""));}return null==d?null:Jd(d,new Sd(null,function(){var g=Jta;a:switch(c){case 1:var k=d.to;break a;case -1:k=d.from;break a; -default:throw Error(["No matching clause: ",l.j(c)].join(""));}return g(a,k,c)},null,null))},Kta=function(a,b){return a.from===b.from&&a.to===b.to&&ota(a)===ota(b)},Lta=function(a){return{from:a.from,to:a.to}},yo=function(a,b){return Oa(a.from<=b.from&&a.to>=b.to&&ota(a)c)return b;if(Gta(d)||d.isError){if(b=Gd.B(b,{type:d,from:a.from,to:a.to}),a.lastChild(),!h(a.next()))return b}else if(!h(a.next()))return b}},Co=function(a,b,c){c=lh.j(new E(null,2,5,F,[b,c],null));b=x.G(c,0,null);c=x.G(c,1,null);var d=Bo(a,b,1),g=Bo(a,c,-1);a=h(Ota(d))?d.from:b;b=h(Ota(g))?g.to:c;b=rd.G(function(k,m){var q=x.G(k,0,null);k=x.G(k,1,null);return new E(null,2,5,F,[yo(m,d)?m.from:q,yo(m,g)?m.to:k],null)},new E(null,2,5,F,[a,b],null),ng.B(function(k){var m= -k.type;return m.prop(tta)||m.prop(vta)||m.prop(so)||m.prop(Fta)?k.parent:k},Nta(d,g)));a=x.G(b,0,null);b=x.G(b,1,null);return eo.EditorSelection.range(a,b)},Rta=function(a){a=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;var b=null!=a?a.firstChild:void 0;var c=null!=a?a.lastChild:void 0;return{from:xta(b.type)?b.to:a.from,to:yta(c.type)?c.from:a.to}},Sta=function(a){a=a.parent;if(null==a)return null;var b=fo(a,sta);return h(b)?b:fo(a.firstChild,qta)},Tta=function(a,b){var c=l,d=c.j,g=Sta(b);a=null== -g?null:a.doc.sliceString(g.from,g.to,"\n");return[d.call(c,a),b.firstChild.name].join("")},Do=function(a){return h(Sta(a))?a.parent:a},Uta=function(a,b){a=Bo(a,b,-1);return null==a?null:fo(a,function(c){return Fc.B(b,c.to)})},Vta=function(a,b){var c=function(){var m=Bo(a,b,-1);return null==m?null:fo(m,function(q){q=null!=q&&(q.ha&64||lc===q.Pa)?qe.B(uj,q):q;q=null!=q?q.to:void 0;return Fc.B(b,q)})}(),d=function(){var m=Bo(a,b,1);return null==m?null:fo(m,function(q){q=null!=q&&(q.ha&64||lc===q.Pa)? -qe.B(uj,q):q;q=null!=q?q.from:void 0;return Fc.B(b,q)})}(),g=Ao(a,b);var k=fo(c,Ql.B(db,function(m){return m.type.prop(so)||!xta(m.type)}));return h(k)?k:h(d)?d:h(c)?c:g},Xta=function(a,b){return Wta.parser.nodeTypes.FencedCode===a.tree.resolve(b).type.id},Zta=function(a){return Yta(a,a.selection.main.head)},Yta=function(a,b){a=Ao(a,b);return(b=Bta(a))?b:oe(Bta,wo(a))},$ta=function(a,b){a=Ao(a,b).name;b=new Pf(null,new f(null,2,["StringContent",null,"String",null],null),null);return b.j?b.j(a):b.call(null, -a)},aua=function(a,b){var c=b-1;return Fc.B("\\",a.doc.slice(0>c?0:c,b).toString())},bua=function(a){var b=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;return h(function(){var c=Fc.B(1,b.selection.ranges.length);if(c){c=null!=b?b.selection:void 0;c=null!=c?c.ranges:void 0;c=null!=c?c[0]:void 0;var d=c.empty;return h(d)?Fc.B(0,c.from):d}return c}())?null:lo(b,{annotations:$sa("delete")},function(c){var d=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c;var g=null!=d?d.empty:void 0;c=null!=d?d.head:void 0; -d=null!=d?d.anchor:void 0;c=ata(c,d);d=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c;c=null!=d?d.from:void 0;d=null!=d?d.to:void 0;var k=zo.syntaxTree(b).resolveInner(c,-1),m=k.parent;g=cb(g);g||(g=(g=Fc.B("StringContent",Bo(b,c,-1).name))?g:h(m)?!Hta(m)&&xta(k.type):m);h(g)?c=dta(c,d):yta(k.type)&&c===m.to?c=new f(null,1,[ko,c-1],null):(uta(k)||k.type.prop(so))&&k.from===m.from?(d=k.parent,g=d.name,c=(h(uo(d))?Kta(ro(d.firstChild),d.lastChild):Fc.B("String",g)&&d.firstChild.to===d.lastChild.from)?new f(null, -2,[ko,m.from,go,new E(null,1,5,F,[ata(m.from,m.to)],null)],null):new f(null,1,[ko,c],null)):(g=Uta(b,c-1),g=null==g?null:fo(g,Dta),h(g)&&(g=b.doc,g=g.lineAt.call(g,c),g=g.slice.call(g),g=!Kh(g)),c=h(g)?new f(null,1,[ko,c-1],null):dta(c,d));return c})},dua=function(a,b){var c=cua.j?cua.j(b):cua.call(null,b);return lo(a,{annotations:$sa("input")},function(d){var g=null!=d&&(d.ha&64||lc===d.Pa)?qe.B(uj,d):d;d=null!=g?g.from:void 0;var k=null!=g?g.to:void 0;var m=null!=g?g.head:void 0;var q=null!=g?g.anchor: -void 0;g=null!=g?g.empty:void 0;return h($ta(a,d))?Fc.B(b,'"')?cta(m,m,'\\"'):cta(d,k,b):aua(a,d)?cta(d,k,b):h(g)?new f(null,2,[go,new f(null,2,[ho,[b,c].join(""),io,m],null),ko,m+b.length],null):new f(null,2,[go,new E(null,2,5,F,[new f(null,2,[ho,b,io,d],null),new f(null,2,[ho,c,io,k],null)],null),fta,new E(null,2,5,F,[q+b.length,m+b.length],null)],null)})},eua=function(a,b){return lo(a,{annotations:$sa("input")},function(c){var d=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c;c=null!=d?d.empty:void 0; -var g=null!=d?d.head:void 0;var k=null!=d?d.from:void 0;d=null!=d?d.to:void 0;if(h(function(){var m=$ta(a,k);return h(m)?m:aua(a,k)}()))return cta(k,d,b);if(h(c)){c=function(){var m=function(){var w=Bo(a,g,-1);w=null==w?null:wo(w);w=null==w?null:He.B(Ql.B(uo,re(Hta)),w);return null==w?null:t(w)}(),q=function(){var w=null==m?null:m.firstChild;return null==w?null:Ata(w)}(),v=null==m?null:m.to;return h(h(q)?Fc.B(q,b):q)?new f(null,2,[go,new f(null,2,[io,v,ho,q],null),ko,v+1],null):null}();if(h(c))return c; -c=function(){var m=function(){a:{var q=zo.syntaxTree(a);for(var v=g;;){var w=q.cursorAt(v,1);if(w.type.isTop){q=null;break a}if(Gta(w.type)){q=w;break a}v=1+v}}if(h(q))for(;;){if(yta(q.type))return q.to;if(!h(q.next()))return null}else return null}();return h(m)?new f(null,1,[ko,m],null):null}();return h(c)?c:new f(null,1,[ko,g],null)}return null})},fua=function(a){return function(b){b=null!=b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;var c=null!=b?b.state:void 0;return bta(b,dua(c,a))}},gua=function(a){return function(b){b= -null!=b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;var c=null!=b?b.state:void 0;return bta(b,eua(c,a))}},Eo=function(a){return function(b){b=null!=b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;var c=null!=b?b.state:void 0;var d=Xta(c,c.selection.main.head);c=h(d)?d:Zta(c);return h(c)?a.j?a.j(b):a.call(null,b):!1}},hua=function(a,b){return b.range(a.from,a.to)},iua=function(a,b,c){var d=Hd(He.B(function(g){return b<=g.from&&g.from<=c||b<=g.to&&g.to<=c},Qta(a,b,c)));a=function(){var g=t(d);g=null==g?null:g.to;return null== -g?null:g=c&&!(d===b&&g===c)},Jd(a,Fe.J(Oh.B(Rta,vd),H.B([wo(a)],0)))))},Fo=function(a){return function(b){var c=null!=b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;b=null!=c?c.state:void 0;c=null!=c?c.dispatch:void 0;b=a.j?a.j(b):a.call(null,b);null!=b&&(c.j?c.j(b):c.call(null,b));return!0}},pua=function(a){return function(b){var c=null!= -b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;b=null!=c?c.state:void 0;c=null!=c?c.dispatch:void 0;return h(Zta(b))?(b=a.j?a.j(b):a.call(null,b),null!=b&&(c.j?c.j(b):c.call(null,b)),!0):!1}},qua=function(a){return mo(a,function(b){var c=null!=b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;b=null!=c?c.from:void 0;c=null!=c?c.empty:void 0;return h(c)?(c=Bo(a,b,-1),c=null==c?null:xo(c,uo),c=null==c?null:fo(c,Hta),h(c)?new f(null,2,[ko,b-1,go,new E(null,2,5,F,[Lta(c.firstChild),Lta(c.lastChild)],null)],null):null):null})}, -rua=function(a){var b=document;b=null!=b?b.activeElement:void 0;var c=document.createElement("textarea");c.setAttribute("class","clipboard-input");(null!=c?c:{}).innerHTML=a;document.body.appendChild(c);c.focus({preventScroll:!0});c.select();document.execCommand("copy");b.focus({preventScroll:!0});return document.body.removeChild(c)},sua=function(a){return mo(a,function(b){var c=null!=b&&(b.ha&64||lc===b.Pa)?qe.B(uj,b):b;var d=null!=c?c.from:void 0;b=null!=c?c.to:void 0;c=null!=c?c.empty:void 0;if(h(c)){b= -Ao(a,d);var g=xo(b,function(q){var v=uo(q);return h(v)?v:Cta(q)||to(q)}),k=a.doc.lineAt(d).to,m=h(g)?Jta(g,d,1):null;b=h(g)?function(){var q=null==m?null:bg.B(Ql.j(function(v){return v.from<=k}),m);return null==q?null:Lc(q)}():null;b=Cta(g)?function(){var q=l.j(a.doc.sliceString(g.from,g.to,"\n"));q=hg.B(q,d-g.from).indexOf("\n");return 0>q?g.to-1:d+q+1}():h(b)?wta(b)?b.from:b.to:h(function(){var q=t(m);q=null==q?null:q.from;return null==q?null:q>k}())?t(m).from:null;rua(a.doc.sliceString(d,b,"\n")); -return h(b)?new f(null,2,[ko,d,go,new f(null,2,[io,d,jo,b],null)],null):null}rua(a.doc.sliceString(d,b,"\n"));return new f(null,2,[ko,d,go,ata(d,b)],null)})},tua=function(a){var b=new zo.IndentContext(a);return mo(a,function(c){var d=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c;c=null!=d?d.from:void 0;d=null!=d?d.to:void 0;var g=xo(Ao(a,c),Fn.B(uo,to));g=null==g?null:Rta(g);g=null==g?null:g.from;g=h(g)?zo.getIndentation(b.state,g):null;g=["\n",l.j(h(g)?zo.indentString(a,g):null)].join("");return new f(null, -2,[ko,c+g.length,go,new E(null,1,5,F,[new f(null,3,[io,c,jo,d,ho,g],null)],null)],null)})},uua=function(a,b,c){var d=function(){var g=xo(Ao(a,b),function(m){var q=uo(m);return h(q)?q:Cta(m)||to(m)});g=null==g?null:Jta(g,b,c);g=null==g?null:t(g);if(null==g)return null;if(null!=g){a:switch(c){case -1:var k=io;break a;case 1:k=jo;break a;default:throw Error(["No matching clause: ",l.j(c)].join(""));}return g[vh(k)]}}();return h(d)?d:Zsa(a,b+c)},vua=function(a){return function(b){return mo(b,function(c){var d= -null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c;c=null!=d?d.from:void 0;var g=null!=d?d.to:void 0;d=null!=d?d.empty:void 0;if(h(d))c=new f(null,1,[ko,uua(b,c,a)],null);else{c=ata(c,g);if(null!=c){b:switch(a){case -1:g=io;break b;case 1:g=jo;break b;default:throw Error(["No matching clause: ",l.j(a)].join(""));}c=c[vh(g)]}else c=void 0;c=new f(null,1,[ko,c],null)}return c})}},wua=function(a){return function(b){return mo(b,function(c){var d=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c;c=null!=d?d.from:void 0; -var g=null!=d?d.to:void 0;d=null!=d?d.empty:void 0;if(h(d))c=new f(null,1,[oo,Co(b,c,uua(b,c,a))],null);else{a:switch(c=ata(c,g),g=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c,c=null!=g?g.from:void 0,g=null!=g?g.to:void 0,a){case 1:c=Co(b,c,uua(b,g,a));break a;case -1:c=Co(b,uua(b,c,a),g);break a;default:throw Error(["No matching clause: ",l.j(a)].join(""));}c=new f(null,1,[oo,c],null)}return c})}},xua=function(a){return function(b){return mo(b,function(c){var d=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj, -c):c;c=null!=d?d.from:void 0;d=null!=d?d.empty:void 0;if(h(d)){var g=xo(Ao(b,c),Ql.B(uo,function(m){a:switch(a){case 1:m=null==m?null:Do(m);m=null==m?null:ro(m);m=null==m?null:wta(m);break a;case -1:m=null==m?null:Do(m);m=null==m?null:qo(m);m=null==m?null:uta(m);break a;default:throw Error(["No matching clause: ",l.j(a)].join(""));}return cb(m)}));if(h(g)){a:switch(a){case 1:var k=t(rk.B(Dta,bg.B(vd,Ee(ro,ro(Do(g))))));break a;case -1:k=t(rk.B(Dta,bg.B(vd,Ee(qo,qo(Do(g))))));break a;default:throw Error(["No matching clause: ", -l.j(a)].join(""));}return h(k)?new f(null,2,[eta,c,go,function(){switch(a){case 1:var m=g.lastChild,q=F,v=new f(null,2,[io,k.to,ho,m.name],null);m=Lta(m);m=null!=m?m:{};m.insert=" ";return new E(null,2,5,q,[v,m],null);case -1:return m=Tta(b,g),q=Do(g).from,new E(null,2,5,F,[new f(null,3,[io,q,jo,q+m.length,ho," "],null),new f(null,2,[io,k.from,ho,m],null)],null);default:throw Error(["No matching clause: ",l.j(a)].join(""));}}()],null):null}}return null})}},yua=function(a){return function(b){return mo(b, -function(c){c=null!=c&&(c.ha&64||lc===c.Pa)?qe.B(uj,c):c;var d=null!=c?c.from:void 0;c=null!=c?c.empty:void 0;if(h(c)){var g=xo(Ao(b,d),uo);if(h(g))switch(a){case 1:c=function(){var v=g.lastChild;v=null==v?null:bg.B(vd,Ee(qo,qo(v)));v=null==v?null:rk.B(Dta,v);v=null==v?null:xe.B(1,v);return null==v?null:t(v)}();if(h(c)){var k=c;return new f(null,2,[ko,function(){var v=k.to;return vv?d:v}(),go,new E(null,2,5,F,[new f(null,2,[io,m.from,ho,[" ",q].join("")],null),new f(null,3,[io,c,jo,c+q.length,ho,zo.indentString(b,q.length)],null)],null)],null)}return null; -default:throw Error(["No matching clause: ",l.j(a)].join(""));}else return null}else return null})}},zua=function(a,b){return ud(function(c,d,g){var k=y.B(c,d);return null==k?ci.B(c,d):Lf.G(c,d,g.j?g.j(k):g.call(null,k))},a,b)},Cua=function(a){return zua(a,new f(null,2,[Aua,Bua,Go,Bua],null))},Eua=function(a){return zua(a,new f(null,2,[Aua,Dua,Go,Dua],null))},Fua=function(a){return po(ud(function(b,c,d){return jf.B(b,ng.B(function(g){return Eua(Lf.G(g,Aua,c))},d))},Ke,a))},Jua=function(a){return zo.LRLanguage.define({parser:a.configure({props:[Gua, -zo.foldNodeProp.add(Hua),Ho.styleTags(Iua)]})})},Kua=function(a){if(null!=a&&null!=a.kl)a=a.id;else{var b=Kua[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=Kua._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("Compiler.get-id",a);}return a},Lua=function(a,b,c){if(null!=a&&null!=a.hj)a=a.hj(a,b,c);else{var d=Lua[ba(null==a?null:a)];if(null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else if(d=Lua._,null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else throw jb("Compiler.parse-tag", -a);}return a},Io=function(a,b){if(null!=a&&null!=a.fj)a=a.fj(a,b);else{var c=Io[ba(null==a?null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=Io._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw jb("Compiler.as-element",a);}return a},Jo=function(a,b,c,d,g){if(null!=a&&null!=a.gj)a=a.gj(a,b,c,d,g);else{var k=Jo[ba(null==a?null:a)];if(null!=k)a=k.ia?k.ia(a,b,c,d,g):k.call(null,a,b,c,d,g);else if(k=Jo._,null!=k)a=k.ia?k.ia(a,b,c,d,g):k.call(null,a,b,c,d,g);else throw jb("Compiler.make-element", -a);}return a},Ko=function(a,b){var c=b.argv;if(null==c){c=F;a=a.constructor;a:for(var d=Fa(b),g=d.length,k=C,m=0;;)if(m=g&&k.push(Io(a,q));return k},[c,d],b))}},Cva=function(a,b,c,d){this.tag=a;this.id=b;this.className=c;this.custom=d},Dva=function(a,b,c){a=hva(a,c);c={};c.argv=b;b=dsa(b);null!=b&&(c.key=b);return Wn.createElement(a,c)},Eva=function(a,b,c,d){var g={};g.Ce=a;g.argv=Hh.B(b,c);b=dsa(b);null!=b&&(g.key=b);return Wn.createElement(mva(d,a),g)},Fva=function(a,b,c){return Nua(a)?Dva(a,b,c):Eva(a,b,1,c)},Iva=function(a,b){a=vva(Gva,b);if(null==a){var c=u(eg(Hva,Vf(b)));a=x.G(c,0,null);var d=x.G(c,1, -null);c=x.G(c,2,null);c=null==c?null:Dh(c,/\./," ");var g=Kf.B(-1,a.indexOf("-"));a=new Cva(a,d,c,g);return Gva[b]=a}return a},Lva=function(a,b,c,d){var g=a.tag,k=x.G(b,c,null),m=null==k||Zc(k),q=function(){var A=m?k:null;var D=So.j(A);D=h(D)?Lf.G(A,So,To.j(D)):A;var G=a.id;A=a.className;G=null!=G&&null==Hl.j(D)?Lf.G(D,Hl,G):D;if(h(A)){var Q=Lf.G,U=To.B,aa=So.j(D);D=h(aa)?aa:Jva.j(D);A=Q.call(Lf,G,So,U.call(To,A,D))}else A=G;A=h(a.custom)?Ava(A):Ro(A);return h(A)?A:{}}();c+=m?1:0;a:switch(g){case "input":case "textarea":var v= -!0;break a;default:v=!1}if(v){v=csa(k);var w=function(){var A=d.ll;if(h(A))return A;A=eva(Kva,d);return d.ll=A}();return Io(d,Qc(new E(null,6,5,F,[w,b,g,q,c,d],null),bi.J(H.B([h(v)?new f(null,1,[Qn,v],null):null,Rc(b)],0))))}v=csa(Rc(b));null!=v&&(q.key=v);return Jo(d,b,g,q,c)},Mva=function(a,b){return Lo.j(ng.B(function(c){return Io(b,c)},a))},Nva=function(a,b,c){null==b&&console.error("vec-to-elem",lm.J(H.B([a],0)));var d=x.G(a,0,null);switch(d instanceof B?d.la:null){case "\x3e":return c=x.G(a, -1,null),Lva(new Cva(c,null,null,null),a,2,b);case "r\x3e":c=x.G(a,1,null);d=x.G(a,2,null);d=h(d)?d:{};var g=csa(Rc(a));null!=g&&(d.key=g);return Jo(b,a,c,d,3);case "f\x3e":return Eva(x.G(a,1,null),a,2,b);case "\x3c\x3e":return d=x.G(a,1,null),c=null==d||Zc(d),d=Ro(c?d:null),d=h(d)?d:{},c=1+(c?1:0),g=dsa(a),null!=g&&(d.key=g),Jo(b,a,Wn.Fragment,d,c);default:if(Pn(d)||"string"===typeof d)a:for(;;)switch(c=x.G(a,0,null),d=Vf(c),g=d.indexOf("\x3e"),g){case -1:b=Lva(Lua(b,d,c),a,1,b);break a;case 0:b= -null;break a;default:a=Qc(new E(null,2,5,F,[hg.G(d,0,g),Lf.G(Qc(a,null),0,hg.B(d,g+1))],null),Rc(a))}else b=d instanceof uva?Lva(d,a,1,b):c.G?c.G(d,a,b):c.call(null,d,a,b);return b}},Ova=function(a,b,c,d,g){this.opts=a;this.id=b;this.Ri=c;this.Gg=d;this.Ek=g;this.ha=393216;this.ja=0},Rva=function(a){var b=Li.j("reagent-compiler"),c=h(Pva.j(a))?Fva:Dva,d=y.G(a,Qva,Iva);return new Ova(a,b,c,d,C)},Sva=function(a,b){return new zsa(a,b)},Tva=function(a){return Rva(a)},Uva=function(a){var b=document.querySelector("html").classList; -h(a)?b.add("dark"):b.remove("dark");return"undefined"!==typeof window?window.localStorage.setItem("clerk-darkmode",a):null},Wva=function(){sg(Uo,Vva,function(a,b,c,d){return Kf.B(c,d)?Uva(d):null});return h(Bb(Uo))?Uva(Bb(Uo)):null},Xva=function(a){var b=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;a=null!=b?b["class"]:void 0;b=null!=b?b.tagName:void 0;return og.j(qe.G(l,b,h(a)?Jd(".",fi.B(".",Ih.B(a,/ /))):null))},Yva=function(a,b){var c=null!=a&&(a.ha&64||lc===a.Pa)?qe.B(uj,a):a;a=null!=c?c.from: -void 0;c=null!=c?c.to:void 0;return a<=io.j(b)&&io.j(b)U?g:U}(),function(){var U=D;return ka?-0x7fffffffffffffff>=a?oa: +(new la(-a,-a/4294967296)).eb():pa},Pa=function(a,b){if("-"==a.charAt(0))return Pa(a.substring(1),b).eb();var c=parseInt(a,b||10);if(9007199254740991>=c)return new la(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("number format error: empty string");if(0<=a.indexOf("-"))throw Error('number format error: interior "-" character: '+a);b=b||10;if(2>b||36h?(h=qa(Math.pow(b,h)),d=d.multiply(h).add(qa(l))):(d=d.multiply(c),d=d.add(qa(l)))}return d},aaa=function(a,b){b&=63;if(0==b)return a;var c=a.Eb;return 32>b?na(a.Gb>>>b|c<<32-b,c>>>b):32==b?na(c,0):na(c>>>b-32,0)},sa=function(a,b){this.Rc=b;for(var c=[],d=!0,g=a.length-1;0<=g;g--){var h=a[g]|0;d&&h==b||(c[g]=h,d=!1)}this.Ib=c},maa=function(a){return-128<=a&&128>a?kaa(a,function(b){return new sa([b|0],0>b?-1:0)}):new sa([a|0],0>a?-1:0)},va=function(a){if(isNaN(a)||!isFinite(a))return ua; +if(0>a)return va(-a).eb();for(var b=[],c=1,d=0;a>=c;d++)b[d]=a/c|0,c*=naa;return new sa(b,0)},wa=function(a,b){return 0>b?0:b>>16,a[b]&=65535,b++},ya=function(a,b){this.Ui=a;this.remainder=b},paa=function(a,b){if(b.isZero())throw Error("division by zero");if(a.isZero())return new ya(ua,ua);if(a.Fb())return b=paa(a.eb(),b),new ya(b.Ui.eb(),b.remainder.eb());if(b.Fb())return b=paa(a,b.eb()),new ya(b.Ui.eb(),b.remainder); +if(30=d?1:Math.pow(2,d-48); +h=va(c);for(l=h.multiply(b);l.Fb()||l.greaterThan(a);)c-=d,h=va(c),l=h.multiply(b);h.isZero()&&(h=za);g=g.add(h);a=a.subtract(l)}return new ya(g,a)},Ba=function(a,b){return 0==a.lastIndexOf(b,0)},Ca=function(a,b){const c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},Ea=function(a){return/^[\s\xa0]*$/.test(a)},Ga=function(a,b){return-1!=a.indexOf(b)},Ha=function(a){const b=[];let c=0;for(const d in a)b[c++]=d;return b},Qa=function(a,b){var c=b;var d=aa(c);c=(d="array"==d||"object"==d&&"number"== +typeof c.length)?b:arguments;for(d=d?0:1;db?1:a=a||"€"<=a&&"�">=a},Eaa=function(){const a={"\x26amp;":"\x26","\x26lt;":"\x3c","\x26gt;":"\x3e","\x26quot;":'"'};let b;b=ia.document.createElement("div");return"\x26nbsp;".replace(Aaa,function(c,d){var g=a[c];if(g)return g;"#"==d.charAt(0)&&(d=Number("0"+d.slice(1)),isNaN(d)||(g=String.fromCharCode(d))); +if(!g){g=c+" ";if(void 0===Baa){d=null;var h=ia.trustedTypes;if(h&&h.createPolicy)try{d=h.createPolicy("goog#html",{createHTML:haa,createScript:haa,createScriptURL:haa})}catch(l){ia.console&&ia.console.error(l.message)}Baa=d}g=(d=Baa)?d.createHTML(g):g;g=new xaa(g,Caa);if(Daa())for(;b.lastChild;)b.removeChild(b.lastChild);b.innerHTML=yaa(g);g=b.firstChild.nodeValue.slice(0,-1)}return a[c]=g})},Na=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);let c=a.indexOf(".");-1===c&&(c=a.length); +const d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+Ma("0",Math.max(0,b-c))+a},Faa=function(a){return String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()},Xa=function(a,b){null!=a&&this.append.apply(this,arguments)},Gaa=function(a){var b="undefined"!==typeof setTimeout;return b?(a=setTimeout(a,0),rd.j?rd.j(a):rd.call(null,a)):b},eb=function(){return new f(null,5,[Saa,!0,Ya,Za,$a,ab,Taa,bb,Uaa,db],null)},Waa=function(){fb=!1;gb=function(){var a=arguments;return console.log.apply(console, +uaa(a))};Vaa=function(){var a=arguments;return console.error.apply(console,uaa(a))};return null},k=function(a){return null!=a&&!1!==a},Xaa=function(a,b){return a===b},hb=function(a){return null==a},ib=function(a){return a instanceof Array},jb=function(a){return"number"===typeof a},kb=function(a){return null==a?!0:!1===a?!0:!1},Yaa=function(a){return null!=a},Zaa=function(a){return null!=a?a.constructor===Object:!1},lb=function(a){return"string"===aa(a)},$aa=function(a){return"string"===typeof a&& +1===a.length},mb=function(){return!0},ob=function(a,b){return a[aa(null==b?null:b)]?!0:a._?!0:!1},qb=function(a){return null==a?null:a.constructor},rb=function(a,b){var c=qb(b);c=k(k(c)?c.ji:c)?c.eg:aa(b);return Error(["No protocol method ",a," defined for type ",c,": ",b].join(""))},aba=function(a){var b=a.eg;return k(b)?b:m.j(a)},Haa=function(){if("undefined"!==typeof performance&&null!=performance.now)return performance.now();if("undefined"!==typeof process&&null!=process.hrtime){var a=process.hrtime(); +return(1E9*a[0]+a[1])/1E6}return(new Date).getTime()},sb=function(a){for(var b=a.length,c=Array(b),d=0;;)if(d>>-b},qc=function(a){return pc(Qaa(pc(a|0,-862048943),15),461845907)},rc=function(a,b){return pc(Qaa((a|0)^(b|0),13),5)+-430675100|0},sc=function(a,b){a=(a|0)^b;a=pc(a^a>>>16,-2048144789);a=pc(a^a>>>13,-1028477387);return a^a>>>16},Raa=function(a){return 0===a?a:sc(rc(0,qc(a)),4)},mda=function(a){a:{var b=1;for(var c=0;;)if(b>2)},vc=function(a){return a instanceof n},Wba=function(a){return Vba(mda(a.name),Uba(a.ns))},Xba=function(a,b){if(a.str===b.str)return 0; +var c=kb(a.ns);if(k(c?b.ns:c))return-1;if(k(a.ns)){if(kb(b.ns))return 1;c=Ka(a.ns,b.ns);return 0===c?Ka(a.name,b.name):c}return Ka(a.name,b.name)},n=function(a,b,c,d,g){this.ns=a;this.name=b;this.str=c;this.sf=d;this.qd=g;this.ga=2154168321;this.ia=4096},wc=function(a){return a instanceof q},q=function(a,b,c){this.val=a;this.Nb=b;this.qd=c;this.ga=6717441;this.ia=0},Yba=function(a){return null!=a?a.ia&131072||tc===a.dn?!0:a.ia?!1:ob(Rba,a):ob(Rba,a)},Zba=function(a){return null!=a&&null!=a[xc]},t= +function(a){if(null==a)return null;if(null!=a&&(a.ga&8388608||tc===a.Hj))return a.ua(null);if(ib(a)||"string"===typeof a)return 0===a.length?null:new yc(a,0,null);if(Zba(a))return a=Ia(a,xc).call(a),zc.j?zc.j(a):zc.call(null,a);if(ob(Aba,a))return Pb(a);throw Error([m.j(a)," is not ISeqable"].join(""));},u=function(a){if(null==a)return null;if(null!=a&&(a.ga&64||tc===a.za))return a.xb(null);a=t(a);return null==a?null:yb(a)},Cc=function(a){return null!=a?null!=a&&(a.ga&64||tc===a.za)?a.Lb(null):(a= +t(a))?a.Lb(null):Ac:Ac},w=function(a){return null==a?null:null!=a&&(a.ga&128||tc===a.ag)?a.Jb(null):t(Cc(a))},$ba=function(a){this.s=a},Dc=function(a){return new $ba(t(a))},Ec=function(a,b,c){this.value=a;this.iter=b;this.Th=c;this.ga=8388672;this.ia=0},zc=function(a){var b=a.next();return k(b.done)?null:new Ec(b.value,a,null)},Jea=function(a,b){return sc(rc(0,qc(a)),b)},Fc=function(a){var b=0,c=1;for(a=t(a);;)if(null!=a)b+=1,c=pc(31,c)+uc(u(a))|0,a=w(a);else return Jea(c,b)},Gc=function(a){var b= +0,c=0;for(a=t(a);;)if(null!=a)b+=1,c=c+uc(u(a))|0,a=w(a);else return Jea(c,b)},aca=function(){},bca=function(a){if(null!=a&&null!=a.Mj)a=a.Mj(a);else{var b=bca[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=bca._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("Inst.inst-ms*",a);}return a},Uea=function(a){return bca(a)},$ea=function(a){return null!=a?tc===a.ql?!0:a.me?!1:ob(aca,a):ob(aca,a)},Hc=function(a){return a+1},cca=function(a){this.val=a;this.ga=32768;this.ia=0},Ic= +function(a){return new cca(a)},Jc=function(a){return a instanceof cca},dca=function(a){return Jc(a)?a:Ic(a)},Lc=function(a){return Jc(a)?Kc.j?Kc.j(a):Kc.call(null,a):a},Kc=function(a){return Ib(a)},Mc=function(a,b){var c=a.va(null);if(0===c)return b.ca?b.ca():b.call(null);for(var d=a.ta(null,0),g=1;;)if(gc?d+c:c;for(;;)if(0<=c){if(Pc.B(x.B?x.B(a,c):x.call(null,a,c),b))return c;--c}else return-1},gca=function(a,b){this.arr=a;this.i=b},yc=function(a,b,c){this.arr=a;this.i=b;this.meta=c;this.ga=166592766; +this.ia=139264},Rc=function(a,b,c){this.Qg=a;this.i=b;this.meta=c;this.ga=32374990;this.ia=8192},Sc=function(a){return u(w(a))},Tc=function(a){return u(u(a))},afa=function(a){return w(u(a))},hca=function(a){return u(w(a))},Uc=function(a){return w(w(a))},Vc=function(a){for(;;){var b=w(a);if(null!=b)a=b;else return u(a)}},Wc=function(a){return null==a?null:null!=a&&(a.ga&4||tc===a.dl)?a.fb(null):(null!=a?a.ga&4||tc===a.dl||(a.ga?0:ob(gba,a)):ob(gba,a))?hba(a):null},Oc=function(a){if(null!=a)if(null!= +a&&(a.ga&2||tc===a.bl))a=a.va(null);else if(ib(a))a=a.length;else if("string"===typeof a)a=a.length;else if(null!=a&&(a.ga&8388608||tc===a.Hj))a:{a=t(a);for(var b=0;;){if(Nc(a)){a=b+ub(a);break a}a=w(a);b+=1}}else a=ub(a);else a=0;return a},ica=function(a,b,c){for(;;){if(null==a)return c;if(0===b)return t(a)?u(a):c;if(fca(a))return Xc(a,b,c);if(t(a))a=w(a),--b;else return c}},jca=function(a,b){for(var c=a;;)if(a=0a:a instanceof sa?a.Fb():a instanceof la?a.Fb():!1},oca=function(a){return td(a)?!(0>a):a instanceof sa?kb(a.Fb()):a instanceof la?kb(a.Fb()):!1},pca=function(a){return"number"===typeof a},Aga=function(a){return"number"===typeof a},qca=function(a){return a===Number.POSITIVE_INFINITY|| +a===Number.NEGATIVE_INFINITY},vd=function(a,b){return null!=a&&(a.ga&512||tc===a.zj)?a.Ga(null,b):ob(nba,a)?Bb(a,b):A.G(a,b,ud)===ud?!1:!0},xd=function(a,b){return bfa(a)?Db(a,b):null!=a&&kca(a)&&vd(a,b)?new wd(b,A.B(a,b),null):null},yd=function(a,b){if(a===b)return 0;if(null==a)return-1;if(null==b)return 1;if("number"===typeof a){if("number"===typeof b)return Ka(a,b);throw Error(["Cannot compare ",m.j(a)," to ",m.j(b)].join(""));}if(null!=a?a.ia&2048||tc===a.Vc||(a.ia?0:ob(fc,a)):ob(fc,a))return gc(a, +b);if("string"!==typeof a&&!ib(a)&&!0!==a&&!1!==a||qb(a)!==qb(b))throw Error(["Cannot compare ",m.j(a)," to ",m.j(b)].join(""));return Ka(a,b)},zd=function(a,b){var c=Oc(a),d=Oc(b);if(cd)a=1;else if(0===c)a=0;else a:for(d=0;;){var g=yd(x.B(a,d),x.B(b,d));if(0===g&&d+1>b},ada=function(a,b){return a>>>b},Ld=function(a){a-=a>>1&1431655765;a=(a&858993459)+(a>>2&858993459);return 16843009*(a+(a>>4)&252645135)>>24},bda=function(a){return 0a},sha=function(a,b){for(a=t(a);;)if(a&&0a?0:a-1>>>5<<5},zda=function(a,b,c){for(;;){if(0===b)return c;var d=xda(a);d.arr[0]=c;c=d;b-=5}},Ada=function(a,b){throw Error(["No item ",m.j(a)," in vector of length ",m.j(b)].join(""));},Xe=function(a,b){if(b>=We(a))return a.tail;var c=a.root;for(a=a.shift;;)if(0>>a&31];a=d}else return c.arr},Bda=function(a,b){return 0<=b&&bc)return new E(null,c,5,G,a,null);var d=a.slice(0,32);b=32;for(var g=(new E(null,32,5,G,d,null)).tf(null);;)if(bc||dOc(b))throw Error("Index out of bounds");return new gf(a,b,c,d,g)}},jf=function(a,b){return a===b.gb?b:new Ve(a,sb(b.arr))},Hda=function(a){return new Ve({},sb(a.arr))},Ida=function(a){var b=[null,null,null,null,null,null,null,null,null,null,null,null,null, +null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];md(a,0,b,0,a.length);return b},Jda=function(a,b,c,d){this.ka=a;this.shift=b;this.root=c;this.tail=d;this.ia=88;this.ga=275},Lda=function(a,b){this.Jf=a;this.Cg=b},kf=function(a,b,c,d){this.meta=a;this.Pc=b;this.Uc=c;this.ha=d;this.ga=31850700;this.ia=0},lf=function(a,b,c,d,g){this.meta=a;this.count=b;this.Pc=c;this.Uc=d;this.ha=g;this.ia=139264;this.ga=31858766},Mda=function(){this.ga=2097152;this.ia=0}, +Oda=function(a,b){return rd(id(b)&&!jd(b)?Oc(a)===Oc(b)?(null!=a?a.ga&1048576||tc===a.en||(a.ga?0:ob(zba,a)):ob(zba,a))?Dd(function(c,d,g){return Pc.B(A.G(b,d,Nda),g)?!0:Ic(!1)},!0,a):we(function(c){return Pc.B(A.G(b,u(c),Nda),Sc(c))},a):null:null)},Ra=function(a,b){for(var c=b.length,d=0;;)if(db?1:0},mla=function(a,b,c){var d=a.keys,g=d.length,h=a.yd;a=ad(a);for(var l=0,p=ac(rf);;)if(l=g){if(pf(c[g],c[l]))return l;l-=2}else return l}(),a[h]=c[g],a[h+1]=c[b+1],b=2+h,g=2+g,h=b);else break;return new f(null,a.length/2,a,null)}return new f(null, +c.length/2,c,null)},Vda=function(a,b,c){this.cf=a;this.len=b;this.arr=c;this.ga=259;this.ia=56},Wda=function(a,b){for(var c=ac(rf),d=0;;)if(dd?c.left:c.right}else return null},Yla=function(a){return w(a)?ke(he(a)):t(a)?u(a):le},Pf=function(a,b){this.hb=a;this.qd=b;this.ga=32374988;this.ia=0},Qf=function(a){return(a=t(a))?new Pf(a,null):null},af=function(a){return Eb(a)},Rf=function(a,b){this.hb=a;this.qd=b;this.ga=32374988; +this.ia=0},Tf=function(a){return(a=t(a))?new Rf(a,null):null},bf=function(a){return Gb(a)},Wf=function(a,b){var c=le;for(b=t(b);;)if(b){var d=u(b),g=A.G(a,d,qea);c=Uf.B(g,qea)?Vf.G(c,d,g):c;b=w(b)}else return Lb(c,ad(a))},rea=function(a){this.iter=a},Xf=function(a,b,c){this.meta=a;this.xe=b;this.ha=c;this.ga=15077647;this.ia=139268},Zf=function(a){for(var b=a.length,c=ac(Yf),d=0;;)if(dpg)return Vb(a,"#");Vb(a,c);if(0===Uaa.j(h))t(l)&&Vb(a,function(){var O=zea.j(h);return k(O)?O:"..."}());else{if(t(l)){var v=u(l);b.G?b.G(v,a,h):b.call(null,v,a,h)}for(var r=w(l),z=Uaa.j(h)-1;;)if(!r||null!=z&&0===z){t(r)&&0===z&&(Vb(a,d),Vb(a,function(){var O=zea.j(h);return k(O)?O:"..."}()));break}else{Vb(a,d);var C=u(r);c=a;l=h;b.G?b.G(C,c,l):b.call(null,C,c,l);var F=w(r);c=z-1;r=F;z=c}}return Vb(a,g)}finally{pg= +p}},sg=function(a){if(null==gb)throw Error("No *print-fn* fn set for evaluation environment");gb.call(null,a);return null},Bea=function(a){return['"',m.j(a.replace(RegExp('[\\\\"\b\f\n\r\t]',"g"),function(b){return Aea[b]})),'"'].join("")},Cea=function(a,b){return(a=rd(A.B(a,$a)))?(a=null!=b?b.ga&131072||tc===b.uf?!0:!1:!1)?null!=ad(b):a:a},Dea=function(a,b,c){if(null==a)return Vb(b,"nil");if(Cea(c,a)){Vb(b,"^");var d=ad(a);tg.G?tg.G(d,b,c):tg.call(null,d,b,c);Vb(b," ")}if(a.ji)return a.Nj(b);if(null!= +a?a.ga&2147483648||tc===a.Za||(a.ga?0:ob(Hba,a)):ob(Hba,a))return Xb(a,b,c);if(!0===a||!1===a)return Vb(b,m.j(a));if("number"===typeof a)return Vb(b,isNaN(a)?"##NaN":a===Number.POSITIVE_INFINITY?"##Inf":a===Number.NEGATIVE_INFINITY?"##-Inf":m.j(a));if(Zaa(a))return Vb(b,"#js "),d=ug.B(function(h){return new wd(null!=kg(/[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*/,h)?vg.j(h):h,a[h],null)},Ha(a)),wg.da?wg.da(d,tg,b,c):wg.call(null,d,tg,b,c);if(ib(a))return qg(b,tg,"#js ["," ","]",c,a);if("string"===typeof a)return k(Ya.j(c))? +Vb(b,Bea(a)):Vb(b,a);if("function"===typeof a){var g=a.name;c=k(function(){var h=null==g;return h?h:Ea(g)}())?"Function":g;return Ta.J(b,y.B(["#object[",c,k(!1)?[' "',m.j(a),'"'].join(""):"","]"],0))}if(a instanceof Date)return c=function(h,l){for(h=m.j(h);;)if(h.length>>28,d=b>>>28;return ca){var c=0===a,d=c?-1043:-1022;for(a=c?b:a<<11;;)if(0>20)-1023},EAa=function(a,b,c){if(-1022<=a)return new E(null,2,5,G,[1048576|1048575&b,c],null);a=-1022-a;return 31>=a?new E(null,2,5,G,[b<>>32-a,c<>>31];try{var r=DAa(g,h),z=DAa(p,l),C=EAa(r,g,h),F=x.G(C,0,null),O=x.G(C,1,null),V=EAa(z,p,l),W=x.G(V,0,null),ea=x.G(V,1,null),ha=function(){for(var Wa=r-z,cb=F,nb=O;;){if(0===Wa)return new E(null,2,5,G,[cb,nb],null);var vb=CAa(nb,ea)?cb-W-1:cb-W,xb=nb-ea;if(0>vb)cb=new E(null,2,5,G,[cb+cb+(nb>>>31),nb+nb],null);else{if(0===(vb|xb))throw mi.B("Signed zero", +new f(null,1,[Jma,!0],null));cb=new E(null,2,5,G,[vb+vb+(xb>>>31),xb+xb],null)}nb=cb;cb=x.G(nb,0,null);nb=x.G(nb,1,null);cb&=4294967295;nb&=4294967295;--Wa}}(),ma=x.G(ha,0,null),ra=x.G(ha,1,null),ta=CAa(ra,ea)?ma-W-1:ma-W,Da=0<=ta?new E(null,2,5,G,[ta,ra-ea],null):new E(null,2,5,G,[ma,ra],null),Aa=x.G(Da,0,null),da=x.G(Da,1,null);if(0===(Aa|da))throw mi.B("Signed zero",new f(null,1,[Jma,!0],null));var Y=function(){for(var Wa=Aa,cb=da,nb=z;;)if(1048576>Wa){var vb=cb+cb;--nb;Wa=Wa+Wa+(cb>>>31);cb=vb}else return new E(null, +3,5,G,[Wa,cb,nb],null)}(),xa=x.G(Y,0,null),fa=x.G(Y,1,null),ja=x.G(Y,2,null);if(-1022<=ja)return c[FAa]=xa-1048576|ja+1023<<20|b,c[GAa]=fa,d[0];a=-1022-ja;var Fa=20>=a?new E(null,2,5,G,[xa>>a,fa>>>a|xa<<32-a],null):31>=a?new E(null,2,5,G,[b,xa<<32-a|fa>>>a],null):new E(null,2,5,G,[b,xa>>a-32],null);var La=x.G(Fa,0,null);var Oa=x.G(Fa,1,null);c[FAa]=La|b;c[GAa]=Oa;return 1*d[0]}catch(Wa){return Ima[b>>>31]}},MAa=function(a,b){var c=new ArrayBuffer(16),d=new Float64Array(c);c=new Uint8Array(c);var g= +LAa?7:0;d[0]=a;d[1]=b;c[g]=128&c[8+g]|127&c[g];return d[0]},NAa=function(a){if(isNaN(a)||!isFinite(a))return 1024;if(0===a)return-1023;var b=new ArrayBuffer(8),c=new Float64Array(b);b=new Uint32Array(b);var d=LAa?1:0;c[0]=a;return((b[d]&2146435072)>>20)-1023},uu=function(a,b){var c=new ArrayBuffer(8),d=new Float64Array(c);c=new Uint32Array(c);c[su]=b;c[tu]=a;return d[0]},vu=function(a,b,c,d){var g=(2147483647&b)+(2147483647&d);b=((b&2147483648)>>>31)+((d&2147483648)>>>31)+((g&2147483648)>>>31);return new E(null, +2,5,G,[4294967295&a+c+(b>>1),g&2147483647|b<<31],null)},Nfa=function(a,b,c){var d=RegExp,g=b.source,h=k(b.ignoreCase)?"gi":"g";h=k(b.multiline)?[h,"m"].join(""):h;b=k(b.unicode)?[h,"u"].join(""):h;return a.replace(new d(g,b),c)},Ofa=function(a){return function(){function b(d){var g=null;if(0=b||b>=2+Oc(a))return Qd.B(cf(Td("",ug.B(m,t(a)))),"");if(k(Gh.B?Gh.B(1,b):Gh.call(null,1,b)))return new E(null,1,5,G,[a],null);if(k(Gh.B?Gh.B(2,b):Gh.call(null,2,b)))return new E(null,2,5,G,["",a],null);b-=2;return Qd.B(cf(Td("",Hh.G(cf(ug.B(m,t(a))),0,b))),ng.B(a,b))},Jh=function(a){return Ih.B(a,/\n|\r\n/)},Rfa=function(a){return Kh(a)},Sfa=function(a){for(var b=a.length;;){if(0===b)return"";var c=A.B(a,b-1);if("\n"===c||"\r"===c)--b;else return a.substring(0,b)}},Lh=function(a){return Ea(null== +a?"":String(a))},Tfa=function(a,b){for(var c=new Xa,d=a.length,g=0;;){if(d===g)return c.toString();var h=a.charAt(g),l=A.B(b,h);null!=l?c.append(m.j(l)):c.append(h);g+=1}},Ufa=function(a,b){return Ba(a,b)},Vfa=function(a,b){return Ca(a,b)},Wfa=function(a,b){return Ga(a,b)},Oh=function(a,b,c,d,g){this.fe=a;this.form=b;this.fa=c;this.aa=d;this.ha=g;this.ga=2230716170;this.ia=139264},kga=function(a,b){return new Oh(b,a,null,null,null)},Ph=function(a){return null==a?null:","===a?!0:lga.test(a)},mga=function(a){return null== +a?null:!/[^0-9]/.test(a)},nga=function(a){return"\n"===a||"\n"===a||null==a},oga=function(a,b){return function g(d){return new ae(null,function(){for(;;){var h=t(d);if(h){if(ld(h)){var l=hc(h),p=Oc(l),v=be(p);return function(){for(var z=0;;)if(zc?(b=c.toString(16),a=ni(a,y.B(["Invalid character literal \\u",b,"."],0))):a=b,a;if(k(Ba(b,"o"))){--c;if(3ea.getLength())ea=ea.append("0");else{ea=ea.toString();break a}ea=Li(ea);return k(ea)?ea:0}();r=(Pc.B(r,"-")?-1:1)*(60*function(){var ea=Li(z);return k(ea)?ea:0}()+function(){var ea=Li(C);return k(ea)?ea:0}());return new E(null, +8,5,G,[a,Mi(1,b,12,"timestamp month field must be in range 1..12"),Mi(1,c,xha(b,0===Gd(a,4)&&(0!==Gd(a,100)||0===Gd(a,400))),"timestamp day field must be in range 1..last day in month"),Mi(0,F,23,"timestamp hour field must be in range 0..23"),Mi(0,O,59,"timestamp minute field must be in range 0..59"),Mi(0,V,Pc.B(O,59)?60:59,"timestamp second field must be in range 0..60"),Mi(0,W,999,"timestamp millisecond field must be in range 0..999"),r],null)},zha=function(a){if("string"===typeof a){var b=yha(a); +if(k(b)){a=x.G(b,0,null);var c=x.G(b,1,null),d=x.G(b,2,null),g=x.G(b,3,null),h=x.G(b,4,null),l=x.G(b,5,null),p=x.G(b,6,null);b=x.G(b,7,null);b=new Date(Date.UTC(a,c-1,d,g,h,l,p)-6E4*b)}else throw Error(["Unrecognized date/time syntax: ",m.j(a)].join(""));return b}throw Error("Instance literal expects a string for its timestamp.");},ota=function(a){return"string"===typeof a||a instanceof D&&null==Xd(a)},pta=function(a){this.val=a},qta=function(a,b,c){if(Od(c))return $c(function(){var g=ze.B(K,ug.B(a, +c));return b.j?b.j(g):b.call(null,g)}(),ad(c));if($e(c)){var d=new wd(function(){var g=Eb(c);return a.j?a.j(g):a.call(null,g)}(),function(){var g=Gb(c);return a.j?a.j(g):a.call(null,g)}(),null);return b.j?b.j(d):b.call(null,d)}return pd(c)?$c(function(){var g=Ni.j(ug.B(a,c));return b.j?b.j(g):b.call(null,g)}(),ad(c)):jd(c)?(d=Cd.G(function(g,h){return Qd.B(g,a.j?a.j(h):a.call(null,h))},c,c),b.j?b.j(d):b.call(null,d)):ed(c)?(d=qf.B(Wc(c),ug.B(a,c)),b.j?b.j(d):b.call(null,d)):b.j?b.j(c):b.call(null, +c)},vta=function(a){var b=Fe(new f(null,2,[Ii,0,bna,!1],null));a=sta(function(g){if(g instanceof n){var h=kg(/^%(.*)/,cg(g));if(k(h)){x.G(h,0,null);h=x.G(h,1,null);if(dd(h))return b.uc(null,eo.da(b.bb(null),Ii,tq,1)),ina;Pc.B("\x26",h)?b.uc(null,Vf.G(b.bb(null),bna,!0)):(h=parseInt(h),b.uc(null,eo.da(b.bb(null),Ii,tq,h)))}}return g},a);var c=Ib(b),d=me(c);c=A.B(d,Ii);d=A.B(d,bna);c=ug.B(function(g){return I.j(["%",m.j(g)].join(""))},nk.B(1,c+1));c=cf(Ti.B(c,k(d)?new E(null,2,5,G,[Yg,jna],null):null)); +return new B(null,hh,new B(null,c,new B(null,a,null,1,null),2,null),3,null)},xta=function(a){return pd(a)&&Pc.B(u(a),lna)},zta=function(a){return pd(a)&&Pc.B(u(a),mna)},Gta=function(a,b,c,d){a:{d=t(d);for(var g=ac(Ue);;)if(d){var h=u(d);g=Se.B(g,xta(h)?new B(null,nna,new B(null,Sc(h),null,1,null),2,null):zta(h)?Sc(h):new B(null,nna,new B(null,Bta.G?Bta.G(a,b,h):Bta.call(null,a,b,h),null,1,null),2,null));d=w(d)}else{a=t(dc(g));break a}}a=new B(null,ona,new B(null,new B(null,pna,new B(null,Td(rna,a), +null,1,null),2,null),null,1,null),2,null);return k(c)?new B(null,sna,new B(null,c,new B(null,a,null,1,null),2,null),3,null):a},Hta=function(a){a=t(a);for(var b=ac(Ue);;)if(a){var c=u(a);a=w(a);b=Se.B(Se.B(b,Eb(c)),Gb(c))}else return t(dc(b))},Ota=function(a,b,c){var d=me(a),g=A.B(d,wna);if(sfa(c))return new B(null,mh,new B(null,c,null,1,null),2,null);if(c instanceof n)return new B(null,mh,new B(null,function(){var h=cg(c);if(sfa(c))return c;if(Ca(h,"#")){var l=A.B(Ib(g),c);if(k(l))return l;h=ng.G(h, +0,h.length-1);h=yk.j([h,"__"].join(""));h=I.j([cg(h),"__auto__"].join(""));Eg.da(g,Vf,c,h);return h}h=xna.j(Ji.j(d));h=k(h)?h:Ed;return h.j?h.j(c):h.call(null,c)}(),null,1,null),2,null);if(xta(c))return Sc(c);if(zta(c))throw Error("unquote-splice not in list");if(ed(c)){if(c instanceof Qb)return c;if(id(c))return Gta(d,b,16<=Oc(c)?Dna:Ena,Hta(c));if(kd(c))return new B(null,Una,new B(null,Gta(d,b,null,c),null,1,null),2,null);if(fd(c))return Gta(d,b,Xna,c);if(pd(c)||Od(c))return(a=t(c))?Gta(d,b,null, +a):K(nna);throw Error("Unknown Collection type");}return c instanceof D||"number"===typeof c||$aa(c)||"string"===typeof c||null==c||od(c)||xea(c)?c:new B(null,mh,new B(null,c,null,1,null),2,null)},Bta=function(a,b,c){var d=Ota(a,b,c),g=null!=c?c.ga&262144||tc===c.Ff?!0:!1:!1;return(g?t(zh.J(ad(c),Vi.j(a),y.B([$i.j(a),fj.j(a),hj.j(a)],0))):g)?new B(null,doa,new B(null,d,new B(null,Ota(a,b,ad(c)),null,1,null),2,null),3,null):d},Aq=function(a,b,c){return zq(a,b,c,null)},zq=function(a,b,c,d){return Bq(a, +b,c,d,null)},Bq=function(a,b,c,d,g){var h=bi(b),l=h?ai.B(g,Wh(b)):null;b=h?xj.B(g,Vh(b)):null;throw mi.B(c,gi.J(y.B([Vf.J(new f(null,1,[$h,eoa],null),Vi.j(a),b,y.B([$i.j(a),l],0)),d],0)));},Rta=function(a){return k(a)?-1<["\r","\n","\t"," ",","].indexOf(a):a},Sta=function(a,b){for(var c=new Xa;;){var d=Rta(b);if(!k(d)){b:switch(b){case '"':case ";":case "@":case "^":case "`":case "~":case "(":case ")":case "[":case "]":case "{":case "}":case "\\":d=!0;break b;default:d=!1}d=k(d)?d:null==b}if(k(d))return k(b)&& +a.Wc(null,b),m.j(c);c=c.append(b);b=a.Ba(null)}},Tta=function(a,b,c){for(var d=function(){var p=new Xa;p.append(c);return p}(),g=b.Ba(null);;){if(k(function(){var p=Rta(g);if(k(p))return p;a:switch(g){case ":":case ";":case "'":case "@":case "^":case "`":case "~":case "(":case ")":case "[":case "]":case "{":case "}":case "\\":case "%":case "#":case '"':p=!0;break a;default:p=!1}return k(p)?p:null==g}())){var h=m.j(d);b.Wc(null,g);var l=Rga(h);return k(l)?l:Aq(a,b,["Invalid number: ",h].join(""))}h= +function(){var p=d;p.append(g);return p}();l=b.Ba(null);d=h;g=l}},Vta=function(a,b){a=ioa.j(a);return Ki(a,b)},Xta=function(a,b){var c=bi(b),d=c?b.oe(null):null;c=c?b.ne(null):null;for(var g=b.Ba(null),h=new Xa,l=b.Ba(null);;){var p=l;if(Pc.B(null,p))return zq(a,b,["EOF while reading, expected ",m.j(g)," to match ",m.j(g)," at [",m.j(d),",",m.j(c),"]"].join(""),new f(null,3,[yj,m.j(g),zj,m.j(g),toa,new f(null,2,[xj,d,ai,c],null)],null));if(Pc.B("\\",p)){p=function(){var r=h;r.append(Wta.B?Wta.B(h, +b):Wta.call(null,h,b));return r}();var v=b.Ba(null);h=p;l=v}else{if(Pc.B('"',p))return m.j(h);p=function(){var r=h;r.append(l);return r}();v=b.Ba(null);h=p;l=v}}},Gq=function(a,b,c,d,g){this.row=a;this.col=b;this.fa=c;this.aa=d;this.ha=g;this.ga=2230716170;this.ia=139264},Hq=function(a){return new Gq(a.oe(null),a.ne(null),null,null,null)},Yta=function(a){a:for(var b=a.Ba(null),c=new Xa;;){if(nga(b)){m.j(c);break a}var d=a.Ba(null);c=c.append(b);b=d}return a},Zta=function(a){for(;;){var b=a.Ba(null); +if(k(b)){if(!k(Rta(b)))return a.Wc(null,b),a}else return null}},aua=function(a,b,c){var d=Ue,g=bi(b),h=g?b.oe(null):null;g=g?b.ne(null):null;var l=b.Ba(null);a=Vf.G(Vf.G(a,Aj,c),Bj,new f(null,3,[Fj,l,xj,h,ai,g],null));for(d=ac(d);;){var p=Lq?Lq(a,b):Mq.call(null,a,b);var v=p;v=null==v?null:ad(v);v=null==v?null:uoa.j(v);if(Nq===p)return zq(a,b,["EOF while reading, expected ",m.j(c)," to match ",m.j(l)," at [",m.j(h),",",m.j(g),"]"].join(""),new f(null,3,[yj,m.j(c),zj,m.j(l),toa,new f(null,2,[xj,h, +ai,g],null)],null));if(Oq===p)return dc(d);if(k(v)){p=t(p);v=null;for(var r=0,z=0;;)if(z=g?ze.B(ar,d):ze.B(Hj,d)},uua=function(a,b){b.Ba(null);var c=b.Ba(null);k(Rta(c))&&Aq(a,b,"Invalid token: :");c=Sta(b,c);var d=":"===c.charAt(0);if(d){var g=d?ng.B(c,1):c;d=Uq.j?Uq.j(g):Uq.call(null,g);c=x.G(d,0,null);d=x.G(d,1,null);if(k(c)){var h=kua(a,b,g,null);g=I.j(c);a=lua(a,h,g, +b,c,null)}else h=kua(a,b,g,"Use `:auto-resolve` + `:current` to resolve current namespace."),a=lua(a,h,wk,b,g,"Use `:auto-resolve` + `:current` to resolve current namespace.");return vg.B(m.j(a),d)}return vg.j(c)},vua=function(a){return a instanceof D?ke([a,!0]):a instanceof n?new f(null,1,[Fi,a],null):"string"===typeof a?new f(null,1,[Fi,a],null):a},wua=function(a,b){return a instanceof D?ke([b.j?b.j(a):b.call(null,a),b.j?b.j(!0):b.call(null,!0)]):a instanceof n?ke([b.j?b.j(Fi):b.call(null,Fi),b.j? +b.j(a):b.call(null,a)]):"string"===typeof a?ke([b.j?b.j(Fi):b.call(null,Fi),b.j?b.j(a):b.call(null,a)]):a},Bua=function(a,b,c){var d=bi(b);if(Pc.B("#",c))return b.Ba(null),sua(a,b);if(Pc.B(null,c))return Nq;if(Pc.B("@",c))return c=Kk.j(a),k(c)?(d=c,b.Ba(null),c=Lq?Lq(a,b):Mq.call(null,a,b),!0===d?new B(null,Lk,new B(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)):Aq(a,b,"Deref not allowed. Use the `:deref` option");if(Pc.B("`",c))return c=Ji.j(a),k(c)?(d=c,b.Ba(null),c=Lq?Lq(a,b):Mq.call(null, +a,b),!0===d||id(d)?(d=Dg.j(le),d=Vf.G(a,wna,d),Bta(d,b,c)):d.j?d.j(c):d.call(null,c)):Aq(a,b,"Syntax quote not allowed. Use the `:syntax-quote` option");if(Pc.B('"',c))return Xta(a,b);if(Pc.B("'",c))return c=Mk.j(a),k(c)?(d=c,b.Ba(null),c=Lq?Lq(a,b):Mq.call(null,a,b),Nq===c&&Aq(a,b,"EOF while reading"),!0===d?new B(null,mh,new B(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)):Vta(a,b);if(Pc.B("(",c))return ze.B(K,aua(a,b,")"));if(Pc.B(")",c)){var g=Aj.j(a);if(Uf.B(g,c))return d=d?Hq(b):null, +b.Ba(null),Bq(a,b,["Unmatched delimiter: ",m.j(c),k(g)?[", expected: ",m.j(g),function(){var h=Bj.j(a);if(k(h)){var l=me(h);h=A.B(l,xj);var p=A.B(l,ai);l=A.B(l,Fj);return[" to match ",m.j(l)," at ",m.j(new E(null,2,5,G,[h,p],null))].join("")}return null}()].join(""):null].join(""),function(){var h=Bj.j(a),l=me(h);h=A.B(l,Fj);var p=A.B(l,xj);l=A.B(l,ai);return new f(null,3,[zj,m.j(h),toa,new f(null,2,[xj,p,ai,l],null),yj,m.j(g)],null)}(),d);b.Ba(null);return Oq}if(Pc.B(":",c))return uua(a,b);if(Pc.B(";", +c))return Yta(b);if(Pc.B("[",c))return aua(a,b,"]");if(Pc.B("{",c))return tua(a,b);if(Pc.B("\\",c))return c=b.Ba(null),yua.G?yua.G(b,c,null):yua.call(null,b,c,null);if(Pc.B("]",c)){g=Aj.j(a);if(Uf.B(g,c))return d=d?Hq(b):null,b.Ba(null),Bq(a,b,["Unmatched delimiter: ",m.j(c),k(g)?[", expected: ",m.j(g),function(){var h=Bj.j(a);if(k(h)){var l=me(h);h=A.B(l,xj);var p=A.B(l,ai);l=A.B(l,Fj);return[" to match ",m.j(l)," at ",m.j(new E(null,2,5,G,[h,p],null))].join("")}return null}()].join(""):null].join(""), +function(){var h=Bj.j(a),l=me(h);h=A.B(l,Fj);var p=A.B(l,xj);l=A.B(l,ai);return new f(null,3,[zj,m.j(h),toa,new f(null,2,[xj,p,ai,l],null),yj,m.j(g)],null)}(),d);b.Ba(null);return Oq}if(Pc.B("}",c)){g=Aj.j(a);if(Uf.B(g,c))return d=d?Hq(b):null,b.Ba(null),Bq(a,b,["Unmatched delimiter: ",m.j(c),k(g)?[", expected: ",m.j(g),function(){var h=Bj.j(a);if(k(h)){var l=me(h);h=A.B(l,xj);var p=A.B(l,ai);l=A.B(l,Fj);return[" to match ",m.j(l)," at ",m.j(new E(null,2,5,G,[h,p],null))].join("")}return null}()].join(""): +null].join(""),function(){var h=Bj.j(a),l=me(h);h=A.B(l,Fj);var p=A.B(l,xj);l=A.B(l,ai);return new f(null,3,[zj,m.j(h),toa,new f(null,2,[xj,p,ai,l],null),yj,m.j(g)],null)}(),d);b.Ba(null);return Oq}if(Pc.B("^",c))return b.Ba(null),c=zua?zua(a,b,!0):Mq.call(null,a,b,!0),lq.G(Lq?Lq(a,b):Mq.call(null,a,b),gi,c);if(Pc.B("~",c)){c=function(){var h=Ji.j(a);return k(h)?(h=Nk.j(a),k(h)?h:!0):h}();if(k(c)){d=c;b.Ba(null);if("@"===b.Kc(null))return d=function(){var h=Ji.j(a);return k(h)?(h=Ok.j(a),k(h)?h:!0): +h}(),k(d)?(b.Ba(null),c=Lq?Lq(a,b):Mq.call(null,a,b),!0===d?new B(null,mna,new B(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)):Aq(a,b,"Syntax unquote splice not allowed. Use the `:syntax-quote` option");c=Lq?Lq(a,b):Mq.call(null,a,b);return!0===d?new B(null,lna,new B(null,c,null,1,null),2,null):d.j?d.j(c):d.call(null,c)}return Aq(a,b,"Syntax unquote not allowed. Use the `:syntax-unquote` option")}c=b.Ba(null);return k(Aua.B?Aua.B(b,c):Aua.call(null,b,c))?Tta(a,b,c):mua(a,b,c)},Cua=function(a){return null!= +a?a.ga&262144||tc===a.Ff?!0:a.ga?!1:ob(Kb,a):ob(Kb,a)},Mq=function(a){switch(arguments.length){case 2:return Lq(arguments[0],arguments[1]);case 3:return zua(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}},Lq=function(a,b){return zua(a,b,null)},zua=function(a,b,c){for(;;){var d=bi(b),g=function(){var Y=Zta(b);return k(Y)?Th(b):Y}();if(k(g)){var h=g,l=d?Hq(b):null,p=Mg.j(a),v=k(p)?rg.j(Ib(b.frames)):null,r=k(p)?v.getLength():null,z= +k(p)?vga(b,function(Y,xa,fa,ja,Fa,La,Oa,Wa){return function(){return Bua(Y,xa,Wa)}}(a,b,c,l,p,v,r,h,g,d)):Bua(a,b,h);if(b!==z){if(Oq===z)return z;var C=Pk.j(a),F=Qk.j(a),O=Rk.j(a),V=Cua(z),W=k(p)?ng.B(m.j(v),r).trim():null,ea=function(){var Y=d;if(Y){if(Y=V)Y=(Y=kb(F))?Y:F.j?F.j(z):F.call(null,z);return k(Y)?Y:C}return Y}(),ha=k(function(){var Y=d;return Y?(Y=ea,k(Y)?O:Y):Y}())?Hq(b):null,ma=k(ea)?xj.j(l):null,ra=k(O)?xj.j(ha):null,ta=k(ea)?ai.j(l):null,Da=k(O)?ai.j(ha):null,Aa=k(C)?function(Y,xa, +fa,ja,Fa,La,Oa,Wa,cb,nb,vb,xb,Fb,Ub){return function(pb){var Zb=function(){var bc=new f(null,1,[Sk,pb],null);bc=k(cb)?Vf.G(bc,apa,function(){var Bc=ke([Vi.j(Y),vb,$i.j(Y),Fb]);return k(La)?Vf.J(Bc,fj.j(Y),xb,y.B([hj.j(Y),Ub],0)):Bc}()):bc;return k(Wa)?Vf.G(bc,function(){var Bc=Tk.j(Y);return k(Bc)?Bc:Mg}(),Wa):bc}();return ja.j?ja.j(Zb):ja.call(null,Zb)}}(a,b,c,C,F,O,V,W,ea,ha,ma,ra,ta,Da,l,p,v,r,z,h,g,d):null,da=k(c)?k(Aa)?wua(z,Aa):vua(z):z;return k(C)?Aa.j?Aa.j(da):Aa.call(null,da):k(ea)?lq.B(da, +function(Y,xa,fa,ja,Fa,La,Oa,Wa,cb,nb,vb,xb,Fb,Ub){return function(pb){pb=Vf.G(Vf.G(pb,Vi.j(Y),vb),$i.j(Y),Fb);pb=k(La)?Vf.G(Vf.G(pb,fj.j(Y),xb),hj.j(Y),Ub):pb;return k(Wa)?Vf.G(pb,Tk.j(Y),Wa):pb}}(a,b,c,C,F,O,V,W,ea,ha,ma,ra,ta,Da,Aa,da,l,p,v,r,z,h,g,d)):da}}else return Nq}},jr=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta,Da){this.dispatch=a;this.deref=b;this.ac=c;this.sb=d;this.bc=g;this.quote=h;this.fn=l;this.wb=p;this.Xb=v;this.Yb=r;this.Zb=z;this.Rb=C;this.Ub=F;this.Sb=O;this.source= +V;this.$b=W;this.Wb=ea;this.Vb=ha;this.Tb=ma;this.fa=ra;this.aa=ta;this.ha=Da;this.ga=2230716170;this.ia=139264},Dua=function(a){var b=zh.J(a,Uk,y.B([Kk,Ji,Nk,Ok,Mk,Ek,Ak,Ik,xk,Vi,$i,fj,hj,Mg,Tk,Pk,Qk,Rk],0));b=jd(a)?qf.B(le,b):b;return new jr(Uk.j(a),Kk.j(a),Ji.j(a),Nk.j(a),Ok.j(a),Mk.j(a),Ek.j(a),Ak.j(a),Ik.j(a),xk.j(a),Vi.j(a),$i.j(a),fj.j(a),hj.j(a),Mg.j(a),Tk.j(a),Pk.j(a),Qk.j(a),Rk.j(a),null,ne(b),null)},Gua=function(a){var b=function(){var d=Uk.j(a);return k(d)?qf.B(zh.B(a,Uk),new E(null,9, +5,G,[function(){var g=uo.B(d,new E(null,1,5,G,["@"],null));return k(g)?new E(null,2,5,G,[Kk,g],null):null}(),function(){var g=uo.B(d,new E(null,1,5,G,["`"],null));return k(g)?new E(null,2,5,G,[Ji,g],null):null}(),function(){var g=uo.B(d,new E(null,1,5,G,["~"],null));if(k(g)){if(Yc(g))return new E(null,2,5,G,[Nk,g],null);g=Gi.j(g);return k(g)?new E(null,2,5,G,[Nk,g],null):null}return null}(),function(){var g=uo.B(d,new E(null,2,5,G,["~","@"],null));return k(g)?new E(null,2,5,G,[Ok,g],null):null}(), +function(){var g=uo.B(d,new E(null,1,5,G,["'"],null));return k(g)?new E(null,2,5,G,[Mk,g],null):null}(),function(){var g=uo.B(d,new E(null,2,5,G,["#","("],null));return k(g)?new E(null,2,5,G,[Ek,g],null):null}(),function(){var g=uo.B(d,new E(null,2,5,G,["#","'"],null));return k(g)?new E(null,2,5,G,[Ak,g],null):null}(),function(){var g=uo.B(d,new E(null,2,5,G,["#","\x3d"],null));return k(g)?new E(null,2,5,G,[Ik,g],null):null}(),function(){var g=uo.B(d,new E(null,2,5,G,["#",'"'],null));return k(g)? +new E(null,2,5,G,[xk,g],null):null}()],null)):a}(),c=k(Vk.j(b))?gi.J(y.B([new f(null,7,[Kk,!0,Ek,!0,Mk,!0,Ik,!0,xk,!0,Ji,!0,Ak,!0],null),b],0)):b;b=function(){var d=kb(Vi.j(c))?Vf.G(c,Vi,xj):c;d=kb($i.j(c))?Vf.G(d,$i,ai):d;d=kb(fj.j(c))?Vf.G(d,fj,ipa):d;d=kb(hj.j(c))?Vf.G(d,hj,Dpa):d;d=kb(Tk.j(c))?Vf.G(d,Tk,Mg):d;return vd(c,Rk)?d:Vf.G(d,Rk,!0)}();return Dua(b)},mr=function(a){var b=Ib(Hua);b=Gua(b);a=k(b.source)?uga(a):di(ci(a));b=Vf.G(b,Aj,null);a=Lq(b,a);return Nq===a?null:a},Fpa=function(a,b){a instanceof +tga&&rg.j(Ib(a.frames)).clear();a=Lq(b,a);return Nq===a?(b=A.B(b,fi),k(b)?b:Epa):a},wu=function(a,b){const c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(g,h,l,p,v,r,z,C){if("%"==r)return"%";const F=c.shift();if("undefined"==typeof F)throw Error("[goog.string.format] Not enough arguments");arguments[0]=F;return wu.se[r].apply(null,arguments)})},Lpa= +function(a){return[m.j(m.j(a).replace(RegExp("\\.","g"),"$").replace("/","$")),"$"].join("")},Mpa=function(a){for(var b=le;;)if(t(a))b=Vf.G(b,u(a),hg.B(pd,w(a))),a=ig.B(pd,w(a));else return b},Upa=function(a,b){return Vf.G(b,0,lq.da(b.j?b.j(0):b.call(null,0),Vf,Fi,a))},Xpa=function(a,b){return jt.B(Upa(a,u(b)),w(b))},bqa=function(a,b){return kd(Sc(b))?jt.G(u(b),Upa(a,Sc(b)),Uc(b)):jt.B(u(b),ug.B(hi.B(Xpa,a),Cc(b)))},dqa=function(a,b){return Dd(function(c,d,g){return Vf.G(c,d,ug.B(hi.B(bqa,a),g))}, +le,b)},kqa=function(a,b,c,d,g){a=x.G(g,0,null);g=x.G(g,1,null);b=b.j?b.j(a):b.call(null,a);var h=ng.G(m.j(b),0,m.j(b).indexOf("/")+1);return Td(or.j(t(Ti.J(new B(null,jqa,null,1,null),new B(null,b,null,1,null),y.B([new B(null,d,null,1,null),new B(null,!0,null,1,null)],0)))),ug.B(function(l){var p=t(l),v=u(p);p=w(p);return or.j(t(Ti.J(new B(null,jqa,null,1,null),new B(null,I.j([h,m.j(v)].join("")),null,1,null),y.B([new B(null,d,null,1,null),new B(null,$c(or.j(t(Ti.B(new B(null,Wk,null,1,null),p))), +ad(l)),null,1,null)],0))))},g))},nqa=function(a,b,c){return ug.B(function(d){var g=t(d),h=u(g);g=w(g);g=kd(u(g))?new E(null,2,5,G,[h,new E(null,1,5,G,[Cc(d)],null)],null):new E(null,2,5,G,[h,g],null);h=x.G(g,0,null);g=x.G(g,1,null);return or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,Xk.B(b,h),null,1,null),y.B([new B(null,$c(or.j(t(Ti.B(new B(null,Wk,null,1,null),ug.B(function(l){l=t(l);var p=u(l);l=w(l);var v=t(p);p=u(v);v=w(v);return new B(null,cf(v),new B(null,jt.G(Yk,lq.da(p,Vf,Fi,a),l),null, +1,null),2,null)},g)))),ad(d)),null,1,null)],0))))},c)},oqa=function(a,b){b=t(b);var c=u(b);b=w(b);var d=t(c);c=u(d);d=w(d);a=lq.da(c,Vf,Fi,a);return or.j(t(Ti.B(new B(null,cf(Td(a,d)),null,1,null),new B(null,or.j(t(Ti.J(new B(null,Yk,null,1,null),new B(null,a,null,1,null),y.B([b],0)))),null,1,null))))},qqa=function(a,b,c){var d=t(c);u(d);d=w(d);return ug.B(function(g){var h=Oc(u(g));return or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,Xk.B(b,I.j(["cljs$core$IFn$_invoke$arity$",m.j(h)].join(""))), +null,1,null),y.B([new B(null,$c(or.j(t(Ti.B(new B(null,Wk,null,1,null),new B(null,g,null,1,null)))),ad(c)),null,1,null)],0))))},ug.B(function(g){g=t(g);var h=u(g);g=w(g);var l=t(h);h=u(l);l=w(l);return or.j(t(Ti.B(new B(null,cf(l),null,1,null),new B(null,or.j(t(Ti.J(new B(null,Yk,null,1,null),new B(null,lq.da(h,Vf,Fi,a),null,1,null),y.B([g],0)))),null,1,null))))},d))},Oqa=function(a,b,c){var d=t(c);u(d);d=w(d);d=ug.B(function(l){l=t(l);var p=u(l);l=w(l);var v=t(p);p=u(v);v=w(v);var r=$c(rqa,new f(null, +1,[Fi,a],null));return or.j(t(Ti.B(new B(null,cf(Td(r,v)),null,1,null),new B(null,or.j(t(Ti.J(new B(null,Yk,null,1,null),new B(null,r,null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,Zk,null,1,null),new B(null,cf(or.j(t(Ti.B(new B(null,p,null,1,null),new B(null,r,null,1,null))))),null,1,null),y.B([l],0)))),null,1,null)],0)))),null,1,null))))},d);var g=$c(rqa,new f(null,1,[Fi,a],null)),h=yk.j("args");return Ti.B(new E(null,2,5,G,[or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,Xk.B(b,sqa),null, +1,null),y.B([new B(null,$c(or.j(t(Ti.B(new B(null,Wk,null,1,null),d))),ad(c)),null,1,null)],0)))),or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,Xk.B(b,$k),null,1,null),y.B([new B(null,$c(or.j(t(Ti.J(new B(null,Wk,null,1,null),new B(null,new E(null,2,5,G,[g,h],null),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,Yk,null,1,null),new B(null,g,null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,Zk,null,1,null),new B(null,cf(or.j(t(Ti.B(new B(null,tqa,null,1,null),new B(null,or.j(t(Ti.B(new B(null, +uqa,null,1,null),new B(null,h,null,1,null)))),null,1,null))))),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,vqa,null,1,null),new B(null,or.j(t(Ti.B(new B(null,wqa,null,1,null),new B(null,g,null,1,null)))),null,1,null),y.B([new B(null,g,null,1,null),new B(null,or.j(t(Ti.J(new B(null,xqa,null,1,null),new B(null,or.j(t(Ti.B(new B(null,zqa,null,1,null),new B(null,g,null,1,null)))),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,dh,null,1,null),new B(null,or.j(t(Ti.J(new B(null,Aqa,null,1,null), +new B(null,or.j(t(Ti.B(new B(null,Bqa,null,1,null),new B(null,tqa,null,1,null)))),null,1,null),y.B([new B(null,20,null,1,null)],0)))),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,Dqa,null,1,null),new B(null,or.j(t(Ti.J(new B(null,Mqa,null,1,null),new B(null,tqa,null,1,null),y.B([new B(null,0,null,1,null),new B(null,20,null,1,null)],0)))),null,1,null),y.B([new B(null,or.j(t(Ti.B(new B(null,al,null,1,null),new B(null,or.j(t(Ti.J(new B(null,Mqa,null,1,null),new B(null,tqa,null,1,null),y.B([new B(null, +20,null,1,null)],0)))),null,1,null)))),null,1,null)],0)))),null,1,null),new B(null,tqa,null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),null,1,null)],0)))),ad(c)),null,1,null)],0))))],null),qqa(a,b,c))},Pqa=function(a,b,c,d){var g=t(d),h=u(g);g=w(g);var l=[m.j(a),m.j(rh(cg(h)))].join("");return kd(u(g))?new E(null,1,5,G,[or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,Xk.B(c,[l,"$arity$",m.j(Oc(u(g)))].join("")),null,1,null),y.B([new B(null,$c(or.j(t(Ti.B(new B(null, +Wk,null,1,null),oqa(b,g)))),ad(d)),null,1,null)],0))))],null):ug.B(function(p){var v=t(p),r=u(v);w(v);return or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,Xk.B(c,[l,"$arity$",m.j(Oc(r))].join("")),null,1,null),y.B([new B(null,$c(or.j(t(Ti.B(new B(null,Wk,null,1,null),new B(null,oqa(b,p),null,1,null)))),ad(d)),null,1,null)],0))))},g)},bra=function(a,b,c,d,g){a=x.G(g,0,null);g=x.G(g,1,null);var h=b.j?b.j(a):b.call(null,a),l=Lpa(h);b=ag(bl.j(ad(c)));return Pc.B(a,cl)?nqa(d,c,g):Ti.B(k(b.j?b.j(h): +b.call(null,h))?null:new E(null,1,5,G,[or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,Xk.B(c,l),null,1,null),y.B([new B(null,Qqa,null,1,null)],0))))],null),Oe.J(function(p){return Pc.B(h,dl)?Oqa(d,c,p):Pqa(l,d,c,p)},y.B([g],0)))},gra=function(a){a=Mpa(a);var b=t(io.B(dra,ug.B(Ed,Qf(a))));if(b){a=qf.B(Yf,Qe.B(hi.B(vd,dra),ug.B(Ed,Qf(a))));var c=function(){var d=Gg(u,b);d=qf.B(le,ug.B(Qh.B(af,Io.B(hi.B(ug,bd),bf)),d));return qf.B(le,ug.B(Qh.B(af,Io.B(hi.B(Cd,cS),bf)),d))}();return new E(null,2,5, +G,[a,Cd.G(function(d,g){return ei.G(d,new E(null,1,5,G,[g],null),wo.B(Ed,0))},c,nk.j(era))],null)}return null},ira=function(a,b,c){var d=x.G(c,0,null);c=x.G(c,1,null);return Qd.B(b,lq.G(Td(d,ug.B(function(g){return Td(Sc(g),Uc(g))},c)),gi,a))},rra=function(a){var b=ak.B(2,a),c=function p(g,h,l){function v(z,C,F){var O=ad(C),V=function(){var ta=el.j(O);return k(ta)?ta:Pc.B(fl,Fi.j(O))}(),W=yk.j("map__"),ea=gl.j(C),ha=function(ta,Da,Aa){return function(da){return k(hl.j(C))?Qd.J(da,hl.j(C),y.B([Aa], +0)):da}}(O,V,W,ea,r,b)(Qd.B(Qd.B(Qd.B(Qd.B(z,W),F),W),new B(null,jra,new B(null,W,null,1,null),2,null)));for(z=function(){var ta=Cd.G(function(Da,Aa,da){return function(Y,xa){if(xa instanceof D){var fa=Xd(xa),ja=cg(xa);return k(da)?Vf.G(Y,xa,function(Fa){return ng.B(m.j(vg.B(k(fa)?fa:Xd(Fa),cg(Fa))),1)}):Pc.B(ja,"keys")?Vf.G(Y,xa,function(Fa){return vg.B(k(fa)?fa:Xd(Fa),cg(Fa))}):Pc.B(ja,"syms")?Vf.G(Y,xa,function(Fa){return new B(null,mh,new B(null,I.B(k(fa)?fa:Xd(Fa),cg(Fa)),null,1,null),2,null)}): +Pc.B(ja,"strs")?Vf.G(Y,xa,m):Y}return Y}}(ha,O,V,W,ea,r,b),le,Qf(C));return Cd.G(function(){return function(Da,Aa){return Cd.G(function(da,Y){var xa=Vf.G;var fa=Gb(Aa);fa=fa.j?fa.j(Y):fa.call(null,Y);return xa.call(Vf,da,Y,fa)},zh.B(Da,Eb(Aa)),function(){var da=Eb(Aa);return da.j?da.j(Da):da.call(null,Da)}())}}(ta,ha,O,V,W,ea,r,b),zh.J(C,hl,y.B([gl],0)),ta)}();;)if(t(z)){F=Eb(u(z));var ma=Gb(u(z)),ra=null!=F&&(F.ia&4096||tc===F.$f)?$c(I.B(null,cg(F)),ad(F)):F;ma=vd(ea,ra)?k(V)?new B(null,il,new B(null, +W,new B(null,ma,new B(null,ea.j?ea.j(ra):ea.call(null,ra),null,1,null),2,null),3,null),4,null):new B(null,jl,new B(null,W,new B(null,ma,new B(null,ea.j?ea.j(ra):ea.call(null,ra),null,1,null),2,null),3,null),4,null):k(V)?new B(null,il,new B(null,W,new B(null,ma,null,1,null),2,null),3,null):new B(null,jl,new B(null,W,new B(null,ma,null,1,null),2,null),3,null);F=F instanceof D||F instanceof n?Qd.J(ha,ra,y.B([ma],0)):p(ha,F,ma);z=w(z);ha=F}else return ha}function r(z,C,F){var O=yk.j("vec__"),V=yk.j("seq__"), +W=yk.j("first__"),ea=xe(new Xf(null,new f(null,1,[Yg,null],null),null),C);z=Qd.J(z,O,y.B([F],0));z=k(ea)?Qd.J(z,V,y.B([new B(null,kl,new B(null,O,null,1,null),2,null)],0)):z;F=0;for(var ha=!1;;)if(t(C)){var ma=u(C);if(Pc.B(ma,Yg))z=p(z,Sc(C),V),C=Uc(C),ha=!0;else{if(Pc.B(ma,hl))return p(z,Sc(C),O);if(k(ha))throw Error("Unsupported binding form, only :as can follow \x26 parameter");z=p(k(ea)?Qd.J(z,W,y.B([or.j(t(Ti.B(new B(null,sl,null,1,null),new B(null,V,null,1,null)))),V,or.j(t(Ti.B(new B(null, +kra,null,1,null),new B(null,V,null,1,null))))],0)):z,ma,k(ea)?W:new B(null,nra,new B(null,O,new B(null,F,new B(null,null,null,1,null),2,null),3,null),4,null));F+=1;C=w(C)}}else return z}if(h instanceof n)return Qd.B(Qd.B(g,k(Xd(h))?I.j(cg(h)):h),l);if(h instanceof D)return Qd.B(Qd.B(g,I.j(cg(h))),l);if(kd(h))return r(g,h,l);if(id(h))return v(g,h,l);throw Error(["Unsupported binding form: ",m.j(h)].join(""));};if(we(vc,ug.B(u,b)))return a;if(a=t(Qe.B(function(g){return u(g)instanceof D},b)))throw Error(["Unsupported binding key: ", +m.j(Tc(a))].join(""));return Cd.G(function(g,h){return c(g,u(h),Sc(h))},Ue,b)},ura=function(a,b){if(we(vc,a))return Td(a,b);for(var c=$c(Ue,ad(a)),d=Ue;;)if(k(a))if(u(a)instanceof n){var g=w(a);c=Qd.B(c,u(a));a=g}else{var h=yk.j("p__");g=w(a);c=Qd.B(c,h);d=Qd.B(Qd.B(d,u(a)),h);a=g}else return or.j(t(Ti.B(new B(null,c,null,1,null),new B(null,or.j(t(Ti.J(new B(null,Zk,null,1,null),new B(null,d,null,1,null),y.B([b],0)))),null,1,null))))},vra=function(){return new B(null,rfa,new B(null,"arguments",null, +1,null),2,null)},wra=function(a){return new B(null,rfa,new B(null,"(~{}[~{}])",new B(null,vra(),new B(null,a,null,1,null),2,null),3,null),4,null)},zra=function(a){var b=yk.j("i");return or.j(t(Ti.J(new B(null,Zk,null,1,null),new B(null,cf(or.j(t(Ti.B(new B(null,xra,null,1,null),new B(null,or.j(t(Ti.B(new B(null,tl,null,1,null),new B(null,vra(),null,1,null)))),null,1,null))))),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,vl,null,1,null),new B(null,cf(or.j(t(Ti.B(new B(null,b,null,1,null),new B(null, +0,null,1,null))))),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,Bl,null,1,null),new B(null,or.j(t(Ti.J(new B(null,Cl,null,1,null),new B(null,b,null,1,null),y.B([new B(null,xra,null,1,null)],0)))),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,al,null,1,null),new B(null,a,null,1,null),y.B([new B(null,wra(b),null,1,null)],0)))),null,1,null),new B(null,or.j(t(Ti.B(new B(null,ih,null,1,null),new B(null,or.j(t(Ti.B(new B(null,yra,null,1,null),new B(null,b,null,1,null)))),null,1,null)))),null, +1,null)],0)))),null,1,null)],0)))),null,1,null)],0))))},Hra=function(a,b,c){function d(v){return cf(or.j(t(Ti.J(new B(null,v,null,1,null),new B(null,or.j(t(Ti.B(new B(null,$c(sl,ze.B(ar,or.j(t(Ti.J(new B(null,M,null,1,null),new B(null,"cherry/internal/fn.cljc",null,1,null),y.B([new B(null,N,null,1,null),new B(null,58,null,1,null),new B(null,P,null,1,null),new B(null,43,null,1,null),new B(null,Q,null,1,null),new B(null,58,null,1,null),new B(null,R,null,1,null),new B(null,48,null,1,null),new B(null, +Ara,null,1,null),new B(null,!0,null,1,null)],0)))))),null,1,null),new B(null,p,null,1,null)))),null,1,null),y.B([new B(null,p,null,1,null),new B(null,or.j(t(Ti.B(new B(null,$c(kra,ze.B(ar,or.j(t(Ti.J(new B(null,M,null,1,null),new B(null,"cherry/internal/fn.cljc",null,1,null),y.B([new B(null,N,null,1,null),new B(null,59,null,1,null),new B(null,P,null,1,null),new B(null,45,null,1,null),new B(null,Q,null,1,null),new B(null,59,null,1,null),new B(null,R,null,1,null),new B(null,49,null,1,null),new B(null, +Ara,null,1,null),new B(null,!0,null,1,null)],0)))))),null,1,null),new B(null,p,null,1,null)))),null,1,null)],0)))))}var g=t(b);b=u(g);g=w(g);var h=Dl.j(ad(a)),l=yh.B(new Xf(null,new f(null,1,[Yg,"null"],null),null),b),p=yk.j("seq");return or.j(t(Ti.J(new B(null,ch,null,1,null),new B(null,or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,or.j(t(Ti.J(new B(null,kh,null,1,null),new B(null,a,null,1,null),y.B([new B(null,I.j(["-",m.j(Bra)].join("")),null,1,null)],0)))),null,1,null),y.B([new B(null,$c(or.j(t(Ti.B(new B(null, +Wk,null,1,null),new B(null,or.j(t(Ti.B(new B(null,cf(l),null,1,null),g))),null,1,null)))),new f(null,1,[Dl,h],null)),null,1,null)],0)))),null,1,null),y.B([k(c)?cf(or.j(t(Ti.j(new B(null,or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,or.j(t(Ti.J(new B(null,kh,null,1,null),new B(null,a,null,1,null),y.B([new B(null,Cra,null,1,null)],0)))),null,1,null),y.B([new B(null,Oc(l)-1,null,1,null)],0)))),null,1,null))))):null,new B(null,or.j(t(Ti.J(new B(null,jh,null,1,null),new B(null,or.j(t(Ti.J(new B(null, +kh,null,1,null),new B(null,lq.G(a,zh,Fl),null,1,null),y.B([new B(null,Dra,null,1,null)],0)))),null,1,null),y.B([new B(null,function(){if(1d.length?d:d.substring(d.length-2))?a:[m.j(a),";\n"].join("")},bm=function(a){return["(",Wi.B(", ",a),")"].join("")},bsa=function(a){var b=m.j(rh(a)),c=new Xf(null,new f(null,2,["await",null, +"import",null],null),null);return Ca(b,"$")&&vd(c,m.j(a))?Dh(b,/\$$/,""):b},jm=function(a,b){return k(k(!1)?Yl.j(b):!1)?["\nglobalThis._repl \x3d ",m.j(a)].join(""):a},mm=function(a,b){return k(km.j(b))?wu.B?wu.B("{%s}",a):wu.call(null,"{%s}",a):a},tm=function(a,b){var c=Vf.J(a,Ul,mk,y.B([Yl,!1],0));return ug.B(function(d){return nm.B(d,c)},b)},fsa=function(a,b){b=t(b);var c=u(b),d=w(b),g=Vf.J(a,Ul,mk,y.B([Yl,!1],0));b=Oc(d);return kb(function(){var h=cg(c);return csa.j?csa.j(h):csa.call(null,h)}())&& +2a?0:a,y.B([wn],0));a=g}}},pqa=function(a){a=iqa(a);for(var b=Ue;;){if(Rpa(a))return t(b)?new f(null,2,[rn,Npa(a),Iua,b],null):null;var c=Vn(a),d=me(c);c=A.B(d,$h);d=A.B(d,mn);Pc.B(xua,c)?(a=co(zo.J(a,Vf,y.B([$h,Oua],0))),b=Qd.B(b,d)):a=co(a)}},yqa=function(a){var b=me(a),c=A.B(b,qn),d=A.B(b,Xn);if(kb(t(d)))return b; +for(var g=iqa(b),h=Yn(g),l=g;;){if(null==h)return Vf.G(Vn(l),Pua,!0);if(vd(new Xf(null,new f(null,8,[Wua,null,fva,null,iva,null,jva,null,kva,null,lva,null,mva,null,nva,null],null),null),$h.j(Vn(h)))){var p=pqa(Vn(h));if(null==p)h=ao(h);else{var v=p,r=me(v),z=A.B(r,rn),C=A.B(r,Iua);l=Qpa(Qpa(bo(h,new f(null,2,[$h,pva,gn,Ue],null)),z),new f(null,2,[$h,qva,gn,Nh.B(function(F,O,V,W,ea,ha,ma,ra,ta,Da,Aa,da,Y){return function(xa){xa=A.B(Y,xa);var fa=me(xa),ja=A.B(fa,mn);xa=A.B(fa,on);fa=A.B(fa,gn);fa=gn.j(u(fa)); +ja=new f(null,1,[mn,ja],null);xa=k(xa)?Vf.G(ja,on,xa):ja;return fqa(rva,fa,null,xa)}}(h,l,v,r,z,C,p,g,a,b,b,c,d),C)],null));h=ao(l);l=$n(l)}}else h=ao(h)}},Cqa=function(a){var b=me(a),c=A.B(b,Zn);a=A.B(b,fo);var d=A.B(b,Dva),g=A.B(b,xk),h=A.B(b,Eva);b=kb(c)?Vf.G(b,Zn,function(l,p){p=me(p);p=A.B(p,Hva);return ro(l,d.j?d.j(p):d.call(null,p))}):b;g=kb(h)?Vf.G(b,Eva,hi.B(Ypa,g)):b;return kb(a)?Vf.G(g,fo,Be(!0)):g},Eqa=function(a,b,c){var d=me(a);a=A.B(d,Eva);var g=A.B(d,fo),h=A.B(d,Zn);c=me(c);var l= +A.B(c,jn);b=k(g.j?g.j(b):g.call(null,b))?a.j?a.j(l):a.call(null,l):null;return t(b)?(b=Cd.G(function(p,v){var r=me(p),z=A.B(r,Mva);p=x.G(v,0,null);var C=x.G(v,1,null);v=x.G(v,2,null);var F=eo.da;r=eo.ja(r,Mva,ng,0,C);z=vOc(a)?Eh(a):[Eh(ng.G(a,0,1)),ng.B(a,1)].join("")},Tha=function(a){if("string"===typeof a)return a;a=cg(a);var b=Ih.B(a,/-/),c=t(b);b=u(c);c=w(c);return k(Sha.j? +Sha.j(b):Sha.call(null,b))?a:ze.G(m,b,ug.B(Rha,c))},Uha=function(a){var b=function(){var c=function(){var d=Yc(a);if(d){d=a.displayName;if(k(d))return d;d=a.name;return"string"===typeof d&&t(d)?d:null}return d}();if(k(c))return c;c=function(){var d=null!=a?a.ia&4096||tc===a.$f?!0:!1:!1;return d?cg(a):d}();if(k(c))return c;c=ad(a);return id(c)?U.j(c):null}();return k(b)?Dh(m.j(b),"$","."):null},Yi=function(a){return a instanceof D||a instanceof n},aj=function(a){if(id(a))try{var b=A.B(a,ep)}catch(c){b= +null}else b=null;return b},Wha=function(a){var b=ep.j(ad(a));if(null!=b)return b;b=x.G(a,0,null);switch(b instanceof D?b.la:null){case "\x3e":case "f\x3e":return aj(x.G(a,2,null));case "r\x3e":return a=x.G(a,2,null),null==a?null:a.key;default:return aj(x.G(a,1,null))}},Xha=function(a){return setTimeout(a,16)},Yha=function(a,b){return a.ni-b.ni},Zha=function(){return null},$ha=function(a){for(var b=a.length,c=0;;)if(cb?{from:b,to:a}:{from:a, +to:b}},Kia=function(a,b){return k(b)?(a.dispatch(b),!0):!1},Lia=function(a,b,c){return new f(null,2,[gp,new f(null,3,[lp,c,mp,a,pp,b],null),sp,a+c.length],null)},Mia=function(a,b){Pc.B(a,b)&&(--a,a=0>a?0:a);return new f(null,2,[sp,a,gp,new f(null,2,[mp,a,pp,b],null)],null)},Dj=function(a,b){return Cj(a,null,b)},Cj=function(a,b,c){return a.update(Ej.B(a.changeByRange(function(d){var g=c.j?c.j(d):c.call(null,d);if(null==g)g=null;else{g=vj(g,id);g=me(g);var h=A.B(g,Lya),l=A.B(g,sp),p=A.B(g,Mya),v=A.B(g, +up);g=A.B(g,gp);g=k(g)?a.changes(Gj(g)):null;k(v)?p=v:(k(h)?p=tj.EditorSelection.cursor(g.mapPos(h)):k(l)?p=tj.EditorSelection.cursor(l):k(p)?(h=p.j?p.j(0):p.call(null,0),p=p.j?p.j(1):p.call(null,1),p=tj.EditorSelection.range(h,p)):p=null,p=k(p)?p:d);p={range:p};k(g)&&(p.changes=g);g=p}return k(g)?g:{range:d}}),b))},Qia=function(a){for(var b=[],c=arguments.length,d=0;;)if(dg}()))return a.update(Ej.B({changes:a.changes(p)},c));l=h.next();z=function(){var ha=(ha=kb(O))?b.G?b.G(v, +V,r):b.call(null,v,V,r):ha;if(k(ha)){var ma=p;ma.push(ha);return ma}return p}();var W=v+V.length,ea=function(){var ha=r;return k(O)?ha+1:ha}();p=z;v=W;r=ea}},Sia=function(a,b){var c=Dg.j(-1),d=a.doc;return a.changeByRange(function(g){var h=null!=g&&(g.ga&64||tc===g.za)?ze.B(Hj,g):g;var l=null!=h?h.from:void 0;var p=null!=h?h.to:void 0;var v=null!=h?h.anchor:void 0;var r=null!=h?h.head:void 0;for(var z=[],C=d.lineAt(l);;){var F=C,O=null!=F&&(F.ga&64||tc===F.za)?ze.B(Hj,F):F,V=function(){var ha=O;if(null!= +ha)return ha.number}(),W=function(){var ha=O;if(null!=ha)return ha.to}();C.number>Ib(c)&&(De(c,V),b.G?b.G(C,z,h):b.call(null,C,z,h));var ea=function(){var ha=p>W;return ha?vj(d.lineAt(W+1),function(ma,ra,ta,Da,Aa){return function(da){return da.number>Aa}}(C,ha,F,O,V,W,z,g,h,h,l,p,v,r,c,d)):ha}();if(k(ea))C=ea;else return ea=a.changes(z),{changes:z,range:tj.EditorSelection.range(ea.mapPos(v,1),ea.mapPos(r,1))}}})},Tia=function(a,b){var c=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;a=null!=c?c.state: +void 0;var d=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;var g=null!=d?d.doc:void 0;var h=null!=c?c.changes:void 0;a=null!=c?c.effects:void 0;var l=null!=c?c.selection:void 0;var p=Dg.j(-1),v=[];h.iterChanges(function(C,F,O,V){C=g.lineAt(O);O=null!=C&&(C.ga&64||tc===C.za)?ze.B(Hj,C):C;C=null!=O?O.number:void 0;F=null!=O?O.to:void 0;for(;;){C>Ib(p)&&(De(p,C),b.B?b.B(O,v):b.call(null,O,v));if(V<=F)return null;var W=g.lineAt(F+1),ea=W;if(k(k(ea)?W.number>O.number:ea))O=W;else return null}});var r=d.changes(v); +if(t(v)){var z=function(){if(null!=c){var C={};"annotations"in c&&(C.annotations=c.annotations);"scrollIntoView"in c&&(C.scrollIntoView=c.scrollIntoView);"reconfigure"in c&&(C.reconfigure=c.reconfigure)}else C={};C=null!=C?C:{};C.changes=h.compose(r);return C}();l=k(l)?function(){var C=null!=z?z:{};C.selection=d.selection.map(r);return C}():z;return k(a)?(l=null!=l?l:{},l.effects=tj.StateEffect.mapEffects(a,r),l):l}return c},Uia=function(a){a=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;a=null!=a?a.selection: +void 0;a=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;a=null!=a?a.ranges:void 0;return!we(function(b){return b.empty},a)},Via=function(a,b){var c=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;b=null!=c?c.from:void 0;var d=null!=c?c.to:void 0;c=m;var g=c.j;a=a.doc;a=a.slice.call(a,b,d);return g.call(c,a)},Wia=function(a){return a.parent},Xia=function(a){for(var b=0;;){a=a.parent;if(null==a)return b;b+=1}},Ij=function(a){return a.parent.childBefore(a.from)},Jj=function(a){return a.parent.childAfter(a.to)}, +Zia=function(a){return a.type.prop(Yia)},aja=function(a){return a.type.prop($ia)},cja=function(a){return a.type.prop(bja)},eja=function(a){return a.type.prop(dja)},fja=function(a){return a.prop(bja)||a.prop(Kj)||a.prop(Yia)},gja=function(a){return a.prop(dja)||a.prop(Kj)},ija=function(a){a=a.type.prop(hja.NodeProp.closedBy);return null==a?null:a[0]},Lj=function(a){return a.type.isTop},jja=function(a){return"Program"===a.name},Mj=function(a){return"String"===a.name},Nj=function(a){return"LineComment"=== +a.name},Oj=function(a){return a.type.prop(kja)},mja=function(a){return a.isTop?!1:k(a.prop(lja))?!1:k(a.prop(kja))?!1:"Meta"===a.name?!1:"TaggedLiteral"===a.name?!1:"ConstructorCall"===a.name?!1:!0},nja=function(a){var b=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;a=null!=b?b.firstChild:void 0;b=null!=b?b.lastChild:void 0;var c=ija(a);return k(c)?Pc.B(c,b.name)&&Uf.B(a.to,b.to):!0},Qj=function(a,b){return k(b.j?b.j(a):b.call(null,a))?a:Cd.G(function(c,d){return k(b.j?b.j(d):b.call(null,d))?Ic(d):null}, +null,Pj(a))},oja=function(a,b){return Cd.G(function(c,d){return k(b.j?b.j(d):b.call(null,d))?d:Ic(c)},null,Td(a,Pj(a)))},pja=function(a,b,c){a:switch(c){case 1:var d=a.childAfter(b);break a;case -1:d=a.childBefore(b);break a;default:throw Error(["No matching clause: ",m.j(c)].join(""));}return null==d?null:Td(d,new ae(null,function(){var g=pja;a:switch(c){case 1:var h=d.to;break a;case -1:h=d.from;break a;default:throw Error(["No matching clause: ",m.j(c)].join(""));}return g(a,h,c)},null,null))}, +qja=function(a,b){return a.from===b.from&&a.to===b.to&&Xia(a)===Xia(b)},rja=function(a){return{from:a.from,to:a.to}},Rj=function(a,b){return rd(a.from<=b.from&&a.to>=b.to&&Xia(a)c)return b;if(mja(d)||d.isError){if(b=Qd.B(b,{type:d, +from:a.from,to:a.to}),a.lastChild(),!k(a.next()))return b}else if(!k(a.next()))return b}},Vj=function(a,b,c){c=qh.j(new E(null,2,5,G,[b,c],null));b=x.G(c,0,null);c=x.G(c,1,null);var d=Uj(a,b,1),g=Uj(a,c,-1);a=k(uja(d))?d.from:b;b=k(uja(g))?g.to:c;b=Cd.G(function(h,l){var p=x.G(h,0,null);h=x.G(h,1,null);return new E(null,2,5,G,[Rj(l,d)?l.from:p,Rj(l,g)?l.to:h],null)},new E(null,2,5,G,[a,b],null),ug.B(function(h){var l=h.type;return l.prop(bja)||l.prop(dja)||l.prop(Kj)||l.prop(lja)?h.parent:h},tja(d, +g)));a=x.G(b,0,null);b=x.G(b,1,null);return tj.EditorSelection.range(a,b)},xja=function(a){a=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;var b=null!=a?a.firstChild:void 0;var c=null!=a?a.lastChild:void 0;return{from:fja(b.type)?b.to:a.from,to:gja(c.type)?c.from:a.to}},yja=function(a){a=a.parent;if(null==a)return null;var b=vj(a,aja);return k(b)?b:vj(a.firstChild,Zia)},zja=function(a,b){var c=m,d=c.j,g=yja(b);a=null==g?null:a.doc.sliceString(g.from,g.to,"\n");return[d.call(c,a),b.firstChild.name].join("")}, +Wj=function(a){return k(yja(a))?a.parent:a},Aja=function(a,b){a=Uj(a,b,-1);return null==a?null:vj(a,function(c){return Pc.B(b,c.to)})},Bja=function(a,b){var c=function(){var l=Uj(a,b,-1);return null==l?null:vj(l,function(p){p=null!=p&&(p.ga&64||tc===p.za)?ze.B(Hj,p):p;p=null!=p?p.to:void 0;return Pc.B(b,p)})}(),d=function(){var l=Uj(a,b,1);return null==l?null:vj(l,function(p){p=null!=p&&(p.ga&64||tc===p.za)?ze.B(Hj,p):p;p=null!=p?p.from:void 0;return Pc.B(b,p)})}(),g=Tj(a,b);var h=vj(c,Xj.B(Yaa,function(l){return l.type.prop(Kj)|| +!fja(l.type)}));return k(h)?h:k(d)?d:k(c)?c:g},Dja=function(a,b){return Cja.parser.nodeTypes.FencedCode===a.tree.resolve(b).type.id},Fja=function(a){return Eja(a,a.selection.main.head)},Eja=function(a,b){a=Tj(a,b);return(b=jja(a))?b:xe(jja,Pj(a))},Gja=function(a,b){a=Tj(a,b).name;b=new Xf(null,new f(null,2,["StringContent",null,"String",null],null),null);return b.j?b.j(a):b.call(null,a)},Hja=function(a,b){var c=b-1;return Pc.B("\\",a.doc.slice(0>c?0:c,b).toString())},Ija=function(a){var b=null!=a&& +(a.ga&64||tc===a.za)?ze.B(Hj,a):a;return k(function(){var c=Pc.B(1,b.selection.ranges.length);if(c){c=null!=b?b.selection:void 0;c=null!=c?c.ranges:void 0;c=null!=c?c[0]:void 0;var d=c.empty;return k(d)?Pc.B(0,c.from):d}return c}())?null:Cj(b,{annotations:uj("delete")},function(c){var d=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;var g=null!=d?d.empty:void 0;c=null!=d?d.head:void 0;d=null!=d?d.anchor:void 0;c=wj(c,d);d=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;c=null!=d?d.from:void 0;d=null!=d?d.to: +void 0;var h=Sj.syntaxTree(b).resolveInner(c,-1),l=h.parent;g=kb(g);g||(g=(g=Pc.B("StringContent",Uj(b,c,-1).name))?g:k(l)?!nja(l)&&fja(h.type):l);k(g)?c=Mia(c,d):gja(h.type)&&c===l.to?c=new f(null,1,[sp,c-1],null):(cja(h)||h.type.prop(Kj))&&h.from===l.from?(d=h.parent,g=d.name,c=(k(Oj(d))?qja(Jj(d.firstChild),d.lastChild):Pc.B("String",g)&&d.firstChild.to===d.lastChild.from)?new f(null,2,[sp,l.from,gp,new E(null,1,5,G,[wj(l.from,l.to)],null)],null):new f(null,1,[sp,c],null)):(g=Aja(b,c-1),g=null== +g?null:vj(g,Nj),k(g)&&(g=b.doc,g=g.lineAt.call(g,c),g=g.slice.call(g),g=!Lh(g)),c=k(g)?new f(null,1,[sp,c-1],null):Mia(c,d));return c})},Kja=function(a,b){var c=Jja.j?Jja.j(b):Jja.call(null,b);return Cj(a,{annotations:uj("input")},function(d){var g=null!=d&&(d.ga&64||tc===d.za)?ze.B(Hj,d):d;d=null!=g?g.from:void 0;var h=null!=g?g.to:void 0;var l=null!=g?g.head:void 0;var p=null!=g?g.anchor:void 0;g=null!=g?g.empty:void 0;return k(Gja(a,d))?Pc.B(b,'"')?Lia(l,l,'\\"'):Lia(d,h,b):Hja(a,d)?Lia(d,h,b): +k(g)?new f(null,2,[gp,new f(null,2,[lp,[b,c].join(""),mp,l],null),sp,l+b.length],null):new f(null,2,[gp,new E(null,2,5,G,[new f(null,2,[lp,b,mp,d],null),new f(null,2,[lp,c,mp,h],null)],null),Mya,new E(null,2,5,G,[p+b.length,l+b.length],null)],null)})},Lja=function(a,b){return Cj(a,{annotations:uj("input")},function(c){var d=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;c=null!=d?d.empty:void 0;var g=null!=d?d.head:void 0;var h=null!=d?d.from:void 0;d=null!=d?d.to:void 0;if(k(function(){var l=Gja(a,h); +return k(l)?l:Hja(a,h)}()))return Lia(h,d,b);if(k(c)){c=function(){var l=function(){var r=Uj(a,g,-1);r=null==r?null:Pj(r);r=null==r?null:Qe.B(Xj.B(Oj,Ae(nja)),r);return null==r?null:u(r)}(),p=function(){var r=null==l?null:l.firstChild;return null==r?null:ija(r)}(),v=null==l?null:l.to;return k(k(p)?Pc.B(p,b):p)?new f(null,2,[gp,new f(null,2,[mp,v,lp,p],null),sp,v+1],null):null}();if(k(c))return c;c=function(){var l=function(){a:{var p=Sj.syntaxTree(a);for(var v=g;;){var r=p.cursorAt(v,1);if(r.type.isTop){p= +null;break a}if(mja(r.type)){p=r;break a}v=1+v}}if(k(p))for(;;){if(gja(p.type))return p.to;if(!k(p.next()))return null}else return null}();return k(l)?new f(null,1,[sp,l],null):null}();return k(c)?c:new f(null,1,[sp,g],null)}return null})},Mja=function(a){return function(b){b=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;var c=null!=b?b.state:void 0;return Kia(b,Kja(c,a))}},Nja=function(a){return function(b){b=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;var c=null!=b?b.state:void 0;return Kia(b,Lja(c, +a))}},Yj=function(a){return function(b){b=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;var c=null!=b?b.state:void 0;var d=Dja(c,c.selection.main.head);c=k(d)?d:Fja(c);return k(c)?a.j?a.j(b):a.call(null,b):!1}},Oja=function(a,b){return b.range(a.from,a.to)},Pja=function(a,b,c){var d=Rd(Qe.B(function(g){return b<=g.from&&g.from<=c||b<=g.to&&g.to<=c},wja(a,b,c)));a=function(){var g=u(d);g=null==g?null:g.to;return null==g?null:g=c&&!(d===b&&g===c)},Td(a,Oe.J(Qh.B(xja,Ed),y.B([Pj(a)],0)))))},dk=function(a){return function(b){var c=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;b=null!=c?c.state:void 0;c=null!=c?c.dispatch:void 0;b=a.j?a.j(b):a.call(null,b);null!=b&&(c.j?c.j(b):c.call(null,b));return!0}},mka=function(a){return function(b){var c=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;b=null!=c?c.state:void 0;c=null!=c?c.dispatch: +void 0;return k(Fja(b))?(b=a.j?a.j(b):a.call(null,b),null!=b&&(c.j?c.j(b):c.call(null,b)),!0):!1}},nka=function(a){return Dj(a,function(b){var c=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;b=null!=c?c.from:void 0;c=null!=c?c.empty:void 0;return k(c)?(c=Uj(a,b,-1),c=null==c?null:Qj(c,Oj),c=null==c?null:vj(c,nja),k(c)?new f(null,2,[sp,b-1,gp,new E(null,2,5,G,[rja(c.firstChild),rja(c.lastChild)],null)],null):null):null})},oka=function(a){var b=document;b=null!=b?b.activeElement:void 0;var c=document.createElement("textarea"); +c.setAttribute("class","clipboard-input");(null!=c?c:{}).innerHTML=a;document.body.appendChild(c);c.focus({preventScroll:!0});c.select();document.execCommand("copy");b.focus({preventScroll:!0});return document.body.removeChild(c)},pka=function(a){return Dj(a,function(b){var c=null!=b&&(b.ga&64||tc===b.za)?ze.B(Hj,b):b;var d=null!=c?c.from:void 0;b=null!=c?c.to:void 0;c=null!=c?c.empty:void 0;if(k(c)){b=Tj(a,d);var g=Qj(b,function(p){var v=Oj(p);return k(v)?v:Mj(p)||Lj(p)}),h=a.doc.lineAt(d).to,l= +k(g)?pja(g,d,1):null;b=k(g)?function(){var p=null==l?null:hg.B(Xj.j(function(v){return v.from<=h}),l);return null==p?null:Vc(p)}():null;b=Mj(g)?function(){var p=m.j(a.doc.sliceString(g.from,g.to,"\n"));p=ng.B(p,d-g.from).indexOf("\n");return 0>p?g.to-1:d+p+1}():k(b)?eja(b)?b.from:b.to:k(function(){var p=u(l);p=null==p?null:p.from;return null==p?null:p>h}())?u(l).from:null;oka(a.doc.sliceString(d,b,"\n"));return k(b)?new f(null,2,[sp,d,gp,new f(null,2,[mp,d,pp,b],null)],null):null}oka(a.doc.sliceString(d, +b,"\n"));return new f(null,2,[sp,d,gp,wj(d,b)],null)})},qka=function(a){var b=new Sj.IndentContext(a);return Dj(a,function(c){var d=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;c=null!=d?d.from:void 0;d=null!=d?d.to:void 0;var g=Qj(Tj(a,c),ek.B(Oj,Lj));g=null==g?null:xja(g);g=null==g?null:g.from;g=k(g)?Sj.getIndentation(b.state,g):null;g=["\n",m.j(k(g)?Sj.indentString(a,g):null)].join("");return new f(null,2,[sp,c+g.length,gp,new E(null,1,5,G,[new f(null,3,[mp,c,pp,d,lp,g],null)],null)],null)})},fk= +function(a,b,c){var d=function(){var g=Qj(Tj(a,b),function(l){var p=Oj(l);return k(p)?p:Mj(l)||Lj(l)});g=null==g?null:pja(g,b,c);g=null==g?null:u(g);if(null==g)return null;if(null!=g){a:switch(c){case -1:var h=mp;break a;case 1:h=pp;break a;default:throw Error(["No matching clause: ",m.j(c)].join(""));}return g[Mh(h)]}}();return k(d)?d:Jia(a,b+c)},rka=function(a){return function(b){return Dj(b,function(c){var d=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;c=null!=d?d.from:void 0;var g=null!=d?d.to: +void 0;d=null!=d?d.empty:void 0;if(k(d))c=new f(null,1,[sp,fk(b,c,a)],null);else{c=wj(c,g);if(null!=c){b:switch(a){case -1:g=mp;break b;case 1:g=pp;break b;default:throw Error(["No matching clause: ",m.j(a)].join(""));}c=c[Mh(g)]}else c=void 0;c=new f(null,1,[sp,c],null)}return c})}},ska=function(a){return function(b){return Dj(b,function(c){var d=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;c=null!=d?d.from:void 0;var g=null!=d?d.to:void 0;d=null!=d?d.empty:void 0;if(k(d))c=new f(null,1,[up,Vj(b,c, +fk(b,c,a))],null);else{a:switch(c=wj(c,g),g=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c,c=null!=g?g.from:void 0,g=null!=g?g.to:void 0,a){case 1:c=Vj(b,c,fk(b,g,a));break a;case -1:c=Vj(b,fk(b,c,a),g);break a;default:throw Error(["No matching clause: ",m.j(a)].join(""));}c=new f(null,1,[up,c],null)}return c})}},tka=function(a){return function(b){return Dj(b,function(c){var d=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;c=null!=d?d.from:void 0;d=null!=d?d.empty:void 0;if(k(d)){var g=Qj(Tj(b,c),Xj.B(Oj, +function(l){a:switch(a){case 1:l=null==l?null:Wj(l);l=null==l?null:Jj(l);l=null==l?null:eja(l);break a;case -1:l=null==l?null:Wj(l);l=null==l?null:Ij(l);l=null==l?null:cja(l);break a;default:throw Error(["No matching clause: ",m.j(a)].join(""));}return kb(l)}));if(k(g)){a:switch(a){case 1:var h=u(yh.B(Nj,hg.B(Ed,Ne(Jj,Jj(Wj(g))))));break a;case -1:h=u(yh.B(Nj,hg.B(Ed,Ne(Ij,Ij(Wj(g))))));break a;default:throw Error(["No matching clause: ",m.j(a)].join(""));}return k(h)?new f(null,2,[Lya,c,gp,function(){switch(a){case 1:var l= +g.lastChild,p=G,v=new f(null,2,[mp,h.to,lp,l.name],null);l=rja(l);l=null!=l?l:{};l.insert=" ";return new E(null,2,5,p,[v,l],null);case -1:return l=zja(b,g),p=Wj(g).from,new E(null,2,5,G,[new f(null,3,[mp,p,pp,p+l.length,lp," "],null),new f(null,2,[mp,h.from,lp,l],null)],null);default:throw Error(["No matching clause: ",m.j(a)].join(""));}}()],null):null}}return null})}},uka=function(a){return function(b){return Dj(b,function(c){c=null!=c&&(c.ga&64||tc===c.za)?ze.B(Hj,c):c;var d=null!=c?c.from:void 0; +c=null!=c?c.empty:void 0;if(k(c)){var g=Qj(Tj(b,d),Oj);if(k(g))switch(a){case 1:c=function(){var v=g.lastChild;v=null==v?null:hg.B(Ed,Ne(Ij,Ij(v)));v=null==v?null:yh.B(Nj,v);v=null==v?null:Je.B(1,v);return null==v?null:u(v)}();if(k(c)){var h=c;return new f(null,2,[sp,function(){var v=h.to;return vv?d:v}(),gp,new E(null,2,5,G,[new f(null,2,[mp,l.from,lp,[" ",p].join("")],null),new f(null,3,[mp,c,pp,c+p.length,lp,Sj.indentString(b,p.length)],null)],null)],null)}return null;default:throw Error(["No matching clause: ",m.j(a)].join(""));}else return null}else return null})}}, +vka=function(a,b){return Dd(function(c,d,g){var h=A.B(c,d);return null==h?zh.B(c,d):Vf.G(c,d,g.j?g.j(h):g.call(null,h))},a,b)},xka=function(a){return vka(a,new f(null,2,[Pya,wka,vp,wka],null))},zka=function(a){return vka(a,new f(null,2,[Pya,yka,vp,yka],null))},Aka=function(a){return Gj(Dd(function(b,c,d){return qf.B(b,ug.B(function(g){return zka(Vf.G(g,Pya,c))},d))},Ue,a))},Eka=function(a){return Sj.LRLanguage.define({parser:a.configure({props:[Bka,Sj.foldNodeProp.add(Cka),ik.styleTags(Dka)]})})}, +ok=function(a){if(null!=a&&null!=a.Am)a=a.id;else{var b=ok[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=ok._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("Compiler.get-id",a);}return a},Wka=function(a,b,c){if(null!=a&&null!=a.hk)a=a.hk(a,b,c);else{var d=Wka[aa(null==a?null:a)];if(null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else if(d=Wka._,null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else throw rb("Compiler.parse-tag",a);}return a},pk=function(a,b){if(null!=a&&null!=a.fk)a= +a.fk(a,b);else{var c=pk[aa(null==a?null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=pk._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw rb("Compiler.as-element",a);}return a},qk=function(a,b,c,d,g){if(null!=a&&null!=a.gk)a=a.gk(a,b,c,d,g);else{var h=qk[aa(null==a?null:a)];if(null!=h)a=h.ja?h.ja(a,b,c,d,g):h.call(null,a,b,c,d,g);else if(h=qk._,null!=h)a=h.ja?h.ja(a,b,c,d,g):h.call(null,a,b,c,d,g);else throw rb("Compiler.make-element",a);}return a},rk=function(a,b){var c=b.argv;if(null== +c){c=G;a=a.constructor;a:for(var d=Ha(b),g=d.length,h=le,l=0;;)if(l=g&&h.push(pk(a,p));return h},[c,d],b))}},Lla=function(a,b,c,d){this.tag=a;this.id=b;this.className=c;this.custom=d},Mla=function(a,b,c){a=rla(a,c);c={};c.argv=b;b=Wha(b);null!=b&&(c.key=b);return lj.createElement(a,c)},Nla=function(a,b,c,d){var g={};g.Te=a;g.argv=Hh.B(b,c);b=Wha(b);null!=b&&(g.key=b);return lj.createElement(wla(d,a),g)},Ola=function(a,b,c){return $ka(a)?Mla(a,b,c):Nla(a,b,1,c)},Rla=function(a,b){a=Ela(Pla,b);if(null==a){var c=w(kg(Qla,cg(b)));a=x.G(c,0,null);var d=x.G(c,1, +null);c=x.G(c,2,null);c=null==c?null:Dh(c,/\./," ");var g=Uf.B(-1,a.indexOf("-"));a=new Lla(a,d,c,g);return Pla[b]=a}return a},Ula=function(a,b,c,d){var g=a.tag,h=x.G(b,c,null),l=null==h||id(h),p=function(){var z=l?h:null;var C=xp.j(z);C=k(C)?Vf.G(z,xp,Fk.j(C)):z;var F=a.id;z=a.className;F=null!=F&&null==ln.j(C)?Vf.G(C,ln,F):C;if(k(z)){var O=Vf.G,V=Fk.B,W=xp.j(C);C=k(W)?W:bza.j(C);z=O.call(Vf,F,xp,V.call(Fk,z,C))}else z=F;z=k(a.custom)?Jla(z):Dk(z);return k(z)?z:{}}();c+=l?1:0;a:switch(g){case "input":case "textarea":var v= +!0;break a;default:v=!1}if(v){v=aj(h);var r=function(){var z=d.Bm;if(k(z))return z;z=ola(Tla,d);return d.Bm=z}();return pk(d,$c(new E(null,6,5,G,[r,b,g,p,c,d],null),gi.J(y.B([k(v)?new f(null,1,[ep,v],null):null,ad(b)],0))))}v=aj(ad(b));null!=v&&(p.key=v);return qk(d,b,g,p,c)},Vla=function(a,b){return sk.j(ug.B(function(c){return pk(b,c)},a))},Wla=function(a,b,c){null==b&&console.error("vec-to-elem",Cg.J(y.B([a],0)));var d=x.G(a,0,null);switch(d instanceof D?d.la:null){case "\x3e":return c=x.G(a,1, +null),Ula(new Lla(c,null,null,null),a,2,b);case "r\x3e":c=x.G(a,1,null);d=x.G(a,2,null);d=k(d)?d:{};var g=aj(ad(a));null!=g&&(d.key=g);return qk(b,a,c,d,3);case "f\x3e":return Nla(x.G(a,1,null),a,2,b);case "\x3c\x3e":return d=x.G(a,1,null),c=null==d||id(d),d=Dk(c?d:null),d=k(d)?d:{},c=1+(c?1:0),g=Wha(a),null!=g&&(d.key=g),qk(b,a,lj.Fragment,d,c);default:if(Yi(d)||"string"===typeof d)a:for(;;)switch(c=x.G(a,0,null),d=cg(c),g=d.indexOf("\x3e"),g){case -1:b=Ula(Wka(b,d,c),a,1,b);break a;case 0:b=null; +break a;default:a=$c(new E(null,2,5,G,[ng.G(d,0,g),Vf.G($c(a,null),0,ng.B(d,g+1))],null),ad(a))}else b=d instanceof Dla?Ula(d,a,1,b):c.G?c.G(d,a,b):c.call(null,d,a,b);return b}},cza=function(a,b,c,d,g){this.opts=a;this.id=b;this.Uj=c;this.nh=d;this.lh=g;this.ga=393216;this.ia=0},$la=function(a){var b=yk.j("reagent-compiler"),c=k(dza.j(a))?Ola:Mla,d=A.G(a,gza,Rla);return new cza(a,b,c,d,le)},cma=function(a,b){return new oia(a,b)},dma=function(a){return $la(a)},hza=function(a){var b=document.querySelector("html").classList; +k(a)?b.add("dark"):b.remove("dark");return"undefined"!==typeof window?window.localStorage.setItem("clerk-darkmode",a):null},nza=function(){yg(Bp,jza,function(a,b,c,d){return Uf.B(c,d)?hza(d):null});return k(Ib(Bp))?hza(Ib(Bp)):null},Fka=function(a){var b=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;a=null!=b?b["class"]:void 0;b=null!=b?b.tagName:void 0;return vg.j(ze.G(m,b,k(a)?Td(".",ji.B(".",Ih.B(a,/ /))):null))},Gka=function(a,b){var c=null!=a&&(a.ga&64||tc===a.za)?ze.B(Hj,a):a;a=null!=c?c.from: +void 0;c=null!=c?c.to:void 0;return a<=mp.j(b)&&mp.j(b)V?g:V}(),function(){var V=C;return hinnerWidth},Gwa=function(a){a=ce(a);var b=y.B(a,bp);return new E(null,3,5,F,[cp,$o.motion.div,new f(null,7,[Qn,"mobile-toc-backdrop",So,"fixed z-10 bg-gray-500 bg-opacity-75 left-0 top-0 bottom-0 right-0",dp,new f(null,1,[ep,0],null),gp,new f(null,1,[ep,1],null),Ewa,new f(null,1,[ep,0],null),hp,function(){return zg.da(b,Lf,ip,!1)},jp,Fwa],null)],null)},Pwa=function(a){a=ce(a);var b=y.B(a,bp);a=y.B(a,Hwa);return new E(null,3,5,F,[Iwa,new f(null,2,[So,"top-[11px] -mt-1 -mr-1", -hp,function(){return zg.da(b,Ii,ip,cb)}],null),h(a)?new E(null,3,5,F,[Jwa,new f(null,5,[kp,"http://www.w3.org/2000/svg",lp,"none",mp,"0 0 24 24",Kwa,"currentColor",Lwa,"2"],null),new E(null,2,5,F,[ap,new f(null,3,[Mwa,"round",Nwa,"round",np,"M6 18L18 6M6 6l12 12"],null)],null)],null):new E(null,3,5,F,[Owa,new f(null,5,[kp,"http://www.w3.org/2000/svg",lp,"none",mp,"0 0 24 24",Kwa,"currentColor",Lwa,"2"],null),new E(null,2,5,F,[ap,new f(null,3,[Mwa,"round",Nwa,"round",np,"M15 19l-7-7 7-7"],null)],null)], -null)],null)},Vwa=function(a){a=ce(a);var b=y.B(a,bp);a=Vn(Qwa);a=0===a.length||cb(a.hasOwnProperty(0))?a[0]=function(c){return h(c)?sg(b,Rwa,function(d,g,k,m){d=ce(m);d=y.B(d,ip);return Kf.B(ip.j(k),d)?"undefined"!==typeof window?window.localStorage.setItem("clerk-navbar",d):null:null}):null}:a[0];return new E(null,4,5,F,[Swa,new f(null,3,[Il,a,So,"z-10 fixed right-2 top-2 md:right-auto md:left-3 md:top-[7px] text-slate-400 font-sans text-xs hover:underline cursor-pointer flex items-center bg-white dark:bg-gray-900 py-1 px-3 md:p-0 rounded-full md:rounded-none border md:border-0 border-slate-200 dark:border-gray-500 shadow md:shadow-none dark:text-slate-400 dark:hover:text-white", -hp,function(){return zg.da(b,Lf,ip,!0)}],null),new E(null,3,5,F,[Twa,new f(null,6,[kp,"http://www.w3.org/2000/svg",lp,"none",mp,"0 0 24 24",Kwa,"currentColor",op,20,pp,20],null),new E(null,2,5,F,[ap,new f(null,4,[Mwa,"round",Nwa,"round",Lwa,"2",np,"M4 6h16M4 12h16M4 18h16"],null)],null)],null),new E(null,3,5,F,[Uwa,new f(null,1,[So,"text-[12px]"],null),"ToC"],null)],null)},$wa=function(a,b){b=ce(b);y.B(b,bp);var c=y.B(b,Hwa),d=F,g=$o.motion.div,k=h(c)?qp:Wwa,m=h(c)?300:220;c=new f(null,7,[Qn,"toc-panel", -Cl,new f(null,1,[op,m],null),So,["fixed h-screen z-10 flex-shrink-0 bg-slate-100 dark:bg-gray-800 font-sans border-r dark:border-slate-900 ",h(c)?"shadow-xl":null].join(""),dp,be([k,-1*m]),gp,be([k,0]),Ewa,be([k,-1*m]),jp,Fwa],null);return new E(null,5,5,d,[cp,g,c,new E(null,2,5,F,[Pwa,b],null),new E(null,3,5,F,[Xwa,new E(null,3,5,F,[Ywa,new f(null,1,[So,"md:text-[12px]"],null),"TOC"],null),new E(null,3,5,F,[Zwa,a,b],null)],null)],null)},bxa=function(a,b){return new f(null,2,[ip,function(){var c= -Ysa("clerk-navbar");return null==c?Kf.B(Jqa,b):c}(),Al,jf.G(C,ng.j(Oh.B(vd,db)),Yj.B(function(c){var d=(d=Zc(c))?axa.j(c):d;return h(d)?ap.j(c):null},Ge(Vc,de,a)))],null)},dxa=function(a,b){var c=ce(b),d=y.B(c,bp),g=y.B(c,Mqa);ao.B(function(){return zg.G(d,bi,bxa(a,g))},new E(null,2,5,F,[a,g],null));b=Vn(cxa);var k=0===b.length,m=k||cb(b.hasOwnProperty(0))?b[0]=rp.j(Dwa()):b[0],q=k||cb(b.hasOwnProperty(1))?b[1]=function(){return ue(m,Dwa())}:b[1],v=k||cb(b.hasOwnProperty(2))?b[2]=function(w){return h(w)? -addEventListener("resize",q):removeEventListener("resize",q)}:b[2];return function(){var w=Bb(d);w=ce(w);w=y.B(w,ip);var A=Bb(m);return new E(null,5,5,F,[sp,new f(null,1,[Il,v],null),new E(null,2,5,F,[Vwa,c],null),h(h(A)?w:A)?new E(null,2,5,F,[Gwa,c],null):null,new E(null,4,5,F,[cp,$o.AnimatePresence,new f(null,1,[dp,!1],null),h(w)?new E(null,3,5,F,[$wa,a,Lf.G(c,Hwa,A)],null):null],null)],null)}()},uxa=function(a){function b(v){g.ca?g.ca():g.call(null);ue(m,v);return ue(q,!0)}a=ce(a);var c=y.B(a, -tp),d=y.B(a,exa),g=y.G(a,fxa,function(){return rc}),k=y.G(a,gxa,function(){return rc}),m=Xn(null),q=Xn(!1);ao.B(function(){function v(w){var A=Bb(m);if(h(A)){var D=w.movementX;w=w.movementY;return d.G?d.G(A,D,w):d.call(null,A,D,w)}return null}h(Bb(q))&&addEventListener("mousemove",v);return function(){return removeEventListener("mousemove",v)}},new E(null,3,5,F,[q,m,d],null));ao.j(function(){function v(){k.ca?k.ca():k.call(null);return ue(q,!1)}addEventListener("mouseup",v);return function(){return removeEventListener("mouseup", -v)}});return h(c)?new E(null,2,5,F,[hxa,new f(null,2,[So,Fc.B(c,qp)?"cursor-col-resize":"cursor-row-resize",up,function(){return b(Fc.B(c,qp)?gn:ixa)}],null)],null):new E(null,9,5,F,[vp,new E(null,2,5,F,[jxa,new f(null,2,[up,function(){return b(kxa)},So,"w-[14px] h-[14px] -left-[7px] -top-[7px]"],null)],null),new E(null,2,5,F,[lxa,new f(null,2,[up,function(){return b(wp)},So,"h-[4px] -top-[4px]"],null)],null),new E(null,2,5,F,[mxa,new f(null,2,[up,function(){return b(nxa)},So,"w-[14px] h-[14px] -right-[7px] -top-[7px]"], -null)],null),new E(null,2,5,F,[oxa,new f(null,2,[up,function(){return b(hn)},So,"w-[4px] -right-[2px]"],null)],null),new E(null,2,5,F,[jxa,new f(null,2,[up,function(){return b(pxa)},So,"w-[14px] h-[14px] -right-[7px] -bottom-[7px]"],null)],null),new E(null,2,5,F,[qxa,new f(null,2,[up,function(){return b(rxa)},So,"h-[4px] -left-[2px]"],null)],null),new E(null,2,5,F,[mxa,new f(null,2,[up,function(){return b(sxa)},So,"w-[14px] h-[14px] -left-[7px] -bottom-[7px]"],null)],null),new E(null,2,5,F,[txa,new f(null, -2,[up,function(){return b(gn)},So,"w-[4px]"],null)],null)],null)},Gxa=function(a){var b=ce(a);a=y.B(b,Hl);var c=y.B(b,wn),d=y.B(b,vxa),g=y.G(b,wxa,function(){return rc}),k=y.G(b,xxa,function(){return rc});b=y.B(b,yxa);var m=Xn(!1),q=h(c)?c:a;ao.j(function(){function v(){k.ca?k.ca():k.call(null);return ue(m,!1)}addEventListener("mouseup",v);return function(){return addEventListener("mouseup",v)}});ao.B(function(){function v(w){w=new f(null,4,[qp,w.clientX,xp,w.clientY,zxa,w.movementX,Axa,w.movementY], -null);return d.j?d.j(w):d.call(null,w)}h(Bb(m))&&addEventListener("mousemove",v);return function(){return removeEventListener("mousemove",v)}},new E(null,2,5,F,[m,d],null));return new E(null,4,5,F,[Bxa,new f(null,2,[So,h(q)?"h-[24px] ":"h-[14px] ",up,function(v){g.ca?g.ca():g.call(null);return ue(m,new f(null,2,[Cxa,v.screenX,Dxa,v.screenY],null))}],null),h(q)?new E(null,3,5,F,[Exa,new f(null,1,[So,"text-[12px] ml-[8px] "],null),h(c)?c:a],null):null,h(b)?new E(null,3,5,F,[Fxa,new f(null,2,[hp,b,So, -"w-[24px] h-[24px]"],null),new E(null,3,5,F,[Twa,new f(null,6,[kp,"http://www.w3.org/2000/svg",lp,"none",mp,"0 0 24 24",Lwa,"1.5",Kwa,"currentColor",So,"w-3 h-3"],null),new E(null,2,5,F,[ap,new f(null,3,[Mwa,"round",Nwa,"round",np,"M6 18L18 6M6 6l12 12"],null)],null)],null)],null):null],null)},Hxa=function(a,b,c){var d=ce(b);b=y.B(d,wp);d=y.B(d,pp);var g=null!=a?a:{};(function(){var m=g.style;if(null!=m)return m;m={};return g.style=m})().height=[l.j(d-c),"px"].join("");var k=null!=a?a:{};(function(){var m= -k.style;if(null!=m)return m;m={};return k.style=m})().top=[l.j(b+c),"px"].join("");return k},Ixa=function(a,b,c){b=ce(b);b=y.B(b,op);a=null!=a?a:{};var d=a.style;null==d&&(d={},a.style=d);d.width=[l.j(b+c),"px"].join("");return a},Jxa=function(a,b,c){b=ce(b);b=y.B(b,pp);a=null!=a?a:{};var d=a.style;null==d&&(d={},a.style=d);d.height=[l.j(b+c),"px"].join("");return a},Kxa=function(a,b,c){var d=ce(b);b=y.B(d,gn);d=y.B(d,op);var g=null!=a?a:{};(function(){var m=g.style;if(null!=m)return m;m={};return g.style= -m})().width=[l.j(d-c),"px"].join("");var k=null!=a?a:{};(function(){var m=k.style;if(null!=m)return m;m={};return k.style=m})().left=[l.j(b+c),"px"].join("");return k},Lxa=function(a){var b=function(){var d=function(){var k=function(){var q=null!=a?a:{};var v=q.style;null==v&&(v={},q.style=v);v.width="calc(100vw - 10px)";return q}(),m=null!=k?k:{};(function(){var q=m.style;if(null!=q)return q;q={};return m.style=q})().height="33vh";return m}(),g=null!=d?d:{};(function(){var k=g.style;if(null!=k)return k; -k={};return g.style=k})().top="5px";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="5px"},Mxa=function(a){var b=function(){var d=function(){var k=function(){var q=null!=a?a:{};var v=q.style;null==v&&(v={},q.style=v);v.width="33vw";return q}(),m=null!=k?k:{};(function(){var q=m.style;if(null!=q)return q;q={};return m.style=q})().height="calc(100vh - 10px)";return m}(),g=null!=d?d:{};(function(){var k=g.style;if(null!=k)return k;k={};return g.style= -k})().top="5px";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="calc(100vw - 33vw - 5px)"},Nxa=function(a){var b=function(){var d=function(){var k=function(){var q=null!=a?a:{};var v=q.style;null==v&&(v={},q.style=v);v.width="calc(100vw - 10px)";return q}(),m=null!=k?k:{};(function(){var q=m.style;if(null!=q)return q;q={};return m.style=q})().height="33vh";return m}(),g=null!=d?d:{};(function(){var k=g.style;if(null!=k)return k;k={};return g.style= -k})().top="calc(100vh - 33vh - 10px)";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="5px"},Oxa=function(a){var b=function(){var d=function(){var k=function(){var q=null!=a?a:{};var v=q.style;null==v&&(v={},q.style=v);v.width="33vw";return q}(),m=null!=k?k:{};(function(){var q=m.style;if(null!=q)return q;q={};return m.style=q})().height="calc(100vh - 10px)";return m}(),g=null!=d?d:{};(function(){var k=g.style;if(null!=k)return k;k={};return g.style= -k})().top="5px";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="5px"},Pxa=function(a){for(var b=[],c=arguments.length,d=0;;)if(d=g-d)?Zxa(a,b,c):d:g:d},bya=function(a){var b=t(a),c=Vp.j(b);b=r(bg.B(function(d){return!(Fc.B(Mp.j(d),Np)&&Wxa(Vp.j(d),c))},u(a)));return new E(null,2,5,F,[b,r(xe.B(Ec(b)+1,a))],null)},cya=function(a){var b=t(a),c=Vp.j(b);return r(bg.B(function(d){var g=Vp.j(d);return!(Fc.B(Mp.j(d),Np)&&(Fc.B(g,c)||Wxa(g,c)))},u(a)))},dya= -function(a,b){Ob(Fp.j(Bb(Bb(a))),"\n");zg.da(Bb(a),Lf,Op,null);b=Vp.j(b);var c=Wp.j(b);h(c)&&Ob(Fp.j(Bb(Bb(a))),c);c=qe.B(l,el.B(Bb(Xp.j(b))-Ec(c)," "));Ob(Fp.j(Bb(Bb(a))),c);a:for(ue(Yp.j(b),!0),ue(Tp.j(b),!0),a=fn.j(b);;)if(h(a))ue(Tp.j(a),!0),ue(Yp.j(a),!0),a=fn.j(a);else break a;return null},eya=function(a){var b=r(bg.B(function(c){return!Fc.B(Mp.j(c),Np)},a));return new E(null,2,5,F,[b,r(xe.B(Ec(b),a))],null)},gya=function(a){for(var b=Vh.j(Bb(Bb(a)));;){zg.da(Bb(a),Lf,Vh,jf.B(Ke,b));if(Yxa(a, -b))return null;var c=fya(a,b);if(b!==c)b=c;else return null}},Zp=function(a,b){zg.da(Bb(a),Lf,Vh,Gd.B(Vh.j(Bb(Bb(a))),b));return Yxa(a,Vh.j(Bb(Bb(a))))?null:gya(a)},$p=function(a){var b=Op.j(Bb(Bb(a)));return h(b)?(Ob(Fp.j(Bb(Bb(a))),b),zg.da(Bb(a),Lf,Op,null)):null},jya=function(a,b){var c=Ih.G(b,"\n",-1);if(Fc.B(Ec(c),1))return b;b=Wp.j(t(aq.j(Bb(Bb(a)))));var d=t(c);if(Fc.B(hya,bq.j(Bb(Bb(a))))){var g=cq.j(Bb(Bb(a))),k=g+Ec(d);zg.da(Bb(a),Lf,cq,k);Zp(a,new Hp(iya,d,null,g,k,null,null,null));gya(a); -d=Vh.j(Bb(Bb(a)));h(d)&&(Xxa(a,d,!0),zg.da(Bb(a),Lf,Vh,Ke))}else $p(a),Ob(Fp.j(Bb(Bb(a))),d);Ob(Fp.j(Bb(Bb(a))),"\n");d=r(u(Uf(c)));g=null;for(var m=k=0;;)if(m=Ua:b);cb(jq)?yp.call(null,a):h(b)?Ob(zp,"..."):(h(iq)&&(iq+=1),kq.call(null,a));return b},vya=function(a){var b=new Na,c=zp;zp=new ic(b);try{var d=zp,g=cb(uya(d)),k=zp;zp=g?rya(d):d;try{d=jq;jq=!0;try{lq(a)}finally{jq=d}Fc.B(0,Cp(zp,Ep))||Ob(zp, -"\n");Txa()}finally{zp=k}return lg(l.j(b))}finally{zp=c}},wya=function(a,b){if(cb(b.j?b.j(a):b.call(null,a)))throw Error(["Bad argument: ",l.j(a),". It must be one of ",l.j(b)].join(""));},nq=function(){var a=jg;return h(a)?mq>=jg:a},qq=function(a){wya(a,new Pf(null,new f(null,4,[xya,null,oq,null,lp,null,pq,null],null),null));var b=zp;zg.da(Bb(b),Lf,bq,hya);var c=cq.j(Bb(Bb(b))),d=aq.j(Bb(Bb(b)));Zp(b,new Ip(Np,a,d,c,c,null,null,null))},zya=function(a,b){wya(a,new Pf(null,new f(null,2,[rq,null,nj, -null],null),null));var c=zp,d=aq.j(Bb(Bb(c)));if(Fc.B(bq.j(Bb(Bb(c))),dq)){$p(c);var g=Xp.j(d);if(h(Fc.B?Fc.B(rq,a):Fc.call(null,rq,a)))a=Bb(Up.j(d));else if(h(Fc.B?Fc.B(nj,a):Fc.call(null,nj,a)))a=Cp(Fp.j(Bb(Bb(c))),Ep);else throw Error(["No matching clause: ",l.j(a)].join(""));ue(g,b+a)}else g=cq.j(Bb(Bb(c))),Zp(c,new Lp(yya,d,a,b,g,g,null,null,null))},Cya=function(a,b,c){b="string"===typeof b?Aya(b):b;c=sq(c);a:{var d=new Na,g=cb(a)||!0===a?new ic(d):a,k=Bya(b)&&cb(uya(g))?h(uya(g))?g:rya(g):g, -m=zp;zp=k;try{try{tq(b,c)}finally{g!==k&&Pb(k)}var q=cb(a)?l.j(d):!0===a?lg(l.j(d)):null;break a}finally{zp=m}q=void 0}return q},uq=function(a,b){a=[l.j(a),"\n",l.j(Dya),"\n",l.j(qe.B(l,el.B(b," "))),"^\n"].join("");throw Error(a);},vq=function(a,b,c,d,g,k){this.seq=a;this.rest=b;this.pos=c;this.fa=d;this.ba=g;this.ga=k;this.ha=2230716170;this.ja=139264},sq=function(a){a=r(a);return new vq(a,a,0,null,null,null)},yq=function(a){var b=wq.j(a);if(h(b))return new E(null,2,5,F,[t(b),new vq(xq.j(a),u(b), -cq.j(a)+1,null,null,null)],null);throw Error("Not enough arguments for format definition");},zq=function(a){var b=yq(a);a=x.G(b,0,null);b=x.G(b,1,null);a="string"===typeof a?Aya(a):a;return new E(null,2,5,F,[a,b],null)},Fya=function(a,b){return b>=cq.j(a)?(b=cq.j(a)-b,Eya.B?Eya.B(a,b):Eya.call(null,a,b)):new vq(xq.j(a),xe.B(b,xq.j(a)),b,null,null,null)},Eya=function(a,b){var c=cq.j(a)+b;return 0>b?Fya(a,c):new vq(xq.j(a),xe.B(b,wq.j(a)),c,null,null,null)},Aq=function(a,b,c,d,g,k,m){this.func=a;this.def= -b;this.params=c;this.offset=d;this.fa=g;this.ba=k;this.ga=m;this.ha=2230716170;this.ja=139264},Iya=function(a,b){var c=x.G(a,0,null);a=x.G(a,1,null);var d=x.G(a,0,null);a=x.G(a,1,null);d=ld(new Pf(null,new f(null,2,[Bq,null,Cq,null],null),null),c)?new E(null,2,5,F,[d,b],null):Fc.B(d,Gya)?yq(b):Fc.B(d,Hya)?new E(null,2,5,F,[Ec(wq.j(b)),b],null):new E(null,2,5,F,[d,b],null);b=x.G(d,0,null);d=x.G(d,1,null);return new E(null,2,5,F,[new E(null,2,5,F,[c,new E(null,2,5,F,[b,a],null)],null),d],null)},Jya= -function(a,b){b=Qxa(Iya,b,a);a=x.G(b,0,null);b=x.G(b,1,null);return new E(null,2,5,F,[jf.B(C,a),b],null)},Mya=function(a,b,c){c=yq(c);var d=x.G(c,0,null);c=x.G(c,1,null);if(id(d))if(Fc.B(Dq,10))var g=[l.j(d),h(Eq)?".":null].join("");else{g=l;var k=g.j;if(h(Eq)){var m=y.B(Kya,Dq);m=h(m)?m:["#",l.j(Dq),"r"].join("")}else m=null;g=[k.call(g,m),l.j(Lya(Dq,d))].join("")}else g=null;a=h(g)?g:a.j?a.j(d):a.call(null,d);d=a.length;g=d+Fq.j(b);g=g>=Gq.j(b)?g:g+(zd(Gq.j(b)-g-1,Hq.j(b))+1)*Hq.j(b);d=qe.B(l,el.B(g- -d,Iq.j(b)));h(Cq.j(b))?Jq.J(H.B([[l.j(d),l.j(a)].join("")],0)):Jq.J(H.B([[l.j(a),l.j(d)].join("")],0));return c},Nya=function(a,b){return Hd(t(Bp(function(c){return 0c?wd(Ap("0")+c):wd(Ap("a")+(c-10))},Nya(a,b)))},Oya=function(a,b){return Hd(t(Bp(function(c){return new E(null,2,5,F,[r(Hd(Ae.B(a,c))),r(xe.B(a,c))],null)},Hd(b))))},Nq=function(a, -b,c){c=yq(c);var d=x.G(c,0,null);c=x.G(c,1,null);if(id(d)||"number"===typeof d&&!isNaN(d)&&Infinity!==d&&parseFloat(d)!==parseInt(d,10)&&Fc.B(d,Math.floor(d))){var g=0>d,k=Lya(a,g?-d:d);a=h(Bq.j(b))?function(){var m=ng.B(function(v){return qe.B(l,v)},Oya(Kq.j(b),k)),q=el.B(Ec(m),Lq.j(b));return qe.B(l,u(dl.B(q,m)))}():k;a=g?["-",l.j(a)].join(""):h(Cq.j(b))?["+",l.j(a)].join(""):a;a=a.lengtha)var k=x.B(Pya,a);else{k=zd(a,10);var m=Ad(a,10);k=[l.j(0c){var d=Nya(10,c);c=Ke;for(var g=Ec(d)-1;;)if(Uc(d)){Jq.J(H.B([qe.B(l,c)],0));break}else{var k=t(d);c=Fc.B(0,k)?c:Gd.B(c,x.B(x.B(a,g),k-1));--g;d=u(d)}}else Nq(10,new f(null,5,[Gq,0,Iq," ",Lq,",",Kq,3,Bq,!0],null),sq(new E(null,1, -5,F,[c],null)));return b},Wya=function(a,b){a=yq(b);b=x.G(a,0,null);a=x.G(a,1,null);var c=Ap(b);b=c&127;c&=128;var d=y.B(Vya,b);0b?["Control-",l.j(wd(b+64))].join(""):Fc.B(b,127)?"Control-?":wd(b)],0));return a},Yya=function(a,b){var c=yq(b);b=x.G(c,0,null);c=x.G(c,1,null);a=Xya.j(a);if(h(Fc.B?Fc.B("o",a):Fc.call(null,"o",a)))Cya(!0,"\\o~3,'0o",H.B([Ap(b)],0));else if(h(Fc.B?Fc.B("u",a):Fc.call(null,"u",a)))Cya(!0,"\\u~4,'0x",H.B([Ap(b)],0));else if(h(Fc.B? -Fc.B(null,a):Fc.call(null,null,a)))Ob(zp,h(Fc.B?Fc.B("\b",b):Fc.call(null,"\b",b))?"\\backspace":h(Fc.B?Fc.B(" ",b):Fc.call(null," ",b))?"\\space":h(Fc.B?Fc.B("\t",b):Fc.call(null,"\t",b))?"\\tab":h(Fc.B?Fc.B("\n",b):Fc.call(null,"\n",b))?"\\newline":h(Fc.B?Fc.B("\f",b):Fc.call(null,"\f",b))?"\\formfeed":h(Fc.B?Fc.B("\r",b):Fc.call(null,"\r",b))?"\\return":h(Fc.B?Fc.B('"',b):Fc.call(null,'"',b))?'\\"':h(Fc.B?Fc.B("\\",b):Fc.call(null,"\\",b))?"\\\\":["\\",l.j(b)].join(""));else throw Error(["No matching clause: ", -l.j(a)].join(""));return c},Zya=function(a,b){b=yq(b);a=x.G(b,0,null);b=x.G(b,1,null);Jq.J(H.B([a],0));return b},aza=function(a){a=t(a);return Fc.B(Oq,a)||Fc.B($ya,a)},Sq=function(a,b,c){return Ic(Qxa(function(d,g){if(aza(g))return new E(null,2,5,F,[null,g],null);g=Jya(Pq.j(d),g);var k=x.G(g,0,null);g=x.G(g,1,null);var m=Rxa(k);k=x.G(m,0,null);m=x.G(m,1,null);k=Lf.G(k,Qq,c);return new E(null,2,5,F,[null,qe.B(Rq.j(d),new E(null,3,5,F,[k,g,m],null))],null)},b,a))},bza=function(a){a=Fh(l.j(a));var b= -a.indexOf("e"),c=a.indexOf(".");a=0>b?0>c?new E(null,2,5,F,[a,l.j(a.length-1)],null):new E(null,2,5,F,[[hg.G(a,0,c),hg.B(a,c+1)].join(""),l.j(c-1)],null):0>c?new E(null,2,5,F,[hg.G(a,0,b),hg.B(a,b+1)],null):new E(null,2,5,F,[[hg.G(a,0,1),hg.G(a,2,b)].join(""),hg.B(a,b+1)],null);b=x.G(a,0,null);a=x.G(a,1,null);a:if(c=Ec(b),0c){b="";break a}if(Fc.B(x.B(b,c),"0"))--c;else{b=hg.G(b,0,c+1);break a}}a:{c=b;var d=Ec(c);if(0d?2:d:0;h(c)?c=b+c+1:0<=b?(c=b+1,--d,c=c>d?c:d):c=d+b;var k=Fc.B(c,0)?new E(null,4,5,F,[["0",l.j(a)].join(""),b+1,1,g+1],null):new E(null,4,5,F,[a,b,c,g],null);c=x.G(k,0,null);g=x.G(k,1,null);d=x.G(k,2,null);k=x.G(k,3,null);if(h(d)){if(0>d)return new E(null, -3,5,F,["0",0,!1],null);if(k>d){b=x.B(c,d);a=hg.G(c,0,d);if(Ap(b)>=Ap("5")){a:for(b=Ec(a)-1,c=b|0;;){if(0>c){b=qe.G(l,"1",el.B(b+1,"0"));break a}if(Fc.B("9",a.charAt(c)))--c;else{b=qe.da(l,hg.G(a,0,c),wd(Ap(a.charAt(c))+1),el.B(b-c,"0"));break a}}a=Ec(b)>a.length;return new E(null,3,5,F,[a?hg.G(b,0,Ec(b)-1):b,g,a],null)}return new E(null,3,5,F,[a,g,!1],null)}}}return new E(null,3,5,F,[a,b,!1],null)},dza=function(a,b,c){var d=0>b?new E(null,2,5,F,[[l.j(qe.B(l,el.B(-b-1,"0"))),l.j(a)].join(""),-1],null): -new E(null,2,5,F,[a,b],null);a=x.G(d,0,null);var g=x.G(d,1,null);d=Ec(a);c=h(c)?g+c+1:g+1;c=db?b=[".",l.j(c)].join(""):(b+=1,b=[hg.G(c,0,b),".",hg.B(c,b)].join(""));return b},eza=function(a,b){return 0>b?[".",l.j(a)].join(""):[hg.G(a,0,b),".",hg.B(a,b)].join("")},fza=function(a,b){var c=Tq.j(a),d=np.j(a);b=yq(b);var g=x.G(b,0,null);b=x.G(b,1,null);var k=0>g?new E(null,2,5,F,["-",-g],null):new E(null,2,5,F,["+",g],null),m=x.G(k,0,null);k=x.G(k,1, -null);k=bza(k);var q=x.G(k,0,null),v=x.G(k,1,null)+Uq.j(a);k=function(){var G=Cq.j(a);return h(G)?G:0>g}();var w=cb(d)&&Ec(q)-1<=v,A=cza(q,v,d,h(c)?c-(h(k)?1:0):null);q=x.G(A,0,null);v=x.G(A,1,null);A=x.G(A,2,null);q=dza(q,h(A)?v+1:v,d);d=h(h(c)?h(d)?1<=d&&Fc.B(q.charAt(0),"0")&&Fc.B(q.charAt(1),".")&&q.length>c-(h(k)?1:0):d:c)?hg.B(q,1):q;v=Fc.B(t(d),".");if(h(c)){q=d.length;q=h(k)?q+1:q;v=v&&!(q>=c);w=w&&!(q>=c);var D=v||w?q+1:q;h(function(){var G=D>c;return G?Vq.j(a):G}())?Jq.J(H.B([qe.B(l,el.B(c, -Vq.j(a)))],0)):Jq.J(H.B([[l.j(qe.B(l,el.B(c-D,Iq.j(a)))),l.j(h(k)?m:null),v?"0":null,d,w?"0":null].join("")],0))}else Jq.J(H.B([[l.j(h(k)?m:null),v?"0":null,d,w?"0":null].join("")],0));return b},iza=function(a,b){b=yq(b);var c=x.G(b,0,null);b=x.G(b,1,null);var d=bza(0>c?-c:c);x.G(d,0,null);for(x.G(d,1,null);;){var g=x.G(d,0,null),k=x.G(d,1,null),m=Tq.j(a),q=np.j(a),v=gza.j(a),w=Uq.j(a),A=function(){var ja=hza.j(a);return h(ja)?ja:"E"}();d=function(){var ja=Cq.j(a);return h(ja)?ja:0>c}();var D=0>= -w,G=k-(w-1),Q=l.j(Math.abs(G));A=[l.j(A),0>G?"-":"+",l.j(h(v)?qe.B(l,el.B(v-Q.length,"0")):null),Q].join("");var U=A.length;G=Ec(g);g=[l.j(qe.B(l,el.B(-w,"0"))),l.j(g),l.j(h(q)?qe.B(l,el.B(q-(G-1)-(0>w?-w:0),"0")):null)].join("");G=h(m)?m-U:null;g=cza(g,0,Fc.B(w,0)?q-1:0w?q-1:null,h(G)?G-(h(d)?1:0):null);G=x.G(g,0,null);x.G(g,1,null);Q=x.G(g,2,null);g=eza(G,w);q=Fc.B(w,Ec(G))&&null==q;if(cb(Q)){if(h(m)){k=g.length+U;k=h(d)?k+1:k;var aa=(D=D&&!Fc.B(k,m))?k+1:k;k=q&&aam;ja||(ja=v,ja=h(ja)?U-2>v:ja);return h(ja)?Vq.j(a):ja}())?Jq.J(H.B([qe.B(l,el.B(m,Vq.j(a)))],0)):Jq.J(H.B([[l.j(qe.B(l,el.B(m-aa-(k?1:0),Iq.j(a)))),h(d)?0>c?"-":"+":null,D?"0":null,g,k?"0":null,A].join("")],0))}else Jq.J(H.B([[h(d)?0>c?"-":"+":null,D?"0":null,g,q?"0":null,A].join("")],0));break}else d=new E(null,2,5,F,[G,k+1],null)}return b},jza=function(a,b,c){var d=yq(b),g=x.G(d,0,null);x.G(d,1,null);d=bza(0>g?-g:g);var k=x.G(d,0,null);d=x.G(d,1,null);var m=Tq.j(a),q=np.j(a),v=gza.j(a);d=Fc.B(g, -0)?0:d+1;g=h(v)?v+2:4;m=h(m)?m-g:null;h(q)?k=q:(k=Ec(k),q=7>d?d:7,k=k>q?k:q);d=k-d;return 0<=d&&d<=k?(a=fza(new f(null,6,[Tq,m,np,d,Uq,0,Vq,Vq.j(a),Iq,Iq.j(a),Cq,Cq.j(a)],null),b,c),Jq.J(H.B([qe.B(l,el.B(g," "))],0)),a):iza(a,b,c)},kza=function(a,b){b=yq(b);var c=x.G(b,0,null);b=x.G(b,1,null);var d=bza(Math.abs(c)),g=x.G(d,0,null),k=x.G(d,1,null),m=np.j(a),q=Wq.j(a);d=Tq.j(a);var v=function(){var A=Cq.j(a);return h(A)?A:0>c}(),w=cza(g,k,m,null);g=x.G(w,0,null);k=x.G(w,1,null);w=x.G(w,2,null);m=dza(g, -h(w)?k+1:k,m);q=[l.j(qe.B(l,el.B(q-m.indexOf("."),"0"))),m].join("");m=q.length+(h(v)?1:0);Jq.J(H.B([[h(function(){var A=Bq.j(a);return h(A)?v:A}())?0>c?"-":"+":null,l.j(qe.B(l,el.B(d-m,Iq.j(a)))),h(function(){var A=cb(Bq.j(a));return A?v:A}())?0>c?"-":"+":null,q].join("")],0));return b},mza=function(a,b){var c=lza.j(a);c=h(c)?new E(null,2,5,F,[c,b],null):yq(b);b=x.G(c,0,null);c=x.G(c,1,null);var d=Xq.j(a);b=0>b||b>=Ec(d)?t(Yq.j(a)):x.B(d,b);return h(b)?Sq(b,c,Qq.j(a)):c},nza=function(a,b){var c= -yq(b);b=x.G(c,0,null);c=x.G(c,1,null);var d=Xq.j(a);b=h(b)?Ic(d):t(d);return h(b)?Sq(b,c,Qq.j(a)):c},oza=function(a,b){var c=yq(b),d=x.G(c,0,null);c=x.G(c,1,null);var g=Xq.j(a);g=h(d)?t(g):null;return h(d)?h(g)?Sq(g,b,Qq.j(a)):b:c},qza=function(a,b){var c=pza.j(a),d=t(Xq.j(a));d=Uc(d)?zq(b):new E(null,2,5,F,[d,b],null);b=x.G(d,0,null);d=x.G(d,1,null);d=yq(d);var g=x.G(d,0,null);d=x.G(d,1,null);var k=0;g=sq(g);for(var m=-1;;){if(cb(c)&&Fc.B(cq.j(g),m)&&1=c:c))return d;m=Sq(b,g,Qq.j(a));if(Fc.B(Oq,t(m)))return d;k+=1;var q=cq.j(g);g=m;m=q}},rza=function(a,b){var c=pza.j(a),d=t(Xq.j(a));d=Uc(d)?zq(b):new E(null,2,5,F,[d,b],null);b=x.G(d,0,null);d=x.G(d,1,null);d=yq(d);var g=x.G(d,0,null);d=x.G(d,1,null);for(var k=0;;){var m=Uc(g)&&(cb(Bq.j(Zq.j(a)))||0=c:c))return d;m=Sq(b,sq(t(g)),sq(u(g)));if(Fc.B($ya,t(m)))return d;k+=1;g=u(g)}},sza=function(a,b){var c=pza.j(a),d=t(Xq.j(a)), -g=Uc(d)?zq(b):new E(null,2,5,F,[d,b],null);b=x.G(g,0,null);d=0;g=x.G(g,1,null);for(var k=-1;;){if(cb(c)&&Fc.B(cq.j(g),k)&&1=c:c))return g;k=Sq(b,g,Qq.j(a));if(Fc.B(Oq,t(k)))return Ic(k);d+=1;var m=cq.j(g);g=k;k=m}},tza=function(a,b){var c=pza.j(a),d=t(Xq.j(a)),g=Uc(d)?zq(b):new E(null,2,5,F,[d,b],null);b=x.G(g,0,null);d=0;for(g=x.G(g,1,null);;){var k=Uc(wq.j(g))&&(cb(Bq.j(Zq.j(a)))|| -0=c:c))return g;k=wq.j(g);k=h(k)?new E(null,2,5,F,[t(k),new vq(xq.j(g),u(k),cq.j(g)+1,null,null,null)],null):new E(null,2,5,F,[null,g],null);g=x.G(k,0,null);k=x.G(k,1,null);g=Sq(b,sq(g),k);if(Fc.B($ya,t(g)))return k;g=k;d+=1}},vza=function(a,b){if(h(Bq.j(Zq.j(a)))){var c=Xq.j(a),d=Ec(c),g=1pa?1:pa}();v=rd.B(Jn,ng.B(Ec,w));var D=Gq.j(a),G=Fq.j(a),Q=Hq.j(a),U= -v+A*G;D=U<=D?D:D+Q*(1+zd(U-D-1,Q));var aa=D-v;v=function(){var pa=zd(aa,A);return G>pa?G:pa}();Q=aa-v*A;v=qe.B(l,el.B(v,Iq.j(a)));h(h(d)?Cp(Fp.j(Bb(Bb(zp))),Ep)+c+D>q:d)&&Jq.J(H.B([d],0));c=Q;for(var ja=w,ma=function(){var pa=Bq.j(a);return h(pa)?pa:Fc.B(Ec(ja),1)&&cb(Cq.j(a))}();;)if(r(ja))Jq.J(H.B([[l.j(cb(ma)?t(ja):null),l.j(h(function(){var pa=ma;return h(pa)?pa:(pa=u(ja))?pa:Cq.j(a)}())?v:null),l.j(0Ec(Pq.j(a))&&uq(Cya(null,'Too many parameters for directive "~C": ~D~:* ~[were~;was~:;were~] specified but only ~D~:* ~[are~;is~:;are~] allowed',H.B([er.j(a),Ec(b),Ec(Pq.j(a))],0)),Ic(t(b)));Gi.j(ng.G(function(g, -k){var m=t(g);return null==m||ld(Nza,m)||Fc.B(Ic(Ic(k)),hb(m))?null:uq(["Parameter ",Vf(t(k)),' has bad type in directive "',l.j(er.j(a)),'": ',l.j(hb(m))].join(""),Ic(g))},b,Pq.j(a)));return bi.J(H.B([jf.B(C,Hd(function(){return function m(k){return new Sd(null,function(){for(;;){var q=r(k);if(q){if(bd(q)){var v=ac(q),w=Ec(v),A=Ud(w);a:for(var D=0;;)if(Dg?new E(null,2,5,F,[Rza(d,c),new E(null,2,5,F,["",c+d.length],null)],null):0===g?Qza(hg.B(d,1),c+1):new E(null,2,5,F,[Rza(hg.G(d,0,g),c),new E(null,2,5,F,[hg.B(d,g),g+c],null)],null)},new E(null,2,5,F,[a,0],null))))}finally{Dya=b}},tq=function(a,b){Qxa(function(c,d){if(aza(d))return new E(null,2,5,F,[null,d],null);d=Jya(Pq.j(c),d);var g=x.G(d,0,null);d=x.G(d,1,null);var k=Rxa(g);g=x.G(k,0,null);k=x.G(k,1,null);g=Lf.G(g,Qq,d);return new E(null,2,5,F,[null,qe.B(Rq.j(c),new E(null,3,5,F,[g, -d,k],null))],null)},b,a);return null},aAa=function(a){var b=t(a);b=$za.j?$za.j(b):$za.call(null,b);return h(h(b)?Fc.B(2,Ec(a)):b)?(Ob(zp,b),lq(Ic(a)),!0):null},bAa=function(a){if(h(nq()))Ob(zp,"#");else{var b=mq,c=iq;mq+=1;iq=0;try{fq("[","]");for(var d=0,g=r(a);;){if(cb(Ua)||dg;g++)d[g]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(g=0;16>g;g++)d[g]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(g=16;80>g;g++){var k=d[g-3]^d[g-8]^d[g-14]^d[g-16];d[g]=(k<<1|k>>>31)&4294967295}b=a.oc[0];c=a.oc[1];var m=a.oc[2],q=a.oc[3],v=a.oc[4];for(g=0;80>g;g++){if(40>g)if(20>g){k= -q^c&(m^q);var w=1518500249}else k=c^m^q,w=1859775393;else 60>g?(k=c&m|q&(c|m),w=2400959708):(k=c^m^q,w=3395469782);k=(b<<5|b>>>27)+k+v+w+d[g]&4294967295;v=q;q=m;m=(c<<30|c>>>2)&4294967295;c=b;b=k}a.oc[0]=a.oc[0]+b&4294967295;a.oc[1]=a.oc[1]+c&4294967295;a.oc[2]=a.oc[2]+m&4294967295;a.oc[3]=a.oc[3]+q&4294967295;a.oc[4]=a.oc[4]+v&4294967295},pr=function(a,b){if(null!=a&&null!=a.Mg)a=a.Mg(a,b);else{var c=pr[ba(null==a?null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=pr._,null!=c)a=c.B?c.B(a, -b):c.call(null,a,b);else throw jb("IBox.setVal",a);}return a},wAa=function(a){if(null!=a&&null!=a.oe)a=a.oe(a);else{var b=wAa[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=wAa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("IBox.getVal",a);}return a},qr=function(a){if(null!=a&&null!=a.pl)a=a.$i;else{var b=qr[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=qr._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("IReified.getMethods",a);}return a},xAa= -function(a,b){this.$i=a;this.jl=b},yAa=function(a,b,c){if(null!=a&&null!=a.oj)a=a.oj(a,b,c);else{var d=yAa[ba(null==a?null:a)];if(null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else if(d=yAa._,null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else throw jb("SciTypeInstance.-mutate",a);}return a},zAa=function(a){this.form=a},AAa=function(a){if(null!=a&&null!=a.ql)a=a.stack;else{var b=AAa[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=AAa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("Stack.stack", -a);}return a},rr=function(a,b,c,d,g){this.f=a;this.stack=b;this.fa=c;this.ba=d;this.ga=g;this.ha=2230716170;this.ja=139264},sr=function(a,b){return new rr(a,b,null,null,null)},tr=function(a,b,c){if(a instanceof rr){var d=a.f;return d.G?d.G(a,b,c):d.call(null,a,b,c)}return a},ur=function(a){if(null!=a&&null!=a.vf)a=a.vf(a);else{var b=ur[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=ur._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("HasName.getName",a);}return a},BAa=function(a, -b){this.bindings=a;this.prev=b},DAa=function(){return Bb(CAa)},EAa=function(a){this.val=a},FAa=function(){var a=Bb(CAa);return new BAa(a.bindings,null)},vr=function(a){return fc(CAa,a)},wr=function(a,b){if(null!=a&&null!=a.qj)a=a.qj(a,b);else{var c=wr[ba(null==a?null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=wr._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw jb("IVar.bindRoot",a);}return a},GAa=function(a){if(null!=a&&null!=a.sl)a=a.root;else{var b=GAa[ba(null==a?null:a)];if(null!= -b)a=b.j?b.j(a):b.call(null,a);else if(b=GAa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("IVar.getRawRoot",a);}return a},HAa=function(a){if(null!=a&&null!=a.sj)a=a.sj(a);else{var b=HAa[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=HAa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("IVar.isMacro",a);}return a},IAa=function(a){if(null!=a&&null!=a.rj)a=a.rj(a);else{var b=IAa[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=IAa._,null!=b)a=b.j?b.j(a): -b.call(null,a);else throw jb("IVar.hasRoot",a);}return a},JAa=function(a){if(null!=a&&null!=a.tj)a.tj(a,!0);else{var b=JAa[ba(null==a?null:a)];if(null!=b)b.B?b.B(a,!0):b.call(null,a,!0);else if(b=JAa._,null!=b)b.B?b.B(a,!0):b.call(null,a,!0);else throw jb("IVar.setThreadBound",a);}},xr=function(a){if(null!=a&&null!=a.Wh)a.Wh(a);else{var b=xr[ba(null==a?null:a)];if(null!=b)b.j?b.j(a):b.call(null,a);else if(b=xr._,null!=b)b.j?b.j(a):b.call(null,a);else throw jb("IVar.unbind",a);}},KAa=function(a){if(null!= -a&&null!=a.pj)a=a.pj(a);else{var b=KAa[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=KAa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("DynVar.dynamic?",a);}return a},yr=function(a){if(null!=a&&null!=a.rl)a=a.bj;else{var b=yr[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=yr._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("CtxVar.needs-ctx?",a);}return a},Cr=function(a){var b=DAa();a=rd.G(function(c,d){var g=x.G(d,0,null);d=x.G(d,1,null);if(cb(KAa(g)))throw Error(["Can't dynamically bind non-dynamic var ", -l.j(g)].join(""));JAa(g);return Lf.G(c,g,new EAa(d))},b.bindings,a);return vr(new BAa(a,b))},Dr=function(){var a=DAa().prev;if(h(a))return LAa===a?fc(CAa,LAa):vr(a);throw Error("No frame to pop.");},MAa=function(){var a=DAa(),b=C;for(a=r(a.bindings);;)if(a){var c=t(a),d=x.G(c,0,null);c=x.G(c,1,null).oe(null);b=Lf.G(b,d,c);a=u(a)}else return b},NAa=function(a){var b=Bb(CAa);return h(b)?b.bindings.get(a):null},Er=function(a){throw Error(["Attempting to call unbound fn: ",l.j(a)].join(""));},OAa=function(a){this.hc= -a;this.ha=1;this.ja=0},Fr=function(a){return Rd(a)?J.j(Vf(a)):a},Gr=function(a,b,c){this.data=a;this.namespace=b;this.name=c;this.ha=131072;this.ja=4096},PAa=function(a,b,c,d){h(b)&&0Z:Z:na)&&Ss("Can't have fixed arity function with more params than variadic function",b);return Ii.da(Ii.da(Lf.J(Ga,iDa,Ba,H.B([Hi,Aa>ca?Aa:ca],0)),$s, -Gd,Lf.G(ka,jDa,Ca)),V,Gd,va)},new f(null,4,[$s,Ke,V,Ke,kDa,null,Hi,-1],null),g);g=Ij.B(Bb(w),d);g=qe.B(bi,ng.B(Ns,Jf(g)));var G=h(A)?ld(g,v):null,Q=He.B(q,Hf(g)),U=Ij.B(Bb(w),Gd.B(Tc(d),Ns));d=h(U)?Wf(Q,wh.B(U,Q)):null;var aa=Ec(Q);g=Wf(Q,Ki.j(aa));var ja=h(A)?Lf.G(g,v,aa):g;d=(h(G)?G:r(d))?function(){var Ga=h(A)?aa+1:aa,Ca=Lo.j(Yj.B(function(ca){var Z=y.B(U,ca);if(h(Z)){ca=y.B(ja,ca);var va=Th.j(2);va[0]=Z;va[1]=ca;return va}return null},Q));return new E(null,2,5,F,[function(ca){for(var Z=Ca.length, -va=0,ka=Th.j(Ga);;)if(vaEc(b))throw Error("Malformed member expression, expecting (.member target ...)");return BDa(a,b)}if(Fc.B(jt,c))return kt(a,b,sc(b));if(Fc.B(MDa,c))return LDa(b);if(Fc.B(lt,c))return tDa(a,b);if(Fc.B(bh,c))return nDa(a,b);if(Fc.B(Wg,c))return rDa(a,b);if(Fc.B(Tg,c)){c=Ic(b);var d=ti.B(2,c);b=Kc(b);b=Nj.j(r(R.J(new z(null,$g,null,1,null),new z(null,c,null,1,null),H.B([new z(null,Mj.B(Nj.j(r(R.J(new z(null,bh,null,1,null),new z(null,td(d),null,1,null),H.B([b],0)))),d),null,1, -null)],0))));return Ts.B?Ts.B(a,b):Ts.call(null,a,b)}if(Fc.B(Ug,c))return Ys(a,b,sc(b));if(Fc.B(LCa,c))return c=r(b),b=t(c),c=u(c),d=Vf(b),d=Qc(J.B(Od(b),hg.G(d,0,d.length-1)),Rc(b)),DDa(a,Qc(Mj.G(Xg,d,c),Rc(b)));if(Fc.B(jh,c))return pDa(a,b);if(Fc.B(gh,c))return Fc.B(2,Ec(b))||Ss("Wrong number of args (0) passed to quote",b),Ic(b);if(Fc.B($g,c))return NDa(a,b,Ic(b),Kc(b));if(Fc.B(KCa,c)){d=r(b);c=t(d);var g=u(d);d=t(g);g=u(g);if(2>Ec(b))throw Error("Malformed member expression, expecting (.member target ...)"); -return BDa(a,Qc(new z(null,eh,new z(null,d,new z(null,Jd(J.j(hg.B(Vf(c),1)),g),null,1,null),2,null),3,null),Rc(b)))}if(Fc.B(Yg,c))return FDa(a,b);if(Fc.B(Qg,c))return tDa(a,b);if(Fc.B(dh,c))return IDa(a,b);if(Fc.B(ch,c))return WCa(a,b,Us(Rs(a),sc(b)));if(Fc.B(Xg,c))return DDa(a,b);if(Fc.B(fh,c))return x.G(b,0,null),b=x.G(b,1,null),Ps(a,b,!1,null);if(Fc.B(mt,c))return qDa(a,b);if(Fc.B(ih,c))return xDa(a,b);if(Fc.B(Rg,c))return wDa(a,b);if(Fc.B(nt,c))return ot(a,b,sc(b));throw Error(["No matching clause: ", -l.j(c)].join(""));},SDa=function(a,b,c,d){var g=h(h(d)?h(c)?O.j(c):c:d)?new f(null,2,[P,P.j(c),O,O.j(c)],null):null;h(g)&&(Nr=g);try{var k=PDa.j(c);h(k)&&Cr(be([Lr,k]));try{var m=t(b);if(m instanceof n){var q=y.B(QCa,m);h(h(q)?QDa.j(a):q)&&ECa(a,m,new E(null,2,5,F,[q,null],null));var v=h(q)?q:Ps(a,m,!0,null),w=Rc(v),A=h(w)?ACa.j(w):w,D=pt.j(w),G=h(D)?D:v;if(h(h(w)?GCa.j(w):w)){var Q=x.G(G,0,null),U=x.G(G,1,null),aa=Lc(U),ja=Fc.B(aa,""),ma=Ec(U),pa=U.slice(0,ma-1),ra=Fc.B(1,ma)?se([Q,aa]):function(){return[nBa(Q, -pa),aa]};try{var wa=ra()}catch(Gb){wa=null}var Ga=x.G(wa,0,null),Ca=x.G(wa,1,null),ca=Us(a,sc(b)),Z=Lo.j(ca);if(h(Ga)){if(ja)return sr(function(Gb,cc,gc){return $r(cc,gc,Ga,Z)},null);var va=Ga[Ca];return sr(function(Gb,cc,gc){return oBa(cc,gc,Ga,va,Z)},null)}return ja?sr(function(Gb,cc,gc){Gb=ra()[0];return $r(cc,gc,Gb,Z)},null):sr(function(Gb,cc,gc){Gb=ra();var jd=Gb[0];return oBa(cc,gc,jd,jd[Gb[1]],Z)},null)}if(h(function(){var Gb=cb(A);return Gb?(Gb=G instanceof n)?h(q)?q:ld(FCa,G):Gb:Gb}()))return ODa(a, -b,G);try{if(h(VAa(G))){var ka=function(){var Gb=Yr(G);return Gb?yr(G):Gb}(),na=Yr(G)?Bb(G):G,Aa=function(){var Gb=na.afn;return h(Gb)?Gb:na}(),Ba=h(ka)?qe.ia(Aa,b,Qr.j(a),a,sc(b)):qe.da(Aa,b,Qr.j(a),sc(b));return h(PCa.j(a))?Ba:h(h(d)?fd(Ba)&&Fc.B(Ug,t(Ba)):d)?new zAa(null!=Ba&&(Ba.ha&262144||lc===Ba.Gf)?Qc(Ba,bi.J(H.B([c,Rc(Ba)],0))):Ba):function(){var Gb=h(c)?null!=Ba&&(Ba.ha&262144||lc===Ba.Gf)?Qc(Ba,bi.J(H.B([c,Rc(Ba)],0))):Ba:Ba;return Ts.G?Ts.G(a,Gb,d):Ts.call(null,a,Gb,d)}()}var Ia=qt.j(w); -if(h(Ia))return na=Ia,dt(a,b,na,Us(a,sc(b)),Lf.J(c,K,Bb(Ur),H.B([N,Bb(Lr),rt,w],0)),null);var Wa=ACa.j(Rc(G));if(h(Wa))switch(Wa instanceof B?Wa.la:null){case "resolve-sym":return JDa(CCa.j(Rc(G)),Us(a,sc(b)),Lf.J(c,K,Bb(Ur),H.B([N,Bb(Lr),rt,w],0)));default:return ca=Us(a,sc(b)),dt(a,b,G,ca,Lf.J(c,K,Bb(Ur),H.B([N,Bb(Lr),rt,w],0)),null)}else{ka=function(){var Gb=Yr(G);return Gb?yr(G):Gb}();if(h(ka))return KDa(b,G,Us(a,sc(b)));var Ya=RDa.j(a);if(h(h(Ya)?Ya.j?Ya.j(G):Ya.call(null,G):Ya))return ca=Us(a, -sc(b)),dt(a,b,G,ca,Lf.J(c,K,Bb(Ur),H.B([N,Bb(Lr),rt,w],0)),function(Gb,cc){return Bb(cc.get(m))});ca=Us(a,sc(b));return dt(a,b,G,ca,Lf.J(c,K,Bb(Ur),H.B([N,Bb(Lr),rt,w],0)),Yr(G)?function(Gb,cc,gc){return Bb(gc)}:null)}}catch(Gb){if(Gb instanceof Error){var ib=Gb;return WAa(a,ib,function(){var cc=Lf.J(c,K,Bb(Ur),H.B([N,Bb(Lr),rt,w],0));return sr(function(){return null},cc)}())}throw Gb;}}else if(m instanceof B){ca=Us(a,sc(b));var ob=Ec(ca);switch(ob){case 1:var rb=x.B(ca,0);return sr(function(Gb,cc, -gc){return m.j(tr(rb,cc,gc))},null);case 2:var wb=x.B(ca,0),Fb=x.B(ca,1);return sr(function(Gb,cc,gc){return m.B(tr(wb,cc,gc),tr(Fb,cc,gc))},null);default:return Ss(["Wrong number of args (",l.j(ob),") passed to: ",l.j(m)].join(""),b)}}else{v=Ts.B?Ts.B(a,m):Ts.call(null,a,m);ca=Us(a,sc(b));var zb=Lf.J(c,K,Bb(Ur),H.B([N,Bb(Lr)],0));return dt(a,b,v,ca,zb,Yr(v)?function(Gb,cc,gc){return tr(Bb(gc),Gb,cc)}:function(Gb,cc,gc){return tr(gc,Gb,cc)})}}catch(Gb){return ib=Gb,WAa(a,ib,sr(function(){return null}, -gBa(c,!1)))}finally{h(k)&&Dr()}}finally{h(g)&&(Nr=null)}},TDa=function(a){return 16>=a?tj:uj},UDa=function(a,b,c){var d=TDa(Ec(c));dt(a,b,d,c,null,null);return dt(a,b,d,c,null,null)},VDa=function(a){return!(a instanceof rr)},WDa=function(a,b,c){a=Rs(a);var d=jf.G(Ke,vg,b),g=Us(a,d),k=ne(VDa,g);d=k?Fc.B(d,g):null;d=k?h(d)?b:function(){var v=TDa(Ec(g));return qe.B(v,g)}():null;var m=k?d:UDa(a,b,g),q=h(c)?Ts.B?Ts.B(a,c):Ts.call(null,a,c):null;return h(q)?sr(function(v,w,A){v=tr(m,w,A);w=tr(q,w,A);return Qc(v, -w)},null):m},XDa=function(a,b,c,d,g){a=Rs(a);var k=h(g)?Ts.B?Ts.B(a,g):Ts.call(null,a,g):null;g=Us(a,d);var m=ne(VDa,g),q=Wc(d),v=m&&Fc.B(q?function(){var A=r(d);return A?A:Ke}():d,g);b=m?v?Uc(d)?q?Qf:Ke:d:b.j?b.j(g):b.call(null,g):null;var w=m?b:dt(a,d,c,g,null,null);return h(k)?sr(function(A,D,G){A=tr(w,D,G);D=tr(k,D,G);return Qc(A,D)},null):w},YDa=function(a,b){b=b.val;if(Zc(b)){var c=Hf(b),d=ng.B(Vf,c),g=Jf(b),k=Us(a,g);return sr(function(m,q,v){return qe.B(st,dl.B(d,ng.B(function(w){return tr(w, -q,v)},k)))},null)}g=Us(a,b);return sr(function(m,q,v){var w=[];Ofa(function(A){return w.push(tr(A,q,v))},g);return w},null)},ut=function(a,b,c,d,g){c=new f(null,3,[K,h(c)?c:tt,uk,!0,Ls,!0],null);g=h(g)?bi.J(H.B([c,g],0)):c;return iBa(a,b,g,d)},vt=function(a,b){return ZDa(a,b,null,!1)},$Da=function(a,b,c){return ZDa(a,b,c,!0)},ZDa=function(a,b,c,d){d=h(d)?d:!0===c;c=new f(null,2,[K,!0===c?tt:h(c)?c:tt,Ls,!0],null);c=h(null)?bi.J(H.B([c,null],0)):c;return iBa(a,b,c,d)},aEa=function(a){if(!ad(a))throw Error("doseq requires a vector for its binding"); -if(!pe(Ec(a)))throw Error("doseq requires an even number of forms in binding vector");},bEa=function(a,b){var c=Ec(a)-1;Fc.B(2,c)||Kr(["Wrong number of args (",l.j(c),") passed to: clojure.core/for"].join(""),a);ad(b)||Kr("for requires a vector for its binding",a);pe(Ec(b))||Kr("for requires an even number of forms in binding vector",a)},cEa=function(a){return hBa(a,null,new f(null,2,[K,tt,Ls,!0],null))},eEa=function(a){var b=Rc(a);if(h(b)){if(h(dEa.j(b)))return J.j(l.j(Bb(a)));a=X.j(b);if(h(a))return b= -K.j(b),h(b)?J.B(l.j(ur(b)),l.j(a)):null}return null},fEa=function(a,b){var c=Bb(Rr.j(a)),d=function(){var A=Od(b);return h(A)?J.j(A):null}(),g=Wr(),k=l.j(g),m=y.B(c,Tr),q=y.B(m,g),v=il.j(q),w=function G(D){var Q=Vf(D),U=function(){var aa=rs.j(q);return h(aa)?(aa=y.B(aa,D),h(aa)?eEa(aa):null):null}();if(h(U))return U;U=function(){var aa=y.B(q,D);return h(aa)?eEa(aa):null}();if(h(U))return U;U=ld(y.B(m,bs),D)&&cb(function(){var aa=null==q?null:bl.j(q);aa=null==aa?null:y.B(aa,bs);aa=null==aa?null:ws.j(aa); -return null==aa?null:ld(aa,D)}())||ld(FCa,D)?J.B("clojure.core",Q):null;if(h(U))return U;U=pBa(a,D);return h(U)?U:Ea(Q,".")?!za(Q,".")&&Da(Q,".")?J.j([l.j(G(J.j(hg.G(Q,0,Q.length-1)))),"."].join("")):D:J.B(k,Q)};return cb(d)?w(b):function(){var D=y.B(c,Tr);if(h(y.B(D,d)))return b;var G=y.B(v,d);if(h(G))return J.B(l.j(G),Vf(b));D=y.B(cl.j(y.B(D,g)),d);return h(D)?J.B(l.j(D),Vf(b)):b}()},hEa=function(){throw xh.B("EvalReader not allowed when *read-eval* is false.",new f(null,1,[gi,gEa],null));},iEa= -function(a,b){b=jj.j(b);if(h(b))return b;a=Rr.j(a);b=Bb(a);a=Wr();b=Ij.B(b,new E(null,2,5,F,[Tr,a],null));b=il.j(b);return Lf.G(b,nj,a)},pEa=function(a,b,c){var d=gj.j(a),g=Bi.j(a),k=Yr(g)?Bb(g):g,m=iEa(a,c),q=function(){var v=Lf.J(jEa,gj,d,H.B([jj,m,Mi,new f(null,1,[Gja,function(w){return fEa(a,w)}],null),Bi,function(w){var A=h(k)?k.j?k.j(w):k.call(null,w):k;if(h(A))return A;A=function(){var G=Bb(kEa);return G.j?G.j(w):G.call(null,w)}();if(h(A))return A;A=function(){var G=Bb(wt);G=G.G?G.G(a,C,w): -G.call(null,a,C,w);G=null==G?null:Rc(G);return null==G?null:lEa.j(G)}();if(h(A))return A;var D=Bb(mEa);return h(D)?function(G){return D.B?D.B(w,G):D.call(null,w,G)}:null},rj,h(Bb(nEa))?function(w){return dBa(a,w)}:hEa],0));return h(c)?bi.J(H.B([v,c],0)):v}();return function(){try{var v=Ika(b,q);return Md(v,Hka)?oEa:v instanceof n&&Xh(b)?ij.xa(v,Lf,O,Rh(b),P,Sh(b)-l.j(v).length):v}catch(w){if(w instanceof Lg)throw v=w,xh.G(v.message,Lf.J(Mg(v),gi,gEa,H.B([ZAa,"parse",N,Bb(Lr)],0)),v);throw w;}}()}, -rEa=function(a,b){if(Md(oEa,b)){b=ji.j(a);if(h(b)){if(Md(qEa,b))throw xh.B("EOF while reading",new f(null,2,[gi,gEa,Fs,a],null));return b}throw xh.B("EOF while reading",new f(null,2,[gi,gEa,Fs,a],null));}return b},xt=function(a){return a.vf(null)},sEa=function(a,b){return aBa(Rr.j(a),b,!1,null)},yt=function(a,b){if(b instanceof Ir)return b;a=sEa(a,b);if(h(a))return a;throw Error(["No namespace: ",l.j(b)," found"].join(""));},tEa=function(a,b){b=yt(a,b);b=xt(b);a=Ij.B(Bb(Rr.j(a)),new E(null,3,5,F, -[Tr,b,il],null));return Wf(Hf(a),ng.B(function(c){return Jr(c,null)},Jf(a)))},uEa=function(a){return ci.J(a,il,H.B([cl,Ej,bl,rs],0))},vEa=function(a,b){b=yt(a,b);b=xt(b);a=Ij.B(Bb(Rr.j(a)),new E(null,2,5,F,[Tr,b],null));return uEa(a)},wEa=function(a,b){b=yt(a,b);b=xt(b);a=Ij.B(Bb(Rr.j(a)),new E(null,2,5,F,[Tr,b],null));a=uEa(a);return jf.B(C,Yj.B(function(c){var d=x.G(c,0,null);c=x.G(c,1,null);return h(Cm.j(Rc(c)))?null:new E(null,2,5,F,[d,c],null)},a))},xEa=function(a,b){b=yt(a,b);b=xt(b);var c= -Bb(Rr.j(a));a=cl.j(c);b=Ij.B(c,new E(null,3,5,F,[Tr,b,cl],null));var d=as.j(c);c=R.B(Hf(a),Hf(b));a=R.B(Jf(a),Jf(b));return Wf(c,ng.B(Zj.B(So,function(g){return y.B(d,g)}),a))},yEa=function(a,b){b=yt(a,b);b=xt(b);var c=Bb(Rr.j(a));a=Ij.B(c,new E(null,3,5,F,[Tr,b,rs],null));b=Ij.B(c,new E(null,2,5,F,[Tr,bs],null));b=uEa(b);return bi.J(H.B([b,a],0))},zEa=function(a){var b=Rr.j(a);a=y.B(Bb(b),Tr);a=rk.B(function(c){x.G(c,0,null);c=x.G(c,1,null);return Cm.j(c)},a);return ng.B(function(c){return aBa(b, -c,!0,null)},Hf(a))},AEa=function(a){return new Gr(a,null,null)},BEa=function(a){var b=V.j(a),c=W.j(a),d=uk.j(a);zt.J(H.B(["-------------------------"],0));var g=zt.J,k=H.B;var m=K.j(a);m=h(m)?[l.j(xt(m)),"/"].join(""):null;g.call(zt,k.call(H,[[m,l.j(X.j(a))].join("")],0));h(b)&&zt.J(H.B([b],0));h(d)&&zt.J(H.B(["Macro"],0));return h(c)?zt.J(H.B([" ",c],0)):null},CEa=function(a,b,c){return qm(Wf(a,c),b)},HEa=function(a,b,c,d,g,k,m,q,v,w,A){zg.B(a,function(D){var G=Tr.j(D),Q=zn.J(bi,H.B([h(G)?G:DEa, -h(G)?null:new f(null,1,[At,Lf.G(b,Ej,EEa)],null),d],0)),U=bi.J(H.B([c,Ij.B(D,new E(null,3,5,F,[Tr,At,il],null))],0)),aa=Ii.J;Q=Ii.ia(Q,At,Lf,il,U);U=Xr(rBa,Xfa(),new f(null,1,[K,tt],null));var ja=H.B;G=R.B(Hf(G),FEa);G=hBa(lCa,yg.j(jf.B(Bt(),G)),new f(null,4,[W,"A ref to a sorted set of symbols representing loaded libs",K,tt,Cm,!0,Ls,!0],null));aa=aa.call(Ii,Q,bs,Lf,rBa,U,lCa,ja.call(H,[G],0));G=cl.j(D);G=h(G)?bi.J(H.B([G,m],0)):m;Q=bi.J(H.B([zs.j(D),A],0));U=bi.J(H.B([ys.j(D),w],0));return cb(D)? -new f(null,4,[Tr,aa,cl,G,Ds,q,GEa,v],null):Lf.J(D,Tr,aa,H.B([cl,G,Ds,q,GEa,v,ys,U,YBa,YBa.j(g),as,as.j(g),fCa,k,zs,Q],0))})},IEa=function(a,b){return de(jf.G(a,Zj.B(vg,ng.j($Aa)),b))},JEa=function(a){for(var b=Vb(Mf(a,new E(null,1,5,F,[ts],null))),c=a;;){var d=t(c);if(h(d)){var g=d;d=x.G(g,0,null);g=x.G(g,1,null);b=cf.G(b,d,Zc(g)?g:new f(null,1,[So,g],null));c=sc(c)}else return new f(null,2,[YBa,YBa.j(a),as,Xb(b)],null)}},KEa=function(){return null},PEa=function(a){var b=ce(a);a=y.B(b,gj);var c=y.B(b, -Tr),d=y.B(b,zs),g=y.B(b,ys),k=y.B(b,Qr),m=y.B(b,Bi),q=y.B(b,LEa),v=y.B(b,Rr),w=y.B(b,cl),A=y.B(b,ts),D=y.B(b,Ds),G=y.B(b,GEa),Q=y.B(b,il),U=y.B(b,Ms),aa=y.B(b,MEa);b=y.B(b,Ct);v=h(v)?v:yg.j(C);w=bi.J(H.B([C,w],0));d=bi.J(H.B([NEa,d],0));b=bi.J(H.B([OEa,b],0));var ja=JEa(b);HEa(v,k,Q,c,ja,b,w,D,G,g,d);return Lf.J(new f(null,5,[Qr,C,Rr,v,gj,a,Bi,m,QDa,h(A)?A:U],null),ts,h(A)?IEa(Qf,H.B([A],0)):null,H.B([Ms,h(U)?IEa(Qf,H.B([U],0)):null,LEa,h(q)?q:KEa,MEa,aa],0))},Et=function(a,b){Cr(be([Ur,Bb(Ur)])); -try{var c=Zh(Yh(b));for(b=null;;){var d=pEa(a,c,null);if(Md(oEa,d))return b;b=Dt(a,d)}}finally{Dr()}},Ft=function(a,b,c){return new Hr(b,a,Lf.G(c,X,Fr.j?Fr.j(a):Fr.call(null,a)),!1)},Gt=function(a,b,c){return new Hr(b,a,Lf.J(c,Vr,!0,H.B([X,Fr.j?Fr.j(a):Fr.call(null,a)],0)),!1)},Ht=function(a,b,c){return new Hr(ij.da(b,Lf,Or,!0),a,Lf.J(c,uk,!0,H.B([X,Fr.j?Fr.j(a):Fr.call(null,a)],0)),!1)},QEa=function(a,b){var c=ct;ct=!0;try{It.B(a,b)}finally{ct=c}},Jt=function(a,b){var c=Rr.j(a),d=Bb(c),g=ce(b);b= -y.B(g,gj);var k=y.B(g,Tr),m=y.B(g,zs),q=y.B(g,ys),v=y.B(g,Qr),w=y.B(g,Bi),A=y.B(g,LEa),D=y.B(g,cl),G=y.B(g,ts),Q=y.G(g,Ds,Ds.j(d)),U=y.G(g,GEa,GEa.j(d)),aa=y.B(g,il);d=y.B(g,Ms);g=y.B(g,Ct);g=bi.J(H.B([fCa.j(Bb(c)),g],0));var ja=JEa(g);HEa(c,v,aa,k,ja,g,D,Q,U,q,m);k=Lf.J;m=QDa.j(a);return k.call(Lf,new f(null,5,[Qr,C,Rr,c,gj,b,Bi,w,QDa,h(m)?m:h(G)?G:d],null),ts,h(G)?IEa(ts.j(a),H.B([G],0)):null,H.B([Ms,h(d)?IEa(Ms.j(a),H.B([d],0)):null,LEa,A,REa,REa.j(a)],0))},TEa=function(){return Ii.G(SEa,Rr,function(a){return yg.j(Bb(a))})}, -Kt=function(a,b){return Et(a,b)},Lt=function(a){return Jr(a,null)},UEa=function(a,b){var c=Lf.G;var d=Hl.j(a);d=h(d)?d:Li.ca();a=c.call(Lf,a,Hl,d);return Dt(a,b)},Mt=function(a,b){return rd.G(function(c,d){var g=x.G(d,0,null),k=x.G(d,1,null);d=Ra.j(k);var m=Lf.G,q=pj.j(k);k=h(q)?Bb(q):Wo.j(k);return m.call(Lf,c,g,Ft(g,k,Lf.J(d,K,b,H.B([X,g],0))))},C,a)},VEa=function(a,b){return sEa(a,b)},WEa=function(a,b){var c=Bb(wt);return c.G?c.G(a,C,b):c.call(null,a,C,b)},Nt=function(a,b,c,d){this.form=a;this.fa= -b;this.ba=c;this.ga=d;this.ha=2230716170;this.ja=139264},XEa=function(a){return new Nt(a,null,null,null)},YEa=function(a){var b=ci.B(a,vn);b=$c(a)?jf.B(C,b):b;return new Nt(vn.j(a),null,de(b),null)},Ot=function(a,b,c,d,g){this.form=a;this.f=b;this.fa=c;this.ba=d;this.ga=g;this.ha=2230716171;this.ja=139264},ZEa=function(a,b){return new Ot(a,b,null,null,null)},Qt=function(a){var b=ci.J(a,vn,H.B([Pt],0));b=$c(a)?jf.B(C,b):b;return new Ot(vn.j(a),Pt.j(a),null,de(b),null)},$Ea=function(a){return a instanceof -Ot},Rt=function(a){return a instanceof Nt},aFa=function(a,b){var c=null==b?null:Od(b);c=null==c?null:J.j(c);a=null==c?null:y.B(a,c);a=null==a?null:l.j(a);return h(a)?J.B(a,Vf(b)):b},bFa=function(a,b){return pm(function(c){return Rd(c)?aFa(a,c):c},b)},St=function(a){return Qt(new f(null,2,[vn,a,Pt,th.call(null,a)],null))},Tt=function(a){return YEa(new f(null,1,[vn,a],null))},cFa=function(a){return jf.G(new z(null,new E(null,2,5,F,[Ra,new f(null,2,[X,"twitter:card",Bl,"summary_large_image"],null)], -null),null,1,null),ng.j(function(b){var c=x.G(b,0,null);b=x.G(b,1,null);return new E(null,2,5,F,[Ra,new f(null,2,[Ut,["og:",Vf(c)].join(""),Bl,b],null)],null)}),a)},Wt=function(a){var b=Zc(a);if(b)try{return ld(a,Vt)}catch(c){if(c instanceof Error)return!1;throw c;}else return b},Xt=function(a){return h(Wt(a))?Vt.j(a):a},Zt=function(a){return h(Wt(a))?Yt.j(a):null},dFa=function(a){return h(Wt(a))?$t.j(a):null},fFa=function(a){return h(Wt(a))?eFa.j(a):null},hFa=function(a){return h(Wt(a))?gFa.j(a): -null},mFa=function(a){if(!Zc(a))throw xh.B("normalize-viewer-opts not passed `map?` opts",new f(null,1,[Fs,a],null));var b=eFa.j(a);if(h(b)){if(!ld(new Pf(null,new f(null,3,[iFa,null,jFa,null,kFa,null],null),null),b))throw xh.B("Invalid `:nextjournal.clerk/width`, allowed values are `:full`, `:wide` and `:prose`.",new f(null,1,[op,b],null));var c=gFa.j(a);if(h(c))throw xh.B("Conflicting viewer options `:nextjournal.clerk/width` and `:nextjournal.clerk/css-class`. Please remove either one.",new f(null, -2,[op,b,lFa,c],null));}return a},nFa=function(a){return mFa(pl(a,au))},oFa=function(a){if(a instanceof B||a instanceof n||Zc(a))return a;if(fd(a))return new f(null,1,[bu,a],null);throw xh.B(["cannot normalize viewer `",l.j(a),"`"].join(""),new f(null,1,[cu,a],null));},pFa=function(a,b){return Lf.G(du.j(b),$t,a)},qFa=function(a,b,c){return td(Ae.B(b,R.B(a,el.j(c))))},rFa=function(a){return $d(1E4,a)},sFa=function(a){var b=Ec(qe.G(ol,Ec,Ae.B(1E3,a)));return new f(null,1,[eu,ng.B(function(c){return qFa(Xt(c), -b,fu)},a)],null)},tFa=function(a){var b=td(gu.j(Fe.J(Hf,H.B([Ae.B(1E3,a)],0))));return new f(null,2,[hu,b,eu,ng.B(function(c){return wh.B(function(d){return y.G(c,d,fu)},b)},a)],null)},uFa=function(a){var b=td(Hf(a));return new f(null,2,[hu,b,eu,iu.B(function(c){return ng.B(function(d){return x.G(y.B(a,d),c,fu)},b)},yb(qe.G(ol,Zj.B(rFa,Te),a)))],null)},vFa=function(a){var b=ce(a);a=y.B(b,hu);b=y.B(b,eu);b=new f(null,1,[eu,td(b)],null);return h(a)?Lf.G(b,hu,td(a)):b},wFa=function(a){a=sFa(a);a=ce(a); -var b=y.B(a,eu);return Ii.G(Lf.G(a,hu,t(b)),eu,sc)},xFa=function(a){return Zc(a)&&Xc(ju.B(a,eu))?vFa(a):Zc(a)&&Xc(t(Jf(a)))?uFa(a):Xc(a)&&Zc(t(a))?tFa(a):Xc(a)&&Xc(t(a))?sFa(a):null},yFa=function(a){return Zc(a)?Ii.G(a,ku,function(b){return wh.B(function(c){return Ii.G(c,0,Zj.B(nh,lm))},b)}):a},zFa=function(){return bha(lu)},mu=function(a){return Lf.G(a,AFa,!0)},CFa=function(a){return Lf.G(a,BFa,!0)},DFa=function(a){return qm(new f(null,1,[Vt,og.j("nextjournal/value ")],null),a)},EFa=function(){throw xh.B("`fetch-all` is deprecated, please use a `:transform-fn` with `mark-presented` instead.", -C);},GFa=function(a){var b=Xt(a);b=ce(b);b=y.B(b,gi);if(!h(b))throw xh.B("no type given for with-md-viewer",new f(null,1,[FFa,a],null));return nu.B(og.B("nextjournal.markdown",Vf(b)),a)},uu=function(a){return function(b){b=ce(b);var c=y.B(b,$t),d=y.B(b,ou);return Ii.G(mu(nu.B(new f(null,2,[X,HFa,bu,pu],null),b)),Vt,function(g){g=ce(g);var k=y.B(g,Dl),m=y.B(g,Bl),q=y.B(g,qu);return jf.B(Oc(a)?qe.B(a,new E(null,1,5,F,[bi.J(H.B([d,g],0))],null)):a,h(k)?new E(null,1,5,F,[k],null):h(m)?wh.B(function(v){v= -Lf.G(v,qu,q);v=ru.B?ru.B(c,v):ru.call(null,c,v);v=GFa(v);v=su.j?su.j(v):su.call(null,v);return Fc.B(HFa,X.j(Zt(v)))?Xt(v):new E(null,2,5,F,[zFa(),tu.j?tu.j(v):tu.call(null,v)],null)},m):null)})}},vu=function(a){return gca(a)||a instanceof Hr},IFa=function(a){return vu(ju.B(a,wu))},LFa=function(a){a=ce(a);var b=y.B(a,Vt),c=y.B(a,Yt);if(h(c)){c=vu(c)||Oc(c)?c.j?c.j(b):c.call(null,b):new f(null,2,[Vt,b,Yt,oFa(c)],null);var d=ce(JFa),g=y.B(d,xu),k=y.B(d,Xl);d=Lf.G;b=k.j?k.j(b):k.call(null,b);b=h(b)?cb(KFa.j(Zt(c))): -b;c=h(b)?g.j?g.j(c):g.call(null,c):c;return d.call(Lf,a,Vt,c)}return a},NFa=function(){return Ci.B(Bb(yu),MFa)},PFa=function(a){if(a instanceof Ir)return xt(a);var b;(b=a instanceof n)||(b=new Pf(null,new f(null,1,[Ci,null],null),null),b=b.j?b.j(a):b.call(null,a),b=h(b));if(b)return a;throw xh.B(["Unsupported scope `",l.j(a),"`. Valid scopes are namespaces, symbol namespace names or `:default`."].join(""),new f(null,1,[OFa,a],null));},Au=function(){var a=zu;return h(a)?a:Bb(Ur)},QFa=function(a,b){return[l.j(a), -r(b)&&Kf.B(new E(null,1,5,F,[0],null),b)?["-",Ik.B("-",b)].join(""):null].join("")},eGa=function(a){a=ce(a);var b=y.B(a,ap),c=Vt.j(a),d=ce(c),g=y.B(d,vn),k=y.B(d,Hl);c=y.B(d,An);var m=y.B(d,Bu);d=y.B(d,qu);var q=ce(d),v=y.B(q,RFa);q=y.B(q,SFa);m=ce(m);var w=y.B(m,Vt),A=y.B(m,TFa),D=y.B(m,$t);Lf.J(d,UFa,h(function(){var aa=cb(v);return aa?A:aa}())?VFa:h(q)?WFa:N,H.B([XFa,A],0));c=pl(Mf(c,Hf(au)),au);c=bi.J(H.B([ci.J(Cu.j?Cu.j(a):Cu.call(null,a),Du,H.B([Eu],0)),c,function(){var aa=h(D)?D:Fu.j(Au()); -return ru.B?ru.B(aa,w):ru.call(null,aa,w)}()],0));c=ce(c);var G=y.B(c,YFa),Q=Ii.G(Gu.j?Gu.j(c):Gu.call(null,c),ou,function(aa){var ja=ce(aa);aa=y.B(ja,Hl);ja=h(G)?Lf.G(ja,ZFa,G):ja;ja=r(b)?Lf.G(ja,$Fa,!0):ja;return cb(aa)?Lf.G(ja,Hl,QFa([l.j(k),"-result"].join(""),b)):ja}),U=Rt(Vt.j(Q));return bi.J(H.B([mu(a),new f(null,1,[Vt,function(){var aa=new f(null,2,[aGa,Q,TFa,A],null);aa=U?Lf.G(aa,bGa,vn.j(Vt.j(Q))):aa;return h(cGa.j(Bqa.j(Rc(g))))?Lf.G(aa,dGa,!0):aa}()],null),ci.J(Q,Vt,H.B([Yt,$t],0))],0))}, -iGa=function(a){a=ce(a);y.B(a,un);a=y.B(a,An);a=qn.j(a);var b=ce(a);a=y.B(b,rn);b=y.B(b,un);return new f(null,3,[fGa,Kf.B(sn,b),gGa,Fc.B(a,jqa),hGa,Kf.B(sn,a)],null)},jGa=function(a,b){b=ce(b);b=y.B(b,Vl);return r(b)?Ona(Lf.G(a,Vl,b)):a},kGa=function(a,b){b=ce(b);y.B(b,N);y.B(b,SFa);return a},oGa=function(a,b,c,d){b=ce(d);b=y.B(b,Kl);return nu.B(Hu,new E(null,2,5,F,[lGa,new E(null,2,5,F,[mGa,Ii.da(b,nGa,kGa,a)],null)],null))},tGa=function(a,b){b=ce(b);var c=y.B(b,gi),d=y.B(b,Hl);c=c instanceof B? -c.la:null;switch(c){case "markdown":b=W.j(b);b=ce(b);b=y.B(b,Bl);var g=yg.j(-1);return Fe.J(function(v){return Fc.B(cGa,gi.j(t(v)))?ng.B(function(w){return oGa(a,d,zg.B(g,xc),w)},v):new E(null,1,5,F,[nu.G(pGa,new f(null,1,[ou,new f(null,1,[Hl,QFa(d,new E(null,1,5,F,[zg.B(g,xc)],null))],null)],null),jGa(new f(null,3,[gi,W,Bl,td(v),qu,a],null),a))],null)},H.B([Km.B(Zj.B(new Pf(null,new f(null,1,[cGa,null],null),null),gi),b)],0));case "code":var k=Ii.G(b,un,LFa);b=iGa(k);c=ce(b);b=y.B(c,hGa);var m=y.B(c, -fGa);c=y.B(c,gGa);var q=Rt(ju.B(Vt.j(un.j(k)),Vt));b=h(b)?Gd.B(Ke,nu.G(h(c)?qGa:rGa,new f(null,1,[ou,Lf.G(Mf(k,new E(null,1,5,F,[Bka],null)),Hl,QFa([l.j(d),"-code"].join(""),Ke))],null),ci.B(k,un))):Ke;return h(h(m)?m:q)?Gd.B(b,function(){var v=du.j(pl(Lf.G(k,qu,a),new f(null,1,[un,Bu],null)));return q&&cb(m)?Lf.G(v,Yt,Lf.G(sGa,bu,M(Iu,new E(null,1,5,F,[Ju],null),new E(null,1,5,F,[vp],null)))):v}()):b;default:throw Error(["No matching clause: ",l.j(c)].join(""));}},uGa=function(a,b){return rd.G(function(c, -d){var g=x.G(d,0,null),k=x.G(d,1,null);return wh.B(function(m){return h(g.j?g.j(m):g.call(null,m))?k.j?k.j(m):k.call(null,m):m},c)},a,b)},wGa=function(a){return jf.G(vGa,ng.j(Oh.B(X,vd)),a)},xGa=function(a){return a instanceof Hr?QAa(a):J.j(a)},Cu=function(a){return Mf(a,new E(null,10,5,F,[Eu,gFa,eFa,ou,yGa,Du,zGa,Ku,ap,Wh],null))},AGa=function(a,b,c){a=ce(a);var d=y.B(a,$t);return Ii.da(bi.J(H.B([ru.B?ru.B(d,b):ru.call(null,d,b),Mf(Cu(a),new E(null,5,5,F,[Du,zGa,Ku,Eu,ap],null))],0)),ap,bk.B(Gd, -Ke),c)},DGa=function(a){var b=ce(a);y.B(b,ap);var c=yg.j(-1);return Ii.G(b,Vt,function(d){return"string"===typeof d?new E(null,2,5,F,[sp,new f(null,1,[BGa,new f(null,1,[CGa,d],null)],null)],null):pm(function(g){if(h(Wt(g))){var k=F;var m=zFa();g=AGa(b,g,zg.B(c,xc));g=Gu.j?Gu.j(g):Gu.call(null,g);k=new E(null,2,5,k,[m,g],null)}else k=g;return k},d)})},FGa=function(a){a=ce(a);a=y.B(a,xn);return jf.G(Qf,Yj.j(function(b){var c=ce(b);b=y.B(c,un);c=y.B(c,vn);b=ju.B(Vt.j(b),wu);return h(b)?ld(Rc(c),EGa)? -b:null:null}),a)},HGa=function(a){return Tt(new z(null,GGa,new z(null,jf.G(C,ng.j(Oh.B(function(b){return new z(null,gh,new z(null,J.j(b),null,1,null),2,null)},function(b){return new z(null,gh,new z(null,Bb(Bb(b)),null,1,null),2,null)})),FGa(a)),null,1,null),2,null))},IGa=function(a,b,c){return h(b.j?b.j(a):b.call(null,a))?Ii.G(a,b,c):a},KGa=function(a){a=ce(a);a=y.B(a,JGa);return ld(new Pf(null,new f(null,2,["src/nextjournal/home.clj",null,"'nextjournal.clerk.home",null],null),null),a)},MGa=function(a){var b= -ce(a);a=y.B(b,JGa);b=y.B(b,LGa);if(h(a)){var c=Fc.B("'nextjournal.clerk.index",a);return c?c:(b=Fc.B(l.j(b),a))?b:eg(/(^|.*\/)(index\.(clj|cljc|md))$/,a)}return null},NGa=function(a){a=ce(a);y.B(a,RFa);y.B(a,LGa);return""},VGa=function(a){var b=ce(a),c=y.B(b,JGa);a=y.B(b,RFa);var d=y.B(b,OGa),g=y.B(b,PGa);a=new E(null,2,5,F,[QGa,new E(null,4,5,F,[RGa,cb(a)&&!KGa(b)?new E(null,3,5,F,[vp,new E(null,3,5,F,[SGa,new f(null,1,[Lu,Mu.j?Mu.j("'nextjournal.clerk.home"):Mu.call(null,"'nextjournal.clerk.home")], -null),"Home"],null),new E(null,2,5,F,[TGa,"•"],null)],null):null,cb(MGa(b))?new E(null,3,5,F,[vp,new E(null,3,5,F,[SGa,new f(null,1,[Lu,function(){var k=NGa(b);return Mu.j?Mu.j(k):Mu.call(null,k)}()],null),"Index"],null),new E(null,2,5,F,[TGa,"•"],null)],null):null,new E(null,5,5,F,[Nu,h(a)?"Generated with ":"Served from ",new E(null,3,5,F,[SGa,new f(null,1,[Lu,"https://clerk.vision"],null),"Clerk"],null)," from ",function(){var k=Rha(l.j(c),"src/nextjournal/clerk/index.clj");return new E(null,4, -5,F,[SGa,new f(null,1,[Lu,h(h(d)?g:d)?k?[l.j(d),"/tree/",l.j(g)].join(""):[l.j(d),"/blob/",l.j(g),"/",l.j(c)].join(""):null],null),h(h(d)?k:d)?d:c,h(g)?new E(null,3,5,F,[vp,"@",new E(null,2,5,F,[UGa,hg.G(g,0,7)],null)],null):null],null)}()],null)],null)],null);return Ou.j?Ou.j(a):Ou.call(null,a)},$Ga=function(a,b){b=ce(b);var c=y.B(b,K),d=Lf.G,g=Ii.G,k=Ii.G,m=Lf.G;c=Ii.G(Lf.G(Lf.G(b,WGa,HGa(b)),K,Tt(new z(null,Yg,new z(null,h(c)?c.name:At,null,1,null),2,null))),xn,di.G(jf,Ke,Zj.B(Fe.j(di.B(tGa,ci.B(b, -Pu))),ng.j(Zj.B(Gu,di.B(ru,a))))));a=pFa(a,nu.B(XGa,b));a=Gu.j?Gu.j(a):Gu.call(null,a);return d.call(Lf,IGa(Mf(g.call(Ii,k.call(Ii,m.call(Lf,c,YGa,a),Al,Qu),N,l),new E(null,13,5,F,[WGa,xn,SFa,Oqa,Pu,N,Dqa,K,wn,Al,Mqa,YGa,ZGa],null)),Pu,Gu),Cna,Oa(r(Vl.j(b))))},aHa=function(a){return ud(function(b,c,d){var g=hd(d);d=g?d.j?d.j(a):d.call(null,a):g;return h(d)?zc(c):b},-1,jf.G(Ke,ng.j(Xl),MFa))},bHa=function(a,b){try{return od(a,b)}catch(c){if(c instanceof Error)return od(aHa(a),aHa(b));throw c;}},cHa= -function(a){return Yc(a)?a:Zc(a)?Ru.G(t,bHa,a):Wc(a)?lh.B(bHa,a):a},dHa=function(a,b){return t(He.B(b,a))},eHa=function(a,b){return dHa(a,Zj.B(Rf([b]),X))},hHa=function(a,b){var c=function(){var d=Zt(b);if(h(d)){if(d instanceof n||d instanceof B){var g=eHa(a,d);if(h(g))return g;throw xh.B(["cannot find viewer named ",l.j(d)].join(""),new f(null,2,[fHa,d,gHa,a],null));}return d}return null}();if(h(c))return c;c=dHa(a,function(){var d=Xt(b);return function(g){g=ce(g);g=y.B(g,Xl);var k=hd(g);return k? -g.j?g.j(d):g.call(null,d):k}}());if(h(c))return c;throw xh.B("cannot find matching viewer for value",new f(null,3,[Su,Xt(b),gHa,a,qp,b],null));},kHa=function(a){for(;;){if(Uc(dFa(a)))throw xh.B("cannot apply empty viewers",new f(null,1,[FFa,a],null));var b=dFa(a),c=hHa(b,a),d=c=ce(c),g=y.B(c,iHa),k=y.B(c,bu),m=y.B(c,xu),q=function(){var v=ru,w=v.B,A=b;var D=Lf.G(ci.B(a,Yt),jHa,d);D=h(m)?m.j?m.j(D):m.call(null,D):D;v=w.call(v,A,D);return h(g)?Ii.da(v,$t,Tu,g):v}();c=function(){var v=q;return h(Wt(Xt(q)))? -bi.J(H.B([v,Xt(q)],0)):v}();if(h(function(){var v=m;return h(v)?cb(k):v}()))a=c;else return bi.J(H.B([Lf.G(c,Yt,d),Cu(a)],0))}},su=function(a){return kHa(ru.j(a))},mHa=function(a){return pm(function(b){if(h(Wt(b))){var c=ci.B(b,Du);return h($t.j(b))?pl(Ii.G(c,$t,Ec),new f(null,1,[$t,lHa],null)):c}return b},a)},qHa=function(a,b){if("number"!==typeof a)throw xh.B("n must be a number?",new f(null,2,[Wq,a,nHa,b],null));a+=1E4;try{var c=$d(a,b)}catch(d){if(d instanceof Error)c=null;else throw d;}b=h(c)? -Lf.G(C,oHa,c):C;return cb(c)||Fc.B(c,a)?Lf.G(b,pHa,!0):b},rHa=function(a){var b=ce(a);a=y.B(b,Wq);b=y.G(b,Wh,0);b=xe.j(b);return Eca(a)?Zj.B(b,Ae.j(a)):b},uHa=function(a){a=ce(a);var b=y.B(a,bu),c=y.B(a,sHa);return h(h(b)?!$Ea(b):b)?Ii.G(a,bu,function(d){return Lf.G(St(d),sHa,h(c)?c:tHa)}):a},vHa=function(a){var b=new uAa,c=b.update;a=lm.J(H.B([a],0));for(var d=[],g=0,k=0;km?d[g++]=m:(2048>m?d[g++]=m>>6|192:(55296==(m&64512)&&k+1>18|240,d[g++]=m>>12&63|128):d[g++]=m>>12|224,d[g++]=m>>6&63|128),d[g++]=m&63|128)}c.call(b,d);return b.digest()},yHa=function(a,b){b=ce(b);var c=y.B(b,yGa);if(Zc(a)){b=ci.J;var d=cb(sHa.j(a));a=h(d?c:d)?Lf.G(a,sHa,c):a;a=b.call(ci,a,Xl,H.B([xu,wHa],0));a=Lf.G(a,xHa,vHa(a));a=uHa(a)}return a},tu=function(a){var b=ce(a);a=y.B(b,Ku);y.B(b,ap);b=Ii.da(ci.B(Mf(b,zHa),Eu),Yt,yHa,b);return h(a)?ij.da(b,Lf,Ku,a):b},AHa=function(a,b){return tu(su(ru.B(a, -nu.B(Uu,b))))},BHa=function(a){return Xt(t(He.B(Zj.G(new Pf(null,new f(null,1,[Uu,null],null),null),X,Yt),Ge(Fn.B(Zc,ad),function(b){return Zc(b)?Jf(b):b},a))))},DHa=function(a){return bi.J(H.B([new f(null,1,[Wq,CHa.B(a,Vu.j(Zt(a)))],null),Mf(a,new E(null,2,5,F,[ap,Wh],null))],0))},EHa=function(a){var b=DHa(a);b=ce(b);var c=y.B(b,Wq);return bi.J(H.B([b,qHa(c,Xt(a))],0))},FHa=function(a){return Wq.j(DHa(a))},GHa=function(a){var b=ce(a);y.B(b,Eu);var c=y.B(b,$t),d=y.B(b,BFa),g=y.B(b,Du);a=DHa(b);var k= -ce(a),m=y.B(k,Wh);a=y.B(k,Wq);var q=Xt(b);a="number"===typeof a&&cb(d);g=h(a?h(g)?!Re(q):g:a)?Ii.da(k,Wq,Wu,Bb(g)):k;var v=h(d)?jf.G(C,ng.j(function(D){var G=x.G(D,0,null),Q=x.G(D,1,null);D=F;Q=AGa(b,Q,G);Q=Xu.j?Xu.j(Q):Xu.call(null,Q);return new E(null,2,5,D,[G,Q],null)}),q):jf.G(Ke,Zj.G(a?rHa(g):vd,iu.j(function(D,G){D=AGa(b,G,D+(h(m)?m:0));return Xu.j?Xu.j(D):Xu.call(null,D)}),rk.j($a)),cHa(q));d=a?EHa(b):a;var w=ce(d);d=y.B(w,oHa);g=y.B(w,pHa);var A=a?function(){var D=null==v?null:Sc(v);D=null== -D?null:ap.j(D);D=null==D?null:Sc(D);D=null==D?null:D+1;return h(D)?D:0}():null;return h(a?h(g)?g:Ad){var g=l,k=g.j;a:{var m="0";for(d=4-d;;)if(0=(c.B?c.B(hk,0):c.call(null,hk,0))&&1>=(c.B?c.B(bl,0):c.call(null,bl,0))))throw Rw(a,Cx(b,"Each of :as and :refer options may only be specified once in :require / :require-macros"));}},IRa=function(a,b){return rd.G(function(c,d){var g=r(d),k=t(g),m=u(g);if(Fc.B(k,VOa)){if(r(Yw.j(c)))throw Rw(a,"Only one :refer-clojure form is allowed per namespace definition"); -var q=new Pf(null,new f(null,2,[ws,null,vs,null],null),null),v=function(){for(var w=r(m),A=new f(null,2,[Yw,Qf,nx,C],null),D=!pe(Ec(m));;){if(!0===D)throw Rw(a,"Only [:refer-clojure :exclude (names)] and optionally `:rename {from to}` specs supported");if(null!=w){var G=t(w);if(h(q.j?q.j(G):q.call(null,G))){var Q=Ic(w);if(Fc.B(G,ws)&&Xc(Q)&&ne(nc,Q)||Fc.B(G,vs)&&Zc(Q)&&ne(function(){return function(U){return ne(nc,U)}}(w,A,D,Q,G,q,d,g,k,m,k,m),Q))if(Fc.B(G,ws))w=Kc(w),A=$h.da(A,new E(null,1,5,F,[Yw], -null),jf,Q),D=!1;else if(Fc.B(G,vs))w=Kc(w),A=$h.da(A,new E(null,1,5,F,[nx],null),bi,Q),D=!1;else return null;else D=!0}else D=!0}else return A}}();return zn.J(jf,H.B([c,v],0))}return c},new f(null,2,[Yw,Qf,nx,C],null),b)},JRa=function(a,b){var c=r(b),d=t(c),g=u(c);if(!(d instanceof n)||pe(Ec(b)))throw Rw(a,Cx(b,"Only [lib.ns :only (names)] and optionally `:rename {from to}` specs supported in :use / :use-macros"));for(var k=r(g),m=new E(null,1,5,F,[d],null),q=!1;;){if(!0===q)throw Rw(a,Cx(b,"Only [lib.ns :only (names)] and optionally `:rename {from to}` specs supported in :use / :use-macros")); -if(null!=k){var v=t(k),w=Fc.B(v,hCa);if(w||Fc.B(v,vs)){if(null!=oe(Rf([w?bl:v]),m))throw Rw(a,Cx(b,"Each of :only and :rename options may only be specified once in :use / :use-macros"));var A=Ic(k);w&&Xc(A)&&ne(nc,A)||Fc.B(v,vs)&&Zc(A)&&ne(function(){return function(D){return ne(nc,D)}}(k,m,q,A,v,w,b,c,d,g,d,g,b),A)?(k=Kc(k),m=jf.B(m,new E(null,2,5,F,[w?bl:v,A],null)),q=!1):q=!0}else q=!0}else{if(null!=oe(new Pf(null,new f(null,1,[bl,null],null),null),m))return m;q=!0}}},Dx=function(a,b,c,d,g){for(;;)if(g instanceof -n||"string"===typeof g)g=new E(null,1,5,F,[g],null);else{HRa(a,g);var k=g,m=r(k),q=t(m),v=u(m),w=q,A=v,D=function(){var ka=Jw(Bb(null),JPa,l.j(w),X);return null==ka?new E(null,2,5,F,[w,null],null):new E(null,2,5,F,[J.j(ka),w],null)}(),G=x.G(D,0,null),Q=x.G(D,1,null),U=qe.B(uj,A),aa=ce(U),ja=y.G(aa,hk,"string"===typeof G?J.j(mh(G)):G),ma=y.B(aa,bl),pa=y.B(aa,vs),ra=r(rk.B(Tf(Hf(pa)),ma)),wa=h(b)?new E(null,3,5,F,[Ww,ox,px],null):new E(null,3,5,F,[Hs,xs,vs],null),Ga=x.G(wa,0,null),Ca=x.G(wa,1,null), -ca=x.G(wa,2,null);if(!(ja instanceof n||null==ja))throw Rw(a,Cx(g,":as must be followed by a symbol in :require / :require-macros"));if(null!=ja){var Z=h(b)?nl:KRa,va=function(){var ka=Z.j(Bb(d));return ka.j?ka.j(ja):ka.call(null,ja)}();if(null!=va&&Kf.B(G,va))throw Rw(a,Cx(g,":as alias must be unique"));zg.J(d,$h,new E(null,1,5,F,[Z],null),Gd,H.B([new E(null,2,5,F,[ja,G],null),h(Q)?new E(null,2,5,F,[Q,G],null):null],0))}if(!(Xc(ma)&&ne(nc,ma)||null==ma))throw Rw(a,Cx(g,":refer must be followed by a sequence of symbols in :require / :require-macros")); -h(b)||zg.G(c,Gd,G);return bi.J(H.B([null!=ja?be([Ga,bi.J(H.B([be([ja,G]),be([G,G]),h(Q)?be([Q,G]):null],0))]):null,null!=ra?be([Ca,qe.B(uj,dl.B(ra,el.j(G)))]):null,null!=pa?be([ca,rd.G(function(ka,na,Aa,Ba,Ia,Wa,Ya,ib,ob,rb,wb,Fb,zb,Gb,cc,gc,jd,Kd){return function(Qe,Of){var wj=x.G(Of,0,null);Of=x.G(Of,1,null);if(!h(oe(Rf([wj]),Kd)))throw Rw(ka,["Renamed symbol ",l.j(wj)," not referred"].join(""));return Lf.G(Qe,Of,J.B(l.j(zb),l.j(wj)))}}(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa,Ga,Ca,ca), -C,pa)]):null],0))}},LRa=function(a,b,c){if(!(Xc(c)&&ne(nc,c)||c instanceof n&&null==Od(c)))throw Rw(a,Cx(c,"Only lib.ns.Ctor or [lib.ns Ctor*] spec supported in :import"));a=Xc(c)?jf.B(C,ng.B(function(v){return new E(null,2,5,F,[v,J.j([l.j(t(c)),".",l.j(v)].join(""))],null)},sc(c))):-1!==l.j(c).indexOf(".")?be([J.j(Lc(Ih.B(l.j(c),/\./))),c]):C;for(var d=r(a),g=null,k=0,m=0;;)if(mMath.abs(a):Math.abs((a-b)/b)=Ty(c,b)},ck.G(2,1,a))},dUa=function(a){return Xc(a)?lh.B(Ty,a):a},Wy=function(a){return lm.J(H.B([oy(Vy.j(a))],0))},Xy=function(a){return vya(oy(Vy.j(a)))},Zy=function(a){return a instanceof Yy},$y=function(a){return Ja(a,"re")},az=function(a){return Ja(a,"im")},fUa=function(a){if("string"===typeof a)return Nj.j(r(R.B(new z(null,eUa,null,1,null),new z(null,a,null,1,null))));if(ad(a)){var b=x.G(a,0,null);a=x.G(a,1,null);return null==a?Nj.j(r(R.B(new z(null,eUa,null,1,null), -new z(null,b,null,1,null)))):Nj.j(r(R.J(new z(null,eUa,null,1,null),new z(null,b,null,1,null),H.B([new z(null,a,null,1,null)],0))))}return"number"===typeof a?Nj.j(r(R.B(new z(null,eUa,null,1,null),new z(null,a,null,1,null)))):uw(["#emmy/complex takes a string, 2-vector or a number. Received: ",l.j(a)].join(""))},cz=function(a){return Zy(a)?bz.B(Math.round($y(a)),Math.round(az(a))):id(a)?a:Math.round(a)},dz=function(a){return Zy(a)?Ay($y(a))&&Ay(az(a)):ry(a)&&Ay(a)},gUa=function(a){return Zy(a)?0> -$y(a)?Fy.j(a):a:ry(a)?Math.abs(rw(a)):uw("not supported!")},gz=function(a,b){if(hy(a))return b;if(hy(b))return a;if(h(ez.B(a,b)))return gUa(a);if(dz(a)||dz(b))if(dz(a))if(dz(b)){b=fz.j(a)a?-a:a;for(b=0>b?-b:b;;){if(0==b)return a;var c=a%b;a=b;b=c}},rUa=function(a,b){for(var c=qz;;){var d=b.Zd(1);if(cb(b.Lh()))b=d,a=a.multiply(a);else{if(h(d.isZero()))return a.multiply(c);b=d;c=a.multiply(c);a=a.multiply(a)}}},sUa=function(a,b){for(var c=ya;;){var d=b.Zd(1);if(cb(b.Lh()))b=d,a=a.multiply(a);else{if(h(d.isZero()))return a.multiply(c);b=d;c=a.multiply(c);a=a.multiply(a)}}},tUa=function(a){return function(){function b(c){if(0ja?(v+=1,A=Je.B(A,D)):(w+=1,A=Je.B(A,G))}}var k=null;k=function(m,q){switch(arguments.length){case 0:return Ke;case 1:return m;case 2:return g.call(this,m,q)}throw Error("Invalid arity: "+arguments.length);};k.ca=function(){return Ke};k.j=function(m){return m};k.B=g;return k}()}, -sz=function(){Cra.call(this);this.ke=new Nn(this);this.Sj=this;this.Ph=null},GUa=function(a,b,c,d){b=a.ke.listeners[String(b)];if(!b)return!0;b=b.concat();for(var g=!0,k=0;k=Ca.bi+ca.ms?ci.B(wa,Ga):wa:ci.B(wa,Ga)},ra,ra);return Uc(ra)?wz.B(ma,pa):cf.G(ma,pa,ra)},Vb(h(ja)?ja:C),ja))}));for(;;){var G= -Bb(d),Q=y.B(G,w),U=null==Q?null:ud(function(ja,ma,pa,ra,wa,Ga,Ca){return function(ca,Z,va){var ka=y.B(Ca,Z);if(h(ka)){if(va.n=va?ca:null==ca?new VUa(be([Z,va]),Z,va):va>ca.di?new VUa(Lf.G(ca.m,Z,va),Z,va):new VUa(Lf.G(ca.m,Z,va),ca.xj,ca.di)}return ca}}(G,Q,D,w,c,d,g,null,k,m,q,SUa,v),null,Q);if(h(h(A)?A:U)){var aa=U;return h(aa)?(w=aa,new E(null,3,5,F,[w.xj,w.di,w.m],null)):null}aa=Bb(c);h(aa)||(Q=ud(function(ja,ma,pa,ra,wa){return function(Ga,Ca,ca){var Z= -Lf.G;var va=y.B(pa,Ca);if(h(va)){var ka=va.bi;ca=wa>=ka+ca.ms?new UUa(1,wa):new UUa(va.n+1,ka)}else ca=new UUa(1,wa);return Z.call(Lf,Ga,Ca,ca)}}(aa,G,Q,U,D,w,c,d,g,null,k,m,q,SUa,v),Q,g),ue(d,Lf.G(G,w,Q)));return null}}if(Uc(a))return new E(null,2,5,F,[null,se(null)],null);var c=yg.j(null),d=yg.j(null),g=WUa(a),k=ce(null),m=y.G(k,XUa,vd),q=y.G(k,YUa,16E3),v=1/yd(q);return new E(null,2,5,F,[d,function(){function w(Q,U){if(h(Md.B?Md.B(Q,ZUa):Md.call(null,Q,ZUa)))return h(Md.B?Md.B(U,$Ua):Md.call(null, -U,$Ua))?ue(d,null):zg.G(d,ci,m.j?m.j(U):m.call(null,U)),null;if(h(Md.B?Md.B(Q,aVa):Md.call(null,Q,aVa)))return b(U,!0);throw xh.B("[encore/limiter*] Unexpected limiter command",new f(null,2,[bVa,new f(null,2,[Su,Q,gi,hb(Q)],null),cVa,U],null));}function A(Q){return b(Q,!1)}function D(){return b(null,!1)}var G=null;G=function(Q,U){switch(arguments.length){case 0:return D.call(this);case 1:return A.call(this,Q);case 2:return w.call(this,Q,U)}throw Error("Invalid arity: "+arguments.length);};G.ca=D; -G.j=A;G.B=w;return G}()],null)},eVa=function(a){return void 0===a||null==a?"nil":a},xz=function(){return!0},yz=function(){return!1},zz=function(a){return Kf.B(-1,a.indexOf("*"))?ig(Dh(Dh(["^",l.j(a),"$"].join(""),".","\\."),"*","(.*)")):null},hVa=function(a,b){for(;;){if(h(function(){var w=new Pf(null,new f(null,2,["*",null,fVa,null],null),null);return w.j?w.j(a):w.call(null,a)}()))return xz;if(h(function(){var w=Rf([Ke,Qf,gVa]);return w.j?w.j(a):w.call(null,a)}()))return yz;if(a instanceof RegExp)return function(w){return function(A){return fg(w, -A)}}(a,b,xz,yz,zz);if("string"===typeof a){var c=zz(a);if(h(c)){var d=b;a=c;b=d}else return function(w){return function(A){return Fc.B(A,w)}}(a,b,c,xz,yz,zz)}else if(ad(a)||Wc(a)){if(h(function(){var w=Tf(a);return w.j?w.j("*"):w.call(null,"*")}()))return xz;if(Fc.B(Ec(a),1))c=t(a),d=b,a=c,b=d;else{var g=rd.G(function(w,A,D,G,Q){return function(U,aa){var ja=x.G(U,0,null);U=x.G(U,1,null);var ma=aa instanceof RegExp?aa:Q(aa);return h(ma)?new E(null,2,5,F,[ja,Gd.B(U,ma)],null):new E(null,2,5,F,[Gd.B(ja, -aa),U],null)}}(a,b,xz,yz,zz),new E(null,2,5,F,[Qf,Ke],null),a),k=x.G(g,0,null),m=x.G(g,1,null),q=de(k),v=function(){var w=de(m);return h(w)?(w=function(A,D,G,Q,U,aa,ja,ma,pa,ra,wa){return function(Ga){return NUa(function(){return function(Ca){return fg(Ca,Ga)}}(A,D,G,Q,U,aa,ja,ma,pa,ra,wa),G)}}(a,b,w,w,g,k,m,q,xz,yz,zz),h(b)?Ag(w):w):null}();if(h(function(){var w=q;return h(w)?v:w}()))return function(w,A,D,G,Q,U,aa){return function(ja){var ma=U.j?U.j(ja):U.call(null,ja);return h(ma)?ma:aa.j?aa.j(ja): -aa.call(null,ja)}}(a,b,g,k,m,q,v,xz,yz,zz);if(h(q))return q;if(h(v))return v;throw xh.B("[encore/cond!] No matching clause",C);}}else throw xh.B("[enc/compile-str-filter] Unexpected spec type",new f(null,1,[ita,new f(null,2,[Su,a,gi,hb(a)],null)],null));}},nVa=function(a){for(;;){if(Zc(a)){var b=y.B(a,iVa),c=function(){var m=y.B(a,ts);return h(m)?m:y.B(a,jVa)}(),d=function(){var m=y.B(a,Ms);return h(m)?m:y.B(a,kVa)}(),g=function(){var m=c;return h(m)?hVa(m,b):null}(),k=function(){var m=d;return h(m)? -hVa(m,b):null}();if(Fc.B(k,xz)||Fc.B(g,yz))return yz;if(h(function(){var m=g;return h(m)?k:m}()))return function(m,q,v,w,A,D){return function(G){G=l.j(G);return h(A.j?A.j(G):A.call(null,G))?h(D.j?D.j(G):D.call(null,G))?!1:!0:!1}}(a,b,c,d,g,k,xz,yz,zz,hVa);if(h(g))return Fc.B(g,xz)?xz:function(m,q,v,w,A){return function(D){D=l.j(D);D=A.j?A.j(D):A.call(null,D);return h(D)?!0:!1}}(a,b,c,d,g,k,xz,yz,zz,hVa);if(h(k))return Fc.B(k,yz)?xz:function(m,q,v,w,A,D){return function(G){G=l.j(G);G=D.j?D.j(G):D.call(null, -G);return h(G)?!1:!0}}(a,b,c,d,g,k,xz,yz,zz,hVa);throw xh.B("[encore/compile-str-filter] `allow-spec` and `deny-spec` cannot both be nil",new f(null,2,[lVa,c,mVa,d],null));}a=new f(null,2,[ts,a,Ms,null],null)}},pVa=function(a){for(var b=[],c=arguments.length,d=0;;)if(dc?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Ma(c,2));c=d.join("")}b.$h=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":", -c),c=d.join(""));a=AVa(a);b.ai=[c,c];b.Te={yl:a,gi:a};b.Pg=[];return b}b=new zVa;b.$h=a.id;b.uj=-a.std_offset;b.ai=a.names;b.Te=a.names_ext;b.Pg=a.transitions;return b},AVa=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Ma(Math.floor(a/60)%100,2),":",Ma(a%60,2));return b.join("")},CVa=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.Pg[c];)c+=2;return 0==c?0:a.Pg[c-1]},GVa=function(a){this.Hg= -[];this.Ob=DVa;"number"==typeof a?EVa(this,a):FVa(this,a)},HVa=function(a){return a.getHours?a.getHours():0},FVa=function(a,b){for(IVa&&(b=b.replace(/\u200f/g,""));b;){const c=b;for(let d=0;db)c=a.Ob.Sg[b];else if(8> -b)c=a.Ob.ii[b-4];else if(12>b)c=a.Ob.zj[b-8],c=c.replace("{1}",a.Ob.Sg[b-8]),c=c.replace("{0}",a.Ob.ii[b-8]);else if(12===b)c=a.Ob.Sg[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{EVa(a,10);return}FVa(a,c)},Ez=function(a,b){{b=String(b);const c=a.Ob||DVa;if(void 0!==c.Rj){a=[];for(let d=0;d=g?String.fromCharCode(c.Rj+g-48):b.charAt(d))}b=a.join("")}}return b},Fz=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields."); -},KVa=function(a,b){Fz(b);b=HVa(b);return a.Ob.yj[12<=b&&24>b?1:0]},LVa=function(a,b,c,d,g,k){var m=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==m&&(c%=100),Ez(a,Ma(c,m));case "Y":return c=(new Date(yVa(d.getFullYear(),d.getMonth(),d.getDate(),a.Ob.fi,a.Ob.ei))).getFullYear(),0>c&&(c=-c),2==m&&(c%=100),Ez(a,Ma(c,m));case "M":a:switch(c=d.getMonth(),m){case 5:m=a.Ob.Ej[c];break a;case 4:m=a.Ob.Dj[c]; -break a;case 3:m=a.Ob.Gj[c];break a;default:m=Ez(a,Ma(c+1,m))}return m;case "k":return Fz(g),Ez(a,Ma(HVa(g)||24,m));case "S":return Ez(a,(g.getMilliseconds()/1E3).toFixed(Math.min(3,m)).slice(2)+(3m?a.Ob.Hj[c]:a.Ob.Fj[c];case "d":return Ez(a,Ma(d.getDate(),m));case "m":return Fz(g),Ez(a,Ma(g.getMinutes?g.getMinutes():0,m));case "s":return Fz(g),Ez(a,Ma(g.getSeconds(),m));case "v":return m= -k||BVa(c.getTimezoneOffset()),m.$h;case "V":return a=k||BVa(c.getTimezoneOffset()),2>=m?a.$h:0m?a.ai[0m?(m=-b.getOffset(c),a=[0>m?"-":"+"],m=Math.abs(m),a.push(Ma(Math.floor(m/60)%100,2),Ma(m%60,2)),m=a.join("")):m=Ez(a,AVa(b.getOffset(c))),m;default:return""}},MVa=function(a){switch(a instanceof B?a.la:null){case "trace":return 0;case "debug":return 1;case "info":return 2;case "warn":return 3;case "error":return 4;case "fatal":return 5;case "report":return 6;default:return null}},OVa=function(a){if(h(MVa(a)))return a;throw xh.B("Invalid Timbre logging level: should be e/o #{:trace :debug :info :warn :error :fatal :report}", -new f(null,2,[NVa,a,gi,hb(a)],null));},Gz=function(a){var b=MVa(a);if(h(b))return b;throw xh.B("Invalid Timbre logging level: should be e/o #{:trace :debug :info :warn :error :fatal :report}",new f(null,2,[NVa,a,gi,hb(a)],null));},PVa=function(a,b){return(Gz.j?Gz.j(a):Gz.call(null,a))>=(Gz.j?Gz.j(b):Gz.call(null,b))},RVa=function(a,b){a=h(Oc.j?Oc.j(a):Oc.call(null,a))?a.j?a.j(b):a.call(null,b):QVa(a,b);return h(a)?!0:!1},TVa=function(a,b,c){b=ad(b)?SVa(b,c):b;a=h(b)?b:a;return OVa.j?OVa.j(a):OVa.call(null, -a)},UVa=function(a){if(h(a)){var b=Rf([Ke,Qf]);b=b.j?b.j(a):b.call(null,a);a=h(b)?null:a}else a=null;return a},VVa=function(a,b){a=UVa(a);b=UVa(b);return h(h(a)?a:b)?new f(null,2,[ts,a,Ms,b],null):null},aWa=function(a,b,c,d){var g=h(d)?d:WVa;d=function(){var k=y.B(g,XVa);k=h(k)?k:y.B(g,Bz);return TVa.G?TVa.G(a,k,c):TVa.call(null,a,k,c)}();return h(PVa.B?PVa.B(b,d):PVa.call(null,b,d))?(b=function(){var k=y.B(g,YVa);if(h(k))return k;k=y.B(g,ZVa);var m=y.B(g,$Va);return VVa.B?VVa.B(k,m):VVa.call(null, -k,m)}(),h(b)?h(RVa.B?RVa.B(b,c):RVa.call(null,b,c))?!0:!1:!0):!1},bWa=function(a){return null==a?"nil":"string"===typeof a?a:lm.J(H.B([a],0))},gWa=function(a){var b=ce(a),c=y.B(b,cWa),d=y.B(b,dWa);a=y.B(b,xVa);b=y.B(b,Hz);b=ce(b);b=y.G(b,eWa,bWa);if(Fc.B(null,c))return"";if(Fc.B(Iz,c))return d=ng.j(b),h(h(" ")?Kf.B(" ",""):" ")?(c=fi.j(" "),b=vz.B(fWa,l),a=h(d)?tz.G(Zj.B(d,c),b,a):tz.G(c,b,a)):a=h(d)?tz.G(d,vz.B(fWa,l),a):l.j(rd.B(fWa,a)),a;if(Fc.B(Pt,c)){if("string"===typeof d)return null==d?a="": -(a=h(eVa)?wh.B(eVa,a):a,a=qe.G(Lj,d,a)),a;throw xh.B("Timbre format-style logging call without a format pattern string",new f(null,3,[dWa,d,gi,hb(d),xVa,a],null));}throw Error(["No matching clause: ",l.j(c)].join(""));},iWa=function(a){var b=Md.B?Md.B(hWa,hWa):Md.call(null,hWa,hWa),c=Md.B?Md.B(Iz,Pt):Md.call(null,Iz,Pt),d=x.G(a,0,null);if(h(h(b)?d instanceof Error:b)){var g=d,k=null,m=RUa(a);a=h(c)?x.G(m,0,null):null;c=h(c)?RUa(m):m;return new E(null,4,5,F,[g,k,a,c],null)}k=h(function(){var v=Zc(d); -return v?Ra.j(Rc(d)):v}())?d:null;g=function(){var v=OMa.j(k);return h(v)?v:h(b)?null:hWa}();var q=ci.B(k,OMa);m=h(q)?RUa(a):a;a=h(c)?x.G(m,0,null):null;c=h(c)?RUa(m):m;return new E(null,4,5,F,[g,q,a,c],null)},mWa=function(a,b){return function(c){try{return b.j?b.j(c):b.call(null,c)}catch(v){var d=v,g=ce(c),k=y.B(g,Bz),m=y.B(g,jWa),q=y.B(g,kWa);g=y.B(g,lWa);throw xh.G(a,new f(null,4,[Bz,k,ov,c,Jz,[l.j(h(m)?m:h(q)?q:"?"),":",l.j(h(g)?g:"?")].join(""),Dz,b],null),d);}}},Nz=function(a,b,c,d,g){var k= -WVa;if(aWa(nWa,a,b,k)){var m=new Date;d=Bb(d);d=iWa(d);var q=x.G(d,0,null),v=x.G(d,1,null),w=x.G(d,2,null);d=x.G(d,3,null);c=Gd.B(h(null)?null:C,I([oWa,pWa,qWa,xVa,kWa,rWa,jWa,Bz,cWa,Cz,Dk,lWa,sWa,vVa,dWa],[m,null,k,d,null,function(){var ja=new Pf(null,new f(null,2,[tWa,null,Pu,null],null),null);return ja.j?ja.j(a):ja.call(null,a)}(),b,a,Iz,q,null,c,new tg(function(){return q},null),v,w]));c=rd.G(function(ja,ma){ja=ma.j?ma.j(ja):ma.call(null,ja);return null==ja?zc(null):ja},c,y.B(k,uWa));if(h(c)){m= -ce(c);var A=y.B(m,xVa),D=Lf.G(c,vWa,new tg(function(){return A},null)),G=Kz.J(D,wVa,new tg(function(){return mWa("Timbre error when calling (msg-fn \x3cdata\x3e)",gWa)(D)},null),H.B([wWa,new tg(function(){return mc(function(){var ja=y.B(v,Hl);if(h(ja))return new E(null,3,5,F,[ja,g,a],null);ja=y.B(v,xWa);if(h(ja))return ja;ja=y.B(v,xHa);return h(ja)?new E(null,4,5,F,[ja,g,w,a],null):new E(null,4,5,F,[A,g,w,a],null)}())},null)],0)),Q=function(){var ja=Ag(function(pa){return new tg(function(){var ra= -y.B(G,oWa),wa=ce(pa);wa=y.B(wa,Lz);return h(Md.B?Md.B(wa,yWa):Md.call(null,wa,yWa))?(new Date(ra)).toISOString():(new GVa(wa)).format(ra)},null)}),ma=new tg(function(){return Gd.B(zWa,y.B(k,AWa))},null);return function(pa){var ra=(ra=null==pa)?ra:Md.B?Md.B(pa,BWa):Md.call(null,pa,BWa);return h(ra)?ja(Bb(ma)):ja(Gd.B(Bb(ma),pa))}}(),U=function(){var ja=Ag(y.G(k,Dz,Mz));return function(ma){var pa=(pa=null==ma)?pa:Md.B?Md.B(ma,BWa):Md.call(null,ma,BWa);return mWa("Timbre error when calling (output-fn \x3cdata\x3e)", -h(pa)?ja:ma)}}(),aa=y.B(k,Hz);ud(function(ja,ma,pa){if(h(function(){var va=y.B(pa,qVa);return h(va)?aWa(ku,a,b,pa):va}())){var ra=y.B(pa,CWa);if(function(){var va=Uc(ra);if(va)return va;va=DWa(ma,ra);var ka=ug(y.B(G,wWa));va=va.j?va.j(ka):va.call(null,ka);return cb(va)}()){var wa=ce(pa);ja=y.B(wa,qj);y.B(wa,EWa);var Ga=Q(y.B(pa,AWa)),Ca=U(y.B(pa,Dz)),ca=function(){var va=y.B(pa,Hz);return h(va)?va:aa}(),Z=Gd.B(G,new f(null,6,[FWa,ma,GWa,pa,Hz,ca,Dz,Ca,rVa,new tg(function(){var va=Lf.J(G,HWa,Ga,H.B([Hz, -ca],0));return Ca.j?Ca.j(va):Ca.call(null,va)},null),HWa,Ga],null));wa=function(){var va=y.B(pa,IWa);return h(va)?va.j?va.j(Z):va.call(null,Z):Z}();return h(wa)?ja.j?ja.j(wa):ja.call(null,wa):null}}return null},null,y.B(k,JWa))}}return null},Oz=function(a){return function(b){return fd(b)&&Fc.B(t.j?t.j(b):t.call(null,b),a)}},KWa=function(a){var b=fd(a);return b?(b=Pz(t.j?t.j(a):t.call(null,a)),h(b)?Fc.B(Qz,Ic(t.j?t.j(a):t.call(null,a))):b):b},LWa=function(a,b){var c=b instanceof n?function(d){return new z(null, -b,new z(null,d,null,1,null),2,null)}:b;return function(d){if(sy(d)){var g=a.j?a.j(d):a.call(null,d);return ny(d)?ny(g)?g:c.j?c.j(d):c.call(null,d):g}return c.j?c.j(d):c.call(null,d)}},MWa=function(a,b,c,d){return sy(a)&&sy(b)?c.B?c.B(a,b):c.call(null,a,b):Fc.B(a,b)?0:hy(a)?0:iy(b)?a:new z(null,d,new z(null,a,new z(null,b,null,1,null),2,null),3,null)},Tz=function(a,b){return sy(a)&&sy(b)?Rz.B(a,b):sy(a)?hy(a)?b:h(Sz(b))?Nj.j(r(R.J(new z(null,Tk,null,1,null),new z(null,a,null,1,null),H.B([sc.j?sc.j(b): -sc.call(null,b)],0)))):Nj.j(r(R.J(new z(null,Tk,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0)))):sy(b)?hy(b)?a:h(Sz(a))?Nj.j(r(R.J(new z(null,Tk,null,1,null),sc.j?sc.j(a):sc.call(null,a),H.B([new z(null,b,null,1,null)],0)))):Nj.j(r(R.J(new z(null,Tk,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0)))):h(Sz(a))?h(Sz(b))?Nj.j(r(R.J(new z(null,Tk,null,1,null),sc.j?sc.j(a):sc.call(null,a),H.B([sc.j?sc.j(b):sc.call(null,b)],0)))):Nj.j(r(R.J(new z(null, -Tk,null,1,null),sc.j?sc.j(a):sc.call(null,a),H.B([new z(null,b,null,1,null)],0)))):h(Sz(b))?Nj.j(r(R.J(new z(null,Tk,null,1,null),new z(null,a,null,1,null),H.B([sc.j?sc.j(b):sc.call(null,b)],0)))):Nj.j(r(R.J(new z(null,Tk,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0))))},NWa=function(a,b){return sy(a)&&sy(b)?Gy.B(a,b):sy(a)?hy(a)?Nj.j(r(R.B(new z(null,Qk,null,1,null),new z(null,b,null,1,null)))):Nj.j(r(R.J(new z(null,Qk,null,1,null),new z(null,a,null,1,null),H.B([new z(null, -b,null,1,null)],0)))):sy(b)?hy(b)?a:Nj.j(r(R.J(new z(null,Qk,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0)))):Fc.B(a,b)?0:Nj.j(r(R.J(new z(null,Qk,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0))))},OWa=function(a){return NWa(0,a)},Wz=function(a,b){return sy(a)&&sy(b)?Dy.B(a,b):sy(a)?hy(a)?a:iy(a)?b:h(Uz(b))?Nj.j(r(R.J(new z(null,Vz,null,1,null),new z(null,a,null,1,null),H.B([sc.j?sc.j(b):sc.call(null,b)],0)))):Nj.j(r(R.J(new z(null,Vz,null,1, -null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0)))):sy(b)?hy(b)?b:iy(b)?a:h(Uz(a))?Nj.j(r(R.J(new z(null,Vz,null,1,null),sc.j?sc.j(a):sc.call(null,a),H.B([new z(null,b,null,1,null)],0)))):Nj.j(r(R.J(new z(null,Vz,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0)))):h(Uz(a))?h(Uz(b))?Nj.j(r(R.J(new z(null,Vz,null,1,null),sc.j?sc.j(a):sc.call(null,a),H.B([sc.j?sc.j(b):sc.call(null,b)],0)))):Nj.j(r(R.J(new z(null,Vz,null,1,null),sc.j?sc.j(a):sc.call(null,a), -H.B([new z(null,b,null,1,null)],0)))):h(Uz(b))?Nj.j(r(R.J(new z(null,Vz,null,1,null),new z(null,a,null,1,null),H.B([sc.j?sc.j(b):sc.call(null,b)],0)))):Nj.j(r(R.J(new z(null,Vz,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0))))},Xz=function(a,b){return sy(a)&&sy(b)?Iy.B(a,b):sy(a)?hy(a)?a:Nj.j(r(R.J(new z(null,wi,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0)))):sy(b)?hy(b)?ww("division by zero"):iy(b)?a:Nj.j(r(R.J(new z(null,wi,null,1,null),new z(null, -a,null,1,null),H.B([new z(null,b,null,1,null)],0)))):Nj.j(r(R.J(new z(null,wi,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0))))},PWa=function(a){return Xz(1,a)},SWa=function(a){return sy(a)?ny(a)?hy(a)?0:new z(null,Yz,new z(null,a,null,1,null),2,null):Ay(a/Zz)?0:Ay(1/(a-QWa-RWa))?1:Ay((a+QWa)/RWa)?-1:Math.sin(a):a instanceof n?h($z.j?$z.j(a):$z.call(null,a))?0:h(aA.j?aA.j(a):aA.call(null,a))?1:h(bA.j?bA.j(a):bA.call(null,a))?-1:new z(null,Yz,new z(null,a,null,1,null),2, -null):new z(null,Yz,new z(null,a,null,1,null),2,null)},TWa=function(a){return sy(a)?ny(a)?hy(a)?1:new z(null,cA,new z(null,a,null,1,null),2,null):Ay((a-QWa)/Zz)?0:Ay(a/RWa)?1:Ay((a-Zz)/RWa)?-1:Math.cos(a):a instanceof n?h(dA.j?dA.j(a):dA.call(null,a))?0:h(eA.j?eA.j(a):eA.call(null,a))?1:h(fA.j?fA.j(a):fA.call(null,a))?-1:new z(null,cA,new z(null,a,null,1,null),2,null):new z(null,cA,new z(null,a,null,1,null),2,null)},UWa=function(a){return sy(a)?ny(a)?hy(a)?1:new z(null,gA,new z(null,a,null,1,null), -2,null):hA.j(a):new z(null,gA,new z(null,a,null,1,null),2,null)},VWa=function(a){return sy(a)?ny(a)?hy(a)?0:new z(null,iA,new z(null,a,null,1,null),2,null):jA.j(a):new z(null,iA,new z(null,a,null,1,null),2,null)},mA=function(a){return sy(a)?kA.j(a):Wz(Iy.B(1,2),Tz(a,lA(a)))},WWa=function(a){return sy(a)?nA.j(a):Wz(Iy.B(1,2),Wz(bz.B(0,-1),NWa(a,lA(a))))},XWa=function(a,b){return sy(a)&&sy(b)?oA.B(a,b):ry(a)?Wz(a,mA(b)):ry(b)?Wz(mA(a),b):Tz(Wz(mA(a),mA(b)),Wz(WWa(a),WWa(b)))},ZWa=function(a){if(h(YWa(a)))return a= -t(sc.j?sc.j(a):sc.call(null,a)),new z(null,pA(Qz,2),new z(null,a,null,1,null),2,null);if(h(KWa(a))){var b=x.B(t.j?t.j(a):t.call(null,a),2);a=t(sc.j?sc.j(a):sc.call(null,a));return new z(null,pA(Qz,b+1),new z(null,a,null,1,null),2,null)}return new z(null,Qz,new z(null,a,null,1,null),2,null)},$Wa=function(a,b){return!0===a?b:!1===a?a:!0===b?a:!1===b?b:Fc.B(a,b)?b:new z(null,jt,new z(null,a,new z(null,b,null,1,null),2,null),3,null)},aXa=function(a,b){var c=sy(a),d=sy(b);return c&&d?ez.B(a,b):c||d?!1: -Fc.B(a,b)?!0:new z(null,Rk,new z(null,a,new z(null,b,null,1,null),2,null),3,null)},bXa=function(a){return sy(a)?iy(a):new z(null,Rk,new z(null,1,new z(null,a,null,1,null),2,null),3,null)},qA=function(a){return cXa.j?cXa.j(a):cXa.call(null,a)},dXa=function(a){return function(b,c){return h(a.j?a.j(b):a.call(null,b))?h(a.j?a.j(c):a.call(null,c))?od(b,c):-1:h(a.j?a.j(c):a.call(null,c))?1:od(b,c)}},eXa=function(){},rA=function(a,b,c){if(null!=a&&null!=a.zg)a=a.zg(a,b,c);else{var d=rA[ba(null==a?null:a)]; -if(null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else if(d=rA._,null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else throw jb("ICanonicalize.-\x3eexpression",a);}return a},sA=function(a,b){if(null!=a&&null!=a.If)a=a.If(a,b);else{var c=sA[ba(null==a?null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=sA._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw jb("ICanonicalize.known-operation?",a);}return a},gXa=function(a){return fXa.j(a)},tA=function(a){return hXa.j(a)},jXa=function(a){return iXa.j(a)}, -lXa=function(a){return kXa.j(a)},nXa=function(a){return mXa.j(a)},vA=function(a,b){a=r(Ae.B(a,b));b=null;for(var c=0,d=0;;)if(dm?d+=1:(c+=1,d+=1,g=Je.B(g,k))}},rXa=function(a,b){return Oa(r(qXa(a,new E(null,1,5,F,[b],null))))},sXa=function(a,b){if(Uc(a))return new E(null,1,5,F,[b],null);if(bSc(a))return Gd.B(a,b);for(var c=yd(0),d=Vb(Ke);;){var g=x.G(a,c,null);if(cb(g))return Xb(Je.B(d,b));if(bSc(a))return a;for(var c=yd(0),d=Vb(Ke);;){var g=x.G(a,c,null);if(cb(g)||bwa?(ma+=1,pa=Je.B(pa,wa)):(ja+=1,ma+=1,pa=Je.B(pa,ra))}}w=G.call(D,q,U.call(Q,aa,GA.B(k,w)));v+=1;q=w}else v+=1}}d=zXa(q,g(d+1))}return d}(0)},HA=function(a){this.Za=a;this.ha=2149580800;this.ja= -2048},BXa=function(a){return new HA(a)},IA=function(a){return a instanceof HA},JA=function(a){return IA(a)?a.Za:ad(a)?a:hy(a)?Ke:new E(null,1,5,F,[FA.j(a)],null)},KA=function(a){return Uc(a)?0:Fc.B(Ec(a),1)&&Uc(BA(x.B(a,0)))?CA(x.B(a,0)):BXa(a)},LA=function(a){return KA(xXa(a))},CXa=function(a,b){return BXa(yXa(a,b.Za))},NA=function(a,b,c){var d=MA;MA=Gd.B(MA,a);try{return qe.B(b,c)}finally{MA=d}},DXa=function(a){return Oa(oe(Rf([a]),Lb(MA)))},OA=function(a,b,c){return KA(zXa(JA(a),AXa(JA(b),JA(c))))}, -PA=function(a){if(IA(a)){a=x.G(a.Za,0,null);var b=BA(a);return Uc(b)?CA(a):0}return a},RA=function(a){var b=QA.j(a);a=x.G(b,0,null);b=x.G(b,1,null);return iy(a)&&hy(b)},EXa=function(a,b){return xy(JA(a),JA(b))},SA=function(a,b){return xy(PA(a),PA(b))},FXa=function(a,b,c,d){var g=TA.B(a,b),k=UA.G(a,c,d);return function(){function m(){return a.ca?a.ca():a.call(null)}var q=null,v=function(){function w(D,G,Q){var U=null;if(2g?uB(m,b):ww([l.j(a)," is not invertible mod ",l.j(b)].join(""))},bYa=function(a,b,c){return VXa(Number(tB.B(yB.B(BigInt(a),BigInt(b)),c)),c)},cYa=function(a){return ud(function(b,c,d){return 0===d?b:Lf.G(b,c,d)},zB,a)},dYa=function(a, -b){return ud(function(c,d,g){return d>b?Lf.G(c,d-1,g):Lf.G(c,d,g)},zB,ci.B(a,b))},eYa=function(a,b,c){a=ud(function(d,g,k){return g>=b?Lf.G(d,g+1,k):Lf.G(d,g,k)},zB,a);return 0===c?a:Lf.G(a,b,c)},fYa=function(a){return qe.B(Jn,Jf(a))},AB=function(a,b){return a.B?a.B(b,0):a.call(null,b,0)},gYa=function(a){var b=Ki.j(Ec(a)),c=jf.B(Ke,Ru.B(a,Hf(a)));return new E(null,2,5,F,[function(d){return jf.G(zB,Fe.j(function(g){var k=c.j?c.j(g):c.call(null,g);k=d.j?d.j(k):d.call(null,k);return h(k)?new E(null, -1,5,F,[new E(null,2,5,F,[g,k],null)],null):null}),b)},function(d){return jf.G(zB,Fe.j(function(g){var k=d.j?d.j(g):d.call(null,g);return h(k)?new E(null,1,5,F,[new E(null,2,5,F,[c.j?c.j(g):c.call(null,g),k],null)],null):null}),b)}],null)},iYa=function(a){for(var b=[],c=arguments.length,d=0;;)if(dm?1:-1}},kYa=function(a,b){var c=fYa(a),d=fYa(b);return Fc.B(c,d)?iYa(a,b):c-d},BB=function(a){return x.G(a,0,zB)},CB=function(a){return x.G(a,1,0)},lYa=function(a){var b=BB(a);a=CB(a);return[lm.J(H.B([a],0)),"*",lm.J(H.B([b],0))].join("")},mYa=function(a){return hy(a)? -Ke:new E(null,1,5,F,[DB.B(zB,a)],null)},nYa=function(a){var b=Zj.B(iu.j(function(c,d){if(hy(d))return null;c=0===c?zB:EB.B?EB.B(0,c):EB.call(null,0,c);return new E(null,1,5,F,[DB.B(c,d)],null)}),vg);return jf.G(Ke,b,a)},oYa=function(a){return Uc(a)?Ke:jf.B(Ke,Ru.G(BB,kYa,function(){return function d(c){return new Sd(null,function(){for(var g=c;;)if(g=r(g)){if(bd(g)){var k=ac(g),m=Ec(k),q=Ud(m);a:for(var v=0;;)if(v=a?qe.B(NB,b):tz.G(ng.j(pw),GA,b)},OYa=function(a,b){a=Ki.G(a,0,-b);return tz.G(ng.j(pw),GA,a)},PYa=function(a){if(0===a)return 1;a=Iy.B(OB(a),Math.E);return Hy.j(Rz.B(.5,a))},QYa=function(a,b){var c=yg.j(null);ue(c,Ag(function(g,k){if(Fc.B(k,1)||Fc.B(g,k))return 1;var m=g-1;g=function(){var v=Bb(c);v=v.B?v.B(m,k):v.call(null,m,k);v=BigInt(v);return GA.B?GA.B(k,v):GA.call(null, -k,v)}();var q=function(){var v=k-1,w=Bb(c);return w.B?w.B(m,v):w.call(null,m,v)}();return EA.B?EA.B(g,q):EA.call(null,g,q)}));if(0===b)return 0===a?1:0;if(b>a)return 0;var d=Bb(c);return d.B?d.B(a,b):d.call(null,a,b)},RYa=function(a){var b=ng.j(function(d){return QYa(a,d)}),c=Ki.j(a+1);return tz.G(b,EA,c)},PB=function(a){return R.B(new Sd(null,function(){return a},null,null),new Sd(null,function(){return el.j(ky(t(a)))},null,null))},SYa=function(a,b){return ng.G(EA,a,b)},TYa=function(a,b){return new Sd(null, -function(){return Jd(EA.B(a,t(b)),sc(b))},null,null)},UYa=function(a,b){return new Sd(null,function(){return Jd(EA.B(t(a),b),sc(a))},null,null)},VYa=function(a,b){return ng.G(xB,a,b)},WYa=function(a,b){return new Sd(null,function(){return Jd(xB.B(t(a),b),sc(a))},null,null)},XYa=function(a,b){return new Sd(null,function(){return Jd(xB.B(a,t(b)),ng.B(Fy,sc(b)))},null,null)},YYa=function(a,b){return ng.B(function(c){return Dy.B(c,b)},a)},QB=function(a,b){return ng.B(function(c){return Dy.B(a,c)},b)}, -ZYa=function(a,b){return ng.B(function(c){return FB.B(c,b)},a)},SB=function(a,b){return function g(d){return new Sd(null,function(){var k=r(d),m=t(k);k=u(k);var q=sc(b);k=RB(q,g(k));return Jd(m,k)},null,null)}(a)},$Ya=function(a){return function d(c){return new Sd(null,function(){var g=sc(c),k=d(c);return Jd(0,TB(SB(g,k)))},null,null)}(a)},UB=function(a,b){return Jd(b,ng.G(Iy,a,Ee(xc,1)))},aZa=function(a,b){function c(d,g){for(var k=PB(new E(null,1,5,F,[1],null));;){var m=pe(g);g=zd(g,2);if(m)d=RB(d, -d);else{if(0===g)return RB(d,k);k=RB(d,k);d=RB(d,d)}}}return 0=b)return a;var c=ky(t(a));b=el.B(b-1,c);b=qe.B(R,ng.G(Jd,a,el.j(b)));c=Rc(a);a=$B(a)?YB:WB;return a.B?a.B(b, -c):a.call(null,b,c)},eC=function(a){var b=Fx.B(EA,a),c=Rc(a);a=$B(a)?YB:WB;return a.B?a.B(b,c):a.call(null,b,c)},fC=function(a,b){return tz.G(Ae.j(b+1),EA,a)},hZa=function(a,b){return YB(SB(r(a),r(b)),null)},iZa=function(a){return YB($Ya(r(a)),Rc(a))},gC=function(a){a:{var b=Vb(new E(null,1,5,F,[1],null));for(var c=1,d=1;;){if(0===a)break a;c=c*a/d;b=Je.B(b,c);--a;d+=1}}b=Xb(b);return YB(PB(b),null)},jZa=function(a){return Xc(a)&&2=Ec(a))?(c=Sc(a),(a=Uc(BB(c)))?ez.B(b,CB(c)):a):c},fF=function(a){return VE(a)?ng.B(CB,cF(a)):hy(a)?Ke:new E(null,1,5,F, -[a],null)},gF=function(a){a=Sc(cF(a));return h(a)?a:new E(null,2,5,F,[zB,0],null)},hF=function(a){return VE(a)?CB(Sc(a.Za)):a},$0a=function(a){return VE(a)?BB(Sc(a.Za)):zB},a1a=function(a){for(;;)if(VE(a))a=hF(a);else return a},b1a=function(a){return VE(a)?CB(x.G(a.Za,0,Ke)):a},c1a=function(a){return VE(a)?fYa(BB(x.B(a.Za,0))):hy(a)?-1:0},d1a=function(a){return!VE(a)||Fc.B(1,Ec(a.Za))},e1a=function(a){return VE(a)?Fc.B(1,bF(a))&&iy(hF(a)):iy(a)},f1a=function(a){return VE(a)&&Fc.B(a.arity,1)},g1a= -function(a){return VE(a)&&1b)a=uw(["No inverse -- FPF:EXPT:",l.j(a),l.j(b)].join(""));else{if(!iy(a))if(hy(a))a=hy(b)?ww("poly 0^0"):a;else a:for(var c=1;;){if(0===b){a=c;break a}if(pe(b))a=pF(a,a),b=zd(b,2);else{var d=a;--b;c=pF(a,c);a=d}}}else a=uw(["Can only raise an FPF to an exact integer power: ",l.j(a),l.j(b)].join(""));else a=yB.B(a,b);return a},tF=function(a,b){return hy(b)?uw("internal polynomial division by zero"): -hy(a)||iy(b)?new E(null,2,5,F,[a,0],null):m1a(a,b,function(c,d){return new E(null,2,5,F,[wB.B(c,d),iz.B(c,d)],null)},uYa,H.B([o1a,function(c,d){var g=x.G(d,0,null);d=x.G(d,1,null);return new E(null,2,5,F,[WE(c,g),WE(c,d)],null)}],0))},p1a=function(a,b){a=tF(a,b);x.G(a,0,null);a=x.G(a,1,null);return hy(a)},uF=function(a,b){if(iy(b))return a;var c=tF(a,b),d=x.G(c,0,null);c=x.G(c,1,null);hy(c)||vw(["expected even division left a remainder! ",l.j(a)," / ",l.j(b)," r ",l.j(c)].join(""));return d},q1a= -function(a){return qy(a)?BigInt(a):a},r1a=function(a,b){var c=gF(b),d=x.G(c,0,null);c=x.G(c,1,null);c=q1a(c);d=fYa(d);for(var g=0;;){var k=vF.j(a),m=hF(a);m=q1a(m);if(k -b)return a;var c=a.arity;return b>c?UE(b+1,a.Za,Rc(a)):wF.G(function(d){return eYa(d,b,0)},a,c+1)},xF=function(a){function b(d){return aF.B(c-1,function(){return function m(k){return new Sd(null,function(){for(;;){var q=r(k);if(q){if(bd(q)){var v=ac(q),w=Ec(v),A=Ud(w);a:for(var D=0;;)if(Da}return a},X1a=function(a){if(h(W1a())){var b= -Lj("Timed out: %s after %s",a,F1a(IF));Nz(gx,"emmy.polynomial.gcd",108,new tg(function(){return new E(null,1,5,F,[b],null)},null),-534290663);QOa(b)}},Y1a=function(a,b){var c=JF,d=IF,g=N1a();JF=a;IF=g;try{return b.ca?b.ca():b.call(null)}finally{IF=d,JF=c}},Z1a=function(a,b,c){if(h(!0)){var d=new E(null,2,5,F,[b,c],null);var g=Bb(O1a);d=g.j?g.j(d):g.call(null,d)}else d=!0;if(h(d))return zg.B(P1a,xc),d;a=a.B?a.B(b,c):a.call(null,b,c);h(!0)&&(zg.B(Q1a,xc),zg.da(O1a,Lf,new E(null,2,5,F,[b,c],null),a)); -return a},$1a=function(a,b,c){if(g1a(a)||g1a(b)){var d=jf.B(VE(a)?a.Za:Ke,VE(b)?b.Za:Ke);d=1>=Ec(d)?new E(null,2,5,F,[vd,vd],null):gYa(tz.G(ng.j(BB),KF,d));var g=x.G(d,0,null);d=x.G(d,1,null);var k=wF.B;a=wF.B(g,a);b=wF.B(g,b);c=c.B?c.B(a,b):c.call(null,a,b);return k.call(wF,d,c)}return c.B?c.B(a,b):c.call(null,a,b)},MF=function(a,b){var c=fF(a);if(Fc.B(1,Ec(c))){var d=t(c);a=jF(function(){return 1},a)}else d=qe.B(b,c),a=iy(d)?a:jF(function(g){return LF.B(g,d)},a);return new E(null,2,5,F,[d,a],null)}, -a2a=function(a){return function(b,c,d){var g=MF(b,a);b=x.G(g,0,null);g=x.G(g,1,null);var k=MF(c,a);c=x.G(k,0,null);k=x.G(k,1,null);b=a.B?a.B(b,c):a.call(null,b,c);d=d.B?d.B(g,k):d.call(null,g,k);d=VE(d)?d:ZE.B(1,d);return k1a(b,d)}},b2a=function(){var a=NF;return function(b,c,d){var g=rd.B(jf,ng.B(Zj.B(mw,BB),b.Za)),k=rd.B(jf,ng.B(Zj.B(mw,BB),c.Za));return Uc(QD.B(g,k))?(zg.B(R1a,xc),qe.B(a,R.B(fF(b),fF(c)))):d.B?d.B(b,c):d.call(null,b,c)}},c2a=function(a,b){return qe.G(NF,b,fF(a))},OF=function(a, -b){return hy(a)?hz.j(b):hy(b)?hz.j(a):VE(a)?VE(b)?Fc.B(a,b)?nF(a):null:c2a(a,b):VE(b)?c2a(b,a):NF(a,b)},d2a=function(a,b){var c=x.B(a.Za,0),d=x.G(c,0,null);c=x.G(c,1,null);d=tz.da(ng.j(BB),PF,d,b.Za);b=c2a(b,c);zg.B(S1a,xc);return WE(a.arity,new E(null,1,5,F,[DB.B(d,b)],null))},e2a=function(a){return function(b,c){for(;;){X1a("euclid inner loop");var d=OF(b,c);if(h(d))return d;b=r1a(b,c);d=x.G(b,0,null);x.G(b,1,null);if(hy(d))return hz.j(c);b=MF(d,a);x.G(b,0,null);d=x.G(b,1,null);b=c;c=d}}},f2a=function(a, -b){return QF.G(new E(null,2,5,F,[a,b],null),a2a(NF),e2a(NF))},g2a=function(a,b){return QF.J(new E(null,2,5,F,[a,b],null),b2a(),$1a,H.B([RF],0))},h2a=function(a,b){var c=OF(a,b);return h(c)?c:Y1a(JF,function(){return g2a(a,b)})},i2a=function(a,b){if(VE(a)||VE(b)){var c=h2a(a,b);return nF(pF(uF(a,c),b))}return SF.B(a,b)},j2a=function(a){return VE(a)?tz.G(TF.j(iy),UF,CF(a)):1},k2a=function(a){for(var b=0,c=a,d=Ke,g=a,k=1;;){if(iy(b))return b=Sc(d),sy(b)?jf.B(new E(null,1,5,F,[b],null),Hh.B(Gd.B(Tc(d), -1),1)):jf.B(new E(null,1,5,F,[c],null),Hh.B(d,1));a=j2a(c);b=uF(c,UF.B?UF.B(c,a):UF.call(null,c,a));a=UF.B?UF.B(a,b):UF.call(null,a,b);g=uF(g,b);k=UF.B?UF.B(g,k):UF.call(null,g,k);var m=uF(b,a);g=a;c=uF(c,pF(a,b));d=Gd.J(d,k,H.B([m],0));k=b;b=g;g=k;k=a}},l2a=function(a){var b=qA(QC);return Jd(Vz,iu.B(function(c,d){return 0===c?d:b.B?b.B(d,c):b.call(null,d,c)},a))},VF=function(a,b){this.ul=a;this.Qk=b;this.ha=393216;this.ja=0},m2a=function(a,b){return new VF(a,b)},o2a=function(a){for(var b=function(){var D= -t(sc.j?sc.j(a):sc.call(null,a));return WF.j?WF.j(D):WF.call(null,D)}(),c=qA(QC),d=qA(Vz),g=qA(SC),k=h(Uz(b))?sc.j?sc.j(b):sc.call(null,b):new E(null,1,5,F,[b],null),m=b=1;;){if(Uc(k))return Fc.B(m,1)||RC.B(Nj.j(r(R.B(new z(null,FD,null,1,null),new z(null,m,null,1,null)))),n2a),g=g.j?g.j(b):g.call(null,b),b=m,d.B?d.B(g,b):d.call(null,g,b);var q=r(k);k=t(q);q=u(q);if(h(Pz(k))){var v=sc.j?sc.j(k):sc.call(null,k),w=x.G(v,0,null),A=x.G(v,1,null);id(A)&&pe(A)?(k=q,m=q=function(){var D=zd(A,2);if(1b?new E(null,3,5,F,[d,c,-b],null):new E(null,3,5,F,[c,d,b],null);b=x.G(d,0,null);c=x.G(d,1,null);d=x.G(d,2,null);return YF(a.arity,sF(b,d),sF(c,d),Rc(a))}return sF(a,b)},Y2a=function(a){if(ZF(a)){var b=a.Zb,c=a.v;return hy(b)?ww("Can't form rational function with zero denominator."):h(Jy.j(b))?YF(a.arity,Fy.j(c),Fy.j(b),Rc(a)):YF(a.arity,c,b,Rc(a))}return Ey.j(a)},dG=function(a,b){return U2a(a,Y2a(b))},Z2a=function(a,b){return M2a(a,b,aG,Q2a)},eG=function(a,b){return ZF(a)? -Iy.B(yF(a.Zb,b),yF(a.v,b)):yF(a,b)},$2a=function(a,b){return ZF(a)?dG(zF(a.Zb,b),zF(a.v,b)):zF(a,b)},a3a=function(a,b){return ZF(a)?dG(AF(a.Zb,b),AF(a.v,b)):AF(a,b)},fG=function(a,b){if(ZF(a)){var c=a.Zb;a=a.v;return dG(oF(pF(BF(c,b),a),pF(c,BF(a,b))),qF(a))}return BF(a,b)},b3a=function(a){return ZF(a)?function d(c){return new Sd(null,function(){for(;;){var g=r(c);if(g){if(bd(g)){var k=ac(g),m=Ec(k),q=Ud(m);a:for(var v=0;;)if(vb)return a;if(Fc.B(b,2)){var c=x.G(a,0,null);b=x.G(c,0,null);c=x.G(c,1,null);var d=x.G(a,1,null),g=x.G(d,0,null);d=x.G(d,1,null);return BG(2,2,new E(null,2,5,F,[new E(null,2,5,F,[d,Fy.j(g)],null),new E(null,2,5,F,[Fy.j(c),b],null)],null))}return HG.G(b,b,function(k,m){var q=eH(cH(a,k,m));return pe(k+m)?q:Fy.j(q)})},k4a=function(a, -b,c,d,g){var k=dH(a,b,c,g);return function(m){var q=DG(m);if(Fc.B(q,1))return BG(1,1,new E(null,1,5,F,[new E(null,1,5,F,[function(){var A=Ij.B(m,new E(null,2,5,F,[0,0],null));return d.j?d.j(A):d.call(null,A)}()],null)],null));var v=k(m),w=b.j?b.j(v):b.call(null,v);return HG.G(q,q,function(A,D){var G=pe(A+D)?v:w;A=k(cH(m,D,A));return d.B?d.B(A,G):d.call(null,A,G)})}},gH=function(a,b){var c=LE(b),d=LE(RE(c,a));return RE(fH.G(c,a,d),b)},l4a=function(a,b){var c=LE(a),d=LE(RE(b,c));return RE(a,fH.G(d, -b,c))},m4a=function(a,b){return gH(b,a)},hH=function(a){return HG.G(a,a,u0a)},iH=function(a){return FG(a)?Q3a(function(b,c,d){return Fc.B(c,d)?ly(b):ky(b)},a):uw("identity-like on non-square")},jH=function(a){var b=FG(a);if(b){var c=DG(a);return ne(dd,function(){return function k(g){return new Sd(null,function(){for(var m=g;;){var q=r(m);if(q){var v=q,w=t(v);if(q=r(function(A,D,G,Q,U,aa){return function pa(ma){return new Sd(null,function(ra,wa){return function(){for(;;){var Ga=r(ma);if(Ga){if(bd(Ga)){var Ca= -ac(Ga),ca=Ec(Ca),Z=Ud(ca);a:for(var va=0;;)if(va=k?v:v+1)};return b(a,0)},G5a=function(a,b){var c=td(b);return ng.B(function(d){return y.B(c,d)},a)},J5a=function(a,b){var c=new p(function(){return rJ},H5a,I([Cm,K,X,N,T,sk,P,O,S,V,W,Y],[!0,ml,I5a,"cljs/core.cljs",16,new f(null,6,[vk,!1,wk,3,xk,3,yk,new E(null,2,5,F,[new E(null,2,5,F,[sJ,HE],null),new E(null,3,5,F,[sJ,HE,tJ],null)],null),V,M(new E(null,2,5,F,[sJ,HE],null),new E(null,3,5,F,[sJ,HE,tJ],null)),zk,M(null,null)],null),1,1544,1544,M(new E(null, -2,5,F,[sJ,HE],null),new E(null,3,5,F,[sJ,HE,tJ],null)),null,h(rJ)?rJ.K:null]));return c.B?c.B(a,b):c.call(null,a,b)},K5a=function(a,b,c){function d(w){return G5a(v,w)}function g(w){return G5a(q,w)}var k=Ec(a),m=ng.G(Mo,a,Ki.j(k));b=Ru.G(t,rga(b),m);m=wh.B(t,b);var q=wh.B(Ic,b),v=ng.B(function(w){return J5a(q,w)},Ki.j(k));return c.da?c.da(a,m,g,d):c.call(null,a,m,g,d)},L5a=function(a,b){return ud(function(c,d,g){return Lf.G(c,d,y.B(b,g))},b,a)},M5a=function(a){return OB(a)},N5a=function(a,b){return uJ(a, -b)},O5a=function(a,b){if(0===b)return 1;a=vJ.B(a,b);b=OB(b);return FB.B?FB.B(a,b):FB.call(null,a,b)},wJ=function(a,b,c,d,g,k,m,q,v,w){this.step=a;this.a=b;this.Zh=c;this.o=d;this.Kg=g;this.n=k;this.as=m;this.Jh=q;this.c=v;this.Tk=w;this.ha=393216;this.ja=131072},P5a=function(a,b,c,d,g,k,m,q,v,w){return new wJ(a,b,c,d,g,k,m,q,v,w)},T5a=function(a){function b(v){return jf.B(Ke,v)}var c=Ec(a),d=Th.j(a),g=xJ.B(c,el.j(0)),k=xJ.B(c,el.j(1)),m=yg.j(b(d)),q=yg.j(!0);a=new wJ(function(v,w){for(;;){var A=g[v]+ -k[v]|0;if(0>A)k[v]=-k[v]|0,A=w,--v,w=A;else if(Fc.B(A,v+1)){if(0===v)return!1;k[v]=-k[v]|0;A=w+1;--v;w=A}else{var D=w+(v-g[v]);w+=v-A;var G=d[D];d[D]=d[w];d[w]=G;g[v]=A;return!0}}},d,m,k,b,c,a,q,g,C);c=new p(function(){return yJ},Q5a,I([Cm,K,X,N,T,P,O,S,V,W,Y],[!0,ml,R5a,"cljs/core.cljs",24,1,4176,4176,M(new E(null,1,5,F,[S5a],null)),null,h(yJ)?yJ.K:null]));return c.j?c.j(a):c.call(null,a)},zJ=function(){return LI},AJ=function(a){if(WD(a)){var b=U5a.j($D(a));return h(b)?b:uw(["operator, but not a differential form: ", -l.j(a)].join(""))}return $A(a)?0:uw(["not a differential form: ",l.j(a)].join(""))},CJ=function(a){var b=WD(a);return b?(a=dE.j($D(a)),Gg.B(a,BJ)):b},DJ=function(a,b){return CJ(a)&&Fc.B(b,AJ(a))},EJ=function(a){return DJ(a,1)},V5a=function(a,b){return function(c){return GE.J(function(d){return bB.J(H.B([GA.B(a,eJ(d,b)),CI(b)],0))},H.B([c],0))}},FJ=function(a,b){var c=kJ(b);return bB.J(H.B([a.j?a.j(c):a.call(null,c),DI(b)],0))},HJ=function(a,b){var c=II.j(lI(b)),d=Fc.B(c,1)?0:tE(el.B(c,0));c=vE(el.B(c, -0));return GJ.G(tH.G(a,d,c),b,a)},IJ=function(a){return J.j(["d",l.j(a)].join(""))},KJ=function(a){return EE(function(b,c){b=IJ(b);return qe.da(JJ,a,b,c)},BI(a))},MJ=function(a,b){return LJ.j(function(c){return GA.B(a,b.j?b.j(c):b.call(null,c))})},NJ=function(a,b){return GE.J(a,H.B([b],0))},PJ=function(a){var b=Nj.j(r(R.B(new z(null,OJ,null,1,null),new z(null,oy(a),null,1,null))));return LJ.B(function(c){return GE.J(function(d){return function(g){var k=d.j?d.j(a):d.call(null,a);return k.j?k.j(g): -k.call(null,g)}},H.B([c],0))},b)},X5a=function(a,b){var c=AJ(a),d=AJ(b);if(0===c||0===d)return GA.B(a,b);var g=c+d,k=1/(OB(c)*OB(d));d=function(){function q(w){var A=null;if(0k(pa)}function c(ma){var pa=h(aa)?P6a(ql(ma)):aa;return h(pa)?yl(ma,pa):ma}function d(ma,pa){return h(ma)?Q.j?Q.j(pa): -Q.call(null,pa):pa}function g(ma){var pa=G.j?G.j(ma):G.call(null,ma);return h(pa)?pa:ma}function k(ma){for(;;){var pa=U.j?U.j(ma):U.call(null,ma);if(h(pa))return pa;if(fd(ma))if(Fc.B(3,Ec(ma))&&Fc.B(QC,t(ma)))ma=Ic(ma);else return Fc.B(tG,t(ma))?(ma=Qz,U.j?U.j(ma):U.call(null,ma)):U.j?U.j(SL):U.call(null,SL);else return ma instanceof n?U.j?U.j(SL):U.call(null,SL):0}}function m(ma,pa,ra){return Fc.B(Tk,ma)?l.j(pa):Fc.B(Vz,ma)?l.j(pa):Fc.B(VL,ma)?Fc.B(ra,Tk)?new f(null,2,[Q6a,R6a,S6a,pa],null):["- ", -l.j(pa)].join(""):Fc.B(wi,ma)?qy(pa)?["1/",l.j(pa)].join(""):["1 / ",l.j(pa)].join(""):[l.j(ma)," ",l.j(pa)].join("")}function q(ma){var pa=ql(ma);pa=T6a.j?T6a.j(pa):T6a.call(null,pa);return ma===pa?ma:yl(ma,pa)}a=ce(a);var v=y.G(a,U6a," * "),w=y.G(a,V6a,C),A=y.G(a,W6a,C),D=y.B(a,X6a),G=y.G(a,Y6a,C),Q=y.G(a,Z6a,function(ma){return["(",l.j(ma),")"].join("")}),U=y.B(a,$6a),aa=y.G(a,a7a,!1),ja=function ra(pa){if(h(rl(pa))){var wa=zl(c(q(pa))),Ga=function(){for(var ka=xl(wa);;){ka=yl(ka,ra(ka));var na= -xl(ka);if(h(na))ka=na;else return vl(ka)}}();pa=ql(Ga);pa=r(pa);var Ca=t(pa),ca=u(pa),Z=function(){var ka=vl(Ga);if(h(ka)){ka=x.G(Ga,0,null);var na=x.G(Ga,1,null);na=ce(na);var Aa=y.B(na,tl),Ba=y.B(na,sl);ka=h(h(na)?r(Aa):na)?Qc(new E(null,2,5,F,[t(Aa),Lf.J(na,tl,Ke,H.B([sl,R.J(sc(Aa),new E(null,1,5,F,[ka],null),H.B([Ba],0))],0))],null),Rc(Ga)):Ga;ka=ql(ka)}return ka}();return h(A.j?A.j(Ca):A.call(null,Ca))?d(function(){var ka=A.j?A.j(Z):A.call(null,Z);if(h(ka)){ka=cb(b(Ca,Z));if(h(ka)){ka=Fc.B(Ca, -Vz)&&Fc.B(Z,VL);if(!ka){ka=x.G(ca,0,null);var na=x.G(ca,1,null);ka=Fc.B(wi,Ca)&&qy(ka)&&(null==na||qy(na))}ka=cb(ka)}return ka}return ka}(),function(){var ka=function(){var Ba=w.j?w.j(Ca):w.call(null,Ca);return h(Ba)?Ba.j?Ba.j(ca):Ba.call(null,ca):null}();if(h(ka))return ka;if(Fc.B(Ec(ca),1))return m(Ca,t(ca),Z);if(Fc.B(Ca,Tk)){ka=ng.B(function(Ba){var Ia=ce(Ba),Wa=y.B(Ia,Q6a);Ia=y.B(Ia,S6a);return h(Wa)?new E(null,2,5,F,[Fc.B(Wa,R6a)?"-":"+",Ia],null):new E(null,2,5,F,["+",Ba],null)},ca);ka=r(ka); -var na=t(ka),Aa=u(ka);ka=Jd(Fc.B(t(na),"+")?Hh.B(na,1):Fc.B(t(na),"-")?Lf.G(na,0,"- "):na,function(){return function Wa(Ia){return new Sd(null,function(){for(;;){var Ya=r(Ia);if(Ya){if(bd(Ya)){var ib=ac(Ya),ob=Ec(ib),rb=Ud(ob);a:for(var wb=0;;)if(wbg||Bb(a)>k}},eM=function(a,b,c){var d=ce(c);c=y.B(d,w7a);c=h(c)?c:se(null);var g=Ec(b),k=k7a(a);a=x.G(k,0,null);var m=x.G(k,1,null);k=q7a(m,g,d);var q=t7a(d),v=v7a(a,g,d);b=i7a(b,d);d=wh.B(m,b);b=l7a(b,d,g);g=x.G(b,0,null);x.G(g,0,null);g=x.G(b,1,null);x.G(g,0,null);for(m=0;;){d=b;g=x.G(d,0,null);b=x.G(g,0,null);var w=x.G(d,1,null);d=x.G(w,0,null); -c.G?c.G(m,b,d):c.call(null,m,b,d);var A=q(g,w);var D=A;D=h(D)?D:v(m);if(h(D))return new f(null,5,[un,b,Su,d,cM,A,dM,m,x7a,Bb(a)],null);b=k.B?k.B(g,w):k.call(null,g,w);m=g=m+1}},fM=function(a,b){return y7a*a+z7a*b},gM=function(a,b){return a+A7a*(a-b)},B7a=function(a,b,c,d,g){var k=x.G(b,0,null),m=x.G(c,0,null),q=x.G(c,1,null),v=x.G(d,0,null),w=x.G(d,1,null),A=x.G(g,0,null);return qk?c:k,dc}q.aa=0;q.ea=function(w){w=r(w);return v(w)};q.J=v;return q}(),E7a(b)],null))}g.aa=0;g.ea=function(m){m=r(m);return k(m)};g.J=k;return g}()},J7a=function(a,b,c){var d=a.j?a.j(b):a.call(null,b);a=a.j?a.j(c):a.call(null,c);return db?2E-21:b)},N7a=function(a,b){b=ce(b);var c=y.G(b,M7a,110);return function(d,g,k){var m=x.G(g,0,null),q=x.G(g,1,null),v=x.G(k,0,null),w=x.G(k,1,null),A= -m+c*(v-m),D=L7a(d,g,k);if(m<=D&&D<=v){A=a.j?a.j(D):a.call(null,D);if(Aq)return new E(null,3,5,F,[d,g,new E(null,2,5,F,[D,A],null)],null);d=gM(v,m);return new E(null,3,5,F,[g,k,new E(null,2,5,F,[d,a.j?a.j(d):a.call(null,d)],null)],null)}if(v<=D&&D<=A)return A=a.j?a.j(D):a.call(null,D),A=.5*(a+c)?a-b:c-b;return new E(null,2,5,F,[a,y7a*a],null)},iM=function(a,b,c,d){a=Zj.B(Fy,a);return Ii.G(hM.da(a,b,c,d),Su,Fy)},P7a=function(a,b){var c=di.B(He,fd);return dg(rk.B(b,sc(Ge(fd,c,a))))},Q7a=function(a,b){var c=mw(a),d=Fe.j(Zj.B(Sy, -a)),g=Qf;for(b=QD.B(Sy(b),c);;){if(Uc(b))return Mf(a,g);g=jM.B(g,b);b=In.B(QD.B(jf.G(Qf,d,b),c),g)}},S7a=function(a){return pm(function(b){if(ry(b))return rw(b);if(Xc(b)){var c=r(b),d=t(c);c=u(c);var g=ne(bb,c);d=g?R7a.j?R7a.j(d):R7a.call(null,d):g;return h(d)?rw(qe.B(Pt.j(d),c)):b}return b},a)},lM=function(a){var b=kM.j?kM.j(a):kM.call(null,a);if(h(b))return b;throw xh.B(["Invalid compilation mode supplied: ",l.j(a),". Please supply (or bind to `*mode*`) one of ",l.j(kM)].join(""),new f(null,2,[bq, -a,T7a,kM],null));},U7a=function(){return lM(mM)},V7a=function(a){lM(a);return mM=a},W7a=function(a){return wh.B(function(b){return Qc(b,new f(null,1,[yi,nM],null))},tk.B(3,a))},Z7a=function(a,b){a=ce(a);var c=y.B(a,oM),d=y.B(a,Pq),g=y.B(a,X7a),k=function(){switch(c instanceof B?c.la:null){case "primitive":return W7a(function(){return b.j?b.j("a"):b.call(null,"a")});case "structure":return new E(null,1,5,F,[jf.B(Ke,g)],null);case "native":return g;default:throw xh.B("Invalid calling convention supplied", -new f(null,1,[oM,c],null));}}();return Lf.G(a,Y7a,h(h(d)?Kf.B(c,pM):d)?Gd.B(k,jf.B(Ke,d)):k)},b8a=function(a,b,c){return qM.G(kl.j(a),function(d,g){return Lf.G(a,kl,r(g)?rM(d,g):d)},new f(null,2,[$7a,b,a8a,c],null))},d8a=function(a){function b(m,q){return iu.B(function(v,w){return new E(null,2,5,F,[w,Nj.j(r(R.J(new z(null,ik,null,1,null),new z(null,m,null,1,null),H.B([new z(null,v,null,1,null)],0))))],null)},q)}a=ce(a);var c=y.B(a,Y7a),d=y.B(a,oM),g=y.B(a,X7a),k=y.B(a,Pq);switch(d instanceof B?d.la: -null){case "primitive":return d=x.G(c,0,null),x.G(c,1,null),c=x.G(c,2,null),Ii.ia(a,kl,rM,R.B(b(d,Ie(g)),b(c,k)),c8a);default:return a}},e8a=function(a){function b(k,m){return Nj.j(r(R.J(new z(null,dla,null,1,null),new z(null,k,null,1,null),H.B([iu.B(function(q,v){return Nj.j(r(R.J(new z(null,sM,null,1,null),new z(null,q,null,1,null),H.B([new z(null,v,null,1,null)],0))))},m)],0))))}function c(k){var m=Xc(k);return m?(k=t(k),m=new Pf(null,new f(null,3,[lK,null,tM,null,kK,null],null),null),m.j?m.j(k): -m.call(null,k)):m}a=ce(a);var d=y.B(a,oM),g=y.B(a,Y7a);switch(d instanceof B?d.la:null){case "primitive":return Ii.G(a,kl,function(k){k=Rma(k);k=Fc.B(Sj,ql(zl(k)))?zl(zl(zl(k))):k;return Yma(yl(k,b(x.B(g,1),He.B(re(c),Ge(c,sc,ql(k))))))});default:return a}},f8a=function(a){return pm(function(b){return Xc(b)?r(b)?["[",Ik.B(", ",b),"]"].join(""):"_":l.j(b)},a)},g8a=function(a){return UEa(TEa(),a)},i8a=function(a){var b=ce(a);a=y.B(b,Y7a);b=y.B(b,kl);return qm(h8a,Nj.j(r(R.J(new z(null,Pj,null,1,null), -new z(null,td(Nj.j(r(R.j(a)))),null,1,null),H.B([new z(null,b,null,1,null)],0)))))},k8a=function(a){var b=ce(a);a=y.B(b,Y7a);b=y.B(b,kl);a=wh.B(f8a,a);var c=yg.j(Ke);(function(d){if(h(function(){var Q=rl(d);return h(Q)?Fc.B(ql(zl(d)),dla):Q}())){var g=zl(zl(d)),k=ql(g);if(!(k instanceof n))throw xh.B("Expecting a symbol (referring to a primitive array)",new f(null,1,[j8a,k],null));for(var m=r(Uma(g)),q=null,v=0,w=0;;)if(wm?k:m)},b,c)},B8a=function(a,b,c){return x8a(function(d,g){var k=a.j?a.j(d):a.call(null,d),m=a.j?a.j(g):a.call(null, -g);return(g-d)*(k=A)return G(k,m,q);var ka=D(k,A,p8a(q));ca=G(A,m,W8a);return new f(null,2,[cM,!0,un,ka+ -ca],null)}throw EM;}catch(Ya){if(Ya instanceof Error){aa=Ya;if(aa===EM)throw EM;throw aa;}throw Ya;}else throw Z;else throw Wa;}else throw wa;else throw Ia;}else throw ra;else throw Ba;}else throw pa;else throw Aa;}else throw ma;else throw na;}else throw EM;}catch(na){if(na instanceof Error){ma=na;if(ma===EM)return a.da?a.da(g,k,m,w):a.call(null,g,k,m,w);throw ma;}throw na;}}function c(g,k,m){return d.da(g,k,m,C)}var d=null;d=function(g,k,m,q){switch(arguments.length){case 3:return c.call(this,g, -k,m);case 4:return b.call(this,g,k,m,q)}throw Error("Invalid arity: "+arguments.length);};d.G=c;d.da=b;return d}()},FM=function(a){return x.B(a,0)},GM=function(a){return x.B(a,1)},HM=function(a){return x.B(a,2)},IM=function(a){return x.B(a,3)},Y8a=function(a){a=x.B(a,1);return pE(a)?Ec(a):1},LM=function(a){return SE.J(H.B([Li.j(JM),BE(Li.j(HE),a),BE(Li.j(KM),a)],0))},Z8a=function(a,b){return xB.B(a,b)},$8a=function(a){return function(b){x.G(b,0,null);x.G(b,1,null);b=x.G(b,2,null);return GA.J(FB.B(1, -2),a,H.B([JL.j(b)],0))}},a9a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null),g=x.G(d,0,null);d=x.G(d,1,null);c=x.G(c,2,null);return xB.B(GA.J(FB.B(1,2),a,H.B([JL.j(c)],0)),b.B?b.B(g,d):b.call(null,g,d))}},b9a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);c=x.G(c,2,null);return xB.B(GA.J(FB.B(1,2),a,H.B([JL.j(c)],0)),GA.J(FB.B(1,2),b,H.B([JL.j(d)],0)))}},c9a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);x.G(d,0,null);d=x.G(d,1,null);c=x.G(c, -2,null);return xB.B(GA.J(FB.B(1,2),a,H.B([JL.j(c)],0)),GA.J(a,b,H.B([d],0)))}},d9a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null),g=x.G(c,2,null);c=xB.B;g=GA.J(FB.B(1,2),a,H.B([JL.j(g)],0));d=hz.j(d);d=b.j?b.j(d):b.call(null,d);return c.call(xB,g,d)}},e9a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);d=x.G(d,0,null);var g=x.G(c,2,null);c=x.G(g,0,null);g=x.G(g,1,null);return xB.B(GA.J(FB.B(1,2),a,H.B([EA.B(JL.j(c),JL.j(GA.B(d,g)))],0)),b.j?b.j(d):b.call(null, -d))}},f9a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);d=x.G(d,0,null);var g=x.G(c,2,null);c=x.G(g,0,null);g=x.G(g,1,null);return EA.B(GA.J(FB.B(1,2),b,H.B([EA.B(JL.j(c),JL.j(GA.B(d,g)))],0)),FB.B(GA.B(a,b),d))}},g9a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null);g=x.G(g,0,null);var k=x.G(d,2,null);d=x.G(k,0,null);var m=x.G(k,1,null);k=x.G(k,2,null);return EA.J(GA.J(FB.B(1,2),a,H.B([EA.B(JL.j(d),JL.j(GA.B(m,PH.j(g))))],0)),GA.J(FB.B(1,2),b,H.B([JL.j(EA.B(k, -GA.B(m,OH.j(g))))],0)),H.B([GA.J(-1,c,H.B([OH.j(g)],0))],0))}},h9a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);c=x.G(c,2,null);return xB.B(GA.J(FB.B(1,2),c,H.B([a,c],0)),GA.J(FB.B(1,2),d,H.B([b,d],0)))}},i9a=function(a){return function(b){x.G(b,0,null);var c=x.G(b,1,null);b=x.G(c,0,null);c=x.G(c,1,null);return SE.J(H.B([SE.J(H.B([b,0],0)),SE.J(H.B([EA.B(b,GA.B(a,PH.j(c))),GA.J(-1,a,H.B([OH.j(c)],0))],0))],0))}},j9a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d, -1,null),k=x.G(g,0,null);x.G(k,0,null);k=x.G(k,1,null);g=x.G(g,1,null);x.G(g,0,null);g=x.G(g,1,null);var m=x.G(d,2,null);d=x.G(m,0,null);m=x.G(m,1,null);return xB.B(GA.B(FB.B(1,2),EA.B(GA.B(a,JL.j(d)),GA.B(b,JL.j(m)))),GA.B(c,EA.B(GA.B(a,k),GA.B(b,g))))}},k9a=function(a,b,c,d){var g=bB,k=g.J,m=H.B;a=j9a(a,b,d);c=i9a(c);c=MM.j?MM.j(c):MM.call(null,c);return k.call(g,m.call(H,[a,c],0))},l9a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null);d=x.G(d,2,null);return EA.B(GA.J(FB.B(1,2), -b,H.B([JL.j(GA.B(c,d))],0)),GA.J(a,b,H.B([c,OH.j(g)],0)))}},m9a=function(a){return function(b){x.G(b,0,null);x.G(b,1,null);b=x.G(b,2,null);return GA.J(b,a,H.B([b],0))}},n9a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null),k=x.G(g,0,null);g=x.G(g,1,null);var m=x.G(d,2,null);d=x.G(m,0,null);m=x.G(m,1,null);return xB.B(EA.B(GA.J(FB.B(1,2),a,H.B([JL.j(d)],0)),GA.J(FB.B(1,2),b,H.B([JL.j(m)],0))),c.B?c.B(k,g):c.call(null,k,g))}},o9a=function(a,b){return function(c){var d=a.j?a.j(c): -a.call(null,c),g=b.j?b.j(c):b.call(null,c);return NM.G?NM.G(c,d,g):NM.call(null,c,d,g)}},p9a=function(a){return OM.B(a,null)},PM=function(a){return function(b,c){b=o9a(b,c);return xB.B(aJ.j?aJ.j(b):aJ.call(null,b),bB.J(H.B([OM.j(a),b],0)))}},RM=function(a){var b=QM.J(H.B([2],0));b=b.j?b.j(a):b.call(null,a);return xB.B(GA.B(b,HM),a)},TM=function(a){return function(b){b=bB.J(H.B([RM(a),SM.j(b)],0));return aJ.j?aJ.j(b):aJ.call(null,b)}},q9a=function(a){return function(b){x.G(b,0,null);var c=x.G(b,1, -null),d=x.G(c,0,null);c=x.G(c,1,null);var g=x.G(b,2,null);b=x.G(g,0,null);var k=x.G(g,1,null);g=x.G(g,2,null);return GA.J(FB.B(1,2),a,H.B([EA.J(JL.j(b),JL.j(GA.B(d,k)),H.B([JL.j(GA.J(d,PH.j(c),H.B([g],0)))],0))],0))}},r9a=function(a,b){return xB.B(q9a(a),function(c){x.G(c,0,null);c=x.G(c,1,null);c=x.G(c,0,null);return b.j?b.j(c):b.call(null,c)})},UM=function(a,b,c){c+=1;var d=FB.B(xB.B(b,a),c);return function m(k){return new Sd(null,function(){for(;;){var q=r(k);if(q){if(bd(q)){var v=ac(q),w=Ec(v), -A=Ud(w);a:for(var D=0;;)if(D=function(){var ma=U>aa?U:aa;return ma>ja?ma:ja}()?(k=IL.j(Q),a=FB.B(w,k),q=FB.B(m,k),d=FB.B(c,k)):U>=function(){var ma=Q>aa?Q:aa;return ma>ja?ma:ja}()?(a=IL.j(U),k=FB.B(w,a),q=FB.B(d,a),d=FB.B(b,a)):aa>=function(){var ma=Q>U?Q:U;return ma>ja?ma:ja}()?(q=IL.j(aa),k=FB.B(m,q),a=FB.B(d,q),d=FB.B(g,q)):(d=IL.j(ja),k=FB.B(c,d),a=FB.B(b,d),q=FB.B(g,d)),ON.da(k,a,q,d);if(ty(Q)){if(ty(U)){if(ty(aa))return ON.da(0,0,0,0);q=IL.j(D);a=k=0;d=FB.B(g,q);return ON.da(k, -a,q,d)}a=IL.j(A);k=0;q=FB.B(d,a);d=FB.B(b,a);return ON.da(k,a,q,d)}k=IL.j(q);a=FB.B(w,k);q=FB.B(m,k);d=FB.B(c,k);return ON.da(k,a,q,d)},pab=function(a){var b=a.r,c=a.i,d=a.bb;a=a.k;var g=JL.j(b),k=JL.j(c),m=JL.j(d),q=JL.j(a),v=Vy.j(EA.J(g,k,H.B([m,q],0)));RC.B(new z(null,Rk,new z(null,v,new z(null,1,null,1,null),2,null),3,null),oab);return TG.J(H.B([new E(null,3,5,F,[FB.B(EA.J(g,k,H.B([Fy.j(m),Fy.j(q)],0)),v),FB.B(GA.B(2,xB.B(GA.B(c,d),GA.B(b,a))),v),FB.B(GA.B(2,EA.B(GA.B(c,a),GA.B(b,d))),v)],null), -new E(null,3,5,F,[FB.B(GA.B(2,EA.B(GA.B(c,d),GA.B(b,a))),v),FB.B(EA.J(g,Fy.j(k),H.B([m,Fy.j(q)],0)),v),FB.B(GA.B(2,xB.B(GA.B(d,a),GA.B(b,c))),v)],null),new E(null,3,5,F,[FB.B(GA.B(2,xB.B(GA.B(c,a),GA.B(b,d))),v),FB.B(GA.B(2,EA.B(GA.B(d,a),GA.B(b,c))),v),FB.B(EA.J(g,Fy.j(k),H.B([Fy.j(m),q],0)),v)],null)],0))},qab=function(a){var b=x.G(a,0,null),c=x.G(a,1,null);a=x.G(a,2,null);return TG.J(H.B([new E(null,3,5,F,[0,xB.j(a),c],null),new E(null,3,5,F,[a,0,xB.j(b)],null),new E(null,3,5,F,[xB.j(c),b,0],null)], -0))},rab=function(a){return mO.J(H.B([Ij.B(a,new E(null,2,5,F,[2,1],null)),Ij.B(a,new E(null,2,5,F,[0,2],null)),Ij.B(a,new E(null,2,5,F,[1,0],null))],0))},sab=function(a){return function(b){var c=bB.J(H.B([a,b],0));return function(d){var g=GA.B;var k=aJ.j?aJ.j(c):aJ.call(null,c);k=k.j?k.j(d):k.call(null,d);return rab(g.call(GA,k,KG(c.j?c.j(d):c.call(null,d))))}}},tab=function(a){return function(b){return function(c){return GA.B(KG(function(){var d=b.j?b.j(c):b.call(null,c);return a.j?a.j(d):a.call(null, -d)}()),function(){var d=sab(a)(b);return d.j?d.j(c):d.call(null,c)}())}}},uab=function(a){return YM(sab(a))},vab=function(a){return YM(tab(a))},wab=function(a,b,c){return function(d){var g=x.G(d,0,null),k=x.G(d,1,null);d=x.G(d,2,null);return GA.B(FB.B(1,2),EA.J(GA.B(a,JL.j(g)),GA.B(b,JL.j(k)),H.B([GA.B(c,JL.j(d))],0)))}},nO=function(a,b,c){return function(d){var g=x.G(d,0,null),k=x.G(d,1,null);d=x.G(d,2,null);return oH.J(H.B([GA.B(a,g),GA.B(b,k),GA.B(c,d)],0))}},xab=function(a){return function(b, -c,d){return function(g){return GA.B(nO(b,c,d)(g),CN.j(a))}}},yab=function(a){return function(b){function c(d){return gI(a.j?a.j(d):a.call(null,d))}return rab(function(d){var g=GA.B;var k=aJ.j?aJ.j(c):aJ.call(null,c);k=k.j?k.j(d):k.call(null,d);return g.call(GA,k,CN.j(c(d)))}(b))}},zab=function(a){return function(b){return GA.B(CN.j(gI(a.j?a.j(b):a.call(null,b))),yab(a)(b))}},Aab=function(a){x.G(a,0,null);var b=x.G(a,1,null),c=x.G(b,0,null);x.G(b,1,null);b=x.G(b,2,null);var d=x.G(a,2,null),g=x.G(d, -0,null);a=x.G(d,1,null);var k=x.G(d,2,null);d=EA.B(GA.J(PH.j(b),PH.j(c),H.B([a],0)),GA.B(OH.j(b),g));b=EA.B(GA.J(OH.j(b),PH.j(c),H.B([a],0)),GA.J(-1,PH.j(b),H.B([g],0)));c=EA.B(GA.B(OH.j(c),a),k);return SE.J(H.B([d,b,c],0))},oO=function(a,b,c){return function(d){return wab(a,b,c)(Aab(d))}},pO=function(a,b,c){return function(d){return nO(a,b,c)(Aab(d))}},qO=function(a,b,c){return function(d){var g=GM(d);return GA.B(pO(a,b,c)(d),CN.j(gI(g)))}},Bab=function(a,b,c){return OM.j(oO.G?oO.G(a,b,c):oO.call(null, -a,b,c))},Cab=function(a){x.G(a,0,null);var b=x.G(a,1,null);a=x.G(a,2,null);var c=FB.B(GA.B(2,b),oA.B(b,b));b=oA.B(c,GA.B(iO,a));var d=oA.B(c,GA.B(jO,a));a=oA.B(c,GA.B(kO,a));return SE.J(H.B([b,d,a],0))},Gab=function(a){x.G(a,0,null);var b=x.G(a,1,null),c=x.G(a,2,null);a=JG(b);c=U3a(c);var d=FB.B(-2,oA.B(b,b));b=GA.B(d,Ij.B(GA.J(c,Dab,H.B([a],0)),new E(null,2,5,F,[0,0],null)));var g=GA.B(d,Ij.B(GA.J(c,Eab,H.B([a],0)),new E(null,2,5,F,[0,0],null)));a=GA.B(d,Ij.B(GA.J(c,Fab,H.B([a],0)),new E(null,2, -5,F,[0,0],null)));return SE.J(H.B([b,g,a],0))},Hab=function(a,b,c){return function(d){x.G(d,0,null);x.G(d,1,null);d=x.G(d,2,null);return nO(a,b,c)(d)}},Iab=function(a,b,c){var d=Hab(a,b,c);return function(g){x.G(g,0,null);var k=x.G(g,1,null);g=d(g);k=pab(ON.j(k));return GA.B(g,CN.j(k))}},Jab=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null);d=x.G(d,2,null);g=JG(g);var k=JG(d),m=Ey.j(Ij.B(GA.B(KG(g),g),new E(null,2,5,F,[0,0],null)));d=GA.J(m,iO,H.B([k],0));var q=GA.J(m,jO,H.B([k], -0));k=GA.J(m,kO,H.B([k],0));g=GA.B(g,KG(g));return GA.B(2,EA.J(GA.B(a,Ij.B(GA.J(KG(d),g,H.B([d],0)),new E(null,2,5,F,[0,0],null))),GA.B(b,Ij.B(GA.J(KG(q),g,H.B([q],0)),new E(null,2,5,F,[0,0],null))),H.B([GA.B(c,Ij.B(GA.J(KG(k),g,H.B([k],0)),new E(null,2,5,F,[0,0],null)))],0)))}},Kab=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null);b=x.G(b,2,null);var g=x.G(b,0,null);b=x.G(b,1,null);var k=oN(function(m){m=SE.J(H.B([c,d,SE.J(H.B([g,m],0))],0));return a.j?a.j(m):a.call(null,m)});return k.j? -k.j(b):k.call(null,b)}},Lab=function(a){return function(b,c,d){return function(g){function k(q){var v=x.G(q,0,null),w=x.G(q,1,null);q=x.G(q,2,null);var A=SE.J,D=H.B;w=SE.J(H.B([b.j?b.j(v):b.call(null,v),w],0));var G=SE.J,Q=H.B;var U=aJ.j?aJ.j(b):aJ.call(null,b);U=U.j?U.j(v):U.call(null,v);v=A.call(SE,D.call(H,[v,w,G.call(SE,Q.call(H,[U,q],0))],0));return a.j?a.j(v):a.call(null,v)}function m(q){var v=x.G(q,0,null),w=x.G(q,1,null);q=x.G(q,2,null);v=SE.J(H.B([v,SE.J(H.B([w,c.j?c.j(v):c.call(null,v)], -0)),SE.J(H.B([q,d.j?d.j(v):d.call(null,v)],0))],0));return a.j?a.j(v):a.call(null,v)}return SE.J(H.B([function(){var q=rO.j(m);q=q.j?q.j(b):q.call(null,b);return q.j?q.j(g):q.call(null,g)}(),function(){var q=lN(k)(c,d);return q.j?q.j(g):q.call(null,g)}()],0))}}},Mab=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null),g=x.G(b,2,null);g=x.G(g,0,null);var k=x,m=k.B;var q=QM.J(H.B([2],0));q=q.j?q.j(a):q.call(null,a);b=q.j?q.j(b):q.call(null,b);b=m.call(k,b,1);return SE.J(H.B([c,d,SE.J(H.B([g, -b],0))],0))}},Nab=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null),g=x.G(b,2,null);g=x.G(g,0,null);var k=x,m=k.B;var q=QM.J(H.B([2],0));q=q.j?q.j(a):q.call(null,a);b=q.j?q.j(b):q.call(null,b);b=m.call(k,b,1);return SE.J(H.B([c,d,SE.J(H.B([g,b],0))],0))}},Oab=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null);b=x.G(b,2,null);return gN(EA.B(c,a),d,b)}},Pab=function(a){return function(b){return bB.J(H.B([a.j?a.j(b):a.call(null,b),Oab(xB.j(b))],0))}},Qab=function(a){return function(b){return bB.J(H.B([b, -Oab(xB.j(a))],0))}},Rab=function(a,b){return function(c){return(function(){var d=b+c;return a.j?a.j(d):a.call(null,d)}()-function(){var d=b-c;return a.j?a.j(d):a.call(null,d)}())/(2*c)}},Wab=function(a,b,c,d){switch(a instanceof B?a.la:null){case "forward":return new f(null,4,[Iz,1,Sab,1,Tab,sO.G(b,c,d),Uab,function(g){g=c+g;g=b.j?b.j(g):b.call(null,g);return d/(g-d)}],null);case "central":return new f(null,4,[Iz,2,Sab,2,Tab,Rab(b,c),Uab,function(g){return d/(function(){var k=c+g;return b.j?b.j(k): -b.call(null,k)}()-function(){var k=c-g;return b.j?b.j(k):b.call(null,k)}())}],null);case "backward":return new f(null,4,[Iz,1,Sab,1,Tab,tO.G(b,c,d),Uab,function(g){g=c-g;g=b.j?b.j(g):b.call(null,g);return d/(d-g)}],null);case "central-d2":return new f(null,4,[Iz,2,Sab,2,Tab,uO.G(b,c,d),Uab,function(g){return function(){var k=c+g;return b.j?b.j(k):b.call(null,k)}()+function(){var k=c-g;return b.j?b.j(k):b.call(null,k)}()-2*d}],null);default:return uw(["Invalid method: ",l.j(a),". Please try one of ", -l.j(Vab)].join(""))}},Zab=function(a){a=bi.J(H.B([new f(null,2,[Xab,vO,Mx,Yab],null),a],0));a=ce(a);y.B(a,Mx);return a},bbb=function(a,b,c){if(Zc(c))return Eb(c,a,b);if(null==c)return b;if(ab(c)){var d=new p(function(){return wO},$ab,I([Cm,K,X,N,T,sk,P,O,S,V,W,Y],[!0,ml,abb,"cljs/core.cljs",20,new f(null,6,[vk,!1,wk,4,xk,4,yk,new E(null,3,5,F,[new E(null,2,5,F,[xO,yO],null),new E(null,3,5,F,[xO,yO,zO],null),new E(null,4,5,F,[xO,yO,zO,AO],null)],null),V,M(new E(null,2,5,F,[xO,yO],null),new E(null, -3,5,F,[xO,yO,zO],null),new E(null,4,5,F,[xO,yO,zO,AO],null)),zk,M(null,null,null)],null),1,1503,1503,M(new E(null,2,5,F,[xO,yO],null),new E(null,3,5,F,[xO,yO,zO],null),new E(null,4,5,F,[xO,yO,zO,AO],null)),null,h(wO)?wO.K:null]));return d.G?d.G(c,a,b):d.call(null,c,a,b)}return BO(c,a,b)},CO=function(a,b,c){this.coll=a;this.wc=b;this.dl=c;this.ha=917504;this.ja=0},cbb=function(a,b){return new CO(a,b,C)},dbb=function(a){return cbb(a,function(b){return function(){function c(k,m){return Xc(m)?BO(dbb(m), -b,k):b.B?b.B(k,m):b.call(null,k,m)}function d(){return b.ca?b.ca():b.call(null)}var g=null;g=function(k,m){switch(arguments.length){case 0:return d.call(this);case 2:return c.call(this,k,m)}throw Error("Invalid arity: "+arguments.length);};g.ca=d;g.B=c;return g}()})},ebb=function(a,b){var c=yg.j(-1);return bbb(function(d,g){d[zg.B(c,cda)]=g;return d},b,dbb(a))},hbb=function(a,b,c,d){var g=ce(d);d=y.G(g,DO,1E-8);g=y.G(g,fbb,!1);var k=Ec(c);a=(new gbb.Solver(a,k,{absoluteTolerance:d,relativeTolerance:d, -rawFunction:!0})).integrate(b,EO.j(c));return h(g)?a:Zj.B(kv,a)},ibb=function(a,b,c,d){d=ce(d);var g=y.G(d,t9a,!0),k=Ie(c),m=EO.j(b),q=h(g)?FO.da(a,b,c,new f(null,1,[oM,pM],null)):function(){Nz(gx,"emmy.numerical.ode",195,new tg(function(){return new E(null,1,5,F,["Not compiling function for ODE analysis"],null)},null),-2088371585);var v=qe.B(a,b);return function(w,A){w=XG.B(w,c);w=v.j?v.j(w):v.call(null,w);return ebb(w,A)}}();return hbb(function(v,w,A){return q.G?q.G(w,A,m):q.call(null,w,A,m)},0, -k,d)},lbb=function(a,b){return function(){function c(k,m,q,v){function w(ja){var ma=XG.B(G.j?G.j(ja):G.call(null,ja),k);h(A)&&(A.B?A.B(ja,ma):A.call(null,ja,ma));return ue(D,new E(null,2,5,F,[ja,ma],null))}v=ce(v);var A=y.B(v,jbb),D=yg.j(new E(null,2,5,F,[0,null],null)),G=ibb(a,b,k,v);if(h(A)){m=r(Ki.G(0,q,m));v=null;for(var Q=0,U=0;;)if(Ufunction(){var aa=afunction(){var aa=a+b;var ja=a+c;aa=aab?a:b;return aa>c?aa:c}())&& -uw("Carlson R_F");for(var q=a,v=b,w=c;;){var A=Math.sqrt(v),D=Math.sqrt(w);A=Math.sqrt(q)*(A+D)+A*D;q=.25*(q+A);v=.25*(v+A);A=.25*(w+A);w=d*(q+v+A);var G=(w-q)/w,Q=(w-v)/w,U=(w-A)/w;if(.0025ja?aa:ja;ja=Math.abs(U);return aa>ja?aa:ja}())w=A;else return d=G*Q-U*U,q=G*Q*U,(1+(g*d-.1-k*q)*d+m*q)/Math.sqrt(w)}},mbb=function(a,b,c){var d=3/14,g=1/6,k=9/22,m=3/26,q=.25*k,v=1.5*m;(0>(afunction(){var ra=a+b;return rab?a:b;return ra>c?ra:c}())&&uw("Carlson R_D");for(var w=a,A=b,D=c,G=0,Q=1;;){var U=Math.sqrt(A),aa=Math.sqrt(D);U=Math.sqrt(w)*(U+aa)+U*aa;G+=Q/(aa*(D+U));Q*=.25;w=.25*(w+U);aa=.25*(A+U);D=.25*(D+U);A=.2*(w+aa+3*D);var ja=(A-w)/A,ma=(A-aa)/A,pa=(A-D)/A;if(.0015wa?ra:wa;wa=Math.abs(pa);return ra>wa?ra:wa}())A=aa;else return w=ja*ma,U=pa*pa,D=w-U,U=w-6*U,aa=U+D+D,3*G+Q*(1+U*(q*U-v*pa*aa-d)+pa*(g*aa+pa*(k*D-pa*m*w)))/(A*Math.sqrt(A))}}, -nbb=function(a,b){var c=2.236/1.3E-19,d=.257049/25,g=1/3,k=1/7,m=9/22;(0>a||Fc.B(b,0)||1.69E-38>a+Math.abs(b)||3E37function(){var Ba=afunction(){var Ba=a+b;var Ia=a+c;Ba=Bab?a:b;Ba=Ba>c?Ba:c;var Ia=Math.abs(d);return Ba>Ia?Ba:Ia}())&&uw("Carlson R_J");var G=0b?a:b;return wb>c?wb:c}(),Wa=a+b+c- -Ba-Ia,Ya=1/(Wa-d),ib=Ya*(Ia-Wa)*(Wa-Ba),ob=Wa+ib,rb=nbb(Ba*Ia/Wa,d*ob/Wa);return new E(null,7,5,F,[Ba,Wa,Ia,ob,Ya,ib,rb],null)}(),Q=x.G(G,0,null),U=x.G(G,1,null),aa=x.G(G,2,null),ja=x.G(G,3,null),ma=x.G(G,4,null),pa=x.G(G,5,null);G=x.G(G,6,null);var ra=aa,wa=ja;ja=0;for(aa=1;;){var Ga=Math.sqrt(Q),Ca=Math.sqrt(U),ca=Math.sqrt(ra),Z=Ga*(Ca+ca)+Ca*ca;ja+=aa*nbb(Math.pow(wa*(Ga+Ca+ca)+Ga*Ca*ca,2),wa*Math.pow(wa+Z,2));aa*=.25;Q=.25*(Q+Z);U=.25*(U+Z);ra=.25*(ra+Z);Z=.25*(wa+Z);wa=.2*(Q+U+ra+Z+Z);var va= -(wa-Q)/wa,ka=(wa-U)/wa,na=(wa-ra)/wa,Aa=(wa-Z)/wa;if(.0015Ia?Ba:Ia;Ia=Math.abs(na);Ba=Ba>Ia?Ba:Ia;Ia=Math.abs(Aa);return Ba>Ia?Ba:Ia}())wa=Z;else return Z=va*(ka+na)+ka*na,Ga=va*ka*na,Ca=Aa*Aa,ca=Z-3*Ca,g=3*ja+aa*(1+ca*(v*ca-w*(Ga+2*Aa*(Z-Ca))-g)+Ga*(A+Aa*(Aa*q-D))+Aa*Z*(k-Aa*m)+-(k*Aa*Ca))/(wa*Math.sqrt(wa)),0>=d?ma*(pa*g+3*(G-HO(Q,U,ra))):g}},IO=function(a,b){var c=Math.sin(a);b*=c;return c*HO(Math.pow(Math.cos(a),2),(1-b)*(1+b),1)},pbb= -function(a){return IO(Math.PI/2,a)},qbb=function(a,b){if(Fc.B(a,1))return b.B?b.B(Infinity,1):b.call(null,Infinity,1);var c=1,d=Math.sqrt(1-a*a),g=a;a=0;for(var k=1;;){if(Math.abs(g)a;if(c){var d=1-a,g= -Math.sqrt(d);return new E(null,4,5,F,[c,-(a/d),b*g,g],null)}return new E(null,4,5,F,[c,a,b,1],null)},KO=function(a,b){var c=x.G(b,0,null),d=x.G(b,1,null);b=x.G(b,2,null);return SE.J(H.B([a,c,d,b],0))},LO=function(a){return x.G(a,0,null)},MO=function(a){x.G(a,0,null);var b=x.G(a,1,null),c=x.G(a,2,null);a=x.G(a,3,null);return SE.J(H.B([b,c,a],0))},NO=function(a){return IL.j(xB.B(JL.j(LO(a)),JL.j(MO(a))))},OO=function(a){return IL.j(xB.B(JL.j(MO(a)),JL.j(LO(a))))},PO=function(a){return function(b){var c= -FB.B(1,IL.j(xB.B(1,JL.j(a)))),d=FB.B(EA.B(-1,c),JL.j(a)),g=LO(b);b=MO(b);var k=oA.B(a,b);return KO(GA.B(c,EA.B(g,k)),EA.J(GA.J(c,a,H.B([g],0)),b,H.B([GA.J(d,a,H.B([k],0))],0)))}},QO=function(a,b){return function(c){var d=LO(c);c=MO(c);var g=JL.j(b),k=oA.B(a,c),m=FB.B(1,IL.j(xB.B(1,g))),q=xB.B(m,1);g=GA.B(m,EA.B(d,GA.B(k,b)));d=EA.J(GA.J(m,b,H.B([a,d],0)),c,H.B([GA.J(q,a,H.B([k],0))],0));return KO(g,d)}},RO=function(a){return function(b){var c=LO(b);b=MO(b);b=a.j?a.j(b):a.call(null,b);return KO(c, -b)}},SO=function(a,b){return LH(ij.da(b,Lf,tbb,!0),a)},TO=function(a){return tbb.B(Rc(a),!1)},UO=function(a){return FH(KH(a))},WO=function(a,b,c,d,g){return ubb(a,b,new f(null,3,[vbb,c,wbb,d,VO,g],null))},xbb=function(){return function(a){return IH(a)}},ybb=function(a,b){return function(c){return SO(b,c)}},XO=function(a){return vbb.j(GH(a))},YO=function(a){return wbb.j(GH(a))},ZO=function(a){return VO.j(GH(a))},$O=function(a,b){return FB.B(EA.B(a,b),EA.B(1,GA.B(a,b)))},bP=function(a,b){return FB.B(EA.B(a, -b),EA.B(1,GA.B(FB.B(a,aP),FB.B(b,aP))))},zbb=function(a){return["$",l.j(cP(Vy.j(a))),"$"].join("")},Abb=function(a){return["$$",l.j(cP(Vy.j(a))),"$$"].join("")},dP=function(a,b,c,d,g,k){this.f=a;this.atom=b;this.params=c;this.fa=d;this.ba=g;this.ga=k;this.ha=2230716170;this.ja=139264},eP=function(a){return a instanceof dP},Cbb=function(a){return nu.B(Bbb,a)},Dbb=function(a){return pm(function(b){return h(Rc(b))?ij.G(b,ci,tn):b},a)},Ebb=function(a){return eP(a)||hd(a)&&!(a instanceof n)},Fbb=function(a){return Zc(a)&& -!eP(a)},Gbb=function(a){return Ebb(a)?eP(a)?Ii.G(a,Pt,function(b){return function(){function c(g){var k=null;if(0b?Hh.B(a, -b):null},Seb=function(a,b,c,d){b=a.create(b,po(c),po(ci.B(d,"on")));d=d.j?d.j("on"):d.call(null,"on");if(h(d)){c=r(d);for(var g=null,k=0,m=0;;)if(mc)break a;var m=x.G(Jfb,d,null),q=g+1;k+=m/g;d+=1;g=q}return b+Math.log(k/a*Kfb)},Lfb=function(a,b,c){return 0c?(a-1)*Math.log(c)+(b-1)*Math.log(1-c)-Mfb(a,b):-Infinity},Ofb=function(a,b){return Math.log(h(b)?a:1-a)},Qfb=function(a,b,c){a=(c-a)/b;return-Pfb-Math.log(b)-Math.log(1+a*a)},Rfb=function(a,b){return 0<=b?Math.log(a)-a*b:-Infinity},Tfb=function(a,b,c){a=c-a;b*=b;return-.5*(Sfb+Math.log(b)+a*a/b)},Ufb=function(a,b,c){return a<=c&&c<=b?-Math.log(b-a):-Infinity},Vfb=function(a,b){return Math.pow(a,b)},Wfb=function(a,b){if(null!=a&&null!=a.me)a=a.me(a,b);else{var c=Wfb[ba(null==a?null:a)];if(null!= -c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=Wfb._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw jb("PRandomVariable.sample-1",a);}return a},Xfb=function(a){var b=a.nb;a=a.mb;return yQ[b&255]+yQ[b>>8&255]+yQ[b>>16&255]+yQ[b>>24&255]+yQ[a&255]+yQ[a>>8&255]+yQ[a>>16&255]+yQ[a>>24&255]},zQ=function(a,b){var c=a.mb>>>16,d=a.mb&65535,g=a.nb>>>16;a=a.nb&65535;var k=b.mb>>>16,m=b.mb&65535,q=b.nb>>>16;b=b.nb&65535;var v=[0,0,0,0];v[0]=a*b;v[1]=v[0]>>>16;v[0]&=65535;v[1]+=g*b;v[2]=v[1]>>>16;v[1]&=65535; -v[1]+=a*q;v[2]+=v[1]>>>16;v[1]&=65535;v[2]+=d*b;v[3]=v[2]>>>16;v[2]&=65535;v[2]+=g*q;v[3]+=v[2]>>>16;v[2]&=65535;v[2]+=a*m;v[3]+=v[2]>>>16;v[2]&=65535;v[3]=v[3]+c*b+d*q+g*m+a*k;v[3]&=65535;return ia(v[1]<<16|v[0],v[3]<<16|v[2])},AQ=function(a){if(null!=a&&null!=a.Mi)a=a.Mi(a);else{var b=AQ[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=AQ._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("IRandom.rand-double",a);}return a},BQ=function(a){if(null!=a&&null!=a.Ni)a=a.Ni(a);else{var b= -BQ[ba(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=BQ._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw jb("IRandom.split",a);}return a},CQ=function(a,b){return naa(a,b).xor(a)},Yfb=function(a,b){this.gamma=a;this.state=b},agb=function(a){var b="number"===typeof a?oa(a):a instanceof ha?a:null;if(!h(b))throw xh.B("Bad random seed!",new f(null,1,[Zfb,a],null));return new Yfb($fb,b)},cgb=function(a){var b=BQ(a);a=x.G(b,0,null);b=x.G(b,1,null);return Math.sqrt(-2*Math.log(AQ(a)))* -Math.cos(2*bgb*AQ(b))},egb=function(a,b){var c=a+1,d=c-1/3,g=1/Math.sqrt(9*d);b=BQ(b);var k=x.G(b,0,null),m=x.G(b,1,null);b=function(){for(var v=k;;){var w=BQ(v);v=x.G(w,0,null);a:for(w=x.G(w,1,null);;){var A=cgb(w);var D=1+g*A;if(0>=D)w=dgb(w);else{A=new E(null,2,5,F,[A,D],null);break a}}w=x.G(A,0,null);A=x.G(A,1,null);A*=A*A;D=AQ(v);if(D>1-.331*Vfb(w,4)&&Math.log(D)>.5*w*w+d*(1+-A+Math.log(A)))v=dgb(v);else return new E(null,2,5,F,[A,D],null)}}();var q=x.G(b,0,null);x.G(b,1,null);return Fc.B(a, -c)?d*q:Vfb(function(){for(var v=m;;){var w=AQ(v);if(0>>0),caa=0;iaa[" "]=function(){};var ha=class{constructor(a,b){this.nb=a|0;this.mb=b|0}wj(){return this.nb}toNumber(){return 4294967296*this.mb+(this.nb>>>0)}isSafeInteger(){var a=this.mb>>21;return 0==a||-1==a&&!(0==this.nb&&-2097152==this.mb)}toString(a){a=a||10;if(2>a||36>2);var c=Math.pow(a,b),d=ia(c,c/4294967296);c=this.div(d);d=Math.abs(this.subtract(c.multiply(d)).toNumber());var g=10==a?""+d:d.toString(a); -g.lengththis.mb}Lh(){return 1==(this.nb&1)}equals(a){return this.nb==a.nb&&this.mb==a.mb}lessThan(a){return 0>this.compare(a)}lessThanOrEqual(a){return 0>=this.compare(a)}greaterThan(a){return 0>>0>a.nb>>>0?1:-1:this.mb>a.mb?1:-1}qb(){var a= -~this.nb+1|0;return ia(a,~this.mb+!a|0)}add(a){var b=this.mb>>>16,c=this.mb&65535,d=this.nb>>>16,g=a.mb>>>16,k=a.mb&65535,m=a.nb>>>16;a=(this.nb&65535)+(a.nb&65535);m=(a>>>16)+(d+m);d=m>>>16;d+=c+k;b=(d>>>16)+(b+g)&65535;return ia((m&65535)<<16|a&65535,b<<16|d&65535)}subtract(a){return this.add(a.qb())}multiply(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.mb>>>16,c=this.mb&65535,d=this.nb>>>16,g=this.nb&65535,k=a.mb>>>16,m=a.mb&65535,q=a.nb>>>16;a=a.nb&65535;var v=g*a;var w=(v>>> -16)+d*a;var A=w>>>16;w=(w&65535)+g*q;A+=w>>>16;A+=c*a;var D=A>>>16;A=(A&65535)+d*q;D+=A>>>16;A=(A&65535)+g*m;D=D+(A>>>16)+(b*a+c*q+d*m+g*k)&65535;return ia((w&65535)<<16|v&65535,D<<16|A&65535)}div(a){if(a.isZero())throw Error("division by zero");if(this.Gb()){if(this.equals(maa)){if(a.equals(qz)||a.equals(Qib))return maa;if(a.equals(maa))return qz;var b=this.Zd(1).div(a).shiftLeft(1);if(b.equals(la))return a.Gb()?qz:Qib;var c=this.subtract(a.multiply(b));return b.add(c.div(a))}return a.Gb()?this.qb().div(a.qb()): -this.qb().div(a).qb()}if(this.isZero())return la;if(a.Gb())return a.equals(maa)?la:this.div(a.qb()).qb();var d=la;for(c=this;c.greaterThanOrEqual(a);){b=Math.max(1,Math.floor(c.toNumber()/a.toNumber()));var g=Math.ceil(Math.log(b)/Math.LN2);g=48>=g?1:Math.pow(2,g-48);for(var k=oa(b),m=k.multiply(a);m.Gb()||m.greaterThan(c);)b-=g,k=oa(b),m=k.multiply(a);k.isZero()&&(k=qz);d=d.add(k);c=c.subtract(m)}return d}Oh(a){return this.subtract(this.div(a).multiply(a))}not(){return ia(~this.nb,~this.mb)}and(a){return ia(this.nb& -a.nb,this.mb&a.mb)}or(a){return ia(this.nb|a.nb,this.mb|a.mb)}xor(a){return ia(this.nb^a.nb,this.mb^a.mb)}shiftLeft(a){a&=63;if(0==a)return this;var b=this.nb;return 32>a?ia(b<>>32-a):ia(0,b<a?ia(this.nb>>>a|b<<32-a,b>>a):ia(b>>a-32,0<=b?0:-1)}},la=ia(0,0),qz=ia(1,0),Qib=ia(-1,-1),laa=ia(4294967295,2147483647),maa=ia(0,2147483648);var jaa={},paa=4294967296,ta=oaa(0),ya=oaa(1),Rib=oaa(16777216);e=sa.prototype;e.wj=function(){return 0a||36>>0).toString(a);c=g;if(c.isZero())return k+d;for(;6>k.length;)k="0"+k;d=""+k+d}};e.isZero=function(){if(0!=this.Oc)return!1;for(var a=0;athis.compare(a)};e.lessThanOrEqual=function(a){return 0>=this.compare(a)}; -e.compare=function(a){a=this.subtract(a);return a.Gb()?-1:a.isZero()?0:1};e.qb=function(){return this.not().add(ya)};e.abs=function(){return this.Gb()?this.qb():this};e.add=function(a){for(var b=Math.max(this.Hb.length,a.Hb.length),c=[],d=0,g=0;g<=b;g++){var k=d+(xa(this,g)&65535)+(xa(a,g)&65535),m=(k>>>16)+(xa(this,g)>>>16)+(xa(a,g)>>>16);d=m>>>16;k&=65535;m&=65535;c[g]=m<<16|k}return new sa(c,c[c.length-1]&-2147483648?-1:0)};e.subtract=function(a){return this.add(a.qb())}; -e.multiply=function(a){if(this.isZero()||a.isZero())return ta;if(this.Gb())return a.Gb()?this.qb().multiply(a.qb()):this.qb().multiply(a).qb();if(a.Gb())return this.multiply(a.qb()).qb();if(this.lessThan(Rib)&&a.lessThan(Rib))return ua(this.toNumber()*a.toNumber());for(var b=this.Hb.length+a.Hb.length,c=[],d=0;d<2*b;d++)c[d]=0;for(d=0;d>>16,m=xa(this,d)&65535,q=xa(a,g)>>>16,v=xa(a,g)&65535;c[2*d+2*g]+=m*v;qaa(c,2*d+2*g);c[2*d+2*g+ -1]+=k*v;qaa(c,2*d+2*g+1);c[2*d+2*g+1]+=m*q;qaa(c,2*d+2*g+1);c[2*d+2*g+2]+=k*q;qaa(c,2*d+2*g+2)}for(d=0;d>5;a%=32;for(var c=this.Hb.length+b+(0>>32-a:xa(this,g-b);return new sa(d,this.Oc)};e.Zd=function(a){var b=a>>5;a%=32;for(var c=this.Hb.length-b,d=[],g=0;g>>a|xa(this,g+b+1)<<32-a:xa(this,g+b);return new sa(d,this.Oc)};var Faa;var Jh=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};var uaa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Hra=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(let c=0;c>>16&65535)*d+c*(b>>>16&65535)<<16>>>0)|0},$ba={},aca=0;e=n.prototype;e.toString=function(){return this.str};e.equiv=function(a){return this.ma(null,a)};e.ma=function(a,b){return b instanceof n?this.str===b.str:!1}; -e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.j=function(a){return y.B?y.B(a,this):y.call(null,a,this)};e.B=function(a,b){return y.G?y.G(a,this,b):y.call(null,a,this,b)};e.oa=function(){return this.hd}; -e.pa=function(a,b){return new n(this.ns,this.name,this.str,this.We,b)};e.ta=function(){var a=this.We;return null!=a?a:this.We=a=eca(this)};e.Ye=function(){return this.name};e.Ze=function(){return this.ns};e.qa=function(a,b){return Ob(b,this.str)};var J=function J(a){switch(arguments.length){case 1:return J.j(arguments[0]);case 2:return J.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -J.j=function(a){for(;;){if(a instanceof n)return a;if("string"===typeof a){var b=a.indexOf("/");return 1>b?J.B(null,a):J.B(a.substring(0,b),a.substring(b+1,a.length))}if(gca(a))return a.Kb;if(a instanceof B)a=a.la;else throw Error("no conversion to symbol");}};J.B=function(a,b){var c=null!=a?[l.j(a),"/",l.j(b)].join(""):b;return new n(a,b,c,null,null)};J.aa=2;e=p.prototype;e.toString=function(){return["#'",l.j(this.Kb)].join("")};e.ib=function(){return this.val.ca?this.val.ca():this.val.call(null)}; -e.oa=function(){return this.hd};e.pa=function(a,b){return new p(this.val,this.Kb,b)};e.ma=function(a,b){return b instanceof p?(a=this.Kb,b=b.Kb,Fc.B?Fc.B(a,b):Fc.call(null,a,b)):!1};e.ta=function(){return eca(this.Kb)};e.pi=lc; -e.call=function(a){switch(arguments.length-1){case 0:return this.ca();case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.xa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.La(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Aa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ba(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); -case 11:return this.Ca(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.Da(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ea(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], -arguments[11],arguments[12],arguments[13]);case 14:return this.Fa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Ga(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Ha(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ja(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Va(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.jb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], -arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.ca=function(){var a=this.val.ca?this.val.ca():this.val.call(null);return a.ca?a.ca():a.call(null)};e.j=function(a){var b=this.val.ca?this.val.ca():this.val.call(null);return b.j?b.j(a):b.call(null,a)}; -e.B=function(a,b){var c=this.val.ca?this.val.ca():this.val.call(null);return c.B?c.B(a,b):c.call(null,a,b)};e.G=function(a,b,c){var d=this.val.ca?this.val.ca():this.val.call(null);return d.G?d.G(a,b,c):d.call(null,a,b,c)};e.da=function(a,b,c,d){var g=this.val.ca?this.val.ca():this.val.call(null);return g.da?g.da(a,b,c,d):g.call(null,a,b,c,d)};e.ia=function(a,b,c,d,g){var k=this.val.ca?this.val.ca():this.val.call(null);return k.ia?k.ia(a,b,c,d,g):k.call(null,a,b,c,d,g)}; -e.xa=function(a,b,c,d,g,k){var m=this.val.ca?this.val.ca():this.val.call(null);return m.xa?m.xa(a,b,c,d,g,k):m.call(null,a,b,c,d,g,k)};e.La=function(a,b,c,d,g,k,m){var q=this.val.ca?this.val.ca():this.val.call(null);return q.La?q.La(a,b,c,d,g,k,m):q.call(null,a,b,c,d,g,k,m)};e.Aa=function(a,b,c,d,g,k,m,q){var v=this.val.ca?this.val.ca():this.val.call(null);return v.Aa?v.Aa(a,b,c,d,g,k,m,q):v.call(null,a,b,c,d,g,k,m,q)}; -e.Ma=function(a,b,c,d,g,k,m,q,v){var w=this.val.ca?this.val.ca():this.val.call(null);return w.Ma?w.Ma(a,b,c,d,g,k,m,q,v):w.call(null,a,b,c,d,g,k,m,q,v)};e.Ba=function(a,b,c,d,g,k,m,q,v,w){var A=this.val.ca?this.val.ca():this.val.call(null);return A.Ba?A.Ba(a,b,c,d,g,k,m,q,v,w):A.call(null,a,b,c,d,g,k,m,q,v,w)};e.Ca=function(a,b,c,d,g,k,m,q,v,w,A){var D=this.val.ca?this.val.ca():this.val.call(null);return D.Ca?D.Ca(a,b,c,d,g,k,m,q,v,w,A):D.call(null,a,b,c,d,g,k,m,q,v,w,A)}; -e.Da=function(a,b,c,d,g,k,m,q,v,w,A,D){var G=this.val.ca?this.val.ca():this.val.call(null);return G.Da?G.Da(a,b,c,d,g,k,m,q,v,w,A,D):G.call(null,a,b,c,d,g,k,m,q,v,w,A,D)};e.Ea=function(a,b,c,d,g,k,m,q,v,w,A,D,G){var Q=this.val.ca?this.val.ca():this.val.call(null);return Q.Ea?Q.Ea(a,b,c,d,g,k,m,q,v,w,A,D,G):Q.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G)}; -e.Fa=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q){var U=this.val.ca?this.val.ca():this.val.call(null);return U.Fa?U.Fa(a,b,c,d,g,k,m,q,v,w,A,D,G,Q):U.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q)};e.Ga=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U){var aa=this.val.ca?this.val.ca():this.val.call(null);return aa.Ga?aa.Ga(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U):aa.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U)}; -e.Ha=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa){var ja=this.val.ca?this.val.ca():this.val.call(null);return ja.Ha?ja.Ha(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa):ja.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa)};e.Ia=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja){var ma=this.val.ca?this.val.ca():this.val.call(null);return ma.Ia?ma.Ia(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja):ma.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja)}; -e.Ja=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma){var pa=this.val.ca?this.val.ca():this.val.call(null);return pa.Ja?pa.Ja(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma):pa.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma)};e.Ka=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa){var ra=this.val.ca?this.val.ca():this.val.call(null);return ra.Ka?ra.Ka(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa):ra.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa)}; -e.Va=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra){var wa=this.val.ca?this.val.ca():this.val.call(null);return wa.Va?wa.Va(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra):wa.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra)};e.jb=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa){var Ga=this.val.ca?this.val.ca():this.val.call(null);return qe.kd?qe.kd(Ga,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa):qe.call(null,Ga,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa)}; -var Fc=function Fc(a){switch(arguments.length){case 1:return Fc.j(arguments[0]);case 2:return Fc.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(g=d)return-1;!(0c&&(c+=d,c=0>c?0:c);for(;;)if(ca?0:a};e.nd=function(){var a=this.va(null);return 0b)throw Error("Index out of bounds");a:for(;;){if(null==a)throw Error("Index out of bounds"); -if(0===b){if(r(a)){a=t(a);break a}throw Error("Index out of bounds");}if(sca(a)){a=Nc(a,b);break a}if(r(a))a=u(a),--b;else throw Error("Index out of bounds");}return a}if(gb(fba,a))return Nc(a,b);throw Error(["nth not supported on this type ",l.j(Uaa(hb(a)))].join(""));}; -x.G=function(a,b,c){if("number"!==typeof b)throw Error("Index argument to nth must be a number.");if(null==a)return c;if(null!=a&&(a.ha&16||lc===a.ti))return a.ub(null,b,c);if(ab(a))return-1b?c:wca(a,b,c);if(gb(fba,a))return Nc(a,b,c);throw Error(["nth not supported on this type ",l.j(Uaa(hb(a)))].join(""));};x.aa=3; -var y=function y(a){switch(arguments.length){case 2:return y.B(arguments[0],arguments[1]);case 3:return y.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};y.B=function(a,b){return null==a?null:null!=a&&(a.ha&256||lc===a.vi)?a.ya(null,b):ab(a)?null!=b&&bb};gR.J=function(a,b,c){for(;;)if(a>b)if(u(c))a=b,b=t(c),c=u(c);else return b>t(c);else return!1};gR.ea=function(a){var b=t(a),c=u(a);a=t(c);c=u(c);return this.J(b,a,c)};gR.aa=2; -var hR=function hR(a){switch(arguments.length){case 1:return hR.j(arguments[0]);case 2:return hR.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(g=b};hR.J=function(a,b,c){for(;;)if(a>=b)if(u(c))a=b,b=t(c),c=u(c);else return b>=t(c);else return!1}; -hR.ea=function(a){var b=t(a),c=u(a);a=t(c);c=u(c);return this.J(b,a,c)};hR.aa=2;var Ji=function Ji(a){switch(arguments.length){case 1:return Ji.j(arguments[0]);case 2:return Ji.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gb?a:b};Ji.J=function(a,b,c){return rd.G(Ji,a>b?a:b,c)}; -Ji.ea=function(a){var b=t(a),c=u(a);a=t(c);c=u(c);return this.J(b,a,c)};Ji.aa=2;var Wu=function Wu(a){switch(arguments.length){case 1:return Wu.j(arguments[0]);case 2:return Wu.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gd:g))c[d]=a.next(),d+=1;else return Xd(sR.G(c,0,d),yJ.j?yJ.j(a):yJ.call(null,a))}else return null},null,null)}; -le.prototype.step=function(){if(this._next!==me)return!0;for(;;)if(this._next===me)if(this.buffer.isEmpty()){if(this.oh)return!1;if(this.Yh.hasNext()){if(this.multi)var a=qe.B(this.wc,Jd(null,this.Yh.next()));else a=this.Yh.next(),a=this.wc.B?this.wc.B(null,a):this.wc.call(null,null,a);Ac(a)&&(this.wc.j?this.wc.j(null):this.wc.call(null,null),this.oh=!0)}else this.wc.j?this.wc.j(null):this.wc.call(null,null),this.oh=!0}else this._next=this.buffer.remove();else return!0};le.prototype.hasNext=function(){return this.step()}; -le.prototype.next=function(){if(this.hasNext()){var a=this._next;this._next=me;return a}throw Error("No such element");};le.prototype.remove=function(){return Error("Unsupported operation")};le.prototype[oc]=function(){return tc(this)}; -var Nj=function Nj(a){switch(arguments.length){case 1:return Nj.j(arguments[0]);case 2:return Nj.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(g>>b&31;5===b?k.arr[m]=d:(c=c.arr[m],null!=c?(b-=5,a=bjb.da?bjb.da(a,b,c,d):bjb.call(null,a,b,c,d)):a=qea(null,b-5,d),k.arr[m]=a);return k},cjb=function cjb(a,b,c,d,g){var m=pea(c);if(0===b)m.arr[d&31]=g;else{var q=d>>>b&31;b-=5;c=c.arr[q];a=cjb.ia?cjb.ia(a,b,c,d,g):cjb.call(null,a,b,c,d,g);m.arr[q]=a}return m},djb=function djb(a,b,c){var g=a.na-2>>>b&31;if(5=this.na)return new pc(this.tail,0,null);a:{var a=this.root;for(var b=this.shift;;)if(0this.na-Ne(this)){a=this.tail.length;for(var c=Array(a+1),d=0;;)if(d>>5>1<b)return null;a=this.start+b;return ab||this.end<=this.start+b?rea(b,this.end-this.start):Nc(this.v,this.start+b)};e.ub=function(a,b,c){return 0>b||this.end<=this.start+b?c:Nc(this.v,this.start+b,c)}; -e.wd=function(a,b,c){a=this.start+b;if(0>b||this.end+1<=a)throw Error(["Index ",l.j(b)," out of bounds [0,",l.j(this.va(null)),"]"].join(""));b=this.meta;c=Lf.G(this.v,a,c);var d=this.start,g=this.end;a+=1;a=g>a?g:a;return We.ia?We.ia(b,c,d,a,null):We.call(null,b,c,d,a,null)};e.Oa=function(){return null!=this.v&&lc===this.v.Yg?uea(this.v,this.start,this.end):bea(this)};e.oa=function(){return this.meta};e.Qa=function(){return new Ve(this.meta,this.v,this.start,this.end,this.ga)}; -e.va=function(){return this.end-this.start};e.be=function(){return this.start===this.end?null:Nc(this.v,this.end-1)};e.ce=function(){if(this.start===this.end)throw Error("Can't pop empty vector");var a=this.meta,b=this.v,c=this.start,d=this.end-1;return We.ia?We.ia(a,b,c,d,null):We.call(null,a,b,c,d,null)};e.nd=function(){return this.start!==this.end?new Hc(this,this.end-this.start-1,null):null};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)};e.ma=function(a,b){return Dd(this,b)}; -e.gb=function(){return Db(Ke,this.meta)};e.xb=function(a,b){return null!=this.v&&lc===this.v.Yg?wea(this.v,b,this.start,this.end):qca(this,b)};e.vb=function(a,b,c){return null!=this.v&&lc===this.v.Yg?vea(this.v,b,c,this.start,this.end):rca(this,b,c)};e.ra=function(a,b,c){if("number"===typeof b)return this.wd(null,b,c);throw Error("Subvec's key for assoc must be a number.");};e.Na=function(a,b){return id(b)?0<=b&&b>>b&31;if(5===b)a=d;else{var m=c.arr[k];null!=m?(b-=5,a=ejb.da?ejb.da(a,b,m,d):ejb.call(null,a,b,m,d)):a=qea(a.root.kb,b-5,d)}c.arr[k]=a;return c},fjb=function fjb(a,b,c){c=xea(a.root.kb,c);var g=a.na-2>>>b&31;if(5this.na-Ne(this))this.tail[this.na&31]=b;else{a=new Me(this.root.kb,this.tail);var c=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];c[0]=b;this.tail=c;this.na>>>5>1<>>k&31;k=q(k-5,m.arr[v]);m.arr[v]=k}return m}(d.shift,d.root),d.root=a),this;if(b===d.na)return this.ff(null,c);throw Error(["Index ",l.j(b)," out of bounds for TransientVector of length",l.j(d.na)].join(""));}throw Error("assoc! after persistent!");}; -e.Fi=function(){if(this.root.kb){if(0===this.na)throw Error("Can't pop empty vector");if(1===this.na)this.na=0;else if(0<(this.na-1&31))--this.na;else{a:{var a=this.na-2;if(a>=Ne(this))a=this.tail;else for(var b=this.root,c=b,d=this.shift;;)if(0>>d&31]),d-=5;else{a=c.arr;break a}}b=fjb(this,this.shift,this.root);b=null!=b?b:new Me(this.root.kb,[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null, -null,null,null,null,null]);5ijb||this.keys.length>=ijb)return Eea(this,b,c);if(null!=af(b,this.keys))return a=Fea(this.pe,this.keys),a[b]=c,new df(this.meta,this.keys,a,this.hg+1,null);a=Fea(this.pe,this.keys);var d=kb(this.keys);a[b]=c;d.push(b);return new df(this.meta,d,a,this.hg+1,null)}return Eea(this,b,c)};e.Na=function(a,b){return"string"===typeof b&&null!=af(b,this.keys)?!0:!1}; -e.sa=function(){var a=this;return 0=a)return new f(this.meta,this.na-1,c,null);Fc.B(b,this.arr[d])?d+=2:(c[g]=this.arr[d],c[g+1]=this.arr[d+1],g+=2,d+=2)}}else return this}; -e.ra=function(a,b,c){a=ff(this.arr,b);if(-1===a){if(this.nab?4:2*(b+1));cd(this.arr,0,c,0,2*b);return new of(a,this.pb,c)}; -e.Rf=function(a,b,c,d,g){var k=1<<(c>>>b&31);if(0===(this.pb&k))return this;var m=Bd(this.pb&k-1),q=this.arr[2*m],v=this.arr[2*m+1];return null==q?(b=v.Rf(a,b+5,c,d,g),b===v?this:null!=b?mf(this,a,2*m+1,b):this.pb===k?null:Tea(this,a,k,m)):hf(d,q)?(g.val=!0,Tea(this,a,k,m)):this};e.Pf=function(){return Yea?Yea(this.arr):wf.call(null,this.arr)};e.Oe=function(a,b){return Sea(this.arr,a,b)}; -e.ze=function(a,b,c,d){var g=1<<(b>>>a&31);if(0===(this.pb&g))return d;var k=Bd(this.pb&g-1);g=this.arr[2*k];k=this.arr[2*k+1];return null==g?k.ze(a+5,b,c,d):hf(c,g)?k:d}; -e.Dd=function(a,b,c,d,g,k){var m=1<<(c>>>b&31),q=Bd(this.pb&m-1);if(0===(this.pb&m)){var v=Bd(this.pb);if(2*v>>b&31]=tf.Dd(a,b+5,c,d,g,k);for(g=d=0;;)if(32>d)0===(this.pb>>> -d&1)?d+=1:(q[d]=null!=this.arr[g]?tf.Dd(a,b+5,mc(this.arr[g]),this.arr[g],this.arr[g+1],k):this.arr[g+1],g+=2,d+=1);else break;return new qf(a,v+1,q)}b=Array(2*(v+4));cd(this.arr,0,b,0,2*q);b[2*q]=d;b[2*q+1]=g;cd(this.arr,2*q,b,2*(q+1),2*(v-q));k.val=!0;a=this.je(a);a.arr=b;a.pb|=m;return a}v=this.arr[2*q];m=this.arr[2*q+1];if(null==v)return v=m.Dd(a,b+5,c,d,g,k),v===m?this:mf(this,a,2*q+1,v);if(hf(d,v))return g===m?this:mf(this,a,2*q+1,g);k.val=!0;k=b+5;d=Wea?Wea(a,k,v,m,c,d,g):Xea.call(null,a,k, -v,m,c,d,g);g=2*q;q=2*q+1;a=this.je(a);a.arr[g]=null;a.arr[q]=d;return a}; -e.Cd=function(a,b,c,d,g){var k=1<<(b>>>a&31),m=Bd(this.pb&k-1);if(0===(this.pb&k)){var q=Bd(this.pb);if(16<=q){m=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];m[b>>>a&31]=tf.Cd(a+5,b,c,d,g);for(d=c=0;;)if(32>c)0===(this.pb>>>c&1)?c+=1:(m[c]=null!=this.arr[d]?tf.Cd(a+5,mc(this.arr[d]),this.arr[d],this.arr[d+1],g):this.arr[d+1],d+=2,c+=1);else break;return new qf(null,q+1,m)}a=Array(2* -(q+1));cd(this.arr,0,a,0,2*m);a[2*m]=c;a[2*m+1]=d;cd(this.arr,2*m,a,2*(m+1),2*(q-m));g.val=!0;return new of(null,this.pb|k,a)}var v=this.arr[2*m];k=this.arr[2*m+1];if(null==v)return q=k.Cd(a+5,b,c,d,g),q===k?this:new of(null,this.pb,lf(this.arr,2*m+1,q));if(hf(c,v))return d===k?this:new of(null,this.pb,lf(this.arr,2*m+1,d));g.val=!0;g=this.pb;q=this.arr;a+=5;a=Vea?Vea(a,v,k,b,c,d):Xea.call(null,a,v,k,b,c,d);c=2*m;m=2*m+1;d=kb(q);d[c]=null;d[m]=a;return new of(null,g,d)}; -e.Of=function(a,b,c,d){var g=1<<(b>>>a&31);if(0===(this.pb&g))return d;var k=Bd(this.pb&g-1);g=this.arr[2*k];k=this.arr[2*k+1];return null==g?k.Of(a+5,b,c,d):hf(c,g)?new md(g,k,null):d}; -e.Qf=function(a,b,c){var d=1<<(b>>>a&31);if(0===(this.pb&d))return this;var g=Bd(this.pb&d-1),k=this.arr[2*g],m=this.arr[2*g+1];return null==k?(a=m.Qf(a+5,b,c),a===m?this:null!=a?new of(null,this.pb,lf(this.arr,2*g+1,a)):this.pb===d?null:new of(null,this.pb^d,Rea(this.arr,g))):hf(c,k)?this.pb===d?null:new of(null,this.pb^d,Rea(this.arr,g)):this};e.Oa=function(){return new nf(this.arr,0,null,null)};var tf=new of(null,0,[]); -pf.prototype.hasNext=function(){for(var a=this.arr.length;;){if(null!=this.Hd&&this.Hd.hasNext())return!0;if(this.i>>b&31,m=this.arr[k];if(null==m)return this;b=m.Rf(a,b+5,c,d,g);if(b===m)return this;if(null==b){if(8>=this.na)return Uea(this,a,k);a=mf(this,a,k,b);--a.na;return a}return mf(this,a,k,b)};e.Pf=function(){return Zea?Zea(this.arr):$ea.call(null,this.arr)};e.Oe=function(a,b){for(var c=this.arr.length,d=0;;)if(d>>a&31];return null!=g?g.ze(a+5,b,c,d):d};e.Dd=function(a,b,c,d,g,k){var m=c>>>b&31,q=this.arr[m];if(null==q)return a=mf(this,a,m,tf.Dd(a,b+5,c,d,g,k)),a.na+=1,a;b=q.Dd(a,b+5,c,d,g,k);return b===q?this:mf(this,a,m,b)};e.Cd=function(a,b,c,d,g){var k=b>>>a&31,m=this.arr[k];if(null==m)return new qf(null,this.na+1,lf(this.arr,k,tf.Cd(a+5,b,c,d,g)));a=m.Cd(a+5,b,c,d,g);return a===m?this:new qf(null,this.na,lf(this.arr,k,a))}; -e.Of=function(a,b,c,d){var g=this.arr[b>>>a&31];return null!=g?g.Of(a+5,b,c,d):d};e.Qf=function(a,b,c){var d=b>>>a&31,g=this.arr[d];return null!=g?(a=g.Qf(a+5,b,c),a===g?this:null==a?8>=this.na?Uea(this,null,d):new qf(null,this.na-1,lf(this.arr,d,a)):new qf(null,this.na,lf(this.arr,d,a))):this};e.Oa=function(){return new pf(this.arr,0,null)};e=sf.prototype;e.je=function(a){if(a===this.kb)return this;var b=Array(2*(this.na+1));cd(this.arr,0,b,0,2*this.na);return new sf(a,this.fe,this.na,b)}; -e.Rf=function(a,b,c,d,g){b=rf(this.arr,this.na,d);if(-1===b)return this;g.val=!0;if(1===this.na)return null;a=this.je(a);g=a.arr;g[b]=g[2*this.na-2];g[b+1]=g[2*this.na-1];g[2*this.na-1]=null;g[2*this.na-2]=null;--a.na;return a};e.Pf=function(){return Yea?Yea(this.arr):wf.call(null,this.arr)};e.Oe=function(a,b){return Sea(this.arr,a,b)};e.ze=function(a,b,c,d){a=rf(this.arr,this.na,c);return 0>a?d:hf(c,this.arr[a])?this.arr[a+1]:d}; -e.Dd=function(a,b,c,d,g,k){if(c===this.fe){b=rf(this.arr,this.na,d);if(-1===b){if(this.arr.length>2*this.na)return b=2*this.na,c=2*this.na+1,a=this.je(a),a.arr[b]=d,a.arr[c]=g,k.val=!0,a.na+=1,a;c=this.arr.length;b=Array(c+2);cd(this.arr,0,b,0,c);b[c]=d;b[c+1]=g;k.val=!0;d=this.na+1;a===this.kb?(this.arr=b,this.na=d,a=this):a=new sf(this.kb,this.fe,d,b);return a}return this.arr[b+1]===g?this:mf(this,a,b+1,g)}return(new of(a,1<<(this.fe>>>b&31),[null,this,null,null])).Dd(a,b,c,d,g,k)}; -e.Cd=function(a,b,c,d,g){return b===this.fe?(a=rf(this.arr,this.na,c),-1===a?(a=2*this.na,b=Array(a+2),cd(this.arr,0,b,0,a),b[a]=c,b[a+1]=d,g.val=!0,new sf(null,this.fe,this.na+1,b)):Fc.B(this.arr[a+1],d)?this:new sf(null,this.fe,this.na,lf(this.arr,a+1,d))):(new of(null,1<<(this.fe>>>a&31),[null,this])).Cd(a,b,c,d,g)};e.Of=function(a,b,c,d){a=rf(this.arr,this.na,c);return 0>a?d:hf(c,this.arr[a])?new md(this.arr[a],this.arr[a+1],null):d}; -e.Qf=function(a,b,c){a=rf(this.arr,this.na,c);return-1===a?this:1===this.na?null:new sf(null,this.fe,this.na-1,Rea(this.arr,zd(a,2)))};e.Oa=function(){return new nf(this.arr,0,null,null)};e=uf.prototype;e.toString=function(){return jc(this)};e.equiv=function(a){return this.ma(null,a)}; -e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return rJ.G(this,b,0);case 2:return rJ.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return rJ.G(this,b,0)};a.B=function(b,c){return rJ.G(this,b,c)};return a}(); -e.lastIndexOf=function(){function a(c){return Gc(this,c,Ec(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Gc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Gc(this,c,d)};return b}();e.oa=function(){return this.meta};e.Ib=function(){if(null==this.s){var a=this.nodes,b=this.i+2;return vf?vf(a,b,null):wf.call(null,a,b,null)}a=this.nodes;b=this.i;var c=u(this.s);return vf?vf(a,b,c):wf.call(null,a,b,c)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)};e.ma=function(a,b){return Dd(this,b)};e.gb=function(){return rc};e.xb=function(a,b){return pd(b,this)};e.vb=function(a,b,c){return qd(b,c,this)};e.zb=function(){return null==this.s?new md(this.nodes[this.i],this.nodes[this.i+1],null):t(this.s)}; -e.Lb=function(){var a=this,b=null==a.s?function(){var c=a.nodes,d=a.i+2;return vf?vf(c,d,null):wf.call(null,c,d,null)}():function(){var c=a.nodes,d=a.i,g=u(a.s);return vf?vf(c,d,g):wf.call(null,c,d,g)}();return null!=b?b:rc};e.sa=function(){return this};e.pa=function(a,b){return b===this.meta?this:new uf(b,this.nodes,this.i,this.s,this.ga)};e.wa=function(a,b){return Jd(b,this)};uf.prototype[oc]=function(){return tc(this)};e=xf.prototype;e.toString=function(){return jc(this)}; -e.equiv=function(a){return this.ma(null,a)};e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return rJ.G(this,b,0);case 2:return rJ.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return rJ.G(this,b,0)};a.B=function(b,c){return rJ.G(this,b,c)};return a}(); -e.lastIndexOf=function(){function a(c){return Gc(this,c,Ec(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Gc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Gc(this,c,d)};return b}();e.oa=function(){return this.meta};e.Ib=function(){var a=this.nodes,b=this.i,c=u(this.s);return zf?zf(a,b,c):$ea.call(null,a,b,c)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)}; -e.ma=function(a,b){return Dd(this,b)};e.gb=function(){return rc};e.xb=function(a,b){return pd(b,this)};e.vb=function(a,b,c){return qd(b,c,this)};e.zb=function(){return t(this.s)};e.Lb=function(){var a=this.nodes;var b=this.i,c=u(this.s);a=zf?zf(a,b,c):$ea.call(null,a,b,c);return null!=a?a:rc};e.sa=function(){return this};e.pa=function(a,b){return b===this.meta?this:new xf(b,this.nodes,this.i,this.s,this.ga)};e.wa=function(a,b){return Jd(b,this)};xf.prototype[oc]=function(){return tc(this)}; -Af.prototype.hasNext=function(){return!this.Xh||this.lj.hasNext()};Af.prototype.next=function(){if(this.Xh)return this.lj.next();this.Xh=!0;return new md(null,this.rc,null)};Af.prototype.remove=function(){return Error("Unsupported operation")};e=Bf.prototype;e.cd=lc;e.Rc=function(a,b){return null==b?this.kc?new md(null,this.rc,null):null:null==this.root?null:this.root.Of(0,mc(b),b,null)};e.toString=function(){return jc(this)};e.equiv=function(a){return this.ma(null,a)}; -e.keys=function(){return tc(Hf.j?Hf.j(this):Hf.call(null,this))};e.entries=function(){return Hea(r(this))};e.values=function(){return tc(Jf.j?Jf.j(this):Jf.call(null,this))};e.has=function(a){return ld(this,a)};e.get=function(a,b){return this.ka(null,a,b)}; -e.forEach=function(a){for(var b=r(this),c=null,d=0,g=0;;)if(gthis.na?Ec(u(this))+1:this.na};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)};e.ma=function(a,b){return Dd(this,b)};e.gb=function(){return rc};e.xb=function(a,b){return pd(b,this)};e.vb=function(a,b,c){return qd(b,c,this)};e.zb=function(){return Sc(this.stack)};e.Lb=function(){var a=t(this.stack);a=cfa(this.Fe?a.right:a.left,u(this.stack),this.Fe);return null!=a?new Cf(null,a,this.Fe,this.na-1,null):rc};e.sa=function(){return this}; -e.pa=function(a,b){return b===this.meta?this:new Cf(b,this.stack,this.Fe,this.na,this.ga)};e.wa=function(a,b){return Jd(b,this)};Cf.prototype[oc]=function(){return tc(this)};var zR=function zR(a,b,c){var g=null!=a.left?function(){var q=a.left;return zR.G?zR.G(q,b,c):zR.call(null,q,b,c)}():c;if(Ac(g))return g;var k=function(){var q=a.key,v=a.val;return b.G?b.G(g,q,v):b.call(null,g,q,v)}();if(Ac(k))return k;if(null!=a.right){var m=a.right;return zR.G?zR.G(m,b,k):zR.call(null,m,b,k)}return k};e=Ef.prototype; -e.cd=lc;e.Rc=function(a,b){switch(b){case 0:return new md(0,this.key,null);case 1:return new md(1,this.val,null);default:return null}};e.lastIndexOf=function(){function a(c){return Gc(this,c,Ec(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Gc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Gc(this,c,d)};return b}(); -e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return rJ.G(this,b,0);case 2:return rJ.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return rJ.G(this,b,0)};a.B=function(b,c){return rJ.G(this,b,c)};return a}();e.ki=function(a){return a.mi(this)};e.ag=function(){return new Df(this.key,this.val,this.left,this.right,null)};e.ae=function(){return this};e.ji=function(a){return a.li(this)};e.replace=function(a,b,c,d){return new Ef(a,b,c,d,null)}; -e.li=function(a){return new Ef(a.key,a.val,this,a.right,null)};e.mi=function(a){return new Ef(a.key,a.val,a.left,this,null)};e.Oe=function(a,b){return zR(this,a,b)};e.ya=function(a,b){return this.ub(null,b,null)};e.ka=function(a,b,c){return this.ub(null,b,c)};e.ua=function(a,b){if(0===b)return this.key;if(1===b)return this.val;throw Error("Index out of bounds");};e.ub=function(a,b,c){return 0===b?this.key:1===b?this.val:c}; -e.wd=function(a,b,c){return(new E(null,2,5,F,[this.key,this.val],null)).wd(null,b,c)};e.oa=function(){return null};e.va=function(){return 2};e.$g=function(){return this.key};e.ah=function(){return this.val};e.be=function(){return this.val};e.ce=function(){return new E(null,1,5,F,[this.key],null)};e.nd=function(){return new pc([this.val,this.key],0,null)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)};e.ma=function(a,b){return Dd(this,b)};e.gb=function(){return null}; -e.xb=function(a,b){return qca(this,b)};e.vb=function(a,b,c){return rca(this,b,c)};e.ra=function(a,b,c){return Lf.G(new E(null,2,5,F,[this.key,this.val],null),b,c)};e.Na=function(a,b){return 0===b||1===b};e.sa=function(){return new pc([this.key,this.val],0,null)};e.pa=function(a,b){return Db(new E(null,2,5,F,[this.key,this.val],null),b)};e.wa=function(a,b){return new E(null,3,5,F,[this.key,this.val,b],null)}; -e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.j=function(a){return this.ua(null,a)};e.B=function(a,b){return this.ub(null,a,b)};Ef.prototype[oc]=function(){return tc(this)};e=Df.prototype;e.cd=lc; -e.Rc=function(a,b){switch(b){case 0:return new md(0,this.key,null);case 1:return new md(1,this.val,null);default:return null}};e.lastIndexOf=function(){function a(c){return Gc(this,c,Ec(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Gc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Gc(this,c,d)};return b}(); -e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return rJ.G(this,b,0);case 2:return rJ.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return rJ.G(this,b,0)};a.B=function(b,c){return rJ.G(this,b,c)};return a}();e.ki=function(a){return new Df(this.key,this.val,this.left,a,null)};e.ag=function(){throw Error("red-black tree invariant violation");};e.ae=function(){return new Ef(this.key,this.val,this.left,this.right,null)}; -e.ji=function(a){return new Df(this.key,this.val,a,this.right,null)};e.replace=function(a,b,c,d){return new Df(a,b,c,d,null)};e.li=function(a){return this.left instanceof Df?new Df(this.key,this.val,this.left.ae(),new Ef(a.key,a.val,this.right,a.right,null),null):this.right instanceof Df?new Df(this.right.key,this.right.val,new Ef(this.key,this.val,this.left,this.right.left,null),new Ef(a.key,a.val,this.right.right,a.right,null),null):new Ef(a.key,a.val,this,a.right,null)}; -e.mi=function(a){return this.right instanceof Df?new Df(this.key,this.val,new Ef(a.key,a.val,a.left,this.left,null),this.right.ae(),null):this.left instanceof Df?new Df(this.left.key,this.left.val,new Ef(a.key,a.val,a.left,this.left.left,null),new Ef(this.key,this.val,this.left.right,this.right,null),null):new Ef(a.key,a.val,a.left,this,null)};e.Oe=function(a,b){return zR(this,a,b)};e.ya=function(a,b){return this.ub(null,b,null)};e.ka=function(a,b,c){return this.ub(null,b,c)}; -e.ua=function(a,b){if(0===b)return this.key;if(1===b)return this.val;throw Error("Index out of bounds");};e.ub=function(a,b,c){return 0===b?this.key:1===b?this.val:c};e.wd=function(a,b,c){return(new E(null,2,5,F,[this.key,this.val],null)).wd(null,b,c)};e.oa=function(){return null};e.va=function(){return 2};e.$g=function(){return this.key};e.ah=function(){return this.val};e.be=function(){return this.val};e.ce=function(){return new E(null,1,5,F,[this.key],null)}; -e.nd=function(){return new pc([this.val,this.key],0,null)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)};e.ma=function(a,b){return Dd(this,b)};e.gb=function(){return null};e.xb=function(a,b){return qca(this,b)};e.vb=function(a,b,c){return rca(this,b,c)};e.ra=function(a,b,c){return Lf.G(new E(null,2,5,F,[this.key,this.val],null),b,c)};e.Na=function(a,b){return 0===b||1===b};e.sa=function(){return new pc([this.key,this.val],0,null)}; -e.pa=function(a,b){return Db(new E(null,2,5,F,[this.key,this.val],null),b)};e.wa=function(a,b){return new E(null,3,5,F,[this.key,this.val,b],null)};e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.j=function(a){return this.ua(null,a)}; -e.B=function(a,b){return this.ub(null,a,b)};Df.prototype[oc]=function(){return tc(this)}; -var AR=function AR(a,b,c,d,g){if(null==b)return new Df(c,d,null,null,null);var m=function(){var q=b.key;return a.B?a.B(c,q):a.call(null,c,q)}();if(0===m)return g[0]=b,null;if(0>m)return m=function(){var q=b.left;return AR.ia?AR.ia(a,q,c,d,g):AR.call(null,a,q,c,d,g)}(),null!=m?b.ji(m):null;m=function(){var q=b.right;return AR.ia?AR.ia(a,q,c,d,g):AR.call(null,a,q,c,d,g)}();return null!=m?b.ki(m):null},BR=function BR(a,b){if(null==a)return b;if(null==b)return a;if(a instanceof Df){if(b instanceof Df){var d= -function(){var g=a.right,k=b.left;return BR.B?BR.B(g,k):BR.call(null,g,k)}();return d instanceof Df?new Df(d.key,d.val,new Df(a.key,a.val,a.left,d.left,null),new Df(b.key,b.val,d.right,b.right,null),null):new Df(a.key,a.val,a.left,new Df(b.key,b.val,d,b.right,null),null)}return new Df(a.key,a.val,a.left,function(){var g=a.right;return BR.B?BR.B(g,b):BR.call(null,g,b)}(),null)}if(b instanceof Df)return new Df(b.key,b.val,function(){var g=b.left;return BR.B?BR.B(a,g):BR.call(null,a,g)}(),b.right,null); -d=function(){var g=a.right,k=b.left;return BR.B?BR.B(g,k):BR.call(null,g,k)}();return d instanceof Df?new Df(d.key,d.val,new Ef(a.key,a.val,a.left,d.left,null),new Ef(b.key,b.val,d.right,b.right,null),null):gfa(a.key,a.val,a.left,new Ef(b.key,b.val,d,b.right,null))},CR=function CR(a,b,c,d){if(null!=b){var k=function(){var m=b.key;return a.B?a.B(c,m):a.call(null,c,m)}();if(0===k)return d[0]=b,BR(b.left,b.right);if(0>k)return k=function(){var m=b.left;return CR.da?CR.da(a,m,c,d):CR.call(null,a,m,c, -d)}(),null!=k||null!=d[0]?b.left instanceof Ef?gfa(b.key,b.val,k,b.right):new Df(b.key,b.val,k,b.right,null):null;k=function(){var m=b.right;return CR.da?CR.da(a,m,c,d):CR.call(null,a,m,c,d)}();return null!=k||null!=d[0]?b.right instanceof Ef?hfa(b.key,b.val,b.left,k):new Df(b.key,b.val,b.left,k,null):null}return null},DR=function DR(a,b,c,d){var k=b.key,m=a.B?a.B(c,k):a.call(null,c,k);return 0===m?b.replace(k,d,b.left,b.right):0>m?b.replace(k,b.val,function(){var q=b.left;return DR.da?DR.da(a,q, -c,d):DR.call(null,a,q,c,d)}(),b.right):b.replace(k,b.val,b.left,function(){var q=b.right;return DR.da?DR.da(a,q,c,d):DR.call(null,a,q,c,d)}())};e=Ff.prototype;e.cd=lc;e.Rc=function(a,b){return ifa(this,b)}; -e.forEach=function(a){for(var b=r(this),c=null,d=0,g=0;;)if(gg?(a=Gd.B(a,d),d=d.left):d=d.right:0(a.j?a.j(c):a.call(null,c))?b:c}; -ol.J=function(a,b,c,d){return rd.G(function(g,k){return ol.G(a,g,k)},ol.G(a,b,c),d)};ol.ea=function(a){var b=t(a),c=u(a);a=t(c);var d=u(c);c=t(d);d=u(d);return this.J(b,a,c,d)};ol.aa=3; -var IR=function IR(a){switch(arguments.length){case 2:return IR.B(arguments[0],arguments[1]);case 3:return IR.G(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,g=0;;)if(g=this.count)throw Error("-drop-first of empty chunk");return new Yf(this.start+this.step,this.step,this.count-1)}; -Zf.prototype.hasNext=function(){return 0this.end};Zf.prototype.next=function(){var a=this.i;this.i+=this.step;return a};e=$f.prototype;e.toString=function(){return jc(this)};e.equiv=function(a){return this.ma(null,a)}; -e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return rJ.G(this,b,0);case 2:return rJ.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return rJ.G(this,b,0)};a.B=function(b,c){return rJ.G(this,b,c)};return a}(); -e.lastIndexOf=function(){function a(c){return Gc(this,c,Ec(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Gc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Gc(this,c,d)};return b}(); -e.Jf=function(){if(null==this.chunk){var a=this.va(null);32this.end&&0===this.step)return this.start;throw Error("Index out of bounds");}; -e.ub=function(a,b,c){return 0<=b&&bthis.end&&0===this.step?this.start:c};e.Oa=function(){return new Zf(this.start,this.end,this.step)};e.oa=function(){return this.meta};e.Qa=function(){return new $f(this.meta,this.start,this.end,this.step,this.chunk,this.vd,this.ga)}; -e.Ib=function(){return 0this.end?new $f(null,this.start+this.step,this.end,this.step,null,null,null):null};e.va=function(){return Math.ceil((this.end-this.start)/this.step)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)};e.ma=function(a,b){return Dd(this,b)};e.gb=function(){return rc};e.xb=function(a,b){return qca(this,b)}; -e.vb=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.B?b.B(c,a):b.call(null,c,a);if(Ac(c))return Bb(c);a+=this.step}else return c};e.zb=function(){return this.start};e.Lb=function(){var a=this.Ib(null);return null==a?rc:a};e.sa=function(){return this};e.Af=function(){this.Jf();return this.chunk};e.te=function(){this.Jf();return null==this.vd?rc:this.vd};e.pa=function(a,b){return b===this.meta?this:new $f(b,this.start,this.end,this.step,this.chunk,this.vd,this.ga)}; -e.wa=function(a,b){return Jd(b,this)};e.Ie=function(){return r(this.te(null))};$f.prototype[oc]=function(){return tc(this)};e=ag.prototype;e.toString=function(){return jc(this)};e.equiv=function(a){return this.ma(null,a)};e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return rJ.G(this,b,0);case 2:return rJ.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return rJ.G(this,b,0)};a.B=function(b,c){return rJ.G(this,b,c)};return a}(); -e.lastIndexOf=function(){function a(c){return Gc(this,c,Ec(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Gc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Gc(this,c,d)};return b}(); -e.Jf=function(){if(null==this.chunk){var a=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];a:{var b=0;for(var c=this.start;;)if(32>b){if(a[b]=c,b+=1,c+=this.step,!(0this.end)){b=this.chunk=sR.G(a,0,b);break a}}else{b=c;break a}}null==this.chunk&&(this.chunk=sR.G(a,0,32),(0this.end)&&(this.vd=new ag(null,b,this.end,this.step,null,null,null)))}}; -e.Oa=function(){return new Zf(this.start,this.end,this.step)};e.oa=function(){return this.meta};e.Qa=function(){return new ag(this.meta,this.start,this.end,this.step,this.chunk,this.vd,this.ga)};e.Ib=function(){return 0this.end?new ag(null,this.start+this.step,this.end,this.step,null,null,null):null};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=vc(this)}; -e.ma=function(a,b){return Dd(this,b)};e.gb=function(){return rc};e.xb=function(a,b){return pd(b,this)};e.vb=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.B?b.B(c,a):b.call(null,c,a);if(Ac(c))return Bb(c);a+=this.step}else return c};e.zb=function(){return this.start};e.Lb=function(){var a=this.Ib(null);return null==a?rc:a};e.sa=function(){return this};e.Af=function(){this.Jf();return this.chunk};e.te=function(){this.Jf();return null==this.vd?rc:this.vd}; -e.pa=function(a,b){return b===this.meta?this:new ag(b,this.start,this.end,this.step,this.chunk,this.vd,this.ga)};e.wa=function(a,b){return Jd(b,this)};e.Ie=function(){return r(this.te(null))};ag.prototype[oc]=function(){return tc(this)}; -var Ki=function Ki(a){switch(arguments.length){case 0:return Ki.ca();case 1:return Ki.j(arguments[0]);case 2:return Ki.B(arguments[0],arguments[1]);case 3:return Ki.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Ki.ca=function(){return Ki.G(0,Number.MAX_VALUE,1)};Ki.j=function(a){return Ki.G(0,a,1)};Ki.B=function(a,b){return Ki.G(a,b,1)}; -Ki.G=function(a,b,c){return 0c?b>=a?rc:id(a)&&id(b)&&id(c)?new $f(null,a,b,c,null,null,null):new ag(null,a,b,c,null,null,null):b===a?rc:el.j(a)};Ki.aa=3;var ti=function ti(a){switch(arguments.length){case 1:return ti.j(arguments[0]);case 2:return ti.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -ti.j=function(a){return function(b){var c=we(-1);return function(){function d(q,v){var w=c.pc(null,c.ib(null)+1);return 0===Ad(w,a)?b.B?b.B(q,v):b.call(null,q,v):q}function g(q){return b.j?b.j(q):b.call(null,q)}function k(){return b.ca?b.ca():b.call(null)}var m=null;m=function(q,v){switch(arguments.length){case 0:return k.call(this);case 1:return g.call(this,q);case 2:return d.call(this,q,v)}throw Error("Invalid arity: "+arguments.length);};m.ca=k;m.j=g;m.B=d;return m}()}}; -ti.B=function(a,b){return new Sd(null,function(){var c=r(b);return c?Jd(t(c),ti.B(a,xe.B(a,c))):null},null,null)};ti.aa=2;var Km=function Km(a){switch(arguments.length){case 1:return Km.j(arguments[0]);case 2:return Km.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -Km.j=function(a){return function(b){var c=nfa(),d=we(ljb);return function(){function g(v,w){var A=Bb(d),D=a.j?a.j(w):a.call(null,w);fc(d,D);if(Md(A,ljb)||Fc.B(D,A))return c.add(w),v;A=td(c.toArray());c.clear();v=b.B?b.B(v,A):b.call(null,v,A);Ac(v)||c.add(w);return v}function k(v){if(!h(c.isEmpty())){var w=td(c.toArray());c.clear();v=Cc(b.B?b.B(v,w):b.call(null,v,w))}return b.j?b.j(v):b.call(null,v)}function m(){return b.ca?b.ca():b.call(null)}var q=null;q=function(v,w){switch(arguments.length){case 0:return m.call(this); -case 1:return k.call(this,v);case 2:return g.call(this,v,w)}throw Error("Invalid arity: "+arguments.length);};q.ca=m;q.j=k;q.B=g;return q}()}};Km.B=function(a,b){return new Sd(null,function(){var c=r(b);if(c){var d=t(c),g=a.j?a.j(d):a.call(null,d),k=Jd(d,bg.B(function(m){return Fc.B(g,a.j?a.j(m):a.call(null,m))},u(c)));return Jd(k,Km.B(a,new Sd(null,function(){return xe.B(Ec(k),c)},null,null)))}return null},null,null)};Km.aa=2; -var Fx=function Fx(a){switch(arguments.length){case 2:return Fx.B(arguments[0],arguments[1]);case 3:return Fx.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Fx.B=function(a,b){return new Sd(null,function(){var c=r(b);return c?Fx.G(a,t(c),sc(c)):new z(null,a.ca?a.ca():a.call(null),null,1,null)},null,null)}; -Fx.G=function(a,b,c){return Ac(b)?new z(null,Bb(b),null,1,null):Jd(b,new Sd(null,function(){var d=r(c);if(d){var g=Fx.G;var k=t(d);k=a.B?a.B(b,k):a.call(null,b,k);d=g.call(Fx,a,k,sc(d))}else d=null;return d},null,null))};Fx.aa=3; -var Oh=function Oh(a){switch(arguments.length){case 1:return Oh.j(arguments[0]);case 2:return Oh.B(arguments[0],arguments[1]);case 3:return Oh.G(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,g=0;;)if(gm?1:m);return m<=b.length?(m=hg.B(b,m),qfa.B?qfa.B(a,m):qfa.call(null,a,m)):null},null,null))},qg=function qg(a){for(var c=[],d=arguments.length,g=0;;)if(gc)b=td(l.j(a).split(b));else a:for(var d=c,g=Ke;;){if(1===d){b=Gd.B(g,a);break a}var k=fg(b,a);if(null!=k){var m=a.indexOf(k);k=a.substring(m+Ec(k));--d;g=Gd.B(g,a.substring(0,m));a=k}else{b=Gd.B(g,a);break a}}if(0===c&&1a?null:a};n2.G=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};n2.aa=3; -var qs=function qs(a){switch(arguments.length){case 2:return qs.B(arguments[0],arguments[1]);case 3:return qs.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};qs.B=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};qs.G=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};qs.aa=3;e=Mh.prototype;e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "splicing?":return this.Ld;case "form":return this.form;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#cljs.tools.reader.impl.utils.ReaderConditional{",", ","}",c,R.B(new E(null,2,5,F,[new E(null,2,5,F,[t_,this.Ld],null),new E(null,2,5,F,[vn,this.form],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,2,new E(null,2,5,F,[t_,vn],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Mh(this.Ld,this.form,this.fa,this.ba,this.ga)};e.va=function(){return 2+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-209062840^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Ld,b.Ld)&&Fc.B(this.form,b.form)&&Fc.B(this.ba,b.ba)};e.Ya=function(a,b){return ld(new Pf(null,new f(null,2,[t_,null,vn,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Mh(this.Ld,this.form,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "splicing?":case "form":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(t_,b):Md.call(null,t_,b))?new Mh(c,this.form,this.fa,this.ba,null):h(Md.B?Md.B(vn,b):Md.call(null,vn,b))?new Mh(this.Ld,c,this.fa,this.ba,null):new Mh(this.Ld,this.form,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,2,5,F,[new md(t_,this.Ld,null),new md(vn,this.form,null)],null),this.ba))}; -e.pa=function(a,b){return new Mh(this.Ld,this.form,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e.ab=lc;e.qa=function(a,b,c){Ob(b,["#?",h(this.Ld)?"@":null].join(""));return mg(this.form,b,c)};var Uha=/[\s]/;yg.j(0);aia.prototype.Wa=function(){if(this.mj>this.uf){var a=this.s.charAt(this.uf);this.uf+=1;return a}return null};aia.prototype.Jc=function(){return this.mj>this.uf?this.s.charAt(this.uf):null};Uh.prototype.Wa=function(){var a=this.uda?'..."':'"',d=b.length;return['"',l.j(b.substring(0,ad?"...}":"}")}); -ei.N(null,zi,function(a,b){return gia(a,b,"#{","}")});ei.N(null,ri,function(a,b){return gia(a,b,"[","]")});ei.N(null,Ci,function(a,b){return lm.J(H.B([hb(b)],0))});var zia=/^([-+]?)(?:(0)|([1-9][0-9]*)|0[xX]([0-9A-Fa-f]+)|0([0-7]+)|([1-9][0-9]?)[rR]([0-9A-Za-z]+)|0[0-9]+)(N)?$/,Bia=/([-+]?[0-9]+)\/([0-9]+)/,Aia=/([-+]?[0-9]+(\.[0-9]*)?([eE][-+]?[0-9]+)?)(M)?/,Ai=function Ai(a){for(var c=[],d=arguments.length,g=0;;)if(g=Number(c)?a:a=-1Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=k+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(g)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(g);a=Number(c)-d.length-k.length;0<=b.indexOf("-",0)?d=k+d+Jaa(" ",a):(b=0<=b.indexOf("0",0)?"0":" ",d=k+Jaa(b,a)+d);return d};Lj.ge.d=function(a,b,c,d,g,k,m,q){return Lj.ge.f(parseInt(a,10),b,c,d,0,k,m,q)}; -Lj.ge.i=Lj.ge.d;Lj.ge.u=Lj.ge.d;var q2=function q2(a){for(var c=[],d=arguments.length,g=0;;)if(ginnerWidth},Oza=function(a){a=me(a);var b=A.B(a,Dp);return new E(null,3,5,G,[Ep,Jk.motion.div,new f(null,7,[ep,"mobile-toc-backdrop",xp,"fixed z-10 bg-gray-500 bg-opacity-75 left-0 top-0 bottom-0 right-0",Fp,new f(null,1,[Gp,0],null),Kp,new f(null,1,[Gp,1],null),Mza,new f(null,1,[Gp,0],null),Lp,function(){return Eg.da(b,Vf,Np,!1)},Op,Kma],null)],null)},gAa=function(a){a=me(a);var b=A.B(a,Dp);a=A.B(a,Rza);return new E(null,3,5,G,[Sza,new f(null,2,[xp,"top-[11px] -mt-1 -mr-1", +Lp,function(){return Eg.da(b,eo,Np,kb)}],null),k(a)?new E(null,3,5,G,[Tza,new f(null,5,[Pp,"http://www.w3.org/2000/svg",Up,"none",Vp,"0 0 24 24",Uza,"currentColor",Vza,"2"],null),new E(null,2,5,G,[Cp,new f(null,3,[Yza,"round",Zza,"round",Wp,"M6 18L18 6M6 6l12 12"],null)],null)],null):new E(null,3,5,G,[cAa,new f(null,5,[Pp,"http://www.w3.org/2000/svg",Up,"none",Vp,"0 0 24 24",Uza,"currentColor",Vza,"2"],null),new E(null,2,5,G,[Cp,new f(null,3,[Yza,"round",Zza,"round",Wp,"M15 19l-7-7 7-7"],null)],null)], +null)],null)},oAa=function(a){a=me(a);var b=A.B(a,Dp);a=ij(iAa);a=0===a.length||kb(a.hasOwnProperty(0))?a[0]=function(c){return k(c)?yg(b,jAa,function(d,g,h,l){d=me(l);d=A.B(d,Np);return Uf.B(Np.j(h),d)?"undefined"!==typeof window?window.localStorage.setItem("clerk-navbar",d):null:null}):null}:a[0];return new E(null,4,5,G,[kAa,new f(null,3,[mn,a,xp,"z-10 fixed right-2 top-2 md:right-auto md:left-3 md:top-[7px] text-slate-400 font-sans text-xs hover:underline cursor-pointer flex items-center bg-white dark:bg-gray-900 py-1 px-3 md:p-0 rounded-full md:rounded-none border md:border-0 border-slate-200 dark:border-gray-500 shadow md:shadow-none dark:text-slate-400 dark:hover:text-white", +Lp,function(){return Eg.da(b,Vf,Np,!0)}],null),new E(null,3,5,G,[lAa,new f(null,6,[Pp,"http://www.w3.org/2000/svg",Up,"none",Vp,"0 0 24 24",Uza,"currentColor",Xp,20,Yp,20],null),new E(null,2,5,G,[Cp,new f(null,4,[Yza,"round",Zza,"round",Vza,"2",Wp,"M4 6h16M4 12h16M4 18h16"],null)],null)],null),new E(null,3,5,G,[nAa,new f(null,1,[xp,"text-[12px]"],null),"ToC"],null)],null)},xAa=function(a,b){b=me(b);A.B(b,Dp);var c=A.B(b,Rza),d=G,g=Jk.motion.div,h=k(c)?Zp:qAa,l=k(c)?300:220;c=new f(null,7,[ep,"toc-panel", +hn,new f(null,1,[Xp,l],null),xp,["fixed h-screen z-10 flex-shrink-0 bg-slate-100 dark:bg-gray-800 font-sans border-r dark:border-slate-900 ",k(c)?"shadow-xl":null].join(""),Fp,ke([h,-1*l]),Kp,ke([h,0]),Mza,ke([h,-1*l]),Op,Kma],null);return new E(null,5,5,d,[Ep,g,c,new E(null,2,5,G,[gAa,b],null),new E(null,3,5,G,[rAa,new E(null,3,5,G,[sAa,new f(null,1,[xp,"md:text-[12px]"],null),"TOC"],null),new E(null,3,5,G,[wAa,a,b],null)],null)],null)},zAa=function(a,b){return new f(null,2,[Np,function(){var c= +gma("clerk-navbar");return null==c?Uf.B(dxa,b):c}(),fn,qf.G(le,ug.j(Qh.B(Ed,Yaa)),io.B(function(c){var d=(d=id(c))?yAa.j(c):d;return k(d)?Cp.j(c):null},Pe(ed,ne,a)))],null)},SAa=function(a,b){var c=me(b),d=A.B(c,Dp),g=A.B(c,jxa);rj.B(function(){return Eg.G(d,gi,zAa(a,g))},new E(null,2,5,G,[a,g],null));b=ij(JAa);var h=0===b.length,l=h||kb(b.hasOwnProperty(0))?b[0]=fu.j(Lza()):b[0],p=h||kb(b.hasOwnProperty(1))?b[1]=function(){return De(l,Lza())}:b[1],v=h||kb(b.hasOwnProperty(2))?b[2]=function(r){return k(r)? +addEventListener("resize",p):removeEventListener("resize",p)}:b[2];return function(){var r=Ib(d);r=me(r);r=A.B(r,Np);var z=Ib(l);return new E(null,5,5,G,[$p,new f(null,1,[mn,v],null),new E(null,2,5,G,[oAa,c],null),k(k(z)?r:z)?new E(null,2,5,G,[Oza,c],null):null,new E(null,4,5,G,[Ep,Jk.AnimatePresence,new f(null,1,[Fp,!1],null),k(r)?new E(null,3,5,G,[xAa,a,Vf.G(c,Rza,z)],null):null],null)],null)}()},DCa=function(a){function b(v){g.ca?g.ca():g.call(null);De(l,v);return De(p,!0)}a=me(a);var c=A.B(a, +aq),d=A.B(a,mBa),g=A.G(a,nBa,function(){return Ac}),h=A.G(a,oBa,function(){return Ac}),l=nj(null),p=nj(!1);rj.B(function(){function v(r){var z=Ib(l);if(k(z)){var C=r.movementX;r=r.movementY;return d.G?d.G(z,C,r):d.call(null,z,C,r)}return null}k(Ib(p))&&addEventListener("mousemove",v);return function(){return removeEventListener("mousemove",v)}},new E(null,3,5,G,[p,l,d],null));rj.j(function(){function v(){h.ca?h.ca():h.call(null);return De(p,!1)}addEventListener("mouseup",v);return function(){return removeEventListener("mouseup", +v)}});return k(c)?new E(null,2,5,G,[pBa,new f(null,2,[xp,Pc.B(c,Zp)?"cursor-col-resize":"cursor-row-resize",bq,function(){return b(Pc.B(c,Zp)?Fo:sBa)}],null)],null):new E(null,9,5,G,[cq,new E(null,2,5,G,[DBa,new f(null,2,[bq,function(){return b(RBa)},xp,"w-[14px] h-[14px] -left-[7px] -top-[7px]"],null)],null),new E(null,2,5,G,[SBa,new f(null,2,[bq,function(){return b(dq)},xp,"h-[4px] -top-[4px]"],null)],null),new E(null,2,5,G,[UBa,new f(null,2,[bq,function(){return b(hCa)},xp,"w-[14px] h-[14px] -right-[7px] -top-[7px]"], +null)],null),new E(null,2,5,G,[iCa,new f(null,2,[bq,function(){return b(Go)},xp,"w-[4px] -right-[2px]"],null)],null),new E(null,2,5,G,[DBa,new f(null,2,[bq,function(){return b(jCa)},xp,"w-[14px] h-[14px] -right-[7px] -bottom-[7px]"],null)],null),new E(null,2,5,G,[pCa,new f(null,2,[bq,function(){return b(rCa)},xp,"h-[4px] -left-[2px]"],null)],null),new E(null,2,5,G,[UBa,new f(null,2,[bq,function(){return b(sCa)},xp,"w-[14px] h-[14px] -left-[7px] -bottom-[7px]"],null)],null),new E(null,2,5,G,[CCa,new f(null, +2,[bq,function(){return b(Fo)},xp,"w-[4px]"],null)],null)],null)},ADa=function(a){var b=me(a);a=A.B(b,ln);var c=A.B(b,$o),d=A.B(b,PCa),g=A.G(b,RCa,function(){return Ac}),h=A.G(b,SCa,function(){return Ac});b=A.B(b,ZCa);var l=nj(!1),p=k(c)?c:a;rj.j(function(){function v(){h.ca?h.ca():h.call(null);return De(l,!1)}addEventListener("mouseup",v);return function(){return addEventListener("mouseup",v)}});rj.B(function(){function v(r){r=new f(null,4,[Zp,r.clientX,eq,r.clientY,$Ca,r.movementX,aDa,r.movementY], +null);return d.j?d.j(r):d.call(null,r)}k(Ib(l))&&addEventListener("mousemove",v);return function(){return removeEventListener("mousemove",v)}},new E(null,2,5,G,[l,d],null));return new E(null,4,5,G,[cDa,new f(null,2,[xp,k(p)?"h-[24px] ":"h-[14px] ",bq,function(v){g.ca?g.ca():g.call(null);return De(l,new f(null,2,[jDa,v.screenX,oDa,v.screenY],null))}],null),k(p)?new E(null,3,5,G,[rDa,new f(null,1,[xp,"text-[12px] ml-[8px] "],null),k(c)?c:a],null):null,k(b)?new E(null,3,5,G,[sDa,new f(null,2,[Lp,b,xp, +"w-[24px] h-[24px]"],null),new E(null,3,5,G,[lAa,new f(null,6,[Pp,"http://www.w3.org/2000/svg",Up,"none",Vp,"0 0 24 24",Vza,"1.5",Uza,"currentColor",xp,"w-3 h-3"],null),new E(null,2,5,G,[Cp,new f(null,3,[Yza,"round",Zza,"round",Wp,"M6 18L18 6M6 6l12 12"],null)],null)],null)],null):null],null)},GDa=function(a,b,c){var d=me(b);b=A.B(d,dq);d=A.B(d,Yp);var g=null!=a?a:{};(function(){var l=g.style;if(null!=l)return l;l={};return g.style=l})().height=[m.j(d-c),"px"].join("");var h=null!=a?a:{};(function(){var l= +h.style;if(null!=l)return l;l={};return h.style=l})().top=[m.j(b+c),"px"].join("");return h},KDa=function(a,b,c){b=me(b);b=A.B(b,Xp);a=null!=a?a:{};var d=a.style;null==d&&(d={},a.style=d);d.width=[m.j(b+c),"px"].join("");return a},NDa=function(a,b,c){b=me(b);b=A.B(b,Yp);a=null!=a?a:{};var d=a.style;null==d&&(d={},a.style=d);d.height=[m.j(b+c),"px"].join("");return a},QDa=function(a,b,c){var d=me(b);b=A.B(d,Fo);d=A.B(d,Xp);var g=null!=a?a:{};(function(){var l=g.style;if(null!=l)return l;l={};return g.style= +l})().width=[m.j(d-c),"px"].join("");var h=null!=a?a:{};(function(){var l=h.style;if(null!=l)return l;l={};return h.style=l})().left=[m.j(b+c),"px"].join("");return h},RDa=function(a){var b=function(){var d=function(){var h=function(){var p=null!=a?a:{};var v=p.style;null==v&&(v={},p.style=v);v.width="calc(100vw - 10px)";return p}(),l=null!=h?h:{};(function(){var p=l.style;if(null!=p)return p;p={};return l.style=p})().height="33vh";return l}(),g=null!=d?d:{};(function(){var h=g.style;if(null!=h)return h; +h={};return g.style=h})().top="5px";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="5px"},SDa=function(a){var b=function(){var d=function(){var h=function(){var p=null!=a?a:{};var v=p.style;null==v&&(v={},p.style=v);v.width="33vw";return p}(),l=null!=h?h:{};(function(){var p=l.style;if(null!=p)return p;p={};return l.style=p})().height="calc(100vh - 10px)";return l}(),g=null!=d?d:{};(function(){var h=g.style;if(null!=h)return h;h={};return g.style= +h})().top="5px";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="calc(100vw - 33vw - 5px)"},YDa=function(a){var b=function(){var d=function(){var h=function(){var p=null!=a?a:{};var v=p.style;null==v&&(v={},p.style=v);v.width="calc(100vw - 10px)";return p}(),l=null!=h?h:{};(function(){var p=l.style;if(null!=p)return p;p={};return l.style=p})().height="33vh";return l}(),g=null!=d?d:{};(function(){var h=g.style;if(null!=h)return h;h={};return g.style= +h})().top="calc(100vh - 33vh - 10px)";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="5px"},ZDa=function(a){var b=function(){var d=function(){var h=function(){var p=null!=a?a:{};var v=p.style;null==v&&(v={},p.style=v);v.width="33vw";return p}(),l=null!=h?h:{};(function(){var p=l.style;if(null!=p)return p;p={};return l.style=p})().height="calc(100vh - 10px)";return l}(),g=null!=d?d:{};(function(){var h=g.style;if(null!=h)return h;h={};return g.style= +h})().top="5px";return g}(),c=null!=b?b:{};(function(){var d=c.style;if(null!=d)return d;d={};return c.style=d})().left="5px"},nl=function(a){for(var b=[],c=arguments.length,d=0;;)if(d=g-d)?ana(a,b,c):d:g:d},dna=function(a){var b=u(a),c=vq.j(b);b=t(hg.B(function(d){return!(Pc.B(hq.j(d),iq)&&Yma(vq.j(d),c))},w(a)));return new E(null,2,5,G,[b,t(Je.B(Oc(b)+1,a))],null)},ena=function(a){var b=u(a),c=vq.j(b);return t(hg.B(function(d){var g=vq.j(d);return!(Pc.B(hq.j(d),iq)&&(Pc.B(g,c)||Yma(g,c)))},w(a)))},fna=function(a, +b){Vb(gq.j(Ib(Ib(a))),"\n");Eg.da(Ib(a),Vf,kq,null);b=vq.j(b);var c=wq.j(b);k(c)&&Vb(gq.j(Ib(Ib(a))),c);c=ze.B(m,Ml.B(Ib(xq.j(b))-Oc(c)," "));Vb(gq.j(Ib(Ib(a))),c);a:for(De(yq.j(b),!0),De(sq.j(b),!0),a=Eo.j(b);;)if(k(a))De(sq.j(a),!0),De(yq.j(a),!0),a=Eo.j(a);else break a;return null},gna=function(a){var b=t(hg.B(function(c){return!Pc.B(hq.j(c),iq)},a));return new E(null,2,5,G,[b,t(Je.B(Oc(b),a))],null)},hna=function(a){for(var b=rg.j(Ib(Ib(a)));;){Eg.da(Ib(a),Vf,rg,qf.B(Ue,b));if(Hl(a,b))return null; +var c=Pl(a,b);if(b!==c)b=c;else return null}},Ql=function(a,b){Eg.da(Ib(a),Vf,rg,Qd.B(rg.j(Ib(Ib(a))),b));return Hl(a,rg.j(Ib(Ib(a))))?null:hna(a)},Rl=function(a){var b=kq.j(Ib(Ib(a)));return k(b)?(Vb(gq.j(Ib(Ib(a))),b),Eg.da(Ib(a),Vf,kq,null)):null},kna=function(a,b){var c=Ih.G(b,"\n",-1);if(Pc.B(Oc(c),1))return b;b=wq.j(u(Cq.j(Ib(Ib(a)))));var d=u(c);if(Pc.B(cEa,Dq.j(Ib(Ib(a))))){var g=Eq.j(Ib(Ib(a))),h=g+Oc(d);Eg.da(Ib(a),Vf,Eq,h);Ql(a,new wl(dEa,d,null,g,h,null,null,null));hna(a);d=rg.j(Ib(Ib(a))); +k(d)&&(Zma(a,d,!0),Eg.da(Ib(a),Vf,rg,Ue))}else Rl(a),Vb(gq.j(Ib(Ib(a))),d);Vb(gq.j(Ib(Ib(a))),"\n");d=t(w(bg(c)));g=null;for(var l=h=0;;)if(l=db:b);kb(em)?ll.call(null,a):k(b)?Vb(ml,"..."):(k(dm)&&(dm+=1),fm.call(null,a));return b},una=function(a){var b=new Xa,c=ml;ml=new nc(b);try{var d=ml,g=kb(tna(d)),h=ml;ml=g?qna(d):d;try{d=em;em=!0;try{gm(a)}finally{em=d}Pc.B(0,ql(ml,fq))||Vb(ml,"\n"); +Vma()}finally{ml=h}return sg(m.j(b))}finally{ml=c}},vna=function(a,b){if(kb(b.j?b.j(a):b.call(null,a)))throw Error(["Bad argument: ",m.j(a),". It must be one of ",m.j(b)].join(""));},im=function(){var a=pg;return k(a)?hm>=pg:a},lm=function(a){vna(a,new Xf(null,new f(null,4,[mEa,null,Kq,null,Up,null,Qq,null],null),null));var b=ml;Eg.da(Ib(b),Vf,Dq,cEa);var c=Eq.j(Ib(Ib(b))),d=Cq.j(Ib(Ib(b)));Ql(b,new xl(iq,a,d,c,c,null,null,null))},om=function(a,b){vna(a,new Xf(null,new f(null,2,[Rq,null,wk,null], +null),null));var c=ml,d=Cq.j(Ib(Ib(c)));if(Pc.B(Dq.j(Ib(Ib(c))),Fq)){Rl(c);var g=xq.j(d);if(k(Pc.B?Pc.B(Rq,a):Pc.call(null,Rq,a)))a=Ib(uq.j(d));else if(k(Pc.B?Pc.B(wk,a):Pc.call(null,wk,a)))a=ql(gq.j(Ib(Ib(c))),fq);else throw Error(["No matching clause: ",m.j(a)].join(""));De(g,b+a)}else g=Eq.j(Ib(Ib(c))),Ql(c,new Al(nEa,d,a,b,g,g,null,null,null))},Ana=function(a,b,c){b="string"===typeof b?yna(b):b;c=pm(c);a:{var d=new Xa,g=kb(a)||!0===a?new nc(d):a,h=zna(b)&&kb(tna(g))?k(tna(g))?g:qna(g):g,l=ml; +ml=h;try{try{qm(b,c)}finally{g!==h&&Wb(h)}var p=kb(a)?m.j(d):!0===a?sg(m.j(d)):null;break a}finally{ml=l}p=void 0}return p},rm=function(a,b){a=[m.j(a),"\n",m.j(Bna),"\n",m.j(ze.B(m,Ml.B(b," "))),"^\n"].join("");throw Error(a);},sm=function(a,b,c,d,g,h){this.seq=a;this.rest=b;this.pos=c;this.fa=d;this.aa=g;this.ha=h;this.ga=2230716170;this.ia=139264},pm=function(a){a=t(a);return new sm(a,a,0,null,null,null)},vm=function(a){var b=Sq.j(a);if(k(b))return new E(null,2,5,G,[u(b),new sm(Tq.j(a),w(b),Eq.j(a)+ +1,null,null,null)],null);throw Error("Not enough arguments for format definition");},wm=function(a){var b=vm(a);a=x.G(b,0,null);b=x.G(b,1,null);a="string"===typeof a?yna(a):a;return new E(null,2,5,G,[a,b],null)},Cna=function(a,b){return b>=Eq.j(a)?(b=Eq.j(a)-b,xm.B?xm.B(a,b):xm.call(null,a,b)):new sm(Tq.j(a),Je.B(b,Tq.j(a)),b,null,null,null)},xm=function(a,b){var c=Eq.j(a)+b;return 0>b?Cna(a,c):new sm(Tq.j(a),Je.B(b,Sq.j(a)),c,null,null,null)},ym=function(a,b,c,d,g,h,l){this.func=a;this.def=b;this.params= +c;this.offset=d;this.fa=g;this.aa=h;this.ha=l;this.ga=2230716170;this.ia=139264},Fna=function(a,b){var c=x.G(a,0,null);a=x.G(a,1,null);var d=x.G(a,0,null);a=x.G(a,1,null);d=vd(new Xf(null,new f(null,2,[Xq,null,Yq,null],null),null),c)?new E(null,2,5,G,[d,b],null):Pc.B(d,pEa)?vm(b):Pc.B(d,sEa)?new E(null,2,5,G,[Oc(Sq.j(b)),b],null):new E(null,2,5,G,[d,b],null);b=x.G(d,0,null);d=x.G(d,1,null);return new E(null,2,5,G,[new E(null,2,5,G,[c,new E(null,2,5,G,[b,a],null)],null),d],null)},Gna=function(a,b){b= +Sma(Fna,b,a);a=x.G(b,0,null);b=x.G(b,1,null);return new E(null,2,5,G,[qf.B(le,a),b],null)},Jna=function(a,b,c){c=vm(c);var d=x.G(c,0,null);c=x.G(c,1,null);if(td(d))if(Pc.B(Bm,10))var g=[m.j(d),k(Cm)?".":null].join("");else{g=m;var h=g.j;if(k(Cm)){var l=A.B(Hna,Bm);l=k(l)?l:["#",m.j(Bm),"r"].join("")}else l=null;g=[h.call(g,l),m.j(Ina(Bm,d))].join("")}else g=null;a=k(g)?g:a.j?a.j(d):a.call(null,d);d=a.length;g=d+Zq.j(b);g=g>=br.j(b)?g:g+(Jd(br.j(b)-g-1,cr.j(b))+1)*cr.j(b);d=ze.B(m,Ml.B(g-d,dr.j(b))); +k(Yq.j(b))?Hm.J(y.B([[m.j(d),m.j(a)].join("")],0)):Hm.J(y.B([[m.j(a),m.j(d)].join("")],0));return c},Kna=function(a,b){return Rd(u(pl(function(c){return 0c?Fd(ol("0")+c):Fd(ol("a")+(c-10))},Kna(a,b)))},Lna=function(a,b){return Rd(u(pl(function(c){return new E(null,2,5,G,[t(Rd(Ie.B(a,c))),t(Je.B(a,c))],null)},Rd(b))))},Mm=function(a,b,c){c=vm(c); +var d=x.G(c,0,null);c=x.G(c,1,null);if(td(d)||"number"===typeof d&&!isNaN(d)&&Infinity!==d&&parseFloat(d)!==parseInt(d,10)&&Pc.B(d,Math.floor(d))){var g=0>d,h=Ina(a,g?-d:d);a=k(Xq.j(b))?function(){var l=ug.B(function(v){return ze.B(m,v)},Lna(er.j(b),h)),p=Ml.B(Oc(l),fr.j(b));return ze.B(m,w(Km.B(p,l)))}():h;a=g?["-",m.j(a)].join(""):k(Yq.j(b))?["+",m.j(a)].join(""):a;a=a.lengtha)var h=x.B(Mna,a);else{h=Jd(a,10);var l=Kd(a,10);h=[m.j(0c){var d=Kna(10,c);c=Ue;for(var g=Oc(d)-1;;)if(dd(d)){Hm.J(y.B([ze.B(m,c)],0));break}else{var h=u(d);c=Pc.B(0,h)?c:Qd.B(c,x.B(x.B(a,g),h-1));--g;d=w(d)}}else Mm(10,new f(null,5,[br,0,dr," ",fr,",",er,3,Xq,!0],null),pm(new E(null,1,5,G,[c],null))); +return b},Tna=function(a,b){a=vm(b);b=x.G(a,0,null);a=x.G(a,1,null);var c=ol(b);b=c&127;c&=128;var d=A.B(Sna,b);0b?["Control-",m.j(Fd(b+64))].join(""):Pc.B(b,127)?"Control-?":Fd(b)],0));return a},Vna=function(a,b){var c=vm(b);b=x.G(c,0,null);c=x.G(c,1,null);a=EEa.j(a);if(k(Pc.B?Pc.B("o",a):Pc.call(null,"o",a)))Ana(!0,"\\o~3,'0o",y.B([ol(b)],0));else if(k(Pc.B?Pc.B("u",a):Pc.call(null,"u",a)))Ana(!0,"\\u~4,'0x",y.B([ol(b)],0));else if(k(Pc.B?Pc.B(null, +a):Pc.call(null,null,a)))Vb(ml,k(Pc.B?Pc.B("\b",b):Pc.call(null,"\b",b))?"\\backspace":k(Pc.B?Pc.B(" ",b):Pc.call(null," ",b))?"\\space":k(Pc.B?Pc.B("\t",b):Pc.call(null,"\t",b))?"\\tab":k(Pc.B?Pc.B("\n",b):Pc.call(null,"\n",b))?"\\newline":k(Pc.B?Pc.B("\f",b):Pc.call(null,"\f",b))?"\\formfeed":k(Pc.B?Pc.B("\r",b):Pc.call(null,"\r",b))?"\\return":k(Pc.B?Pc.B('"',b):Pc.call(null,'"',b))?'\\"':k(Pc.B?Pc.B("\\",b):Pc.call(null,"\\",b))?"\\\\":["\\",m.j(b)].join(""));else throw Error(["No matching clause: ", +m.j(a)].join(""));return c},Wna=function(a,b){b=vm(b);a=x.G(b,0,null);b=x.G(b,1,null);Hm.J(y.B([a],0));return b},Yna=function(a){a=u(a);return Pc.B(gr,a)||Pc.B(FEa,a)},Rm=function(a,b,c){return Sc(Sma(function(d,g){if(Yna(g))return new E(null,2,5,G,[null,g],null);g=Gna(hr.j(d),g);var h=x.G(g,0,null);g=x.G(g,1,null);var l=Tma(h);h=x.G(l,0,null);l=x.G(l,1,null);h=Vf.G(h,ir,c);return new E(null,2,5,G,[null,ze.B(kr.j(d),new E(null,3,5,G,[h,g,l],null))],null)},b,a))},Zna=function(a){a=Fh(m.j(a));var b= +a.indexOf("e"),c=a.indexOf(".");a=0>b?0>c?new E(null,2,5,G,[a,m.j(a.length-1)],null):new E(null,2,5,G,[[ng.G(a,0,c),ng.B(a,c+1)].join(""),m.j(c-1)],null):0>c?new E(null,2,5,G,[ng.G(a,0,b),ng.B(a,b+1)],null):new E(null,2,5,G,[[ng.G(a,0,1),ng.G(a,2,b)].join(""),ng.B(a,b+1)],null);b=x.G(a,0,null);a=x.G(a,1,null);a:if(c=Oc(b),0c){b="";break a}if(Pc.B(x.B(b,c),"0"))--c;else{b=ng.G(b,0,c+1);break a}}a:{c=b;var d=Oc(c);if(0d?2:d:0;k(c)?c=b+c+1:0<=b?(c=b+1,--d,c=c>d?c:d):c=d+b;var h=Pc.B(c,0)?new E(null,4,5,G,[["0",m.j(a)].join(""),b+1,1,g+1],null):new E(null,4,5,G,[a,b,c,g],null);c=x.G(h,0,null);g=x.G(h,1,null);d=x.G(h,2,null);h=x.G(h,3,null);if(k(d)){if(0>d)return new E(null, +3,5,G,["0",0,!1],null);if(h>d){b=x.B(c,d);a=ng.G(c,0,d);if(ol(b)>=ol("5")){a:for(b=Oc(a)-1,c=b|0;;){if(0>c){b=ze.G(m,"1",Ml.B(b+1,"0"));break a}if(Pc.B("9",a.charAt(c)))--c;else{b=ze.da(m,ng.G(a,0,c),Fd(ol(a.charAt(c))+1),Ml.B(b-c,"0"));break a}}a=Oc(b)>a.length;return new E(null,3,5,G,[a?ng.G(b,0,Oc(b)-1):b,g,a],null)}return new E(null,3,5,G,[a,g,!1],null)}}}return new E(null,3,5,G,[a,b,!1],null)},aoa=function(a,b,c){var d=0>b?new E(null,2,5,G,[[m.j(ze.B(m,Ml.B(-b-1,"0"))),m.j(a)].join(""),-1],null): +new E(null,2,5,G,[a,b],null);a=x.G(d,0,null);var g=x.G(d,1,null);d=Oc(a);c=k(c)?g+c+1:g+1;c=db?b=[".",m.j(c)].join(""):(b+=1,b=[ng.G(c,0,b),".",ng.B(c,b)].join(""));return b},boa=function(a,b){return 0>b?[".",m.j(a)].join(""):[ng.G(a,0,b),".",ng.B(a,b)].join("")},coa=function(a,b){var c=lr.j(a),d=Wp.j(a);b=vm(b);var g=x.G(b,0,null);b=x.G(b,1,null);var h=0>g?new E(null,2,5,G,["-",-g],null):new E(null,2,5,G,["+",g],null),l=x.G(h,0,null);h=x.G(h,1, +null);h=Zna(h);var p=x.G(h,0,null),v=x.G(h,1,null)+nr.j(a);h=function(){var F=Yq.j(a);return k(F)?F:0>g}();var r=kb(d)&&Oc(p)-1<=v,z=$na(p,v,d,k(c)?c-(k(h)?1:0):null);p=x.G(z,0,null);v=x.G(z,1,null);z=x.G(z,2,null);p=aoa(p,k(z)?v+1:v,d);d=k(k(c)?k(d)?1<=d&&Pc.B(p.charAt(0),"0")&&Pc.B(p.charAt(1),".")&&p.length>c-(k(h)?1:0):d:c)?ng.B(p,1):p;v=Pc.B(u(d),".");if(k(c)){p=d.length;p=k(h)?p+1:p;v=v&&!(p>=c);r=r&&!(p>=c);var C=v||r?p+1:p;k(function(){var F=C>c;return F?pr.j(a):F}())?Hm.J(y.B([ze.B(m,Ml.B(c, +pr.j(a)))],0)):Hm.J(y.B([[m.j(ze.B(m,Ml.B(c-C,dr.j(a)))),m.j(k(h)?l:null),v?"0":null,d,r?"0":null].join("")],0))}else Hm.J(y.B([[m.j(k(h)?l:null),v?"0":null,d,r?"0":null].join("")],0));return b},foa=function(a,b){b=vm(b);var c=x.G(b,0,null);b=x.G(b,1,null);var d=Zna(0>c?-c:c);x.G(d,0,null);for(x.G(d,1,null);;){var g=x.G(d,0,null),h=x.G(d,1,null),l=lr.j(a),p=Wp.j(a),v=JEa.j(a),r=nr.j(a),z=function(){var ea=LEa.j(a);return k(ea)?ea:"E"}();d=function(){var ea=Yq.j(a);return k(ea)?ea:0>c}();var C=0>= +r,F=h-(r-1),O=m.j(Math.abs(F));z=[m.j(z),0>F?"-":"+",m.j(k(v)?ze.B(m,Ml.B(v-O.length,"0")):null),O].join("");var V=z.length;F=Oc(g);g=[m.j(ze.B(m,Ml.B(-r,"0"))),m.j(g),m.j(k(p)?ze.B(m,Ml.B(p-(F-1)-(0>r?-r:0),"0")):null)].join("");F=k(l)?l-V:null;g=$na(g,0,Pc.B(r,0)?p-1:0r?p-1:null,k(F)?F-(k(d)?1:0):null);F=x.G(g,0,null);x.G(g,1,null);O=x.G(g,2,null);g=boa(F,r);p=Pc.B(r,Oc(F))&&null==p;if(kb(O)){if(k(l)){h=g.length+V;h=k(d)?h+1:h;var W=(C=C&&!Pc.B(h,l))?h+1:h;h=p&&W +l;ea||(ea=v,ea=k(ea)?V-2>v:ea);return k(ea)?pr.j(a):ea}())?Hm.J(y.B([ze.B(m,Ml.B(l,pr.j(a)))],0)):Hm.J(y.B([[m.j(ze.B(m,Ml.B(l-W-(h?1:0),dr.j(a)))),k(d)?0>c?"-":"+":null,C?"0":null,g,h?"0":null,z].join("")],0))}else Hm.J(y.B([[k(d)?0>c?"-":"+":null,C?"0":null,g,p?"0":null,z].join("")],0));break}else d=new E(null,2,5,G,[F,h+1],null)}return b},goa=function(a,b,c){var d=vm(b),g=x.G(d,0,null);x.G(d,1,null);d=Zna(0>g?-g:g);var h=x.G(d,0,null);d=x.G(d,1,null);var l=lr.j(a),p=Wp.j(a),v=JEa.j(a);d=Pc.B(g, +0)?0:d+1;g=k(v)?v+2:4;l=k(l)?l-g:null;k(p)?h=p:(h=Oc(h),p=7>d?d:7,h=h>p?h:p);d=h-d;return 0<=d&&d<=h?(a=coa(new f(null,6,[lr,l,Wp,d,nr,0,pr,pr.j(a),dr,dr.j(a),Yq,Yq.j(a)],null),b,c),Hm.J(y.B([ze.B(m,Ml.B(g," "))],0)),a):foa(a,b,c)},hoa=function(a,b){b=vm(b);var c=x.G(b,0,null);b=x.G(b,1,null);var d=Zna(Math.abs(c)),g=x.G(d,0,null),h=x.G(d,1,null),l=Wp.j(a),p=sr.j(a);d=lr.j(a);var v=function(){var z=Yq.j(a);return k(z)?z:0>c}(),r=$na(g,h,l,null);g=x.G(r,0,null);h=x.G(r,1,null);r=x.G(r,2,null);l=aoa(g, +k(r)?h+1:h,l);p=[m.j(ze.B(m,Ml.B(p-l.indexOf("."),"0"))),l].join("");l=p.length+(k(v)?1:0);Hm.J(y.B([[k(function(){var z=Xq.j(a);return k(z)?v:z}())?0>c?"-":"+":null,m.j(ze.B(m,Ml.B(d-l,dr.j(a)))),k(function(){var z=kb(Xq.j(a));return z?v:z}())?0>c?"-":"+":null,p].join("")],0));return b},joa=function(a,b){var c=MEa.j(a);c=k(c)?new E(null,2,5,G,[c,b],null):vm(b);b=x.G(c,0,null);c=x.G(c,1,null);var d=ur.j(a);b=0>b||b>=Oc(d)?u(vr.j(a)):x.B(d,b);return k(b)?Rm(b,c,ir.j(a)):c},koa=function(a,b){var c= +vm(b);b=x.G(c,0,null);c=x.G(c,1,null);var d=ur.j(a);b=k(b)?Sc(d):u(d);return k(b)?Rm(b,c,ir.j(a)):c},loa=function(a,b){var c=vm(b),d=x.G(c,0,null);c=x.G(c,1,null);var g=ur.j(a);g=k(d)?u(g):null;return k(d)?k(g)?Rm(g,b,ir.j(a)):b:c},moa=function(a,b){var c=NEa.j(a),d=u(ur.j(a));d=dd(d)?wm(b):new E(null,2,5,G,[d,b],null);b=x.G(d,0,null);d=x.G(d,1,null);d=vm(d);var g=x.G(d,0,null);d=x.G(d,1,null);var h=0;g=pm(g);for(var l=-1;;){if(kb(c)&&Pc.B(Eq.j(g),l)&&1=c:c))return d;l=Rm(b,g,ir.j(a));if(Pc.B(gr,u(l)))return d;h+=1;var p=Eq.j(g);g=l;l=p}},noa=function(a,b){var c=NEa.j(a),d=u(ur.j(a));d=dd(d)?wm(b):new E(null,2,5,G,[d,b],null);b=x.G(d,0,null);d=x.G(d,1,null);d=vm(d);var g=x.G(d,0,null);d=x.G(d,1,null);for(var h=0;;){var l=dd(g)&&(kb(Xq.j(xr.j(a)))||0=c:c))return d;l=Rm(b,pm(u(g)),pm(w(g)));if(Pc.B(FEa,u(l)))return d;h+=1;g=w(g)}},ooa=function(a,b){var c=NEa.j(a),d=u(ur.j(a)), +g=dd(d)?wm(b):new E(null,2,5,G,[d,b],null);b=x.G(g,0,null);d=0;g=x.G(g,1,null);for(var h=-1;;){if(kb(c)&&Pc.B(Eq.j(g),h)&&1=c:c))return g;h=Rm(b,g,ir.j(a));if(Pc.B(gr,u(h)))return Sc(h);d+=1;var l=Eq.j(g);g=h;h=l}},poa=function(a,b){var c=NEa.j(a),d=u(ur.j(a)),g=dd(d)?wm(b):new E(null,2,5,G,[d,b],null);b=x.G(g,0,null);d=0;for(g=x.G(g,1,null);;){var h=dd(Sq.j(g))&&(kb(Xq.j(xr.j(a)))|| +0=c:c))return g;h=Sq.j(g);h=k(h)?new E(null,2,5,G,[u(h),new sm(Tq.j(g),w(h),Eq.j(g)+1,null,null,null)],null):new E(null,2,5,G,[null,g],null);g=x.G(h,0,null);h=x.G(h,1,null);g=Rm(b,pm(g),h);if(Pc.B(FEa,u(g)))return h;g=h;d+=1}},roa=function(a,b){if(k(Xq.j(xr.j(a)))){var c=ur.j(a),d=Oc(c),g=1ma?1:ma}();v=Cd.B(Ui,ug.B(Oc,r));var C=br.j(a),F=Zq.j(a),O=cr.j(a),V= +v+z*F;C=V<=C?C:C+O*(1+Jd(V-C-1,O));var W=C-v;v=function(){var ma=Jd(W,z);return F>ma?F:ma}();O=W-v*z;v=ze.B(m,Ml.B(v,dr.j(a)));k(k(d)?ql(gq.j(Ib(Ib(ml))),fq)+c+C>p:d)&&Hm.J(y.B([d],0));c=O;for(var ea=r,ha=function(){var ma=Xq.j(a);return k(ma)?ma:Pc.B(Oc(ea),1)&&kb(Yq.j(a))}();;)if(t(ea))Hm.J(y.B([[m.j(kb(ha)?u(ea):null),m.j(k(function(){var ma=ha;return k(ma)?ma:(ma=w(ea))?ma:Yq.j(a)}())?v:null),m.j(0Oc(hr.j(a))&&rm(Ana(null,'Too many parameters for directive "~C": ~D~:* ~[were~;was~:;were~] specified but only ~D~:* ~[are~;is~:;are~] allowed',y.B([Fr.j(a),Oc(b),Oc(hr.j(a))],0)),Sc(u(b)));Ni.j(ug.G(function(g, +h){var l=u(g);return null==l||vd(Joa,l)||Pc.B(Sc(Sc(h)),qb(l))?null:rm(["Parameter ",cg(u(h)),' has bad type in directive "',m.j(Fr.j(a)),'": ',m.j(qb(l))].join(""),Sc(g))},b,hr.j(a)));return gi.J(y.B([qf.B(le,Rd(function(){return function l(h){return new ae(null,function(){for(;;){var p=t(h);if(p){if(ld(p)){var v=hc(p),r=Oc(v),z=be(r);a:for(var C=0;;)if(Cg?new E(null,2,5,G,[Noa(d,c),new E(null,2,5,G,["",c+d.length],null)],null):0===g?Moa(ng.B(d,1),c+1):new E(null,2,5,G,[Noa(ng.G(d,0,g),c),new E(null,2,5,G,[ng.B(d,g),g+c],null)],null)},new E(null,2,5,G,[a,0],null))))}finally{Bna=b}},qm=function(a,b){Sma(function(c,d){if(Yna(d))return new E(null,2,5,G,[null,d],null);d=Gna(hr.j(c),d);var g=x.G(d,0,null);d=x.G(d,1,null);var h=Tma(g);g=x.G(h,0,null);h= +x.G(h,1,null);g=Vf.G(g,ir,d);return new E(null,2,5,G,[null,ze.B(kr.j(c),new E(null,3,5,G,[g,d,h],null))],null)},b,a);return null},Voa=function(a){var b=u(a);b=Uoa.j?Uoa.j(b):Uoa.call(null,b);return k(k(b)?Pc.B(2,Oc(a)):b)?(Vb(ml,b),gm(Sc(a)),!0):null},Woa=function(a){if(k(im()))Vb(ml,"#");else{var b=hm,c=dm;hm+=1;dm=0;try{$l("[","]");for(var d=0,g=t(a);;){if(kb(db)||dg;g++)d[g]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(g=0;16>g;g++)d[g]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(g=16;80>g;g++){var h=d[g-3]^d[g-8]^d[g-14]^d[g-16];d[g]=(h<<1|h>>>31)&4294967295}b=a.rc[0];c=a.rc[1]; +var l=a.rc[2],p=a.rc[3],v=a.rc[4];for(g=0;80>g;g++){if(40>g)if(20>g){h=p^c&(l^p);var r=1518500249}else h=c^l^p,r=1859775393;else 60>g?(h=c&l|p&(c|l),r=2400959708):(h=c^l^p,r=3395469782);h=(b<<5|b>>>27)+h+v+r+d[g]&4294967295;v=p;p=l;l=(c<<30|c>>>2)&4294967295;c=b;b=h}a.rc[0]=a.rc[0]+b&4294967295;a.rc[1]=a.rc[1]+c&4294967295;a.rc[2]=a.rc[2]+l&4294967295;a.rc[3]=a.rc[3]+p&4294967295;a.rc[4]=a.rc[4]+v&4294967295},Bn=function(a,b){if(null!=a&&null!=a.Ch)a=a.Ch(a,b);else{var c=Bn[aa(null==a?null:a)];if(null!= +c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=Bn._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw rb("IBox.setVal",a);}return a},Cn=function(a){if(null!=a&&null!=a.Ee)a=a.Ee(a);else{var b=Cn[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=Cn._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("IBox.getVal",a);}return a},Dn=function(a){if(null!=a&&null!=a.Hm)a=a.Zj;else{var b=Dn[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=Dn._,null!=b)a=b.j?b.j(a):b.call(null, +a);else throw rb("IReified.getMethods",a);}return a},lpa=function(a,b){this.Zj=a;this.zm=b},mpa=function(a,b,c){if(null!=a&&null!=a.tk)a=a.tk(a,b,c);else{var d=mpa[aa(null==a?null:a)];if(null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else if(d=mpa._,null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else throw rb("SciTypeInstance.-mutate",a);}return a},npa=function(a){this.form=a},opa=function(a){if(null!=a&&null!=a.Im)a=a.stack;else{var b=opa[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b= +opa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("Stack.stack",a);}return a},En=function(a,b,c,d,g){this.f=a;this.stack=b;this.fa=c;this.aa=d;this.ha=g;this.ga=2230716170;this.ia=139264},Fn=function(a,b){return new En(a,b,null,null,null)},Z=function(a,b,c){if(a instanceof En){var d=a.f;return d.G?d.G(a,b,c):d.call(null,a,b,c)}return a},Gn=function(a){if(null!=a&&null!=a.Tf)a=a.Tf(a);else{var b=Gn[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=Gn._,null!=b)a=b.j?b.j(a): +b.call(null,a);else throw rb("HasName.getName",a);}return a},ppa=function(a,b){this.bindings=a;this.prev=b},qpa=function(){return Ib(Hn)},rpa=function(a){this.val=a},spa=function(){var a=Ib(Hn);return new ppa(a.bindings,null)},In=function(a){return lc(Hn,a)},Jn=function(a,b){if(null!=a&&null!=a.vk)a=a.vk(a,b);else{var c=Jn[aa(null==a?null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=Jn._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw rb("IVar.bindRoot",a);}return a},Kn=function(a){if(null!= +a&&null!=a.Km)a=a.root;else{var b=Kn[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=Kn._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("IVar.getRawRoot",a);}return a},tpa=function(a){if(null!=a&&null!=a.xk)a=a.xk(a);else{var b=tpa[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=tpa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("IVar.isMacro",a);}return a},upa=function(a){if(null!=a&&null!=a.wk)a=a.wk(a);else{var b=upa[aa(null==a?null:a)];if(null!= +b)a=b.j?b.j(a):b.call(null,a);else if(b=upa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("IVar.hasRoot",a);}return a},vpa=function(a){if(null!=a&&null!=a.yk)a.yk(a,!0);else{var b=vpa[aa(null==a?null:a)];if(null!=b)b.B?b.B(a,!0):b.call(null,a,!0);else if(b=vpa._,null!=b)b.B?b.B(a,!0):b.call(null,a,!0);else throw rb("IVar.setThreadBound",a);}},Ln=function(a){if(null!=a&&null!=a.bj)a.bj(a);else{var b=Ln[aa(null==a?null:a)];if(null!=b)b.j?b.j(a):b.call(null,a);else if(b=Ln._,null!=b)b.j?b.j(a): +b.call(null,a);else throw rb("IVar.unbind",a);}},wpa=function(a){if(null!=a&&null!=a.uk)a=a.uk(a);else{var b=wpa[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=wpa._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("DynVar.dynamic?",a);}return a},Mn=function(a){if(null!=a&&null!=a.Jm)a=a.ak;else{var b=Mn[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=Mn._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("CtxVar.needs-ctx?",a);}return a},Nn=function(a){var b= +qpa();a=Cd.G(function(c,d){var g=x.G(d,0,null);d=x.G(d,1,null);if(kb(wpa(g)))throw Error(["Can't dynamically bind non-dynamic var ",m.j(g)].join(""));vpa(g);return Vf.G(c,g,new rpa(d))},b.bindings,a);return In(new ppa(a,b))},On=function(){var a=qpa().prev;if(k(a))return xpa===a?lc(Hn,xpa):In(a);throw Error("No frame to pop.");},ypa=function(){var a=qpa(),b=le;for(a=t(a.bindings);;)if(a){var c=u(a),d=x.G(c,0,null);c=x.G(c,1,null).Ee(null);b=Vf.G(b,d,c);a=w(a)}else return b},zpa=function(a){var b=Ib(Hn); +return k(b)?b.bindings.get(a):null},Pn=function(a){throw Error(["Attempting to call unbound fn: ",m.j(a)].join(""));},Apa=function(a){this.lc=a;this.ga=1;this.ia=0},Qn=function(a){return $d(a)?I.j(cg(a)):a},Rn=function(a,b,c){this.data=a;this.namespace=b;this.name=c;this.ga=131072;this.ia=4096},Bpa=function(a,b,c,d){k(b)&&0Y:Y:ja)&&Ls("Can't have fixed arity function with more params than variadic function", +b);return eo.da(eo.da(Vf.J(Da,YFa,La,y.B([Ii,Fa>da?Fa:da],0)),rt,Qd,Vf.G(fa,ZFa,Aa)),S,Qd,xa)},new f(null,4,[rt,Ue,S,Ue,$Fa,null,Ii,-1],null),g);g=uo.B(Ib(r),d);g=ze.B(gi,ug.B(it,Tf(g)));var F=k(z)?vd(g,v):null,O=Qe.B(p,Qf(g)),V=uo.B(Ib(r),Qd.B(cd(d),it));d=k(V)?dg(O,Nh.B(V,O)):null;var W=Oc(O);g=dg(O,nk.j(W));var ea=k(z)?Vf.G(g,v,W):g;d=(k(F)?F:t(d))?function(){var Da=k(z)?W+1:W,Aa=sk.j(io.B(function(da){var Y=A.B(V,da);if(k(Y)){da=A.B(ea,da);var xa=Yh.j(2);xa[0]=Y;xa[1]=da;return xa}return null}, +O));return new E(null,2,5,G,[function(da){for(var Y=Aa.length,xa=0,fa=Yh.j(Da);;)if(xaOc(b))throw Error("Malformed member expression, expecting (.member target ...)");return kxa(a,b)}if(Pc.B(Gt,c))return ht(a,b,Cc(b));if(Pc.B(kGa,c))return txa(b);if(Pc.B(Ht,c))return cxa(a,b);if(Pc.B(hh,c))return Xwa(a,b);if(Pc.B(dh,c))return axa(a,b);if(Pc.B(bh,c)){c=Sc(b);var d= +Ci.B(2,c);b=Uc(b);b=or.j(t(Ti.J(new B(null,gh,null,1,null),new B(null,c,null,1,null),y.B([new B(null,jt.B(or.j(t(Ti.J(new B(null,hh,null,1,null),new B(null,cf(d),null,1,null),y.B([b],0)))),d),null,1,null)],0))));return Ms.B?Ms.B(a,b):Ms.call(null,a,b)}if(Pc.B(ch,c))return Ss(a,b,Cc(b));if(Pc.B(LFa,c))return c=t(b),b=u(c),c=w(c),d=cg(b),d=$c(I.B(Xd(b),ng.G(d,0,d.length-1)),ad(b)),mxa(a,$c(jt.G(eh,d,c),ad(b)));if(Pc.B(ph,c))return Zwa(a,b);if(Pc.B(mh,c))return Pc.B(2,Oc(b))||Ls("Wrong number of args (0) passed to quote", +b),Sc(b);if(Pc.B(gh,c))return kt(a,b,Sc(b),Uc(b));if(Pc.B(KFa,c)){d=t(b);c=u(d);var g=w(d);d=u(g);g=w(g);if(2>Oc(b))throw Error("Malformed member expression, expecting (.member target ...)");return kxa(a,$c(new B(null,kh,new B(null,d,new B(null,Td(I.j(ng.B(cg(c),1)),g),null,1,null),2,null),3,null),ad(b)))}if(Pc.B(fh,c))return oxa(a,b);if(Pc.B(Zg,c))return cxa(a,b);if(Pc.B(jh,c))return qxa(a,b);if(Pc.B(ih,c))return Gwa(a,b,Ns(Ks(a),Cc(b)));if(Pc.B(eh,c))return mxa(a,b);if(Pc.B(lh,c))return x.G(b,0, +null),b=x.G(b,1,null),Is(a,b,!1,null);if(Pc.B(Rt,c))return $wa(a,b);if(Pc.B(oh,c))return gxa(a,b);if(Pc.B($g,c))return fxa(a,b);if(Pc.B(St,c))return nt(a,b,Cc(b));throw Error(["No matching clause: ",m.j(c)].join(""));},yxa=function(a,b,c,d){var g=k(k(d)?k(c)?N.j(c):c:d)?new f(null,2,[P,P.j(c),N,N.j(c)],null):null;k(g)&&(tr=g);try{var h=lGa.j(c);k(h)&&Nn(ke([rr,h]));try{var l=u(b);if(l instanceof n){var p=A.B(Awa,l);k(k(p)?mGa.j(a):p)&&owa(a,l,new E(null,2,5,G,[p,null],null));var v=k(p)?p:Is(a,l,!0, +null),r=ad(v),z=k(r)?FFa.j(r):r,C=Tt.j(r),F=k(C)?C:v;if(k(k(r)?IFa.j(r):r)){var O=x.G(F,0,null),V=x.G(F,1,null),W=Vc(V),ea=Pc.B(W,""),ha=Oc(V),ma=V.slice(0,ha-1),ra=Pc.B(1,ha)?Be([O,W]):function(){return[bva(O,ma),W]};try{var ta=ra()}catch(Zb){ta=null}var Da=x.G(ta,0,null),Aa=x.G(ta,1,null),da=Ns(a,Cc(b)),Y=sk.j(da);if(k(Da)){if(ea)return Fn(function(Zb,bc,Bc){return Mr(bc,Bc,Da,Y)},null);var xa=Da[Aa];return Fn(function(Zb,bc,Bc){return cva(bc,Bc,Da,xa,Y)},null)}return ea?Fn(function(Zb,bc,Bc){Zb= +ra()[0];return Mr(bc,Bc,Zb,Y)},null):Fn(function(Zb,bc,Bc){Zb=ra();var Hd=Zb[0];return cva(bc,Bc,Hd,Hd[Zb[1]],Y)},null)}if(k(function(){var Zb=kb(z);return Zb?(Zb=F instanceof n)?k(p)?p:vd(pwa,F):Zb:Zb}()))return vxa(a,b,F);try{if(k(Mua(F))){var fa=function(){var Zb=Jr(F);return Zb?Mn(F):Zb}(),ja=Jr(F)?Ib(F):F,Fa=function(){var Zb=ja.afn;return k(Zb)?Zb:ja}(),La=k(fa)?ze.ja(Fa,b,bs.j(a),a,Cc(b)):ze.da(Fa,b,bs.j(a),Cc(b));return k(MFa.j(a))?La:k(k(d)?pd(La)&&Pc.B(ch,u(La)):d)?new npa(null!=La&&(La.ga& +262144||tc===La.Ff)?$c(La,gi.J(y.B([c,ad(La)],0))):La):function(){var Zb=k(c)?null!=La&&(La.ga&262144||tc===La.Ff)?$c(La,gi.J(y.B([c,ad(La)],0))):La:La;return Ms.G?Ms.G(a,Zb,d):Ms.call(null,a,Zb,d)}()}var Oa=Ut.j(r);if(k(Oa))return ja=Oa,$s(a,b,ja,Ns(a,Cc(b)),Vf.J(c,J,Ib(Cr),y.B([M,Ib(rr),Vt,r],0)),null);var Wa=FFa.j(ad(F));if(k(Wa))switch(Wa instanceof D?Wa.la:null){case "resolve-sym":return rxa(HFa.j(ad(F)),Ns(a,Cc(b)),Vf.J(c,J,Ib(Cr),y.B([M,Ib(rr),Vt,r],0)));default:return da=Ns(a,Cc(b)),$s(a, +b,F,da,Vf.J(c,J,Ib(Cr),y.B([M,Ib(rr),Vt,r],0)),null)}else{fa=function(){var Zb=Jr(F);return Zb?Mn(F):Zb}();if(k(fa))return sxa(b,F,Ns(a,Cc(b)));var cb=nGa.j(a);if(k(k(cb)?cb.j?cb.j(F):cb.call(null,F):cb))return da=Ns(a,Cc(b)),$s(a,b,F,da,Vf.J(c,J,Ib(Cr),y.B([M,Ib(rr),Vt,r],0)),function(Zb,bc){return Ib(bc.get(l))});da=Ns(a,Cc(b));return $s(a,b,F,da,Vf.J(c,J,Ib(Cr),y.B([M,Ib(rr),Vt,r],0)),Jr(F)?function(Zb,bc,Bc){return Ib(Bc)}:null)}}catch(Zb){if(Zb instanceof Error){var nb=Zb;return Nua(a,nb,function(){var bc= +Vf.J(c,J,Ib(Cr),y.B([M,Ib(rr),Vt,r],0));return Fn(function(){return null},bc)}())}throw Zb;}}else if(l instanceof D){da=Ns(a,Cc(b));var vb=Oc(da);switch(vb){case 1:var xb=x.B(da,0);return Fn(function(Zb,bc,Bc){return l.j(Z(xb,bc,Bc))},null);case 2:var Fb=x.B(da,0),Ub=x.B(da,1);return Fn(function(Zb,bc,Bc){return l.B(Z(Fb,bc,Bc),Z(Ub,bc,Bc))},null);default:return Ls(["Wrong number of args (",m.j(vb),") passed to: ",m.j(l)].join(""),b)}}else{v=Ms.B?Ms.B(a,l):Ms.call(null,a,l);da=Ns(a,Cc(b));var pb= +Vf.J(c,J,Ib(Cr),y.B([M,Ib(rr)],0));return $s(a,b,v,da,pb,Jr(v)?function(Zb,bc,Bc){return Z(Ib(Bc),Zb,bc)}:function(Zb,bc,Bc){return Z(Bc,Zb,bc)})}}catch(Zb){return nb=Zb,Nua(a,nb,Fn(function(){return null},Xua(c,!1)))}finally{k(h)&&On()}}finally{k(g)&&(tr=null)}},zxa=function(a){return 16>=a?ar:Hj},Axa=function(a,b,c){var d=zxa(Oc(c));$s(a,b,d,c,null,null);return $s(a,b,d,c,null,null)},Bxa=function(a){return!(a instanceof En)},Cxa=function(a,b,c){a=Ks(a);var d=qf.G(Ue,Bg,b),g=Ns(a,d),h=we(Bxa,g); +d=h?Pc.B(d,g):null;d=h?k(d)?b:function(){var v=zxa(Oc(g));return ze.B(v,g)}():null;var l=h?d:Axa(a,b,g),p=k(c)?Ms.B?Ms.B(a,c):Ms.call(null,a,c):null;return k(p)?Fn(function(v,r,z){v=Z(l,r,z);r=Z(p,r,z);return $c(v,r)},null):l},Dxa=function(a,b,c,d,g){a=Ks(a);var h=k(g)?Ms.B?Ms.B(a,g):Ms.call(null,a,g):null;g=Ns(a,d);var l=we(Bxa,g),p=fd(d),v=l&&Pc.B(p?function(){var z=t(d);return z?z:Ue}():d,g);b=l?v?dd(d)?p?Yf:Ue:d:b.j?b.j(g):b.call(null,g):null;var r=l?b:$s(a,d,c,g,null,null);return k(h)?Fn(function(z, +C,F){z=Z(r,C,F);C=Z(h,C,F);return $c(z,C)},null):r},Exa=function(a,b){b=b.val;if(id(b)){var c=Qf(b),d=ug.B(cg,c),g=Tf(b),h=Ns(a,g);return Fn(function(l,p,v){return ze.B(tt,Km.B(d,ug.B(function(r){return Z(r,p,v)},h)))},null)}g=Ns(a,b);return Fn(function(l,p,v){var r=[];Rea(function(z){return r.push(Z(z,p,v))},g);return r},null)},vt=function(a,b,c,d,g){c=new f(null,3,[J,k(c)?c:ut,Gl,!0,ft,!0],null);g=k(g)?gi.J(y.B([c,g],0)):c;return Yua(a,b,g,d)},wt=function(a,b){return Fxa(a,b,null,!1)},xt=function(a, +b,c){return Fxa(a,b,c,!0)},Fxa=function(a,b,c,d){d=k(d)?d:!0===c;c=new f(null,2,[J,!0===c?ut:k(c)?c:ut,ft,!0],null);c=k(null)?gi.J(y.B([c,null],0)):c;return Yua(a,b,c,d)},Gxa=function(a){if(!kd(a))throw Error("doseq requires a vector for its binding");if(!ye(Oc(a)))throw Error("doseq requires an even number of forms in binding vector");},Hxa=function(a,b){var c=Oc(a)-1;Pc.B(2,c)||qr(["Wrong number of args (",m.j(c),") passed to: clojure.core/for"].join(""),a);kd(b)||qr("for requires a vector for its binding", +a);ye(Oc(b))||qr("for requires an even number of forms in binding vector",a)},yt=function(a){return Gr(a,null,new f(null,2,[J,ut,ft,!0],null))},Jxa=function(a){var b=ad(a);if(k(b)){if(k(oGa.j(b)))return I.j(m.j(Ib(a)));a=U.j(b);if(k(a))return b=J.j(b),k(b)?I.B(m.j(Gn(b)),m.j(a)):null}return null},Kxa=function(a,b){var c=Ib(cs.j(a)),d=function(){var z=Xd(b);return k(z)?I.j(z):null}(),g=Hr(),h=m.j(g),l=A.B(c,es),p=A.B(l,g),v=Xm.j(p),r=function F(C){var O=cg(C),V=function(){var W=ws.j(p);return k(W)? +(W=A.B(W,C),k(W)?Jxa(W):null):null}();if(k(V))return V;V=function(){var W=A.B(p,C);return k(W)?Jxa(W):null}();if(k(V))return V;V=vd(A.B(l,ls),C)&&kb(function(){var W=null==p?null:Qm.j(p);W=null==W?null:A.B(W,ls);W=null==W?null:Fs.j(W);return null==W?null:vd(W,C)}())||vd(pwa,C)?I.B("clojure.core",O):null;if(k(V))return V;V=dva(a,C);return k(V)?V:Ga(O,".")?!Ba(O,".")&&Ca(O,".")?I.j([m.j(F(I.j(ng.G(O,0,O.length-1)))),"."].join("")):C:I.B(h,O)};return kb(d)?r(b):function(){var C=A.B(c,es);if(k(A.B(C, +d)))return b;var F=A.B(v,d);if(k(F))return I.B(m.j(F),cg(b));C=A.B(Sm.j(A.B(C,g)),d);return k(C)?I.B(m.j(C),cg(b)):b}()},Lxa=function(){throw mi.B("EvalReader not allowed when *read-eval* is false.",new f(null,1,[$h,LGa],null));},Mxa=function(a,b){b=jk.j(b);if(k(b))return b;a=cs.j(a);b=Ib(a);a=Hr();b=uo.B(b,new E(null,2,5,G,[es,a],null));b=Xm.j(b);return Vf.G(b,wk,a)},Bt=function(a,b,c){var d=gk.j(a),g=Ei.j(a),h=Jr(g)?Ib(g):g,l=Mxa(a,c),p=function(){var v=Vf.J(Nxa,gk,d,y.B([jk,l,Ji,new f(null,1,[xna, +function(r){return Kxa(a,r)}],null),Ei,function(r){var z=k(h)?h.j?h.j(r):h.call(null,r):h;if(k(z))return z;z=function(){var F=Ib(Oxa);return F.j?F.j(r):F.call(null,r)}();if(k(z))return z;z=function(){var F=Ib(At);F=F.G?F.G(a,le,r):F.call(null,a,le,r);F=null==F?null:ad(F);return null==F?null:MGa.j(F)}();if(k(z))return z;var C=Ib(Qxa);return k(C)?function(F){return C.B?C.B(r,F):C.call(null,r,F)}:null},Ik,k(Ib(Rxa))?function(r){return Uua(a,r)}:Lxa],0));return k(c)?gi.J(y.B([v,c],0)):v}();return function(){try{var v= +Fpa(b,p);return Vd(v,Epa)?NGa:v instanceof n&&bi(b)?lq.ya(v,Vf,N,Vh(b),P,Wh(b)-m.j(v).length):v}catch(r){if(r instanceof Ug)throw v=r,mi.G(v.message,Vf.J(Vg(v),$h,LGa,y.B([bFa,"parse",M,Ib(rr)],0)),v);throw r;}}()},Vxa=function(a,b){if(Vd(NGa,b)){b=fi.j(a);if(k(b)){if(Vd(OGa,b))throw mi.B("EOF while reading",new f(null,2,[$h,LGa,Ws,a],null));return b}throw mi.B("EOF while reading",new f(null,2,[$h,LGa,Ws,a],null));}return b},Ct=function(a){return a.Tf(null)},Wxa=function(a,b){return Rua(cs.j(a),b, +!1,null)},Dt=function(a,b){if(b instanceof Tn)return b;a=Wxa(a,b);if(k(a))return a;throw Error(["No namespace: ",m.j(b)," found"].join(""));},Xxa=function(a,b){b=Dt(a,b);b=Ct(b);a=uo.B(Ib(cs.j(a)),new E(null,3,5,G,[es,b,Xm],null));return dg(Qf(a),ug.B(function(c){return Un(c,null)},Tf(a)))},Yxa=function(a){return zh.J(a,Xm,y.B([Sm,Sk,Qm,ws],0))},Zxa=function(a,b){b=Dt(a,b);b=Ct(b);a=uo.B(Ib(cs.j(a)),new E(null,2,5,G,[es,b],null));return Yxa(a)},$xa=function(a,b){b=Dt(a,b);b=Ct(b);a=uo.B(Ib(cs.j(a)), +new E(null,2,5,G,[es,b],null));a=Yxa(a);return qf.B(le,io.B(function(c){var d=x.G(c,0,null);c=x.G(c,1,null);return k(po.j(ad(c)))?null:new E(null,2,5,G,[d,c],null)},a))},aya=function(a,b){b=Dt(a,b);b=Ct(b);var c=Ib(cs.j(a));a=Sm.j(c);b=uo.B(c,new E(null,3,5,G,[es,b,Sm],null));var d=is.j(c);c=Ti.B(Qf(a),Qf(b));a=Ti.B(Tf(a),Tf(b));return dg(c,ug.B(Io.B(xp,function(g){return A.B(d,g)}),a))},bya=function(a,b){b=Dt(a,b);b=Ct(b);var c=Ib(cs.j(a));a=uo.B(c,new E(null,3,5,G,[es,b,ws],null));b=uo.B(c,new E(null, +2,5,G,[es,ls],null));b=Yxa(b);return gi.J(y.B([b,a],0))},cya=function(a){var b=cs.j(a);a=A.B(Ib(b),es);a=yh.B(function(c){x.G(c,0,null);c=x.G(c,1,null);return po.j(c)},a);return ug.B(function(c){return Rua(b,c,!0,null)},Qf(a))},dya=function(a){return new Rn(a,null,null)},eya=function(a){var b=S.j(a),c=T.j(a),d=Gl.j(a);Et.J(y.B(["-------------------------"],0));var g=Et.J,h=y.B;var l=J.j(a);l=k(l)?[m.j(Ct(l)),"/"].join(""):null;g.call(Et,h.call(y,[[l,m.j(U.j(a))].join("")],0));k(b)&&Et.J(y.B([b],0)); +k(d)&&Et.J(y.B(["Macro"],0));return k(c)?Et.J(y.B([" ",c],0)):null},fya=function(a,b,c){return Pi(dg(a,c),b)},jya=function(a,b,c,d,g,h,l,p,v,r,z){Eg.B(a,function(C){var F=es.j(C),O=nn.J(gi,y.B([k(F)?F:gya,k(F)?null:new f(null,1,[Wt,Vf.G(b,Sk,hya)],null),d],0)),V=gi.J(y.B([c,uo.B(C,new E(null,3,5,G,[es,Wt,Xm],null))],0)),W=eo.J;O=eo.ja(O,Wt,Vf,Xm,V);V=Ir(dFa,Yea(),new f(null,1,[J,ut],null));var ea=y.B;F=Ti.B(Qf(F),iya);F=Gr(yFa,Dg.j(qf.B(Ft(),F)),new f(null,4,[T,"A ref to a sorted set of symbols representing loaded libs", +J,ut,po,!0,ft,!0],null));W=W.call(eo,O,ls,Vf,dFa,V,yFa,ea.call(y,[F],0));F=Sm.j(C);F=k(F)?gi.J(y.B([F,l],0)):l;O=gi.J(y.B([Ps.j(C),z],0));V=gi.J(y.B([Js.j(C),r],0));return kb(C)?new f(null,4,[es,W,Sm,F,Us,p,PGa,v],null):Vf.J(C,es,W,y.B([Sm,F,Us,p,PGa,v,Js,V,sFa,sFa.j(g),is,is.j(g),uFa,h,Ps,O],0))})},kya=function(a,b){return ne(qf.G(a,Io.B(Bg,ug.j(Qua)),b))},lya=function(a){for(var b=ac(Wf(a,new E(null,1,5,G,[ys],null))),c=a;;){var d=u(c);if(k(d)){var g=d;d=x.G(g,0,null);g=x.G(g,1,null);b=sf.G(b,d, +id(g)?g:new f(null,1,[xp,g],null));c=Cc(c)}else return new f(null,2,[sFa,sFa.j(a),is,dc(b)],null)}},mya=function(){return null},rya=function(a){var b=me(a);a=A.B(b,gk);var c=A.B(b,es),d=A.B(b,Ps),g=A.B(b,Js),h=A.B(b,bs),l=A.B(b,Ei),p=A.B(b,QGa),v=A.B(b,cs),r=A.B(b,Sm),z=A.B(b,ys),C=A.B(b,Us),F=A.B(b,PGa),O=A.B(b,Xm),V=A.B(b,gt),W=A.B(b,RGa);b=A.B(b,Yt);v=k(v)?v:Dg.j(le);r=gi.J(y.B([le,r],0));d=gi.J(y.B([pya,d],0));b=gi.J(y.B([qya,b],0));var ea=lya(b);jya(v,h,O,c,ea,b,r,C,F,g,d);return Vf.J(new f(null, +5,[bs,le,cs,v,gk,a,Ei,l,mGa,k(z)?z:V],null),ys,k(z)?kya(Yf,y.B([z],0)):null,y.B([gt,k(V)?kya(Yf,y.B([V],0)):null,QGa,k(p)?p:mya,RGa,W],0))},sya=function(a,b){Nn(ke([Cr,Ib(Cr)]));try{var c=di(ci(b));for(b=null;;){var d=Bt(a,c,null);if(Vd(NGa,d))return b;b=It(a,d)}}finally{On()}},Jt=function(a,b,c){return new Sn(b,a,Vf.G(c,U,Qn.j?Qn.j(a):Qn.call(null,a)),!1)},Kt=function(a,b,c){return new Sn(b,a,Vf.J(c,fs,!0,y.B([U,Qn.j?Qn.j(a):Qn.call(null,a)],0)),!1)},Lt=function(a,b,c){return new Sn(lq.da(b,Vf,as, +!0),a,Vf.J(c,Gl,!0,y.B([U,Qn.j?Qn.j(a):Qn.call(null,a)],0)),!1)},tya=function(a,b){var c=Ys;Ys=!0;try{Mt.B(a,b)}finally{Ys=c}},vya=function(a,b){var c=cs.j(a),d=Ib(c),g=me(b);b=A.B(g,gk);var h=A.B(g,es),l=A.B(g,Ps),p=A.B(g,Js),v=A.B(g,bs),r=A.B(g,Ei),z=A.B(g,QGa),C=A.B(g,Sm),F=A.B(g,ys),O=A.G(g,Us,Us.j(d)),V=A.G(g,PGa,PGa.j(d)),W=A.B(g,Xm);d=A.B(g,gt);g=A.B(g,Yt);g=gi.J(y.B([uFa.j(Ib(c)),g],0));var ea=lya(g);jya(c,v,W,h,ea,g,C,O,V,p,l);h=Vf.J;l=mGa.j(a);return h.call(Vf,new f(null,5,[bs,le,cs,c,gk, +b,Ei,r,mGa,k(l)?l:k(F)?F:d],null),ys,k(F)?kya(ys.j(a),y.B([F],0)):null,y.B([gt,k(d)?kya(gt.j(a),y.B([d],0)):null,QGa,z,SGa,SGa.j(a)],0))},xya=function(){return eo.G(wya,cs,function(a){return Dg.j(Ib(a))})},$t=function(a,b){return sya(a,b)},Nt=function(a){return Un(a,null)},yya=function(a,b){var c=Vf.G;var d=ln.j(a);d=k(d)?d:yk.ca();a=c.call(Vf,a,ln,d);return It(a,b)},Ot=function(a,b){return Cd.G(function(c,d){var g=x.G(d,0,null),h=x.G(d,1,null);d=$a.j(h);var l=Vf.G,p=Ak.j(h);h=k(p)?Ib(p):lk.j(h); +return l.call(Vf,c,g,Jt(g,h,Vf.J(d,J,b,y.B([U,g],0))))},le,a)},TGa=function(a,b){return Wxa(a,b)},zya=function(a,b){var c=Ib(At);return c.G?c.G(a,le,b):c.call(null,a,le,b)},Mo=function(a,b,c,d){this.form=a;this.fa=b;this.aa=c;this.ha=d;this.ga=2230716170;this.ia=139264},UGa=function(a){return new Mo(a,null,null,null)},Gqa=function(a){var b=zh.B(a,Zo);b=jd(a)?qf.B(le,b):b;return new Mo(Zo.j(a),null,ne(b),null)},Oo=function(a,b,c,d,g){this.form=a;this.f=b;this.fa=c;this.aa=d;this.ha=g;this.ga=2230716171; +this.ia=139264},VGa=function(a,b){return new Oo(a,b,null,null,null)},Hqa=function(a){var b=zh.J(a,Zo,y.B([cu],0));b=jd(a)?qf.B(le,b):b;return new Oo(Zo.j(a),cu.j(a),null,ne(b),null)},Iqa=function(a){return a instanceof Oo},Qo=function(a){return a instanceof Mo},Jqa=function(a,b){var c=null==b?null:Xd(b);c=null==c?null:I.j(c);a=null==c?null:A.B(a,c);a=null==a?null:m.j(a);return k(a)?I.B(a,cg(b)):b},WGa=function(a,b){return Oi(function(c){return $d(c)?Jqa(a,c):c},b)},Ro=function(a){return Hqa(new f(null, +2,[Zo,a,cu,vh.call(null,a)],null))},So=function(a){return Gqa(new f(null,1,[Zo,a],null))},XGa=function(a){return qf.G(new B(null,new E(null,2,5,G,[$a,new f(null,2,[U,"twitter:card",gn,"summary_large_image"],null)],null),null,1,null),ug.j(function(b){var c=x.G(b,0,null);b=x.G(b,1,null);return new E(null,2,5,G,[$a,new f(null,2,[du,["og:",cg(c)].join(""),gn,b],null)],null)}),a)},Uo=function(a){var b=id(a);if(b)try{return vd(a,eu)}catch(c){if(c instanceof Error)return!1;throw c;}else return b},Vo=function(a){return k(Uo(a))? +eu.j(a):a},Xo=function(a){return k(Uo(a))?gu.j(a):null},Kqa=function(a){return k(Uo(a))?ju.j(a):null},Lqa=function(a){return k(Uo(a))?YGa.j(a):null},Nqa=function(a){return k(Uo(a))?ZGa.j(a):null},Rqa=function(a){if(!id(a))throw mi.B("normalize-viewer-opts not passed `map?` opts",new f(null,1,[Ws,a],null));var b=YGa.j(a);if(k(b)){if(!vd(new Xf(null,new f(null,3,[$Ga,null,aHa,null,bHa,null],null),null),b))throw mi.B("Invalid `:nextjournal.clerk/width`, allowed values are `:full`, `:wide` and `:prose`.", +new f(null,1,[Xp,b],null));var c=ZGa.j(a);if(k(c))throw mi.B("Conflicting viewer options `:nextjournal.clerk/width` and `:nextjournal.clerk/css-class`. Please remove either one.",new f(null,2,[Xp,b,cHa,c],null));}return a},Tqa=function(a){return Rqa(Ah(a,Sqa))},Uqa=function(a){if(a instanceof D||a instanceof n||id(a))return a;if(pd(a))return new f(null,1,[lu,a],null);throw mi.B(["cannot normalize viewer `",m.j(a),"`"].join(""),new f(null,1,[nu,a],null));},dHa=function(a,b){return Vf.G(Ip.j(b),ju, +a)},Vqa=function(a,b,c){return cf(Ie.B(b,Ti.B(a,Ml.j(c))))},Wqa=function(a){return ie(1E4,a)},Xqa=function(a){var b=Oc(ze.G(xh,Oc,Ie.B(1E3,a)));return new f(null,1,[qu,ug.B(function(c){return Vqa(Vo(c),b,ru)},a)],null)},Yqa=function(a){var b=cf(fp.j(Oe.J(Qf,y.B([Ie.B(1E3,a)],0))));return new f(null,2,[Pu,b,qu,ug.B(function(c){return Nh.B(function(d){return A.G(c,d,ru)},b)},a)],null)},Zqa=function(a){var b=cf(Qf(a));return new f(null,2,[Pu,b,qu,hp.B(function(c){return ug.B(function(d){return x.G(A.B(a, +d),c,ru)},b)},Gb(ze.G(xh,Io.B(Wqa,bf),a)))],null)},$qa=function(a){var b=me(a);a=A.B(b,Pu);b=A.B(b,qu);b=new f(null,1,[qu,cf(b)],null);return k(a)?Vf.G(b,Pu,cf(a)):b},eHa=function(a){a=Xqa(a);a=me(a);var b=A.B(a,qu);return eo.G(Vf.G(a,Pu,u(b)),qu,Cc)},ara=function(a){return id(a)&&gd(ip.B(a,qu))?$qa(a):id(a)&&gd(u(Tf(a)))?Zqa(a):gd(a)&&id(u(a))?Yqa(a):gd(a)&&gd(u(a))?Xqa(a):null},cra=function(a){return id(a)?eo.G(a,Qu,function(b){return Nh.B(function(c){return eo.G(c,0,Io.B(sh,Cg))},b)}):a},fHa=function(){return Fma(Wu)}, +jp=function(a){return Vf.G(a,gHa,!0)},fra=function(a){return Vf.G(a,hHa,!0)},iHa=function(a){return Pi(new f(null,1,[eu,vg.j("nextjournal/value ")],null),a)},jHa=function(){throw mi.B("`fetch-all` is deprecated, please use a `:transform-fn` with `mark-presented` instead.",le);},hra=function(a){var b=Vo(a);b=me(b);b=A.B(b,$h);if(!k(b))throw mi.B("no type given for with-md-viewer",new f(null,1,[kHa,a],null));return kp.B(vg.B("nextjournal.markdown",cg(b)),a)},rp=function(a){return function(b){b=me(b); +var c=A.B(b,ju),d=A.B(b,Xu);return eo.G(jp(kp.B(new f(null,2,[U,lHa,lu,Yu],null),b)),eu,function(g){g=me(g);var h=A.B(g,jn),l=A.B(g,gn),p=A.B(g,Zu);return qf.B(Yc(a)?ze.B(a,new E(null,1,5,G,[gi.J(y.B([d,g],0))],null)):a,k(h)?new E(null,1,5,G,[h],null):k(l)?Nh.B(function(v){v=Vf.G(v,Zu,p);v=np.B?np.B(c,v):np.call(null,c,v);v=hra(v);v=op.j?op.j(v):op.call(null,v);return Pc.B(lHa,U.j(Xo(v)))?Vo(v):new E(null,2,5,G,[fHa(),qp.j?qp.j(v):qp.call(null,v)],null)},l):null)})}},$u=function(a){return wc(a)|| +a instanceof Sn},lra=function(a){return $u(ip.B(a,av))},ora=function(a){a=me(a);var b=A.B(a,eu),c=A.B(a,gu);if(k(c)){c=$u(c)||Yc(c)?c.j?c.j(b):c.call(null,b):new f(null,2,[eu,b,gu,Uqa(c)],null);var d=me(mra),g=A.B(d,bv),h=A.B(d,fo);d=Vf.G;b=h.j?h.j(b):h.call(null,b);b=k(b)?kb(mHa.j(Xo(c))):b;c=k(b)?g.j?g.j(c):g.call(null,c):c;return d.call(Vf,a,eu,c)}return a},qra=function(){return Gi.B(Ib(tp),pra)},sra=function(a){if(a instanceof Tn)return Ct(a);var b;(b=a instanceof n)||(b=new Xf(null,new f(null, +1,[Gi,null],null),null),b=b.j?b.j(a):b.call(null,a),b=k(b));if(b)return a;throw mi.B(["Unsupported scope `",m.j(a),"`. Valid scopes are namespaces, symbol namespace names or `:default`."].join(""),new f(null,1,[nHa,a],null));},hv=function(){var a=cv;return k(a)?a:Ib(Cr)},tra=function(a,b){return[m.j(a),t(b)&&Uf.B(new E(null,1,5,G,[0],null),b)?["-",Wi.B("-",b)].join(""):null].join("")},Fra=function(a){a=me(a);var b=A.B(a,Cp),c=eu.j(a),d=me(c),g=A.B(d,Zo),h=A.B(d,ln);c=A.B(d,bp);var l=A.B(d,oHa);d= +A.B(d,Zu);var p=me(d),v=A.B(p,pHa);p=A.B(p,qHa);l=me(l);var r=A.B(l,eu),z=A.B(l,rHa),C=A.B(l,ju);Vf.J(d,sHa,k(function(){var W=kb(v);return W?z:W}())?tHa:k(p)?uHa:M,y.B([vHa,z],0));c=Ah(Wf(c,Qf(Sqa)),Sqa);c=gi.J(y.B([zh.J(yp.j?yp.j(a):yp.call(null,a),iv,y.B([yv],0)),c,function(){var W=k(C)?C:zp.j(hv());return np.B?np.B(W,r):np.call(null,W,r)}()],0));c=me(c);var F=A.B(c,wHa),O=eo.G(Ap.j?Ap.j(c):Ap.call(null,c),Xu,function(W){var ea=me(W);W=A.B(ea,ln);ea=k(F)?Vf.G(ea,xHa,F):ea;ea=t(b)?Vf.G(ea,yHa,!0): +ea;return kb(W)?Vf.G(ea,ln,tra([m.j(h),"-result"].join(""),b)):ea}),V=Qo(eu.j(O));return gi.J(y.B([jp(a),new f(null,1,[eu,function(){var W=new f(null,2,[zHa,O,rHa,z],null);W=V?Vf.G(W,AHa,Zo.j(eu.j(O))):W;return k(BHa.j(Rwa.j(ad(g))))?Vf.G(W,CHa,!0):W}()],null),zh.J(O,eu,y.B([gu,ju],0))],0))},Kra=function(a){a=me(a);A.B(a,Yo);a=A.B(a,bp);a=No.j(a);var b=me(a);a=A.B(b,Po);b=A.B(b,Yo);return new f(null,3,[DHa,Uf.B(To,b),FHa,Pc.B(a,Bwa),GHa,Uf.B(To,a)],null)},Lra=function(a,b){b=me(b);b=A.B(b,Xn);return t(b)? +yqa(Vf.G(a,Xn,b)):a},Mra=function(a,b){b=me(b);A.B(b,M);A.B(b,qHa);return a},Qra=function(a,b,c,d){b=me(d);b=A.B(b,pn);return kp.B(Bv,new E(null,2,5,G,[HHa,new E(null,2,5,G,[IHa,eo.da(b,RHa,Mra,a)],null)],null))},Wra=function(a,b){b=me(b);var c=A.B(b,$h),d=A.B(b,ln);c=c instanceof D?c.la:null;switch(c){case "markdown":b=T.j(b);b=me(b);b=A.B(b,gn);var g=Dg.j(-1);return Oe.J(function(v){return Pc.B(BHa,$h.j(u(v)))?ug.B(function(r){return Qra(a,d,Eg.B(g,Hc),r)},v):new E(null,1,5,G,[kp.G(THa,new f(null, +1,[Xu,new f(null,1,[ln,tra(d,new E(null,1,5,G,[Eg.B(g,Hc)],null))],null)],null),Lra(new f(null,3,[$h,T,gn,cf(v),Zu,a],null),a))],null)},y.B([Hp.B(Io.B(new Xf(null,new f(null,1,[BHa,null],null),null),$h),b)],0));case "code":var h=eo.G(b,Yo,ora);b=Kra(h);c=me(b);b=A.B(c,GHa);var l=A.B(c,DHa);c=A.B(c,FHa);var p=Qo(ip.B(eu.j(Yo.j(h)),eu));b=k(b)?Qd.B(Ue,kp.G(k(c)?ZHa:$Ha,new f(null,1,[Xu,Vf.G(Wf(h,new E(null,1,5,G,[apa],null)),ln,tra([m.j(d),"-code"].join(""),Ue))],null),zh.B(h,Yo))):Ue;return k(k(l)? +l:p)?Qd.B(b,function(){var v=Ip.j(Ah(Vf.G(h,Zu,a),new f(null,1,[Yo,oHa],null)));return p&&kb(l)?Vf.G(v,gu,Vf.G(Vra,lu,K(Jp,new E(null,1,5,G,[Fv],null),new E(null,1,5,G,[cq],null)))):v}()):b;default:throw Error(["No matching clause: ",m.j(c)].join(""));}},Xra=function(a,b){return Cd.G(function(c,d){var g=x.G(d,0,null),h=x.G(d,1,null);return Nh.B(function(l){return k(g.j?g.j(l):g.call(null,l))?h.j?h.j(l):h.call(null,l):l},c)},a,b)},gIa=function(a){return qf.G(bIa,ug.j(Qh.B(U,Ed)),a)},psa=function(a){return a instanceof +Sn?Cpa(a):I.j(a)},yp=function(a){return Wf(a,new E(null,10,5,G,[yv,ZGa,YGa,Xu,hIa,iv,iIa,Jv,Cp,Lg],null))},rsa=function(a,b,c){a=me(a);var d=A.B(a,ju);return eo.da(gi.J(y.B([np.B?np.B(d,b):np.call(null,d,b),Wf(yp(a),new E(null,5,5,G,[iv,iIa,Jv,yv,Cp],null))],0)),Cp,wo.B(Qd,Ue),c)},usa=function(a){var b=me(a);A.B(b,Cp);var c=Dg.j(-1);return eo.G(b,eu,function(d){return"string"===typeof d?new E(null,2,5,G,[$p,new f(null,1,[mIa,new f(null,1,[rIa,d],null)],null)],null):Oi(function(g){if(k(Uo(g))){var h= +G;var l=fHa();g=rsa(b,g,Eg.B(c,Hc));g=Ap.j?Ap.j(g):Ap.call(null,g);h=new E(null,2,5,h,[l,g],null)}else h=g;return h},d)})},wsa=function(a){a=me(a);a=A.B(a,ap);return qf.G(Yf,io.j(function(b){var c=me(b);b=A.B(c,Yo);c=A.B(c,Zo);b=ip.B(eu.j(b),av);return k(b)?vd(ad(c),sIa)?b:null:null}),a)},ysa=function(a){return So(new B(null,tIa,new B(null,qf.G(le,ug.j(Qh.B(function(b){return new B(null,mh,new B(null,I.j(b),null,1,null),2,null)},function(b){return new B(null,mh,new B(null,Ib(Ib(b)),null,1,null),2, +null)})),wsa(a)),null,1,null),2,null))},uIa=function(a,b,c){return k(b.j?b.j(a):b.call(null,a))?eo.G(a,b,c):a},xIa=function(a){a=me(a);a=A.B(a,vIa);return vd(new Xf(null,new f(null,2,["src/nextjournal/home.clj",null,"'nextjournal.clerk.home",null],null),null),a)},AIa=function(a){var b=me(a);a=A.B(b,vIa);b=A.B(b,zIa);if(k(a)){var c=Pc.B("'nextjournal.clerk.index",a);return c?c:(b=Pc.B(m.j(b),a))?b:kg(/(^|.*\/)(index\.(clj|cljc|md))$/,a)}return null},EIa=function(a){a=me(a);A.B(a,pHa);A.B(a,zIa);return""}, +TIa=function(a){var b=me(a),c=A.B(b,vIa);a=A.B(b,pHa);var d=A.B(b,GIa),g=A.B(b,HIa);a=new E(null,2,5,G,[JIa,new E(null,4,5,G,[KIa,kb(a)&&!xIa(b)?new E(null,3,5,G,[cq,new E(null,3,5,G,[LIa,new f(null,1,[Tv,Vv.j?Vv.j("'nextjournal.clerk.home"):Vv.call(null,"'nextjournal.clerk.home")],null),"Home"],null),new E(null,2,5,G,[RIa,"•"],null)],null):null,kb(AIa(b))?new E(null,3,5,G,[cq,new E(null,3,5,G,[LIa,new f(null,1,[Tv,function(){var h=EIa(b);return Vv.j?Vv.j(h):Vv.call(null,h)}()],null),"Index"],null), +new E(null,2,5,G,[RIa,"•"],null)],null):null,new E(null,5,5,G,[Xv,k(a)?"Generated with ":"Served from ",new E(null,3,5,G,[LIa,new f(null,1,[Tv,"https://clerk.vision"],null),"Clerk"],null)," from ",function(){var h=Vfa(m.j(c),"src/nextjournal/clerk/index.clj");return new E(null,4,5,G,[LIa,new f(null,1,[Tv,k(k(d)?g:d)?h?[m.j(d),"/tree/",m.j(g)].join(""):[m.j(d),"/blob/",m.j(g),"/",m.j(c)].join(""):null],null),k(k(d)?h:d)?d:c,k(g)?new E(null,3,5,G,[cq,"@",new E(null,2,5,G,[SIa,ng.G(g,0,7)],null)],null): +null],null)}()],null)],null)],null);return p9c.j?p9c.j(a):p9c.call(null,a)},Csa=function(a,b){b=me(b);var c=A.B(b,J),d=Vf.G,g=eo.G,h=eo.G,l=Vf.G;c=eo.G(Vf.G(Vf.G(b,VIa,ysa(b)),J,So(new B(null,fh,new B(null,k(c)?c.name:Wt,null,1,null),2,null))),ap,hi.G(qf,Ue,Io.B(Oe.j(hi.B(Wra,zh.B(b,Zv))),ug.j(Io.B(Ap,hi.B(np,a))))));a=dHa(a,kp.B(ZIa,b));a=Ap.j?Ap.j(a):Ap.call(null,a);return d.call(Vf,uIa(Wf(g.call(eo,h.call(eo,l.call(Vf,c,$Ia,a),fn,$v),M,m),new E(null,13,5,G,[VIa,ap,qHa,pxa,Zv,M,Swa,J,$o,fn,jxa, +$Ia,bJa],null)),Zv,Ap),Pua,rd(t(Xn.j(b))))},Dsa=function(a){return Dd(function(b,c,d){var g=sd(d);d=g?d.j?d.j(a):d.call(null,a):g;return k(d)?Ic(c):b},-1,qf.G(Ue,ug.j(fo),pra))},Esa=function(a,b){try{return yd(a,b)}catch(c){if(c instanceof Error)return yd(Dsa(a),Dsa(b));throw c;}},Fsa=function(a){return hd(a)?a:id(a)?jq.G(u,Esa,a):fd(a)?qh.B(Esa,a):a},Gsa=function(a,b){return u(Qe.B(b,a))},Hsa=function(a,b){return Gsa(a,Io.B(Zf([b]),U))},Ksa=function(a,b){var c=function(){var d=Xo(b);if(k(d)){if(d instanceof +n||d instanceof D){var g=Hsa(a,d);if(k(g))return g;throw mi.B(["cannot find viewer named ",m.j(d)].join(""),new f(null,2,[cJa,d,dJa,a],null));}return d}return null}();if(k(c))return c;c=Gsa(a,function(){var d=Vo(b);return function(g){g=me(g);g=A.B(g,fo);var h=sd(g);return h?g.j?g.j(d):g.call(null,d):h}}());if(k(c))return c;throw mi.B("cannot find matching viewer for value",new f(null,3,[dw,Vo(b),dJa,a,Zp,b],null));},Lsa=function(a){for(;;){if(dd(Kqa(a)))throw mi.B("cannot apply empty viewers",new f(null, +1,[kHa,a],null));var b=Kqa(a),c=Ksa(b,a),d=c=me(c),g=A.B(c,lJa),h=A.B(c,lu),l=A.B(c,bv),p=function(){var v=np,r=v.B,z=b;var C=Vf.G(zh.B(a,gu),mJa,d);C=k(l)?l.j?l.j(C):l.call(null,C):C;v=r.call(v,z,C);return k(g)?eo.da(v,ju,Mp,g):v}();c=function(){var v=p;return k(Uo(Vo(p)))?gi.J(y.B([v,Vo(p)],0)):v}();if(k(function(){var v=l;return k(v)?kb(h):v}()))a=c;else return gi.J(y.B([Vf.G(c,gu,d),yp(a)],0))}},op=function(a){return Lsa(np.j(a))},oJa=function(a){return Oi(function(b){if(k(Uo(b))){var c=zh.B(b, +iv);return k(ju.j(b))?Ah(eo.G(c,ju,Oc),new f(null,1,[ju,nJa],null)):c}return b},a)},Psa=function(a,b){if("number"!==typeof a)throw mi.B("n must be a number?",new f(null,2,[sr,a,pJa,b],null));a+=1E4;try{var c=ie(a,b)}catch(d){if(d instanceof Error)c=null;else throw d;}b=k(c)?Vf.G(le,qJa,c):le;return kb(c)||Pc.B(c,a)?Vf.G(b,sJa,!0):b},Qsa=function(a){var b=me(a);a=A.B(b,sr);b=A.G(b,Lg,0);b=Je.j(b);return mca(a)?Io.B(b,Ie.j(a)):b},Rsa=function(a){a=me(a);var b=A.B(a,lu),c=A.B(a,tJa);return k(k(b)?!Iqa(b): +b)?eo.G(a,lu,function(d){return Vf.G(Ro(d),tJa,k(c)?c:vJa)}):a},Ssa=function(a){var b=new An,c=b.update;a=Cg.J(y.B([a],0));for(var d=[],g=0,h=0;hl?d[g++]=l:(2048>l?d[g++]=l>>6|192:(55296==(l&64512)&&h+1>18|240,d[g++]=l>>12&63|128):d[g++]=l>>12|224,d[g++]=l>>6&63|128),d[g++]=l&63|128)}c.call(b,d);return b.digest()},Vsa=function(a,b){b=me(b);var c=A.B(b,hIa); +if(id(a)){b=zh.J;var d=kb(tJa.j(a));a=k(d?c:d)?Vf.G(a,tJa,c):a;a=b.call(zh,a,fo,y.B([bv,zJa],0));a=Vf.G(a,AJa,Ssa(a));a=Rsa(a)}return a},qp=function(a){var b=me(a);a=A.B(b,Jv);A.B(b,Cp);b=eo.da(zh.B(Wf(b,Wsa),yv),gu,Vsa,b);return k(a)?lq.da(b,Vf,Jv,a):b},Xsa=function(a,b){return qp(op(np.B(a,kp.B(EJa,b))))},FJa=function(a){return Vo(u(Qe.B(Io.G(new Xf(null,new f(null,1,[EJa,null],null),null),U,gu),Pe(ek.B(id,kd),function(b){return id(b)?Tf(b):b},a))))},Ysa=function(a){return gi.J(y.B([new f(null, +1,[sr,IJa.B(a,jw.j(Xo(a)))],null),Wf(a,new E(null,2,5,G,[Cp,Lg],null))],0))},Zsa=function(a){var b=Ysa(a);b=me(b);var c=A.B(b,sr);return gi.J(y.B([b,Psa(c,Vo(a))],0))},MJa=function(a){return sr.j(Ysa(a))},$sa=function(a){var b=me(a);A.B(b,yv);var c=A.B(b,ju),d=A.B(b,hHa),g=A.B(b,iv);a=Ysa(b);var h=me(a),l=A.B(h,Lg);a=A.B(h,sr);var p=Vo(b);a="number"===typeof a&&kb(d);g=k(a?k(g)?!$e(p):g:a)?eo.da(h,sr,nq,Ib(g)):h;var v=k(d)?qf.G(le,ug.j(function(C){var F=x.G(C,0,null),O=x.G(C,1,null);C=G;O=rsa(b,O, +F);O=oq.j?oq.j(O):oq.call(null,O);return new E(null,2,5,C,[F,O],null)}),p):qf.G(Ue,Io.G(a?Qsa(g):Ed,hp.j(function(C,F){C=rsa(b,F,C+(k(l)?l:0));return oq.j?oq.j(C):oq.call(null,C)}),yh.j(hb)),Fsa(p));d=a?Zsa(b):a;var r=me(d);d=A.B(r,qJa);g=A.B(r,sJa);var z=a?function(){var C=null==v?null:bd(v);C=null==C?null:Cp.j(C);C=null==C?null:bd(C);C=null==C?null:C+1;return k(C)?C:0}():null;return k(a?k(g)?g:zd){var g=m,h=g.j;a:{var l="0";for(d=4-d;;)if(0=(c.B?c.B(hl,0):c.call(null, +hl,0))&&1>=(c.B?c.B(Qm,0):c.call(null,Qm,0))))throw Ly(a,Gz(b,"Each of :as and :refer options may only be specified once in :require / :require-macros"));}},AKa=function(a,b){return Cd.G(function(c,d){var g=t(d),h=u(g),l=w(g);if(Pc.B(h,BXa)){if(t(jx.j(c)))throw Ly(a,"Only one :refer-clojure form is allowed per namespace definition");var p=new Xf(null,new f(null,2,[Fs,null,Es,null],null),null),v=function(){for(var r=t(l),z=new f(null,2,[jx,Yf,vx,le],null),C=!ye(Oc(l));;){if(!0===C)throw Ly(a,"Only [:refer-clojure :exclude (names)] and optionally `:rename {from to}` specs supported"); +if(null!=r){var F=u(r);if(k(p.j?p.j(F):p.call(null,F))){var O=Sc(r);if(Pc.B(F,Fs)&&gd(O)&&we(vc,O)||Pc.B(F,Es)&&id(O)&&we(function(){return function(V){return we(vc,V)}}(r,z,C,O,F,p,d,g,h,l,h,l),O))if(Pc.B(F,Fs))r=Uc(r),z=ei.da(z,new E(null,1,5,G,[jx],null),qf,O),C=!1;else if(Pc.B(F,Es))r=Uc(r),z=ei.da(z,new E(null,1,5,G,[vx],null),gi,O),C=!1;else return null;else C=!0}else C=!0}else return z}}();return nn.J(qf,y.B([c,v],0))}return c},new f(null,2,[jx,Yf,vx,le],null),b)},BKa=function(a,b){var c=t(b), +d=u(c),g=w(c);if(!(d instanceof n)||ye(Oc(b)))throw Ly(a,Gz(b,"Only [lib.ns :only (names)] and optionally `:rename {from to}` specs supported in :use / :use-macros"));for(var h=t(g),l=new E(null,1,5,G,[d],null),p=!1;;){if(!0===p)throw Ly(a,Gz(b,"Only [lib.ns :only (names)] and optionally `:rename {from to}` specs supported in :use / :use-macros"));if(null!=h){var v=u(h),r=Pc.B(v,vFa);if(r||Pc.B(v,Es)){if(null!=xe(Zf([r?Qm:v]),l))throw Ly(a,Gz(b,"Each of :only and :rename options may only be specified once in :use / :use-macros")); +var z=Sc(h);r&&gd(z)&&we(vc,z)||Pc.B(v,Es)&&id(z)&&we(function(){return function(C){return we(vc,C)}}(h,l,p,z,v,r,b,c,d,g,d,g,b),z)?(h=Uc(h),l=qf.B(l,new E(null,2,5,G,[r?Qm:v,z],null)),p=!1):p=!0}else p=!0}else{if(null!=xe(new Xf(null,new f(null,1,[Qm,null],null),null),l))return l;p=!0}}},Hz=function(a,b,c,d,g){for(;;)if(g instanceof n||"string"===typeof g)g=new E(null,1,5,G,[g],null);else{zKa(a,g);var h=g,l=t(h),p=u(l),v=w(l),r=p,z=v,C=function(){var fa=By(Ib(null),r_a,m.j(r),U);return null==fa? +new E(null,2,5,G,[r,null],null):new E(null,2,5,G,[I.j(fa),r],null)}(),F=x.G(C,0,null),O=x.G(C,1,null),V=ze.B(Hj,z),W=me(V),ea=A.G(W,hl,"string"===typeof F?I.j(rh(F)):F),ha=A.B(W,Qm),ma=A.B(W,Es),ra=t(yh.B(ag(Qf(ma)),ha)),ta=k(b)?new E(null,3,5,G,[hx,wx,xx],null):new E(null,3,5,G,[Xs,Gs,Es],null),Da=x.G(ta,0,null),Aa=x.G(ta,1,null),da=x.G(ta,2,null);if(!(ea instanceof n||null==ea))throw Ly(a,Gz(g,":as must be followed by a symbol in :require / :require-macros"));if(null!=ea){var Y=k(b)?an:b1a,xa=function(){var fa= +Y.j(Ib(d));return fa.j?fa.j(ea):fa.call(null,ea)}();if(null!=xa&&Uf.B(F,xa))throw Ly(a,Gz(g,":as alias must be unique"));Eg.J(d,ei,new E(null,1,5,G,[Y],null),Qd,y.B([new E(null,2,5,G,[ea,F],null),k(O)?new E(null,2,5,G,[O,F],null):null],0))}if(!(gd(ha)&&we(vc,ha)||null==ha))throw Ly(a,Gz(g,":refer must be followed by a sequence of symbols in :require / :require-macros"));k(b)||Eg.G(c,Qd,F);return gi.J(y.B([null!=ea?ke([Da,gi.J(y.B([ke([ea,F]),ke([F,F]),k(O)?ke([O,F]):null],0))]):null,null!=ra?ke([Aa, +ze.B(Hj,Km.B(ra,Ml.j(F)))]):null,null!=ma?ke([da,Cd.G(function(fa,ja,Fa,La,Oa,Wa,cb,nb,vb,xb,Fb,Ub,pb,Zb,bc,Bc,Hd,qe){return function(wf,Sf){var Rh=x.G(Sf,0,null);Sf=x.G(Sf,1,null);if(!k(xe(Zf([Rh]),qe)))throw Ly(fa,["Renamed symbol ",m.j(Rh)," not referred"].join(""));return Vf.G(wf,Sf,I.B(m.j(pb),m.j(Rh)))}}(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta,Da,Aa,da),le,ma)]):null],0))}},DKa=function(a,b,c){if(!(gd(c)&&we(vc,c)||c instanceof n&&null==Xd(c)))throw Ly(a,Gz(c,"Only lib.ns.Ctor or [lib.ns Ctor*] spec supported in :import")); +a=gd(c)?qf.B(le,ug.B(function(v){return new E(null,2,5,G,[v,I.j([m.j(u(c)),".",m.j(v)].join(""))],null)},Cc(c))):-1!==m.j(c).indexOf(".")?ke([I.j(Vc(Ih.B(m.j(c),/\./))),c]):le;for(var d=t(a),g=null,h=0,l=0;;)if(lMath.abs(a):Math.abs((a-b)/b)=iB(c,b)},ak.G(2,1,a))},HMa=function(a){return gd(a)?qh.B(iB,a):a},kB=function(a){return Cg.J(y.B([zA(jB.j(a))],0))},lB=function(a){return una(zA(jB.j(a)))},nB=function(a){return a instanceof mB},oB=function(a){return Ia(a, +"re")},pB=function(a){return Ia(a,"im")},IMa=function(a){if("string"===typeof a)return or.j(t(Ti.B(new B(null,C7a,null,1,null),new B(null,a,null,1,null))));if(kd(a)){var b=x.G(a,0,null);a=x.G(a,1,null);return null==a?or.j(t(Ti.B(new B(null,C7a,null,1,null),new B(null,b,null,1,null)))):or.j(t(Ti.J(new B(null,C7a,null,1,null),new B(null,b,null,1,null),y.B([new B(null,a,null,1,null)],0))))}return"number"===typeof a?or.j(t(Ti.B(new B(null,C7a,null,1,null),new B(null,a,null,1,null)))):ky(["#emmy/complex takes a string, 2-vector or a number. Received: ", +m.j(a)].join(""))},sB=function(a){return nB(a)?rB.B(Math.round(oB(a)),Math.round(pB(a))):td(a)?a:Math.round(a)},tB=function(a){return nB(a)?LA(oB(a))&&LA(pB(a)):CA(a)&&LA(a)},JMa=function(a){return nB(a)?0>oB(a)?QA.j(a):a:CA(a)?Math.abs(hy(a)):ky("not supported!")},wB=function(a,b){if(sA(a))return b;if(sA(b))return a;if(k(uB.B(a,b)))return JMa(a);if(tB(a)||tB(b))if(tB(a))if(tB(b)){b=vB.j(a)a?-a:a;for(b=0>b?-b:b;;){if(0==b)return a;var c=a%b;a=b;b=c}},UMa=function(a,b){for(var c=GB;;){var d=b.ee(1);if(kb(b.Ji()))b=d,a=a.multiply(a);else{if(k(d.isZero()))return a.multiply(c); +b=d;c=a.multiply(c);a=a.multiply(a)}}},VMa=function(a,b){for(var c=za;;){var d=b.ee(1);if(kb(b.Ji()))b=d,a=a.multiply(a);else{if(k(d.isZero()))return a.multiply(c);b=d;c=a.multiply(c);a=a.multiply(a)}}},WMa=function(a){return function(){function b(c){if(0ea?(v+=1,z=Se.B(z,C)):(r+=1,z=Se.B(z,F))}}var h=null;h=function(l,p){switch(arguments.length){case 0:return Ue;case 1:return l;case 2:return g.call(this,l,p)}throw Error("Invalid arity: "+arguments.length);};h.ca=function(){return Ue};h.j=function(l){return l};h.B=g;return h}()},IB=function(){Jx.call(this);this.ve=new Mx(this);this.$k=this;this.Qi=null},jNa=function(a,b,c,d){b=a.ve.listeners[String(b)];if(!b)return!0;b=b.concat();for(var g=!0,h=0;h=Aa.jj+da.ms?zh.B(ta,Da):ta:zh.B(ta,Da)},ra,ra);return dd(ra)?MB.B(ha,ma):sf.G(ha,ma,ra)},ac(k(ea)?ea:le),ea))}));for(;;){var F=Ib(d),O=A.B(F,r),V=null==O?null:Dd(function(ea,ha,ma,ra,ta,Da,Aa){return function(da,Y,xa){var fa=A.B(Aa,Y);if(k(fa)){if(xa.n=xa?da: +null==da?new yNa(ke([Y,xa]),Y,xa):xa>da.lj?new yNa(Vf.G(da.m,Y,xa),Y,xa):new yNa(Vf.G(da.m,Y,xa),da.Ek,da.lj)}return da}}(F,O,C,r,c,d,g,null,h,l,p,vNa,v),null,O);if(k(k(z)?z:V)){var W=V;return k(W)?(r=W,new E(null,3,5,G,[r.Ek,r.lj,r.m],null)):null}W=Ib(c);k(W)||(O=Dd(function(ea,ha,ma,ra,ta){return function(Da,Aa,da){var Y=Vf.G;var xa=A.B(ma,Aa);if(k(xa)){var fa=xa.jj;da=ta>=fa+da.ms?new xNa(1,ta):new xNa(xa.n+1,fa)}else da=new xNa(1,ta);return Y.call(Vf,Da,Aa,da)}}(W,F,O,V,C,r,c,d,g,null,h,l,p,vNa, +v),O,g),De(d,Vf.G(F,r,O)));return null}}if(dd(a))return new E(null,2,5,G,[null,Be(null)],null);var c=Dg.j(null),d=Dg.j(null),g=zNa(a),h=me(null),l=A.G(h,U7a,Ed),p=A.G(h,V7a,16E3),v=1/Id(p);return new E(null,2,5,G,[d,function(){function r(O,V){if(k(Vd.B?Vd.B(O,X7a):Vd.call(null,O,X7a)))return k(Vd.B?Vd.B(V,Y7a):Vd.call(null,V,Y7a))?De(d,null):Eg.G(d,zh,l.j?l.j(V):l.call(null,V)),null;if(k(Vd.B?Vd.B(O,Z7a):Vd.call(null,O,Z7a)))return b(V,!0);throw mi.B("[encore/limiter*] Unexpected limiter command", +new f(null,2,[$7a,new f(null,2,[dw,O,$h,qb(O)],null),a8a,V],null));}function z(O){return b(O,!1)}function C(){return b(null,!1)}var F=null;F=function(O,V){switch(arguments.length){case 0:return C.call(this);case 1:return z.call(this,O);case 2:return r.call(this,O,V)}throw Error("Invalid arity: "+arguments.length);};F.ca=C;F.j=z;F.B=r;return F}()],null)},INa=function(a){return void 0===a||null==a?"nil":a},sy=function(){return!0},ty=function(){return!1},vy=function(a){return Uf.B(-1,a.indexOf("*"))? +og(Dh(Dh(["^",m.j(a),"$"].join(""),".","\\."),"*","(.*)")):null},A8a=function(a,b){for(;;){if(k(function(){var r=new Xf(null,new f(null,2,["*",null,b8a,null],null),null);return r.j?r.j(a):r.call(null,a)}()))return sy;if(k(function(){var r=Zf([Ue,Yf,z8a]);return r.j?r.j(a):r.call(null,a)}()))return ty;if(a instanceof RegExp)return function(r){return function(z){return lg(r,z)}}(a,b,sy,ty,vy);if("string"===typeof a){var c=vy(a);if(k(c)){var d=b;a=c;b=d}else return function(r){return function(z){return Pc.B(z, +r)}}(a,b,c,sy,ty,vy)}else if(kd(a)||fd(a)){if(k(function(){var r=ag(a);return r.j?r.j("*"):r.call(null,"*")}()))return sy;if(Pc.B(Oc(a),1))c=u(a),d=b,a=c,b=d;else{var g=Cd.G(function(r,z,C,F,O){return function(V,W){var ea=x.G(V,0,null);V=x.G(V,1,null);var ha=W instanceof RegExp?W:O(W);return k(ha)?new E(null,2,5,G,[ea,Qd.B(V,ha)],null):new E(null,2,5,G,[Qd.B(ea,W),V],null)}}(a,b,sy,ty,vy),new E(null,2,5,G,[Yf,Ue],null),a),h=x.G(g,0,null),l=x.G(g,1,null),p=ne(h),v=function(){var r=ne(l);return k(r)? +(r=function(z,C,F,O,V,W,ea,ha,ma,ra,ta){return function(Da){return qNa(function(){return function(Aa){return lg(Aa,Da)}}(z,C,F,O,V,W,ea,ha,ma,ra,ta),F)}}(a,b,r,r,g,h,l,p,sy,ty,vy),k(b)?Fg(r):r):null}();if(k(function(){var r=p;return k(r)?v:r}()))return function(r,z,C,F,O,V,W){return function(ea){var ha=V.j?V.j(ea):V.call(null,ea);return k(ha)?ha:W.j?W.j(ea):W.call(null,ea)}}(a,b,g,h,l,p,v,sy,ty,vy);if(k(p))return p;if(k(v))return v;throw mi.B("[encore/cond!] No matching clause",le);}}else throw mi.B("[enc/compile-str-filter] Unexpected spec type", +new f(null,1,[Nya,new f(null,2,[dw,a,$h,qb(a)],null)],null));}},RNa=function(a){for(;;){if(id(a)){var b=A.B(a,c8a),c=function(){var l=A.B(a,ys);return k(l)?l:A.B(a,d8a)}(),d=function(){var l=A.B(a,gt);return k(l)?l:A.B(a,e8a)}(),g=function(){var l=c;return k(l)?A8a(l,b):null}(),h=function(){var l=d;return k(l)?A8a(l,b):null}();if(Pc.B(h,sy)||Pc.B(g,ty))return ty;if(k(function(){var l=g;return k(l)?h:l}()))return function(l,p,v,r,z,C){return function(F){F=m.j(F);return k(z.j?z.j(F):z.call(null,F))? +k(C.j?C.j(F):C.call(null,F))?!1:!0:!1}}(a,b,c,d,g,h,sy,ty,vy,A8a);if(k(g))return Pc.B(g,sy)?sy:function(l,p,v,r,z){return function(C){C=m.j(C);C=z.j?z.j(C):z.call(null,C);return k(C)?!0:!1}}(a,b,c,d,g,h,sy,ty,vy,A8a);if(k(h))return Pc.B(h,ty)?sy:function(l,p,v,r,z,C){return function(F){F=m.j(F);F=C.j?C.j(F):C.call(null,F);return k(F)?!1:!0}}(a,b,c,d,g,h,sy,ty,vy,A8a);throw mi.B("[encore/compile-str-filter] `allow-spec` and `deny-spec` cannot both be nil",new f(null,2,[f8a,c,B8a,d],null));}a=new f(null, +2,[ys,a,gt,null],null)}},TNa=function(a){for(var b=[],c=arguments.length,d=0;;)if(dc?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Na(c,2));c=d.join("")}b.hj=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=dOa(a);b.ij=[c,c];b.mf={Xm:a,qj:a};b.Fh=[];return b}b=new cOa;b.hj=a.id;b.zk=-a.std_offset;b.ij=a.names;b.mf=a.names_ext;b.Fh=a.transitions; +return b},dOa=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Na(Math.floor(a/60)%100,2),":",Na(a%60,2));return b.join("")},fOa=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.Fh[c];)c+=2;return 0==c?0:a.Fh[c-1]},jOa=function(a){this.ph=[];this.Ob=gOa;"number"==typeof a?hOa(this,a):iOa(this,a)},kOa=function(a){return a.getHours?a.getHours():0},iOa=function(a,b){for(lOa&&(b=b.replace(/\u200f/g, +""));b;){const c=b;for(let d=0;db)c=a.Ob.Ih[b];else if(8>b)c=a.Ob.rj[b-4];else if(12>b)c=a.Ob.Gk[b-8],c=c.replace("{1}",a.Ob.Ih[b-8]),c=c.replace("{0}",a.Ob.rj[b-8]);else if(12===b)c=a.Ob.Ih[0].replace(/[^EMd]*yy*[^EMd]*/, +"");else{hOa(a,10);return}iOa(a,c)},UB=function(a,b){{b=String(b);const c=a.Ob||gOa;if(void 0!==c.Yk){a=[];for(let d=0;d=g?String.fromCharCode(c.Yk+g-48):b.charAt(d))}b=a.join("")}}return b},VB=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");},nOa=function(a,b){VB(b);b=kOa(b);return a.Ob.Fk[12<= +b&&24>b?1:0]},oOa=function(a,b,c,d,g,h){var l=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==l&&(c%=100),UB(a,Na(c,l));case "Y":return c=(new Date(bOa(d.getFullYear(),d.getMonth(),d.getDate(),a.Ob.pj,a.Ob.oj))).getFullYear(),0>c&&(c=-c),2==l&&(c%=100),UB(a,Na(c,l));case "M":a:switch(c=d.getMonth(),l){case 5:l=a.Ob.Lk[c];break a;case 4:l=a.Ob.Kk[c];break a;case 3:l=a.Ob.Nk[c];break a;default:l=UB(a,Na(c+ +1,l))}return l;case "k":return VB(g),UB(a,Na(kOa(g)||24,l));case "S":return UB(a,(g.getMilliseconds()/1E3).toFixed(Math.min(3,l)).slice(2)+(3l?a.Ob.Ok[c]:a.Ob.Mk[c];case "d":return UB(a,Na(d.getDate(),l));case "m":return VB(g),UB(a,Na(g.getMinutes?g.getMinutes():0,l));case "s":return VB(g),UB(a,Na(g.getSeconds(),l));case "v":return l=h||eOa(c.getTimezoneOffset()),l.hj; +case "V":return a=h||eOa(c.getTimezoneOffset()),2>=l?a.hj:0l?a.ij[0l? +(l=-b.getOffset(c),a=[0>l?"-":"+"],l=Math.abs(l),a.push(Na(Math.floor(l/60)%100,2),Na(l%60,2)),l=a.join("")):l=UB(a,dOa(b.getOffset(c))),l;default:return""}},j9a=function(a){switch(a instanceof D?a.la:null){case "trace":return 0;case "debug":return 1;case "info":return 2;case "warn":return 3;case "error":return 4;case "fatal":return 5;case "report":return 6;default:return null}},rOa=function(a){if(k(j9a(a)))return a;throw mi.B("Invalid Timbre logging level: should be e/o #{:trace :debug :info :warn :error :fatal :report}", +new f(null,2,[d9a,a,$h,qb(a)],null));},WB=function(a){var b=j9a(a);if(k(b))return b;throw mi.B("Invalid Timbre logging level: should be e/o #{:trace :debug :info :warn :error :fatal :report}",new f(null,2,[d9a,a,$h,qb(a)],null));},sOa=function(a,b){return(WB.j?WB.j(a):WB.call(null,a))>=(WB.j?WB.j(b):WB.call(null,b))},uOa=function(a,b){a=k(Yc.j?Yc.j(a):Yc.call(null,a))?a.j?a.j(b):a.call(null,b):l9a(a,b);return k(a)?!0:!1},wOa=function(a,b,c){b=kd(b)?vOa(b,c):b;a=k(b)?b:a;return rOa.j?rOa.j(a):rOa.call(null, +a)},m9a=function(a){if(k(a)){var b=Zf([Ue,Yf]);b=b.j?b.j(a):b.call(null,a);a=k(b)?null:a}else a=null;return a},yOa=function(a,b){a=m9a(a);b=m9a(b);return k(k(a)?a:b)?new f(null,2,[ys,a,gt,b],null):null},EOa=function(a,b,c,d){var g=k(d)?d:zOa;d=function(){var h=A.B(g,e9a);h=k(h)?h:A.B(g,wy);return wOa.G?wOa.G(a,h,c):wOa.call(null,a,h,c)}();return k(sOa.B?sOa.B(b,d):sOa.call(null,b,d))?(b=function(){var h=A.B(g,f9a);if(k(h))return h;h=A.B(g,g9a);var l=A.B(g,h9a);return yOa.B?yOa.B(h,l):yOa.call(null, +h,l)}(),k(b)?k(uOa.B?uOa.B(b,c):uOa.call(null,b,c))?!0:!1:!0):!1},FOa=function(a){return null==a?"nil":"string"===typeof a?a:Cg.J(y.B([a],0))},KOa=function(a){var b=me(a),c=A.B(b,i9a),d=A.B(b,k9a);a=A.B(b,c9a);b=A.B(b,Xy);b=me(b);b=A.G(b,n9a,FOa);if(Pc.B(null,c))return"";if(Pc.B(yy,c))return d=ug.j(b),k(k(" ")?Uf.B(" ",""):" ")?(c=ji.j(" "),b=LB.B(JOa,m),a=k(d)?JB.G(Io.B(d,c),b,a):JB.G(c,b,a)):a=k(d)?JB.G(d,LB.B(JOa,m),a):m.j(Cd.B(JOa,a)),a;if(Pc.B(cu,c)){if("string"===typeof d)return null==d?a="": +(a=k(INa)?Nh.B(INa,a):a,a=ze.G(wu,d,a)),a;throw mi.B("Timbre format-style logging call without a format pattern string",new f(null,3,[k9a,d,$h,qb(d),c9a,a],null));}throw Error(["No matching clause: ",m.j(c)].join(""));},NOa=function(a){var b=Vd.B?Vd.B(o9a,o9a):Vd.call(null,o9a,o9a),c=Vd.B?Vd.B(yy,cu):Vd.call(null,yy,cu),d=x.G(a,0,null);if(k(k(b)?d instanceof Error:b)){var g=d,h=null,l=uNa(a);a=k(c)?x.G(l,0,null):null;c=k(c)?uNa(l):l;return new E(null,4,5,G,[g,h,a,c],null)}h=k(function(){var v=id(d); +return v?$a.j(ad(d)):v}())?d:null;g=function(){var v=HTa.j(h);return k(v)?v:k(b)?null:o9a}();var p=zh.B(h,HTa);l=k(p)?uNa(a):a;a=k(c)?x.G(l,0,null):null;c=k(c)?uNa(l):l;return new E(null,4,5,G,[g,p,a,c],null)},SOa=function(a,b){return function(c){try{return b.j?b.j(c):b.call(null,c)}catch(v){var d=v,g=me(c),h=A.B(g,wy),l=A.B(g,p9a),p=A.B(g,q9a);g=A.B(g,r9a);throw mi.G(a,new f(null,4,[wy,h,tw,c,Yy,[m.j(k(l)?l:k(p)?p:"?"),":",m.j(k(g)?g:"?")].join(""),Vy,b],null),d);}}},bC=function(a,b,c,d,g){var h= +zOa;if(EOa(s9a,a,b,h)){var l=new Date;d=Ib(d);d=NOa(d);var p=x.G(d,0,null),v=x.G(d,1,null),r=x.G(d,2,null);d=x.G(d,3,null);c=Qd.B(k(null)?null:le,H([t9a,u9a,v9a,c9a,q9a,w9a,p9a,wy,i9a,Uy,Ul,r9a,x9a,G8a,k9a],[l,null,h,d,null,function(){var ea=new Xf(null,new f(null,2,[y9a,null,Zv,null],null),null);return ea.j?ea.j(a):ea.call(null,a)}(),b,a,yy,p,null,c,new zg(function(){return p},null),v,r]));c=Cd.G(function(ea,ha){ea=ha.j?ha.j(ea):ha.call(null,ea);return null==ea?Ic(null):ea},c,A.B(h,z9a));if(k(c)){l= +me(c);var z=A.B(l,c9a),C=Vf.G(c,A9a,new zg(function(){return z},null)),F=ZB.J(C,H8a,new zg(function(){return SOa("Timbre error when calling (msg-fn \x3cdata\x3e)",KOa)(C)},null),y.B([B9a,new zg(function(){return uc(function(){var ea=A.B(v,ln);if(k(ea))return new E(null,3,5,G,[ea,g,a],null);ea=A.B(v,C9a);if(k(ea))return ea;ea=A.B(v,AJa);return k(ea)?new E(null,4,5,G,[ea,g,r,a],null):new E(null,4,5,G,[z,g,r,a],null)}())},null)],0)),O=function(){var ea=Fg(function(ma){return new zg(function(){var ra= +A.B(F,t9a),ta=me(ma);ta=A.B(ta,Fy);return k(Vd.B?Vd.B(ta,D9a):Vd.call(null,ta,D9a))?(new Date(ra)).toISOString():(new jOa(ta)).format(ra)},null)}),ha=new zg(function(){return Qd.B(ePa,A.B(h,E9a))},null);return function(ma){var ra=(ra=null==ma)?ra:Vd.B?Vd.B(ma,F9a):Vd.call(null,ma,F9a);return k(ra)?ea(Ib(ha)):ea(Qd.B(Ib(ha),ma))}}(),V=function(){var ea=Fg(A.G(h,Vy,aC));return function(ha){var ma=(ma=null==ha)?ma:Vd.B?Vd.B(ha,F9a):Vd.call(null,ha,F9a);return SOa("Timbre error when calling (output-fn \x3cdata\x3e)", +k(ma)?ea:ha)}}(),W=A.B(h,Xy);Dd(function(ea,ha,ma){if(k(function(){var xa=A.B(ma,C8a);return k(xa)?EOa(Qu,a,b,ma):xa}())){var ra=A.B(ma,G9a);if(function(){var xa=dd(ra);if(xa)return xa;xa=iPa(ha,ra);var fa=Ag(A.B(F,B9a));xa=xa.j?xa.j(fa):xa.call(null,fa);return kb(xa)}()){var ta=me(ma);ea=A.B(ta,Ek);A.B(ta,H9a);var Da=O(A.B(ma,E9a)),Aa=V(A.B(ma,Vy)),da=function(){var xa=A.B(ma,Xy);return k(xa)?xa:W}(),Y=Qd.B(F,new f(null,6,[I9a,ha,J9a,ma,Xy,da,Vy,Aa,E8a,new zg(function(){var xa=Vf.J(F,K9a,Da,y.B([Xy, +da],0));return Aa.j?Aa.j(xa):Aa.call(null,xa)},null),K9a,Da],null));ta=function(){var xa=A.B(ma,L9a);return k(xa)?xa.j?xa.j(Y):xa.call(null,Y):Y}();return k(ta)?ea.j?ea.j(ta):ea.call(null,ta):null}}return null},null,A.B(h,M9a))}}return null},cC=function(a){return function(b){return pd(b)&&Pc.B(u.j?u.j(b):u.call(null,b),a)}},pPa=function(a){var b=pd(a);return b?(b=dC(u.j?u.j(a):u.call(null,a)),k(b)?Pc.B(Zy,Sc(u.j?u.j(a):u.call(null,a))):b):b},qPa=function(a,b){var c=b instanceof n?function(d){return new B(null, +b,new B(null,d,null,1,null),2,null)}:b;return function(d){if(DA(d)){var g=a.j?a.j(d):a.call(null,d);return yA(d)?yA(g)?g:c.j?c.j(d):c.call(null,d):g}return c.j?c.j(d):c.call(null,d)}},rPa=function(a,b,c,d){return DA(a)&&DA(b)?c.B?c.B(a,b):c.call(null,a,b):Pc.B(a,b)?0:sA(a)?0:tA(b)?a:new B(null,d,new B(null,a,new B(null,b,null,1,null),2,null),3,null)},iC=function(a,b){return DA(a)&&DA(b)?fC.B(a,b):DA(a)?sA(a)?b:k(gC(b))?or.j(t(Ti.J(new B(null,Dm,null,1,null),new B(null,a,null,1,null),y.B([Cc.j?Cc.j(b): +Cc.call(null,b)],0)))):or.j(t(Ti.J(new B(null,Dm,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))):DA(b)?sA(b)?a:k(gC(a))?or.j(t(Ti.J(new B(null,Dm,null,1,null),Cc.j?Cc.j(a):Cc.call(null,a),y.B([new B(null,b,null,1,null)],0)))):or.j(t(Ti.J(new B(null,Dm,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))):k(gC(a))?k(gC(b))?or.j(t(Ti.J(new B(null,Dm,null,1,null),Cc.j?Cc.j(a):Cc.call(null,a),y.B([Cc.j?Cc.j(b):Cc.call(null,b)],0)))):or.j(t(Ti.J(new B(null, +Dm,null,1,null),Cc.j?Cc.j(a):Cc.call(null,a),y.B([new B(null,b,null,1,null)],0)))):k(gC(b))?or.j(t(Ti.J(new B(null,Dm,null,1,null),new B(null,a,null,1,null),y.B([Cc.j?Cc.j(b):Cc.call(null,b)],0)))):or.j(t(Ti.J(new B(null,Dm,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0))))},sPa=function(a,b){return DA(a)&&DA(b)?SA.B(a,b):DA(a)?sA(a)?or.j(t(Ti.B(new B(null,zm,null,1,null),new B(null,b,null,1,null)))):or.j(t(Ti.J(new B(null,zm,null,1,null),new B(null,a,null,1,null),y.B([new B(null, +b,null,1,null)],0)))):DA(b)?sA(b)?a:or.j(t(Ti.J(new B(null,zm,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))):Pc.B(a,b)?0:or.j(t(Ti.J(new B(null,zm,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0))))},tPa=function(a){return sPa(0,a)},lC=function(a,b){return DA(a)&&DA(b)?OA.B(a,b):DA(a)?sA(a)?a:tA(a)?b:k(jC(b))?or.j(t(Ti.J(new B(null,Sy,null,1,null),new B(null,a,null,1,null),y.B([Cc.j?Cc.j(b):Cc.call(null,b)],0)))):or.j(t(Ti.J(new B(null,Sy,null, +1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))):DA(b)?sA(b)?b:tA(b)?a:k(jC(a))?or.j(t(Ti.J(new B(null,Sy,null,1,null),Cc.j?Cc.j(a):Cc.call(null,a),y.B([new B(null,b,null,1,null)],0)))):or.j(t(Ti.J(new B(null,Sy,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))):k(jC(a))?k(jC(b))?or.j(t(Ti.J(new B(null,Sy,null,1,null),Cc.j?Cc.j(a):Cc.call(null,a),y.B([Cc.j?Cc.j(b):Cc.call(null,b)],0)))):or.j(t(Ti.J(new B(null,Sy,null,1,null),Cc.j?Cc.j(a):Cc.call(null, +a),y.B([new B(null,b,null,1,null)],0)))):k(jC(b))?or.j(t(Ti.J(new B(null,Sy,null,1,null),new B(null,a,null,1,null),y.B([Cc.j?Cc.j(b):Cc.call(null,b)],0)))):or.j(t(Ti.J(new B(null,Sy,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0))))},mC=function(a,b){return DA(a)&&DA(b)?UA.B(a,b):DA(a)?sA(a)?a:or.j(t(Ti.J(new B(null,Ai,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))):DA(b)?sA(b)?my("division by zero"):tA(b)?a:or.j(t(Ti.J(new B(null,Ai,null,1,null), +new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))):or.j(t(Ti.J(new B(null,Ai,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0))))},uPa=function(a){return mC(1,a)},xPa=function(a){return DA(a)?yA(a)?sA(a)?0:new B(null,az,new B(null,a,null,1,null),2,null):LA(a/oC)?0:LA(1/(a-vPa-wPa))?1:LA((a+vPa)/wPa)?-1:Math.sin(a):a instanceof n?k(pC.j?pC.j(a):pC.call(null,a))?0:k(qC.j?qC.j(a):qC.call(null,a))?1:k(rC.j?rC.j(a):rC.call(null,a))?-1:new B(null,az,new B(null,a,null, +1,null),2,null):new B(null,az,new B(null,a,null,1,null),2,null)},yPa=function(a){return DA(a)?yA(a)?sA(a)?1:new B(null,bz,new B(null,a,null,1,null),2,null):LA((a-vPa)/oC)?0:LA(a/wPa)?1:LA((a-oC)/wPa)?-1:Math.cos(a):a instanceof n?k(tC.j?tC.j(a):tC.call(null,a))?0:k(uC.j?uC.j(a):uC.call(null,a))?1:k(vC.j?vC.j(a):vC.call(null,a))?-1:new B(null,bz,new B(null,a,null,1,null),2,null):new B(null,bz,new B(null,a,null,1,null),2,null)},zPa=function(a){return DA(a)?yA(a)?sA(a)?1:new B(null,cz,new B(null,a,null, +1,null),2,null):xC.j(a):new B(null,cz,new B(null,a,null,1,null),2,null)},APa=function(a){return DA(a)?yA(a)?sA(a)?0:new B(null,ez,new B(null,a,null,1,null),2,null):zC.j(a):new B(null,ez,new B(null,a,null,1,null),2,null)},CC=function(a){return DA(a)?AC.j(a):lC(UA.B(1,2),iC(a,BC(a)))},BPa=function(a){return DA(a)?DC.j(a):lC(UA.B(1,2),lC(rB.B(0,-1),sPa(a,BC(a))))},CPa=function(a,b){return DA(a)&&DA(b)?EC.B(a,b):CA(a)?lC(a,CC(b)):CA(b)?lC(CC(a),b):iC(lC(CC(a),CC(b)),lC(BPa(a),BPa(b)))},EPa=function(a){if(k(DPa(a)))return a= +u(Cc.j?Cc.j(a):Cc.call(null,a)),new B(null,FC(Zy,2),new B(null,a,null,1,null),2,null);if(k(pPa(a))){var b=x.B(u.j?u.j(a):u.call(null,a),2);a=u(Cc.j?Cc.j(a):Cc.call(null,a));return new B(null,FC(Zy,b+1),new B(null,a,null,1,null),2,null)}return new B(null,Zy,new B(null,a,null,1,null),2,null)},FPa=function(a,b){return!0===a?b:!1===a?a:!0===b?a:!1===b?b:Pc.B(a,b)?b:new B(null,Gt,new B(null,a,new B(null,b,null,1,null),2,null),3,null)},GPa=function(a,b){var c=DA(a),d=DA(b);return c&&d?uB.B(a,b):c||d?!1: +Pc.B(a,b)?!0:new B(null,Am,new B(null,a,new B(null,b,null,1,null),2,null),3,null)},HPa=function(a){return DA(a)?tA(a):new B(null,Am,new B(null,1,new B(null,a,null,1,null),2,null),3,null)},HC=function(a){return IPa.j?IPa.j(a):IPa.call(null,a)},JPa=function(a){return function(b,c){return k(a.j?a.j(b):a.call(null,b))?k(a.j?a.j(c):a.call(null,c))?yd(b,c):-1:k(a.j?a.j(c):a.call(null,c))?1:yd(b,c)}},KPa=function(){},IC=function(a,b,c){if(null!=a&&null!=a.fh)a=a.fh(a,b,c);else{var d=IC[aa(null==a?null:a)]; +if(null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else if(d=IC._,null!=d)a=d.G?d.G(a,b,c):d.call(null,a,b,c);else throw rb("ICanonicalize.-\x3eexpression",a);}return a},JC=function(a,b){if(null!=a&&null!=a.gg)a=a.gg(a,b);else{var c=JC[aa(null==a?null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=JC._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw rb("ICanonicalize.known-operation?",a);}return a},MPa=function(a){return N9a.j(a)},KC=function(a){return O9a.j(a)},PPa=function(a){return P9a.j(a)}, +RPa=function(a){return Q9a.j(a)},TPa=function(a){return R9a.j(a)},dF=function(a,b){a=t(Ie.B(a,b));b=null;for(var c=0,d=0;;)if(dl?d+=1:(c+=1,d+=1,g=Se.B(g,h))}},BSa=function(a,b){return rd(t(ASa(a,new E(null,1,5,G,[b],null))))},CSa=function(a,b){if(dd(a))return new E(null,1,5,G,[b],null);if(bbd(a))return Qd.B(a,b);for(var c=Id(0),d=ac(Ue);;){var g=x.G(a,c,null);if(kb(g))return dc(Se.B(d,b));if(bbd(a))return a;for(var c=Id(0),d=ac(Ue);;){var g=x.G(a,c,null);if(kb(g)||bta?(ha+=1,ma=Se.B(ma,ta)):(ea+=1,ha+=1,ma=Se.B(ma,ra))}}r=F.call(C,p,V.call(O,W,DD.B(h,r)));v+=1;p=r}else v+=1}}d=JSa(p,g(d+1))}return d}(0)},oF=function(a){this.Ha=a;this.ga=2149580800;this.ia= +2048},LSa=function(a){return new oF(a)},pF=function(a){return a instanceof oF},qF=function(a){return pF(a)?a.Ha:kd(a)?a:sA(a)?Ue:new E(null,1,5,G,[nF.j(a)],null)},rF=function(a){return dd(a)?0:Pc.B(Oc(a),1)&&dd(jF(x.B(a,0)))?kF(x.B(a,0)):LSa(a)},sF=function(a){return rF(HSa(a))},MSa=function(a,b){return LSa(ISa(a,b.Ha))},uF=function(a,b,c){var d=tF;tF=Qd.B(tF,a);try{return ze.B(b,c)}finally{tF=d}},NSa=function(a){return rd(xe(Zf([a]),Rb(tF)))},vF=function(a,b,c){return rF(JSa(qF(a),KSa(qF(b),qF(c))))}, +wF=function(a){if(pF(a)){a=x.G(a.Ha,0,null);var b=jF(a);return dd(b)?kF(a):0}return a},yF=function(a){var b=xF.j(a);a=x.G(b,0,null);b=x.G(b,1,null);return tA(a)&&sA(b)},OSa=function(a,b){return IA(qF(a),qF(b))},zF=function(a,b){return IA(wF(a),wF(b))},PSa=function(a,b,c,d){var g=AF.B(a,b),h=BF.G(a,c,d);return function(){function l(){return a.ca?a.ca():a.call(null)}var p=null,v=function(){function r(C,F,O){var V=null;if(2g?VH(l,b):my([m.j(a)," is not invertible mod ",m.j(b)].join(""))},fWa=function(a,b,c){return ZVa(Number(lD.B(YH.B(BigInt(a),BigInt(b)),c)),c)},gWa=function(a){return Dd(function(b,c,d){return 0===d?b:Vf.G(b,c,d)},ZH,a)},hWa=function(a, +b){return Dd(function(c,d,g){return d>b?Vf.G(c,d-1,g):Vf.G(c,d,g)},ZH,zh.B(a,b))},iWa=function(a,b,c){a=Dd(function(d,g,h){return g>=b?Vf.G(d,g+1,h):Vf.G(d,g,h)},ZH,a);return 0===c?a:Vf.G(a,b,c)},jWa=function(a){return ze.B(Ui,Tf(a))},$H=function(a,b){return a.B?a.B(b,0):a.call(null,b,0)},kWa=function(a){var b=nk.j(Oc(a)),c=qf.B(Ue,jq.B(a,Qf(a)));return new E(null,2,5,G,[function(d){return qf.G(ZH,Oe.j(function(g){var h=c.j?c.j(g):c.call(null,g);h=d.j?d.j(h):d.call(null,h);return k(h)?new E(null, +1,5,G,[new E(null,2,5,G,[g,h],null)],null):null}),b)},function(d){return qf.G(ZH,Oe.j(function(g){var h=d.j?d.j(g):d.call(null,g);return k(h)?new E(null,1,5,G,[new E(null,2,5,G,[c.j?c.j(g):c.call(null,g),h],null)],null):null}),b)}],null)},mWa=function(a){for(var b=[],c=arguments.length,d=0;;)if(dl?1:-1}},oWa=function(a,b){var c=jWa(a),d=jWa(b);return Pc.B(c,d)?mWa(a,b):c-d},aI=function(a){return x.G(a,0,ZH)},bI=function(a){return x.G(a,1,0)},pWa=function(a){var b=aI(a);a=bI(a);return[Cg.J(y.B([a],0)),"*",Cg.J(y.B([b],0))].join("")},qWa=function(a){return sA(a)? +Ue:new E(null,1,5,G,[cI.B(ZH,a)],null)},rWa=function(a){var b=Io.B(hp.j(function(c,d){if(sA(d))return null;c=0===c?ZH:dI.B?dI.B(0,c):dI.call(null,0,c);return new E(null,1,5,G,[cI.B(c,d)],null)}),Bg);return qf.G(Ue,b,a)},sWa=function(a){return dd(a)?Ue:qf.B(Ue,jq.G(aI,oWa,function(){return function d(c){return new ae(null,function(){for(var g=c;;)if(g=t(g)){if(ld(g)){var h=hc(g),l=Oc(h),p=be(l);a:for(var v=0;;)if(v=a?ze.B(FF,b):JB.G(ug.j(ey),DD,b)},TSa=function(a,b){a=nk.G(a,0,-b);return JB.G(ug.j(ey),DD,a)},USa=function(a){if(0===a)return 1;a=UA.B(GF(a),Math.E);return TA.j(fC.B(.5,a))},VSa=function(a,b){var c=Dg.j(null);De(c,Fg(function(g,h){if(Pc.B(h,1)||Pc.B(g,h))return 1;var l=g-1;g=function(){var v=Ib(c);v=v.B?v.B(l,h):v.call(null,l,h);v=BigInt(v);return DD.B?DD.B(h,v):DD.call(null, +h,v)}();var p=function(){var v=h-1,r=Ib(c);return r.B?r.B(l,v):r.call(null,l,v)}();return mF.B?mF.B(g,p):mF.call(null,g,p)}));if(0===b)return 0===a?1:0;if(b>a)return 0;var d=Ib(c);return d.B?d.B(a,b):d.call(null,a,b)},WSa=function(a){var b=ug.j(function(d){return VSa(a,d)}),c=nk.j(a+1);return JB.G(b,mF,c)},HF=function(a){return Ti.B(new ae(null,function(){return a},null,null),new ae(null,function(){return Ml.j(vA(u(a)))},null,null))},XSa=function(a,b){return ug.G(mF,a,b)},YSa=function(a,b){return new ae(null, +function(){return Td(mF.B(a,u(b)),Cc(b))},null,null)},ZSa=function(a,b){return new ae(null,function(){return Td(mF.B(u(a),b),Cc(a))},null,null)},$Sa=function(a,b){return ug.G(AD,a,b)},aTa=function(a,b){return new ae(null,function(){return Td(AD.B(u(a),b),Cc(a))},null,null)},bTa=function(a,b){return new ae(null,function(){return Td(AD.B(a,u(b)),ug.B(QA,Cc(b)))},null,null)},cTa=function(a,b){return ug.B(function(c){return OA.B(c,b)},a)},IF=function(a,b){return ug.B(function(c){return OA.B(a,c)},b)}, +dTa=function(a,b){return ug.B(function(c){return ID.B(c,b)},a)},KF=function(a,b){return function g(d){return new ae(null,function(){var h=t(d),l=u(h);h=w(h);var p=Cc(b);h=JF(p,g(h));return Td(l,h)},null,null)}(a)},eTa=function(a){return function d(c){return new ae(null,function(){var g=Cc(c),h=d(c);return Td(0,LF(KF(g,h)))},null,null)}(a)},MF=function(a,b){return Td(b,ug.G(UA,a,Ne(Hc,1)))},fTa=function(a,b){function c(d,g){for(var h=HF(new E(null,1,5,G,[1],null));;){var l=ye(g);g=Jd(g,2);if(l)d=JF(d, +d);else{if(0===g)return JF(d,h);h=JF(d,h);d=JF(d,d)}}}return 0=b)return a;var c=vA(u(a));b=Ml.B(b-1,c);b=ze.B(Ti,ug.G(Td,a,Ml.j(b)));c=ad(a);a=SF(a)?QF:OF;return a.B? +a.B(b,c):a.call(null,b,c)},XF=function(a){var b=Jz.B(mF,a),c=ad(a);a=SF(a)?QF:OF;return a.B?a.B(b,c):a.call(null,b,c)},YF=function(a,b){return JB.G(Ie.j(b+1),mF,a)},mTa=function(a,b){return QF(KF(t(a),t(b)),null)},nTa=function(a){return QF(eTa(t(a)),ad(a))},ZF=function(a){a:{var b=ac(new E(null,1,5,G,[1],null));for(var c=1,d=1;;){if(0===a)break a;c=c*a/d;b=Se.B(b,c);--a;d+=1}}b=dc(b);return QF(HF(b),null)},WPa=function(a){return gd(a)&&2=Oc(a))?(c=bd(a),(a=dd(aI(c)))?uB.B(b,bI(c)):a):c},BI=function(a){return qI(a)?ug.B(bI,yI(a)):sA(a)?Ue:new E(null,1,5,G, +[a],null)},CI=function(a){a=bd(yI(a));return k(a)?a:new E(null,2,5,G,[ZH,0],null)},DI=function(a){return qI(a)?bI(bd(a.Ha)):a},$Wa=function(a){return qI(a)?aI(bd(a.Ha)):ZH},aXa=function(a){for(;;)if(qI(a))a=DI(a);else return a},bXa=function(a){return qI(a)?bI(x.G(a.Ha,0,Ue)):a},cXa=function(a){return qI(a)?jWa(aI(x.B(a.Ha,0))):sA(a)?-1:0},dXa=function(a){return!qI(a)||Pc.B(1,Oc(a.Ha))},eXa=function(a){return qI(a)?Pc.B(1,xI(a))&&tA(DI(a)):tA(a)},fXa=function(a){return qI(a)&&Pc.B(a.arity,1)},gXa= +function(a){return qI(a)&&1b)a=ky(["No inverse -- FPF:EXPT:",m.j(a),m.j(b)].join(""));else{if(!tA(a))if(sA(a))a=sA(b)?my("poly 0^0"):a;else a:for(var c=1;;){if(0===b){a=c;break a}if(ye(b))a=LI(a,a),b=Jd(b,2);else{var d=a;--b;c=LI(a,c);a=d}}}else a=ky(["Can only raise an FPF to an exact integer power: ",m.j(a),m.j(b)].join(""));else a=YH.B(a,b);return a},PI=function(a,b){return sA(b)?ky("internal polynomial division by zero"): +sA(a)||tA(b)?new E(null,2,5,G,[a,0],null):mXa(a,b,function(c,d){return new E(null,2,5,G,[XH.B(c,d),yB.B(c,d)],null)},yWa,y.B([T$a,function(c,d){var g=x.G(d,0,null);d=x.G(d,1,null);return new E(null,2,5,G,[rI(c,g),rI(c,d)],null)}],0))},pXa=function(a,b){a=PI(a,b);x.G(a,0,null);a=x.G(a,1,null);return sA(a)},QI=function(a,b){if(tA(b))return a;var c=PI(a,b),d=x.G(c,0,null);c=x.G(c,1,null);sA(c)||ly(["expected even division left a remainder! ",m.j(a)," / ",m.j(b)," r ",m.j(c)].join(""));return d},qXa= +function(a){return BA(a)?BigInt(a):a},rXa=function(a,b){var c=CI(b),d=x.G(c,0,null);c=x.G(c,1,null);c=qXa(c);d=jWa(d);for(var g=0;;){var h=RI.j(a),l=DI(a);l=qXa(l);if(h +b)return a;var c=a.arity;return b>c?pI(b+1,a.Ha,ad(a)):SI.G(function(d){return iWa(d,b,0)},a,c+1)},TI=function(a){function b(d){return wI.B(c-1,function(){return function l(h){return new ae(null,function(){for(;;){var p=t(h);if(p){if(ld(p)){var v=hc(p),r=Oc(v),z=be(r);a:for(var C=0;;)if(Ca}return a},LXa=function(a){if(k(KXa())){var b=wu("Timed out: %s after %s", +a,$Ta(dJ));bC(rx,"emmy.polynomial.gcd",108,new zg(function(){return new E(null,1,5,G,[b],null)},null),663336066);OHa(b)}},MXa=function(a,b){var c=eJ,d=dJ,g=hUa();eJ=a;dJ=g;try{return b.ca?b.ca():b.call(null)}finally{dJ=d,eJ=c}},NXa=function(a,b,c){if(k(!0)){var d=new E(null,2,5,G,[b,c],null);var g=Ib(CXa);d=g.j?g.j(d):g.call(null,d)}else d=!0;if(k(d))return Eg.B(DXa,Hc),d;a=a.B?a.B(b,c):a.call(null,b,c);k(!0)&&(Eg.B(EXa,Hc),Eg.da(CXa,Vf,new E(null,2,5,G,[b,c],null),a));return a},OXa=function(a,b, +c){if(gXa(a)||gXa(b)){var d=qf.B(qI(a)?a.Ha:Ue,qI(b)?b.Ha:Ue);d=1>=Oc(d)?new E(null,2,5,G,[Ed,Ed],null):kWa(JB.G(ug.j(aI),fJ,d));var g=x.G(d,0,null);d=x.G(d,1,null);var h=SI.B;a=SI.B(g,a);b=SI.B(g,b);c=c.B?c.B(a,b):c.call(null,a,b);return h.call(SI,d,c)}return c.B?c.B(a,b):c.call(null,a,b)},hJ=function(a,b){var c=BI(a);if(Pc.B(1,Oc(c))){var d=u(c);a=FI(function(){return 1},a)}else d=ze.B(b,c),a=tA(d)?a:FI(function(g){return gJ.B(g,d)},a);return new E(null,2,5,G,[d,a],null)},PXa=function(a){return function(b, +c,d){var g=hJ(b,a);b=x.G(g,0,null);g=x.G(g,1,null);var h=hJ(c,a);c=x.G(h,0,null);h=x.G(h,1,null);b=a.B?a.B(b,c):a.call(null,b,c);d=d.B?d.B(g,h):d.call(null,g,h);d=qI(d)?d:uI.B(1,d);return kXa(b,d)}},QXa=function(){var a=iJ;return function(b,c,d){var g=Cd.B(qf,ug.B(Io.B(by,aI),b.Ha)),h=Cd.B(qf,ug.B(Io.B(by,aI),c.Ha));return dd(LC.B(g,h))?(Eg.B(FXa,Hc),ze.B(a,Ti.B(BI(b),BI(c)))):d.B?d.B(b,c):d.call(null,b,c)}},RXa=function(a,b){return ze.G(iJ,b,BI(a))},jJ=function(a,b){return sA(a)?xB.j(b):sA(b)?xB.j(a): +qI(a)?qI(b)?Pc.B(a,b)?JI(a):null:RXa(a,b):qI(b)?RXa(b,a):iJ(a,b)},SXa=function(a,b){var c=x.B(a.Ha,0),d=x.G(c,0,null);c=x.G(c,1,null);d=JB.da(ug.j(aI),kJ,d,b.Ha);b=RXa(b,c);Eg.B(GXa,Hc);return rI(a.arity,new E(null,1,5,G,[cI.B(d,b)],null))},TXa=function(a){return function(b,c){for(;;){LXa("euclid inner loop");var d=jJ(b,c);if(k(d))return d;b=rXa(b,c);d=x.G(b,0,null);x.G(b,1,null);if(sA(d))return xB.j(c);b=hJ(d,a);x.G(b,0,null);d=x.G(b,1,null);b=c;c=d}}},UXa=function(a,b){return lJ.G(new E(null,2, +5,G,[a,b],null),PXa(iJ),TXa(iJ))},VXa=function(a,b){return lJ.J(new E(null,2,5,G,[a,b],null),QXa(),OXa,y.B([mJ],0))},WXa=function(a,b){var c=jJ(a,b);return k(c)?c:MXa(eJ,function(){return VXa(a,b)})},XXa=function(a,b){if(qI(a)||qI(b)){var c=WXa(a,b);return JI(LI(QI(a,c),b))}return nJ.B(a,b)},YXa=function(a){return qI(a)?JB.G(oJ.j(tA),pJ,YI(a)):1},ZXa=function(a){for(var b=0,c=a,d=Ue,g=a,h=1;;){if(tA(b))return b=bd(d),DA(b)?qf.B(new E(null,1,5,G,[b],null),Hh.B(Qd.B(cd(d),1),1)):qf.B(new E(null,1,5, +G,[c],null),Hh.B(d,1));a=YXa(c);b=QI(c,pJ.B?pJ.B(c,a):pJ.call(null,c,a));a=pJ.B?pJ.B(a,b):pJ.call(null,a,b);g=QI(g,b);h=pJ.B?pJ.B(g,h):pJ.call(null,g,h);var l=QI(b,a);g=a;c=QI(c,LI(a,b));d=Qd.J(d,h,y.B([l],0));h=b;b=g;g=h;h=a}},$Xa=function(a){var b=HC(yz);return Td(Sy,hp.B(function(c,d){return 0===c?d:b.B?b.B(d,c):b.call(null,d,c)},a))},eC=function(a,b){this.Mm=a;this.Nh=b;this.ga=393216;this.ia=0},kab=function(a,b){return new eC(a,b)},cYa=function(a){for(var b=function(){var C=u(Cc.j?Cc.j(a):Cc.call(null, +a));return rJ.j?rJ.j(C):rJ.call(null,C)}(),c=HC(yz),d=HC(Sy),g=HC(zz),h=k(jC(b))?Cc.j?Cc.j(b):Cc.call(null,b):new E(null,1,5,G,[b],null),l=b=1;;){if(dd(h))return Pc.B(l,1)||xD.B(or.j(t(Ti.B(new B(null,NB,null,1,null),new B(null,l,null,1,null)))),Y$a),g=g.j?g.j(b):g.call(null,b),b=l,d.B?d.B(g,b):d.call(null,g,b);var p=t(h);h=u(p);p=w(p);if(k(dC(h))){var v=Cc.j?Cc.j(h):Cc.call(null,h),r=x.G(v,0,null),z=x.G(v,1,null);td(z)&&ye(z)?(h=p,l=p=function(){var C=Jd(z,2);if(1b?new E(null,3,5,G,[d,c,-b],null):new E(null,3,5,G,[c,d,b],null);b=x.G(d,0,null);c=x.G(d,1,null);d=x.G(d,2,null);return tJ(a.arity,OI(b,d),OI(c,d),ad(a))}return OI(a,b)},MYa=function(a){if(uJ(a)){var b=a.Pb,c=a.v;return sA(b)?my("Can't form rational function with zero denominator."):k(WA.j(b))?tJ(a.arity,QA.j(c),QA.j(b),ad(a)):tJ(a.arity,c,b,ad(a))}return PA.j(a)},zJ=function(a,b){return IYa(a,MYa(b))},NYa=function(a,b){return AYa(a,b,wJ,EYa)},AJ=function(a,b){return uJ(a)?UA.B(UI(a.Pb, +b),UI(a.v,b)):UI(a,b)},OYa=function(a,b){return uJ(a)?zJ(VI(a.Pb,b),VI(a.v,b)):VI(a,b)},PYa=function(a,b){return uJ(a)?zJ(WI(a.Pb,b),WI(a.v,b)):WI(a,b)},BJ=function(a,b){if(uJ(a)){var c=a.Pb;a=a.v;return zJ(KI(LI(XI(c,b),a),LI(c,XI(a,b))),MI(a))}return XI(a,b)},QYa=function(a){return uJ(a)?function d(c){return new ae(null,function(){for(;;){var g=t(c);if(g){if(ld(g)){var h=hc(g),l=Oc(h),p=be(l);a:for(var v=0;;)if(vb)return a;if(Pc.B(b,2)){var c=x.G(a,0,null);b=x.G(c,0,null);c=x.G(c,1,null);var d=x.G(a,1,null),g=x.G(d,0,null);d=x.G(d,1,null);return XJ(2,2,new E(null,2,5,G,[new E(null,2,5,G,[d,QA.j(g)],null),new E(null,2,5,G,[QA.j(c),b],null)],null))}return cK.G(b,b,function(h,l){var p=zK(xK(a,h,l));return ye(h+l)?p:QA.j(p)})},YZa=function(a, +b,c,d,g){var h=yK(a,b,c,g);return function(l){var p=ZJ(l);if(Pc.B(p,1))return XJ(1,1,new E(null,1,5,G,[new E(null,1,5,G,[function(){var z=uo.B(l,new E(null,2,5,G,[0,0],null));return d.j?d.j(z):d.call(null,z)}()],null)],null));var v=h(l),r=b.j?b.j(v):b.call(null,v);return cK.G(p,p,function(z,C){var F=ye(z+C)?v:r;z=h(xK(l,C,z));return d.B?d.B(z,F):d.call(null,z,F)})}},BK=function(a,b){var c=PG(b),d=PG(VG(c,a));return VG(AK.G(c,a,d),b)},ZZa=function(a,b){var c=PG(a),d=PG(VG(b,c));return VG(a,AK.G(d, +b,c))},$Za=function(a,b){return BK(b,a)},CK=function(a){return cK.G(a,a,BTa)},DK=function(a){return aK(a)?DZa(function(b,c,d){return Pc.B(c,d)?wA(b):vA(b)},a):ky("identity-like on non-square")},EK=function(a){var b=aK(a);if(b){var c=ZJ(a);return we(nd,function(){return function h(g){return new ae(null,function(){for(var l=g;;){var p=t(l);if(p){var v=p,r=u(v);if(p=t(function(z,C,F,O,V,W){return function ma(ha){return new ae(null,function(ra,ta){return function(){for(;;){var Da=t(ha);if(Da){if(ld(Da)){var Aa= +hc(Da),da=Oc(Aa),Y=be(da);a:for(var xa=0;;)if(xa=h?v:v+1)};return b(a,0)},t0a=function(a,b){var c=cf(b);return ug.B(function(d){return A.B(c,d)},a)},w0a=function(a,b){var c=new q(function(){return KM},Tab,H([po,J,U,M,R,Fl,P,N,Q,S,T,X],[!0,$m,Uab,"cljs/core.cljs",16,new f(null,6,[Il,!1,Jl,3,Kl,3,Ll,new E(null,2,5,G,[new E(null,2,5,G,[LM,TB],null),new E(null,3,5,G,[LM,TB,MM],null)],null),S,K(new E(null,2,5,G,[LM,TB],null),new E(null,3,5,G,[LM,TB,MM],null)), +Nl,K(null,null)],null),1,1544,1544,K(new E(null,2,5,G,[LM,TB],null),new E(null,3,5,G,[LM,TB,MM],null)),null,k(KM)?KM.K:null]));return c.B?c.B(a,b):c.call(null,a,b)},x0a=function(a,b,c){function d(r){return t0a(v,r)}function g(r){return t0a(p,r)}var h=Oc(a),l=ug.G(tk,a,nk.j(h));b=jq.G(u,mfa(b),l);l=Nh.B(u,b);var p=Nh.B(Sc,b),v=ug.B(function(r){return w0a(p,r)},nk.j(h));return c.da?c.da(a,l,g,d):c.call(null,a,l,g,d)},y0a=function(a,b){return Dd(function(c,d,g){return Vf.G(c,d,A.B(b,g))},b,a)},z0a=function(a){return GF(a)}, +A0a=function(a,b){return NM(a,b)},B0a=function(a,b){if(0===b)return 1;a=OM.B(a,b);b=GF(b);return ID.B?ID.B(a,b):ID.call(null,a,b)},QD=function(a,b,c,d,g,h,l,p,v,r){this.step=a;this.a=b;this.gj=c;this.o=d;this.yh=g;this.n=h;this.as=l;this.Hi=p;this.c=v;this.Qh=r;this.ga=393216;this.ia=131072},ebb=function(a,b,c,d,g,h,l,p,v,r){return new QD(a,b,c,d,g,h,l,p,v,r)},G0a=function(a){function b(v){return qf.B(Ue,v)}var c=Oc(a),d=Yh.j(a),g=QM.B(c,Ml.j(0)),h=QM.B(c,Ml.j(1)),l=Dg.j(b(d)),p=Dg.j(!0);a=new QD(function(v, +r){for(;;){var z=g[v]+h[v]|0;if(0>z)h[v]=-h[v]|0,z=r,--v,r=z;else if(Pc.B(z,v+1)){if(0===v)return!1;h[v]=-h[v]|0;z=r+1;--v;r=z}else{var C=r+(v-g[v]);r+=v-z;var F=d[C];d[C]=d[r];d[r]=F;g[v]=z;return!0}}},d,l,h,b,c,a,p,g,le);c=new q(function(){return RM},Vab,H([po,J,U,M,R,P,N,Q,S,T,X],[!0,$m,Wab,"cljs/core.cljs",24,1,4176,4176,K(new E(null,1,5,G,[F0a],null)),null,k(RM)?RM.K:null]));return c.j?c.j(a):c.call(null,a)},SM=function(){return dM},TM=function(a){if(bG(a)){var b=Xab.j(fG(a));return k(b)?b:ky(["operator, but not a differential form: ", +m.j(a)].join(""))}return ME(a)?0:ky(["not a differential form: ",m.j(a)].join(""))},VM=function(a){var b=bG(a);return b?(a=yC.j(fG(a)),Va.B(a,TD)):b},WM=function(a,b){return VM(a)&&Pc.B(b,TM(a))},XM=function(a){return WM(a,1)},I0a=function(a,b){return function(c){return LG.J(function(d){return OE.J(y.B([DD.B(a,xM(d,b)),VL(b)],0))},y.B([c],0))}},YM=function(a,b){var c=DM(b);return OE.J(y.B([a.j?a.j(c):a.call(null,c),WL(b)],0))},$M=function(a,b){var c=ND.j(EL(b)),d=Pc.B(c,1)?0:yG(Ml.B(c,0));c=AG(Ml.B(c, +0));return ZM.G(OK.G(a,d,c),b,a)},aN=function(a){return I.j(["d",m.j(a)].join(""))},cN=function(a){return JG(function(b,c){b=aN(b);return ze.da(bN,a,b,c)},UL(a))},eN=function(a,b){return dN.j(function(c){return DD.B(a,b.j?b.j(c):b.call(null,c))})},fN=function(a,b){return LG.J(a,y.B([b],0))},hN=function(a){var b=or.j(t(Ti.B(new B(null,RD,null,1,null),new B(null,zA(a),null,1,null))));return dN.B(function(c){return LG.J(function(d){return function(g){var h=d.j?d.j(a):d.call(null,a);return h.j?h.j(g): +h.call(null,g)}},y.B([c],0))},b)},K0a=function(a,b){var c=TM(a),d=TM(b);if(0===c||0===d)return DD.B(a,b);var g=c+d,h=1/(GF(c)*GF(d));d=function(){function p(r){var z=null;if(0h(ma)}function c(ha){var ma=k(W)?WRa(Vn(ha)):W;return k(ma)?bo(ha,ma):ha}function d(ha,ma){return k(ha)?O.j?O.j(ma): +O.call(null,ma):ma}function g(ha){var ma=F.j?F.j(ha):F.call(null,ha);return k(ma)?ma:ha}function h(ha){for(;;){var ma=V.j?V.j(ha):V.call(null,ha);if(k(ma))return ma;if(pd(ha))if(Pc.B(3,Oc(ha))&&Pc.B(yz,u(ha)))ha=Sc(ha);else return Pc.B(wC,u(ha))?(ha=Zy,V.j?V.j(ha):V.call(null,ha)):V.j?V.j($D):V.call(null,$D);else return ha instanceof n?V.j?V.j($D):V.call(null,$D):0}}function l(ha,ma,ra){return Pc.B(Dm,ha)?m.j(ma):Pc.B(Sy,ha)?m.j(ma):Pc.B(aE,ha)?Pc.B(ra,Dm)?new f(null,2,[ybb,zbb,Abb,ma],null):["- ", +m.j(ma)].join(""):Pc.B(Ai,ha)?BA(ma)?["1/",m.j(ma)].join(""):["1 / ",m.j(ma)].join(""):[m.j(ha)," ",m.j(ma)].join("")}function p(ha){var ma=Vn(ha);ma=$Ra.j?$Ra.j(ma):$Ra.call(null,ma);return ha===ma?ha:bo(ha,ma)}a=me(a);var v=A.G(a,Bbb," * "),r=A.G(a,Cbb,le),z=A.G(a,Dbb,le),C=A.B(a,Ebb),F=A.G(a,Fbb,le),O=A.G(a,Gbb,function(ha){return["(",m.j(ha),")"].join("")}),V=A.B(a,Hbb),W=A.G(a,Ibb,!1),ea=function ra(ma){if(k(Wn(ma))){var ta=co(c(p(ma))),Da=function(){for(var fa=ao(ta);;){fa=bo(fa,ra(fa));var ja= +ao(fa);if(k(ja))fa=ja;else return $n(fa)}}();ma=Vn(Da);ma=t(ma);var Aa=u(ma),da=w(ma),Y=function(){var fa=$n(Da);if(k(fa)){fa=x.G(Da,0,null);var ja=x.G(Da,1,null);ja=me(ja);var Fa=A.B(ja,cn),La=A.B(ja,bn);fa=k(k(ja)?t(Fa):ja)?$c(new E(null,2,5,G,[u(Fa),Vf.J(ja,cn,Ue,y.B([bn,Ti.J(Cc(Fa),new E(null,1,5,G,[fa],null),y.B([La],0))],0))],null),ad(Da)):Da;fa=Vn(fa)}return fa}();return k(z.j?z.j(Aa):z.call(null,Aa))?d(function(){var fa=z.j?z.j(Y):z.call(null,Y);if(k(fa)){fa=kb(b(Aa,Y));if(k(fa)){fa=Pc.B(Aa, +Sy)&&Pc.B(Y,aE);if(!fa){fa=x.G(da,0,null);var ja=x.G(da,1,null);fa=Pc.B(Ai,Aa)&&BA(fa)&&(null==ja||BA(ja))}fa=kb(fa)}return fa}return fa}(),function(){var fa=function(){var La=r.j?r.j(Aa):r.call(null,Aa);return k(La)?La.j?La.j(da):La.call(null,da):null}();if(k(fa))return fa;if(Pc.B(Oc(da),1))return l(Aa,u(da),Y);if(Pc.B(Aa,Dm)){fa=ug.B(function(La){var Oa=me(La),Wa=A.B(Oa,ybb);Oa=A.B(Oa,Abb);return k(Wa)?new E(null,2,5,G,[Pc.B(Wa,zbb)?"-":"+",Oa],null):new E(null,2,5,G,["+",La],null)},da);fa=t(fa); +var ja=u(fa),Fa=w(fa);fa=Td(Pc.B(u(ja),"+")?Hh.B(ja,1):Pc.B(u(ja),"-")?Vf.G(ja,0,"- "):ja,function(){return function Wa(Oa){return new ae(null,function(){for(;;){var cb=t(Oa);if(cb){if(ld(cb)){var nb=hc(cb),vb=Oc(nb),xb=be(vb);a:for(var Fb=0;;)if(Fbg||Ib(a)>h}},mP=function(a,b,c){var d=me(c);c=A.B(d,Rbb);c=k(c)?c:Be(null);var g=Oc(b),h=H1a(a);a=x.G(h,0,null);var l=x.G(h,1,null);h=P1a(l,g,d);var p=S1a(d),v=U1a(a,g,d);b=F1a(b,d);d=Nh.B(l,b);b=I1a(b,d,g);g=x.G(b,0,null);x.G(g,0,null);g=x.G(b,1,null);x.G(g,0,null);for(l=0;;){d=b;g=x.G(d,0,null);b=x.G(g,0,null);var r=x.G(d,1,null);d=x.G(r,0,null);c.G?c.G(l,b,d):c.call(null, +l,b,d);var z=p(g,r);var C=z;C=k(C)?C:v(l);if(k(C))return new f(null,5,[Yo,b,dw,d,pG,z,vG,l,Sbb,Ib(a)],null);b=h.B?h.B(g,r):h.call(null,g,r);l=g=l+1}},nP=function(a,b){return X1a*a+Y1a*b},oP=function(a,b){return a+Z1a*(a-b)},$1a=function(a,b,c,d,g){var h=x.G(b,0,null),l=x.G(c,0,null),p=x.G(c,1,null),v=x.G(d,0,null),r=x.G(d,1,null),z=x.G(g,0,null);return ph?c:h,dc}p.ba=0;p.ea=function(r){r=t(r);return v(r)};p.J=v;return p}(),c2a(b)],null))}g.ba=0;g.ea=function(l){l=t(l);return h(l)};g.J=h;return g}()},h2a=function(a,b,c){var d=a.j?a.j(b):a.call(null,b);a=a.j?a.j(c):a.call(null,c);return db?2E-21:b)},t4a=function(a,b){b=me(b);var c=A.G(b,Vbb,110);return function(d,g,h){var l=x.G(g,0,null),p=x.G(g,1,null),v=x.G(h,0,null),r=x.G(h,1,null),z= +l+c*(v-l),C=j2a(d,g,h);if(l<=C&&C<=v){z=a.j?a.j(C):a.call(null,C);if(zp)return new E(null,3,5,G,[d,g,new E(null,2,5,G,[C,z],null)],null);d=oP(v,l);return new E(null,3,5,G,[g,h,new E(null,2,5,G,[d,a.j?a.j(d):a.call(null,d)],null)],null)}if(v<=C&&C<=z)return z=a.j?a.j(C):a.call(null,C),z=.5*(a+c)?a-b:c-b;return new E(null,2,5,G,[a,X1a*a],null)},qP=function(a,b,c,d){a=Io.B(QA,a);return eo.G(pP.da(a,b,c,d),dw,QA)},UPa=function(a,b){var c=hi.B(Qe,pd);return jg(yh.B(b,Cc(Pe(pd,c,a))))},VPa=function(a,b){var c=by(a),d=Oe.j(Io.B(gB, +a)),g=Yf;for(b=LC.B(gB(b),c);;){if(dd(b))return Wf(a,g);g=MC.B(g,b);b=Si.B(LC.B(qf.G(Yf,d,b),c),g)}},jUa=function(a){return Oi(function(b){if(CA(b))return hy(b);if(gd(b)){var c=t(b),d=u(c);c=w(c);var g=we(jb,c);d=g?iUa.j?iUa.j(d):iUa.call(null,d):g;return k(d)?hy(ze.B(cu.j(d),c)):b}return b},a)},YG=function(a){var b=XG.j?XG.j(a):XG.call(null,a);if(k(b))return b;throw mi.B(["Invalid compilation mode supplied: ",m.j(a),". Please supply (or bind to `*mode*`) one of ",m.j(XG)].join(""),new f(null,2,[Dq, +a,Wbb,XG],null));},lUa=function(){return YG(ZG)},mUa=function(a){YG(a);return ZG=a},oUa=function(a){return Nh.B(function(b){return $c(b,new f(null,1,[Fi,lcb],null))},lo.B(3,a))},sUa=function(a,b){a=me(a);var c=A.B(a,dH),d=A.B(a,hr),g=A.B(a,Xbb),h=function(){switch(c instanceof D?c.la:null){case "primitive":return oUa(function(){return b.j?b.j("a"):b.call(null,"a")});case "structure":return new E(null,1,5,G,[qf.B(Ue,g)],null);case "native":return g;default:throw mi.B("Invalid calling convention supplied", +new f(null,1,[dH,c],null));}}();return Vf.G(a,Ybb,k(k(d)?Uf.B(c,wH):d)?Qd.B(h,qf.B(Ue,d)):h)},vUa=function(a,b,c){return aH.G(Ym.j(a),function(d,g){return Vf.G(a,Ym,t(g)?bH(d,g):d)},new f(null,2,[Zbb,b,$bb,c],null))},xUa=function(a){function b(l,p){return hp.B(function(v,r){return new E(null,2,5,G,[r,or.j(t(Ti.J(new B(null,il,null,1,null),new B(null,l,null,1,null),y.B([new B(null,v,null,1,null)],0))))],null)},p)}a=me(a);var c=A.B(a,Ybb),d=A.B(a,dH),g=A.B(a,Xbb),h=A.B(a,hr);switch(d instanceof D?d.la: +null){case "primitive":return d=x.G(c,0,null),x.G(c,1,null),c=x.G(c,2,null),eo.ja(a,Ym,bH,Ti.B(b(d,Re(g)),b(c,h)),acb);default:return a}},BUa=function(a){function b(h,l){return or.j(t(Ti.J(new B(null,Dqa,null,1,null),new B(null,h,null,1,null),y.B([hp.B(function(p,v){return or.j(t(Ti.J(new B(null,scb,null,1,null),new B(null,p,null,1,null),y.B([new B(null,v,null,1,null)],0))))},l)],0))))}function c(h){var l=gd(h);return l?(h=u(h),l=new Xf(null,new f(null,3,[VD,null,bE,null,UD,null],null),null),l.j? +l.j(h):l.call(null,h)):l}a=me(a);var d=A.B(a,dH),g=A.B(a,Ybb);switch(d instanceof D?d.la:null){case "primitive":return eo.G(a,Ym,function(h){h=Hpa(h);h=Pc.B(Zk,Vn(co(h)))?co(co(co(h))):h;return Npa(bo(h,b(x.B(g,1),Qe.B(Ae(c),Pe(c,Cc,Vn(h))))))});default:return a}},CUa=function(a){return Oi(function(b){return gd(b)?t(b)?["[",Wi.B(", ",b),"]"].join(""):"_":m.j(b)},a)},eH=function(a){return yya(xya(),a)},EUa=function(a){var b=me(a);a=A.B(b,Ybb);b=A.B(b,Ym);return Pi(DUa,or.j(t(Ti.J(new B(null,Wk,null, +1,null),new B(null,cf(or.j(t(Ti.j(a)))),null,1,null),y.B([new B(null,b,null,1,null)],0)))))},GUa=function(a){var b=me(a);a=A.B(b,Ybb);b=A.B(b,Ym);a=Nh.B(CUa,a);var c=Dg.j(Ue);(function(d){if(k(function(){var O=Wn(d);return k(O)?Pc.B(Vn(co(d)),Dqa):O}())){var g=co(co(d)),h=Vn(g);if(!(h instanceof n))throw mi.B("Expecting a symbol (referring to a primitive array)",new f(null,1,[bcb,h],null));for(var l=t(Kpa(g)),p=null,v=0,r=0;;)if(rl?h:l)},b,c)},I4a=function(a,b,c){return E4a(function(d,g){var h=a.j?a.j(d): +a.call(null,d),l=a.j?a.j(g):a.call(null,g);return(g-d)*(h=z)return F(h,l,p);var fa=C(h,z,w4a(p));da=F(z, +l,c5a);return new f(null,2,[pG,!0,Yo,fa+da],null)}throw zP;}catch(cb){if(cb instanceof Error){W=cb;if(W===zP)throw zP;throw W;}throw cb;}else throw Y;else throw Wa;}else throw ta;else throw Oa;}else throw ra;else throw La;}else throw ma;else throw Fa;}else throw ha;else throw ja;}else throw zP;}catch(ja){if(ja instanceof Error){ha=ja;if(ha===zP)return a.da?a.da(g,h,l,r):a.call(null,g,h,l,r);throw ha;}throw ja;}}function c(g,h,l){return d.da(g,h,l,le)}var d=null;d=function(g,h,l,p){switch(arguments.length){case 3:return c.call(this, +g,h,l);case 4:return b.call(this,g,h,l,p)}throw Error("Invalid arity: "+arguments.length);};d.G=c;d.da=b;return d}()},AP=function(a){return x.B(a,0)},BP=function(a){return x.B(a,1)},CP=function(a){return x.B(a,2)},DP=function(a){return x.B(a,3)},e5a=function(a){a=x.B(a,1);return uG(a)?Oc(a):1},GP=function(a){return WG.J(y.B([yk.j(dE),GG(yk.j(TB),a),GG(yk.j(FP),a)],0))},f5a=function(a,b){return AD.B(a,b)},g5a=function(a){return function(b){x.G(b,0,null);x.G(b,1,null);b=x.G(b,2,null);return DD.J(ID.B(1, +2),a,y.B([ZO.j(b)],0))}},h5a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null),g=x.G(d,0,null);d=x.G(d,1,null);c=x.G(c,2,null);return AD.B(DD.J(ID.B(1,2),a,y.B([ZO.j(c)],0)),b.B?b.B(g,d):b.call(null,g,d))}},i5a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);c=x.G(c,2,null);return AD.B(DD.J(ID.B(1,2),a,y.B([ZO.j(c)],0)),DD.J(ID.B(1,2),b,y.B([ZO.j(d)],0)))}},j5a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);x.G(d,0,null);d=x.G(d,1,null);c=x.G(c, +2,null);return AD.B(DD.J(ID.B(1,2),a,y.B([ZO.j(c)],0)),DD.J(a,b,y.B([d],0)))}},k5a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null),g=x.G(c,2,null);c=AD.B;g=DD.J(ID.B(1,2),a,y.B([ZO.j(g)],0));d=xB.j(d);d=b.j?b.j(d):b.call(null,d);return c.call(AD,g,d)}},l5a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);d=x.G(d,0,null);var g=x.G(c,2,null);c=x.G(g,0,null);g=x.G(g,1,null);return AD.B(DD.J(ID.B(1,2),a,y.B([mF.B(ZO.j(c),ZO.j(DD.B(d,g)))],0)),b.j?b.j(d):b.call(null, +d))}},m5a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);d=x.G(d,0,null);var g=x.G(c,2,null);c=x.G(g,0,null);g=x.G(g,1,null);return mF.B(DD.J(ID.B(1,2),b,y.B([mF.B(ZO.j(c),ZO.j(DD.B(d,g)))],0)),ID.B(DD.B(a,b),d))}},n5a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null);g=x.G(g,0,null);var h=x.G(d,2,null);d=x.G(h,0,null);var l=x.G(h,1,null);h=x.G(h,2,null);return mF.J(DD.J(ID.B(1,2),a,y.B([mF.B(ZO.j(d),ZO.j(DD.B(l,jL.j(g))))],0)),DD.J(ID.B(1,2),b,y.B([ZO.j(mF.B(h, +DD.B(l,iL.j(g))))],0)),y.B([DD.J(-1,c,y.B([iL.j(g)],0))],0))}},o5a=function(a,b){return function(c){x.G(c,0,null);var d=x.G(c,1,null);c=x.G(c,2,null);return AD.B(DD.J(ID.B(1,2),c,y.B([a,c],0)),DD.J(ID.B(1,2),d,y.B([b,d],0)))}},p5a=function(a){return function(b){x.G(b,0,null);var c=x.G(b,1,null);b=x.G(c,0,null);c=x.G(c,1,null);return WG.J(y.B([WG.J(y.B([b,0],0)),WG.J(y.B([mF.B(b,DD.B(a,jL.j(c))),DD.J(-1,a,y.B([iL.j(c)],0))],0))],0))}},q5a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d, +1,null),h=x.G(g,0,null);x.G(h,0,null);h=x.G(h,1,null);g=x.G(g,1,null);x.G(g,0,null);g=x.G(g,1,null);var l=x.G(d,2,null);d=x.G(l,0,null);l=x.G(l,1,null);return AD.B(DD.B(ID.B(1,2),mF.B(DD.B(a,ZO.j(d)),DD.B(b,ZO.j(l)))),DD.B(c,mF.B(DD.B(a,h),DD.B(b,g))))}},r5a=function(a,b,c,d){var g=OE,h=g.J,l=y.B;a=q5a(a,b,d);c=p5a(c);c=HP.j?HP.j(c):HP.call(null,c);return h.call(g,l.call(y,[a,c],0))},s5a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null);d=x.G(d,2,null);return mF.B(DD.J(ID.B(1,2), +b,y.B([ZO.j(DD.B(c,d))],0)),DD.J(a,b,y.B([c,iL.j(g)],0)))}},t5a=function(a){return function(b){x.G(b,0,null);x.G(b,1,null);b=x.G(b,2,null);return DD.J(b,a,y.B([b],0))}},u5a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null),h=x.G(g,0,null);g=x.G(g,1,null);var l=x.G(d,2,null);d=x.G(l,0,null);l=x.G(l,1,null);return AD.B(mF.B(DD.J(ID.B(1,2),a,y.B([ZO.j(d)],0)),DD.J(ID.B(1,2),b,y.B([ZO.j(l)],0))),c.B?c.B(h,g):c.call(null,h,g))}},v5a=function(a,b){return function(c){var d=a.j?a.j(c): +a.call(null,c),g=b.j?b.j(c):b.call(null,c);return IP.G?IP.G(c,d,g):IP.call(null,c,d,g)}},w5a=function(a){return JP.B(a,null)},KP=function(a){return function(b,c){b=v5a(b,c);return AD.B(tM.j?tM.j(b):tM.call(null,b),OE.J(y.B([JP.j(a),b],0)))}},MP=function(a){var b=LP.J(y.B([2],0));b=b.j?b.j(a):b.call(null,a);return AD.B(DD.B(b,CP),a)},OP=function(a){return function(b){b=OE.J(y.B([MP(a),NP.j(b)],0));return tM.j?tM.j(b):tM.call(null,b)}},x5a=function(a){return function(b){x.G(b,0,null);var c=x.G(b,1, +null),d=x.G(c,0,null);c=x.G(c,1,null);var g=x.G(b,2,null);b=x.G(g,0,null);var h=x.G(g,1,null);g=x.G(g,2,null);return DD.J(ID.B(1,2),a,y.B([mF.J(ZO.j(b),ZO.j(DD.B(d,h)),y.B([ZO.j(DD.J(d,jL.j(c),y.B([g],0)))],0))],0))}},y5a=function(a,b){return AD.B(x5a(a),function(c){x.G(c,0,null);c=x.G(c,1,null);c=x.G(c,0,null);return b.j?b.j(c):b.call(null,c)})},PP=function(a,b,c){c+=1;var d=ID.B(AD.B(b,a),c);return function l(h){return new ae(null,function(){for(;;){var p=t(h);if(p){if(ld(p)){var v=hc(p),r=Oc(v), +z=be(r);a:for(var C=0;;)if(C=function(){var ha=V>W?V:W;return ha>ea?ha:ea}()?(h=YO.j(O),a=ID.B(r,h),p=ID.B(l,h),d=ID.B(c,h)):V>=function(){var ha=O>W?O:W;return ha>ea?ha:ea}()?(a=YO.j(V),h=ID.B(r,a),p=ID.B(d,a),d=ID.B(b,a)):W>=function(){var ha=O>V?O:V;return ha>ea?ha:ea}()?(p=YO.j(W),h=ID.B(l,p),a=ID.B(d,p),d=ID.B(g,p)):(d=YO.j(ea),h=ID.B(c,d),a=ID.B(b,d),p=ID.B(g,d)),pE.da(h,a,p,d);if(EA(O)){if(EA(V)){if(EA(W))return pE.da(0,0,0,0);p=YO.j(C);a=h=0;d=ID.B(g,p);return pE.da(h, +a,p,d)}a=YO.j(z);h=0;p=ID.B(d,a);d=ID.B(b,a);return pE.da(h,a,p,d)}h=YO.j(p);a=ID.B(r,h);p=ID.B(l,h);d=ID.B(c,h);return pE.da(h,a,p,d)},Jdb=function(a){var b=a.r,c=a.i,d=a.Ac;a=a.k;var g=ZO.j(b),h=ZO.j(c),l=ZO.j(d),p=ZO.j(a),v=jB.j(mF.J(g,h,y.B([l,p],0)));xD.B(new B(null,Am,new B(null,v,new B(null,1,null,1,null),2,null),3,null),qcb);return oK.J(y.B([new E(null,3,5,G,[ID.B(mF.J(g,h,y.B([QA.j(l),QA.j(p)],0)),v),ID.B(DD.B(2,AD.B(DD.B(c,d),DD.B(b,a))),v),ID.B(DD.B(2,mF.B(DD.B(c,a),DD.B(b,d))),v)],null), +new E(null,3,5,G,[ID.B(DD.B(2,mF.B(DD.B(c,d),DD.B(b,a))),v),ID.B(mF.J(g,QA.j(h),y.B([l,QA.j(p)],0)),v),ID.B(DD.B(2,AD.B(DD.B(d,a),DD.B(b,c))),v)],null),new E(null,3,5,G,[ID.B(DD.B(2,AD.B(DD.B(c,a),DD.B(b,d))),v),ID.B(DD.B(2,mF.B(DD.B(d,a),DD.B(b,c))),v),ID.B(mF.J(g,QA.j(h),y.B([QA.j(l),p],0)),v)],null)],0))},y6a=function(a){var b=x.G(a,0,null),c=x.G(a,1,null);a=x.G(a,2,null);return oK.J(y.B([new E(null,3,5,G,[0,AD.j(a),c],null),new E(null,3,5,G,[a,0,AD.j(b)],null),new E(null,3,5,G,[AD.j(c),b,0],null)], +0))},z6a=function(a){return BQ.J(y.B([uo.B(a,new E(null,2,5,G,[2,1],null)),uo.B(a,new E(null,2,5,G,[0,2],null)),uo.B(a,new E(null,2,5,G,[1,0],null))],0))},A6a=function(a){return function(b){var c=OE.J(y.B([a,b],0));return function(d){var g=DD.B;var h=tM.j?tM.j(c):tM.call(null,c);h=h.j?h.j(d):h.call(null,d);return z6a(g.call(DD,h,fK(c.j?c.j(d):c.call(null,d))))}}},B6a=function(a){return function(b){return function(c){return DD.B(fK(function(){var d=b.j?b.j(c):b.call(null,c);return a.j?a.j(d):a.call(null, +d)}()),function(){var d=A6a(a)(b);return d.j?d.j(c):d.call(null,c)}())}}},C6a=function(a){return TP(A6a(a))},D6a=function(a){return TP(B6a(a))},E6a=function(a,b,c){return function(d){var g=x.G(d,0,null),h=x.G(d,1,null);d=x.G(d,2,null);return DD.B(ID.B(1,2),mF.J(DD.B(a,ZO.j(g)),DD.B(b,ZO.j(h)),y.B([DD.B(c,ZO.j(d))],0)))}},CQ=function(a,b,c){return function(d){var g=x.G(d,0,null),h=x.G(d,1,null);d=x.G(d,2,null);return JK.J(y.B([DD.B(a,g),DD.B(b,h),DD.B(c,d)],0))}},F6a=function(a){return function(b, +c,d){return function(g){return DD.B(CQ(b,c,d)(g),xQ.j(a))}}},G6a=function(a){return function(b){function c(d){return zL(a.j?a.j(d):a.call(null,d))}return z6a(function(d){var g=DD.B;var h=tM.j?tM.j(c):tM.call(null,c);h=h.j?h.j(d):h.call(null,d);return g.call(DD,h,xQ.j(c(d)))}(b))}},H6a=function(a){return function(b){return DD.B(xQ.j(zL(a.j?a.j(b):a.call(null,b))),G6a(a)(b))}},I6a=function(a){x.G(a,0,null);var b=x.G(a,1,null),c=x.G(b,0,null);x.G(b,1,null);b=x.G(b,2,null);var d=x.G(a,2,null),g=x.G(d, +0,null);a=x.G(d,1,null);var h=x.G(d,2,null);d=mF.B(DD.J(jL.j(b),jL.j(c),y.B([a],0)),DD.B(iL.j(b),g));b=mF.B(DD.J(iL.j(b),jL.j(c),y.B([a],0)),DD.J(-1,jL.j(b),y.B([g],0)));c=mF.B(DD.B(iL.j(c),a),h);return WG.J(y.B([d,b,c],0))},DQ=function(a,b,c){return function(d){return E6a(a,b,c)(I6a(d))}},EQ=function(a,b,c){return function(d){return CQ(a,b,c)(I6a(d))}},FQ=function(a,b,c){return function(d){var g=BP(d);return DD.B(EQ(a,b,c)(d),xQ.j(zL(g)))}},J6a=function(a,b,c){return JP.j(DQ.G?DQ.G(a,b,c):DQ.call(null, +a,b,c))},K6a=function(a){x.G(a,0,null);var b=x.G(a,1,null);a=x.G(a,2,null);var c=ID.B(DD.B(2,b),EC.B(b,b));b=EC.B(c,DD.B(PE,a));var d=EC.B(c,DD.B(VE,a));a=EC.B(c,DD.B(WE,a));return WG.J(y.B([b,d,a],0))},O6a=function(a){x.G(a,0,null);var b=x.G(a,1,null),c=x.G(a,2,null);a=eK(b);c=HZa(c);var d=ID.B(-2,EC.B(b,b));b=DD.B(d,uo.B(DD.J(c,Kdb,y.B([a],0)),new E(null,2,5,G,[0,0],null)));var g=DD.B(d,uo.B(DD.J(c,Ldb,y.B([a],0)),new E(null,2,5,G,[0,0],null)));a=DD.B(d,uo.B(DD.J(c,Mdb,y.B([a],0)),new E(null,2, +5,G,[0,0],null)));return WG.J(y.B([b,g,a],0))},P6a=function(a,b,c){return function(d){x.G(d,0,null);x.G(d,1,null);d=x.G(d,2,null);return CQ(a,b,c)(d)}},Q6a=function(a,b,c){var d=P6a(a,b,c);return function(g){x.G(g,0,null);var h=x.G(g,1,null);g=d(g);h=Jdb(pE.j(h));return DD.B(g,xQ.j(h))}},R6a=function(a,b,c){return function(d){x.G(d,0,null);var g=x.G(d,1,null);d=x.G(d,2,null);g=eK(g);var h=eK(d),l=PA.j(uo.B(DD.B(fK(g),g),new E(null,2,5,G,[0,0],null)));d=DD.J(l,PE,y.B([h],0));var p=DD.J(l,VE,y.B([h], +0));h=DD.J(l,WE,y.B([h],0));g=DD.B(g,fK(g));return DD.B(2,mF.J(DD.B(a,uo.B(DD.J(fK(d),g,y.B([d],0)),new E(null,2,5,G,[0,0],null))),DD.B(b,uo.B(DD.J(fK(p),g,y.B([p],0)),new E(null,2,5,G,[0,0],null))),y.B([DD.B(c,uo.B(DD.J(fK(h),g,y.B([h],0)),new E(null,2,5,G,[0,0],null)))],0)))}},S6a=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null);b=x.G(b,2,null);var g=x.G(b,0,null);b=x.G(b,1,null);var h=jQ(function(l){l=WG.J(y.B([c,d,WG.J(y.B([g,l],0))],0));return a.j?a.j(l):a.call(null,l)});return h.j? +h.j(b):h.call(null,b)}},T6a=function(a){return function(b,c,d){return function(g){function h(p){var v=x.G(p,0,null),r=x.G(p,1,null);p=x.G(p,2,null);var z=WG.J,C=y.B;r=WG.J(y.B([b.j?b.j(v):b.call(null,v),r],0));var F=WG.J,O=y.B;var V=tM.j?tM.j(b):tM.call(null,b);V=V.j?V.j(v):V.call(null,v);v=z.call(WG,C.call(y,[v,r,F.call(WG,O.call(y,[V,p],0))],0));return a.j?a.j(v):a.call(null,v)}function l(p){var v=x.G(p,0,null),r=x.G(p,1,null);p=x.G(p,2,null);v=WG.J(y.B([v,WG.J(y.B([r,c.j?c.j(v):c.call(null,v)], +0)),WG.J(y.B([p,d.j?d.j(v):d.call(null,v)],0))],0));return a.j?a.j(v):a.call(null,v)}return WG.J(y.B([function(){var p=HQ.j(l);p=p.j?p.j(b):p.call(null,b);return p.j?p.j(g):p.call(null,g)}(),function(){var p=gQ(h)(c,d);return p.j?p.j(g):p.call(null,g)}()],0))}}},U6a=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null),g=x.G(b,2,null);g=x.G(g,0,null);var h=x,l=h.B;var p=LP.J(y.B([2],0));p=p.j?p.j(a):p.call(null,a);b=p.j?p.j(b):p.call(null,b);b=l.call(h,b,1);return WG.J(y.B([c,d,WG.J(y.B([g, +b],0))],0))}},V6a=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null),g=x.G(b,2,null);g=x.G(g,0,null);var h=x,l=h.B;var p=LP.J(y.B([2],0));p=p.j?p.j(a):p.call(null,a);b=p.j?p.j(b):p.call(null,b);b=l.call(h,b,1);return WG.J(y.B([c,d,WG.J(y.B([g,b],0))],0))}},W6a=function(a){return function(b){var c=x.G(b,0,null),d=x.G(b,1,null);b=x.G(b,2,null);return bQ(mF.B(c,a),d,b)}},X6a=function(a){return function(b){return OE.J(y.B([a.j?a.j(b):a.call(null,b),W6a(AD.j(b))],0))}},Y6a=function(a){return function(b){return OE.J(y.B([b, +W6a(AD.j(a))],0))}},Z6a=function(a,b){return function(c){return(function(){var d=b+c;return a.j?a.j(d):a.call(null,d)}()-function(){var d=b-c;return a.j?a.j(d):a.call(null,d)}())/(2*c)}},d7a=function(a,b,c,d){switch(a instanceof D?a.la:null){case "forward":return new f(null,4,[yy,1,rcb,1,tcb,IQ.G(b,c,d),ucb,function(g){g=c+g;g=b.j?b.j(g):b.call(null,g);return d/(g-d)}],null);case "central":return new f(null,4,[yy,2,rcb,2,tcb,Z6a(b,c),ucb,function(g){return d/(function(){var h=c+g;return b.j?b.j(h): +b.call(null,h)}()-function(){var h=c-g;return b.j?b.j(h):b.call(null,h)}())}],null);case "backward":return new f(null,4,[yy,1,rcb,1,tcb,JQ.G(b,c,d),ucb,function(g){g=c-g;g=b.j?b.j(g):b.call(null,g);return d/(d-g)}],null);case "central-d2":return new f(null,4,[yy,2,rcb,2,tcb,KQ.G(b,c,d),ucb,function(g){return function(){var h=c+g;return b.j?b.j(h):b.call(null,h)}()+function(){var h=c-g;return b.j?b.j(h):b.call(null,h)}()-2*d}],null);default:return ky(["Invalid method: ",m.j(a),". Please try one of ", +m.j(c7a)].join(""))}},g7a=function(a){a=gi.J(y.B([new f(null,2,[vcb,LQ,Sx,wcb],null),a],0));a=me(a);A.B(a,Sx);return a},MUa=function(a,b,c){if(id(c))return Mb(c,a,b);if(null==c)return b;if(ib(c)){var d=new q(function(){return jH},xcb,H([po,J,U,M,R,Fl,P,N,Q,S,T,X],[!0,$m,ycb,"cljs/core.cljs",20,new f(null,6,[Il,!1,Jl,4,Kl,4,Ll,new E(null,3,5,G,[new E(null,2,5,G,[kH,lH],null),new E(null,3,5,G,[kH,lH,mH],null),new E(null,4,5,G,[kH,lH,mH,CF],null)],null),S,K(new E(null,2,5,G,[kH,lH],null),new E(null, +3,5,G,[kH,lH,mH],null),new E(null,4,5,G,[kH,lH,mH,CF],null)),Nl,K(null,null,null)],null),1,1503,1503,K(new E(null,2,5,G,[kH,lH],null),new E(null,3,5,G,[kH,lH,mH],null),new E(null,4,5,G,[kH,lH,mH,CF],null)),null,k(jH)?jH.K:null]));return d.G?d.G(c,a,b):d.call(null,c,a,b)}return oH(c,a,b)},Udb=function(a,b,c){this.coll=a;this.xc=b;this.Fi=c;this.ga=917504;this.ia=0},NUa=function(a,b){return new Udb(a,b,le)},OUa=function(a){return NUa(a,function(b){return function(){function c(h,l){return gd(l)?oH(OUa(l), +b,h):b.B?b.B(h,l):b.call(null,h,l)}function d(){return b.ca?b.ca():b.call(null)}var g=null;g=function(h,l){switch(arguments.length){case 0:return d.call(this);case 2:return c.call(this,h,l)}throw Error("Invalid arity: "+arguments.length);};g.ca=d;g.B=c;return g}()})},PUa=function(a,b){var c=Dg.j(-1);return MUa(function(d,g){d[Eg.B(c,Hca)]=g;return d},b,OUa(a))},TUa=function(a,b,c,d){var g=me(d);d=A.G(g,CH,1E-8);g=A.G(g,zcb,!1);var h=Oc(c);a=(new SUa.Solver(a,h,{absoluteTolerance:d,relativeTolerance:d, +rawFunction:!0})).integrate(b,qH.j(c));return k(g)?a:Io.B(hH,a)},VUa=function(a,b,c,d){d=me(d);var g=A.G(d,hcb,!0),h=Re(c),l=qH.j(b),p=k(g)?rH.da(a,b,c,new f(null,1,[dH,wH],null)):function(){bC(rx,"emmy.numerical.ode",195,new zg(function(){return new E(null,1,5,G,["Not compiling function for ODE analysis"],null)},null),-2088371585);var v=ze.B(a,b);return function(r,z){r=sH.B(r,c);r=v.j?v.j(r):v.call(null,r);return PUa(r,z)}}();return TUa(function(v,r,z){return p.G?p.G(r,z,l):p.call(null,r,z,l)},0, +h,d)},YUa=function(a,b){return function(){function c(h,l,p,v){function r(ea){var ha=sH.B(F.j?F.j(ea):F.call(null,ea),h);k(z)&&(z.B?z.B(ea,ha):z.call(null,ea,ha));return De(C,new E(null,2,5,G,[ea,ha],null))}v=me(v);var z=A.B(v,Acb),C=Dg.j(new E(null,2,5,G,[0,null],null)),F=VUa(a,b,h,v);if(k(z)){l=t(nk.G(0,p,l));v=null;for(var O=0,V=0;;)if(Vfunction(){var W=afunction(){var W=a+b;var ea=a+c;W=Wb?a:b;return W>c?W:c}())&&ky("Carlson R_F");for(var p= +a,v=b,r=c;;){var z=Math.sqrt(v),C=Math.sqrt(r);z=Math.sqrt(p)*(z+C)+z*C;p=.25*(p+z);v=.25*(v+z);z=.25*(r+z);r=d*(p+v+z);var F=(r-p)/r,O=(r-v)/r,V=(r-z)/r;if(.0025ea?W:ea;ea=Math.abs(V);return W>ea?W:ea}())r=z;else return d=F*O-V*V,p=F*O*V,(1+(g*d-.1-h*p)*d+l*p)/Math.sqrt(r)}},h7a=function(a,b,c){var d=3/14,g=1/6,h=9/22,l=3/26,p=.25*h,v=1.5*l;(0>(afunction(){var ra=a+b;return rab?a:b;return ra> +c?ra:c}())&&ky("Carlson R_D");for(var r=a,z=b,C=c,F=0,O=1;;){var V=Math.sqrt(z),W=Math.sqrt(C);V=Math.sqrt(r)*(V+W)+V*W;F+=O/(W*(C+V));O*=.25;r=.25*(r+V);W=.25*(z+V);C=.25*(C+V);z=.2*(r+W+3*C);var ea=(z-r)/z,ha=(z-W)/z,ma=(z-C)/z;if(.0015ta?ra:ta;ta=Math.abs(ma);return ra>ta?ra:ta}())z=W;else return r=ea*ha,V=ma*ma,C=r-V,V=r-6*V,W=V+C+C,3*F+O*(1+V*(p*V-v*ma*W-d)+ma*(g*W+ma*(h*C-ma*l*r)))/(z*Math.sqrt(z))}},i7a=function(a,b){var c=2.236/1.3E-19, +d=.257049/25,g=1/3,h=1/7,l=9/22;(0>a||Pc.B(b,0)||1.69E-38>a+Math.abs(b)||3E37function(){var La=afunction(){var La=a+b;var Oa=a+c;La=Lab?a:b;La=La>c?La:c;var Oa=Math.abs(d);return La>Oa?La:Oa}())&&ky("Carlson R_J");var F=0b?a:b;return Fb>c?Fb:c}(),Wa=a+b+c-La-Oa,cb=1/(Wa-d),nb=cb*(Oa-Wa)*(Wa-La), +vb=Wa+nb,xb=i7a(La*Oa/Wa,d*vb/Wa);return new E(null,7,5,G,[La,Wa,Oa,vb,cb,nb,xb],null)}(),O=x.G(F,0,null),V=x.G(F,1,null),W=x.G(F,2,null),ea=x.G(F,3,null),ha=x.G(F,4,null),ma=x.G(F,5,null);F=x.G(F,6,null);var ra=W,ta=ea;ea=0;for(W=1;;){var Da=Math.sqrt(O),Aa=Math.sqrt(V),da=Math.sqrt(ra),Y=Da*(Aa+da)+Aa*da;ea+=W*i7a(Math.pow(ta*(Da+Aa+da)+Da*Aa*da,2),ta*Math.pow(ta+Y,2));W*=.25;O=.25*(O+Y);V=.25*(V+Y);ra=.25*(ra+Y);Y=.25*(ta+Y);ta=.2*(O+V+ra+Y+Y);var xa=(ta-O)/ta,fa=(ta-V)/ta,ja=(ta-ra)/ta,Fa=(ta- +Y)/ta;if(.0015Oa?La:Oa;Oa=Math.abs(ja);La=La>Oa?La:Oa;Oa=Math.abs(Fa);return La>Oa?La:Oa}())ta=Y;else return Y=xa*(fa+ja)+fa*ja,Da=xa*fa*ja,Aa=Fa*Fa,da=Y-3*Aa,g=3*ea+W*(1+da*(v*da-r*(Da+2*Fa*(Y-Aa))-g)+Da*(z+Fa*(Fa*p-C))+Fa*Y*(h-Fa*l)+-(h*Fa*Aa))/(ta*Math.sqrt(ta)),0>=d?ha*(ma*g+3*(F-MQ(O,V,ra))):g}},NQ=function(a,b){var c=Math.sin(a);b*=c;return c*MQ(Math.pow(Math.cos(a),2),(1-b)*(1+b),1)},k7a=function(a){return NQ(Math.PI/2,a)},l7a=function(a, +b){if(Pc.B(a,1))return b.B?b.B(Infinity,1):b.call(null,Infinity,1);var c=1,d=Math.sqrt(1-a*a),g=a;a=0;for(var h=1;;){if(Math.abs(g)a;if(c){var d=1-a,g=Math.sqrt(d);return new E(null,4,5,G,[c,-(a/d),b*g, +g],null)}return new E(null,4,5,G,[c,a,b,1],null)},PQ=function(a,b){var c=x.G(b,0,null),d=x.G(b,1,null);b=x.G(b,2,null);return WG.J(y.B([a,c,d,b],0))},QQ=function(a){return x.G(a,0,null)},RQ=function(a){x.G(a,0,null);var b=x.G(a,1,null),c=x.G(a,2,null);a=x.G(a,3,null);return WG.J(y.B([b,c,a],0))},SQ=function(a){return YO.j(AD.B(ZO.j(QQ(a)),ZO.j(RQ(a))))},TQ=function(a){return YO.j(AD.B(ZO.j(RQ(a)),ZO.j(QQ(a))))},UQ=function(a){return function(b){var c=ID.B(1,YO.j(AD.B(1,ZO.j(a)))),d=ID.B(mF.B(-1,c), +ZO.j(a)),g=QQ(b);b=RQ(b);var h=EC.B(a,b);return PQ(DD.B(c,mF.B(g,h)),mF.J(DD.J(c,a,y.B([g],0)),b,y.B([DD.J(d,a,y.B([h],0))],0)))}},VQ=function(a,b){return function(c){var d=QQ(c);c=RQ(c);var g=ZO.j(b),h=EC.B(a,c),l=ID.B(1,YO.j(AD.B(1,g))),p=AD.B(l,1);g=DD.B(l,mF.B(d,DD.B(h,b)));d=mF.J(DD.J(l,b,y.B([a,d],0)),c,y.B([DD.J(p,a,y.B([h],0))],0));return PQ(g,d)}},WQ=function(a){return function(b){var c=QQ(b);b=RQ(b);b=a.j?a.j(b):a.call(null,b);return PQ(c,b)}},XQ=function(a,b){return fL(lq.da(b,Vf,Bcb,!0), +a)},YQ=function(a){return Bcb.B(ad(a),!1)},ZQ=function(a){return $K(eL(a))},aR=function(a,b,c,d,g){return Ydb(a,b,new f(null,3,[Ccb,c,Dcb,d,DH,g],null))},s7a=function(){return function(a){return cL(a)}},t7a=function(a,b){return function(c){return XQ(b,c)}},bR=function(a){return Ccb.j(aL(a))},cR=function(a){return Dcb.j(aL(a))},dR=function(a){return DH.j(aL(a))},eR=function(a,b){return ID.B(mF.B(a,b),mF.B(1,DD.B(a,b)))},gR=function(a,b){return ID.B(mF.B(a,b),mF.B(1,DD.B(ID.B(a,FH),ID.B(b,FH))))},u7a= +function(a){return["$",m.j(hR(jB.j(a))),"$"].join("")},v7a=function(a){return["$$",m.j(hR(jB.j(a))),"$$"].join("")},$G=function(a,b,c,d,g,h){this.f=a;this.atom=b;this.params=c;this.fa=d;this.aa=g;this.ha=h;this.ga=2230716170;this.ia=139264},cH=function(a){return a instanceof $G},beb=function(a){return kp.B(aeb,a)},ceb=function(a){return Oi(function(b){return k(ad(b))?lq.G(b,zh,Wo):b},a)},deb=function(a){return cH(a)||sd(a)&&!(a instanceof n)},eeb=function(a){return id(a)&&!cH(a)},feb=function(a){return deb(a)? +cH(a)?eo.G(a,cu,function(b){return function(){function c(g){var h=null;if(0b? +Hh.B(a,b):null},t8a=function(a,b,c,d){b=a.create(b,Gj(c),Gj(zh.B(d,"on")));d=d.j?d.j("on"):d.call(null,"on");if(k(d)){c=t(d);for(var g=null,h=0,l=0;;)if(lc)break a;var l=x.G(qhb,d,null),p=g+1;h+=l/g;d+=1;g=p}return b+Math.log(h/a*rhb)},thb=function(a,b,c){return 0c?(a-1)*Math.log(c)+(b-1)*Math.log(1-c)-uhb(a,b):-Infinity},whb=function(a,b){return Math.log(k(b)?a:1-a)},yhb=function(a,b,c){a=(c-a)/b;return-xhb-Math.log(b)-Math.log(1+a*a)},zhb=function(a,b){return 0<=b?Math.log(a)-a*b:-Infinity},Bhb=function(a,b,c){a=c-a;b*=b;return-.5*(Ahb+Math.log(b)+a*a/b)},Chb=function(a,b,c){return a<=c&&c<=b?-Math.log(b-a):-Infinity},Dhb=function(a,b){return Math.pow(a,b)},Ehb=function(a,b){if(null!=a&&null!=a.vd)a=a.vd(a,b);else{var c=Ehb[aa(null==a? +null:a)];if(null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else if(c=Ehb._,null!=c)a=c.B?c.B(a,b):c.call(null,a,b);else throw rb("PRandomVariable.sample-1",a);}return a},Fhb=function(a){var b=a.Gb;a=a.Eb;return nM[b&255]+nM[b>>8&255]+nM[b>>16&255]+nM[b>>24&255]+nM[a&255]+nM[a>>8&255]+nM[a>>16&255]+nM[a>>24&255]},Ghb=function(a,b){var c=a.Eb>>>16,d=a.Eb&65535,g=a.Gb>>>16;a=a.Gb&65535;var h=b.Eb>>>16,l=b.Eb&65535,p=b.Gb>>>16;b=b.Gb&65535;var v=[0,0,0,0];v[0]=a*b;v[1]=v[0]>>>16;v[0]&=65535;v[1]+=g*b;v[2]=v[1]>>> +16;v[1]&=65535;v[1]+=a*p;v[2]+=v[1]>>>16;v[1]&=65535;v[2]+=d*b;v[3]=v[2]>>>16;v[2]&=65535;v[2]+=g*p;v[3]+=v[2]>>>16;v[2]&=65535;v[2]+=a*l;v[3]+=v[2]>>>16;v[2]&=65535;v[3]=v[3]+c*b+d*p+g*l+a*h;v[3]&=65535;return na(v[1]<<16|v[0],v[3]<<16|v[2])},oM=function(a){if(null!=a&&null!=a.nf)a=a.nf(a);else{var b=oM[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=oM._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("IRandom.rand-double",a);}return a},pM=function(a){if(null!=a&&null!=a.pf)a= +a.pf(a);else{var b=pM[aa(null==a?null:a)];if(null!=b)a=b.j?b.j(a):b.call(null,a);else if(b=pM._,null!=b)a=b.j?b.j(a):b.call(null,a);else throw rb("IRandom.split",a);}return a},qM=function(a,b){return aaa(a,b).xor(a)},Hhb=function(a,b){this.gamma=a;this.state=b},Khb=function(a){var b="number"===typeof a?qa(a):a instanceof la?a:null;if(!k(b))throw mi.B("Bad random seed!",new f(null,1,[Sfb,a],null));return new Hhb(Jhb,b)},Mhb=function(a){var b=pM(a);a=x.G(b,0,null);b=x.G(b,1,null);return Math.sqrt(-2* +Math.log(oM(a)))*Math.cos(2*Lhb*oM(b))},Ohb=function(a,b){var c=a+1,d=c-1/3,g=1/Math.sqrt(9*d);b=pM(b);var h=x.G(b,0,null),l=x.G(b,1,null);b=function(){for(var v=h;;){var r=pM(v);v=x.G(r,0,null);a:for(r=x.G(r,1,null);;){var z=Mhb(r);var C=1+g*z;if(0>=C)r=Nhb(r);else{z=new E(null,2,5,G,[z,C],null);break a}}r=x.G(z,0,null);z=x.G(z,1,null);z*=z*z;C=oM(v);if(C>1-.331*Dhb(r,4)&&Math.log(C)>.5*r*r+d*(1+-z+Math.log(z)))v=Nhb(v);else return new E(null,2,5,G,[z,C],null)}}();var p=x.G(b,0,null);x.G(b,1,null); +return Pc.B(a,c)?d*p:Dhb(function(){for(var v=l;;){var r=oM(v);if(0>>0),caa=0;iaa[" "]=function(){};var la=class{constructor(a,b){this.Gb=a|0;this.Eb=b|0}Ck(){return this.Gb}toNumber(){return 4294967296*this.Eb+(this.Gb>>>0)}isSafeInteger(){var a=this.Eb>>21;return 0==a||-1==a&&!(0==this.Gb&&-2097152==this.Eb)}toString(a){a=a||10;if(2>a||36>2);var c=Math.pow(a,b),d=na(c,c/4294967296);c=this.div(d);d=Math.abs(this.subtract(c.multiply(d)).toNumber());var g=10==a?""+d:d.toString(a); +g.lengththis.Eb}Ji(){return 1==(this.Gb&1)}equals(a){return this.Gb==a.Gb&&this.Eb==a.Eb}lessThan(a){return 0>this.compare(a)}lessThanOrEqual(a){return 0>=this.compare(a)}greaterThan(a){return 0>>0>a.Gb>>>0?1:-1:this.Eb>a.Eb?1:-1}eb(){var a= +~this.Gb+1|0;return na(a,~this.Eb+!a|0)}add(a){var b=this.Eb>>>16,c=this.Eb&65535,d=this.Gb>>>16,g=a.Eb>>>16,h=a.Eb&65535,l=a.Gb>>>16;a=(this.Gb&65535)+(a.Gb&65535);l=(a>>>16)+(d+l);d=l>>>16;d+=c+h;b=(d>>>16)+(b+g)&65535;return na((l&65535)<<16|a&65535,b<<16|d&65535)}subtract(a){return this.add(a.eb())}multiply(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.Eb>>>16,c=this.Eb&65535,d=this.Gb>>>16,g=this.Gb&65535,h=a.Eb>>>16,l=a.Eb&65535,p=a.Gb>>>16;a=a.Gb&65535;var v=g*a;var r=(v>>> +16)+d*a;var z=r>>>16;r=(r&65535)+g*p;z+=r>>>16;z+=c*a;var C=z>>>16;z=(z&65535)+d*p;C+=z>>>16;z=(z&65535)+g*l;C=C+(z>>>16)+(b*a+c*p+d*l+g*h)&65535;return na((r&65535)<<16|v&65535,C<<16|z&65535)}div(a){if(a.isZero())throw Error("division by zero");if(this.Fb()){if(this.equals(oa)){if(a.equals(GB)||a.equals(w8a))return oa;if(a.equals(oa))return GB;var b=this.ee(1).div(a).shiftLeft(1);if(b.equals(pa))return a.Fb()?GB:w8a;var c=this.subtract(a.multiply(b));return b.add(c.div(a))}return a.Fb()?this.eb().div(a.eb()): +this.eb().div(a).eb()}if(this.isZero())return pa;if(a.Fb())return a.equals(oa)?pa:this.div(a.eb()).eb();var d=pa;for(c=this;c.greaterThanOrEqual(a);){b=Math.max(1,Math.floor(c.toNumber()/a.toNumber()));var g=Math.ceil(Math.log(b)/Math.LN2);g=48>=g?1:Math.pow(2,g-48);for(var h=qa(b),l=h.multiply(a);l.Fb()||l.greaterThan(c);)b-=g,h=qa(b),l=h.multiply(a);h.isZero()&&(h=GB);d=d.add(h);c=c.subtract(l)}return d}Ni(a){return this.subtract(this.div(a).multiply(a))}not(){return na(~this.Gb,~this.Eb)}and(a){return na(this.Gb& +a.Gb,this.Eb&a.Eb)}or(a){return na(this.Gb|a.Gb,this.Eb|a.Eb)}xor(a){return na(this.Gb^a.Gb,this.Eb^a.Eb)}shiftLeft(a){a&=63;if(0==a)return this;var b=this.Gb;return 32>a?na(b<>>32-a):na(0,b<a?na(this.Gb>>>a|b<<32-a,b>>a):na(b>>a-32,0<=b?0:-1)}},pa=na(0,0),GB=na(1,0),w8a=na(-1,-1),laa=na(4294967295,2147483647),oa=na(0,2147483648);var jaa={},naa=4294967296,ua=maa(0),za=maa(1),x8a=maa(16777216);e=sa.prototype;e.Ck=function(){return 0a||36>>0).toString(a);c=g;if(c.isZero())return h+d;for(;6>h.length;)h="0"+h;d=""+h+d}};e.isZero=function(){if(0!=this.Rc)return!1;for(var a=0;athis.compare(a)};e.lessThanOrEqual=function(a){return 0>=this.compare(a)}; +e.compare=function(a){a=this.subtract(a);return a.Fb()?-1:a.isZero()?0:1};e.eb=function(){return this.not().add(za)};e.abs=function(){return this.Fb()?this.eb():this};e.add=function(a){for(var b=Math.max(this.Ib.length,a.Ib.length),c=[],d=0,g=0;g<=b;g++){var h=d+(wa(this,g)&65535)+(wa(a,g)&65535),l=(h>>>16)+(wa(this,g)>>>16)+(wa(a,g)>>>16);d=l>>>16;h&=65535;l&=65535;c[g]=l<<16|h}return new sa(c,c[c.length-1]&-2147483648?-1:0)};e.subtract=function(a){return this.add(a.eb())}; +e.multiply=function(a){if(this.isZero()||a.isZero())return ua;if(this.Fb())return a.Fb()?this.eb().multiply(a.eb()):this.eb().multiply(a).eb();if(a.Fb())return this.multiply(a.eb()).eb();if(this.lessThan(x8a)&&a.lessThan(x8a))return va(this.toNumber()*a.toNumber());for(var b=this.Ib.length+a.Ib.length,c=[],d=0;d<2*b;d++)c[d]=0;for(d=0;d>>16,l=wa(this,d)&65535,p=wa(a,g)>>>16,v=wa(a,g)&65535;c[2*d+2*g]+=l*v;oaa(c,2*d+2*g);c[2*d+2*g+ +1]+=h*v;oaa(c,2*d+2*g+1);c[2*d+2*g+1]+=l*p;oaa(c,2*d+2*g+1);c[2*d+2*g+2]+=h*p;oaa(c,2*d+2*g+2)}for(d=0;d>5;a%=32;for(var c=this.Ib.length+b+(0>>32-a:wa(this,g-b);return new sa(d,this.Rc)};e.ee=function(a){var b=a>>5;a%=32;for(var c=this.Ib.length-b,d=[],g=0;g>>a|wa(this,g+b+1)<<32-a:wa(this,g+b);return new sa(d,this.Rc)};var Baa;var Kh=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};var qaa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var vGa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(let c=0;c>>16&65535)*d+c*(b>>>16&65535)<<16>>>0)|0},Tba={},Sba=0;e=n.prototype;e.toString=function(){return this.str};e.equiv=function(a){return this.ra(null,a)};e.ra=function(a,b){return b instanceof n?this.str===b.str:!1}; +e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.j=function(a){return A.B?A.B(a,this):A.call(null,a,this)};e.B=function(a,b){return A.G?A.G(a,this,b):A.call(null,a,this,b)};e.na=function(){return this.qd}; +e.oa=function(a,b){return new n(this.ns,this.name,this.str,this.sf,b)};e.sa=function(){var a=this.sf;return null!=a?a:this.sf=a=Wba(this)};e.vf=function(){return this.name};e.wf=function(){return this.ns};e.pa=function(a,b){return Vb(b,this.str)};var I=function I(a){switch(arguments.length){case 1:return I.j(arguments[0]);case 2:return I.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +I.j=function(a){for(;;){if(a instanceof n)return a;if("string"===typeof a){var b=a.indexOf("/");return 1>b?I.B(null,a):I.B(a.substring(0,b),a.substring(b+1,a.length))}if(wc(a))return a.Nb;if(a instanceof D)a=a.la;else throw Error("no conversion to symbol");}};I.B=function(a,b){var c=null!=a?[m.j(a),"/",m.j(b)].join(""):b;return new n(a,b,c,null,null)};I.ba=2;e=q.prototype;e.toString=function(){return["#'",m.j(this.Nb)].join("")};e.bb=function(){return this.val.ca?this.val.ca():this.val.call(null)}; +e.na=function(){return this.qd};e.oa=function(a,b){return new q(this.val,this.Nb,b)};e.ra=function(a,b){return b instanceof q?(a=this.Nb,b=b.Nb,Pc.B?Pc.B(a,b):Pc.call(null,a,b)):!1};e.sa=function(){return Wba(this.Nb)};e.yj=tc; +e.call=function(a){switch(arguments.length-1){case 0:return this.ca();case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.ya(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.Ta(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ua(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); +case 11:return this.Ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.La(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], +arguments[11],arguments[12],arguments[13]);case 14:return this.Na(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Oa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Pa(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Qa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ra(arguments[1],arguments[2], +arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Sa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Ya(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.dc(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], +arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.ca=function(){var a=this.val.ca?this.val.ca():this.val.call(null);return a.ca?a.ca():a.call(null)};e.j=function(a){var b=this.val.ca?this.val.ca():this.val.call(null);return b.j?b.j(a):b.call(null,a)}; +e.B=function(a,b){var c=this.val.ca?this.val.ca():this.val.call(null);return c.B?c.B(a,b):c.call(null,a,b)};e.G=function(a,b,c){var d=this.val.ca?this.val.ca():this.val.call(null);return d.G?d.G(a,b,c):d.call(null,a,b,c)};e.da=function(a,b,c,d){var g=this.val.ca?this.val.ca():this.val.call(null);return g.da?g.da(a,b,c,d):g.call(null,a,b,c,d)};e.ja=function(a,b,c,d,g){var h=this.val.ca?this.val.ca():this.val.call(null);return h.ja?h.ja(a,b,c,d,g):h.call(null,a,b,c,d,g)}; +e.ya=function(a,b,c,d,g,h){var l=this.val.ca?this.val.ca():this.val.call(null);return l.ya?l.ya(a,b,c,d,g,h):l.call(null,a,b,c,d,g,h)};e.Ta=function(a,b,c,d,g,h,l){var p=this.val.ca?this.val.ca():this.val.call(null);return p.Ta?p.Ta(a,b,c,d,g,h,l):p.call(null,a,b,c,d,g,h,l)};e.Ia=function(a,b,c,d,g,h,l,p){var v=this.val.ca?this.val.ca():this.val.call(null);return v.Ia?v.Ia(a,b,c,d,g,h,l,p):v.call(null,a,b,c,d,g,h,l,p)}; +e.Ua=function(a,b,c,d,g,h,l,p,v){var r=this.val.ca?this.val.ca():this.val.call(null);return r.Ua?r.Ua(a,b,c,d,g,h,l,p,v):r.call(null,a,b,c,d,g,h,l,p,v)};e.Ja=function(a,b,c,d,g,h,l,p,v,r){var z=this.val.ca?this.val.ca():this.val.call(null);return z.Ja?z.Ja(a,b,c,d,g,h,l,p,v,r):z.call(null,a,b,c,d,g,h,l,p,v,r)};e.Ka=function(a,b,c,d,g,h,l,p,v,r,z){var C=this.val.ca?this.val.ca():this.val.call(null);return C.Ka?C.Ka(a,b,c,d,g,h,l,p,v,r,z):C.call(null,a,b,c,d,g,h,l,p,v,r,z)}; +e.La=function(a,b,c,d,g,h,l,p,v,r,z,C){var F=this.val.ca?this.val.ca():this.val.call(null);return F.La?F.La(a,b,c,d,g,h,l,p,v,r,z,C):F.call(null,a,b,c,d,g,h,l,p,v,r,z,C)};e.Ma=function(a,b,c,d,g,h,l,p,v,r,z,C,F){var O=this.val.ca?this.val.ca():this.val.call(null);return O.Ma?O.Ma(a,b,c,d,g,h,l,p,v,r,z,C,F):O.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F)}; +e.Na=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O){var V=this.val.ca?this.val.ca():this.val.call(null);return V.Na?V.Na(a,b,c,d,g,h,l,p,v,r,z,C,F,O):V.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O)};e.Oa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V){var W=this.val.ca?this.val.ca():this.val.call(null);return W.Oa?W.Oa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V):W.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V)}; +e.Pa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W){var ea=this.val.ca?this.val.ca():this.val.call(null);return ea.Pa?ea.Pa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W):ea.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W)};e.Qa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea){var ha=this.val.ca?this.val.ca():this.val.call(null);return ha.Qa?ha.Qa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea):ha.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea)}; +e.Ra=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha){var ma=this.val.ca?this.val.ca():this.val.call(null);return ma.Ra?ma.Ra(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha):ma.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha)};e.Sa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma){var ra=this.val.ca?this.val.ca():this.val.call(null);return ra.Sa?ra.Sa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma):ra.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma)}; +e.Ya=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra){var ta=this.val.ca?this.val.ca():this.val.call(null);return ta.Ya?ta.Ya(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra):ta.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra)};e.dc=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta){var Da=this.val.ca?this.val.ca():this.val.call(null);return ze.$h?ze.$h(Da,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta):ze.call(null,Da,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta)}; +var Pc=function Pc(a){switch(arguments.length){case 1:return Pc.j(arguments[0]);case 2:return Pc.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(g=d)return-1;!(0c&&(c+=d,c=0>c?0:c);for(;;)if(ca?0:a};e.Fd=function(){var a=this.va(null);return 0b)throw Error("Index out of bounds");a:for(;;){if(null==a)throw Error("Index out of bounds"); +if(0===b){if(t(a)){a=u(a);break a}throw Error("Index out of bounds");}if(fca(a)){a=Xc(a,b);break a}if(t(a))a=w(a),--b;else throw Error("Index out of bounds");}return a}if(ob(jba,a))return Xc(a,b);throw Error(["nth not supported on this type ",m.j(aba(qb(a)))].join(""));}; +x.G=function(a,b,c){if("number"!==typeof b)throw Error("Index argument to nth must be a number.");if(null==a)return c;if(null!=a&&(a.ga&16||tc===a.Aj))return a.nb(null,b,c);if(ib(a))return-1b?c:ica(a,b,c);if(ob(jba,a))return Xc(a,b,c);throw Error(["nth not supported on this type ",m.j(aba(qb(a)))].join(""));};x.ba=3; +var A=function A(a){switch(arguments.length){case 2:return A.B(arguments[0],arguments[1]);case 3:return A.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};A.B=function(a,b){return null==a?null:null!=a&&(a.ga&256||tc===a.Bj)?a.xa(null,b):ib(a)?null!=b&&bb};RR.J=function(a,b,c){for(;;)if(a>b)if(w(c))a=b,b=u(c),c=w(c);else return b>u(c);else return!1};RR.ea=function(a){var b=u(a),c=w(a);a=u(c);c=w(c);return this.J(b,a,c)};RR.ba=2; +var SR=function SR(a){switch(arguments.length){case 1:return SR.j(arguments[0]);case 2:return SR.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(g=b};SR.J=function(a,b,c){for(;;)if(a>=b)if(w(c))a=b,b=u(c),c=w(c);else return b>=u(c);else return!1}; +SR.ea=function(a){var b=u(a),c=w(a);a=u(c);c=w(c);return this.J(b,a,c)};SR.ba=2;var tq=function tq(a){switch(arguments.length){case 1:return tq.j(arguments[0]);case 2:return tq.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gb?a:b};tq.J=function(a,b,c){return Cd.G(tq,a>b?a:b,c)}; +tq.ea=function(a){var b=u(a),c=w(a);a=u(c);c=w(c);return this.J(b,a,c)};tq.ba=2;var nq=function nq(a){switch(arguments.length){case 1:return nq.j(arguments[0]);case 2:return nq.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gd:g))c[d]=a.next(),d+=1;else return ee(lR.G(c,0,d),RM.j?RM.j(a):RM.call(null,a))}else return null},null,null)}; +ve.prototype.step=function(){if(this._next!==ue)return!0;for(;;)if(this._next===ue)if(this.buffer.isEmpty()){if(this.ri)return!1;if(this.fj.hasNext()){if(this.multi)var a=ze.B(this.xc,Td(null,this.fj.next()));else a=this.fj.next(),a=this.xc.B?this.xc.B(null,a):this.xc.call(null,null,a);Jc(a)&&(this.xc.j?this.xc.j(null):this.xc.call(null,null),this.ri=!0)}else this.xc.j?this.xc.j(null):this.xc.call(null,null),this.ri=!0}else this._next=this.buffer.remove();else return!0};ve.prototype.hasNext=function(){return this.step()}; +ve.prototype.next=function(){if(this.hasNext()){var a=this._next;this._next=ue;return a}throw Error("No such element");};ve.prototype.remove=function(){return Error("Unsupported operation")};ve.prototype[xc]=function(){return Dc(this)}; +var or=function or(a){switch(arguments.length){case 1:return or.j(arguments[0]);case 2:return or.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(g>>b&31;5===b?h.arr[l]=d:(c=c.arr[l],null!=c?(b-=5,a=N8a.da?N8a.da(a,b,c,d):N8a.call(null,a,b,c,d)):a=zda(null,b-5,d),h.arr[l]=a);return h},O8a=function O8a(a,b,c,d,g){var l=yda(c);if(0===b)l.arr[d&31]=g;else{var p=d>>>b&31;b-=5;c=c.arr[p];a=O8a.ja?O8a.ja(a,b,c,d,g):O8a.call(null,a,b,c,d,g);l.arr[p]=a}return l},P8a=function P8a(a,b,c){var g=a.ka-2>>>b&31;if(5=this.ka)return new yc(this.tail,0,null);a:{var a=this.root;for(var b=this.shift;;)if(0this.ka-We(this)){a=this.tail.length;for(var c=Array(a+1),d=0;;)if(d>>5>1<b)return null;a=this.start+b;return ab||this.end<=this.start+b?Ada(b,this.end-this.start):Xc(this.v,this.start+b)};e.nb=function(a,b,c){return 0>b||this.end<=this.start+b?c:Xc(this.v,this.start+b,c)}; +e.Gd=function(a,b,c){a=this.start+b;if(0>b||this.end+1<=a)throw Error(["Index ",m.j(b)," out of bounds [0,",m.j(this.va(null)),"]"].join(""));b=this.meta;c=Vf.G(this.v,a,c);var d=this.start,g=this.end;a+=1;a=g>a?g:a;return hf.ja?hf.ja(b,c,d,a,null):hf.call(null,b,c,d,a,null)};e.Aa=function(){return null!=this.v&&tc===this.v.Yh?Dda(this.v,this.start,this.end):Lka(this)};e.na=function(){return this.meta};e.jb=function(){return new gf(this.meta,this.v,this.start,this.end,this.ha)}; +e.va=function(){return this.end-this.start};e.ke=function(){return this.start===this.end?null:Xc(this.v,this.end-1)};e.le=function(){if(this.start===this.end)throw Error("Can't pop empty vector");var a=this.meta,b=this.v,c=this.start,d=this.end-1;return hf.ja?hf.ja(a,b,c,d,null):hf.call(null,a,b,c,d,null)};e.Fd=function(){return this.start!==this.end?new Rc(this,this.end-this.start-1,null):null};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)};e.ra=function(a,b){return Nd(this,b)}; +e.fb=function(){return Lb(Ue,this.meta)};e.tb=function(a,b){return null!=this.v&&tc===this.v.Yh?Fda(this.v,b,this.start,this.end):Mc(this,b)};e.ub=function(a,b,c){return null!=this.v&&tc===this.v.Yh?Eda(this.v,b,c,this.start,this.end):eca(this,b,c)};e.qa=function(a,b,c){if("number"===typeof b)return this.Gd(null,b,c);throw Error("Subvec's key for assoc must be a number.");};e.Ga=function(a,b){return td(b)?0<=b&&b>>b&31;if(5===b)a=d;else{var l=c.arr[h];null!=l?(b-=5,a=Q8a.da?Q8a.da(a,b,l,d):Q8a.call(null,a,b,l,d)):a=zda(a.root.gb,b-5,d)}c.arr[h]=a;return c},R8a=function R8a(a,b,c){c=jf(a.root.gb,c);var g=a.ka-2>>>b&31;if(5this.ka-We(this))this.tail[this.ka&31]=b;else{a=new Ve(this.root.gb,this.tail);var c=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];c[0]=b;this.tail=c;this.ka>>>5>1<>>h&31;h=p(h-5,l.arr[v]);l.arr[v]=h}return l}(d.shift,d.root),d.root=a),this;if(b===d.ka)return this.Ef(null,c);throw Error(["Index ",m.j(b)," out of bounds for TransientVector of length",m.j(d.ka)].join(""));}throw Error("assoc! after persistent!");}; +e.Kj=function(){if(this.root.gb){if(0===this.ka)throw Error("Can't pop empty vector");if(1===this.ka)this.ka=0;else if(0<(this.ka-1&31))--this.ka;else{a:{var a=this.ka-2;if(a>=We(this))a=this.tail;else for(var b=this.root,c=b,d=this.shift;;)if(0>>d&31]),d-=5;else{a=c.arr;break a}}b=R8a(this,this.shift,this.root);b=null!=b?b:new Ve(this.root.gb,[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null, +null,null,null,null,null]);5xib||this.keys.length>=xib)return mla(this,b,c);if(null!=Ra(b,this.keys))return a=qla(this.yd,this.keys),a[b]=c,new Sa(this.meta,this.keys,a,this.ze+1,null);a=qla(this.yd,this.keys);var d=sb(this.keys);a[b]=c;d.push(b);return new Sa(this.meta,d,a,this.ze+1,null)}return mla(this,b,c)};e.Ga=function(a,b){return"string"===typeof b&&null!=Ra(b,this.keys)?!0:!1}; +e.ua=function(){var a=this;return 0=a)return new f(this.meta,this.ka-1,c,null);Pc.B(b,this.arr[d])?d+=2:(c[g]=this.arr[d],c[g+1]=this.arr[d+1],g+=2,d+=2)}}else return this}; +e.qa=function(a,b,c){a=nf(this.arr,b);if(-1===a){if(this.kab?4:2*(b+1));md(this.arr,0,c,0,2*b);return new yf(a,this.kb,c)}; +e.ng=function(a,b,c,d,g){var h=1<<(c>>>b&31);if(0===(this.kb&h))return this;var l=Ld(this.kb&h-1),p=this.arr[2*l],v=this.arr[2*l+1];return null==p?(b=v.ng(a,b+5,c,d,g),b===v?this:null!=b?vf(this,a,2*l+1,b):this.kb===h?null:Zda(this,a,h,l)):pf(d,p)?(g.val=!0,Zda(this,a,h,l)):this};e.kg=function(){return Ef?Ef(this.arr):Gf.call(null,this.arr)};e.ef=function(a,b){return Yda(this.arr,a,b)}; +e.Pe=function(a,b,c,d){var g=1<<(b>>>a&31);if(0===(this.kb&g))return d;var h=Ld(this.kb&g-1);g=this.arr[2*h];h=this.arr[2*h+1];return null==g?h.Pe(a+5,b,c,d):pf(c,g)?h:d}; +e.Md=function(a,b,c,d,g,h){var l=1<<(c>>>b&31),p=Ld(this.kb&l-1);if(0===(this.kb&l)){var v=Ld(this.kb);if(2*v>>b&31]=Cf.Md(a,b+5,c,d,g,h);for(g=d=0;;)if(32>d)0===(this.kb>>> +d&1)?d+=1:(p[d]=null!=this.arr[g]?Cf.Md(a,b+5,uc(this.arr[g]),this.arr[g],this.arr[g+1],h):this.arr[g+1],g+=2,d+=1);else break;return new zf(a,v+1,p)}b=Array(2*(v+4));md(this.arr,0,b,0,2*p);b[2*p]=d;b[2*p+1]=g;md(this.arr,2*p,b,2*(p+1),2*(v-p));h.val=!0;a=this.ue(a);a.arr=b;a.kb|=l;return a}v=this.arr[2*p];l=this.arr[2*p+1];if(null==v)return v=l.Md(a,b+5,c,d,g,h),v===l?this:vf(this,a,2*p+1,v);if(pf(d,v))return g===l?this:vf(this,a,2*p+1,g);h.val=!0;h=b+5;d=cea?cea(a,h,v,l,c,d,g):dea.call(null,a,h, +v,l,c,d,g);g=2*p;p=2*p+1;a=this.ue(a);a.arr[g]=null;a.arr[p]=d;return a}; +e.Ld=function(a,b,c,d,g){var h=1<<(b>>>a&31),l=Ld(this.kb&h-1);if(0===(this.kb&h)){var p=Ld(this.kb);if(16<=p){l=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];l[b>>>a&31]=Cf.Ld(a+5,b,c,d,g);for(d=c=0;;)if(32>c)0===(this.kb>>>c&1)?c+=1:(l[c]=null!=this.arr[d]?Cf.Ld(a+5,uc(this.arr[d]),this.arr[d],this.arr[d+1],g):this.arr[d+1],d+=2,c+=1);else break;return new zf(null,p+1,l)}a=Array(2* +(p+1));md(this.arr,0,a,0,2*l);a[2*l]=c;a[2*l+1]=d;md(this.arr,2*l,a,2*(l+1),2*(p-l));g.val=!0;return new yf(null,this.kb|h,a)}var v=this.arr[2*l];h=this.arr[2*l+1];if(null==v)return p=h.Ld(a+5,b,c,d,g),p===h?this:new yf(null,this.kb,uf(this.arr,2*l+1,p));if(pf(c,v))return d===h?this:new yf(null,this.kb,uf(this.arr,2*l+1,d));g.val=!0;g=this.kb;p=this.arr;a+=5;a=bea?bea(a,v,h,b,c,d):dea.call(null,a,v,h,b,c,d);c=2*l;l=2*l+1;d=sb(p);d[c]=null;d[l]=a;return new yf(null,g,d)}; +e.jg=function(a,b,c,d){var g=1<<(b>>>a&31);if(0===(this.kb&g))return d;var h=Ld(this.kb&g-1);g=this.arr[2*h];h=this.arr[2*h+1];return null==g?h.jg(a+5,b,c,d):pf(c,g)?new wd(g,h,null):d}; +e.mg=function(a,b,c){var d=1<<(b>>>a&31);if(0===(this.kb&d))return this;var g=Ld(this.kb&d-1),h=this.arr[2*g],l=this.arr[2*g+1];return null==h?(a=l.mg(a+5,b,c),a===l?this:null!=a?new yf(null,this.kb,uf(this.arr,2*g+1,a)):this.kb===d?null:new yf(null,this.kb^d,Xda(this.arr,g))):pf(c,h)?this.kb===d?null:new yf(null,this.kb^d,Xda(this.arr,g)):this};e.Aa=function(){return new xf(this.arr,0,null,null)};var Cf=new yf(null,0,[]); +aea.prototype.hasNext=function(){for(var a=this.arr.length;;){if(null!=this.Pd&&this.Pd.hasNext())return!0;if(this.i>>b&31,l=this.arr[h];if(null==l)return this;b=l.ng(a,b+5,c,d,g);if(b===l)return this;if(null==b){if(8>=this.ka)return $da(this,a,h);a=vf(this,a,h,b);--a.ka;return a}return vf(this,a,h,b)};e.kg=function(){return eea?eea(this.arr):fea.call(null,this.arr)};e.ef=function(a,b){for(var c=this.arr.length,d=0;;)if(d>>a&31];return null!=g?g.Pe(a+5,b,c,d):d};e.Md=function(a,b,c,d,g,h){var l=c>>>b&31,p=this.arr[l];if(null==p)return a=vf(this,a,l,Cf.Md(a,b+5,c,d,g,h)),a.ka+=1,a;b=p.Md(a,b+5,c,d,g,h);return b===p?this:vf(this,a,l,b)};e.Ld=function(a,b,c,d,g){var h=b>>>a&31,l=this.arr[h];if(null==l)return new zf(null,this.ka+1,uf(this.arr,h,Cf.Ld(a+5,b,c,d,g)));a=l.Ld(a+5,b,c,d,g);return a===l?this:new zf(null,this.ka,uf(this.arr,h,a))}; +e.jg=function(a,b,c,d){var g=this.arr[b>>>a&31];return null!=g?g.jg(a+5,b,c,d):d};e.mg=function(a,b,c){var d=b>>>a&31,g=this.arr[d];return null!=g?(a=g.mg(a+5,b,c),a===g?this:null==a?8>=this.ka?$da(this,null,d):new zf(null,this.ka-1,uf(this.arr,d,a)):new zf(null,this.ka,uf(this.arr,d,a))):this};e.Aa=function(){return new aea(this.arr,0,null)};e=Bf.prototype;e.ue=function(a){if(a===this.gb)return this;var b=Array(2*(this.ka+1));md(this.arr,0,b,0,2*this.ka);return new Bf(a,this.pe,this.ka,b)}; +e.ng=function(a,b,c,d,g){b=Af(this.arr,this.ka,d);if(-1===b)return this;g.val=!0;if(1===this.ka)return null;a=this.ue(a);g=a.arr;g[b]=g[2*this.ka-2];g[b+1]=g[2*this.ka-1];g[2*this.ka-1]=null;g[2*this.ka-2]=null;--a.ka;return a};e.kg=function(){return Ef?Ef(this.arr):Gf.call(null,this.arr)};e.ef=function(a,b){return Yda(this.arr,a,b)};e.Pe=function(a,b,c,d){a=Af(this.arr,this.ka,c);return 0>a?d:pf(c,this.arr[a])?this.arr[a+1]:d}; +e.Md=function(a,b,c,d,g,h){if(c===this.pe){b=Af(this.arr,this.ka,d);if(-1===b){if(this.arr.length>2*this.ka)return b=2*this.ka,c=2*this.ka+1,a=this.ue(a),a.arr[b]=d,a.arr[c]=g,h.val=!0,a.ka+=1,a;c=this.arr.length;b=Array(c+2);md(this.arr,0,b,0,c);b[c]=d;b[c+1]=g;h.val=!0;d=this.ka+1;a===this.gb?(this.arr=b,this.ka=d,a=this):a=new Bf(this.gb,this.pe,d,b);return a}return this.arr[b+1]===g?this:vf(this,a,b+1,g)}return(new yf(a,1<<(this.pe>>>b&31),[null,this,null,null])).Md(a,b,c,d,g,h)}; +e.Ld=function(a,b,c,d,g){return b===this.pe?(a=Af(this.arr,this.ka,c),-1===a?(a=2*this.ka,b=Array(a+2),md(this.arr,0,b,0,a),b[a]=c,b[a+1]=d,g.val=!0,new Bf(null,this.pe,this.ka+1,b)):Pc.B(this.arr[a+1],d)?this:new Bf(null,this.pe,this.ka,uf(this.arr,a+1,d))):(new yf(null,1<<(this.pe>>>a&31),[null,this])).Ld(a,b,c,d,g)};e.jg=function(a,b,c,d){a=Af(this.arr,this.ka,c);return 0>a?d:pf(c,this.arr[a])?new wd(this.arr[a],this.arr[a+1],null):d}; +e.mg=function(a,b,c){a=Af(this.arr,this.ka,c);return-1===a?this:1===this.ka?null:new Bf(null,this.pe,this.ka-1,Xda(this.arr,Jd(a,2)))};e.Aa=function(){return new xf(this.arr,0,null,null)};e=Df.prototype;e.toString=function(){return oc(this)};e.equiv=function(a){return this.ra(null,a)}; +e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return KM.G(this,b,0);case 2:return KM.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return KM.G(this,b,0)};a.B=function(b,c){return KM.G(this,b,c)};return a}(); +e.lastIndexOf=function(){function a(c){return Qc(this,c,Oc(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Qc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Qc(this,c,d)};return b}();e.na=function(){return this.meta};e.Jb=function(){if(null==this.s){var a=this.nodes,b=this.i+2;return Ff?Ff(a,b,null):Gf.call(null,a,b,null)}a=this.nodes;b=this.i;var c=w(this.s);return Ff?Ff(a,b,c):Gf.call(null,a,b,c)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)};e.ra=function(a,b){return Nd(this,b)};e.fb=function(){return Ac};e.tb=function(a,b){return Ad(b,this)};e.ub=function(a,b,c){return Bd(b,c,this)};e.xb=function(){return null==this.s?new wd(this.nodes[this.i],this.nodes[this.i+1],null):u(this.s)}; +e.Lb=function(){var a=this,b=null==a.s?function(){var c=a.nodes,d=a.i+2;return Ff?Ff(c,d,null):Gf.call(null,c,d,null)}():function(){var c=a.nodes,d=a.i,g=w(a.s);return Ff?Ff(c,d,g):Gf.call(null,c,d,g)}();return null!=b?b:Ac};e.ua=function(){return this};e.oa=function(a,b){return b===this.meta?this:new Df(b,this.nodes,this.i,this.s,this.ha)};e.wa=function(a,b){return Td(b,this)};Df.prototype[xc]=function(){return Dc(this)};e=Hf.prototype;e.toString=function(){return oc(this)}; +e.equiv=function(a){return this.ra(null,a)};e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return KM.G(this,b,0);case 2:return KM.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return KM.G(this,b,0)};a.B=function(b,c){return KM.G(this,b,c)};return a}(); +e.lastIndexOf=function(){function a(c){return Qc(this,c,Oc(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Qc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Qc(this,c,d)};return b}();e.na=function(){return this.meta};e.Jb=function(){var a=this.nodes,b=this.i,c=w(this.s);return If?If(a,b,c):fea.call(null,a,b,c)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)}; +e.ra=function(a,b){return Nd(this,b)};e.fb=function(){return Ac};e.tb=function(a,b){return Ad(b,this)};e.ub=function(a,b,c){return Bd(b,c,this)};e.xb=function(){return u(this.s)};e.Lb=function(){var a=this.nodes;var b=this.i,c=w(this.s);a=If?If(a,b,c):fea.call(null,a,b,c);return null!=a?a:Ac};e.ua=function(){return this};e.oa=function(a,b){return b===this.meta?this:new Hf(b,this.nodes,this.i,this.s,this.ha)};e.wa=function(a,b){return Td(b,this)};Hf.prototype[xc]=function(){return Dc(this)}; +gea.prototype.hasNext=function(){return!this.cj||this.rk.hasNext()};gea.prototype.next=function(){if(this.cj)return this.rk.next();this.cj=!0;return new wd(null,this.vc,null)};gea.prototype.remove=function(){return Error("Unsupported operation")};e=Jf.prototype;e.Ed=tc;e.ud=function(a,b){return null==b?this.tc?new wd(null,this.vc,null):null:null==this.root?null:this.root.jg(0,uc(b),b,null)};e.toString=function(){return oc(this)};e.equiv=function(a){return this.ra(null,a)}; +e.keys=function(){return Dc(Qf.j?Qf.j(this):Qf.call(null,this))};e.entries=function(){return xla(t(this))};e.values=function(){return Dc(Tf.j?Tf.j(this):Tf.call(null,this))};e.has=function(a){return vd(this,a)};e.get=function(a,b){return this.ma(null,a,b)}; +e.forEach=function(a){for(var b=t(this),c=null,d=0,g=0;;)if(gthis.ka?Oc(w(this))+1:this.ka};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)};e.ra=function(a,b){return Nd(this,b)};e.fb=function(){return Ac};e.tb=function(a,b){return Ad(b,this)};e.ub=function(a,b,c){return Bd(b,c,this)};e.xb=function(){return bd(this.stack)};e.Lb=function(){var a=u(this.stack);a=jea(this.Ze?a.right:a.left,w(this.stack),this.Ze);return null!=a?new Kf(null,a,this.Ze,this.ka-1,null):Ac};e.ua=function(){return this}; +e.oa=function(a,b){return b===this.meta?this:new Kf(b,this.stack,this.Ze,this.ka,this.ha)};e.wa=function(a,b){return Td(b,this)};Kf.prototype[xc]=function(){return Dc(this)};var iS=function iS(a,b,c){var g=null!=a.left?function(){var p=a.left;return iS.G?iS.G(p,b,c):iS.call(null,p,b,c)}():c;if(Jc(g))return g;var h=function(){var p=a.key,v=a.val;return b.G?b.G(g,p,v):b.call(null,g,p,v)}();if(Jc(h))return h;if(null!=a.right){var l=a.right;return iS.G?iS.G(l,b,h):iS.call(null,l,b,h)}return h};e=Nf.prototype; +e.Ed=tc;e.ud=function(a,b){switch(b){case 0:return new wd(0,this.key,null);case 1:return new wd(1,this.val,null);default:return null}};e.lastIndexOf=function(){function a(c){return Qc(this,c,Oc(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Qc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Qc(this,c,d)};return b}(); +e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return KM.G(this,b,0);case 2:return KM.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return KM.G(this,b,0)};a.B=function(b,c){return KM.G(this,b,c)};return a}();e.tj=function(a){return a.vj(this)};e.zg=function(){return new Lf(this.key,this.val,this.left,this.right,null)};e.he=function(){return this};e.sj=function(a){return a.uj(this)};e.replace=function(a,b,c,d){return new Nf(a,b,c,d,null)}; +e.uj=function(a){return new Nf(a.key,a.val,this,a.right,null)};e.vj=function(a){return new Nf(a.key,a.val,a.left,this,null)};e.ef=function(a,b){return iS(this,a,b)};e.xa=function(a,b){return this.nb(null,b,null)};e.ma=function(a,b,c){return this.nb(null,b,c)};e.ta=function(a,b){if(0===b)return this.key;if(1===b)return this.val;throw Error("Index out of bounds");};e.nb=function(a,b,c){return 0===b?this.key:1===b?this.val:c}; +e.Gd=function(a,b,c){return(new E(null,2,5,G,[this.key,this.val],null)).Gd(null,b,c)};e.na=function(){return null};e.va=function(){return 2};e.ai=function(){return this.key};e.bi=function(){return this.val};e.ke=function(){return this.val};e.le=function(){return new E(null,1,5,G,[this.key],null)};e.Fd=function(){return new yc([this.val,this.key],0,null)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)};e.ra=function(a,b){return Nd(this,b)};e.fb=function(){return null}; +e.tb=function(a,b){return Mc(this,b)};e.ub=function(a,b,c){return eca(this,b,c)};e.qa=function(a,b,c){return Vf.G(new E(null,2,5,G,[this.key,this.val],null),b,c)};e.Ga=function(a,b){return 0===b||1===b};e.ua=function(){return new yc([this.key,this.val],0,null)};e.oa=function(a,b){return Lb(new E(null,2,5,G,[this.key,this.val],null),b)};e.wa=function(a,b){return new E(null,3,5,G,[this.key,this.val,b],null)}; +e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.j=function(a){return this.ta(null,a)};e.B=function(a,b){return this.nb(null,a,b)};Nf.prototype[xc]=function(){return Dc(this)};e=Lf.prototype;e.Ed=tc; +e.ud=function(a,b){switch(b){case 0:return new wd(0,this.key,null);case 1:return new wd(1,this.val,null);default:return null}};e.lastIndexOf=function(){function a(c){return Qc(this,c,Oc(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Qc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Qc(this,c,d)};return b}(); +e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return KM.G(this,b,0);case 2:return KM.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return KM.G(this,b,0)};a.B=function(b,c){return KM.G(this,b,c)};return a}();e.tj=function(a){return new Lf(this.key,this.val,this.left,a,null)};e.zg=function(){throw Error("red-black tree invariant violation");};e.he=function(){return new Nf(this.key,this.val,this.left,this.right,null)}; +e.sj=function(a){return new Lf(this.key,this.val,a,this.right,null)};e.replace=function(a,b,c,d){return new Lf(a,b,c,d,null)};e.uj=function(a){return this.left instanceof Lf?new Lf(this.key,this.val,this.left.he(),new Nf(a.key,a.val,this.right,a.right,null),null):this.right instanceof Lf?new Lf(this.right.key,this.right.val,new Nf(this.key,this.val,this.left,this.right.left,null),new Nf(a.key,a.val,this.right.right,a.right,null),null):new Nf(a.key,a.val,this,a.right,null)}; +e.vj=function(a){return this.right instanceof Lf?new Lf(this.key,this.val,new Nf(a.key,a.val,a.left,this.left,null),this.right.he(),null):this.left instanceof Lf?new Lf(this.left.key,this.left.val,new Nf(a.key,a.val,a.left,this.left.left,null),new Nf(this.key,this.val,this.left.right,this.right,null),null):new Nf(a.key,a.val,a.left,this,null)};e.ef=function(a,b){return iS(this,a,b)};e.xa=function(a,b){return this.nb(null,b,null)};e.ma=function(a,b,c){return this.nb(null,b,c)}; +e.ta=function(a,b){if(0===b)return this.key;if(1===b)return this.val;throw Error("Index out of bounds");};e.nb=function(a,b,c){return 0===b?this.key:1===b?this.val:c};e.Gd=function(a,b,c){return(new E(null,2,5,G,[this.key,this.val],null)).Gd(null,b,c)};e.na=function(){return null};e.va=function(){return 2};e.ai=function(){return this.key};e.bi=function(){return this.val};e.ke=function(){return this.val};e.le=function(){return new E(null,1,5,G,[this.key],null)}; +e.Fd=function(){return new yc([this.val,this.key],0,null)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)};e.ra=function(a,b){return Nd(this,b)};e.fb=function(){return null};e.tb=function(a,b){return Mc(this,b)};e.ub=function(a,b,c){return eca(this,b,c)};e.qa=function(a,b,c){return Vf.G(new E(null,2,5,G,[this.key,this.val],null),b,c)};e.Ga=function(a,b){return 0===b||1===b};e.ua=function(){return new yc([this.key,this.val],0,null)}; +e.oa=function(a,b){return Lb(new E(null,2,5,G,[this.key,this.val],null),b)};e.wa=function(a,b){return new E(null,3,5,G,[this.key,this.val,b],null)};e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.j=function(a){return this.ta(null,a)}; +e.B=function(a,b){return this.nb(null,a,b)};Lf.prototype[xc]=function(){return Dc(this)}; +var jS=function jS(a,b,c,d,g){if(null==b)return new Lf(c,d,null,null,null);var l=function(){var p=b.key;return a.B?a.B(c,p):a.call(null,c,p)}();if(0===l)return g[0]=b,null;if(0>l)return l=function(){var p=b.left;return jS.ja?jS.ja(a,p,c,d,g):jS.call(null,a,p,c,d,g)}(),null!=l?b.sj(l):null;l=function(){var p=b.right;return jS.ja?jS.ja(a,p,c,d,g):jS.call(null,a,p,c,d,g)}();return null!=l?b.tj(l):null},kS=function kS(a,b){if(null==a)return b;if(null==b)return a;if(a instanceof Lf){if(b instanceof Lf){var d= +function(){var g=a.right,h=b.left;return kS.B?kS.B(g,h):kS.call(null,g,h)}();return d instanceof Lf?new Lf(d.key,d.val,new Lf(a.key,a.val,a.left,d.left,null),new Lf(b.key,b.val,d.right,b.right,null),null):new Lf(a.key,a.val,a.left,new Lf(b.key,b.val,d,b.right,null),null)}return new Lf(a.key,a.val,a.left,function(){var g=a.right;return kS.B?kS.B(g,b):kS.call(null,g,b)}(),null)}if(b instanceof Lf)return new Lf(b.key,b.val,function(){var g=b.left;return kS.B?kS.B(a,g):kS.call(null,a,g)}(),b.right,null); +d=function(){var g=a.right,h=b.left;return kS.B?kS.B(g,h):kS.call(null,g,h)}();return d instanceof Lf?new Lf(d.key,d.val,new Nf(a.key,a.val,a.left,d.left,null),new Nf(b.key,b.val,d.right,b.right,null),null):nea(a.key,a.val,a.left,new Nf(b.key,b.val,d,b.right,null))},lS=function lS(a,b,c,d){if(null!=b){var h=function(){var l=b.key;return a.B?a.B(c,l):a.call(null,c,l)}();if(0===h)return d[0]=b,kS(b.left,b.right);if(0>h)return h=function(){var l=b.left;return lS.da?lS.da(a,l,c,d):lS.call(null,a,l,c, +d)}(),null!=h||null!=d[0]?b.left instanceof Nf?nea(b.key,b.val,h,b.right):new Lf(b.key,b.val,h,b.right,null):null;h=function(){var l=b.right;return lS.da?lS.da(a,l,c,d):lS.call(null,a,l,c,d)}();return null!=h||null!=d[0]?b.right instanceof Nf?oea(b.key,b.val,b.left,h):new Lf(b.key,b.val,b.left,h,null):null}return null},mS=function mS(a,b,c,d){var h=b.key,l=a.B?a.B(c,h):a.call(null,c,h);return 0===l?b.replace(h,d,b.left,b.right):0>l?b.replace(h,b.val,function(){var p=b.left;return mS.da?mS.da(a,p, +c,d):mS.call(null,a,p,c,d)}(),b.right):b.replace(h,b.val,b.left,function(){var p=b.right;return mS.da?mS.da(a,p,c,d):mS.call(null,a,p,c,d)}())};e=Of.prototype;e.Ed=tc;e.ud=function(a,b){return pea(this,b)}; +e.forEach=function(a){for(var b=t(this),c=null,d=0,g=0;;)if(gg?(a=Qd.B(a,d),d=d.left):d=d.right:0(a.j?a.j(c):a.call(null,c))?b:c}; +xh.J=function(a,b,c,d){return Cd.G(function(g,h){return xh.G(a,g,h)},xh.G(a,b,c),d)};xh.ea=function(a){var b=u(a),c=w(a);a=u(c);var d=w(c);c=u(d);d=w(d);return this.J(b,a,c,d)};xh.ba=3; +var qS=function qS(a){switch(arguments.length){case 2:return qS.B(arguments[0],arguments[1]);case 3:return qS.G(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,g=0;;)if(g=this.count)throw Error("-drop-first of empty chunk");return new uea(this.start+this.step,this.step,this.count-1)}; +vea.prototype.hasNext=function(){return 0this.end};vea.prototype.next=function(){var a=this.i;this.i+=this.step;return a};e=fg.prototype;e.toString=function(){return oc(this)};e.equiv=function(a){return this.ra(null,a)}; +e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return KM.G(this,b,0);case 2:return KM.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return KM.G(this,b,0)};a.B=function(b,c){return KM.G(this,b,c)};return a}(); +e.lastIndexOf=function(){function a(c){return Qc(this,c,Oc(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Qc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Qc(this,c,d)};return b}(); +e.hg=function(){if(null==this.chunk){var a=this.va(null);32this.end&&0===this.step)return this.start;throw Error("Index out of bounds");}; +e.nb=function(a,b,c){return 0<=b&&bthis.end&&0===this.step?this.start:c};e.Aa=function(){return new vea(this.start,this.end,this.step)};e.na=function(){return this.meta};e.jb=function(){return new fg(this.meta,this.start,this.end,this.step,this.chunk,this.je,this.ha)}; +e.Jb=function(){return 0this.end?new fg(null,this.start+this.step,this.end,this.step,null,null,null):null};e.va=function(){return Math.ceil((this.end-this.start)/this.step)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)};e.ra=function(a,b){return Nd(this,b)};e.fb=function(){return Ac};e.tb=function(a,b){return Mc(this,b)}; +e.ub=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.B?b.B(c,a):b.call(null,c,a);if(Jc(c))return Ib(c);a+=this.step}else return c};e.xb=function(){return this.start};e.Lb=function(){var a=this.Jb(null);return null==a?Ac:a};e.ua=function(){return this};e.Zf=function(){this.hg();return this.chunk};e.Ie=function(){this.hg();return null==this.je?Ac:this.je};e.oa=function(a,b){return b===this.meta?this:new fg(b,this.start,this.end,this.step,this.chunk,this.je,this.ha)}; +e.wa=function(a,b){return Td(b,this)};e.Yf=function(){return t(this.Ie(null))};fg.prototype[xc]=function(){return Dc(this)};e=gg.prototype;e.toString=function(){return oc(this)};e.equiv=function(a){return this.ra(null,a)};e.indexOf=function(){var a=null;a=function(b,c){switch(arguments.length){case 1:return KM.G(this,b,0);case 2:return KM.G(this,b,c)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return KM.G(this,b,0)};a.B=function(b,c){return KM.G(this,b,c)};return a}(); +e.lastIndexOf=function(){function a(c){return Qc(this,c,Oc(this))}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Qc(this,c,d)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Qc(this,c,d)};return b}(); +e.hg=function(){if(null==this.chunk){var a=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null];a:{var b=0;for(var c=this.start;;)if(32>b){if(a[b]=c,b+=1,c+=this.step,!(0this.end)){b=this.chunk=lR.G(a,0,b);break a}}else{b=c;break a}}null==this.chunk&&(this.chunk=lR.G(a,0,32),(0this.end)&&(this.je=new gg(null,b,this.end,this.step,null,null,null)))}}; +e.Aa=function(){return new vea(this.start,this.end,this.step)};e.na=function(){return this.meta};e.jb=function(){return new gg(this.meta,this.start,this.end,this.step,this.chunk,this.je,this.ha)};e.Jb=function(){return 0this.end?new gg(null,this.start+this.step,this.end,this.step,null,null,null):null};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=Fc(this)}; +e.ra=function(a,b){return Nd(this,b)};e.fb=function(){return Ac};e.tb=function(a,b){return Ad(b,this)};e.ub=function(a,b,c){for(a=this.start;;)if(0this.end){c=b.B?b.B(c,a):b.call(null,c,a);if(Jc(c))return Ib(c);a+=this.step}else return c};e.xb=function(){return this.start};e.Lb=function(){var a=this.Jb(null);return null==a?Ac:a};e.ua=function(){return this};e.Zf=function(){this.hg();return this.chunk};e.Ie=function(){this.hg();return null==this.je?Ac:this.je}; +e.oa=function(a,b){return b===this.meta?this:new gg(b,this.start,this.end,this.step,this.chunk,this.je,this.ha)};e.wa=function(a,b){return Td(b,this)};e.Yf=function(){return t(this.Ie(null))};gg.prototype[xc]=function(){return Dc(this)}; +var nk=function nk(a){switch(arguments.length){case 0:return nk.ca();case 1:return nk.j(arguments[0]);case 2:return nk.B(arguments[0],arguments[1]);case 3:return nk.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};nk.ca=function(){return nk.G(0,Number.MAX_VALUE,1)};nk.j=function(a){return nk.G(0,a,1)};nk.B=function(a,b){return nk.G(a,b,1)}; +nk.G=function(a,b,c){return 0c?b>=a?Ac:td(a)&&td(b)&&td(c)?new fg(null,a,b,c,null,null,null):new gg(null,a,b,c,null,null,null):b===a?Ac:Ml.j(a)};nk.ba=3;var Ci=function Ci(a){switch(arguments.length){case 1:return Ci.j(arguments[0]);case 2:return Ci.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +Ci.j=function(a){return function(b){var c=Fe(-1);return function(){function d(p,v){var r=c.uc(null,c.bb(null)+1);return 0===Kd(r,a)?b.B?b.B(p,v):b.call(null,p,v):p}function g(p){return b.j?b.j(p):b.call(null,p)}function h(){return b.ca?b.ca():b.call(null)}var l=null;l=function(p,v){switch(arguments.length){case 0:return h.call(this);case 1:return g.call(this,p);case 2:return d.call(this,p,v)}throw Error("Invalid arity: "+arguments.length);};l.ca=h;l.j=g;l.B=d;return l}()}}; +Ci.B=function(a,b){return new ae(null,function(){var c=t(b);return c?Td(u(c),Ci.B(a,Je.B(a,c))):null},null,null)};Ci.ba=2;var Hp=function Hp(a){switch(arguments.length){case 1:return Hp.j(arguments[0]);case 2:return Hp.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +Hp.j=function(a){return function(b){var c=Zla(),d=Fe(V8a);return function(){function g(v,r){var z=Ib(d),C=a.j?a.j(r):a.call(null,r);lc(d,C);if(Vd(z,V8a)||Pc.B(C,z))return c.add(r),v;z=cf(c.toArray());c.clear();v=b.B?b.B(v,z):b.call(null,v,z);Jc(v)||c.add(r);return v}function h(v){if(!k(c.isEmpty())){var r=cf(c.toArray());c.clear();v=Lc(b.B?b.B(v,r):b.call(null,v,r))}return b.j?b.j(v):b.call(null,v)}function l(){return b.ca?b.ca():b.call(null)}var p=null;p=function(v,r){switch(arguments.length){case 0:return l.call(this); +case 1:return h.call(this,v);case 2:return g.call(this,v,r)}throw Error("Invalid arity: "+arguments.length);};p.ca=l;p.j=h;p.B=g;return p}()}};Hp.B=function(a,b){return new ae(null,function(){var c=t(b);if(c){var d=u(c),g=a.j?a.j(d):a.call(null,d),h=Td(d,hg.B(function(l){return Pc.B(g,a.j?a.j(l):a.call(null,l))},w(c)));return Td(h,Hp.B(a,new ae(null,function(){return Je.B(Oc(h),c)},null,null)))}return null},null,null)};Hp.ba=2; +var Jz=function Jz(a){switch(arguments.length){case 2:return Jz.B(arguments[0],arguments[1]);case 3:return Jz.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Jz.B=function(a,b){return new ae(null,function(){var c=t(b);return c?Jz.G(a,u(c),Cc(c)):new B(null,a.ca?a.ca():a.call(null),null,1,null)},null,null)}; +Jz.G=function(a,b,c){return Jc(b)?new B(null,Ib(b),null,1,null):Td(b,new ae(null,function(){var d=t(c);if(d){var g=Jz.G;var h=u(d);h=a.B?a.B(b,h):a.call(null,b,h);d=g.call(Jz,a,h,Cc(d))}else d=null;return d},null,null))};Jz.ba=3; +var Qh=function Qh(a){switch(arguments.length){case 1:return Qh.j(arguments[0]);case 2:return Qh.B(arguments[0],arguments[1]);case 3:return Qh.G(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,g=0;;)if(gl?1:l);return l<=b.length?(l=ng.B(b,l),mg.B?mg.B(a,l):mg.call(null,a,l)):null},null,null))},Ta=function Ta(a){for(var c=[],d=arguments.length,g=0;;)if(gc)b=cf(m.j(a).split(b));else a:for(var d=c,g=Ue;;){if(1===d){b=Qd.B(g,a);break a}var h=lg(b,a);if(null!=h){var l=a.indexOf(h);h=a.substring(l+Oc(h));--d;g=Qd.B(g,a.substring(0,l));a=h}else{b=Qd.B(g,a);break a}}if(0===c&&1a?null:a};$w.G=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};$w.ba=3; +var hs=function hs(a){switch(arguments.length){case 2:return hs.B(arguments[0],arguments[1]);case 3:return hs.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};hs.B=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};hs.G=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};hs.ba=3;e=Oh.prototype;e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "splicing?":return this.fe;case "form":return this.form;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#cljs.tools.reader.impl.utils.ReaderConditional{",", ","}",c,Ti.B(new E(null,2,5,G,[new E(null,2,5,G,[V0c,this.fe],null),new E(null,2,5,G,[Zo,this.form],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,2,new E(null,2,5,G,[V0c,Zo],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new Oh(this.fe,this.form,this.fa,this.aa,this.ha)};e.va=function(){return 2+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-209062840^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.fe,b.fe)&&Pc.B(this.form,b.form)&&Pc.B(this.aa,b.aa)};e.Wa=function(a,b){return vd(new Xf(null,new f(null,2,[V0c,null,Zo,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new Oh(this.fe,this.form,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "splicing?":case "form":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(V0c,b):Vd.call(null,V0c,b))?new Oh(c,this.form,this.fa,this.aa,null):k(Vd.B?Vd.B(Zo,b):Vd.call(null,Zo,b))?new Oh(this.fe,c,this.fa,this.aa,null):new Oh(this.fe,this.form,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,2,5,G,[new wd(V0c,this.fe,null),new wd(Zo,this.form,null)],null),this.aa))}; +e.oa=function(a,b){return new Oh(this.fe,this.form,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e.Za=tc;e.pa=function(a,b,c){Vb(b,["#?",k(this.fe)?"@":null].join(""));return tg(this.form,b,c)};var lga=/[\s]/;Dg.j(0);qga.prototype.Ba=function(){if(this.sk>this.Sf){var a=this.s.charAt(this.Sf);this.Sf+=1;return a}return null};qga.prototype.Kc=function(){return this.sk>this.Sf?this.s.charAt(this.Sf):null};Zh.prototype.Ba=function(){var a=this.Dda?'..."':'"',d=b.length;return['"',m.j(b.substring(0,ad?"...}":"}")}); +ii.N(null,Di,function(a,b){return wga(a,b,"#{","}")});ii.N(null,li,function(a,b){return wga(a,b,"[","]")});ii.N(null,Gi,function(a,b){return Cg.J(y.B([qb(b)],0))});var Oga=/^([-+]?)(?:(0)|([1-9][0-9]*)|0[xX]([0-9A-Fa-f]+)|0([0-7]+)|([1-9][0-9]?)[rR]([0-9A-Za-z]+)|0[0-9]+)(N)?$/,Qga=/([-+]?[0-9]+)\/([0-9]+)/,Pga=/([-+]?[0-9]+(\.[0-9]*)?([eE][-+]?[0-9]+)?)(M)?/,Hi=function Hi(a){for(var c=[],d=arguments.length,g=0;;)if(g=Number(c)?a:a=-1Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=h+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(g)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(g);a=Number(c)-d.length-h.length;0<=b.indexOf("-",0)?d=h+d+Ma(" ",a):(b=0<=b.indexOf("0",0)?"0":" ",d=h+Ma(b,a)+d);return d};wu.se.d=function(a,b,c,d,g,h,l,p){return wu.se.f(parseInt(a,10),b,c,d,0,h,l,p)}; +wu.se.i=wu.se.d;wu.se.u=wu.se.d;var uSd=function uSd(a){for(var c=[],d=arguments.length,g=0;;)if(g=Ec(a)?$Ac:ORb,k=cb(g)?Vf:vd,m=Ik.B(", ",ng.B(function(q){var v=l,w=v.j,A=Nk.B;var D=xb(q);D=k.j?k.j(D):k.call(null,D);return[w.call(v,A.call(Nk,D,d)),h(g)?", ":": ",l.j(Nk.B(yb(q),d))].join("")},r(a)));h(g)&&zg.J(Uk,Ii,"cherry-cljs/lib/cljs_core.js",bk.B(Gd,Qf),H.B([g],0));return Mk(Ek(h(g)?function(){var q=Wk.j(c);q=h(q)?[l.j(q),"."].join(""):"";return Lj.da?Lj.da("%s%s(%s)",q,g,m):Lj.call(null,"%s%s(%s)",q,g, -m)}():Lj.B?Lj.B("({ %s })",m):Lj.call(null,"({ %s })",m),c),b)});Nk.N(null,Pf,function(a,b){zg.J(Uk,Ii,"cherry-cljs/lib/cljs_core.js",bk.B(Gd,Qf),H.B([Hzc],0));var c=Wk.j(b);c=h(c)?[l.j(c),"."].join(""):"";c=Lj.B?Lj.B("%shash_set",c):Lj.call(null,"%shash_set",c);a=Jk(Ok(b,a));a=Lj.G?Lj.G("%s%s",c,a):Lj.call(null,"%s%s",c,a);return Ek(a,b)}); -var hl=function hl(a){switch(arguments.length){case 1:return hl.j(arguments[0]);case 2:return hl.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};hl.j=function(a){return hl.B(a,null)};hl.B=function(a,b){var c=dma;dma=eIa;try{return Nk.B(a,bi.J(H.B([new f(null,1,[Dk,Yk],null),b],0)))}finally{dma=c}};hl.aa=2;var Cma=!1;N2.N(null,TXb,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);Cma=!0;b=Lf.G(b,Lk,!0);return Nk.B(a,b)}); -var yma=Fka(new f(null,6,[Jj,!0,Dj,!1,Cj,fd,Bi,new f(null,2,[ek,function(a){return ij.da(a,Lf,aqc,!0)},t3b,function(a){return new z(null,TXb,new z(null,a,null,1,null),2,null)}],null),hj,ts,gj,new Pf(null,new f(null,1,[DKb,null],null),null)],null));var jM=function jM(a){switch(arguments.length){case 0:return jM.ca();case 1:return jM.j(arguments[0]);case 2:return jM.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(ga.value?"-":null,c=Wna(function(){var g=a.value;return 0>a.value?-g:g}(),a.base),d=function(){switch(yd(a.base)){case 8:return"0";case 10:return"";case 16:return"0x";default:return[l.j(a.base),"r"].join("")}}();return[b,l.j(d),l.j(c)].join("")};e.Ya=function(a,b){return ld(new Pf(null,new f(null,2,[Su,null,Fp,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new um(this.value,this.base,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "value":case "base":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(Su,b):Md.call(null,Su,b))?new um(c,this.base,this.fa,this.ba,null):h(Md.B?Md.B(Fp,b):Md.call(null,Fp,b))?new um(this.value,c,this.fa,this.ba,null):new um(this.value,this.base,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,2,5,F,[new md(Su,this.value,null),new md(Fp,this.base,null)],null),this.ba))}; -e.pa=function(a,b){return new um(this.value,this.base,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(um);e=xm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "k":return this.k;case "auto-resolved?":return this.Mb;case "map-qualifier":return this.bc;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)};e.kj=lc;e.Uh=function(a,b){return Lf.G(this,A1,b)}; -e.Vh=function(){return Lf.G(this,A1,null)};e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.keyword.KeywordNode{",", ","}",c,R.B(new E(null,3,5,F,[new E(null,2,5,F,[Uq,this.k],null),new E(null,2,5,F,[wm,this.Mb],null),new E(null,2,5,F,[A1,this.bc],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,3,new E(null,3,5,F,[Uq,wm,A1],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa}; -e.Qa=function(){return new xm(this.k,this.Mb,this.bc,this.fa,this.ba,this.ga)};e.va=function(){return 3+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-1681863292^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.k,b.k)&&Fc.B(this.Mb,b.Mb)&&Fc.B(this.bc,b.bc)&&Fc.B(this.ba,b.ba)};e.nc=function(){return an};e.lc=function(){return!1}; -e.mc=function(a,b){a=this.k;var c=this.Mb,d=this.bc;b=ce(b);b=y.B(b,jj);d=ioa(d,joa(a,c));c=og.B;h(wm.j(d))?(d=vm.j(d),d=null==d?null:J.j(d),d=h(d)?d:nj,b=h(b)?b:boa,b=b.j?b.j(d):b.call(null,d)):b=vm.j(d);b=null==b?null:l.j(b);return a=c.call(og,b,Vf(a))};e.hb=function(){return[h(this.Mb)?":":null,lm.J(H.B([this.k],0))].join("")}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,3,[wm,null,A1,null,Uq,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new xm(this.k,this.Mb,this.bc,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "k":case "auto-resolved?":case "map-qualifier":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Uq,b):Md.call(null,Uq,b))?new xm(c,this.Mb,this.bc,this.fa,this.ba,null):h(Md.B?Md.B(wm,b):Md.call(null,wm,b))?new xm(this.k,c,this.bc,this.fa,this.ba,null):h(Md.B?Md.B(A1,b):Md.call(null,A1,b))?new xm(this.k,this.Mb,c,this.fa,this.ba,null):new xm(this.k,this.Mb,this.bc,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,3,5,F,[new md(Uq,this.k,null),new md(wm,this.Mb,null),new md(A1,this.bc,null)],null),this.ba))}; -e.pa=function(a,b){return new xm(this.k,this.Mb,this.bc,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(xm);e=Gm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "whitespace":return this.$d;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.whitespace.WhitespaceNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[Jm,this.$d],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[Jm],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Gm(this.$d,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1595850179^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.$d,b.$d)&&Fc.B(this.ba,b.ba)};e.nc=function(){return Jm};e.lc=function(){return!0};e.mc=function(){return Boa()};e.hb=function(){return this.$d};e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[Jm,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Gm(this.$d,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "whitespace":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(Jm,b):Md.call(null,Jm,b))?new Gm(c,this.fa,this.ba,null):new Gm(this.$d,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(Jm,this.$d,null)],null),this.ba))};e.pa=function(a,b){return new Gm(this.$d,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Hm.prototype; -e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "commas":return this.Qd;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.whitespace.CommaNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[KX,this.Qd],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[KX],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Hm(this.Qd,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-551131754^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Qd,b.Qd)&&Fc.B(this.ba,b.ba)};e.nc=function(){return Doa};e.lc=function(){return!0};e.mc=function(){return Boa()};e.hb=function(){return this.Qd};e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[KX,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Hm(this.Qd,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "commas":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(KX,b):Md.call(null,KX,b))?new Hm(c,this.fa,this.ba,null):new Hm(this.Qd,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(KX,this.Qd,null)],null),this.ba))};e.pa=function(a,b){return new Hm(this.Qd,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Im.prototype; -e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "newlines":return this.Wd;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.whitespace.NewlineNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[GW,this.Wd],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[GW],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Im(this.Wd,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=979711303^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Wd,b.Wd)&&Fc.B(this.ba,b.ba)};e.nc=function(){return Eoa};e.lc=function(){return!0};e.mc=function(){return Boa()};e.hb=function(){return vd.call(null,this.Wd)};e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[GW,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Im(this.Wd,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "newlines":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(GW,b):Md.call(null,GW,b))?new Im(c,this.fa,this.ba,null):new Im(this.Wd,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(GW,this.Wd,null)],null),this.ba))};e.pa=function(a,b){return new Im(this.Wd,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Gm);nm(Hm);nm(Im); -Goa();var gpa=Coa(" ");e=Lm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "tag":return this.tag;case "prefix":return this.prefix;case "children":return this.children;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.meta.MetaNode{",", ","}",c,R.B(new E(null,3,5,F,[new E(null,2,5,F,[yi,this.tag],null),new E(null,2,5,F,[vm,this.prefix],null),new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,3,new E(null,3,5,F,[yi,vm,Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Lm(this.tag,this.prefix,this.children,this.fa,this.ba,this.ga)}; -e.va=function(){return 3+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1501447658^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.tag,b.tag)&&Fc.B(this.prefix,b.prefix)&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return this.tag};e.lc=function(){return!1};e.mc=function(a,b){b=gm(this.children,b);a=x.G(b,0,null);b=x.G(b,1,null);return ij.G(b,bi,Zc(a)?a:be([a,!0]))};e.hb=function(){return[l.j(this.prefix),l.j(hm(this.children))].join("")}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,3,[Tl,null,vm,null,yi,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Lm(this.tag,this.prefix,this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,b)};e.Jd=function(){return Ec(this.prefix)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "tag":case "prefix":case "children":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(yi,b):Md.call(null,yi,b))?new Lm(c,this.prefix,this.children,this.fa,this.ba,null):h(Md.B?Md.B(vm,b):Md.call(null,vm,b))?new Lm(this.tag,c,this.children,this.fa,this.ba,null):h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Lm(this.tag,this.prefix,c,this.fa,this.ba,null):new Lm(this.tag,this.prefix,this.children,this.fa,Lf.G(this.ba,b,c),null)}; -e.sa=function(){return r(R.B(new E(null,3,5,F,[new md(yi,this.tag,null),new md(vm,this.prefix,null),new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Lm(this.tag,this.prefix,this.children,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Lm);e=Mm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "auto-resolved?":return this.Mb;case "prefix":return this.prefix;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.namespaced-map.MapQualifierNode{",", ","}",c,R.B(new E(null,2,5,F,[new E(null,2,5,F,[wm,this.Mb],null),new E(null,2,5,F,[vm,this.prefix],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,2,new E(null,2,5,F,[wm,vm],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Mm(this.Mb,this.prefix,this.fa,this.ba,this.ga)};e.va=function(){return 2+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-426705749^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Mb,b.Mb)&&Fc.B(this.prefix,b.prefix)&&Fc.B(this.ba,b.ba)};e.nc=function(){return A1};e.lc=function(){return!1};e.mc=function(a,b){return h(this.Mb)?(a=h(this.prefix)?J.j(this.prefix):nj,b=jj.j(b),b=h(b)?b:boa,b.j?b.j(a):b.call(null,a)):J.j(this.prefix)};e.hb=function(){return[":",h(this.Mb)?":":null,l.j(this.prefix)].join("")}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,2,[wm,null,vm,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Mm(this.Mb,this.prefix,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "auto-resolved?":case "prefix":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(wm,b):Md.call(null,wm,b))?new Mm(c,this.prefix,this.fa,this.ba,null):h(Md.B?Md.B(vm,b):Md.call(null,vm,b))?new Mm(this.Mb,c,this.fa,this.ba,null):new Mm(this.Mb,this.prefix,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,2,5,F,[new md(wm,this.Mb,null),new md(vm,this.prefix,null)],null),this.ba))};e.pa=function(a,b){return new Mm(this.Mb,this.prefix,b,this.ba,this.ga)}; -e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Nm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "children":return this.children;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.namespaced-map.NamespacedMapNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Nm(this.children,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=679326169^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return bja};e.lc=function(){return!1};e.mc=function(a,b){return fm.B(Lc(this.children),b)};e.hb=function(){return["#",l.j(hm(this.children))].join("")}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[Tl,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Nm(this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,Loa(b))};e.Jd=function(){return 1};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "children":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Nm(c,this.fa,this.ba,null):new Nm(this.children,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Nm(this.children,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Mm);nm(Nm);e=Om.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "tag":return this.tag;case "prefix":return this.prefix;case "sym":return this.Kb;case "children":return this.children;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.quote.QuoteNode{",", ","}",c,R.B(new E(null,4,5,F,[new E(null,2,5,F,[yi,this.tag],null),new E(null,2,5,F,[vm,this.prefix],null),new E(null,2,5,F,[Iv,this.Kb],null),new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,4,new E(null,4,5,F,[yi,vm,Iv,Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa}; -e.Qa=function(){return new Om(this.tag,this.prefix,this.Kb,this.children,this.fa,this.ba,this.ga)};e.va=function(){return 4+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1712251858^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.tag,b.tag)&&Fc.B(this.prefix,b.prefix)&&Fc.B(this.Kb,b.Kb)&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return this.tag};e.lc=function(){return!1}; -e.mc=function(a,b){return new z(null,this.Kb,new z(null,t(gm(this.children,b)),null,1,null),2,null)};e.hb=function(){return[l.j(this.prefix),l.j(hm(this.children))].join("")};e.Ya=function(a,b){return ld(new Pf(null,new f(null,4,[Tl,null,Iv,null,vm,null,yi,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Om(this.tag,this.prefix,this.Kb,this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,b)}; -e.Jd=function(){return Ec(this.prefix)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "tag":case "prefix":case "sym":case "children":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(yi,b):Md.call(null,yi,b))?new Om(c,this.prefix,this.Kb,this.children,this.fa,this.ba,null):h(Md.B?Md.B(vm,b):Md.call(null,vm,b))?new Om(this.tag,c,this.Kb,this.children,this.fa,this.ba,null):h(Md.B?Md.B(Iv,b):Md.call(null,Iv,b))?new Om(this.tag,this.prefix,c,this.children,this.fa,this.ba,null):h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Om(this.tag,this.prefix,this.Kb,c,this.fa,this.ba,null):new Om(this.tag,this.prefix,this.Kb,this.children,this.fa,Lf.G(this.ba, -b,c),null)};e.sa=function(){return r(R.B(new E(null,4,5,F,[new md(yi,this.tag,null),new md(vm,this.prefix,null),new md(Iv,this.Kb,null),new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Om(this.tag,this.prefix,this.Kb,this.children,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Om);e=Pm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "tag":return this.tag;case "prefix":return this.prefix;case "suffix":return this.suffix;case "sexpr-fn":return this.uc;case "sexpr-count":return this.Yc;case "children":return this.children;default:return y.G(this.ba,b,c)}}; -e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.reader-macro.ReaderNode{",", ","}",c,R.B(new E(null,6,5,F,[new E(null,2,5,F,[yi,this.tag],null),new E(null,2,5,F,[vm,this.prefix],null),new E(null,2,5,F,[gq,this.suffix],null),new E(null,2,5,F,[IW,this.uc],null),new E(null,2,5,F,[NW,this.Yc],null),new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))}; -e.Oa=function(){return new ef(0,this,6,new E(null,6,5,F,[yi,vm,gq,IW,NW,Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Pm(this.tag,this.prefix,this.suffix,this.uc,this.Yc,this.children,this.fa,this.ba,this.ga)};e.va=function(){return 6+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1051800113^wc(this)}; -e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.tag,b.tag)&&Fc.B(this.prefix,b.prefix)&&Fc.B(this.suffix,b.suffix)&&Fc.B(this.uc,b.uc)&&Fc.B(this.Yc,b.Yc)&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return this.tag};e.lc=function(){return cb(this.uc)};e.mc=function(a,b){if(h(this.uc))return a=gm(this.children,b),this.uc.j?this.uc.j(a):this.uc.call(null,a);throw xh.B("unsupported operation",C);}; -e.hb=function(){return["#",l.j(this.prefix),l.j(hm(this.children)),l.j(this.suffix)].join("")};e.Ya=function(a,b){return ld(new Pf(null,new f(null,6,[gq,null,Tl,null,NW,null,vm,null,yi,null,IW,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Pm(this.tag,this.prefix,this.suffix,this.uc,this.Yc,this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,b)};e.Jd=function(){return Ec(this.prefix)+1}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "tag":case "prefix":case "suffix":case "sexpr-fn":case "sexpr-count":case "children":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(yi,b):Md.call(null,yi,b))?new Pm(c,this.prefix,this.suffix,this.uc,this.Yc,this.children,this.fa,this.ba,null):h(Md.B?Md.B(vm,b):Md.call(null,vm,b))?new Pm(this.tag,c,this.suffix,this.uc,this.Yc,this.children,this.fa,this.ba,null):h(Md.B?Md.B(gq,b):Md.call(null,gq,b))?new Pm(this.tag,this.prefix,c,this.uc,this.Yc,this.children,this.fa,this.ba,null):h(Md.B?Md.B(IW,b):Md.call(null,IW,b))?new Pm(this.tag,this.prefix,this.suffix,c,this.Yc,this.children,this.fa, -this.ba,null):h(Md.B?Md.B(NW,b):Md.call(null,NW,b))?new Pm(this.tag,this.prefix,this.suffix,this.uc,c,this.children,this.fa,this.ba,null):h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Pm(this.tag,this.prefix,this.suffix,this.uc,this.Yc,c,this.fa,this.ba,null):new Pm(this.tag,this.prefix,this.suffix,this.uc,this.Yc,this.children,this.fa,Lf.G(this.ba,b,c),null)}; -e.sa=function(){return r(R.B(new E(null,6,5,F,[new md(yi,this.tag,null),new md(vm,this.prefix,null),new md(gq,this.suffix,null),new md(IW,this.uc,null),new md(NW,this.Yc,null),new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Pm(this.tag,this.prefix,this.suffix,this.uc,this.Yc,this.children,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Qm.prototype;e.toString=function(){return this.hb(null)}; -e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "children":return this.children;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.reader-macro.ReaderMacroNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Qm(this.children,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=856986356^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return iOb};e.lc=function(){return!1};e.mc=function(){return new z(null,lT,new z(null,this.hb(null),null,1,null),2,null)};e.hb=function(){return["#",l.j(hm(this.children))].join("")}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[Tl,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Qm(this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,b)};e.Jd=function(){return 1};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "children":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Qm(c,this.fa,this.ba,null):new Qm(this.children,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Qm(this.children,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Rm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)}; -e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "children":return this.children;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)};e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.reader-macro.DerefNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))}; -e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Rm(this.children,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-1560233006^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return vj};e.lc=function(){return!1}; -e.mc=function(a,b){return Mj.B(z1b,gm(this.children,b))};e.hb=function(){return["@",l.j(hm(this.children))].join("")};e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[Tl,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Rm(this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,b)};e.Jd=function(){return 1}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "children":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Rm(c,this.fa,this.ba,null):new Rm(this.children,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Rm(this.children,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Pm); -nm(Qm);nm(Rm);e=Sm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "pattern":return this.pattern;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.regex.RegexNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[Lz,this.pattern],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[Lz],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Sm(this.pattern,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=705094795^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.pattern,b.pattern)&&Fc.B(this.ba,b.ba)};e.nc=function(){return oj};e.lc=function(){return!1};e.mc=function(){return new z(null,yKc,new z(null,this.pattern,null,1,null),2,null)};e.hb=function(){return['#"',l.j(this.pattern),'"'].join("")}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[Lz,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Sm(this.pattern,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "pattern":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(Lz,b):Md.call(null,Lz,b))?new Sm(c,this.fa,this.ba,null):new Sm(this.pattern,this.fa,Lf.G(this.ba,b,c),null)}; -e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(Lz,this.pattern,null)],null),this.ba))};e.pa=function(a,b){return new Sm(this.pattern,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Sm);e=Tm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "tag":return this.tag;case "format-string":return this.Tc;case "wrap-length":return this.ad;case "seq-fn":return this.Nc;case "children":return this.children;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.seq.SeqNode{",", ","}",c,R.B(new E(null,5,5,F,[new E(null,2,5,F,[yi,this.tag],null),new E(null,2,5,F,[N0,this.Tc],null),new E(null,2,5,F,[qY,this.ad],null),new E(null,2,5,F,[cT,this.Nc],null),new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,5,new E(null,5,5,F,[yi,N0,qY,cT,Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa}; -e.Qa=function(){return new Tm(this.tag,this.Tc,this.ad,this.Nc,this.children,this.fa,this.ba,this.ga)};e.va=function(){return 5+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=580297420^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.tag,b.tag)&&Fc.B(this.Tc,b.Tc)&&Fc.B(this.ad,b.ad)&&Fc.B(this.Nc,b.Nc)&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return this.tag};e.lc=function(){return!1}; -e.mc=function(a,b){a=gm(this.children,b);return this.Nc.j?this.Nc.j(a):this.Nc.call(null,a)};e.hb=function(){return mm.J(this.Tc,H.B([hm(this.children)],0))};e.Ya=function(a,b){return ld(new Pf(null,new f(null,5,[Tl,null,N0,null,cT,null,qY,null,yi,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Tm(this.tag,this.Tc,this.ad,this.Nc,this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,b)}; -e.Jd=function(){return this.ad-1};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "tag":case "format-string":case "wrap-length":case "seq-fn":case "children":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(yi,b):Md.call(null,yi,b))?new Tm(c,this.Tc,this.ad,this.Nc,this.children,this.fa,this.ba,null):h(Md.B?Md.B(N0,b):Md.call(null,N0,b))?new Tm(this.tag,c,this.ad,this.Nc,this.children,this.fa,this.ba,null):h(Md.B?Md.B(qY,b):Md.call(null,qY,b))?new Tm(this.tag,this.Tc,c,this.Nc,this.children,this.fa,this.ba,null):h(Md.B?Md.B(cT,b):Md.call(null,cT,b))?new Tm(this.tag,this.Tc,this.ad,c,this.children,this.fa,this.ba,null):h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Tm(this.tag, -this.Tc,this.ad,this.Nc,c,this.fa,this.ba,null):new Tm(this.tag,this.Tc,this.ad,this.Nc,this.children,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,5,5,F,[new md(yi,this.tag,null),new md(N0,this.Tc,null),new md(qY,this.ad,null),new md(cT,this.Nc,null),new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Tm(this.tag,this.Tc,this.ad,this.Nc,this.children,b,this.ba,this.ga)}; -e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Tm);e=Um.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "lines":return this.lines;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.stringz.StringNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[PW,this.lines],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[PW],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Um(this.lines,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1538615006^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.lines,b.lines)&&Fc.B(this.ba,b.ba)};e.nc=function(){return u(this.lines)?uoc:an};e.lc=function(){return!1};e.mc=function(){return Ik.B("\n",ng.B(Zj.B($m,Xoa),this.lines))};e.hb=function(){return Xoa(Ik.B("\n",this.lines))}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[PW,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Um(this.lines,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "lines":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(PW,b):Md.call(null,PW,b))?new Um(c,this.fa,this.ba,null):new Um(this.lines,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(PW,this.lines,null)],null),this.ba))}; -e.pa=function(a,b){return new Um(this.lines,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Um);e=Vm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "value":return this.value;case "string-value":return this.ec;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.token.TokenNode{",", ","}",c,R.B(new E(null,2,5,F,[new E(null,2,5,F,[Su,this.value],null),new E(null,2,5,F,[CV,this.ec],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,2,new E(null,2,5,F,[Su,CV],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Vm(this.value,this.ec,this.fa,this.ba,this.ga)};e.va=function(){return 2+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1106307029^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.value,b.value)&&Fc.B(this.ec,b.ec)&&Fc.B(this.ba,b.ba)};e.nc=function(){return an};e.lc=function(){return!1};e.mc=function(){return this.value};e.hb=function(){return this.ec}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,2,[Su,null,CV,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Vm(this.value,this.ec,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "value":case "string-value":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Su,b):Md.call(null,Su,b))?new Vm(c,this.ec,this.fa,this.ba,null):h(Md.B?Md.B(CV,b):Md.call(null,CV,b))?new Vm(this.value,c,this.fa,this.ba,null):new Vm(this.value,this.ec,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,2,5,F,[new md(Su,this.value,null),new md(CV,this.ec,null)],null),this.ba))};e.pa=function(a,b){return new Vm(this.value,this.ec,b,this.ba,this.ga)}; -e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Wm.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "value":return this.value;case "string-value":return this.ec;case "map-qualifier":return this.bc;default:return y.G(this.ba,b,c)}}; -e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)};e.kj=lc;e.Uh=function(a,b){return Lf.G(this,A1,b)};e.Vh=function(){return Lf.G(this,A1,null)};e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.token.SymbolNode{",", ","}",c,R.B(new E(null,3,5,F,[new E(null,2,5,F,[Su,this.value],null),new E(null,2,5,F,[CV,this.ec],null),new E(null,2,5,F,[A1,this.bc],null)],null),this.ba))}; -e.Oa=function(){return new ef(0,this,3,new E(null,3,5,F,[Su,CV,A1],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Wm(this.value,this.ec,this.bc,this.fa,this.ba,this.ga)};e.va=function(){return 3+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=2093419088^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.value,b.value)&&Fc.B(this.ec,b.ec)&&Fc.B(this.bc,b.bc)&&Fc.B(this.ba,b.ba)};e.nc=function(){return an}; -e.lc=function(){return!1};e.mc=function(a,b){a=this.value;var c=this.bc;b=ce(b);b=y.B(b,jj);var d=Zoa(c,$oa(a));c=J.B;h(wm.j(d))?(d=vm.j(d),d=null==d?null:J.j(d),d=h(d)?d:nj,b=h(b)?b:boa,b=b.j?b.j(d):b.call(null,d)):b=vm.j(d);b=null==b?null:l.j(b);return a=c.call(J,b,Vf(a))};e.hb=function(){return this.ec};e.Ya=function(a,b){return ld(new Pf(null,new f(null,3,[A1,null,Su,null,CV,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Wm(this.value,this.ec,this.bc,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "value":case "string-value":case "map-qualifier":return!0;default:return ld(this.ba,b)}};e.ra=function(a,b,c){return h(Md.B?Md.B(Su,b):Md.call(null,Su,b))?new Wm(c,this.ec,this.bc,this.fa,this.ba,null):h(Md.B?Md.B(CV,b):Md.call(null,CV,b))?new Wm(this.value,c,this.bc,this.fa,this.ba,null):h(Md.B?Md.B(A1,b):Md.call(null,A1,b))?new Wm(this.value,this.ec,c,this.fa,this.ba,null):new Wm(this.value,this.ec,this.bc,this.fa,Lf.G(this.ba,b,c),null)}; -e.sa=function(){return r(R.B(new E(null,3,5,F,[new md(Su,this.value,null),new md(CV,this.ec,null),new md(A1,this.bc,null)],null),this.ba))};e.pa=function(a,b){return new Wm(this.value,this.ec,this.bc,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Vm);nm(Wm);e=Ym.prototype;e.toString=function(){return this.hb(null)};e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "children":return this.children;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#rewrite-clj.node.uneval.UnevalNode{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[Tl,this.children],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[Tl],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Ym(this.children,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-1883175395^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.children,b.children)&&Fc.B(this.ba,b.ba)};e.nc=function(){return PFc};e.lc=function(){return!0};e.mc=function(){throw xh.B("unsupported operation",C);};e.hb=function(){return["#_",l.j(hm(this.children))].join("")}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[Tl,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Ym(this.children,this.fa,de(ci.B(this.ba,b)),null)};e.Yd=function(){return!0};e.Xd=function(){return this.children};e.Kd=function(a,b){return Lf.G(this,Tl,b)};e.Jd=function(){return 2};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "children":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Tl,b):Md.call(null,Tl,b))?new Ym(c,this.fa,this.ba,null):new Ym(this.children,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(Tl,this.children,null)],null),this.ba))};e.pa=function(a,b){return new Ym(this.children,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};nm(Ym);Gm.prototype.wb=function(){return this};Vm.prototype.wb=function(){return this};Sm.prototype.wb=function(){return this};Mm.prototype.wb=function(){return this};Lm.prototype.wb=function(){return this};Rm.prototype.wb=function(){return this};um.prototype.wb=function(){return this};Um.prototype.wb=function(){return this};xm.prototype.wb=function(){return this};Hm.prototype.wb=function(){return this};Im.prototype.wb=function(){return this};Ym.prototype.wb=function(){return this};Qm.prototype.wb=function(){return this}; -tm.prototype.wb=function(){return this};Wm.prototype.wb=function(){return this};Nm.prototype.wb=function(){return this};om.prototype.wb=function(){return this};Tm.prototype.wb=function(){return this};Om.prototype.wb=function(){return this};Pm.prototype.wb=function(){return this};sm.prototype.wb=function(){return this};var dpa=Goa(),epa=Coa(" ");B.prototype.wb=function(){return koa(this,!1)}; -km.string=function(a){a:{a=Qha(a,new f(null,1,['"','\\"'],null));for(var b=Ke;;){var c=t(fg(/(\r\n|\r|\n)/,a));if(h(c)){var d=c;c=n2.B(a,d);d=hg.B(a,c+Ec(d));b=Gd.B(b,hg.G(a,0,c));a=d}else{a=Gd.B(b,a);break a}}}return Yoa(a)};km._=function(a){if($c(a)){var b=F;var c=lm.J(H.B([a],0));c=J.j(hg.G(c,1,n2.B(c,"{")));b=new Qm(new E(null,2,5,b,[Xm(c),Woa(fpa(a))],null),null,null,null)}else b=Xm(a);return cpa(b,a)};km["null"]=function(){return Xm(null)}; -RegExp.prototype.wb=function(){return new Sm(this.source,null,null,null)};E.prototype.wb=function(){return hpa(Uoa,this)};z.prototype.wb=function(){return hpa(Toa,this)};Id.prototype.wb=function(){return hpa(Toa,this)};Pf.prototype.wb=function(){return hpa(Voa,this)};Fd.prototype.wb=function(){return hpa(Toa,this)};Bf.prototype.wb=function(){return cpa(Woa(fpa(this)),this)};f.prototype.wb=function(){return cpa(Woa(fpa(this)),this)}; -p.prototype.wb=function(){return Ooa(new E(null,1,5,F,[Xm(J.j(hg.B(l.j(this),2)))],null))};var vpa=null,Bm=function(){var a=yg.j(C),b=yg.j(C),c=yg.j(C),d=yg.j(C),g=y.G(C,es,Eg.ca?Eg.ca():Eg.call(null));return new Jg(J.B("rewrite-clj.parser.core","parse-next*"),Zj.B(new p(function(){return zpa},Btb,I([Cm,K,X,N,T,P,O,S,V,W,Y],[!0,Qc(a3c,new f(null,1,[j_,!0],null)),Qnd,"rewrite_clj/parser/core.cljc",16,1,28,28,M(new E(null,1,5,F,[HV],null)),null,h(zpa)?zpa.K:null])),Am),Ci,g,a,b,c,d)}();Bm.N(null,an,function(a){return upa(a)});Bm.N(null,wpa,function(a){return zm(a)}); -Bm.N(null,ypa,function(a){return loa(a,"Unmatched delimiter: %s",H.B([Am(a)],0))});Bm.N(null,ji,function(a){return h(vpa)?ym(a,"Unexpected EOF."):null});Bm.N(null,Jm,function(a){var b=Am(a);return ooa(b)?new Im(roa(a,ooa),null,null,null):noa(b)?new Hm(roa(a,noa),null,null,null):Coa(roa(a,poa))});Bm.N(null,Zm,function(a){zm(a);a=toa(a);return new om(";",a,null,null,null)}); -Bm.N(null,xi,function(a){zm(a);var b=Am(a);h(b)?Fc.B(b,":")?(a.Wa(null),a=Aoa(a),a=koa(a,!0)):a=koa(Aoa(a),!1):a=ym(a,"unexpected EOF while reading keyword.");return a});Bm.N(null,ui,function(a){return Yoa(qpa(a))});Bm.N(null,Ra,function(a){zm(a);return Ioa(Ra,"^",Bpa(a,Ra,2))}); -Bm.N(null,xpa,function(a){zm(a);var b=Am(a);return Fc.B(null,b)?ym(a,"Unexpected EOF."):Fc.B("!",b)?Dpa(a):Fc.B('"',b)?new Sm(rpa(a),null,null,null):Fc.B("#",b)?Cpa(a):Fc.B("'",b)?Ooa(bn(a,pj,1,H.B([!0],0))):Fc.B("(",b)?new sm(Apa(a,")"),null,null,null):Fc.B(":",b)?opa(a):Fc.B("{",b)?Voa(Apa(a,"}")):Fc.B("\x3d",b)?Roa(bn(a,Poa,1,H.B([!0],0))):Fc.B("^",b)?Ioa(aEd,"#^",bn(a,Ra,2,H.B([!0],0))):Fc.B("?",b)?(a.Wa(null),new Qm(function(){return Jd(function(){switch(Am(a)){case "(":return Xm(J.j("?"));case "@":return a.Wa(null), -Xm(J.j("?@"));default:return a.dd(null,"?"),t(Bpa(a,iOb,1))}}(),Bpa(a,iOb,1))}(),null,null,null)):Fc.B("_",b)?bpa(bn(a,PFc,1,H.B([!0],0))):new Qm(Bpa(a,iOb,2),null,null,null)});Bm.N(null,vj,function(a){a=bn(a,vj,1,H.B([!0],0));return Xc(a)?new Rm(a,null,null,null):new Rm(new E(null,1,5,F,[a],null),null,null,null)});Bm.N(null,yj,function(a){a:for(a=bn(a,yj,1,H.B([!0],0));;){if(Xc(a)){a=new Om(yj,"'",gh,a,null,null,null);break a}a=new E(null,1,5,F,[a],null)}return a}); -Bm.N(null,Mi,function(a){a:for(a=bn(a,Mi,1,H.B([!0],0));;){if(Xc(a)){a=new Om(Mi,"`",gh,a,null,null,null);break a}a=new E(null,1,5,F,[a],null)}return a});Bm.N(null,zj,function(a){zm(a);var b=Am(a);if(Fc.B(b,"@"))a:for(a=bn(a,zj,1,H.B([!0],0));;){if(Xc(a)){a=new Om(Aj,"~@",qRc,a,null,null,null);break a}a=new E(null,1,5,F,[a],null)}else a:for(a=Bpa(a,zj,1);;){if(Xc(a)){a=new Om(zj,"~",zDc,a,null,null,null);break a}a=new E(null,1,5,F,[a],null)}return a});Bm.N(null,qi,function(a){return Toa(Apa(a,")"))}); -Bm.N(null,ri,function(a){return Uoa(Apa(a,"]"))});Bm.N(null,si,function(a){return Woa(Apa(a,"}"))});var Ypa=new f(null,2,[Wpa,!1,jj,boa],null);var on=function on(a){switch(arguments.length){case 1:return on.j(arguments[0]);case 2:return on.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};on.j=function(a){return on.B(a,Tpa)}; -on.B=function(a,b){if(null==mn(ln,ln(a))||null==mn(Npa,Npa(a)))a:for(;;){var c=Npa(a);if(h(c))if(h(b.j?b.j(c):b.call(null,c)))if(h(Fpa.j(a))){c=ce(a);c=y.B(c,gn);var d=Sc(c);h(d)&&(x.G(d,0,null),d=x.G(d,1,null),a=Lf.J(a,gn,Tc(c),H.B([en,d,ul,!0],0)))}else a=bqa(a,tl,Tc);else{b=a;break a}else{b=a;break a}}else b=a;return b};on.aa=2;qe.B(l,el.B(1," "));var pqa=new Pf(null,new f(null,8,[eac,null,P7b,null,Mmb,null,RWc,null,qn,null,W_c,null,RUc,null,u3c,null],null),null),$Gd=new Pf(null,new f(null,11,[Ra,null,iOb,null,ri,null,an,null,Mi,null,qi,null,pj,null,yj,null,vj,null,zi,null,si,null],null),null),aHd=new Pf(null,new f(null,3,[Jm,null,Doa,null,Zm,null],null),null),Wqa=Zj.B(new Pf(null,new f(null,1,["nextjournal.clerk",null],null),null),Od),Dn=function Dn(a){switch(arguments.length){case 1:return Dn.j(arguments[0]);case 2:return Dn.B(arguments[0], -arguments[1]);case 3:return Dn.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Dn.j=function(a){return Dn.B(C,a)};Dn.B=function(a,b){var c=ce(a);a=y.B(c,Lv);b=Dn.G(c,new f(null,2,[xn,Ke,dra,bra()],null),b);return Mf(h(a)?bi.J(H.B([b,dra.j(b)],0)):b,new E(null,4,5,F,[xn,wn,Al,Vl],null))}; -Dn.G=function(a,b,c){a=ce(a);a=y.B(a,Lv);b=Lf.G(b,Yl,Tl.j(Epa(Zh(Yh(c)))));c=ce(b);y.B(c,Yl);y.B(c,xn);for(y.B(c,wW);;){var d=ce(b);b=d;c=y.B(d,Yl);var g=y.B(d,xn),k=y.B(d,wW);d=t(c);if(h(d)){var m=d;b=h(function(){var q=cm(m);return $Gd.j?$Gd.j(q):$Gd.call(null,q)}())?Ii.da(Ii.G(Lf.G(b,wW,!0),Yl,sc),xn,Gd,new f(null,3,[gi,rn,Dl,em(m),Bka,Mf(pl(Rc(m),new f(null,4,[Ui,O,Dka,S,hi,P,Eka,T],null)),new E(null,4,5,F,[O,S,P,T],null))],null)):h(function(){var q=k;return h(q)?(q=cm(m),aHd.j?aHd.j(q):aHd.call(null, -q)):q}())?$h.da(Ii.G(Lf.G(b,wW,!Fc.B(cm(m),Zm)),Yl,sc),new E(null,3,5,F,[xn,Ec(g)-1,Dl],null),l,Pha(em(m))):h(h(a)?Fc.B(cm(m),Zm):a)?fra(Lf.G(Lf.G(b,wW,!1),Yl,cg.B(Fn.B(jpa,kpa),c)),qe.B(l,ng.B(Zj.B(iqa,ipa),bg.B(Fn.B(jpa,kpa),c)))):Ii.G(Lf.G(b,wW,!1),Yl,sc)}else return b}};Dn.aa=3;var bHd=uh(184);var cHd=uh(186);Gn["null"]=function(){return Wo};md.prototype.od=function(){return Wo};Sf.prototype.od=function(){return zi};Id.prototype.od=function(){return mRb};Bf.prototype.od=function(){return si};Ve.prototype.od=function(){return Kad};Gn._=function(){return Wo};Ff.prototype.od=function(){return si};Pf.prototype.od=function(){return zi};E.prototype.od=function(){return Kad};Gn.string=function(){return NXc};Fd.prototype.od=function(){return mRb};f.prototype.od=function(){return si};z.prototype.od=function(){return mRb}; -var Hn=function Hn(a,b){var d=Gn(a);var g=new Pf(null,new f(null,4,[mRb,null,Kad,null,zi,null,si,null],null),null);d=g.j?g.j(d):g.call(null,d);if(h(d)){fc(b,Bb(b)+1);a=r(a);d=null;for(var k=0,m=0;;)if(m{},b),ea.removeEventListener("test",()=>{},b)}catch(c){}return a}();Ka("Opera");Ka("Trident")||Ka("MSIE");Ka("Edge");var dHd=Ka("Gecko")&&!(Ea(xaa().toLowerCase(),"webkit")&&!Ka("Edge"))&&!(Ka("Trident")||Ka("MSIE"))&&!Ka("Edge"),eHd=Ea(xaa().toLowerCase(),"webkit")&&!Ka("Edge");eHd&&Ka("Mobile");Ka("Macintosh");Ka("Windows");Ka("Linux")||Ka("CrOS");var fHd=ea.navigator||null;fHd&&Ea(fHd.appVersion||"","X11");Ka("Android");Dra();Ka("iPad");Ka("iPod");Dra()||Ka("iPad")||Ka("iPod");Ea(xaa().toLowerCase(),"kaios");gaa(Mn,Ln);var gHd={2:"touch",3:"pen",4:"mouse"}; -Mn.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(dHd){a:{try{iaa(b.nodeName);var g=!0;break a}catch(k){}g=!1}g||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY= -d.screenY||0):(this.offsetX=eHd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=eHd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId= -a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:gHd[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&Mn.dg.preventDefault.call(this)};Mn.prototype.stopPropagation=function(){Mn.dg.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Mn.prototype.preventDefault=function(){Mn.dg.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Mra="closure_listenable_"+(1E6*Math.random()|0);var Era=0;Nn.prototype.add=function(a,b,c,d,g){var k=a.toString();a=this.listeners[k];a||(a=this.listeners[k]=[],this.gg++);var m=Jra(a,b,d,g);-1>>0);var Wsa=uh(187);var hHd=yg.j(null),iHd=function(){var a={};a.warn=function(){function b(d){var g=null;if(0=ja-2?hn:0>=w?wp:w>=ma-2?rxa:null);ue(m,Bb(k));var pa=null!=v?v:{};(function(){var wa=pa.style;if(null!=wa)return wa;wa={};return pa.style=wa})().left=[l.j(function(){var wa=ja-20;var Ga=20+-aa;var Ca=Q+A;Ga=Ga>Ca?Ga:Ca;return waGa?10:Ga;return waa?Dp(this,Ep,Cp(this,Ep)+Ec(b)):(Dp(this,Ep,Ec(b)-a-1),Dp(this,O,Cp(this,O)+Ec(He.B(function(c){return Fc.B(c,"\n")},b)))),Ob(Cp(this,Fp),b);if(h(Fc.B?Fc.B(Number,a):Fc.call(null,Number,a)))return Uxa(this,b);throw Error(["No matching clause: ",l.j(a)].join(""));};e=Gp.prototype;e.ya=function(a,b){return this.ka(null,b,null)}; -e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "parent":return this.parent;case "section":return this.section;case "start-col":return this.vc;case "indent":return this.indent;case "done-nl":return this.yc;case "intra-block-nl":return this.Bc;case "prefix":return this.prefix;case "per-line-prefix":return this.Fc;case "suffix":return this.suffix;case "logical-block-callback":return this.Ec;default:return y.G(this.ba,b,c)}}; -e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#cljs.pprint.logical-block{",", ","}",c,R.B(new E(null,10,5,F,[new E(null,2,5,F,[fn,this.parent],null),new E(null,2,5,F,[vX,this.section],null),new E(null,2,5,F,[Up,this.vc],null),new E(null,2,5,F,[Xp,this.indent],null),new E(null,2,5,F,[Tp,this.yc],null),new E(null,2,5,F,[Yp,this.Bc],null),new E(null,2,5,F,[vm,this.prefix],null),new E(null,2,5,F,[Wp,this.Fc],null),new E(null,2,5,F,[gq,this.suffix],null),new E(null,2,5,F, -[eq,this.Ec],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,10,new E(null,10,5,F,[fn,vX,Up,Xp,Tp,Yp,vm,Wp,gq,eq],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Gp(this.parent,this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,this.ba,this.ga)};e.va=function(){return 10+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1977012399^wc(this)}; -e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.parent,b.parent)&&Fc.B(this.section,b.section)&&Fc.B(this.vc,b.vc)&&Fc.B(this.indent,b.indent)&&Fc.B(this.yc,b.yc)&&Fc.B(this.Bc,b.Bc)&&Fc.B(this.prefix,b.prefix)&&Fc.B(this.Fc,b.Fc)&&Fc.B(this.suffix,b.suffix)&&Fc.B(this.Ec,b.Ec)&&Fc.B(this.ba,b.ba)}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,10,[gq,null,Xp,null,fn,null,vX,null,Tp,null,Up,null,vm,null,Wp,null,eq,null,Yp,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Gp(this.parent,this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "parent":case "section":case "start-col":case "indent":case "done-nl":case "intra-block-nl":case "prefix":case "per-line-prefix":case "suffix":case "logical-block-callback":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(fn,b):Md.call(null,fn,b))?new Gp(c,this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(vX,b):Md.call(null,vX,b))?new Gp(this.parent,c,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(Up,b):Md.call(null,Up,b))?new Gp(this.parent,this.section,c,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,this.ba,null): -h(Md.B?Md.B(Xp,b):Md.call(null,Xp,b))?new Gp(this.parent,this.section,this.vc,c,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(Tp,b):Md.call(null,Tp,b))?new Gp(this.parent,this.section,this.vc,this.indent,c,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(Yp,b):Md.call(null,Yp,b))?new Gp(this.parent,this.section,this.vc,this.indent,this.yc,c,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(vm,b):Md.call(null, -vm,b))?new Gp(this.parent,this.section,this.vc,this.indent,this.yc,this.Bc,c,this.Fc,this.suffix,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(Wp,b):Md.call(null,Wp,b))?new Gp(this.parent,this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,c,this.suffix,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(gq,b):Md.call(null,gq,b))?new Gp(this.parent,this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,c,this.Ec,this.fa,this.ba,null):h(Md.B?Md.B(eq,b):Md.call(null,eq,b))?new Gp(this.parent, -this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,c,this.fa,this.ba,null):new Gp(this.parent,this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,this.fa,Lf.G(this.ba,b,c),null)}; -e.sa=function(){return r(R.B(new E(null,10,5,F,[new md(fn,this.parent,null),new md(vX,this.section,null),new md(Up,this.vc,null),new md(Xp,this.indent,null),new md(Tp,this.yc,null),new md(Yp,this.Bc,null),new md(vm,this.prefix,null),new md(Wp,this.Fc,null),new md(gq,this.suffix,null),new md(eq,this.Ec,null)],null),this.ba))};e.pa=function(a,b){return new Gp(this.parent,this.section,this.vc,this.indent,this.yc,this.Bc,this.prefix,this.Fc,this.suffix,this.Ec,b,this.ba,this.ga)}; -e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Hp.prototype;e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "type-tag":return this.Ta;case "data":return this.data;case "trailing-white-space":return this.gd;case "start-pos":return this.Sa;case "end-pos":return this.Ra;default:return y.G(this.ba,b,c)}}; -e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)};e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#cljs.pprint.buffer-blob{",", ","}",c,R.B(new E(null,5,5,F,[new E(null,2,5,F,[Mp,this.Ta],null),new E(null,2,5,F,[ov,this.data],null),new E(null,2,5,F,[Op,this.gd],null),new E(null,2,5,F,[Sp,this.Sa],null),new E(null,2,5,F,[Rp,this.Ra],null)],null),this.ba))}; -e.Oa=function(){return new ef(0,this,5,new E(null,5,5,F,[Mp,ov,Op,Sp,Rp],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Hp(this.Ta,this.data,this.gd,this.Sa,this.Ra,this.fa,this.ba,this.ga)};e.va=function(){return 5+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1809113693^wc(this)}; -e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Ta,b.Ta)&&Fc.B(this.data,b.data)&&Fc.B(this.gd,b.gd)&&Fc.B(this.Sa,b.Sa)&&Fc.B(this.Ra,b.Ra)&&Fc.B(this.ba,b.ba)};e.Ya=function(a,b){return ld(new Pf(null,new f(null,5,[Rp,null,Op,null,Mp,null,Sp,null,ov,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Hp(this.Ta,this.data,this.gd,this.Sa,this.Ra,this.fa,de(ci.B(this.ba,b)),null)}; -e.Na=function(a,b){switch(b instanceof B?b.la:null){case "type-tag":case "data":case "trailing-white-space":case "start-pos":case "end-pos":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Mp,b):Md.call(null,Mp,b))?new Hp(c,this.data,this.gd,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(ov,b):Md.call(null,ov,b))?new Hp(this.Ta,c,this.gd,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Op,b):Md.call(null,Op,b))?new Hp(this.Ta,this.data,c,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Sp,b):Md.call(null,Sp,b))?new Hp(this.Ta,this.data,this.gd,c,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Rp,b):Md.call(null,Rp,b))?new Hp(this.Ta,this.data, -this.gd,this.Sa,c,this.fa,this.ba,null):new Hp(this.Ta,this.data,this.gd,this.Sa,this.Ra,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,5,5,F,[new md(Mp,this.Ta,null),new md(ov,this.data,null),new md(Op,this.gd,null),new md(Sp,this.Sa,null),new md(Rp,this.Ra,null)],null),this.ba))};e.pa=function(a,b){return new Hp(this.Ta,this.data,this.gd,this.Sa,this.Ra,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Ip.prototype; -e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "type-tag":return this.Ta;case "type":return this.type;case "logical-block":return this.$a;case "start-pos":return this.Sa;case "end-pos":return this.Ra;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#cljs.pprint.nl-t{",", ","}",c,R.B(new E(null,5,5,F,[new E(null,2,5,F,[Mp,this.Ta],null),new E(null,2,5,F,[gi,this.type],null),new E(null,2,5,F,[Vp,this.$a],null),new E(null,2,5,F,[Sp,this.Sa],null),new E(null,2,5,F,[Rp,this.Ra],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,5,new E(null,5,5,F,[Mp,gi,Vp,Sp,Rp],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa}; -e.Qa=function(){return new Ip(this.Ta,this.type,this.$a,this.Sa,this.Ra,this.fa,this.ba,this.ga)};e.va=function(){return 5+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-1640656800^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Ta,b.Ta)&&Fc.B(this.type,b.type)&&Fc.B(this.$a,b.$a)&&Fc.B(this.Sa,b.Sa)&&Fc.B(this.Ra,b.Ra)&&Fc.B(this.ba,b.ba)}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,5,[Rp,null,gi,null,Vp,null,Mp,null,Sp,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Ip(this.Ta,this.type,this.$a,this.Sa,this.Ra,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "type-tag":case "type":case "logical-block":case "start-pos":case "end-pos":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Mp,b):Md.call(null,Mp,b))?new Ip(c,this.type,this.$a,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(gi,b):Md.call(null,gi,b))?new Ip(this.Ta,c,this.$a,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Vp,b):Md.call(null,Vp,b))?new Ip(this.Ta,this.type,c,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Sp,b):Md.call(null,Sp,b))?new Ip(this.Ta,this.type,this.$a,c,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Rp,b):Md.call(null,Rp,b))?new Ip(this.Ta,this.type, -this.$a,this.Sa,c,this.fa,this.ba,null):new Ip(this.Ta,this.type,this.$a,this.Sa,this.Ra,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,5,5,F,[new md(Mp,this.Ta,null),new md(gi,this.type,null),new md(Vp,this.$a,null),new md(Sp,this.Sa,null),new md(Rp,this.Ra,null)],null),this.ba))};e.pa=function(a,b){return new Ip(this.Ta,this.type,this.$a,this.Sa,this.Ra,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Jp.prototype; -e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "type-tag":return this.Ta;case "logical-block":return this.$a;case "start-pos":return this.Sa;case "end-pos":return this.Ra;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#cljs.pprint.start-block-t{",", ","}",c,R.B(new E(null,4,5,F,[new E(null,2,5,F,[Mp,this.Ta],null),new E(null,2,5,F,[Vp,this.$a],null),new E(null,2,5,F,[Sp,this.Sa],null),new E(null,2,5,F,[Rp,this.Ra],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,4,new E(null,4,5,F,[Mp,Vp,Sp,Rp],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa}; -e.Qa=function(){return new Jp(this.Ta,this.$a,this.Sa,this.Ra,this.fa,this.ba,this.ga)};e.va=function(){return 4+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-414877272^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Ta,b.Ta)&&Fc.B(this.$a,b.$a)&&Fc.B(this.Sa,b.Sa)&&Fc.B(this.Ra,b.Ra)&&Fc.B(this.ba,b.ba)}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,4,[Rp,null,Vp,null,Mp,null,Sp,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Jp(this.Ta,this.$a,this.Sa,this.Ra,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "type-tag":case "logical-block":case "start-pos":case "end-pos":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Mp,b):Md.call(null,Mp,b))?new Jp(c,this.$a,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Vp,b):Md.call(null,Vp,b))?new Jp(this.Ta,c,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Sp,b):Md.call(null,Sp,b))?new Jp(this.Ta,this.$a,c,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Rp,b):Md.call(null,Rp,b))?new Jp(this.Ta,this.$a,this.Sa,c,this.fa,this.ba,null):new Jp(this.Ta,this.$a,this.Sa,this.Ra,this.fa,Lf.G(this.ba,b,c),null)}; -e.sa=function(){return r(R.B(new E(null,4,5,F,[new md(Mp,this.Ta,null),new md(Vp,this.$a,null),new md(Sp,this.Sa,null),new md(Rp,this.Ra,null)],null),this.ba))};e.pa=function(a,b){return new Jp(this.Ta,this.$a,this.Sa,this.Ra,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Kp.prototype;e.ya=function(a,b){return this.ka(null,b,null)}; -e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "type-tag":return this.Ta;case "logical-block":return this.$a;case "start-pos":return this.Sa;case "end-pos":return this.Ra;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#cljs.pprint.end-block-t{",", ","}",c,R.B(new E(null,4,5,F,[new E(null,2,5,F,[Mp,this.Ta],null),new E(null,2,5,F,[Vp,this.$a],null),new E(null,2,5,F,[Sp,this.Sa],null),new E(null,2,5,F,[Rp,this.Ra],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,4,new E(null,4,5,F,[Mp,Vp,Sp,Rp],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa}; -e.Qa=function(){return new Kp(this.Ta,this.$a,this.Sa,this.Ra,this.fa,this.ba,this.ga)};e.va=function(){return 4+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1365867980^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Ta,b.Ta)&&Fc.B(this.$a,b.$a)&&Fc.B(this.Sa,b.Sa)&&Fc.B(this.Ra,b.Ra)&&Fc.B(this.ba,b.ba)}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,4,[Rp,null,Vp,null,Mp,null,Sp,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Kp(this.Ta,this.$a,this.Sa,this.Ra,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "type-tag":case "logical-block":case "start-pos":case "end-pos":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Mp,b):Md.call(null,Mp,b))?new Kp(c,this.$a,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Vp,b):Md.call(null,Vp,b))?new Kp(this.Ta,c,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Sp,b):Md.call(null,Sp,b))?new Kp(this.Ta,this.$a,c,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Rp,b):Md.call(null,Rp,b))?new Kp(this.Ta,this.$a,this.Sa,c,this.fa,this.ba,null):new Kp(this.Ta,this.$a,this.Sa,this.Ra,this.fa,Lf.G(this.ba,b,c),null)}; -e.sa=function(){return r(R.B(new E(null,4,5,F,[new md(Mp,this.Ta,null),new md(Vp,this.$a,null),new md(Sp,this.Sa,null),new md(Rp,this.Ra,null)],null),this.ba))};e.pa=function(a,b){return new Kp(this.Ta,this.$a,this.Sa,this.Ra,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Lp.prototype;e.ya=function(a,b){return this.ka(null,b,null)}; -e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "type-tag":return this.Ta;case "logical-block":return this.$a;case "relative-to":return this.Wc;case "offset":return this.offset;case "start-pos":return this.Sa;case "end-pos":return this.Ra;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#cljs.pprint.indent-t{",", ","}",c,R.B(new E(null,6,5,F,[new E(null,2,5,F,[Mp,this.Ta],null),new E(null,2,5,F,[Vp,this.$a],null),new E(null,2,5,F,[Q_,this.Wc],null),new E(null,2,5,F,[Wh,this.offset],null),new E(null,2,5,F,[Sp,this.Sa],null),new E(null,2,5,F,[Rp,this.Ra],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,6,new E(null,6,5,F,[Mp,Vp,Q_,Wh,Sp,Rp],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa}; -e.Qa=function(){return new Lp(this.Ta,this.$a,this.Wc,this.offset,this.Sa,this.Ra,this.fa,this.ba,this.ga)};e.va=function(){return 6+Ec(this.ba)};e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-1602780238^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.Ta,b.Ta)&&Fc.B(this.$a,b.$a)&&Fc.B(this.Wc,b.Wc)&&Fc.B(this.offset,b.offset)&&Fc.B(this.Sa,b.Sa)&&Fc.B(this.Ra,b.Ra)&&Fc.B(this.ba,b.ba)}; -e.Ya=function(a,b){return ld(new Pf(null,new f(null,6,[Wh,null,Rp,null,Q_,null,Vp,null,Mp,null,Sp,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Lp(this.Ta,this.$a,this.Wc,this.offset,this.Sa,this.Ra,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "type-tag":case "logical-block":case "relative-to":case "offset":case "start-pos":case "end-pos":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(Mp,b):Md.call(null,Mp,b))?new Lp(c,this.$a,this.Wc,this.offset,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Vp,b):Md.call(null,Vp,b))?new Lp(this.Ta,c,this.Wc,this.offset,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Q_,b):Md.call(null,Q_,b))?new Lp(this.Ta,this.$a,c,this.offset,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Wh,b):Md.call(null,Wh,b))?new Lp(this.Ta,this.$a,this.Wc,c,this.Sa,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Sp,b):Md.call(null, -Sp,b))?new Lp(this.Ta,this.$a,this.Wc,this.offset,c,this.Ra,this.fa,this.ba,null):h(Md.B?Md.B(Rp,b):Md.call(null,Rp,b))?new Lp(this.Ta,this.$a,this.Wc,this.offset,this.Sa,c,this.fa,this.ba,null):new Lp(this.Ta,this.$a,this.Wc,this.offset,this.Sa,this.Ra,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,6,5,F,[new md(Mp,this.Ta,null),new md(Vp,this.$a,null),new md(Q_,this.Wc,null),new md(Wh,this.offset,null),new md(Sp,this.Sa,null),new md(Rp,this.Ra,null)],null),this.ba))}; -e.pa=function(a,b){return new Lp(this.Ta,this.$a,this.Wc,this.offset,this.Sa,this.Ra,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};var Pp=function(){var a=yg.j(C),b=yg.j(C),c=yg.j(C),d=yg.j(C),g=y.G(C,es,Eg.ca?Eg.ca():Eg.call(null));return new Jg(J.B("cljs.pprint","write-token"),function(k,m){return Mp.j(m)},Ci,g,a,b,c,d)}(); -Pp.N(null,sya,function(a,b){var c=eq.j(Bb(Bb(a)));h(c)&&(c.j?c.j(Zl):c.call(null,Zl));b=Vp.j(b);c=vm.j(b);h(c)&&Ob(Fp.j(Bb(Bb(a))),c);a=Cp(Fp.j(Bb(Bb(a))),Ep);ue(Up.j(b),a);return ue(Xp.j(b),a)});Pp.N(null,tya,function(a,b){var c=eq.j(Bb(Bb(a)));h(c)&&(c.j?c.j(wl):c.call(null,wl));b=gq.j(Vp.j(b));return h(b)?Ob(Fp.j(Bb(Bb(a))),b):null}); -Pp.N(null,yya,function(a,b){var c=Vp.j(b),d=Xp.j(c),g=Wh.j(b);b=Q_.j(b);if(h(Fc.B?Fc.B(rq,b):Fc.call(null,rq,b)))a=Bb(Up.j(c));else if(h(Fc.B?Fc.B(nj,b):Fc.call(null,nj,b)))a=Cp(Fp.j(Bb(Bb(a))),Ep);else throw Error(["No matching clause: ",l.j(b)].join(""));return ue(d,g+a)});Pp.N(null,iya,function(a,b){return Ob(Fp.j(Bb(Bb(a))),ov.j(b))}); -Pp.N(null,Np,function(a,b){var c=Fc.B(gi.j(b),xya);c||(c=(c=!Fc.B(gi.j(b),lp))?Bb(Tp.j(Vp.j(b))):c);h(c)?dya.B?dya.B(a,b):dya.call(null,a,b):(b=Op.j(Bb(Bb(a))),h(b)&&Ob(Fp.j(Bb(Bb(a))),b));return zg.da(Bb(a),Lf,Op,null)});var UHd=function(){var a=yg.j(C),b=yg.j(C),c=yg.j(C),d=yg.j(C),g=y.G(C,es,Eg.ca?Eg.ca():Eg.call(null));return new Jg(J.B("cljs.pprint","emit-nl?"),function(k){return gi.j(k)},Ci,g,a,b,c,d)}();UHd.N(null,pq,function(a,b,c){a=Vp.j(a);return Zxa(b,a,c)}); -UHd.N(null,oq,function(a,b,c){a=Vp.j(a);return aya(b,a,c)});UHd.N(null,lp,function(a,b,c,d){a=Vp.j(a);var g=Bb(Yp.j(a));return h(g)?g:(d=!Yxa(b,d))?d:aya(b,a,c)});UHd.N(null,xya,function(){return!0}); -var fya=function fya(a,b){var d=eya(b);b=x.G(d,0,null);var g=x.G(d,1,null);h(b)&&Xxa(a,b,!1);if(h(g)){d=bya(g);b=x.G(d,0,null);d=x.G(d,1,null);var k=t(g),m=UHd.da(k,a,b,cya(g));h(m)&&(dya(a,k),g=u(g));Yxa(a,g)?a=g:(g=fya.B?fya.B(a,b):fya.call(null,a,b),Fc.B(g,b)?(Xxa(a,b,!1),a=d):a=jf.B(Ke,R.B(g,d)));return a}return null};e=kya.prototype;e.pa=function(a,b){return new kya(this.ac,this.Nh,this.fl,this.lb,this.Me,b)};e.oa=function(){return this.Gk};e.ib=function(){return this.Me}; -e.ue=function(a,b){a=hb(b);if(h(Fc.B?Fc.B(String,a):Fc.call(null,String,a))){var c=jya(this,b);b=Lha(c,/\s+$/,"");a=hg.B(c,b.length);var d=bq.j(Bb(Bb(this)));if(Fc.B(d,dq))return $p(this),Ob(Fp.j(Bb(Bb(this))),b),zg.da(Bb(this),Lf,Op,a);d=cq.j(Bb(Bb(this)));c=d+Ec(c);zg.da(Bb(this),Lf,cq,c);return Zp(this,new Hp(iya,b,a,d,c,null,null,null))}if(h(Fc.B?Fc.B(Number,a):Fc.call(null,Number,a)))return Fc.B(bq.j(Bb(Bb(this))),dq)?($p(this),b=Ob(Fp.j(Bb(Bb(this))),b)):Fc.B(b,"\n")?b=jya(this,"\n"):(a=cq.j(Bb(Bb(this))), -c=a+1,zg.da(Bb(this),Lf,cq,c),b=wd(b),b=Zp(this,new Hp(iya,b,null,a,c,null,null,null))),b;throw Error(["No matching clause: ",l.j(a)].join(""));};e.Pd=function(){this.kh(null);return Pb(Fp.j(Bb(Bb(this))))};e.kh=function(){return Fc.B(bq.j(Bb(Bb(this))),hya)?(Xxa(this,Vh.j(Bb(Bb(this))),!0),zg.da(Bb(this),Lf,Vh,Ke)):$p(this)}; -var jq=!0,kq=null,lya=72,mya=40,VHd=null,WHd=null,XHd=null,Eq=null,Dq=10,mq=0,iq=null,Y2=function Y2(a){for(var c=[],d=arguments.length,g=0;;)if(gc?-c:c);if(Ec(d)<=Ec(Sya)){var g=ng.B(Rya,Ch.j(d));g=Tya(g,1);var k=Lc(d);d=zd(k,100);k=Ad(k,100);var m=0k)var w=x.B(YHd,k);else{w=zd(k,10);var A=Ad(k,10);w=0c?"minus ":null,Uc(g)||Uc(d)?Uc(g)?d:[g,"th"].join(""):[g,", ",d].join("")].join("")],0))}else Nq(10,new f(null,5,[Gq,0,Iq," ",Lq,",",Kq,3,Bq,!0],null),sq(new E(null,1,5,F,[c],null))),g=Ad(c,100),c=11g,g=Ad(g,10),Jq.J(H.B([1===g&&c?"st":2===g&&c?"nd":3===g&&c?"rd":"th"],0))}return b}:function(b,c){c=yq(c);b=x.G(c,0,null);c=x.G(c,1,null);if(Fc.B(0,b))Jq.J(H.B(["zero"],0));else{var d=Nya(1E3,0>b?-b:b);Ec(d)<=Ec(Sya)?(d=ng.B(Rya,d),d=Tya(d,0),Jq.J(H.B([[0>b?"minus ": -null,d].join("")],0))):Nq(10,new f(null,5,[Gq,0,Iq," ",Lq,",",Kq,3,Bq,!0],null),sq(new E(null,1,5,F,[b],null)))}return c}}],null),new f(null,5,[er,"P",Pq,C,dr,new Pf(null,new f(null,3,[Bq,null,Cq,null,fr,null],null),null),hr,C,gr,function(){return function(a,b){b=h(Bq.j(a))?Eya(b,-1):b;a=h(Cq.j(a))?new E(null,2,5,F,["y","ies"],null):new E(null,2,5,F,["","s"],null);var c=yq(b);b=x.G(c,0,null);c=x.G(c,1,null);Jq.J(H.B([Fc.B(b,1)?t(a):Ic(a)],0));return c}}],null),new f(null,5,[er,"C",Pq,new f(null,1, -[Xya,new E(null,2,5,F,[null,String],null)],null),dr,new Pf(null,new f(null,3,[Bq,null,Cq,null,fr,null],null),null),hr,C,gr,function(a){return h(Bq.j(a))?Wya:h(Cq.j(a))?Yya:Zya}],null),new f(null,5,[er,"F",Pq,new f(null,5,[Tq,new E(null,2,5,F,[null,Number],null),np,new E(null,2,5,F,[null,Number],null),Uq,new E(null,2,5,F,[0,Number],null),Vq,new E(null,2,5,F,[null,String],null),Iq,new E(null,2,5,F,[" ",String],null)],null),dr,new Pf(null,new f(null,1,[Cq,null],null),null),hr,C,gr,function(){return fza}], -null),new f(null,5,[er,"E",Pq,new f(null,7,[Tq,new E(null,2,5,F,[null,Number],null),np,new E(null,2,5,F,[null,Number],null),gza,new E(null,2,5,F,[null,Number],null),Uq,new E(null,2,5,F,[1,Number],null),Vq,new E(null,2,5,F,[null,String],null),Iq,new E(null,2,5,F,[" ",String],null),hza,new E(null,2,5,F,[null,String],null)],null),dr,new Pf(null,new f(null,1,[Cq,null],null),null),hr,C,gr,function(){return iza}],null),new f(null,5,[er,"G",Pq,new f(null,7,[Tq,new E(null,2,5,F,[null,Number],null),np,new E(null, -2,5,F,[null,Number],null),gza,new E(null,2,5,F,[null,Number],null),Uq,new E(null,2,5,F,[1,Number],null),Vq,new E(null,2,5,F,[null,String],null),Iq,new E(null,2,5,F,[" ",String],null),hza,new E(null,2,5,F,[null,String],null)],null),dr,new Pf(null,new f(null,1,[Cq,null],null),null),hr,C,gr,function(){return jza}],null),new f(null,5,[er,"$",Pq,new f(null,4,[np,new E(null,2,5,F,[2,Number],null),Wq,new E(null,2,5,F,[1,Number],null),Tq,new E(null,2,5,F,[0,Number],null),Iq,new E(null,2,5,F,[" ",String], -null)],null),dr,new Pf(null,new f(null,3,[Bq,null,Cq,null,fr,null],null),null),hr,C,gr,function(){return kza}],null),new f(null,5,[er,"%",Pq,new f(null,1,[yW,new E(null,2,5,F,[1,Number],null)],null),dr,Qf,hr,C,gr,function(){return function(a,b){a=yW.j(a);for(var c=0;;)if(cthis.sf?this.update(this.Fg,56-this.sf):this.update(this.Fg,this.blockSize-(this.sf-56));for(var c=this.blockSize-1;56<=c;c--)this.Ug[c]=b&255,b/=256;vAa(this,this.Ug);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.oc[c]>>d&255,++b;return a};xAa.prototype.ol=lc;xAa.prototype.pl=function(){return this.$i};var Zr=function Zr(a){for(var c=[],d=arguments.length,g=0;;)if(g=Ec(b)&&ne(function(c){return ld(a,c)},b)},prd,new f(null,5,[X,prd,V,M(new E(null,2,5,F,[GDb,IDb],null)),W,"Is set1 a superset of set2?",Ls,!0,K,$3],null),null),new Hr(P2,aT,new f(null,5,[X,aT,V,M(new E(null,2,5,F,[Lqc,GKc],null),new E(null,3,5,F,[Lqc,GKc,KOc],null)),W,"When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys.", -Ls,!0,K,$3],null),null),new Hr(jM,X2b,new f(null,5,[X,X2b,V,M(Ke,new E(null,1,5,F,[mZ],null),new E(null,2,5,F,[mZ,oZ],null),new E(null,4,5,F,[mZ,oZ,Pg,cDb],null)),W,"Return a set that is the union of the input sets",Ls,!0,K,$3],null),null),new Hr(function(a,b){return Tf(ng.B(function(c){return pl(c,b)},a))},HYc,new f(null,5,[X,HYc,V,M(new E(null,2,5,F,[Lqc,gZb],null)),W,"Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap",Ls,!0,K,$3],null),null),new Hr(function(a, -b){return Ec(a)<=Ec(b)&&ne(function(c){return ld(b,c)},a)},JKb,new f(null,5,[X,JKb,V,M(new E(null,2,5,F,[GDb,IDb],null)),W,"Is set1 a subset of set2?",Ls,!0,K,$3],null),null),new Hr(In,q2c,new f(null,5,[X,q2c,V,M(new E(null,1,5,F,[mZ],null),new E(null,2,5,F,[mZ,oZ],null),new E(null,4,5,F,[mZ,oZ,Pg,cDb],null)),W,"Return a set that is the first set without elements of the remaining sets",Ls,!0,K,$3],null),null),$3,new Hr(QD,Tkc,new f(null,5,[X,Tkc,V,M(new E(null,1,5,F,[mZ],null),new E(null,2,5,F,[mZ, -oZ],null),new E(null,4,5,F,[mZ,oZ,Pg,cDb],null)),W,"Return a set that is the intersection of the input sets",Ls,!0,K,$3],null),null),new Hr(Lma,nU,new f(null,5,[X,nU,V,M(new E(null,2,5,F,[Lqc,ZY],null)),W,"Returns a map of the distinct values of ks in the xrel mapped to a\n set of the maps in xrel with the corresponding values of ks.",Ls,!0,K,$3],null),null),new Hr(pl,DHc,new f(null,5,[X,DHc,V,M(new E(null,2,5,F,[jX,gZb],null)),W,"Returns the map with the keys in kmap renamed to the vals in kmap", -Ls,!0,K,$3],null),null)]),GKd,INd,FKd,new f(null,3,[Ej,GNd,gT,new Hr(p2,gT,new f(null,5,[X,gT,V,M(new E(null,1,5,F,[jqb],null),new E(null,2,5,F,[new f(null,2,[Ev,new E(null,1,5,F,[gsd],null),hk,U_],null),jqb],null),new E(null,4,5,F,[jqb,Otc,gsd,U_],null)),W,"Reads the first object from an cljs.tools.reader.reader-types/IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof.\n If no reader is provided, *in* will be used.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n cljs.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration\n is done by passing an opt map.\n\n opts is a map that can include the following keys:\n :eof - value to return on end-of-file. When not supplied, eof throws an exception.\n :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers.\n When not supplied, only the default-data-readers will be used.\n :default - A function of two args, that will, if present and no reader is found for a tag,\n be called with the tag and the value.", -Ls,!0,K,GNd],null),null),lT,new Hr(co,lT,new f(null,5,[X,lT,V,M(new E(null,1,5,F,[TV],null),new E(null,2,5,F,[U_,TV],null)),W,"Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n opts is a map as per cljs.tools.reader.edn/read",Ls,!0,K,GNd],null),null)],null),CNd]);var FEa=Hf(DEa),OEa=new f(null,4,[gkb,new f(null,2,[So,Error,cva,function(){var a=null;a=function(b,c,d){switch(arguments.length){case 1:return Error(b);case 2:return Error(b,c);case 3:return Error(b,c,d)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return Error(b)};a.B=function(b,c){return Error(b,c)};a.G=function(b,c,d){return Error(b,c,d)};return a}()],null),k6b,gjb,iSc,new f(null,2,[So,Na,cva,function(a){return new Na(a)}],null),fHb,Gr],null),NEa=new f(null,1,[ml,bs],null);var Dt=function Dt(a,b){if(fd(b))if(Fc.B(Ug,t(b))){var d=Rc(b);d=h(h(d)?O.j(d):d)?new f(null,2,[P,P.j(d),O,O.j(d)],null):null;h(d)&&(Nr=d);try{var g=sc(b);for(b=null;;)if(r(g)){var k=sc(g),m=t(g);var q=Dt.B?Dt.B(a,m):Dt.call(null,a,m);g=k;b=q}else return b}finally{h(d)&&(Nr=null)}}else{g=Li.ca();k=we(be([g,new f(null,1,[0,new f(null,1,[Ns,C],null)],null)]));a=Lf.J(a,Cg,new E(null,2,5,F,[g,0],null),H.B([Xs,k],0));b=Ts.G(a,b,!0);g=Ec(Ij.B(Bb(k),new E(null,3,5,F,[g,0,Ns],null)));g=Th.j(g);if(b instanceof -zAa)return b=b.oe(null),Dt.B?Dt.B(a,b):Dt.call(null,a,b);try{return tr(b,a,g)}catch(v){if(v instanceof Error)return g=v,Pr(a,0,g,b);throw v;}}else{g=Li.ca();k=we(be([g,new f(null,1,[0,new f(null,1,[Ns,C],null)],null)]));a=Lf.J(a,Cg,new E(null,2,5,F,[g,0],null),H.B([Xs,k],0));b=Ts.B(a,b);g=Ec(Ij.B(Bb(k),new E(null,3,5,F,[g,0,Ns],null)));g=Th.j(g);try{return tr(b,a,g)}catch(v){if(v instanceof Error)return g=v,Pr(a,0,g,b);throw v;}}};fc(cBa,Dt);fc(sCa,Et);e=Nt.prototype;e.ya=function(a,b){return this.ka(null,b,null)};e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "form":return this.form;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#nextjournal.clerk.viewer.ViewerEval{",", ","}",c,R.B(new E(null,1,5,F,[new E(null,2,5,F,[vn,this.form],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,1,new E(null,1,5,F,[vn],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Nt(this.form,this.fa,this.ba,this.ga)};e.va=function(){return 1+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=-737905796^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.form,b.form)&&Fc.B(this.ba,b.ba)};e.Ya=function(a,b){return ld(new Pf(null,new f(null,1,[vn,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Nt(this.form,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "form":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(vn,b):Md.call(null,vn,b))?new Nt(c,this.fa,this.ba,null):new Nt(this.form,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,1,5,F,[new md(vn,this.form,null)],null),this.ba))};e.pa=function(a,b){return new Nt(this.form,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)};e=Ot.prototype;e.ya=function(a,b){return this.ka(null,b,null)}; -e.ka=function(a,b,c){switch(b instanceof B?b.la:null){case "form":return this.form;case "f":return this.f;default:return y.G(this.ba,b,c)}};e.Xa=function(a,b,c){return rd.G(function(d,g){var k=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,k,g):b.call(null,d,k,g)},c,this)}; -e.qa=function(a,b,c){return kg(b,function(d){return kg(b,mg,""," ","",c,d)},"#nextjournal.clerk.viewer.ViewerFn{",", ","}",c,R.B(new E(null,2,5,F,[new E(null,2,5,F,[vn,this.form],null),new E(null,2,5,F,[Pt,this.f],null)],null),this.ba))};e.Oa=function(){return new ef(0,this,2,new E(null,2,5,F,[vn,Pt],null),h(this.ba)?hc(this.ba):ee())};e.oa=function(){return this.fa};e.Qa=function(){return new Ot(this.form,this.f,this.fa,this.ba,this.ga)};e.va=function(){return 2+Ec(this.ba)}; -e.ta=function(){var a=this.ga;return null!=a?a:this.ga=a=1201497063^wc(this)};e.ma=function(a,b){return null!=b&&this.constructor===b.constructor&&Fc.B(this.form,b.form)&&Fc.B(this.f,b.f)&&Fc.B(this.ba,b.ba)};e.Ya=function(a,b){return ld(new Pf(null,new f(null,2,[Pt,null,vn,null],null),null),b)?ci.B(Db(jf.B(C,this),this.fa),b):new Ot(this.form,this.f,this.fa,de(ci.B(this.ba,b)),null)};e.Na=function(a,b){switch(b instanceof B?b.la:null){case "form":case "f":return!0;default:return ld(this.ba,b)}}; -e.ra=function(a,b,c){return h(Md.B?Md.B(vn,b):Md.call(null,vn,b))?new Ot(c,this.f,this.fa,this.ba,null):h(Md.B?Md.B(Pt,b):Md.call(null,Pt,b))?new Ot(this.form,c,this.fa,this.ba,null):new Ot(this.form,this.f,this.fa,Lf.G(this.ba,b,c),null)};e.sa=function(){return r(R.B(new E(null,2,5,F,[new md(vn,this.form,null),new md(Pt,this.f,null)],null),this.ba))};e.pa=function(a,b){return new Ot(this.form,this.f,b,this.ba,this.ga)};e.wa=function(a,b){return ad(b)?this.ra(null,Nc(b,0),Nc(b,1)):rd.G(nb,this,b)}; -e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.j=function(a){var b=Pt.j(this);return b.j?b.j(a):b.call(null,a)};e.B=function(a,b){var c=Pt.j(this);return c.B?c.B(a,b):c.call(null,a,b)};Nt.prototype.ab=lc; -Nt.prototype.qa=function(a,b){Ob(b,"#viewer-eval ");return Ob(b,lm.J(H.B([this.form],0)))};var JNd=new f(null,2,[Tlc,St,NMb,Tt],null),du=function du(a){switch(arguments.length){case 1:return du.j(arguments[0]);case 2:return du.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};du.j=function(a){return h(Wt(a))?a:new f(null,1,[Vt,a],null)};du.B=function(a,b){return Lf.G(du.j(a),Yt,b)};du.aa=2; -var au=jf.G(new f(null,1,[xtd,ou],null),ng.j(Oh.B(function(a){return og.B("nextjournal.clerk",Vf(a))},function(a){return og.B("nextjournal",Vf(a))})),Gd.J(pqa,cu,H.B([gHa],0))),nu=function nu(a){switch(arguments.length){case 2:return nu.B(arguments[0],arguments[1]);case 3:return nu.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};nu.B=function(a,b){return nu.G(a,null,b)}; -nu.G=function(a,b,c){var d=bi.J,g=H.B;b=h(b)?nFa(b):null;c=du.j(c);a=Zc(a)&&Uc(a)?c:Lf.G(c,Yt,oFa(a));return d.call(bi,g.call(H,[b,a],0))};nu.aa=3;var b4=function b4(a){for(var c=[],d=arguments.length,g=0;;)if(g>>b}; -r4[l.j(mh("-as-transient"))]=Vb;r4[l.j(mh("dorun"))]=LR;r4[l.j(mh("pr-sequential-writer"))]=kg;r4[l.j(mh("simple-symbol?"))]=Qd;r4[l.j(mh("IIndexed"))]=fba;r4[l.j(mh("disj"))]=jl;r4[l.j(mh("MultiIterator"))]=dea;r4[l.j(mh("IPrintWithWriter"))]=Qb;r4[l.j(mh("-\x3eUUID"))]=function(a,b){return new oga(a,b)};r4[l.j(mh("IVector"))]=rba;r4[l.j(mh("IIterable"))]=Sba;r4[l.j(mh("-\x3eMultiIterator"))]=function(a){return new dea(a)};r4[l.j(mh("*2"))]=TQ.Bl;r4[l.j(mh("eval"))]=bha;r4[l.j(mh("Eduction"))]=Mfa; -r4[l.j(mh("cons"))]=Jd;r4[l.j(mh("PersistentTreeSet"))]=Sf;r4[l.j(mh("-\x3eHashSetIter"))]=function(a){return new Nf(a)};r4[l.j(mh("floats"))]=qda;r4[l.j(mh("TransientVector"))]=Aea;r4[l.j(mh("pos?"))]=Ada;r4[l.j(mh("fnil"))]=bk;r4[l.j(mh("merge-with"))]=zn;r4[l.j(mh("nthrest"))]=xca;r4[l.j(mh("*warn-on-infer*"))]=!1;r4[l.j(mh("-find"))]=vb;r4[l.j(mh("sequential?"))]=Xc;r4[l.j(mh("LongImpl"))]=ha;r4[l.j(mh("m3-mix-H1"))]=Vba;r4[l.j(mh("RecordIter"))]=ef; -r4[l.j(mh("-\x3eTransientArrayMap"))]=function(a,b,c){return new Pea(a,b,c)};r4[l.j(mh("prim-seq"))]=H;r4[l.j(mh("*print-level*"))]=jg;r4[l.j(mh("shuffle"))]=Oca;r4[l.j(mh("ChunkedSeq"))]=Ue;r4[l.j(mh("hash-keyword"))]=Fda;r4[l.j(mh("find"))]=nd;r4[l.j(mh("alength"))]=Xaa;r4[l.j(mh("bit-xor"))]=pR;r4[l.j(mh("-\x3eIndexedSeq"))]=function(a,b,c){return new pc(a,b,c)};r4[l.j(mh("ObjMap"))]=df;r4[l.j(mh("unsigned-bit-shift-right"))]=zda;r4[l.j(mh("ES6SetEntriesIterator"))]=Iea;r4[l.j(mh("neg?"))]=Cd; -r4[l.j(mh("Cons"))]=Id;r4[l.j(mh("-remove-method"))]=bga;r4[l.j(mh("-\x3eStringIter"))]=function(a,b){return new fe(a,b)};r4[l.j(mh("js-invoke"))]=XQ;r4[l.j(mh("-\x3eList"))]=function(a,b,c,d,g){return new z(a,b,c,d,g)};r4[l.j(mh("m3-mix-K1"))]=Uba;r4[l.j(mh("Iterate"))]=De;r4[l.j(mh("unchecked-float"))]=Zca;r4[l.j(mh("undefined?"))]=Dca;r4[l.j(mh("IMeta"))]=uba;r4[l.j(mh("reduced?"))]=Ac;r4[l.j(mh("apply-to"))]=ae;r4[l.j(mh("disj!"))]=vR;r4[l.j(mh("-lookup"))]=$Q;r4[l.j(mh("float?"))]=Ica; -r4[l.j(mh("ICloneable"))]=aba;r4[l.j(mh("IEncodeClojure"))]=Sfa;r4[l.j(mh("booleans"))]=lda;r4[l.j(mh("-\x3eArrayList"))]=function(a){return new mfa(a)};r4[l.j(mh("RSeq"))]=Hc;r4[l.j(mh("int-array"))]=xJ;r4[l.j(mh("set?"))]=Wc;r4[l.j(mh("iterable?"))]=hca;r4[l.j(mh("cat"))]=vg;r4[l.j(mh("-\x3eES6EntriesIterator"))]=function(a){return new Gea(a)};r4[l.j(mh("divide"))]=TQ.divide;r4[l.j(mh("-pr-writer"))]=Rb;r4[l.j(mh("flush"))]=function(){return null}; -r4[l.j(mh("set-from-indexed-seq"))]=function(a){a=a.arr;a:for(var b=a.length,c=0,d=Vb(Qf);;)if(c=Number.MIN_SAFE_INTEGER?a:null):b}throw Error(aha(a));};r4[l.j(mh("-\x3eReduced"))]=function(a){return new yc(a)};r4[l.j(mh("chunk-buffer"))]=Ud;r4[l.j(mh("seqable?"))]=gd;r4[l.j(mh("symbol?"))]=nc;r4[l.j(mh("m3-hash-unencoded-chars"))]=Yba;r4[l.j(mh("unchecked-char"))]=Xca;r4[l.j(mh("system-time"))]=Vaa;r4[l.j(mh("NeverEquiv"))]=$e; -r4[l.j(mh("-invoke"))]=YQ;r4[l.j(mh("coll?"))]=Vc;r4[l.j(mh("get-in"))]=Ij;r4[l.j(mh("fnext"))]=vca;r4[l.j(mh("IList"))]=Cba;r4[l.j(mh("ArrayNodeIterator"))]=pf;r4[l.j(mh("List"))]=z;r4[l.j(mh("-val"))]=yb;r4[l.j(mh("bytes"))]=mda;r4[l.j(mh("-\x3eObjMap"))]=function(a,b,c,d,g){return new df(a,b,c,d,g)};r4[l.j(mh("-seq"))]=Jb;var fPd=["nextjournal","clerk","viewer"],gPd=Ha(globalThis,fPd),s4;if(h(gPd))s4=gPd;else{var hPd={};ll(fPd,hPd);s4=hPd}s4[l.j(mh("var-from-def?"))]=IFa; -s4[l.j(mh("-\x3eviewers"))]=dFa;s4[l.j(mh("!viewers"))]=yu;s4[l.j(mh("col-viewer"))]=vOd;s4[l.j(mh("update-viewers"))]=uGa;s4[l.j(mh("viewer-fn?"))]=$Ea;s4[l.j(mh("normalize-viewer"))]=oFa;s4[l.j(mh("keyword-viewer"))]=YNd;s4[l.j(mh("process-blocks"))]=$Ga;s4[l.j(mh("compute-expanded-at"))]=SHa;s4[l.j(mh("css-class"))]=hFa;s4[l.j(mh("viewer-for"))]=hHa;s4[l.j(mh("markdown-viewer"))]=sOd;s4[l.j(mh("collect-expandable-paths"))]=THa;s4[l.j(mh("table-body-viewer"))]=QNd;s4[l.j(mh("table-viewers"))]=wOd; -s4[l.j(mh("bounded-count-opts"))]=qHa;s4[l.j(mh("process-image-source"))]=kGa;s4[l.j(mh("process-wrapped-value"))]=tu;s4[l.j(mh("normalize-table-data"))]=xFa;s4[l.j(mh("ideref-viewer"))]=jOd;s4[l.j(mh("count-viewers"))]=mHa;s4[l.j(mh("assign-closing-parens"))]=av;s4[l.j(mh("-\x3eviewer-fn"))]=St;s4[l.j(mh("resolve-symbol-alias"))]=aFa;s4[l.j(mh("demunge-ex-data"))]=yFa;s4[l.j(mh("number-viewer"))]=VNd;s4[l.j(mh("count-bounded"))]=rFa;s4[l.j(mh("var-viewer"))]=gOd; -s4[l.j(mh("table-error-viewer"))]=yOd;s4[l.j(mh("nil-viewer"))]=ZNd;s4[l.j(mh("get-fetch-opts-n"))]=FHa;s4[l.j(mh("table-markup-viewer"))]=ONd;s4[l.j(mh("index?"))]=MGa;s4[l.j(mh("ensure-wrapped"))]=du;s4[l.j(mh("string-viewer"))]=UNd;s4[l.j(mh("md"))]=HOd;s4[l.j(mh("js-promise-viewer"))]=COd;s4[l.j(mh("drop+take-xf"))]=rHa;s4[l.j(mh("with-md-viewer"))]=GFa;s4[l.j(mh("row"))]=LOd;s4[l.j(mh("open-graph-metas"))]=cFa;s4[l.j(mh("resilient-compare"))]=bHa;s4[l.j(mh("html"))]=Ou; -s4[l.j(mh("update-if"))]=IGa;s4[l.j(mh("default-viewers"))]=MFa;s4[l.j(mh("transform-result"))]=eGa;s4[l.j(mh("plotly-viewer"))]=qOd;s4[l.j(mh("table-viewer"))]=xOd;s4[l.j(mh("normalize-viewer-opts"))]=nFa;s4[l.j(mh("get-*ns*"))]=Au;s4[l.j(mh("get-elision"))]=EHa;s4[l.j(mh("result-viewer"))]=sGa;s4[l.j(mh("add-viewers!"))]=WHa;s4[l.j(mh("fallback-viewer"))]=lOd;s4[l.j(mh("viewer-eval?"))]=Rt;s4[l.j(mh("elision-viewer"))]=mOd;s4[l.j(mh("boolean-viewer"))]=$Nd;s4[l.j(mh("ensure-sorted"))]=cHa; -s4[l.j(mh("caption"))]=ZHa;s4[l.j(mh("notebook-viewer"))]=kNa;s4[l.j(mh("rpad-vec"))]=qFa;s4[l.j(mh("-\x3eviewer-eval"))]=Tt;s4[l.j(mh("markdown-viewers"))]=SNd;s4[l.j(mh("inherit-opts"))]=AGa;s4[l.j(mh("get-default-viewers"))]=NFa;s4[l.j(mh("var?"))]=vu;s4[l.j(mh("table"))]=KOd;s4[l.j(mh("vega-lite-viewer"))]=rOd;s4[l.j(mh("make-!budget-opts"))]=KHa;s4[l.j(mh("symbol-viewer"))]=XNd;s4[l.j(mh("js-array-viewer"))]=EOd;s4[l.j(mh("normalize-seq-of-seq"))]=sFa;s4[l.j(mh("normalize-map-of-seq"))]=uFa; -s4[l.j(mh("-\x3eViewerFn"))]=ZEa;s4[l.j(mh("eval-cljs-str"))]=i4;s4[l.j(mh("merge-presentations"))]=VHa;s4[l.j(mh("html-viewer"))]=pOd;s4[l.j(mh("code-viewer"))]=tOd;s4[l.j(mh("tex"))]=MOd;s4[l.j(mh("present"))]=Gu;s4[l.j(mh("data-readers"))]=JNd;s4[l.j(mh("atom-var-name-\x3estate"))]=HGa;s4[l.j(mh("folded-code-block-viewer"))]=AOd;s4[l.j(mh("into-markup"))]=uu;s4[l.j(mh("normalize-seq-of-map"))]=tFa;s4[l.j(mh("fragment"))]=d4;s4[l.j(mh("-\x3edisplay"))]=iGa;s4[l.j(mh("example-viewer"))]=POd; -s4[l.j(mh("mathjax-viewer"))]=oOd;s4[l.j(mh("find-elision"))]=BHa;s4[l.j(mh("print-hide-result-deprecation-warning"))]=$Ha;s4[l.j(mh("js-object-viewer"))]=DOd;s4[l.j(mh("ensure-wrapped-with-viewers"))]=ru;s4[l.j(mh("wrapped-value?"))]=Wt;s4[l.j(mh("-\x3eviewer"))]=Zt;s4[l.j(mh("doc-url"))]=Mu;s4[l.j(mh("with-block-viewer"))]=tGa;s4[l.j(mh("table-head-viewer"))]=PNd;s4[l.j(mh("map-viewer"))]=fOd;s4[l.j(mh("md-image-\x3eviewer"))]=oGa;s4[l.j(mh("apply-viewers*"))]=kHa;s4[l.j(mh("with-viewers"))]=pFa; -s4[l.j(mh("viewer-eval-viewer"))]=GOd;s4[l.j(mh("use-headers"))]=wFa;s4[l.j(mh("width"))]=fFa;s4[l.j(mh("update-val"))]=c4;s4[l.j(mh("datafied?"))]=KNd;s4[l.j(mh("desc-\x3evalues"))]=e4;s4[l.j(mh("present+paginate-children"))]=GHa;s4[l.j(mh("processed-keys"))]=zHa;s4[l.j(mh("transform-html"))]=DGa;s4[l.j(mh("extract-sync-atom-vars"))]=FGa;s4[l.j(mh("find-viewer"))]=dHa;s4[l.j(mh("regex-viewer"))]=kOd;s4[l.j(mh("map-entry-viewer"))]=aOd;s4[l.j(mh("var-\x3esymbol"))]=xGa; -s4[l.j(mh("mark-presented"))]=mu;s4[l.j(mh("row-viewer"))]=uOd;s4[l.j(mh("var-from-def-viewer"))]=JFa;s4[l.j(mh("header"))]=VGa;s4[l.j(mh("vector-viewer"))]=cOd;s4[l.j(mh("char-viewer"))]=TNd;s4[l.j(mh("hash-sha1"))]=vHa;s4[l.j(mh("katex-viewer"))]=nOd;s4[l.j(mh("with-viewer"))]=nu;s4[l.j(mh("number-hex-viewer"))]=WNd;s4[l.j(mh("-\x3eViewerEval"))]=XEa;s4[l.j(mh("ViewerFn"))]=Ot;s4[l.j(mh("examples-viewer"))]=QOd;s4[l.j(mh("hide-result"))]=g4;s4[l.j(mh("resolve-aliases"))]=bFa; -s4[l.j(mh("image-viewer"))]=iOd;s4[l.j(mh("vl"))]=JOd;s4[l.j(mh("process-sidenotes"))]=jGa;s4[l.j(mh("table-row-viewer"))]=RNd;s4[l.j(mh("mark-preserve-keys"))]=CFa;s4[l.j(mh("with-viewer-extracting-opts"))]=b4;s4[l.j(mh("-\x3evalue"))]=Xt;s4[l.j(mh("process-viewer"))]=yHa;s4[l.j(mh("read+inspect-viewer"))]=bOd;s4[l.j(mh("-\x3ebudget"))]=JHa;s4[l.j(mh("sequential-viewer"))]=eOd;s4[l.j(mh("set-viewer"))]=dOd;s4[l.j(mh("apply-viewers"))]=su;s4[l.j(mh("md-toc-\x3enavbar-items"))]=Qu; -s4[l.j(mh("fetch-all"))]=EFa;s4[l.j(mh("inspect-wrapped-values"))]=DFa;s4[l.j(mh("plotly"))]=IOd;s4[l.j(mh("present+paginate-string"))]=IHa;s4[l.j(mh("hide-result-viewer"))]=LNd;s4[l.j(mh("rank-val"))]=aHa;s4[l.j(mh("normalize-seq-to-vec"))]=vFa;s4[l.j(mh("map-\x3eViewerFn"))]=Qt;s4[l.j(mh("throwable-viewer"))]=hOd;s4[l.j(mh("index-path"))]=NGa;s4[l.j(mh("viewer-opts-normalization"))]=au;s4[l.j(mh("assign-expanded-at"))]=UHa;s4[l.j(mh("ViewerEval"))]=Nt;s4[l.j(mh("col"))]=XHa; -s4[l.j(mh("header-viewer"))]=FOd;s4[l.j(mh("make-elision"))]=AHa;s4[l.j(mh("map-\x3eViewerEval"))]=YEa;s4[l.j(mh("missing-pred"))]=fu;s4[l.j(mh("home?"))]=KGa;s4[l.j(mh("add-viewers"))]=Tu;s4[l.j(mh("table-missing-viewer"))]=NNd;s4[l.j(mh("inspect-fn"))]=zFa;s4[l.j(mh("-\x3eopts"))]=Cu;s4[l.j(mh("notebook"))]=NOd;s4[l.j(mh("eval-cljs"))]=h4;s4[l.j(mh("-\x3efetch-opts"))]=DHa;s4[l.j(mh("process-render-fn"))]=uHa;s4[l.j(mh("apply-viewer-unwrapping-var-from-def"))]=LFa;s4[l.j(mh("get-safe"))]=ju; -s4[l.j(mh("code-block-viewer"))]=zOd;s4[l.j(mh("reset-viewers!"))]=bv;s4[l.j(mh("code"))]=OOd;s4[l.j(mh("fragment-viewer"))]=MNd;s4[l.j(mh("throw-when-viewer-opts-invalid"))]=mFa;s4[l.j(mh("assign-content-lengths"))]=QHa;s4[l.j(mh("get-viewers"))]=Fu;s4[l.j(mh("find-named-viewer"))]=eHa;s4[l.j(mh("datafy-scope"))]=PFa;s4[l.j(mh("tagged-value-viewer"))]=BOd;s4[l.j(mh("image"))]=f4;var iPd=["nextjournal","clerk","render"],jPd=Ha(globalThis,iPd),t4;if(h(jPd))t4=jPd;else{var kPd={};ll(iPd,kPd);t4=kPd} -t4[l.j(mh("render-vega-lite"))]=PLa;t4[l.j(mh("!viewers"))]=yu;t4[l.j(mh("render-table-error"))]=oKa;t4[l.j(mh("render-promise"))]=GLa;t4[l.j(mh("mount"))]=ALa;t4[l.j(mh("nbsp"))]=vv;t4[l.j(mh("expand-button"))]=HJa;t4[l.j(mh("expandable?"))]=xJa;t4[l.j(mh("connection-status"))]=AIa;t4[l.j(mh("show-panel"))]=LKa;t4[l.j(mh("!panels"))]=KKa;t4[l.j(mh("consume-view-context"))]=xwa;t4[l.j(mh("setup-router!"))]=xLa;t4[l.j(mh("patch-state!"))]=eLa;t4[l.j(mh("*reset-sync-atoms?*"))]=WKa; -t4[l.j(mh("apply-patch"))]=cLa;t4[l.j(mh("set-reset-sync-atoms!"))]=XKa;t4[l.j(mh("listeners"))]=uLa;t4[l.j(mh("history-push-state"))]=JIa;t4[l.j(mh("handle-initial-load"))]=pLa;t4[l.j(mh("render-tagged-value"))]=l4;t4[l.j(mh("default-loading-view"))]="Loading...";t4[l.j(mh("!pending-clerk-eval-replies"))]=Dv;t4[l.j(mh("html"))]=lHd.html;t4[l.j(mh("default-viewers"))]=lHd.nk;t4[l.j(mh("render-unreadable-edn"))]=$Ia;t4[l.j(mh("set-viewers!"))]=GKa;t4[l.j(mh("reagent-atom?"))]=hIa; -t4[l.j(mh("process-eval-reply!"))]=kLa;t4[l.j(mh("render-elision"))]=OJa;t4[l.j(mh("render-coll"))]=LJa;t4[l.j(mh("-\x3eURL"))]=CIa;t4[l.j(mh("set-state!"))]=Cv;t4[l.j(mh("render-table-with-sticky-header"))]=k4;t4[l.j(mh("result-css-class"))]=lJa;t4[l.j(mh("re-eval-viewer-fns"))]=bLa;t4[l.j(mh("error-view"))]=rv;t4[l.j(mh("triangle"))]=BJa;t4[l.j(mh("toggle-expanded"))]=wJa;t4[l.j(mh("!router"))]=wLa;t4[l.j(mh("html-viewer"))]=lHd.Ak;t4[l.j(mh("init"))]=Fv;t4[l.j(mh("valid-react-element?"))]=HKa; -t4[l.j(mh("render-throwable"))]=EKa;t4[l.j(mh("inspect"))]=pv;t4[l.j(mh("!doc"))]=xv;t4[l.j(mh("expand-icon"))]=UOd;t4[l.j(mh("re-render"))]=BLa;t4[l.j(mh("path-from-url-hash"))]=qLa;t4[l.j(mh("render-map"))]=PJa;t4[l.j(mh("render-folded-code-block"))]=bMa;t4[l.j(mh("render-notebook"))]=XIa;t4[l.j(mh("handle-anchor-click"))]=FIa;t4[l.j(mh("render-plotly"))]=RLa;t4[l.j(mh("sci-ns-unmap!"))]=VKa;t4[l.j(mh("handle-hashchange"))]=tLa;t4[l.j(mh("throwable-view"))]=DKa;t4[l.j(mh("ws-send!"))]=QKa; -t4[l.j(mh("remount?"))]=aLa;t4[l.j(mh("fetch!"))]=hJa;t4[l.j(mh("with-dynamic-import"))]=LLa;t4[l.j(mh("container-el"))]=m4;t4[l.j(mh("closest-anchor-parent"))]=BIa;t4[l.j(mh("opts-\x3equery"))]=YIa;t4[l.j(mh("render-number"))]=XJa;t4[l.j(mh("render-string"))]=SJa;t4[l.j(mh("intern-atoms!"))]=ZKa;t4[l.j(mh("triangle-spacer"))]=KJa;t4[l.j(mh("!eval-counter"))]=yJa;t4[l.j(mh("dispatch"))]=oLa;t4[l.j(mh("render-html"))]=ELa;t4[l.j(mh("inspect-children"))]=mv;t4[l.j(mh("ErrorBoundary"))]=tv; -t4[l.j(mh("read-string"))]=gJa;t4[l.j(mh("dark-mode-toggle"))]=qIa;t4[l.j(mh("root"))]=PKa;t4[l.j(mh("intern-atom!"))]=UKa;t4[l.j(mh("inspect-presented"))]=uv;t4[l.j(mh("render-code"))]=Yo;t4[l.j(mh("with-d3-require"))]=JLa;t4[l.j(mh("render-mathjax"))]=ULa;t4[l.j(mh("clerk-eval"))]=jv;t4[l.j(mh("render-katex"))]=TLa;t4[l.j(mh("render-code-block"))]=WLa;t4[l.j(mh("expand-style"))]=SOd;t4[l.j(mh("exec-status"))]=yIa;t4[l.j(mh("sort!"))]=cKa;t4[l.j(mh("atom-changed"))]=TKa; -t4[l.j(mh("sort-data"))]=dKa;t4[l.j(mh("x-icon"))]=jKa;t4[l.j(mh("error-badge"))]=j4;t4[l.j(mh("check-icon"))]=wv;t4[l.j(mh("render-quoted-string"))]=VJa;t4[l.j(mh("hydrate?"))]=zLa;t4[l.j(mh("handle-history-popstate"))]=LIa;t4[l.j(mh("render-result"))]=uJa;t4[l.j(mh("url-for"))]=cMa;t4[l.j(mh("react-root"))]=yLa;t4[l.j(mh("-\x3eexpanded-at"))]=iJa;var lPd=["nextjournal","clerk","render","code"],mPd=Ha(globalThis,lPd),u4;if(h(mPd))u4=mPd;else{var nPd={};ll(lPd,nPd);u4=nPd} -u4[l.j(mh("on-change-ext"))]=qwa;u4[l.j(mh("read-only"))]=SHd;u4[l.j(mh("use-dark-mode"))]=twa;u4[l.j(mh("setup-dark-mode!"))]=Wva;u4[l.j(mh("make-state"))]=uwa;u4[l.j(mh("add-style-ranges!"))]=gwa;u4[l.j(mh("default-extensions"))]=THd;u4[l.j(mh("get-theme"))]=pwa;u4[l.j(mh("style-line"))]=dwa;u4[l.j(mh("intersects?"))]=Yva;u4[l.j(mh("import-matching-language-parser"))]=ewa;u4[l.j(mh("make-view"))]=vwa;u4[l.j(mh("highlight-style"))]=fwa;u4[l.j(mh("syntax-highlight"))]=lwa; -u4[l.j(mh("!dark-mode?"))]=Uo;u4[l.j(mh("style-\x3ehiccup-tag"))]=Xva;u4[l.j(mh("local-storage-dark-mode-key"))]="clerk-darkmode";u4[l.j(mh("highlight-imported-language"))]=mwa;u4[l.j(mh("theme"))]=swa;u4[l.j(mh("rangeset-seq"))]=Vo;u4[l.j(mh("clojure-style-rangeset"))]=iwa;u4[l.j(mh("render-code"))]=Yo;u4[l.j(mh("editor"))]=X2;u4[l.j(mh("set-dark-mode!"))]=Uva;var oPd=["nextjournal","clerk","render","hooks"],pPd=Ha(globalThis,oPd),v4;if(h(pPd))v4=pPd;else{var qPd={};ll(oPd,qPd);v4=qPd} -v4[l.j(mh("use-ref"))]=Yn;v4[l.j(mh("use-watch"))]=Tsa;v4[l.j(mh("use-memo"))]=Zn;v4[l.j(mh("-\x3eWrappedState"))]=Ksa;v4[l.j(mh("use-promise"))]=Vsa;v4[l.j(mh("use-force-update"))]=Psa;v4[l.j(mh("use-sync-external-store"))]=Ssa;v4[l.j(mh("use-layout-effect"))]=R2;v4[l.j(mh("WrappedState"))]=Jsa;v4[l.j(mh("use-state-with-deps"))]=Qsa;v4[l.j(mh("use-dynamic-import"))]=Xsa;v4[l.j(mh("use-effect"))]=ao;v4[l.j(mh("use-d3-require"))]=bo;v4[l.j(mh("use-state"))]=Xn;v4[l.j(mh("use-callback"))]=$n; -v4[l.j(mh("use-error-handler"))]=Usa;var rPd=["nextjournal","clerk","render","navbar"],sPd=Ha(globalThis,rPd),w4;if(h(sPd))w4=sPd;else{var tPd={};ll(rPd,tPd);w4=tPd}w4[l.j(mh("mobile-backdrop"))]=Gwa;w4[l.j(mh("view"))]=dxa;w4[l.j(mh("!scroll-animation"))]=zwa;w4[l.j(mh("-\x3etoc-expanded-at"))]=bxa;w4[l.j(mh("render-items"))]=Zwa;w4[l.j(mh("close-button"))]=Pwa;w4[l.j(mh("local-storage-key"))]="clerk-navbar";w4[l.j(mh("navigate-or-scroll!"))]=Cwa;w4[l.j(mh("width"))]=220; -w4[l.j(mh("toc-panel"))]=$wa;w4[l.j(mh("scroll-to-anchor!"))]=Awa;w4[l.j(mh("mobile-width"))]=300;w4[l.j(mh("mobile?"))]=Dwa;w4[l.j(mh("stop-event!"))]=ywa;w4[l.j(mh("spring"))]=Fwa;w4[l.j(mh("open-button"))]=Vwa;var uPd=globalThis,vPd=null!=uPd?uPd:{};(function(){var a=function(){var b=vPd.reagent;if(null!=b)return b;b={};return vPd.reagent=b}().core;if(null!=a)return a;a={};return function(){var b=vPd.reagent;if(null!=b)return b;b={};return vPd.reagent=b}().core=a})().atom=rp; -var wPd={"with-let-values":Vn,"reactive?":msa,"-ratom-context":CMa,atom:Oo,"make-reaction":Tn,"make-track":Un,"track!":Q2},xPd=globalThis,yPd=null!=xPd?xPd:{},zPd;var APd=yPd.reagent;if(null!=APd)zPd=APd;else{var BPd={};zPd=yPd.reagent=BPd}var CPd=null!=zPd?zPd:{};CPd.ratom=no.B(CPd.ratom,function(a){Object.keys(a).forEach(function(b){a[mh(b)]=a[b];return delete a[b]});return a}(wPd));var DPd=globalThis;(null!=DPd?DPd:{}).global_eval=function(a){return eval.apply(globalThis,[a])}; -var Ima=new f(null,1,[q0,new f(null,1,[uEc,o4],null)],null);fa("nextjournal.clerk.cherry_env.cherry_compile_string",function(a){return Jma(a)});fa("nextjournal.clerk.cherry_env.eval_form",EMa);var EPd=uh(193);var Jv=function Jv(a){switch(arguments.length){case 1:return Jv.j(arguments[0]);case 2:return Jv.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Jv.j=function(a){return Kt(dv(),a)};Jv.B=function(a,b){b=de(Jh(b));if(null==b)return null;try{return new f(null,1,[un,Et(a,b)],null)}catch(c){if(c instanceof Error)return new f(null,1,[Pu,l.j(c.message)],null);throw c;}};Jv.aa=2; -var FPd=EPd.autocompletion({override:[bNa]}),Kv=function Kv(a){switch(arguments.length){case 1:return Kv.j(arguments[0]);case 2:return Kv.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Kv.j=function(a){return Kv.B(new f(null,1,[Lv,!0],null),a)}; -Kv.B=function(a,b){a=ce(a);var c=y.B(a,Lv),d=zu;try{var g=yg.j(C),k=rd.G(function(m,q){m=ce(m);var v=y.B(m,K),w=y.B(m,zs),A=Ij.B(b,new E(null,2,5,F,[xn,q],null)),D=ce(A),G=y.B(D,gi);A=y.B(D,Dl);if(Kf.B(G,rn))return Sl(m,new E(null,3,5,F,[xn,q,Hl],null),dNa(g,D));var Q=uoa(Zh(Yh(A))),U=function(){try{return fm.B(Q,h(w)?new f(null,1,[jj,w],null):null)}catch(ma){if(ma instanceof Error){var ja=ma;throw xh.G(["Clerk analysis failed reading block: ",l.j(Ng(ja))].join(""),new f(null,2,[rq,D,N,N.j(b)],null), -ja);}throw ma;}}();G=function(){var ja=eNa(U);return h(N.j(b))?Lf.G(ja,N,N.j(b)):ja}();var aa=dNa(g,bi.J(H.B([G,D],0)));G=Lf.G(G,Hl,aa);aa=cb(w)&&pn(U)?Lf.G(m,zs,iNa(U)):m;G=h(c)?$h.da(aa,new E(null,2,5,F,[xn,q],null),bi,G):aa;q=h(c)?Sl(G,new E(null,3,5,F,[xn,q,Myb],null),Zqa(A,hNa(v))):G;return h(h(c)?!ld(m,K):c)?bi.J(H.B([q,Pqa(U),new f(null,1,[K,zu],null)],0)):q},h(c)?bi.J(H.B([a,b],0)):a,Ki.j(Ec(xn.j(b))));return h(c)?kra(Eqa(Sqa(k))):k}finally{zu=d}};Kv.aa=2;var GPd=uh(198);var oNa=yg.j(C),HPd=function(){function a(d,g){var k=x4[ba(null==d?null:d)];if(null!=k)return k.B?k.B(d,g):k.call(null,d,g);k=x4._;if(null!=k)return k.B?k.B(d,g):k.call(null,d,g);throw jb("Specize.specize*",d);}function b(d){var g=x4[ba(null==d?null:d)];if(null!=g)return g.j?g.j(d):g.call(null,d);g=x4._;if(null!=g)return g.j?g.j(d):g.call(null,d);throw jb("Specize.specize*",d);}var c=null;c=function(d,g){switch(arguments.length){case 1:return b.call(this,d);case 2:return a.call(this,d,g)}throw Error("Invalid arity: "+ -arguments.length);};c.j=b;c.B=a;return c}(),x4=function x4(a){switch(arguments.length){case 1:return x4.j(arguments[0]);case 2:return x4.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};x4.j=function(a){return null!=a&&null!=a.ve?a.ve(a):HPd(a)};x4.B=function(a,b){return null!=a&&null!=a.we?a.we(a,b):HPd(a,b)};x4.aa=2;B.prototype.ve=function(){return x4(Nv(this))};B.prototype.we=function(){return x4(Nv(this))};n.prototype.ve=function(){return x4(Nv(this))}; -n.prototype.we=function(){return x4(Nv(this))};Pf.prototype.ve=function(){return Rv(this,this)};Pf.prototype.we=function(a,b){return Rv(b,this)};Sf.prototype.ve=function(){return Rv(this,this)};Sf.prototype.we=function(a,b){return Rv(b,this)}; -x4._=function(){function a(c){var d=(d=Oc(c))?xNa(c.name):d;return h(d)?Rv(d,c):Rv(mFd,c)}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return Rv(d,c)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return Rv(d,c)};return b}();var Qv=function Qv(a){switch(arguments.length){case 1:return Qv.j(arguments[0]);case 2:return Qv.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -Qv.j=function(a){var b=qNa(a);return h(b)?b:x4(a)};Qv.B=function(a,b){var c=qNa(a);return h(c)?c:x4(a,b)};Qv.aa=2;e=DNa.prototype;e.pa=function(a,b){return new DNa(this.form,this.Wf,this.Mf,this.vg,this.wf,b)};e.oa=function(){return this.Lk};e.ve=function(){return this};e.we=function(){return this};e.lh=lc;e.qg=function(a,b){a=this.Wf.j?this.Wf.j(b):this.Wf.call(null,b);return h(this.vg)?a:h(a)?b:Sv}; -e.rg=function(a,b){if(h(this.vg)){if(h(this.wf))return this.wf.j?this.wf.j(b):this.wf.call(null,b);throw Error("no unform fn for conformer");}return b};e.sg=function(a,b){return ENa(this.form,this.Wf,b,this.vg,this.wf)};e=GNa.prototype;e.pa=function(a,b){return new GNa(this.forms,this.Ig,this.Mf,this.specs,this.ng,b)};e.oa=function(){return this.Mk};e.ve=function(){return this};e.we=function(){return this};e.lh=lc;e.qg=function(a,b){return this.ng.j?this.ng.j(b):this.ng.call(null,b)}; -e.rg=function(a,b){return rd.G(function(c,d){return yNa(d,c)},b,Hd(this.Ig))};e.sg=function(a,b){return HNa.G?HNa.G(this.forms,this.Ig,b):HNa.call(null,this.forms,this.Ig,b)}; -var Vv=function Vv(a){var c=ce(a),d=y.B(c,Xv);a=r(d);var g=t(a);a=u(a);var k=y.B(c,Wv),m=r(k),q=t(m);m=u(m);var v=y.B(c,Bn),w=r(v);t(w);w=u(w);var A=y.B(c,Uv);c=y.B(c,NNa);return ne(vd,d)?JNa(g)?(d=Uv.j(g),d=Gd.B(A,h(k)?be([q,d]):d),a?(a=new f(null,4,[Xv,a,Wv,m,Bn,w,Uv,d],null),Vv.j?Vv.j(a):Vv.call(null,a)):INa(d)):new f(null,6,[Ov,fw,Xv,d,Uv,A,Wv,k,Bn,v,NNa,c],null):null},gw=function gw(a){a=Nv(a);var c=ce(a),d=y.B(c,Ov),g=y.B(c,Xv);a=y.B(c,Zv);var k=y.B(c,LNa);c=y.B(c,Bn);if(Fc.B(Tv,d))return!0; -if(Fc.B(null,d))return null;if(Fc.B(ew,d))return d=gw.j?gw.j(a):gw.call(null,a),h(d)?(a=FNa(cw(a),g,u(c)),!Md(Sv,a)):d;if(Fc.B(Yv,d))return(g=a===k)?g:gw.j?gw.j(a):gw.call(null,a);if(Fc.B(fw,d))return ne(gw,g);if(Fc.B(bw,d))return oe(gw,g);throw Error(["No matching clause: ",l.j(d)].join(""));},cw=function cw(a){a=Nv(a);var c=ce(a);a=y.B(c,Xv);var d=r(a),g=t(d);u(d);var k=y.B(c,Wv),m=x.G(k,0,null),q=y.B(c,Ov);d=y.B(c,Zv);var v=y.B(c,Uv);c=y.B(c,Bn);if(Fc.B(Tv,q))return v;if(Fc.B(null,q))return null; -if(Fc.B(ew,q))return g=cw.j?cw.j(d):cw.call(null,d),(k=Fc.B(g,dw))?d=k:(d=Ov.j(Nv(d)),k=new Pf(null,new f(null,2,[Yv,null,fw,null],null),null),d=k.j?k.j(d):k.call(null,d),d=h(d)?Uc(g):d,d=h(d)?d:null),h(d)?dw:FNa(g,a,c);if(Fc.B(Yv,q))return SNa(d,v,m);if(Fc.B(fw,q))return SNa(g,v,m);if(Fc.B(bw,q))return c=PNa(a,k,c,gw),a=x.G(c,0,null),a=x.G(a,0,null),c=x.G(c,1,null),c=x.G(c,0,null),a=null==a?dw:cw.j?cw.j(a):cw.call(null,a),h(c)?new md(c,a,null):a;throw Error(["No matching clause: ",l.j(q)].join("")); -},y4=function y4(a,b){a=Nv(a);a=ce(a);var d=y.B(a,Xv),g=r(d),k=t(g);u(g);g=y.B(a,Wv);x.G(g,0,null);var m=y.B(a,Ov),q=y.B(a,Zv),v=y.B(a,Uv);y.B(a,Bn);var w=y.B(a,NNa),A=y.B(a,WEd),D=Wf(g,d);if(Fc.B(Tv,m))return new E(null,1,5,F,[v],null);if(Fc.B(null,m))return new E(null,1,5,F,[yNa(a,b)],null);if(Fc.B(ew,m))return a=rd.G(function(G,Q){return yNa(Q,G)},b,Hd(d)),y4.B?y4.B(q,a):y4.call(null,q,a);if(Fc.B(Yv,m))return Fe.J(function(G){return y4.B?y4.B(q,G):y4.call(null,q,G)},H.B([b],0));if(Fc.B(fw,m))return h(w)? -Fe.J(function(G){return y4.B?y4.B(k,G):y4.call(null,k,G)},H.B([b],0)):Fe.J(function(G){if(ld(b,G)){var Q=D.j?D.j(G):D.call(null,G);G=y.B(b,G);return y4.B?y4.B(Q,G):y4.call(null,Q,G)}return null},H.B([g],0));if(Fc.B(bw,m)){if(h(A))return new E(null,1,5,F,[yNa(k,b)],null);d=x.G(b,0,null);a=x.G(b,1,null);d=D.j?D.j(d):D.call(null,d);return y4.B?y4.B(d,a):y4.call(null,d,a)}throw Error(["No matching clause: ",l.j(m)].join(""));},hw=function hw(a,b){a=Nv(a);var d=ce(a),g=y.B(d,Bn),k=y.B(d,LNa);a=y.B(d,Xv); -var m=r(a),q=t(m),v=u(m),w=y.B(d,Uv);m=y.B(d,Ov);var A=y.B(d,MNa),D=y.B(d,Wv),G=r(D),Q=t(G),U=u(G);G=y.B(d,axc);var aa=y.B(d,Zv);if(h(d)){if(Fc.B(Tv,m))return null;if(Fc.B(null,m))return a=CNa(d,b,d),Md(Sv,a)?null:INa(a);if(Fc.B(ew,m))return d=hw.B?hw.B(aa,b):hw.call(null,aa,b),h(d)?Fc.B(Tv,Ov.j(d))?(a=FNa(cw(d),a,u(g)),Md(Sv,a)?null:INa(a)):new f(null,5,[Ov,ew,Zv,d,axc,G,Xv,a,Bn,g],null):null;if(Fc.B(fw,m))return RNa(Vv(new f(null,4,[Xv,Jd(hw.B?hw.B(q,b):hw.call(null,q,b),v),Wv,D,Bn,g,Uv,w],null)), -h(gw(q))?function(){var ja=Vv(new f(null,4,[Xv,v,Wv,U,Bn,u(g),Uv,SNa(q,w,Q)],null));return hw.B?hw.B(ja,b):hw.call(null,ja,b)}():null);if(Fc.B(bw,m))return QNa(ng.B(function(ja){return hw.B?hw.B(ja,b):hw.call(null,ja,b)},a),D,g);if(Fc.B(Yv,m))return RNa($v(hw.B?hw.B(aa,b):hw.call(null,aa,b),k,w,A,g),h(gw(aa))?function(){var ja=$v(k,k,SNa(aa,w,null),A,g);return hw.B?hw.B(ja,b):hw.call(null,ja,b)}():null);throw Error(["No matching clause: ",l.j(m)].join(""));}return null};e=UNa.prototype; -e.pa=function(a,b){return new UNa(this.re,this.Mf,b)};e.oa=function(){return this.Nk};e.ve=function(){return this};e.we=function(){return this};e.lh=lc;e.qg=function(a,b){return null==b||Xc(b)?TNa(this.re,r(b)):Sv};e.rg=function(a,b){return y4(this.re,b)};e.sg=function(a,b){return uNa.B?uNa.B(this.re,b):uNa.call(null,this.re,b)}; -BNa(I8b,M(t1,M(bh,new E(null,1,5,F,[qxd],null),M(Lvc,M(IP,n_,qxd),M(IP,o_,qxd))),M(bh,new E(null,1,5,F,[Usd],null),M(IP,M(Pj,new E(null,1,5,F,[new E(null,2,5,F,[PV,KM],null)],null),new f(null,2,[n_,PV,o_,KM],null)),Usd))),ENa(M(t1,M(Pj,new E(null,1,5,F,[EV],null),M(Lvc,M(IP,n_,EV),M(IP,o_,EV))),M(Pj,new E(null,1,5,F,[EV],null),M(IP,M(Pj,new E(null,1,5,F,[new E(null,2,5,F,[PV,KM],null)],null),new f(null,2,[n_,PV,o_,KM],null)),EV))),function(a){return Wf(ng.B(n_,a),ng.B(o_,a))},null,!0,function(a){return ng.B(function(b){var c= -x.G(b,0,null);b=x.G(b,1,null);return new f(null,2,[n_,c,o_,b],null)},a)}));var WNa=!1,IPd=M(VS,Pq,M(crb,YT,M(t1,Ojb,uZa),M(VS,Pq,M(aw,sY))),kl,M(qqb,hOa,M(VS,Fhc,OY,kl,M(hT,sY)),kl,M(aw,sY))),JPd=new E(null,2,5,F,[Pq,kl],null),KPd=F,LPd=HNa(new E(null,3,5,F,[YT,M(t1,Ojb,uZa),M(VS,Pq,M(aw,sY))],null),new E(null,3,5,F,[ad,ENa(M(t1,Ojb,uZa),vd,null,!0,td),KNa(new E(null,1,5,F,[Pq],null),new E(null,1,5,F,[$v(fb,fb,Ke,!1,sY)],null),new E(null,1,5,F,[M(aw,sY)],null))],null),null),MPd,NPd=new E(null,2,5,F,[hOa,kl],null),OPd=new E(null,2,5,F,[KNa(new E(null,2,5,F,[Fhc,kl],null), -new E(null,2,5,F,[Zc,ONa(sY,fb)],null),new E(null,2,5,F,[OY,M(hT,sY)],null)),$v(fb,fb,Ke,!1,sY)],null),PPd=new E(null,2,5,F,[M(VS,Fhc,OY,kl,M(hT,sY)),M(aw,sY)],null);MPd=Lf.G(QNa(OPd,NPd,PPd),Hl,Kg());BNa(a1,IPd,KNa(JPd,new E(null,2,5,KPd,[LPd,MPd],null),new E(null,2,5,F,[M(crb,YT,M(t1,Ojb,uZa),M(VS,Pq,M(aw,sY))),M(qqb,hOa,M(VS,Fhc,OY,kl,M(hT,sY)),kl,M(aw,sY))],null))); -var QPd=M(VS,Hlb,M(aw,M(bh,new E(null,1,5,F,[bY],null),M(Pk,M(J1,M(YT,bY)),M(J1,M(lTc,bY))))),jOa,M(qqb,eFb,a1,uEb,M(VS,$s,M(hT,M(jHc,a1)),XHc,M(Uxb,OY)))),RPd=new E(null,2,5,F,[Hlb,jOa],null),SPd=F,TPd,UPd=M(Pj,new E(null,1,5,F,[EV],null),M(Pk,M(J1,M(YT,EV)),M(J1,M(lTc,EV))));TPd=$v(eOa,eOa,Ke,!1,UPd);var VPd=new E(null,2,5,F,[eFb,uEb],null),WPd=F,XPd=new E(null,2,5,F,[$s,XHc],null),YPd=F,ZPd=ONa(M(jHc,a1),Rv(a1,a1)),$Pd; -$Pd=Lf.G(QNa(new E(null,2,5,F,[Zc,INa(dw)],null),null,new E(null,2,5,F,[OY,dw],null)),WEd,OY);var aQd,bQd=new E(null,2,5,WPd,[a1,KNa(XPd,new E(null,2,5,YPd,[ZPd,$Pd],null),new E(null,2,5,F,[M(hT,M(jHc,a1)),M(Uxb,OY)],null))],null),cQd=new E(null,2,5,F,[a1,M(VS,$s,M(hT,M(jHc,a1)),XHc,M(Uxb,OY))],null);aQd=Lf.G(QNa(bQd,VPd,cQd),Hl,Kg()); -BNa(fOa,QPd,KNa(RPd,new E(null,2,5,SPd,[TPd,aQd],null),new E(null,2,5,F,[M(aw,M(bh,new E(null,1,5,F,[bY],null),M(Pk,M(J1,M(YT,bY)),M(J1,M(lTc,bY))))),M(qqb,eFb,a1,uEb,M(VS,$s,M(hT,M(jHc,a1)),XHc,M(Uxb,OY)))],null)));var z4=Lt(dY);kw.J=function(a,b,c,d){return Uc(c)?Nj.j(r(R.B(new z(null,Ug,null,1,null),d))):Nj.j(r(R.J(new z(null,Olb,null,1,null),new z(null,td(dOa(Ae.B(2,c))),null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,lOa,null,1,null),new z(null,td(xe.B(2,c)),null,1,null),H.B([d],0)))),null,1,null)],0))))};kw.aa=3;kw.ea=function(a){var b=t(a),c=u(a);a=t(c);var d=u(c);c=t(d);d=u(d);return this.J(b,a,c,d)}; -var A4=function A4(a){for(var c=[],d=arguments.length,g=0;;)if(ga?Ah(0,1<Number.MAX_SAFE_INTEGER||aa?4503599627370496+a-4503599627370496:a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the double closest to a and equal to a mathematical integer.\n If two values are equally close, return the even one.\n If a is ##NaN or ##Inf or ##-Inf or zero \x3d\x3e a\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#rint-double-"],null)],null),new f(null,3,[X,rOb,Wo, -Iha,Ra,new f(null,2,[V,M(new E(null,1,5,F,[OJ],null)),W,"Returns the exponent of d.\n If d is ##NaN, ##Inf, ##-Inf \x3d\x3e max_Float64_exponent + 1\n If d is zero or subnormal \x3d\x3e min_Float64_exponent - 1\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#getExponent-double-"],null)],null),new f(null,3,[X,Vqc,Wo,function(a){return Math.sinh(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[HE],null)),W,"Returns the hyperbolic sine of x, (e^x - e^-x)/2.\n If x is ##NaN \x3d\x3e ##NaN\n If x is ##Inf or ##-Inf or zero \x3d\x3e x\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sinh"], -null)],null),new f(null,3,[X,Ngd,Wo,function(a){return Math.sin(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the sine of an angle.\n If a is ##NaN, ##-Inf, ##Inf \x3d\x3e ##NaN\n If a is zero \x3d\x3e zero with the same sign as a\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sin"],null)],null),new f(null,3,[X,Hod,Wo,function(a){return Math.tan(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the tangent of an angle.\n If a is ##NaN, ##-Inf, ##Inf \x3d\x3e ##NaN\n If a is zero \x3d\x3e zero with the same sign as a\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/tan"], -null)],null),new f(null,3,[X,EBd,Wo,function(a){return Math.cbrt(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the cube root of a.\n If a is ##NaN \x3d\x3e ##NaN\n If a is ##Inf or ##-Inf \x3d\x3e a\n If a is zero \x3d\x3e zero with sign matching a\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt"],null)],null),new f(null,3,[X,ytd,Wo,function(a){return Math.cos(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the cosine of an angle.\n If a is ##NaN, ##-Inf, ##Inf \x3d\x3e ##NaN\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cos"], -null)],null),new f(null,3,[X,UEd,Wo,function(a,b){if(Number.isSafeInteger(a)&&Number.isSafeInteger(b)){var c=yd(a/b),d=0>a,g=0>b;return(d&&!g||!d&&g)&&c*b!==a?a-b*c- -b:a-b*c}throw xh.B("floor-mod called with non-safe-integer arguments",new f(null,2,[GTc,Number.isSafeInteger(a),Xkb,Number.isSafeInteger(b)],null));},Ra,new f(null,2,[V,M(new E(null,2,5,F,[HE,FL],null)),W,"Integer modulus x - (floorDiv(x, y) * y). Sign matches y and is in the\n range -|y| \x3c r \x3c |y|.\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorMod-long-long-"], -null)],null),new f(null,3,[X,MNc,Wo,function(a){if(a<=Number.MIN_SAFE_INTEGER||a>Number.MAX_SAFE_INTEGER)throw xh.B("Integer overflow",new f(null,1,[qj,"decrement-exact"],null));return a-1},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns a decremented by 1, throws ArithmeticException on overflow. "],null)],null),new f(null,3,[X,Mnb,Wo,function(a){if(isNaN(a)||-Infinity===a)return a;if(0===a)return-Number.MIN_VALUE;var b=new ArrayBuffer(8),c=new Float64Array(b);b=new Uint32Array(b);c[0]= -a;var d=b[zh],g=b[yh];d=0=v?Fha(a,b+b):a;if(0===(g-v|k-m))return 0*a;var w=Math.abs(a),A=Math.abs(b);d[0]=2097152>v?w+w>A?function(){var D=w-A;return D+D>=A?D-A:D}():w:function(){var D=.5*A;if(w>D){var G=w-A;return G>=D?G-A:G}return w}();c[zh]^=q;return d[0]}return a}return NaN},Ra,new f(null,2,[V,M(new E(null,2,5,F,[p9c,u0b],null)),W,"Returns the remainder per IEEE 754 such that\n remainder \x3d dividend - divisor * n\n where n is the integer closest to the exact value of dividend / divisor.\n If two integers are equally close, then n is the even one.\n If the remainder is zero, sign will match dividend.\n If dividend or divisor is ##NaN, or dividend is ##Inf or ##-Inf, or divisor is zero \x3d\x3e ##NaN\n If dividend is finite and divisor is infinite \x3d\x3e dividend\n\n Method: based on fmod return x-[x/p]chopped*p exactlp.\n Ported from: https://github.com/openjdk/jdk/blob/master/src/java.base/share/native/libfdlibm/e_remainder.c\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#IEEEremainder-double-double-"], -null)],null),new f(null,3,[X,Snc,Wo,wha,Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the natural logarithm (base e) of a.\n If a is ##NaN or negative \x3d\x3e ##NaN\n If a is ##Inf \x3d\x3e ##Inf\n If a is zero \x3d\x3e ##-Inf\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log"],null)],null),new f(null,3,[X,Wjc,Wo,function(a){return isNaN(a)?0:isFinite(a)?Math.round(a):Infinity===a?Number.MAX_SAFE_INTEGER:Number.MIN_SAFE_INTEGER},Ra, -new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the closest long to a. If equally close to two values, return the one\n closer to ##Inf.\n If a is ##NaN \x3d\x3e 0\n If a is ##-Inf \x3d\x3e js/Number.MIN_SAFE_INTEGER\n If a is ##Inf \x3d\x3e js/Number.MAX_SAFE_INTEGER\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round"],null)],null),new f(null,3,[X,dmd,Wo,function(a){if(null!=a)return Math.ceil(a);throw xh.B("Unexpected Null passed to ceil", -new f(null,1,[qj,"ceil"],null));},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the smallest double greater than or equal to a, and equal to a\n mathematical integer.\n If a is ##NaN or ##Inf or ##-Inf or already equal to an integer \x3d\x3e a\n Note that if a is `nil` then an exception will be thrown. This matches Clojure, rather than js/Math.ceil\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/ceil"],null)],null),new f(null,3,[X,toc, -Wo,function(a){return 57.29577951308232*a},Ra,new f(null,2,[V,M(new E(null,1,5,F,[ZH],null)),W,"Converts an angle in radians to an approximate equivalent angle in degrees.\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#toDegrees-double-"],null)],null),new f(null,3,[X,E2c,Wo,function(a){return Math.cosh(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[HE],null)),W,"Returns the hyperbolic cosine of x, (e^x + e^-x)/2.\n If x is ##NaN \x3d\x3e ##NaN\n If x is ##Inf or ##-Inf \x3d\x3e ##Inf\n If x is zero \x3d\x3e 1.0\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cosh"], -null)],null),new f(null,3,[X,uKb,Wo,function(a,b){return Math.pow(a,b)},Ra,new f(null,2,[V,M(new E(null,2,5,F,[GV,FV],null)),W,"Returns the value of a raised to the power of b.\n For more details on special cases, see:\n https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/pow"],null)],null),new f(null,3,[X,v0b,Wo,function(a){return Math.log1p(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[HE],null)),W,"Returns ln(1+x). For small values of x, log1p(x) is more accurate than\n log(1.0+x).\n If x is ##NaN or ##-Inf or \x3c -1 \x3d\x3e ##NaN\n If x is -1 \x3d\x3e ##-Inf\n If x is ##Inf \x3d\x3e ##Inf\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log1p"], -null)],null),new f(null,3,[X,LZb,Wo,function(a){return Math.log10(a)},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the logarithm (base 10) of a.\n If a is ##NaN or negative \x3d\x3e ##NaN\n If a is ##Inf \x3d\x3e ##Inf\n If a is zero \x3d\x3e ##-Inf\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log10"],null)],null),new f(null,3,[X,Gjb,Wo,function(a){if(a>Number.MAX_SAFE_INTEGER||aNumber.MAX_SAFE_INTEGER||a= -Number.MAX_SAFE_INTEGER||ab?new E(null,3,5,F,[Math.max(b,-2099),-512,tGd],null):new E(null,3,5,F,[Math.min(b,2099),512,sGd],null),d=x.G(c,0,null);b=x.G(c,1,null);c=x.G(c,2,null);var g=d>>8>>>23;g=(d+g&511)-g;a*=Ah(g+1023<<20&2146435072,0);for(d-=g;;){if(0===d)return a;d-=b;a*=c}},Ra,new f(null,2,[V,M(new E(null,2,5,F,[OJ,$qb],null)),W,"Returns d * 2^scaleFactor, scaling by a factor of 2. If the exponent\n is between min_Float64_exponent and max_Float64_exponent.\n scaleFactor is an integer\n If d is ##NaN \x3d\x3e ##NaN\n If d is ##Inf or ##-Inf \x3d\x3e ##Inf or ##-Inf respectively\n If d is zero \x3d\x3e zero of same sign as d\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#nextDown-double-"], -null)],null),new f(null,3,[X,v$c,Wo,function(a){if(null!=a)return Math.floor(a);throw xh.B("Unexpected Null passed to floor",new f(null,1,[qj,"floor"],null));},Ra,new f(null,2,[V,M(new E(null,1,5,F,[GV],null)),W,"Returns the largest double less than or equal to a, and equal to a\n mathematical integer.\n If a is ##NaN or ##Inf or ##-Inf or already equal to an integer \x3d\x3e a\n If a is less than zero but greater than -1.0 \x3d\x3e -0.0\n Note that if a is `nil` then an exception will be thrown. This matches Clojure, rather than js/Math.floor\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor"], -null)],null),new f(null,3,[X,vEb,Wo,function(){return Math.random()},Ra,new f(null,2,[V,M(Ke),W,"Returns a positive double between 0.0 and 1.0, chosen pseudorandomly with\n approximately random distribution. Not cryptographically secure. The seed is chosen internally\n and cannot be selected.\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random"],null)],null),new f(null,3,[X,$Fb,Wo,function(a,b){return Math.hypot(a,b)},Ra,new f(null,2,[V,M(new E(null, -2,5,F,[HE,FL],null)),W,"Returns sqrt(x^2 + y^2) without intermediate underflow or overflow.\n If x or y is ##Inf or ##-Inf \x3d\x3e ##Inf\n If x or y is ##NaN and neither is ##Inf or ##-Inf \x3d\x3e ##NaN\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot"],null)],null),new f(null,3,[X,uGc,Wo,function(a,b){var c=new ArrayBuffer(8),d=new Float64Array(c);c=new Uint32Array(c);return a>b?0!==a?(d[0]=a,a=c[zh],b=c[yh],b=0===(a&2147483648)?Bh(a,b,4294967295, -4294967295):Bh(a,b,0,1),a=x.G(b,0,null),b=x.G(b,1,null),c[zh]=a,c[yh]=b,d[0]):-Number.MIN_VALUE:aNumber.MAX_SAFE_INTEGER||aa,g=0>b;return(d&&!g||!d&&g)&&c*b!==a?c-1:c}throw xh.B("floor-div called with non-safe-integer arguments",new f(null,2,[GTc,Number.isSafeInteger(a),Xkb,Number.isSafeInteger(b)], -null));},Ra,new f(null,2,[V,M(new E(null,2,5,F,[HE,FL],null)),W,"Integer division that rounds to negative infinity (as opposed to zero).\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorDiv-long-long-"],null)],null)]),Lt($dc))]),eQd,bPd],0))],null);fa("nextjournal.clerk.sci_env.onmessage",FOa);fa("nextjournal.clerk.sci_env.eval_form",GOa);fa("nextjournal.clerk.sci_env.init",Fv); -fa("nextjournal.clerk.sci_env.ssr",function(a){a=Kj(a);Fv.j?Fv.j(a):Fv.call(null,a);a:{a=new E(null,1,5,F,[PKa],null);var b=RHd;Fsa();var c=Wua;Wua=!0;try{var d=GPd.renderToString(Io(b,a));break a}finally{Wua=c}d=void 0}return d}); -fa("nextjournal.clerk.sci_env.connect",function kQd(a){h(HOa.j(Bb(xv)))&&zg.da(xv,Lf,NKa,"Reconnecting…");var c=new WebSocket(a);c.onmessage=FOa;c.onopen=function(){return zg.da(xv,ci,NKa,HOa)};c.onclose=function(){var d=IOa();zg.B(xv,function(g){return Ii.G(Lf.G(g,NKa,0=Oc(a)?gBc:sRb,h=kb(g)?cg:Ed,l=Wi.B(", ",ug.B(function(p){var v=m,r=v.j,z=nm.B;var C=Eb(p);C=h.j?h.j(C):h.call(null,C);return[r.call(v,z.call(nm,C,d)),k(g)?", ":": ",m.j(nm.B(Gb(p),d))].join("")},t(a)));k(g)&&Eg.J(Em,eo,"cherry-cljs/lib/cljs_core.js",wo.B(Qd,Yf),y.B([g],0));return mm(Vl(k(g)?function(){var p=Gm.j(c);p=k(p)?[m.j(p),"."].join(""):"";return wu.da?wu.da("%s%s(%s)",p,g,l):wu.call(null,"%s%s(%s)",p,g, +l)}():wu.B?wu.B("({ %s })",l):wu.call(null,"({ %s })",l),c),b)});nm.N(null,Xf,function(a,b){Eg.J(Em,eo,"cherry-cljs/lib/cljs_core.js",wo.B(Qd,Yf),y.B([Nzc],0));var c=Gm.j(b);c=k(c)?[m.j(c),"."].join(""):"";c=wu.B?wu.B("%shash_set",c):wu.call(null,"%shash_set",c);a=bm(tm(b,a));a=wu.G?wu.G("%s%s",c,a):wu.call(null,"%s%s",c,a);return Vl(a,b)}); +var Vm=function Vm(a){switch(arguments.length){case 1:return Vm.j(arguments[0]);case 2:return Vm.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Vm.j=function(a){return Vm.B(a,null)};Vm.B=function(a,b){var c=xsa;xsa=GKa;try{return nm.B(a,gi.J(y.B([new f(null,1,[Ul,Jm],null),b],0)))}finally{xsa=c}};Vm.ba=2;var Fta=!1;w0.N(null,CXb,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);Fta=!0;b=Vf.G(b,km,!0);return nm.B(a,b)}); +var Ata=Gua(new f(null,6,[Vk,!0,Rk,!1,Qk,pd,Ei,new f(null,2,[fl,function(a){return lq.da(a,Vf,Zpc,!0)},k3b,function(a){return new B(null,CXb,new B(null,a,null,1,null),2,null)}],null),hk,ys,gk,new Xf(null,new f(null,1,[fKb,null],null),null)],null));var MC=function MC(a){switch(arguments.length){case 0:return MC.ca();case 1:return MC.j(arguments[0]);case 2:return MC.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(ga.value?"-":null,c=OAa(function(){var g=a.value;return 0>a.value?-g:g}(),a.base),d=function(){switch(Id(a.base)){case 8:return"0";case 10:return"";case 16:return"0x";default:return[m.j(a.base),"r"].join("")}}();return[b,m.j(d),m.j(c)].join("")};e.Wa=function(a,b){return vd(new Xf(null,new f(null,2,[dw,null,gq,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new Ou(this.value,this.base,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "value":case "base":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(dw,b):Vd.call(null,dw,b))?new Ou(c,this.base,this.fa,this.aa,null):k(Vd.B?Vd.B(gq,b):Vd.call(null,gq,b))?new Ou(this.value,c,this.fa,this.aa,null):new Ou(this.value,this.base,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,2,5,G,[new wd(dw,this.value,null),new wd(gq,this.base,null)],null),this.aa))}; +e.oa=function(a,b){return new Ou(this.value,this.base,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(Ou);e=Ru.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "k":return this.k;case "auto-resolved?":return this.cc;case "map-qualifier":return this.kc;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)};e.qk=tc;e.Zi=function(a,b){return Vf.G(this,U_,b)}; +e.$i=function(){return Vf.G(this,U_,null)};e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.keyword.KeywordNode{",", ","}",c,Ti.B(new E(null,3,5,G,[new E(null,2,5,G,[nr,this.k],null),new E(null,2,5,G,[oo,this.cc],null),new E(null,2,5,G,[U_,this.kc],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,3,new E(null,3,5,G,[nr,oo,U_],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa}; +e.jb=function(){return new Ru(this.k,this.cc,this.kc,this.fa,this.aa,this.ha)};e.va=function(){return 3+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-1681863292^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.k,b.k)&&Pc.B(this.cc,b.cc)&&Pc.B(this.kc,b.kc)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Co};e.nc=function(){return!1}; +e.oc=function(a,b){a=this.k;var c=this.cc,d=this.kc;b=me(b);b=A.B(b,jk);d=ZAa(d,$Aa(a,c));c=vg.B;k(oo.j(d))?(d=no.j(d),d=null==d?null:I.j(d),d=k(d)?d:wk,b=k(b)?b:TAa,b=b.j?b.j(d):b.call(null,d)):b=no.j(d);b=null==b?null:m.j(b);return a=c.call(vg,b,cg(a))};e.ab=function(){return[k(this.cc)?":":null,Cg.J(y.B([this.k],0))].join("")}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,3,[oo,null,U_,null,nr,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new Ru(this.k,this.cc,this.kc,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "k":case "auto-resolved?":case "map-qualifier":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(nr,b):Vd.call(null,nr,b))?new Ru(c,this.cc,this.kc,this.fa,this.aa,null):k(Vd.B?Vd.B(oo,b):Vd.call(null,oo,b))?new Ru(this.k,c,this.kc,this.fa,this.aa,null):k(Vd.B?Vd.B(U_,b):Vd.call(null,U_,b))?new Ru(this.k,this.cc,c,this.fa,this.aa,null):new Ru(this.k,this.cc,this.kc,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,3,5,G,[new wd(nr,this.k,null),new wd(oo,this.cc,null),new wd(U_,this.kc,null)],null),this.aa))}; +e.oa=function(a,b){return new Ru(this.k,this.cc,this.kc,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(Ru);e=dv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "whitespace":return this.Ge;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.whitespace.WhitespaceNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[Ao,this.Ge],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[Ao],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new dv(this.Ge,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1595850179^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.Ge,b.Ge)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Ao};e.nc=function(){return!0};e.oc=function(){return rBa()};e.ab=function(){return this.Ge};e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[Ao,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new dv(this.Ge,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "whitespace":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(Ao,b):Vd.call(null,Ao,b))?new dv(c,this.fa,this.aa,null):new dv(this.Ge,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(Ao,this.Ge,null)],null),this.aa))};e.oa=function(a,b){return new dv(this.Ge,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=fv.prototype; +e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "commas":return this.qe;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.whitespace.CommaNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[Xwc,this.qe],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[Xwc],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new fv(this.qe,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-551131754^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.qe,b.qe)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Xva};e.nc=function(){return!0};e.oc=function(){return rBa()};e.ab=function(){return this.qe};e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[Xwc,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new fv(this.qe,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "commas":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(Xwc,b):Vd.call(null,Xwc,b))?new fv(c,this.fa,this.aa,null):new fv(this.qe,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(Xwc,this.qe,null)],null),this.aa))};e.oa=function(a,b){return new fv(this.qe,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=gv.prototype; +e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "newlines":return this.Be;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.whitespace.NewlineNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[ofc,this.Be],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[ofc],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new gv(this.Be,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=979711303^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.Be,b.Be)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Yva};e.nc=function(){return!0};e.oc=function(){return rBa()};e.ab=function(){return Ed.call(null,this.Be)};e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[ofc,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new gv(this.Be,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "newlines":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(ofc,b):Vd.call(null,ofc,b))?new gv(c,this.fa,this.aa,null):new gv(this.Be,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(ofc,this.Be,null)],null),this.aa))};e.oa=function(a,b){return new gv(this.Be,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(dv);Iu(fv);Iu(gv); +uBa();var fwa=ev(" ");e=jv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "tag":return this.tag;case "prefix":return this.prefix;case "children":return this.children;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.meta.MetaNode{",", ","}",c,Ti.B(new E(null,3,5,G,[new E(null,2,5,G,[Fi,this.tag],null),new E(null,2,5,G,[no,this.prefix],null),new E(null,2,5,G,[wn,this.children],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,3,new E(null,3,5,G,[Fi,no,wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new jv(this.tag,this.prefix,this.children,this.fa,this.aa,this.ha)}; +e.va=function(){return 3+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1501447658^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.tag,b.tag)&&Pc.B(this.prefix,b.prefix)&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return this.tag};e.nc=function(){return!1};e.oc=function(a,b){b=Bu(this.children,b);a=x.G(b,0,null);b=x.G(b,1,null);return lq.G(b,gi,id(a)?a:ke([a,!0]))};e.ab=function(){return[m.j(this.prefix),m.j(Cu(this.children))].join("")}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,3,[wn,null,no,null,Fi,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new jv(this.tag,this.prefix,this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,b)};e.Rd=function(){return Oc(this.prefix)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "tag":case "prefix":case "children":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(Fi,b):Vd.call(null,Fi,b))?new jv(c,this.prefix,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(no,b):Vd.call(null,no,b))?new jv(this.tag,c,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))?new jv(this.tag,this.prefix,c,this.fa,this.aa,null):new jv(this.tag,this.prefix,this.children,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,3,5,G,[new wd(Fi,this.tag,null),new wd(no,this.prefix,null),new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new jv(this.tag,this.prefix,this.children,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(jv);e=kv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "auto-resolved?":return this.cc;case "prefix":return this.prefix;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.namespaced-map.MapQualifierNode{",", ","}",c,Ti.B(new E(null,2,5,G,[new E(null,2,5,G,[oo,this.cc],null),new E(null,2,5,G,[no,this.prefix],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,2,new E(null,2,5,G,[oo,no],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new kv(this.cc,this.prefix,this.fa,this.aa,this.ha)};e.va=function(){return 2+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-426705749^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.cc,b.cc)&&Pc.B(this.prefix,b.prefix)&&Pc.B(this.aa,b.aa)};e.pc=function(){return U_};e.nc=function(){return!1};e.oc=function(a,b){return k(this.cc)?(a=k(this.prefix)?I.j(this.prefix):wk,b=jk.j(b),b=k(b)?b:TAa,b.j?b.j(a):b.call(null,a)):I.j(this.prefix)};e.ab=function(){return[":",k(this.cc)?":":null,m.j(this.prefix)].join("")}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,2,[oo,null,no,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new kv(this.cc,this.prefix,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "auto-resolved?":case "prefix":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(oo,b):Vd.call(null,oo,b))?new kv(c,this.prefix,this.fa,this.aa,null):k(Vd.B?Vd.B(no,b):Vd.call(null,no,b))?new kv(this.cc,c,this.fa,this.aa,null):new kv(this.cc,this.prefix,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,2,5,G,[new wd(oo,this.cc,null),new wd(no,this.prefix,null)],null),this.aa))};e.oa=function(a,b){return new kv(this.cc,this.prefix,b,this.aa,this.ha)}; +e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=lv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "children":return this.children;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.namespaced-map.NamespacedMapNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[wn,this.children],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new lv(this.children,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=679326169^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Qma};e.nc=function(){return!1};e.oc=function(a,b){return Au.B(Vc(this.children),b)};e.ab=function(){return["#",m.j(Cu(this.children))].join("")}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[wn,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new lv(this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,zBa(b))};e.Rd=function(){return 1};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "children":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))?new lv(c,this.fa,this.aa,null):new lv(this.children,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new lv(this.children,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(kv);Iu(lv);e=mv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "tag":return this.tag;case "prefix":return this.prefix;case "sym":return this.Nb;case "children":return this.children;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.quote.QuoteNode{",", ","}",c,Ti.B(new E(null,4,5,G,[new E(null,2,5,G,[Fi,this.tag],null),new E(null,2,5,G,[no,this.prefix],null),new E(null,2,5,G,[Fw,this.Nb],null),new E(null,2,5,G,[wn,this.children],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,4,new E(null,4,5,G,[Fi,no,Fw,wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa}; +e.jb=function(){return new mv(this.tag,this.prefix,this.Nb,this.children,this.fa,this.aa,this.ha)};e.va=function(){return 4+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1712251858^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.tag,b.tag)&&Pc.B(this.prefix,b.prefix)&&Pc.B(this.Nb,b.Nb)&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return this.tag};e.nc=function(){return!1}; +e.oc=function(a,b){return new B(null,this.Nb,new B(null,u(Bu(this.children,b)),null,1,null),2,null)};e.ab=function(){return[m.j(this.prefix),m.j(Cu(this.children))].join("")};e.Wa=function(a,b){return vd(new Xf(null,new f(null,4,[wn,null,Fw,null,no,null,Fi,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new mv(this.tag,this.prefix,this.Nb,this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,b)}; +e.Rd=function(){return Oc(this.prefix)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "tag":case "prefix":case "sym":case "children":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(Fi,b):Vd.call(null,Fi,b))?new mv(c,this.prefix,this.Nb,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(no,b):Vd.call(null,no,b))?new mv(this.tag,c,this.Nb,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(Fw,b):Vd.call(null,Fw,b))?new mv(this.tag,this.prefix,c,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))?new mv(this.tag,this.prefix,this.Nb,c,this.fa,this.aa,null):new mv(this.tag,this.prefix,this.Nb,this.children,this.fa,Vf.G(this.aa, +b,c),null)};e.ua=function(){return t(Ti.B(new E(null,4,5,G,[new wd(Fi,this.tag,null),new wd(no,this.prefix,null),new wd(Fw,this.Nb,null),new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new mv(this.tag,this.prefix,this.Nb,this.children,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(mv);e=nv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "tag":return this.tag;case "prefix":return this.prefix;case "suffix":return this.suffix;case "sexpr-fn":return this.Bc;case "sexpr-count":return this.jd;case "children":return this.children;default:return A.G(this.aa,b,c)}}; +e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.reader-macro.ReaderNode{",", ","}",c,Ti.B(new E(null,6,5,G,[new E(null,2,5,G,[Fi,this.tag],null),new E(null,2,5,G,[no,this.prefix],null),new E(null,2,5,G,[Jq,this.suffix],null),new E(null,2,5,G,[wgc,this.Bc],null),new E(null,2,5,G,[Nhc,this.jd],null),new E(null,2,5,G,[wn,this.children],null)],null),this.aa))}; +e.Aa=function(){return new mf(0,this,6,new E(null,6,5,G,[Fi,no,Jq,wgc,Nhc,wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new nv(this.tag,this.prefix,this.suffix,this.Bc,this.jd,this.children,this.fa,this.aa,this.ha)};e.va=function(){return 6+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1051800113^Gc(this)}; +e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.tag,b.tag)&&Pc.B(this.prefix,b.prefix)&&Pc.B(this.suffix,b.suffix)&&Pc.B(this.Bc,b.Bc)&&Pc.B(this.jd,b.jd)&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return this.tag};e.nc=function(){return kb(this.Bc)};e.oc=function(a,b){if(k(this.Bc))return a=Bu(this.children,b),this.Bc.j?this.Bc.j(a):this.Bc.call(null,a);throw mi.B("unsupported operation",le);}; +e.ab=function(){return["#",m.j(this.prefix),m.j(Cu(this.children)),m.j(this.suffix)].join("")};e.Wa=function(a,b){return vd(new Xf(null,new f(null,6,[Jq,null,wn,null,Nhc,null,no,null,Fi,null,wgc,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new nv(this.tag,this.prefix,this.suffix,this.Bc,this.jd,this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,b)}; +e.Rd=function(){return Oc(this.prefix)+1};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "tag":case "prefix":case "suffix":case "sexpr-fn":case "sexpr-count":case "children":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(Fi,b):Vd.call(null,Fi,b))?new nv(c,this.prefix,this.suffix,this.Bc,this.jd,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(no,b):Vd.call(null,no,b))?new nv(this.tag,c,this.suffix,this.Bc,this.jd,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(Jq,b):Vd.call(null,Jq,b))?new nv(this.tag,this.prefix,c,this.Bc,this.jd,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(wgc,b):Vd.call(null,wgc,b))?new nv(this.tag,this.prefix,this.suffix,c,this.jd,this.children,this.fa, +this.aa,null):k(Vd.B?Vd.B(Nhc,b):Vd.call(null,Nhc,b))?new nv(this.tag,this.prefix,this.suffix,this.Bc,c,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))?new nv(this.tag,this.prefix,this.suffix,this.Bc,this.jd,c,this.fa,this.aa,null):new nv(this.tag,this.prefix,this.suffix,this.Bc,this.jd,this.children,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,6,5,G,[new wd(Fi,this.tag,null),new wd(no,this.prefix,null),new wd(Jq,this.suffix,null),new wd(wgc,this.Bc,null),new wd(Nhc,this.jd,null),new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new nv(this.tag,this.prefix,this.suffix,this.Bc,this.jd,this.children,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=ov.prototype;e.toString=function(){return this.ab(null)}; +e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "children":return this.children;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.reader-macro.ReaderMacroNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[wn,this.children],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new ov(this.children,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=856986356^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return NNb};e.nc=function(){return!1};e.oc=function(){return new B(null,pT,new B(null,this.ab(null),null,1,null),2,null)};e.ab=function(){return["#",m.j(Cu(this.children))].join("")}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[wn,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new ov(this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,b)};e.Rd=function(){return 1};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "children":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))?new ov(c,this.fa,this.aa,null):new ov(this.children,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new ov(this.children,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=pv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)}; +e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "children":return this.children;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)};e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.reader-macro.DerefNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[wn,this.children],null)],null),this.aa))}; +e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new pv(this.children,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-1560233006^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Kk};e.nc=function(){return!1}; +e.oc=function(a,b){return jt.B(p1b,Bu(this.children,b))};e.ab=function(){return["@",m.j(Cu(this.children))].join("")};e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[wn,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new pv(this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,b)};e.Rd=function(){return 1}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "children":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))?new pv(c,this.fa,this.aa,null):new pv(this.children,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new pv(this.children,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)}; +Iu(nv);Iu(ov);Iu(pv);e=qv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "pattern":return this.pattern;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.regex.RegexNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[Fy,this.pattern],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[Fy],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new qv(this.pattern,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=705094795^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.pattern,b.pattern)&&Pc.B(this.aa,b.aa)};e.pc=function(){return xk};e.nc=function(){return!1};e.oc=function(){return new B(null,TKc,new B(null,this.pattern,null,1,null),2,null)};e.ab=function(){return['#"',m.j(this.pattern),'"'].join("")}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[Fy,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new qv(this.pattern,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "pattern":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(Fy,b):Vd.call(null,Fy,b))?new qv(c,this.fa,this.aa,null):new qv(this.pattern,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(Fy,this.pattern,null)],null),this.aa))};e.oa=function(a,b){return new qv(this.pattern,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(qv);e=rv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "tag":return this.tag;case "format-string":return this.Zc;case "wrap-length":return this.od;case "seq-fn":return this.Tc;case "children":return this.children;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.seq.SeqNode{",", ","}",c,Ti.B(new E(null,5,5,G,[new E(null,2,5,G,[Fi,this.tag],null),new E(null,2,5,G,[Qud,this.Zc],null),new E(null,2,5,G,[lIc,this.od],null),new E(null,2,5,G,[wwb,this.Tc],null),new E(null,2,5,G,[wn,this.children],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,5,new E(null,5,5,G,[Fi,Qud,lIc,wwb,wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa}; +e.jb=function(){return new rv(this.tag,this.Zc,this.od,this.Tc,this.children,this.fa,this.aa,this.ha)};e.va=function(){return 5+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=580297420^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.tag,b.tag)&&Pc.B(this.Zc,b.Zc)&&Pc.B(this.od,b.od)&&Pc.B(this.Tc,b.Tc)&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return this.tag};e.nc=function(){return!1}; +e.oc=function(a,b){a=Bu(this.children,b);return this.Tc.j?this.Tc.j(a):this.Tc.call(null,a)};e.ab=function(){return Hu.J(this.Zc,y.B([Cu(this.children)],0))};e.Wa=function(a,b){return vd(new Xf(null,new f(null,5,[wn,null,Qud,null,wwb,null,lIc,null,Fi,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new rv(this.tag,this.Zc,this.od,this.Tc,this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,b)}; +e.Rd=function(){return this.od-1};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "tag":case "format-string":case "wrap-length":case "seq-fn":case "children":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(Fi,b):Vd.call(null,Fi,b))?new rv(c,this.Zc,this.od,this.Tc,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(Qud,b):Vd.call(null,Qud,b))?new rv(this.tag,c,this.od,this.Tc,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(lIc,b):Vd.call(null,lIc,b))?new rv(this.tag,this.Zc,c,this.Tc,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(wwb,b):Vd.call(null,wwb,b))?new rv(this.tag,this.Zc,this.od,c,this.children,this.fa,this.aa,null):k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))? +new rv(this.tag,this.Zc,this.od,this.Tc,c,this.fa,this.aa,null):new rv(this.tag,this.Zc,this.od,this.Tc,this.children,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,5,5,G,[new wd(Fi,this.tag,null),new wd(Qud,this.Zc,null),new wd(lIc,this.od,null),new wd(wwb,this.Tc,null),new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new rv(this.tag,this.Zc,this.od,this.Tc,this.children,b,this.aa,this.ha)}; +e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(rv);e=sv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "lines":return this.lines;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.stringz.StringNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[oW,this.lines],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[oW],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new sv(this.lines,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1538615006^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.lines,b.lines)&&Pc.B(this.aa,b.aa)};e.pc=function(){return w(this.lines)?toc:Co};e.nc=function(){return!1};e.oc=function(){return Wi.B("\n",ug.B(Io.B(zv,KBa),this.lines))};e.ab=function(){return KBa(Wi.B("\n",this.lines))}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[oW,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new sv(this.lines,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "lines":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(oW,b):Vd.call(null,oW,b))?new sv(c,this.fa,this.aa,null):new sv(this.lines,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(oW,this.lines,null)],null),this.aa))};e.oa=function(a,b){return new sv(this.lines,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(sv);e=tv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "value":return this.value;case "string-value":return this.qc;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.token.TokenNode{",", ","}",c,Ti.B(new E(null,2,5,G,[new E(null,2,5,G,[dw,this.value],null),new E(null,2,5,G,[hV,this.qc],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,2,new E(null,2,5,G,[dw,hV],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new tv(this.value,this.qc,this.fa,this.aa,this.ha)};e.va=function(){return 2+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1106307029^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.value,b.value)&&Pc.B(this.qc,b.qc)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Co};e.nc=function(){return!1};e.oc=function(){return this.value};e.ab=function(){return this.qc}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,2,[dw,null,hV,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new tv(this.value,this.qc,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "value":case "string-value":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(dw,b):Vd.call(null,dw,b))?new tv(c,this.qc,this.fa,this.aa,null):k(Vd.B?Vd.B(hV,b):Vd.call(null,hV,b))?new tv(this.value,c,this.fa,this.aa,null):new tv(this.value,this.qc,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,2,5,G,[new wd(dw,this.value,null),new wd(hV,this.qc,null)],null),this.aa))};e.oa=function(a,b){return new tv(this.value,this.qc,b,this.aa,this.ha)}; +e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=uv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "value":return this.value;case "string-value":return this.qc;case "map-qualifier":return this.kc;default:return A.G(this.aa,b,c)}}; +e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)};e.qk=tc;e.Zi=function(a,b){return Vf.G(this,U_,b)};e.$i=function(){return Vf.G(this,U_,null)};e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.token.SymbolNode{",", ","}",c,Ti.B(new E(null,3,5,G,[new E(null,2,5,G,[dw,this.value],null),new E(null,2,5,G,[hV,this.qc],null),new E(null,2,5,G,[U_,this.kc],null)],null),this.aa))}; +e.Aa=function(){return new mf(0,this,3,new E(null,3,5,G,[dw,hV,U_],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new uv(this.value,this.qc,this.kc,this.fa,this.aa,this.ha)};e.va=function(){return 3+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=2093419088^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.value,b.value)&&Pc.B(this.qc,b.qc)&&Pc.B(this.kc,b.kc)&&Pc.B(this.aa,b.aa)};e.pc=function(){return Co}; +e.nc=function(){return!1};e.oc=function(a,b){a=this.value;var c=this.kc;b=me(b);b=A.B(b,jk);var d=MBa(c,NBa(a));c=I.B;k(oo.j(d))?(d=no.j(d),d=null==d?null:I.j(d),d=k(d)?d:wk,b=k(b)?b:TAa,b=b.j?b.j(d):b.call(null,d)):b=no.j(d);b=null==b?null:m.j(b);return a=c.call(I,b,cg(a))};e.ab=function(){return this.qc};e.Wa=function(a,b){return vd(new Xf(null,new f(null,3,[U_,null,dw,null,hV,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new uv(this.value,this.qc,this.kc,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "value":case "string-value":case "map-qualifier":return!0;default:return vd(this.aa,b)}};e.qa=function(a,b,c){return k(Vd.B?Vd.B(dw,b):Vd.call(null,dw,b))?new uv(c,this.qc,this.kc,this.fa,this.aa,null):k(Vd.B?Vd.B(hV,b):Vd.call(null,hV,b))?new uv(this.value,c,this.kc,this.fa,this.aa,null):k(Vd.B?Vd.B(U_,b):Vd.call(null,U_,b))?new uv(this.value,this.qc,c,this.fa,this.aa,null):new uv(this.value,this.qc,this.kc,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,3,5,G,[new wd(dw,this.value,null),new wd(hV,this.qc,null),new wd(U_,this.kc,null)],null),this.aa))};e.oa=function(a,b){return new uv(this.value,this.qc,this.kc,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(tv);Iu(uv);e=wv.prototype;e.toString=function(){return this.ab(null)};e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "children":return this.children;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#rewrite-clj.node.uneval.UnevalNode{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[wn,this.children],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[wn],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new wv(this.children,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-1883175395^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.children,b.children)&&Pc.B(this.aa,b.aa)};e.pc=function(){return $Fc};e.nc=function(){return!0};e.oc=function(){throw mi.B("unsupported operation",le);};e.ab=function(){return["#_",m.j(Cu(this.children))].join("")}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[wn,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new wv(this.children,this.fa,ne(zh.B(this.aa,b)),null)};e.de=function(){return!0};e.ce=function(){return this.children};e.Sd=function(a,b){return Vf.G(this,wn,b)};e.Rd=function(){return 2};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "children":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(wn,b):Vd.call(null,wn,b))?new wv(c,this.fa,this.aa,null):new wv(this.children,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(wn,this.children,null)],null),this.aa))};e.oa=function(a,b){return new wv(this.children,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};Iu(wv);dv.prototype.rb=function(){return this};tv.prototype.rb=function(){return this};qv.prototype.rb=function(){return this};kv.prototype.rb=function(){return this};jv.prototype.rb=function(){return this};pv.prototype.rb=function(){return this};Ou.prototype.rb=function(){return this};sv.prototype.rb=function(){return this};Ru.prototype.rb=function(){return this};fv.prototype.rb=function(){return this};gv.prototype.rb=function(){return this};wv.prototype.rb=function(){return this};ov.prototype.rb=function(){return this}; +Nu.prototype.rb=function(){return this};uv.prototype.rb=function(){return this};lv.prototype.rb=function(){return this};Ju.prototype.rb=function(){return this};rv.prototype.rb=function(){return this};mv.prototype.rb=function(){return this};nv.prototype.rb=function(){return this};Mu.prototype.rb=function(){return this};var awa=uBa(),bwa=ev(" ");D.prototype.rb=function(){return aBa(this,!1)}; +Gu.string=function(a){a:{a=Tfa(a,new f(null,1,['"','\\"'],null));for(var b=Ue;;){var c=u(lg(/(\r\n|\r|\n)/,a));if(k(c)){var d=c;c=$w.B(a,d);d=ng.B(a,c+Oc(d));b=Qd.B(b,ng.G(a,0,c));a=d}else{a=Qd.B(b,a);break a}}}return LBa(a)};Gu._=function(a){if(jd(a)){var b=G;var c=Cg.J(y.B([a],0));c=I.j(ng.G(c,1,$w.B(c,"{")));b=new ov(new E(null,2,5,b,[vv(c),JBa(TBa(a))],null),null,null,null)}else b=vv(a);return QBa(b,a)};Gu["null"]=function(){return vv(null)}; +RegExp.prototype.rb=function(){return new qv(this.source,null,null,null)};E.prototype.rb=function(){return xv(HBa,this)};B.prototype.rb=function(){return xv(GBa,this)};Sd.prototype.rb=function(){return xv(GBa,this)};Xf.prototype.rb=function(){return xv(IBa,this)};Pd.prototype.rb=function(){return xv(GBa,this)};Jf.prototype.rb=function(){return QBa(JBa(TBa(this)),this)};f.prototype.rb=function(){return QBa(JBa(TBa(this)),this)}; +q.prototype.rb=function(){return CBa(new E(null,1,5,G,[vv(I.j(ng.B(m.j(this),2)))],null))};var Av=null,Vu=function(){var a=Dg.j(le),b=Dg.j(le),c=Dg.j(le),d=Dg.j(le),g=A.G(le,ms,Kg.ca?Kg.ca():Kg.call(null));return new Rg(I.B("rewrite-clj.parser.core","parse-next*"),Io.B(new q(function(){return kCa},Osb,H([po,J,U,M,R,P,N,Q,S,T,X],[!0,$c(c4c,new f(null,1,[NY,!0],null)),Czd,"rewrite_clj/parser/core.cljc",16,1,28,28,K(new E(null,1,5,G,[mV],null)),null,k(kCa)?kCa.K:null])),Uu),Gi,g,a,b,c,d)}();Vu.N(null,Co,function(a){return gCa(a)});Vu.N(null,kwa,function(a){return Tu(a)}); +Vu.N(null,mwa,function(a){return bBa(a,"Unmatched delimiter: %s",y.B([Uu(a)],0))});Vu.N(null,fi,function(a){return k(Av)?Su(a,"Unexpected EOF."):null});Vu.N(null,Ao,function(a){var b=Uu(a);return eBa(b)?new gv(hBa(a,eBa),null,null,null):dBa(b)?new fv(hBa(a,dBa),null,null,null):ev(hBa(a,fBa))});Vu.N(null,Bo,function(a){Tu(a);a=jBa(a);return new Ju(";",a,null,null,null)}); +Vu.N(null,Bi,function(a){Tu(a);var b=Uu(a);k(b)?Pc.B(b,":")?(a.Ba(null),a=qBa(a),a=aBa(a,!0)):a=aBa(qBa(a),!1):a=Su(a,"unexpected EOF while reading keyword.");return a});Vu.N(null,si,function(a){return LBa(cCa(a))});Vu.N(null,$a,function(a){Tu(a);return wBa($a,"^",Ev(a,$a,2))}); +Vu.N(null,lwa,function(a){Tu(a);var b=Uu(a);return Pc.B(null,b)?Su(a,"Unexpected EOF."):Pc.B("!",b)?mCa(a):Pc.B('"',b)?new qv(dCa(a),null,null,null):Pc.B("#",b)?lCa(a):Pc.B("'",b)?CBa(Dv(a,Ak,1,y.B([!0],0))):Pc.B("(",b)?new Mu(Cv(a,")"),null,null,null):Pc.B(":",b)?aCa(a):Pc.B("{",b)?IBa(Cv(a,"}")):Pc.B("\x3d",b)?EBa(Dv(a,Zva,1,y.B([!0],0))):Pc.B("^",b)?wBa(WPd,"#^",Dv(a,$a,2,y.B([!0],0))):Pc.B("?",b)?(a.Ba(null),new ov(function(){return Td(function(){switch(Uu(a)){case "(":return vv(I.j("?"));case "@":return a.Ba(null), +vv(I.j("?@"));default:return a.Wc(null,"?"),u(Ev(a,NNb,1))}}(),Ev(a,NNb,1))}(),null,null,null)):Pc.B("_",b)?PBa(Dv(a,$Fc,1,y.B([!0],0))):new ov(Ev(a,NNb,2),null,null,null)});Vu.N(null,Kk,function(a){a=Dv(a,Kk,1,y.B([!0],0));return gd(a)?new pv(a,null,null,null):new pv(new E(null,1,5,G,[a],null),null,null,null)});Vu.N(null,Mk,function(a){a:for(a=Dv(a,Mk,1,y.B([!0],0));;){if(gd(a)){a=new mv(Mk,"'",mh,a,null,null,null);break a}a=new E(null,1,5,G,[a],null)}return a}); +Vu.N(null,Ji,function(a){a:for(a=Dv(a,Ji,1,y.B([!0],0));;){if(gd(a)){a=new mv(Ji,"`",mh,a,null,null,null);break a}a=new E(null,1,5,G,[a],null)}return a});Vu.N(null,Nk,function(a){Tu(a);var b=Uu(a);if(Pc.B(b,"@"))a:for(a=Dv(a,Nk,1,y.B([!0],0));;){if(gd(a)){a=new mv(Ok,"~@",TRc,a,null,null,null);break a}a=new E(null,1,5,G,[a],null)}else a:for(a=Ev(a,Nk,1);;){if(gd(a)){a=new mv(Nk,"~",EDc,a,null,null,null);break a}a=new E(null,1,5,G,[a],null)}return a});Vu.N(null,ki,function(a){return GBa(Cv(a,")"))}); +Vu.N(null,li,function(a){return HBa(Cv(a,"]"))});Vu.N(null,oi,function(a){return JBa(Cv(a,"}"))});var ECa=new f(null,2,[vwa,!1,jk,TAa],null);var Rv=function Rv(a){switch(arguments.length){case 1:return Rv.j(arguments[0]);case 2:return Rv.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Rv.j=function(a){return Rv.B(a,zCa)}; +Rv.B=function(a,b){if(null==Ov(Mv,Mv(a))||null==Ov(Nv,Nv(a)))a:for(;;){var c=Nv(a);if(k(c))if(k(b.j?b.j(c):b.call(null,c)))if(k(qwa.j(a))){c=me(a);c=A.B(c,Fo);var d=bd(c);k(d)&&(x.G(d,0,null),d=x.G(d,1,null),a=Vf.J(a,Fo,cd(c),y.B([Do,d,dn,!0],0)))}else a=ICa(a,cn,cd);else{b=a;break a}else{b=a;break a}}else b=a;return b};Rv.ba=2;ze.B(m,Ml.B(1," "));var Hwa=new Xf(null,new f(null,8,[W$b,null,G7b,null,Wlb,null,HXc,null,No,null,R0c,null,AVc,null,y4c,null],null),null),bdd=new Xf(null,new f(null,11,[$a,null,NNb,null,li,null,Co,null,Ji,null,ki,null,Ak,null,Mk,null,Kk,null,Di,null,oi,null],null),null),cdd=new Xf(null,new f(null,3,[Ao,null,Xva,null,Bo,null],null),null),iDa=Io.B(new Xf(null,new f(null,1,["nextjournal.clerk",null],null),null),Xd),Yv=function Yv(a){switch(arguments.length){case 1:return Yv.j(arguments[0]);case 2:return Yv.B(arguments[0], +arguments[1]);case 3:return Yv.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Yv.j=function(a){return Yv.B(le,a)};Yv.B=function(a,b){var c=me(a);a=A.B(c,RUa);b=Yv.G(c,new f(null,2,[ap,Ue,Txa,mDa()],null),b);return Wf(k(a)?gi.J(y.B([b,Txa.j(b)],0)):b,new E(null,4,5,G,[ap,$o,fn,Xn],null))}; +Yv.G=function(a,b,c){a=me(a);a=A.B(a,RUa);b=Vf.G(b,go,wn.j(nCa(di(ci(c)))));c=me(b);A.B(c,go);A.B(c,ap);for(A.B(c,qcc);;){var d=me(b);b=d;c=A.B(d,go);var g=A.B(d,ap),h=A.B(d,qcc);d=u(c);if(k(d)){var l=d;b=k(function(){var p=xu(l);return bdd.j?bdd.j(p):bdd.call(null,p)}())?eo.da(eo.G(Vf.G(b,qcc,!0),go,Cc),ap,Qd,new f(null,3,[$h,Po,jn,zu(l),apa,Wf(Ah(ad(l),new f(null,4,[xj,N,ipa,Q,ai,P,Dpa,R],null)),new E(null,4,5,G,[N,Q,P,R],null))],null)):k(function(){var p=h;return k(p)?(p=xu(l),cdd.j?cdd.j(p):cdd.call(null, +p)):p}())?ei.da(eo.G(Vf.G(b,qcc,!Pc.B(xu(l),Bo)),go,Cc),new E(null,3,5,G,[ap,Oc(g)-1,jn],null),m,Sfa(zu(l))):k(k(a)?Pc.B(xu(l),Bo):a)?pDa(Vf.G(Vf.G(b,qcc,!1),go,ig.B(ek.B(WBa,XBa),c)),ze.B(m,ug.B(Io.B(OCa,VBa),hg.B(ek.B(WBa,XBa),c)))):eo.G(Vf.G(b,qcc,!1),go,Cc)}else return b}};Yv.ba=3;var Y6c=wh(184);var $6c=wh(186);Qi["null"]=function(){return lk};wd.prototype.wd=function(){return lk};$f.prototype.wd=function(){return Di};Sd.prototype.wd=function(){return RQb};Jf.prototype.wd=function(){return oi};gf.prototype.wd=function(){return Rfd};Qi._=function(){return lk};Of.prototype.wd=function(){return oi};Xf.prototype.wd=function(){return Di};E.prototype.wd=function(){return Rfd};Qi.string=function(){return FYc};Pd.prototype.wd=function(){return RQb};f.prototype.wd=function(){return oi};B.prototype.wd=function(){return RQb}; +var Ri=function Ri(a,b){var d=Qi(a);var g=new Xf(null,new f(null,4,[RQb,null,Rfd,null,Di,null,oi,null],null),null);d=g.j?g.j(d):g.call(null,d);if(k(d)){lc(b,Ib(b)+1);a=t(a);d=null;for(var h=0,l=0;;)if(l{},b),ia.removeEventListener("test",()=>{},b)}catch(c){}return a}();Ja("Opera");Ja("Trident")||Ja("MSIE");Ja("Edge");var Pdd=Ja("Gecko")&&!(Ga(taa().toLowerCase(),"webkit")&&!Ja("Edge"))&&!(Ja("Trident")||Ja("MSIE"))&&!Ja("Edge"),Qdd=Ga(taa().toLowerCase(),"webkit")&&!Ja("Edge");Qdd&&Ja("Mobile");Ja("Macintosh");Ja("Windows");Ja("Linux")||Ja("CrOS");var hTd=ia.navigator||null;hTd&&Ga(hTd.appVersion||"","X11");Ja("Android");rGa();Ja("iPad");Ja("iPod");rGa()||Ja("iPad")||Ja("iPod");Ga(taa().toLowerCase(),"kaios");gaa(Lx,Kx);var Sdd={2:"touch",3:"pen",4:"mouse"}; +Lx.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(Pdd){a:{try{iaa(b.nodeName);var g=!0;break a}catch(h){}g=!1}g||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY= +d.screenY||0):(this.offsetX=Qdd||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Qdd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId= +a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Sdd[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&Lx.Eg.preventDefault.call(this)};Lx.prototype.stopPropagation=function(){Lx.Eg.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Lx.prototype.preventDefault=function(){Lx.Eg.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ox="closure_listenable_"+(1E6*Math.random()|0);var sGa=0;Mx.prototype.add=function(a,b,c,d,g){var h=a.toString();a=this.listeners[h];a||(a=this.listeners[h]=[],this.Hg++);var l=xGa(a,b,d,g);-1>>0);var Hia=wh(187);var h7c=Dg.j(null),i7c=function(){var a={};a.warn=function(){function b(d){var g=null;if(0=ea-2?Go:0>=r?dq:r>=ha-2?rCa:null);De(l,Ib(h));var ma=null!=v?v:{};(function(){var ta=ma.style;if(null!=ta)return ta;ta={};return ma.style=ta})().left=[m.j(function(){var ta=ea-20;var Da=20+-W;var Aa=O+z;Da=Da>Aa?Da:Aa;return taDa?10:Da;return taa?rl(this,fq,ql(this,fq)+Oc(b)):(rl(this,fq,Oc(b)-a-1),rl(this,N,ql(this,N)+Oc(Qe.B(function(c){return Pc.B(c,"\n")},b)))),Vb(ql(this,gq),b);if(k(Pc.B?Pc.B(Number,a):Pc.call(null,Number,a)))return Wma(this,b);throw Error(["No matching clause: ",m.j(a)].join(""));};e=ul.prototype;e.xa=function(a,b){return this.ma(null,b,null)}; +e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "parent":return this.parent;case "section":return this.section;case "start-col":return this.Dc;case "indent":return this.indent;case "done-nl":return this.Ec;case "intra-block-nl":return this.Gc;case "prefix":return this.prefix;case "per-line-prefix":return this.Ic;case "suffix":return this.suffix;case "logical-block-callback":return this.Hc;default:return A.G(this.aa,b,c)}}; +e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#cljs.pprint.logical-block{",", ","}",c,Ti.B(new E(null,10,5,G,[new E(null,2,5,G,[Eo,this.parent],null),new E(null,2,5,G,[Tsc,this.section],null),new E(null,2,5,G,[uq,this.Dc],null),new E(null,2,5,G,[xq,this.indent],null),new E(null,2,5,G,[sq,this.Ec],null),new E(null,2,5,G,[yq,this.Gc],null),new E(null,2,5,G,[no,this.prefix],null),new E(null,2,5,G,[wq,this.Ic],null),new E(null,2,5,G,[Jq,this.suffix],null),new E(null,2,5, +G,[Iq,this.Hc],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,10,new E(null,10,5,G,[Eo,Tsc,uq,xq,sq,yq,no,wq,Jq,Iq],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,this.aa,this.ha)};e.va=function(){return 10+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1977012399^Gc(this)}; +e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.parent,b.parent)&&Pc.B(this.section,b.section)&&Pc.B(this.Dc,b.Dc)&&Pc.B(this.indent,b.indent)&&Pc.B(this.Ec,b.Ec)&&Pc.B(this.Gc,b.Gc)&&Pc.B(this.prefix,b.prefix)&&Pc.B(this.Ic,b.Ic)&&Pc.B(this.suffix,b.suffix)&&Pc.B(this.Hc,b.Hc)&&Pc.B(this.aa,b.aa)}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,10,[Jq,null,xq,null,Eo,null,Tsc,null,sq,null,uq,null,no,null,wq,null,Iq,null,yq,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "parent":case "section":case "start-col":case "indent":case "done-nl":case "intra-block-nl":case "prefix":case "per-line-prefix":case "suffix":case "logical-block-callback":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(Eo,b):Vd.call(null,Eo,b))?new ul(c,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(Tsc,b):Vd.call(null,Tsc,b))?new ul(this.parent,c,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(uq,b):Vd.call(null,uq,b))?new ul(this.parent,this.section,c,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,this.aa, +null):k(Vd.B?Vd.B(xq,b):Vd.call(null,xq,b))?new ul(this.parent,this.section,this.Dc,c,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(sq,b):Vd.call(null,sq,b))?new ul(this.parent,this.section,this.Dc,this.indent,c,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(yq,b):Vd.call(null,yq,b))?new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,c,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(no, +b):Vd.call(null,no,b))?new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,c,this.Ic,this.suffix,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(wq,b):Vd.call(null,wq,b))?new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,c,this.suffix,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(Jq,b):Vd.call(null,Jq,b))?new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,c,this.Hc,this.fa,this.aa,null):k(Vd.B?Vd.B(Iq,b):Vd.call(null,Iq,b))? +new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,c,this.fa,this.aa,null):new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,10,5,G,[new wd(Eo,this.parent,null),new wd(Tsc,this.section,null),new wd(uq,this.Dc,null),new wd(xq,this.indent,null),new wd(sq,this.Ec,null),new wd(yq,this.Gc,null),new wd(no,this.prefix,null),new wd(wq,this.Ic,null),new wd(Jq,this.suffix,null),new wd(Iq,this.Hc,null)],null),this.aa))};e.oa=function(a,b){return new ul(this.parent,this.section,this.Dc,this.indent,this.Ec,this.Gc,this.prefix,this.Ic,this.suffix,this.Hc,b,this.aa,this.ha)}; +e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=wl.prototype;e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "type-tag":return this.Fa;case "data":return this.data;case "trailing-white-space":return this.Bd;case "start-pos":return this.Ea;case "end-pos":return this.Da;default:return A.G(this.aa,b,c)}}; +e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)};e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#cljs.pprint.buffer-blob{",", ","}",c,Ti.B(new E(null,5,5,G,[new E(null,2,5,G,[hq,this.Fa],null),new E(null,2,5,G,[tw,this.data],null),new E(null,2,5,G,[kq,this.Bd],null),new E(null,2,5,G,[qq,this.Ea],null),new E(null,2,5,G,[pq,this.Da],null)],null),this.aa))}; +e.Aa=function(){return new mf(0,this,5,new E(null,5,5,G,[hq,tw,kq,qq,pq],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new wl(this.Fa,this.data,this.Bd,this.Ea,this.Da,this.fa,this.aa,this.ha)};e.va=function(){return 5+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1809113693^Gc(this)}; +e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.Fa,b.Fa)&&Pc.B(this.data,b.data)&&Pc.B(this.Bd,b.Bd)&&Pc.B(this.Ea,b.Ea)&&Pc.B(this.Da,b.Da)&&Pc.B(this.aa,b.aa)};e.Wa=function(a,b){return vd(new Xf(null,new f(null,5,[pq,null,kq,null,hq,null,qq,null,tw,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new wl(this.Fa,this.data,this.Bd,this.Ea,this.Da,this.fa,ne(zh.B(this.aa,b)),null)}; +e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "type-tag":case "data":case "trailing-white-space":case "start-pos":case "end-pos":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(hq,b):Vd.call(null,hq,b))?new wl(c,this.data,this.Bd,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(tw,b):Vd.call(null,tw,b))?new wl(this.Fa,c,this.Bd,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(kq,b):Vd.call(null,kq,b))?new wl(this.Fa,this.data,c,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(qq,b):Vd.call(null,qq,b))?new wl(this.Fa,this.data,this.Bd,c,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(pq,b):Vd.call(null,pq,b))?new wl(this.Fa,this.data, +this.Bd,this.Ea,c,this.fa,this.aa,null):new wl(this.Fa,this.data,this.Bd,this.Ea,this.Da,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,5,5,G,[new wd(hq,this.Fa,null),new wd(tw,this.data,null),new wd(kq,this.Bd,null),new wd(qq,this.Ea,null),new wd(pq,this.Da,null)],null),this.aa))};e.oa=function(a,b){return new wl(this.Fa,this.data,this.Bd,this.Ea,this.Da,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=xl.prototype; +e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "type-tag":return this.Fa;case "type":return this.type;case "logical-block":return this.Xa;case "start-pos":return this.Ea;case "end-pos":return this.Da;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#cljs.pprint.nl-t{",", ","}",c,Ti.B(new E(null,5,5,G,[new E(null,2,5,G,[hq,this.Fa],null),new E(null,2,5,G,[$h,this.type],null),new E(null,2,5,G,[vq,this.Xa],null),new E(null,2,5,G,[qq,this.Ea],null),new E(null,2,5,G,[pq,this.Da],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,5,new E(null,5,5,G,[hq,$h,vq,qq,pq],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa}; +e.jb=function(){return new xl(this.Fa,this.type,this.Xa,this.Ea,this.Da,this.fa,this.aa,this.ha)};e.va=function(){return 5+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-1640656800^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.Fa,b.Fa)&&Pc.B(this.type,b.type)&&Pc.B(this.Xa,b.Xa)&&Pc.B(this.Ea,b.Ea)&&Pc.B(this.Da,b.Da)&&Pc.B(this.aa,b.aa)}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,5,[pq,null,$h,null,vq,null,hq,null,qq,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new xl(this.Fa,this.type,this.Xa,this.Ea,this.Da,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "type-tag":case "type":case "logical-block":case "start-pos":case "end-pos":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(hq,b):Vd.call(null,hq,b))?new xl(c,this.type,this.Xa,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B($h,b):Vd.call(null,$h,b))?new xl(this.Fa,c,this.Xa,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(vq,b):Vd.call(null,vq,b))?new xl(this.Fa,this.type,c,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(qq,b):Vd.call(null,qq,b))?new xl(this.Fa,this.type,this.Xa,c,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(pq,b):Vd.call(null,pq,b))?new xl(this.Fa,this.type, +this.Xa,this.Ea,c,this.fa,this.aa,null):new xl(this.Fa,this.type,this.Xa,this.Ea,this.Da,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,5,5,G,[new wd(hq,this.Fa,null),new wd($h,this.type,null),new wd(vq,this.Xa,null),new wd(qq,this.Ea,null),new wd(pq,this.Da,null)],null),this.aa))};e.oa=function(a,b){return new xl(this.Fa,this.type,this.Xa,this.Ea,this.Da,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=yl.prototype; +e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "type-tag":return this.Fa;case "logical-block":return this.Xa;case "start-pos":return this.Ea;case "end-pos":return this.Da;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#cljs.pprint.start-block-t{",", ","}",c,Ti.B(new E(null,4,5,G,[new E(null,2,5,G,[hq,this.Fa],null),new E(null,2,5,G,[vq,this.Xa],null),new E(null,2,5,G,[qq,this.Ea],null),new E(null,2,5,G,[pq,this.Da],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,4,new E(null,4,5,G,[hq,vq,qq,pq],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa}; +e.jb=function(){return new yl(this.Fa,this.Xa,this.Ea,this.Da,this.fa,this.aa,this.ha)};e.va=function(){return 4+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-414877272^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.Fa,b.Fa)&&Pc.B(this.Xa,b.Xa)&&Pc.B(this.Ea,b.Ea)&&Pc.B(this.Da,b.Da)&&Pc.B(this.aa,b.aa)}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,4,[pq,null,vq,null,hq,null,qq,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new yl(this.Fa,this.Xa,this.Ea,this.Da,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "type-tag":case "logical-block":case "start-pos":case "end-pos":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(hq,b):Vd.call(null,hq,b))?new yl(c,this.Xa,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(vq,b):Vd.call(null,vq,b))?new yl(this.Fa,c,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(qq,b):Vd.call(null,qq,b))?new yl(this.Fa,this.Xa,c,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(pq,b):Vd.call(null,pq,b))?new yl(this.Fa,this.Xa,this.Ea,c,this.fa,this.aa,null):new yl(this.Fa,this.Xa,this.Ea,this.Da,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,4,5,G,[new wd(hq,this.Fa,null),new wd(vq,this.Xa,null),new wd(qq,this.Ea,null),new wd(pq,this.Da,null)],null),this.aa))};e.oa=function(a,b){return new yl(this.Fa,this.Xa,this.Ea,this.Da,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=zl.prototype;e.xa=function(a,b){return this.ma(null,b,null)}; +e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "type-tag":return this.Fa;case "logical-block":return this.Xa;case "start-pos":return this.Ea;case "end-pos":return this.Da;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#cljs.pprint.end-block-t{",", ","}",c,Ti.B(new E(null,4,5,G,[new E(null,2,5,G,[hq,this.Fa],null),new E(null,2,5,G,[vq,this.Xa],null),new E(null,2,5,G,[qq,this.Ea],null),new E(null,2,5,G,[pq,this.Da],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,4,new E(null,4,5,G,[hq,vq,qq,pq],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa}; +e.jb=function(){return new zl(this.Fa,this.Xa,this.Ea,this.Da,this.fa,this.aa,this.ha)};e.va=function(){return 4+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1365867980^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.Fa,b.Fa)&&Pc.B(this.Xa,b.Xa)&&Pc.B(this.Ea,b.Ea)&&Pc.B(this.Da,b.Da)&&Pc.B(this.aa,b.aa)}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,4,[pq,null,vq,null,hq,null,qq,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new zl(this.Fa,this.Xa,this.Ea,this.Da,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "type-tag":case "logical-block":case "start-pos":case "end-pos":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(hq,b):Vd.call(null,hq,b))?new zl(c,this.Xa,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(vq,b):Vd.call(null,vq,b))?new zl(this.Fa,c,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(qq,b):Vd.call(null,qq,b))?new zl(this.Fa,this.Xa,c,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(pq,b):Vd.call(null,pq,b))?new zl(this.Fa,this.Xa,this.Ea,c,this.fa,this.aa,null):new zl(this.Fa,this.Xa,this.Ea,this.Da,this.fa,Vf.G(this.aa,b,c),null)}; +e.ua=function(){return t(Ti.B(new E(null,4,5,G,[new wd(hq,this.Fa,null),new wd(vq,this.Xa,null),new wd(qq,this.Ea,null),new wd(pq,this.Da,null)],null),this.aa))};e.oa=function(a,b){return new zl(this.Fa,this.Xa,this.Ea,this.Da,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=Al.prototype;e.xa=function(a,b){return this.ma(null,b,null)}; +e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "type-tag":return this.Fa;case "logical-block":return this.Xa;case "relative-to":return this.gd;case "offset":return this.offset;case "start-pos":return this.Ea;case "end-pos":return this.Da;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#cljs.pprint.indent-t{",", ","}",c,Ti.B(new E(null,6,5,G,[new E(null,2,5,G,[hq,this.Fa],null),new E(null,2,5,G,[vq,this.Xa],null),new E(null,2,5,G,[vZ,this.gd],null),new E(null,2,5,G,[Lg,this.offset],null),new E(null,2,5,G,[qq,this.Ea],null),new E(null,2,5,G,[pq,this.Da],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,6,new E(null,6,5,G,[hq,vq,vZ,Lg,qq,pq],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa}; +e.jb=function(){return new Al(this.Fa,this.Xa,this.gd,this.offset,this.Ea,this.Da,this.fa,this.aa,this.ha)};e.va=function(){return 6+Oc(this.aa)};e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-1602780238^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.Fa,b.Fa)&&Pc.B(this.Xa,b.Xa)&&Pc.B(this.gd,b.gd)&&Pc.B(this.offset,b.offset)&&Pc.B(this.Ea,b.Ea)&&Pc.B(this.Da,b.Da)&&Pc.B(this.aa,b.aa)}; +e.Wa=function(a,b){return vd(new Xf(null,new f(null,6,[Lg,null,pq,null,vZ,null,vq,null,hq,null,qq,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new Al(this.Fa,this.Xa,this.gd,this.offset,this.Ea,this.Da,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "type-tag":case "logical-block":case "relative-to":case "offset":case "start-pos":case "end-pos":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(hq,b):Vd.call(null,hq,b))?new Al(c,this.Xa,this.gd,this.offset,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(vq,b):Vd.call(null,vq,b))?new Al(this.Fa,c,this.gd,this.offset,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(vZ,b):Vd.call(null,vZ,b))?new Al(this.Fa,this.Xa,c,this.offset,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(Lg,b):Vd.call(null,Lg,b))?new Al(this.Fa,this.Xa,this.gd,c,this.Ea,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(qq,b):Vd.call(null, +qq,b))?new Al(this.Fa,this.Xa,this.gd,this.offset,c,this.Da,this.fa,this.aa,null):k(Vd.B?Vd.B(pq,b):Vd.call(null,pq,b))?new Al(this.Fa,this.Xa,this.gd,this.offset,this.Ea,c,this.fa,this.aa,null):new Al(this.Fa,this.Xa,this.gd,this.offset,this.Ea,this.Da,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,6,5,G,[new wd(hq,this.Fa,null),new wd(vq,this.Xa,null),new wd(vZ,this.gd,null),new wd(Lg,this.offset,null),new wd(qq,this.Ea,null),new wd(pq,this.Da,null)],null),this.aa))}; +e.oa=function(a,b){return new Al(this.Fa,this.Xa,this.gd,this.offset,this.Ea,this.Da,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};var El=function(){var a=Dg.j(le),b=Dg.j(le),c=Dg.j(le),d=Dg.j(le),g=A.G(le,ms,Kg.ca?Kg.ca():Kg.call(null));return new Rg(I.B("cljs.pprint","write-token"),function(h,l){return hq.j(l)},Gi,g,a,b,c,d)}(); +El.N(null,jEa,function(a,b){var c=Iq.j(Ib(Ib(a)));k(c)&&(c.j?c.j(ho):c.call(null,ho));b=vq.j(b);c=no.j(b);k(c)&&Vb(gq.j(Ib(Ib(a))),c);a=ql(gq.j(Ib(Ib(a))),fq);De(uq.j(b),a);return De(xq.j(b),a)});El.N(null,kEa,function(a,b){var c=Iq.j(Ib(Ib(a)));k(c)&&(c.j?c.j(en):c.call(null,en));b=Jq.j(vq.j(b));return k(b)?Vb(gq.j(Ib(Ib(a))),b):null}); +El.N(null,nEa,function(a,b){var c=vq.j(b),d=xq.j(c),g=Lg.j(b);b=vZ.j(b);if(k(Pc.B?Pc.B(Rq,b):Pc.call(null,Rq,b)))a=Ib(uq.j(c));else if(k(Pc.B?Pc.B(wk,b):Pc.call(null,wk,b)))a=ql(gq.j(Ib(Ib(a))),fq);else throw Error(["No matching clause: ",m.j(b)].join(""));return De(d,g+a)});El.N(null,dEa,function(a,b){return Vb(gq.j(Ib(Ib(a))),tw.j(b))}); +El.N(null,iq,function(a,b){var c=Pc.B($h.j(b),mEa);c||(c=(c=!Pc.B($h.j(b),Up))?Ib(sq.j(vq.j(b))):c);k(c)?fna.B?fna.B(a,b):fna.call(null,a,b):(b=kq.j(Ib(Ib(a))),k(b)&&Vb(gq.j(Ib(Ib(a))),b));return Eg.da(Ib(a),Vf,kq,null)});var W7c=function(){var a=Dg.j(le),b=Dg.j(le),c=Dg.j(le),d=Dg.j(le),g=A.G(le,ms,Kg.ca?Kg.ca():Kg.call(null));return new Rg(I.B("cljs.pprint","emit-nl?"),function(h){return $h.j(h)},Gi,g,a,b,c,d)}();W7c.N(null,Qq,function(a,b,c){a=vq.j(a);return ana(b,a,c)}); +W7c.N(null,Kq,function(a,b,c){a=vq.j(a);return cna(b,a,c)});W7c.N(null,Up,function(a,b,c,d){a=vq.j(a);var g=Ib(yq.j(a));return k(g)?g:(d=!Hl(b,d))?d:cna(b,a,c)});W7c.N(null,mEa,function(){return!0});var Pl=function Pl(a,b){var d=gna(b);b=x.G(d,0,null);var g=x.G(d,1,null);k(b)&&Zma(a,b,!1);if(k(g)){d=dna(g);b=x.G(d,0,null);d=x.G(d,1,null);var h=u(g),l=W7c.da(h,a,b,ena(g));k(l)&&(fna(a,h),g=w(g));Hl(a,g)?a=g:(g=Pl.B?Pl.B(a,b):Pl.call(null,a,b),Pc.B(g,b)?(Zma(a,b,!1),a=d):a=qf.B(Ue,Ti.B(g,d)));return a}return null}; +e=eEa.prototype;e.oa=function(a,b){return new eEa(this.Qb,this.Mi,this.vm,this.lb,this.df,b)};e.na=function(){return this.rh};e.bb=function(){return this.df}; +e.Je=function(a,b){a=qb(b);if(k(Pc.B?Pc.B(String,a):Pc.call(null,String,a))){var c=kna(this,b);b=Pfa(c,/\s+$/,"");a=ng.B(c,b.length);var d=Dq.j(Ib(Ib(this)));if(Pc.B(d,Fq))return Rl(this),Vb(gq.j(Ib(Ib(this))),b),Eg.da(Ib(this),Vf,kq,a);d=Eq.j(Ib(Ib(this)));c=d+Oc(c);Eg.da(Ib(this),Vf,Eq,c);return Ql(this,new wl(dEa,b,a,d,c,null,null,null))}if(k(Pc.B?Pc.B(Number,a):Pc.call(null,Number,a)))return Pc.B(Dq.j(Ib(Ib(this))),Fq)?(Rl(this),b=Vb(gq.j(Ib(Ib(this))),b)):Pc.B(b,"\n")?b=kna(this,"\n"):(a=Eq.j(Ib(Ib(this))), +c=a+1,Eg.da(Ib(this),Vf,Eq,c),b=Fd(b),b=Ql(this,new wl(dEa,b,null,a,c,null,null,null))),b;throw Error(["No matching clause: ",m.j(a)].join(""));};e.Xd=function(){this.ki(null);return Wb(gq.j(Ib(Ib(this))))};e.ki=function(){return Pc.B(Dq.j(Ib(Ib(this))),cEa)?(Zma(this,rg.j(Ib(Ib(this))),!0),Eg.da(Ib(this),Vf,rg,Ue)):Rl(this)}; +var em=!0,fm=null,Wl=72,Xl=40,X7c=null,Y7c=null,Z7c=null,Cm=null,Bm=10,hm=0,dm=null,A1=function A1(a){for(var c=[],d=arguments.length,g=0;;)if(gc?-c:c);if(Oc(d)<=Oc(Pna)){var g=ug.B(Ona,Ch.j(d));g=Qna(g,1);var h=Vc(d);d=Jd(h,100);h=Kd(h,100);var l=0h)var r=x.B($7c,h);else{r=Jd(h,10);var z=Kd(h,10);r=0c?"minus ":null,dd(g)||dd(d)?dd(g)?d:[g,"th"].join(""):[g,", ",d].join("")].join("")],0))}else Mm(10,new f(null,5,[br,0,dr," ",fr,",",er,3,Xq,!0],null),pm(new E(null,1,5,G,[c],null))),g=Kd(c,100),c=11g,g=Kd(g,10),Hm.J(y.B([1===g&&c?"st":2===g&&c?"nd":3===g&&c?"rd":"th"],0))}return b}:function(b,c){c=vm(c);b=x.G(c,0,null);c=x.G(c,1,null);if(Pc.B(0,b))Hm.J(y.B(["zero"],0));else{var d=Kna(1E3,0>b?-b:b);Oc(d)<=Oc(Pna)?(d=ug.B(Ona,d),d=Qna(d,0), +Hm.J(y.B([[0>b?"minus ":null,d].join("")],0))):Mm(10,new f(null,5,[br,0,dr," ",fr,",",er,3,Xq,!0],null),pm(new E(null,1,5,G,[b],null)))}return c}}],null),new f(null,5,[Fr,"P",hr,le,Er,new Xf(null,new f(null,3,[Xq,null,Yq,null,Nr,null],null),null),Pr,le,Or,function(){return function(a,b){b=k(Xq.j(a))?xm(b,-1):b;a=k(Yq.j(a))?new E(null,2,5,G,["y","ies"],null):new E(null,2,5,G,["","s"],null);var c=vm(b);b=x.G(c,0,null);c=x.G(c,1,null);Hm.J(y.B([Pc.B(b,1)?u(a):Sc(a)],0));return c}}],null),new f(null, +5,[Fr,"C",hr,new f(null,1,[EEa,new E(null,2,5,G,[null,String],null)],null),Er,new Xf(null,new f(null,3,[Xq,null,Yq,null,Nr,null],null),null),Pr,le,Or,function(a){return k(Xq.j(a))?Tna:k(Yq.j(a))?Vna:Wna}],null),new f(null,5,[Fr,"F",hr,new f(null,5,[lr,new E(null,2,5,G,[null,Number],null),Wp,new E(null,2,5,G,[null,Number],null),nr,new E(null,2,5,G,[0,Number],null),pr,new E(null,2,5,G,[null,String],null),dr,new E(null,2,5,G,[" ",String],null)],null),Er,new Xf(null,new f(null,1,[Yq,null],null),null), +Pr,le,Or,function(){return coa}],null),new f(null,5,[Fr,"E",hr,new f(null,7,[lr,new E(null,2,5,G,[null,Number],null),Wp,new E(null,2,5,G,[null,Number],null),JEa,new E(null,2,5,G,[null,Number],null),nr,new E(null,2,5,G,[1,Number],null),pr,new E(null,2,5,G,[null,String],null),dr,new E(null,2,5,G,[" ",String],null),LEa,new E(null,2,5,G,[null,String],null)],null),Er,new Xf(null,new f(null,1,[Yq,null],null),null),Pr,le,Or,function(){return foa}],null),new f(null,5,[Fr,"G",hr,new f(null,7,[lr,new E(null, +2,5,G,[null,Number],null),Wp,new E(null,2,5,G,[null,Number],null),JEa,new E(null,2,5,G,[null,Number],null),nr,new E(null,2,5,G,[1,Number],null),pr,new E(null,2,5,G,[null,String],null),dr,new E(null,2,5,G,[" ",String],null),LEa,new E(null,2,5,G,[null,String],null)],null),Er,new Xf(null,new f(null,1,[Yq,null],null),null),Pr,le,Or,function(){return goa}],null),new f(null,5,[Fr,"$",hr,new f(null,4,[Wp,new E(null,2,5,G,[2,Number],null),sr,new E(null,2,5,G,[1,Number],null),lr,new E(null,2,5,G,[0,Number], +null),dr,new E(null,2,5,G,[" ",String],null)],null),Er,new Xf(null,new f(null,3,[Xq,null,Yq,null,Nr,null],null),null),Pr,le,Or,function(){return hoa}],null),new f(null,5,[Fr,"%",hr,new f(null,1,[Acc,new E(null,2,5,G,[1,Number],null)],null),Er,Yf,Pr,le,Or,function(){return function(a,b){a=Acc.j(a);for(var c=0;;)if(cthis.Lf?this.update(this.mh,56-this.Lf):this.update(this.mh,this.blockSize-(this.Lf-56));for(var c=this.blockSize-1;56<=c;c--)this.Uh[c]=b&255,b/=256;kpa(this,this.Uh);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.rc[c]>>d&255,++b;return a};lpa.prototype.Gm=tc;lpa.prototype.Hm=function(){return this.Zj};var Kr=function Kr(a){for(var c=[],d=arguments.length,g=0;;)if(g=Oc(b)&&we(function(c){return vd(a,c)},b)},ZCd,new f(null,5,[U,ZCd,S,K(new E(null,2,5,G,[bDb,dDb],null)),T,"Is set1 a superset of set2?",ft,!0,J,D3],null),null),new Sn(i1,iT,new f(null,5,[U,iT,S,K(new E(null,2,5,G,[Lqc,aLc],null),new E(null,3,5,G,[Lqc,aLc,fPc],null)), +T,"When passed 2 rels, returns the rel corresponding to the natural\n join. When passed an additional keymap, joins on the corresponding\n keys.",ft,!0,J,D3],null),null),new Sn(MC,O2b,new f(null,5,[U,O2b,S,K(Ue,new E(null,1,5,G,[cY],null),new E(null,2,5,G,[cY,bRc],null),new E(null,4,5,G,[cY,bRc,Yg,yCb],null)),T,"Return a set that is the union of the input sets",ft,!0,J,D3],null),null),new Sn(function(a,b){return ag(ug.B(function(c){return Ah(c,b)},a))},CZc,new f(null,5,[U,CZc,S,K(new E(null,2,5, +G,[Lqc,RYb],null)),T,"Returns a rel of the maps in xrel with the keys in kmap renamed to the vals in kmap",ft,!0,J,D3],null),null),new Sn(function(a,b){return Oc(a)<=Oc(b)&&we(function(c){return vd(b,c)},a)},lKb,new f(null,5,[U,lKb,S,K(new E(null,2,5,G,[bDb,dDb],null)),T,"Is set1 a subset of set2?",ft,!0,J,D3],null),null),new Sn(Si,s3c,new f(null,5,[U,s3c,S,K(new E(null,1,5,G,[cY],null),new E(null,2,5,G,[cY,bRc],null),new E(null,4,5,G,[cY,bRc,Yg,yCb],null)),T,"Return a set that is the first set without elements of the remaining sets", +ft,!0,J,D3],null),null),D3,new Sn(LC,Okc,new f(null,5,[U,Okc,S,K(new E(null,1,5,G,[cY],null),new E(null,2,5,G,[cY,bRc],null),new E(null,4,5,G,[cY,bRc,Yg,yCb],null)),T,"Return a set that is the intersection of the input sets",ft,!0,J,D3],null),null),new Sn(Mfa,iU,new f(null,5,[U,iU,S,K(new E(null,2,5,G,[Lqc,TX],null)),T,"Returns a map of the distinct values of ks in the xrel mapped to a\n set of the maps in xrel with the corresponding values of ks.",ft,!0,J,D3],null),null),new Sn(Ah,SHc,new f(null, +5,[U,SHc,S,K(new E(null,2,5,G,[DW,RYb],null)),T,"Returns the map with the keys in kmap renamed to the vals in kmap",ft,!0,J,D3],null),null)]),L$c,Gcd,K$c,new f(null,3,[Sk,Ecd,txb,new Sn(q1,txb,new f(null,5,[U,txb,S,K(new E(null,1,5,G,[ppb],null),new E(null,2,5,G,[new f(null,2,[Aw,new E(null,1,5,G,[TDd],null),hl,yZ],null),ppb],null),new E(null,4,5,G,[ppb,Rtc,TDd,yZ],null)),T,"Reads the first object from an cljs.tools.reader.reader-types/IPushbackReader.\n Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof.\n If no reader is provided, *in* will be used.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n cljs.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration\n is done by passing an opt map.\n\n opts is a map that can include the following keys:\n :eof - value to return on end-of-file. When not supplied, eof throws an exception.\n :readers - a map of tag symbols to data-reader functions to be considered before default-data-readers.\n When not supplied, only the default-data-readers will be used.\n :default - A function of two args, that will, if present and no reader is found for a tag,\n be called with the tag and the value.", +ft,!0,J,Ecd],null),null),pT,new Sn(Hk,pT,new f(null,5,[U,pT,S,K(new E(null,1,5,G,[RV],null),new E(null,2,5,G,[yZ,RV],null)),T,"Reads one object from the string s.\n Returns nil when s is nil or empty.\n\n Reads data in the edn format (subset of Clojure data):\n http://edn-format.org\n\n opts is a map as per cljs.tools.reader.edn/read",ft,!0,J,Ecd],null),null)],null),Bcd]);var iya=Qf(gya),qya=new f(null,4,[pjb,new f(null,2,[xp,Error,Zya,function(){var a=null;a=function(b,c,d){switch(arguments.length){case 1:return Error(b);case 2:return Error(b,c);case 3:return Error(b,c,d)}throw Error("Invalid arity: "+arguments.length);};a.j=function(b){return Error(b)};a.B=function(b,c){return Error(b,c)};a.G=function(b,c,d){return Error(b,c,d)};return a}()],null),b6b,S8a,MSc,new f(null,2,[xp,Xa,Zya,function(a){return new Xa(a)}],null),EGb,Rn],null),pya=new f(null,1,[$m,ls],null);var It=function It(a,b){if(pd(b))if(Pc.B(ch,u(b))){var d=ad(b);d=k(k(d)?N.j(d):d)?new f(null,2,[P,P.j(d),N,N.j(d)],null):null;k(d)&&(tr=d);try{var g=Cc(b);for(b=null;;)if(t(g)){var h=Cc(g),l=u(g);var p=It.B?It.B(a,l):It.call(null,a,l);g=h;b=p}else return b}finally{k(d)&&(tr=null)}}else{g=yk.ca();h=Fe(ke([g,new f(null,1,[0,new f(null,1,[it,le],null)],null)]));a=Vf.J(a,Hg,new E(null,2,5,G,[g,0],null),y.B([ot,h],0));b=Ms.G(a,b,!0);g=Oc(uo.B(Ib(h),new E(null,3,5,G,[g,0,it],null)));g=Yh.j(g);if(b instanceof +npa)return b=b.Ee(null),It.B?It.B(a,b):It.call(null,a,b);try{return Z(b,a,g)}catch(v){if(v instanceof Error)return g=v,wr(a,0,g,b);throw v;}}else{g=yk.ca();h=Fe(ke([g,new f(null,1,[0,new f(null,1,[it,le],null)],null)]));a=Vf.J(a,Hg,new E(null,2,5,G,[g,0],null),y.B([ot,h],0));b=Ms.B(a,b);g=Oc(uo.B(Ib(h),new E(null,3,5,G,[g,0,it],null)));g=Yh.j(g);try{return Z(b,a,g)}catch(v){if(v instanceof Error)return g=v,wr(a,0,g,b);throw v;}}};lc(Tua,It);lc(cwa,sya);e=Mo.prototype;e.xa=function(a,b){return this.ma(null,b,null)};e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "form":return this.form;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#nextjournal.clerk.viewer.ViewerEval{",", ","}",c,Ti.B(new E(null,1,5,G,[new E(null,2,5,G,[Zo,this.form],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,1,new E(null,1,5,G,[Zo],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new Mo(this.form,this.fa,this.aa,this.ha)};e.va=function(){return 1+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=-737905796^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.form,b.form)&&Pc.B(this.aa,b.aa)};e.Wa=function(a,b){return vd(new Xf(null,new f(null,1,[Zo,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new Mo(this.form,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "form":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(Zo,b):Vd.call(null,Zo,b))?new Mo(c,this.fa,this.aa,null):new Mo(this.form,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,1,5,G,[new wd(Zo,this.form,null)],null),this.aa))};e.oa=function(a,b){return new Mo(this.form,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)};e=Oo.prototype;e.xa=function(a,b){return this.ma(null,b,null)}; +e.ma=function(a,b,c){switch(b instanceof D?b.la:null){case "form":return this.form;case "f":return this.f;default:return A.G(this.aa,b,c)}};e.Va=function(a,b,c){return Cd.G(function(d,g){var h=x.G(g,0,null);g=x.G(g,1,null);return b.G?b.G(d,h,g):b.call(null,d,h,g)},c,this)}; +e.pa=function(a,b,c){return qg(b,function(d){return qg(b,tg,""," ","",c,d)},"#nextjournal.clerk.viewer.ViewerFn{",", ","}",c,Ti.B(new E(null,2,5,G,[new E(null,2,5,G,[Zo,this.form],null),new E(null,2,5,G,[cu,this.f],null)],null),this.aa))};e.Aa=function(){return new mf(0,this,2,new E(null,2,5,G,[Zo,cu],null),k(this.aa)?mc(this.aa):oe())};e.na=function(){return this.fa};e.jb=function(){return new Oo(this.form,this.f,this.fa,this.aa,this.ha)};e.va=function(){return 2+Oc(this.aa)}; +e.sa=function(){var a=this.ha;return null!=a?a:this.ha=a=1201497063^Gc(this)};e.ra=function(a,b){return null!=b&&this.constructor===b.constructor&&Pc.B(this.form,b.form)&&Pc.B(this.f,b.f)&&Pc.B(this.aa,b.aa)};e.Wa=function(a,b){return vd(new Xf(null,new f(null,2,[cu,null,Zo,null],null),null),b)?zh.B(Lb(qf.B(le,this),this.fa),b):new Oo(this.form,this.f,this.fa,ne(zh.B(this.aa,b)),null)};e.Ga=function(a,b){switch(b instanceof D?b.la:null){case "form":case "f":return!0;default:return vd(this.aa,b)}}; +e.qa=function(a,b,c){return k(Vd.B?Vd.B(Zo,b):Vd.call(null,Zo,b))?new Oo(c,this.f,this.fa,this.aa,null):k(Vd.B?Vd.B(cu,b):Vd.call(null,cu,b))?new Oo(this.form,c,this.fa,this.aa,null):new Oo(this.form,this.f,this.fa,Vf.G(this.aa,b,c),null)};e.ua=function(){return t(Ti.B(new E(null,2,5,G,[new wd(Zo,this.form,null),new wd(cu,this.f,null)],null),this.aa))};e.oa=function(a,b){return new Oo(this.form,this.f,b,this.aa,this.ha)};e.wa=function(a,b){return kd(b)?this.qa(null,Xc(b,0),Xc(b,1)):Cd.G(wb,this,b)}; +e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.j=function(a){var b=cu.j(this);return b.j?b.j(a):b.call(null,a)};e.B=function(a,b){var c=cu.j(this);return c.B?c.B(a,b):c.call(null,a,b)};Mo.prototype.Za=tc; +Mo.prototype.pa=function(a,b){Vb(b,"#viewer-eval ");return Vb(b,Cg.J(y.B([this.form],0)))};var w8c=new f(null,2,[Qlc,Ro,qMb,So],null),Ip=function Ip(a){switch(arguments.length){case 1:return Ip.j(arguments[0]);case 2:return Ip.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Ip.j=function(a){return k(Uo(a))?a:new f(null,1,[eu,a],null)};Ip.B=function(a,b){return Vf.G(Ip.j(a),gu,b)};Ip.ba=2; +var Sqa=qf.G(new f(null,1,[jFd,Xu],null),ug.j(Qh.B(function(a){return vg.B("nextjournal.clerk",cg(a))},function(a){return vg.B("nextjournal",cg(a))})),Qd.J(Hwa,nu,y.B([dJa],0))),kp=function kp(a){switch(arguments.length){case 2:return kp.B(arguments[0],arguments[1]);case 3:return kp.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};kp.B=function(a,b){return kp.G(a,null,b)}; +kp.G=function(a,b,c){var d=gi.J,g=y.B;b=k(b)?Tqa(b):null;c=Ip.j(c);a=id(a)&&dd(a)?c:Vf.G(c,gu,Uqa(a));return d.call(gi,g.call(y,[b,a],0))};kp.ba=3;var E1=function E1(a){for(var c=[],d=arguments.length,g=0;;)if(g>>b};A0[m.j(rh("-as-transient"))]=ac;A0[m.j(rh("dorun"))]=tS;A0[m.j(rh("pr-sequential-writer"))]=qg;A0[m.j(rh("simple-symbol?"))]=Zd;A0[m.j(rh("IIndexed"))]=jba;A0[m.j(rh("disj"))]=Tr;A0[m.j(rh("MultiIterator"))]=rda;A0[m.j(rh("IPrintWithWriter"))]=Hba;A0[m.j(rh("-\x3eUUID"))]=function(a,b){return new Sg(a,b)};A0[m.j(rh("IVector"))]=vba;A0[m.j(rh("IIterable"))]=Rba;A0[m.j(rh("-\x3eMultiIterator"))]=function(a){return new rda(a)}; +A0[m.j(rh("*2"))]=IR.Ri;A0[m.j(rh("eval"))]=Fma;A0[m.j(rh("Eduction"))]=Qea;A0[m.j(rh("cons"))]=Td;A0[m.j(rh("PersistentTreeSet"))]=$f;A0[m.j(rh("-\x3eHashSetIter"))]=function(a){return new rea(a)};A0[m.j(rh("floats"))]=Vca;A0[m.j(rh("TransientVector"))]=Jda;A0[m.j(rh("pos?"))]=bda;A0[m.j(rh("fnil"))]=wo;A0[m.j(rh("merge-with"))]=nn;A0[m.j(rh("nthrest"))]=jca;A0[m.j(rh("*warn-on-infer*"))]=!1;A0[m.j(rh("-find"))]=Db;A0[m.j(rh("sequential?"))]=gd;A0[m.j(rh("LongImpl"))]=la; +A0[m.j(rh("m3-mix-H1"))]=rc;A0[m.j(rh("RecordIter"))]=mf;A0[m.j(rh("-\x3eTransientArrayMap"))]=function(a,b,c){return new Vda(a,b,c)};A0[m.j(rh("prim-seq"))]=y;A0[m.j(rh("*print-level*"))]=pg;A0[m.j(rh("shuffle"))]=Bga;A0[m.j(rh("ChunkedSeq"))]=df;A0[m.j(rh("hash-keyword"))]=uha;A0[m.j(rh("find"))]=xd;A0[m.j(rh("alength"))]=bba;A0[m.j(rh("bit-xor"))]=aS;A0[m.j(rh("-\x3eIndexedSeq"))]=function(a,b,c){return new yc(a,b,c)};A0[m.j(rh("ObjMap"))]=Sa;A0[m.j(rh("unsigned-bit-shift-right"))]=ada; +A0[m.j(rh("ES6SetEntriesIterator"))]=Qda;A0[m.j(rh("neg?"))]=Md;A0[m.j(rh("Cons"))]=Sd;A0[m.j(rh("-remove-method"))]=ffa;A0[m.j(rh("-\x3eStringIter"))]=function(a,b){return new nda(a,b)};A0[m.j(rh("js-invoke"))]=rib;A0[m.j(rh("-\x3eList"))]=function(a,b,c,d,g){return new B(a,b,c,d,g)};A0[m.j(rh("m3-mix-K1"))]=qc;A0[m.j(rh("Iterate"))]=Me;A0[m.j(rh("unchecked-float"))]=Dca;A0[m.j(rh("undefined?"))]=xga;A0[m.j(rh("IMeta"))]=Jb;A0[m.j(rh("reduced?"))]=Jc;A0[m.j(rh("apply-to"))]=je; +A0[m.j(rh("disj!"))]=gS;A0[m.j(rh("-lookup"))]=MR;A0[m.j(rh("float?"))]=pca;A0[m.j(rh("ICloneable"))]=Iaa;A0[m.j(rh("IEncodeClojure"))]=Vea;A0[m.j(rh("booleans"))]=Qca;A0[m.j(rh("-\x3eArrayList"))]=function(a){return new tea(a)};A0[m.j(rh("RSeq"))]=Rc;A0[m.j(rh("int-array"))]=QM;A0[m.j(rh("set?"))]=fd;A0[m.j(rh("iterable?"))]=Yba;A0[m.j(rh("cat"))]=Bg;A0[m.j(rh("-\x3eES6EntriesIterator"))]=function(a){return new Pda(a)};A0[m.j(rh("divide"))]=IR.divide;A0[m.j(rh("-pr-writer"))]=Xb; +A0[m.j(rh("flush"))]=function(){return null};A0[m.j(rh("set-from-indexed-seq"))]=function(a){a=a.arr;a:for(var b=a.length,c=0,d=ac(Yf);;)if(c=Number.MIN_SAFE_INTEGER?a:null):b}throw Error(Ema(a));};A0[m.j(rh("-\x3eReduced"))]=function(a){return new cca(a)};A0[m.j(rh("chunk-buffer"))]=be;A0[m.j(rh("seqable?"))]=qd;A0[m.j(rh("symbol?"))]=vc;A0[m.j(rh("m3-hash-unencoded-chars"))]=mda;A0[m.j(rh("unchecked-char"))]=Bca;A0[m.j(rh("system-time"))]=Haa;A0[m.j(rh("NeverEquiv"))]=Mda; +A0[m.j(rh("-invoke"))]=$Q;A0[m.j(rh("coll?"))]=ed;A0[m.j(rh("get-in"))]=uo;A0[m.j(rh("fnext"))]=hca;A0[m.j(rh("IList"))]=Cba;A0[m.j(rh("ArrayNodeIterator"))]=aea;A0[m.j(rh("List"))]=B;A0[m.j(rh("-val"))]=Gb;A0[m.j(rh("bytes"))]=Rca;A0[m.j(rh("-\x3eObjMap"))]=function(a,b,c,d,g){return new Sa(a,b,c,d,g)};A0[m.j(rh("-seq"))]=Pb;var iRd=["nextjournal","clerk","viewer"],jRd=Qa(globalThis,iRd),B0;if(k(jRd))B0=jRd;else{var mRd={};Zm(iRd,mRd);B0=mRd}B0[m.j(rh("var-from-def?"))]=lra; +B0[m.j(rh("-\x3eviewers"))]=Kqa;B0[m.j(rh("!viewers"))]=tp;B0[m.j(rh("col-viewer"))]=e9c;B0[m.j(rh("update-viewers"))]=Xra;B0[m.j(rh("viewer-fn?"))]=Iqa;B0[m.j(rh("normalize-viewer"))]=Uqa;B0[m.j(rh("keyword-viewer"))]=G8c;B0[m.j(rh("process-blocks"))]=Csa;B0[m.j(rh("compute-expanded-at"))]=kta;B0[m.j(rh("css-class"))]=Nqa;B0[m.j(rh("viewer-for"))]=Ksa;B0[m.j(rh("markdown-viewer"))]=a9c;B0[m.j(rh("collect-expandable-paths"))]=lta;B0[m.j(rh("table-body-viewer"))]=msa;B0[m.j(rh("table-viewers"))]=uWd; +B0[m.j(rh("bounded-count-opts"))]=Psa;B0[m.j(rh("process-image-source"))]=Mra;B0[m.j(rh("process-wrapped-value"))]=qp;B0[m.j(rh("normalize-table-data"))]=ara;B0[m.j(rh("ideref-viewer"))]=S8c;B0[m.j(rh("count-viewers"))]=oJa;B0[m.j(rh("assign-closing-parens"))]=rq;B0[m.j(rh("-\x3eviewer-fn"))]=Ro;B0[m.j(rh("resolve-symbol-alias"))]=Jqa;B0[m.j(rh("demunge-ex-data"))]=cra;B0[m.j(rh("number-viewer"))]=D8c;B0[m.j(rh("count-bounded"))]=Wqa;B0[m.j(rh("var-viewer"))]=P8c; +B0[m.j(rh("table-error-viewer"))]=g9c;B0[m.j(rh("nil-viewer"))]=H8c;B0[m.j(rh("get-fetch-opts-n"))]=MJa;B0[m.j(rh("table-markup-viewer"))]=ksa;B0[m.j(rh("index?"))]=AIa;B0[m.j(rh("ensure-wrapped"))]=Ip;B0[m.j(rh("string-viewer"))]=C8c;B0[m.j(rh("md"))]=q9c;B0[m.j(rh("js-promise-viewer"))]=k9c;B0[m.j(rh("drop+take-xf"))]=Qsa;B0[m.j(rh("with-md-viewer"))]=hra;B0[m.j(rh("row"))]=u9c;B0[m.j(rh("open-graph-metas"))]=XGa;B0[m.j(rh("resilient-compare"))]=Esa;B0[m.j(rh("html"))]=p9c; +B0[m.j(rh("update-if"))]=uIa;B0[m.j(rh("default-viewers"))]=pra;B0[m.j(rh("transform-result"))]=Fra;B0[m.j(rh("plotly-viewer"))]=Z8c;B0[m.j(rh("table-viewer"))]=f9c;B0[m.j(rh("normalize-viewer-opts"))]=Tqa;B0[m.j(rh("get-*ns*"))]=hv;B0[m.j(rh("get-elision"))]=Zsa;B0[m.j(rh("result-viewer"))]=Vra;B0[m.j(rh("add-viewers!"))]=hKa;B0[m.j(rh("fallback-viewer"))]=U8c;B0[m.j(rh("viewer-eval?"))]=Qo;B0[m.j(rh("elision-viewer"))]=V8c;B0[m.j(rh("boolean-viewer"))]=I8c;B0[m.j(rh("ensure-sorted"))]=Fsa; +B0[m.j(rh("caption"))]=kKa;B0[m.j(rh("notebook-viewer"))]=n9c;B0[m.j(rh("rpad-vec"))]=Vqa;B0[m.j(rh("-\x3eviewer-eval"))]=So;B0[m.j(rh("markdown-viewers"))]=A8c;B0[m.j(rh("inherit-opts"))]=rsa;B0[m.j(rh("get-default-viewers"))]=qra;B0[m.j(rh("var?"))]=$u;B0[m.j(rh("table"))]=t9c;B0[m.j(rh("vega-lite-viewer"))]=$8c;B0[m.j(rh("make-!budget-opts"))]=dta;B0[m.j(rh("symbol-viewer"))]=F8c;B0[m.j(rh("js-array-viewer"))]=m9c;B0[m.j(rh("normalize-seq-of-seq"))]=Xqa;B0[m.j(rh("normalize-map-of-seq"))]=Zqa; +B0[m.j(rh("-\x3eViewerFn"))]=VGa;B0[m.j(rh("eval-cljs-str"))]=y0;B0[m.j(rh("merge-presentations"))]=nta;B0[m.j(rh("html-viewer"))]=Y8c;B0[m.j(rh("code-viewer"))]=b9c;B0[m.j(rh("tex"))]=w9c;B0[m.j(rh("present"))]=Ap;B0[m.j(rh("data-readers"))]=w8c;B0[m.j(rh("atom-var-name-\x3estate"))]=ysa;B0[m.j(rh("folded-code-block-viewer"))]=i9c;B0[m.j(rh("into-markup"))]=rp;B0[m.j(rh("normalize-seq-of-map"))]=Yqa;B0[m.j(rh("fragment"))]=G1;B0[m.j(rh("-\x3edisplay"))]=Kra;B0[m.j(rh("example-viewer"))]=z9c; +B0[m.j(rh("mathjax-viewer"))]=X8c;B0[m.j(rh("find-elision"))]=FJa;B0[m.j(rh("print-hide-result-deprecation-warning"))]=lKa;B0[m.j(rh("js-object-viewer"))]=l9c;B0[m.j(rh("ensure-wrapped-with-viewers"))]=np;B0[m.j(rh("wrapped-value?"))]=Uo;B0[m.j(rh("-\x3eviewer"))]=Xo;B0[m.j(rh("doc-url"))]=Vv;B0[m.j(rh("with-block-viewer"))]=Wra;B0[m.j(rh("table-head-viewer"))]=lsa;B0[m.j(rh("map-viewer"))]=O8c;B0[m.j(rh("md-image-\x3eviewer"))]=Qra;B0[m.j(rh("apply-viewers*"))]=Lsa;B0[m.j(rh("with-viewers"))]=dHa; +B0[m.j(rh("viewer-eval-viewer"))]=o9c;B0[m.j(rh("use-headers"))]=eHa;B0[m.j(rh("width"))]=Lqa;B0[m.j(rh("update-val"))]=F1;B0[m.j(rh("datafied?"))]=x8c;B0[m.j(rh("desc-\x3evalues"))]=Idd;B0[m.j(rh("present+paginate-children"))]=$sa;B0[m.j(rh("processed-keys"))]=Wsa;B0[m.j(rh("transform-html"))]=usa;B0[m.j(rh("extract-sync-atom-vars"))]=wsa;B0[m.j(rh("find-viewer"))]=Gsa;B0[m.j(rh("regex-viewer"))]=T8c;B0[m.j(rh("map-entry-viewer"))]=J8c;B0[m.j(rh("var-\x3esymbol"))]=psa; +B0[m.j(rh("mark-presented"))]=jp;B0[m.j(rh("row-viewer"))]=d9c;B0[m.j(rh("var-from-def-viewer"))]=mra;B0[m.j(rh("header"))]=TIa;B0[m.j(rh("vector-viewer"))]=L8c;B0[m.j(rh("char-viewer"))]=B8c;B0[m.j(rh("hash-sha1"))]=Ssa;B0[m.j(rh("katex-viewer"))]=W8c;B0[m.j(rh("with-viewer"))]=kp;B0[m.j(rh("number-hex-viewer"))]=E8c;B0[m.j(rh("-\x3eViewerEval"))]=UGa;B0[m.j(rh("ViewerFn"))]=Oo;B0[m.j(rh("examples-viewer"))]=A9c;B0[m.j(rh("hide-result"))]=J1;B0[m.j(rh("resolve-aliases"))]=WGa; +B0[m.j(rh("image-viewer"))]=R8c;B0[m.j(rh("vl"))]=s9c;B0[m.j(rh("process-sidenotes"))]=Lra;B0[m.j(rh("table-row-viewer"))]=nsa;B0[m.j(rh("mark-preserve-keys"))]=fra;B0[m.j(rh("with-viewer-extracting-opts"))]=E1;B0[m.j(rh("-\x3evalue"))]=Vo;B0[m.j(rh("process-viewer"))]=Vsa;B0[m.j(rh("read+inspect-viewer"))]=K8c;B0[m.j(rh("-\x3ebudget"))]=cta;B0[m.j(rh("sequential-viewer"))]=N8c;B0[m.j(rh("set-viewer"))]=M8c;B0[m.j(rh("apply-viewers"))]=op;B0[m.j(rh("md-toc-\x3enavbar-items"))]=$v; +B0[m.j(rh("fetch-all"))]=jHa;B0[m.j(rh("inspect-wrapped-values"))]=iHa;B0[m.j(rh("plotly"))]=r9c;B0[m.j(rh("present+paginate-string"))]=bta;B0[m.j(rh("hide-result-viewer"))]=y8c;B0[m.j(rh("rank-val"))]=Dsa;B0[m.j(rh("normalize-seq-to-vec"))]=$qa;B0[m.j(rh("map-\x3eViewerFn"))]=Hqa;B0[m.j(rh("throwable-viewer"))]=Q8c;B0[m.j(rh("index-path"))]=EIa;B0[m.j(rh("viewer-opts-normalization"))]=Sqa;B0[m.j(rh("assign-expanded-at"))]=mta;B0[m.j(rh("ViewerEval"))]=Mo;B0[m.j(rh("col"))]=v9c; +B0[m.j(rh("header-viewer"))]=vWd;B0[m.j(rh("make-elision"))]=Xsa;B0[m.j(rh("map-\x3eViewerEval"))]=Gqa;B0[m.j(rh("missing-pred"))]=ru;B0[m.j(rh("home?"))]=xIa;B0[m.j(rh("add-viewers"))]=Mp;B0[m.j(rh("table-missing-viewer"))]=jsa;B0[m.j(rh("inspect-fn"))]=fHa;B0[m.j(rh("-\x3eopts"))]=yp;B0[m.j(rh("notebook"))]=x9c;B0[m.j(rh("eval-cljs"))]=K1;B0[m.j(rh("-\x3efetch-opts"))]=Ysa;B0[m.j(rh("process-render-fn"))]=Rsa;B0[m.j(rh("apply-viewer-unwrapping-var-from-def"))]=ora;B0[m.j(rh("get-safe"))]=ip; +B0[m.j(rh("code-block-viewer"))]=h9c;B0[m.j(rh("reset-viewers!"))]=H1;B0[m.j(rh("code"))]=y9c;B0[m.j(rh("fragment-viewer"))]=z8c;B0[m.j(rh("throw-when-viewer-opts-invalid"))]=Rqa;B0[m.j(rh("assign-content-lengths"))]=ita;B0[m.j(rh("get-viewers"))]=zp;B0[m.j(rh("find-named-viewer"))]=Hsa;B0[m.j(rh("datafy-scope"))]=sra;B0[m.j(rh("tagged-value-viewer"))]=j9c;B0[m.j(rh("image"))]=I1;var nRd=["nextjournal","clerk","render"],pRd=Qa(globalThis,nRd),C0;if(k(pRd))C0=pRd;else{var qRd={};Zm(nRd,qRd);C0=qRd} +C0[m.j(rh("render-vega-lite"))]=CRa;C0[m.j(rh("!viewers"))]=tp;C0[m.j(rh("render-table-error"))]=OOa;C0[m.j(rh("render-promise"))]=rRa;C0[m.j(rh("mount"))]=vAa;C0[m.j(rh("nbsp"))]=F3;C0[m.j(rh("expand-button"))]=vza;C0[m.j(rh("expandable?"))]=lza;C0[m.j(rh("connection-status"))]=Vya;C0[m.j(rh("show-panel"))]=kPa;C0[m.j(rh("!panels"))]=jPa;C0[m.j(rh("consume-view-context"))]=fma;C0[m.j(rh("setup-router!"))]=jRa;C0[m.j(rh("patch-state!"))]=hAa;C0[m.j(rh("*reset-sync-atoms?*"))]=Ocd; +C0[m.j(rh("apply-patch"))]=fAa;C0[m.j(rh("set-reset-sync-atoms!"))]=NPa;C0[m.j(rh("listeners"))]=gRa;C0[m.j(rh("history-push-state"))]=CLa;C0[m.j(rh("handle-initial-load"))]=jQa;C0[m.j(rh("render-tagged-value"))]=J3;C0[m.j(rh("default-loading-view"))]="Loading...";C0[m.j(rh("!pending-clerk-eval-replies"))]=pu;C0[m.j(rh("html"))]=iTd.html;C0[m.j(rh("default-viewers"))]=iTd.pn;C0[m.j(rh("render-unreadable-edn"))]=Yya;C0[m.j(rh("set-viewers!"))]=Pza;C0[m.j(rh("reagent-atom?"))]=MKa; +C0[m.j(rh("process-eval-reply!"))]=pAa;C0[m.j(rh("render-elision"))]=LNa;C0[m.j(rh("render-coll"))]=GNa;C0[m.j(rh("-\x3eURL"))]=hLa;C0[m.j(rh("set-state!"))]=ou;C0[m.j(rh("render-table-with-sticky-header"))]=I3;C0[m.j(rh("result-css-class"))]=iza;C0[m.j(rh("re-eval-viewer-fns"))]=eAa;C0[m.j(rh("error-view"))]=Zt;C0[m.j(rh("triangle"))]=pza;C0[m.j(rh("toggle-expanded"))]=kza;C0[m.j(rh("!router"))]=iRa;C0[m.j(rh("html-viewer"))]=iTd.Xg;C0[m.j(rh("init"))]=Bw;C0[m.j(rh("valid-react-element?"))]=Qza; +C0[m.j(rh("render-throwable"))]=dPa;C0[m.j(rh("inspect"))]=Xt;C0[m.j(rh("!doc"))]=iu;C0[m.j(rh("expand-icon"))]=Scd;C0[m.j(rh("re-render"))]=mRa;C0[m.j(rh("path-from-url-hash"))]=rQa;C0[m.j(rh("render-map"))]=MNa;C0[m.j(rh("render-folded-code-block"))]=ZRa;C0[m.j(rh("render-notebook"))]=WLa;C0[m.j(rh("handle-anchor-click"))]=kLa;C0[m.j(rh("render-plotly"))]=ERa;C0[m.j(rh("sci-ns-unmap!"))]=bAa;C0[m.j(rh("handle-hashchange"))]=eRa;C0[m.j(rh("throwable-view"))]=Nza;C0[m.j(rh("ws-send!"))]=Xza; +C0[m.j(rh("remount?"))]=dAa;C0[m.j(rh("fetch!"))]=eza;C0[m.j(rh("with-dynamic-import"))]=xRa;C0[m.j(rh("container-el"))]=z0;C0[m.j(rh("closest-anchor-parent"))]=gLa;C0[m.j(rh("opts-\x3equery"))]=Wya;C0[m.j(rh("render-number"))]=YNa;C0[m.j(rh("render-string"))]=yza;C0[m.j(rh("intern-atoms!"))]=OPa;C0[m.j(rh("triangle-spacer"))]=Kcd;C0[m.j(rh("!eval-counter"))]=mza;C0[m.j(rh("dispatch"))]=tAa;C0[m.j(rh("render-html"))]=qRa;C0[m.j(rh("inspect-children"))]=bu;C0[m.j(rh("ErrorBoundary"))]=Icd; +C0[m.j(rh("read-string"))]=lMa;C0[m.j(rh("dark-mode-toggle"))]=Jya;C0[m.j(rh("root"))]=Wza;C0[m.j(rh("intern-atom!"))]=aAa;C0[m.j(rh("inspect-presented"))]=au;C0[m.j(rh("render-code"))]=Ska;C0[m.j(rh("with-d3-require"))]=AAa;C0[m.j(rh("render-mathjax"))]=HRa;C0[m.j(rh("clerk-eval"))]=mAa;C0[m.j(rh("render-katex"))]=GRa;C0[m.j(rh("render-code-block"))]=LRa;C0[m.j(rh("expand-style"))]=Jcd;C0[m.j(rh("exec-status"))]=Sya;C0[m.j(rh("sort!"))]=tOa;C0[m.j(rh("atom-changed"))]=$za; +C0[m.j(rh("sort-data"))]=xOa;C0[m.j(rh("x-icon"))]=Lcd;C0[m.j(rh("error-badge"))]=H3;C0[m.j(rh("check-icon"))]=Mcd;C0[m.j(rh("render-quoted-string"))]=UNa;C0[m.j(rh("hydrate?"))]=kRa;C0[m.j(rh("handle-history-popstate"))]=ELa;C0[m.j(rh("render-result"))]=eNa;C0[m.j(rh("url-for"))]=BAa;C0[m.j(rh("react-root"))]=uAa;C0[m.j(rh("-\x3eexpanded-at"))]=fza;var tRd=["nextjournal","clerk","render","code"],yRd=Qa(globalThis,tRd),D0;if(k(yRd))D0=yRd;else{var zRd={};Zm(tRd,zRd);D0=zRd} +D0[m.j(rh("on-change-ext"))]=Tka;D0[m.j(rh("read-only"))]=S7c;D0[m.j(rh("use-dark-mode"))]=Hza;D0[m.j(rh("setup-dark-mode!"))]=nza;D0[m.j(rh("make-state"))]=Uka;D0[m.j(rh("add-style-ranges!"))]=wza;D0[m.j(rh("default-extensions"))]=T7c;D0[m.j(rh("get-theme"))]=Fza;D0[m.j(rh("style-line"))]=Mka;D0[m.j(rh("intersects?"))]=Gka;D0[m.j(rh("import-matching-language-parser"))]=uza;D0[m.j(rh("make-view"))]=Vka;D0[m.j(rh("highlight-style"))]=Oka;D0[m.j(rh("syntax-highlight"))]=Bza; +D0[m.j(rh("!dark-mode?"))]=Bp;D0[m.j(rh("style-\x3ehiccup-tag"))]=Fka;D0[m.j(rh("local-storage-dark-mode-key"))]="clerk-darkmode";D0[m.j(rh("highlight-imported-language"))]=Cza;D0[m.j(rh("theme"))]=R7c;D0[m.j(rh("rangeset-seq"))]=kk;D0[m.j(rh("clojure-style-rangeset"))]=xza;D0[m.j(rh("render-code"))]=Ska;D0[m.j(rh("editor"))]=v1;D0[m.j(rh("set-dark-mode!"))]=hza;var BRd=["nextjournal","clerk","render","hooks"],CRd=Qa(globalThis,BRd),E0;if(k(CRd))E0=CRd;else{var ERd={};Zm(BRd,ERd);E0=ERd} +E0[m.j(rh("use-ref"))]=oj;E0[m.j(rh("use-watch"))]=Kya;E0[m.j(rh("use-memo"))]=pj;E0[m.j(rh("-\x3eWrappedState"))]=Iya;E0[m.j(rh("use-promise"))]=Gia;E0[m.j(rh("use-force-update"))]=Bia;E0[m.j(rh("use-sync-external-store"))]=Eia;E0[m.j(rh("use-layout-effect"))]=t1;E0[m.j(rh("WrappedState"))]=wia;E0[m.j(rh("use-state-with-deps"))]=Cia;E0[m.j(rh("use-dynamic-import"))]=Iia;E0[m.j(rh("use-effect"))]=rj;E0[m.j(rh("use-d3-require"))]=sj;E0[m.j(rh("use-state"))]=nj;E0[m.j(rh("use-callback"))]=qj; +E0[m.j(rh("use-error-handler"))]=Fia;var FRd=["nextjournal","clerk","render","navbar"],HRd=Qa(globalThis,FRd),F0;if(k(HRd))F0=HRd;else{var JRd={};Zm(FRd,JRd);F0=JRd}F0[m.j(rh("mobile-backdrop"))]=Oza;F0[m.j(rh("view"))]=SAa;F0[m.j(rh("!scroll-animation"))]=Iza;F0[m.j(rh("-\x3etoc-expanded-at"))]=zAa;F0[m.j(rh("render-items"))]=wAa;F0[m.j(rh("close-button"))]=gAa;F0[m.j(rh("local-storage-key"))]="clerk-navbar";F0[m.j(rh("navigate-or-scroll!"))]=Kza;F0[m.j(rh("width"))]=220; +F0[m.j(rh("toc-panel"))]=xAa;F0[m.j(rh("scroll-to-anchor!"))]=mma;F0[m.j(rh("mobile-width"))]=300;F0[m.j(rh("mobile?"))]=Lza;F0[m.j(rh("stop-event!"))]=hma;F0[m.j(rh("spring"))]=Kma;F0[m.j(rh("open-button"))]=oAa;var KRd=globalThis,LRd=null!=KRd?KRd:{};(function(){var a=function(){var b=LRd.reagent;if(null!=b)return b;b={};return LRd.reagent=b}().core;if(null!=a)return a;a={};return function(){var b=LRd.reagent;if(null!=b)return b;b={};return LRd.reagent=b}().core=a})().atom=fu; +var SWd={"with-let-values":ij,"reactive?":dia,"-ratom-context":wEa,atom:vk,"make-reaction":ej,"make-track":gj,"track!":s1},MRd=globalThis,NRd=null!=MRd?MRd:{},ORd;var PRd=NRd.reagent;if(null!=PRd)ORd=PRd;else{var SRd={};ORd=NRd.reagent=SRd}var TRd=null!=ORd?ORd:{};TRd.ratom=Ej.B(TRd.ratom,function(a){Object.keys(a).forEach(function(b){a[rh(b)]=a[b];return delete a[b]});return a}(SWd));var URd=globalThis;(null!=URd?URd:{}).global_eval=function(a){return eval.apply(globalThis,[a])}; +var Nta=new f(null,1,[XZ,new f(null,1,[AEc,Q3],null)],null);ka("nextjournal.clerk.cherry_env.cherry_compile_string",function(a){return Pta(a)});ka("nextjournal.clerk.cherry_env.eval_form",fSa);var $Wd=wh(193);var Gw=function Gw(a){switch(arguments.length){case 1:return Gw.j(arguments[0]);case 2:return Gw.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Gw.j=function(a){return $t(Qt(),a)};Gw.B=function(a,b){b=ne(Kh(b));if(null==b)return null;try{return new f(null,1,[Yo,sya(a,b)],null)}catch(c){if(c instanceof Error)return new f(null,1,[Zv,m.j(c.message)],null);throw c;}};Gw.ba=2; +var aXd=$Wd.autocompletion({override:[uUa]}),Hw=function Hw(a){switch(arguments.length){case 1:return Hw.j(arguments[0]);case 2:return Hw.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Hw.j=function(a){return Hw.B(new f(null,1,[RUa,!0],null),a)}; +Hw.B=function(a,b){a=me(a);var c=A.B(a,RUa),d=cv;try{var g=Dg.j(le),h=Cd.G(function(l,p){l=me(l);var v=A.B(l,J),r=A.B(l,Ps),z=uo.B(b,new E(null,2,5,G,[ap,p],null)),C=me(z),F=A.B(C,$h);z=A.B(C,jn);if(Uf.B(F,Po))return xo(l,new E(null,3,5,G,[ap,p,ln],null),yUa(g,C));var O=kBa(di(ci(z))),V=function(){try{return Au.B(O,k(r)?new f(null,1,[jk,r],null):null)}catch(ha){if(ha instanceof Error){var ea=ha;throw mi.G(["Clerk analysis failed reading block: ",m.j(Wg(ea))].join(""),new f(null,2,[Rq,C,M,M.j(b)], +null),ea);}throw ha;}}();F=function(){var ea=zUa(V);return k(M.j(b))?Vf.G(ea,M,M.j(b)):ea}();var W=yUa(g,gi.J(y.B([F,C],0)));F=Vf.G(F,ln,W);W=kb(r)&&Sv(V)?Vf.G(l,Ps,LUa(V)):l;F=k(c)?ei.da(W,new E(null,2,5,G,[ap,p],null),gi,F):W;p=k(c)?xo(F,new E(null,3,5,G,[ap,p,fyb],null),Pxa(z,KUa(v))):F;return k(k(c)?!vd(l,J):c)?gi.J(y.B([p,uxa(V),new f(null,1,[J,cv],null)],0)):p},k(c)?gi.J(y.B([a,b],0)):a,nk.j(Oc(ap.j(b))));return k(c)?Bya(Twa(xxa(h))):h}finally{cv=d}};Hw.ba=2;var Odd=wh(198);var yDa=Dg.j(le),bXd=function(){function a(d,g){var h=L3[aa(null==d?null:d)];if(null!=h)return h.B?h.B(d,g):h.call(null,d,g);h=L3._;if(null!=h)return h.B?h.B(d,g):h.call(null,d,g);throw rb("Specize.specize*",d);}function b(d){var g=L3[aa(null==d?null:d)];if(null!=g)return g.j?g.j(d):g.call(null,d);g=L3._;if(null!=g)return g.j?g.j(d):g.call(null,d);throw rb("Specize.specize*",d);}var c=null;c=function(d,g){switch(arguments.length){case 1:return b.call(this,d);case 2:return a.call(this,d,g)}throw Error("Invalid arity: "+ +arguments.length);};c.j=b;c.B=a;return c}(),L3=function L3(a){switch(arguments.length){case 1:return L3.j(arguments[0]);case 2:return L3.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};L3.j=function(a){return null!=a&&null!=a.Ke?a.Ke(a):bXd(a)};L3.B=function(a,b){return null!=a&&null!=a.Le?a.Le(a,b):bXd(a,b)};L3.ba=2;D.prototype.Ke=function(){return L3(bw(this))};D.prototype.Le=function(){return L3(bw(this))};n.prototype.Ke=function(){return L3(bw(this))}; +n.prototype.Le=function(){return L3(bw(this))};Xf.prototype.Ke=function(){return iw(this,this)};Xf.prototype.Le=function(a,b){return iw(b,this)};$f.prototype.Ke=function(){return iw(this,this)};$f.prototype.Le=function(a,b){return iw(b,this)}; +L3._=function(){function a(c){var d=(d=Yc(c))?FDa(c.name):d;return k(d)?iw(d,c):iw(hRd,c)}var b=null;b=function(c,d){switch(arguments.length){case 1:return a.call(this,c);case 2:return iw(d,c)}throw Error("Invalid arity: "+arguments.length);};b.j=a;b.B=function(c,d){return iw(d,c)};return b}();var gw=function gw(a){switch(arguments.length){case 1:return gw.j(arguments[0]);case 2:return gw.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +gw.j=function(a){var b=cw(a);return k(b)?b:L3(a)};gw.B=function(a,b){var c=cw(a);return k(c)?c:L3(a,b)};gw.ba=2;e=hVa.prototype;e.oa=function(a,b){return new hVa(this.form,this.ug,this.ig,this.$g,this.Uf,b)};e.na=function(){return this.Ah};e.Ke=function(){return this};e.Le=function(){return this};e.li=tc;e.Tg=function(a,b){a=this.ug.j?this.ug.j(b):this.ug.call(null,b);return k(this.$g)?a:k(a)?b:Jw}; +e.Ug=function(a,b){if(k(this.$g)){if(k(this.Uf))return this.Uf.j?this.Uf.j(b):this.Uf.call(null,b);throw Error("no unform fn for conformer");}return b};e.Vg=function(a,b){return LDa(this.form,this.ug,b,this.$g,this.Uf)};e=oVa.prototype;e.oa=function(a,b){return new oVa(this.forms,this.qh,this.ig,this.specs,this.Pg,b)};e.na=function(){return this.Jh};e.Ke=function(){return this};e.Le=function(){return this};e.li=tc;e.Tg=function(a,b){return this.Pg.j?this.Pg.j(b):this.Pg.call(null,b)}; +e.Ug=function(a,b){return Cd.G(function(c,d){return hw(d,c)},b,Rd(this.qh))};e.Vg=function(a,b){return ODa.G?ODa.G(this.forms,this.qh,b):ODa.call(null,this.forms,this.qh,b)}; +var nw=function nw(a){var c=me(a),d=A.B(c,Qw);a=t(d);var g=u(a);a=w(a);var h=A.B(c,Pw),l=t(h),p=u(l);l=w(l);var v=A.B(c,cp),r=t(v);u(r);r=w(r);var z=A.B(c,Lw);c=A.B(c,uVa);return we(Ed,d)?PDa(g)?(d=Lw.j(g),d=Qd.B(z,k(h)?ke([p,d]):d),a?(a=new f(null,4,[Qw,a,Pw,l,cp,r,Lw,d],null),nw.j?nw.j(a):nw.call(null,a)):mw(d)):new f(null,6,[Iw,Vw,Qw,d,Lw,z,Pw,h,cp,v,uVa,c],null):null},Cw=function Cw(a){a=bw(a);var c=me(a),d=A.B(c,Iw),g=A.B(c,Qw);a=A.B(c,Sw);var h=A.B(c,rVa);c=A.B(c,cp);if(Pc.B(Kw,d))return!0; +if(Pc.B(null,d))return null;if(Pc.B(AVa,d))return d=Cw.j?Cw.j(a):Cw.call(null,a),k(d)?(a=MDa(yw(a),g,w(c)),!Vd(Jw,a)):d;if(Pc.B(Rw,d))return(g=a===h)?g:Cw.j?Cw.j(a):Cw.call(null,a);if(Pc.B(Vw,d))return we(Cw,g);if(Pc.B(vVa,d))return xe(Cw,g);throw Error(["No matching clause: ",m.j(d)].join(""));},yw=function yw(a){a=bw(a);var c=me(a);a=A.B(c,Qw);var d=t(a),g=u(d);w(d);var h=A.B(c,Pw),l=x.G(h,0,null),p=A.B(c,Iw);d=A.B(c,Sw);var v=A.B(c,Lw);c=A.B(c,cp);if(Pc.B(Kw,p))return v;if(Pc.B(null,p))return null; +if(Pc.B(AVa,p))return g=yw.j?yw.j(d):yw.call(null,d),(h=Pc.B(g,Uw))?d=h:(d=Iw.j(bw(d)),h=new Xf(null,new f(null,2,[Rw,null,Vw,null],null),null),d=h.j?h.j(d):h.call(null,d),d=k(d)?dd(g):d,d=k(d)?d:null),k(d)?Uw:MDa(g,a,c);if(Pc.B(Rw,p))return WDa(d,v,l);if(Pc.B(Vw,p))return WDa(g,v,l);if(Pc.B(vVa,p))return c=UDa(a,h,c,Cw),a=x.G(c,0,null),a=x.G(a,0,null),c=x.G(c,1,null),c=x.G(c,0,null),a=null==a?Uw:yw.j?yw.j(a):yw.call(null,a),k(c)?new wd(c,a,null):a;throw Error(["No matching clause: ",m.j(p)].join("")); +},M3=function M3(a,b){a=bw(a);a=me(a);var d=A.B(a,Qw),g=t(d),h=u(g);w(g);g=A.B(a,Pw);x.G(g,0,null);var l=A.B(a,Iw),p=A.B(a,Sw),v=A.B(a,Lw);A.B(a,cp);var r=A.B(a,uVa),z=A.B(a,RQd),C=dg(g,d);if(Pc.B(Kw,l))return new E(null,1,5,G,[v],null);if(Pc.B(null,l))return new E(null,1,5,G,[hw(a,b)],null);if(Pc.B(AVa,l))return a=Cd.G(function(F,O){return hw(O,F)},b,Rd(d)),M3.B?M3.B(p,a):M3.call(null,p,a);if(Pc.B(Rw,l))return Oe.J(function(F){return M3.B?M3.B(p,F):M3.call(null,p,F)},y.B([b],0));if(Pc.B(Vw,l))return k(r)? +Oe.J(function(F){return M3.B?M3.B(h,F):M3.call(null,h,F)},y.B([b],0)):Oe.J(function(F){if(vd(b,F)){var O=C.j?C.j(F):C.call(null,F);F=A.B(b,F);return M3.B?M3.B(O,F):M3.call(null,O,F)}return null},y.B([g],0));if(Pc.B(vVa,l)){if(k(z))return new E(null,1,5,G,[hw(h,b)],null);d=x.G(b,0,null);a=x.G(b,1,null);d=C.j?C.j(d):C.call(null,d);return M3.B?M3.B(d,a):M3.call(null,d,a)}throw Error(["No matching clause: ",m.j(l)].join(""));},Dw=function Dw(a,b){a=bw(a);var d=me(a),g=A.B(d,cp),h=A.B(d,rVa);a=A.B(d,Qw); +var l=t(a),p=u(l),v=w(l),r=A.B(d,Lw);l=A.B(d,Iw);var z=A.B(d,sVa),C=A.B(d,Pw),F=t(C),O=u(F),V=w(F);F=A.B(d,gxc);var W=A.B(d,Sw);if(k(d)){if(Pc.B(Kw,l))return null;if(Pc.B(null,l))return a=JDa(d,b,d),Vd(Jw,a)?null:mw(a);if(Pc.B(AVa,l))return d=Dw.B?Dw.B(W,b):Dw.call(null,W,b),k(d)?Pc.B(Kw,Iw.j(d))?(a=MDa(yw(d),a,w(g)),Vd(Jw,a)?null:mw(a)):new f(null,5,[Iw,AVa,Sw,d,gxc,F,Qw,a,cp,g],null):null;if(Pc.B(Vw,l))return VDa(nw(new f(null,4,[Qw,Td(Dw.B?Dw.B(p,b):Dw.call(null,p,b),v),Pw,C,cp,g,Lw,r],null)), +k(Cw(p))?function(){var ea=nw(new f(null,4,[Qw,v,Pw,V,cp,w(g),Lw,WDa(p,r,O)],null));return Dw.B?Dw.B(ea,b):Dw.call(null,ea,b)}():null);if(Pc.B(vVa,l))return xw(ug.B(function(ea){return Dw.B?Dw.B(ea,b):Dw.call(null,ea,b)},a),C,g);if(Pc.B(Rw,l))return VDa(uw(Dw.B?Dw.B(W,b):Dw.call(null,W,b),h,r,z,g),k(Cw(W))?function(){var ea=uw(h,h,WDa(W,r,null),z,g);return Dw.B?Dw.B(ea,b):Dw.call(null,ea,b)}():null);throw Error(["No matching clause: ",m.j(l)].join(""));}return null};e=BVa.prototype; +e.oa=function(a,b){return new BVa(this.re,this.ig,b)};e.na=function(){return this.Kh};e.Ke=function(){return this};e.Le=function(){return this};e.li=tc;e.Tg=function(a,b){return null==b||gd(b)?XDa(this.re,t(b)):Jw};e.Ug=function(a,b){return M3(this.re,b)};e.Vg=function(a,b){return fw.B?fw.B(this.re,b):fw.call(null,this.re,b)}; +IDa(y8b,K(uFd,K(hh,new E(null,1,5,G,[suc],null),K(Rvc,K(PH,oZc,suc),K(PH,JZc,suc))),K(hh,new E(null,1,5,G,[Juc],null),K(PH,K(Wk,new E(null,1,5,G,[new E(null,2,5,G,[uV,FP],null)],null),new f(null,2,[oZc,uV,JZc,FP],null)),Juc))),LDa(K(uFd,K(Wk,new E(null,1,5,G,[jV],null),K(Rvc,K(PH,oZc,jV),K(PH,JZc,jV))),K(Wk,new E(null,1,5,G,[jV],null),K(PH,K(Wk,new E(null,1,5,G,[new E(null,2,5,G,[uV,FP],null)],null),new f(null,2,[oZc,uV,JZc,FP],null)),jV))),function(a){return dg(ug.B(oZc,a),ug.B(JZc,a))},null,!0, +function(a){return ug.B(function(b){var c=x.G(b,0,null);b=x.G(b,1,null);return new f(null,2,[oZc,c,JZc,b],null)},a)}));var $Da=!1,cXd=K(bT,hr,K(jqb,AKb,K(uFd,Xib,j$a),K(bT,hr,K(Tw,qX))),Ym,K(xpb,PVa,K(bT,zhc,LX,Ym,K(lT,qX)),Ym,K(Tw,qX))),dXd=new E(null,2,5,G,[hr,Ym],null),eXd=G,fXd=ODa(new E(null,3,5,G,[AKb,K(uFd,Xib,j$a),K(bT,hr,K(Tw,qX))],null),new E(null,3,5,G,[kd,LDa(K(uFd,Xib,j$a),Ed,null,!0,cf),rw(new E(null,1,5,G,[hr],null),new E(null,1,5,G,[uw(mb,mb,Ue,!1,qX)],null),new E(null,1,5,G,[K(Tw,qX)],null))],null),null),gXd,hXd=new E(null,2,5,G,[PVa,Ym],null),iXd=new E(null,2,5,G,[rw(new E(null,2,5,G,[zhc,Ym],null), +new E(null,2,5,G,[id,TDa(qX,mb)],null),new E(null,2,5,G,[LX,K(lT,qX)],null)),uw(mb,mb,Ue,!1,qX)],null),jXd=new E(null,2,5,G,[K(bT,zhc,LX,Ym,K(lT,qX)),K(Tw,qX)],null);gXd=Vf.G(xw(iXd,hXd,jXd),ln,Tg());IDa(z_,cXd,rw(dXd,new E(null,2,5,eXd,[fXd,gXd],null),new E(null,2,5,G,[K(jqb,AKb,K(uFd,Xib,j$a),K(bT,hr,K(Tw,qX))),K(xpb,PVa,K(bT,zhc,LX,Ym,K(lT,qX)),Ym,K(Tw,qX))],null))); +var kXd=K(bT,Pkb,K(Tw,K(hh,new E(null,1,5,G,[fOd],null),K(um,K(a0,K(AKb,fOd)),K(a0,K(PTc,fOd))))),QVa,K(xpb,CEb,z_,RDb,K(bT,rt,K(lT,K(xHc,z_)),oIc,K(lxb,LX)))),lXd=new E(null,2,5,G,[Pkb,QVa],null),mXd=G,nXd,oXd=K(Wk,new E(null,1,5,G,[jV],null),K(um,K(a0,K(AKb,jV)),K(a0,K(PTc,jV))));nXd=uw(NVa,NVa,Ue,!1,oXd);var pXd=new E(null,2,5,G,[CEb,RDb],null),qXd=G,rXd=new E(null,2,5,G,[rt,oIc],null),sXd=G,tXd=TDa(K(xHc,z_),iw(z_,z_)),uXd; +uXd=Vf.G(xw(new E(null,2,5,G,[id,mw(Uw)],null),null,new E(null,2,5,G,[LX,Uw],null)),RQd,LX);var vXd,wXd=new E(null,2,5,qXd,[z_,rw(rXd,new E(null,2,5,sXd,[tXd,uXd],null),new E(null,2,5,G,[K(lT,K(xHc,z_)),K(lxb,LX)],null))],null),xXd=new E(null,2,5,G,[z_,K(bT,rt,K(lT,K(xHc,z_)),oIc,K(lxb,LX))],null);vXd=Vf.G(xw(wXd,pXd,xXd),ln,Tg()); +IDa(OVa,kXd,rw(lXd,new E(null,2,5,mXd,[nXd,vXd],null),new E(null,2,5,G,[K(Tw,K(hh,new E(null,1,5,G,[fOd],null),K(um,K(a0,K(AKb,fOd)),K(a0,K(PTc,fOd))))),K(xpb,CEb,z_,RDb,K(bT,rt,K(lT,K(xHc,z_)),oIc,K(lxb,LX)))],null)));var N3=Nt(jX);Mw.J=function(a,b,c,d){return dd(c)?or.j(t(Ti.B(new B(null,ch,null,1,null),d))):or.j(t(Ti.J(new B(null,Wkb,null,1,null),new B(null,cf(lEa(Ie.B(2,c))),null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,RVa,null,1,null),new B(null,cf(Je.B(2,c)),null,1,null),y.B([d],0)))),null,1,null)],0))))};Mw.ba=3;Mw.ea=function(a){var b=u(a),c=w(a);a=u(c);var d=w(c);c=u(d);d=w(d);return this.J(b,a,c,d)}; +var O3=function O3(a){for(var c=[],d=arguments.length,g=0;;)if(ga?uu(0,1<Number.MAX_SAFE_INTEGER||aa?4503599627370496+a-4503599627370496:a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the double closest to a and equal to a mathematical integer.\n If two values are equally close, return the even one.\n If a is ##NaN or ##Inf or ##-Inf or zero \x3d\x3e a\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#rint-double-"],null)],null),new f(null,3,[U,dNb,lk, +NAa,$a,new f(null,2,[S,K(new E(null,1,5,G,[RD],null)),T,"Returns the exponent of d.\n If d is ##NaN, ##Inf, ##-Inf \x3d\x3e max_Float64_exponent + 1\n If d is zero or subnormal \x3d\x3e min_Float64_exponent - 1\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#getExponent-double-"],null)],null),new f(null,3,[U,Qpc,lk,function(a){return Math.sinh(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[TB],null)),T,"Returns the hyperbolic sine of x, (e^x - e^-x)/2.\n If x is ##NaN \x3d\x3e ##NaN\n If x is ##Inf or ##-Inf or zero \x3d\x3e x\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sinh"], +null)],null),new f(null,3,[U,lld,lk,function(a){return Math.sin(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the sine of an angle.\n If a is ##NaN, ##-Inf, ##Inf \x3d\x3e ##NaN\n If a is zero \x3d\x3e zero with the same sign as a\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sin"],null)],null),new f(null,3,[U,zzd,lk,function(a){return Math.tan(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the tangent of an angle.\n If a is ##NaN, ##-Inf, ##Inf \x3d\x3e ##NaN\n If a is zero \x3d\x3e zero with the same sign as a\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/tan"], +null)],null),new f(null,3,[U,FMd,lk,function(a){return Math.cbrt(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the cube root of a.\n If a is ##NaN \x3d\x3e ##NaN\n If a is ##Inf or ##-Inf \x3d\x3e a\n If a is zero \x3d\x3e zero with sign matching a\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt"],null)],null),new f(null,3,[U,qEd,lk,function(a){return Math.cos(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the cosine of an angle.\n If a is ##NaN, ##-Inf, ##Inf \x3d\x3e ##NaN\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cos"], +null)],null),new f(null,3,[U,PPd,lk,function(a,b){if(Number.isSafeInteger(a)&&Number.isSafeInteger(b)){var c=Id(a/b),d=0>a,g=0>b;return(d&&!g||!d&&g)&&c*b!==a?a-b*c- -b:a-b*c}throw mi.B("floor-mod called with non-safe-integer arguments",new f(null,2,[jUc,Number.isSafeInteger(a),fkb,Number.isSafeInteger(b)],null));},$a,new f(null,2,[S,K(new E(null,2,5,G,[TB,WD],null)),T,"Integer modulus x - (floorDiv(x, y) * y). Sign matches y and is in the\n range -|y| \x3c r \x3c |y|.\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorMod-long-long-"], +null)],null),new f(null,3,[U,dNc,lk,function(a){if(a<=Number.MIN_SAFE_INTEGER||a>Number.MAX_SAFE_INTEGER)throw mi.B("Integer overflow",new f(null,1,[Ek,"decrement-exact"],null));return a-1},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns a decremented by 1, throws ArithmeticException on overflow. "],null)],null),new f(null,3,[U,omb,lk,function(a){if(isNaN(a)||-Infinity===a)return a;if(0===a)return-Number.MIN_VALUE;var b=new ArrayBuffer(8),c=new Float64Array(b);b=new Uint32Array(b);c[0]= +a;var d=b[tu],g=b[su];d=0=v?KAa(a,b+b):a;if(0===(g-v|h-l))return 0*a;var r=Math.abs(a),z=Math.abs(b);d[0]=2097152>v?r+r>z?function(){var C=r-z;return C+C>=z?C-z:C}():r:function(){var C=.5*z;if(r>C){var F=r-z;return F>=C?F-z:F}return r}();c[tu]^=p;return d[0]}return a}return NaN},$a,new f(null,2,[S,K(new E(null,2,5,G,[xbd,g_b],null)),T,"Returns the remainder per IEEE 754 such that\n remainder \x3d dividend - divisor * n\n where n is the integer closest to the exact value of dividend / divisor.\n If two integers are equally close, then n is the even one.\n If the remainder is zero, sign will match dividend.\n If dividend or divisor is ##NaN, or dividend is ##Inf or ##-Inf, or divisor is zero \x3d\x3e ##NaN\n If dividend is finite and divisor is infinite \x3d\x3e dividend\n\n Method: based on fmod return x-[x/p]chopped*p exactlp.\n Ported from: https://github.com/openjdk/jdk/blob/master/src/java.base/share/native/libfdlibm/e_remainder.c\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#IEEEremainder-double-double-"], +null)],null),new f(null,3,[U,Vmc,lk,Hma,$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the natural logarithm (base e) of a.\n If a is ##NaN or negative \x3d\x3e ##NaN\n If a is ##Inf \x3d\x3e ##Inf\n If a is zero \x3d\x3e ##-Inf\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log"],null)],null),new f(null,3,[U,Uic,lk,function(a){return isNaN(a)?0:isFinite(a)?Math.round(a):Infinity===a?Number.MAX_SAFE_INTEGER:Number.MIN_SAFE_INTEGER},$a, +new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the closest long to a. If equally close to two values, return the one\n closer to ##Inf.\n If a is ##NaN \x3d\x3e 0\n If a is ##-Inf \x3d\x3e js/Number.MIN_SAFE_INTEGER\n If a is ##Inf \x3d\x3e js/Number.MAX_SAFE_INTEGER\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round"],null)],null),new f(null,3,[U,Twd,lk,function(a){if(null!=a)return Math.ceil(a);throw mi.B("Unexpected Null passed to ceil", +new f(null,1,[Ek,"ceil"],null));},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the smallest double greater than or equal to a, and equal to a\n mathematical integer.\n If a is ##NaN or ##Inf or ##-Inf or already equal to an integer \x3d\x3e a\n Note that if a is `nil` then an exception will be thrown. This matches Clojure, rather than js/Math.ceil\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/ceil"],null)],null),new f(null,3,[U,tnc, +lk,function(a){return 57.29577951308232*a},$a,new f(null,2,[S,K(new E(null,1,5,G,[vD],null)),T,"Converts an angle in radians to an approximate equivalent angle in degrees.\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#toDegrees-double-"],null)],null),new f(null,3,[U,s2c,lk,function(a){return Math.cosh(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[TB],null)),T,"Returns the hyperbolic cosine of x, (e^x + e^-x)/2.\n If x is ##NaN \x3d\x3e ##NaN\n If x is ##Inf or ##-Inf \x3d\x3e ##Inf\n If x is zero \x3d\x3e 1.0\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cosh"], +null)],null),new f(null,3,[U,XIb,lk,function(a,b){return Math.pow(a,b)},$a,new f(null,2,[S,K(new E(null,2,5,G,[lV,kV],null)),T,"Returns the value of a raised to the power of b.\n For more details on special cases, see:\n https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/pow"],null)],null),new f(null,3,[U,h_b,lk,function(a){return Math.log1p(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[TB],null)),T,"Returns ln(1+x). For small values of x, log1p(x) is more accurate than\n log(1.0+x).\n If x is ##NaN or ##-Inf or \x3c -1 \x3d\x3e ##NaN\n If x is -1 \x3d\x3e ##-Inf\n If x is ##Inf \x3d\x3e ##Inf\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log1p"], +null)],null),new f(null,3,[U,zYb,lk,function(a){return Math.log10(a)},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the logarithm (base 10) of a.\n If a is ##NaN or negative \x3d\x3e ##NaN\n If a is ##Inf \x3d\x3e ##Inf\n If a is zero \x3d\x3e ##-Inf\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log10"],null)],null),new f(null,3,[U,rgb,lk,function(a){if(a>Number.MAX_SAFE_INTEGER||aNumber.MAX_SAFE_INTEGER||a= +Number.MAX_SAFE_INTEGER||ab?new E(null,3,5,G,[Math.max(b,-2099),-512,add],null):new E(null,3,5,G,[Math.min(b,2099),512,$cd],null),d=x.G(c,0,null);b=x.G(c,1,null);c=x.G(c,2,null);var g=d>>8>>>23;g=(d+g&511)-g;a*=uu(g+1023<<20&2146435072,0);for(d-=g;;){if(0===d)return a;d-=b;a*=c}},$a,new f(null,2,[S,K(new E(null,2,5,G,[RD,Apb],null)),T,"Returns d * 2^scaleFactor, scaling by a factor of 2. If the exponent\n is between min_Float64_exponent and max_Float64_exponent.\n scaleFactor is an integer\n If d is ##NaN \x3d\x3e ##NaN\n If d is ##Inf or ##-Inf \x3d\x3e ##Inf or ##-Inf respectively\n If d is zero \x3d\x3e zero of same sign as d\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#nextDown-double-"], +null)],null),new f(null,3,[U,Rcd,lk,function(a){if(null!=a)return Math.floor(a);throw mi.B("Unexpected Null passed to floor",new f(null,1,[Ek,"floor"],null));},$a,new f(null,2,[S,K(new E(null,1,5,G,[lV],null)),T,"Returns the largest double less than or equal to a, and equal to a\n mathematical integer.\n If a is ##NaN or ##Inf or ##-Inf or already equal to an integer \x3d\x3e a\n If a is less than zero but greater than -1.0 \x3d\x3e -0.0\n Note that if a is `nil` then an exception will be thrown. This matches Clojure, rather than js/Math.floor\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor"], +null)],null),new f(null,3,[U,QCb,lk,function(){return Math.random()},$a,new f(null,2,[S,K(Ue),T,"Returns a positive double between 0.0 and 1.0, chosen pseudorandomly with\n approximately random distribution. Not cryptographically secure. The seed is chosen internally\n and cannot be selected.\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random"],null)],null),new f(null,3,[U,vEb,lk,function(a,b){return Math.hypot(a,b)},$a,new f(null,2,[S,K(new E(null, +2,5,G,[TB,WD],null)),T,"Returns sqrt(x^2 + y^2) without intermediate underflow or overflow.\n If x or y is ##Inf or ##-Inf \x3d\x3e ##Inf\n If x or y is ##NaN and neither is ##Inf or ##-Inf \x3d\x3e ##NaN\n See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot"],null)],null),new f(null,3,[U,EFc,lk,function(a,b){var c=new ArrayBuffer(8),d=new Float64Array(c);c=new Uint32Array(c);return a>b?0!==a?(d[0]=a,a=c[tu],b=c[su],b=0===(a&2147483648)?vu(a,b,4294967295, +4294967295):vu(a,b,0,1),a=x.G(b,0,null),b=x.G(b,1,null),c[tu]=a,c[su]=b,d[0]):-Number.MIN_VALUE:aNumber.MAX_SAFE_INTEGER||aa,g=0>b;return(d&&!g||!d&&g)&&c*b!==a?c-1:c}throw mi.B("floor-div called with non-safe-integer arguments",new f(null,2,[jUc,Number.isSafeInteger(a),fkb,Number.isSafeInteger(b)], +null));},$a,new f(null,2,[S,K(new E(null,2,5,G,[TB,WD],null)),T,"Integer division that rounds to negative infinity (as opposed to zero).\n See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorDiv-long-long-"],null)],null)]),Nt(Tdc))]),Bdd,Hdd],0))],null);ka("nextjournal.clerk.sci_env.onmessage",IEa);ka("nextjournal.clerk.sci_env.eval_form",HEa);ka("nextjournal.clerk.sci_env.init",Bw); +ka("nextjournal.clerk.sci_env.ssr",function(a){a=mr(a);Bw.j?Bw.j(a):Bw.call(null,a);a:{a=new E(null,1,5,G,[Wza],null);var b=V7c;kj();var c=zk;zk=!0;try{var d=Odd.renderToString(pk(b,a));break a}finally{zk=c}d=void 0}return d}); +ka("nextjournal.clerk.sci_env.connect",function Ndd(a){k(yXa.j(Ib(iu)))&&Eg.da(iu,Vf,mPa,"Reconnecting…");var c=new WebSocket(a);c.onmessage=IEa;c.onopen=function(){return Eg.da(iu,zh,mPa,yXa)};c.onclose=function(){var d=KEa();Eg.B(iu,function(g){return eo.G(Vf.G(g,mPa,0Ec(c))throw xh.G(null,Qw(b,Pvb,Wg),Error("Too few arguments to if"));if(4=Ec(d))var g=function(){var q=t(d);return vx?vx(b,q):wx.call(null,b,q)}(),k=new E(null,2,5,F,[aPa,Uv],null);else{var m=Fc.B(Yk,Dk.j(b))?Lf.G(b,Dk,Yk):Lf.G(b,Dk,Ck);g=function(){var q=Lc(d);return vx?vx(m,q):wx.call(null,m,q)}();k=new E(null,2,5,F,[aPa,Uv],null)}return new f(null,6,[Aw,Ofd,Rr,b,vn,c,aPa,a,Uv,g,Tl,k],null)});ay.N(null,$g,function(a,b,c){return GRa(b,c,!1)});ay.N(null,Tg,function(a,b,c){return GRa(b,c,!0)}); -ay.N(null,ch,function(a,b,c){a=r(c);t(a);var d=u(a);Dk.j(b);var g=t(zx),k=function(){var v=yx.j(g);return h(v)?Fc.B(Ec(d),Ec(Pq.j(g))-1):v}(),m=h(k)?Jd(null,d):d,q=function(){var v=zx;zx=Jd(null,zx);try{return td(ng.B(function(w){var A=Lf.G(b,Dk,kj);return vx?vx(A,w):wx.call(null,A,w)},m))}finally{zx=v}}();if(!h(g))throw Rw(b,"Can't recur here");if(!Fc.B(Ec(q),Ec(Pq.j(g))))throw Rw(b,["recur argument count mismatch, expected: ",l.j(Ec(Pq.j(g)))," args, got: ",l.j(Ec(q))].join(""));h(function(){var v= -yx.j(g);return h(v)?cb(k):v}())&&Ow(nEc,b,new f(null,1,[vn,vn.j(t(q))],null));ue(mRa.j(g),!0);zg.B(nRa.j(g),function(v){return wh.G(function(w,A){return Fc.B(ERa,Bw.j(A))?ax:E4.B(w,yi.j(A))},v,q)});return Lf.J(new f(null,3,[Rr,b,Aw,hmd,vn,c],null),o6c,g,H.B([s3b,q,Tl,new E(null,1,5,F,[s3b],null)],0))}); -ay.N(null,gh,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);if(Kf.B(2,Ec(c)))throw Rw(b,"Wrong number of args to quote");var d=Lf.G(b,USa,!0);d=vx?vx(d,a):wx.call(null,d,a);d=ce(d);d=y.B(d,yi);a=new f(null,6,[Aw,ux,Rr,b,d5b,!0,Wo,a,yi,d,vn,a],null);return new f(null,6,[Aw,yj,kj,a,Rr,b,vn,c,yi,yi.j(a),Tl,new E(null,1,5,F,[kj],null)],null)});var qQd=new f(null,6,[uDa,dy,ldd,ey,ayd,jw,IXb,Qx,evb,Ix,kob,Dw],null); -ay.N(null,Xg,function(a,b,c){a=r(c);t(a);a=u(a);var d=t(a);a=u(a);var g=zx;zx=Jd(null,zx);try{var k=Lf.G(b,Dk,kj),m=vx?vx(k,d):wx.call(null,k,d),q=h(function(){var G=Aw.j(m),Q=new Pf(null,new f(null,3,[pj,null,ix,null,Bw,null],null),null);return Q.j?Q.j(G):Q.call(null,G)}())?IQa(b,d):null,v=h(function(){var G=bSa.j(q);return h(G)?cb(H0.j(Rc(d))):G}())?el.B(3,vx?vx(k,null):wx.call(null,k,null)):null,w=jf.B(td(ng.B(function(G){return vx?vx(k,G):wx.call(null,k,G)},a)),v),A=aSa.j(q),D=Ec(a);cb(H0.j(Rc(d)))&& -null!=A&&cb(function(){var G=Fc.B(A,D);if(G)return G;G=bSa.j(q);return h(G)?Fc.B(2+A,D):G}())&&Ow(Wx,b,new f(null,2,[MSa,D,cx,d],null));return new f(null,7,[Rr,b,Aw,UVb,vn,c,So,m,Av,w,Tl,new E(null,2,5,F,[So,Av],null),yi,function(){var G=yi.j(En.j(m));if($w(G)&&!ld(qQd,G))return ek;G=X.j(En.j(m));var Q=qQd.j?qQd.j(G):qQd.call(null,G);return h(Q)?Q:G}()],null)}finally{zx=g}}); -ay.N(null,dh,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);var d=x.G(c,2,null),g=x.G(c,3,null);a=h(g)?new E(null,2,5,F,[Nj.j(r(R.J(new z(null,eh,null,1,null),new z(null,a,null,1,null),H.B([new z(null,d,null,1,null)],0)))),g],null):new E(null,2,5,F,[a,d],null);var k=x.G(a,0,null),m=x.G(a,1,null);a=zx;zx=Jd(null,zx);try{d=qx;qx=!0;try{var q=Lf.G(b,Dk,kj),v=k instanceof n?function(){if(!Fc.B(k,pmc)||!0!==m&&!1!==m)if(!Fc.B(k,hSb)||!0!==m&&!1!==m)!Fc.B(k,FDb)||!0!==m&&!1!==m||(Pw=Lf.G(Pw,Ox,m));if(null!= -ux.j(kx(ci.B(b,Gw),k)))throw Rw(b,"Can't set! a constant");var Q=jx(k,function(){var U=Gw.j(b);return k.j?k.j(U):k.call(null,U)}());if(!h(function(){var U=null==Q;if(U)return U;U=Gx.j(Q);if(h(U)){U=it.j(Q);if(h(U))return U;U=VRa.j(Q);return h(U)?U:WRa.j(Q)}return U}()))throw Rw(b,"Can't set! local var or non-mutable field");return YSa.B?YSa.B(q,k):YSa.call(null,q,k)}():fd(k)?function(){if(h(Yrb.j(Rc(k))))a:{var Q=Pw;Pw=Lf.G(Pw,Ox,!1);try{var U=lTa?lTa(q,k,null):nTa.call(null,q,k,null);break a}finally{Pw= -Q}U=void 0}else U=lTa?lTa(q,k,null):nTa.call(null,q,k,null);return h(Gx.j(U))?U:null}():null,w=vx?vx(q,m):wx.call(null,q,m);if(fd(k)){var A=null==k?null:Ic(k),D=Rc(A),G=function(){var Q=Fc.B(qj,Aw.j(w));return Q?sk.j(D):Q}();h(G)&&zg.J(null,$h,new E(null,5,5,F,[Kw,X.j(K.j(b)),Xw,A,ns],null),bk.B(Gd,Ke),H.B([bi.J(H.B([Mf(G,new E(null,2,5,F,[wk,vk],null)),Mf(t(ns.j(w)),new E(null,1,5,F,[yi],null))],0))],0))}if(!h(v))throw Rw(b,"set! target must be a field or a symbol naming a var");return cb(byd.j(b))&& -null!=function(){var Q=new Pf(null,new f(null,3,[FDb,"null",hSb,"null",pmc,"null"],null),null);return Q.j?Q.j(k):Q.call(null,k)}()?new f(null,2,[Rr,b,Aw,O3b],null):new f(null,6,[Rr,b,Aw,pcc,vn,c,Lx,v,Wo,w,Tl,new E(null,2,5,F,[Lx,Wo],null)],null)}finally{qx=d}}finally{zx=a}}); -ay.N(null,Yg,function(a,b,c,d,g){a=r(c);t(a);d=u(a);a=t(d);var k=u(d);if(!h(G4))throw Rw(b,"Namespace declarations must appear at the top-level.");if(!(a instanceof n))throw Rw(b,"Namespaces must be named by a symbol.");var m=h(KEb.j(g))?TRa(a):a;a=Ih.B(Vf(m),/\./);Fc.B(1,Ec(a))&&Ow(w$c,b,new f(null,1,[X,m],null));null!=oe(nQd,a)&&Ow(QHb,b,new f(null,1,[X,m],null));SRa(b,m,a);a="string"===typeof t(k)?t(k):null;d=W.j(Rc(m));k=null!=a?u(k):k;var q=Zc(t(k))?t(k):null;k=QRa(null!=q?u(k):k);k=WOa(k);k= -ce(k);var v=y.B(k,zw);k=y.B(k,yw);var w=ij.G(m,bi,q);m=IRa(b,v);q=ce(m);m=y.B(q,Yw);q=y.B(q,nx);q=rd.G(function(Ca,ca){var Z=x.G(ca,0,null);ca=x.G(ca,1,null);return Lf.G(Ca,ca,J.B("cljs.core",l.j(Z)))},C,q);var A=yg.j(Ke),D=yg.j(new f(null,2,[KRa,k,nl,k],null)),G=new f(null,5,[Hs,di.J(Dx,b,!1,A,H.B([D],0)),Ww,di.J(Dx,b,!0,A,H.B([D],0)),xs,Zj.B(di.J(Dx,b,!1,A,H.B([D],0)),di.B(JRa,b)),ox,Zj.B(di.J(Dx,b,!0,A,H.B([D],0)),di.B(JRa,b)),Ex,di.G(LRa,b,A)],null),Q=yg.j(new Pf(null,new f(null,5,[ox,null,xs, -null,Hs,null,Ww,null,Ex,null],null),null)),U=yg.j(new f(null,4,[xs,null,Hs,null,ox,null,Ww,null],null)),aa=yg.j(C);v=rd.G(function(Ca,ca){var Z=r(ca),va=t(Z);Z=u(Z);if(!h(function(){var ka=new Pf(null,new f(null,5,[ox,null,xs,null,Hs,null,Ww,null,Ex,null],null),null);return ka.j?ka.j(va):ka.call(null,va)}()))throw Rw(b,["Only :refer-clojure, :require, :require-macros, :use, :use-macros, and :import libspecs supported. Got ",l.j(ca)," instead."].join(""));if(!h(function(){var ka=Bb(Q);return ka.j? -ka.j(va):ka.call(null,va)}()))throw Rw(b,["Only one ",l.j(va)," form is allowed per namespace definition"].join(""));zg.G(Q,jl,va);Fc.B(Ex,va)||(null!=oe(new Pf(null,new f(null,1,[As,null],null),null),Z)&&zg.da(U,Lf,va,As),null!=oe(new Pf(null,new f(null,1,[Bs,null],null),null),Z)&&zg.da(U,Lf,va,Bs));(ca=r(He.B(function(ka){return As.j(Rc(ka))},Z)))&&zg.da(aa,Lf,va,Wf(ng.B(t,ca),ng.B(function(ka){return As.j(Rc(ka))},ca)));return qe.da(zn,bi,Ca,ng.B(G.j?G.j(va):G.call(null,va),rk.B(new Pf(null,new f(null, -2,[As,null,Bs,null],null),null),Z)))},C,rk.B(function(Ca){Ca=x.G(Ca,0,null);return Fc.B(Ca,VOa)},v));var ja=ce(v);v=y.B(ja,xs);D=y.B(ja,Hs);var ma=y.B(ja,vs),pa=y.B(ja,ox),ra=y.B(ja,Ww),wa=y.B(ja,px);ja=y.B(ja,Ex);ra=ng.B(function(Ca){if(h(KEb.j(g))){var ca=J.j(hg.G(l.j(w),0,l.j(w).length-7));return rd.G(function(Z,va){var ka=x.G(va,0,null);va=x.G(va,1,null);return Nd(va,ca)?Z:Lf.G(Z,ka,va)},C,Ca)}return Ca},new E(null,2,5,F,[ra,pa],null));pa=x.G(ra,0,null);ra=x.G(ra,1,null);var Ga=I([px,nx,ox,Yw, -X,cl,Vw,hx,Ww,W,yw],[wa,bi.J(H.B([ma,q],0)),ra,m,w,ja,D,v,pa,h(a)?a:d,k]);zg.J(null,$h,new E(null,2,5,F,[Kw,w],null),bi,H.B([Ga],0));return bi.J(H.B([new f(null,6,[Aw,K,Rr,b,vn,c,Kkd,jf.B(Ke,gu.j(Bb(A))),As,Bb(U),gsc,Bb(aa)],null),function(){var Ca=h(function(){var ca=Bb(U);return ca.j?ca.j(xs):ca.call(null,xs)}())?$h.G(Ga,new E(null,1,5,F,[hx],null),function(ca){var Z=Bb(U);Z=Z.j?Z.j(xs):Z.call(null,xs);return Qc(ca,be([Z,!0]))}):Ga;return h(function(){var ca=Bb(U);return ca.j?ca.j(Hs):ca.call(null, -Hs)}())?$h.G(Ca,new E(null,1,5,F,[Vw],null),function(ca){var Z=Bb(U);Z=Z.j?Z.j(Hs):Z.call(null,Hs);return Qc(ca,be([Z,!0]))}):Ca}()],0))}); -ay.N(null,Fga,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);var d=t(rk.B(function(pa){return fd(pa)&&Fc.B(gh,t(pa))},rk.B(Ld,a)));if(h(d))throw Rw(b,["Arguments to ",Vf(t(a))," must be quoted. Offending spec: ",l.j(d)].join(""));if(!h(G4))throw Rw(b,["Calls to `",Vf(t(a)),"` must appear at the top-level."].join(""));d=Fc.B(Ex,t(a))?NRa(a):MRa(a);a=X.j(K.j(b));d=QRa(new z(null,d,null,1,null));d=WOa(d);d=ce(d);var g=y.B(d,zw);d=y.B(d,yw);var k=IRa(b,g),m=ce(k);k=y.B(m,Yw);m=y.B(m,nx);m=rd.G(function(pa, -ra){var wa=x.G(ra,0,null);ra=x.G(ra,1,null);return Lf.G(pa,ra,J.B("cljs.core",l.j(wa)))},C,m);var q=yg.j(Ke),v=yg.j(new f(null,2,[KRa,d,nl,d],null)),w=new f(null,5,[Hs,di.J(Dx,b,!1,q,H.B([v],0)),Ww,di.J(Dx,b,!0,q,H.B([v],0)),xs,Zj.B(di.J(Dx,b,!1,q,H.B([v],0)),di.B(JRa,b)),ox,Zj.B(di.J(Dx,b,!0,q,H.B([v],0)),di.B(JRa,b)),Ex,di.G(LRa,b,q)],null),A=yg.j(new f(null,4,[xs,null,Hs,null,ox,null,Ww,null],null)),D=yg.j(C);g=rd.G(function(pa,ra){var wa=r(ra);ra=t(wa);wa=u(wa);Fc.B(Ex,ra)||(null!=oe(new Pf(null, -new f(null,1,[As,null],null),null),wa)&&zg.da(A,Lf,ra,As),null!=oe(new Pf(null,new f(null,1,[Bs,null],null),null),wa)&&zg.da(A,Lf,ra,Bs));var Ga=r(He.B(function(Ca){return As.j(Rc(Ca))},wa));null!=Ga&&zg.da(D,Lf,ra,Wf(ng.B(t,Ga),ng.B(function(Ca){return As.j(Rc(Ca))},Ga)));return qe.da(zn,bi,pa,ng.B(w.j?w.j(ra):w.call(null,ra),rk.B(new Pf(null,new f(null,2,[As,null,Bs,null],null),null),wa)))},C,rk.B(function(pa){pa=x.G(pa,0,null);return Fc.B(pa,VOa)},g));var G=ce(g);g=y.B(G,xs);v=y.B(G,Hs);var Q= -y.B(G,vs),U=y.B(G,ox),aa=y.B(G,Ww),ja=y.B(G,px);G=y.B(G,Ex);var ma=I([px,nx,ox,Yw,X,cl,Vw,hx,Ww,yw],[ja,bi.J(H.B([Q,m],0)),U,k,a,G,v,g,aa,d]);zg.J(null,$h,new E(null,2,5,F,[Kw,a],null),URa,H.B([ma,b],0));return bi.J(H.B([new f(null,6,[Aw,hac,Rr,b,vn,c,Kkd,jf.B(Ke,gu.j(Bb(q))),As,Bb(A),gsc,Bb(D)],null),function(){var pa=h(function(){var ra=Bb(A);return ra.j?ra.j(xs):ra.call(null,xs)}())?$h.G(ma,new E(null,1,5,F,[hx],null),function(ra){var wa=Bb(A);wa=wa.j?wa.j(xs):wa.call(null,xs);return Qc(ra,be([wa, -!0]))}):ma;return h(function(){var ra=Bb(A);return ra.j?ra.j(Hs):ra.call(null,Hs)}())?$h.G(pa,new E(null,1,5,F,[Vw],null),function(ra){var wa=Bb(A);wa=wa.j?wa.j(Hs):wa.call(null,Hs);return Qc(ra,be([wa,!0]))}):pa}()],0))});ay.N(null,Zg,function(a,b,c){return fSa(h2c,b,c)});ay.N(null,Ega,function(a,b,c){return fSa(XRa,b,c)}); -var Nx=function(){var a=yg.j(C),b=yg.j(C),c=yg.j(C),d=yg.j(C),g=y.G(C,es,Eg.ca?Eg.ca():Eg.call(null));return new Jg(J.B("cljs.analyzer","build-dot-form"),function(k){return kSa(k)},Ci,g,a,b,c,d)}();Nx.N(null,new E(null,3,5,F,[Kx,hSa,rc],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);x.G(a,2,null);return new f(null,3,[lSa,D_c,Lx,b,Gx,Qc(J.j(Vf(c).substring(1)),Rc(c))],null)}); -Nx.N(null,new E(null,3,5,F,[Kx,hSa,jSa],null),function(a){x.G(a,0,null);var b=x.G(a,1,null);a=x.G(a,2,null);throw Error(["Cannot provide arguments ",l.j(a)," on property access ",l.j(b)].join(""));});Nx.N(null,new E(null,3,5,F,[Kx,iSa,Kx],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);a=x.G(a,2,null);return nSa(b,c,a)});Nx.N(null,new E(null,3,5,F,[Kx,iSa,rc],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);a=x.G(a,2,null);return nSa(b,c,a)}); -Nx.N(null,new E(null,3,5,F,[Kx,jSa,rc],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);x.G(a,2,null);return nSa(b,t(c),sc(c))});Nx.N(null,Ci,function(a){throw Error(["Unknown dot form of ",l.j(Mj.B(eh,a))," with classification ",l.j(kSa(a))].join(""));});ay.N(null,eh,function(a,b,c){a=r(c);t(a);var d=u(a);a=t(d);d=u(d);var g=r(d);d=t(g);g=u(g);var k=zx;zx=Jd(null,zx);try{return uSa(b,a,d,g,c)}finally{zx=k}}); -var rQd=function rQd(a,b){var d=b.indexOf("~{");if(-1===d)return new z(null,b,null,1,null);var g=b.indexOf("}",d),k=X.j(IQa(a,J.j(hg.G(b,2+d,g))));return new Sd(null,function(){var m=hg.G(b,0,d);var q=hg.B(b,g+1);q=rQd.B?rQd.B(a,q):rQd.call(null,a,q);return Jd(m,Jd(k,q))},null,null)},CSa=function CSa(a){var c=a.indexOf("~{");if(-1===c)return new z(null,a,null,1,null);var d=a.indexOf("}",c);return new Sd(null,function(){var g=hg.G(a,0,c);var k=hg.B(a,d+1);k=CSa.j?CSa.j(k):CSa.call(null,k);return Jd(g, -k)},null,null)},wSa=new Pf(null,new f(null,4,[ax,"null",Rx,"null",Sx,"null",Qx,"null"],null),null),ySa=new Pf(null,new f(null,10,[Dw,"null",v1c,"null",Q0c,"null",P8c,"null",jw,"null",nM,"null",$lc,"null",Pad,"null",U7b,"null",oDc,"null"],null),null); -ay.N(null,ah,function(a,b,c){a=r(c);t(a);var d=u(a);a=t(d);d=u(d);if("string"!==typeof a)throw Rw(b,"Invalid js* form");if(null!=d){a:{var g=zx;zx=Jd(null,zx);try{var k=FSa(b,a,d,c);break a}finally{zx=g}k=void 0}return k}k=qe.B(l,rQd(b,a));a=vSa(c);g=Rc(c);d=Tx.j(g);g=Px.j(g);return new f(null,7,[Aw,dk,Rr,b,vn,c,rn,k,yi,a,Tx,d,Px,g],null)}); -var VSa=function VSa(a){a=ce(a);var c=y.B(a,Aw);switch(c instanceof B?c.la:null){case "var":case "local":if(nQa(J.j(Vf(X.j(a))))){var d=Vf(X.j(a)),g=d.lastIndexOf(".");c=Qc(J.B(Od(X.j(a)),hg.G(d,0,g)),Rc(vn.j(a)));d=J.j(hg.B(d,g+1));g=Rr.j(a);var k=new z(null,eh,new z(null,c,new z(null,d,null,1,null),2,null),3,null);c=Sl(Sl(ci.B(Lf.J(a,X,c,H.B([vn,c],0)),yi),new E(null,2,5,F,[En,X],null),c),new E(null,2,5,F,[Rr,Dk],null),kj);c=VSa.j?VSa.j(c):VSa.call(null,c);return new f(null,7,[Aw,sSa,Rr,g,vn,k, -Lx,c,Gx,d,yi,yi.j(a),Tl,new E(null,1,5,F,[Lx],null)],null)}return a;default:return a}},dTa=new tg(function(){return y.B(Yga(cTa),d2b)},null),sQd=function(){var a=new f(null,2,[nCb,function(c){return zSa(t(c))&&ne(xSa,sc(c))},vzb,Jyd],null),b=new f(null,2,[nCb,function(c){return zSa(t(c))&&ne(xSa,Uf(sc(c)))},vzb,Jyd],null);return new f(null,4,[Zrb,a,kZc,b,Yfd,a,Wjb,b],null)}(),DTa=new E(null,3,5,F,[function tQd(a,b,c){b=ce(b);var g=y.B(b,yi);if(null==g||Fc.B(Ix,g)){if(Fc.B(qj,Aw.j(b)))return Ii.G(b, -ns,function(k){return jf.G(Ke,ng.j(function(m){return tQd.G?tQd.G(a,m,c):tQd.call(null,a,m,c)}),k)});g=tx(a,b);return null==g?b:Lf.G(b,yi,g)}return b},function(a,b){if(a=cPa(b))a=Uv.j(kl.j(b)),a=Fc.B(ci.B(Y.j(a),Rr),ci.B(Yq.j(a),Rr));if(a&&$Oa(sx.j(Uv.j(kl.j(b))))){a=t(Qr.j(b));var c=ce(a);a=y.B(c,Fw);var d=y.B(c,X);c=Rr.j(b);var g=new E(null,3,5,F,["((",") \x26\x26 (","))"],null),k=F,m=Sl(sx.j(Uv.j(kl.j(b))),new E(null,2,5,F,[Rr,Dk],null),kj);d=YOa(m,new E(null,1,5,F,[fPa(d)],null),null);b=new f(null, -7,[Aw,dk,Rr,c,ESa,g,Av,new E(null,2,5,k,[a,d],null),vn,vn.j(b),Tl,new E(null,1,5,F,[Av],null),yi,Dw],null)}else{if(a=cPa(b))a=Uv.j(kl.j(b)),a=Fc.B(ci.B(Y.j(a),Rr),ci.B(sx.j(a),Rr));a&&$Oa(Yq.j(Uv.j(kl.j(b))))&&(a=t(Qr.j(b)),c=ce(a),a=y.B(c,Fw),d=y.B(c,X),c=Rr.j(b),g=new E(null,3,5,F,["((",") || (","))"],null),k=F,m=Sl(Yq.j(Uv.j(kl.j(b))),new E(null,2,5,F,[Rr,Dk],null),kj),d=YOa(m,new E(null,1,5,F,[fPa(d)],null),null),b=new f(null,7,[Aw,dk,Rr,c,ESa,g,Av,new E(null,2,5,k,[a,d],null),vn,vn.j(b),Tl,new E(null, -1,5,F,[Av],null),yi,Dw],null))}return b},function(a,b){b=ce(b);var c=y.B(b,Aw);if(!ISa(b)&&Md(SSa,c)){var d=nd(sQd,X.j(En.j(qj.j(b))));if(null!=d){c=x.G(d,0,null);d=x.G(d,1,null);var g=ce(d);d=y.B(g,nCb);g=y.B(g,vzb);var k=wh.B(yi,Av.j(b));h(d.j?d.j(k):d.call(null,k))||Ow(g,a,new f(null,2,[X,c,BSa,k],null))}}return HSa(b)}],null);var XId={};var HTa=ng.B(Zj.G(J,l,wd),Ki.B(97,123));var NTa=uh(199);var MTa=uh(200);KTa._=!0;fy._=function(){return!1};var WK=function WK(a){for(var c=[],d=arguments.length,g=0;;)if(gJa(a,"s")});DM.N(null,new E(null,1,5,F,[jz],null),function(){return!1});Ey.N(null,new E(null,1,5,F,[jz],null),function(a){return nz(a.inverse())});JL.N(null,new E(null,1,5,F,[jz],null),function(a){return nz(a.mul(a))});R4.N(null,new E(null,1,5,F,[jz],null),function(a){return nz(a.pow(3))}); -hz.N(null,new E(null,1,5,F,[jz],null),function(a){return nz(a.abs())});fz.N(null,new E(null,1,5,F,[jz],null),function(a){return nz(a.abs())});aG.N(null,new E(null,2,5,F,[jz,jz],null),function(a,b){return nz(a.gcd(b))});SF.N(null,new E(null,2,5,F,[jz,jz],null),function(a,b){return nz(a.lcm(b))});yB.N(null,new E(null,2,5,F,[jz,pz],null),function(a,b){var c=lz(a);a=mz(a);return 0>b?v5.B(yB.B(a,Fy.j(b)),yB.B(c,Fy.j(b))):v5.B(yB.B(c,b),yB.B(a,b))}); -IL.N(null,new E(null,1,5,F,[jz],null),function(a){return 0>a?IL.j(bz.j(a.valueOf())):Iy.B(IL.j(rw(lz(a))),IL.j(rw(mz(a))))});tB.N(null,new E(null,2,5,F,[jz,jz],null),function(a,b){return nz(a.mod(b).add(b).mod(b))});yB.N(null,new E(null,2,5,F,[jz,jz],null),function(a,b){return iy(mz(b))?nz(a.pow(lz(b))):yB.B(a.valueOf(),b.valueOf())});wB.N(null,new E(null,2,5,F,[jz,jz],null),function(a,b){a=a.div(b);a=0a});yB.N(null,new E(null,2,5,F,[oz,oz],null),function(a,b){return 0>a&&0!==T4.j(b)?pJ.j(Dy.B(b,ZN.j(a))):D4.B?D4.B(a,b):D4.call(null,a,b)}); -hz.N(null,new E(null,1,5,F,[oz],null),function(a){return ZL.j?ZL.j(a):ZL.call(null,a)});fz.N(null,new E(null,1,5,F,[oz],null),function(a){return ZL.j?ZL.j(a):ZL.call(null,a)});Iy.N(null,new E(null,2,5,F,[oz,oz],null),function(a,b){return a/b});Ey.N(null,new E(null,1,5,F,[oz],null),function(a){return 1/a});Hy.N(null,new E(null,1,5,F,[oz],null),function(a){return yd(Math.floor(a))});Ky.N(null,new E(null,1,5,F,[oz],null),function(a){return yd(Math.ceil(a))});S4.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.trunc(a)}); -DM.N(null,new E(null,1,5,F,[pz],null),function(){return!1});DM.N(null,new E(null,1,5,F,[oz],null),function(a){return Kca(a)});kA.N(null,new E(null,1,5,F,[oz],null),function(a){return a});nA.N(null,new E(null,1,5,F,[oz],null),function(){return 0});o5.N(null,new E(null,1,5,F,[oz],null),function(a){return 0>a?Math.PI:ky(a)});PE.N(null,new E(null,1,5,F,[oz],null),function(a){return a});aO.N(null,new E(null,1,5,F,[oz],null),function(a){return hy(a)?1:h(DM.j(a))?0:FB.B(PH.j(a),a)}); -PH.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.sin(a)});OH.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.cos(a)});U4.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.tan(a)});hA.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.cosh(a)});jA.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.sinh(a)});b5.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.tanh(a)});UH.N(null,new E(null,1,5,F,[oz],null),function(a){return Math.atan(a)}); -UH.N(null,new E(null,2,5,F,[oz,oz],null),function(a,b){return Math.atan2(a,b)});Y4.N(null,new E(null,1,5,F,[oz],null),function(a){return 1a?IL.j(bz.j(a)):lQd.j?lQd.j(a):lQd.call(null,a)});ZN.N(null,new E(null,1,5,F,[oz],null),function(a){return 0>a?ZN.j(bz.j(a)):Math.log(a)});Q4.N(null,new E(null,1,5,F,[Number],null),function(a){return 0>a?Q4.j(bz.j(a)):Math.log10(a)});P4.N(null,new E(null,1,5,F,[Number],null),function(a){return 0>a?P4.j(bz.j(a)):Math.log2(a)}); -pJ.N(null,new E(null,1,5,F,[oz],null),function(a){return 0===a?1:Math.exp(a)});LF.N(null,new E(null,2,5,F,[uy,oz],null),function(a,b){var c=pUa(a,b);return h(c)?c:uw(["exact-divide not allowed between: ",l.j(a),", ",l.j(b)].join(""))});wB.N(null,new E(null,2,5,F,[uy,oz],null),function(a,b){var c=pUa(a,b);return h(c)?c:uw(["quotient not allowed between: ",l.j(a),", ",l.j(b)].join(""))});LF.N(null,new E(null,2,5,F,[pz,pz],null),function(a,b){return wB.B(a,b)}); -S4.N(null,new E(null,1,5,F,[pz],null),function(a){return a});T4.N(null,new E(null,1,5,F,[pz],null),function(){return 0});Hy.N(null,new E(null,1,5,F,[pz],null),function(a){return a});Ky.N(null,new E(null,1,5,F,[pz],null),function(a){return a});wB.N(null,new E(null,2,5,F,[E1,E1],null),function(a,b){return zd(a,b)});iz.N(null,new E(null,2,5,F,[oz,oz],null),function(a,b){return Ad(a,b)});tB.N(null,new E(null,2,5,F,[oz,oz],null),function(a,b){return xd(a,b)}); -aG.N(null,new E(null,2,5,F,[E1,E1],null),function(a,b){a=0>a?-a:a;for(b=0>b?-b:b;;){if(0===b)return a;var c=Ad(a,b);a=b;b=c}});aG.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return qUa(a,b)});aG.N(null,new E(null,2,5,F,[E1,BigInt],null),function(a,b){return qUa(BigInt(a),b)});aG.N(null,new E(null,2,5,F,[BigInt,E1],null),function(a,b){return qUa(a,BigInt(b))}); -yB.N(null,new E(null,2,5,F,[E1,E1],null),function(a,b){if(0>b){var c=Ey.j;b=-b;a=D4.B?D4.B(a,b):D4.call(null,a,b);c=c.call(Ey,a)}else c=D4.B?D4.B(a,b):D4.call(null,a,b);return c});Iy.N(null,new E(null,2,5,F,[pz,pz],null),function(a,b){var c=iz.B(a,b);return hy(c)?wB.B(a,b):v5.B(a,b)});Ey.N(null,new E(null,1,5,F,[pz],null),function(a){return iy(a)?a:v5.B(1,a)});Rz.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return a+b}); -Dy.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return a*b});tB.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return VTa(a,b)});Gy.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return a-b});Fy.N(null,new E(null,1,5,F,[BigInt],null),function(a){return-a});yB.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return h(Jy.j(b))?Ey.j(a**-b):a**b});hz.N(null,new E(null,1,5,F,[BigInt],null),function(a){return 0>a?-a:a}); -wB.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return a/b});iz.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return a%b});fz.N(null,new E(null,1,5,F,[BigInt],null),function(a){return 0>a?-a:a});Iy.N(null,new E(null,2,5,F,[BigInt,BigInt],null),function(a,b){return hy(a%b)?a/b:v5.B(a,b)}); -for(var w5=r(new E(null,8,5,F,[Rz,Dy,Gy,Iy,yB,tB,iz,wB],null)),x5=null,y5=0,z5=0;;)if(z5b?a:b:b};V5.aa=2; -var W5=function W5(a){switch(arguments.length){case 0:return W5.ca();case 1:return W5.j(arguments[0]);default:for(var c=[],d=arguments.length,g=0;;)if(g=Math.abs(b)?c-d+b:b-d+c)],null)};KB.aa=2; -var Y5=function Y5(a){switch(arguments.length){case 0:return Y5.ca();case 1:return Y5.j(arguments[0]);case 2:return Y5.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Y5.ca=function(){return new E(null,3,5,F,[0,0,0],null)};Y5.j=function(a){return rd.B(Jn,a)}; -Y5.B=function(a,b){var c=x.G(a,0,null),d=x.G(a,1,null);a=x.G(a,2,null);var g=c+b;b=Math.abs(c)>=Math.abs(b)?c-g+b:b-g+c;c=d+b;return new E(null,3,5,F,[g,c,a+(Math.abs(d)>=Math.abs(b)?d-c+b:b-c+d)],null)};Y5.aa=2;var DE=LB.j(EA),AM=function AM(a){switch(arguments.length){case 1:return AM.j(arguments[0]);case 3:return AM.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};AM.j=function(a){return KB.call(null,rd.G(KB,KB.call(null),a))};AM.G=function(a,b,c){b=Ki.B(b,c);return tz.G(ng.j(a),KB,b)};AM.aa=3; -var IB=function IB(a){switch(arguments.length){case 1:return IB.j(arguments[0]);case 3:return IB.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};IB.j=function(a){return ng.B(KB,sc(Fx.G(KB,KB.call(null),a)))};IB.G=function(a,b,c){return IB.j(ng.B(a,Ki.B(b,c)))};IB.aa=3; -var Z5=function Z5(a){switch(arguments.length){case 1:return Z5.j(arguments[0]);case 3:return Z5.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Z5.j=function(a){return function d(c){var g=Ec(c);if(128>=g)return rd.B(Jn,c);var k=g>>1;g=Hh.G(c,0,k);c=Hh.B(c,k);return d(g)+d(c)}(ad(a)?a:jf.B(Ke,a))};Z5.G=function(a,b,c){return Z5.j(wh.B(a,Ki.B(b,c)))};Z5.aa=3; -var $5=function $5(a){switch(arguments.length){case 2:return $5.B(arguments[0],arguments[1]);case 3:return $5.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};$5.B=function(a,b){return $5.G(a,b,null)}; -$5.G=function(a,b,c){var d=EUa(a,c);return function(){function g(q,v){return a.B?a.B(q,v):a.call(null,q,v)}var k=null,m=function(){function q(w,A,D){var G=null;if(2b?0:b;var c=Ec(a);return b>=c?Ke:Hh.G(a,b,c)};b6.G=function(a,b,c){b=0>b?0:b;var d=yd(Ec(a));c=c>d?d:c;return b>=c?Ke:Hh.G(a,b,c)};b6.aa=3;var c6=function c6(a){switch(arguments.length){case 2:return c6.B(arguments[0],arguments[1]);case 3:return c6.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};c6.B=function(a,b){var c=Ec(a);return 0>b?(b+=c,Hh.G(a,0>b?0:b,c)):b>=c?Ke:Hh.G(a,b,c)}; -c6.G=function(a,b,c){if(0>=c)return Ke;var d=yd(Ec(a));if(0>b)return b+=d,b=0>b?0:b,c=b+c,Hh.G(a,b,c>d?d:c);c=b+c;d=c>d?d:c;return b>=d?Ke:Hh.G(a,b,d)};c6.aa=3;di.B(rd,R); -(function(){var a=Ja(XYd,Vf("performance"),null);if(h(a)){var b=function(){var c=Ja(a,Vf("now"),null);if(h(c))return c;c=Ja(a,Vf("mozNow"),null);if(h(c))return c;c=Ja(a,Vf("msNow"),null);if(h(c))return c;c=Ja(a,Vf("oNow"),null);return h(c)?c:Ja(a,Vf("webkitNow"),null)}();return h(b)?function(){return 1E6*yd(b.call(a))}:function(){return 1E6*(new Date).getTime()}}return function(){return 1E6*(new Date).getTime()}})(); -var YYd=function(){function a(d){return new Na(d)}function b(){return new Na}var c=null;c=function(d){switch(arguments.length){case 0:return b.call(this);case 1:return a.call(this,d)}throw Error("Invalid arity: "+arguments.length);};c.ca=b;c.j=a;return c}(),fWa=function(){function a(g,k){g=g instanceof Na?g:YYd.j(l.j(g));k=l.j(k);return g.append(k)}function b(g){return g instanceof Na?g:YYd.j(l.j(g))}function c(){return YYd.ca()}var d=null;d=function(g,k){switch(arguments.length){case 0:return c.call(this); -case 1:return b.call(this,g);case 2:return a.call(this,g,k)}throw Error("Invalid arity: "+arguments.length);};d.ca=c;d.j=b;d.B=a;return d}();Ag(function(a,b){var c=Ec(a);b=yd(b);if(1>c||256=b)throw xh.B("`len`: must be ℕ∈[0,∞)",C);var d=(2<<(Math.floor(Math.log(c-1)/Math.log(2))|0))-1;return new E(null,3,5,F,[d,yd(Math.ceil(1.6*d*b/c)),wh.B(l,a)],null)});wh.B(l,"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"); -var ZYd=function ZYd(a){for(var c=[],d=arguments.length,g=0;;)if(g=c?"":a.substring(b,c)};d6.aa=3; -var e6=function e6(a){switch(arguments.length){case 2:return e6.B(arguments[0],arguments[1]);case 3:return e6.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};e6.B=function(a,b){return JUa(a.substr(b))};e6.G=function(a,b,c){return JUa(a.substr(b,c))};e6.aa=3;Zj.B(JUa,d6);Zj.B(JUa,e6);yg.j(U1a);var $Yd={Cj:["BC","AD"],Bj:["Before Christ","Anno Domini"],Ej:"JFMAMJJASOND".split(""),Kj:"JFMAMJJASOND".split(""),Dj:"January February March April May June July August September October November December".split(" "),Jj:"January February March April May June July August September October November December".split(" "),Gj:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Mj:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Pj:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), -Oj:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Ij:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Nj:"Sun Mon Tue Wed Thu Fri Sat".split(" "),xl:"SMTWTFS".split(""),Lj:"SMTWTFS".split(""),Hj:["Q1","Q2","Q3","Q4"],Fj:["1st quarter","2nd quarter","3rd quarter","4th quarter"],yj:["AM","PM"],Sg:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],ii:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],zj:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],ei:6,zl:[5,6],fi:5},DVa= -$Yd;DVa=$Yd;zVa.prototype.getOffset=function(a){a=this.uj-CVa(this,a);return-1440===a?0:a};var JVa=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|b+|B+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEabBhKHcLQdmsvVwzZ]+/]; -GVa.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.getOffset(a)):0;let d=c?new Date(a.getTime()+c):a,g=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),g=new Date(a.getTime()+(c+(0a||Fc.B(b,a)&&(c>k||Fc.B(c,k)&&d>=g))return null;throw xh.B("Insufficient `com.taoensso/encore` version, you may have a dependency conflict: see http://goo.gl/qBbLvC for solutions.",new f(null,2,[Rld,Ik.B(".",new E(null,3,5,F,[a,k,g], -null)),amc,Ik.B(".",new E(null,3,5,F,[b,c,d],null))],null));})(new E(null,3,5,F,[3,43,0],null)); -var aZd=Ag(function(a){return nVa(a)}),QVa=Ag(function(a,b){a=aZd(a);return a.j?a.j(b):a.call(null,b)}),SVa=Ag(function(a,b){return NUa(function(c){var d=x.G(c,0,null);c=x.G(c,1,null);return h(QVa(d,b))?OVa(c):null},a)}),DWa=Ag(function(a,b){a=dVa(b);x.G(a,0,null);return x.G(a,1,null)}),Mz=function Mz(a){switch(arguments.length){case 2:return Mz.B(arguments[0],arguments[1]);case 1:return Mz.j(arguments[0]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -Mz.B=function(a,b){a=Uc(a)?b:Lf.G(b,Hz,Gd.B(a,y.B(b,Hz)));return Mz.j(a)}; -Mz.j=function(a){var b=ce(a),c=y.B(b,Hz);y.B(b,wVa);var d=y.B(b,kWa);y.B(b,z8b);var g=y.B(b,jWa),k=y.B(b,Bz),m=y.B(b,Cz),q=y.B(b,HWa);b=y.B(b,lWa);return[function(){var v=ug(q);return h(v)?[l.j(v)," "].join(""):null}(),Eh(Vf(k))," [",l.j(h(g)?g:h(d)?d:"?"),":",l.j(h(b)?b:"?"),"] - ",l.j(function(){var v=y.G(c,Hqd,gWa);return h(v)?v.j?v.j(a):v.call(null,a):null}()),function(){if(h(m)){var v=y.G(c,zxd,bZd);return h(v)?h(y.B(c,fTb))?null:["\n",l.j(v.j?v.j(a):v.call(null,a))].join(""):null}return null}()].join("")}; -Mz.aa=2; -var bZd=function bZd(a){var c=ce(a),d=y.B(c,Cz);y.B(c,Hz);return[l.j(d.stack),function(){var g=Mg(d);return h(g)?["\nex-data:\n ",lm.J(H.B([g],0))].join(""):null}(),function(){var g=Og(d);if(h(g)){var k=l;var m=k.j;g=Lf.G(c,Cz,g);g=bZd.j?bZd.j(g):bZd.call(null,g);k=["\n\nCaused by:\n",m.call(k,g)].join("")}else k=null;return k}()].join("")},zWa=new f(null,1,[Lz,yWa],null),WVa=new f(null,6,[XVa,U1a,YVa,new Pf(null,new f(null,1,["*",null],null),null),uWa,Ke,AWa,zWa,Dz,Mz,JWa,"undefined"!==typeof window? -new f(null,1,[iBc,tVa.j?tVa.j(C):tVa.call(null,C)],null):new f(null,1,[gXb,pVa.j?pVa.j(C):pVa.call(null,C)],null)],null);var RC=function RC(a){switch(arguments.length){case 2:return RC.B(arguments[0],arguments[1]);case 3:return RC.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};RC.B=function(a,b){return RC.G(a,b,null)};RC.G=function(a,b){h(!0)&&Nz(gx,"emmy.util.logic",22,new tg(function(){return new E(null,1,5,F,[["Assuming ",l.j(a)," in ",l.j(b)].join("")],null)},null),-1664117629);return!0};RC.aa=3;var wG=null,Sz=Oz(Tk),Uz=Oz(Vz),p2a=Oz(SC),Pz=Oz(QC),cZd=Oz(wi),dZd=Oz(xD),YWa=Oz(Qz),Zz=Math.PI,eZd=Zz/4,RWa=2*Zz,QWa=2*eZd,$z=new Pf(null,new f(null,4,[FKb,null,yD,null,Cyc,null,gOb,null],null),null),aA=new Pf(null,new f(null,1,[fac,null],null),null),bA=new Pf(null,new f(null,1,[q_c,null],null),null),fA=new Pf(null,new f(null,2,[FKb,null,yD,null],null),null),dA=new Pf(null,new f(null,2,[fac,null,q_c,null],null),null),eA=new Pf(null,new f(null,2,[Cyc,null,gOb,null],null),null),ED=new Pf(null,new f(null, -1,[s_c,null],null),null),DD=new Pf(null,new f(null,2,[YXb,null,gac,null],null),null),f6=function f6(a){switch(arguments.length){case 1:return f6.j(arguments[0]);case 2:return f6.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};f6.j=function(a){return sy(a)?ny(a)?hy(a)?0:new z(null,xD,new z(null,a,null,1,null),2,null):UH.j(a):new z(null,xD,new z(null,a,null,1,null),2,null)}; -f6.B=function(a,b){if(iy(b))return f6.j(a);if(vy(a)){if(sy(b))return h(Jy.j(b))?yD:0;a=RC.B(Nj.j(r(R.B(new z(null,FD,null,1,null),new z(null,b,null,1,null)))),Z3c);return h(a)?0:a}if(vy(b)){if(sy(a))return h(Jy.j(a))?M(Qk,M(wi,yD,2)):M(wi,yD,2);a=RC.B(Nj.j(r(R.B(new z(null,FD,null,1,null),new z(null,a,null,1,null)))),Z3c);return h(a)?M(wi,yD,2):a}return!sy(b)||!sy(a)||ny(b)&&ny(a)?new z(null,xD,new z(null,a,new z(null,b,null,1,null),2,null),3,null):UH.B(a,b)};f6.aa=2; -var fZd=LWa(IL,SC),gZd=LWa(ZN,OC),hZd=LWa(pJ,MC),pA=function pA(a,b){if(sy(a)&&sy(b))return yB.B(a,b);if(sy(a))return iy(a)?1:Nj.j(r(R.J(new z(null,QC,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0))));if(sy(b)){if(hy(b))return 1;if(iy(b))return a;if(h(function(){var k=id(b);return k?(k=pe(b))?p2a(a):k:k}())){var d=t(sc.j?sc.j(a):sc.call(null,a)),g=zd(b,2);return pA.B?pA.B(d,g):pA.call(null,d,g)}return h(function(){var k=Pz(a);return h(k)?sy(Ic(sc.j?sc.j(a):sc.call(null, -a)))&&id(Ic(sc.j?sc.j(a):sc.call(null,a))*b):k}())?(d=t(sc.j?sc.j(a):sc.call(null,a)),g=Ic(sc.j?sc.j(a):sc.call(null,a))*b,pA.B?pA.B(d,g):pA.call(null,d,g)):0>b?PWa(function(){var k=-b;return pA.B?pA.B(a,k):pA.call(null,a,k)}()):Nj.j(r(R.J(new z(null,QC,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0))))}return Nj.j(r(R.J(new z(null,QC,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0))))},iZd=new Pf(null,new f(null,31,[oY,null,eX,null,lK,null,iA,null, -Yz,null,CD,null,cA,null,UCd,null,wi,null,r_,null,OC,null,gA,null,QC,null,Tk,null,rG,null,h0,null,OT,null,dNb,null,pT,null,rKc,null,Vz,null,E_b,null,xD,null,sG,null,BD,null,Qk,null,kK,null,SC,null,AD,null,MC,null,y_,null],null),null),lA=function lA(a){return sy(a)?PE.j(a):fd(a)&&ld(iZd,t.j?t.j(a):t.call(null,a))?Jd(t.j?t.j(a):t.call(null,a),ng.B(lA,sc.j?sc.j(a):sc.call(null,a))):new z(null,e1,new z(null,a,null,1,null),2,null)},jZd=LWa(fz,function(a){return fZd(Wz(lA(a),a))}),kZd=LWa(o5,function(a){return f6.B(WWa(a), -mA(a))}),g6=function g6(a){switch(arguments.length){case 0:return g6.ca();case 1:return g6.j(arguments[0]);case 2:return g6.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gv&&vw(["Symbol generator of width ",l.j(a)," exhausted"].join(""));return J.j(qe.B(l,R.J(l.j(m),el.B(v,"0"),H.B([q],0))))}function g(){return k.j(b)}var k=null;k=function(m){switch(arguments.length){case 0:return g.call(this);case 1:return d.call(this,m)}throw Error("Invalid arity: "+arguments.length);};k.ca=g;k.j=d;return k}()};jG.aa=2; -var nZd=function(){function a(d,g,k,m){var q=h6[ba(null==d?null:d)];if(null!=q)return q.da?q.da(d,g,k,m):q.call(null,d,g,k,m);q=h6._;if(null!=q)return q.da?q.da(d,g,k,m):q.call(null,d,g,k,m);throw jb("ICanonicalize.expression-\x3e",d);}function b(d,g,k){var m=h6[ba(null==d?null:d)];if(null!=m)return m.G?m.G(d,g,k):m.call(null,d,g,k);m=h6._;if(null!=m)return m.G?m.G(d,g,k):m.call(null,d,g,k);throw jb("ICanonicalize.expression-\x3e",d);}var c=null;c=function(d,g,k,m){switch(arguments.length){case 3:return b.call(this, -d,g,k);case 4:return a.call(this,d,g,k,m)}throw Error("Invalid arity: "+arguments.length);};c.G=b;c.da=a;return c}(),h6=function h6(a){switch(arguments.length){case 3:return h6.G(arguments[0],arguments[1],arguments[2]);case 4:return h6.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};h6.G=function(a,b,c){return null!=a&&null!=a.th?a.th(a,b,c):nZd(a,b,c)}; -h6.da=function(a,b,c,d){return null!=a&&null!=a.Ag?a.Ag(a,b,c,d):nZd(a,b,c,d)};h6.aa=4;var kG=function kG(a){switch(arguments.length){case 1:return kG.j(arguments[0]);case 2:return kG.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};kG.j=function(a){return kG.B(a,jG.B(16,"-g-"))}; -kG.B=function(a,b){function c(ma){var pa=Gi.j(ng.B(q,ma));ma=t.j?t.j(pa):t.call(null,pa);var ra=qA(ma);return h(ra)?(pa=qe.B(ra,sc.j?sc.j(pa):sc.call(null,pa)),Xc(pa)&&Fc.B(t.j?t.j(pa):t.call(null,pa),ma)?d(pa):aa(pa)):d(pa)}function d(ma){ma=Gi.j(ng.B(D,ma));return D(ma)}function g(ma){return ja(k(ma))}function k(ma){var pa=wG;wG=!1;try{var ra=dXa(Sy(ma));ue(U,ra);var wa=aa(ma);return q(wa)}finally{wG=pa}}function m(ma){v();return g(Ry(ma))}function q(ma){return h(w(ma))?h6(a,ma,function(pa,ra){return rA(a, -pa,ra)},A):ma}function v(){ue(U,od);ue.B?ue.B(G,C):ue.call(null,G,C);ue.B?ue.B(Q,C):ue.call(null,Q,C);return null}function w(ma){return Xc(ma)&&!Fc.B(t(ma),gh)}function A(ma,pa){var ra=Bb(U);return ra.B?ra.B(ma,pa):ra.call(null,ma,pa)}function D(ma){if(h(w(ma))){var pa=oy(ma);var ra=Bb(G);ra=ra.j?ra.j(pa):ra.call(null,pa);h(ra)?ma=ra:(ra=b.ca?b.ca():b.call(null),zg.da?zg.da(G,Lf,pa,ra):zg.call(null,G,Lf,pa,ra),zg.da?zg.da(Q,Lf,ra,ma):zg.call(null,Q,Lf,ra,ma),ma=ra);return ma}return ma}var G=yg.j? -yg.j(C):yg.call(null,C),Q=yg.j?yg.j(C):yg.call(null,C),U=yg.j(od),aa=function ra(pa){if(h(w(pa))){var wa=Gi.j(ng.B(ra,pa));if(h(function(){var Ga=sA(a,t.j?t.j(wa):t.call(null,wa));h(Ga)&&(h(!0)?(Ga=Pz(wa),Ga=h(Ga)?!qy(Ic(sc.j?sc.j(wa):sc.call(null,wa))):Ga):Ga=!0,Ga=cb(Ga));return Ga}()))return wa;pa=function(){var Ga=Bb(G);return Ga.j?Ga.j(wa):Ga.call(null,wa)}();return h(pa)?pa:c(wa)}return pa},ja=function wa(ra){if(Xc(ra))return Gi.j(ng.B(wa,ra));if(ra instanceof n){var Ga=Bb(Q);Ga=Ga.j?Ga.j(ra): -Ga.call(null,ra);return h(Ga)?wa(Ga):ra}return ra};return new f(null,6,[fXa,function(ra){return Py(ra)?Qy(m,ra):m(ra)},hXa,function(ra){return Py(ra)?Qy(g,ra):g(ra)},iXa,v,kXa,k,mXa,function(){return Bb(Q)},yDc,function(){return Bb(G)}],null)};kG.aa=2;var CM=function CM(a){switch(arguments.length){case 1:return CM.j(arguments[0]);case 2:return CM.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};CM.j=function(a){return CM.B(a,1)};CM.B=function(a,b){return Ee(function(c){return a*c},b)};CM.aa=2;var i6=function i6(a){switch(arguments.length){case 1:return i6.j(arguments[0]);case 2:return i6.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -i6.j=function(a){return i6.B(a,1)};i6.B=function(a,b){return Ee(function(c){return c/a},b)};i6.aa=2;var yM=function yM(a){switch(arguments.length){case 1:return yM.j(arguments[0]);case 2:return yM.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};yM.j=function(a){return yM.B(a,C)}; -yM.B=function(a,b){b=ce(b);var c=y.G(b,KAb,2),d=y.B(b,Urc),g=y.G(b,Xab,vO);b=y.G(b,x9b,pXa(g));if(Uc(a))return new f(null,3,[cM,!1,xM,0,un,null],null);var k=h(d)?function(A){return A>=d}:se(!1);g=r(a);t(g);g=u(g);x.G(g,0,null);g=a;for(a=1;;){var m=r(g);g=t(m);var q=m=u(m);m=x.G(q,0,null);if(Uc(q))return new f(null,3,[cM,!1,xM,a,un,g],null);var v=a+1,w=b.B?b.B(g,m):b.call(null,g,m);if(h(function(){var A=v>=c;return A?(A=w,h(A)?A:k(v)):A}()))return new f(null,3,[cM,w,xM,v,un,m],null);a=v;g=q}}; -yM.aa=2;uXa._=!0;yA._=function(){return!1};zA._=function(a){return a};AA._=function(a){return ky(a)};var FA=function FA(a){switch(arguments.length){case 1:return FA.j(arguments[0]);case 2:return FA.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};FA.j=function(a){return new E(null,2,5,F,[Ke,a],null)};FA.B=function(a,b){return new E(null,2,5,F,[a,b],null)};FA.aa=2;var vXa=yg.j(-1),zXa=FUa(od,Rz,hy,FA);aS.B(VA,uy);e=HA.prototype; -e.he=function(){return Uc(this.Za)||fy(CA(x.B(this.Za,0)))};e.Lc=function(){return!0};e.Mc=function(a,b,c){a=Fe.J(function(d){var g=BA(d);return rXa(g,b)?rXa(g,c)?Ke:new E(null,1,5,F,[FA.B(sXa(tXa(g,b),c),CA(d))],null):new E(null,1,5,F,[d],null)},H.B([this.Za],0));return LA.j?LA.j(a):LA.call(null,a)};e.Kc=function(a,b){a=Fe.J(function(c){var d=BA(c);return rXa(d,b)?new E(null,1,5,F,[FA.B(tXa(d,b),CA(c))],null):Ke},H.B([this.Za],0));return LA.j?LA.j(a):LA.call(null,a)};e.yb=function(){return 0}; -e.Ab=function(){return RA.j?RA.j(this):RA.call(null,this)};e.rb=function(){return td(Nj.j(r(R.B(new z(null,Nvb,null,1,null),wh.B(function(a){return FA.B(BA(a),oy(CA(a)))},this.Za)))))};e.Fb=function(){return ne(Zj.B(hy,CA),this.Za)};e.Db=function(){return RA.j?RA.j(this):RA.call(null,this)};e.Jb=function(){return!1};e.Cb=function(){return VA};e.Bb=function(){return 1};e.Eb=function(){return 1};e.valueOf=function(){return(PA.j?PA.j(this):PA.call(null,this)).valueOf()}; -e.toString=function(){var a=ng.B(function(b){return[l.j(BA(b))," → ",lm.J(H.B([CA(b)],0))].join("")},this.Za);return["D[",Ik.B(" ",a),"]"].join("")};e.ma=function(a,b){return j6.B?j6.B(this,b):j6.call(null,this,b)};e.Ic=function(a,b){return SA.B?SA.B(this,b):SA.call(null,this,b)};e.qa=function(a,b){return qg.J(b,H.B([this.toString()],0))}; -var MA=Ke,AH=function AH(a){switch(arguments.length){case 0:return AH.ca();case 1:return AH.j(arguments[0]);case 2:return AH.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gb?TA.j(Fy):0k?Z:k}()],null)}throw EM;}catch(Z){if(Z instanceof Error){var q=Z;if(q===EM)throw EM;throw q;}throw Z;}else throw EM;}catch(Z){if(Z instanceof -Error)if(q=Z,q===EM)try{if(ad(b)&&3===Ec(b))try{var v=x.B(b,0);if(Md(v,lB)){var w=x.B(b,1),A=x.B(b,2);m=x.B(a,1);var D=function(){var va=m,ka=w;return va>ka?va:ka}();return Fc.B(D,A)?new E(null,2,5,F,[jB,D],null):D=m? -new E(null,2,5,F,[jB,U],null):c()}throw EM;}catch(ka){if(ka instanceof Error){var aa=ka;if(aa===EM)throw EM;throw aa;}throw ka;}else throw EM;}catch(ka){if(ka instanceof Error){aa=ka;if(aa===EM)throw EM;throw aa;}throw ka;}else throw G;else throw va;}else throw q;else throw Z;}else throw EM;}catch(Z){if(Z instanceof Error){q=Z;if(q===EM)throw EM;throw q;}throw Z;}else throw EM;}catch(Z){if(Z instanceof Error)if(q=Z,q===EM)try{if(ad(a)&&3===Ec(a))try{var ja=x.B(a,0);if(Md(ja,lB))try{if(ad(b)&&3=== -Ec(b))try{var ma=x.B(b,0);if(Md(ma,lB)){var pa=x.B(b,1),ra=x.B(b,2);w=x.B(a,1);A=x.B(a,2);D=function(){var va=w;return va>pa?va:pa}();var wa=function(){var va=A;return vab){var c=function(){var d=Rz.B(a,1),g=xB.j(b);return vJ.B?vJ.B(d,g):vJ.call(null,d,g)}();return hy(c)?Infinity:Ey.j(c)}return tz.G(Zj.B(ng.j(function(d){return Rz.B(a,xB.j(d))}),ng.j(NYa)),GA,Ki.j(b))});V6.N(null,new E(null,2,5,F,[E1,E1],null),function(a,b){if(0===b)return 1;if(0>b)return a+=1,b=-b,b=vJ.B?vJ.B(a,b):vJ.call(null,a,b),hy(b)?Infinity:FB.B(1,b);b=Ki.G(a,a-b,-1);return tz.G(ng.j(pw),GA,b)}); -var vJ,b_d=yg.j(C),c_d=yg.j(C),d_d=yg.j(C),e_d=yg.j(C),f_d=y.G(C,es,Eg.ca?Eg.ca():Eg.call(null));vJ=new Jg(J.B("emmy.special.factorial","rising-factorial"),WK,Ci,f_d,b_d,c_d,d_d,e_d);vJ.N(null,new E(null,1,5,F,[B],null),function(a){var b=new f(null,2,[cB,new E(null,2,5,F,[jB,2],null),X,pIb],null);return b.j?b.j(a):b.call(null,a)});vJ.N(null,Ci,function(a,b){return 0===b?1:0>b?(b=V6.B(Gy.B(a,1),xB.j(b)),hy(b)?Infinity:Ey.j(b)):tz.G(Zj.B(ng.j(function(c){return Rz.B(a,c)}),ng.j(NYa)),GA,Ki.j(b))}); -vJ.N(null,new E(null,2,5,F,[E1,E1],null),function(a,b){if(0===b)return 1;if(0>b)return a=V6.B(a-1,-b),hy(a)?Infinity:FB.B(1,a);a=Ki.B(a,a+b);return tz.G(ng.j(pw),GA,a)}); -var W6=function W6(a){if(0===a)a=1;else if(0a){if(0 -b||b>a)return 0;g=function(){var m=a-b;return ba)return 0;c=Bb(g);return c.B?c.B(a,b):c.call(null, -a,b)};X6.aa=2;X6.ea=function(a){var b=t(a),c=u(a);a=t(c);c=u(c);return this.J(b,a,c)};var RB=function RB(a,b){var d=function m(k){return new Sd(null,function(){if(hy(t(k)))return Jd(t(k),m(sc(k)));var q=Dy.B(t(k),t(b)),v=QB(t(k),sc(b)),w=m(sc(k));return Jd(q,SYa(v,w))},null,null)};return new Sd(null,function(){if(hy(t(b))){var k=t(b);var m=sc(b);m=RB.B?RB.B(a,m):RB.call(null,a,m);k=Jd(k,m)}else k=d(a);return k},null,null)},Y6=function Y6(a,b){return new Sd(null,function(){var d=t(a),g=sc(a),k=t(b),m=sc(b);if(hy(d)&&hy(k))return Y6.B?Y6.B(g,m):Y6.call(null,g,m);if(hy(d))return Jd(d, -Y6.B?Y6.B(g,b):Y6.call(null,g,b));if(hy(k))return ww("ERROR: denominator has a zero constant term");d=Iy.B(d,k);g=VYa(g,QB(d,m));g=Y6.B?Y6.B(g,b):Y6.call(null,g,b);return Jd(d,g)},null,null)},TB=function TB(a){return new Sd(null,function(){var c=Ey.j(t(a)),d=RB(sc(a),TB.j?TB.j(a):TB.call(null,a));d=QB(c,ng.B(Fy,d));return Jd(c,d)},null,null)},g_d=function g_d(a){var c=r(a),d=t(c);c=u(c);var g=r(c);c=t(g);g=u(g);if(hy(d)&&hy(c))return Jd(d,g_d.j?g_d.j(g):g_d.call(null,g));var k=IL.j(d);return function v(q){return new Sd(null, -function(){return UB(Y6(ng.G(GA,sc(q),Ee(xc,1)),QB(2,v(q))),k)},null,null)}(a)};R.B(new E(null,2,5,F,[0,0],null),Ee(xc,9)); -var h_d=new Sd(null,function(){return UB(h_d,1)},null,null),j_d=new Sd(null,function(){return UB(i_d,0)},null,null),i_d=new Sd(null,function(){return XYa(1,UB(j_d,0))},null,null),k_d=Y6(j_d,i_d),l_d=TB(i_d),m_d=$Ya(j_d),n_d=UB(ze(new E(null,4,5,F,[1,0,-1,0],null)),0),o_d=XYa(Math.PI/2,m_d),p_d=XYa(Math.PI/2,n_d),r_d=new Sd(null,function(){return UB(q_d,1)},null,null),q_d=new Sd(null,function(){return UB(r_d,0)},null,null),s_d=Y6(q_d,r_d),t_d=$Ya(q_d),u_d=$Ya(s_d),v_d=UB(el.j(-1),0),w_d=UB(ze(new E(null, -2,5,F,[1,-1],null)),0),x_d=R.B(new Sd(null,function(){return new E(null,1,5,F,[1],null)},null,null),new Sd(null,function(){return RB(x_d,x_d)},null,null)),z_d=R.B(new Sd(null,function(){return new E(null,1,5,F,[0],null)},null,null),new Sd(null,function(){return y_d},null,null)),A_d=R.B(new Sd(null,function(){return new E(null,1,5,F,[1],null)},null,null),new Sd(null,function(){return A_d},null,null)),y_d=SB(A_d,z_d),B_d=R.B(new Sd(null,function(){return new E(null,2,5,F,[0,1],null)},null,null),new Sd(null, -function(){return ng.G(Jn,B_d,sc(B_d))},null,null)),C_d=Fx.B(EA,ng.B(FB,Ee(xc,1))),D_d=ng.B(RYa,Ee(xc,1));e=VB.prototype;e.toString=function(){return l.j(this.rb(null))};e.qa=function(a,b){return qg.J(b,H.B(['#object[emmy.series.Series "',this.toString(),'"]'],0))};e.oa=function(){return this.m};e.yb=function(){return E_d};e.Ab=function(){return!1};e.rb=function(){var a=oy(Vy.j(Ae.B(4,this.xs)));return Nj.j(r(R.J(new z(null,Tk,null,1,null),a,H.B([new z(null,FQb,null,1,null)],0))))};e.Fb=function(){return!1};e.Db=function(){return!1};e.Jb=function(){return!1};e.Cb=function(){return aHb};e.Bb=function(){return F_d}; -e.Eb=function(){return G_d};e.zc=function(){return YA(t(this.xs))};e.sa=function(){return this.xs};e.pa=function(a,b){return new VB(this.xs,b)}; -e.call=function(a){switch(arguments.length-1){case 0:return this.ca();case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.xa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.La(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Aa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ba(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); -case 11:return this.Ca(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.Da(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ea(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], -arguments[11],arguments[12],arguments[13]);case 14:return this.Fa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Ga(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Ha(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ja(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Va(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.jb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], -arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.ca=function(){var a=this.xs;a=cC.B?cC.B(a,Ke):cC.call(null,a,Ke);return new VB(a,null)};e.j=function(a){var b=this.xs;a=new E(null,1,5,F,[a],null);b=cC.B?cC.B(b,a):cC.call(null,b,a);return new VB(b,null)}; -e.B=function(a,b){var c=this.xs;a=new E(null,2,5,F,[a,b],null);c=cC.B?cC.B(c,a):cC.call(null,c,a);return new VB(c,null)};e.G=function(a,b,c){var d=this.xs;a=new E(null,3,5,F,[a,b,c],null);d=cC.B?cC.B(d,a):cC.call(null,d,a);return new VB(d,null)};e.da=function(a,b,c,d){var g=this.xs;a=new E(null,4,5,F,[a,b,c,d],null);g=cC.B?cC.B(g,a):cC.call(null,g,a);return new VB(g,null)}; -e.ia=function(a,b,c,d,g){var k=this.xs;a=new E(null,5,5,F,[a,b,c,d,g],null);k=cC.B?cC.B(k,a):cC.call(null,k,a);return new VB(k,null)};e.xa=function(a,b,c,d,g,k){var m=this.xs;a=new E(null,6,5,F,[a,b,c,d,g,k],null);m=cC.B?cC.B(m,a):cC.call(null,m,a);return new VB(m,null)};e.La=function(a,b,c,d,g,k,m){var q=this.xs;a=new E(null,7,5,F,[a,b,c,d,g,k,m],null);q=cC.B?cC.B(q,a):cC.call(null,q,a);return new VB(q,null)}; -e.Aa=function(a,b,c,d,g,k,m,q){var v=this.xs;a=new E(null,8,5,F,[a,b,c,d,g,k,m,q],null);v=cC.B?cC.B(v,a):cC.call(null,v,a);return new VB(v,null)};e.Ma=function(a,b,c,d,g,k,m,q,v){var w=this.xs;a=new E(null,9,5,F,[a,b,c,d,g,k,m,q,v],null);w=cC.B?cC.B(w,a):cC.call(null,w,a);return new VB(w,null)};e.Ba=function(a,b,c,d,g,k,m,q,v,w){var A=this.xs;a=new E(null,10,5,F,[a,b,c,d,g,k,m,q,v,w],null);A=cC.B?cC.B(A,a):cC.call(null,A,a);return new VB(A,null)}; -e.Ca=function(a,b,c,d,g,k,m,q,v,w,A){var D=this.xs;a=new E(null,11,5,F,[a,b,c,d,g,k,m,q,v,w,A],null);D=cC.B?cC.B(D,a):cC.call(null,D,a);return new VB(D,null)};e.Da=function(a,b,c,d,g,k,m,q,v,w,A,D){var G=this.xs;a=new E(null,12,5,F,[a,b,c,d,g,k,m,q,v,w,A,D],null);G=cC.B?cC.B(G,a):cC.call(null,G,a);return new VB(G,null)};e.Ea=function(a,b,c,d,g,k,m,q,v,w,A,D,G){var Q=this.xs;a=new E(null,13,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G],null);Q=cC.B?cC.B(Q,a):cC.call(null,Q,a);return new VB(Q,null)}; -e.Fa=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q){var U=this.xs;a=new E(null,14,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q],null);U=cC.B?cC.B(U,a):cC.call(null,U,a);return new VB(U,null)};e.Ga=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U){var aa=this.xs;a=new E(null,15,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U],null);aa=cC.B?cC.B(aa,a):cC.call(null,aa,a);return new VB(aa,null)}; -e.Ha=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa){var ja=this.xs;a=new E(null,16,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa],null);ja=cC.B?cC.B(ja,a):cC.call(null,ja,a);return new VB(ja,null)};e.Ia=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja){var ma=this.xs;a=new E(null,17,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja],null);ma=cC.B?cC.B(ma,a):cC.call(null,ma,a);return new VB(ma,null)}; -e.Ja=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma){var pa=this.xs;a=new E(null,18,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma],null);pa=cC.B?cC.B(pa,a):cC.call(null,pa,a);return new VB(pa,null)};e.Ka=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa){var ra=this.xs;a=new E(null,19,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa],null);ra=cC.B?cC.B(ra,a):cC.call(null,ra,a);return new VB(ra,null)}; -e.Va=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra){var wa=this.xs;a=new E(null,20,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra],null);wa=cC.B?cC.B(wa,a):cC.call(null,wa,a);return new VB(wa,null)};e.jb=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa){var Ga=this.xs;a=R.B(new E(null,20,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra],null),wa);Ga=cC.B?cC.B(Ga,a):cC.call(null,Ga,a);return new VB(Ga,null)};e.Lc=function(){return!1}; -e.Mc=function(a,b,c){function d(g){return zA(g,b,c)}return dC.B?dC.B(d,this):dC.call(null,d,this)};e.Kc=function(a,b){function c(d){return AA(d,b)}return dC.B?dC.B(c,this):dC.call(null,c,this)};e=XB.prototype;e.toString=function(){return l.j(this.rb(null))};e.qa=function(a,b){return qg.J(b,H.B(['#object[emmy.series.PowerSeries "',this.toString(),'"]'],0))};e.oa=function(){return this.m};e.yb=function(){return H_d};e.Ab=function(){return!1}; -e.rb=function(){var a=iu.B(function(b,c){return iy(c)?Nj.j(r(R.J(new z(null,QC,null,1,null),new z(null,Ju,null,1,null),H.B([new z(null,b,null,1,null)],0)))):Nj.j(r(R.J(new z(null,Vz,null,1,null),new z(null,c,null,1,null),H.B([new z(null,Nj.j(r(R.J(new z(null,QC,null,1,null),new z(null,Ju,null,1,null),H.B([new z(null,b,null,1,null)],0)))),null,1,null)],0))))},He.B(re(hy),oy(Vy.j(Ae.B(4,this.xs)))));return Nj.j(r(R.J(new z(null,Tk,null,1,null),a,H.B([new z(null,FQb,null,1,null)],0))))};e.Fb=function(){return!1}; -e.Db=function(){return!1};e.Jb=function(){return!1};e.Cb=function(){return DW};e.Bb=function(){return I_d};e.Eb=function(){return J_d};e.zc=function(){return new E(null,2,5,F,[jB,1],null)};e.sa=function(){return this.xs};e.pa=function(a,b){return new XB(this.xs,b)};e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))}; -e.j=function(a){return new VB(eZa.B?eZa.B(this.xs,a):eZa.call(null,this.xs,a),null)};e.Lc=function(){return!1};e.Mc=function(a,b,c){function d(g){return zA(g,b,c)}return dC.B?dC.B(d,this):dC.call(null,d,this)};e.Kc=function(a,b){function c(d){return AA(d,b)}return dC.B?dC.B(c,this):dC.call(null,c,this)};var Z6=function Z6(a){for(var c=[],d=arguments.length,g=0;;)if(gnA.j(b)},null,1,null),2,null),3,null),4,null),new z(null,iY,null,1,null),2,null),3,null),null,1,null), -2,null),KC),function(b){var c=F,d=r(new E(null,2,5,F,[MC,r(R.B(new E(null,2,5,F,[Vz,xB.j(TC)],null),iY.j?iY.j(b):iY.call(null,b)))],null));b=xB.j(nA.j(b.j?b.j(PC):b.call(null,PC)));return(c=r(new E(null,3,5,c,[QC,d,b],null)))?c:qC(c)}),yC(IC.B(new z(null,MC,new z(null,new z(null,Vz,new z(null,new z(null,iC,new z(null,NC,new z(null,a,new z(null,function(b){return 1b},null,1,null),2,null),3,null),4,null),new z(null,iY,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){var c=F,d=r(new E(null,2,5,F,[MC,r(R.B(new E(null,2,5,F,[Vz,-1],null),iY.j?iY.j(b):iY.call(null, -b)))],null));b=-(b.j?b.j(NC):b.call(null,NC));return(c=r(new E(null,3,5,c,[QC,d,b],null)))?c:qC(c)}),yC(IC.B(new z(null,MC,new z(null,new z(null,iC,new z(null,PC,new z(null,FC,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){return(b=r(new E(null,3,5,F,[Vz,r(new E(null,2,5,F,[MC,function(c){return kA.j(c.j?c.j(PC):c.call(null,PC))}(b)],null)),r(new E(null,2,5,F,[MC,function(c){return GA.B(nA.j(c.j?c.j(PC):c.call(null,PC)),TQ.sb.j?TQ.sb.j(TC):TQ.sb.call(null,TC))}(b)],null))],null)))? -b:qC(b)}),yC(IC.B(new z(null,MC,new z(null,new z(null,Vz,new z(null,new z(null,iC,new z(null,PC,new z(null,FC,null,1,null),2,null),3,null),new z(null,iY,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){return(b=r(new E(null,3,5,F,[Vz,r(new E(null,2,5,F,[MC,r(R.B(new E(null,2,5,F,[Vz,function(c){return kA.j(c.j?c.j(PC):c.call(null,PC))}(b)],null),iY.j?iY.j(b):iY.call(null,b)))],null)),r(new E(null,2,5,F,[MC,r(R.B(new E(null,2,5,F,[Vz,function(c){return GA.B(nA.j(c.j?c.j(PC):c.call(null, -PC)),TQ.sb.j?TQ.sb.j(TC):TQ.sb.call(null,TC))}(b)],null),iY.j?iY.j(b):iY.call(null,b)))],null))],null)))?b:qC(b)})],0))],0))}(),s3a=LC.J(H.B([HC.J(H.B([yC(IC.B(new z(null,cA,new z(null,TC,null,1,null),2,null),KC),function(){var a=r(new E(null,2,5,F,[gA,1],null));return a?a:qC(a)}),yC(IC.B(new z(null,cA,new z(null,new z(null,Vz,new z(null,oW,new z(null,TC,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(a){return(a=r(new E(null,2,5,F,[gA,oW.j?oW.j(a):oW.call(null,a)],null)))?a:qC(a)}), -yC(IC.B(new z(null,cA,new z(null,new z(null,Vz,new z(null,TC,new z(null,oW,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(a){return(a=r(new E(null,2,5,F,[gA,oW.j?oW.j(a):oW.call(null,a)],null)))?a:qC(a)}),yC(IC.B(new z(null,cA,new z(null,new z(null,Vz,new z(null,JC,new z(null,TC,new z(null,fD,null,1,null),2,null),3,null),4,null),null,1,null),2,null),KC),function(a){return(a=r(new E(null,2,5,F,[gA,r(R.J(new E(null,1,5,F,[Vz],null),JC.j?JC.j(a):JC.call(null,a),H.B([fD.j?fD.j(a):fD.call(null, -a)],0)))],null)))?a:qC(a)}),yC(IC.B(new z(null,Yz,new z(null,TC,null,1,null),2,null),KC),function(){var a=r(new E(null,3,5,F,[Vz,TC,r(new E(null,2,5,F,[iA,1],null))],null));return a?a:qC(a)}),yC(IC.B(new z(null,Yz,new z(null,new z(null,Vz,new z(null,oW,new z(null,TC,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(a){return(a=r(new E(null,3,5,F,[Vz,TC,r(new E(null,2,5,F,[iA,oW.j?oW.j(a):oW.call(null,a)],null))],null)))?a:qC(a)}),yC(IC.B(new z(null,Yz,new z(null,new z(null,Vz,new z(null, -TC,new z(null,oW,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(a){return(a=r(new E(null,3,5,F,[Vz,TC,r(new E(null,2,5,F,[iA,oW.j?oW.j(a):oW.call(null,a)],null))],null)))?a:qC(a)}),yC(IC.B(new z(null,Yz,new z(null,new z(null,Vz,new z(null,JC,new z(null,TC,new z(null,fD,null,1,null),2,null),3,null),4,null),null,1,null),2,null),KC),function(a){return(a=r(new E(null,3,5,F,[Vz,TC,r(new E(null,2,5,F,[iA,r(R.J(new E(null,1,5,F,[Vz],null),JC.j?JC.j(a):JC.call(null,a),H.B([fD.j?fD.j(a):fD.call(null, -a)],0)))],null))],null)))?a:qC(a)})],0))],0)),f0d=function(){var a=M(iC,JD,new Pf(null,new f(null,2,[MX,"null",Did,"null"],null),null));return LC.J(H.B([HC.J(H.B([yC(IC.B(new z(null,a,new z(null,new z(null,cA,new z(null,nsb,null,1,null),2,null),new z(null,new z(null,Yz,new z(null,nsb,null,1,null),2,null),null,1,null),2,null),3,null),KC),function(b){return(b=r(new E(null,2,5,F,[MC,r(new E(null,3,5,F,[Vz,TC,nsb.j?nsb.j(b):nsb.call(null,b)],null))],null)))?b:qC(b)}),yC(IC.B(new z(null,UU,new z(null, -new z(null,a,new z(null,R0,new z(null,Ju,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){b=R0.j?R0.j(b):R0.call(null,b);return h(b)?b:qC(b)}),yC(IC.B(new z(null,MW,new z(null,new z(null,a,new z(null,Ju,new z(null,HT,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){b=HT.j?HT.j(b):HT.call(null,b);return h(b)?b:qC(b)}),yC(IC.B(new z(null,SD,new z(null,new z(null,a,new z(null,R0,new z(null,HT,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){return(b= -r(new E(null,2,5,F,[SC,r(new E(null,3,5,F,[Tk,r(new E(null,3,5,F,[QC,R0.j?R0.j(b):R0.call(null,b),2],null)),r(new E(null,3,5,F,[QC,HT.j?HT.j(b):HT.call(null,b),2],null))],null))],null)))?b:qC(b)}),yC(IC.B(new z(null,y1,new z(null,new z(null,a,new z(null,R0,new z(null,HT,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){return(b=r(new E(null,3,5,F,[xD,HT.j?HT.j(b):HT.call(null,b),R0.j?R0.j(b):R0.call(null,b)],null)))?b:qC(b)}),yC(IC.B(new z(null,UU,new z(null,new z(null,iU,new z(null, -lW,new z(null,UC,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){return(b=r(new E(null,3,5,F,[Vz,lW.j?lW.j(b):lW.call(null,b),r(new E(null,2,5,F,[cA,UC.j?UC.j(b):UC.call(null,b)],null))],null)))?b:qC(b)}),yC(IC.B(new z(null,MW,new z(null,new z(null,iU,new z(null,lW,new z(null,UC,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){return(b=r(new E(null,3,5,F,[Vz,lW.j?lW.j(b):lW.call(null,b),r(new E(null,2,5,F,[Yz,UC.j?UC.j(b):UC.call(null,b)],null))],null)))?b:qC(b)}), -yC(IC.B(new z(null,SD,new z(null,new z(null,iU,new z(null,lW,new z(null,Ju,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){b=lW.j?lW.j(b):lW.call(null,b);return h(b)?b:qC(b)}),yC(IC.B(new z(null,y1,new z(null,new z(null,iU,new z(null,Ju,new z(null,UC,null,1,null),2,null),3,null),null,1,null),2,null),KC),function(b){b=UC.j?UC.j(b):UC.call(null,b);return h(b)?b:qC(b)})],0))],0))}(),m3a=LC.J(H.B([HC.J(H.B([yC(IC.B(new z(null,Vz,new z(null,1,new z(null,zS,null,1,null),2,null),3,null), -KC),function(a){a=zS.j?zS.j(a):zS.call(null,a);return h(a)?a:qC(a)}),yC(IC.B(new z(null,Vz,new z(null,1,new z(null,iY,null,1,null),2,null),3,null),KC),function(a){return(a=r(R.B(new E(null,1,5,F,[Vz],null),iY.j?iY.j(a):iY.call(null,a))))?a:qC(a)}),yC(IC.B(new z(null,wi,new z(null,new z(null,iC,new z(null,NC,new z(null,sy,null,1,null),2,null),3,null),new z(null,new z(null,iC,new z(null,kW,new z(null,sy,null,1,null),2,null),3,null),null,1,null),2,null),3,null),KC),function(a){var b=ce(a);a=y.B(b,NC); -b=y.B(b,kW);a=FB.B(a,b);return h(a)?a:qC(a)}),yC(IC.B(new z(null,wi,new z(null,new z(null,Tk,new z(null,iyc,null,1,null),2,null),new z(null,new z(null,iC,new z(null,kW,new z(null,sy,null,1,null),2,null),3,null),null,1,null),2,null),3,null),KC),function(a){return(a=r(R.B(new E(null,1,5,F,[Tk],null),function(b){return ng.B(function(c){return(c=r(new E(null,3,5,F,[wi,c,kW.j?kW.j(b):kW.call(null,b)],null)))?c:qC(c)},b.j?b.j(iyc):b.call(null,iyc))}(a))))?a:qC(a)}),yC(IC.B(new z(null,wi,new z(null,new z(null, -Vz,new z(null,new z(null,iC,new z(null,NC,new z(null,sy,null,1,null),2,null),3,null),new z(null,iY,null,1,null),2,null),3,null),new z(null,new z(null,iC,new z(null,kW,new z(null,sy,null,1,null),2,null),3,null),null,1,null),2,null),3,null),KC),function(a){var b=R.B,c=F,d=ce(a);var g=y.B(d,NC);d=y.B(d,kW);g=FB.B(g,d);return(a=r(b.call(R,new E(null,2,5,c,[Vz,g],null),iY.j?iY.j(a):iY.call(null,a))))?a:qC(a)}),yC(IC.B(new z(null,wi,new z(null,new z(null,Vz,new z(null,iY,null,1,null),2,null),new z(null, -new z(null,iC,new z(null,kW,new z(null,sy,null,1,null),2,null),3,null),null,1,null),2,null),3,null),KC),function(a){var b=R.B,c=F;var d=Ey.j(a.j?a.j(kW):a.call(null,kW));return(a=r(b.call(R,new E(null,2,5,c,[Vz,d],null),iY.j?iY.j(a):iY.call(null,a))))?a:qC(a)}),yC(IC.B(new z(null,wi,new z(null,NC,new z(null,new z(null,Vz,new z(null,new z(null,iC,new z(null,kW,new z(null,sy,null,1,null),2,null),3,null),new z(null,zS,null,1,null),2,null),3,null),null,1,null),2,null),3,null),KC),function(a){return(a= -r(new E(null,3,5,F,[wi,r(new E(null,3,5,F,[wi,NC.j?NC.j(a):NC.call(null,a),kW.j?kW.j(a):kW.call(null,a)],null)),zS.j?zS.j(a):zS.call(null,a)],null)))?a:qC(a)}),yC(IC.B(new z(null,wi,new z(null,NC,new z(null,new z(null,Vz,new z(null,new z(null,iC,new z(null,kW,new z(null,sy,null,1,null),2,null),3,null),new z(null,iY,null,1,null),2,null),3,null),null,1,null),2,null),3,null),KC),function(a){return(a=r(new E(null,3,5,F,[wi,r(new E(null,3,5,F,[wi,NC.j?NC.j(a):NC.call(null,a),kW.j?kW.j(a):kW.call(null, -a)],null)),r(R.B(new E(null,1,5,F,[Vz],null),iY.j?iY.j(a):iY.call(null,a)))],null)))?a:qC(a)}),yC(IC.B(new z(null,wi,new z(null,NC,new z(null,new z(null,iC,new z(null,kW,new z(null,sy,null,1,null),2,null),3,null),null,1,null),2,null),3,null),KC),function(a){var b=F;var c=Ey.j(a.j?a.j(kW):a.call(null,kW));return(a=r(new E(null,3,5,b,[Vz,c,NC.j?NC.j(a):NC.call(null,a)],null)))?a:qC(a)})],0))],0));var g0d=LC.J(H.B([Q7.J(H.B([Tk,Vz],0)),V_d,P7.J(H.B([Tk,Vz],0))],0));e=UD.prototype;e.Fb=function(){var a=Ocb.j(this.context);return h(a)?a.j?a.j(this):a.call(null,this):Fc.B(this.o,ky)};e.Db=function(){var a=Hac.j(this.context);return h(a)?a.j?a.j(this):a.call(null,this):!1};e.Ab=function(){var a=Qrb.j(this.context);return h(a)?a.j?a.j(this):a.call(null,this):Fc.B(this.o,vd)}; -e.yb=function(){var a=IXa.j(this.context);return h(a)?a.j?a.j(this):a.call(null,this):new UD(ky,this.arity,fkc,this.context,this.m)};e.Eb=function(){var a=KXa.j(this.context);return h(a)?a.j?a.j(this):a.call(null,this):new UD(vd,this.arity,pu,this.context,this.m)};e.Bb=function(){var a=MXa.j(this.context);return h(a)?a.j?a.j(this):a.call(null,this):new UD(vd,this.arity,pu,this.context,this.m)};e.rb=function(){var a=oy(this.name);return g0d.j?g0d.j(a):g0d.call(null,a)};e.Cb=function(){return dE.j(this.context)}; -e.zc=function(){return this.arity};e.Lc=function(){return!1};e.Mc=function(a,b,c){return new UD(zA(this.o,b,c),this.arity,this.name,this.context,this.m)};e.Kc=function(a,b){return new UD(AA(this.o,b),this.arity,this.name,this.context,this.m)};e.toString=function(){var a=this.rb(null);return l.j(gd(a)?r(a):a)};e.oa=function(){return this.m};e.pa=function(a,b){return new UD(this.o,this.arity,this.name,this.context,b)};e.ya=function(a,b){return j0a.B?j0a.B(this,b):j0a.call(null,this,b)};e.ka=function(){return uw("Operators don't support the not-found arity of get!")}; -e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.xa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.La(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Aa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ba(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]);case 11:return this.Ca(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.Da(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ea(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13]); -case 14:return this.Fa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Ga(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Ha(arguments[1],arguments[2],arguments[3],arguments[4], -arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5], -arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Va(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.jb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18], -arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.j=function(a){return this.o.j?this.o.j(a):this.o.call(null,a)};e.B=function(a,b){return this.o.B?this.o.B(a,b):this.o.call(null,a,b)};e.G=function(a,b,c){return this.o.G?this.o.G(a,b,c):this.o.call(null,a,b,c)};e.da=function(a,b,c,d){return this.o.da?this.o.da(a,b,c,d):this.o.call(null,a,b,c,d)}; -e.ia=function(a,b,c,d,g){return this.o.ia?this.o.ia(a,b,c,d,g):this.o.call(null,a,b,c,d,g)};e.xa=function(a,b,c,d,g,k){return this.o.xa?this.o.xa(a,b,c,d,g,k):this.o.call(null,a,b,c,d,g,k)};e.La=function(a,b,c,d,g,k,m){return this.o.La?this.o.La(a,b,c,d,g,k,m):this.o.call(null,a,b,c,d,g,k,m)};e.Aa=function(a,b,c,d,g,k,m,q){return this.o.Aa?this.o.Aa(a,b,c,d,g,k,m,q):this.o.call(null,a,b,c,d,g,k,m,q)}; -e.Ma=function(a,b,c,d,g,k,m,q,v){return this.o.Ma?this.o.Ma(a,b,c,d,g,k,m,q,v):this.o.call(null,a,b,c,d,g,k,m,q,v)};e.Ba=function(a,b,c,d,g,k,m,q,v,w){return this.o.Ba?this.o.Ba(a,b,c,d,g,k,m,q,v,w):this.o.call(null,a,b,c,d,g,k,m,q,v,w)};e.Ca=function(a,b,c,d,g,k,m,q,v,w,A){return this.o.Ca?this.o.Ca(a,b,c,d,g,k,m,q,v,w,A):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A)};e.Da=function(a,b,c,d,g,k,m,q,v,w,A,D){return this.o.Da?this.o.Da(a,b,c,d,g,k,m,q,v,w,A,D):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D)}; -e.Ea=function(a,b,c,d,g,k,m,q,v,w,A,D,G){return this.o.Ea?this.o.Ea(a,b,c,d,g,k,m,q,v,w,A,D,G):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G)};e.Fa=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q){return this.o.Fa?this.o.Fa(a,b,c,d,g,k,m,q,v,w,A,D,G,Q):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q)};e.Ga=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U){return this.o.Ga?this.o.Ga(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U)}; -e.Ha=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa){return this.o.Ha?this.o.Ha(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa)};e.Ia=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja){return this.o.Ia?this.o.Ia(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja)}; -e.Ja=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma){return this.o.Ja?this.o.Ja(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma)};e.Ka=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa){return this.o.Ka?this.o.Ka(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa)}; -e.Va=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra){return this.o.Va?this.o.Va(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra):this.o.call(null,a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra)};e.jb=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa){return qe.J(this.o,a,b,c,d,H.B([g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa],0))};e.ab=lc;e.qa=function(a,b){return qg.J(b,H.B([this.toString()],0))}; -var bE=function bE(a){switch(arguments.length){case 1:return bE.j(arguments[0]);case 2:return bE.B(arguments[0],arguments[1]);case 3:return bE.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};bE.j=function(a){return bE.G(a,zLb,C)};bE.B=function(a,b){return bE.G(a,b,C)};bE.G=function(a,b,c){return VD(a,cB.B(c,YA(a)),b,jf.B(new f(null,1,[dE,nZ],null),c),null)};bE.aa=3; -var h0d=bE.B(vd,pu),T7=function T7(a){switch(arguments.length){case 0:return T7.ca();case 1:return T7.j(arguments[0]);case 2:return T7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};T7.ca=function(){return h0d};T7.j=function(a){return a}; -T7.B=function(a,b){var c=k0a(a,b);return jy(a)?aE(b,c):jy(b)?aE(a,c):hy(a)?aE(a,c):VD(bB.J(H.B([a,b],0)),YD(b),Nj.j(r(R.J(new z(null,Vz,null,1,null),new z(null,ZD(a),null,1,null),H.B([new z(null,ZD(b),null,1,null)],0)))),c,null)};T7.aa=2;var U7=function U7(a){switch(arguments.length){case 1:return U7.j(arguments[0]);case 2:return U7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};U7.j=function(a){return t0a(a)}; -U7.B=function(a,b){return VD(gZa(gE.j?gE.j(a):gE.call(null,a),b),new E(null,2,5,F,[jB,1],null),Nj.j(r(R.B(new z(null,MC,null,1,null),new z(null,ZD(a),null,1,null)))),$D(a),Rc(a))};U7.aa=2;aS.B(uy,FX);aS.B(ZA,FX); -for(var i0d=r(new E(null,14,5,F,[new E(null,3,5,F,[pJ,gE,MC],null),new E(null,3,5,F,[OH,g7,cA],null),new E(null,3,5,F,[PH,f7,Yz],null),new E(null,3,5,F,[U4,h7,CD],null),new E(null,3,5,F,[X4,i7,rG],null),new E(null,3,5,F,[TH,k7,BD],null),new E(null,3,5,F,[Y4,j7,AD],null),new E(null,3,5,F,[UH,l7,xD],null),new E(null,3,5,F,[Z4,m7,eT],null),new E(null,3,5,F,[hA,o7,gA],null),new E(null,3,5,F,[jA,n7,iA],null),new E(null,3,5,F,[b5,p7,y_],null),new E(null,3,5,F,[g5,q7,vY],null),new E(null,3,5,F,[h5,r7,yX], -null)],null)),j0d=null,k0d=0,l0d=0;;)if(l0dc?GA.B(a,yB.B(a,xB.B(b,c))):ww(["Cannot: ",l.j(Nj.j(r(R.J(new z(null,VUc,null,1,null),new z(null,a,null,1,null),H.B([new z(null,b,null,1,null)],0)))))].join(""))});Vy.N(null,new E(null,1,5,F,[qS],null),function(a){return GE.J(Vy,H.B([a],0))});fz.N(null,new E(null,1,5,F,[qS],null),function(a){var b=IL.j;a=N0a(PE.j(a),a);return b.call(IL,a)});hz.N(null,new E(null,1,5,F,[qS],null),function(a){return IL.j(N0a(a,a))}); -hO.N(null,new E(null,2,5,F,[kE,kE],null),function(a,b){return GE.J(hO,H.B([a,b],0))});hO.N(null,new E(null,2,5,F,[qE,qE],null),function(a,b){return GE.J(hO,H.B([a,b],0))});n5.N(null,new E(null,2,5,F,[kE,kE],null),function(a,b){return GE.J(n5,H.B([a,b],0))});n5.N(null,new E(null,2,5,F,[qE,qE],null),function(a,b){return GE.J(n5,H.B([a,b],0))});kA.N(null,new E(null,1,5,F,[qS],null),function(a){return GE.J(kA,H.B([a],0))});nA.N(null,new E(null,1,5,F,[qS],null),function(a){return GE.J(nA,H.B([a],0))}); -PE.N(null,new E(null,1,5,F,[qS],null),function(a){return GE.J(PE,H.B([a],0))});CN.N(null,new E(null,1,5,F,[qS],null),function(a){return JE(a)});dL.N(null,new E(null,1,5,F,[qS],null),function(a){return mE(a)});oA.N(null,new E(null,2,5,F,[qS,qS],null),function(a,b){return N0a(a,b)});q5.N(null,new E(null,2,5,F,[qS,qS],null),function(a,b){return N0a(PE.j(a),b)});r5.N(null,new E(null,2,5,F,[qS,qS],null),function(a,b){return O0a(a,b)}); -s5.N(null,new E(null,2,5,F,[kE,kE],null),function(a,b){return P0a(a,b)});e=TE.prototype;e.toString=function(){return Y7.j?Y7.j(this):Y7.call(null,this)};e.Lc=function(){var a=ng.B(CB,this.Za);return Oa(oe(yA,a))};e.Mc=function(a,b,c){function d(g){return zA(g,b,c)}return jF.B?jF.B(d,this):jF.call(null,d,this)};e.Kc=function(a,b){function c(d){return AA(d,b)}return jF.B?jF.B(c,this):jF.call(null,c,this)};e.qa=function(a,b){return qg.J(b,H.B(['#object[emmy.polynomial.Polynomial "',this.toString(),'"]'],0))};e.oa=function(){return this.m}; -e.ma=function(a,b){return eF.B?eF.B(this,b):eF.call(null,this,b)};e.yb=function(){var a=x.B(this.Za,0);return h(a)?ky(CB(a)):0};e.Ab=function(){var a=iy(this.arity);return a?(a=Fc.B(Ec(this.Za),1))?(a=x.G(this.Za,0,null),Fc.B(new f(null,1,[0,1],null),BB(a))&&iy(CB(a))):a:a};e.rb=function(){return Nj.j(r(R.J(new z(null,BIb,null,1,null),new z(null,this.arity,null,1,null),H.B([new z(null,this.Za,null,1,null)],0))))};e.Fb=function(){return Uc(this.Za)}; -e.Db=function(){var a=Fc.B(Ec(this.Za),1);return a?(a=x.G(this.Za,0,null),Uc(BB(a))&&iy(CB(a))):a};e.Jb=function(){return!1};e.Cb=function(){return FF};e.Bb=function(){var a=x.B(this.Za,0);a=h(a)?ly(CB(a)):1;a=DB.B(EB.B?EB.B(0,1):EB.call(null,0,1),a);return new TE(1,new E(null,1,5,F,[a],null),this.m)};e.Eb=function(){var a=x.B(this.Za,0);return h(a)?ly(CB(a)):1};e.zc=function(){return new E(null,3,5,F,[lB,0,this.arity],null)};e.sa=function(){return r(this.Za)}; -e.pa=function(a,b){return new TE(this.arity,this.Za,b)}; -e.call=function(a){switch(arguments.length-1){case 0:return this.ca();case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.xa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.La(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Aa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ba(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); -case 11:return this.Ca(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.Da(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ea(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], -arguments[11],arguments[12],arguments[13]);case 14:return this.Fa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Ga(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Ha(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ja(arguments[1],arguments[2], -arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Va(arguments[1], -arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.jb(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], -arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",l.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(kb(b)))};e.ca=function(){return yF.B?yF.B(this,Ke):yF.call(null,this,Ke)};e.j=function(a){a=new E(null,1,5,F,[a],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.B=function(a,b){a=new E(null,2,5,F,[a,b],null);return yF.B?yF.B(this,a):yF.call(null,this,a)}; -e.G=function(a,b,c){a=new E(null,3,5,F,[a,b,c],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.da=function(a,b,c,d){a=new E(null,4,5,F,[a,b,c,d],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.ia=function(a,b,c,d,g){a=new E(null,5,5,F,[a,b,c,d,g],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.xa=function(a,b,c,d,g,k){a=new E(null,6,5,F,[a,b,c,d,g,k],null);return yF.B?yF.B(this,a):yF.call(null,this,a)}; -e.La=function(a,b,c,d,g,k,m){a=new E(null,7,5,F,[a,b,c,d,g,k,m],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Aa=function(a,b,c,d,g,k,m,q){a=new E(null,8,5,F,[a,b,c,d,g,k,m,q],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Ma=function(a,b,c,d,g,k,m,q,v){a=new E(null,9,5,F,[a,b,c,d,g,k,m,q,v],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Ba=function(a,b,c,d,g,k,m,q,v,w){a=new E(null,10,5,F,[a,b,c,d,g,k,m,q,v,w],null);return yF.B?yF.B(this,a):yF.call(null,this,a)}; -e.Ca=function(a,b,c,d,g,k,m,q,v,w,A){a=new E(null,11,5,F,[a,b,c,d,g,k,m,q,v,w,A],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Da=function(a,b,c,d,g,k,m,q,v,w,A,D){a=new E(null,12,5,F,[a,b,c,d,g,k,m,q,v,w,A,D],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Ea=function(a,b,c,d,g,k,m,q,v,w,A,D,G){a=new E(null,13,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G],null);return yF.B?yF.B(this,a):yF.call(null,this,a)}; -e.Fa=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q){a=new E(null,14,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Ga=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U){a=new E(null,15,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Ha=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa){a=new E(null,16,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa],null);return yF.B?yF.B(this,a):yF.call(null,this,a)}; -e.Ia=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja){a=new E(null,17,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Ja=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma){a=new E(null,18,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.Ka=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa){a=new E(null,19,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa],null);return yF.B?yF.B(this,a):yF.call(null,this,a)}; -e.Va=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra){a=new E(null,20,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra],null);return yF.B?yF.B(this,a):yF.call(null,this,a)};e.jb=function(a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra,wa){a=jf.B(new E(null,20,5,F,[a,b,c,d,g,k,m,q,v,w,A,D,G,Q,U,aa,ja,ma,pa,ra],null),wa);return yF.B?yF.B(this,a):yF.call(null,this,a)}; -var aF=function aF(a){switch(arguments.length){case 1:return aF.j(arguments[0]);case 2:return aF.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};aF.j=function(a){a=nYa(a);return WE(1,a)};aF.B=function(a,b){b=oYa(b);return WE(a,b)};aF.aa=2;var ZE=function ZE(a){switch(arguments.length){case 1:return ZE.j(arguments[0]);case 2:return ZE.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -ZE.j=function(a){return ZE.B(1,a)};ZE.B=function(a,b){return UE(a,mYa(b),null)};ZE.aa=2;var XE=function XE(a){switch(arguments.length){case 0:return XE.ca();case 1:return XE.j(arguments[0]);case 2:return XE.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};XE.ca=function(){return XE.B(1,0)};XE.j=function(a){return XE.B(a,0)};XE.B=function(a,b){b=EB.B?EB.B(b,1):EB.call(null,b,1);return UE(a,new E(null,1,5,F,[DB.B(b,1)],null),null)};XE.aa=2; -var vF=function vF(a){switch(arguments.length){case 1:return vF.j(arguments[0]);case 2:return vF.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};vF.j=function(a){return hy(a)?-1:VE(a)?fYa(BB(gF.j?gF.j(a):gF.call(null,a))):0};vF.B=function(a,b){var c=Z0a(a,b);return hy(a)?-1:VE(a)?tz.da(ng.j(function(d){return AB(BB(d),c)}),Ji,0,a.Za):0};vF.aa=2; -var Y7=function Y7(a){switch(arguments.length){case 1:return Y7.j(arguments[0]);case 2:return Y7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Y7.j=function(a){return Y7.B(a,10)};Y7.B=function(a,b){var c=a.Za;a=a.arity;var d=Ec(c);c=Ae.B(b,ng.B(lYa,c));b=d>b?["... and ",l.j(d-b)," more terms"].join(""):null;return[l.j(a),": (",Ik.B(" + ",c),b,")"].join("")};Y7.aa=2; -var wF=function wF(a){switch(arguments.length){case 2:return wF.B(arguments[0],arguments[1]);case 3:return wF.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};wF.B=function(a,b){return wF.G(a,b,null)}; -wF.G=function(a,b,c){function d(){var g=a.j?a.j(zB):a.call(null,zB);if(Uc(g))return b;var k=h(c)?c:uw("`new-arity` argument to `map-exponents` required when promoting constant.");return UE(k,new E(null,1,5,F,[DB.B(g,b)],null),null)}return VE(b)?aF.B(h(c)?c:b.arity,function(){return function m(k){return new Sd(null,function(){for(;;){var q=r(k);if(q){if(bd(q)){var v=ac(q),w=Ec(v),A=Ud(w);a:for(var D=0;;)if(Dc)return jf.B(Xb(d),el.B(b-c,0));var k=t(a),m=BB(k);m=AB(m,0);Fc.B(m,g)?(a=sc(a),d=Je.B(d,CB(k)),g+=1):(d=Je.B(d,0),g+=1)}};kF.aa=2;var Z7=function Z7(a){switch(arguments.length){case 1:return Z7.j(arguments[0]);case 2:return Z7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};Z7.j=function(a){return Z7.B(a,hF(a))}; -Z7.B=function(a,b){return iy(b)?a:hy(b)?ww(["Divide by zero: ",l.j(a),l.j(b)].join("")):VE(b)?uF.B?uF.B(a,b):uF.call(null,a,b):j1a(a,Ey.j(b))};Z7.aa=2;var $7=function $7(a){switch(arguments.length){case 1:return $7.j(arguments[0]);case 2:return $7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};$7.j=function(a){return $7.B(a,0)}; -$7.B=function(a,b){if(VE(a)){var c=vF.B(a,b);return 0===c?a:wF.B(function(d){var g=AB(d,b);g=c-g;return 0===g?ci.B(d,b):Lf.G(d,b,g)},a)}return a};$7.aa=2;var a8=function a8(a){switch(arguments.length){case 2:return a8.B(arguments[0],arguments[1]);case 3:return a8.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};a8.B=function(a,b){return a8.G(a,b,Mo)}; -a8.G=function(a,b,c){var d=hF(a);return function D(k,m,q,v,w,A){var G=vF.j(A),Q=VE(A)?k-G:k;if(Fc.B(Q,1)){var U=b*m+hF(A);k=b*q+m;q=b*v+q;w=Math.abs(b)*w+Math.abs(U)}else if(Fc.B(Q,2)){var aa=b*b,ja=Math.abs(aa);U=aa*m+hF(A);k=aa*q+2*b*m;q=aa*v+2*b*q+m;w=ja*(w+m)+Math.abs(U)}else{var ma=sF(b,Q-2),pa=ma*b;aa=pa*b;ja=Math.abs(aa);U=aa*m+hF(A);k=aa*q+Q*pa*m;q=aa*v+Q*pa*q+.5*Q*(Q-1)*ma*m;w=ja*(w+(Q-1)*m)+Math.abs(U)}m=U;U=q;VE(A)?A=D(G,m,k,U,w,l1a(A)):(A=2*U,G=JO*(w-Math.abs(m)+w),A=c.da?c.da(m,k,A,G): -c.call(null,m,k,A,G));return A}(vF.j(a),d,0,0,.5*Math.abs(d),l1a(a))};a8.aa=3;var J0d=I([eX,zD,QC,Tk,h0,pT,Vz,uX,Qk],[R4,$5.B(aG,0),yB,$5.B(Rz,0),Fy,JL,$5.G(Dy,1,hy),$5.G(SF,1,hy),a6.da(Gy,Rz,Fy,0)]),K0d=mw(J0d),b8=function b8(a){switch(arguments.length){case 1:return b8.j(arguments[0]);case 2:return b8.B(arguments[0],arguments[1]);case 3:return b8.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}}; -b8.j=function(a){return b8.G(a,Mo,od)};b8.B=function(a,b){return b8.G(a,b,od)};b8.G=function(a,b,c){var d=In.B(Sy(a),K0d),g=Ec(d);c=lh.B(c,d);g=Wf(c,YE(g));a=bUa(a,g,J0d);return b.B?b.B(a,c):b.call(null,a,c)};b8.aa=3;var z1a=qA(Vz),A1a=qA(Tk),y1a=qA(QC);e=EF.prototype;e.pa=function(a,b){return new EF(b)};e.oa=function(){return this.Pk};e.th=function(a,b,c){return b8.B(b,c)};e.Ag=function(a,b,c,d){return b8.G(b,c,d)};e.zg=function(a,b,c){return DF(b,c)};e.If=function(a,b){return ld(K0d,b)}; -var g3a=new EF(C);aS.B(uy,GF);aS.B(zT,GF);ez.N(null,new E(null,2,5,F,[FF,FF],null),function(a,b){return eF(a,b)});ez.N(null,new E(null,2,5,F,[FF,GF],null),function(a,b){return eF(a,b)});ez.N(null,new E(null,2,5,F,[GF,FF],null),function(a,b){return eF(b,a)});HF(Rz,$E);HF(Gy,oF);HF(Dy,pF);HF(wB,function(a,b){return x.B(tF(a,b),0)});HF(iz,function(a,b){return x.B(tF(a,b),1)});Jy.N(null,new E(null,1,5,F,[FF],null),function(a){return iF(a)});hz.N(null,new E(null,1,5,F,[FF],null),function(a){return nF(a)}); -Fy.N(null,new E(null,1,5,F,[FF],null),function(a){return mF(a)});JL.N(null,new E(null,1,5,F,[FF],null),function(a){return qF(a)});R4.N(null,new E(null,1,5,F,[FF],null),function(a){return rF(a)});yB.N(null,new E(null,2,5,F,[FF,E1],null),function(a,b){return sF(a,b)});LF.N(null,new E(null,2,5,F,[FF,FF],null),function(a,b){return uF(a,b)});LF.N(null,new E(null,2,5,F,[FF,GF],null),function(a,b){return uF(a,b)});Vy.N(null,new E(null,1,5,F,[FF],null),function(a){return jF(Vy,a)}); -RN.N(null,new E(null,2,5,F,[FF,jS],null),function(a,b){return Uc(b)?Fc.B(1,a.arity)?BF(a,0):vE(CF(a)):Fc.B(1,Ec(b))?BF(a,t(b)):uw("Invalid selector! Only 1 deep supported.")});var L0d="undefined"!==typeof window?window:null,c8="undefined"!==typeof performance?performance:h(L0d)?L0d.performance:null,M0d=function(){var a=h(c8)?c8.now:null;if(h(a))return a;a=h(c8)?c8.mozNow:null;if(h(a))return a;a=h(c8)?c8.msNow:null;if(h(a))return a;a=h(c8)?c8.oNow:null;return h(a)?a:h(c8)?c8.webkitNow:null}(),N0d=Fc.B("nodejs","default")?process:null,d8=h(N0d)?N0d.hrtime:null;var O0d=Oa(M0d)?function(){var a=M0d.call(c8);return function(){return 1E6*(M0d.call(c8)-a)}}:null,P0d=Oa(d8)?function(){var a=d8.ca?d8.ca():d8.call(null);return function(){var b=d8.j?d8.j(a):d8.call(null,a),c=x.G(b,0,null);b=x.G(b,1,null);return 1E9*c+b}}:null,Q0d=h(O0d)?O0d:h(P0d)?P0d:C1a;var H1a=new E(null,7,5,F,[I1a,Jlb,Zlb,lHb,Bkd,m0b,Npd],null),R0d=new f(null,7,[I1a,"ns",Jlb,"μs",Zlb,"ms",lHb,"s",Bkd,"min",m0b,"h",Npd,"d"],null);K1a.prototype.Cg=function(){return h(this.Yi)?this:new K1a(Q0d.ca?Q0d.ca():Q0d.call(null),this.offset,!0)};K1a.prototype.xh=function(a,b){return G1a(h(this.Yi)?(this.rh.ca?this.rh.ca():this.rh.call(null))+this.offset:this.offset,b)}; -K1a.prototype.Bg=function(){var a=J1a(E1a(this,I1a)),b=x.G(a,0,null);a=x.G(a,1,null);return[l.j(b)," ",l.j(R0d.j?R0d.j(a):R0d.call(null,a))].join("")};e=L1a.prototype;e.pa=function(a,b){return new L1a(this.tl,this.eg,b)};e.oa=function(){return this.Ok};e.Cg=function(){zg.B(this.eg,D1a);return this};e.xh=function(a,b){return E1a(Bb(this.eg),b)};e.Bg=function(){return F1a(Bb(this.eg))};e.toString=function(){return F1a(Bb(this.eg))};var JF=new E(null,2,5,F,[1E3,Zlb],null),IF=null,O1a=yg.j(C),P1a=yg.j(0),Q1a=yg.j(0),R1a=yg.j(0),S1a=yg.j(0),QF=function QF(a){switch(arguments.length){case 1:return QF.j(arguments[0]);case 2:return QF.B(arguments[0],arguments[1]);case 3:return QF.G(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,g=0;;)if(gm||Bb(v)>q||D<=Q}b=ce(b);var g=y.G(b,Vid,0),k=y.G(b,Yid,1),m=y.G(b,bM,1E3),q=y.G(b,u7a,1E3);a=C4.j(a);var v=x.G(a,0,null);a=x.G(a,1,null);b=N7a(a,b);k=J7a(a,g,k);g=x.G(k,0,null);var w=x.G(g,0,null);k=x.G(k,1,null);var A=x.G(k,0,null);w= -gM(w,A);a=a.j?a.j(w):a.call(null,w);a=new E(null,3,5,F,[k,g,new E(null,2,5,F,[w,a],null)],null);x.G(a,0,null);x.G(a,1,null);x.G(a,2,null);g=a;for(a=0;;){w=g;g=x.G(w,0,null);k=x.G(w,1,null);w=x.G(w,2,null);if(d(g,k,w,a))return c(g,k,w,a);g=b(g,k,w);a+=1}};j9.aa=2;var k9=function k9(a){switch(arguments.length){case 1:return k9.j(arguments[0]);case 2:return k9.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};k9.j=function(a){return k9.B(a,C)}; -k9.B=function(a,b){a=Zj.B(Fy,a);return j9.B(a,b)};k9.aa=2;var l9=function l9(a){switch(arguments.length){case 1:return l9.j(arguments[0]);case 2:return l9.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};l9.j=function(a){return l9.B(a,C)}; -l9.B=function(a,b){b=ce(b);var c=y.G(b,Zl,0),d=y.G(b,j4c,10);b=y.G(b,bM,1E3);var g=C4.j(a);a=x.G(g,0,null);g=x.G(g,1,null);var k=J7a(g,c,c+d);c=x.G(k,0,null);d=x.G(c,0,null);k=x.G(k,1,null);var m=x.G(k,0,null);m=d+(d-m);a:{d=c;var q=new E(null,2,5,F,[m,g.j?g.j(m):g.call(null,m)],null);for(c=0;;){m=x.G(k,0,null);var v=k;k=q;q=x.G(k,0,null);var w=v,A=d,D=k,G=c;x.G(w,0,null);w=x.G(w,1,null);x.G(A,0,null);A=x.G(A,1,null);x.G(D,0,null);D=x.G(D,1,null);if(G>b||A<=(wc?b:c],null);c=x.G(b,0,null);var v=x.G(b,1,null);b=C4.j(a);a=x.G(b,0,null);b=x.G(b,1,null);var w=.5*(c+v);w=new E(null,2,5,F,[w,b.j?b.j(w):b.call(null,w)],null);c=new E(null,3,5,F,[c,w,v],null);x.G(c,0,null);v=x.G(c,1,null);x.G(v,0,null);x.G(v,1,null);x.G(c,2,null);w=new E(null,2,5,F,[w,w],null);x.G(w,0,null);x.G(w,1,null);v= -c;for(var A=w,D=c=0,G=0;;){var Q=v;w=x.G(Q,0,null);v=x.G(Q,1,null);var U=x.G(v,0,null),aa=x.G(v,1,null);Q=x.G(Q,2,null);var ja=A;A=x.G(ja,0,null);ja=x.G(ja,1,null);var ma=c;c=G;var pa=k+d*hz.j(U);G=2*pa;var ra=G;var wa=.5*(Q-w);ra=hz.j(U-.5*(w+Q))+wa<=ra;g.G?g.G(c,U,aa):g.call(null,c,U,aa);if(c>m||Bb(a)>q||ra)return new f(null,5,[un,U,Su,aa,dM,c,cM,ra,x7a,Bb(a)],null);hz.j(ma)<=pa?aa=O7a(w,U,Q):(ra=K7a(ja,v,A),aa=x.G(ra,0,null),ra=x.G(ra,1,null),wa=ma,ma=aa>ra*(w-U)&&aaa?d:a)*(c-b)},w9);di.B(J8a,function(a){return 4/(1+a*a)});di.B(J8a,function(a){return 4/(1+a*a)});var x9=function x9(a){switch(arguments.length){case 3:return x9.G(arguments[0],arguments[1],arguments[2]);case 4:return x9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};x9.G=function(a,b,c){return x9.da(a,b,c,new f(null,1,[Wq,1],null))}; -x9.da=function(a,b,c,d){var g=ce(d);d=y.G(g,Wq,1);g=y.B(g,C8a);a=I8a(K8a(a,b,c),F8a(a,b,c),2,d);return h(h(g)?"number"===typeof d:g)?BM.da(a,2,2,2):a};x9.aa=4;var b2d=zM(J8a,x9);var y9=function y9(a){switch(arguments.length){case 3:return y9.G(arguments[0],arguments[1],arguments[2]);case 4:return y9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};y9.G=function(a,b,c){return y9.da(a,b,c,new f(null,1,[Wq,1],null))};y9.da=function(a,b,c,d){d=ce(d);d=y.G(d,Wq,1);return p9.ia(x9.da(a,b,c,d),2,2,2,2)};y9.aa=4;var c2d=zM(Zj.B(t,y9),y9);var z9=function z9(a){switch(arguments.length){case 3:return z9.G(arguments[0],arguments[1],arguments[2]);case 4:return z9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};z9.G=function(a,b,c){return z9.da(a,b,c,new f(null,1,[Wq,1],null))};z9.da=function(a,b,c,d){var g=ce(d);d=y.G(g,Wq,1);g=y.B(g,C8a);a=I8a(E8a(a,b,c),M8a(a,b,c),3,d);return h(h(g)?"number"===typeof d:g)?BM.da(a,3,2,2):a};z9.aa=4;var d2d=zM(L8a,z9);var O8a=dl.B(CM.B(2,2),CM.B(2,3)),e2d=zM(L8a,R8a(z9)),f2d=zM(J8a,R8a(x9));var A9=function A9(a){switch(arguments.length){case 3:return A9.G(arguments[0],arguments[1],arguments[2]);case 4:return A9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};A9.G=function(a,b,c){return A9.da(a,b,c,new f(null,1,[Wq,1],null))};A9.da=function(a,b,c,d){d=ce(d);var g=y.G(d,Wq,1);return p9.ia(z9.da(a,b,c,Lf.G(d,Wq,CM.B(2,g))),1,2,2,2)};A9.aa=4;var g2d=zM(Zj.B(t,A9),A9);var B9=function B9(a){switch(arguments.length){case 3:return B9.G(arguments[0],arguments[1],arguments[2]);case 4:return B9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};B9.G=function(a,b,c){return B9.da(a,b,c,C)};B9.da=function(a,b,c,d){d=ce(d);y.G(d,Wq,1);return BM.da(z9.da(a,b,c,d),3,2,2)};B9.aa=4; -var C9=function C9(a){switch(arguments.length){case 3:return C9.G(arguments[0],arguments[1],arguments[2]);case 4:return C9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};C9.G=function(a,b,c){return C9.da(a,b,c,C)};C9.da=function(a,b,c,d){d=ce(d);y.G(d,Wq,1);return BM.da(x9.da(a,b,c,d),2,2,2)};C9.aa=4;var h2d=zM(L8a,B9),i2d=zM(J8a,C9);var D9=function D9(a){switch(arguments.length){case 3:return D9.G(arguments[0],arguments[1],arguments[2]);case 4:return D9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};D9.G=function(a,b,c){return D9.da(a,b,c,new f(null,1,[Wq,1],null))};D9.da=function(a,b,c,d){d=ce(d);d=y.G(d,Wq,1);return p9.ia(x9.da(a,b,c,d),1,2,2,2)};D9.aa=4;var j2d=zM(Zj.B(t,D9),D9);var E9=function E9(a){switch(arguments.length){case 3:return E9.G(arguments[0],arguments[1],arguments[2]);case 4:return E9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};E9.G=function(a,b,c){return E9.da(a,b,c,new f(null,1,[Wq,1],null))};E9.da=function(a,b,c,d){d=ce(d);d=y.G(d,Wq,1);return p9.ia(x9.da(a,b,c,new f(null,1,[Wq,CM.B(3,d)],null)),1,3,2,2)};E9.aa=4;var k2d=zM(Zj.B(t,E9),E9);var l2d=I([bSb,Y3b,kwd,RHb,Syb,Swd,U6b,lRc,W_b,IRb,kIb,fWc,AAd,vjd,m6b,RKb,hwc,G_c,tEc],[new f(null,2,[Mx,G_c,wM,r8a],null),k2d,new f(null,2,[Mx,G_c,wM,V8a],null),b2d,$1d,new f(null,2,[Mx,G_c,wM,W8a],null),i2d,j2d,d2d,f2d,h2d,Z1d,Y1d,c2d,new f(null,2,[Mx,G_c,wM,U8a],null),g2d,e2d,function(a,b){return function(){function c(k,m,q,v){v=bi.J(H.B([new f(null,3,[Urc,10,SSc,.05,wM,r8a],null),v],0));var w=new E(null,1,5,F,[new E(null,3,5,F,[m,q,wM.j(v)],null)],null);m=KB.call(null);for(q=0;;){if(Uc(w))return new f(null, -3,[cM,!0,dM,q,un,KB.call(null,m)],null);var A=Sc(w),D=x.G(A,0,null),G=x.G(A,1,null);A=x.G(A,2,null);w=Tc(w);var Q=D;var U=G;Q=Fc.B(A,V8a)?b.da?b.da(k,Q,U,v):b.call(null,k,Q,U,v):a.da?a.da(k,Q,U,v):a.call(null,k,Q,U,v);U=ce(Q);Q=y.B(U,cM);U=y.B(U,un);if(h(Q))D=w,m=KB.call(null,m,U),q+=1,w=D;else{Q=D;var aa=SSc.j(v);U=G-Q;aa=0===aa?.5:.5+aa*(SR.j(2)-1);Q+=aa*U;D=Gd.J(w,new E(null,3,5,F,[Q,G,o8a(A)],null),H.B([new E(null,3,5,F,[D,Q,p8a(A)],null)],0));q+=1;w=D}}}function d(k,m,q){return g.da(k,m,q,C)} -var g=null;g=function(k,m,q,v){switch(arguments.length){case 3:return d.call(this,k,m,q);case 4:return c.call(this,k,m,q,v)}throw Error("Invalid arity: "+arguments.length);};g.G=d;g.da=c;return g}()}(e2d,f2d),a2d]),m2d=jf.B(Qf,Hf(l2d)),F9=function F9(a){if(Oc(a))return new E(null,2,5,F,[a,C],null);if(a instanceof B)return a=l2d.j?l2d.j(a):l2d.call(null,a),F9.j?F9.j(a):F9.call(null,a);if(Zc(a)){var c=Mx.j(a);var d=F9.j?F9.j(c):F9.call(null,c);c=x.G(d,0,null);d=x.G(d,1,null);return new E(null,2,5,F, -[c,bi.J(H.B([ci.B(a,Mx),d],0))],null)}return null},G9=function G9(a){switch(arguments.length){case 3:return G9.G(arguments[0],arguments[1],arguments[2]);case 4:return G9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};G9.G=function(a,b,c){return G9.da(a,b,c,C)}; -G9.da=function(a,b,c,d){var g=F9(a);return h(g)?(a=x.G(g,0,null),g=x.G(g,1,null),b=DM.j(b),c=h(b)?b:DM.j(c),new E(null,2,5,F,[h(c)?X8a(a):a,ci.B(bi.J(H.B([g,d],0)),Mx)],null)):null};G9.aa=4;var H9=function H9(a){switch(arguments.length){case 3:return H9.G(arguments[0],arguments[1],arguments[2]);case 4:return H9.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};H9.G=function(a,b,c){return H9.da(a,b,c,C)}; -H9.da=function(a,b,c,d){var g=ce(d),k=y.G(g,Mx,bSb),m=y.G(g,t9a,!1);d=y.G(g,Xnd,!1);g=G9.da(k,b,c,g);return h(g)?(k=x.G(g,0,null),g=x.G(g,1,null),a=h(m)?hP.B(a,1):Zj.B(rw,a),b=k.da?k.da(a,b,c,g):k.call(null,a,b,c,g),h(d)?b:un.j(b)):uw(["Unknown method: ",l.j(k),". Try one of: ",l.j(m2d)].join(""))};H9.aa=4;var I9=function I9(a){switch(arguments.length){case 0:return I9.ca();case 1:return I9.j(arguments[0]);default:throw Error(["Invalid arity: ",l.j(arguments.length)].join(""));}};I9.ca=function(){return M(qH,M(s4a,mH,M(pH,mH),M(pH,mH)),mH)};I9.j=function(a){return(a=r(new E(null,3,5,F,[qH,r(new E(null,4,5,F,[s4a,mH,r(new E(null,3,5,F,[pH,mH,a],null)),r(new E(null,3,5,F,[pH,mH,a],null))],null)),mH],null)))?a:qC(a)};I9.aa=1; -var NM=function NM(a){for(var c=[],d=arguments.length,g=0;;)if(gvO*m&&13>v){q=G;var Q=m*D;v+=1;k=Jd(m,w);D=Jd(D,A);m=q;q=Q;w=k;A=D}else{g*=G;var U=Math.sin(g);d=Math.cos(g);v=Fc.B(U,0)?new E(null,4,5,F,[m,U,d,1],null):function(){for(var aa=w,ja=A,ma=d/U,pa=ma*G,ra=1;;)if(r(aa)&& -r(ja)){var wa=t(aa),Ga=function(){var ka=pa*ma,na=ra*pa;ka=(t(ja)+ka)/(ka+wa);return new E(null,3,5,F,[na/wa,na,ka],null)}(),Ca=x.G(Ga,0,null),ca=x.G(Ga,1,null),Z=x.G(Ga,2,null);aa=sc(aa);ja=Ga=sc(ja);ma=Ca;pa=ca;ra=Z}else{var va=1/Math.sqrt(1+pa*pa);Ga=function(){var ka=0>U?-va:va;return new E(null,2,5,F,[ka,pa*ka],null)}();aa=x.G(Ga,0,null);Ga=x.G(Ga,1,null);return new E(null,4,5,F,[ma,aa,Ga,ra],null)}}();m=x.G(v,0,null);k=x.G(v,1,null);g=x.G(v,2,null);v=x.G(v,3,null);return h(a)?(a=k/b,b=m,c.G? -c.G(a,b,g):c.call(null,a,b,g)):c.G?c.G(k,g,v):c.call(null,k,g,v)}}};U9.aa=3;var ubb=NH(function(a,b,c){b=ce(c);var d=y.B(b,vbb),g=y.B(b,wbb),k=y.B(b,VO);return function(m){return DI(a)(SO(a,EA.B(QO(d,g)(m),k)))}},function(a,b,c){c=ce(c);var d=y.B(c,vbb),g=y.B(c,wbb),k=y.B(c,VO);return function(m){m=QO(xB.j(d),g)(xB.B(CI(a)(m),k));return SO(b,m)}}),V9=NH(xbb,ybb),x2d=V9(vRc,vRc);var W9=function W9(a){switch(arguments.length){case 1:return W9.j(arguments[0]);default:for(var c=[],d=arguments.length,g=0;;)if(gMath.abs(Math.PI-a))return"π";if(.001>Math.abs(-Math.PI-a))return"-π";a=qP.B(a/Math.PI,b);switch(a){case "1":return"π";case "-1":return"-π";default:return[l.j(a),"π"].join("")}};t$.aa=2;var vcb=uh(737);var wcb=uh(738);var gcb=new E(null,4,5,F,[pcb,qcb,xqa,Il],null);var k4d=new f(null,2,[Tld,new E(null,3,5,F,["core","controls","cursor"],null),qcb,new f(null,1,[ycb,vcb.OrbitControls],null)],null),l4d=function l4d(a){for(var c=[],d=arguments.length,g=0;;)if(gOc(c))throw mi.G(null,Ky(b,mub,dh),Error("Too few arguments to if"));if(4=Oc(d))var g=function(){var p=u(d);return uz?uz(b,p):vz.call(null,b,p)}(),h=new E(null,2,5,G,[IXa,Lw],null);else{var l=Pc.B(Jm,Ul.j(b))?Vf.G(b,Ul,Jm):Vf.G(b,Ul,Tl);g=function(){var p=Vc(d);return uz?uz(l,p):vz.call(null,l,p)}();h=new E(null,2,5,G,[IXa,Lw],null)}return new f(null,6,[Zw,okd,cs,b,Zo,c,IXa,a,Lw,g,wn,h],null)});lA.N(null,gh,function(a,b,c){return yKa(b,c,!1)});lA.N(null,bh,function(a,b,c){return yKa(b,c,!0)}); +lA.N(null,ih,function(a,b,c){a=t(c);u(a);var d=w(a);Ul.j(b);var g=u(Bz),h=function(){var v=Cx.j(g);return k(v)?Pc.B(Oc(d),Oc(hr.j(g))-1):v}(),l=k(h)?Td(null,d):d,p=function(){var v=Bz;Bz=Td(null,Bz);try{return cf(ug.B(function(r){var z=Vf.G(b,Ul,mk);return uz?uz(z,r):vz.call(null,z,r)},l))}finally{Bz=v}}();if(!k(g))throw Ly(b,"Can't recur here");if(!Pc.B(Oc(p),Oc(hr.j(g))))throw Ly(b,["recur argument count mismatch, expected: ",m.j(Oc(hr.j(g)))," args, got: ",m.j(Oc(p))].join(""));k(function(){var v= +Cx.j(g);return k(v)?kb(h):v}())&&Iy(rDc,b,new f(null,1,[Zo,Zo.j(u(p))],null));De(M0a.j(g),!0);Eg.B(O0a.j(g),function(v){return Nh.G(function(r,z){return Pc.B($0a,ax.j(z))?lx:X3.B(r,Fi.j(z))},v,p)});return Vf.J(new f(null,3,[cs,b,Zw,axd,Zo,c],null),y6c,g,y.B([g2b,p,wn,new E(null,1,5,G,[g2b],null)],0))}); +lA.N(null,mh,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);if(Uf.B(2,Oc(c)))throw Ly(b,"Wrong number of args to quote");var d=Vf.G(b,a6a,!0);d=uz?uz(d,a):vz.call(null,d,a);d=me(d);d=A.B(d,Fi);a=new f(null,6,[Zw,Ax,cs,b,$3b,!0,lk,a,Fi,d,Zo,a],null);return new f(null,6,[Zw,Mk,mk,a,cs,b,Zo,c,Fi,Fi.j(a),wn,new E(null,1,5,G,[mk],null)],null)});var Ydd=new f(null,6,[dGa,ay,xid,oy,PJd,Ww,tXb,Ux,rub,Hx,vnb,uy],null); +lA.N(null,eh,function(a,b,c){a=t(c);u(a);a=w(a);var d=u(a);a=w(a);var g=Bz;Bz=Td(null,Bz);try{var h=Vf.G(b,Ul,mk),l=uz?uz(h,d):vz.call(null,h,d),p=k(function(){var F=Zw.j(l),O=new Xf(null,new f(null,3,[Ak,null,tx,null,ax,null],null),null);return O.j?O.j(F):O.call(null,F)}())?BJa(b,d):null,v=k(function(){var F=r1a.j(p);return k(F)?kb(i_.j(ad(d))):F}())?Ml.B(3,uz?uz(h,null):vz.call(null,h,null)):null,r=qf.B(cf(ug.B(function(F){return uz?uz(h,F):vz.call(null,h,F)},a)),v),z=q1a.j(p),C=Oc(a);kb(i_.j(ad(d)))&& +null!=z&&kb(function(){var F=Pc.B(z,C);if(F)return F;F=r1a.j(p);return k(F)?Pc.B(2+z,C):F}())&&Iy(py,b,new f(null,2,[J4a,C,nx,d],null));return new f(null,7,[cs,b,Zw,IUb,Zo,c,xp,l,zw,r,wn,new E(null,2,5,G,[xp,zw],null),Fi,function(){var F=Fi.j(dp.j(l));if(Wy(F)&&!vd(Ydd,F))return fl;F=U.j(dp.j(l));var O=Ydd.j?Ydd.j(F):Ydd.call(null,F);return k(O)?O:F}()],null)}finally{Bz=g}}); +lA.N(null,jh,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);var d=x.G(c,2,null),g=x.G(c,3,null);a=k(g)?new E(null,2,5,G,[or.j(t(Ti.J(new B(null,kh,null,1,null),new B(null,a,null,1,null),y.B([new B(null,d,null,1,null)],0)))),g],null):new E(null,2,5,G,[a,d],null);var h=x.G(a,0,null),l=x.G(a,1,null);a=Bz;Bz=Td(null,Bz);try{d=pz;pz=!0;try{var p=Vf.G(b,Ul,mk),v=h instanceof n?function(){if(!Pc.B(h,slc)||!0!==l&&!1!==l)if(!Pc.B(h,OQb)||!0!==l&&!1!==l)!Pc.B(h,cCb)||!0!==l&&!1!==l||(Jy=Vf.G(Jy,Tx,l));if(null!= +Ax.j(iz(zh.B(b,ex),h)))throw Ly(b,"Can't set! a constant");var O=gz(h,function(){var V=ex.j(b);return h.j?h.j(V):h.call(null,V)}());if(!k(function(){var V=null==O;if(V)return V;V=Fx.j(O);if(k(V)){V=et.j(O);if(k(V))return V;V=f1a.j(O);return k(V)?V:g1a.j(O)}return V}()))throw Ly(b,"Can't set! local var or non-mutable field");return MLa.B?MLa.B(p,h):MLa.call(null,p,h)}():pd(h)?function(){if(k(grb.j(ad(h))))a:{var O=Jy;Jy=Vf.G(Jy,Tx,!1);try{var V=jA?jA(p,h,null):$La.call(null,p,h,null);break a}finally{Jy= +O}V=void 0}else V=jA?jA(p,h,null):$La.call(null,p,h,null);return k(Fx.j(V))?V:null}():null,r=uz?uz(p,l):vz.call(null,p,l);if(pd(h)){var z=null==h?null:Sc(h),C=ad(z),F=function(){var O=Pc.B(Ek,Zw.j(r));return O?Fl.j(C):O}();k(F)&&Eg.J(null,ei,new E(null,5,5,G,[fx,U.j(J.j(b)),ix,z,us],null),wo.B(Qd,Ue),y.B([gi.J(y.B([Wf(F,new E(null,2,5,G,[Jl,Il],null)),Wf(u(us.j(r)),new E(null,1,5,G,[Fi],null))],0))],0))}if(!k(v))throw Ly(b,"set! target must be a field or a symbol naming a var");return kb(QJd.j(b))&& +null!=function(){var O=new Xf(null,new f(null,3,[cCb,"null",OQb,"null",slc,"null"],null),null);return O.j?O.j(h):O.call(null,h)}()?new f(null,2,[cs,b,Zw,E2b],null):new f(null,6,[cs,b,Zw,fbc,Zo,c,Rx,v,lk,r,wn,new E(null,2,5,G,[Rx,lk],null)],null)}finally{pz=d}}finally{Bz=a}}); +lA.N(null,fh,function(a,b,c,d,g){a=t(c);u(a);d=w(a);a=u(d);var h=w(d);if(!k(Z3))throw Ly(b,"Namespace declarations must appear at the top-level.");if(!(a instanceof n))throw Ly(b,"Namespaces must be named by a symbol.");var l=k(gDb.j(g))?KKa(a):a;a=Ih.B(cg(l),/\./);Pc.B(1,Oc(a))&&Iy(Vcd,b,new f(null,1,[U,l],null));null!=xe(Vdd,a)&&Iy(wGb,b,new f(null,1,[U,l],null));JKa(b,l,a);a="string"===typeof u(h)?u(h):null;d=T.j(ad(l));h=null!=a?w(h):h;var p=id(u(h))?u(h):null;h=IKa(null!=p?w(h):h);h=UHa(h);h= +me(h);var v=A.B(h,Yw);h=A.B(h,Xw);var r=lq.G(l,gi,p);l=AKa(b,v);p=me(l);l=A.B(p,jx);p=A.B(p,vx);p=Cd.G(function(Aa,da){var Y=x.G(da,0,null);da=x.G(da,1,null);return Vf.G(Aa,da,I.B("cljs.core",m.j(Y)))},le,p);var z=Dg.j(Ue),C=Dg.j(new f(null,2,[b1a,h,an,h],null)),F=new f(null,5,[Xs,hi.J(Hz,b,!1,z,y.B([C],0)),hx,hi.J(Hz,b,!0,z,y.B([C],0)),Gs,Io.B(hi.J(Hz,b,!1,z,y.B([C],0)),hi.B(BKa,b)),wx,Io.B(hi.J(Hz,b,!0,z,y.B([C],0)),hi.B(BKa,b)),Ex,hi.G(DKa,b,z)],null),O=Dg.j(new Xf(null,new f(null,5,[wx,null,Gs, +null,Xs,null,hx,null,Ex,null],null),null)),V=Dg.j(new f(null,4,[Gs,null,Xs,null,wx,null,hx,null],null)),W=Dg.j(le);v=Cd.G(function(Aa,da){var Y=t(da),xa=u(Y);Y=w(Y);if(!k(function(){var fa=new Xf(null,new f(null,5,[wx,null,Gs,null,Xs,null,hx,null,Ex,null],null),null);return fa.j?fa.j(xa):fa.call(null,xa)}()))throw Ly(b,["Only :refer-clojure, :require, :require-macros, :use, :use-macros, and :import libspecs supported. Got ",m.j(da)," instead."].join(""));if(!k(function(){var fa=Ib(O);return fa.j? +fa.j(xa):fa.call(null,xa)}()))throw Ly(b,["Only one ",m.j(xa)," form is allowed per namespace definition"].join(""));Eg.G(O,Tr,xa);Pc.B(Ex,xa)||(null!=xe(new Xf(null,new f(null,1,[Qs,null],null),null),Y)&&Eg.da(V,Vf,xa,Qs),null!=xe(new Xf(null,new f(null,1,[Ts,null],null),null),Y)&&Eg.da(V,Vf,xa,Ts));(da=t(Qe.B(function(fa){return Qs.j(ad(fa))},Y)))&&Eg.da(W,Vf,xa,dg(ug.B(u,da),ug.B(function(fa){return Qs.j(ad(fa))},da)));return ze.da(nn,gi,Aa,ug.B(F.j?F.j(xa):F.call(null,xa),yh.B(new Xf(null,new f(null, +2,[Qs,null,Ts,null],null),null),Y)))},le,yh.B(function(Aa){Aa=x.G(Aa,0,null);return Pc.B(Aa,BXa)},v));var ea=me(v);v=A.B(ea,Gs);C=A.B(ea,Xs);var ha=A.B(ea,Es),ma=A.B(ea,wx),ra=A.B(ea,hx),ta=A.B(ea,xx);ea=A.B(ea,Ex);ra=ug.B(function(Aa){if(k(gDb.j(g))){var da=I.j(ng.G(m.j(r),0,m.j(r).length-7));return Cd.G(function(Y,xa){var fa=x.G(xa,0,null);xa=x.G(xa,1,null);return Wd(xa,da)?Y:Vf.G(Y,fa,xa)},le,Aa)}return Aa},new E(null,2,5,G,[ra,ma],null));ma=x.G(ra,0,null);ra=x.G(ra,1,null);var Da=H([xx,vx,wx, +jx,U,Sm,gx,sx,hx,T,Xw],[ta,gi.J(y.B([ha,p],0)),ra,l,r,ea,C,v,ma,k(a)?a:d,h]);Eg.J(null,ei,new E(null,2,5,G,[fx,r],null),gi,y.B([Da],0));return gi.J(y.B([new f(null,6,[Zw,J,cs,b,Zo,c,Fvd,qf.B(Ue,fp.j(Ib(z))),Qs,Ib(V),$qc,Ib(W)],null),function(){var Aa=k(function(){var da=Ib(V);return da.j?da.j(Gs):da.call(null,Gs)}())?ei.G(Da,new E(null,1,5,G,[sx],null),function(da){var Y=Ib(V);Y=Y.j?Y.j(Gs):Y.call(null,Gs);return $c(da,ke([Y,!0]))}):Da;return k(function(){var da=Ib(V);return da.j?da.j(Xs):da.call(null, +Xs)}())?ei.G(Aa,new E(null,1,5,G,[gx],null),function(da){var Y=Ib(V);Y=Y.j?Y.j(Xs):Y.call(null,Xs);return $c(da,ke([Y,!0]))}):Aa}()],0))}); +lA.N(null,ofa,function(a,b,c){x.G(c,0,null);a=x.G(c,1,null);var d=u(yh.B(function(ma){return pd(ma)&&Pc.B(mh,u(ma))},yh.B(Ud,a)));if(k(d))throw Ly(b,["Arguments to ",cg(u(a))," must be quoted. Offending spec: ",m.j(d)].join(""));if(!k(Z3))throw Ly(b,["Calls to `",cg(u(a)),"` must appear at the top-level."].join(""));d=Pc.B(Ex,u(a))?FKa(a):EKa(a);a=U.j(J.j(b));d=IKa(new B(null,d,null,1,null));d=UHa(d);d=me(d);var g=A.B(d,Yw);d=A.B(d,Xw);var h=AKa(b,g),l=me(h);h=A.B(l,jx);l=A.B(l,vx);l=Cd.G(function(ma, +ra){var ta=x.G(ra,0,null);ra=x.G(ra,1,null);return Vf.G(ma,ra,I.B("cljs.core",m.j(ta)))},le,l);var p=Dg.j(Ue),v=Dg.j(new f(null,2,[b1a,d,an,d],null)),r=new f(null,5,[Xs,hi.J(Hz,b,!1,p,y.B([v],0)),hx,hi.J(Hz,b,!0,p,y.B([v],0)),Gs,Io.B(hi.J(Hz,b,!1,p,y.B([v],0)),hi.B(BKa,b)),wx,Io.B(hi.J(Hz,b,!0,p,y.B([v],0)),hi.B(BKa,b)),Ex,hi.G(DKa,b,p)],null),z=Dg.j(new f(null,4,[Gs,null,Xs,null,wx,null,hx,null],null)),C=Dg.j(le);g=Cd.G(function(ma,ra){var ta=t(ra);ra=u(ta);ta=w(ta);Pc.B(Ex,ra)||(null!=xe(new Xf(null, +new f(null,1,[Qs,null],null),null),ta)&&Eg.da(z,Vf,ra,Qs),null!=xe(new Xf(null,new f(null,1,[Ts,null],null),null),ta)&&Eg.da(z,Vf,ra,Ts));var Da=t(Qe.B(function(Aa){return Qs.j(ad(Aa))},ta));null!=Da&&Eg.da(C,Vf,ra,dg(ug.B(u,Da),ug.B(function(Aa){return Qs.j(ad(Aa))},Da)));return ze.da(nn,gi,ma,ug.B(r.j?r.j(ra):r.call(null,ra),yh.B(new Xf(null,new f(null,2,[Qs,null,Ts,null],null),null),ta)))},le,yh.B(function(ma){ma=x.G(ma,0,null);return Pc.B(ma,BXa)},g));var F=me(g);g=A.B(F,Gs);v=A.B(F,Xs);var O= +A.B(F,Es),V=A.B(F,wx),W=A.B(F,hx),ea=A.B(F,xx);F=A.B(F,Ex);var ha=H([xx,vx,wx,jx,U,Sm,gx,sx,hx,Xw],[ea,gi.J(y.B([O,l],0)),V,h,a,F,v,g,W,d]);Eg.J(null,ei,new E(null,2,5,G,[fx,a],null),LKa,y.B([ha,b],0));return gi.J(y.B([new f(null,6,[Zw,c$b,cs,b,Zo,c,Fvd,qf.B(Ue,fp.j(Ib(p))),Qs,Ib(z),$qc,Ib(C)],null),function(){var ma=k(function(){var ra=Ib(z);return ra.j?ra.j(Gs):ra.call(null,Gs)}())?ei.G(ha,new E(null,1,5,G,[sx],null),function(ra){var ta=Ib(z);ta=ta.j?ta.j(Gs):ta.call(null,Gs);return $c(ra,ke([ta, +!0]))}):ha;return k(function(){var ra=Ib(z);return ra.j?ra.j(Xs):ra.call(null,Xs)}())?ei.G(ma,new E(null,1,5,G,[gx],null),function(ra){var ta=Ib(z);ta=ta.j?ta.j(Xs):ta.call(null,Xs);return $c(ra,ke([ta,!0]))}):ma}()],0))});lA.N(null,qfa,function(a,b,c){return XKa($1c,b,c)});lA.N(null,nfa,function(a,b,c){return XKa(h1a,b,c)}); +var Sz=function(){var a=Dg.j(le),b=Dg.j(le),c=Dg.j(le),d=Dg.j(le),g=A.G(le,ms,Kg.ca?Kg.ca():Kg.call(null));return new Rg(I.B("cljs.analyzer","build-dot-form"),function(h){return bLa(h)},Gi,g,a,b,c,d)}();Sz.N(null,new E(null,3,5,G,[Qx,E1a,Ac],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);x.G(a,2,null);return new f(null,3,[L1a,C_c,Rx,b,Fx,$c(I.j(cg(c).substring(1)),ad(c))],null)}); +Sz.N(null,new E(null,3,5,G,[Qx,E1a,K1a],null),function(a){x.G(a,0,null);var b=x.G(a,1,null);a=x.G(a,2,null);throw Error(["Cannot provide arguments ",m.j(a)," on property access ",m.j(b)].join(""));});Sz.N(null,new E(null,3,5,G,[Qx,J1a,Qx],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);a=x.G(a,2,null);return eLa(b,c,a)});Sz.N(null,new E(null,3,5,G,[Qx,J1a,Ac],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);a=x.G(a,2,null);return eLa(b,c,a)}); +Sz.N(null,new E(null,3,5,G,[Qx,K1a,Ac],null),function(a){var b=x.G(a,0,null),c=x.G(a,1,null);x.G(a,2,null);return eLa(b,u(c),Cc(c))});Sz.N(null,Gi,function(a){throw Error(["Unknown dot form of ",m.j(jt.B(kh,a))," with classification ",m.j(bLa(a))].join(""));});lA.N(null,kh,function(a,b,c){a=t(c);u(a);var d=w(a);a=u(d);d=w(d);var g=t(d);d=u(g);g=w(g);var h=Bz;Bz=Td(null,Bz);try{return lLa(b,a,d,g,c)}finally{Bz=h}}); +var Zdd=function Zdd(a,b){var d=b.indexOf("~{");if(-1===d)return new B(null,b,null,1,null);var g=b.indexOf("}",d),h=U.j(BJa(a,I.j(ng.G(b,2+d,g))));return new ae(null,function(){var l=ng.G(b,0,d);var p=ng.B(b,g+1);p=Zdd.B?Zdd.B(a,p):Zdd.call(null,a,p);return Td(l,Td(h,p))},null,null)},aA=function aA(a){var c=a.indexOf("~{");if(-1===c)return new B(null,a,null,1,null);var d=a.indexOf("}",c);return new ae(null,function(){var g=ng.G(a,0,c);var h=ng.B(a,d+1);h=aA.j?aA.j(h):aA.call(null,h);return Td(g,h)}, +null,null)},nLa=new Xf(null,new f(null,4,[lx,"null",f2a,"null",Vx,"null",Ux,"null"],null),null),pLa=new Xf(null,new f(null,10,[uy,"null",w2c,"null",Q1c,"null",Zad,"null",Ww,"null",lcb,"null",Xlc,"null",Wfd,"null",L7b,"null",tDc,"null"],null),null); +lA.N(null,rfa,function(a,b,c){a=t(c);u(a);var d=w(a);a=u(d);d=w(d);if("string"!==typeof a)throw Ly(b,"Invalid js* form");if(null!=d){a:{var g=Bz;Bz=Td(null,Bz);try{var h=vLa(b,a,d,c);break a}finally{Bz=g}h=void 0}return h}h=ze.B(m,Zdd(b,a));a=mLa(c);g=ad(c);d=Xx.j(g);g=Wx.j(g);return new f(null,7,[Zw,el,cs,b,Zo,c,Po,h,Fi,a,Xx,d,Wx,g],null)}); +var hA=function hA(a){a=me(a);var c=A.B(a,Zw);switch(c instanceof D?c.la:null){case "var":case "local":if(hJa(I.j(cg(U.j(a))))){var d=cg(U.j(a)),g=d.lastIndexOf(".");c=$c(I.B(Xd(U.j(a)),ng.G(d,0,g)),ad(Zo.j(a)));d=I.j(ng.B(d,g+1));g=cs.j(a);var h=new B(null,kh,new B(null,c,new B(null,d,null,1,null),2,null),3,null);c=xo(xo(zh.B(Vf.J(a,U,c,y.B([Zo,c],0)),Fi),new E(null,2,5,G,[dp,U],null),c),new E(null,2,5,G,[cs,Ul],null),mk);c=hA.j?hA.j(c):hA.call(null,c);return new f(null,7,[Zw,V1a,cs,g,Zo,h,Rx,c, +Fx,d,Fi,Fi.j(a),wn,new E(null,1,5,G,[Rx],null)],null)}return a;default:return a}},f7a=new zg(function(){return A.B(Ffa($6a),V0b)},null),$dd=function(){var a=new f(null,2,[NAb,function(c){return qLa(u(c))&&we(oLa,Cc(c))},Uxb,EJd],null),b=new f(null,2,[NAb,function(c){return qLa(u(c))&&we(oLa,bg(Cc(c)))},Uxb,EJd],null);return new f(null,4,[pqb,a,XYc,b,Dkd,a,kib,b],null)}(),pMa=new E(null,3,5,G,[function aed(a,b,c){b=me(b);var g=A.B(b,Fi);if(null==g||Pc.B(Hx,g)){if(Pc.B(Ek,Zw.j(b)))return eo.G(b,us, +function(h){return qf.G(Ue,ug.j(function(l){return aed.G?aed.G(a,l,c):aed.call(null,a,l,c)}),h)});g=sz(a,b);return null==g?b:Vf.G(b,Fi,g)}return b},function(a,b){if(a=aIa(b))a=Lw.j(Ym.j(b)),a=Pc.B(zh.B(X.j(a),cs),zh.B(vr.j(a),cs));if(a&&YHa(zx.j(Lw.j(Ym.j(b))))){a=u(bs.j(b));var c=me(a);a=A.B(c,dx);var d=A.B(c,U);c=cs.j(b);var g=new E(null,3,5,G,["((",") \x26\x26 (","))"],null),h=G,l=xo(zx.j(Lw.j(Ym.j(b))),new E(null,2,5,G,[cs,Ul],null),mk);d=WHa(l,new E(null,1,5,G,[dIa(d)],null),null);b=new f(null, +7,[Zw,el,cs,c,B4a,g,zw,new E(null,2,5,h,[a,d],null),Zo,Zo.j(b),wn,new E(null,1,5,G,[zw],null),Fi,uy],null)}else{if(a=aIa(b))a=Lw.j(Ym.j(b)),a=Pc.B(zh.B(X.j(a),cs),zh.B(zx.j(a),cs));a&&YHa(vr.j(Lw.j(Ym.j(b))))&&(a=u(bs.j(b)),c=me(a),a=A.B(c,dx),d=A.B(c,U),c=cs.j(b),g=new E(null,3,5,G,["((",") || (","))"],null),h=G,l=xo(vr.j(Lw.j(Ym.j(b))),new E(null,2,5,G,[cs,Ul],null),mk),d=WHa(l,new E(null,1,5,G,[dIa(d)],null),null),b=new f(null,7,[Zw,el,cs,c,B4a,g,zw,new E(null,2,5,h,[a,d],null),Zo,Zo.j(b),wn,new E(null, +1,5,G,[zw],null),Fi,uy],null))}return b},function(a,b){b=me(b);var c=A.B(b,Zw);if(!yLa(b)&&Vd($5a,c)){var d=xd($dd,U.j(dp.j(Ek.j(b))));if(null!=d){c=x.G(d,0,null);d=x.G(d,1,null);var g=me(d);d=A.B(g,NAb);g=A.B(g,Uxb);var h=Nh.B(Fi,zw.j(b));k(d.j?d.j(h):d.call(null,h))||Iy(g,a,new f(null,2,[U,c,d2a,h],null))}}return xLa(b)}],null);var W9c={};var tMa=ug.B(Io.G(I,m,Fd),nk.B(97,123));var yMa=wh(199);var xMa=wh(200);pA._=!0;qA._=function(){return!1};var mO=function mO(a){for(var c=[],d=arguments.length,g=0;;)if(gIa(a,"s")});yP.N(null,new E(null,1,5,G,[zB],null),function(){return!1});PA.N(null,new E(null,1,5,G,[zB],null),function(a){return DB(a.inverse())});ZO.N(null,new E(null,1,5,G,[zB],null),function(a){return DB(a.mul(a))});k4.N(null,new E(null,1,5,G,[zB],null),function(a){return DB(a.pow(3))}); +xB.N(null,new E(null,1,5,G,[zB],null),function(a){return DB(a.abs())});vB.N(null,new E(null,1,5,G,[zB],null),function(a){return DB(a.abs())});wJ.N(null,new E(null,2,5,G,[zB,zB],null),function(a,b){return DB(a.gcd(b))});nJ.N(null,new E(null,2,5,G,[zB,zB],null),function(a,b){return DB(a.lcm(b))});YH.N(null,new E(null,2,5,G,[zB,Ry],null),function(a,b){var c=BB(a);a=CB(a);return 0>b?T4.B(YH.B(a,QA.j(b)),YH.B(c,QA.j(b))):T4.B(YH.B(c,b),YH.B(a,b))}); +YO.N(null,new E(null,1,5,G,[zB],null),function(a){return 0>a?YO.j(rB.j(a.valueOf())):UA.B(YO.j(hy(BB(a))),YO.j(hy(CB(a))))});lD.N(null,new E(null,2,5,G,[zB,zB],null),function(a,b){return DB(a.mod(b).add(b).mod(b))});YH.N(null,new E(null,2,5,G,[zB,zB],null),function(a,b){return tA(CB(b))?DB(a.pow(BB(b))):YH.B(a.valueOf(),b.valueOf())});XH.N(null,new E(null,2,5,G,[zB,zB],null),function(a,b){a=a.div(b);a=0a});YH.N(null,new E(null,2,5,G,[Cy,Cy],null),function(a,b){return 0>a&&0!==m4.j(b)?IM.j(OA.B(b,h4.j(a))):W3.B?W3.B(a,b):W3.call(null,a,b)}); +xB.N(null,new E(null,1,5,G,[Cy],null),function(a){return iP.j?iP.j(a):iP.call(null,a)});vB.N(null,new E(null,1,5,G,[Cy],null),function(a){return iP.j?iP.j(a):iP.call(null,a)});UA.N(null,new E(null,2,5,G,[Cy,Cy],null),function(a,b){return a/b});PA.N(null,new E(null,1,5,G,[Cy],null),function(a){return 1/a});TA.N(null,new E(null,1,5,G,[Cy],null),function(a){return Id(Math.floor(a))});XA.N(null,new E(null,1,5,G,[Cy],null),function(a){return Id(Math.ceil(a))});l4.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.trunc(a)}); +yP.N(null,new E(null,1,5,G,[Ry],null),function(){return!1});yP.N(null,new E(null,1,5,G,[Cy],null),function(a){return qca(a)});AC.N(null,new E(null,1,5,G,[Cy],null),function(a){return a});DC.N(null,new E(null,1,5,G,[Cy],null),function(){return 0});L4.N(null,new E(null,1,5,G,[Cy],null),function(a){return 0>a?Math.PI:vA(a)});TG.N(null,new E(null,1,5,G,[Cy],null),function(a){return a});F4.N(null,new E(null,1,5,G,[Cy],null),function(a){return sA(a)?1:k(yP.j(a))?0:ID.B(jL.j(a),a)}); +jL.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.sin(a)});iL.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.cos(a)});n4.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.tan(a)});xC.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.cosh(a)});zC.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.sinh(a)});v4.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.tanh(a)});oL.N(null,new E(null,1,5,G,[Cy],null),function(a){return Math.atan(a)}); +oL.N(null,new E(null,2,5,G,[Cy,Cy],null),function(a,b){return Math.atan2(a,b)});r4.N(null,new E(null,1,5,G,[Cy],null),function(a){return 1a?YO.j(rB.j(a)):V3.j?V3.j(a):V3.call(null,a)});h4.N(null,new E(null,1,5,G,[Cy],null),function(a){return 0>a?h4.j(rB.j(a)):Math.log(a)});j4.N(null,new E(null,1,5,G,[Number],null),function(a){return 0>a?j4.j(rB.j(a)):Math.log10(a)});i4.N(null,new E(null,1,5,G,[Number],null),function(a){return 0>a?i4.j(rB.j(a)):Math.log2(a)}); +IM.N(null,new E(null,1,5,G,[Cy],null),function(a){return 0===a?1:Math.exp(a)});gJ.N(null,new E(null,2,5,G,[xy,Cy],null),function(a,b){var c=SMa(a,b);return k(c)?c:ky(["exact-divide not allowed between: ",m.j(a),", ",m.j(b)].join(""))});XH.N(null,new E(null,2,5,G,[xy,Cy],null),function(a,b){var c=SMa(a,b);return k(c)?c:ky(["quotient not allowed between: ",m.j(a),", ",m.j(b)].join(""))});gJ.N(null,new E(null,2,5,G,[Ry,Ry],null),function(a,b){return XH.B(a,b)}); +l4.N(null,new E(null,1,5,G,[Ry],null),function(a){return a});m4.N(null,new E(null,1,5,G,[Ry],null),function(){return 0});TA.N(null,new E(null,1,5,G,[Ry],null),function(a){return a});XA.N(null,new E(null,1,5,G,[Ry],null),function(a){return a});XH.N(null,new E(null,2,5,G,[Y_,Y_],null),function(a,b){return Jd(a,b)});yB.N(null,new E(null,2,5,G,[Cy,Cy],null),function(a,b){return Kd(a,b)});lD.N(null,new E(null,2,5,G,[Cy,Cy],null),function(a,b){return Gd(a,b)}); +wJ.N(null,new E(null,2,5,G,[Y_,Y_],null),function(a,b){a=0>a?-a:a;for(b=0>b?-b:b;;){if(0===b)return a;var c=Kd(a,b);a=b;b=c}});wJ.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return TMa(a,b)});wJ.N(null,new E(null,2,5,G,[Y_,BigInt],null),function(a,b){return TMa(BigInt(a),b)});wJ.N(null,new E(null,2,5,G,[BigInt,Y_],null),function(a,b){return TMa(a,BigInt(b))}); +YH.N(null,new E(null,2,5,G,[Y_,Y_],null),function(a,b){if(0>b){var c=PA.j;b=-b;a=W3.B?W3.B(a,b):W3.call(null,a,b);c=c.call(PA,a)}else c=W3.B?W3.B(a,b):W3.call(null,a,b);return c});UA.N(null,new E(null,2,5,G,[Ry,Ry],null),function(a,b){var c=yB.B(a,b);return sA(c)?XH.B(a,b):T4.B(a,b)});PA.N(null,new E(null,1,5,G,[Ry],null),function(a){return tA(a)?a:T4.B(1,a)});fC.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return a+b}); +OA.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return a*b});lD.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return VA(a,b)});SA.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return a-b});QA.N(null,new E(null,1,5,G,[BigInt],null),function(a){return-a});YH.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return k(WA.j(b))?PA.j(a**-b):a**b});xB.N(null,new E(null,1,5,G,[BigInt],null),function(a){return 0>a?-a:a}); +XH.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return a/b});yB.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return a%b});vB.N(null,new E(null,1,5,G,[BigInt],null),function(a){return 0>a?-a:a});UA.N(null,new E(null,2,5,G,[BigInt,BigInt],null),function(a,b){return sA(a%b)?a/b:T4.B(a,b)}); +for(var M0=t(new E(null,8,5,G,[fC,OA,SA,UA,YH,lD,yB,XH],null)),N0=null,O0=0,P0=0;;)if(P0b?a:b:b};w5.ba=2; +var x5=function x5(a){switch(arguments.length){case 0:return x5.ca();case 1:return x5.j(arguments[0]);default:for(var c=[],d=arguments.length,g=0;;)if(g=Math.abs(b)?c-d+b:b-d+c)],null)};lI.ba=2; +var z5=function z5(a){switch(arguments.length){case 0:return z5.ca();case 1:return z5.j(arguments[0]);case 2:return z5.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};z5.ca=function(){return new E(null,3,5,G,[0,0,0],null)};z5.j=function(a){return Cd.B(Ui,a)}; +z5.B=function(a,b){var c=x.G(a,0,null),d=x.G(a,1,null);a=x.G(a,2,null);var g=c+b;b=Math.abs(c)>=Math.abs(b)?c-g+b:b-g+c;c=d+b;return new E(null,3,5,G,[g,c,a+(Math.abs(d)>=Math.abs(b)?d-c+b:b-c+d)],null)};z5.ba=2;var IG=mI.j(mF),vP=function vP(a){switch(arguments.length){case 1:return vP.j(arguments[0]);case 3:return vP.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};vP.j=function(a){return lI.call(null,Cd.G(lI,lI.call(null),a))};vP.G=function(a,b,c){b=nk.B(b,c);return JB.G(ug.j(a),lI,b)};vP.ba=3; +var jI=function jI(a){switch(arguments.length){case 1:return jI.j(arguments[0]);case 3:return jI.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};jI.j=function(a){return ug.B(lI,Cc(Jz.G(lI,lI.call(null),a)))};jI.G=function(a,b,c){return jI.j(ug.B(a,nk.B(b,c)))};jI.ba=3; +var A5=function A5(a){switch(arguments.length){case 1:return A5.j(arguments[0]);case 3:return A5.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};A5.j=function(a){return function d(c){var g=Oc(c);if(128>=g)return Cd.B(Ui,c);var h=g>>1;g=Hh.G(c,0,h);c=Hh.B(c,h);return d(g)+d(c)}(kd(a)?a:qf.B(Ue,a))};A5.G=function(a,b,c){return A5.j(Nh.B(a,nk.B(b,c)))};A5.ba=3; +var B5=function B5(a){switch(arguments.length){case 2:return B5.B(arguments[0],arguments[1]);case 3:return B5.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};B5.B=function(a,b){return B5.G(a,b,null)}; +B5.G=function(a,b,c){var d=hNa(a,c);return function(){function g(p,v){return a.B?a.B(p,v):a.call(null,p,v)}var h=null,l=function(){function p(r,z,C){var F=null;if(2b?0:b;var c=Oc(a);return b>=c?Ue:Hh.G(a,b,c)};D5.G=function(a,b,c){b=0>b?0:b;var d=Id(Oc(a));c=c>d?d:c;return b>=c?Ue:Hh.G(a,b,c)};D5.ba=3;var E5=function E5(a){switch(arguments.length){case 2:return E5.B(arguments[0],arguments[1]);case 3:return E5.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};E5.B=function(a,b){var c=Oc(a);return 0>b?(b+=c,Hh.G(a,0>b?0:b,c)):b>=c?Ue:Hh.G(a,b,c)}; +E5.G=function(a,b,c){if(0>=c)return Ue;var d=Id(Oc(a));if(0>b)return b+=d,b=0>b?0:b,c=b+c,Hh.G(a,b,c>d?d:c);c=b+c;d=c>d?d:c;return b>=d?Ue:Hh.G(a,b,d)};E5.ba=3;hi.B(Cd,Ti); +(function(){var a=Ia(Amd,cg("performance"),null);if(k(a)){var b=function(){var c=Ia(a,cg("now"),null);if(k(c))return c;c=Ia(a,cg("mozNow"),null);if(k(c))return c;c=Ia(a,cg("msNow"),null);if(k(c))return c;c=Ia(a,cg("oNow"),null);return k(c)?c:Ia(a,cg("webkitNow"),null)}();return k(b)?function(){return 1E6*Id(b.call(a))}:function(){return 1E6*(new Date).getTime()}}return function(){return 1E6*(new Date).getTime()}})(); +var Bmd=function(){function a(d){return new Xa(d)}function b(){return new Xa}var c=null;c=function(d){switch(arguments.length){case 0:return b.call(this);case 1:return a.call(this,d)}throw Error("Invalid arity: "+arguments.length);};c.ca=b;c.j=a;return c}(),JOa=function(){function a(g,h){g=g instanceof Xa?g:Bmd.j(m.j(g));h=m.j(h);return g.append(h)}function b(g){return g instanceof Xa?g:Bmd.j(m.j(g))}function c(){return Bmd.ca()}var d=null;d=function(g,h){switch(arguments.length){case 0:return c.call(this); +case 1:return b.call(this,g);case 2:return a.call(this,g,h)}throw Error("Invalid arity: "+arguments.length);};d.ca=c;d.j=b;d.B=a;return d}();Fg(function(a,b){var c=Oc(a);b=Id(b);if(1>c||256=b)throw mi.B("`len`: must be ℕ∈[0,∞)",le);var d=(2<<(Math.floor(Math.log(c-1)/Math.log(2))|0))-1;return new E(null,3,5,G,[d,Id(Math.ceil(1.6*d*b/c)),Nh.B(m,a)],null)});Nh.B(m,"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"); +var F5=function F5(a){for(var c=[],d=arguments.length,g=0;;)if(g=c?"":a.substring(b,c)};G5.ba=3; +var H5=function H5(a){switch(arguments.length){case 2:return H5.B(arguments[0],arguments[1]);case 3:return H5.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};H5.B=function(a,b){return mNa(a.substr(b))};H5.G=function(a,b,c){return mNa(a.substr(b,c))};H5.ba=3;Io.B(mNa,G5);Io.B(mNa,H5);Dg.j(X$a);var Cmd={Jk:["BC","AD"],Ik:["Before Christ","Anno Domini"],Lk:"JFMAMJJASOND".split(""),Rk:"JFMAMJJASOND".split(""),Kk:"January February March April May June July August September October November December".split(" "),Qk:"January February March April May June July August September October November December".split(" "),Nk:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Tk:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Wk:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), +Vk:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Pk:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Uk:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Wm:"SMTWTFS".split(""),Sk:"SMTWTFS".split(""),Ok:["Q1","Q2","Q3","Q4"],Mk:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Fk:["AM","PM"],Ih:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],rj:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Gk:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],oj:6,Ym:[5,6],pj:5},gOa= +Cmd;gOa=Cmd;cOa.prototype.getOffset=function(a){a=this.zk-fOa(this,a);return-1440===a?0:a};var mOa=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|b+|B+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEabBhKHcLQdmsvVwzZ]+/]; +jOa.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.getOffset(a)):0;let d=c?new Date(a.getTime()+c):a,g=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),g=new Date(a.getTime()+(c+(0a||Pc.B(b,a)&&(c>h||Pc.B(c,h)&&d>=g))return null;throw mi.B("Insufficient `com.taoensso/encore` version, you may have a dependency conflict: see http://goo.gl/qBbLvC for solutions.",new f(null,2,[Ewd,Wi.B(".",new E(null,3,5,G,[a,h,g], +null)),Zkc,Wi.B(".",new E(null,3,5,G,[b,c,d],null))],null));})(new E(null,3,5,G,[3,43,0],null)); +var O4d=Fg(function(a){return RNa(a)}),l9a=Fg(function(a,b){a=O4d(a);return a.j?a.j(b):a.call(null,b)}),vOa=Fg(function(a,b){return qNa(function(c){var d=x.G(c,0,null);c=x.G(c,1,null);return k(l9a(d,b))?rOa(c):null},a)}),iPa=Fg(function(a,b){a=HNa(b);x.G(a,0,null);return x.G(a,1,null)}),aC=function aC(a){switch(arguments.length){case 2:return aC.B(arguments[0],arguments[1]);case 1:return aC.j(arguments[0]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +aC.B=function(a,b){a=dd(a)?b:Vf.G(b,Xy,Qd.B(a,A.B(b,Xy)));return aC.j(a)}; +aC.j=function(a){var b=me(a),c=A.B(b,Xy);A.B(b,H8a);var d=A.B(b,q9a);A.B(b,m7b);var g=A.B(b,p9a),h=A.B(b,wy),l=A.B(b,Uy),p=A.B(b,K9a);b=A.B(b,r9a);return[function(){var v=Ag(p);return k(v)?[m.j(v)," "].join(""):null}(),Eh(cg(h))," [",m.j(k(g)?g:k(d)?d:"?"),":",m.j(k(b)?b:"?"),"] - ",m.j(function(){var v=A.G(c,BBd,KOa);return k(v)?v.j?v.j(a):v.call(null,a):null}()),function(){if(k(l)){var v=A.G(c,zId,Emd);return k(v)?k(A.B(c,NRb))?null:["\n",m.j(v.j?v.j(a):v.call(null,a))].join(""):null}return null}()].join("")}; +aC.ba=2; +var Emd=function Emd(a){var c=me(a),d=A.B(c,Uy);A.B(c,Xy);return[m.j(d.stack),function(){var g=Vg(d);return k(g)?["\nex-data:\n ",Cg.J(y.B([g],0))].join(""):null}(),function(){var g=Xg(d);if(k(g)){var h=m;var l=h.j;g=Vf.G(c,Uy,g);g=Emd.j?Emd.j(g):Emd.call(null,g);h=["\n\nCaused by:\n",l.call(h,g)].join("")}else h=null;return h}()].join("")},ePa=new f(null,1,[Fy,D9a],null),zOa=new f(null,6,[e9a,X$a,f9a,new Xf(null,new f(null,1,["*",null],null),null),z9a,Ue,E9a,ePa,Vy,aC,M9a,"undefined"!==typeof window? +new f(null,1,[iAc,XNa.j?XNa.j(le):XNa.call(null,le)],null):new f(null,1,[KVb,TNa.j?TNa.j(le):TNa.call(null,le)],null)],null);var xD=function xD(a){switch(arguments.length){case 2:return xD.B(arguments[0],arguments[1]);case 3:return xD.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};xD.B=function(a,b){return xD.G(a,b,null)};xD.G=function(a,b){k(!0)&&bC(rx,"emmy.util.logic",22,new zg(function(){return new E(null,1,5,G,[["Assuming ",m.j(a)," in ",m.j(b)].join("")],null)},null),-1664117629);return!0};xD.ba=3;var SJ=null,gC=cC(Dm),jC=cC(Sy),dYa=cC(zz),dC=cC(yz),Fmd=cC(Ai),Gmd=cC(nA),DPa=cC(Zy),oC=Math.PI,Hmd=oC/4,wPa=2*oC,vPa=2*Hmd,pC=new Xf(null,new f(null,4,[iJb,null,FA,null,Dxc,null,SMb,null],null),null),qC=new Xf(null,new f(null,1,[a$b,null],null),null),rC=new Xf(null,new f(null,1,[n_c,null],null),null),vC=new Xf(null,new f(null,2,[iJb,null,FA,null],null),null),tC=new Xf(null,new f(null,2,[a$b,null,n_c,null],null),null),uC=new Xf(null,new f(null,2,[Dxc,null,SMb,null],null),null),nE=new Xf(null,new f(null, +1,[q_c,null],null),null),mE=new Xf(null,new f(null,2,[JWb,null,b$b,null],null),null),I5=function I5(a){switch(arguments.length){case 1:return I5.j(arguments[0]);case 2:return I5.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};I5.j=function(a){return DA(a)?yA(a)?sA(a)?0:new B(null,nA,new B(null,a,null,1,null),2,null):oL.j(a):new B(null,nA,new B(null,a,null,1,null),2,null)}; +I5.B=function(a,b){if(tA(b))return I5.j(a);if(GA(a)){if(DA(b))return k(WA.j(b))?FA:0;a=xD.B(or.j(t(Ti.B(new B(null,NB,null,1,null),new B(null,b,null,1,null)))),d4c);return k(a)?0:a}if(GA(b)){if(DA(a))return k(WA.j(a))?K(zm,K(Ai,FA,2)):K(Ai,FA,2);a=xD.B(or.j(t(Ti.B(new B(null,NB,null,1,null),new B(null,a,null,1,null)))),d4c);return k(a)?K(Ai,FA,2):a}return!DA(b)||!DA(a)||yA(b)&&yA(a)?new B(null,nA,new B(null,a,new B(null,b,null,1,null),2,null),3,null):oL.B(a,b)};I5.ba=2; +var Imd=qPa(YO,zz),Jmd=qPa(h4,lz),Kmd=qPa(IM,tz),FC=function FC(a,b){if(DA(a)&&DA(b))return YH.B(a,b);if(DA(a))return tA(a)?1:or.j(t(Ti.J(new B(null,yz,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0))));if(DA(b)){if(sA(b))return 1;if(tA(b))return a;if(k(function(){var h=td(b);return h?(h=ye(b))?dYa(a):h:h}())){var d=u(Cc.j?Cc.j(a):Cc.call(null,a)),g=Jd(b,2);return FC.B?FC.B(d,g):FC.call(null,d,g)}return k(function(){var h=dC(a);return k(h)?DA(Sc(Cc.j?Cc.j(a):Cc.call(null, +a)))&&td(Sc(Cc.j?Cc.j(a):Cc.call(null,a))*b):h}())?(d=u(Cc.j?Cc.j(a):Cc.call(null,a)),g=Sc(Cc.j?Cc.j(a):Cc.call(null,a))*b,FC.B?FC.B(d,g):FC.call(null,d,g)):0>b?uPa(function(){var h=-b;return FC.B?FC.B(a,h):FC.call(null,a,h)}()):or.j(t(Ti.J(new B(null,yz,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0))))}return or.j(t(Ti.J(new B(null,yz,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0))))},Lmd=new Xf(null,new f(null,31,[LGc,null,ZW,null,VD,null,ez, +null,az,null,HB,null,bz,null,TNd,null,Ai,null,pZ,null,lz,null,cz,null,yz,null,Dm,null,yD,null,YZ,null,sU,null,PLb,null,PT,null,DJc,null,Sy,null,rZb,null,nA,null,BD,null,FB,null,zm,null,UD,null,zz,null,EB,null,tz,null,sZ,null],null),null),BC=function BC(a){return DA(a)?TG.j(a):pd(a)&&vd(Lmd,u.j?u.j(a):u.call(null,a))?Td(u.j?u.j(a):u.call(null,a),ug.B(BC,Cc.j?Cc.j(a):Cc.call(null,a))):new B(null,D_,new B(null,a,null,1,null),2,null)},Mmd=qPa(vB,function(a){return Imd(lC(BC(a),a))}),Nmd=qPa(L4,function(a){return I5.B(BPa(a), +CC(a))}),J5=function J5(a){switch(arguments.length){case 0:return J5.ca();case 1:return J5.j(arguments[0]);case 2:return J5.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gv&&ly(["Symbol generator of width ",m.j(a)," exhausted"].join(""));return I.j(ze.B(m,Ti.J(m.j(l),Ml.B(v,"0"),y.B([p],0))))}function g(){return h.j(b)}var h=null;h=function(l){switch(arguments.length){case 0:return g.call(this);case 1:return d.call(this,l)}throw Error("Invalid arity: "+arguments.length);};h.ca=g;h.j=d;return h}()};FJ.ba=2; +var P4d=function(){function a(d,g,h,l){var p=K5[aa(null==d?null:d)];if(null!=p)return p.da?p.da(d,g,h,l):p.call(null,d,g,h,l);p=K5._;if(null!=p)return p.da?p.da(d,g,h,l):p.call(null,d,g,h,l);throw rb("ICanonicalize.expression-\x3e",d);}function b(d,g,h){var l=K5[aa(null==d?null:d)];if(null!=l)return l.G?l.G(d,g,h):l.call(null,d,g,h);l=K5._;if(null!=l)return l.G?l.G(d,g,h):l.call(null,d,g,h);throw rb("ICanonicalize.expression-\x3e",d);}var c=null;c=function(d,g,h,l){switch(arguments.length){case 3:return b.call(this, +d,g,h);case 4:return a.call(this,d,g,h,l)}throw Error("Invalid arity: "+arguments.length);};c.G=b;c.da=a;return c}(),K5=function K5(a){switch(arguments.length){case 3:return K5.G(arguments[0],arguments[1],arguments[2]);case 4:return K5.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};K5.G=function(a,b,c){return null!=a&&null!=a.xi?a.xi(a,b,c):P4d(a,b,c)}; +K5.da=function(a,b,c,d){return null!=a&&null!=a.gh?a.gh(a,b,c,d):P4d(a,b,c,d)};K5.ba=4;var GJ=function GJ(a){switch(arguments.length){case 1:return GJ.j(arguments[0]);case 2:return GJ.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};GJ.j=function(a){return GJ.B(a,FJ.B(16,"-g-"))}; +GJ.B=function(a,b){function c(ha){var ma=Ni.j(ug.B(p,ha));ha=u.j?u.j(ma):u.call(null,ma);var ra=HC(ha);return k(ra)?(ma=ze.B(ra,Cc.j?Cc.j(ma):Cc.call(null,ma)),gd(ma)&&Pc.B(u.j?u.j(ma):u.call(null,ma),ha)?d(ma):W(ma)):d(ma)}function d(ha){ha=Ni.j(ug.B(C,ha));return C(ha)}function g(ha){return ea(h(ha))}function h(ha){var ma=SJ;SJ=!1;try{var ra=JPa(gB(ha));De(V,ra);var ta=W(ha);return p(ta)}finally{SJ=ma}}function l(ha){v();return g(fB(ha))}function p(ha){return k(r(ha))?K5(a,ha,function(ma,ra){return IC(a, +ma,ra)},z):ha}function v(){De(V,yd);De.B?De.B(F,le):De.call(null,F,le);De.B?De.B(O,le):De.call(null,O,le);return null}function r(ha){return gd(ha)&&!Pc.B(u(ha),mh)}function z(ha,ma){var ra=Ib(V);return ra.B?ra.B(ha,ma):ra.call(null,ha,ma)}function C(ha){if(k(r(ha))){var ma=zA(ha);var ra=Ib(F);ra=ra.j?ra.j(ma):ra.call(null,ma);k(ra)?ha=ra:(ra=b.ca?b.ca():b.call(null),Eg.da?Eg.da(F,Vf,ma,ra):Eg.call(null,F,Vf,ma,ra),Eg.da?Eg.da(O,Vf,ra,ha):Eg.call(null,O,Vf,ra,ha),ha=ra);return ha}return ha}var F=Dg.j? +Dg.j(le):Dg.call(null,le),O=Dg.j?Dg.j(le):Dg.call(null,le),V=Dg.j(yd),W=function ra(ma){if(k(r(ma))){var ta=Ni.j(ug.B(ra,ma));if(k(function(){var Da=JC(a,u.j?u.j(ta):u.call(null,ta));k(Da)&&(k(!0)?(Da=dC(ta),Da=k(Da)?!BA(Sc(Cc.j?Cc.j(ta):Cc.call(null,ta))):Da):Da=!0,Da=kb(Da));return Da}()))return ta;ma=function(){var Da=Ib(F);return Da.j?Da.j(ta):Da.call(null,ta)}();return k(ma)?ma:c(ta)}return ma},ea=function ta(ra){if(gd(ra))return Ni.j(ug.B(ta,ra));if(ra instanceof n){var Da=Ib(O);Da=Da.j?Da.j(ra): +Da.call(null,ra);return k(Da)?ta(Da):ra}return ra};return new f(null,6,[N9a,function(ra){return dB(ra)?eB(l,ra):l(ra)},O9a,function(ra){return dB(ra)?eB(g,ra):g(ra)},P9a,v,Q9a,h,R9a,function(){return Ib(O)},DCc,function(){return Ib(F)}],null)};GJ.ba=2;var xP=function xP(a){switch(arguments.length){case 1:return xP.j(arguments[0]);case 2:return xP.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};xP.j=function(a){return xP.B(a,1)};xP.B=function(a,b){return Ne(function(c){return a*c},b)};xP.ba=2;var d6=function d6(a){switch(arguments.length){case 1:return d6.j(arguments[0]);case 2:return d6.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +d6.j=function(a){return d6.B(a,1)};d6.B=function(a,b){return Ne(function(c){return c/a},b)};d6.ba=2;var tP=function tP(a){switch(arguments.length){case 1:return tP.j(arguments[0]);case 2:return tP.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};tP.j=function(a){return tP.B(a,le)}; +tP.B=function(a,b){b=me(b);var c=A.G(b,kzb,2),d=A.B(b,Nqc),g=A.G(b,vcb,LQ);b=A.G(b,p8b,zSa(g));if(dd(a))return new f(null,3,[pG,!1,AH,0,Yo,null],null);var h=k(d)?function(z){return z>=d}:Be(!1);g=t(a);u(g);g=w(g);x.G(g,0,null);g=a;for(a=1;;){var l=t(g);g=u(l);var p=l=w(l);l=x.G(p,0,null);if(dd(p))return new f(null,3,[pG,!1,AH,a,Yo,g],null);var v=a+1,r=b.B?b.B(g,l):b.call(null,g,l);if(k(function(){var z=v>=c;return z?(z=r,k(z)?z:h(v)):z}()))return new f(null,3,[pG,r,AH,v,Yo,l],null);a=v;g=p}}; +tP.ba=2;ESa._=!0;gF._=function(){return!1};hF._=function(a){return a};iF._=function(a){return vA(a)};var nF=function nF(a){switch(arguments.length){case 1:return nF.j(arguments[0]);case 2:return nF.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};nF.j=function(a){return new E(null,2,5,G,[Ue,a],null)};nF.B=function(a,b){return new E(null,2,5,G,[a,b],null)};nF.ba=2;var Y9a=Dg.j(-1),JSa=iNa(yd,fC,sA,nF);BS.B(fz,xy);e=oF.prototype; +e.te=function(){return dd(this.Ha)||qA(kF(x.B(this.Ha,0)))};e.Nc=function(){return!0};e.Oc=function(a,b,c){a=Oe.J(function(d){var g=jF(d);return BSa(g,b)?BSa(g,c)?Ue:new E(null,1,5,G,[nF.B(CSa(DSa(g,b),c),kF(d))],null):new E(null,1,5,G,[d],null)},y.B([this.Ha],0));return sF.j?sF.j(a):sF.call(null,a)};e.Mc=function(a,b){a=Oe.J(function(c){var d=jF(c);return BSa(d,b)?new E(null,1,5,G,[nF.B(DSa(d,b),kF(c))],null):Ue},y.B([this.Ha],0));return sF.j?sF.j(a):sF.call(null,a)};e.vb=function(){return 0}; +e.yb=function(){return yF.j?yF.j(this):yF.call(null,this)};e.mb=function(){return cf(or.j(t(Ti.B(new B(null,kub,null,1,null),Nh.B(function(a){return nF.B(jF(a),zA(kF(a)))},this.Ha)))))};e.Db=function(){return we(Io.B(sA,kF),this.Ha)};e.Bb=function(){return yF.j?yF.j(this):yF.call(null,this)};e.Kb=function(){return!1};e.Ab=function(){return fz};e.zb=function(){return 1};e.Cb=function(){return 1};e.valueOf=function(){return(wF.j?wF.j(this):wF.call(null,this)).valueOf()}; +e.toString=function(){var a=ug.B(function(b){return[m.j(jF(b))," → ",Cg.J(y.B([kF(b)],0))].join("")},this.Ha);return["D[",Wi.B(" ",a),"]"].join("")};e.ra=function(a,b){return e6.B?e6.B(this,b):e6.call(null,this,b)};e.Jc=function(a,b){return zF.B?zF.B(this,b):zF.call(null,this,b)};e.pa=function(a,b){return Ta.J(b,y.B([this.toString()],0))}; +var tF=Ue,VK=function VK(a){switch(arguments.length){case 0:return VK.ca();case 1:return VK.j(arguments[0]);case 2:return VK.B(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,g=0;;)if(gb?AF.j(QA):0h?Y:h}()],null)}throw zP;}catch(Y){if(Y instanceof Error){var p=Y;if(p===zP)throw zP;throw p;}throw Y;}else throw zP;}catch(Y){if(Y instanceof +Error)if(p=Y,p===zP)try{if(kd(b)&&3===Oc(b))try{var v=x.B(b,0);if(Vd(v,qz)){var r=x.B(b,1),z=x.B(b,2);l=x.B(a,1);var C=function(){var xa=l,fa=r;return xa>fa?xa:fa}();return Pc.B(C,z)?new E(null,2,5,G,[nz,C],null):C=l? +new E(null,2,5,G,[nz,V],null):c()}throw zP;}catch(fa){if(fa instanceof Error){var W=fa;if(W===zP)throw zP;throw W;}throw fa;}else throw zP;}catch(fa){if(fa instanceof Error){W=fa;if(W===zP)throw zP;throw W;}throw fa;}else throw F;else throw xa;}else throw p;else throw Y;}else throw zP;}catch(Y){if(Y instanceof Error){p=Y;if(p===zP)throw zP;throw p;}throw Y;}else throw zP;}catch(Y){if(Y instanceof Error)if(p=Y,p===zP)try{if(kd(a)&&3===Oc(a))try{var ea=x.B(a,0);if(Vd(ea,qz))try{if(kd(b)&&3===Oc(b))try{var ha= +x.B(b,0);if(Vd(ha,qz)){var ma=x.B(b,1),ra=x.B(b,2);r=x.B(a,1);z=x.B(a,2);C=function(){var xa=r;return xa>ma?xa:ma}();var ta=function(){var xa=z;return xab){var c=function(){var d=fC.B(a,1),g=AD.j(b);return OM.B?OM.B(d,g):OM.call(null,d,g)}();return sA(c)?Infinity:PA.j(c)}return JB.G(Io.B(ug.j(function(d){return fC.B(a,AD.j(d))}),ug.j(SSa)),DD,nk.j(b))});E6.N(null,new E(null,2,5,G,[Y_,Y_],null),function(a,b){if(0===b)return 1;if(0>b)return a+=1,b=-b,b=OM.B?OM.B(a,b):OM.call(null,a,b),sA(b)?Infinity:ID.B(1,b);b=nk.G(a,a-b,-1);return JB.G(ug.j(ey),DD,b)}); +var OM,x5d=Dg.j(le),y5d=Dg.j(le),z5d=Dg.j(le),A5d=Dg.j(le),B5d=A.G(le,ms,Kg.ca?Kg.ca():Kg.call(null));OM=new Rg(I.B("emmy.special.factorial","rising-factorial"),mO,Gi,B5d,x5d,y5d,z5d,A5d);OM.N(null,new E(null,1,5,G,[D],null),function(a){var b=new f(null,2,[mz,new E(null,2,5,G,[nz,2],null),U,YGb],null);return b.j?b.j(a):b.call(null,a)});OM.N(null,Gi,function(a,b){return 0===b?1:0>b?(b=E6.B(SA.B(a,1),AD.j(b)),sA(b)?Infinity:PA.j(b)):JB.G(Io.B(ug.j(function(c){return fC.B(a,c)}),ug.j(SSa)),DD,nk.j(b))}); +OM.N(null,new E(null,2,5,G,[Y_,Y_],null),function(a,b){if(0===b)return 1;if(0>b)return a=E6.B(a-1,-b),sA(a)?Infinity:ID.B(1,a);a=nk.B(a,a+b);return JB.G(ug.j(ey),DD,a)}); +var F6=function F6(a){if(0===a)a=1;else if(0a){if(0 +b||b>a)return 0;g=function(){var l=a-b;return ba)return 0;c=Ib(g);return c.B?c.B(a,b):c.call(null, +a,b)};G6.ba=2;G6.ea=function(a){var b=u(a),c=w(a);a=u(c);c=w(c);return this.J(b,a,c)};var JF=function JF(a,b){var d=function l(h){return new ae(null,function(){if(sA(u(h)))return Td(u(h),l(Cc(h)));var p=OA.B(u(h),u(b)),v=IF(u(h),Cc(b)),r=l(Cc(h));return Td(p,XSa(v,r))},null,null)};return new ae(null,function(){if(sA(u(b))){var h=u(b);var l=Cc(b);l=JF.B?JF.B(a,l):JF.call(null,a,l);h=Td(h,l)}else h=d(a);return h},null,null)},H6=function H6(a,b){return new ae(null,function(){var d=u(a),g=Cc(a),h=u(b),l=Cc(b);if(sA(d)&&sA(h))return H6.B?H6.B(g,l):H6.call(null,g,l);if(sA(d))return Td(d, +H6.B?H6.B(g,b):H6.call(null,g,b));if(sA(h))return my("ERROR: denominator has a zero constant term");d=UA.B(d,h);g=$Sa(g,IF(d,l));g=H6.B?H6.B(g,b):H6.call(null,g,b);return Td(d,g)},null,null)},LF=function LF(a){return new ae(null,function(){var c=PA.j(u(a)),d=JF(Cc(a),LF.j?LF.j(a):LF.call(null,a));d=IF(c,ug.B(QA,d));return Td(c,d)},null,null)},I6=function I6(a){var c=t(a),d=u(c);c=w(c);var g=t(c);c=u(g);g=w(g);if(sA(d)&&sA(c))return Td(d,I6.j?I6.j(g):I6.call(null,g));var h=YO.j(d);return function v(p){return new ae(null, +function(){return MF(H6(ug.G(DD,Cc(p),Ne(Hc,1)),IF(2,v(p))),h)},null,null)}(a)};Ti.B(new E(null,2,5,G,[0,0],null),Ne(Hc,9)); +var Lnd=new ae(null,function(){return MF(Lnd,1)},null,null),Nnd=new ae(null,function(){return MF(Mnd,0)},null,null),Mnd=new ae(null,function(){return bTa(1,MF(Nnd,0))},null,null),Ond=H6(Nnd,Mnd),Pnd=LF(Mnd),Qnd=eTa(Nnd),Rnd=MF(He(new E(null,4,5,G,[1,0,-1,0],null)),0),Snd=bTa(Math.PI/2,Qnd),Tnd=bTa(Math.PI/2,Rnd),Vnd=new ae(null,function(){return MF(Und,1)},null,null),Und=new ae(null,function(){return MF(Vnd,0)},null,null),Wnd=H6(Und,Vnd),Xnd=eTa(Und),Ynd=eTa(Wnd),Znd=MF(Ml.j(-1),0),$nd=MF(He(new E(null, +2,5,G,[1,-1],null)),0),aod=Ti.B(new ae(null,function(){return new E(null,1,5,G,[1],null)},null,null),new ae(null,function(){return JF(aod,aod)},null,null)),cod=Ti.B(new ae(null,function(){return new E(null,1,5,G,[0],null)},null,null),new ae(null,function(){return bod},null,null)),dod=Ti.B(new ae(null,function(){return new E(null,1,5,G,[1],null)},null,null),new ae(null,function(){return dod},null,null)),bod=KF(dod,cod),eod=Ti.B(new ae(null,function(){return new E(null,2,5,G,[0,1],null)},null,null), +new ae(null,function(){return ug.G(Ui,eod,Cc(eod))},null,null)),fod=Jz.B(mF,ug.B(ID,Ne(Hc,1))),god=ug.B(WSa,Ne(Hc,1));e=NF.prototype;e.toString=function(){return m.j(this.mb(null))};e.pa=function(a,b){return Ta.J(b,y.B(['#object[emmy.series.Series "',this.toString(),'"]'],0))};e.na=function(){return this.m};e.vb=function(){return hod};e.yb=function(){return!1};e.mb=function(){var a=zA(jB.j(Ie.B(4,this.xs)));return or.j(t(Ti.J(new B(null,Dm,null,1,null),a,y.B([new B(null,kQb,null,1,null)],0))))};e.Db=function(){return!1};e.Bb=function(){return!1};e.Kb=function(){return!1};e.Ab=function(){return JFb};e.zb=function(){return iod}; +e.Cb=function(){return jod};e.zc=function(){return HE(u(this.xs))};e.ua=function(){return this.xs};e.oa=function(a,b){return new NF(this.xs,b)}; +e.call=function(a){switch(arguments.length-1){case 0:return this.ca();case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.ya(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.Ta(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ua(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); +case 11:return this.Ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.La(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], +arguments[11],arguments[12],arguments[13]);case 14:return this.Na(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Oa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Pa(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Qa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ra(arguments[1],arguments[2], +arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Sa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Ya(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.dc(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], +arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.ca=function(){var a=this.xs;a=VF.B?VF.B(a,Ue):VF.call(null,a,Ue);return new NF(a,null)};e.j=function(a){var b=this.xs;a=new E(null,1,5,G,[a],null);b=VF.B?VF.B(b,a):VF.call(null,b,a);return new NF(b,null)}; +e.B=function(a,b){var c=this.xs;a=new E(null,2,5,G,[a,b],null);c=VF.B?VF.B(c,a):VF.call(null,c,a);return new NF(c,null)};e.G=function(a,b,c){var d=this.xs;a=new E(null,3,5,G,[a,b,c],null);d=VF.B?VF.B(d,a):VF.call(null,d,a);return new NF(d,null)};e.da=function(a,b,c,d){var g=this.xs;a=new E(null,4,5,G,[a,b,c,d],null);g=VF.B?VF.B(g,a):VF.call(null,g,a);return new NF(g,null)}; +e.ja=function(a,b,c,d,g){var h=this.xs;a=new E(null,5,5,G,[a,b,c,d,g],null);h=VF.B?VF.B(h,a):VF.call(null,h,a);return new NF(h,null)};e.ya=function(a,b,c,d,g,h){var l=this.xs;a=new E(null,6,5,G,[a,b,c,d,g,h],null);l=VF.B?VF.B(l,a):VF.call(null,l,a);return new NF(l,null)};e.Ta=function(a,b,c,d,g,h,l){var p=this.xs;a=new E(null,7,5,G,[a,b,c,d,g,h,l],null);p=VF.B?VF.B(p,a):VF.call(null,p,a);return new NF(p,null)}; +e.Ia=function(a,b,c,d,g,h,l,p){var v=this.xs;a=new E(null,8,5,G,[a,b,c,d,g,h,l,p],null);v=VF.B?VF.B(v,a):VF.call(null,v,a);return new NF(v,null)};e.Ua=function(a,b,c,d,g,h,l,p,v){var r=this.xs;a=new E(null,9,5,G,[a,b,c,d,g,h,l,p,v],null);r=VF.B?VF.B(r,a):VF.call(null,r,a);return new NF(r,null)};e.Ja=function(a,b,c,d,g,h,l,p,v,r){var z=this.xs;a=new E(null,10,5,G,[a,b,c,d,g,h,l,p,v,r],null);z=VF.B?VF.B(z,a):VF.call(null,z,a);return new NF(z,null)}; +e.Ka=function(a,b,c,d,g,h,l,p,v,r,z){var C=this.xs;a=new E(null,11,5,G,[a,b,c,d,g,h,l,p,v,r,z],null);C=VF.B?VF.B(C,a):VF.call(null,C,a);return new NF(C,null)};e.La=function(a,b,c,d,g,h,l,p,v,r,z,C){var F=this.xs;a=new E(null,12,5,G,[a,b,c,d,g,h,l,p,v,r,z,C],null);F=VF.B?VF.B(F,a):VF.call(null,F,a);return new NF(F,null)};e.Ma=function(a,b,c,d,g,h,l,p,v,r,z,C,F){var O=this.xs;a=new E(null,13,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F],null);O=VF.B?VF.B(O,a):VF.call(null,O,a);return new NF(O,null)}; +e.Na=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O){var V=this.xs;a=new E(null,14,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O],null);V=VF.B?VF.B(V,a):VF.call(null,V,a);return new NF(V,null)};e.Oa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V){var W=this.xs;a=new E(null,15,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V],null);W=VF.B?VF.B(W,a):VF.call(null,W,a);return new NF(W,null)}; +e.Pa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W){var ea=this.xs;a=new E(null,16,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W],null);ea=VF.B?VF.B(ea,a):VF.call(null,ea,a);return new NF(ea,null)};e.Qa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea){var ha=this.xs;a=new E(null,17,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea],null);ha=VF.B?VF.B(ha,a):VF.call(null,ha,a);return new NF(ha,null)}; +e.Ra=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha){var ma=this.xs;a=new E(null,18,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha],null);ma=VF.B?VF.B(ma,a):VF.call(null,ma,a);return new NF(ma,null)};e.Sa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma){var ra=this.xs;a=new E(null,19,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma],null);ra=VF.B?VF.B(ra,a):VF.call(null,ra,a);return new NF(ra,null)}; +e.Ya=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra){var ta=this.xs;a=new E(null,20,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra],null);ta=VF.B?VF.B(ta,a):VF.call(null,ta,a);return new NF(ta,null)};e.dc=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta){var Da=this.xs;a=Ti.B(new E(null,20,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra],null),ta);Da=VF.B?VF.B(Da,a):VF.call(null,Da,a);return new NF(Da,null)};e.Nc=function(){return!1}; +e.Oc=function(a,b,c){function d(g){return hF(g,b,c)}return WF.B?WF.B(d,this):WF.call(null,d,this)};e.Mc=function(a,b){function c(d){return iF(d,b)}return WF.B?WF.B(c,this):WF.call(null,c,this)};e=PF.prototype;e.toString=function(){return m.j(this.mb(null))};e.pa=function(a,b){return Ta.J(b,y.B(['#object[emmy.series.PowerSeries "',this.toString(),'"]'],0))};e.na=function(){return this.m};e.vb=function(){return kod};e.yb=function(){return!1}; +e.mb=function(){var a=hp.B(function(b,c){return tA(c)?or.j(t(Ti.J(new B(null,yz,null,1,null),new B(null,Fv,null,1,null),y.B([new B(null,b,null,1,null)],0)))):or.j(t(Ti.J(new B(null,Sy,null,1,null),new B(null,c,null,1,null),y.B([new B(null,or.j(t(Ti.J(new B(null,yz,null,1,null),new B(null,Fv,null,1,null),y.B([new B(null,b,null,1,null)],0)))),null,1,null)],0))))},Qe.B(Ae(sA),zA(jB.j(Ie.B(4,this.xs)))));return or.j(t(Ti.J(new B(null,Dm,null,1,null),a,y.B([new B(null,kQb,null,1,null)],0))))};e.Db=function(){return!1}; +e.Bb=function(){return!1};e.Kb=function(){return!1};e.Ab=function(){return LW};e.zb=function(){return lod};e.Cb=function(){return mod};e.zc=function(){return new E(null,2,5,G,[nz,1],null)};e.ua=function(){return this.xs};e.oa=function(a,b){return new PF(this.xs,b)};e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))}; +e.j=function(a){return new NF(jTa.B?jTa.B(this.xs,a):jTa.call(null,this.xs,a),null)};e.Nc=function(){return!1};e.Oc=function(a,b,c){function d(g){return hF(g,b,c)}return WF.B?WF.B(d,this):WF.call(null,d,this)};e.Mc=function(a,b){function c(d){return iF(d,b)}return WF.B?WF.B(c,this):WF.call(null,c,this)};var J6=function J6(a){for(var c=[],d=arguments.length,g=0;;)if(gDC.j(b)},null,1,null),2,null),3,null),4,null),new B(null,EX,null,1,null),2,null),3,null),null,1,null), +2,null),qD),function(b){var c=G,d=t(new E(null,2,5,G,[tz,t(Ti.B(new E(null,2,5,G,[Sy,AD.j(zD)],null),EX.j?EX.j(b):EX.call(null,b)))],null));b=AD.j(DC.j(b.j?b.j(xz):b.call(null,xz)));return(c=t(new E(null,3,5,c,[yz,d,b],null)))?c:WC(c)}),dD(oD.B(new B(null,tz,new B(null,new B(null,Sy,new B(null,new B(null,dz,new B(null,wz,new B(null,a,new B(null,function(b){return 1b},null,1,null),2,null),3,null),4,null),new B(null,EX,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){var c=G,d=t(new E(null,2,5,G,[tz,t(Ti.B(new E(null,2,5,G,[Sy,-1],null),EX.j?EX.j(b):EX.call(null, +b)))],null));b=-(b.j?b.j(wz):b.call(null,wz));return(c=t(new E(null,3,5,c,[yz,d,b],null)))?c:WC(c)}),dD(oD.B(new B(null,tz,new B(null,new B(null,dz,new B(null,xz,new B(null,kD,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){return(b=t(new E(null,3,5,G,[Sy,t(new E(null,2,5,G,[tz,function(c){return AC.j(c.j?c.j(xz):c.call(null,xz))}(b)],null)),t(new E(null,2,5,G,[tz,function(c){return DD.B(DC.j(c.j?c.j(xz):c.call(null,xz)),IR.sb.j?IR.sb.j(zD):IR.sb.call(null,zD))}(b)],null))],null)))? +b:WC(b)}),dD(oD.B(new B(null,tz,new B(null,new B(null,Sy,new B(null,new B(null,dz,new B(null,xz,new B(null,kD,null,1,null),2,null),3,null),new B(null,EX,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){return(b=t(new E(null,3,5,G,[Sy,t(new E(null,2,5,G,[tz,t(Ti.B(new E(null,2,5,G,[Sy,function(c){return AC.j(c.j?c.j(xz):c.call(null,xz))}(b)],null),EX.j?EX.j(b):EX.call(null,b)))],null)),t(new E(null,2,5,G,[tz,t(Ti.B(new E(null,2,5,G,[Sy,function(c){return DD.B(DC.j(c.j?c.j(xz):c.call(null, +xz)),IR.sb.j?IR.sb.j(zD):IR.sb.call(null,zD))}(b)],null),EX.j?EX.j(b):EX.call(null,b)))],null))],null)))?b:WC(b)})],0))],0))}(),fZa=rD.J(y.B([nD.J(y.B([dD(oD.B(new B(null,bz,new B(null,zD,null,1,null),2,null),qD),function(){var a=t(new E(null,2,5,G,[cz,1],null));return a?a:WC(a)}),dD(oD.B(new B(null,bz,new B(null,new B(null,Sy,new B(null,sW,new B(null,zD,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(a){return(a=t(new E(null,2,5,G,[cz,sW.j?sW.j(a):sW.call(null,a)],null)))?a:WC(a)}), +dD(oD.B(new B(null,bz,new B(null,new B(null,Sy,new B(null,zD,new B(null,sW,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(a){return(a=t(new E(null,2,5,G,[cz,sW.j?sW.j(a):sW.call(null,a)],null)))?a:WC(a)}),dD(oD.B(new B(null,bz,new B(null,new B(null,Sy,new B(null,rz,new B(null,zD,new B(null,Tz,null,1,null),2,null),3,null),4,null),null,1,null),2,null),qD),function(a){return(a=t(new E(null,2,5,G,[cz,t(Ti.J(new E(null,1,5,G,[Sy],null),rz.j?rz.j(a):rz.call(null,a),y.B([Tz.j?Tz.j(a):Tz.call(null, +a)],0)))],null)))?a:WC(a)}),dD(oD.B(new B(null,az,new B(null,zD,null,1,null),2,null),qD),function(){var a=t(new E(null,3,5,G,[Sy,zD,t(new E(null,2,5,G,[ez,1],null))],null));return a?a:WC(a)}),dD(oD.B(new B(null,az,new B(null,new B(null,Sy,new B(null,sW,new B(null,zD,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(a){return(a=t(new E(null,3,5,G,[Sy,zD,t(new E(null,2,5,G,[ez,sW.j?sW.j(a):sW.call(null,a)],null))],null)))?a:WC(a)}),dD(oD.B(new B(null,az,new B(null,new B(null,Sy,new B(null, +zD,new B(null,sW,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(a){return(a=t(new E(null,3,5,G,[Sy,zD,t(new E(null,2,5,G,[ez,sW.j?sW.j(a):sW.call(null,a)],null))],null)))?a:WC(a)}),dD(oD.B(new B(null,az,new B(null,new B(null,Sy,new B(null,rz,new B(null,zD,new B(null,Tz,null,1,null),2,null),3,null),4,null),null,1,null),2,null),qD),function(a){return(a=t(new E(null,3,5,G,[Sy,zD,t(new E(null,2,5,G,[ez,t(Ti.J(new E(null,1,5,G,[Sy],null),rz.j?rz.j(a):rz.call(null,a),y.B([Tz.j?Tz.j(a):Tz.call(null, +a)],0)))],null))],null)))?a:WC(a)})],0))],0)),cnd=function(){var a=K(dz,RB,new Xf(null,new f(null,2,[Uwc,"null",Mod,"null"],null),null));return rD.J(y.B([nD.J(y.B([dD(oD.B(new B(null,a,new B(null,new B(null,bz,new B(null,Eqb,null,1,null),2,null),new B(null,new B(null,az,new B(null,Eqb,null,1,null),2,null),null,1,null),2,null),3,null),qD),function(b){return(b=t(new E(null,2,5,G,[tz,t(new E(null,3,5,G,[Sy,zD,Eqb.j?Eqb.j(b):Eqb.call(null,b)],null))],null)))?b:WC(b)}),dD(oD.B(new B(null,yV,new B(null, +new B(null,a,new B(null,r_,new B(null,Fv,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){b=r_.j?r_.j(b):r_.call(null,b);return k(b)?b:WC(b)}),dD(oD.B(new B(null,RW,new B(null,new B(null,a,new B(null,Fv,new B(null,kU,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){b=kU.j?kU.j(b):kU.call(null,b);return k(b)?b:WC(b)}),dD(oD.B(new B(null,nC,new B(null,new B(null,a,new B(null,r_,new B(null,kU,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){return(b= +t(new E(null,2,5,G,[zz,t(new E(null,3,5,G,[Dm,t(new E(null,3,5,G,[yz,r_.j?r_.j(b):r_.call(null,b),2],null)),t(new E(null,3,5,G,[yz,kU.j?kU.j(b):kU.call(null,b),2],null))],null))],null)))?b:WC(b)}),dD(oD.B(new B(null,T_,new B(null,new B(null,a,new B(null,r_,new B(null,kU,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){return(b=t(new E(null,3,5,G,[nA,kU.j?kU.j(b):kU.call(null,b),r_.j?r_.j(b):r_.call(null,b)],null)))?b:WC(b)}),dD(oD.B(new B(null,yV,new B(null,new B(null,QU,new B(null, +nW,new B(null,Az,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){return(b=t(new E(null,3,5,G,[Sy,nW.j?nW.j(b):nW.call(null,b),t(new E(null,2,5,G,[bz,Az.j?Az.j(b):Az.call(null,b)],null))],null)))?b:WC(b)}),dD(oD.B(new B(null,RW,new B(null,new B(null,QU,new B(null,nW,new B(null,Az,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){return(b=t(new E(null,3,5,G,[Sy,nW.j?nW.j(b):nW.call(null,b),t(new E(null,2,5,G,[az,Az.j?Az.j(b):Az.call(null,b)],null))],null)))?b:WC(b)}), +dD(oD.B(new B(null,nC,new B(null,new B(null,QU,new B(null,nW,new B(null,Fv,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){b=nW.j?nW.j(b):nW.call(null,b);return k(b)?b:WC(b)}),dD(oD.B(new B(null,T_,new B(null,new B(null,QU,new B(null,Fv,new B(null,Az,null,1,null),2,null),3,null),null,1,null),2,null),qD),function(b){b=Az.j?Az.j(b):Az.call(null,b);return k(b)?b:WC(b)})],0))],0))}(),$Ya=rD.J(y.B([nD.J(y.B([dD(oD.B(new B(null,Sy,new B(null,1,new B(null,eT,null,1,null),2,null),3,null), +qD),function(a){a=eT.j?eT.j(a):eT.call(null,a);return k(a)?a:WC(a)}),dD(oD.B(new B(null,Sy,new B(null,1,new B(null,EX,null,1,null),2,null),3,null),qD),function(a){return(a=t(Ti.B(new E(null,1,5,G,[Sy],null),EX.j?EX.j(a):EX.call(null,a))))?a:WC(a)}),dD(oD.B(new B(null,Ai,new B(null,new B(null,dz,new B(null,wz,new B(null,DA,null,1,null),2,null),3,null),new B(null,new B(null,dz,new B(null,mW,new B(null,DA,null,1,null),2,null),3,null),null,1,null),2,null),3,null),qD),function(a){var b=me(a);a=A.B(b,wz); +b=A.B(b,mW);a=ID.B(a,b);return k(a)?a:WC(a)}),dD(oD.B(new B(null,Ai,new B(null,new B(null,Dm,new B(null,exc,null,1,null),2,null),new B(null,new B(null,dz,new B(null,mW,new B(null,DA,null,1,null),2,null),3,null),null,1,null),2,null),3,null),qD),function(a){return(a=t(Ti.B(new E(null,1,5,G,[Dm],null),function(b){return ug.B(function(c){return(c=t(new E(null,3,5,G,[Ai,c,mW.j?mW.j(b):mW.call(null,b)],null)))?c:WC(c)},b.j?b.j(exc):b.call(null,exc))}(a))))?a:WC(a)}),dD(oD.B(new B(null,Ai,new B(null,new B(null, +Sy,new B(null,new B(null,dz,new B(null,wz,new B(null,DA,null,1,null),2,null),3,null),new B(null,EX,null,1,null),2,null),3,null),new B(null,new B(null,dz,new B(null,mW,new B(null,DA,null,1,null),2,null),3,null),null,1,null),2,null),3,null),qD),function(a){var b=Ti.B,c=G,d=me(a);var g=A.B(d,wz);d=A.B(d,mW);g=ID.B(g,d);return(a=t(b.call(Ti,new E(null,2,5,c,[Sy,g],null),EX.j?EX.j(a):EX.call(null,a))))?a:WC(a)}),dD(oD.B(new B(null,Ai,new B(null,new B(null,Sy,new B(null,EX,null,1,null),2,null),new B(null, +new B(null,dz,new B(null,mW,new B(null,DA,null,1,null),2,null),3,null),null,1,null),2,null),3,null),qD),function(a){var b=Ti.B,c=G;var d=PA.j(a.j?a.j(mW):a.call(null,mW));return(a=t(b.call(Ti,new E(null,2,5,c,[Sy,d],null),EX.j?EX.j(a):EX.call(null,a))))?a:WC(a)}),dD(oD.B(new B(null,Ai,new B(null,wz,new B(null,new B(null,Sy,new B(null,new B(null,dz,new B(null,mW,new B(null,DA,null,1,null),2,null),3,null),new B(null,eT,null,1,null),2,null),3,null),null,1,null),2,null),3,null),qD),function(a){return(a= +t(new E(null,3,5,G,[Ai,t(new E(null,3,5,G,[Ai,wz.j?wz.j(a):wz.call(null,a),mW.j?mW.j(a):mW.call(null,a)],null)),eT.j?eT.j(a):eT.call(null,a)],null)))?a:WC(a)}),dD(oD.B(new B(null,Ai,new B(null,wz,new B(null,new B(null,Sy,new B(null,new B(null,dz,new B(null,mW,new B(null,DA,null,1,null),2,null),3,null),new B(null,EX,null,1,null),2,null),3,null),null,1,null),2,null),3,null),qD),function(a){return(a=t(new E(null,3,5,G,[Ai,t(new E(null,3,5,G,[Ai,wz.j?wz.j(a):wz.call(null,a),mW.j?mW.j(a):mW.call(null, +a)],null)),t(Ti.B(new E(null,1,5,G,[Sy],null),EX.j?EX.j(a):EX.call(null,a)))],null)))?a:WC(a)}),dD(oD.B(new B(null,Ai,new B(null,wz,new B(null,new B(null,dz,new B(null,mW,new B(null,DA,null,1,null),2,null),3,null),null,1,null),2,null),3,null),qD),function(a){var b=G;var c=PA.j(a.j?a.j(mW):a.call(null,mW));return(a=t(new E(null,3,5,b,[Sy,c,wz.j?wz.j(a):wz.call(null,a)],null)))?a:WC(a)})],0))],0));var xod=rD.J(y.B([X5.J(y.B([Dm,Sy],0)),Smd,W5.J(y.B([Dm,Sy],0))],0));e=$F.prototype;e.Db=function(){var a=zeb.j(this.context);return k(a)?a.j?a.j(this):a.call(null,this):Pc.B(this.o,vA)};e.Bb=function(){var a=G$b.j(this.context);return k(a)?a.j?a.j(this):a.call(null,this):!1};e.yb=function(){var a=hqb.j(this.context);return k(a)?a.j?a.j(this):a.call(null,this):Pc.B(this.o,Ed)}; +e.vb=function(){var a=S9a.j(this.context);return k(a)?a.j?a.j(this):a.call(null,this):new $F(vA,this.arity,djc,this.context,this.m)};e.Cb=function(){var a=T9a.j(this.context);return k(a)?a.j?a.j(this):a.call(null,this):new $F(Ed,this.arity,Yu,this.context,this.m)};e.zb=function(){var a=U9a.j(this.context);return k(a)?a.j?a.j(this):a.call(null,this):new $F(Ed,this.arity,Yu,this.context,this.m)};e.mb=function(){var a=zA(this.name);return xod.j?xod.j(a):xod.call(null,a)};e.Ab=function(){return yC.j(this.context)}; +e.zc=function(){return this.arity};e.Nc=function(){return!1};e.Oc=function(a,b,c){return new $F(hF(this.o,b,c),this.arity,this.name,this.context,this.m)};e.Mc=function(a,b){return new $F(iF(this.o,b),this.arity,this.name,this.context,this.m)};e.toString=function(){var a=this.mb(null);return m.j(qd(a)?t(a):a)};e.na=function(){return this.m};e.oa=function(a,b){return new $F(this.o,this.arity,this.name,this.context,b)};e.xa=function(a,b){return qTa.B?qTa.B(this,b):qTa.call(null,this,b)};e.ma=function(){return ky("Operators don't support the not-found arity of get!")}; +e.call=function(a){switch(arguments.length-1){case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.ya(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.Ta(arguments[1],arguments[2], +arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ua(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]);case 11:return this.Ka(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.La(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13]); +case 14:return this.Na(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Oa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Pa(arguments[1],arguments[2],arguments[3],arguments[4], +arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Qa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ra(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5], +arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Sa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Ya(arguments[1],arguments[2], +arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.dc(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18], +arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.j=function(a){return this.o.j?this.o.j(a):this.o.call(null,a)};e.B=function(a,b){return this.o.B?this.o.B(a,b):this.o.call(null,a,b)};e.G=function(a,b,c){return this.o.G?this.o.G(a,b,c):this.o.call(null,a,b,c)};e.da=function(a,b,c,d){return this.o.da?this.o.da(a,b,c,d):this.o.call(null,a,b,c,d)}; +e.ja=function(a,b,c,d,g){return this.o.ja?this.o.ja(a,b,c,d,g):this.o.call(null,a,b,c,d,g)};e.ya=function(a,b,c,d,g,h){return this.o.ya?this.o.ya(a,b,c,d,g,h):this.o.call(null,a,b,c,d,g,h)};e.Ta=function(a,b,c,d,g,h,l){return this.o.Ta?this.o.Ta(a,b,c,d,g,h,l):this.o.call(null,a,b,c,d,g,h,l)};e.Ia=function(a,b,c,d,g,h,l,p){return this.o.Ia?this.o.Ia(a,b,c,d,g,h,l,p):this.o.call(null,a,b,c,d,g,h,l,p)}; +e.Ua=function(a,b,c,d,g,h,l,p,v){return this.o.Ua?this.o.Ua(a,b,c,d,g,h,l,p,v):this.o.call(null,a,b,c,d,g,h,l,p,v)};e.Ja=function(a,b,c,d,g,h,l,p,v,r){return this.o.Ja?this.o.Ja(a,b,c,d,g,h,l,p,v,r):this.o.call(null,a,b,c,d,g,h,l,p,v,r)};e.Ka=function(a,b,c,d,g,h,l,p,v,r,z){return this.o.Ka?this.o.Ka(a,b,c,d,g,h,l,p,v,r,z):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z)};e.La=function(a,b,c,d,g,h,l,p,v,r,z,C){return this.o.La?this.o.La(a,b,c,d,g,h,l,p,v,r,z,C):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C)}; +e.Ma=function(a,b,c,d,g,h,l,p,v,r,z,C,F){return this.o.Ma?this.o.Ma(a,b,c,d,g,h,l,p,v,r,z,C,F):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F)};e.Na=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O){return this.o.Na?this.o.Na(a,b,c,d,g,h,l,p,v,r,z,C,F,O):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O)};e.Oa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V){return this.o.Oa?this.o.Oa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V)}; +e.Pa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W){return this.o.Pa?this.o.Pa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W)};e.Qa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea){return this.o.Qa?this.o.Qa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea)};e.Ra=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha){return this.o.Ra?this.o.Ra(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha)}; +e.Sa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma){return this.o.Sa?this.o.Sa(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma)};e.Ya=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra){return this.o.Ya?this.o.Ya(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra):this.o.call(null,a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra)}; +e.dc=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta){return ze.J(this.o,a,b,c,d,y.B([g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta],0))};e.Za=tc;e.pa=function(a,b){return Ta.J(b,y.B([this.toString()],0))};var hG=function hG(a){switch(arguments.length){case 1:return hG.j(arguments[0]);case 2:return hG.B(arguments[0],arguments[1]);case 3:return hG.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +hG.j=function(a){return hG.G(a,iKb,le)};hG.B=function(a,b){return hG.G(a,b,le)};hG.G=function(a,b,c){return aG(a,mz.B(c,HE(a)),b,qf.B(new f(null,1,[yC,oY],null),c),null)};hG.ba=3;var yod=hG.B(Ed,Yu),o7=function o7(a){switch(arguments.length){case 0:return o7.ca();case 1:return o7.j(arguments[0]);case 2:return o7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};o7.ca=function(){return yod};o7.j=function(a){return a}; +o7.B=function(a,b){var c=rTa(a,b);return uA(a)?gG(b,c):uA(b)?gG(a,c):sA(a)?gG(a,c):aG(OE.J(y.B([a,b],0)),dG(b),or.j(t(Ti.J(new B(null,Sy,null,1,null),new B(null,eG(a),null,1,null),y.B([new B(null,eG(b),null,1,null)],0)))),c,null)};o7.ba=2;var p7=function p7(a){switch(arguments.length){case 1:return p7.j(arguments[0]);case 2:return p7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};p7.j=function(a){return ATa(a)}; +p7.B=function(a,b){return aG(lTa(lG.j?lG.j(a):lG.call(null,a),b),new E(null,2,5,G,[nz,1],null),or.j(t(Ti.B(new B(null,tz,null,1,null),new B(null,eG(a),null,1,null)))),fG(a),ad(a))};p7.ba=2;BS.B(xy,sX);BS.B(jz,sX); +for(var G5d=t(new E(null,14,5,G,[new E(null,3,5,G,[IM,lG,tz],null),new E(null,3,5,G,[iL,R6,bz],null),new E(null,3,5,G,[jL,Q6,az],null),new E(null,3,5,G,[n4,S6,HB],null),new E(null,3,5,G,[q4,T6,yD],null),new E(null,3,5,G,[nL,V6,FB],null),new E(null,3,5,G,[r4,U6,EB],null),new E(null,3,5,G,[oL,W6,nA],null),new E(null,3,5,G,[s4,X6,JT],null),new E(null,3,5,G,[xC,Z6,cz],null),new E(null,3,5,G,[zC,Y6,ez],null),new E(null,3,5,G,[v4,$6,sZ],null),new E(null,3,5,G,[A4,a7,GHc],null),new E(null,3,5,G,[B4,b7,rsc], +null)],null)),H5d=null,I5d=0,J5d=0;;)if(J5dc?DD.B(a,YH.B(a,AD.B(b,c))):my(["Cannot: ",m.j(or.j(t(Ti.J(new B(null,vUc,null,1,null),new B(null,a,null,1,null),y.B([new B(null,b,null,1,null)],0)))))].join(""))});jB.N(null,new E(null,1,5,G,[aT],null),function(a){return LG.J(jB,y.B([a],0))});vB.N(null,new E(null,1,5,G,[aT],null),function(a){var b=YO.j;a=TTa(TG.j(a),a);return b.call(YO,a)});xB.N(null,new E(null,1,5,G,[aT],null),function(a){return YO.j(TTa(a,a))}); +J4.N(null,new E(null,2,5,G,[GC,GC],null),function(a,b){return LG.J(J4,y.B([a,b],0))});J4.N(null,new E(null,2,5,G,[OC,OC],null),function(a,b){return LG.J(J4,y.B([a,b],0))});K4.N(null,new E(null,2,5,G,[GC,GC],null),function(a,b){return LG.J(K4,y.B([a,b],0))});K4.N(null,new E(null,2,5,G,[OC,OC],null),function(a,b){return LG.J(K4,y.B([a,b],0))});AC.N(null,new E(null,1,5,G,[aT],null),function(a){return LG.J(AC,y.B([a],0))});DC.N(null,new E(null,1,5,G,[aT],null),function(a){return LG.J(DC,y.B([a],0))}); +TG.N(null,new E(null,1,5,G,[aT],null),function(a){return LG.J(TG,y.B([a],0))});xQ.N(null,new E(null,1,5,G,[aT],null),function(a){return NG(a)});uO.N(null,new E(null,1,5,G,[aT],null),function(a){return rG(a)});EC.N(null,new E(null,2,5,G,[aT,aT],null),function(a,b){return TTa(a,b)});N4.N(null,new E(null,2,5,G,[aT,aT],null),function(a,b){return TTa(TG.j(a),b)});O4.N(null,new E(null,2,5,G,[aT,aT],null),function(a,b){return UTa(a,b)}); +P4.N(null,new E(null,2,5,G,[GC,GC],null),function(a,b){return VTa(a,b)});e=oI.prototype;e.toString=function(){return Z7.j?Z7.j(this):Z7.call(null,this)};e.Nc=function(){var a=ug.B(bI,this.Ha);return rd(xe(gF,a))};e.Oc=function(a,b,c){function d(g){return hF(g,b,c)}return FI.B?FI.B(d,this):FI.call(null,d,this)};e.Mc=function(a,b){function c(d){return iF(d,b)}return FI.B?FI.B(c,this):FI.call(null,c,this)};e.pa=function(a,b){return Ta.J(b,y.B(['#object[emmy.polynomial.Polynomial "',this.toString(),'"]'],0))};e.na=function(){return this.m}; +e.ra=function(a,b){return AI.B?AI.B(this,b):AI.call(null,this,b)};e.vb=function(){var a=x.B(this.Ha,0);return k(a)?vA(bI(a)):0};e.yb=function(){var a=tA(this.arity);return a?(a=Pc.B(Oc(this.Ha),1))?(a=x.G(this.Ha,0,null),Pc.B(new f(null,1,[0,1],null),aI(a))&&tA(bI(a))):a:a};e.mb=function(){return or.j(t(Ti.J(new B(null,kHb,null,1,null),new B(null,this.arity,null,1,null),y.B([new B(null,this.Ha,null,1,null)],0))))};e.Db=function(){return dd(this.Ha)}; +e.Bb=function(){var a=Pc.B(Oc(this.Ha),1);return a?(a=x.G(this.Ha,0,null),dd(aI(a))&&tA(bI(a))):a};e.Kb=function(){return!1};e.Ab=function(){return sD};e.zb=function(){var a=x.B(this.Ha,0);a=k(a)?wA(bI(a)):1;a=cI.B(dI.B?dI.B(0,1):dI.call(null,0,1),a);return new oI(1,new E(null,1,5,G,[a],null),this.m)};e.Cb=function(){var a=x.B(this.Ha,0);return k(a)?wA(bI(a)):1};e.zc=function(){return new E(null,3,5,G,[qz,0,this.arity],null)};e.ua=function(){return t(this.Ha)}; +e.oa=function(a,b){return new oI(this.arity,this.Ha,b)}; +e.call=function(a){switch(arguments.length-1){case 0:return this.ca();case 1:return this.j(arguments[1]);case 2:return this.B(arguments[1],arguments[2]);case 3:return this.G(arguments[1],arguments[2],arguments[3]);case 4:return this.da(arguments[1],arguments[2],arguments[3],arguments[4]);case 5:return this.ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);case 6:return this.ya(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);case 7:return this.Ta(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]);case 8:return this.Ia(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8]);case 9:return this.Ua(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);case 10:return this.Ja(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]); +case 11:return this.Ka(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11]);case 12:return this.La(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12]);case 13:return this.Ma(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10], +arguments[11],arguments[12],arguments[13]);case 14:return this.Na(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14]);case 15:return this.Oa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15]);case 16:return this.Pa(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16]);case 17:return this.Qa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17]);case 18:return this.Ra(arguments[1],arguments[2], +arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18]);case 19:return this.Sa(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19]);case 20:return this.Ya(arguments[1], +arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17],arguments[18],arguments[19],arguments[20]);case 21:return this.dc(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],arguments[17], +arguments[18],arguments[19],arguments[20],arguments[21]);default:throw Error(["Invalid arity: ",m.j(arguments.length-1)].join(""));}};e.apply=function(a,b){return this.call.apply(this,[this].concat(sb(b)))};e.ca=function(){return UI.B?UI.B(this,Ue):UI.call(null,this,Ue)};e.j=function(a){a=new E(null,1,5,G,[a],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.B=function(a,b){a=new E(null,2,5,G,[a,b],null);return UI.B?UI.B(this,a):UI.call(null,this,a)}; +e.G=function(a,b,c){a=new E(null,3,5,G,[a,b,c],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.da=function(a,b,c,d){a=new E(null,4,5,G,[a,b,c,d],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.ja=function(a,b,c,d,g){a=new E(null,5,5,G,[a,b,c,d,g],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.ya=function(a,b,c,d,g,h){a=new E(null,6,5,G,[a,b,c,d,g,h],null);return UI.B?UI.B(this,a):UI.call(null,this,a)}; +e.Ta=function(a,b,c,d,g,h,l){a=new E(null,7,5,G,[a,b,c,d,g,h,l],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Ia=function(a,b,c,d,g,h,l,p){a=new E(null,8,5,G,[a,b,c,d,g,h,l,p],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Ua=function(a,b,c,d,g,h,l,p,v){a=new E(null,9,5,G,[a,b,c,d,g,h,l,p,v],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Ja=function(a,b,c,d,g,h,l,p,v,r){a=new E(null,10,5,G,[a,b,c,d,g,h,l,p,v,r],null);return UI.B?UI.B(this,a):UI.call(null,this,a)}; +e.Ka=function(a,b,c,d,g,h,l,p,v,r,z){a=new E(null,11,5,G,[a,b,c,d,g,h,l,p,v,r,z],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.La=function(a,b,c,d,g,h,l,p,v,r,z,C){a=new E(null,12,5,G,[a,b,c,d,g,h,l,p,v,r,z,C],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Ma=function(a,b,c,d,g,h,l,p,v,r,z,C,F){a=new E(null,13,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F],null);return UI.B?UI.B(this,a):UI.call(null,this,a)}; +e.Na=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O){a=new E(null,14,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Oa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V){a=new E(null,15,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Pa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W){a=new E(null,16,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W],null);return UI.B?UI.B(this,a):UI.call(null,this,a)}; +e.Qa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea){a=new E(null,17,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Ra=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha){a=new E(null,18,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.Sa=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma){a=new E(null,19,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma],null);return UI.B?UI.B(this,a):UI.call(null,this,a)}; +e.Ya=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra){a=new E(null,20,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra],null);return UI.B?UI.B(this,a):UI.call(null,this,a)};e.dc=function(a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra,ta){a=qf.B(new E(null,20,5,G,[a,b,c,d,g,h,l,p,v,r,z,C,F,O,V,W,ea,ha,ma,ra],null),ta);return UI.B?UI.B(this,a):UI.call(null,this,a)}; +var wI=function wI(a){switch(arguments.length){case 1:return wI.j(arguments[0]);case 2:return wI.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};wI.j=function(a){a=rWa(a);return rI(1,a)};wI.B=function(a,b){b=sWa(b);return rI(a,b)};wI.ba=2;var uI=function uI(a){switch(arguments.length){case 1:return uI.j(arguments[0]);case 2:return uI.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}}; +uI.j=function(a){return uI.B(1,a)};uI.B=function(a,b){return pI(a,qWa(b),null)};uI.ba=2;var sI=function sI(a){switch(arguments.length){case 0:return sI.ca();case 1:return sI.j(arguments[0]);case 2:return sI.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};sI.ca=function(){return sI.B(1,0)};sI.j=function(a){return sI.B(a,0)};sI.B=function(a,b){b=dI.B?dI.B(b,1):dI.call(null,b,1);return pI(a,new E(null,1,5,G,[cI.B(b,1)],null),null)};sI.ba=2; +var RI=function RI(a){switch(arguments.length){case 1:return RI.j(arguments[0]);case 2:return RI.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};RI.j=function(a){return sA(a)?-1:qI(a)?jWa(aI(CI.j?CI.j(a):CI.call(null,a))):0};RI.B=function(a,b){var c=ZWa(a,b);return sA(a)?-1:qI(a)?JB.da(ug.j(function(d){return $H(aI(d),c)}),tq,0,a.Ha):0};RI.ba=2; +var Z7=function Z7(a){switch(arguments.length){case 1:return Z7.j(arguments[0]);case 2:return Z7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};Z7.j=function(a){return Z7.B(a,10)};Z7.B=function(a,b){var c=a.Ha;a=a.arity;var d=Oc(c);c=Ie.B(b,ug.B(pWa,c));b=d>b?["... and ",m.j(d-b)," more terms"].join(""):null;return[m.j(a),": (",Wi.B(" + ",c),b,")"].join("")};Z7.ba=2; +var SI=function SI(a){switch(arguments.length){case 2:return SI.B(arguments[0],arguments[1]);case 3:return SI.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};SI.B=function(a,b){return SI.G(a,b,null)}; +SI.G=function(a,b,c){function d(){var g=a.j?a.j(ZH):a.call(null,ZH);if(dd(g))return b;var h=k(c)?c:ky("`new-arity` argument to `map-exponents` required when promoting constant.");return pI(h,new E(null,1,5,G,[cI.B(g,b)],null),null)}return qI(b)?wI.B(k(c)?c:b.arity,function(){return function l(h){return new ae(null,function(){for(;;){var p=t(h);if(p){if(ld(p)){var v=hc(p),r=Oc(v),z=be(r);a:for(var C=0;;)if(Cc)return qf.B(dc(d),Ml.B(b-c,0));var h=u(a),l=aI(h);l=$H(l,0);Pc.B(l,g)?(a=Cc(a),d=Se.B(d,bI(h)),g+=1):(d=Se.B(d,0),g+=1)}};GI.ba=2;var $7=function $7(a){switch(arguments.length){case 1:return $7.j(arguments[0]);case 2:return $7.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};$7.j=function(a){return $7.B(a,DI(a))}; +$7.B=function(a,b){return tA(b)?a:sA(b)?my(["Divide by zero: ",m.j(a),m.j(b)].join("")):qI(b)?QI.B?QI.B(a,b):QI.call(null,a,b):jXa(a,PA.j(b))};$7.ba=2;var a8=function a8(a){switch(arguments.length){case 1:return a8.j(arguments[0]);case 2:return a8.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};a8.j=function(a){return a8.B(a,0)}; +a8.B=function(a,b){if(qI(a)){var c=RI.B(a,b);return 0===c?a:SI.B(function(d){var g=$H(d,b);g=c-g;return 0===g?zh.B(d,b):Vf.G(d,b,g)},a)}return a};a8.ba=2;var b8=function b8(a){switch(arguments.length){case 2:return b8.B(arguments[0],arguments[1]);case 3:return b8.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};b8.B=function(a,b){return b8.G(a,b,tk)}; +b8.G=function(a,b,c){var d=DI(a);return function C(h,l,p,v,r,z){var F=RI.j(z),O=qI(z)?h-F:h;if(Pc.B(O,1)){var V=b*l+DI(z);h=b*p+l;p=b*v+p;r=Math.abs(b)*r+Math.abs(V)}else if(Pc.B(O,2)){var W=b*b,ea=Math.abs(W);V=W*l+DI(z);h=W*p+2*b*l;p=W*v+2*b*p+l;r=ea*(r+l)+Math.abs(V)}else{var ha=OI(b,O-2),ma=ha*b;W=ma*b;ea=Math.abs(W);V=W*l+DI(z);h=W*p+O*ma*l;p=W*v+O*ma*p+.5*O*(O-1)*ha*l;r=ea*(r+(O-1)*l)+Math.abs(V)}l=V;V=p;qI(z)?z=C(F,l,h,V,r,lXa(z)):(z=2*V,F=OQ*(r-Math.abs(l)+r),z=c.da?c.da(l,h,z,F):c.call(null, +l,h,z,F));return z}(RI.j(a),d,0,0,.5*Math.abs(d),lXa(a))};b8.ba=3;var c8=H([ZW,qB,yz,Dm,YZ,PT,Sy,kX,zm],[k4,B5.B(wJ,0),YH,B5.B(fC,0),QA,ZO,B5.G(OA,1,sA),B5.G(nJ,1,sA),C5.da(SA,fC,QA,0)]),xqd=by(c8),d8=function d8(a){switch(arguments.length){case 1:return d8.j(arguments[0]);case 2:return d8.B(arguments[0],arguments[1]);case 3:return d8.G(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};d8.j=function(a){return d8.G(a,tk,yd)}; +d8.B=function(a,b){return d8.G(a,b,yd)};d8.G=function(a,b,c){var d=Si.B(gB(a),xqd),g=Oc(d);c=qh.B(c,d);g=dg(c,tI(g));a=hB(a,g,c8);return b.B?b.B(a,c):b.call(null,a,c)};d8.ba=3;var dab=HC(Sy),eab=HC(Dm),cab=HC(yz);e=XB.prototype;e.oa=function(a,b){return new XB(b)};e.na=function(){return this.Mh};e.xi=function(a,b,c){return d8.B(b,c)};e.gh=function(a,b,c,d){return d8.G(b,c,d)};e.fh=function(a,b,c){return ZI(b,c)};e.gg=function(a,b){return vd(xqd,b)};var VYa=new XB(le);BS.B(xy,uD);BS.B(cU,uD); +uB.N(null,new E(null,2,5,G,[sD,sD],null),function(a,b){return AI(a,b)});uB.N(null,new E(null,2,5,G,[sD,uD],null),function(a,b){return AI(a,b)});uB.N(null,new E(null,2,5,G,[uD,sD],null),function(a,b){return AI(b,a)});cJ(fC,vI);cJ(SA,KI);cJ(OA,LI);cJ(XH,function(a,b){return x.B(PI(a,b),0)});cJ(yB,function(a,b){return x.B(PI(a,b),1)});WA.N(null,new E(null,1,5,G,[sD],null),function(a){return EI(a)});xB.N(null,new E(null,1,5,G,[sD],null),function(a){return JI(a)}); +QA.N(null,new E(null,1,5,G,[sD],null),function(a){return II(a)});ZO.N(null,new E(null,1,5,G,[sD],null),function(a){return MI(a)});k4.N(null,new E(null,1,5,G,[sD],null),function(a){return NI(a)});YH.N(null,new E(null,2,5,G,[sD,Y_],null),function(a,b){return OI(a,b)});gJ.N(null,new E(null,2,5,G,[sD,sD],null),function(a,b){return QI(a,b)});gJ.N(null,new E(null,2,5,G,[sD,uD],null),function(a,b){return QI(a,b)});jB.N(null,new E(null,1,5,G,[sD],null),function(a){return FI(jB,a)}); +Q4.N(null,new E(null,2,5,G,[sD,TS],null),function(a,b){return dd(b)?Pc.B(1,a.arity)?XI(a,0):AG(YI(a)):Pc.B(1,Oc(b))?XI(a,u(b)):ky("Invalid selector! Only 1 deep supported.")});var Yod="undefined"!==typeof window?window:null,v7="undefined"!==typeof performance?performance:k(Yod)?Yod.performance:null,Zod=function(){var a=k(v7)?v7.now:null;if(k(a))return a;a=k(v7)?v7.mozNow:null;if(k(a))return a;a=k(v7)?v7.msNow:null;if(k(a))return a;a=k(v7)?v7.oNow:null;return k(a)?a:k(v7)?v7.webkitNow:null}(),$od=Pc.B("nodejs","default")?process:null,w7=k($od)?$od.hrtime:null;var apd=rd(Zod)?function(){var a=Zod.call(v7);return function(){return 1E6*(Zod.call(v7)-a)}}:null,bpd=rd(w7)?function(){var a=w7.ca?w7.ca():w7.call(null);return function(){var b=w7.j?w7.j(a):w7.call(null,a),c=x.G(b,0,null);b=x.G(b,1,null);return 1E9*c+b}}:null,cpd=k(apd)?apd:k(bpd)?bpd:XTa;var bUa=new E(null,7,5,G,[U$a,gkb,Ekb,SFb,vvd,WZb,EAd],null),dpd=new f(null,7,[U$a,"ns",gkb,"μs",Ekb,"ms",SFb,"s",vvd,"min",WZb,"h",EAd,"d"],null);eUa.prototype.jh=function(){return k(this.Wj)?this:new eUa(cpd.ca?cpd.ca():cpd.call(null),this.offset,!0)};eUa.prototype.Ai=function(a,b){return aUa(k(this.Wj)?(this.wi.ca?this.wi.ca():this.wi.call(null))+this.offset:this.offset,b)}; +eUa.prototype.ih=function(){var a=dUa(ZTa(this,U$a)),b=x.G(a,0,null);a=x.G(a,1,null);return[m.j(b)," ",m.j(dpd.j?dpd.j(a):dpd.call(null,a))].join("")};e=hab.prototype;e.oa=function(a,b){return new hab(this.Lm,this.Fg,b)};e.na=function(){return this.Lh};e.jh=function(){Eg.B(this.Fg,YTa);return this};e.Ai=function(a,b){return ZTa(Ib(this.Fg),b)};e.ih=function(){return $Ta(Ib(this.Fg))};e.toString=function(){return $Ta(Ib(this.Fg))};var eJ=new E(null,2,5,G,[1E3,Ekb],null),dJ=null,CXa=Dg.j(le),DXa=Dg.j(0),EXa=Dg.j(0),FXa=Dg.j(0),GXa=Dg.j(0),lJ=function lJ(a){switch(arguments.length){case 1:return lJ.j(arguments[0]);case 2:return lJ.B(arguments[0],arguments[1]);case 3:return lJ.G(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,g=0;;)if(gl||Ib(v)>p||C<=O}b=me(b);var g=A.G(b,vqd,0),h=A.G(b,wqd,1),l=A.G(b,iG,1E3),p=A.G(b,Qbb,1E3);a=U3.j(a);var v=x.G(a,0,null);a=x.G(a,1,null);b=t4a(a,b);h=h2a(a,g,h);g=x.G(h,0,null);var r=x.G(g,0,null);h=x.G(h,1,null);var z=x.G(h,0,null);r=oP(r, +z);a=a.j?a.j(r):a.call(null,r);a=new E(null,3,5,G,[h,g,new E(null,2,5,G,[r,a],null)],null);x.G(a,0,null);x.G(a,1,null);x.G(a,2,null);g=a;for(a=0;;){r=g;g=x.G(r,0,null);h=x.G(r,1,null);r=x.G(r,2,null);if(d(g,h,r,a))return c(g,h,r,a);g=b(g,h,r);a+=1}};Z9.ba=2;var $9=function $9(a){switch(arguments.length){case 1:return $9.j(arguments[0]);case 2:return $9.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};$9.j=function(a){return $9.B(a,le)}; +$9.B=function(a,b){a=Io.B(QA,a);return Z9.B(a,b)};$9.ba=2;var a$=function a$(a){switch(arguments.length){case 1:return a$.j(arguments[0]);case 2:return a$.B(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};a$.j=function(a){return a$.B(a,le)}; +a$.B=function(a,b){b=me(b);var c=A.G(b,ho,0),d=A.G(b,o4c,10);b=A.G(b,iG,1E3);var g=U3.j(a);a=x.G(g,0,null);g=x.G(g,1,null);var h=h2a(g,c,c+d);c=x.G(h,0,null);d=x.G(c,0,null);h=x.G(h,1,null);var l=x.G(h,0,null);l=d+(d-l);a:{d=c;var p=new E(null,2,5,G,[l,g.j?g.j(l):g.call(null,l)],null);for(c=0;;){l=x.G(h,0,null);var v=h;h=p;p=x.G(h,0,null);var r=v,z=d,C=h,F=c;x.G(r,0,null);r=x.G(r,1,null);x.G(z,0,null);z=x.G(z,1,null);x.G(C,0,null);C=x.G(C,1,null);if(F>b||z<=(rc?b:c],null);c=x.G(b,0,null);var v=x.G(b,1,null);b=U3.j(a);a=x.G(b,0,null);b=x.G(b,1,null);var r=.5*(c+v);r=new E(null,2,5,G,[r,b.j?b.j(r):b.call(null,r)],null);c=new E(null,3,5,G,[c,r,v],null);x.G(c,0,null);v=x.G(c,1,null);x.G(v,0,null);x.G(v,1,null);x.G(c,2,null);r=new E(null,2,5,G,[r,r],null);x.G(r,0,null);x.G(r,1,null);v= +c;for(var z=r,C=c=0,F=0;;){var O=v;r=x.G(O,0,null);v=x.G(O,1,null);var V=x.G(v,0,null),W=x.G(v,1,null);O=x.G(O,2,null);var ea=z;z=x.G(ea,0,null);ea=x.G(ea,1,null);var ha=c;c=F;var ma=h+d*xB.j(V);F=2*ma;var ra=F;var ta=.5*(O-r);ra=xB.j(V-.5*(r+O))+ta<=ra;g.G?g.G(c,V,W):g.call(null,c,V,W);if(c>l||Ib(a)>p||ra)return new f(null,5,[Yo,V,dw,W,vG,c,pG,ra,Sbb,Ib(a)],null);xB.j(ha)<=ma?W=u4a(r,V,O):(ra=i2a(ea,v,z),W=x.G(ra,0,null),ra=x.G(ra,1,null),ta=ha,ha=W>ra*(r-V)&&Wa?d:a)*(c-b)},l$);hi.B(Q4a,function(a){return 4/(1+a*a)});hi.B(Q4a,function(a){return 4/(1+a*a)});var m$=function m$(a){switch(arguments.length){case 3:return m$.G(arguments[0],arguments[1],arguments[2]);case 4:return m$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};m$.G=function(a,b,c){return m$.da(a,b,c,new f(null,1,[sr,1],null))}; +m$.da=function(a,b,c,d){var g=me(d);d=A.G(g,sr,1);g=A.B(g,dcb);a=P4a(R4a(a,b,c),M4a(a,b,c),2,d);return k(k(g)?"number"===typeof d:g)?wP.da(a,2,2,2):a};m$.ba=4;var Qqd=uP(Q4a,m$);var n$=function n$(a){switch(arguments.length){case 3:return n$.G(arguments[0],arguments[1],arguments[2]);case 4:return n$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};n$.G=function(a,b,c){return n$.da(a,b,c,new f(null,1,[sr,1],null))};n$.da=function(a,b,c,d){d=me(d);d=A.G(d,sr,1);return e$.ja(m$.da(a,b,c,d),2,2,2,2)};n$.ba=4;var Rqd=uP(Io.B(u,n$),n$);var o$=function o$(a){switch(arguments.length){case 3:return o$.G(arguments[0],arguments[1],arguments[2]);case 4:return o$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};o$.G=function(a,b,c){return o$.da(a,b,c,new f(null,1,[sr,1],null))};o$.da=function(a,b,c,d){var g=me(d);d=A.G(g,sr,1);g=A.B(g,dcb);a=P4a(L4a(a,b,c),T4a(a,b,c),3,d);return k(k(g)?"number"===typeof d:g)?wP.da(a,3,2,2):a};o$.ba=4;var Sqd=uP(S4a,o$);var V4a=Km.B(xP.B(2,2),xP.B(2,3)),Tqd=uP(S4a,Y4a(o$)),Uqd=uP(Q4a,Y4a(m$));var p$=function p$(a){switch(arguments.length){case 3:return p$.G(arguments[0],arguments[1],arguments[2]);case 4:return p$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};p$.G=function(a,b,c){return p$.da(a,b,c,new f(null,1,[sr,1],null))};p$.da=function(a,b,c,d){d=me(d);var g=A.G(d,sr,1);return e$.ja(o$.da(a,b,c,Vf.G(d,sr,xP.B(2,g))),1,2,2,2)};p$.ba=4;var Vqd=uP(Io.B(u,p$),p$);var q$=function q$(a){switch(arguments.length){case 3:return q$.G(arguments[0],arguments[1],arguments[2]);case 4:return q$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};q$.G=function(a,b,c){return q$.da(a,b,c,le)};q$.da=function(a,b,c,d){d=me(d);A.G(d,sr,1);return wP.da(o$.da(a,b,c,d),3,2,2)};q$.ba=4; +var r$=function r$(a){switch(arguments.length){case 3:return r$.G(arguments[0],arguments[1],arguments[2]);case 4:return r$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};r$.G=function(a,b,c){return r$.da(a,b,c,le)};r$.da=function(a,b,c,d){d=me(d);A.G(d,sr,1);return wP.da(m$.da(a,b,c,d),2,2,2)};r$.ba=4;var Wqd=uP(S4a,q$),Xqd=uP(Q4a,r$);var s$=function s$(a){switch(arguments.length){case 3:return s$.G(arguments[0],arguments[1],arguments[2]);case 4:return s$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};s$.G=function(a,b,c){return s$.da(a,b,c,new f(null,1,[sr,1],null))};s$.da=function(a,b,c,d){d=me(d);d=A.G(d,sr,1);return e$.ja(m$.da(a,b,c,d),1,2,2,2)};s$.ba=4;var Yqd=uP(Io.B(u,s$),s$);var t$=function t$(a){switch(arguments.length){case 3:return t$.G(arguments[0],arguments[1],arguments[2]);case 4:return t$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};t$.G=function(a,b,c){return t$.da(a,b,c,new f(null,1,[sr,1],null))};t$.da=function(a,b,c,d){d=me(d);d=A.G(d,sr,1);return e$.ja(m$.da(a,b,c,new f(null,1,[sr,xP.B(3,d)],null)),1,3,2,2)};t$.ba=4;var Zqd=uP(Io.B(u,t$),t$);var $qd=H([HQb,L2b,gHd,xGb,pxb,QHd,J5b,PQc,CZb,mQb,PGb,PVc,wLd,Rrd,g5b,zJb,evc,E_c,wDc],[new f(null,2,[Sx,E_c,yH,y4a],null),Zqd,new f(null,2,[Sx,E_c,yH,b5a],null),Qqd,Oqd,new f(null,2,[Sx,E_c,yH,c5a],null),Xqd,Yqd,Sqd,Uqd,Wqd,Nqd,Mqd,Rqd,new f(null,2,[Sx,E_c,yH,a5a],null),Vqd,Tqd,function(a,b){return function(){function c(h,l,p,v){v=gi.J(y.B([new f(null,3,[Nqc,10,vSc,.05,yH,y4a],null),v],0));var r=new E(null,1,5,G,[new E(null,3,5,G,[l,p,yH.j(v)],null)],null);l=lI.call(null);for(p=0;;){if(dd(r))return new f(null, +3,[pG,!0,vG,p,Yo,lI.call(null,l)],null);var z=bd(r),C=x.G(z,0,null),F=x.G(z,1,null);z=x.G(z,2,null);r=cd(r);var O=C;var V=F;O=Pc.B(z,b5a)?b.da?b.da(h,O,V,v):b.call(null,h,O,V,v):a.da?a.da(h,O,V,v):a.call(null,h,O,V,v);V=me(O);O=A.B(V,pG);V=A.B(V,Yo);if(k(O))C=r,l=lI.call(null,l,V),p+=1,r=C;else{O=C;var W=vSc.j(v);V=F-O;W=0===W?.5:.5+W*(yS.j(2)-1);O+=W*V;C=Qd.J(r,new E(null,3,5,G,[O,F,v4a(z)],null),y.B([new E(null,3,5,G,[C,O,w4a(z)],null)],0));p+=1;r=C}}}function d(h,l,p){return g.da(h,l,p,le)}var g= +null;g=function(h,l,p,v){switch(arguments.length){case 3:return d.call(this,h,l,p);case 4:return c.call(this,h,l,p,v)}throw Error("Invalid arity: "+arguments.length);};g.G=d;g.da=c;return g}()}(Tqd,Uqd),Pqd]),ard=qf.B(Yf,Qf($qd)),u$=function u$(a){if(Yc(a))return new E(null,2,5,G,[a,le],null);if(a instanceof D)return a=$qd.j?$qd.j(a):$qd.call(null,a),u$.j?u$.j(a):u$.call(null,a);if(id(a)){var c=Sx.j(a);var d=u$.j?u$.j(c):u$.call(null,c);c=x.G(d,0,null);d=x.G(d,1,null);return new E(null,2,5,G,[c,gi.J(y.B([zh.B(a, +Sx),d],0))],null)}return null},v$=function v$(a){switch(arguments.length){case 3:return v$.G(arguments[0],arguments[1],arguments[2]);case 4:return v$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};v$.G=function(a,b,c){return v$.da(a,b,c,le)}; +v$.da=function(a,b,c,d){var g=u$(a);return k(g)?(a=x.G(g,0,null),g=x.G(g,1,null),b=yP.j(b),c=k(b)?b:yP.j(c),new E(null,2,5,G,[k(c)?d5a(a):a,zh.B(gi.J(y.B([g,d],0)),Sx)],null)):null};v$.ba=4;var w$=function w$(a){switch(arguments.length){case 3:return w$.G(arguments[0],arguments[1],arguments[2]);case 4:return w$.da(arguments[0],arguments[1],arguments[2],arguments[3]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};w$.G=function(a,b,c){return w$.da(a,b,c,le)}; +w$.da=function(a,b,c,d){var g=me(d),h=A.G(g,Sx,HQb),l=A.G(g,hcb,!1);d=A.G(g,Uyd,!1);g=v$.da(h,b,c,g);return k(g)?(h=x.G(g,0,null),g=x.G(g,1,null),a=k(l)?x7.B(a,1):Io.B(hy,a),b=h.da?h.da(a,b,c,g):h.call(null,a,b,c,g),k(d)?b:Yo.j(b)):ky(["Unknown method: ",m.j(h),". Try one of: ",m.j(ard)].join(""))};w$.ba=4;var x$=function x$(a){switch(arguments.length){case 0:return x$.ca();case 1:return x$.j(arguments[0]);default:throw Error(["Invalid arity: ",m.j(arguments.length)].join(""));}};x$.ca=function(){return K(pD,K(aab,FD,K(GD,FD),K(GD,FD)),FD)};x$.j=function(a){return(a=t(new E(null,3,5,G,[pD,t(new E(null,4,5,G,[aab,FD,t(new E(null,3,5,G,[GD,FD,a],null)),t(new E(null,3,5,G,[GD,FD,a],null))],null)),FD],null)))?a:WC(a)};x$.ba=1; +var IP=function IP(a){for(var c=[],d=arguments.length,g=0;;)if(gLQ*l&&13>v){p=F;var O=l*C;v+=1;h=Td(l,r);C=Td(C,z);l=p;p=O;r=h;z=C}else{g*=F;var V=Math.sin(g);d=Math.cos(g);v=Pc.B(V,0)?new E(null,4,5,G,[l,V,d,1],null):function(){for(var W=r,ea=z,ha=d/V,ma=ha*F,ra=1;;)if(t(W)&& +t(ea)){var ta=u(W),Da=function(){var fa=ma*ha,ja=ra*ma;fa=(u(ea)+fa)/(fa+ta);return new E(null,3,5,G,[ja/ta,ja,fa],null)}(),Aa=x.G(Da,0,null),da=x.G(Da,1,null),Y=x.G(Da,2,null);W=Cc(W);ea=Da=Cc(ea);ha=Aa;ma=da;ra=Y}else{var xa=1/Math.sqrt(1+ma*ma);Da=function(){var fa=0>V?-xa:xa;return new E(null,2,5,G,[fa,ma*fa],null)}();W=x.G(Da,0,null);Da=x.G(Da,1,null);return new E(null,4,5,G,[ha,W,Da,ra],null)}}();l=x.G(v,0,null);h=x.G(v,1,null);g=x.G(v,2,null);v=x.G(v,3,null);return k(a)?(a=h/b,b=l,c.G?c.G(a, +b,g):c.call(null,a,b,g)):c.G?c.G(h,g,v):c.call(null,h,g,v)}}};G$.ba=3;var Ydb=hL(function(a,b,c){b=me(c);var d=A.B(b,Ccb),g=A.B(b,Dcb),h=A.B(b,DH);return function(l){return WL(a)(XQ(a,mF.B(VQ(d,g)(l),h)))}},function(a,b,c){c=me(c);var d=A.B(c,Ccb),g=A.B(c,Dcb),h=A.B(c,DH);return function(l){l=VQ(AD.j(d),g)(AD.B(VL(a)(l),h));return XQ(b,l)}}),H$=hL(s7a,t7a),I$=H$(XQc,XQc);var J$=function J$(a){switch(arguments.length){case 1:return J$.j(arguments[0]);default:for(var c=[],d=arguments.length,g=0;;)if(gMath.abs(Math.PI-a))return"π";if(.001>Math.abs(-Math.PI-a))return"-π";a=zH.B(a/Math.PI,b);switch(a){case "1":return"π";case "-1":return"-π";default:return[m.j(a),"π"].join("")}};O7.ba=2;var hpd=wh(737);var hrd=wh(738);var ipd=new E(null,4,5,G,[geb,heb,Mwa,mn],null);var jpd=new f(null,2,[Hwd,new E(null,3,5,G,["core","controls","cursor"],null),heb,new f(null,1,[leb,hpd.OrbitControls],null)],null),e7d=function e7d(a){for(var c=[],d=arguments.length,g=0;;)if(gu7d)yQ[u7d]=yQ[u7d>>1]+(u7d&1),u7d+=1;else break;var v7d=qz;var w7d;a:for(var x7d=53,y7d=1;;){if(0===x7d){w7d=y7d;break a}var z7d=y7d/2;--x7d;y7d=z7d}var A7d=4294967296*w7d;var B7d=qa("bf58476d1ce4e5b9",16),C7d=qa("94d049bb133111eb",16),D7d=qa("ff51afd7ed558ccd",16),E7d=qa("c4ceb9fe1a85ec53",16),F7d=qa("aaaaaaaaaaaaaaaa",16);Yfb.prototype.Mi=function(){var a=CQ(zQ(CQ(zQ(CQ(this.state.add(this.gamma),30),B7d),27),C7d),31);a=naa(a,11);return w7d*(a.nb>>>0)+A7d*a.mb}; -Yfb.prototype.Ni=function(){var a=this.gamma.add(this.state),b=this.gamma.add(a);var c=CQ(zQ(CQ(zQ(CQ(b,33),D7d),33),E7d),33).or(v7d);var d=CQ(c,1);c=24>(Xfb.j?Xfb.j(d):Xfb.call(null,d))?c.xor(F7d):c;return new E(null,2,5,F,[new Yfb(this.gamma,b),new Yfb(c,CQ(zQ(CQ(zQ(CQ(a,30),B7d),27),C7d),31))],null)}; -var $fb=qa("9e3779b97f4a7c15",16),ggb=function(){var a=yg.j(new f(null,1,[iW,agb((new Date).valueOf())],null));return function(){return mnb.j(zg.B(a,function(b){b=ce(b);b=y.B(b,iW);var c=BQ(b);b=x.G(c,0,null);c=x.G(c,1,null);return new f(null,2,[iW,b,mnb,c],null)}))}}();var dgb=Zj.B(t,BQ);EQ.prototype.me=function(a,b){return AQ(b)*(this.b-this.a)+this.a};EQ.prototype.sa=function(){return DQ(this)};FQ.prototype.me=function(a,b){return-Math.log(AQ(b))/this.rate};FQ.prototype.sa=function(){return DQ(this)};GQ.prototype.me=function(a,b){return AQ(b)u7d)nM[u7d]=nM[u7d>>1]+(u7d&1),u7d+=1;else break;var v7d=GB;var w7d;a:for(var x7d=53,y7d=1;;){if(0===x7d){w7d=y7d;break a}var z7d=y7d/2;--x7d;y7d=z7d}var A7d=4294967296*w7d;var B7d=Pa("bf58476d1ce4e5b9",16),C7d=Pa("94d049bb133111eb",16),D7d=Pa("ff51afd7ed558ccd",16),E7d=Pa("c4ceb9fe1a85ec53",16),F7d=Pa("aaaaaaaaaaaaaaaa",16);Hhb.prototype.nf=function(){var a=qM(Ghb(qM(Ghb(qM(this.state.add(this.gamma),30),B7d),27),C7d),31);a=aaa(a,11);return w7d*(a.Gb>>>0)+A7d*a.Eb}; +Hhb.prototype.pf=function(){var a=this.gamma.add(this.state),b=this.gamma.add(a);var c=qM(Ghb(qM(Ghb(qM(b,33),D7d),33),E7d),33).or(v7d);var d=qM(c,1);c=24>(Fhb.j?Fhb.j(d):Fhb.call(null,d))?c.xor(F7d):c;return new E(null,2,5,G,[new Hhb(this.gamma,b),new Hhb(c,qM(Ghb(qM(Ghb(qM(a,30),B7d),27),C7d),31))],null)}; +var Jhb=Pa("9e3779b97f4a7c15",16),Qhb=function(){var a=Dg.j(new f(null,1,[lW,Khb((new Date).valueOf())],null));return function(){return Ulb.j(Eg.B(a,function(b){b=me(b);b=A.B(b,lW);var c=pM(b);b=x.G(c,0,null);c=x.G(c,1,null);return new f(null,2,[lW,b,Ulb,c],null)}))}}();var Nhb=Io.B(u,pM);PM.prototype.vd=function(a,b){return oM(b)*(this.b-this.a)+this.a};PM.prototype.ua=function(){return vM(this)};UM.prototype.vd=function(a,b){return-Math.log(oM(b))/this.rate};UM.prototype.ua=function(){return vM(this)};gN.prototype.vd=function(a,b){return oM(b)
\ No newline at end of file diff --git a/notebooks/finance/check.html b/notebooks/finance/check.html new file mode 100644 index 0000000..ca364cc --- /dev/null +++ b/notebooks/finance/check.html @@ -0,0 +1,428 @@ + +
\ No newline at end of file diff --git a/notebooks/finance/intro.html b/notebooks/finance/intro.html index f048527..670886b 100644 --- a/notebooks/finance/intro.html +++ b/notebooks/finance/intro.html @@ -422,7 +422,7 @@ html * { page-break-inside: avoid !important; } .toc-panel { @apply hidden; } } -
\ No newline at end of file diff --git a/notebooks/finance/model.html b/notebooks/finance/model.html index e2ce50d..bae7a2f 100644 --- a/notebooks/finance/model.html +++ b/notebooks/finance/model.html @@ -422,7 +422,7 @@ html * { page-break-inside: avoid !important; } .toc-panel { @apply hidden; } } -
\ No newline at end of file diff --git a/notebooks/finance/slim.html b/notebooks/finance/slim.html index e836c6c..948f535 100644 --- a/notebooks/finance/slim.html +++ b/notebooks/finance/slim.html @@ -422,7 +422,7 @@ html * { page-break-inside: avoid !important; } .toc-panel { @apply hidden; } } -
\ No newline at end of file