vvplot 0.4.4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- import{computed as X,isRef as In,reactive as Ot,unref as Ct,getCurrentScope as gl,onScopeDispose as yl,watch as St,getCurrentInstance as No,hasInjectionContext as Mo,inject as C1,toValue as Re,shallowRef as S1,readonly as vl,watchEffect as pl,onMounted as To,useTemplateRef as Dt,nextTick as Tn,openBlock as O,createElementBlock as B,mergeProps as Q,renderSlot as xl,toDisplayString as Bt,createCommentVNode as Lt,createTextVNode as dt,Fragment as lt,renderList as ut,normalizeStyle as j1,createElementVNode as At,createBlock as xt,toHandlers as Gt,normalizeProps as oe,resolveDynamicComponent as c1,guardReactiveProps as g1,createVNode as $e,useModel as ke,createPropsRestProxy as $o,mergeModels as u1,ref as rn,useId as bl,Teleport as wl,useSlots as kl,useAttrs as Al,provide as dr}from"vue";function Eo(t){return gl()?(yl(t),!0):!1}const Rn=new WeakMap,Sl=(...t)=>{var e;const n=t[0],i=(e=No())==null?void 0:e.proxy;if(i==null&&!Mo())throw new Error("injectLocal must be called in setup");return i&&Rn.has(i)&&n in Rn.get(i)?Rn.get(i)[n]:C1(...t)};function Cl(t){if(!In(t))return Ot(t);const e=new Proxy({},{get(n,i,r){return Ct(Reflect.get(t.value,i,r))},set(n,i,r){return In(t.value[i])&&!In(r)?t.value[i].value=r:t.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(t.value,i)},has(n,i){return Reflect.has(t.value,i)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Ot(e)}function Ee(t){return Cl(X(t))}const Nl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ml=Object.prototype.toString,Tl=t=>Ml.call(t)==="[object Object]",$l=()=>{};function mr(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Hn(t){return Array.isArray(t)?t:[t]}function Lo(t,e,n){return St(t,e,{...n,immediate:!0})}const $n=Nl?window:void 0;function _n(t){var e;const n=Re(t);return(e=n?.$el)!=null?e:n}function El(...t){const e=[],n=()=>{e.forEach(c=>c()),e.length=0},i=(c,a,s,u)=>(c.addEventListener(a,s,u),()=>c.removeEventListener(a,s,u)),r=X(()=>{const c=Hn(Re(t[0])).filter(a=>a!=null);return c.every(a=>typeof a!="string")?c:void 0}),o=Lo(()=>{var c,a;return[(a=(c=r.value)==null?void 0:c.map(s=>_n(s)))!=null?a:[$n].filter(s=>s!=null),Hn(Re(r.value?t[1]:t[0])),Hn(Ct(r.value?t[2]:t[1])),Re(r.value?t[3]:t[2])]},([c,a,s,u])=>{if(n(),!c?.length||!a?.length||!s?.length)return;const d=Tl(u)?{...u}:u;e.push(...c.flatMap(f=>a.flatMap(h=>s.map(m=>i(f,h,m,d)))))},{flush:"post"}),l=()=>{o(),n()};return Eo(n),l}function Ll(){const t=S1(!1),e=No();return e&&To(()=>{t.value=!0},e),t}function Oo(t){const e=Ll();return X(()=>(e.value,!!t()))}const Ol=Symbol("vueuse-ssr-width");function jl(){const t=Mo()?Sl(Ol,null):null;return typeof t=="number"?t:void 0}function Pl(t,e={}){const{window:n=$n,ssrWidth:i=jl()}=e,r=Oo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=S1(typeof i=="number"),l=S1(),c=S1(!1),a=s=>{c.value=s.matches};return pl(()=>{if(o.value){o.value=!r.value;const s=Re(t).split(",");c.value=s.some(u=>{const d=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(f||h);return f&&m&&(m=i>=mr(f[1])),h&&m&&(m=i<=mr(h[1])),d?!m:m});return}r.value&&(l.value=n.matchMedia(Re(t)),c.value=l.value.matches)}),El(l,"change",a,{passive:!0}),X(()=>c.value)}function Dl(t={}){const{window:e=$n}=t,n=S1(1),i=Pl(()=>`(resolution: ${n.value}dppx)`,t);let r=$l;return e&&(r=Lo(i,()=>n.value=e.devicePixelRatio)),{pixelRatio:vl(n),stop:r}}function jo(t,e,n={}){const{window:i=$n,...r}=n;let o;const l=Oo(()=>i&&"ResizeObserver"in i),c=()=>{o&&(o.disconnect(),o=void 0)},a=X(()=>{const d=Re(t);return Array.isArray(d)?d.map(f=>_n(f)):[_n(d)]}),s=St(a,d=>{if(c(),l.value&&i){o=new ResizeObserver(e);for(const f of d)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return Eo(u),{isSupported:l,stop:u}}const B1=()=>!1,ti=Object.assign,ql=Symbol(""),Bl=Symbol(""),Vl=Symbol(""),Il=Symbol(""),Po={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Rl(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Po}}function ei(t,e=!1,n=Po,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const gr=new Uint8Array([123,123]),yr=new Uint8Array([125,125]);function vr(t){return t>=97&&t<=122||t>=65&&t<=90}function ie(t){return t===32||t===10||t===9||t===12||t===13}function Ne(t){return t===47||t===62||ie(t)}function on(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Wt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Hl{constructor(e,n){this.stack=e,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=gr,this.delimiterClose=yr,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=gr,this.delimiterClose=yr}getPos(e){let n=1,i=e+1;const r=this.newlines.length;let o=-1;if(r>100){let l=-1,c=r;for(;l+1<c;){const a=l+c>>>1;this.newlines[a]<e?l=a:c=a}o=l}else for(let l=r-1;l>=0;l--)if(e>this.newlines[l]){o=l;break}return o>=0&&(n=o+2,i=e-this.newlines[o]),{column:i,line:n,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ne(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||ie(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Wt.TitleEnd||this.currentSequence===Wt.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===Wt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Wt.Cdata.length&&(this.state=28,this.currentSequence=Wt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Wt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,n){this.enterRCDATA(e,n),this.state=31}enterRCDATA(e,n){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=n}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):vr(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Ne(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Ne(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(on("</"+n),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){ie(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=vr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||ie(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ie(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ie(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Ne(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Ne(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||Ne(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||Ne(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Ne(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):ie(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):ie(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,n){(e===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){ie(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=Wt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Wt.ScriptEnd[3]?this.startSpecial(Wt.ScriptEnd,4):e===Wt.StyleEnd[3]?this.startSpecial(Wt.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Wt.TitleEnd[3]?this.startSpecial(Wt.TitleEnd,4):e===Wt.TextareaEnd[3]?this.startSpecial(Wt.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Wt.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){}}function pr(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Do(t,e){const n=pr("MODE",e),i=pr(t,e);return n===3?i===!0:i!==!1}function sn(t,e,n,...i){return Do(t,e)}function Xl(t){throw t}function Yl(t){}function zl(t,e,n,i){const r=`https://vuejs.org/error-reference/#compiler-${t}`,o=new SyntaxError(String(r));return o.code=t,o.loc=e,o}const Fl=t=>t.type===4&&t.isStatic;function Ul(t){switch(t){case"Teleport":case"teleport":return ql;case"Suspense":case"suspense":return Bl;case"KeepAlive":case"keep-alive":return Vl;case"BaseTransition":case"base-transition":return Il}}function Gl(t,e){return!!(t&&Fl(t)&&t.content===e)}function xr(t){return t.type===7&&t.name==="pre"}const Wl=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Kl(t){for(let e=0;e<t.length;e++)if(!ie(t.charCodeAt(e)))return!1;return!0}const qo={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:B1,isPreTag:B1,isIgnoreNewlineTag:B1,isCustomElement:B1,onError:Xl,onWarn:Yl,comments:!1,prefixIdentifiers:!1};let bt=qo,N1=null,Se="",Kt=null,gt=null,ee="",we=-1,De=-1,Mi=0,Me=!1,ni=null;const Nt=[],Et=new Hl(Nt,{onerr:xe,ontext(t,e){V1(zt(t,e),t,e)},ontextentity(t,e,n){V1(t,e,n)},oninterpolation(t,e){if(Me)return V1(zt(t,e),t,e);let n=t+Et.delimiterOpen.length,i=e-Et.delimiterClose.length;for(;ie(Se.charCodeAt(n));)n++;for(;ie(Se.charCodeAt(i-1));)i--;let r=zt(n,i);r.includes("&")&&(r=bt.decodeEntities(r,!1)),ii({type:5,content:J1(r,!1,Pt(n,i)),loc:Pt(t,e)})},onopentagname(t,e){const n=zt(t,e);Kt={type:1,tag:n,ns:bt.getNamespace(n,Nt[0],bt.ns),tagType:0,props:[],children:[],loc:Pt(t-1,e),codegenNode:void 0}},onopentagend(t){wr(t)},onclosetag(t,e){const n=zt(t,e);if(!bt.isVoidTag(n)){let i=!1;for(let r=0;r<Nt.length;r++)if(Nt[r].tag.toLowerCase()===n.toLowerCase()){i=!0,r>0&&xe(24,Nt[0].loc.start.offset);for(let l=0;l<=r;l++){const c=Nt.shift();Q1(c,e,l<r)}break}i||xe(23,Bo(t,60))}},onselfclosingtag(t){const e=Kt.tag;Kt.isSelfClosing=!0,wr(t),Nt[0]&&Nt[0].tag===e&&Q1(Nt.shift(),t)},onattribname(t,e){gt={type:6,name:zt(t,e),nameLoc:Pt(t,e),value:void 0,loc:Pt(t)}},ondirname(t,e){const n=zt(t,e),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Me&&i===""&&xe(26,t),Me||i==="")gt={type:6,name:n,nameLoc:Pt(t,e),value:void 0,loc:Pt(t)};else if(gt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ei("prop")]:[],loc:Pt(t)},i==="pre"){Me=Et.inVPre=!0,ni=Kt;const r=Kt.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=ra(r[o]))}},ondirarg(t,e){if(t===e)return;const n=zt(t,e);if(Me&&!xr(gt))gt.name+=n,Ve(gt.nameLoc,e);else{const i=n[0]!=="[";gt.arg=J1(i?n:n.slice(1,-1),i,Pt(t,e),i?3:0)}},ondirmodifier(t,e){const n=zt(t,e);if(Me&&!xr(gt))gt.name+="."+n,Ve(gt.nameLoc,e);else if(gt.name==="slot"){const i=gt.arg;i&&(i.content+="."+n,Ve(i.loc,e))}else{const i=ei(n,!0,Pt(t,e));gt.modifiers.push(i)}},onattribdata(t,e){ee+=zt(t,e),we<0&&(we=t),De=e},onattribentity(t,e,n){ee+=t,we<0&&(we=e),De=n},onattribnameend(t){const e=gt.loc.start.offset,n=zt(e,t);gt.type===7&&(gt.rawName=n),Kt.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&xe(2,e)},onattribend(t,e){if(Kt&&gt){if(Ve(gt.loc,e),t!==0)if(ee.includes("&")&&(ee=bt.decodeEntities(ee,!0)),gt.type===6)gt.name==="class"&&(ee=Io(ee).trim()),t===1&&!ee&&xe(13,e),gt.value={type:2,content:ee,loc:t===1?Pt(we,De):Pt(we-1,De+1)},Et.inSFCRoot&&Kt.tag==="template"&&gt.name==="lang"&&ee&&ee!=="html"&&Et.enterRCDATA(on("</template"),0);else{let n=0;gt.exp=J1(ee,!1,Pt(we,De),0,n),gt.name==="for"&&(gt.forParseResult=Ql(gt.exp));let i=-1;gt.name==="bind"&&(i=gt.modifiers.findIndex(r=>r.content==="sync"))>-1&&sn("COMPILER_V_BIND_SYNC",bt,gt.loc,gt.arg.loc.source)&&(gt.name="model",gt.modifiers.splice(i,1))}(gt.type!==7||gt.name!=="pre")&&Kt.props.push(gt)}ee="",we=De=-1},oncomment(t,e){bt.comments&&ii({type:3,content:zt(t,e),loc:Pt(t-4,e+3)})},onend(){const t=Se.length;for(let e=0;e<Nt.length;e++)Q1(Nt[e],t-1),xe(24,Nt[e].loc.start.offset)},oncdata(t,e){Nt[0].ns!==0?V1(zt(t,e),t,e):xe(1,t-9)},onprocessinginstruction(t){(Nt[0]?Nt[0].ns:bt.ns)===0&&xe(21,t-1)}}),br=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Zl=/^\(|\)$/g;function Ql(t){const e=t.loc,n=t.content,i=n.match(Wl);if(!i)return;const[,r,o]=i,l=(d,f,h=!1)=>{const m=e.start.offset+f,y=m+d.length;return J1(d,!1,Pt(m,y),0,h?1:0)},c={source:l(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=r.trim().replace(Zl,"").trim();const s=r.indexOf(a),u=a.match(br);if(u){a=a.replace(br,"").trim();const d=u[1].trim();let f;if(d&&(f=n.indexOf(d,s+a.length),c.key=l(d,f,!0)),u[2]){const h=u[2].trim();h&&(c.index=l(h,n.indexOf(h,c.key?f+d.length:s+a.length),!0))}}return a&&(c.value=l(a,s,!0)),c}function zt(t,e){return Se.slice(t,e)}function wr(t){Et.inSFCRoot&&(Kt.innerLoc=Pt(t+1,t+1)),ii(Kt);const{tag:e,ns:n}=Kt;n===0&&bt.isPreTag(e)&&Mi++,bt.isVoidTag(e)?Q1(Kt,t):(Nt.unshift(Kt),(n===1||n===2)&&(Et.inXML=!0)),Kt=null}function V1(t,e,n){{const o=Nt[0]&&Nt[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=bt.decodeEntities(t,!1))}const i=Nt[0]||N1,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=t,Ve(r.loc,n)):i.children.push({type:2,content:t,loc:Pt(e,n)})}function Q1(t,e,n=!1){n?Ve(t.loc,Bo(e,60)):Ve(t.loc,Jl(e,62)+1),Et.inSFCRoot&&(t.children.length?t.innerLoc.end=ti({},t.children[t.children.length-1].loc.end):t.innerLoc.end=ti({},t.innerLoc.start),t.innerLoc.source=zt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Me||(i==="slot"?t.tagType=2:kr(t)?t.tagType=3:ta(t)&&(t.tagType=1)),Et.inRCDATA||(t.children=Vo(o)),r===0&&bt.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}r===0&&bt.isPreTag(i)&&Mi--,ni===t&&(Me=Et.inVPre=!1,ni=null),Et.inXML&&(Nt[0]?Nt[0].ns:bt.ns)===0&&(Et.inXML=!1);{const l=t.props;if(!Et.inSFCRoot&&Do("COMPILER_NATIVE_TEMPLATE",bt)&&t.tag==="template"&&!kr(t)){const a=Nt[0]||N1,s=a.children.indexOf(t);a.children.splice(s,1,...t.children)}const c=l.find(a=>a.type===6&&a.name==="inline-template");c&&sn("COMPILER_INLINE_TEMPLATE",bt,c.loc)&&t.children.length&&(c.value={type:2,content:zt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:c.loc})}}function Jl(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n<Se.length-1;)n++;return n}function Bo(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n>=0;)n--;return n}const _l=new Set(["if","else","else-if","for","slot"]);function kr({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&_l.has(e[n].name))return!0}return!1}function ta({tag:t,props:e}){if(bt.isCustomElement(t))return!1;if(t==="component"||ea(t.charCodeAt(0))||Ul(t)||bt.isBuiltInComponent&&bt.isBuiltInComponent(t)||bt.isNativeTag&&!bt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(sn("COMPILER_IS_ON_ELEMENT",bt,i.loc))return!0}}else if(i.name==="bind"&&Gl(i.arg,"is")&&sn("COMPILER_IS_ON_ELEMENT",bt,i.loc))return!0}return!1}function ea(t){return t>64&&t<91}const na=/\r\n/g;function Vo(t){const e=bt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Mi)r.content=r.content.replace(na,`
2
- `);else if(Kl(r.content)){const o=t[i-1]&&t[i-1].type,l=t[i+1]&&t[i+1].type;!o||!l||e&&(o===3&&(l===3||l===1)||o===1&&(l===3||l===1&&ia(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=Io(r.content))}return n?t.filter(Boolean):t}function ia(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function Io(t){let e="",n=!1;for(let i=0;i<t.length;i++)ie(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function ii(t){(Nt[0]||N1).children.push(t)}function Pt(t,e){return{start:Et.getPos(t),end:e==null?e:Et.getPos(e),source:e==null?e:zt(t,e)}}function Ve(t,e){t.end=Et.getPos(e),t.source=zt(t.start.offset,e)}function ra(t){const e={type:6,name:t.rawName,nameLoc:Pt(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function J1(t,e=!1,n,i=0,r=0){return ei(t,e,n,i)}function xe(t,e,n){bt.onError(zl(t,Pt(e,e)))}function oa(){Et.reset(),Kt=null,gt=null,ee="",we=-1,De=-1,Nt.length=0}function sa(t,e){if(oa(),Se=t,bt=ti({},qo),e){let r;for(r in e)e[r]!=null&&(bt[r]=e[r])}Et.mode=bt.parseMode==="html"?1:bt.parseMode==="sfc"?2:0,Et.inXML=bt.ns===1||bt.ns===2;const n=e&&e.delimiters;n&&(Et.delimiterOpen=on(n[0]),Et.delimiterClose=on(n[1]));const i=N1=Rl([],t);return Et.parse(Se),i.loc=Pt(0,t.length),i.children=Vo(i.children),N1=null,i}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");class o1 extends String{static#t=new Map;constructor(e){const n=String(e);if(o1.#t.has(n))return o1.#t.get(n);super(n),o1.#t.set(n,this)}}class s1 extends Number{static#t=new Map;constructor(e){const n=Number(e);if(s1.#t.has(n))return s1.#t.get(n);super(n),s1.#t.set(n,this)}}class He extends String{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new o1(e);if(typeof e=="number"||e instanceof Number)return new s1(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof o1||e instanceof s1}}class Ro{constructor(e,n,i){this.label=e,this.value=n,this.level=i}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class Xe extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=b1(Array.from(e).filter(i=>!(i instanceof He)).map(i=>String(i))).sort((i,r)=>Ar(i,r,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(i=>String(i)).sort((i,r)=>Ar(e[i],e[r]));return new this(...n)}throw new Error(`Invalid level values: ${e}`)}static isEqual(e,n){if(e instanceof this&&n instanceof this)return e.length===n.length&&Array(e.length).fill().every((i,r)=>e[r].label===n[r].label)}constructor(...e){return e=e.map((n,i)=>new Ro(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,Xe.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(i=>i instanceof He?i:this.mapping[i]);return n.level=this,n}}function Ze(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function ft(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const Ut={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ze)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i<r?i:r,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ze)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i>r?i:r,-1/0)},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ze)),n&&(t=t.filter(i=>isFinite(i))),t.length==0?NaN:Array.from(t).reduce((i,r)=>i+r,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Ze)),n&&(t=t.filter(r=>isFinite(r))),t.length<=1)return NaN;let i=Array.from(t).reduce((r,o)=>r+o,0)/t.length;return Math.sqrt(Array.from(t).reduce((r,o)=>r+(o-i)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:i=!0}={}){if(n&&(t=t.filter(Ze)),i&&(t=t.filter(c=>isFinite(c))),t.length==0)return NaN;t=Array.from(t).sort((c,a)=>c-a);let r=(t.length-1)*e,o=Math.floor(r),l=Math.ceil(r);return o==l?t[o]:t[o]*(l-r)+t[l]*(r-o)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Ze)),n&&(t=t.filter(o=>isFinite(o))),t.length==0)return new Array(2);let i=Array.from(t).reduce((o,l)=>o<l?o:l,1/0),r=Array.from(t).reduce((o,l)=>o>l?o:l,-1/0);return Object.assign([i,r],{min:i,max:r})}},jt={sum(...t){if(t.some(i=>i==null))return null;if(t.some(i=>!Array.isArray(i)&&typeof i!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(i=>!Array.isArray(i)).reduce((i,r)=>+r+i,0);if(t=t.filter(i=>Array.isArray(i)),t.length==0)return[e];if(t.some(i=>i.length==0))return[];let n=t[0].length;if(t.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.reduce((o,l)=>+l[r]+o,e))},opposite(t){if(t==null)return null;if(!Array.isArray(t)&&typeof t!="number")throw new Error("Arguments must be numbers or arrays");return Array.isArray(t)?t.map(e=>e==null?e:-e):-t},concat(...t){if(t.some(i=>i==null))return null;let e=t.filter(i=>Array.isArray(i));if(e.length==0)return[t.join("")];if(t.some(i=>i.length==0))return[];let n=e[0].length;if(e.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.map(o=>Array.isArray(o)?o[r]:o).join(""))},apply(t,...e){if(e.some(r=>r==null))return null;let n=e.filter(r=>Array.isArray(r));if(n.length==0)return[t(...e)];if(e.some(r=>r.length==0))return[];let i=n[0].length;if(n.some(r=>r.length!=i))throw new Error("Arrays must have the same length");return Array.from({length:i},(r,o)=>t(...e.map(l=>Array.isArray(l)?l[o]:l)))}};function $t(...t){if(t=t.filter(e=>e!==void 0),t.length!=0)return t=t.slice(t.findIndex(e=>e==null)+1),t.length==0?null:t.reduce((e,n)=>{for(let i in n)n[i]===null&&delete e[i],n[i]!=null&&(e[i]=n[i]);return e},{})}function Te(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function b1(t,e=null){let n=new Map;for(let i in t){let r=e?e(t[i]):t[i];n.has(r)||n.set(r,t[i])}return Array.from(n.values())}function Ar(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function Be(t,...e){return Array.isArray(t)?(t=t.filter(n=>typeof n=="function"),t.length===0?!1:(t.forEach(n=>n(...e)),!0)):typeof t!="function"?!1:(t(...e),!0)}function Oe(t,{min:e,max:n}){return t<e||t>n?NaN:t}function yt(t,{min:e,max:n}){return t<e?e:t>n?n:t}function ri(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function Ft(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function Ho(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t==null||e==null)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(let r of n)if(!Ho(t[r],e[r]))return!1;return!0}function la(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let i=0;i<t.length;i++){let r=t[i],o=e.findIndex(l=>Ho(l,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function aa(...t){if(t.length==0)return null;let e=t.filter(r=>Array.isArray(r)).reduce((r,o)=>{if(Array.isArray(o)){if(r==null)return o.length;if(r!=o.length)throw new Error("Arrays must have the same length")}return r},null)??0,n=[],i=[];for(let r=0;r<e;r++){let o=t.map(c=>Array.isArray(c)?c[r]:c),l=n.findIndex(c=>c.every((a,s)=>a===o[s]));l===-1&&(n.push(o),l=n.length-1),i.push(l)}return i.categories=n,i}function ne(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(o=>Array.isArray(o)).reduce((o,l)=>{if(Array.isArray(l)){if(o==null)return l.length;if(o!=l.length)throw new Error("Arrays must have the same length")}return o},null)??0,n=Object.keys(t),i=[],r=[];for(let o=0;o<e;o++){let l=Object.fromEntries(n.map(a=>[a,Array.isArray(t[a])?t[a][o]:t[a]])),c=i.findIndex(a=>n.every(s=>a[s]===l[s]));c===-1&&(i.push(l),c=i.length-1),r.push(c)}return r.categories=i,r}function Ti(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,i)=>{if(Array.isArray(i)){if(n==null)return i.length;if(n!=i.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,i)=>Object.fromEntries(Object.keys(t).map(r=>[r,Array.isArray(t[r])?t[r][i]:t[r]])))}function Vt(t){return t==null?[]:Array.isArray(t)?t:t==="solid"?[]:t==="dashed"?[4,4]:t==="dotted"?[1,3]:t==="dotdash"?[1,3,4,3]:t==="longdash"?[8,4]:t==="twodash"?[2,2,6,2]:t.includes(" ")?t.split(" ").map(e=>+e):t.split("").map(e=>+("0x"+e))}const Xn={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function ca(t,{unit:e="mm"}={}){if(!(t instanceof SVGElement))return null;function n(c){let a=c.childNodes.length;for(;a--;){const s=c.childNodes[a];s.nodeType===Node.COMMENT_NODE?c.removeChild(s):s.nodeType===Node.ELEMENT_NODE&&(n(s),s.getAttribute("style")==""&&s.removeAttribute("style"),s.getAttribute("class")==""&&s.removeAttribute("class"))}}let i=t.cloneNode(!0),r=Array.from(t.querySelectorAll("foreignObject")),o=Array.from(i.querySelectorAll("foreignObject"));for(let c=0;c<r.length;c++){let a=r[c],s=o[c],u=r[c].querySelector("canvas");if(!u)continue;let d=i.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",u.toDataURL()),d.setAttribute("x",a.getAttribute("x")),d.setAttribute("y",a.getAttribute("y")),d.setAttribute("width",a.getAttribute("width")),d.setAttribute("height",a.getAttribute("height")),s.parentNode.replaceChild(d,s)}for(let c of i.querySelectorAll(".vvplot-interactive"))c.remove();return n(i),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),Xn[e]||(e=""),i.setAttribute("width",t.scrollWidth/Xn[e]+e),i.setAttribute("height",t.scrollHeight/Xn[e]+e),i.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(i)}const Xo={axis:{line_width:1,tick_width:1,tick_length:5,label_size:12,title_size:18},axis_h:{title_offset:20},axis_v:{title_offset:30,title_angle:90},axis_left:{tick_position:"left",title_position:"left"},axis_right:{tick_position:"right",title_position:"right"},axis_top:{tick_position:"top",title_position:"top"},axis_bottom:{tick_position:"bottom",title_position:"bottom"},grid:{line_width:1,line_width_major:2},plot:{margin:20,padding_h:50,padding_v:30},legend:{spacing:4},selection:{background:"#00000020"}},Yo={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"#eeeeee"}},ua={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray"},grid:{line_color:"#eeeeee"}},ha={axis:{tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"white"},plot:{background:"#eeeeee"}},fa={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black"},grid:{line_color:"#666666"},plot:{background:"#888888"}},da={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"black",line_width_major:1,line_width_minor:.5}},ma={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:null},ga={axis:null,grid:null};function ya(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=$t(e[i],n[i]);return e??void 0},{})}function va(t,e=!1){let{axis_h:n,axis_v:i,axis_x:r,axis_y:o,grid_h:l,grid_v:c,grid_x:a,grid_y:s,plot:{margin_x:u,margin_y:d,margin_h:f,margin_v:h,padding_x:m,padding_y:y,padding_h:w,padding_v:p,...S}={},...A}=t;return e?(n=$t(n,o),i=$t(i,r),l=$t(l,a),c=$t(c,s),S.margin_h=d===void 0?f:d,S.margin_v=u===void 0?h:u,S.padding_h=y===void 0?w:y,S.padding_v=m===void 0?p:m):(n=$t(n,r),i=$t(i,o),l=$t(l,s),c=$t(c,a),S.margin_h=u===void 0?f:u,S.margin_v=d===void 0?h:d,S.padding_h=m===void 0?w:m,S.padding_v=y===void 0?p:y),{axis_h:n,axis_v:i,grid_h:l,grid_v:c,plot:S,...A}}function pa(t){function e(n){return{line_color_major:["line_color","line_color_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_color_minor:["line_color","line_color_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_major:["line_width","line_width_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_minor:["line_width","line_width_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0)}}return{axis:{h:$t(...["axis","axis_h"].map(n=>t?.[n])),v:$t(...["axis","axis_v"].map(n=>t?.[n])),left:$t(...["axis","axis_v","axis_left"].map(n=>t?.[n])),right:$t(...["axis","axis_v","axis_right"].map(n=>t?.[n])),top:$t(...["axis","axis_h","axis_top"].map(n=>t?.[n])),bottom:$t(...["axis","axis_h","axis_bottom"].map(n=>t?.[n]))},grid:{h:e($t(...["grid","grid_h"].map(n=>t?.[n]))),v:e($t(...["grid","grid_v"].map(n=>t?.[n])))},plot:{margin:{left:["margin","margin_h","margin_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["margin","margin_h","margin_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["margin","margin_v","margin_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["margin","margin_v","margin_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},padding:{left:["padding","padding_h","padding_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["padding","padding_h","padding_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["padding","padding_v","padding_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["padding","padding_v","padding_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},background:t?.plot?.background},selection:t?.selection??{},legend:{spacing:t?.legend?.spacing??0}}}const xa={base:Xo,default:Yo,light:ua,classic:ma,gray:ha,dark:fa,linedraw:da,void:ga},ba={scale_attrs:[],coord_scale(t,e){return null},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return null}};let Tt=jt.sum;const wa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0;if(t.x){let r=Tt(e.x?.apply?.(t.x)??t.x,n),o=Tt(r,t.width?.map?.(y=>-y/2)??-.5,n),l=Tt(r,t.width?.map?.(y=>+y/2)??.5,n),c=Tt(t.lwisker,i),a=Tt(t.Q1,i),s=Tt(t.median,i),u=Tt(t.Q3,i),d=Tt(t.uwisker,i),f=jt.apply((y,{y:w,$raw:p},S)=>Tt(w,S).map((A,M)=>({x:y,y:A,$raw:p[M]})),r,t.outliers??[],i),h=Tt(t.min,i),m=Tt(t.max,i);return{x:r,xmin:o,xmax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:o,$xmax:l,$ymin:h,$ymax:m}}else if(t.y){let r=Tt(e.y?.apply?.(t.y)??t.y,i),o=Tt(r,t.height?.map?.(y=>-y/2)??-.5,i),l=Tt(r,t.height?.map?.(y=>+y/2)??.5,i),c=Tt(t.lwisker,n),a=Tt(t.Q1,n),s=Tt(t.median,n),u=Tt(t.Q3,n),d=Tt(t.uwisker,n),f=jt.apply((y,{x:w,$raw:p},S)=>Tt(w,S).map((A,M)=>({x:A,y,$raw:p[M]})),r,t.outliers??[],n),h=Tt(t.xmin,n),m=Tt(t.xmax,n);return{y:r,ymin:o,ymax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:h,$xmax:m,$ymin:o,$ymax:l}}return{}},get_range(t,e){if(e=="x")return t.x||(t.min??[]).concat(t.max??[]);if(e=="y")return t.y||(t.min??[]).concat(t.max??[])},validate(t){return[t.$xmin,t.$xmax,t.$ymin,t.$ymax].some(e=>isNaN(e))?null:t}},ka={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let Qe=jt.sum;const Aa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:i,C:r}=t,o=t.xnudge??0,l=t.ynudge??0,c=Qe(e.x?.apply?.(t.cx)??t.cx,o),a=Qe(e.y?.apply?.(t.cy)??t.cy,l);return{cx:c,cy:a,A:n,B:i,C:r}},get_range(t,e){if(e=="x"){let n=jt.apply((i,r,o)=>Math.sqrt(o/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Qe(t.cx??[],n).concat(Qe(t.cx??[],jt.opposite(n))??[])}if(e=="y"){let n=jt.apply((i,r,o)=>Math.sqrt(i/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Qe(t.cy??[],n).concat(Qe(t.cy??[],jt.opposite(n))??[])}},validate(t){return isNaN(t.cx)||isNaN(t.cy)||isNaN(t.A)||isNaN(t.B)||isNaN(t.C)||!(t.A*t.C>t.B*t.B)?null:t}};let I1=jt.sum;const Sa={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=I1(e.x?.apply?.(t.x)??t.x,n),o=I1(e.y?.apply?.(t.y)??t.y,i),l=I1(e.x?.apply?.(t.xend)??t.xend,n),c=I1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Sr=jt.sum;const Ca={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Sr(e.x?.apply?.(t.x)??t.x,n),o=Sr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let R1=jt.sum;const Na={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=R1(e.x?.apply?.(t.x)??t.x,n),o=R1(e.y?.apply?.(t.y)??t.y,i),l=R1(e.x?.apply?.(t.xend)??t.xend,n),c=R1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let Cr=jt.sum;const Ma={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Cr(e.x?.apply?.(t.x)??t.x,n),o=Cr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}},Ta={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let H1=jt.sum;const $a={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=H1(e.x?.apply?.(t.xmin)??t.xmin,n),o=H1(e.x?.apply?.(t.xmax)??t.xmax,n),l=H1(e.y?.apply?.(t.ymin)??t.ymin,i),c=H1(e.y?.apply?.(t.ymax)??t.ymax,i);return{xmin:r,xmax:o,ymin:l,ymax:c}},get_range(t,e){if(e=="x")return(t.xmin??[]).concat(t.xmax??[]);if(e=="y")return(t.ymin??[]).concat(t.ymax??[])},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}};let Je=jt.sum;const Ea={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Je(e.x?.apply?.(t.x)??t.x,n),o=Je(e.y?.apply?.(t.y)??t.y,i),l=Je(r,t.dx),c=Je(o,t.dy);return{x:r,y:o,xend:l,yend:c}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(Je(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(Je(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Nr=jt.sum;const La={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Nr(e.x?.apply?.(t.x)??t.x,n),o=Nr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let X1=jt.sum;const Oa={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=X1(e.x?.apply?.(t.x)??t.x,n),o=X1(e.y?.apply?.(t.y)??t.y,i),l=X1(e.x?.apply?.(t.xend)??t.xend,n),c=X1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let Y1=jt.sum;const ja={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=e.x?.apply?.(t.x)??t.x,o=e.y?.apply?.(t.y)??t.y,l=Y1(r,t.width?.map?.(u=>-u/2)??-.5,n),c=Y1(r,t.width?.map?.(u=>+u/2)??.5,n),a=Y1(o,t.height?.map?.(u=>-u/2)??-.5,i),s=Y1(o,t.height?.map?.(u=>+u/2)??.5,i);return{xmin:l,xmax:c,ymin:a,ymax:s}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x"){let n=jt.apply((r,o)=>+r-o/2,t.x??[],t.width??[]),i=jt.apply((r,o)=>+r+o/2,t.x??[],t.width??[]);return n.concat(i)}if(e=="y"){let n=jt.apply((r,o)=>+r-o/2,t.y??[],t.height??[]),i=jt.apply((r,o)=>+r+o/2,t.y??[],t.height??[]);return n.concat(i)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Le=Object.freeze(Object.defineProperty({__proto__:null,blank:ba,boxplot:wa,curve:ka,ellipse:Aa,line:Sa,markdown:Ca,markdownsegment:Na,point:Ma,polygon:Ta,rect:$a,stick:Ea,text:La,textsegment:Oa,tile:ja},Symbol.toStringTag,{value:"Module"})),Pa=Object.assign(function(t){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let e=t.x??t.y;if(e==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(e.some(s=>typeof s=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let n=Object.keys(t).filter(s=>!["x","y"].includes(s)&&!s.startsWith("$")),i=ne(Object.fromEntries(n.map(s=>[s,t[s]]))),r=ne({group:i??0,value:e}),o=Map.groupBy(t.$raw,(s,u)=>r.categories[r[u]]),l=Array.from(o.values()),c=Array.from(o.keys()),a={$raw:l,count:l.map(s=>s.length),$group:c.map(s=>s.group),value:c.map(s=>s.value)};for(let s of n)a[s]=c.map(u=>u.group).map(u=>i.categories[u][s]);return t.x?(({value:s,count:u,...d})=>({x:s,y:u.map(f=>f/2),height:u,...d}))(a):(({value:s,count:u,...d})=>({y:s,x:u.map(f=>f/2),width:u,...d}))(a)},{core_attrs:["x","y","xnudge","ynudge"]}),Da=Object.assign(function(t,{}){let e=["x","y"].filter($=>t[$]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${e.join('", "')}"`);let n=t.x.some($=>typeof $!="number"),i=t.y.some($=>typeof $!="number");if(n&&i)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!n&&!i)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[r,o]=n?["y","x"]:["x","y"],l=Object.keys(t).filter($=>$!=r&&!$.startsWith("$")),c=ne(Object.fromEntries(l.map($=>[$,t[$]]))),a=ne({group:c??0,cate:t[o]}),s=Map.groupBy(a.map(($,g)=>g),($,g)=>a.categories[a[g]]),u=Array.from(s.keys()),d=Array.from(s.values()).map($=>$.map(g=>t.$raw[g])),f=Array.from(s.values()).map($=>$.map(g=>t[r][g])),h=f.map($=>Ut.min($)),m=f.map($=>Ut.quantile($,.25)),y=f.map($=>Ut.quantile($,.5)),w=f.map($=>Ut.quantile($,.75)),p=f.map($=>Ut.max($)),S=f.map(($,g)=>w[g]-m[g]),A=f.map(($,g)=>Math.max(h[g],m[g]-1.5*S[g])),M=f.map(($,g)=>Math.min(p[g],w[g]+1.5*S[g])),j=Array.from(s.values()).map(($,g)=>{let x=$.filter(b=>t[r][b]<A[g]||t[r][b]>M[g]);return{[r]:x.map(b=>t[r][b]),$raw:x.map(b=>t.$raw[b])}}),E={$raw:d,$group:u.map($=>$.group),min:h,lwisker:A,Q1:m,median:y,Q3:w,uwisker:M,max:p,outliers:j};for(let $ of l)E[$]=u.map(g=>g.group).map(g=>c.categories[g][$]);return E},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),qa=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatCurve": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ne(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ne({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Ti({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),Ba=Object.assign(function(t,{n:e=512,kernel:n="gaussian"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(i.some(h=>typeof h!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=Mr[n],!n)throw new Error(`kernel must be one of ${Object.keys(Mr).map(h=>`"${h}"`).join(", ")}`);let r=Object.keys(t).filter(h=>!["x","y"].includes(h)&&!h.startsWith("$")),o=ne(Object.fromEntries(r.map(h=>[h,t[h]]))),l=ne({group:o??new Array(i.length).fill(0)}).map((h,m,y)=>y.categories[h]),c=Map.groupBy(t.$raw,(h,m)=>l[m]),a=Array.from(c.values()),s=Array.from(c.keys()),u=Array.from(Map.groupBy(i,(h,m)=>l[m]).values()),d={$raw:a,$group:s.map(h=>h.group)},f=u.map(h=>{let m=Va.nrd0(h),{min:y,max:w}=Ut.extent(h);y-=3*m,w+=3*m;let p=(w-y)/(e-1);return Array.from({length:e},(A,M)=>y+M*p).map(A=>[A,Ut.mean(h.map(M=>n((A-M)/m)))/m])});for(let h of r)d[h]=s.map(m=>o.categories[m.group][h]);return t.x?d.points=f.map(h=>h.map(([m,y])=>({x:m,y}))):d.points=f.map(h=>h.map(([m,y])=>({x:y,y:m}))),d},{core_attrs:["x","y","xnudge","ynudge"]}),Va={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Ut.sd(t),n=Ut.quantile(t,.75)-Ut.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Ut.sd(t),n=Ut.quantile(t,.75)-Ut.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Mr={uniform:t=>Math.abs(t)<=1?.5:0,triangular:t=>Math.abs(t)<=1?1-Math.abs(t):0,epanechnikov:t=>Math.abs(t)<=1?.75*(1-t**2):0,biweight:t=>Math.abs(t)<=1?15/16*(1-t**2)**2:0,triweight:t=>Math.abs(t)<=1?35/32*(1-t**2)**3:0,tricube:t=>Math.abs(t)<=1?70/81*(1-Math.abs(t)**3)**3:0,gaussian:t=>Math.exp(-.5*t**2)/Math.sqrt(2*Math.PI),cosine:t=>Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0,logistic:t=>1/Math.cosh(t)**2/Math.PI,sigmoid:t=>2/(Math.exp(t)+Math.exp(-t))**2/Math.PI},Ia=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(f=>t[f]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let i=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),r=ne(Object.fromEntries(i.map(f=>[f,t[f]]))),o=ne({group:r??new Array(t.x.length).fill(0)}).map((f,h,m)=>m.categories[f]),l=Map.groupBy(t.$raw,(f,h)=>o[h]),c=Array.from(l.values()),a=Array.from(l.keys()),s=-2*Math.log(1-e),u=Array.from(Map.groupBy(Ti({x:t.x,y:t.y}),(f,h)=>o[h]).values()).map(f=>{const h=f.length;let m=f.reduce((M,j)=>M+j.x,0)/h,y=f.reduce((M,j)=>M+j.y,0)/h;if(h<2)return{};let w=f.reduce((M,j)=>M+(j.x-m)**2,0)/(h-1),p=f.reduce((M,j)=>M+(j.x-m)*(j.y-y),0)/(h-1),S=f.reduce((M,j)=>M+(j.y-y)**2,0)/(h-1),A=(w*S-p*p)*s;return{cx:m,cy:y,A:S/A,B:-p/A,C:w/A}}),d={$raw:c,cx:u.map(f=>f.cx??0),cy:u.map(f=>f.cy??0),A:u.map(f=>f.A??0),B:u.map(f=>f.B??0),C:u.map(f=>f.C??0)};for(let f of i)d[f]=a.map(h=>h.group).map(h=>r.categories[h][f]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),Ra=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:i}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(r.some(f=>typeof f!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(i)i.sort((f,h)=>f-h);else{let{min:f,max:h}=Ut.extent(r);n||(n=(h-f)/(e-1)),i=Array.from({length:e+1},(m,y)=>f+(y-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),l=ne(Object.fromEntries(o.map(f=>[f,t[f]]))),c=ne({group:l??new Array(r.length).fill(0),upper:r.map(f=>i.findLast(h=>h<=f)??i[0]),lower:r.map(f=>i.find(h=>h>f)??i[e])}).map((f,h,m)=>m.categories[f]),a=Map.groupBy(t.$raw,(f,h)=>c[h]),s=Array.from(a.values()),u=Array.from(a.keys()),d={$raw:s,count:s.map(f=>f.length),$group:u.map(f=>f.group),upper:u.map(f=>f.upper),lower:u.map(f=>f.lower)};for(let f of o)d[f]=u.map(h=>l.categories[h.group][f]);return t.x?(({upper:f,lower:h,count:m,ymin:y=s.map(()=>0),...w})=>({xmin:f,xmax:h,ymin:y,ymax:m,...w}))(d):(({upper:f,lower:h,count:m,xmin:y=s.map(()=>0),...w})=>({xmin:y,xmax:m,ymin:f,ymax:h,...w}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),Ha=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),Xa=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(s=>t[s]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let i=t.group??new Array(t.x.length).fill(null),o=Object.values(i.reduce((s,u,d)=>(s[u]??=[],s[u].push(d),s),{})).map(s=>s.map((u,d)=>[t[e][u],d]).sort((u,d)=>u[0]-d[0]).map((u,d)=>s[u[1]])),l=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),c=o.map(s=>s.slice(1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),a={};for(let s in t)a[s]=l.map(u=>t[s][u]);return a.xend=c.map(s=>t.x[s]),a.yend=c.map(s=>t.y[s]),a},{core_attrs:["x","y","xnudge","ynudge"]}),Ya=Object.assign(function(t){if(t.x!=null){let e=["x","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({x:n,ymin:i,ymax:r,...o})=>({x:n,xend:n,y:i,yend:r,...o}))(t)}else if(t.y!=null){let e=["y","xmin","xmax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({y:n,xmin:i,xmax:r,...o})=>({y:n,yend:n,x:i,xend:r,...o}))(t)}else throw new Error('Missing aesthetics for "StatLinerange": x,ymin,ymax or y,xmin,xmax')},{core_attrs:["x","y","xmin","xmax","ymin","ymax","xnudge","ynudge"]}),za=Object.assign(function(t){let e=["x","y"].filter(a=>t[a]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPath": "${e.join('", "')}"`);let n=t.group??new Array(t.x.length).fill(null),r=Object.values(n.reduce((a,s,u)=>(a[s]??=[],a[s].push(u),a),{})).map(a=>a.map((s,u)=>a[u])),o=r.map(a=>a.slice(0,-1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),l=r.map(a=>a.slice(1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),c={};for(let a in t)c[a]=o.map(s=>t[a][s]);return c.xend=l.map(a=>t.x[a]),c.yend=l.map(a=>t.y[a]),c},{core_attrs:["x","y","xnudge","ynudge"]}),Fa=Object.assign(function(t){let e=["x","y"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPoint": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge"]}),Ua=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPolygon": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ne(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ne({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Ti({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["points","xnudge","ynudge"]}),Ga=Object.assign(function(t){let e=["xmin","xmax","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatRect": "${e.join('", "')}"`);return t},{core_attrs:["xmin","xmax","ymin","ymax","xnudge","ynudge"]}),Wa=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatSegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge"]}),Ka=Object.assign(function(t){t.dx==null&&(t.dx=Array(t.x.length).fill(0)),t.dy==null&&(t.dy=Array(t.y.length).fill(0));let e=["x","y","dx","dy"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatStick": "${e.join('", "')}"`);return t},{core_attrs:["x","y","dx","dy","xnudge","ynudge"]}),Za=Object.assign(function(t){let e=["x","y","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatText": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge","label","text-length"]}),Qa=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTextsegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge","label"]}),Ja=Object.assign(function(t){t.width==null&&t.x.some(n=>typeof n=="string")&&(t.width=Array(t.x.length).fill(1)),t.height==null&&t.y.some(n=>typeof n=="string")&&(t.height=Array(t.y.length).fill(1));let e=["x","y","width","height"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTile": "${e.join('", "')}"`);return t},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),_a=Object.freeze(Object.defineProperty({__proto__:null,bar:Pa,boxplot:Da,curve:qa,density:Ba,ellipse:Ia,histogram:Ra,identity:Ha,line:Xa,linerange:Ya,path:za,point:Fa,polygon:Ua,rect:Ga,segment:Wa,stick:Ka,text:Za,textsegment:Qa,tile:Ja},Symbol.toStringTag,{value:"Module"}));function _1(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function tc(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function zo(t){let e,n,i;t.length!==2?(e=_1,n=(c,a)=>_1(t(c),a),i=(c,a)=>t(c)-a):(e=t===_1||t===tc?t:ec,n=t,i=t);function r(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<0?s=d+1:u=d}while(s<u)}return s}function o(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<=0?s=d+1:u=d}while(s<u)}return s}function l(c,a,s=0,u=c.length){const d=r(c,a,s,u-1);return d>s&&i(c[d-1],a)>-i(c[d],a)?d-1:d}return{left:r,center:l,right:o}}function ec(){return 0}function nc(t){return t===null?NaN:+t}const ic=zo(_1),rc=ic.right;zo(nc).center;const oc=Math.sqrt(50),sc=Math.sqrt(10),lc=Math.sqrt(2);function ln(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),l=o>=oc?10:o>=sc?5:o>=lc?2:1;let c,a,s;return r<0?(s=Math.pow(10,-r)/l,c=Math.round(t*s),a=Math.round(e*s),c/s<t&&++c,a/s>e&&--a,s=-s):(s=Math.pow(10,r)*l,c=Math.round(t/s),a=Math.round(e/s),c*s<t&&++c,a*s>e&&--a),a<c&&.5<=n&&n<2?ln(t,e,n*2):[c,a,s]}function ac(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,l]=i?ln(e,t,n):ln(t,e,n);if(!(o>=r))return[];const c=o-r+1,a=new Array(c);if(i)if(l<0)for(let s=0;s<c;++s)a[s]=(o-s)/-l;else for(let s=0;s<c;++s)a[s]=(o-s)*l;else if(l<0)for(let s=0;s<c;++s)a[s]=(r+s)/-l;else for(let s=0;s<c;++s)a[s]=(r+s)*l;return a}function oi(t,e,n){return e=+e,t=+t,n=+n,ln(t,e,n)[2]}function cc(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?oi(e,t,n):oi(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var uc={value:()=>{}};function Fo(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new tn(n)}function tn(t){this._=t}function hc(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}tn.prototype=Fo.prototype={constructor:tn,on:function(t,e){var n=this._,i=hc(t+"",n),r,o=-1,l=i.length;if(arguments.length<2){for(;++o<l;)if((r=(t=i[o]).type)&&(r=fc(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<l;)if(r=(t=i[o]).type)n[r]=Tr(n[r],t.name,e);else if(e==null)for(r in n)n[r]=Tr(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new tn(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function fc(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function Tr(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=uc,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var si="http://www.w3.org/1999/xhtml";const $r={svg:"http://www.w3.org/2000/svg",xhtml:si,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function En(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),$r.hasOwnProperty(e)?{space:$r[e],local:t}:t}function dc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===si&&e.documentElement.namespaceURI===si?e.createElement(t):e.createElementNS(n,t)}}function mc(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Uo(t){var e=En(t);return(e.local?mc:dc)(e)}function gc(){}function $i(t){return t==null?gc:function(){return this.querySelector(t)}}function yc(t){typeof t!="function"&&(t=$i(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=new Array(l),a,s,u=0;u<l;++u)(a=o[u])&&(s=t.call(a,a.__data__,u,o))&&("__data__"in a&&(s.__data__=a.__data__),c[u]=s);return new ce(i,this._parents)}function vc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function pc(){return[]}function Go(t){return t==null?pc:function(){return this.querySelectorAll(t)}}function xc(t){return function(){return vc(t.apply(this,arguments))}}function bc(t){typeof t=="function"?t=xc(t):t=Go(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var l=e[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&(i.push(t.call(a,a.__data__,s,l)),r.push(a));return new ce(i,r)}function Wo(t){return function(){return this.matches(t)}}function Ko(t){return function(e){return e.matches(t)}}var wc=Array.prototype.find;function kc(t){return function(){return wc.call(this.children,t)}}function Ac(){return this.firstElementChild}function Sc(t){return this.select(t==null?Ac:kc(typeof t=="function"?t:Ko(t)))}var Cc=Array.prototype.filter;function Nc(){return Array.from(this.children)}function Mc(t){return function(){return Cc.call(this.children,t)}}function Tc(t){return this.selectAll(t==null?Nc:Mc(typeof t=="function"?t:Ko(t)))}function $c(t){typeof t!="function"&&(t=Wo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new ce(i,this._parents)}function Zo(t){return new Array(t.length)}function Ec(){return new ce(this._enter||this._groups.map(Zo),this._parents)}function an(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}an.prototype={constructor:an,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function Lc(t){return function(){return t}}function Oc(t,e,n,i,r,o){for(var l=0,c,a=e.length,s=o.length;l<s;++l)(c=e[l])?(c.__data__=o[l],i[l]=c):n[l]=new an(t,o[l]);for(;l<a;++l)(c=e[l])&&(r[l]=c)}function jc(t,e,n,i,r,o,l){var c,a,s=new Map,u=e.length,d=o.length,f=new Array(u),h;for(c=0;c<u;++c)(a=e[c])&&(f[c]=h=l.call(a,a.__data__,c,e)+"",s.has(h)?r[c]=a:s.set(h,a));for(c=0;c<d;++c)h=l.call(t,o[c],c,o)+"",(a=s.get(h))?(i[c]=a,a.__data__=o[c],s.delete(h)):n[c]=new an(t,o[c]);for(c=0;c<u;++c)(a=e[c])&&s.get(f[c])===a&&(r[c]=a)}function Pc(t){return t.__data__}function Dc(t,e){if(!arguments.length)return Array.from(this,Pc);var n=e?jc:Oc,i=this._parents,r=this._groups;typeof t!="function"&&(t=Lc(t));for(var o=r.length,l=new Array(o),c=new Array(o),a=new Array(o),s=0;s<o;++s){var u=i[s],d=r[s],f=d.length,h=qc(t.call(u,u&&u.__data__,s,i)),m=h.length,y=c[s]=new Array(m),w=l[s]=new Array(m),p=a[s]=new Array(f);n(u,d,y,w,p,h,e);for(var S=0,A=0,M,j;S<m;++S)if(M=y[S]){for(S>=A&&(A=S+1);!(j=w[A])&&++A<m;);M._next=j||null}}return l=new ce(l,i),l._enter=c,l._exit=a,l}function qc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Bc(){return new ce(this._exit||this._groups.map(Zo),this._parents)}function Vc(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function Ic(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,l=Math.min(r,o),c=new Array(r),a=0;a<l;++a)for(var s=n[a],u=i[a],d=s.length,f=c[a]=new Array(d),h,m=0;m<d;++m)(h=s[m]||u[m])&&(f[m]=h);for(;a<r;++a)c[a]=n[a];return new ce(c,this._parents)}function Rc(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],l;--r>=0;)(l=i[r])&&(o&&l.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(l,o),o=l);return this}function Hc(t){t||(t=Xc);function e(d,f){return d&&f?t(d.__data__,f.__data__):!d-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var l=n[o],c=l.length,a=r[o]=new Array(c),s,u=0;u<c;++u)(s=l[u])&&(a[u]=s);a.sort(e)}return new ce(r,this._parents).order()}function Xc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Yc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function zc(){return Array.from(this)}function Fc(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var l=i[r];if(l)return l}return null}function Uc(){let t=0;for(const e of this)++t;return t}function Gc(){return!this.node()}function Wc(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,l=r.length,c;o<l;++o)(c=r[o])&&t.call(c,c.__data__,o,r);return this}function Kc(t){return function(){this.removeAttribute(t)}}function Zc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Qc(t,e){return function(){this.setAttribute(t,e)}}function Jc(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function _c(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function t0(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function e0(t,e){var n=En(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?Zc:Kc:typeof e=="function"?n.local?t0:_c:n.local?Jc:Qc)(n,e))}function Qo(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function n0(t){return function(){this.style.removeProperty(t)}}function i0(t,e,n){return function(){this.style.setProperty(t,e,n)}}function r0(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function o0(t,e,n){return arguments.length>1?this.each((e==null?n0:typeof e=="function"?r0:i0)(t,e,n??"")):h1(this.node(),t)}function h1(t,e){return t.style.getPropertyValue(e)||Qo(t).getComputedStyle(t,null).getPropertyValue(e)}function s0(t){return function(){delete this[t]}}function l0(t,e){return function(){this[t]=e}}function a0(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function c0(t,e){return arguments.length>1?this.each((e==null?s0:typeof e=="function"?a0:l0)(t,e)):this.node()[t]}function Jo(t){return t.trim().split(/^|\s+/)}function Ei(t){return t.classList||new _o(t)}function _o(t){this._node=t,this._names=Jo(t.getAttribute("class")||"")}_o.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ts(t,e){for(var n=Ei(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function es(t,e){for(var n=Ei(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function u0(t){return function(){ts(this,t)}}function h0(t){return function(){es(this,t)}}function f0(t,e){return function(){(e.apply(this,arguments)?ts:es)(this,t)}}function d0(t,e){var n=Jo(t+"");if(arguments.length<2){for(var i=Ei(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?f0:e?u0:h0)(n,e))}function m0(){this.textContent=""}function g0(t){return function(){this.textContent=t}}function y0(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function v0(t){return arguments.length?this.each(t==null?m0:(typeof t=="function"?y0:g0)(t)):this.node().textContent}function p0(){this.innerHTML=""}function x0(t){return function(){this.innerHTML=t}}function b0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function w0(t){return arguments.length?this.each(t==null?p0:(typeof t=="function"?b0:x0)(t)):this.node().innerHTML}function k0(){this.nextSibling&&this.parentNode.appendChild(this)}function A0(){return this.each(k0)}function S0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function C0(){return this.each(S0)}function N0(t){var e=typeof t=="function"?t:Uo(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function M0(){return null}function T0(t,e){var n=typeof t=="function"?t:Uo(t),i=e==null?M0:typeof e=="function"?e:$i(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function $0(){var t=this.parentNode;t&&t.removeChild(this)}function E0(){return this.each($0)}function L0(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function O0(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function j0(t){return this.select(t?O0:L0)}function P0(t){return arguments.length?this.property("__data__",t):this.node().__data__}function D0(t){return function(e){t.call(this,e,this.__data__)}}function q0(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function B0(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function V0(t,e,n){return function(){var i=this.__on,r,o=D0(e);if(i){for(var l=0,c=i.length;l<c;++l)if((r=i[l]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function I0(t,e,n){var i=q0(t+""),r,o=i.length,l;if(arguments.length<2){var c=this.node().__on;if(c){for(var a=0,s=c.length,u;a<s;++a)for(r=0,u=c[a];r<o;++r)if((l=i[r]).type===u.type&&l.name===u.name)return u.value}return}for(c=e?V0:B0,r=0;r<o;++r)this.each(c(i[r],e,n));return this}function ns(t,e,n){var i=Qo(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function R0(t,e){return function(){return ns(this,t,e)}}function H0(t,e){return function(){return ns(this,t,e.apply(this,arguments))}}function X0(t,e){return this.each((typeof e=="function"?H0:R0)(t,e))}function*Y0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,l;r<o;++r)(l=i[r])&&(yield l)}var z0=[null];function ce(t,e){this._groups=t,this._parents=e}function P1(){return new ce([[document.documentElement]],z0)}function F0(){return this}ce.prototype=P1.prototype={constructor:ce,select:yc,selectAll:bc,selectChild:Sc,selectChildren:Tc,filter:$c,data:Dc,enter:Ec,exit:Bc,join:Vc,merge:Ic,selection:F0,order:Rc,sort:Hc,call:Yc,nodes:zc,node:Fc,size:Uc,empty:Gc,each:Wc,attr:e0,style:o0,property:c0,classed:d0,text:v0,html:w0,raise:A0,lower:C0,append:N0,insert:T0,remove:E0,clone:j0,datum:P0,on:I0,dispatch:X0,[Symbol.iterator]:Y0};function D1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ln(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function We(){}var M1=.7,cn=1/M1,l1="\\s*([+-]?\\d+)\\s*",T1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",U0=/^#([0-9a-f]{3,8})$/,G0=new RegExp(`^rgb\\(${l1},${l1},${l1}\\)$`),W0=new RegExp(`^rgb\\(${me},${me},${me}\\)$`),K0=new RegExp(`^rgba\\(${l1},${l1},${l1},${T1}\\)$`),Z0=new RegExp(`^rgba\\(${me},${me},${me},${T1}\\)$`),Q0=new RegExp(`^hsl\\(${T1},${me},${me}\\)$`),J0=new RegExp(`^hsla\\(${T1},${me},${me},${T1}\\)$`),Er={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};D1(We,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Lr,formatHex:Lr,formatHex8:_0,formatHsl:tu,formatRgb:Or,toString:Or});function Lr(){return this.rgb().formatHex()}function _0(){return this.rgb().formatHex8()}function tu(){return rs(this).formatHsl()}function Or(){return this.rgb().formatRgb()}function ze(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=U0.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?jr(e):n===3?new Zt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?z1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?z1(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=G0.exec(t))?new Zt(e[1],e[2],e[3],1):(e=W0.exec(t))?new Zt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=K0.exec(t))?z1(e[1],e[2],e[3],e[4]):(e=Z0.exec(t))?z1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Q0.exec(t))?qr(e[1],e[2]/100,e[3]/100,1):(e=J0.exec(t))?qr(e[1],e[2]/100,e[3]/100,e[4]):Er.hasOwnProperty(t)?jr(Er[t]):t==="transparent"?new Zt(NaN,NaN,NaN,0):null}function jr(t){return new Zt(t>>16&255,t>>8&255,t&255,1)}function z1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Zt(t,e,n,i)}function is(t){return t instanceof We||(t=ze(t)),t?(t=t.rgb(),new Zt(t.r,t.g,t.b,t.opacity)):new Zt}function li(t,e,n,i){return arguments.length===1?is(t):new Zt(t,e,n,i??1)}function Zt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}D1(Zt,li,Ln(We,{brighter(t){return t=t==null?cn:Math.pow(cn,t),new Zt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?M1:Math.pow(M1,t),new Zt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Zt(Ye(this.r),Ye(this.g),Ye(this.b),un(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pr,formatHex:Pr,formatHex8:eu,formatRgb:Dr,toString:Dr}));function Pr(){return`#${Ie(this.r)}${Ie(this.g)}${Ie(this.b)}`}function eu(){return`#${Ie(this.r)}${Ie(this.g)}${Ie(this.b)}${Ie((isNaN(this.opacity)?1:this.opacity)*255)}`}function Dr(){const t=un(this.opacity);return`${t===1?"rgb(":"rgba("}${Ye(this.r)}, ${Ye(this.g)}, ${Ye(this.b)}${t===1?")":`, ${t})`}`}function un(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ye(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ie(t){return t=Ye(t),(t<16?"0":"")+t.toString(16)}function qr(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ae(t,e,n,i)}function rs(t){if(t instanceof ae)return new ae(t.h,t.s,t.l,t.opacity);if(t instanceof We||(t=ze(t)),!t)return new ae;if(t instanceof ae)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),l=NaN,c=o-r,a=(o+r)/2;return c?(e===o?l=(n-i)/c+(n<i)*6:n===o?l=(i-e)/c+2:l=(e-n)/c+4,c/=a<.5?o+r:2-o-r,l*=60):c=a>0&&a<1?0:l,new ae(l,c,a,t.opacity)}function nu(t,e,n,i){return arguments.length===1?rs(t):new ae(t,e,n,i??1)}function ae(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}D1(ae,nu,Ln(We,{brighter(t){return t=t==null?cn:Math.pow(cn,t),new ae(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?M1:Math.pow(M1,t),new ae(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Zt(Yn(t>=240?t-240:t+120,r,i),Yn(t,r,i),Yn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ae(Br(this.h),F1(this.s),F1(this.l),un(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=un(this.opacity);return`${t===1?"hsl(":"hsla("}${Br(this.h)}, ${F1(this.s)*100}%, ${F1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Br(t){return t=(t||0)%360,t<0?t+360:t}function F1(t){return Math.max(0,Math.min(1,t||0))}function Yn(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const iu=Math.PI/180,ru=180/Math.PI,hn=18,os=.96422,ss=1,ls=.82521,as=4/29,a1=6/29,cs=3*a1*a1,ou=a1*a1*a1;function us(t){if(t instanceof ge)return new ge(t.l,t.a,t.b,t.opacity);if(t instanceof Ae)return fs(t);t instanceof Zt||(t=is(t));var e=Gn(t.r),n=Gn(t.g),i=Gn(t.b),r=zn((.2225045*e+.7168786*n+.0606169*i)/ss),o,l;return e===n&&n===i?o=l=r:(o=zn((.4360747*e+.3850649*n+.1430804*i)/os),l=zn((.0139322*e+.0971045*n+.7141733*i)/ls)),new ge(116*r-16,500*(o-r),200*(r-l),t.opacity)}function ai(t,e,n,i){return arguments.length===1?us(t):new ge(t,e,n,i??1)}function ge(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}D1(ge,ai,Ln(We,{brighter(t){return new ge(this.l+hn*(t??1),this.a,this.b,this.opacity)},darker(t){return new ge(this.l-hn*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=os*Fn(e),t=ss*Fn(t),n=ls*Fn(n),new Zt(Un(3.1338561*e-1.6168667*t-.4906146*n),Un(-.9787684*e+1.9161415*t+.033454*n),Un(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function zn(t){return t>ou?Math.pow(t,1/3):t/cs+as}function Fn(t){return t>a1?t*t*t:cs*(t-as)}function Un(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Gn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function su(t){if(t instanceof Ae)return new Ae(t.h,t.c,t.l,t.opacity);if(t instanceof ge||(t=us(t)),t.a===0&&t.b===0)return new Ae(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ru;return new Ae(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function hs(t,e,n,i){return arguments.length===1?su(t):new Ae(t,e,n,i??1)}function Ae(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function fs(t){if(isNaN(t.h))return new ge(t.l,0,0,t.opacity);var e=t.h*iu;return new ge(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}D1(Ae,hs,Ln(We,{brighter(t){return new Ae(this.h,this.c,this.l+hn*(t??1),this.opacity)},darker(t){return new Ae(this.h,this.c,this.l-hn*(t??1),this.opacity)},rgb(){return fs(this).rgb()}}));const Li=t=>()=>t;function lu(t,e){return function(n){return t+n*e}}function au(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function cu(t){return(t=+t)==1?n1:function(e,n){return n-e?au(e,n,t):Li(isNaN(e)?n:e)}}function n1(t,e){var n=e-t;return n?lu(t,n):Li(isNaN(t)?e:t)}const fn=(function t(e){var n=cu(e);function i(r,o){var l=n((r=li(r)).r,(o=li(o)).r),c=n(r.g,o.g),a=n(r.b,o.b),s=n1(r.opacity,o.opacity);return function(u){return r.r=l(u),r.g=c(u),r.b=a(u),r.opacity=s(u),r+""}}return i.gamma=t,i})(1);function uu(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,i=e.slice(),r;return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function hu(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function fu(t,e){var n=e?e.length:0,i=t?Math.min(n,t.length):0,r=new Array(i),o=new Array(n),l;for(l=0;l<i;++l)r[l]=Oi(t[l],e[l]);for(;l<n;++l)o[l]=e[l];return function(c){for(l=0;l<i;++l)o[l]=r[l](c);return o}}function du(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function le(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function mu(t,e){var n={},i={},r;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(r in e)r in t?n[r]=Oi(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var ci=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Wn=new RegExp(ci.source,"g");function gu(t){return function(){return t}}function yu(t){return function(e){return t(e)+""}}function ds(t,e){var n=ci.lastIndex=Wn.lastIndex=0,i,r,o,l=-1,c=[],a=[];for(t=t+"",e=e+"";(i=ci.exec(t))&&(r=Wn.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),c[l]?c[l]+=o:c[++l]=o),(i=i[0])===(r=r[0])?c[l]?c[l]+=r:c[++l]=r:(c[++l]=null,a.push({i:l,x:le(i,r)})),n=Wn.lastIndex;return n<e.length&&(o=e.slice(n),c[l]?c[l]+=o:c[++l]=o),c.length<2?a[0]?yu(a[0].x):gu(e):(e=a.length,function(s){for(var u=0,d;u<e;++u)c[(d=a[u]).i]=d.x(s);return c.join("")})}function Oi(t,e){var n=typeof e,i;return e==null||n==="boolean"?Li(e):(n==="number"?le:n==="string"?(i=ze(e))?(e=i,fn):ds:e instanceof ze?fn:e instanceof Date?du:hu(e)?uu:Array.isArray(e)?fu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?mu:le)(t,e)}function vu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Vr=180/Math.PI,ui={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ms(t,e,n,i,r,o){var l,c,a;return(l=Math.sqrt(t*t+e*e))&&(t/=l,e/=l),(a=t*n+e*i)&&(n-=t*a,i-=e*a),(c=Math.sqrt(n*n+i*i))&&(n/=c,i/=c,a/=c),t*i<e*n&&(t=-t,e=-e,a=-a,l=-l),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Vr,skewX:Math.atan(a)*Vr,scaleX:l,scaleY:c}}var U1;function pu(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?ui:ms(e.a,e.b,e.c,e.d,e.e,e.f)}function xu(t){return t==null||(U1||(U1=document.createElementNS("http://www.w3.org/2000/svg","g")),U1.setAttribute("transform",t),!(t=U1.transform.baseVal.consolidate()))?ui:(t=t.matrix,ms(t.a,t.b,t.c,t.d,t.e,t.f))}function gs(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push("translate(",null,e,null,n);m.push({i:y-4,x:le(s,d)},{i:y-2,x:le(u,f)})}else(d||f)&&h.push("translate("+d+e+f+n)}function l(s,u,d,f){s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),f.push({i:d.push(r(d)+"rotate(",null,i)-2,x:le(s,u)})):u&&d.push(r(d)+"rotate("+u+i)}function c(s,u,d,f){s!==u?f.push({i:d.push(r(d)+"skewX(",null,i)-2,x:le(s,u)}):u&&d.push(r(d)+"skewX("+u+i)}function a(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push(r(h)+"scale(",null,",",null,")");m.push({i:y-4,x:le(s,d)},{i:y-2,x:le(u,f)})}else(d!==1||f!==1)&&h.push(r(h)+"scale("+d+","+f+")")}return function(s,u){var d=[],f=[];return s=t(s),u=t(u),o(s.translateX,s.translateY,u.translateX,u.translateY,d,f),l(s.rotate,u.rotate,d,f),c(s.skewX,u.skewX,d,f),a(s.scaleX,s.scaleY,u.scaleX,u.scaleY,d,f),s=u=null,function(h){for(var m=-1,y=f.length,w;++m<y;)d[(w=f[m]).i]=w.x(h);return d.join("")}}}var bu=gs(pu,"px, ","px)","deg)"),wu=gs(xu,", ",")",")");function hi(t,e){var n=n1((t=ai(t)).l,(e=ai(e)).l),i=n1(t.a,e.a),r=n1(t.b,e.b),o=n1(t.opacity,e.opacity);return function(l){return t.l=n(l),t.a=i(l),t.b=r(l),t.opacity=o(l),t+""}}var f1=0,w1=0,v1=0,ys=1e3,dn,k1,mn=0,Fe=0,On=0,$1=typeof performance=="object"&&performance.now?performance:Date,vs=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ji(){return Fe||(vs(ku),Fe=$1.now()+On)}function ku(){Fe=0}function gn(){this._call=this._time=this._next=null}gn.prototype=ps.prototype={constructor:gn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?ji():+n)+(e==null?0:+e),!this._next&&k1!==this&&(k1?k1._next=this:dn=this,k1=this),this._call=t,this._time=n,fi()},stop:function(){this._call&&(this._call=null,this._time=1/0,fi())}};function ps(t,e,n){var i=new gn;return i.restart(t,e,n),i}function Au(){ji(),++f1;for(var t=dn,e;t;)(e=Fe-t._time)>=0&&t._call.call(void 0,e),t=t._next;--f1}function Ir(){Fe=(mn=$1.now())+On,f1=w1=0;try{Au()}finally{f1=0,Cu(),Fe=0}}function Su(){var t=$1.now(),e=t-mn;e>ys&&(On-=e,mn=t)}function Cu(){for(var t,e=dn,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:dn=n);k1=t,fi(i)}function fi(t){if(!f1){w1&&(w1=clearTimeout(w1));var e=t-Fe;e>24?(t<1/0&&(w1=setTimeout(Ir,t-$1.now()-On)),v1&&(v1=clearInterval(v1))):(v1||(mn=$1.now(),v1=setInterval(Su,ys)),f1=1,vs(Ir))}}function Rr(t,e,n){var i=new gn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var Nu=Fo("start","end","cancel","interrupt"),Mu=[],xs=0,Hr=1,di=2,en=3,Xr=4,mi=5,nn=6;function jn(t,e,n,i,r,o){var l=t.__transition;if(!l)t.__transition={};else if(n in l)return;Tu(t,n,{name:e,index:i,group:r,on:Nu,tween:Mu,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:xs})}function Pi(t,e){var n=ue(t,e);if(n.state>xs)throw new Error("too late; already scheduled");return n}function ye(t,e){var n=ue(t,e);if(n.state>en)throw new Error("too late; already running");return n}function ue(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Tu(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=ps(o,0,n.time);function o(s){n.state=Hr,n.timer.restart(l,n.delay,n.time),n.delay<=s&&l(s-n.delay)}function l(s){var u,d,f,h;if(n.state!==Hr)return a();for(u in i)if(h=i[u],h.name===n.name){if(h.state===en)return Rr(l);h.state===Xr?(h.state=nn,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=nn,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(Rr(function(){n.state===en&&(n.state=Xr,n.timer.restart(c,n.delay,n.time),c(s))}),n.state=di,n.on.call("start",t,t.__data__,n.index,n.group),n.state===di){for(n.state=en,r=new Array(f=n.tween.length),u=0,d=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++d]=h);r.length=d+1}}function c(s){for(var u=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(a),n.state=mi,1),d=-1,f=r.length;++d<f;)r[d].call(t,u);n.state===mi&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=nn,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function $u(t,e){var n=t.__transition,i,r,o=!0,l;if(n){e=e==null?null:e+"";for(l in n){if((i=n[l]).name!==e){o=!1;continue}r=i.state>di&&i.state<mi,i.state=nn,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[l]}o&&delete t.__transition}}function Eu(t){return this.each(function(){$u(this,t)})}function Lu(t,e){var n,i;return function(){var r=ye(this,t),o=r.tween;if(o!==n){i=n=o;for(var l=0,c=i.length;l<c;++l)if(i[l].name===e){i=i.slice(),i.splice(l,1);break}}r.tween=i}}function Ou(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=ye(this,t),l=o.tween;if(l!==i){r=(i=l).slice();for(var c={name:e,value:n},a=0,s=r.length;a<s;++a)if(r[a].name===e){r[a]=c;break}a===s&&r.push(c)}o.tween=r}}function ju(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=ue(this.node(),n).tween,r=0,o=i.length,l;r<o;++r)if((l=i[r]).name===t)return l.value;return null}return this.each((e==null?Lu:Ou)(n,t,e))}function Di(t,e,n){var i=t._id;return t.each(function(){var r=ye(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return ue(r,i).value[e]}}function bs(t,e){var n;return(typeof e=="number"?le:e instanceof ze?fn:(n=ze(e))?(e=n,fn):ds)(t,e)}function Pu(t){return function(){this.removeAttribute(t)}}function Du(t){return function(){this.removeAttributeNS(t.space,t.local)}}function qu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttribute(t);return l===r?null:l===i?o:o=e(i=l,n)}}function Bu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttributeNS(t.space,t.local);return l===r?null:l===i?o:o=e(i=l,n)}}function Vu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttribute(t):(l=this.getAttribute(t),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function Iu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttributeNS(t.space,t.local):(l=this.getAttributeNS(t.space,t.local),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function Ru(t,e){var n=En(t),i=n==="transform"?wu:bs;return this.attrTween(t,typeof e=="function"?(n.local?Iu:Vu)(n,i,Di(this,"attr."+t,e)):e==null?(n.local?Du:Pu)(n):(n.local?Bu:qu)(n,i,e))}function Hu(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Xu(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Yu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Xu(t,o)),n}return r._value=e,r}function zu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Hu(t,o)),n}return r._value=e,r}function Fu(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=En(t);return this.tween(n,(i.local?Yu:zu)(i,e))}function Uu(t,e){return function(){Pi(this,t).delay=+e.apply(this,arguments)}}function Gu(t,e){return e=+e,function(){Pi(this,t).delay=e}}function Wu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Uu:Gu)(e,t)):ue(this.node(),e).delay}function Ku(t,e){return function(){ye(this,t).duration=+e.apply(this,arguments)}}function Zu(t,e){return e=+e,function(){ye(this,t).duration=e}}function Qu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Ku:Zu)(e,t)):ue(this.node(),e).duration}function Ju(t,e){if(typeof e!="function")throw new Error;return function(){ye(this,t).ease=e}}function _u(t){var e=this._id;return arguments.length?this.each(Ju(e,t)):ue(this.node(),e).ease}function t2(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;ye(this,t).ease=n}}function e2(t){if(typeof t!="function")throw new Error;return this.each(t2(this._id,t))}function n2(t){typeof t!="function"&&(t=Wo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new Ce(i,this._parents,this._name,this._id)}function i2(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),l=new Array(i),c=0;c<o;++c)for(var a=e[c],s=n[c],u=a.length,d=l[c]=new Array(u),f,h=0;h<u;++h)(f=a[h]||s[h])&&(d[h]=f);for(;c<i;++c)l[c]=e[c];return new Ce(l,this._parents,this._name,this._id)}function r2(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function o2(t,e,n){var i,r,o=r2(e)?Pi:ye;return function(){var l=o(this,t),c=l.on;c!==i&&(r=(i=c).copy()).on(e,n),l.on=r}}function s2(t,e){var n=this._id;return arguments.length<2?ue(this.node(),n).on.on(t):this.each(o2(n,t,e))}function l2(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function a2(){return this.on("end.remove",l2(this._id))}function c2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=$i(t));for(var i=this._groups,r=i.length,o=new Array(r),l=0;l<r;++l)for(var c=i[l],a=c.length,s=o[l]=new Array(a),u,d,f=0;f<a;++f)(u=c[f])&&(d=t.call(u,u.__data__,f,c))&&("__data__"in u&&(d.__data__=u.__data__),s[f]=d,jn(s[f],e,n,f,s,ue(u,n)));return new Ce(o,this._parents,e,n)}function u2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Go(t));for(var i=this._groups,r=i.length,o=[],l=[],c=0;c<r;++c)for(var a=i[c],s=a.length,u,d=0;d<s;++d)if(u=a[d]){for(var f=t.call(u,u.__data__,d,a),h,m=ue(u,n),y=0,w=f.length;y<w;++y)(h=f[y])&&jn(h,e,n,y,f,m);o.push(f),l.push(u)}return new Ce(o,l,e,n)}var h2=P1.prototype.constructor;function f2(){return new h2(this._groups,this._parents)}function d2(t,e){var n,i,r;return function(){var o=h1(this,t),l=(this.style.removeProperty(t),h1(this,t));return o===l?null:o===n&&l===i?r:r=e(n=o,i=l)}}function ws(t){return function(){this.style.removeProperty(t)}}function m2(t,e,n){var i,r=n+"",o;return function(){var l=h1(this,t);return l===r?null:l===i?o:o=e(i=l,n)}}function g2(t,e,n){var i,r,o;return function(){var l=h1(this,t),c=n(this),a=c+"";return c==null&&(a=c=(this.style.removeProperty(t),h1(this,t))),l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c))}}function y2(t,e){var n,i,r,o="style."+e,l="end."+o,c;return function(){var a=ye(this,t),s=a.on,u=a.value[o]==null?c||(c=ws(e)):void 0;(s!==n||r!==u)&&(i=(n=s).copy()).on(l,r=u),a.on=i}}function v2(t,e,n){var i=(t+="")=="transform"?bu:bs;return e==null?this.styleTween(t,d2(t,i)).on("end.style."+t,ws(t)):typeof e=="function"?this.styleTween(t,g2(t,i,Di(this,"style."+t,e))).each(y2(this._id,t)):this.styleTween(t,m2(t,i,e),n).on("end.style."+t,null)}function p2(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function x2(t,e,n){var i,r;function o(){var l=e.apply(this,arguments);return l!==r&&(i=(r=l)&&p2(t,l,n)),i}return o._value=e,o}function b2(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;return this.tween(i,x2(t,e,n??""))}function w2(t){return function(){this.textContent=t}}function k2(t){return function(){var e=t(this);this.textContent=e??""}}function A2(t){return this.tween("text",typeof t=="function"?k2(Di(this,"text",t)):w2(t==null?"":t+""))}function S2(t){return function(e){this.textContent=t.call(this,e)}}function C2(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&S2(r)),e}return i._value=t,i}function N2(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,C2(t))}function M2(){for(var t=this._name,e=this._id,n=ks(),i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)if(a=l[s]){var u=ue(a,e);jn(a,t,n,s,l,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ce(i,this._parents,t,n)}function T2(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,l){var c={value:l},a={value:function(){--r===0&&o()}};n.each(function(){var s=ye(this,i),u=s.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(c),e._.interrupt.push(c),e._.end.push(a)),s.on=e}),r===0&&o()})}var $2=0;function Ce(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function ks(){return++$2}var be=P1.prototype;Ce.prototype={constructor:Ce,select:c2,selectAll:u2,selectChild:be.selectChild,selectChildren:be.selectChildren,filter:n2,merge:i2,selection:f2,transition:M2,call:be.call,nodes:be.nodes,node:be.node,size:be.size,empty:be.empty,each:be.each,on:s2,attr:Ru,attrTween:Fu,style:v2,styleTween:b2,text:A2,textTween:N2,remove:a2,tween:ju,delay:Wu,duration:Qu,ease:_u,easeVarying:e2,end:T2,[Symbol.iterator]:be[Symbol.iterator]};function E2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var L2={time:null,delay:0,duration:250,ease:E2};function O2(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function j2(t){var e,n;t instanceof Ce?(e=t._id,t=t._name):(e=ks(),(n=L2).time=ji(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&jn(a,t,e,s,l,n||O2(a,e));return new Ce(i,this._parents,t,e)}P1.prototype.interrupt=Eu;P1.prototype.transition=j2;const gi=Math.PI,yi=2*gi,qe=1e-6,P2=yi-qe;function As(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function D2(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return As;const n=10**e;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*n)/n+i[r]}}class q2{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?As:D2(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,i,r){this._append`Q${+e},${+n},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,n,i,r,o,l){this._append`C${+e},${+n},${+i},${+r},${this._x1=+o},${this._y1=+l}`}arcTo(e,n,i,r,o){if(e=+e,n=+n,i=+i,r=+r,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,c=this._y1,a=i-e,s=r-n,u=l-e,d=c-n,f=u*u+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>qe)if(!(Math.abs(d*a-s*u)>qe)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=i-l,m=r-c,y=a*a+s*s,w=h*h+m*m,p=Math.sqrt(y),S=Math.sqrt(f),A=o*Math.tan((gi-Math.acos((y+f-w)/(2*p*S)))/2),M=A/S,j=A/p;Math.abs(M-1)>qe&&this._append`L${e+M*u},${n+M*d}`,this._append`A${o},${o},0,0,${+(d*h>u*m)},${this._x1=e+j*a},${this._y1=n+j*s}`}}arc(e,n,i,r,o,l){if(e=+e,n=+n,i=+i,l=!!l,i<0)throw new Error(`negative radius: ${i}`);let c=i*Math.cos(r),a=i*Math.sin(r),s=e+c,u=n+a,d=1^l,f=l?r-o:o-r;this._x1===null?this._append`M${s},${u}`:(Math.abs(this._x1-s)>qe||Math.abs(this._y1-u)>qe)&&this._append`L${s},${u}`,i&&(f<0&&(f=f%yi+yi),f>P2?this._append`A${i},${i},0,1,${d},${e-c},${n-a}A${i},${i},0,1,${d},${this._x1=s},${this._y1=u}`:f>qe&&this._append`A${i},${i},0,${+(f>=gi)},${d},${this._x1=e+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(e,n,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function B2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function yn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function d1(t){return t=yn(Math.abs(t)),t?t[1]:NaN}function V2(t,e){return function(n,i){for(var r=n.length,o=[],l=0,c=t[0],a=0;r>0&&c>0&&(a+c+1>i&&(c=Math.max(1,i-a)),o.push(n.substring(r-=c,r+c)),!((a+=c+1)>i));)c=t[l=(l+1)%t.length];return o.reverse().join(e)}}function I2(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var R2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vn(t){if(!(e=R2.exec(t)))throw new Error("invalid format: "+t);var e;return new qi({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}vn.prototype=qi.prototype;function qi(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}qi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function H2(t){t:for(var e=t.length,n=1,i=-1,r;n<e;++n)switch(t[n]){case".":i=r=n;break;case"0":i===0&&(i=n),r=n;break;default:if(!+t[n])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(r+1):t}var pn;function X2(t,e){var n=yn(t,e);if(!n)return pn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(pn=Math.max(-8,Math.min(8,Math.floor(r/3)))*3)+1,l=i.length;return o===l?i:o>l?i+new Array(o-l+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+yn(t,Math.max(0,e+o-1))[0]}function Yr(t,e){var n=yn(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const zr={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:B2,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Yr(t*100,e),r:Yr,s:X2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Fr(t){return t}var Ur=Array.prototype.map,Gr=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Y2(t){var e=t.grouping===void 0||t.thousands===void 0?Fr:V2(Ur.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",r=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?Fr:I2(Ur.call(t.numerals,String)),l=t.percent===void 0?"%":t.percent+"",c=t.minus===void 0?"\u2212":t.minus+"",a=t.nan===void 0?"NaN":t.nan+"";function s(d,f){d=vn(d);var h=d.fill,m=d.align,y=d.sign,w=d.symbol,p=d.zero,S=d.width,A=d.comma,M=d.precision,j=d.trim,E=d.type;E==="n"?(A=!0,E="g"):zr[E]||(M===void 0&&(M=12),j=!0,E="g"),(p||h==="0"&&m==="=")&&(p=!0,h="0",m="=");var $=(f&&f.prefix!==void 0?f.prefix:"")+(w==="$"?n:w==="#"&&/[boxX]/.test(E)?"0"+E.toLowerCase():""),g=(w==="$"?i:/[%p]/.test(E)?l:"")+(f&&f.suffix!==void 0?f.suffix:""),x=zr[E],b=/[defgprs%]/.test(E);M=M===void 0?6:/[gprs]/.test(E)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M));function C(k){var R=$,V=g,K,U,F;if(E==="c")V=x(k)+V,k="";else{k=+k;var D=k<0||1/k<0;if(k=isNaN(k)?a:x(Math.abs(k),M),j&&(k=H2(k)),D&&+k==0&&y!=="+"&&(D=!1),R=(D?y==="("?y:c:y==="-"||y==="("?"":y)+R,V=(E==="s"&&!isNaN(k)&&pn!==void 0?Gr[8+pn/3]:"")+V+(D&&y==="("?")":""),b){for(K=-1,U=k.length;++K<U;)if(F=k.charCodeAt(K),48>F||F>57){V=(F===46?r+k.slice(K+1):k.slice(K))+V,k=k.slice(0,K);break}}}A&&!p&&(k=e(k,1/0));var H=R.length+k.length+V.length,z=H<S?new Array(S-H+1).join(h):"";switch(A&&p&&(k=e(z+k,z.length?S-V.length:1/0),z=""),m){case"<":k=R+k+V+z;break;case"=":k=R+z+k+V;break;case"^":k=z.slice(0,H=z.length>>1)+R+k+V+z.slice(H);break;default:k=z+R+k+V;break}return o(k)}return C.toString=function(){return d+""},C}function u(d,f){var h=Math.max(-8,Math.min(8,Math.floor(d1(f)/3)))*3,m=Math.pow(10,-h),y=s((d=vn(d),d.type="f",d),{suffix:Gr[8+h/3]});return function(w){return y(m*w)}}return{format:s,formatPrefix:u}}var G1,Ss,Cs;z2({thousands:",",grouping:[3],currency:["$",""]});function z2(t){return G1=Y2(t),Ss=G1.format,Cs=G1.formatPrefix,G1}function F2(t){return Math.max(0,-d1(Math.abs(t)))}function U2(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(d1(e)/3)))*3-d1(Math.abs(t)))}function G2(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,d1(e)-d1(t))+1}function W2(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function K2(t){return function(){return t}}function Z2(t){return+t}var Wr=[0,1];function i1(t){return t}function vi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:K2(isNaN(e)?NaN:.5)}function Q2(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function J2(t,e,n){var i=t[0],r=t[1],o=e[0],l=e[1];return r<i?(i=vi(r,i),o=n(l,o)):(i=vi(i,r),o=n(o,l)),function(c){return o(i(c))}}function _2(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),l=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++l<i;)r[l]=vi(t[l],t[l+1]),o[l]=n(e[l],e[l+1]);return function(c){var a=rc(t,c,1,i)-1;return o[a](r[a](c))}}function t9(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function e9(){var t=Wr,e=Wr,n=Oi,i,r,o,l=i1,c,a,s;function u(){var f=Math.min(t.length,e.length);return l!==i1&&(l=Q2(t[0],t[f-1])),c=f>2?_2:J2,a=s=null,d}function d(f){return f==null||isNaN(f=+f)?o:(a||(a=c(t.map(i),e,n)))(i(l(f)))}return d.invert=function(f){return l(r((s||(s=c(e,t.map(i),le)))(f)))},d.domain=function(f){return arguments.length?(t=Array.from(f,Z2),u()):t.slice()},d.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},d.rangeRound=function(f){return e=Array.from(f),n=vu,u()},d.clamp=function(f){return arguments.length?(l=f?!0:i1,u()):l!==i1},d.interpolate=function(f){return arguments.length?(n=f,u()):n},d.unknown=function(f){return arguments.length?(o=f,d):o},function(f,h){return i=f,r=h,u()}}function n9(){return e9()(i1,i1)}function i9(t,e,n,i){var r=cc(t,e,n),o;switch(i=vn(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=U2(r,l))&&(i.precision=o),Cs(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=G2(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=F2(r))&&(i.precision=o-(i.type==="%")*2);break}}return Ss(i)}function r9(t){var e=t.domain;return t.ticks=function(n){var i=e();return ac(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return i9(r[0],r[r.length-1],n??10,i)},t.nice=function(n){n==null&&(n=10);var i=e(),r=0,o=i.length-1,l=i[r],c=i[o],a,s,u=10;for(c<l&&(s=l,l=c,c=s,s=r,r=o,o=s);u-- >0;){if(s=oi(l,c,n),s===a)return i[r]=l,i[o]=c,e(i);if(s>0)l=Math.floor(l/s)*s,c=Math.ceil(c/s)*s;else if(s<0)l=Math.ceil(l*s)/s,c=Math.floor(c*s)/s;else break;a=s}return t},t}function Ns(){var t=n9();return t.copy=function(){return t9(t,Ns())},W2.apply(t,arguments),r9(t)}function _e(t){return function(){return t}}const Kr=1e-12;function o9(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);e=i}return t},()=>new q2(e)}function s9(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Ms(t){this._context=t}Ms.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Bi(t){return new Ms(t)}function l9(t){return t[0]}function a9(t){return t[1]}function c9(t,e){var n=_e(!0),i=null,r=Bi,o=null,l=o9(c);t=typeof t=="function"?t:t===void 0?l9:_e(t),e=typeof e=="function"?e:e===void 0?a9:_e(e);function c(a){var s,u=(a=s9(a)).length,d,f=!1,h;for(i==null&&(o=r(h=l())),s=0;s<=u;++s)!(s<u&&n(d=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(d,s,a),+e(d,s,a));if(h)return o=null,h+""||null}return c.x=function(a){return arguments.length?(t=typeof a=="function"?a:_e(+a),c):t},c.y=function(a){return arguments.length?(e=typeof a=="function"?a:_e(+a),c):e},c.defined=function(a){return arguments.length?(n=typeof a=="function"?a:_e(!!a),c):n},c.curve=function(a){return arguments.length?(r=a,i!=null&&(o=r(i)),c):r},c.context=function(a){return arguments.length?(a==null?i=o=null:o=r(i=a),c):i},c}function Zr(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Vi(t,e){this._context=t,this._k=(1-e)/6}Vi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Zr(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Zr(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ts=(function t(e){function n(i){return new Vi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function u9(t,e,n){var i=t._x1,r=t._y1,o=t._x2,l=t._y2;if(t._l01_a>Kr){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,a=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/a,r=(r*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/a}if(t._l23_a>Kr){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*s+t._x1*t._l23_2a-e*t._l12_2a)/u,l=(l*s+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,r,o,l,t._x2,t._y2)}function $s(t,e){this._context=t,this._alpha=e}$s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:u9(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Es=(function t(e){function n(i){return e?new $s(i,e):new Vi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Ls(t){this._context=t}Ls.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=Qr(t),r=Qr(e),o=0,l=1;l<n;++o,++l)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[l],e[l]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function Qr(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),l=new Array(n);for(r[0]=0,o[0]=2,l[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,l[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,l[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,l[e]-=i*l[e-1];for(r[n-1]=l[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(l[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function xn(t){return new Ls(t)}function A1(t,e,n){this.k=t,this.x=e,this.y=n}A1.prototype={constructor:A1,scale:function(t){return t===1?this:new A1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new A1(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};A1.prototype;const h9={censor:Oe,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:yt,squish_infinite:ri,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function e1(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function Os({values:t={},na_value:e=null,title:n,...i}={}){let r;return Array.isArray(t)?r=function(o){return o.map(l=>t[+l]??e)}:r=function(o){return o.map(l=>t[l]??e)},Object.assign(r,{title:n},i)}function t1({limits:t,oob:e=Oe,range:n=[0,1],na_value:i=null,null_value:r=null,title:o,...l}={}){return Object.assign(function(a){let s=this?.limits?.min??this?.limits?.[0]??a.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??a.extent?.[1],d=u-s,f=n?.min??n[0],h=n?.max??n[1],m=h-f;return a.map(y=>(y=this.oob(y,{min:s,max:u}),y===null?r:isNaN(y)?i:f+(y-s)/d*m))},{title:o,limits:t,oob:e},l)}function Jr({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>+i)},{asis:!0,title:t},e)}function pi({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>String(i??""))},{asis:!0,title:t},e)}function bn({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,alpha:r=1,direction:o=1,limits:l,oob:c=Oe,na_value:a="#7f7f7f",null_value:s=null,title:u,...d}={}){return Object.assign(function(h){let m=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],w=y-m,p=t?.min??t[0],S=t?.max??t[1],A=S-p;return h.map(M=>(M=this.oob(M,{min:m,max:y}),M===null?s:isNaN(M)?a:hs(i+p+A*(M-m)/w*o,e,n,r).toString()))},{title:u,limits:l,oob:c},d)}function f9({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return Os({values:t,na_value:e,title:n,...i})}function wn({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=Oe,na_value:r="#7f7f7f",null_value:o=null,title:l,...c}={}){return Object.assign(function(s){let u=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],f=hi(t,e);return s.map(h=>(h=this.oob(h,{min:u,max:d}),h===null?o:isNaN(h)?r:u===d?f(.5):h>d?e:h<u?t:f((h-u)/(d-u))))},{title:l,limits:n,oob:i},c)}function d9({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=Oe,na_value:l="#7f7f7f",null_value:c=null,title:a,...s}={}){return Object.assign(function(d){let f=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],m=i??(f+h)/2,y=hi(t,e),w=hi(e,n);return d.map(p=>(p=this.oob(p,{min:f,max:h}),p===null?c:isNaN(p)?l:p<m?y((p-f)/(m-f)):w((p-m)/(h-m))))},{title:a,limits:r,oob:o},s)}function m9({colors:t=[],values:e,anchors:n,limits:i,oob:r=Oe,na_value:o="#7f7f7f",null_value:l=null,title:c,...a}={}){return Object.assign(function(u){let d=this?.limits?.min??this?.limits?.[0]??u.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??u.extent?.[1],h=e??n?.map?.(y=>d+(f-d)*y);h??=Array(t.length).fill(0).map((y,w)=>d+(f-d)*w/(t.length-1)),t=t.filter((y,w)=>!isNaN(h[w])),h=h.filter(y=>!isNaN(y));let m=Ns(h,t);return u.map(y=>(y=this.oob(y,{min:d,max:f}),y===null?l:isNaN(y)?o:m(y)))},{title:c,limits:i,oob:r},a)}function _r({alpha:t,limits:e,oob:n=Oe,title:i,...r}={}){let o=bn({alpha:t}),l=wn();return Object.assign(function(a){return a.level!=null?o.call(this,a):l.call(this,a)},{title:i,limits:e,oob:n},r)}function g9({discrete:t=bn(),continuous:e=wn(),limits:n,oob:i=Oe,title:r,...o}={}){return Object.assign(function(c){return c.level!=null?t.call(this,c):e.call(this,c)},{title:r,limits:n,oob:i},o)}function to({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}function eo({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}const Kn={identity:({title:t,...e}={})=>pi({legend:!1,title:t,...e}),discrete:bn,hue:bn,manual:f9,continuous:wn,gradient:wn,gradient2:d9,gradientn:m9,dynamic:g9,auto:_r,custom:e1,default:_r},js={color:Kn,stroke:Kn,fill:Kn,alpha:{continuous:t1,custom:e1,default:({title:t,...e}={})=>t1({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>Jr({legend:!1,title:t,...e}),continuous:t1,custom:e1,default:({title:t,...e}={})=>t1({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>Jr({legend:!1,title:t,...e}),continuous:t1,manual:Os,custom:e1,default:({title:t,...e}={})=>t1({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>pi({legend:!1,title:t,...e}),discrete:eo,default:eo,custom:e1},shape:{identity:({title:t,...e}={})=>pi({legend:!1,title:t,...e}),discrete:to,default:to,custom:e1}};function y9({step:t,minor:e=!1}={}){return function({min:n,max:i,minor:r=e}={}){let o=i-n,l=t;if(isNaN(o)||o<0)return[];if(o==0)return[n];let c=10**Math.floor(Math.log10(o)-1),a=o/c;l==null&&(l=([5,10,20].find(d=>d*5>a)??20)*c),r&&(l/=2);let s=Math.ceil(n/l),u=Math.floor(i/l);return new Array(u-s+1).fill(null).map((d,f)=>(s+f)*l)}}function v9(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let i=new Date(t),r=new Date(e),o=i.getUTCFullYear(),l=i.getUTCMonth(),c=i.getUTCDate(),a=i.getUTCHours(),s=i.getUTCMinutes(),u=i.getUTCSeconds(),d=[];if(n>3*31536e6){let f=n/31536e6,h=10**Math.floor(Math.log10(f)-1),m=f/h,y=Math.max((m>50?10:m>25?5:2)*h,1);i=new Date(Date.UTC(Math.ceil(o/y)*y));do d.push(new Date(i));while(i.setUTCFullYear(i.getUTCFullYear()+y)<r)}else if(n>3*2592e6){let f=n/2592e6,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,Math.ceil(l/h)*h));do d.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+h)<r)}else if(n>21*864e5){i=new Date(Date.UTC(o,l,c+(7-i.getUTCDay())%7));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+7)<r)}else if(n>3*864e5){let f=n/864e5,h=[2,3].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,Math.ceil(c)));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+h)<r)}else if(n>3*36e5){let f=n/36e5,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,Math.ceil(a/h)*h));do d.push(new Date(i));while(i.setUTCHours(i.getUTCHours()+h)<r)}else if(n>3*6e4){let f=n/6e4,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,Math.ceil(s/h)*h));do d.push(new Date(i));while(i.setUTCMinutes(i.getUTCMinutes()+h)<r)}else if(n>3e3){let f=n/1e3,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,s,Math.ceil(u/h)*h));do d.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+h)<r)}else{let f=10**Math.floor(Math.log10(n)-1),h=n/f,m=(h>50?20:h>25?10:5)*f,y=Math.ceil(t/m),w=Math.floor(e/m);return new Array(w-y+1).fill(null).map((p,S)=>new Date((y+S)*m))}return d}}const Pn={number:y9,datetime:v9};let p9={y:t=>t.getUTCFullYear(),M:t=>t.getUTCMonth()+1,d:t=>t.getUTCDate(),h:t=>t.getUTCHours(),m:t=>t.getUTCMinutes(),s:t=>t.getUTCSeconds()};function xi(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(p9[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const Ps={default:{"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},si:{y:1e-24,z:1e-21,a:1e-18,f:1e-15,p:1e-12,n:1e-9,\u03BC:1e-6,m:.001,"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},binary:{"":1,Ki:1024,Mi:1024**2,Gi:1024**3,Ti:1024**4,Pi:1024**5,Ei:1024**6,Zi:1024**7,Yi:1024**8},time:{ns:1e-9,\u03BCs:1e-6,ms:.001,s:1,m:60,h:3600,d:86400,w:604800,M:2592e3,y:31536e3}};function x9(){return function(t){return t==null?"":t instanceof Date?xi(t):String(t)}}function Ds({accuracy:t,scale:e=1,prefix:n="",suffix:i="",big_mark:r=" ",style_positive:o="none",style_negative:l="hyphen",scale_cut:c={"":1}}={}){let a={plus:"+",space:" "}[o]??"",s={hyphen:"-",minus:"\u2212",parens:"("}[l]??"";return function(u,d,f=[u]){let h;if(t)h=t;else if(f.length>1){let A=f.filter(j=>isFinite(j)).sort((j,E)=>j-E);h=A.slice(1).map((j,E)=>j-A[E]).reduce((j,E)=>j<E?j:E)*e}else h=u||1;let m=Object.entries(c).sort((A,M)=>M[1]-A[1]).find(A=>A[1]<=h)?.[0]??"",y=(m==""?"":" ")+m+i;h=h/(c[m]??1);let w=Math.max(0,Math.ceil(-Math.log10(h))),p=Math.round(u*e/(c[m]??1)/h)*h,S=n+(p>0?a:p<0?s:"");return p<0&&l=="parens"&&(y=")"+y),p=Math.abs(p).toFixed(w).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),S+p+y}}function bi({format:t}={}){let e={y:31536e3,M:2678400,d:86400,h:3600,m:60,s:1},n={y:0,M:5,d:8,h:11,m:14,s:17},i={y:4,M:7,d:10,h:13,m:16,s:19};return function(r,o,l=[r]){if(l.length<=1)return xi(new Date(r),t);if(t==null){let c=Array.from(l).sort((f,h)=>f-h),a=c.slice(1).map((f,h)=>f-c[h]).reduce((f,h)=>f<h?f:h)/1e3,s=(c[c.length-1]-c[0])/1e3,u=["y","M","d","m","s"].find(f=>e[f]<=a),d=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],i[u])}return xi(new Date(r),t)}}function no(t){let e=Ds(t),n=bi(t);return function(i,r,o=[i]){return i instanceof Ro?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const wi={number:Ds,datetime:bi,timestamp:bi,asis:x9,auto:no,default:function(t){return no({scale_cut:Ps.default,...t})}};function b9(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}function ki(t){return typeof t=="string"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="object"&&t!==null&&typeof t.valueOf()!="number"&&typeof t.valueOf()!="bigint"}class w9{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:l}=n,{geom:c,stat:a,data:s,aes:u,levels:d={},scales:f={},attrs:h,args:m,vBind:y,extendX:w,extendY:p}=e;if(!Le[c]){console.error(`Invalid geom "${c}"`,"in layer",e,", plot",n);return}let S=typeof a=="function"?a:_a[a];if(S==null){console.error(`Invalid stat "${a}"`,"in layer",e,", plot",n);return}this.geom=c,this.vBind=Object.assign(y,{extendX:w??o??0,extendY:p??l??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),u={...r,...u};let A={};this.$fnames={};for(const E in u)this.$fnames[E]=String(u[E]),A[E]=s.map(u[E]).map($=>$ instanceof String||$ instanceof Number?new He($):$);A.$raw=s;let M=S?.core_attrs??["x","y","xnudge","ynudge"],j=s.length;j==0&&(j=M.map(E=>h[E]).filter(E=>E!=null).reduce((E,$)=>Math.max(Array.isArray($)?$.length:1,E),0));for(const E in h)if(M.includes(E))if(Array.isArray(h[E])){if(h[E].length!=j)throw new Error(`Attribute "${E}" must have the same length as data (${j})`);A[E]=h[E]}else{if(h[E]==null)continue;A[E]=new Array(j).fill(h[E])}try{if(A=S(A,m||{}),A.$group??=A.group,A.$group==null){let E=Object.values(A).filter($=>Array.isArray($)).reduce(($,g)=>Math.max($,g.length),0);A.$group=new Array(E).fill(null)}}catch(E){console.error("Error",E,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(d).filter(E=>d[E]!=null),...Object.keys(f).filter(E=>f[E]!=null)]),this.aes=new Set([...this.localScales,...Le[c]?.scale_attrs??[]]),this.$data=A,this.data={...A};for(const E in A)if(f[E]!=null){let $=new Dn(f[E]);$.aesthetics=E,$._title=this.$fnames[E];let g=this.$data[E];if(!g?.length)continue;$.asis||(d?.[E]!=null?$.level=d[E]:g.some(ki)?$.level=Xe.from(g):$.extent=Ut.extent(g.filter(x=>!(x instanceof He)))),this.applyScale(E,$)}this.attrs={};for(const E in h)if(!M.includes(E))if(Array.isArray(h[E])){if(h[E].length!=j)throw new Error(`Attribute "${E}" must have the same length as data (${j})`);this.data[E]=h[E]}else this.attrs[E]=h[E],h[E]!=null&&(this.data[E]=new Array(j).fill(h[E]))}applyScale(e,n){let i=this.$data[e];if(i==null)return;n.level&&(i=n.level.apply(i)),n.limits&&(i.extent=n.limits),n.aes=e;let r=n(i);this.data[e]=i.map((o,l)=>o instanceof He?o.valueOf():r[l]),this.scales[e]=n}applyCoordScale(e){try{Object.assign(this.data,Le[this.geom]?.coord_scale?.(this.$data,e))}catch(n){console.error(n)}}}class k9{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new w9(n[i],e));this.layers=this.layers.filter(i=>i.$data!=null),this.aes=new Set(this.layers.flatMap(i=>Array.from(i.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const i of this.aes){let r=this.layers.filter(o=>!o.localScales.has(i)).flatMap(o=>o.$data[i]??[]);if(r.length!=0){let o=new Dn(e?.[i]??js[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some(ki)?o.level=Xe.from(r):o.extent=Ut.extent(r.filter(l=>!(l instanceof He)))),o._title=this.layers.reduce((l,c)=>l??c.$fnames?.[i],null);for(const l of this.layers)l.localScales.has(i)||l.applyScale(i,o)}for(const o of this.layers){let l=o.scales?.[i];if(l!=null&&!l.asis){this.scales.has(l)||this.scales.set(l,{});let c=this.scales.get(l);c[o.geom]==null&&(c[o.geom]={});for(let a of Le[o.geom]?.scale_attrs)o.attrs[a]!=null&&(c[o.geom][a]=o.attrs[a])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new Xe(...e[n]);else{let i=this.layers.flatMap(r=>(Le[r.geom].get_values??Le[r.geom].get_range)?.(r.$data,n));i.some(ki)?this.levels[n]=Xe.from(i):(i=this.layers.flatMap(r=>Le[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=Ut.extent(i.filter(r=>!(r instanceof He))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:Object.values(Object.groupBy(e.data.$group.map((i,r)=>Le[e.geom].validate(b9(e.data,(o,l)=>l?.[r]))).filter(i=>i!=null),i=>i.$group)),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,i){let r={};if(this._range=e,this.levels.x){let o=+(e?.xmin??-.5)-(+n.x?.min||0),l=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);r.x=new kn(this.levels.x,{min:o,max:l})}else{let o=e?.xmin??this.extents.x?.min??0,l=e?.xmax??this.extents.x?.max??0,c=ft(o,-n.x?.min||0),a=ft(l,+n.x?.max||0),s=i?.x??1;if(a-c<s)if(e?.xmax==null&&e?.xmin!=null)a=ft(c,+s);else if(e?.xmax!=null&&e?.xmin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.x=new An({min:c,max:a}):r.x=new E1({min:c,max:a})}if(this.levels.y){let o=+(e?.ymin??-.5)-(+n.y?.min||0),l=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);r.y=new kn(this.levels.y,{min:o,max:l})}else{let o=e?.ymin??this.extents.y?.min??0,l=e?.ymax??this.extents.y?.max??0,c=ft(o,-n.y?.min),a=ft(l,+n.y?.max||0),s=i?.y??1;if(a-c<s)if(e?.ymax==null&&e?.ymin!=null)a=ft(c,+s);else if(e?.ymax!=null&&e?.ymin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.y=new An({min:c,max:a}):r.y=new E1({min:c,max:a})}return r}render(e,n,i){let r=this.getCoordScales(e,n,i);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}}class Dn extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,Dn.prototype),Object.assign(i,e),i._fn=n,i}set extent({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this.$limits={0:e,1:n,length:2,min:e,max:n}}get limits(){let e=this.$limits?.min??(this.level?0:this._limits?.min),n=this.$limits?.max??this.level?.length??this._limits?.max;return{0:e,1:n,length:2,min:e,max:n}}toString(){return this.title??String(this._fn)}}class kn extends Function{constructor(e,{min:n,max:i}={}){const r=n==i?o=>0:o=>(+o-n)/(i-n);return r.range={min:n,max:i},r.level=e,Object.setPrototypeOf(r,kn.prototype),r}invert(e){let{min:n,max:i}=this.range;return e*(i-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class E1 extends Function{constructor(e){let{min:n,max:i}=e;const r=n==i?o=>isFinite(o)?.5:o:o=>(+o-n)/(i-n);return r.range={min:n,max:i},Object.setPrototypeOf(r,E1.prototype),r}invert(e){let{min:n,max:i}=this.range;return ft(n,e*(i-n))}get breaks(){return Pn.number()}}class An extends E1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,An.prototype),n}get breaks(){return Pn.datetime()}get minorBreaks(){return[]}}class A9{constructor(e,{breaks:n,labels:i,minorBreaks:r,titles:o}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=i??wi.auto(),this.titles=o??wi.asis(),this.minorBreaks=r??n??e.minorBreaks??e.breaks}getBindings({range:e,expandMult:n}={}){let i=this.breaks,r=this.minorBreaks,o=this.labels,l=this.titles,c=e?.min??this?.range?.min,a=e?.max??this?.range?.max,s=a-c||0;c=c==null?c:ft(c,-(n?.min??0)*s),a=a==null?a:ft(a,+(n?.max??0)*s);function u(f){return f.position!=null?f:{position:f}}typeof i=="function"&&(i=i({min:c,max:a})),i=Array.isArray(i)?i.map(u):[];let d=i.map(f=>f.position);if(typeof r=="function"&&(r=r({min:c,max:a,minor:!0})),r=Array.isArray(r)?r.map(u):[],typeof o=="function"&&(o=d.map(o)),!Array.isArray(o))o=[];else if(o.length!=d.length)throw new Error("Length of labels must be the same as breaks");if(typeof l=="function"&&(l=d.map(l)),!Array.isArray(l))l=[];else if(l.length!=d.length)throw new Error("Length of titles must be the same as breaks");return{majorBreaks:i,minorBreaks:r,ticks:d.map((f,h)=>({position:f,label:o[h],title:l[h]}))}}}const S9=["font-size"],C9={key:0},m1={__name:"CoreText",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=Dt("ele"),n=Ot({width:0,height:0});St([e,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([r])=>{if(!r)return;await Tn();let{width:o,height:l}=r.getBBox();n.width=o,n.height=l});const i=X(()=>{let{width:r,height:o}=n,l=[],c=({start:-.5,end:.5}[t.textAnchor]??0)*r;if(t.dockX!=null||t.dockY!=null){let a={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),s={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r*Math.abs(Math.cos(t.angle*Math.PI/180))+o*Math.abs(Math.sin(t.angle*Math.PI/180)),d=r*Math.abs(Math.sin(t.angle*Math.PI/180))+o*Math.abs(Math.cos(t.angle*Math.PI/180)),f=t.translateX,h=t.translateY;l.push(`translate(${u*(.5-a)+f},${d*(s-.5)+h})`),t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${c},0)`)}else{let a={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),s={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r,d=o,f=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),h=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${u*(.5-a)+f+c},${d*(s-.5)+h})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Vt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:l.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(r,o)=>(O(),B("text",Q({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[xl(r.$slots,"default",{},()=>[t.title?(O(),B("title",C9,Bt(t.title),1)):Lt("",!0),dt(" "+Bt(t.text.replace(/ /g,"\xA0")),1)])],16,S9))}};function qs(t){switch(t._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var N9=function(t,e){this.current=t,this.entering=e===!0},M9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=qs(t);return e&&n?t._firstChild?(this.current=t._firstChild,this.entering=!0):this.entering=!1:t===this.root?this.current=null:t._next===null?(this.current=t._parent,this.entering=!1):(this.current=t._next,this.entering=!0),{entering:e,node:t}},T9=function(t){return{current:t,root:t,entering:!0,next:M9,resumeAt:N9}},qt=function(t,e){this._type=t,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=e,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},It=qt.prototype;Object.defineProperty(It,"isContainer",{get:function(){return qs(this)}});Object.defineProperty(It,"type",{get:function(){return this._type}});Object.defineProperty(It,"firstChild",{get:function(){return this._firstChild}});Object.defineProperty(It,"lastChild",{get:function(){return this._lastChild}});Object.defineProperty(It,"next",{get:function(){return this._next}});Object.defineProperty(It,"prev",{get:function(){return this._prev}});Object.defineProperty(It,"parent",{get:function(){return this._parent}});Object.defineProperty(It,"sourcepos",{get:function(){return this._sourcepos}});Object.defineProperty(It,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}});Object.defineProperty(It,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}});Object.defineProperty(It,"title",{get:function(){return this._title},set:function(t){this._title=t}});Object.defineProperty(It,"info",{get:function(){return this._info},set:function(t){this._info=t}});Object.defineProperty(It,"level",{get:function(){return this._level},set:function(t){this._level=t}});Object.defineProperty(It,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}});Object.defineProperty(It,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}});Object.defineProperty(It,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}});Object.defineProperty(It,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}});Object.defineProperty(It,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}});Object.defineProperty(It,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}});qt.prototype.appendChild=function(t){t.unlink(),t._parent=this,this._lastChild?(this._lastChild._next=t,t._prev=this._lastChild,this._lastChild=t):(this._firstChild=t,this._lastChild=t)};qt.prototype.prependChild=function(t){t.unlink(),t._parent=this,this._firstChild?(this._firstChild._prev=t,t._next=this._firstChild,this._firstChild=t):(this._firstChild=t,this._lastChild=t)};qt.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null};qt.prototype.insertAfter=function(t){t.unlink(),t._next=this._next,t._next&&(t._next._prev=t),t._prev=this,this._next=t,t._parent=this._parent,t._next||(t._parent._lastChild=t)};qt.prototype.insertBefore=function(t){t.unlink(),t._prev=this._prev,t._prev&&(t._prev._next=t),t._next=this,this._prev=t,t._parent=this._parent,t._prev||(t._parent._firstChild=t)};qt.prototype.walker=function(){var t=new T9(this);return t};function $9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zn,io;function E9(){if(io)return Zn;io=1;var t={};function e(i){var r,o,l=t[i];if(l)return l;for(l=t[i]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?l.push(o):l.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<i.length;r++)l[i.charCodeAt(r)]=i[r];return l}function n(i,r,o){var l,c,a,s,u,d="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),u=e(r),l=0,c=i.length;l<c;l++){if(a=i.charCodeAt(l),o&&a===37&&l+2<c&&/^[0-9a-f]{2}$/i.test(i.slice(l+1,l+3))){d+=i.slice(l,l+3),l+=2;continue}if(a<128){d+=u[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&l+1<c&&(s=i.charCodeAt(l+1),s>=56320&&s<=57343)){d+=encodeURIComponent(i[l]+i[l+1]),l++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(i[l])}return d}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",Zn=n,Zn}var L9=E9();const O9=$9(L9);var Qn={},p1={},W1={},ro;function j9(){return ro||(ro=1,Object.defineProperty(W1,"__esModule",{value:!0}),W1.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])),W1}var K1={},oo;function P9(){return oo||(oo=1,Object.defineProperty(K1,"__esModule",{value:!0}),K1.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])),K1}var Z1={},so;function D9(){if(so)return Z1;so=1,Object.defineProperty(Z1,"__esModule",{value:!0});var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),e=String.fromCodePoint||function(i){var r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),r+=String.fromCharCode(i),r};function n(i){var r;return i>=55296&&i<=57343||i>1114111?"\uFFFD":e((r=t.get(i))!==null&&r!==void 0?r:i)}return Z1.default=n,Z1}var lo;function ao(){return lo||(lo=1,(function(t){var e=p1&&p1.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=e(j9());t.htmlDecodeTree=n.default;var i=e(P9());t.xmlDecodeTree=i.default;var r=e(D9()),o;(function(h){h[h.HAS_VALUE=32768]="HAS_VALUE",h[h.BRANCH_LENGTH=32512]="BRANCH_LENGTH",h[h.MULTI_BYTE=128]="MULTI_BYTE",h[h.JUMP_TABLE=127]="JUMP_TABLE"})(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function l(h){return function(y,w){for(var p="",S=0,A=0;(A=y.indexOf("&",A))>=0;){if(p+=y.slice(S,A),S=A,A+=1,y.charCodeAt(A)===35){var M=A+1,j=10,E=y.charCodeAt(M);for((E|32)===120&&(j=16,A+=1,M+=1);(E=y.charCodeAt(++A))>=48&&E<=57||j===16&&(E|32)>=97&&(E|32)<=102;);if(M!==A){var $=y.substring(M,A),g=parseInt($,j);if(y.charCodeAt(A)===59)A+=1;else if(w)continue;p+=r.default(g),S=A}continue}for(var x=null,b=1,C=0,k=h[C];A<y.length&&(C=c(h,k,C+1,y.charCodeAt(A)),!(C<0));A++,b++)k=h[C],k&o.HAS_VALUE&&(w&&y.charCodeAt(A)!==59?C+=1:(x=k&o.MULTI_BYTE?String.fromCharCode(h[++C],h[++C]):String.fromCharCode(h[++C]),b=0));x!=null&&(p+=x,S=A-b+1)}return p+y.slice(S)}}function c(h,m,y,w){if(m<=128)return w===m?y:-1;var p=(m&o.BRANCH_LENGTH)>>8;if(p===0)return-1;if(p===1)return w===h[y]?y+1:-1;var S=m&o.JUMP_TABLE;if(S){var A=w-t.JUMP_OFFSET_BASE-S;return A<0||A>p?-1:h[y+A]-1}for(var M=y,j=M+p-1;M<=j;){var E=M+j>>>1,$=h[E];if($<w)M=E+1;else if($>w)j=E-1;else return h[E+p]}return-1}t.determineBranch=c;var a=l(n.default),s=l(i.default);function u(h){return a(h,!1)}t.decodeHTML=u;function d(h){return a(h,!0)}t.decodeHTMLStrict=d;function f(h){return s(h,!0)}t.decodeXML=f})(p1)),p1}var Jt={};const q9="&",B9="'",V9=">",I9="<",R9='"',H9={amp:q9,apos:B9,gt:V9,lt:I9,quot:R9};var x1={};const X9="\xC1",Y9="\xE1",z9="\u0102",F9="\u0103",U9="\u223E",G9="\u223F",W9="\u223E\u0333",K9="\xC2",Z9="\xE2",Q9="\xB4",J9="\u0410",_9="\u0430",t8="\xC6",e8="\xE6",n8="\u2061",i8="\u{1D504}",r8="\u{1D51E}",o8="\xC0",s8="\xE0",l8="\u2135",a8="\u2135",c8="\u0391",u8="\u03B1",h8="\u0100",f8="\u0101",d8="\u2A3F",m8="&",g8="&",y8="\u2A55",v8="\u2A53",p8="\u2227",x8="\u2A5C",b8="\u2A58",w8="\u2A5A",k8="\u2220",A8="\u29A4",S8="\u2220",C8="\u29A8",N8="\u29A9",M8="\u29AA",T8="\u29AB",$8="\u29AC",E8="\u29AD",L8="\u29AE",O8="\u29AF",j8="\u2221",P8="\u221F",D8="\u22BE",q8="\u299D",B8="\u2222",V8="\xC5",I8="\u237C",R8="\u0104",H8="\u0105",X8="\u{1D538}",Y8="\u{1D552}",z8="\u2A6F",F8="\u2248",U8="\u2A70",G8="\u224A",W8="\u224B",K8="'",Z8="\u2061",Q8="\u2248",J8="\u224A",_8="\xC5",t5="\xE5",e5="\u{1D49C}",n5="\u{1D4B6}",i5="\u2254",r5="*",o5="\u2248",s5="\u224D",l5="\xC3",a5="\xE3",c5="\xC4",u5="\xE4",h5="\u2233",f5="\u2A11",d5="\u224C",m5="\u03F6",g5="\u2035",y5="\u223D",v5="\u22CD",p5="\u2216",x5="\u2AE7",b5="\u22BD",w5="\u2305",k5="\u2306",A5="\u2305",S5="\u23B5",C5="\u23B6",N5="\u224C",M5="\u0411",T5="\u0431",$5="\u201E",E5="\u2235",L5="\u2235",O5="\u2235",j5="\u29B0",P5="\u03F6",D5="\u212C",q5="\u212C",B5="\u0392",V5="\u03B2",I5="\u2136",R5="\u226C",H5="\u{1D505}",X5="\u{1D51F}",Y5="\u22C2",z5="\u25EF",F5="\u22C3",U5="\u2A00",G5="\u2A01",W5="\u2A02",K5="\u2A06",Z5="\u2605",Q5="\u25BD",J5="\u25B3",_5="\u2A04",t6="\u22C1",e6="\u22C0",n6="\u290D",i6="\u29EB",r6="\u25AA",o6="\u25B4",s6="\u25BE",l6="\u25C2",a6="\u25B8",c6="\u2423",u6="\u2592",h6="\u2591",f6="\u2593",d6="\u2588",m6="=\u20E5",g6="\u2261\u20E5",y6="\u2AED",v6="\u2310",p6="\u{1D539}",x6="\u{1D553}",b6="\u22A5",w6="\u22A5",k6="\u22C8",A6="\u29C9",S6="\u2510",C6="\u2555",N6="\u2556",M6="\u2557",T6="\u250C",$6="\u2552",E6="\u2553",L6="\u2554",O6="\u2500",j6="\u2550",P6="\u252C",D6="\u2564",q6="\u2565",B6="\u2566",V6="\u2534",I6="\u2567",R6="\u2568",H6="\u2569",X6="\u229F",Y6="\u229E",z6="\u22A0",F6="\u2518",U6="\u255B",G6="\u255C",W6="\u255D",K6="\u2514",Z6="\u2558",Q6="\u2559",J6="\u255A",_6="\u2502",th="\u2551",eh="\u253C",nh="\u256A",ih="\u256B",rh="\u256C",oh="\u2524",sh="\u2561",lh="\u2562",ah="\u2563",ch="\u251C",uh="\u255E",hh="\u255F",fh="\u2560",dh="\u2035",mh="\u02D8",gh="\u02D8",yh="\xA6",vh="\u{1D4B7}",ph="\u212C",xh="\u204F",bh="\u223D",wh="\u22CD",kh="\u29C5",Ah="\\",Sh="\u27C8",Ch="\u2022",Nh="\u2022",Mh="\u224E",Th="\u2AAE",$h="\u224F",Eh="\u224E",Lh="\u224F",Oh="\u0106",jh="\u0107",Ph="\u2A44",Dh="\u2A49",qh="\u2A4B",Bh="\u2229",Vh="\u22D2",Ih="\u2A47",Rh="\u2A40",Hh="\u2145",Xh="\u2229\uFE00",Yh="\u2041",zh="\u02C7",Fh="\u212D",Uh="\u2A4D",Gh="\u010C",Wh="\u010D",Kh="\xC7",Zh="\xE7",Qh="\u0108",Jh="\u0109",_h="\u2230",t7="\u2A4C",e7="\u2A50",n7="\u010A",i7="\u010B",r7="\xB8",o7="\xB8",s7="\u29B2",l7="\xA2",a7="\xB7",c7="\xB7",u7="\u{1D520}",h7="\u212D",f7="\u0427",d7="\u0447",m7="\u2713",g7="\u2713",y7="\u03A7",v7="\u03C7",p7="\u02C6",x7="\u2257",b7="\u21BA",w7="\u21BB",k7="\u229B",A7="\u229A",S7="\u229D",C7="\u2299",N7="\xAE",M7="\u24C8",T7="\u2296",$7="\u2295",E7="\u2297",L7="\u25CB",O7="\u29C3",j7="\u2257",P7="\u2A10",D7="\u2AEF",q7="\u29C2",B7="\u2232",V7="\u201D",I7="\u2019",R7="\u2663",H7="\u2663",X7=":",Y7="\u2237",z7="\u2A74",F7="\u2254",U7="\u2254",G7=",",W7="@",K7="\u2201",Z7="\u2218",Q7="\u2201",J7="\u2102",_7="\u2245",tf="\u2A6D",ef="\u2261",nf="\u222E",rf="\u222F",of="\u222E",sf="\u{1D554}",lf="\u2102",af="\u2210",cf="\u2210",uf="\xA9",hf="\xA9",ff="\u2117",df="\u2233",mf="\u21B5",gf="\u2717",yf="\u2A2F",vf="\u{1D49E}",pf="\u{1D4B8}",xf="\u2ACF",bf="\u2AD1",wf="\u2AD0",kf="\u2AD2",Af="\u22EF",Sf="\u2938",Cf="\u2935",Nf="\u22DE",Mf="\u22DF",Tf="\u21B6",$f="\u293D",Ef="\u2A48",Lf="\u2A46",Of="\u224D",jf="\u222A",Pf="\u22D3",Df="\u2A4A",qf="\u228D",Bf="\u2A45",Vf="\u222A\uFE00",If="\u21B7",Rf="\u293C",Hf="\u22DE",Xf="\u22DF",Yf="\u22CE",zf="\u22CF",Ff="\xA4",Uf="\u21B6",Gf="\u21B7",Wf="\u22CE",Kf="\u22CF",Zf="\u2232",Qf="\u2231",Jf="\u232D",_f="\u2020",t3="\u2021",e3="\u2138",n3="\u2193",i3="\u21A1",r3="\u21D3",o3="\u2010",s3="\u2AE4",l3="\u22A3",a3="\u290F",c3="\u02DD",u3="\u010E",h3="\u010F",f3="\u0414",d3="\u0434",m3="\u2021",g3="\u21CA",y3="\u2145",v3="\u2146",p3="\u2911",x3="\u2A77",b3="\xB0",w3="\u2207",k3="\u0394",A3="\u03B4",S3="\u29B1",C3="\u297F",N3="\u{1D507}",M3="\u{1D521}",T3="\u2965",$3="\u21C3",E3="\u21C2",L3="\xB4",O3="\u02D9",j3="\u02DD",P3="`",D3="\u02DC",q3="\u22C4",B3="\u22C4",V3="\u22C4",I3="\u2666",R3="\u2666",H3="\xA8",X3="\u2146",Y3="\u03DD",z3="\u22F2",F3="\xF7",U3="\xF7",G3="\u22C7",W3="\u22C7",K3="\u0402",Z3="\u0452",Q3="\u231E",J3="\u230D",_3="$",td="\u{1D53B}",ed="\u{1D555}",nd="\xA8",id="\u02D9",rd="\u20DC",od="\u2250",sd="\u2251",ld="\u2250",ad="\u2238",cd="\u2214",ud="\u22A1",hd="\u2306",fd="\u222F",dd="\xA8",md="\u21D3",gd="\u21D0",yd="\u21D4",vd="\u2AE4",pd="\u27F8",xd="\u27FA",bd="\u27F9",wd="\u21D2",kd="\u22A8",Ad="\u21D1",Sd="\u21D5",Cd="\u2225",Nd="\u2913",Md="\u2193",Td="\u2193",$d="\u21D3",Ed="\u21F5",Ld="\u0311",Od="\u21CA",jd="\u21C3",Pd="\u21C2",Dd="\u2950",qd="\u295E",Bd="\u2956",Vd="\u21BD",Id="\u295F",Rd="\u2957",Hd="\u21C1",Xd="\u21A7",Yd="\u22A4",zd="\u2910",Fd="\u231F",Ud="\u230C",Gd="\u{1D49F}",Wd="\u{1D4B9}",Kd="\u0405",Zd="\u0455",Qd="\u29F6",Jd="\u0110",_d="\u0111",tm="\u22F1",em="\u25BF",nm="\u25BE",im="\u21F5",rm="\u296F",om="\u29A6",sm="\u040F",lm="\u045F",am="\u27FF",cm="\xC9",um="\xE9",hm="\u2A6E",fm="\u011A",dm="\u011B",mm="\xCA",gm="\xEA",ym="\u2256",vm="\u2255",pm="\u042D",xm="\u044D",bm="\u2A77",wm="\u0116",km="\u0117",Am="\u2251",Sm="\u2147",Cm="\u2252",Nm="\u{1D508}",Mm="\u{1D522}",Tm="\u2A9A",$m="\xC8",Em="\xE8",Lm="\u2A96",Om="\u2A98",jm="\u2A99",Pm="\u2208",Dm="\u23E7",qm="\u2113",Bm="\u2A95",Vm="\u2A97",Im="\u0112",Rm="\u0113",Hm="\u2205",Xm="\u2205",Ym="\u25FB",zm="\u2205",Fm="\u25AB",Um="\u2004",Gm="\u2005",Wm="\u2003",Km="\u014A",Zm="\u014B",Qm="\u2002",Jm="\u0118",_m="\u0119",t4="\u{1D53C}",e4="\u{1D556}",n4="\u22D5",i4="\u29E3",r4="\u2A71",o4="\u03B5",s4="\u0395",l4="\u03B5",a4="\u03F5",c4="\u2256",u4="\u2255",h4="\u2242",f4="\u2A96",d4="\u2A95",m4="\u2A75",g4="=",y4="\u2242",v4="\u225F",p4="\u21CC",x4="\u2261",b4="\u2A78",w4="\u29E5",k4="\u2971",A4="\u2253",S4="\u212F",C4="\u2130",N4="\u2250",M4="\u2A73",T4="\u2242",$4="\u0397",E4="\u03B7",L4="\xD0",O4="\xF0",j4="\xCB",P4="\xEB",D4="\u20AC",q4="!",B4="\u2203",V4="\u2203",I4="\u2130",R4="\u2147",H4="\u2147",X4="\u2252",Y4="\u0424",z4="\u0444",F4="\u2640",U4="\uFB03",G4="\uFB00",W4="\uFB04",K4="\u{1D509}",Z4="\u{1D523}",Q4="\uFB01",J4="\u25FC",_4="\u25AA",tg="fj",eg="\u266D",ng="\uFB02",ig="\u25B1",rg="\u0192",og="\u{1D53D}",sg="\u{1D557}",lg="\u2200",ag="\u2200",cg="\u22D4",ug="\u2AD9",hg="\u2131",fg="\u2A0D",dg="\xBD",mg="\u2153",gg="\xBC",yg="\u2155",vg="\u2159",pg="\u215B",xg="\u2154",bg="\u2156",wg="\xBE",kg="\u2157",Ag="\u215C",Sg="\u2158",Cg="\u215A",Ng="\u215D",Mg="\u215E",Tg="\u2044",$g="\u2322",Eg="\u{1D4BB}",Lg="\u2131",Og="\u01F5",jg="\u0393",Pg="\u03B3",Dg="\u03DC",qg="\u03DD",Bg="\u2A86",Vg="\u011E",Ig="\u011F",Rg="\u0122",Hg="\u011C",Xg="\u011D",Yg="\u0413",zg="\u0433",Fg="\u0120",Ug="\u0121",Gg="\u2265",Wg="\u2267",Kg="\u2A8C",Zg="\u22DB",Qg="\u2265",Jg="\u2267",_g="\u2A7E",ty="\u2AA9",ey="\u2A7E",ny="\u2A80",iy="\u2A82",ry="\u2A84",oy="\u22DB\uFE00",sy="\u2A94",ly="\u{1D50A}",ay="\u{1D524}",cy="\u226B",uy="\u22D9",hy="\u22D9",fy="\u2137",dy="\u0403",my="\u0453",gy="\u2AA5",yy="\u2277",vy="\u2A92",py="\u2AA4",xy="\u2A8A",by="\u2A8A",wy="\u2A88",ky="\u2269",Ay="\u2A88",Sy="\u2269",Cy="\u22E7",Ny="\u{1D53E}",My="\u{1D558}",Ty="`",$y="\u2265",Ey="\u22DB",Ly="\u2267",Oy="\u2AA2",jy="\u2277",Py="\u2A7E",Dy="\u2273",qy="\u{1D4A2}",By="\u210A",Vy="\u2273",Iy="\u2A8E",Ry="\u2A90",Hy="\u2AA7",Xy="\u2A7A",Yy=">",zy=">",Fy="\u226B",Uy="\u22D7",Gy="\u2995",Wy="\u2A7C",Ky="\u2A86",Zy="\u2978",Qy="\u22D7",Jy="\u22DB",_y="\u2A8C",tv="\u2277",ev="\u2273",nv="\u2269\uFE00",iv="\u2269\uFE00",rv="\u02C7",ov="\u200A",sv="\xBD",lv="\u210B",av="\u042A",cv="\u044A",uv="\u2948",hv="\u2194",fv="\u21D4",dv="\u21AD",mv="^",gv="\u210F",yv="\u0124",vv="\u0125",pv="\u2665",xv="\u2665",bv="\u2026",wv="\u22B9",kv="\u{1D525}",Av="\u210C",Sv="\u210B",Cv="\u2925",Nv="\u2926",Mv="\u21FF",Tv="\u223B",$v="\u21A9",Ev="\u21AA",Lv="\u{1D559}",Ov="\u210D",jv="\u2015",Pv="\u2500",Dv="\u{1D4BD}",qv="\u210B",Bv="\u210F",Vv="\u0126",Iv="\u0127",Rv="\u224E",Hv="\u224F",Xv="\u2043",Yv="\u2010",zv="\xCD",Fv="\xED",Uv="\u2063",Gv="\xCE",Wv="\xEE",Kv="\u0418",Zv="\u0438",Qv="\u0130",Jv="\u0415",_v="\u0435",tp="\xA1",ep="\u21D4",np="\u{1D526}",ip="\u2111",rp="\xCC",op="\xEC",sp="\u2148",lp="\u2A0C",ap="\u222D",cp="\u29DC",up="\u2129",hp="\u0132",fp="\u0133",dp="\u012A",mp="\u012B",gp="\u2111",yp="\u2148",vp="\u2110",pp="\u2111",xp="\u0131",bp="\u2111",wp="\u22B7",kp="\u01B5",Ap="\u21D2",Sp="\u2105",Cp="\u221E",Np="\u29DD",Mp="\u0131",Tp="\u22BA",$p="\u222B",Ep="\u222C",Lp="\u2124",Op="\u222B",jp="\u22BA",Pp="\u22C2",Dp="\u2A17",qp="\u2A3C",Bp="\u2063",Vp="\u2062",Ip="\u0401",Rp="\u0451",Hp="\u012E",Xp="\u012F",Yp="\u{1D540}",zp="\u{1D55A}",Fp="\u0399",Up="\u03B9",Gp="\u2A3C",Wp="\xBF",Kp="\u{1D4BE}",Zp="\u2110",Qp="\u2208",Jp="\u22F5",_p="\u22F9",tx="\u22F4",ex="\u22F3",nx="\u2208",ix="\u2062",rx="\u0128",ox="\u0129",sx="\u0406",lx="\u0456",ax="\xCF",cx="\xEF",ux="\u0134",hx="\u0135",fx="\u0419",dx="\u0439",mx="\u{1D50D}",gx="\u{1D527}",yx="\u0237",vx="\u{1D541}",px="\u{1D55B}",xx="\u{1D4A5}",bx="\u{1D4BF}",wx="\u0408",kx="\u0458",Ax="\u0404",Sx="\u0454",Cx="\u039A",Nx="\u03BA",Mx="\u03F0",Tx="\u0136",$x="\u0137",Ex="\u041A",Lx="\u043A",Ox="\u{1D50E}",jx="\u{1D528}",Px="\u0138",Dx="\u0425",qx="\u0445",Bx="\u040C",Vx="\u045C",Ix="\u{1D542}",Rx="\u{1D55C}",Hx="\u{1D4A6}",Xx="\u{1D4C0}",Yx="\u21DA",zx="\u0139",Fx="\u013A",Ux="\u29B4",Gx="\u2112",Wx="\u039B",Kx="\u03BB",Zx="\u27E8",Qx="\u27EA",Jx="\u2991",_x="\u27E8",tb="\u2A85",eb="\u2112",nb="\xAB",ib="\u21E4",rb="\u291F",ob="\u2190",sb="\u219E",lb="\u21D0",ab="\u291D",cb="\u21A9",ub="\u21AB",hb="\u2939",fb="\u2973",db="\u21A2",mb="\u2919",gb="\u291B",yb="\u2AAB",vb="\u2AAD",pb="\u2AAD\uFE00",xb="\u290C",bb="\u290E",wb="\u2772",kb="{",Ab="[",Sb="\u298B",Cb="\u298F",Nb="\u298D",Mb="\u013D",Tb="\u013E",$b="\u013B",Eb="\u013C",Lb="\u2308",Ob="{",jb="\u041B",Pb="\u043B",Db="\u2936",qb="\u201C",Bb="\u201E",Vb="\u2967",Ib="\u294B",Rb="\u21B2",Hb="\u2264",Xb="\u2266",Yb="\u27E8",zb="\u21E4",Fb="\u2190",Ub="\u2190",Gb="\u21D0",Wb="\u21C6",Kb="\u21A2",Zb="\u2308",Qb="\u27E6",Jb="\u2961",_b="\u2959",tw="\u21C3",ew="\u230A",nw="\u21BD",iw="\u21BC",rw="\u21C7",ow="\u2194",sw="\u2194",lw="\u21D4",aw="\u21C6",cw="\u21CB",uw="\u21AD",hw="\u294E",fw="\u21A4",dw="\u22A3",mw="\u295A",gw="\u22CB",yw="\u29CF",vw="\u22B2",pw="\u22B4",xw="\u2951",bw="\u2960",ww="\u2958",kw="\u21BF",Aw="\u2952",Sw="\u21BC",Cw="\u2A8B",Nw="\u22DA",Mw="\u2264",Tw="\u2266",$w="\u2A7D",Ew="\u2AA8",Lw="\u2A7D",Ow="\u2A7F",jw="\u2A81",Pw="\u2A83",Dw="\u22DA\uFE00",qw="\u2A93",Bw="\u2A85",Vw="\u22D6",Iw="\u22DA",Rw="\u2A8B",Hw="\u22DA",Xw="\u2266",Yw="\u2276",zw="\u2276",Fw="\u2AA1",Uw="\u2272",Gw="\u2A7D",Ww="\u2272",Kw="\u297C",Zw="\u230A",Qw="\u{1D50F}",Jw="\u{1D529}",_w="\u2276",tk="\u2A91",ek="\u2962",nk="\u21BD",ik="\u21BC",rk="\u296A",ok="\u2584",sk="\u0409",lk="\u0459",ak="\u21C7",ck="\u226A",uk="\u22D8",hk="\u231E",fk="\u21DA",dk="\u296B",mk="\u25FA",gk="\u013F",yk="\u0140",vk="\u23B0",pk="\u23B0",xk="\u2A89",bk="\u2A89",wk="\u2A87",kk="\u2268",Ak="\u2A87",Sk="\u2268",Ck="\u22E6",Nk="\u27EC",Mk="\u21FD",Tk="\u27E6",$k="\u27F5",Ek="\u27F5",Lk="\u27F8",Ok="\u27F7",jk="\u27F7",Pk="\u27FA",Dk="\u27FC",qk="\u27F6",Bk="\u27F6",Vk="\u27F9",Ik="\u21AB",Rk="\u21AC",Hk="\u2985",Xk="\u{1D543}",Yk="\u{1D55D}",zk="\u2A2D",Fk="\u2A34",Uk="\u2217",Gk="_",Wk="\u2199",Kk="\u2198",Zk="\u25CA",Qk="\u25CA",Jk="\u29EB",_k="(",tA="\u2993",eA="\u21C6",nA="\u231F",iA="\u21CB",rA="\u296D",oA="\u200E",sA="\u22BF",lA="\u2039",aA="\u{1D4C1}",cA="\u2112",uA="\u21B0",hA="\u21B0",fA="\u2272",dA="\u2A8D",mA="\u2A8F",gA="[",yA="\u2018",vA="\u201A",pA="\u0141",xA="\u0142",bA="\u2AA6",wA="\u2A79",kA="<",AA="<",SA="\u226A",CA="\u22D6",NA="\u22CB",MA="\u22C9",TA="\u2976",$A="\u2A7B",EA="\u25C3",LA="\u22B4",OA="\u25C2",jA="\u2996",PA="\u294A",DA="\u2966",qA="\u2268\uFE00",BA="\u2268\uFE00",VA="\xAF",IA="\u2642",RA="\u2720",HA="\u2720",XA="\u21A6",YA="\u21A6",zA="\u21A7",FA="\u21A4",UA="\u21A5",GA="\u25AE",WA="\u2A29",KA="\u041C",ZA="\u043C",QA="\u2014",JA="\u223A",_A="\u2221",tS="\u205F",eS="\u2133",nS="\u{1D510}",iS="\u{1D52A}",rS="\u2127",oS="\xB5",sS="*",lS="\u2AF0",aS="\u2223",cS="\xB7",uS="\u229F",hS="\u2212",fS="\u2238",dS="\u2A2A",mS="\u2213",gS="\u2ADB",yS="\u2026",vS="\u2213",pS="\u22A7",xS="\u{1D544}",bS="\u{1D55E}",wS="\u2213",kS="\u{1D4C2}",AS="\u2133",SS="\u223E",CS="\u039C",NS="\u03BC",MS="\u22B8",TS="\u22B8",$S="\u2207",ES="\u0143",LS="\u0144",OS="\u2220\u20D2",jS="\u2249",PS="\u2A70\u0338",DS="\u224B\u0338",qS="\u0149",BS="\u2249",VS="\u266E",IS="\u2115",RS="\u266E",HS="\xA0",XS="\u224E\u0338",YS="\u224F\u0338",zS="\u2A43",FS="\u0147",US="\u0148",GS="\u0145",WS="\u0146",KS="\u2247",ZS="\u2A6D\u0338",QS="\u2A42",JS="\u041D",_S="\u043D",tC="\u2013",eC="\u2924",nC="\u2197",iC="\u21D7",rC="\u2197",oC="\u2260",sC="\u2250\u0338",lC="\u200B",aC="\u200B",cC="\u200B",uC="\u200B",hC="\u2262",fC="\u2928",dC="\u2242\u0338",mC="\u226B",gC="\u226A",yC=`
3
- `,vC="\u2204",pC="\u2204",xC="\u{1D511}",bC="\u{1D52B}",wC="\u2267\u0338",kC="\u2271",AC="\u2271",SC="\u2267\u0338",CC="\u2A7E\u0338",NC="\u2A7E\u0338",MC="\u22D9\u0338",TC="\u2275",$C="\u226B\u20D2",EC="\u226F",LC="\u226F",OC="\u226B\u0338",jC="\u21AE",PC="\u21CE",DC="\u2AF2",qC="\u220B",BC="\u22FC",VC="\u22FA",IC="\u220B",RC="\u040A",HC="\u045A",XC="\u219A",YC="\u21CD",zC="\u2025",FC="\u2266\u0338",UC="\u2270",GC="\u219A",WC="\u21CD",KC="\u21AE",ZC="\u21CE",QC="\u2270",JC="\u2266\u0338",_C="\u2A7D\u0338",tN="\u2A7D\u0338",eN="\u226E",nN="\u22D8\u0338",iN="\u2274",rN="\u226A\u20D2",oN="\u226E",sN="\u22EA",lN="\u22EC",aN="\u226A\u0338",cN="\u2224",uN="\u2060",hN="\xA0",fN="\u{1D55F}",dN="\u2115",mN="\u2AEC",gN="\xAC",yN="\u2262",vN="\u226D",pN="\u2226",xN="\u2209",bN="\u2260",wN="\u2242\u0338",kN="\u2204",AN="\u226F",SN="\u2271",CN="\u2267\u0338",NN="\u226B\u0338",MN="\u2279",TN="\u2A7E\u0338",$N="\u2275",EN="\u224E\u0338",LN="\u224F\u0338",ON="\u2209",jN="\u22F5\u0338",PN="\u22F9\u0338",DN="\u2209",qN="\u22F7",BN="\u22F6",VN="\u29CF\u0338",IN="\u22EA",RN="\u22EC",HN="\u226E",XN="\u2270",YN="\u2278",zN="\u226A\u0338",FN="\u2A7D\u0338",UN="\u2274",GN="\u2AA2\u0338",WN="\u2AA1\u0338",KN="\u220C",ZN="\u220C",QN="\u22FE",JN="\u22FD",_N="\u2280",tM="\u2AAF\u0338",eM="\u22E0",nM="\u220C",iM="\u29D0\u0338",rM="\u22EB",oM="\u22ED",sM="\u228F\u0338",lM="\u22E2",aM="\u2290\u0338",cM="\u22E3",uM="\u2282\u20D2",hM="\u2288",fM="\u2281",dM="\u2AB0\u0338",mM="\u22E1",gM="\u227F\u0338",yM="\u2283\u20D2",vM="\u2289",pM="\u2241",xM="\u2244",bM="\u2247",wM="\u2249",kM="\u2224",AM="\u2226",SM="\u2226",CM="\u2AFD\u20E5",NM="\u2202\u0338",MM="\u2A14",TM="\u2280",$M="\u22E0",EM="\u2280",LM="\u2AAF\u0338",OM="\u2AAF\u0338",jM="\u2933\u0338",PM="\u219B",DM="\u21CF",qM="\u219D\u0338",BM="\u219B",VM="\u21CF",IM="\u22EB",RM="\u22ED",HM="\u2281",XM="\u22E1",YM="\u2AB0\u0338",zM="\u{1D4A9}",FM="\u{1D4C3}",UM="\u2224",GM="\u2226",WM="\u2241",KM="\u2244",ZM="\u2244",QM="\u2224",JM="\u2226",_M="\u22E2",tT="\u22E3",eT="\u2284",nT="\u2AC5\u0338",iT="\u2288",rT="\u2282\u20D2",oT="\u2288",sT="\u2AC5\u0338",lT="\u2281",aT="\u2AB0\u0338",cT="\u2285",uT="\u2AC6\u0338",hT="\u2289",fT="\u2283\u20D2",dT="\u2289",mT="\u2AC6\u0338",gT="\u2279",yT="\xD1",vT="\xF1",pT="\u2278",xT="\u22EA",bT="\u22EC",wT="\u22EB",kT="\u22ED",AT="\u039D",ST="\u03BD",CT="#",NT="\u2116",MT="\u2007",TT="\u224D\u20D2",$T="\u22AC",ET="\u22AD",LT="\u22AE",OT="\u22AF",jT="\u2265\u20D2",PT=">\u20D2",DT="\u2904",qT="\u29DE",BT="\u2902",VT="\u2264\u20D2",IT="<\u20D2",RT="\u22B4\u20D2",HT="\u2903",XT="\u22B5\u20D2",YT="\u223C\u20D2",zT="\u2923",FT="\u2196",UT="\u21D6",GT="\u2196",WT="\u2927",KT="\xD3",ZT="\xF3",QT="\u229B",JT="\xD4",_T="\xF4",t$="\u229A",e$="\u041E",n$="\u043E",i$="\u229D",r$="\u0150",o$="\u0151",s$="\u2A38",l$="\u2299",a$="\u29BC",c$="\u0152",u$="\u0153",h$="\u29BF",f$="\u{1D512}",d$="\u{1D52C}",m$="\u02DB",g$="\xD2",y$="\xF2",v$="\u29C1",p$="\u29B5",x$="\u03A9",b$="\u222E",w$="\u21BA",k$="\u29BE",A$="\u29BB",S$="\u203E",C$="\u29C0",N$="\u014C",M$="\u014D",T$="\u03A9",$$="\u03C9",E$="\u039F",L$="\u03BF",O$="\u29B6",j$="\u2296",P$="\u{1D546}",D$="\u{1D560}",q$="\u29B7",B$="\u201C",V$="\u2018",I$="\u29B9",R$="\u2295",H$="\u21BB",X$="\u2A54",Y$="\u2228",z$="\u2A5D",F$="\u2134",U$="\u2134",G$="\xAA",W$="\xBA",K$="\u22B6",Z$="\u2A56",Q$="\u2A57",J$="\u2A5B",_$="\u24C8",tE="\u{1D4AA}",eE="\u2134",nE="\xD8",iE="\xF8",rE="\u2298",oE="\xD5",sE="\xF5",lE="\u2A36",aE="\u2A37",cE="\u2297",uE="\xD6",hE="\xF6",fE="\u233D",dE="\u203E",mE="\u23DE",gE="\u23B4",yE="\u23DC",vE="\xB6",pE="\u2225",xE="\u2225",bE="\u2AF3",wE="\u2AFD",kE="\u2202",AE="\u2202",SE="\u041F",CE="\u043F",NE="%",ME=".",TE="\u2030",$E="\u22A5",EE="\u2031",LE="\u{1D513}",OE="\u{1D52D}",jE="\u03A6",PE="\u03C6",DE="\u03D5",qE="\u2133",BE="\u260E",VE="\u03A0",IE="\u03C0",RE="\u22D4",HE="\u03D6",XE="\u210F",YE="\u210E",zE="\u210F",FE="\u2A23",UE="\u229E",GE="\u2A22",WE="+",KE="\u2214",ZE="\u2A25",QE="\u2A72",JE="\xB1",_E="\xB1",tL="\u2A26",eL="\u2A27",nL="\xB1",iL="\u210C",rL="\u2A15",oL="\u{1D561}",sL="\u2119",lL="\xA3",aL="\u2AB7",cL="\u2ABB",uL="\u227A",hL="\u227C",fL="\u2AB7",dL="\u227A",mL="\u227C",gL="\u227A",yL="\u2AAF",vL="\u227C",pL="\u227E",xL="\u2AAF",bL="\u2AB9",wL="\u2AB5",kL="\u22E8",AL="\u2AAF",SL="\u2AB3",CL="\u227E",NL="\u2032",ML="\u2033",TL="\u2119",$L="\u2AB9",EL="\u2AB5",LL="\u22E8",OL="\u220F",jL="\u220F",PL="\u232E",DL="\u2312",qL="\u2313",BL="\u221D",VL="\u221D",IL="\u2237",RL="\u221D",HL="\u227E",XL="\u22B0",YL="\u{1D4AB}",zL="\u{1D4C5}",FL="\u03A8",UL="\u03C8",GL="\u2008",WL="\u{1D514}",KL="\u{1D52E}",ZL="\u2A0C",QL="\u{1D562}",JL="\u211A",_L="\u2057",tO="\u{1D4AC}",eO="\u{1D4C6}",nO="\u210D",iO="\u2A16",rO="?",oO="\u225F",sO='"',lO='"',aO="\u21DB",cO="\u223D\u0331",uO="\u0154",hO="\u0155",fO="\u221A",dO="\u29B3",mO="\u27E9",gO="\u27EB",yO="\u2992",vO="\u29A5",pO="\u27E9",xO="\xBB",bO="\u2975",wO="\u21E5",kO="\u2920",AO="\u2933",SO="\u2192",CO="\u21A0",NO="\u21D2",MO="\u291E",TO="\u21AA",$O="\u21AC",EO="\u2945",LO="\u2974",OO="\u2916",jO="\u21A3",PO="\u219D",DO="\u291A",qO="\u291C",BO="\u2236",VO="\u211A",IO="\u290D",RO="\u290F",HO="\u2910",XO="\u2773",YO="}",zO="]",FO="\u298C",UO="\u298E",GO="\u2990",WO="\u0158",KO="\u0159",ZO="\u0156",QO="\u0157",JO="\u2309",_O="}",tj="\u0420",ej="\u0440",nj="\u2937",ij="\u2969",rj="\u201D",oj="\u201D",sj="\u21B3",lj="\u211C",aj="\u211B",cj="\u211C",uj="\u211D",hj="\u211C",fj="\u25AD",dj="\xAE",mj="\xAE",gj="\u220B",yj="\u21CB",vj="\u296F",pj="\u297D",xj="\u230B",bj="\u{1D52F}",wj="\u211C",kj="\u2964",Aj="\u21C1",Sj="\u21C0",Cj="\u296C",Nj="\u03A1",Mj="\u03C1",Tj="\u03F1",$j="\u27E9",Ej="\u21E5",Lj="\u2192",Oj="\u2192",jj="\u21D2",Pj="\u21C4",Dj="\u21A3",qj="\u2309",Bj="\u27E7",Vj="\u295D",Ij="\u2955",Rj="\u21C2",Hj="\u230B",Xj="\u21C1",Yj="\u21C0",zj="\u21C4",Fj="\u21CC",Uj="\u21C9",Gj="\u219D",Wj="\u21A6",Kj="\u22A2",Zj="\u295B",Qj="\u22CC",Jj="\u29D0",_j="\u22B3",tP="\u22B5",eP="\u294F",nP="\u295C",iP="\u2954",rP="\u21BE",oP="\u2953",sP="\u21C0",lP="\u02DA",aP="\u2253",cP="\u21C4",uP="\u21CC",hP="\u200F",fP="\u23B1",dP="\u23B1",mP="\u2AEE",gP="\u27ED",yP="\u21FE",vP="\u27E7",pP="\u2986",xP="\u{1D563}",bP="\u211D",wP="\u2A2E",kP="\u2A35",AP="\u2970",SP=")",CP="\u2994",NP="\u2A12",MP="\u21C9",TP="\u21DB",$P="\u203A",EP="\u{1D4C7}",LP="\u211B",OP="\u21B1",jP="\u21B1",PP="]",DP="\u2019",qP="\u2019",BP="\u22CC",VP="\u22CA",IP="\u25B9",RP="\u22B5",HP="\u25B8",XP="\u29CE",YP="\u29F4",zP="\u2968",FP="\u211E",UP="\u015A",GP="\u015B",WP="\u201A",KP="\u2AB8",ZP="\u0160",QP="\u0161",JP="\u2ABC",_P="\u227B",tD="\u227D",eD="\u2AB0",nD="\u2AB4",iD="\u015E",rD="\u015F",oD="\u015C",sD="\u015D",lD="\u2ABA",aD="\u2AB6",cD="\u22E9",uD="\u2A13",hD="\u227F",fD="\u0421",dD="\u0441",mD="\u22A1",gD="\u22C5",yD="\u2A66",vD="\u2925",pD="\u2198",xD="\u21D8",bD="\u2198",wD="\xA7",kD=";",AD="\u2929",SD="\u2216",CD="\u2216",ND="\u2736",MD="\u{1D516}",TD="\u{1D530}",$D="\u2322",ED="\u266F",LD="\u0429",OD="\u0449",jD="\u0428",PD="\u0448",DD="\u2193",qD="\u2190",BD="\u2223",VD="\u2225",ID="\u2192",RD="\u2191",HD="\xAD",XD="\u03A3",YD="\u03C3",zD="\u03C2",FD="\u03C2",UD="\u223C",GD="\u2A6A",WD="\u2243",KD="\u2243",ZD="\u2A9E",QD="\u2AA0",JD="\u2A9D",_D="\u2A9F",tq="\u2246",eq="\u2A24",nq="\u2972",iq="\u2190",rq="\u2218",oq="\u2216",sq="\u2A33",lq="\u29E4",aq="\u2223",cq="\u2323",uq="\u2AAA",hq="\u2AAC",fq="\u2AAC\uFE00",dq="\u042C",mq="\u044C",gq="\u233F",yq="\u29C4",vq="/",pq="\u{1D54A}",xq="\u{1D564}",bq="\u2660",wq="\u2660",kq="\u2225",Aq="\u2293",Sq="\u2293\uFE00",Cq="\u2294",Nq="\u2294\uFE00",Mq="\u221A",Tq="\u228F",$q="\u2291",Eq="\u228F",Lq="\u2291",Oq="\u2290",jq="\u2292",Pq="\u2290",Dq="\u2292",qq="\u25A1",Bq="\u25A1",Vq="\u2293",Iq="\u228F",Rq="\u2291",Hq="\u2290",Xq="\u2292",Yq="\u2294",zq="\u25AA",Fq="\u25A1",Uq="\u25AA",Gq="\u2192",Wq="\u{1D4AE}",Kq="\u{1D4C8}",Zq="\u2216",Qq="\u2323",Jq="\u22C6",_q="\u22C6",tB="\u2606",eB="\u2605",nB="\u03F5",iB="\u03D5",rB="\xAF",oB="\u2282",sB="\u22D0",lB="\u2ABD",aB="\u2AC5",cB="\u2286",uB="\u2AC3",hB="\u2AC1",fB="\u2ACB",dB="\u228A",mB="\u2ABF",gB="\u2979",yB="\u2282",vB="\u22D0",pB="\u2286",xB="\u2AC5",bB="\u2286",wB="\u228A",kB="\u2ACB",AB="\u2AC7",SB="\u2AD5",CB="\u2AD3",NB="\u2AB8",MB="\u227B",TB="\u227D",$B="\u227B",EB="\u2AB0",LB="\u227D",OB="\u227F",jB="\u2AB0",PB="\u2ABA",DB="\u2AB6",qB="\u22E9",BB="\u227F",VB="\u220B",IB="\u2211",RB="\u2211",HB="\u266A",XB="\xB9",YB="\xB2",zB="\xB3",FB="\u2283",UB="\u22D1",GB="\u2ABE",WB="\u2AD8",KB="\u2AC6",ZB="\u2287",QB="\u2AC4",JB="\u2283",_B="\u2287",tV="\u27C9",eV="\u2AD7",nV="\u297B",iV="\u2AC2",rV="\u2ACC",oV="\u228B",sV="\u2AC0",lV="\u2283",aV="\u22D1",cV="\u2287",uV="\u2AC6",hV="\u228B",fV="\u2ACC",dV="\u2AC8",mV="\u2AD4",gV="\u2AD6",yV="\u2926",vV="\u2199",pV="\u21D9",xV="\u2199",bV="\u292A",wV="\xDF",kV=" ",AV="\u2316",SV="\u03A4",CV="\u03C4",NV="\u23B4",MV="\u0164",TV="\u0165",$V="\u0162",EV="\u0163",LV="\u0422",OV="\u0442",jV="\u20DB",PV="\u2315",DV="\u{1D517}",qV="\u{1D531}",BV="\u2234",VV="\u2234",IV="\u2234",RV="\u0398",HV="\u03B8",XV="\u03D1",YV="\u03D1",zV="\u2248",FV="\u223C",UV="\u205F\u200A",GV="\u2009",WV="\u2009",KV="\u2248",ZV="\u223C",QV="\xDE",JV="\xFE",_V="\u02DC",tI="\u223C",eI="\u2243",nI="\u2245",iI="\u2248",rI="\u2A31",oI="\u22A0",sI="\xD7",lI="\u2A30",aI="\u222D",cI="\u2928",uI="\u2336",hI="\u2AF1",fI="\u22A4",dI="\u{1D54B}",mI="\u{1D565}",gI="\u2ADA",yI="\u2929",vI="\u2034",pI="\u2122",xI="\u2122",bI="\u25B5",wI="\u25BF",kI="\u25C3",AI="\u22B4",SI="\u225C",CI="\u25B9",NI="\u22B5",MI="\u25EC",TI="\u225C",$I="\u2A3A",EI="\u20DB",LI="\u2A39",OI="\u29CD",jI="\u2A3B",PI="\u23E2",DI="\u{1D4AF}",qI="\u{1D4C9}",BI="\u0426",VI="\u0446",II="\u040B",RI="\u045B",HI="\u0166",XI="\u0167",YI="\u226C",zI="\u219E",FI="\u21A0",UI="\xDA",GI="\xFA",WI="\u2191",KI="\u219F",ZI="\u21D1",QI="\u2949",JI="\u040E",_I="\u045E",tR="\u016C",eR="\u016D",nR="\xDB",iR="\xFB",rR="\u0423",oR="\u0443",sR="\u21C5",lR="\u0170",aR="\u0171",cR="\u296E",uR="\u297E",hR="\u{1D518}",fR="\u{1D532}",dR="\xD9",mR="\xF9",gR="\u2963",yR="\u21BF",vR="\u21BE",pR="\u2580",xR="\u231C",bR="\u231C",wR="\u230F",kR="\u25F8",AR="\u016A",SR="\u016B",CR="\xA8",NR="_",MR="\u23DF",TR="\u23B5",$R="\u23DD",ER="\u22C3",LR="\u228E",OR="\u0172",jR="\u0173",PR="\u{1D54C}",DR="\u{1D566}",qR="\u2912",BR="\u2191",VR="\u2191",IR="\u21D1",RR="\u21C5",HR="\u2195",XR="\u2195",YR="\u21D5",zR="\u296E",FR="\u21BF",UR="\u21BE",GR="\u228E",WR="\u2196",KR="\u2197",ZR="\u03C5",QR="\u03D2",JR="\u03D2",_R="\u03A5",tH="\u03C5",eH="\u21A5",nH="\u22A5",iH="\u21C8",rH="\u231D",oH="\u231D",sH="\u230E",lH="\u016E",aH="\u016F",cH="\u25F9",uH="\u{1D4B0}",hH="\u{1D4CA}",fH="\u22F0",dH="\u0168",mH="\u0169",gH="\u25B5",yH="\u25B4",vH="\u21C8",pH="\xDC",xH="\xFC",bH="\u29A7",wH="\u299C",kH="\u03F5",AH="\u03F0",SH="\u2205",CH="\u03D5",NH="\u03D6",MH="\u221D",TH="\u2195",$H="\u21D5",EH="\u03F1",LH="\u03C2",OH="\u228A\uFE00",jH="\u2ACB\uFE00",PH="\u228B\uFE00",DH="\u2ACC\uFE00",qH="\u03D1",BH="\u22B2",VH="\u22B3",IH="\u2AE8",RH="\u2AEB",HH="\u2AE9",XH="\u0412",YH="\u0432",zH="\u22A2",FH="\u22A8",UH="\u22A9",GH="\u22AB",WH="\u2AE6",KH="\u22BB",ZH="\u2228",QH="\u22C1",JH="\u225A",_H="\u22EE",tX="|",eX="\u2016",nX="|",iX="\u2016",rX="\u2223",oX="|",sX="\u2758",lX="\u2240",aX="\u200A",cX="\u{1D519}",uX="\u{1D533}",hX="\u22B2",fX="\u2282\u20D2",dX="\u2283\u20D2",mX="\u{1D54D}",gX="\u{1D567}",yX="\u221D",vX="\u22B3",pX="\u{1D4B1}",xX="\u{1D4CB}",bX="\u2ACB\uFE00",wX="\u228A\uFE00",kX="\u2ACC\uFE00",AX="\u228B\uFE00",SX="\u22AA",CX="\u299A",NX="\u0174",MX="\u0175",TX="\u2A5F",$X="\u2227",EX="\u22C0",LX="\u2259",OX="\u2118",jX="\u{1D51A}",PX="\u{1D534}",DX="\u{1D54E}",qX="\u{1D568}",BX="\u2118",VX="\u2240",IX="\u2240",RX="\u{1D4B2}",HX="\u{1D4CC}",XX="\u22C2",YX="\u25EF",zX="\u22C3",FX="\u25BD",UX="\u{1D51B}",GX="\u{1D535}",WX="\u27F7",KX="\u27FA",ZX="\u039E",QX="\u03BE",JX="\u27F5",_X="\u27F8",tY="\u27FC",eY="\u22FB",nY="\u2A00",iY="\u{1D54F}",rY="\u{1D569}",oY="\u2A01",sY="\u2A02",lY="\u27F6",aY="\u27F9",cY="\u{1D4B3}",uY="\u{1D4CD}",hY="\u2A06",fY="\u2A04",dY="\u25B3",mY="\u22C1",gY="\u22C0",yY="\xDD",vY="\xFD",pY="\u042F",xY="\u044F",bY="\u0176",wY="\u0177",kY="\u042B",AY="\u044B",SY="\xA5",CY="\u{1D51C}",NY="\u{1D536}",MY="\u0407",TY="\u0457",$Y="\u{1D550}",EY="\u{1D56A}",LY="\u{1D4B4}",OY="\u{1D4CE}",jY="\u042E",PY="\u044E",DY="\xFF",qY="\u0178",BY="\u0179",VY="\u017A",IY="\u017D",RY="\u017E",HY="\u0417",XY="\u0437",YY="\u017B",zY="\u017C",FY="\u2128",UY="\u200B",GY="\u0396",WY="\u03B6",KY="\u{1D537}",ZY="\u2128",QY="\u0416",JY="\u0436",_Y="\u21DD",tz="\u{1D56B}",ez="\u2124",nz="\u{1D4B5}",iz="\u{1D4CF}",rz="\u200D",oz="\u200C",Bs={Aacute:X9,aacute:Y9,Abreve:z9,abreve:F9,ac:U9,acd:G9,acE:W9,Acirc:K9,acirc:Z9,acute:Q9,Acy:J9,acy:_9,AElig:t8,aelig:e8,af:n8,Afr:i8,afr:r8,Agrave:o8,agrave:s8,alefsym:l8,aleph:a8,Alpha:c8,alpha:u8,Amacr:h8,amacr:f8,amalg:d8,amp:m8,AMP:g8,andand:y8,And:v8,and:p8,andd:x8,andslope:b8,andv:w8,ang:k8,ange:A8,angle:S8,angmsdaa:C8,angmsdab:N8,angmsdac:M8,angmsdad:T8,angmsdae:$8,angmsdaf:E8,angmsdag:L8,angmsdah:O8,angmsd:j8,angrt:P8,angrtvb:D8,angrtvbd:q8,angsph:B8,angst:V8,angzarr:I8,Aogon:R8,aogon:H8,Aopf:X8,aopf:Y8,apacir:z8,ap:F8,apE:U8,ape:G8,apid:W8,apos:K8,ApplyFunction:Z8,approx:Q8,approxeq:J8,Aring:_8,aring:t5,Ascr:e5,ascr:n5,Assign:i5,ast:r5,asymp:o5,asympeq:s5,Atilde:l5,atilde:a5,Auml:c5,auml:u5,awconint:h5,awint:f5,backcong:d5,backepsilon:m5,backprime:g5,backsim:y5,backsimeq:v5,Backslash:p5,Barv:x5,barvee:b5,barwed:w5,Barwed:k5,barwedge:A5,bbrk:S5,bbrktbrk:C5,bcong:N5,Bcy:M5,bcy:T5,bdquo:$5,becaus:E5,because:L5,Because:O5,bemptyv:j5,bepsi:P5,bernou:D5,Bernoullis:q5,Beta:B5,beta:V5,beth:I5,between:R5,Bfr:H5,bfr:X5,bigcap:Y5,bigcirc:z5,bigcup:F5,bigodot:U5,bigoplus:G5,bigotimes:W5,bigsqcup:K5,bigstar:Z5,bigtriangledown:Q5,bigtriangleup:J5,biguplus:_5,bigvee:t6,bigwedge:e6,bkarow:n6,blacklozenge:i6,blacksquare:r6,blacktriangle:o6,blacktriangledown:s6,blacktriangleleft:l6,blacktriangleright:a6,blank:c6,blk12:u6,blk14:h6,blk34:f6,block:d6,bne:m6,bnequiv:g6,bNot:y6,bnot:v6,Bopf:p6,bopf:x6,bot:b6,bottom:w6,bowtie:k6,boxbox:A6,boxdl:S6,boxdL:C6,boxDl:N6,boxDL:M6,boxdr:T6,boxdR:$6,boxDr:E6,boxDR:L6,boxh:O6,boxH:j6,boxhd:P6,boxHd:D6,boxhD:q6,boxHD:B6,boxhu:V6,boxHu:I6,boxhU:R6,boxHU:H6,boxminus:X6,boxplus:Y6,boxtimes:z6,boxul:F6,boxuL:U6,boxUl:G6,boxUL:W6,boxur:K6,boxuR:Z6,boxUr:Q6,boxUR:J6,boxv:_6,boxV:th,boxvh:eh,boxvH:nh,boxVh:ih,boxVH:rh,boxvl:oh,boxvL:sh,boxVl:lh,boxVL:ah,boxvr:ch,boxvR:uh,boxVr:hh,boxVR:fh,bprime:dh,breve:mh,Breve:gh,brvbar:yh,bscr:vh,Bscr:ph,bsemi:xh,bsim:bh,bsime:wh,bsolb:kh,bsol:Ah,bsolhsub:Sh,bull:Ch,bullet:Nh,bump:Mh,bumpE:Th,bumpe:$h,Bumpeq:Eh,bumpeq:Lh,Cacute:Oh,cacute:jh,capand:Ph,capbrcup:Dh,capcap:qh,cap:Bh,Cap:Vh,capcup:Ih,capdot:Rh,CapitalDifferentialD:Hh,caps:Xh,caret:Yh,caron:zh,Cayleys:Fh,ccaps:Uh,Ccaron:Gh,ccaron:Wh,Ccedil:Kh,ccedil:Zh,Ccirc:Qh,ccirc:Jh,Cconint:_h,ccups:t7,ccupssm:e7,Cdot:n7,cdot:i7,cedil:r7,Cedilla:o7,cemptyv:s7,cent:l7,centerdot:a7,CenterDot:c7,cfr:u7,Cfr:h7,CHcy:f7,chcy:d7,check:m7,checkmark:g7,Chi:y7,chi:v7,circ:p7,circeq:x7,circlearrowleft:b7,circlearrowright:w7,circledast:k7,circledcirc:A7,circleddash:S7,CircleDot:C7,circledR:N7,circledS:M7,CircleMinus:T7,CirclePlus:$7,CircleTimes:E7,cir:L7,cirE:O7,cire:j7,cirfnint:P7,cirmid:D7,cirscir:q7,ClockwiseContourIntegral:B7,CloseCurlyDoubleQuote:V7,CloseCurlyQuote:I7,clubs:R7,clubsuit:H7,colon:X7,Colon:Y7,Colone:z7,colone:F7,coloneq:U7,comma:G7,commat:W7,comp:K7,compfn:Z7,complement:Q7,complexes:J7,cong:_7,congdot:tf,Congruent:ef,conint:nf,Conint:rf,ContourIntegral:of,copf:sf,Copf:lf,coprod:af,Coproduct:cf,copy:uf,COPY:hf,copysr:ff,CounterClockwiseContourIntegral:df,crarr:mf,cross:gf,Cross:yf,Cscr:vf,cscr:pf,csub:xf,csube:bf,csup:wf,csupe:kf,ctdot:Af,cudarrl:Sf,cudarrr:Cf,cuepr:Nf,cuesc:Mf,cularr:Tf,cularrp:$f,cupbrcap:Ef,cupcap:Lf,CupCap:Of,cup:jf,Cup:Pf,cupcup:Df,cupdot:qf,cupor:Bf,cups:Vf,curarr:If,curarrm:Rf,curlyeqprec:Hf,curlyeqsucc:Xf,curlyvee:Yf,curlywedge:zf,curren:Ff,curvearrowleft:Uf,curvearrowright:Gf,cuvee:Wf,cuwed:Kf,cwconint:Zf,cwint:Qf,cylcty:Jf,dagger:_f,Dagger:t3,daleth:e3,darr:n3,Darr:i3,dArr:r3,dash:o3,Dashv:s3,dashv:l3,dbkarow:a3,dblac:c3,Dcaron:u3,dcaron:h3,Dcy:f3,dcy:d3,ddagger:m3,ddarr:g3,DD:y3,dd:v3,DDotrahd:p3,ddotseq:x3,deg:b3,Del:w3,Delta:k3,delta:A3,demptyv:S3,dfisht:C3,Dfr:N3,dfr:M3,dHar:T3,dharl:$3,dharr:E3,DiacriticalAcute:L3,DiacriticalDot:O3,DiacriticalDoubleAcute:j3,DiacriticalGrave:P3,DiacriticalTilde:D3,diam:q3,diamond:B3,Diamond:V3,diamondsuit:I3,diams:R3,die:H3,DifferentialD:X3,digamma:Y3,disin:z3,div:F3,divide:U3,divideontimes:G3,divonx:W3,DJcy:K3,djcy:Z3,dlcorn:Q3,dlcrop:J3,dollar:_3,Dopf:td,dopf:ed,Dot:nd,dot:id,DotDot:rd,doteq:od,doteqdot:sd,DotEqual:ld,dotminus:ad,dotplus:cd,dotsquare:ud,doublebarwedge:hd,DoubleContourIntegral:fd,DoubleDot:dd,DoubleDownArrow:md,DoubleLeftArrow:gd,DoubleLeftRightArrow:yd,DoubleLeftTee:vd,DoubleLongLeftArrow:pd,DoubleLongLeftRightArrow:xd,DoubleLongRightArrow:bd,DoubleRightArrow:wd,DoubleRightTee:kd,DoubleUpArrow:Ad,DoubleUpDownArrow:Sd,DoubleVerticalBar:Cd,DownArrowBar:Nd,downarrow:Md,DownArrow:Td,Downarrow:$d,DownArrowUpArrow:Ed,DownBreve:Ld,downdownarrows:Od,downharpoonleft:jd,downharpoonright:Pd,DownLeftRightVector:Dd,DownLeftTeeVector:qd,DownLeftVectorBar:Bd,DownLeftVector:Vd,DownRightTeeVector:Id,DownRightVectorBar:Rd,DownRightVector:Hd,DownTeeArrow:Xd,DownTee:Yd,drbkarow:zd,drcorn:Fd,drcrop:Ud,Dscr:Gd,dscr:Wd,DScy:Kd,dscy:Zd,dsol:Qd,Dstrok:Jd,dstrok:_d,dtdot:tm,dtri:em,dtrif:nm,duarr:im,duhar:rm,dwangle:om,DZcy:sm,dzcy:lm,dzigrarr:am,Eacute:cm,eacute:um,easter:hm,Ecaron:fm,ecaron:dm,Ecirc:mm,ecirc:gm,ecir:ym,ecolon:vm,Ecy:pm,ecy:xm,eDDot:bm,Edot:wm,edot:km,eDot:Am,ee:Sm,efDot:Cm,Efr:Nm,efr:Mm,eg:Tm,Egrave:$m,egrave:Em,egs:Lm,egsdot:Om,el:jm,Element:Pm,elinters:Dm,ell:qm,els:Bm,elsdot:Vm,Emacr:Im,emacr:Rm,empty:Hm,emptyset:Xm,EmptySmallSquare:Ym,emptyv:zm,EmptyVerySmallSquare:Fm,emsp13:Um,emsp14:Gm,emsp:Wm,ENG:Km,eng:Zm,ensp:Qm,Eogon:Jm,eogon:_m,Eopf:t4,eopf:e4,epar:n4,eparsl:i4,eplus:r4,epsi:o4,Epsilon:s4,epsilon:l4,epsiv:a4,eqcirc:c4,eqcolon:u4,eqsim:h4,eqslantgtr:f4,eqslantless:d4,Equal:m4,equals:g4,EqualTilde:y4,equest:v4,Equilibrium:p4,equiv:x4,equivDD:b4,eqvparsl:w4,erarr:k4,erDot:A4,escr:S4,Escr:C4,esdot:N4,Esim:M4,esim:T4,Eta:$4,eta:E4,ETH:L4,eth:O4,Euml:j4,euml:P4,euro:D4,excl:q4,exist:B4,Exists:V4,expectation:I4,exponentiale:R4,ExponentialE:H4,fallingdotseq:X4,Fcy:Y4,fcy:z4,female:F4,ffilig:U4,fflig:G4,ffllig:W4,Ffr:K4,ffr:Z4,filig:Q4,FilledSmallSquare:J4,FilledVerySmallSquare:_4,fjlig:tg,flat:eg,fllig:ng,fltns:ig,fnof:rg,Fopf:og,fopf:sg,forall:lg,ForAll:ag,fork:cg,forkv:ug,Fouriertrf:hg,fpartint:fg,frac12:dg,frac13:mg,frac14:gg,frac15:yg,frac16:vg,frac18:pg,frac23:xg,frac25:bg,frac34:wg,frac35:kg,frac38:Ag,frac45:Sg,frac56:Cg,frac58:Ng,frac78:Mg,frasl:Tg,frown:$g,fscr:Eg,Fscr:Lg,gacute:Og,Gamma:jg,gamma:Pg,Gammad:Dg,gammad:qg,gap:Bg,Gbreve:Vg,gbreve:Ig,Gcedil:Rg,Gcirc:Hg,gcirc:Xg,Gcy:Yg,gcy:zg,Gdot:Fg,gdot:Ug,ge:Gg,gE:Wg,gEl:Kg,gel:Zg,geq:Qg,geqq:Jg,geqslant:_g,gescc:ty,ges:ey,gesdot:ny,gesdoto:iy,gesdotol:ry,gesl:oy,gesles:sy,Gfr:ly,gfr:ay,gg:cy,Gg:uy,ggg:hy,gimel:fy,GJcy:dy,gjcy:my,gla:gy,gl:yy,glE:vy,glj:py,gnap:xy,gnapprox:by,gne:wy,gnE:ky,gneq:Ay,gneqq:Sy,gnsim:Cy,Gopf:Ny,gopf:My,grave:Ty,GreaterEqual:$y,GreaterEqualLess:Ey,GreaterFullEqual:Ly,GreaterGreater:Oy,GreaterLess:jy,GreaterSlantEqual:Py,GreaterTilde:Dy,Gscr:qy,gscr:By,gsim:Vy,gsime:Iy,gsiml:Ry,gtcc:Hy,gtcir:Xy,gt:Yy,GT:zy,Gt:Fy,gtdot:Uy,gtlPar:Gy,gtquest:Wy,gtrapprox:Ky,gtrarr:Zy,gtrdot:Qy,gtreqless:Jy,gtreqqless:_y,gtrless:tv,gtrsim:ev,gvertneqq:nv,gvnE:iv,Hacek:rv,hairsp:ov,half:sv,hamilt:lv,HARDcy:av,hardcy:cv,harrcir:uv,harr:hv,hArr:fv,harrw:dv,Hat:mv,hbar:gv,Hcirc:yv,hcirc:vv,hearts:pv,heartsuit:xv,hellip:bv,hercon:wv,hfr:kv,Hfr:Av,HilbertSpace:Sv,hksearow:Cv,hkswarow:Nv,hoarr:Mv,homtht:Tv,hookleftarrow:$v,hookrightarrow:Ev,hopf:Lv,Hopf:Ov,horbar:jv,HorizontalLine:Pv,hscr:Dv,Hscr:qv,hslash:Bv,Hstrok:Vv,hstrok:Iv,HumpDownHump:Rv,HumpEqual:Hv,hybull:Xv,hyphen:Yv,Iacute:zv,iacute:Fv,ic:Uv,Icirc:Gv,icirc:Wv,Icy:Kv,icy:Zv,Idot:Qv,IEcy:Jv,iecy:_v,iexcl:tp,iff:ep,ifr:np,Ifr:ip,Igrave:rp,igrave:op,ii:sp,iiiint:lp,iiint:ap,iinfin:cp,iiota:up,IJlig:hp,ijlig:fp,Imacr:dp,imacr:mp,image:gp,ImaginaryI:yp,imagline:vp,imagpart:pp,imath:xp,Im:bp,imof:wp,imped:kp,Implies:Ap,incare:Sp,in:"\u2208",infin:Cp,infintie:Np,inodot:Mp,intcal:Tp,int:$p,Int:Ep,integers:Lp,Integral:Op,intercal:jp,Intersection:Pp,intlarhk:Dp,intprod:qp,InvisibleComma:Bp,InvisibleTimes:Vp,IOcy:Ip,iocy:Rp,Iogon:Hp,iogon:Xp,Iopf:Yp,iopf:zp,Iota:Fp,iota:Up,iprod:Gp,iquest:Wp,iscr:Kp,Iscr:Zp,isin:Qp,isindot:Jp,isinE:_p,isins:tx,isinsv:ex,isinv:nx,it:ix,Itilde:rx,itilde:ox,Iukcy:sx,iukcy:lx,Iuml:ax,iuml:cx,Jcirc:ux,jcirc:hx,Jcy:fx,jcy:dx,Jfr:mx,jfr:gx,jmath:yx,Jopf:vx,jopf:px,Jscr:xx,jscr:bx,Jsercy:wx,jsercy:kx,Jukcy:Ax,jukcy:Sx,Kappa:Cx,kappa:Nx,kappav:Mx,Kcedil:Tx,kcedil:$x,Kcy:Ex,kcy:Lx,Kfr:Ox,kfr:jx,kgreen:Px,KHcy:Dx,khcy:qx,KJcy:Bx,kjcy:Vx,Kopf:Ix,kopf:Rx,Kscr:Hx,kscr:Xx,lAarr:Yx,Lacute:zx,lacute:Fx,laemptyv:Ux,lagran:Gx,Lambda:Wx,lambda:Kx,lang:Zx,Lang:Qx,langd:Jx,langle:_x,lap:tb,Laplacetrf:eb,laquo:nb,larrb:ib,larrbfs:rb,larr:ob,Larr:sb,lArr:lb,larrfs:ab,larrhk:cb,larrlp:ub,larrpl:hb,larrsim:fb,larrtl:db,latail:mb,lAtail:gb,lat:yb,late:vb,lates:pb,lbarr:xb,lBarr:bb,lbbrk:wb,lbrace:kb,lbrack:Ab,lbrke:Sb,lbrksld:Cb,lbrkslu:Nb,Lcaron:Mb,lcaron:Tb,Lcedil:$b,lcedil:Eb,lceil:Lb,lcub:Ob,Lcy:jb,lcy:Pb,ldca:Db,ldquo:qb,ldquor:Bb,ldrdhar:Vb,ldrushar:Ib,ldsh:Rb,le:Hb,lE:Xb,LeftAngleBracket:Yb,LeftArrowBar:zb,leftarrow:Fb,LeftArrow:Ub,Leftarrow:Gb,LeftArrowRightArrow:Wb,leftarrowtail:Kb,LeftCeiling:Zb,LeftDoubleBracket:Qb,LeftDownTeeVector:Jb,LeftDownVectorBar:_b,LeftDownVector:tw,LeftFloor:ew,leftharpoondown:nw,leftharpoonup:iw,leftleftarrows:rw,leftrightarrow:ow,LeftRightArrow:sw,Leftrightarrow:lw,leftrightarrows:aw,leftrightharpoons:cw,leftrightsquigarrow:uw,LeftRightVector:hw,LeftTeeArrow:fw,LeftTee:dw,LeftTeeVector:mw,leftthreetimes:gw,LeftTriangleBar:yw,LeftTriangle:vw,LeftTriangleEqual:pw,LeftUpDownVector:xw,LeftUpTeeVector:bw,LeftUpVectorBar:ww,LeftUpVector:kw,LeftVectorBar:Aw,LeftVector:Sw,lEg:Cw,leg:Nw,leq:Mw,leqq:Tw,leqslant:$w,lescc:Ew,les:Lw,lesdot:Ow,lesdoto:jw,lesdotor:Pw,lesg:Dw,lesges:qw,lessapprox:Bw,lessdot:Vw,lesseqgtr:Iw,lesseqqgtr:Rw,LessEqualGreater:Hw,LessFullEqual:Xw,LessGreater:Yw,lessgtr:zw,LessLess:Fw,lesssim:Uw,LessSlantEqual:Gw,LessTilde:Ww,lfisht:Kw,lfloor:Zw,Lfr:Qw,lfr:Jw,lg:_w,lgE:tk,lHar:ek,lhard:nk,lharu:ik,lharul:rk,lhblk:ok,LJcy:sk,ljcy:lk,llarr:ak,ll:ck,Ll:uk,llcorner:hk,Lleftarrow:fk,llhard:dk,lltri:mk,Lmidot:gk,lmidot:yk,lmoustache:vk,lmoust:pk,lnap:xk,lnapprox:bk,lne:wk,lnE:kk,lneq:Ak,lneqq:Sk,lnsim:Ck,loang:Nk,loarr:Mk,lobrk:Tk,longleftarrow:$k,LongLeftArrow:Ek,Longleftarrow:Lk,longleftrightarrow:Ok,LongLeftRightArrow:jk,Longleftrightarrow:Pk,longmapsto:Dk,longrightarrow:qk,LongRightArrow:Bk,Longrightarrow:Vk,looparrowleft:Ik,looparrowright:Rk,lopar:Hk,Lopf:Xk,lopf:Yk,loplus:zk,lotimes:Fk,lowast:Uk,lowbar:Gk,LowerLeftArrow:Wk,LowerRightArrow:Kk,loz:Zk,lozenge:Qk,lozf:Jk,lpar:_k,lparlt:tA,lrarr:eA,lrcorner:nA,lrhar:iA,lrhard:rA,lrm:oA,lrtri:sA,lsaquo:lA,lscr:aA,Lscr:cA,lsh:uA,Lsh:hA,lsim:fA,lsime:dA,lsimg:mA,lsqb:gA,lsquo:yA,lsquor:vA,Lstrok:pA,lstrok:xA,ltcc:bA,ltcir:wA,lt:kA,LT:AA,Lt:SA,ltdot:CA,lthree:NA,ltimes:MA,ltlarr:TA,ltquest:$A,ltri:EA,ltrie:LA,ltrif:OA,ltrPar:jA,lurdshar:PA,luruhar:DA,lvertneqq:qA,lvnE:BA,macr:VA,male:IA,malt:RA,maltese:HA,Map:"\u2905",map:XA,mapsto:YA,mapstodown:zA,mapstoleft:FA,mapstoup:UA,marker:GA,mcomma:WA,Mcy:KA,mcy:ZA,mdash:QA,mDDot:JA,measuredangle:_A,MediumSpace:tS,Mellintrf:eS,Mfr:nS,mfr:iS,mho:rS,micro:oS,midast:sS,midcir:lS,mid:aS,middot:cS,minusb:uS,minus:hS,minusd:fS,minusdu:dS,MinusPlus:mS,mlcp:gS,mldr:yS,mnplus:vS,models:pS,Mopf:xS,mopf:bS,mp:wS,mscr:kS,Mscr:AS,mstpos:SS,Mu:CS,mu:NS,multimap:MS,mumap:TS,nabla:$S,Nacute:ES,nacute:LS,nang:OS,nap:jS,napE:PS,napid:DS,napos:qS,napprox:BS,natural:VS,naturals:IS,natur:RS,nbsp:HS,nbump:XS,nbumpe:YS,ncap:zS,Ncaron:FS,ncaron:US,Ncedil:GS,ncedil:WS,ncong:KS,ncongdot:ZS,ncup:QS,Ncy:JS,ncy:_S,ndash:tC,nearhk:eC,nearr:nC,neArr:iC,nearrow:rC,ne:oC,nedot:sC,NegativeMediumSpace:lC,NegativeThickSpace:aC,NegativeThinSpace:cC,NegativeVeryThinSpace:uC,nequiv:hC,nesear:fC,nesim:dC,NestedGreaterGreater:mC,NestedLessLess:gC,NewLine:yC,nexist:vC,nexists:pC,Nfr:xC,nfr:bC,ngE:wC,nge:kC,ngeq:AC,ngeqq:SC,ngeqslant:CC,nges:NC,nGg:MC,ngsim:TC,nGt:$C,ngt:EC,ngtr:LC,nGtv:OC,nharr:jC,nhArr:PC,nhpar:DC,ni:qC,nis:BC,nisd:VC,niv:IC,NJcy:RC,njcy:HC,nlarr:XC,nlArr:YC,nldr:zC,nlE:FC,nle:UC,nleftarrow:GC,nLeftarrow:WC,nleftrightarrow:KC,nLeftrightarrow:ZC,nleq:QC,nleqq:JC,nleqslant:_C,nles:tN,nless:eN,nLl:nN,nlsim:iN,nLt:rN,nlt:oN,nltri:sN,nltrie:lN,nLtv:aN,nmid:cN,NoBreak:uN,NonBreakingSpace:hN,nopf:fN,Nopf:dN,Not:mN,not:gN,NotCongruent:yN,NotCupCap:vN,NotDoubleVerticalBar:pN,NotElement:xN,NotEqual:bN,NotEqualTilde:wN,NotExists:kN,NotGreater:AN,NotGreaterEqual:SN,NotGreaterFullEqual:CN,NotGreaterGreater:NN,NotGreaterLess:MN,NotGreaterSlantEqual:TN,NotGreaterTilde:$N,NotHumpDownHump:EN,NotHumpEqual:LN,notin:ON,notindot:jN,notinE:PN,notinva:DN,notinvb:qN,notinvc:BN,NotLeftTriangleBar:VN,NotLeftTriangle:IN,NotLeftTriangleEqual:RN,NotLess:HN,NotLessEqual:XN,NotLessGreater:YN,NotLessLess:zN,NotLessSlantEqual:FN,NotLessTilde:UN,NotNestedGreaterGreater:GN,NotNestedLessLess:WN,notni:KN,notniva:ZN,notnivb:QN,notnivc:JN,NotPrecedes:_N,NotPrecedesEqual:tM,NotPrecedesSlantEqual:eM,NotReverseElement:nM,NotRightTriangleBar:iM,NotRightTriangle:rM,NotRightTriangleEqual:oM,NotSquareSubset:sM,NotSquareSubsetEqual:lM,NotSquareSuperset:aM,NotSquareSupersetEqual:cM,NotSubset:uM,NotSubsetEqual:hM,NotSucceeds:fM,NotSucceedsEqual:dM,NotSucceedsSlantEqual:mM,NotSucceedsTilde:gM,NotSuperset:yM,NotSupersetEqual:vM,NotTilde:pM,NotTildeEqual:xM,NotTildeFullEqual:bM,NotTildeTilde:wM,NotVerticalBar:kM,nparallel:AM,npar:SM,nparsl:CM,npart:NM,npolint:MM,npr:TM,nprcue:$M,nprec:EM,npreceq:LM,npre:OM,nrarrc:jM,nrarr:PM,nrArr:DM,nrarrw:qM,nrightarrow:BM,nRightarrow:VM,nrtri:IM,nrtrie:RM,nsc:HM,nsccue:XM,nsce:YM,Nscr:zM,nscr:FM,nshortmid:UM,nshortparallel:GM,nsim:WM,nsime:KM,nsimeq:ZM,nsmid:QM,nspar:JM,nsqsube:_M,nsqsupe:tT,nsub:eT,nsubE:nT,nsube:iT,nsubset:rT,nsubseteq:oT,nsubseteqq:sT,nsucc:lT,nsucceq:aT,nsup:cT,nsupE:uT,nsupe:hT,nsupset:fT,nsupseteq:dT,nsupseteqq:mT,ntgl:gT,Ntilde:yT,ntilde:vT,ntlg:pT,ntriangleleft:xT,ntrianglelefteq:bT,ntriangleright:wT,ntrianglerighteq:kT,Nu:AT,nu:ST,num:CT,numero:NT,numsp:MT,nvap:TT,nvdash:$T,nvDash:ET,nVdash:LT,nVDash:OT,nvge:jT,nvgt:PT,nvHarr:DT,nvinfin:qT,nvlArr:BT,nvle:VT,nvlt:IT,nvltrie:RT,nvrArr:HT,nvrtrie:XT,nvsim:YT,nwarhk:zT,nwarr:FT,nwArr:UT,nwarrow:GT,nwnear:WT,Oacute:KT,oacute:ZT,oast:QT,Ocirc:JT,ocirc:_T,ocir:t$,Ocy:e$,ocy:n$,odash:i$,Odblac:r$,odblac:o$,odiv:s$,odot:l$,odsold:a$,OElig:c$,oelig:u$,ofcir:h$,Ofr:f$,ofr:d$,ogon:m$,Ograve:g$,ograve:y$,ogt:v$,ohbar:p$,ohm:x$,oint:b$,olarr:w$,olcir:k$,olcross:A$,oline:S$,olt:C$,Omacr:N$,omacr:M$,Omega:T$,omega:$$,Omicron:E$,omicron:L$,omid:O$,ominus:j$,Oopf:P$,oopf:D$,opar:q$,OpenCurlyDoubleQuote:B$,OpenCurlyQuote:V$,operp:I$,oplus:R$,orarr:H$,Or:X$,or:Y$,ord:z$,order:F$,orderof:U$,ordf:G$,ordm:W$,origof:K$,oror:Z$,orslope:Q$,orv:J$,oS:_$,Oscr:tE,oscr:eE,Oslash:nE,oslash:iE,osol:rE,Otilde:oE,otilde:sE,otimesas:lE,Otimes:aE,otimes:cE,Ouml:uE,ouml:hE,ovbar:fE,OverBar:dE,OverBrace:mE,OverBracket:gE,OverParenthesis:yE,para:vE,parallel:pE,par:xE,parsim:bE,parsl:wE,part:kE,PartialD:AE,Pcy:SE,pcy:CE,percnt:NE,period:ME,permil:TE,perp:$E,pertenk:EE,Pfr:LE,pfr:OE,Phi:jE,phi:PE,phiv:DE,phmmat:qE,phone:BE,Pi:VE,pi:IE,pitchfork:RE,piv:HE,planck:XE,planckh:YE,plankv:zE,plusacir:FE,plusb:UE,pluscir:GE,plus:WE,plusdo:KE,plusdu:ZE,pluse:QE,PlusMinus:JE,plusmn:_E,plussim:tL,plustwo:eL,pm:nL,Poincareplane:iL,pointint:rL,popf:oL,Popf:sL,pound:lL,prap:aL,Pr:cL,pr:uL,prcue:hL,precapprox:fL,prec:dL,preccurlyeq:mL,Precedes:gL,PrecedesEqual:yL,PrecedesSlantEqual:vL,PrecedesTilde:pL,preceq:xL,precnapprox:bL,precneqq:wL,precnsim:kL,pre:AL,prE:SL,precsim:CL,prime:NL,Prime:ML,primes:TL,prnap:$L,prnE:EL,prnsim:LL,prod:OL,Product:jL,profalar:PL,profline:DL,profsurf:qL,prop:BL,Proportional:VL,Proportion:IL,propto:RL,prsim:HL,prurel:XL,Pscr:YL,pscr:zL,Psi:FL,psi:UL,puncsp:GL,Qfr:WL,qfr:KL,qint:ZL,qopf:QL,Qopf:JL,qprime:_L,Qscr:tO,qscr:eO,quaternions:nO,quatint:iO,quest:rO,questeq:oO,quot:sO,QUOT:lO,rAarr:aO,race:cO,Racute:uO,racute:hO,radic:fO,raemptyv:dO,rang:mO,Rang:gO,rangd:yO,range:vO,rangle:pO,raquo:xO,rarrap:bO,rarrb:wO,rarrbfs:kO,rarrc:AO,rarr:SO,Rarr:CO,rArr:NO,rarrfs:MO,rarrhk:TO,rarrlp:$O,rarrpl:EO,rarrsim:LO,Rarrtl:OO,rarrtl:jO,rarrw:PO,ratail:DO,rAtail:qO,ratio:BO,rationals:VO,rbarr:IO,rBarr:RO,RBarr:HO,rbbrk:XO,rbrace:YO,rbrack:zO,rbrke:FO,rbrksld:UO,rbrkslu:GO,Rcaron:WO,rcaron:KO,Rcedil:ZO,rcedil:QO,rceil:JO,rcub:_O,Rcy:tj,rcy:ej,rdca:nj,rdldhar:ij,rdquo:rj,rdquor:oj,rdsh:sj,real:lj,realine:aj,realpart:cj,reals:uj,Re:hj,rect:fj,reg:dj,REG:mj,ReverseElement:gj,ReverseEquilibrium:yj,ReverseUpEquilibrium:vj,rfisht:pj,rfloor:xj,rfr:bj,Rfr:wj,rHar:kj,rhard:Aj,rharu:Sj,rharul:Cj,Rho:Nj,rho:Mj,rhov:Tj,RightAngleBracket:$j,RightArrowBar:Ej,rightarrow:Lj,RightArrow:Oj,Rightarrow:jj,RightArrowLeftArrow:Pj,rightarrowtail:Dj,RightCeiling:qj,RightDoubleBracket:Bj,RightDownTeeVector:Vj,RightDownVectorBar:Ij,RightDownVector:Rj,RightFloor:Hj,rightharpoondown:Xj,rightharpoonup:Yj,rightleftarrows:zj,rightleftharpoons:Fj,rightrightarrows:Uj,rightsquigarrow:Gj,RightTeeArrow:Wj,RightTee:Kj,RightTeeVector:Zj,rightthreetimes:Qj,RightTriangleBar:Jj,RightTriangle:_j,RightTriangleEqual:tP,RightUpDownVector:eP,RightUpTeeVector:nP,RightUpVectorBar:iP,RightUpVector:rP,RightVectorBar:oP,RightVector:sP,ring:lP,risingdotseq:aP,rlarr:cP,rlhar:uP,rlm:hP,rmoustache:fP,rmoust:dP,rnmid:mP,roang:gP,roarr:yP,robrk:vP,ropar:pP,ropf:xP,Ropf:bP,roplus:wP,rotimes:kP,RoundImplies:AP,rpar:SP,rpargt:CP,rppolint:NP,rrarr:MP,Rrightarrow:TP,rsaquo:$P,rscr:EP,Rscr:LP,rsh:OP,Rsh:jP,rsqb:PP,rsquo:DP,rsquor:qP,rthree:BP,rtimes:VP,rtri:IP,rtrie:RP,rtrif:HP,rtriltri:XP,RuleDelayed:YP,ruluhar:zP,rx:FP,Sacute:UP,sacute:GP,sbquo:WP,scap:KP,Scaron:ZP,scaron:QP,Sc:JP,sc:_P,sccue:tD,sce:eD,scE:nD,Scedil:iD,scedil:rD,Scirc:oD,scirc:sD,scnap:lD,scnE:aD,scnsim:cD,scpolint:uD,scsim:hD,Scy:fD,scy:dD,sdotb:mD,sdot:gD,sdote:yD,searhk:vD,searr:pD,seArr:xD,searrow:bD,sect:wD,semi:kD,seswar:AD,setminus:SD,setmn:CD,sext:ND,Sfr:MD,sfr:TD,sfrown:$D,sharp:ED,SHCHcy:LD,shchcy:OD,SHcy:jD,shcy:PD,ShortDownArrow:DD,ShortLeftArrow:qD,shortmid:BD,shortparallel:VD,ShortRightArrow:ID,ShortUpArrow:RD,shy:HD,Sigma:XD,sigma:YD,sigmaf:zD,sigmav:FD,sim:UD,simdot:GD,sime:WD,simeq:KD,simg:ZD,simgE:QD,siml:JD,simlE:_D,simne:tq,simplus:eq,simrarr:nq,slarr:iq,SmallCircle:rq,smallsetminus:oq,smashp:sq,smeparsl:lq,smid:aq,smile:cq,smt:uq,smte:hq,smtes:fq,SOFTcy:dq,softcy:mq,solbar:gq,solb:yq,sol:vq,Sopf:pq,sopf:xq,spades:bq,spadesuit:wq,spar:kq,sqcap:Aq,sqcaps:Sq,sqcup:Cq,sqcups:Nq,Sqrt:Mq,sqsub:Tq,sqsube:$q,sqsubset:Eq,sqsubseteq:Lq,sqsup:Oq,sqsupe:jq,sqsupset:Pq,sqsupseteq:Dq,square:qq,Square:Bq,SquareIntersection:Vq,SquareSubset:Iq,SquareSubsetEqual:Rq,SquareSuperset:Hq,SquareSupersetEqual:Xq,SquareUnion:Yq,squarf:zq,squ:Fq,squf:Uq,srarr:Gq,Sscr:Wq,sscr:Kq,ssetmn:Zq,ssmile:Qq,sstarf:Jq,Star:_q,star:tB,starf:eB,straightepsilon:nB,straightphi:iB,strns:rB,sub:oB,Sub:sB,subdot:lB,subE:aB,sube:cB,subedot:uB,submult:hB,subnE:fB,subne:dB,subplus:mB,subrarr:gB,subset:yB,Subset:vB,subseteq:pB,subseteqq:xB,SubsetEqual:bB,subsetneq:wB,subsetneqq:kB,subsim:AB,subsub:SB,subsup:CB,succapprox:NB,succ:MB,succcurlyeq:TB,Succeeds:$B,SucceedsEqual:EB,SucceedsSlantEqual:LB,SucceedsTilde:OB,succeq:jB,succnapprox:PB,succneqq:DB,succnsim:qB,succsim:BB,SuchThat:VB,sum:IB,Sum:RB,sung:HB,sup1:XB,sup2:YB,sup3:zB,sup:FB,Sup:UB,supdot:GB,supdsub:WB,supE:KB,supe:ZB,supedot:QB,Superset:JB,SupersetEqual:_B,suphsol:tV,suphsub:eV,suplarr:nV,supmult:iV,supnE:rV,supne:oV,supplus:sV,supset:lV,Supset:aV,supseteq:cV,supseteqq:uV,supsetneq:hV,supsetneqq:fV,supsim:dV,supsub:mV,supsup:gV,swarhk:yV,swarr:vV,swArr:pV,swarrow:xV,swnwar:bV,szlig:wV,Tab:kV,target:AV,Tau:SV,tau:CV,tbrk:NV,Tcaron:MV,tcaron:TV,Tcedil:$V,tcedil:EV,Tcy:LV,tcy:OV,tdot:jV,telrec:PV,Tfr:DV,tfr:qV,there4:BV,therefore:VV,Therefore:IV,Theta:RV,theta:HV,thetasym:XV,thetav:YV,thickapprox:zV,thicksim:FV,ThickSpace:UV,ThinSpace:GV,thinsp:WV,thkap:KV,thksim:ZV,THORN:QV,thorn:JV,tilde:_V,Tilde:tI,TildeEqual:eI,TildeFullEqual:nI,TildeTilde:iI,timesbar:rI,timesb:oI,times:sI,timesd:lI,tint:aI,toea:cI,topbot:uI,topcir:hI,top:fI,Topf:dI,topf:mI,topfork:gI,tosa:yI,tprime:vI,trade:pI,TRADE:xI,triangle:bI,triangledown:wI,triangleleft:kI,trianglelefteq:AI,triangleq:SI,triangleright:CI,trianglerighteq:NI,tridot:MI,trie:TI,triminus:$I,TripleDot:EI,triplus:LI,trisb:OI,tritime:jI,trpezium:PI,Tscr:DI,tscr:qI,TScy:BI,tscy:VI,TSHcy:II,tshcy:RI,Tstrok:HI,tstrok:XI,twixt:YI,twoheadleftarrow:zI,twoheadrightarrow:FI,Uacute:UI,uacute:GI,uarr:WI,Uarr:KI,uArr:ZI,Uarrocir:QI,Ubrcy:JI,ubrcy:_I,Ubreve:tR,ubreve:eR,Ucirc:nR,ucirc:iR,Ucy:rR,ucy:oR,udarr:sR,Udblac:lR,udblac:aR,udhar:cR,ufisht:uR,Ufr:hR,ufr:fR,Ugrave:dR,ugrave:mR,uHar:gR,uharl:yR,uharr:vR,uhblk:pR,ulcorn:xR,ulcorner:bR,ulcrop:wR,ultri:kR,Umacr:AR,umacr:SR,uml:CR,UnderBar:NR,UnderBrace:MR,UnderBracket:TR,UnderParenthesis:$R,Union:ER,UnionPlus:LR,Uogon:OR,uogon:jR,Uopf:PR,uopf:DR,UpArrowBar:qR,uparrow:BR,UpArrow:VR,Uparrow:IR,UpArrowDownArrow:RR,updownarrow:HR,UpDownArrow:XR,Updownarrow:YR,UpEquilibrium:zR,upharpoonleft:FR,upharpoonright:UR,uplus:GR,UpperLeftArrow:WR,UpperRightArrow:KR,upsi:ZR,Upsi:QR,upsih:JR,Upsilon:_R,upsilon:tH,UpTeeArrow:eH,UpTee:nH,upuparrows:iH,urcorn:rH,urcorner:oH,urcrop:sH,Uring:lH,uring:aH,urtri:cH,Uscr:uH,uscr:hH,utdot:fH,Utilde:dH,utilde:mH,utri:gH,utrif:yH,uuarr:vH,Uuml:pH,uuml:xH,uwangle:bH,vangrt:wH,varepsilon:kH,varkappa:AH,varnothing:SH,varphi:CH,varpi:NH,varpropto:MH,varr:TH,vArr:$H,varrho:EH,varsigma:LH,varsubsetneq:OH,varsubsetneqq:jH,varsupsetneq:PH,varsupsetneqq:DH,vartheta:qH,vartriangleleft:BH,vartriangleright:VH,vBar:IH,Vbar:RH,vBarv:HH,Vcy:XH,vcy:YH,vdash:zH,vDash:FH,Vdash:UH,VDash:GH,Vdashl:WH,veebar:KH,vee:ZH,Vee:QH,veeeq:JH,vellip:_H,verbar:tX,Verbar:eX,vert:nX,Vert:iX,VerticalBar:rX,VerticalLine:oX,VerticalSeparator:sX,VerticalTilde:lX,VeryThinSpace:aX,Vfr:cX,vfr:uX,vltri:hX,vnsub:fX,vnsup:dX,Vopf:mX,vopf:gX,vprop:yX,vrtri:vX,Vscr:pX,vscr:xX,vsubnE:bX,vsubne:wX,vsupnE:kX,vsupne:AX,Vvdash:SX,vzigzag:CX,Wcirc:NX,wcirc:MX,wedbar:TX,wedge:$X,Wedge:EX,wedgeq:LX,weierp:OX,Wfr:jX,wfr:PX,Wopf:DX,wopf:qX,wp:BX,wr:VX,wreath:IX,Wscr:RX,wscr:HX,xcap:XX,xcirc:YX,xcup:zX,xdtri:FX,Xfr:UX,xfr:GX,xharr:WX,xhArr:KX,Xi:ZX,xi:QX,xlarr:JX,xlArr:_X,xmap:tY,xnis:eY,xodot:nY,Xopf:iY,xopf:rY,xoplus:oY,xotime:sY,xrarr:lY,xrArr:aY,Xscr:cY,xscr:uY,xsqcup:hY,xuplus:fY,xutri:dY,xvee:mY,xwedge:gY,Yacute:yY,yacute:vY,YAcy:pY,yacy:xY,Ycirc:bY,ycirc:wY,Ycy:kY,ycy:AY,yen:SY,Yfr:CY,yfr:NY,YIcy:MY,yicy:TY,Yopf:$Y,yopf:EY,Yscr:LY,yscr:OY,YUcy:jY,yucy:PY,yuml:DY,Yuml:qY,Zacute:BY,zacute:VY,Zcaron:IY,zcaron:RY,Zcy:HY,zcy:XY,Zdot:YY,zdot:zY,zeetrf:FY,ZeroWidthSpace:UY,Zeta:GY,zeta:WY,zfr:KY,Zfr:ZY,ZHcy:QY,zhcy:JY,zigrarr:_Y,zopf:tz,Zopf:ez,Zscr:nz,zscr:iz,zwj:rz,zwnj:oz};var co;function sz(){return co||(co=1,(function(t){var e=x1&&x1.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(Bs);function i(c){return(c&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(c,a){return c.codePointAt(a)}:(function(c,a){return i(c.charCodeAt(a))?(c.charCodeAt(a)-55296)*1024+c.charCodeAt(a+1)-56320+65536:c.charCodeAt(a)});var r=l(n.default);function o(c,a){for(var s,u="",d=0,f;(f=c.exec(a))!==null;){var h=f.index,m=a.charCodeAt(h),y=r.get(m);if(y){if(y.next!=null&&h+1<a.length){var w=(s=y.next.get(a.charCodeAt(h+1)))===null||s===void 0?void 0:s.value;if(w!=null){u+=a.substring(d,h)+w,c.lastIndex+=1,d=h+2;continue}}u+=a.substring(d,h)+y.value,d=h+1}else u+=a.substring(d,h)+"&#x"+t.getCodePoint(a,h).toString(16)+";",d=c.lastIndex+=Number(i(m))}return u+a.substr(d)}t.encodeHTMLTrieRe=o;function l(c){for(var a,s,u,d,f=new Map,h=0,m=Object.keys(c);h<m.length;h++){for(var y=m[h],w=c[y],p=f,S=0;S<w.length-1;S++){var A=w.charCodeAt(S),M=(a=p.get(A))!==null&&a!==void 0?a:{};p.set(A,M),p=(s=M.next)!==null&&s!==void 0?s:M.next=new Map}var j=(u=p.get(w.charCodeAt(w.length-1)))!==null&&u!==void 0?u:{};(d=j.value)!==null&&d!==void 0||(j.value="&"+y+";"),p.set(w.charCodeAt(w.length-1),j)}return f}t.getTrie=l})(x1)),x1}var uo;function ho(){if(uo)return Jt;uo=1;var t=Jt&&Jt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.escapeUTF8=Jt.escape=Jt.encodeNonAsciiHTML=Jt.encodeHTML=Jt.encodeXML=void 0;var e=t(H9),n=sz(),i=t(Bs),r=d(i.default,!0),o=d(e.default,!0),l=d(e.default,!1),c=new Map(Object.keys(e.default).map(function(h){return[e.default[h].charCodeAt(0),"&"+h+";"]}));function a(h){for(var m="",y=0,w;(w=o.exec(h))!==null;){var p=w.index,S=h.charCodeAt(p),A=c.get(S);A?(m+=h.substring(y,p)+A,y=p+1):(m+=h.substring(y,p)+"&#x"+n.getCodePoint(h,p).toString(16)+";",y=o.lastIndex+=+((S&65408)===55296))}return m+h.substr(y)}Jt.encodeXML=a;function s(h){return n.encodeHTMLTrieRe(r,h)}Jt.encodeHTML=s;function u(h){return n.encodeHTMLTrieRe(o,h)}Jt.encodeNonAsciiHTML=u;function d(h,m){for(var y=Object.keys(h).map(function(A){return"\\"+h[A].charAt(0)}).filter(function(A){return!m||A.charCodeAt(1)<128}).sort(function(A,M){return A.charCodeAt(1)-M.charCodeAt(1)}).filter(function(A,M,j){return A!==j[M+1]}),w=0;w<y.length-1;w++){for(var p=w;p<y.length-1&&y[p].charCodeAt(1)+1===y[p+1].charCodeAt(1);)p+=1;var S=1+p-w;S<3||y.splice(w,S,y[w]+"-"+y[p])}return new RegExp("["+y.join("")+(m?"\\x80-\\uFFFF":"")+"]","g")}Jt.escape=a;function f(h){for(var m,y=0,w="";m=l.exec(h);)y!==m.index&&(w+=h.substring(y,m.index)),w+=c.get(m[0].charCodeAt(0)),y=m.index+1;return w+h.substring(y)}return Jt.escapeUTF8=f,Jt}var fo;function lz(){return fo||(fo=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.DecodingMode=t.EntityLevel=void 0;var e=ao(),n=ho(),i;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var r;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict"})(r=t.DecodingMode||(t.DecodingMode={}));var o;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive"})(o=t.EncodingMode||(t.EncodingMode={}));function l(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=l;function c(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=c;function a(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.mode===o.UTF8?n.escapeUTF8(d):h.level===i.HTML?h.mode===o.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=a;var s=ho();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var u=ao();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})})(Qn)),Qn}var Vs=lz(),az=92,Is="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Rs="[A-Za-z][A-Za-z0-9-]*",cz="[a-zA-Z_:][a-zA-Z0-9:._-]*",uz="[^\"'=<>`\\x00-\\x20]+",hz="'[^']*'",fz='"[^"]*"',dz="(?:"+uz+"|"+hz+"|"+fz+")",mz="(?:\\s*=\\s*"+dz+")",gz="(?:\\s+"+cz+mz+"?)",Hs="<"+Rs+gz+"*\\s*/?>",Xs="</"+Rs+"\\s*[>]",yz="<!-->|<!--->|<!--[\\s\\S]*?-->",vz="[<][?][\\s\\S]*?[?][>]",pz="<![A-Za-z]+[^>]*>",xz="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",bz="(?:"+Hs+"|"+Xs+"|"+yz+"|"+vz+"|"+pz+"|"+xz+")",wz=new RegExp("^"+bz),kz=/[\\&]/,Ys="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",Az=new RegExp("\\\\"+Ys+"|"+Is,"gi"),Sz='[&<>"]',mo=new RegExp(Sz,"g"),Cz=function(t){return t.charCodeAt(0)===az?t.charAt(1):Vs.decodeHTMLStrict(t)},zs=function(t){return kz.test(t)?t.replace(Az,Cz):t},Nz=function(t){try{return O9(t)}catch{return t}},Mz=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return t}},qn=function(t){return mo.test(t)?t.replace(mo,Mz):t},Ai;function Ii(t){return Ai(t)}if(String.fromCodePoint)Ai=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var Tz=String.fromCharCode,$z=Math.floor;Ai=function(){var t=16384,e=[],n,i,r=-1,o=arguments.length;if(!o)return"";for(var l="";++r<o;){var c=Number(arguments[r]);if(!isFinite(c)||c<0||c>1114111||$z(c)!==c)return"\uFFFD";c<=65535?e.push(c):(c-=65536,n=(c>>10)+55296,i=c%1024+56320,e.push(n,i)),(r+1===o||e.length>t)&&(l+=Tz.apply(null,e),e.length=0)}return l}}var Sn=Nz,Si=zs,Fs=10,Ci=42,Cn=95,Ez=96,Us=91,Lz=93,Gs=60,Oz=33,Ws=92,jz=38,Ks=40,Ni=41,Pz=58,Ue=39,Ge=34,Zs=Ys,Jn="\\\\"+Zs,Dz=Is,qz=wz,go=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),Bz=new RegExp('^(?:"('+Jn+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+Jn+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+Jn+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),Vz=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Qs=new RegExp("^"+Zs),Iz=new RegExp("^"+Dz,"i"),Rz=/`+/,Hz=/^`+/,Xz=/\.\.\./g,Yz=/--+/g,zz=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,Fz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Uz=/^ *(?:\n *)?/,Js=/^[ \t\n\x0b\x0c\x0d]/,yo=/^\s/,Gz=/ *$/,Wz=/^ */,vo=/^ *(?:\n|$)/,Kz=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,Zz=/^[^\n`\[\]\\!<&*_'"]+/m,Qt=function(t){var e=new qt("text");return e._literal=t,e},_s=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},Qz=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},Jz=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},_z=function(){return this.match(Uz),!0},tF=function(t){var e=this.match(Hz);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(Rz))!==null;)if(i===e)return r=new qt("code"),o=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),o.length>0&&o.match(/[^ ]/)!==null&&o[0]==" "&&o[o.length-1]==" "?r._literal=o.slice(1,o.length-1):r._literal=o,t.appendChild(r),!0;return this.pos=n,t.appendChild(Qt(e)),!0},eF=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===Fs?(this.pos+=1,n=new qt("linebreak"),t.appendChild(n)):Qs.test(e.charAt(this.pos))?(t.appendChild(Qt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Qt("\\")),!0},nF=function(t){var e,n,i;return(e=this.match(zz))?(n=e.slice(1,e.length-1),i=new qt("link"),i._destination=Sn("mailto:"+n),i._title="",i.appendChild(Qt(n)),t.appendChild(i),!0):(e=this.match(Fz))?(n=e.slice(1,e.length-1),i=new qt("link"),i._destination=Sn(n),i._title="",i.appendChild(Qt(n)),t.appendChild(i),!0):!1},iF=function(t){var e=this.match(qz);if(e===null)return!1;var n=new qt("html_inline");return n._literal=e,t.appendChild(n),!0},rF=function(t){var e=0,n,i,r,o=this.pos,l,c,a,s,u,d,f,h;if(t===Ue||t===Ge)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
1
+ import{computed as X,isRef as Hn,reactive as Ot,unref as Ct,getCurrentScope as kl,onScopeDispose as Al,watch as St,getCurrentInstance as Eo,hasInjectionContext as Lo,inject as C1,toValue as He,shallowRef as S1,readonly as Sl,watchEffect as Cl,onMounted as Oo,Fragment as lt,useTemplateRef as Dt,nextTick as Ln,openBlock as O,createElementBlock as I,mergeProps as J,renderSlot as Po,toDisplayString as Ft,createCommentVNode as Lt,createTextVNode as dt,renderList as ut,createBlock as bt,toHandlers as $t,normalizeStyle as j1,createVNode as re,createElementVNode as Nt,normalizeProps as se,resolveDynamicComponent as Xe,guardReactiveProps as y1,useModel as Ae,createPropsRestProxy as jo,mergeModels as f1,ref as ln,useId as Nl,Teleport as Ml,useSlots as $l,useAttrs as Tl,provide as yr,withCtx as El}from"vue";function Do(t){return kl()?(Al(t),!0):!1}const Xn=new WeakMap,Ll=(...t)=>{var e;const n=t[0],i=(e=Eo())==null?void 0:e.proxy;if(i==null&&!Lo())throw new Error("injectLocal must be called in setup");return i&&Xn.has(i)&&n in Xn.get(i)?Xn.get(i)[n]:C1(...t)};function Ol(t){if(!Hn(t))return Ot(t);const e=new Proxy({},{get(n,i,r){return Ct(Reflect.get(t.value,i,r))},set(n,i,r){return Hn(t.value[i])&&!Hn(r)?t.value[i].value=r:t.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(t.value,i)},has(n,i){return Reflect.has(t.value,i)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Ot(e)}function Le(t){return Ol(X(t))}const Pl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jl=Object.prototype.toString,Dl=t=>jl.call(t)==="[object Object]",ql=()=>{};function pr(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Yn(t){return Array.isArray(t)?t:[t]}function qo(t,e,n){return St(t,e,{...n,immediate:!0})}const On=Pl?window:void 0;function ei(t){var e;const n=He(t);return(e=n?.$el)!=null?e:n}function Vl(...t){const e=[],n=()=>{e.forEach(c=>c()),e.length=0},i=(c,a,s,u)=>(c.addEventListener(a,s,u),()=>c.removeEventListener(a,s,u)),r=X(()=>{const c=Yn(He(t[0])).filter(a=>a!=null);return c.every(a=>typeof a!="string")?c:void 0}),o=qo(()=>{var c,a;return[(a=(c=r.value)==null?void 0:c.map(s=>ei(s)))!=null?a:[On].filter(s=>s!=null),Yn(He(r.value?t[1]:t[0])),Yn(Ct(r.value?t[2]:t[1])),He(r.value?t[3]:t[2])]},([c,a,s,u])=>{if(n(),!c?.length||!a?.length||!s?.length)return;const d=Dl(u)?{...u}:u;e.push(...c.flatMap(f=>a.flatMap(h=>s.map(m=>i(f,h,m,d)))))},{flush:"post"}),l=()=>{o(),n()};return Do(n),l}function Bl(){const t=S1(!1),e=Eo();return e&&Oo(()=>{t.value=!0},e),t}function Vo(t){const e=Bl();return X(()=>(e.value,!!t()))}const Il=Symbol("vueuse-ssr-width");function Rl(){const t=Lo()?Ll(Il,null):null;return typeof t=="number"?t:void 0}function Hl(t,e={}){const{window:n=On,ssrWidth:i=Rl()}=e,r=Vo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=S1(typeof i=="number"),l=S1(),c=S1(!1),a=s=>{c.value=s.matches};return Cl(()=>{if(o.value){o.value=!r.value;const s=He(t).split(",");c.value=s.some(u=>{const d=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(f||h);return f&&m&&(m=i>=pr(f[1])),h&&m&&(m=i<=pr(h[1])),d?!m:m});return}r.value&&(l.value=n.matchMedia(He(t)),c.value=l.value.matches)}),Vl(l,"change",a,{passive:!0}),X(()=>c.value)}function Xl(t={}){const{window:e=On}=t,n=S1(1),i=Hl(()=>`(resolution: ${n.value}dppx)`,t);let r=ql;return e&&(r=qo(i,()=>n.value=e.devicePixelRatio)),{pixelRatio:Sl(n),stop:r}}function Bo(t,e,n={}){const{window:i=On,...r}=n;let o;const l=Vo(()=>i&&"ResizeObserver"in i),c=()=>{o&&(o.disconnect(),o=void 0)},a=X(()=>{const d=He(t);return Array.isArray(d)?d.map(f=>ei(f)):[ei(d)]}),s=St(a,d=>{if(c(),l.value&&i){o=new ResizeObserver(e);for(const f of d)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return Do(u),{isSupported:l,stop:u}}function Yl(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const R1=()=>!1,ni=Object.assign,zl="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",vr=Yl(zl),Fl=Symbol(""),Ul=Symbol(""),Gl=Symbol(""),Wl=Symbol(""),Io={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Kl(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Io}}function ii(t,e=!1,n=Io,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const xr=new Uint8Array([123,123]),br=new Uint8Array([125,125]);function wr(t){return t>=97&&t<=122||t>=65&&t<=90}function ne(t){return t===32||t===10||t===9||t===12||t===13}function Te(t){return t===47||t===62||ne(t)}function an(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Ut={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Zl{constructor(e,n){this.stack=e,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=xr,this.delimiterClose=br,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=xr,this.delimiterClose=br}getPos(e){let n=1,i=e+1;const r=this.newlines.length;let o=-1;if(r>100){let l=-1,c=r;for(;l+1<c;){const a=l+c>>>1;this.newlines[a]<e?l=a:c=a}o=l}else for(let l=r-1;l>=0;l--)if(e>this.newlines[l]){o=l;break}return o>=0&&(n=o+2,i=e-this.newlines[o]),{column:i,line:n,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Te(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||ne(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Ut.TitleEnd||this.currentSequence===Ut.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===Ut.Cdata[this.sequenceIndex]?++this.sequenceIndex===Ut.Cdata.length&&(this.state=28,this.currentSequence=Ut.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Ut.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,n){this.enterRCDATA(e,n),this.state=31}enterRCDATA(e,n){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=n}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):wr(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Te(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Te(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(an("</"+n),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){ne(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=wr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||ne(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ne(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ne(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Te(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Te(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||Te(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||Te(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Te(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):ne(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):ne(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,n){(e===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){ne(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=Ut.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Ut.ScriptEnd[3]?this.startSpecial(Ut.ScriptEnd,4):e===Ut.StyleEnd[3]?this.startSpecial(Ut.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Ut.TitleEnd[3]?this.startSpecial(Ut.TitleEnd,4):e===Ut.TextareaEnd[3]?this.startSpecial(Ut.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Ut.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){}}function kr(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Ro(t,e){const n=kr("MODE",e),i=kr(t,e);return n===3?i===!0:i!==!1}function cn(t,e,n,...i){return Ro(t,e)}function _l(t){throw t}function Ql(t){}function Jl(t,e,n,i){const r=`https://vuejs.org/error-reference/#compiler-${t}`,o=new SyntaxError(String(r));return o.code=t,o.loc=e,o}const ta=t=>t.type===4&&t.isStatic;function ea(t){switch(t){case"Teleport":case"teleport":return Fl;case"Suspense":case"suspense":return Ul;case"KeepAlive":case"keep-alive":return Gl;case"BaseTransition":case"base-transition":return Wl}}function na(t,e){return!!(t&&ta(t)&&t.content===e)}function Ar(t){return t.type===7&&t.name==="pre"}const ia=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function ra(t){for(let e=0;e<t.length;e++)if(!ne(t.charCodeAt(e)))return!1;return!0}const Ho={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:R1,isPreTag:R1,isIgnoreNewlineTag:R1,isCustomElement:R1,onError:_l,onWarn:Ql,comments:!1,prefixIdentifiers:!1};let xt=Ho,N1=null,Ne="",Gt=null,gt=null,te="",ke=-1,De=-1,Ti=0,Ee=!1,ri=null;const At=[],Et=new Zl(At,{onerr:be,ontext(t,e){H1(Xt(t,e),t,e)},ontextentity(t,e,n){H1(t,e,n)},oninterpolation(t,e){if(Ee)return H1(Xt(t,e),t,e);let n=t+Et.delimiterOpen.length,i=e-Et.delimiterClose.length;for(;ne(Ne.charCodeAt(n));)n++;for(;ne(Ne.charCodeAt(i-1));)i--;let r=Xt(n,i);r.includes("&")&&(r=xt.decodeEntities(r,!1)),oi({type:5,content:en(r,!1,jt(n,i)),loc:jt(t,e)})},onopentagname(t,e){const n=Xt(t,e);Gt={type:1,tag:n,ns:xt.getNamespace(n,At[0],xt.ns),tagType:0,props:[],children:[],loc:jt(t-1,e),codegenNode:void 0}},onopentagend(t){Cr(t)},onclosetag(t,e){const n=Xt(t,e);if(!xt.isVoidTag(n)){let i=!1;for(let r=0;r<At.length;r++)if(At[r].tag.toLowerCase()===n.toLowerCase()){i=!0,r>0&&be(24,At[0].loc.start.offset);for(let l=0;l<=r;l++){const c=At.shift();tn(c,e,l<r)}break}i||be(23,Xo(t,60))}},onselfclosingtag(t){const e=Gt.tag;Gt.isSelfClosing=!0,Cr(t),At[0]&&At[0].tag===e&&tn(At.shift(),t)},onattribname(t,e){gt={type:6,name:Xt(t,e),nameLoc:jt(t,e),value:void 0,loc:jt(t)}},ondirname(t,e){const n=Xt(t,e),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Ee&&i===""&&be(26,t),Ee||i==="")gt={type:6,name:n,nameLoc:jt(t,e),value:void 0,loc:jt(t)};else if(gt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ii("prop")]:[],loc:jt(t)},i==="pre"){Ee=Et.inVPre=!0,ri=Gt;const r=Gt.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=da(r[o]))}},ondirarg(t,e){if(t===e)return;const n=Xt(t,e);if(Ee&&!Ar(gt))gt.name+=n,Ie(gt.nameLoc,e);else{const i=n[0]!=="[";gt.arg=en(i?n:n.slice(1,-1),i,jt(t,e),i?3:0)}},ondirmodifier(t,e){const n=Xt(t,e);if(Ee&&!Ar(gt))gt.name+="."+n,Ie(gt.nameLoc,e);else if(gt.name==="slot"){const i=gt.arg;i&&(i.content+="."+n,Ie(i.loc,e))}else{const i=ii(n,!0,jt(t,e));gt.modifiers.push(i)}},onattribdata(t,e){te+=Xt(t,e),ke<0&&(ke=t),De=e},onattribentity(t,e,n){te+=t,ke<0&&(ke=e),De=n},onattribnameend(t){const e=gt.loc.start.offset,n=Xt(e,t);gt.type===7&&(gt.rawName=n),Gt.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&be(2,e)},onattribend(t,e){if(Gt&&gt){if(Ie(gt.loc,e),t!==0)if(te.includes("&")&&(te=xt.decodeEntities(te,!0)),gt.type===6)gt.name==="class"&&(te=zo(te).trim()),t===1&&!te&&be(13,e),gt.value={type:2,content:te,loc:t===1?jt(ke,De):jt(ke-1,De+1)},Et.inSFCRoot&&Gt.tag==="template"&&gt.name==="lang"&&te&&te!=="html"&&Et.enterRCDATA(an("</template"),0);else{let n=0;gt.exp=en(te,!1,jt(ke,De),0,n),gt.name==="for"&&(gt.forParseResult=sa(gt.exp));let i=-1;gt.name==="bind"&&(i=gt.modifiers.findIndex(r=>r.content==="sync"))>-1&&cn("COMPILER_V_BIND_SYNC",xt,gt.loc,gt.arg.loc.source)&&(gt.name="model",gt.modifiers.splice(i,1))}(gt.type!==7||gt.name!=="pre")&&Gt.props.push(gt)}te="",ke=De=-1},oncomment(t,e){xt.comments&&oi({type:3,content:Xt(t,e),loc:jt(t-4,e+3)})},onend(){const t=Ne.length;for(let e=0;e<At.length;e++)tn(At[e],t-1),be(24,At[e].loc.start.offset)},oncdata(t,e){(At[0]?At[0].ns:xt.ns)!==0?H1(Xt(t,e),t,e):be(1,t-9)},onprocessinginstruction(t){(At[0]?At[0].ns:xt.ns)===0&&be(21,t-1)}}),Sr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,oa=/^\(|\)$/g;function sa(t){const e=t.loc,n=t.content,i=n.match(ia);if(!i)return;const[,r,o]=i,l=(d,f,h=!1)=>{const m=e.start.offset+f,y=m+d.length;return en(d,!1,jt(m,y),0,h?1:0)},c={source:l(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=r.trim().replace(oa,"").trim();const s=r.indexOf(a),u=a.match(Sr);if(u){a=a.replace(Sr,"").trim();const d=u[1].trim();let f;if(d&&(f=n.indexOf(d,s+a.length),c.key=l(d,f,!0)),u[2]){const h=u[2].trim();h&&(c.index=l(h,n.indexOf(h,c.key?f+d.length:s+a.length),!0))}}return a&&(c.value=l(a,s,!0)),c}function Xt(t,e){return Ne.slice(t,e)}function Cr(t){Et.inSFCRoot&&(Gt.innerLoc=jt(t+1,t+1)),oi(Gt);const{tag:e,ns:n}=Gt;n===0&&xt.isPreTag(e)&&Ti++,xt.isVoidTag(e)?tn(Gt,t):(At.unshift(Gt),(n===1||n===2)&&(Et.inXML=!0)),Gt=null}function H1(t,e,n){{const o=At[0]&&At[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=xt.decodeEntities(t,!1))}const i=At[0]||N1,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=t,Ie(r.loc,n)):i.children.push({type:2,content:t,loc:jt(e,n)})}function tn(t,e,n=!1){n?Ie(t.loc,Xo(e,60)):Ie(t.loc,la(e,62)+1),Et.inSFCRoot&&(t.children.length?t.innerLoc.end=ni({},t.children[t.children.length-1].loc.end):t.innerLoc.end=ni({},t.innerLoc.start),t.innerLoc.source=Xt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Ee||(i==="slot"?t.tagType=2:Nr(t)?t.tagType=3:ca(t)&&(t.tagType=1)),Et.inRCDATA||(t.children=Yo(o)),r===0&&xt.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}r===0&&xt.isPreTag(i)&&Ti--,ri===t&&(Ee=Et.inVPre=!1,ri=null),Et.inXML&&(At[0]?At[0].ns:xt.ns)===0&&(Et.inXML=!1);{const l=t.props;if(!Et.inSFCRoot&&Ro("COMPILER_NATIVE_TEMPLATE",xt)&&t.tag==="template"&&!Nr(t)){const a=At[0]||N1,s=a.children.indexOf(t);a.children.splice(s,1,...t.children)}const c=l.find(a=>a.type===6&&a.name==="inline-template");c&&cn("COMPILER_INLINE_TEMPLATE",xt,c.loc)&&t.children.length&&(c.value={type:2,content:Xt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:c.loc})}}function la(t,e){let n=t;for(;Ne.charCodeAt(n)!==e&&n<Ne.length-1;)n++;return n}function Xo(t,e){let n=t;for(;Ne.charCodeAt(n)!==e&&n>=0;)n--;return n}const aa=new Set(["if","else","else-if","for","slot"]);function Nr({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&aa.has(e[n].name))return!0}return!1}function ca({tag:t,props:e}){if(xt.isCustomElement(t))return!1;if(t==="component"||ua(t.charCodeAt(0))||ea(t)||xt.isBuiltInComponent&&xt.isBuiltInComponent(t)||xt.isNativeTag&&!xt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(cn("COMPILER_IS_ON_ELEMENT",xt,i.loc))return!0}}else if(i.name==="bind"&&na(i.arg,"is")&&cn("COMPILER_IS_ON_ELEMENT",xt,i.loc))return!0}return!1}function ua(t){return t>64&&t<91}const ha=/\r\n/g;function Yo(t){const e=xt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Ti)r.content=r.content.replace(ha,`
2
+ `);else if(ra(r.content)){const o=t[i-1]&&t[i-1].type,l=t[i+1]&&t[i+1].type;!o||!l||e&&(o===3&&(l===3||l===1)||o===1&&(l===3||l===1&&fa(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=zo(r.content))}return n?t.filter(Boolean):t}function fa(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function zo(t){let e="",n=!1;for(let i=0;i<t.length;i++)ne(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function oi(t){(At[0]||N1).children.push(t)}function jt(t,e){return{start:Et.getPos(t),end:e==null?e:Et.getPos(e),source:e==null?e:Xt(t,e)}}function Ie(t,e){t.end=Et.getPos(e),t.source=Xt(t.start.offset,e)}function da(t){const e={type:6,name:t.rawName,nameLoc:jt(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function en(t,e=!1,n,i=0,r=0){return ii(t,e,n,i)}function be(t,e,n){xt.onError(Jl(t,jt(e,e)))}function ma(){Et.reset(),Gt=null,gt=null,te="",ke=-1,De=-1,At.length=0}function ga(t,e){if(ma(),Ne=t,xt=ni({},Ho),e){let r;for(r in e)e[r]!=null&&(xt[r]=e[r])}Et.mode=xt.parseMode==="html"?1:xt.parseMode==="sfc"?2:0,Et.inXML=xt.ns===1||xt.ns===2;const n=e&&e.delimiters;n&&(Et.delimiterOpen=an(n[0]),Et.delimiterClose=an(n[1]));const i=N1=Kl([],t);return Et.parse(Ne),i.loc=jt(0,t.length),i.children=Yo(i.children),N1=null,i}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");function M1(t){return t==null?[]:t.flatMap(e=>e.type==lt?M1(e.children):e.type=="template"?M1(e.children).map(n=>(n.props={...n.props,...e.props},n)):e)}class a1 extends String{static#t=new Map;constructor(e){const n=String(e);if(a1.#t.has(n))return a1.#t.get(n);super(n),a1.#t.set(n,this)}}class c1 extends Number{static#t=new Map;constructor(e){const n=Number(e);if(c1.#t.has(n))return c1.#t.get(n);super(n),c1.#t.set(n,this)}}class Ye{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new a1(e);if(typeof e=="number"||e instanceof Number)return new c1(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof a1||e instanceof c1}}class Fo{constructor(e,n,i){this.label=e,this.value=n,this.level=i}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class ze extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=si(Array.from(e).filter(i=>!(i instanceof Ye)&&i!=null).map(i=>String(i))).sort((i,r)=>Mr(i,r,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(i=>String(i)).sort((i,r)=>Mr(e[i],e[r]));return new this(...n)}throw new Error(`Invalid level values: ${e}`)}static isEqual(e,n){if(e instanceof this&&n instanceof this)return e.length===n.length&&Array(e.length).fill().every((i,r)=>e[r].label===n[r].label)}constructor(...e){return e=e.map((n,i)=>new Fo(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,ze.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(i=>i instanceof Ye?i:this.mapping[i]);return n.level=this,n}}function Je(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function $1(t){return typeof t=="string"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="object"&&t!==null&&typeof t.valueOf()!="number"&&typeof t.valueOf()!="bigint"}function ft(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const zt={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Je)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i<r?i:r,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Je)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i>r?i:r,-1/0)},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Je)),n&&(t=t.filter(i=>isFinite(i))),t.length==0?NaN:Array.from(t).reduce((i,r)=>i+r,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Je)),n&&(t=t.filter(r=>isFinite(r))),t.length<=1)return NaN;let i=Array.from(t).reduce((r,o)=>r+o,0)/t.length;return Math.sqrt(Array.from(t).reduce((r,o)=>r+(o-i)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:i=!0}={}){if(n&&(t=t.filter(Je)),i&&(t=t.filter(c=>isFinite(c))),t.length==0)return NaN;t=Array.from(t).sort((c,a)=>c-a);let r=(t.length-1)*e,o=Math.floor(r),l=Math.ceil(r);return o==l?t[o]:t[o]*(l-r)+t[l]*(r-o)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Je)),n&&(t=t.filter(o=>isFinite(o))),t.length==0)return new Array(2);let i=Array.from(t).reduce((o,l)=>o<l?o:l,1/0),r=Array.from(t).reduce((o,l)=>o>l?o:l,-1/0);return Object.assign([i,r],{min:i,max:r})}},Pt={sum(...t){if(t.some(i=>i==null))return null;if(t.some(i=>!Array.isArray(i)&&typeof i!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(i=>!Array.isArray(i)).reduce((i,r)=>+r+i,0);if(t=t.filter(i=>Array.isArray(i)),t.length==0)return[e];if(t.some(i=>i.length==0))return[];let n=t[0].length;if(t.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.reduce((o,l)=>+(l[r]??0)+o,e))},opposite(t){if(t==null)return null;if(!Array.isArray(t)&&typeof t!="number")throw new Error("Arguments must be numbers or arrays");return Array.isArray(t)?t.map(e=>e==null?e:-e):-t},concat(...t){if(t.some(i=>i==null))return null;let e=t.filter(i=>Array.isArray(i));if(e.length==0)return[t.join("")];if(t.some(i=>i.length==0))return[];let n=e[0].length;if(e.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.map(o=>Array.isArray(o)?o[r]:o).join(""))},apply(t,...e){if(e.some(r=>r==null))return null;let n=e.filter(r=>Array.isArray(r));if(n.length==0)return[t(...e)];if(e.some(r=>r.length==0))return[];let i=n[0].length;if(n.some(r=>r.length!=i))throw new Error("Arrays must have the same length");return Array.from({length:i},(r,o)=>t(...e.map(l=>Array.isArray(l)?l[o]:l)))}};function Wt(...t){if(t=t.filter(e=>e!==void 0),t.length!=0)return t=t.slice(t.findIndex(e=>e==null)+1),t.length==0?null:t.reduce((e,n)=>{for(let i in n)n[i]!==void 0&&(e[i]=n[i]);return e},{})}function qe(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function si(t,e=null,n=null){let i=new Map;for(let r in t){let o=e?e(t[r]):t[r];i.has(o)?n&&i.set(o,n(i.get(o),t[r])):i.set(o,t[r])}return Array.from(i.values())}function Mr(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function Be(t,...e){return Array.isArray(t)?(t=t.filter(n=>typeof n=="function"),t.length===0?!1:(t.forEach(n=>n(...e)),!0)):typeof t!="function"?!1:(t(...e),!0)}function Oe(t,{min:e,max:n}){return t<e||t>n?NaN:t}function yt(t,{min:e,max:n}){return t<e?e:t>n?n:t}function li(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function Yt(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function Uo(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t==null||e==null)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(let r of n)if(!Uo(t[r],e[r]))return!1;return!0}function ya(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let i=0;i<t.length;i++){let r=t[i],o=e.findIndex(l=>Uo(l,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function pa(...t){if(t.length==0)return null;let e=t.filter(r=>Array.isArray(r)).reduce((r,o)=>{if(Array.isArray(o)){if(r==null)return o.length;if(r!=o.length)throw new Error("Arrays must have the same length")}return r},null)??0,n=[],i=[];for(let r=0;r<e;r++){let o=t.map(c=>Array.isArray(c)?c[r]:c),l=n.findIndex(c=>c.every((a,s)=>a===o[s]));l===-1&&(n.push(o),l=n.length-1),i.push(l)}return i.categories=n,i}function ee(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(o=>Array.isArray(o)).reduce((o,l)=>{if(Array.isArray(l)){if(o==null)return l.length;if(o!=l.length)throw new Error("Arrays must have the same length")}return o},null)??0,n=Object.keys(t),i=[],r=[];for(let o=0;o<e;o++){let l=Object.fromEntries(n.map(a=>[a,Array.isArray(t[a])?t[a][o]:t[a]])),c=i.findIndex(a=>n.every(s=>a[s]===l[s]));c===-1&&(i.push(l),c=i.length-1),r.push(c)}return r.categories=i,r}function Ei(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,i)=>{if(Array.isArray(i)){if(n==null)return i.length;if(n!=i.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,i)=>Object.fromEntries(Object.keys(t).map(r=>[r,Array.isArray(t[r])?t[r][i]:t[r]])))}function Rt(t){return t==null?[]:Array.isArray(t)?t:t==="solid"?[]:t==="dashed"?[4,4]:t==="dotted"?[1,3]:t==="dotdash"?[1,3,4,3]:t==="longdash"?[8,4]:t==="twodash"?[2,2,6,2]:t.includes(" ")?t.split(" ").map(e=>+e):t.split("").map(e=>+("0x"+e))}const zn={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function va(t,{unit:e="mm"}={}){if(!(t instanceof SVGElement))return null;function n(c){let a=c.childNodes.length;for(;a--;){const s=c.childNodes[a];s.nodeType===Node.COMMENT_NODE?c.removeChild(s):s.nodeType===Node.ELEMENT_NODE&&(n(s),s.getAttribute("style")==""&&s.removeAttribute("style"),s.getAttribute("class")==""&&s.removeAttribute("class"))}}let i=t.cloneNode(!0),r=Array.from(t.querySelectorAll("foreignObject")),o=Array.from(i.querySelectorAll("foreignObject"));for(let c=0;c<r.length;c++){let a=r[c],s=o[c],u=r[c].querySelector("canvas");if(!u)continue;let d=i.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",u.toDataURL()),d.setAttribute("x",a.getAttribute("x")),d.setAttribute("y",a.getAttribute("y")),d.setAttribute("width",a.getAttribute("width")),d.setAttribute("height",a.getAttribute("height")),s.parentNode.replaceChild(d,s)}for(let c of i.querySelectorAll(".vvplot-interactive,foreignObject"))c.remove();return n(i),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),zn[e]||(e=""),i.setAttribute("width",t.scrollWidth/zn[e]+e),i.setAttribute("height",t.scrollHeight/zn[e]+e),i.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(i)}const Go={axis:{line_width:1,tick_width:1,tick_length:5,label_size:12,title_size:18,grid_width:1,grid_width_major:2},axis_h:{title_offset:20},axis_v:{title_offset:30,title_angle:90},axis_left:{tick_position:"left",title_position:"left"},axis_right:{tick_position:"right",title_position:"right"},axis_top:{tick_position:"top",title_position:"top"},axis_bottom:{tick_position:"bottom",title_position:"bottom"},plot:{margin:20,padding_h:50,padding_v:30},legend:{spacing:4},selection:{background:"#00000020"}},Wo={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"#eeeeee"}},xa={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray",grid_color:"#eeeeee"}},ba={axis:{tick_color:"black",label_color:"black",title_color:"black",grid_color:"white"},plot:{background:"#eeeeee"}},wa={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black",grid_color:"#666666"},plot:{background:"#888888"}},ka={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"black",grid_width:.5,grid_width_major:1}},Aa={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"}},Sa={axis:null};function Ca(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=Wt(e[i],n[i]);return e??void 0},{})}function Na(t,e=!1){let{axis_h:n,axis_v:i,axis_x:r,axis_y:o,plot:{margin_x:l,margin_y:c,margin_h:a,margin_v:s,padding_x:u,padding_y:d,padding_h:f,padding_v:h,...m}={},...y}=t;return e?(n=Wt(n,o),i=Wt(i,r),m.margin_h=c===void 0?a:c,m.margin_v=l===void 0?s:l,m.padding_h=d===void 0?f:d,m.padding_v=u===void 0?h:u):(n=Wt(n,r),i=Wt(i,o),m.margin_h=l===void 0?a:l,m.margin_v=c===void 0?s:c,m.padding_h=u===void 0?f:u,m.padding_v=d===void 0?h:d),{axis_h:n,axis_v:i,plot:m,...y}}function Ma(t){return{axis:{h:Wt(...["axis","axis_h"].map(e=>t?.[e])),v:Wt(...["axis","axis_v"].map(e=>t?.[e])),left:Wt(...["axis","axis_v","axis_left"].map(e=>t?.[e])),right:Wt(...["axis","axis_v","axis_right"].map(e=>t?.[e])),top:Wt(...["axis","axis_h","axis_top"].map(e=>t?.[e])),bottom:Wt(...["axis","axis_h","axis_bottom"].map(e=>t?.[e]))},plot:{margin:{left:["margin","margin_h","margin_left"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,right:["margin","margin_h","margin_right"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,top:["margin","margin_v","margin_top"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,bottom:["margin","margin_v","margin_bottom"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0},padding:{left:["padding","padding_h","padding_left"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,right:["padding","padding_h","padding_right"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,top:["padding","padding_v","padding_top"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,bottom:["padding","padding_v","padding_bottom"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0},background:t?.plot?.background},selection:t?.selection??{},legend:{spacing:t?.legend?.spacing??0}}}const $a={base:Go,default:Wo,light:xa,classic:Aa,gray:ba,dark:wa,linedraw:ka,void:Sa},Ta={scale_attrs:[],coord_scale(t,e){return null},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return null}};let Tt=Pt.sum;const Ea={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0;if(t.x){let r=Tt(e.x?.apply?.(t.x)??t.x,n),o=Tt(r,t.width?.map?.(y=>-y/2)??-.5,n),l=Tt(r,t.width?.map?.(y=>+y/2)??.5,n),c=Tt(t.lwisker,i),a=Tt(t.Q1,i),s=Tt(t.median,i),u=Tt(t.Q3,i),d=Tt(t.uwisker,i),f=Pt.apply((y,{y:v,$raw:x},T)=>Tt(v,T).map((A,M)=>({x:y,y:A,$raw:x[M]})),r,t.outliers??[],i),h=Tt(t.min,i),m=Tt(t.max,i);return{x:r,xmin:o,xmax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:o,$xmax:l,$ymin:h,$ymax:m}}else if(t.y){let r=Tt(e.y?.apply?.(t.y)??t.y,i),o=Tt(r,t.height?.map?.(y=>-y/2)??-.5,i),l=Tt(r,t.height?.map?.(y=>+y/2)??.5,i),c=Tt(t.lwisker,n),a=Tt(t.Q1,n),s=Tt(t.median,n),u=Tt(t.Q3,n),d=Tt(t.uwisker,n),f=Pt.apply((y,{x:v,$raw:x},T)=>Tt(v,T).map((A,M)=>({x:A,y,$raw:x[M]})),r,t.outliers??[],n),h=Tt(t.min,n),m=Tt(t.max,n);return{y:r,ymin:o,ymax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:h,$xmax:m,$ymin:o,$ymax:l}}return{}},get_range(t,e){if(e=="x")return t.x||(t.min??[]).concat(t.max??[]);if(e=="y")return t.y||(t.min??[]).concat(t.max??[])},validate(t){return[t.$xmin,t.$xmax,t.$ymin,t.$ymax].some(e=>isNaN(e))?null:t}},La={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let t1=Pt.sum;const Oa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:i,C:r}=t,o=t.xnudge??0,l=t.ynudge??0,c=t1(e.x?.apply?.(t.cx)??t.cx,o),a=t1(e.y?.apply?.(t.cy)??t.cy,l);return{cx:c,cy:a,A:n,B:i,C:r}},get_range(t,e){if(e=="x"){let n=Pt.apply((i,r,o)=>Math.sqrt(o/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return t1(t.cx??[],n).concat(t1(t.cx??[],Pt.opposite(n))??[])}if(e=="y"){let n=Pt.apply((i,r,o)=>Math.sqrt(i/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return t1(t.cy??[],n).concat(t1(t.cy??[],Pt.opposite(n))??[])}},validate(t){return isNaN(t.cx)||isNaN(t.cy)||isNaN(t.A)||isNaN(t.B)||isNaN(t.C)||!(t.A*t.C>t.B*t.B)?null:t}};let X1=Pt.sum;const Pa={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=X1(e.x?.apply?.(t.x)??t.x,n),o=X1(e.y?.apply?.(t.y)??t.y,i),l=X1(e.x?.apply?.(t.xend)??t.xend,n),c=X1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let $r=Pt.sum;const ja={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=$r(e.x?.apply?.(t.x)??t.x,n),o=$r(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let Y1=Pt.sum;const Da={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Y1(e.x?.apply?.(t.x)??t.x,n),o=Y1(e.y?.apply?.(t.y)??t.y,i),l=Y1(e.x?.apply?.(t.xend)??t.xend,n),c=Y1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let Tr=Pt.sum;const qa={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Tr(e.x?.apply?.(t.x)??t.x,n),o=Tr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}},Va={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>{let a=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[c.x]??c.x)+a,y:+(e?.y?.[c.y]??c.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let z1=Pt.sum;const Ba={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=z1(e.x?.apply?.(t.xmin)??t.xmin,n),o=z1(e.x?.apply?.(t.xmax)??t.xmax,n),l=z1(e.y?.apply?.(t.ymin)??t.ymin,i),c=z1(e.y?.apply?.(t.ymax)??t.ymax,i);return{xmin:r,xmax:o,ymin:l,ymax:c}},get_range(t,e){if(e=="x")return(t.xmin??[]).concat(t.xmax??[]);if(e=="y")return(t.ymin??[]).concat(t.ymax??[])},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}};let e1=Pt.sum;const Ia={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=e1(e.x?.apply?.(t.x)??t.x,n),o=e1(e.y?.apply?.(t.y)??t.y,i),l=e1(r,t.dx),c=e1(o,t.dy);return{x:r,y:o,xend:l,yend:c}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(e1(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(e1(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Er=Pt.sum;const Ra={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Er(e.x?.apply?.(t.x)??t.x,n),o=Er(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let F1=Pt.sum;const Ha={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=F1(e.x?.apply?.(t.x)??t.x,n),o=F1(e.y?.apply?.(t.y)??t.y,i),l=F1(e.x?.apply?.(t.xend)??t.xend,n),c=F1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let U1=Pt.sum;const Xa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=e.x?.apply?.(t.x)??t.x,o=e.y?.apply?.(t.y)??t.y,l=U1(r,t.width?.map?.(u=>-u/2)??-.5,n),c=U1(r,t.width?.map?.(u=>+u/2)??.5,n),a=U1(o,t.height?.map?.(u=>-u/2)??-.5,i),s=U1(o,t.height?.map?.(u=>+u/2)??.5,i);return{xmin:l,xmax:c,ymin:a,ymax:s}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x"){let n=Pt.apply((r,o)=>+r-o/2,t.x??[],t.width??[]),i=Pt.apply((r,o)=>+r+o/2,t.x??[],t.width??[]);return n.concat(i)}if(e=="y"){let n=Pt.apply((r,o)=>+r-o/2,t.y??[],t.height??[]),i=Pt.apply((r,o)=>+r+o/2,t.y??[],t.height??[]);return n.concat(i)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Se=Object.freeze(Object.defineProperty({__proto__:null,blank:Ta,boxplot:Ea,curve:La,ellipse:Oa,line:Pa,markdown:ja,markdownsegment:Da,point:qa,polygon:Va,rect:Ba,stick:Ia,text:Ra,textsegment:Ha,tile:Xa},Symbol.toStringTag,{value:"Module"})),Ya=Object.assign(function(t,{position:e="stack",width:n=1,height:i=1}){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(r.some(f=>typeof f=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),l=ee(Object.fromEntries(o.map(f=>[f,t[f]]))),c=ee({group:l??0,value:r}),a=Map.groupBy(t.$raw,(f,h)=>c.categories[c[h]]),s=Array.from(a.values()),u=Array.from(a.keys()),d={$raw:s,$group:u.map(f=>f.group)};for(let f of o)d[f]=u.map(h=>h.group).map(h=>l.categories[h][f]);if(t.x?(d.x=u.map(f=>f.value),d.height=s.map(f=>f.length)):(d.y=u.map(f=>f.value),d.width=s.map(f=>f.length)),e=="dodge")t.x?(d.y=d.height.map(f=>f/2),d.width=u.map((f,h)=>n/l.categories.length),d.xnudge=d.$group.map((f,h)=>(d.xnudge?.[h]??0)+((f+.5)/l.categories.length-.5)*n)):(d.x=d.width.map(f=>f/2),d.height=u.map((f,h)=>i/l.categories.length),d.ynudge=d.$group.map((f,h)=>(d.ynudge?.[h]??0)+((f+.5)/l.categories.length-.5)*i));else{let f=Object.fromEntries(Array.from(new Set(r)).map(y=>[y,0])),h=u.map(y=>0),m=u.map((y,v)=>[y,v]).sort(([{group:y}],[{group:v}])=>y-v);for(let[y,v]of m)h[v]=f[y.value],f[y.value]+=s[v].length;t.x?(d.y=d.height.map((y,v)=>h[v]+y/2),d.width=u.map(y=>n)):(d.x=d.width.map((y,v)=>h[v]+y/2),d.height=u.map(y=>i))}return d},{core_attrs:["x","y","xnudge","ynudge"]}),za=Object.assign(function(t,{}){let e=["x","y"].filter(L=>t[L]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${e.join('", "')}"`);let n=t.x.some($1),i=t.y.some($1);if(n&&i)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!n&&!i)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[r,o]=n?["y","x"]:["x","y"],l=Object.keys(t).filter(L=>L!=r&&!L.startsWith("$")),c=ee(Object.fromEntries(l.map(L=>[L,t[L]]))),a=ee({group:c??0,cate:t[o]}),s=Map.groupBy(a.map((L,g)=>g),(L,g)=>a.categories[a[g]]),u=Array.from(s.keys()),d=Array.from(s.values()).map(L=>L.map(g=>t.$raw[g])),f=Array.from(s.values()).map(L=>L.map(g=>t[r][g])),h=f.map(L=>zt.min(L)),m=f.map(L=>zt.quantile(L,.25)),y=f.map(L=>zt.quantile(L,.5)),v=f.map(L=>zt.quantile(L,.75)),x=f.map(L=>zt.max(L)),T=f.map((L,g)=>v[g]-m[g]),A=f.map((L,g)=>Math.max(h[g],m[g]-1.5*T[g])),M=f.map((L,g)=>Math.min(x[g],v[g]+1.5*T[g])),j=Array.from(s.values()).map((L,g)=>{let b=L.filter(S=>t[r][S]<A[g]||t[r][S]>M[g]);return{[r]:b.map(S=>t[r][S]),$raw:b.map(S=>t.$raw[S])}}),$={$raw:d,$group:u.map(L=>L.group),min:h,lwisker:A,Q1:m,median:y,Q3:v,uwisker:M,max:x,outliers:j};for(let L of l)$[L]=u.map(g=>g.group).map(g=>c.categories[g][L]);return $},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),Fa=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatCurve": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ee(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ee({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Ei({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),Ua=Object.assign(function(t,{n:e=512,kernel:n="gaussian"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(i.some(h=>typeof h!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=Lr[n],!n)throw new Error(`kernel must be one of ${Object.keys(Lr).map(h=>`"${h}"`).join(", ")}`);let r=Object.keys(t).filter(h=>!["x","y"].includes(h)&&!h.startsWith("$")),o=ee(Object.fromEntries(r.map(h=>[h,t[h]]))),l=ee({group:o??new Array(i.length).fill(0)}).map((h,m,y)=>y.categories[h]),c=Map.groupBy(t.$raw,(h,m)=>l[m]),a=Array.from(c.values()),s=Array.from(c.keys()),u=Array.from(Map.groupBy(i,(h,m)=>l[m]).values()),d={$raw:a,$group:s.map(h=>h.group)},f=u.map(h=>{let m=Ga.nrd0(h),{min:y,max:v}=zt.extent(h);y-=3*m,v+=3*m;let x=(v-y)/(e-1);return Array.from({length:e},(A,M)=>y+M*x).map(A=>[A,zt.mean(h.map(M=>n((A-M)/m)))/m])});for(let h of r)d[h]=s.map(m=>o.categories[m.group][h]);return t.x?d.points=f.map(h=>h.map(([m,y])=>({x:m,y}))):d.points=f.map(h=>h.map(([m,y])=>({x:y,y:m}))),d},{core_attrs:["x","y","xnudge","ynudge"]}),Ga={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=zt.sd(t),n=zt.quantile(t,.75)-zt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=zt.sd(t),n=zt.quantile(t,.75)-zt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Lr={uniform:t=>Math.abs(t)<=1?.5:0,triangular:t=>Math.abs(t)<=1?1-Math.abs(t):0,epanechnikov:t=>Math.abs(t)<=1?.75*(1-t**2):0,biweight:t=>Math.abs(t)<=1?15/16*(1-t**2)**2:0,triweight:t=>Math.abs(t)<=1?35/32*(1-t**2)**3:0,tricube:t=>Math.abs(t)<=1?70/81*(1-Math.abs(t)**3)**3:0,gaussian:t=>Math.exp(-.5*t**2)/Math.sqrt(2*Math.PI),cosine:t=>Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0,logistic:t=>1/Math.cosh(t)**2/Math.PI,sigmoid:t=>2/(Math.exp(t)+Math.exp(-t))**2/Math.PI},Wa=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(f=>t[f]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let i=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),r=ee(Object.fromEntries(i.map(f=>[f,t[f]]))),o=ee({group:r??new Array(t.x.length).fill(0)}).map((f,h,m)=>m.categories[f]),l=Map.groupBy(t.$raw,(f,h)=>o[h]),c=Array.from(l.values()),a=Array.from(l.keys()),s=-2*Math.log(1-e),u=Array.from(Map.groupBy(Ei({x:t.x,y:t.y}),(f,h)=>o[h]).values()).map(f=>{const h=f.length;let m=f.reduce((M,j)=>M+j.x,0)/h,y=f.reduce((M,j)=>M+j.y,0)/h;if(h<2)return{};let v=f.reduce((M,j)=>M+(j.x-m)**2,0)/(h-1),x=f.reduce((M,j)=>M+(j.x-m)*(j.y-y),0)/(h-1),T=f.reduce((M,j)=>M+(j.y-y)**2,0)/(h-1),A=(v*T-x*x)*s;return{cx:m,cy:y,A:T/A,B:-x/A,C:v/A}}),d={$raw:c,cx:u.map(f=>f.cx??0),cy:u.map(f=>f.cy??0),A:u.map(f=>f.A??0),B:u.map(f=>f.B??0),C:u.map(f=>f.C??0)};for(let f of i)d[f]=a.map(h=>h.group).map(h=>r.categories[h][f]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),Ka=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:i}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(r.some(f=>typeof f!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(i)i.sort((f,h)=>f-h);else{let{min:f,max:h}=zt.extent(r);n||(n=(h-f)/(e-1)),i=Array.from({length:e+1},(m,y)=>f+(y-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),l=ee(Object.fromEntries(o.map(f=>[f,t[f]]))),c=ee({group:l??new Array(r.length).fill(0),upper:r.map(f=>i.findLast(h=>h<=f)??i[0]),lower:r.map(f=>i.find(h=>h>f)??i[e])}).map((f,h,m)=>m.categories[f]),a=Map.groupBy(t.$raw,(f,h)=>c[h]),s=Array.from(a.values()),u=Array.from(a.keys()),d={$raw:s,count:s.map(f=>f.length),$group:u.map(f=>f.group),upper:u.map(f=>f.upper),lower:u.map(f=>f.lower)};for(let f of o)d[f]=u.map(h=>l.categories[h.group][f]);return t.x?(({upper:f,lower:h,count:m,ymin:y=s.map(()=>0),...v})=>({xmin:f,xmax:h,ymin:y,ymax:m,...v}))(d):(({upper:f,lower:h,count:m,xmin:y=s.map(()=>0),...v})=>({xmin:y,xmax:m,ymin:f,ymax:h,...v}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),Za=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),_a=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(s=>t[s]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let i=t.group??new Array(t.x.length).fill(null),o=Object.values(i.reduce((s,u,d)=>(s[u]??=[],s[u].push(d),s),{})).map(s=>s.map((u,d)=>[t[e][u],d]).sort((u,d)=>u[0]-d[0]).map((u,d)=>s[u[1]])),l=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),c=o.map(s=>s.slice(1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),a={};for(let s in t)a[s]=l.map(u=>t[s][u]);return a.xend=c.map(s=>t.x[s]),a.yend=c.map(s=>t.y[s]),a},{core_attrs:["x","y","xnudge","ynudge"]}),Qa=Object.assign(function(t){if(t.x!=null){let e=["x","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({x:n,ymin:i,ymax:r,...o})=>({x:n,xend:n,y:i,yend:r,...o}))(t)}else if(t.y!=null){let e=["y","xmin","xmax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({y:n,xmin:i,xmax:r,...o})=>({y:n,yend:n,x:i,xend:r,...o}))(t)}else throw new Error('Missing aesthetics for "StatLinerange": x,ymin,ymax or y,xmin,xmax')},{core_attrs:["x","y","xmin","xmax","ymin","ymax","xnudge","ynudge"]}),Ja=Object.assign(function(t){let e=["x","y"].filter(a=>t[a]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPath": "${e.join('", "')}"`);let n=t.group??new Array(t.x.length).fill(null),r=Object.values(n.reduce((a,s,u)=>(a[s]??=[],a[s].push(u),a),{})).map(a=>a.map((s,u)=>a[u])),o=r.map(a=>a.slice(0,-1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),l=r.map(a=>a.slice(1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),c={};for(let a in t)c[a]=o.map(s=>t[a][s]);return c.xend=l.map(a=>t.x[a]),c.yend=l.map(a=>t.y[a]),c},{core_attrs:["x","y","xnudge","ynudge"]}),tc=Object.assign(function(t){let e=["x","y"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPoint": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge"]}),ec=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPolygon": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=ee(Object.fromEntries(n.map(u=>[u,t[u]]))),r=ee({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Ei({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["points","xnudge","ynudge"]}),nc=Object.assign(function(t){let e=["xmin","xmax","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatRect": "${e.join('", "')}"`);return t},{core_attrs:["xmin","xmax","ymin","ymax","xnudge","ynudge"]}),ic=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatSegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge"]}),rc=Object.assign(function(t){t.dx==null&&(t.dx=Array(t.x.length).fill(0)),t.dy==null&&(t.dy=Array(t.y.length).fill(0));let e=["x","y","dx","dy"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatStick": "${e.join('", "')}"`);return t},{core_attrs:["x","y","dx","dy","xnudge","ynudge"]}),oc=Object.assign(function(t){let e=["x","y","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatText": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge","label","text-length"]}),sc=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTextsegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge","label"]}),lc=Object.assign(function(t){t.width==null&&t.x.some(n=>typeof n=="string")&&(t.width=Array(t.x.length).fill(1)),t.height==null&&t.y.some(n=>typeof n=="string")&&(t.height=Array(t.y.length).fill(1));let e=["x","y","width","height"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTile": "${e.join('", "')}"`);return t},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),Ko=Object.freeze(Object.defineProperty({__proto__:null,bar:Ya,boxplot:za,curve:Fa,density:Ua,ellipse:Wa,histogram:Ka,identity:Za,line:_a,linerange:Qa,path:Ja,point:tc,polygon:ec,rect:nc,segment:ic,stick:rc,text:oc,textsegment:sc,tile:lc},Symbol.toStringTag,{value:"Module"}));function nn(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function ac(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Zo(t){let e,n,i;t.length!==2?(e=nn,n=(c,a)=>nn(t(c),a),i=(c,a)=>t(c)-a):(e=t===nn||t===ac?t:cc,n=t,i=t);function r(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<0?s=d+1:u=d}while(s<u)}return s}function o(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<=0?s=d+1:u=d}while(s<u)}return s}function l(c,a,s=0,u=c.length){const d=r(c,a,s,u-1);return d>s&&i(c[d-1],a)>-i(c[d],a)?d-1:d}return{left:r,center:l,right:o}}function cc(){return 0}function uc(t){return t===null?NaN:+t}const hc=Zo(nn),fc=hc.right;Zo(uc).center;const dc=Math.sqrt(50),mc=Math.sqrt(10),gc=Math.sqrt(2);function un(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),l=o>=dc?10:o>=mc?5:o>=gc?2:1;let c,a,s;return r<0?(s=Math.pow(10,-r)/l,c=Math.round(t*s),a=Math.round(e*s),c/s<t&&++c,a/s>e&&--a,s=-s):(s=Math.pow(10,r)*l,c=Math.round(t/s),a=Math.round(e/s),c*s<t&&++c,a*s>e&&--a),a<c&&.5<=n&&n<2?un(t,e,n*2):[c,a,s]}function yc(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,l]=i?un(e,t,n):un(t,e,n);if(!(o>=r))return[];const c=o-r+1,a=new Array(c);if(i)if(l<0)for(let s=0;s<c;++s)a[s]=(o-s)/-l;else for(let s=0;s<c;++s)a[s]=(o-s)*l;else if(l<0)for(let s=0;s<c;++s)a[s]=(r+s)/-l;else for(let s=0;s<c;++s)a[s]=(r+s)*l;return a}function ai(t,e,n){return e=+e,t=+t,n=+n,un(t,e,n)[2]}function pc(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?ai(e,t,n):ai(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var vc={value:()=>{}};function _o(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new rn(n)}function rn(t){this._=t}function xc(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}rn.prototype=_o.prototype={constructor:rn,on:function(t,e){var n=this._,i=xc(t+"",n),r,o=-1,l=i.length;if(arguments.length<2){for(;++o<l;)if((r=(t=i[o]).type)&&(r=bc(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<l;)if(r=(t=i[o]).type)n[r]=Or(n[r],t.name,e);else if(e==null)for(r in n)n[r]=Or(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new rn(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function bc(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function Or(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=vc,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var ci="http://www.w3.org/1999/xhtml";const Pr={svg:"http://www.w3.org/2000/svg",xhtml:ci,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Pn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Pr.hasOwnProperty(e)?{space:Pr[e],local:t}:t}function wc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===ci&&e.documentElement.namespaceURI===ci?e.createElement(t):e.createElementNS(n,t)}}function kc(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Qo(t){var e=Pn(t);return(e.local?kc:wc)(e)}function Ac(){}function Li(t){return t==null?Ac:function(){return this.querySelector(t)}}function Sc(t){typeof t!="function"&&(t=Li(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=new Array(l),a,s,u=0;u<l;++u)(a=o[u])&&(s=t.call(a,a.__data__,u,o))&&("__data__"in a&&(s.__data__=a.__data__),c[u]=s);return new he(i,this._parents)}function Cc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Nc(){return[]}function Jo(t){return t==null?Nc:function(){return this.querySelectorAll(t)}}function Mc(t){return function(){return Cc(t.apply(this,arguments))}}function $c(t){typeof t=="function"?t=Mc(t):t=Jo(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var l=e[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&(i.push(t.call(a,a.__data__,s,l)),r.push(a));return new he(i,r)}function ts(t){return function(){return this.matches(t)}}function es(t){return function(e){return e.matches(t)}}var Tc=Array.prototype.find;function Ec(t){return function(){return Tc.call(this.children,t)}}function Lc(){return this.firstElementChild}function Oc(t){return this.select(t==null?Lc:Ec(typeof t=="function"?t:es(t)))}var Pc=Array.prototype.filter;function jc(){return Array.from(this.children)}function Dc(t){return function(){return Pc.call(this.children,t)}}function qc(t){return this.selectAll(t==null?jc:Dc(typeof t=="function"?t:es(t)))}function Vc(t){typeof t!="function"&&(t=ts(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new he(i,this._parents)}function ns(t){return new Array(t.length)}function Bc(){return new he(this._enter||this._groups.map(ns),this._parents)}function hn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}hn.prototype={constructor:hn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function Ic(t){return function(){return t}}function Rc(t,e,n,i,r,o){for(var l=0,c,a=e.length,s=o.length;l<s;++l)(c=e[l])?(c.__data__=o[l],i[l]=c):n[l]=new hn(t,o[l]);for(;l<a;++l)(c=e[l])&&(r[l]=c)}function Hc(t,e,n,i,r,o,l){var c,a,s=new Map,u=e.length,d=o.length,f=new Array(u),h;for(c=0;c<u;++c)(a=e[c])&&(f[c]=h=l.call(a,a.__data__,c,e)+"",s.has(h)?r[c]=a:s.set(h,a));for(c=0;c<d;++c)h=l.call(t,o[c],c,o)+"",(a=s.get(h))?(i[c]=a,a.__data__=o[c],s.delete(h)):n[c]=new hn(t,o[c]);for(c=0;c<u;++c)(a=e[c])&&s.get(f[c])===a&&(r[c]=a)}function Xc(t){return t.__data__}function Yc(t,e){if(!arguments.length)return Array.from(this,Xc);var n=e?Hc:Rc,i=this._parents,r=this._groups;typeof t!="function"&&(t=Ic(t));for(var o=r.length,l=new Array(o),c=new Array(o),a=new Array(o),s=0;s<o;++s){var u=i[s],d=r[s],f=d.length,h=zc(t.call(u,u&&u.__data__,s,i)),m=h.length,y=c[s]=new Array(m),v=l[s]=new Array(m),x=a[s]=new Array(f);n(u,d,y,v,x,h,e);for(var T=0,A=0,M,j;T<m;++T)if(M=y[T]){for(T>=A&&(A=T+1);!(j=v[A])&&++A<m;);M._next=j||null}}return l=new he(l,i),l._enter=c,l._exit=a,l}function zc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Fc(){return new he(this._exit||this._groups.map(ns),this._parents)}function Uc(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function Gc(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,l=Math.min(r,o),c=new Array(r),a=0;a<l;++a)for(var s=n[a],u=i[a],d=s.length,f=c[a]=new Array(d),h,m=0;m<d;++m)(h=s[m]||u[m])&&(f[m]=h);for(;a<r;++a)c[a]=n[a];return new he(c,this._parents)}function Wc(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],l;--r>=0;)(l=i[r])&&(o&&l.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(l,o),o=l);return this}function Kc(t){t||(t=Zc);function e(d,f){return d&&f?t(d.__data__,f.__data__):!d-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var l=n[o],c=l.length,a=r[o]=new Array(c),s,u=0;u<c;++u)(s=l[u])&&(a[u]=s);a.sort(e)}return new he(r,this._parents).order()}function Zc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function _c(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Qc(){return Array.from(this)}function Jc(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var l=i[r];if(l)return l}return null}function t0(){let t=0;for(const e of this)++t;return t}function e0(){return!this.node()}function n0(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,l=r.length,c;o<l;++o)(c=r[o])&&t.call(c,c.__data__,o,r);return this}function i0(t){return function(){this.removeAttribute(t)}}function r0(t){return function(){this.removeAttributeNS(t.space,t.local)}}function o0(t,e){return function(){this.setAttribute(t,e)}}function s0(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function l0(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function a0(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function c0(t,e){var n=Pn(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?r0:i0:typeof e=="function"?n.local?a0:l0:n.local?s0:o0)(n,e))}function is(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function u0(t){return function(){this.style.removeProperty(t)}}function h0(t,e,n){return function(){this.style.setProperty(t,e,n)}}function f0(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function d0(t,e,n){return arguments.length>1?this.each((e==null?u0:typeof e=="function"?f0:h0)(t,e,n??"")):d1(this.node(),t)}function d1(t,e){return t.style.getPropertyValue(e)||is(t).getComputedStyle(t,null).getPropertyValue(e)}function m0(t){return function(){delete this[t]}}function g0(t,e){return function(){this[t]=e}}function y0(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function p0(t,e){return arguments.length>1?this.each((e==null?m0:typeof e=="function"?y0:g0)(t,e)):this.node()[t]}function rs(t){return t.trim().split(/^|\s+/)}function Oi(t){return t.classList||new os(t)}function os(t){this._node=t,this._names=rs(t.getAttribute("class")||"")}os.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ss(t,e){for(var n=Oi(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function ls(t,e){for(var n=Oi(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function v0(t){return function(){ss(this,t)}}function x0(t){return function(){ls(this,t)}}function b0(t,e){return function(){(e.apply(this,arguments)?ss:ls)(this,t)}}function w0(t,e){var n=rs(t+"");if(arguments.length<2){for(var i=Oi(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?b0:e?v0:x0)(n,e))}function k0(){this.textContent=""}function A0(t){return function(){this.textContent=t}}function S0(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function C0(t){return arguments.length?this.each(t==null?k0:(typeof t=="function"?S0:A0)(t)):this.node().textContent}function N0(){this.innerHTML=""}function M0(t){return function(){this.innerHTML=t}}function $0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function T0(t){return arguments.length?this.each(t==null?N0:(typeof t=="function"?$0:M0)(t)):this.node().innerHTML}function E0(){this.nextSibling&&this.parentNode.appendChild(this)}function L0(){return this.each(E0)}function O0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function P0(){return this.each(O0)}function j0(t){var e=typeof t=="function"?t:Qo(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function D0(){return null}function q0(t,e){var n=typeof t=="function"?t:Qo(t),i=e==null?D0:typeof e=="function"?e:Li(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function V0(){var t=this.parentNode;t&&t.removeChild(this)}function B0(){return this.each(V0)}function I0(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function R0(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function H0(t){return this.select(t?R0:I0)}function X0(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Y0(t){return function(e){t.call(this,e,this.__data__)}}function z0(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function F0(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function U0(t,e,n){return function(){var i=this.__on,r,o=Y0(e);if(i){for(var l=0,c=i.length;l<c;++l)if((r=i[l]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function G0(t,e,n){var i=z0(t+""),r,o=i.length,l;if(arguments.length<2){var c=this.node().__on;if(c){for(var a=0,s=c.length,u;a<s;++a)for(r=0,u=c[a];r<o;++r)if((l=i[r]).type===u.type&&l.name===u.name)return u.value}return}for(c=e?U0:F0,r=0;r<o;++r)this.each(c(i[r],e,n));return this}function as(t,e,n){var i=is(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function W0(t,e){return function(){return as(this,t,e)}}function K0(t,e){return function(){return as(this,t,e.apply(this,arguments))}}function Z0(t,e){return this.each((typeof e=="function"?K0:W0)(t,e))}function*_0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,l;r<o;++r)(l=i[r])&&(yield l)}var Q0=[null];function he(t,e){this._groups=t,this._parents=e}function D1(){return new he([[document.documentElement]],Q0)}function J0(){return this}he.prototype=D1.prototype={constructor:he,select:Sc,selectAll:$c,selectChild:Oc,selectChildren:qc,filter:Vc,data:Yc,enter:Bc,exit:Fc,join:Uc,merge:Gc,selection:J0,order:Wc,sort:Kc,call:_c,nodes:Qc,node:Jc,size:t0,empty:e0,each:n0,attr:c0,style:d0,property:p0,classed:w0,text:C0,html:T0,raise:L0,lower:P0,append:j0,insert:q0,remove:B0,clone:H0,datum:X0,on:G0,dispatch:Z0,[Symbol.iterator]:_0};function q1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function jn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Ze(){}var T1=.7,fn=1/T1,u1="\\s*([+-]?\\d+)\\s*",E1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tu=/^#([0-9a-f]{3,8})$/,eu=new RegExp(`^rgb\\(${u1},${u1},${u1}\\)$`),nu=new RegExp(`^rgb\\(${ge},${ge},${ge}\\)$`),iu=new RegExp(`^rgba\\(${u1},${u1},${u1},${E1}\\)$`),ru=new RegExp(`^rgba\\(${ge},${ge},${ge},${E1}\\)$`),ou=new RegExp(`^hsl\\(${E1},${ge},${ge}\\)$`),su=new RegExp(`^hsla\\(${E1},${ge},${ge},${E1}\\)$`),jr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};q1(Ze,Ue,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Dr,formatHex:Dr,formatHex8:lu,formatHsl:au,formatRgb:qr,toString:qr});function Dr(){return this.rgb().formatHex()}function lu(){return this.rgb().formatHex8()}function au(){return us(this).formatHsl()}function qr(){return this.rgb().formatRgb()}function Ue(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=tu.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Vr(e):n===3?new Kt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?G1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?G1(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=eu.exec(t))?new Kt(e[1],e[2],e[3],1):(e=nu.exec(t))?new Kt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=iu.exec(t))?G1(e[1],e[2],e[3],e[4]):(e=ru.exec(t))?G1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=ou.exec(t))?Rr(e[1],e[2]/100,e[3]/100,1):(e=su.exec(t))?Rr(e[1],e[2]/100,e[3]/100,e[4]):jr.hasOwnProperty(t)?Vr(jr[t]):t==="transparent"?new Kt(NaN,NaN,NaN,0):null}function Vr(t){return new Kt(t>>16&255,t>>8&255,t&255,1)}function G1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Kt(t,e,n,i)}function cs(t){return t instanceof Ze||(t=Ue(t)),t?(t=t.rgb(),new Kt(t.r,t.g,t.b,t.opacity)):new Kt}function ui(t,e,n,i){return arguments.length===1?cs(t):new Kt(t,e,n,i??1)}function Kt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}q1(Kt,ui,jn(Ze,{brighter(t){return t=t==null?fn:Math.pow(fn,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?T1:Math.pow(T1,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Kt(Fe(this.r),Fe(this.g),Fe(this.b),dn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Br,formatHex:Br,formatHex8:cu,formatRgb:Ir,toString:Ir}));function Br(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}`}function cu(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}${Re((isNaN(this.opacity)?1:this.opacity)*255)}`}function Ir(){const t=dn(this.opacity);return`${t===1?"rgb(":"rgba("}${Fe(this.r)}, ${Fe(this.g)}, ${Fe(this.b)}${t===1?")":`, ${t})`}`}function dn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Fe(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Re(t){return t=Fe(t),(t<16?"0":"")+t.toString(16)}function Rr(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ue(t,e,n,i)}function us(t){if(t instanceof ue)return new ue(t.h,t.s,t.l,t.opacity);if(t instanceof Ze||(t=Ue(t)),!t)return new ue;if(t instanceof ue)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),l=NaN,c=o-r,a=(o+r)/2;return c?(e===o?l=(n-i)/c+(n<i)*6:n===o?l=(i-e)/c+2:l=(e-n)/c+4,c/=a<.5?o+r:2-o-r,l*=60):c=a>0&&a<1?0:l,new ue(l,c,a,t.opacity)}function uu(t,e,n,i){return arguments.length===1?us(t):new ue(t,e,n,i??1)}function ue(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}q1(ue,uu,jn(Ze,{brighter(t){return t=t==null?fn:Math.pow(fn,t),new ue(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?T1:Math.pow(T1,t),new ue(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Kt(Fn(t>=240?t-240:t+120,r,i),Fn(t,r,i),Fn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ue(Hr(this.h),W1(this.s),W1(this.l),dn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=dn(this.opacity);return`${t===1?"hsl(":"hsla("}${Hr(this.h)}, ${W1(this.s)*100}%, ${W1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Hr(t){return t=(t||0)%360,t<0?t+360:t}function W1(t){return Math.max(0,Math.min(1,t||0))}function Fn(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const hu=Math.PI/180,fu=180/Math.PI,mn=18,hs=.96422,fs=1,ds=.82521,ms=4/29,h1=6/29,gs=3*h1*h1,du=h1*h1*h1;function ys(t){if(t instanceof ye)return new ye(t.l,t.a,t.b,t.opacity);if(t instanceof Ce)return vs(t);t instanceof Kt||(t=cs(t));var e=Kn(t.r),n=Kn(t.g),i=Kn(t.b),r=Un((.2225045*e+.7168786*n+.0606169*i)/fs),o,l;return e===n&&n===i?o=l=r:(o=Un((.4360747*e+.3850649*n+.1430804*i)/hs),l=Un((.0139322*e+.0971045*n+.7141733*i)/ds)),new ye(116*r-16,500*(o-r),200*(r-l),t.opacity)}function hi(t,e,n,i){return arguments.length===1?ys(t):new ye(t,e,n,i??1)}function ye(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}q1(ye,hi,jn(Ze,{brighter(t){return new ye(this.l+mn*(t??1),this.a,this.b,this.opacity)},darker(t){return new ye(this.l-mn*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=hs*Gn(e),t=fs*Gn(t),n=ds*Gn(n),new Kt(Wn(3.1338561*e-1.6168667*t-.4906146*n),Wn(-.9787684*e+1.9161415*t+.033454*n),Wn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Un(t){return t>du?Math.pow(t,1/3):t/gs+ms}function Gn(t){return t>h1?t*t*t:gs*(t-ms)}function Wn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Kn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function mu(t){if(t instanceof Ce)return new Ce(t.h,t.c,t.l,t.opacity);if(t instanceof ye||(t=ys(t)),t.a===0&&t.b===0)return new Ce(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*fu;return new Ce(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ps(t,e,n,i){return arguments.length===1?mu(t):new Ce(t,e,n,i??1)}function Ce(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function vs(t){if(isNaN(t.h))return new ye(t.l,0,0,t.opacity);var e=t.h*hu;return new ye(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}q1(Ce,ps,jn(Ze,{brighter(t){return new Ce(this.h,this.c,this.l+mn*(t??1),this.opacity)},darker(t){return new Ce(this.h,this.c,this.l-mn*(t??1),this.opacity)},rgb(){return vs(this).rgb()}}));const Pi=t=>()=>t;function gu(t,e){return function(n){return t+n*e}}function yu(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function pu(t){return(t=+t)==1?o1:function(e,n){return n-e?yu(e,n,t):Pi(isNaN(e)?n:e)}}function o1(t,e){var n=e-t;return n?gu(t,n):Pi(isNaN(t)?e:t)}const gn=(function t(e){var n=pu(e);function i(r,o){var l=n((r=ui(r)).r,(o=ui(o)).r),c=n(r.g,o.g),a=n(r.b,o.b),s=o1(r.opacity,o.opacity);return function(u){return r.r=l(u),r.g=c(u),r.b=a(u),r.opacity=s(u),r+""}}return i.gamma=t,i})(1);function vu(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,i=e.slice(),r;return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function xu(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function bu(t,e){var n=e?e.length:0,i=t?Math.min(n,t.length):0,r=new Array(i),o=new Array(n),l;for(l=0;l<i;++l)r[l]=ji(t[l],e[l]);for(;l<n;++l)o[l]=e[l];return function(c){for(l=0;l<i;++l)o[l]=r[l](c);return o}}function wu(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function ce(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function ku(t,e){var n={},i={},r;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(r in e)r in t?n[r]=ji(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var fi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zn=new RegExp(fi.source,"g");function Au(t){return function(){return t}}function Su(t){return function(e){return t(e)+""}}function xs(t,e){var n=fi.lastIndex=Zn.lastIndex=0,i,r,o,l=-1,c=[],a=[];for(t=t+"",e=e+"";(i=fi.exec(t))&&(r=Zn.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),c[l]?c[l]+=o:c[++l]=o),(i=i[0])===(r=r[0])?c[l]?c[l]+=r:c[++l]=r:(c[++l]=null,a.push({i:l,x:ce(i,r)})),n=Zn.lastIndex;return n<e.length&&(o=e.slice(n),c[l]?c[l]+=o:c[++l]=o),c.length<2?a[0]?Su(a[0].x):Au(e):(e=a.length,function(s){for(var u=0,d;u<e;++u)c[(d=a[u]).i]=d.x(s);return c.join("")})}function ji(t,e){var n=typeof e,i;return e==null||n==="boolean"?Pi(e):(n==="number"?ce:n==="string"?(i=Ue(e))?(e=i,gn):xs:e instanceof Ue?gn:e instanceof Date?wu:xu(e)?vu:Array.isArray(e)?bu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?ku:ce)(t,e)}function Cu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Xr=180/Math.PI,di={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function bs(t,e,n,i,r,o){var l,c,a;return(l=Math.sqrt(t*t+e*e))&&(t/=l,e/=l),(a=t*n+e*i)&&(n-=t*a,i-=e*a),(c=Math.sqrt(n*n+i*i))&&(n/=c,i/=c,a/=c),t*i<e*n&&(t=-t,e=-e,a=-a,l=-l),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Xr,skewX:Math.atan(a)*Xr,scaleX:l,scaleY:c}}var K1;function Nu(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?di:bs(e.a,e.b,e.c,e.d,e.e,e.f)}function Mu(t){return t==null||(K1||(K1=document.createElementNS("http://www.w3.org/2000/svg","g")),K1.setAttribute("transform",t),!(t=K1.transform.baseVal.consolidate()))?di:(t=t.matrix,bs(t.a,t.b,t.c,t.d,t.e,t.f))}function ws(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push("translate(",null,e,null,n);m.push({i:y-4,x:ce(s,d)},{i:y-2,x:ce(u,f)})}else(d||f)&&h.push("translate("+d+e+f+n)}function l(s,u,d,f){s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),f.push({i:d.push(r(d)+"rotate(",null,i)-2,x:ce(s,u)})):u&&d.push(r(d)+"rotate("+u+i)}function c(s,u,d,f){s!==u?f.push({i:d.push(r(d)+"skewX(",null,i)-2,x:ce(s,u)}):u&&d.push(r(d)+"skewX("+u+i)}function a(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push(r(h)+"scale(",null,",",null,")");m.push({i:y-4,x:ce(s,d)},{i:y-2,x:ce(u,f)})}else(d!==1||f!==1)&&h.push(r(h)+"scale("+d+","+f+")")}return function(s,u){var d=[],f=[];return s=t(s),u=t(u),o(s.translateX,s.translateY,u.translateX,u.translateY,d,f),l(s.rotate,u.rotate,d,f),c(s.skewX,u.skewX,d,f),a(s.scaleX,s.scaleY,u.scaleX,u.scaleY,d,f),s=u=null,function(h){for(var m=-1,y=f.length,v;++m<y;)d[(v=f[m]).i]=v.x(h);return d.join("")}}}var $u=ws(Nu,"px, ","px)","deg)"),Tu=ws(Mu,", ",")",")");function mi(t,e){var n=o1((t=hi(t)).l,(e=hi(e)).l),i=o1(t.a,e.a),r=o1(t.b,e.b),o=o1(t.opacity,e.opacity);return function(l){return t.l=n(l),t.a=i(l),t.b=r(l),t.opacity=o(l),t+""}}var m1=0,w1=0,v1=0,ks=1e3,yn,k1,pn=0,Ge=0,Dn=0,L1=typeof performance=="object"&&performance.now?performance:Date,As=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Di(){return Ge||(As(Eu),Ge=L1.now()+Dn)}function Eu(){Ge=0}function vn(){this._call=this._time=this._next=null}vn.prototype=Ss.prototype={constructor:vn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Di():+n)+(e==null?0:+e),!this._next&&k1!==this&&(k1?k1._next=this:yn=this,k1=this),this._call=t,this._time=n,gi()},stop:function(){this._call&&(this._call=null,this._time=1/0,gi())}};function Ss(t,e,n){var i=new vn;return i.restart(t,e,n),i}function Lu(){Di(),++m1;for(var t=yn,e;t;)(e=Ge-t._time)>=0&&t._call.call(void 0,e),t=t._next;--m1}function Yr(){Ge=(pn=L1.now())+Dn,m1=w1=0;try{Lu()}finally{m1=0,Pu(),Ge=0}}function Ou(){var t=L1.now(),e=t-pn;e>ks&&(Dn-=e,pn=t)}function Pu(){for(var t,e=yn,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:yn=n);k1=t,gi(i)}function gi(t){if(!m1){w1&&(w1=clearTimeout(w1));var e=t-Ge;e>24?(t<1/0&&(w1=setTimeout(Yr,t-L1.now()-Dn)),v1&&(v1=clearInterval(v1))):(v1||(pn=L1.now(),v1=setInterval(Ou,ks)),m1=1,As(Yr))}}function zr(t,e,n){var i=new vn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var ju=_o("start","end","cancel","interrupt"),Du=[],Cs=0,Fr=1,yi=2,on=3,Ur=4,pi=5,sn=6;function qn(t,e,n,i,r,o){var l=t.__transition;if(!l)t.__transition={};else if(n in l)return;qu(t,n,{name:e,index:i,group:r,on:ju,tween:Du,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Cs})}function qi(t,e){var n=fe(t,e);if(n.state>Cs)throw new Error("too late; already scheduled");return n}function pe(t,e){var n=fe(t,e);if(n.state>on)throw new Error("too late; already running");return n}function fe(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function qu(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=Ss(o,0,n.time);function o(s){n.state=Fr,n.timer.restart(l,n.delay,n.time),n.delay<=s&&l(s-n.delay)}function l(s){var u,d,f,h;if(n.state!==Fr)return a();for(u in i)if(h=i[u],h.name===n.name){if(h.state===on)return zr(l);h.state===Ur?(h.state=sn,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=sn,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(zr(function(){n.state===on&&(n.state=Ur,n.timer.restart(c,n.delay,n.time),c(s))}),n.state=yi,n.on.call("start",t,t.__data__,n.index,n.group),n.state===yi){for(n.state=on,r=new Array(f=n.tween.length),u=0,d=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++d]=h);r.length=d+1}}function c(s){for(var u=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(a),n.state=pi,1),d=-1,f=r.length;++d<f;)r[d].call(t,u);n.state===pi&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=sn,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function Vu(t,e){var n=t.__transition,i,r,o=!0,l;if(n){e=e==null?null:e+"";for(l in n){if((i=n[l]).name!==e){o=!1;continue}r=i.state>yi&&i.state<pi,i.state=sn,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[l]}o&&delete t.__transition}}function Bu(t){return this.each(function(){Vu(this,t)})}function Iu(t,e){var n,i;return function(){var r=pe(this,t),o=r.tween;if(o!==n){i=n=o;for(var l=0,c=i.length;l<c;++l)if(i[l].name===e){i=i.slice(),i.splice(l,1);break}}r.tween=i}}function Ru(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=pe(this,t),l=o.tween;if(l!==i){r=(i=l).slice();for(var c={name:e,value:n},a=0,s=r.length;a<s;++a)if(r[a].name===e){r[a]=c;break}a===s&&r.push(c)}o.tween=r}}function Hu(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=fe(this.node(),n).tween,r=0,o=i.length,l;r<o;++r)if((l=i[r]).name===t)return l.value;return null}return this.each((e==null?Iu:Ru)(n,t,e))}function Vi(t,e,n){var i=t._id;return t.each(function(){var r=pe(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return fe(r,i).value[e]}}function Ns(t,e){var n;return(typeof e=="number"?ce:e instanceof Ue?gn:(n=Ue(e))?(e=n,gn):xs)(t,e)}function Xu(t){return function(){this.removeAttribute(t)}}function Yu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function zu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttribute(t);return l===r?null:l===i?o:o=e(i=l,n)}}function Fu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttributeNS(t.space,t.local);return l===r?null:l===i?o:o=e(i=l,n)}}function Uu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttribute(t):(l=this.getAttribute(t),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function Gu(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttributeNS(t.space,t.local):(l=this.getAttributeNS(t.space,t.local),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function Wu(t,e){var n=Pn(t),i=n==="transform"?Tu:Ns;return this.attrTween(t,typeof e=="function"?(n.local?Gu:Uu)(n,i,Vi(this,"attr."+t,e)):e==null?(n.local?Yu:Xu)(n):(n.local?Fu:zu)(n,i,e))}function Ku(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Zu(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function _u(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Zu(t,o)),n}return r._value=e,r}function Qu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Ku(t,o)),n}return r._value=e,r}function Ju(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=Pn(t);return this.tween(n,(i.local?_u:Qu)(i,e))}function t2(t,e){return function(){qi(this,t).delay=+e.apply(this,arguments)}}function e2(t,e){return e=+e,function(){qi(this,t).delay=e}}function n2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?t2:e2)(e,t)):fe(this.node(),e).delay}function i2(t,e){return function(){pe(this,t).duration=+e.apply(this,arguments)}}function r2(t,e){return e=+e,function(){pe(this,t).duration=e}}function o2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?i2:r2)(e,t)):fe(this.node(),e).duration}function s2(t,e){if(typeof e!="function")throw new Error;return function(){pe(this,t).ease=e}}function l2(t){var e=this._id;return arguments.length?this.each(s2(e,t)):fe(this.node(),e).ease}function a2(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;pe(this,t).ease=n}}function c2(t){if(typeof t!="function")throw new Error;return this.each(a2(this._id,t))}function u2(t){typeof t!="function"&&(t=ts(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new Me(i,this._parents,this._name,this._id)}function h2(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),l=new Array(i),c=0;c<o;++c)for(var a=e[c],s=n[c],u=a.length,d=l[c]=new Array(u),f,h=0;h<u;++h)(f=a[h]||s[h])&&(d[h]=f);for(;c<i;++c)l[c]=e[c];return new Me(l,this._parents,this._name,this._id)}function f2(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function d2(t,e,n){var i,r,o=f2(e)?qi:pe;return function(){var l=o(this,t),c=l.on;c!==i&&(r=(i=c).copy()).on(e,n),l.on=r}}function m2(t,e){var n=this._id;return arguments.length<2?fe(this.node(),n).on.on(t):this.each(d2(n,t,e))}function g2(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function y2(){return this.on("end.remove",g2(this._id))}function p2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Li(t));for(var i=this._groups,r=i.length,o=new Array(r),l=0;l<r;++l)for(var c=i[l],a=c.length,s=o[l]=new Array(a),u,d,f=0;f<a;++f)(u=c[f])&&(d=t.call(u,u.__data__,f,c))&&("__data__"in u&&(d.__data__=u.__data__),s[f]=d,qn(s[f],e,n,f,s,fe(u,n)));return new Me(o,this._parents,e,n)}function v2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Jo(t));for(var i=this._groups,r=i.length,o=[],l=[],c=0;c<r;++c)for(var a=i[c],s=a.length,u,d=0;d<s;++d)if(u=a[d]){for(var f=t.call(u,u.__data__,d,a),h,m=fe(u,n),y=0,v=f.length;y<v;++y)(h=f[y])&&qn(h,e,n,y,f,m);o.push(f),l.push(u)}return new Me(o,l,e,n)}var x2=D1.prototype.constructor;function b2(){return new x2(this._groups,this._parents)}function w2(t,e){var n,i,r;return function(){var o=d1(this,t),l=(this.style.removeProperty(t),d1(this,t));return o===l?null:o===n&&l===i?r:r=e(n=o,i=l)}}function Ms(t){return function(){this.style.removeProperty(t)}}function k2(t,e,n){var i,r=n+"",o;return function(){var l=d1(this,t);return l===r?null:l===i?o:o=e(i=l,n)}}function A2(t,e,n){var i,r,o;return function(){var l=d1(this,t),c=n(this),a=c+"";return c==null&&(a=c=(this.style.removeProperty(t),d1(this,t))),l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c))}}function S2(t,e){var n,i,r,o="style."+e,l="end."+o,c;return function(){var a=pe(this,t),s=a.on,u=a.value[o]==null?c||(c=Ms(e)):void 0;(s!==n||r!==u)&&(i=(n=s).copy()).on(l,r=u),a.on=i}}function C2(t,e,n){var i=(t+="")=="transform"?$u:Ns;return e==null?this.styleTween(t,w2(t,i)).on("end.style."+t,Ms(t)):typeof e=="function"?this.styleTween(t,A2(t,i,Vi(this,"style."+t,e))).each(S2(this._id,t)):this.styleTween(t,k2(t,i,e),n).on("end.style."+t,null)}function N2(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function M2(t,e,n){var i,r;function o(){var l=e.apply(this,arguments);return l!==r&&(i=(r=l)&&N2(t,l,n)),i}return o._value=e,o}function $2(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;return this.tween(i,M2(t,e,n??""))}function T2(t){return function(){this.textContent=t}}function E2(t){return function(){var e=t(this);this.textContent=e??""}}function L2(t){return this.tween("text",typeof t=="function"?E2(Vi(this,"text",t)):T2(t==null?"":t+""))}function O2(t){return function(e){this.textContent=t.call(this,e)}}function P2(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&O2(r)),e}return i._value=t,i}function j2(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,P2(t))}function D2(){for(var t=this._name,e=this._id,n=$s(),i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)if(a=l[s]){var u=fe(a,e);qn(a,t,n,s,l,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Me(i,this._parents,t,n)}function q2(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,l){var c={value:l},a={value:function(){--r===0&&o()}};n.each(function(){var s=pe(this,i),u=s.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(c),e._.interrupt.push(c),e._.end.push(a)),s.on=e}),r===0&&o()})}var V2=0;function Me(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function $s(){return++V2}var we=D1.prototype;Me.prototype={constructor:Me,select:p2,selectAll:v2,selectChild:we.selectChild,selectChildren:we.selectChildren,filter:u2,merge:h2,selection:b2,transition:D2,call:we.call,nodes:we.nodes,node:we.node,size:we.size,empty:we.empty,each:we.each,on:m2,attr:Wu,attrTween:Ju,style:C2,styleTween:$2,text:L2,textTween:j2,remove:y2,tween:Hu,delay:n2,duration:o2,ease:l2,easeVarying:c2,end:q2,[Symbol.iterator]:we[Symbol.iterator]};function B2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var I2={time:null,delay:0,duration:250,ease:B2};function R2(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function H2(t){var e,n;t instanceof Me?(e=t._id,t=t._name):(e=$s(),(n=I2).time=Di(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&qn(a,t,e,s,l,n||R2(a,e));return new Me(i,this._parents,t,e)}D1.prototype.interrupt=Bu;D1.prototype.transition=H2;const vi=Math.PI,xi=2*vi,Ve=1e-6,X2=xi-Ve;function Ts(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function Y2(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Ts;const n=10**e;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*n)/n+i[r]}}class z2{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?Ts:Y2(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,i,r){this._append`Q${+e},${+n},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,n,i,r,o,l){this._append`C${+e},${+n},${+i},${+r},${this._x1=+o},${this._y1=+l}`}arcTo(e,n,i,r,o){if(e=+e,n=+n,i=+i,r=+r,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,c=this._y1,a=i-e,s=r-n,u=l-e,d=c-n,f=u*u+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>Ve)if(!(Math.abs(d*a-s*u)>Ve)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=i-l,m=r-c,y=a*a+s*s,v=h*h+m*m,x=Math.sqrt(y),T=Math.sqrt(f),A=o*Math.tan((vi-Math.acos((y+f-v)/(2*x*T)))/2),M=A/T,j=A/x;Math.abs(M-1)>Ve&&this._append`L${e+M*u},${n+M*d}`,this._append`A${o},${o},0,0,${+(d*h>u*m)},${this._x1=e+j*a},${this._y1=n+j*s}`}}arc(e,n,i,r,o,l){if(e=+e,n=+n,i=+i,l=!!l,i<0)throw new Error(`negative radius: ${i}`);let c=i*Math.cos(r),a=i*Math.sin(r),s=e+c,u=n+a,d=1^l,f=l?r-o:o-r;this._x1===null?this._append`M${s},${u}`:(Math.abs(this._x1-s)>Ve||Math.abs(this._y1-u)>Ve)&&this._append`L${s},${u}`,i&&(f<0&&(f=f%xi+xi),f>X2?this._append`A${i},${i},0,1,${d},${e-c},${n-a}A${i},${i},0,1,${d},${this._x1=s},${this._y1=u}`:f>Ve&&this._append`A${i},${i},0,${+(f>=vi)},${d},${this._x1=e+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(e,n,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function F2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function xn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function g1(t){return t=xn(Math.abs(t)),t?t[1]:NaN}function U2(t,e){return function(n,i){for(var r=n.length,o=[],l=0,c=t[0],a=0;r>0&&c>0&&(a+c+1>i&&(c=Math.max(1,i-a)),o.push(n.substring(r-=c,r+c)),!((a+=c+1)>i));)c=t[l=(l+1)%t.length];return o.reverse().join(e)}}function G2(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var W2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function bn(t){if(!(e=W2.exec(t)))throw new Error("invalid format: "+t);var e;return new Bi({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}bn.prototype=Bi.prototype;function Bi(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Bi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function K2(t){t:for(var e=t.length,n=1,i=-1,r;n<e;++n)switch(t[n]){case".":i=r=n;break;case"0":i===0&&(i=n),r=n;break;default:if(!+t[n])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(r+1):t}var wn;function Z2(t,e){var n=xn(t,e);if(!n)return wn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(wn=Math.max(-8,Math.min(8,Math.floor(r/3)))*3)+1,l=i.length;return o===l?i:o>l?i+new Array(o-l+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+xn(t,Math.max(0,e+o-1))[0]}function Gr(t,e){var n=xn(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const Wr={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:F2,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Gr(t*100,e),r:Gr,s:Z2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Kr(t){return t}var Zr=Array.prototype.map,_r=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function _2(t){var e=t.grouping===void 0||t.thousands===void 0?Kr:U2(Zr.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",r=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?Kr:G2(Zr.call(t.numerals,String)),l=t.percent===void 0?"%":t.percent+"",c=t.minus===void 0?"\u2212":t.minus+"",a=t.nan===void 0?"NaN":t.nan+"";function s(d,f){d=bn(d);var h=d.fill,m=d.align,y=d.sign,v=d.symbol,x=d.zero,T=d.width,A=d.comma,M=d.precision,j=d.trim,$=d.type;$==="n"?(A=!0,$="g"):Wr[$]||(M===void 0&&(M=12),j=!0,$="g"),(x||h==="0"&&m==="=")&&(x=!0,h="0",m="=");var L=(f&&f.prefix!==void 0?f.prefix:"")+(v==="$"?n:v==="#"&&/[boxX]/.test($)?"0"+$.toLowerCase():""),g=(v==="$"?i:/[%p]/.test($)?l:"")+(f&&f.suffix!==void 0?f.suffix:""),b=Wr[$],S=/[defgprs%]/.test($);M=M===void 0?6:/[gprs]/.test($)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M));function k(w){var B=L,P=g,W,U,z;if($==="c")P=b(w)+P,w="";else{w=+w;var q=w<0||1/w<0;if(w=isNaN(w)?a:b(Math.abs(w),M),j&&(w=K2(w)),q&&+w==0&&y!=="+"&&(q=!1),B=(q?y==="("?y:c:y==="-"||y==="("?"":y)+B,P=($==="s"&&!isNaN(w)&&wn!==void 0?_r[8+wn/3]:"")+P+(q&&y==="("?")":""),S){for(W=-1,U=w.length;++W<U;)if(z=w.charCodeAt(W),48>z||z>57){P=(z===46?r+w.slice(W+1):w.slice(W))+P,w=w.slice(0,W);break}}}A&&!x&&(w=e(w,1/0));var H=B.length+w.length+P.length,F=H<T?new Array(T-H+1).join(h):"";switch(A&&x&&(w=e(F+w,F.length?T-P.length:1/0),F=""),m){case"<":w=B+w+P+F;break;case"=":w=B+F+w+P;break;case"^":w=F.slice(0,H=F.length>>1)+B+w+P+F.slice(H);break;default:w=F+B+w+P;break}return o(w)}return k.toString=function(){return d+""},k}function u(d,f){var h=Math.max(-8,Math.min(8,Math.floor(g1(f)/3)))*3,m=Math.pow(10,-h),y=s((d=bn(d),d.type="f",d),{suffix:_r[8+h/3]});return function(v){return y(m*v)}}return{format:s,formatPrefix:u}}var Z1,Es,Ls;Q2({thousands:",",grouping:[3],currency:["$",""]});function Q2(t){return Z1=_2(t),Es=Z1.format,Ls=Z1.formatPrefix,Z1}function J2(t){return Math.max(0,-g1(Math.abs(t)))}function t9(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(g1(e)/3)))*3-g1(Math.abs(t)))}function e9(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,g1(e)-g1(t))+1}function n9(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function i9(t){return function(){return t}}function r9(t){return+t}var Qr=[0,1];function s1(t){return t}function bi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:i9(isNaN(e)?NaN:.5)}function o9(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function s9(t,e,n){var i=t[0],r=t[1],o=e[0],l=e[1];return r<i?(i=bi(r,i),o=n(l,o)):(i=bi(i,r),o=n(o,l)),function(c){return o(i(c))}}function l9(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),l=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++l<i;)r[l]=bi(t[l],t[l+1]),o[l]=n(e[l],e[l+1]);return function(c){var a=fc(t,c,1,i)-1;return o[a](r[a](c))}}function a9(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function c9(){var t=Qr,e=Qr,n=ji,i,r,o,l=s1,c,a,s;function u(){var f=Math.min(t.length,e.length);return l!==s1&&(l=o9(t[0],t[f-1])),c=f>2?l9:s9,a=s=null,d}function d(f){return f==null||isNaN(f=+f)?o:(a||(a=c(t.map(i),e,n)))(i(l(f)))}return d.invert=function(f){return l(r((s||(s=c(e,t.map(i),ce)))(f)))},d.domain=function(f){return arguments.length?(t=Array.from(f,r9),u()):t.slice()},d.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},d.rangeRound=function(f){return e=Array.from(f),n=Cu,u()},d.clamp=function(f){return arguments.length?(l=f?!0:s1,u()):l!==s1},d.interpolate=function(f){return arguments.length?(n=f,u()):n},d.unknown=function(f){return arguments.length?(o=f,d):o},function(f,h){return i=f,r=h,u()}}function u9(){return c9()(s1,s1)}function h9(t,e,n,i){var r=pc(t,e,n),o;switch(i=bn(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=t9(r,l))&&(i.precision=o),Ls(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=e9(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=J2(r))&&(i.precision=o-(i.type==="%")*2);break}}return Es(i)}function f9(t){var e=t.domain;return t.ticks=function(n){var i=e();return yc(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return h9(r[0],r[r.length-1],n??10,i)},t.nice=function(n){n==null&&(n=10);var i=e(),r=0,o=i.length-1,l=i[r],c=i[o],a,s,u=10;for(c<l&&(s=l,l=c,c=s,s=r,r=o,o=s);u-- >0;){if(s=ai(l,c,n),s===a)return i[r]=l,i[o]=c,e(i);if(s>0)l=Math.floor(l/s)*s,c=Math.ceil(c/s)*s;else if(s<0)l=Math.ceil(l*s)/s,c=Math.floor(c*s)/s;else break;a=s}return t},t}function Os(){var t=u9();return t.copy=function(){return a9(t,Os())},n9.apply(t,arguments),f9(t)}function n1(t){return function(){return t}}const Jr=1e-12;function d9(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);e=i}return t},()=>new z2(e)}function m9(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Ps(t){this._context=t}Ps.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Ii(t){return new Ps(t)}function g9(t){return t[0]}function y9(t){return t[1]}function p9(t,e){var n=n1(!0),i=null,r=Ii,o=null,l=d9(c);t=typeof t=="function"?t:t===void 0?g9:n1(t),e=typeof e=="function"?e:e===void 0?y9:n1(e);function c(a){var s,u=(a=m9(a)).length,d,f=!1,h;for(i==null&&(o=r(h=l())),s=0;s<=u;++s)!(s<u&&n(d=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(d,s,a),+e(d,s,a));if(h)return o=null,h+""||null}return c.x=function(a){return arguments.length?(t=typeof a=="function"?a:n1(+a),c):t},c.y=function(a){return arguments.length?(e=typeof a=="function"?a:n1(+a),c):e},c.defined=function(a){return arguments.length?(n=typeof a=="function"?a:n1(!!a),c):n},c.curve=function(a){return arguments.length?(r=a,i!=null&&(o=r(i)),c):r},c.context=function(a){return arguments.length?(a==null?i=o=null:o=r(i=a),c):i},c}function to(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Ri(t,e){this._context=t,this._k=(1-e)/6}Ri.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:to(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:to(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const js=(function t(e){function n(i){return new Ri(i,e)}return n.tension=function(i){return t(+i)},n})(0);function v9(t,e,n){var i=t._x1,r=t._y1,o=t._x2,l=t._y2;if(t._l01_a>Jr){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,a=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/a,r=(r*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/a}if(t._l23_a>Jr){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*s+t._x1*t._l23_2a-e*t._l12_2a)/u,l=(l*s+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,r,o,l,t._x2,t._y2)}function Ds(t,e){this._context=t,this._alpha=e}Ds.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:v9(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const qs=(function t(e){function n(i){return e?new Ds(i,e):new Ri(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Vs(t){this._context=t}Vs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=eo(t),r=eo(e),o=0,l=1;l<n;++o,++l)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[l],e[l]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function eo(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),l=new Array(n);for(r[0]=0,o[0]=2,l[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,l[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,l[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,l[e]-=i*l[e-1];for(r[n-1]=l[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(l[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function kn(t){return new Vs(t)}function A1(t,e,n){this.k=t,this.x=e,this.y=n}A1.prototype={constructor:A1,scale:function(t){return t===1?this:new A1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new A1(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};A1.prototype;const x9={censor:Oe,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:yt,squish_infinite:li,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function r1(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function Bs({values:t={},na_value:e=null,title:n,...i}={}){let r;return Array.isArray(t)?r=function(o){return o.map(l=>t[+l]??e)}:r=function(o){return o.map(l=>t[l]??e)},Object.assign(r,{title:n},i)}function i1({limits:t,oob:e=Oe,range:n=[0,1],na_value:i=null,null_value:r=null,title:o,...l}={}){return Object.assign(function(a){let s=this?.limits?.min??this?.limits?.[0]??a.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??a.extent?.[1],d=u-s,f=n?.min??n[0],h=n?.max??n[1],m=h-f;return a.map(y=>(y=this.oob(y,{min:s,max:u}),y===null?r:isNaN(y)?i:f+(y-s)/d*m))},{title:o,limits:t,oob:e},l)}function no({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>+i)},{asis:!0,title:t},e)}function wi({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>String(i??""))},{asis:!0,title:t},e)}function An({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,alpha:r=1,direction:o=1,limits:l,oob:c=Oe,na_value:a="#7f7f7f",null_value:s=null,title:u,...d}={}){return Object.assign(function(h){let m=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],v=y-m,x=t?.min??t[0],T=t?.max??t[1],A=T-x;return h.map(M=>(M=this.oob(M,{min:m,max:y}),M===null?s:isNaN(M)?a:ps(i+x+A*(M-m)/v*o,e,n,r).toString()))},{title:u,limits:l,oob:c},d)}function b9({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return Bs({values:t,na_value:e,title:n,...i})}function Sn({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=Oe,na_value:r="#7f7f7f",null_value:o=null,title:l,...c}={}){return Object.assign(function(s){let u=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],f=mi(t,e);return s.map(h=>(h=this.oob(h,{min:u,max:d}),h===null?o:isNaN(h)?r:u===d?f(.5):h>d?e:h<u?t:f((h-u)/(d-u))))},{title:l,limits:n,oob:i},c)}function w9({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=Oe,na_value:l="#7f7f7f",null_value:c=null,title:a,...s}={}){return Object.assign(function(d){let f=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],m=i??(f+h)/2,y=mi(t,e),v=mi(e,n);return d.map(x=>(x=this.oob(x,{min:f,max:h}),x===null?c:isNaN(x)?l:x<m?y((x-f)/(m-f)):v((x-m)/(h-m))))},{title:a,limits:r,oob:o},s)}function k9({colors:t=[],values:e,anchors:n,limits:i,oob:r=Oe,na_value:o="#7f7f7f",null_value:l=null,title:c,...a}={}){return Object.assign(function(u){let d=this?.limits?.min??this?.limits?.[0]??u.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??u.extent?.[1],h=e??n?.map?.(y=>d+(f-d)*y);h??=Array(t.length).fill(0).map((y,v)=>d+(f-d)*v/(t.length-1)),t=t.filter((y,v)=>!isNaN(h[v])),h=h.filter(y=>!isNaN(y));let m=Os(h,t);return u.map(y=>(y=this.oob(y,{min:d,max:f}),y===null?l:isNaN(y)?o:m(y)))},{title:c,limits:i,oob:r},a)}function io({alpha:t,limits:e,oob:n=Oe,title:i,...r}={}){let o=An({alpha:t}),l=Sn();return Object.assign(function(a){return a.level!=null?o.call(this,a):l.call(this,a)},{title:i,limits:e,oob:n},r)}function A9({discrete:t=An(),continuous:e=Sn(),limits:n,oob:i=Oe,title:r,...o}={}){return Object.assign(function(c){return c.level!=null?t.call(this,c):e.call(this,c)},{title:r,limits:n,oob:i},o)}function ro({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}function oo({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}const _n={identity:({title:t,...e}={})=>wi({legend:!1,title:t,...e}),discrete:An,hue:An,manual:b9,continuous:Sn,gradient:Sn,gradient2:w9,gradientn:k9,dynamic:A9,auto:io,custom:r1,default:io},Is={color:_n,stroke:_n,fill:_n,alpha:{continuous:i1,custom:r1,default:({title:t,...e}={})=>i1({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>no({legend:!1,title:t,...e}),continuous:i1,custom:r1,default:({title:t,...e}={})=>i1({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>no({legend:!1,title:t,...e}),continuous:i1,manual:Bs,custom:r1,default:({title:t,...e}={})=>i1({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>wi({legend:!1,title:t,...e}),discrete:oo,default:oo,custom:r1},shape:{identity:({title:t,...e}={})=>wi({legend:!1,title:t,...e}),discrete:ro,default:ro,custom:r1}};function S9({step:t,minor:e=!1}={}){return function({min:n,max:i,minor:r=e}={}){let o=i-n,l=t;if(isNaN(o)||o<0)return[];if(o==0)return[n];let c=10**Math.floor(Math.log10(o)-1),a=o/c;l==null&&(l=([5,10,20].find(d=>d*5>a)??20)*c),r&&(l/=2);let s=Math.ceil(n/l),u=Math.floor(i/l);return new Array(u-s+1).fill(null).map((d,f)=>(s+f)*l)}}function C9(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let i=new Date(t),r=new Date(e),o=i.getUTCFullYear(),l=i.getUTCMonth(),c=i.getUTCDate(),a=i.getUTCHours(),s=i.getUTCMinutes(),u=i.getUTCSeconds(),d=[];if(n>3*31536e6){let f=n/31536e6,h=10**Math.floor(Math.log10(f)-1),m=f/h,y=Math.max((m>50?10:m>25?5:2)*h,1);i=new Date(Date.UTC(Math.ceil(o/y)*y));do d.push(new Date(i));while(i.setUTCFullYear(i.getUTCFullYear()+y)<r)}else if(n>3*2592e6){let f=n/2592e6,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,Math.ceil(l/h)*h));do d.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+h)<r)}else if(n>21*864e5){i=new Date(Date.UTC(o,l,c+(7-i.getUTCDay())%7));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+7)<r)}else if(n>3*864e5){let f=n/864e5,h=[2,3].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,Math.ceil(c)));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+h)<r)}else if(n>3*36e5){let f=n/36e5,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,Math.ceil(a/h)*h));do d.push(new Date(i));while(i.setUTCHours(i.getUTCHours()+h)<r)}else if(n>3*6e4){let f=n/6e4,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,Math.ceil(s/h)*h));do d.push(new Date(i));while(i.setUTCMinutes(i.getUTCMinutes()+h)<r)}else if(n>3e3){let f=n/1e3,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,s,Math.ceil(u/h)*h));do d.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+h)<r)}else{let f=10**Math.floor(Math.log10(n)-1),h=n/f,m=(h>50?20:h>25?10:5)*f,y=Math.ceil(t/m),v=Math.floor(e/m);return new Array(v-y+1).fill(null).map((x,T)=>new Date((y+T)*m))}return d}}const Vn={number:S9,datetime:C9};let N9={y:t=>t.getUTCFullYear(),M:t=>t.getUTCMonth()+1,d:t=>t.getUTCDate(),h:t=>t.getUTCHours(),m:t=>t.getUTCMinutes(),s:t=>t.getUTCSeconds()};function ki(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(N9[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const Rs={default:{"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},si:{y:1e-24,z:1e-21,a:1e-18,f:1e-15,p:1e-12,n:1e-9,\u03BC:1e-6,m:.001,"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},binary:{"":1,Ki:1024,Mi:1024**2,Gi:1024**3,Ti:1024**4,Pi:1024**5,Ei:1024**6,Zi:1024**7,Yi:1024**8},time:{ns:1e-9,\u03BCs:1e-6,ms:.001,s:1,m:60,h:3600,d:86400,w:604800,M:2592e3,y:31536e3}};function M9(){return function(t){return t==null?"":t instanceof Date?ki(t):String(t)}}function Hs({accuracy:t,scale:e=1,prefix:n="",suffix:i="",big_mark:r=" ",style_positive:o="none",style_negative:l="hyphen",scale_cut:c={"":1}}={}){let a={plus:"+",space:" "}[o]??"",s={hyphen:"-",minus:"\u2212",parens:"("}[l]??"";return function(u,d,f=[u]){let h;if(t)h=t;else if(f.length>1){let A=f.filter(j=>isFinite(j)).sort((j,$)=>j-$);h=A.slice(1).map((j,$)=>j-A[$]).reduce((j,$)=>j<$?j:$)*e}else h=u||1;let m=Object.entries(c).sort((A,M)=>M[1]-A[1]).find(A=>A[1]<=h)?.[0]??"",y=(m==""?"":" ")+m+i;h=h/(c[m]??1);let v=Math.max(0,Math.ceil(-Math.log10(h))),x=Math.round(u*e/(c[m]??1)/h)*h,T=n+(x>0?a:x<0?s:"");return x<0&&l=="parens"&&(y=")"+y),x=Math.abs(x).toFixed(v).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),T+x+y}}function Ai({format:t}={}){let e={y:31536e3,M:2678400,d:86400,h:3600,m:60,s:1},n={y:0,M:5,d:8,h:11,m:14,s:17},i={y:4,M:7,d:10,h:13,m:16,s:19};return function(r,o,l=[r]){if(l.length<=1)return ki(new Date(r),t);if(t==null){let c=Array.from(l).sort((f,h)=>f-h),a=c.slice(1).map((f,h)=>f-c[h]).reduce((f,h)=>f<h?f:h)/1e3,s=(c[c.length-1]-c[0])/1e3,u=["y","M","d","m","s"].find(f=>e[f]<=a),d=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],i[u])}return ki(new Date(r),t)}}function so(t){let e=Hs(t),n=Ai(t);return function(i,r,o=[i]){return i instanceof Fo?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const Si={number:Hs,datetime:Ai,timestamp:Ai,asis:M9,auto:so,default:function(t){return so({scale_cut:Rs.default,...t})}};function $9(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}class T9{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:l}=n,{geom:c,stat:a,data:s,aes:u,levels:d={},scales:f={},attrs:h,args:m,vBind:y,extendX:v,extendY:x}=e;if(!Se[c]){console.error(`Invalid geom "${c}"`,"in layer",e,", plot",n);return}let T=typeof a=="function"?a:Ko[a];if(T==null){console.error(`Invalid stat "${a}"`,"in layer",e,", plot",n);return}this.geom=c,this.vBind=Object.assign(y,{extendX:v??o??0,extendY:x??l??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),u={...r,...u};let A={};this.$fnames={};for(const $ in u)this.$fnames[$]=String(u[$]),A[$]=s.map(u[$]).map(L=>L instanceof String||L instanceof Number?new Ye(L):L);A.$raw=s;let M=T?.core_attrs??["x","y","xnudge","ynudge"],j=s.length;j==0&&(j=M.map($=>h[$]).filter($=>$!=null).reduce(($,L)=>Math.max(Array.isArray(L)?L.length:1,$),0));for(const $ in h)if(M.includes($))if(Array.isArray(h[$])){if(h[$].length!=j)throw new Error(`Attribute "${$}" must have the same length as data (${j})`);A[$]=h[$]}else{if(h[$]==null)continue;A[$]=new Array(j).fill(h[$])}try{if(A=T(A,m||{}),A.$group??=A.group,A.$group==null){let $=Object.values(A).filter(L=>Array.isArray(L)).reduce((L,g)=>Math.max(L,g.length),0);A.$group=new Array($).fill(null)}}catch($){console.error("Error",$,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(d).filter($=>d[$]!=null),...Object.keys(f).filter($=>f[$]!=null)]),this.aes=new Set([...this.localScales,...Se[c]?.scale_attrs??[]]),this.$data=A,this.data={...A};for(const $ in A)if(f[$]!=null){let L=new Bn(f[$]);L.aesthetics=$,L._title=this.$fnames[$];let g=this.$data[$];if(!g?.length)continue;L.asis||(d?.[$]!=null?L.level=d[$]:g.some($1)?L.level=ze.from(g):L.extent=zt.extent(g.filter(b=>!(b instanceof Ye)))),this.applyScale($,L)}this.attrs={};for(const $ in h)if(!M.includes($))if(Array.isArray(h[$])){if(h[$].length!=j)throw new Error(`Attribute "${$}" must have the same length as data (${j})`);this.data[$]=h[$]}else this.attrs[$]=h[$],h[$]!=null&&(this.data[$]=new Array(j).fill(h[$]))}applyScale(e,n){let i=this.$data[e];if(i==null)return;n.level&&(i=n.level.apply(i)),n.limits&&(i.extent=n.limits),n.aes=e;let r=n(i);this.data[e]=i.map((o,l)=>o instanceof Ye?o.valueOf():r[l]),this.scales[e]=n}applyCoordScale(e){try{Object.assign(this.data,Se[this.geom]?.coord_scale?.(this.$data,e))}catch(n){console.error(n)}}}class E9{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new T9(n[i],e));this.layers=this.layers.filter(i=>i.$data!=null),this.aes=new Set(this.layers.flatMap(i=>Array.from(i.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const i of this.aes){let r=this.layers.filter(o=>!o.localScales.has(i)).flatMap(o=>o.$data[i]??[]);if(r.length!=0){let o=new Bn(e?.[i]??Is[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some($1)?o.level=ze.from(r):o.extent=zt.extent(r.filter(l=>!(l instanceof Ye)))),o._title=this.layers.reduce((l,c)=>l??c.$fnames?.[i],null);for(const l of this.layers)l.localScales.has(i)||l.applyScale(i,o)}for(const o of this.layers){let l=o.scales?.[i];if(l!=null&&!l.asis){this.scales.has(l)||this.scales.set(l,{});let c=this.scales.get(l);c[o.geom]==null&&(c[o.geom]={});for(let a of Se[o.geom]?.scale_attrs)o.attrs[a]!=null&&(c[o.geom][a]=o.attrs[a])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new ze(...e[n]);else{let i=this.layers.flatMap(r=>(Se[r.geom].get_values??Se[r.geom].get_range)?.(r.$data,n));i.some($1)?this.levels[n]=ze.from(i):(i=this.layers.flatMap(r=>Se[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=zt.extent(i.filter(r=>!(r instanceof Ye))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:Object.values(Object.groupBy(e.data.$group.map((i,r)=>Se[e.geom].validate($9(e.data,(o,l)=>l?.[r]))).filter(i=>i!=null),i=>i.$group)),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,i){let r={};if(this._range=e,this.levels.x){let o=+(e?.xmin??-.5)-(+n.x?.min||0),l=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);r.x=new Cn(this.levels.x,{min:o,max:l})}else{let o=e?.xmin??this.extents.x?.min??0,l=e?.xmax??this.extents.x?.max??0,c=ft(o,-n.x?.min||0),a=ft(l,+n.x?.max||0),s=i?.x??1;if(a-c<s)if(e?.xmax==null&&e?.xmin!=null)a=ft(c,+s);else if(e?.xmax!=null&&e?.xmin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.x=new Nn({min:c,max:a}):r.x=new O1({min:c,max:a})}if(this.levels.y){let o=+(e?.ymin??-.5)-(+n.y?.min||0),l=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);r.y=new Cn(this.levels.y,{min:o,max:l})}else{let o=e?.ymin??this.extents.y?.min??0,l=e?.ymax??this.extents.y?.max??0,c=ft(o,-n.y?.min),a=ft(l,+n.y?.max||0),s=i?.y??1;if(a-c<s)if(e?.ymax==null&&e?.ymin!=null)a=ft(c,+s);else if(e?.ymax!=null&&e?.ymin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.y=new Nn({min:c,max:a}):r.y=new O1({min:c,max:a})}return r}render(e,n,i){let r=this.getCoordScales(e,n,i);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}}class Bn extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,Bn.prototype),Object.assign(i,e),i._fn=n,i}set extent({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this.$limits={0:e,1:n,length:2,min:e,max:n}}get limits(){let e=this.$limits?.min??(this.level?0:this._limits?.min),n=this.$limits?.max??this.level?.length??this._limits?.max;return{0:e,1:n,length:2,min:e,max:n}}toString(){return this.title??String(this._fn)}}class Cn extends Function{constructor(e,{min:n,max:i}={}){const r=n==i?o=>0:o=>(+o-n)/(i-n);return r.range={min:n,max:i},r.level=e,Object.setPrototypeOf(r,Cn.prototype),r}invert(e){let{min:n,max:i}=this.range;return e*(i-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class O1 extends Function{constructor(e){let{min:n,max:i}=e;const r=n==i?o=>isFinite(o)?.5:o:o=>(+o-n)/(i-n);return r.range={min:n,max:i},Object.setPrototypeOf(r,O1.prototype),r}invert(e){let{min:n,max:i}=this.range;return ft(n,e*(i-n))}get breaks(){return Vn.number()}}class Nn extends O1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,Nn.prototype),n}get breaks(){return Vn.datetime()}get minorBreaks(){return[]}}class L9{constructor(e,{breaks:n,labels:i,minorBreaks:r,titles:o}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=i??Si.auto(),this.titles=o??Si.asis(),this.minorBreaks=r??n??e.minorBreaks??e.breaks}getBreaks({range:e,expandMult:n,breakSlot:i}={}){let r=this.breaks,o=this.minorBreaks,l=this.labels,c=this.titles,a=e?.min??this?.range?.min,s=e?.max??this?.range?.max,u=s-a||0;if(a=a==null?a:ft(a,-(n?.min??0)*u),s=s==null?s:ft(s,+(n?.max??0)*u),typeof r=="function"&&(r=r({min:a,max:s})),Array.isArray(r)||(r=[]),typeof l=="function"&&(l=r.map(l)),!Array.isArray(l))l=[];else if(l.length!=r.length)throw new Error("Length of labels must be the same as breaks");if(typeof c=="function"&&(c=r.map(c)),!Array.isArray(c))c=[];else if(c.length!=r.length)throw new Error("Length of titles must be the same as breaks");typeof o=="function"&&(o=o({min:a,max:s,minor:!0})),Array.isArray(o)||(o=[]),r=r.map((f,h)=>({type:"major",value:f,label:l[h],title:c[h]})),o=o.map(f=>({type:"minor",value:f}));let d=r.concat(o);return i instanceof Function&&(d=M1(i({breaks:d,majorBreaks:r,minorBreaks:o,min:a,max:s})).filter(f=>f.type.$_type=="axis-break").map(f=>({...f.type.$_props,...f.props}))),d}}const O9=["font-size"],P9={key:0},V1={__name:"CoreText",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=Dt("ele"),n=Ot({width:0,height:0});St([e,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([r])=>{if(!r)return;await Ln();let{width:o,height:l}=r.getBBox();n.width=o,n.height=l});const i=X(()=>{let{width:r,height:o}=n,l=[],c=({start:-.5,end:.5}[t.textAnchor]??0)*r;if(t.dockX!=null||t.dockY!=null){let a={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),s={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r*Math.abs(Math.cos(t.angle*Math.PI/180))+o*Math.abs(Math.sin(t.angle*Math.PI/180)),d=r*Math.abs(Math.sin(t.angle*Math.PI/180))+o*Math.abs(Math.cos(t.angle*Math.PI/180)),f=t.translateX,h=t.translateY;l.push(`translate(${u*(.5-a)+f},${d*(s-.5)+h})`),t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${c},0)`)}else{let a={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),s={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r,d=o,f=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),h=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${u*(.5-a)+f+c},${d*(s-.5)+h})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Rt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:l.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(r,o)=>(O(),I("text",J({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[Po(r.$slots,"default",{},()=>[t.title?(O(),I("title",P9,Ft(t.title),1)):Lt("",!0),dt(" "+Ft(t.text?.replace(/ /g,"\xA0")),1)])],16,O9))}};function Xs(t){switch(t._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var j9=function(t,e){this.current=t,this.entering=e===!0},D9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=Xs(t);return e&&n?t._firstChild?(this.current=t._firstChild,this.entering=!0):this.entering=!1:t===this.root?this.current=null:t._next===null?(this.current=t._parent,this.entering=!1):(this.current=t._next,this.entering=!0),{entering:e,node:t}},q9=function(t){return{current:t,root:t,entering:!0,next:D9,resumeAt:j9}},qt=function(t,e){this._type=t,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=e,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},Bt=qt.prototype;Object.defineProperty(Bt,"isContainer",{get:function(){return Xs(this)}});Object.defineProperty(Bt,"type",{get:function(){return this._type}});Object.defineProperty(Bt,"firstChild",{get:function(){return this._firstChild}});Object.defineProperty(Bt,"lastChild",{get:function(){return this._lastChild}});Object.defineProperty(Bt,"next",{get:function(){return this._next}});Object.defineProperty(Bt,"prev",{get:function(){return this._prev}});Object.defineProperty(Bt,"parent",{get:function(){return this._parent}});Object.defineProperty(Bt,"sourcepos",{get:function(){return this._sourcepos}});Object.defineProperty(Bt,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}});Object.defineProperty(Bt,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}});Object.defineProperty(Bt,"title",{get:function(){return this._title},set:function(t){this._title=t}});Object.defineProperty(Bt,"info",{get:function(){return this._info},set:function(t){this._info=t}});Object.defineProperty(Bt,"level",{get:function(){return this._level},set:function(t){this._level=t}});Object.defineProperty(Bt,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}});Object.defineProperty(Bt,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}});Object.defineProperty(Bt,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}});Object.defineProperty(Bt,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}});Object.defineProperty(Bt,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}});Object.defineProperty(Bt,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}});qt.prototype.appendChild=function(t){t.unlink(),t._parent=this,this._lastChild?(this._lastChild._next=t,t._prev=this._lastChild,this._lastChild=t):(this._firstChild=t,this._lastChild=t)};qt.prototype.prependChild=function(t){t.unlink(),t._parent=this,this._firstChild?(this._firstChild._prev=t,t._next=this._firstChild,this._firstChild=t):(this._firstChild=t,this._lastChild=t)};qt.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null};qt.prototype.insertAfter=function(t){t.unlink(),t._next=this._next,t._next&&(t._next._prev=t),t._prev=this,this._next=t,t._parent=this._parent,t._next||(t._parent._lastChild=t)};qt.prototype.insertBefore=function(t){t.unlink(),t._prev=this._prev,t._prev&&(t._prev._next=t),t._next=this,this._prev=t,t._parent=this._parent,t._prev||(t._parent._firstChild=t)};qt.prototype.walker=function(){var t=new q9(this);return t};function V9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Qn,lo;function B9(){if(lo)return Qn;lo=1;var t={};function e(i){var r,o,l=t[i];if(l)return l;for(l=t[i]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?l.push(o):l.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<i.length;r++)l[i.charCodeAt(r)]=i[r];return l}function n(i,r,o){var l,c,a,s,u,d="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),u=e(r),l=0,c=i.length;l<c;l++){if(a=i.charCodeAt(l),o&&a===37&&l+2<c&&/^[0-9a-f]{2}$/i.test(i.slice(l+1,l+3))){d+=i.slice(l,l+3),l+=2;continue}if(a<128){d+=u[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&l+1<c&&(s=i.charCodeAt(l+1),s>=56320&&s<=57343)){d+=encodeURIComponent(i[l]+i[l+1]),l++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(i[l])}return d}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",Qn=n,Qn}var I9=B9();const R9=V9(I9);var Jn={},x1={},_1={},ao;function H9(){return ao||(ao=1,Object.defineProperty(_1,"__esModule",{value:!0}),_1.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])),_1}var Q1={},co;function X9(){return co||(co=1,Object.defineProperty(Q1,"__esModule",{value:!0}),Q1.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])),Q1}var J1={},uo;function Y9(){if(uo)return J1;uo=1,Object.defineProperty(J1,"__esModule",{value:!0});var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),e=String.fromCodePoint||function(i){var r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),r+=String.fromCharCode(i),r};function n(i){var r;return i>=55296&&i<=57343||i>1114111?"\uFFFD":e((r=t.get(i))!==null&&r!==void 0?r:i)}return J1.default=n,J1}var ho;function fo(){return ho||(ho=1,(function(t){var e=x1&&x1.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=e(H9());t.htmlDecodeTree=n.default;var i=e(X9());t.xmlDecodeTree=i.default;var r=e(Y9()),o;(function(h){h[h.HAS_VALUE=32768]="HAS_VALUE",h[h.BRANCH_LENGTH=32512]="BRANCH_LENGTH",h[h.MULTI_BYTE=128]="MULTI_BYTE",h[h.JUMP_TABLE=127]="JUMP_TABLE"})(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function l(h){return function(y,v){for(var x="",T=0,A=0;(A=y.indexOf("&",A))>=0;){if(x+=y.slice(T,A),T=A,A+=1,y.charCodeAt(A)===35){var M=A+1,j=10,$=y.charCodeAt(M);for(($|32)===120&&(j=16,A+=1,M+=1);($=y.charCodeAt(++A))>=48&&$<=57||j===16&&($|32)>=97&&($|32)<=102;);if(M!==A){var L=y.substring(M,A),g=parseInt(L,j);if(y.charCodeAt(A)===59)A+=1;else if(v)continue;x+=r.default(g),T=A}continue}for(var b=null,S=1,k=0,w=h[k];A<y.length&&(k=c(h,w,k+1,y.charCodeAt(A)),!(k<0));A++,S++)w=h[k],w&o.HAS_VALUE&&(v&&y.charCodeAt(A)!==59?k+=1:(b=w&o.MULTI_BYTE?String.fromCharCode(h[++k],h[++k]):String.fromCharCode(h[++k]),S=0));b!=null&&(x+=b,T=A-S+1)}return x+y.slice(T)}}function c(h,m,y,v){if(m<=128)return v===m?y:-1;var x=(m&o.BRANCH_LENGTH)>>8;if(x===0)return-1;if(x===1)return v===h[y]?y+1:-1;var T=m&o.JUMP_TABLE;if(T){var A=v-t.JUMP_OFFSET_BASE-T;return A<0||A>x?-1:h[y+A]-1}for(var M=y,j=M+x-1;M<=j;){var $=M+j>>>1,L=h[$];if(L<v)M=$+1;else if(L>v)j=$-1;else return h[$+x]}return-1}t.determineBranch=c;var a=l(n.default),s=l(i.default);function u(h){return a(h,!1)}t.decodeHTML=u;function d(h){return a(h,!0)}t.decodeHTMLStrict=d;function f(h){return s(h,!0)}t.decodeXML=f})(x1)),x1}var Qt={};const z9="&",F9="'",U9=">",G9="<",W9='"',K9={amp:z9,apos:F9,gt:U9,lt:G9,quot:W9};var b1={};const Z9="\xC1",_9="\xE1",Q9="\u0102",J9="\u0103",t8="\u223E",e8="\u223F",n8="\u223E\u0333",i8="\xC2",r8="\xE2",o8="\xB4",s8="\u0410",l8="\u0430",a8="\xC6",c8="\xE6",u8="\u2061",h8="\u{1D504}",f8="\u{1D51E}",d8="\xC0",m8="\xE0",g8="\u2135",y8="\u2135",p8="\u0391",v8="\u03B1",x8="\u0100",b8="\u0101",w8="\u2A3F",k8="&",A8="&",S8="\u2A55",C8="\u2A53",N8="\u2227",M8="\u2A5C",$8="\u2A58",T8="\u2A5A",E8="\u2220",L8="\u29A4",O8="\u2220",P8="\u29A8",j8="\u29A9",D8="\u29AA",q8="\u29AB",V8="\u29AC",B8="\u29AD",I8="\u29AE",R8="\u29AF",H8="\u2221",X8="\u221F",Y8="\u22BE",z8="\u299D",F8="\u2222",U8="\xC5",G8="\u237C",W8="\u0104",K8="\u0105",Z8="\u{1D538}",_8="\u{1D552}",Q8="\u2A6F",J8="\u2248",t5="\u2A70",e5="\u224A",n5="\u224B",i5="'",r5="\u2061",o5="\u2248",s5="\u224A",l5="\xC5",a5="\xE5",c5="\u{1D49C}",u5="\u{1D4B6}",h5="\u2254",f5="*",d5="\u2248",m5="\u224D",g5="\xC3",y5="\xE3",p5="\xC4",v5="\xE4",x5="\u2233",b5="\u2A11",w5="\u224C",k5="\u03F6",A5="\u2035",S5="\u223D",C5="\u22CD",N5="\u2216",M5="\u2AE7",$5="\u22BD",T5="\u2305",E5="\u2306",L5="\u2305",O5="\u23B5",P5="\u23B6",j5="\u224C",D5="\u0411",q5="\u0431",V5="\u201E",B5="\u2235",I5="\u2235",R5="\u2235",H5="\u29B0",X5="\u03F6",Y5="\u212C",z5="\u212C",F5="\u0392",U5="\u03B2",G5="\u2136",W5="\u226C",K5="\u{1D505}",Z5="\u{1D51F}",_5="\u22C2",Q5="\u25EF",J5="\u22C3",t6="\u2A00",e6="\u2A01",n6="\u2A02",i6="\u2A06",r6="\u2605",o6="\u25BD",s6="\u25B3",l6="\u2A04",a6="\u22C1",c6="\u22C0",u6="\u290D",h6="\u29EB",f6="\u25AA",d6="\u25B4",m6="\u25BE",g6="\u25C2",y6="\u25B8",p6="\u2423",v6="\u2592",x6="\u2591",b6="\u2593",w6="\u2588",k6="=\u20E5",A6="\u2261\u20E5",S6="\u2AED",C6="\u2310",N6="\u{1D539}",M6="\u{1D553}",$6="\u22A5",T6="\u22A5",E6="\u22C8",L6="\u29C9",O6="\u2510",P6="\u2555",j6="\u2556",D6="\u2557",q6="\u250C",V6="\u2552",B6="\u2553",I6="\u2554",R6="\u2500",H6="\u2550",X6="\u252C",Y6="\u2564",z6="\u2565",F6="\u2566",U6="\u2534",G6="\u2567",W6="\u2568",K6="\u2569",Z6="\u229F",_6="\u229E",Q6="\u22A0",J6="\u2518",th="\u255B",eh="\u255C",nh="\u255D",ih="\u2514",rh="\u2558",oh="\u2559",sh="\u255A",lh="\u2502",ah="\u2551",ch="\u253C",uh="\u256A",hh="\u256B",fh="\u256C",dh="\u2524",mh="\u2561",gh="\u2562",yh="\u2563",ph="\u251C",vh="\u255E",xh="\u255F",bh="\u2560",wh="\u2035",kh="\u02D8",Ah="\u02D8",Sh="\xA6",Ch="\u{1D4B7}",Nh="\u212C",Mh="\u204F",$h="\u223D",Th="\u22CD",Eh="\u29C5",Lh="\\",Oh="\u27C8",Ph="\u2022",jh="\u2022",Dh="\u224E",qh="\u2AAE",Vh="\u224F",Bh="\u224E",Ih="\u224F",Rh="\u0106",Hh="\u0107",Xh="\u2A44",Yh="\u2A49",zh="\u2A4B",Fh="\u2229",Uh="\u22D2",Gh="\u2A47",Wh="\u2A40",Kh="\u2145",Zh="\u2229\uFE00",_h="\u2041",Qh="\u02C7",Jh="\u212D",t7="\u2A4D",e7="\u010C",n7="\u010D",i7="\xC7",r7="\xE7",o7="\u0108",s7="\u0109",l7="\u2230",a7="\u2A4C",c7="\u2A50",u7="\u010A",h7="\u010B",f7="\xB8",d7="\xB8",m7="\u29B2",g7="\xA2",y7="\xB7",p7="\xB7",v7="\u{1D520}",x7="\u212D",b7="\u0427",w7="\u0447",k7="\u2713",A7="\u2713",S7="\u03A7",C7="\u03C7",N7="\u02C6",M7="\u2257",$7="\u21BA",T7="\u21BB",E7="\u229B",L7="\u229A",O7="\u229D",P7="\u2299",j7="\xAE",D7="\u24C8",q7="\u2296",V7="\u2295",B7="\u2297",I7="\u25CB",R7="\u29C3",H7="\u2257",X7="\u2A10",Y7="\u2AEF",z7="\u29C2",F7="\u2232",U7="\u201D",G7="\u2019",W7="\u2663",K7="\u2663",Z7=":",_7="\u2237",Q7="\u2A74",J7="\u2254",tf="\u2254",ef=",",nf="@",rf="\u2201",of="\u2218",sf="\u2201",lf="\u2102",af="\u2245",cf="\u2A6D",uf="\u2261",hf="\u222E",ff="\u222F",df="\u222E",mf="\u{1D554}",gf="\u2102",yf="\u2210",pf="\u2210",vf="\xA9",xf="\xA9",bf="\u2117",wf="\u2233",kf="\u21B5",Af="\u2717",Sf="\u2A2F",Cf="\u{1D49E}",Nf="\u{1D4B8}",Mf="\u2ACF",$f="\u2AD1",Tf="\u2AD0",Ef="\u2AD2",Lf="\u22EF",Of="\u2938",Pf="\u2935",jf="\u22DE",Df="\u22DF",qf="\u21B6",Vf="\u293D",Bf="\u2A48",If="\u2A46",Rf="\u224D",Hf="\u222A",Xf="\u22D3",Yf="\u2A4A",zf="\u228D",Ff="\u2A45",Uf="\u222A\uFE00",Gf="\u21B7",Wf="\u293C",Kf="\u22DE",Zf="\u22DF",_f="\u22CE",Qf="\u22CF",Jf="\xA4",t3="\u21B6",e3="\u21B7",n3="\u22CE",i3="\u22CF",r3="\u2232",o3="\u2231",s3="\u232D",l3="\u2020",a3="\u2021",c3="\u2138",u3="\u2193",h3="\u21A1",f3="\u21D3",d3="\u2010",m3="\u2AE4",g3="\u22A3",y3="\u290F",p3="\u02DD",v3="\u010E",x3="\u010F",b3="\u0414",w3="\u0434",k3="\u2021",A3="\u21CA",S3="\u2145",C3="\u2146",N3="\u2911",M3="\u2A77",$3="\xB0",T3="\u2207",E3="\u0394",L3="\u03B4",O3="\u29B1",P3="\u297F",j3="\u{1D507}",D3="\u{1D521}",q3="\u2965",V3="\u21C3",B3="\u21C2",I3="\xB4",R3="\u02D9",H3="\u02DD",X3="`",Y3="\u02DC",z3="\u22C4",F3="\u22C4",U3="\u22C4",G3="\u2666",W3="\u2666",K3="\xA8",Z3="\u2146",_3="\u03DD",Q3="\u22F2",J3="\xF7",td="\xF7",ed="\u22C7",nd="\u22C7",id="\u0402",rd="\u0452",od="\u231E",sd="\u230D",ld="$",ad="\u{1D53B}",cd="\u{1D555}",ud="\xA8",hd="\u02D9",fd="\u20DC",dd="\u2250",md="\u2251",gd="\u2250",yd="\u2238",pd="\u2214",vd="\u22A1",xd="\u2306",bd="\u222F",wd="\xA8",kd="\u21D3",Ad="\u21D0",Sd="\u21D4",Cd="\u2AE4",Nd="\u27F8",Md="\u27FA",$d="\u27F9",Td="\u21D2",Ed="\u22A8",Ld="\u21D1",Od="\u21D5",Pd="\u2225",jd="\u2913",Dd="\u2193",qd="\u2193",Vd="\u21D3",Bd="\u21F5",Id="\u0311",Rd="\u21CA",Hd="\u21C3",Xd="\u21C2",Yd="\u2950",zd="\u295E",Fd="\u2956",Ud="\u21BD",Gd="\u295F",Wd="\u2957",Kd="\u21C1",Zd="\u21A7",_d="\u22A4",Qd="\u2910",Jd="\u231F",tm="\u230C",em="\u{1D49F}",nm="\u{1D4B9}",im="\u0405",rm="\u0455",om="\u29F6",sm="\u0110",lm="\u0111",am="\u22F1",cm="\u25BF",um="\u25BE",hm="\u21F5",fm="\u296F",dm="\u29A6",mm="\u040F",gm="\u045F",ym="\u27FF",pm="\xC9",vm="\xE9",xm="\u2A6E",bm="\u011A",wm="\u011B",km="\xCA",Am="\xEA",Sm="\u2256",Cm="\u2255",Nm="\u042D",Mm="\u044D",$m="\u2A77",Tm="\u0116",Em="\u0117",Lm="\u2251",Om="\u2147",Pm="\u2252",jm="\u{1D508}",Dm="\u{1D522}",qm="\u2A9A",Vm="\xC8",Bm="\xE8",Im="\u2A96",Rm="\u2A98",Hm="\u2A99",Xm="\u2208",Ym="\u23E7",zm="\u2113",Fm="\u2A95",Um="\u2A97",Gm="\u0112",Wm="\u0113",Km="\u2205",Zm="\u2205",_m="\u25FB",Qm="\u2205",Jm="\u25AB",t4="\u2004",e4="\u2005",n4="\u2003",i4="\u014A",r4="\u014B",o4="\u2002",s4="\u0118",l4="\u0119",a4="\u{1D53C}",c4="\u{1D556}",u4="\u22D5",h4="\u29E3",f4="\u2A71",d4="\u03B5",m4="\u0395",g4="\u03B5",y4="\u03F5",p4="\u2256",v4="\u2255",x4="\u2242",b4="\u2A96",w4="\u2A95",k4="\u2A75",A4="=",S4="\u2242",C4="\u225F",N4="\u21CC",M4="\u2261",$4="\u2A78",T4="\u29E5",E4="\u2971",L4="\u2253",O4="\u212F",P4="\u2130",j4="\u2250",D4="\u2A73",q4="\u2242",V4="\u0397",B4="\u03B7",I4="\xD0",R4="\xF0",H4="\xCB",X4="\xEB",Y4="\u20AC",z4="!",F4="\u2203",U4="\u2203",G4="\u2130",W4="\u2147",K4="\u2147",Z4="\u2252",_4="\u0424",Q4="\u0444",J4="\u2640",tg="\uFB03",eg="\uFB00",ng="\uFB04",ig="\u{1D509}",rg="\u{1D523}",og="\uFB01",sg="\u25FC",lg="\u25AA",ag="fj",cg="\u266D",ug="\uFB02",hg="\u25B1",fg="\u0192",dg="\u{1D53D}",mg="\u{1D557}",gg="\u2200",yg="\u2200",pg="\u22D4",vg="\u2AD9",xg="\u2131",bg="\u2A0D",wg="\xBD",kg="\u2153",Ag="\xBC",Sg="\u2155",Cg="\u2159",Ng="\u215B",Mg="\u2154",$g="\u2156",Tg="\xBE",Eg="\u2157",Lg="\u215C",Og="\u2158",Pg="\u215A",jg="\u215D",Dg="\u215E",qg="\u2044",Vg="\u2322",Bg="\u{1D4BB}",Ig="\u2131",Rg="\u01F5",Hg="\u0393",Xg="\u03B3",Yg="\u03DC",zg="\u03DD",Fg="\u2A86",Ug="\u011E",Gg="\u011F",Wg="\u0122",Kg="\u011C",Zg="\u011D",_g="\u0413",Qg="\u0433",Jg="\u0120",ty="\u0121",ey="\u2265",ny="\u2267",iy="\u2A8C",ry="\u22DB",oy="\u2265",sy="\u2267",ly="\u2A7E",ay="\u2AA9",cy="\u2A7E",uy="\u2A80",hy="\u2A82",fy="\u2A84",dy="\u22DB\uFE00",my="\u2A94",gy="\u{1D50A}",yy="\u{1D524}",py="\u226B",vy="\u22D9",xy="\u22D9",by="\u2137",wy="\u0403",ky="\u0453",Ay="\u2AA5",Sy="\u2277",Cy="\u2A92",Ny="\u2AA4",My="\u2A8A",$y="\u2A8A",Ty="\u2A88",Ey="\u2269",Ly="\u2A88",Oy="\u2269",Py="\u22E7",jy="\u{1D53E}",Dy="\u{1D558}",qy="`",Vy="\u2265",By="\u22DB",Iy="\u2267",Ry="\u2AA2",Hy="\u2277",Xy="\u2A7E",Yy="\u2273",zy="\u{1D4A2}",Fy="\u210A",Uy="\u2273",Gy="\u2A8E",Wy="\u2A90",Ky="\u2AA7",Zy="\u2A7A",_y=">",Qy=">",Jy="\u226B",tp="\u22D7",ep="\u2995",np="\u2A7C",ip="\u2A86",rp="\u2978",op="\u22D7",sp="\u22DB",lp="\u2A8C",ap="\u2277",cp="\u2273",up="\u2269\uFE00",hp="\u2269\uFE00",fp="\u02C7",dp="\u200A",mp="\xBD",gp="\u210B",yp="\u042A",pp="\u044A",vp="\u2948",xp="\u2194",bp="\u21D4",wp="\u21AD",kp="^",Ap="\u210F",Sp="\u0124",Cp="\u0125",Np="\u2665",Mp="\u2665",$p="\u2026",Tp="\u22B9",Ep="\u{1D525}",Lp="\u210C",Op="\u210B",Pp="\u2925",jp="\u2926",Dp="\u21FF",qp="\u223B",Vp="\u21A9",Bp="\u21AA",Ip="\u{1D559}",Rp="\u210D",Hp="\u2015",Xp="\u2500",Yp="\u{1D4BD}",zp="\u210B",Fp="\u210F",Up="\u0126",Gp="\u0127",Wp="\u224E",Kp="\u224F",Zp="\u2043",_p="\u2010",Qp="\xCD",Jp="\xED",tv="\u2063",ev="\xCE",nv="\xEE",iv="\u0418",rv="\u0438",ov="\u0130",sv="\u0415",lv="\u0435",av="\xA1",cv="\u21D4",uv="\u{1D526}",hv="\u2111",fv="\xCC",dv="\xEC",mv="\u2148",gv="\u2A0C",yv="\u222D",pv="\u29DC",vv="\u2129",xv="\u0132",bv="\u0133",wv="\u012A",kv="\u012B",Av="\u2111",Sv="\u2148",Cv="\u2110",Nv="\u2111",Mv="\u0131",$v="\u2111",Tv="\u22B7",Ev="\u01B5",Lv="\u21D2",Ov="\u2105",Pv="\u221E",jv="\u29DD",Dv="\u0131",qv="\u22BA",Vv="\u222B",Bv="\u222C",Iv="\u2124",Rv="\u222B",Hv="\u22BA",Xv="\u22C2",Yv="\u2A17",zv="\u2A3C",Fv="\u2063",Uv="\u2062",Gv="\u0401",Wv="\u0451",Kv="\u012E",Zv="\u012F",_v="\u{1D540}",Qv="\u{1D55A}",Jv="\u0399",tx="\u03B9",ex="\u2A3C",nx="\xBF",ix="\u{1D4BE}",rx="\u2110",ox="\u2208",sx="\u22F5",lx="\u22F9",ax="\u22F4",cx="\u22F3",ux="\u2208",hx="\u2062",fx="\u0128",dx="\u0129",mx="\u0406",gx="\u0456",yx="\xCF",px="\xEF",vx="\u0134",xx="\u0135",bx="\u0419",wx="\u0439",kx="\u{1D50D}",Ax="\u{1D527}",Sx="\u0237",Cx="\u{1D541}",Nx="\u{1D55B}",Mx="\u{1D4A5}",$x="\u{1D4BF}",Tx="\u0408",Ex="\u0458",Lx="\u0404",Ox="\u0454",Px="\u039A",jx="\u03BA",Dx="\u03F0",qx="\u0136",Vx="\u0137",Bx="\u041A",Ix="\u043A",Rx="\u{1D50E}",Hx="\u{1D528}",Xx="\u0138",Yx="\u0425",zx="\u0445",Fx="\u040C",Ux="\u045C",Gx="\u{1D542}",Wx="\u{1D55C}",Kx="\u{1D4A6}",Zx="\u{1D4C0}",_x="\u21DA",Qx="\u0139",Jx="\u013A",tb="\u29B4",eb="\u2112",nb="\u039B",ib="\u03BB",rb="\u27E8",ob="\u27EA",sb="\u2991",lb="\u27E8",ab="\u2A85",cb="\u2112",ub="\xAB",hb="\u21E4",fb="\u291F",db="\u2190",mb="\u219E",gb="\u21D0",yb="\u291D",pb="\u21A9",vb="\u21AB",xb="\u2939",bb="\u2973",wb="\u21A2",kb="\u2919",Ab="\u291B",Sb="\u2AAB",Cb="\u2AAD",Nb="\u2AAD\uFE00",Mb="\u290C",$b="\u290E",Tb="\u2772",Eb="{",Lb="[",Ob="\u298B",Pb="\u298F",jb="\u298D",Db="\u013D",qb="\u013E",Vb="\u013B",Bb="\u013C",Ib="\u2308",Rb="{",Hb="\u041B",Xb="\u043B",Yb="\u2936",zb="\u201C",Fb="\u201E",Ub="\u2967",Gb="\u294B",Wb="\u21B2",Kb="\u2264",Zb="\u2266",_b="\u27E8",Qb="\u21E4",Jb="\u2190",tw="\u2190",ew="\u21D0",nw="\u21C6",iw="\u21A2",rw="\u2308",ow="\u27E6",sw="\u2961",lw="\u2959",aw="\u21C3",cw="\u230A",uw="\u21BD",hw="\u21BC",fw="\u21C7",dw="\u2194",mw="\u2194",gw="\u21D4",yw="\u21C6",pw="\u21CB",vw="\u21AD",xw="\u294E",bw="\u21A4",ww="\u22A3",kw="\u295A",Aw="\u22CB",Sw="\u29CF",Cw="\u22B2",Nw="\u22B4",Mw="\u2951",$w="\u2960",Tw="\u2958",Ew="\u21BF",Lw="\u2952",Ow="\u21BC",Pw="\u2A8B",jw="\u22DA",Dw="\u2264",qw="\u2266",Vw="\u2A7D",Bw="\u2AA8",Iw="\u2A7D",Rw="\u2A7F",Hw="\u2A81",Xw="\u2A83",Yw="\u22DA\uFE00",zw="\u2A93",Fw="\u2A85",Uw="\u22D6",Gw="\u22DA",Ww="\u2A8B",Kw="\u22DA",Zw="\u2266",_w="\u2276",Qw="\u2276",Jw="\u2AA1",tk="\u2272",ek="\u2A7D",nk="\u2272",ik="\u297C",rk="\u230A",ok="\u{1D50F}",sk="\u{1D529}",lk="\u2276",ak="\u2A91",ck="\u2962",uk="\u21BD",hk="\u21BC",fk="\u296A",dk="\u2584",mk="\u0409",gk="\u0459",yk="\u21C7",pk="\u226A",vk="\u22D8",xk="\u231E",bk="\u21DA",wk="\u296B",kk="\u25FA",Ak="\u013F",Sk="\u0140",Ck="\u23B0",Nk="\u23B0",Mk="\u2A89",$k="\u2A89",Tk="\u2A87",Ek="\u2268",Lk="\u2A87",Ok="\u2268",Pk="\u22E6",jk="\u27EC",Dk="\u21FD",qk="\u27E6",Vk="\u27F5",Bk="\u27F5",Ik="\u27F8",Rk="\u27F7",Hk="\u27F7",Xk="\u27FA",Yk="\u27FC",zk="\u27F6",Fk="\u27F6",Uk="\u27F9",Gk="\u21AB",Wk="\u21AC",Kk="\u2985",Zk="\u{1D543}",_k="\u{1D55D}",Qk="\u2A2D",Jk="\u2A34",tA="\u2217",eA="_",nA="\u2199",iA="\u2198",rA="\u25CA",oA="\u25CA",sA="\u29EB",lA="(",aA="\u2993",cA="\u21C6",uA="\u231F",hA="\u21CB",fA="\u296D",dA="\u200E",mA="\u22BF",gA="\u2039",yA="\u{1D4C1}",pA="\u2112",vA="\u21B0",xA="\u21B0",bA="\u2272",wA="\u2A8D",kA="\u2A8F",AA="[",SA="\u2018",CA="\u201A",NA="\u0141",MA="\u0142",$A="\u2AA6",TA="\u2A79",EA="<",LA="<",OA="\u226A",PA="\u22D6",jA="\u22CB",DA="\u22C9",qA="\u2976",VA="\u2A7B",BA="\u25C3",IA="\u22B4",RA="\u25C2",HA="\u2996",XA="\u294A",YA="\u2966",zA="\u2268\uFE00",FA="\u2268\uFE00",UA="\xAF",GA="\u2642",WA="\u2720",KA="\u2720",ZA="\u21A6",_A="\u21A6",QA="\u21A7",JA="\u21A4",tS="\u21A5",eS="\u25AE",nS="\u2A29",iS="\u041C",rS="\u043C",oS="\u2014",sS="\u223A",lS="\u2221",aS="\u205F",cS="\u2133",uS="\u{1D510}",hS="\u{1D52A}",fS="\u2127",dS="\xB5",mS="*",gS="\u2AF0",yS="\u2223",pS="\xB7",vS="\u229F",xS="\u2212",bS="\u2238",wS="\u2A2A",kS="\u2213",AS="\u2ADB",SS="\u2026",CS="\u2213",NS="\u22A7",MS="\u{1D544}",$S="\u{1D55E}",TS="\u2213",ES="\u{1D4C2}",LS="\u2133",OS="\u223E",PS="\u039C",jS="\u03BC",DS="\u22B8",qS="\u22B8",VS="\u2207",BS="\u0143",IS="\u0144",RS="\u2220\u20D2",HS="\u2249",XS="\u2A70\u0338",YS="\u224B\u0338",zS="\u0149",FS="\u2249",US="\u266E",GS="\u2115",WS="\u266E",KS="\xA0",ZS="\u224E\u0338",_S="\u224F\u0338",QS="\u2A43",JS="\u0147",tC="\u0148",eC="\u0145",nC="\u0146",iC="\u2247",rC="\u2A6D\u0338",oC="\u2A42",sC="\u041D",lC="\u043D",aC="\u2013",cC="\u2924",uC="\u2197",hC="\u21D7",fC="\u2197",dC="\u2260",mC="\u2250\u0338",gC="\u200B",yC="\u200B",pC="\u200B",vC="\u200B",xC="\u2262",bC="\u2928",wC="\u2242\u0338",kC="\u226B",AC="\u226A",SC=`
3
+ `,CC="\u2204",NC="\u2204",MC="\u{1D511}",$C="\u{1D52B}",TC="\u2267\u0338",EC="\u2271",LC="\u2271",OC="\u2267\u0338",PC="\u2A7E\u0338",jC="\u2A7E\u0338",DC="\u22D9\u0338",qC="\u2275",VC="\u226B\u20D2",BC="\u226F",IC="\u226F",RC="\u226B\u0338",HC="\u21AE",XC="\u21CE",YC="\u2AF2",zC="\u220B",FC="\u22FC",UC="\u22FA",GC="\u220B",WC="\u040A",KC="\u045A",ZC="\u219A",_C="\u21CD",QC="\u2025",JC="\u2266\u0338",tN="\u2270",eN="\u219A",nN="\u21CD",iN="\u21AE",rN="\u21CE",oN="\u2270",sN="\u2266\u0338",lN="\u2A7D\u0338",aN="\u2A7D\u0338",cN="\u226E",uN="\u22D8\u0338",hN="\u2274",fN="\u226A\u20D2",dN="\u226E",mN="\u22EA",gN="\u22EC",yN="\u226A\u0338",pN="\u2224",vN="\u2060",xN="\xA0",bN="\u{1D55F}",wN="\u2115",kN="\u2AEC",AN="\xAC",SN="\u2262",CN="\u226D",NN="\u2226",MN="\u2209",$N="\u2260",TN="\u2242\u0338",EN="\u2204",LN="\u226F",ON="\u2271",PN="\u2267\u0338",jN="\u226B\u0338",DN="\u2279",qN="\u2A7E\u0338",VN="\u2275",BN="\u224E\u0338",IN="\u224F\u0338",RN="\u2209",HN="\u22F5\u0338",XN="\u22F9\u0338",YN="\u2209",zN="\u22F7",FN="\u22F6",UN="\u29CF\u0338",GN="\u22EA",WN="\u22EC",KN="\u226E",ZN="\u2270",_N="\u2278",QN="\u226A\u0338",JN="\u2A7D\u0338",tM="\u2274",eM="\u2AA2\u0338",nM="\u2AA1\u0338",iM="\u220C",rM="\u220C",oM="\u22FE",sM="\u22FD",lM="\u2280",aM="\u2AAF\u0338",cM="\u22E0",uM="\u220C",hM="\u29D0\u0338",fM="\u22EB",dM="\u22ED",mM="\u228F\u0338",gM="\u22E2",yM="\u2290\u0338",pM="\u22E3",vM="\u2282\u20D2",xM="\u2288",bM="\u2281",wM="\u2AB0\u0338",kM="\u22E1",AM="\u227F\u0338",SM="\u2283\u20D2",CM="\u2289",NM="\u2241",MM="\u2244",$M="\u2247",TM="\u2249",EM="\u2224",LM="\u2226",OM="\u2226",PM="\u2AFD\u20E5",jM="\u2202\u0338",DM="\u2A14",qM="\u2280",VM="\u22E0",BM="\u2280",IM="\u2AAF\u0338",RM="\u2AAF\u0338",HM="\u2933\u0338",XM="\u219B",YM="\u21CF",zM="\u219D\u0338",FM="\u219B",UM="\u21CF",GM="\u22EB",WM="\u22ED",KM="\u2281",ZM="\u22E1",_M="\u2AB0\u0338",QM="\u{1D4A9}",JM="\u{1D4C3}",t$="\u2224",e$="\u2226",n$="\u2241",i$="\u2244",r$="\u2244",o$="\u2224",s$="\u2226",l$="\u22E2",a$="\u22E3",c$="\u2284",u$="\u2AC5\u0338",h$="\u2288",f$="\u2282\u20D2",d$="\u2288",m$="\u2AC5\u0338",g$="\u2281",y$="\u2AB0\u0338",p$="\u2285",v$="\u2AC6\u0338",x$="\u2289",b$="\u2283\u20D2",w$="\u2289",k$="\u2AC6\u0338",A$="\u2279",S$="\xD1",C$="\xF1",N$="\u2278",M$="\u22EA",$$="\u22EC",T$="\u22EB",E$="\u22ED",L$="\u039D",O$="\u03BD",P$="#",j$="\u2116",D$="\u2007",q$="\u224D\u20D2",V$="\u22AC",B$="\u22AD",I$="\u22AE",R$="\u22AF",H$="\u2265\u20D2",X$=">\u20D2",Y$="\u2904",z$="\u29DE",F$="\u2902",U$="\u2264\u20D2",G$="<\u20D2",W$="\u22B4\u20D2",K$="\u2903",Z$="\u22B5\u20D2",_$="\u223C\u20D2",Q$="\u2923",J$="\u2196",tT="\u21D6",eT="\u2196",nT="\u2927",iT="\xD3",rT="\xF3",oT="\u229B",sT="\xD4",lT="\xF4",aT="\u229A",cT="\u041E",uT="\u043E",hT="\u229D",fT="\u0150",dT="\u0151",mT="\u2A38",gT="\u2299",yT="\u29BC",pT="\u0152",vT="\u0153",xT="\u29BF",bT="\u{1D512}",wT="\u{1D52C}",kT="\u02DB",AT="\xD2",ST="\xF2",CT="\u29C1",NT="\u29B5",MT="\u03A9",$T="\u222E",TT="\u21BA",ET="\u29BE",LT="\u29BB",OT="\u203E",PT="\u29C0",jT="\u014C",DT="\u014D",qT="\u03A9",VT="\u03C9",BT="\u039F",IT="\u03BF",RT="\u29B6",HT="\u2296",XT="\u{1D546}",YT="\u{1D560}",zT="\u29B7",FT="\u201C",UT="\u2018",GT="\u29B9",WT="\u2295",KT="\u21BB",ZT="\u2A54",_T="\u2228",QT="\u2A5D",JT="\u2134",tE="\u2134",eE="\xAA",nE="\xBA",iE="\u22B6",rE="\u2A56",oE="\u2A57",sE="\u2A5B",lE="\u24C8",aE="\u{1D4AA}",cE="\u2134",uE="\xD8",hE="\xF8",fE="\u2298",dE="\xD5",mE="\xF5",gE="\u2A36",yE="\u2A37",pE="\u2297",vE="\xD6",xE="\xF6",bE="\u233D",wE="\u203E",kE="\u23DE",AE="\u23B4",SE="\u23DC",CE="\xB6",NE="\u2225",ME="\u2225",$E="\u2AF3",TE="\u2AFD",EE="\u2202",LE="\u2202",OE="\u041F",PE="\u043F",jE="%",DE=".",qE="\u2030",VE="\u22A5",BE="\u2031",IE="\u{1D513}",RE="\u{1D52D}",HE="\u03A6",XE="\u03C6",YE="\u03D5",zE="\u2133",FE="\u260E",UE="\u03A0",GE="\u03C0",WE="\u22D4",KE="\u03D6",ZE="\u210F",_E="\u210E",QE="\u210F",JE="\u2A23",tL="\u229E",eL="\u2A22",nL="+",iL="\u2214",rL="\u2A25",oL="\u2A72",sL="\xB1",lL="\xB1",aL="\u2A26",cL="\u2A27",uL="\xB1",hL="\u210C",fL="\u2A15",dL="\u{1D561}",mL="\u2119",gL="\xA3",yL="\u2AB7",pL="\u2ABB",vL="\u227A",xL="\u227C",bL="\u2AB7",wL="\u227A",kL="\u227C",AL="\u227A",SL="\u2AAF",CL="\u227C",NL="\u227E",ML="\u2AAF",$L="\u2AB9",TL="\u2AB5",EL="\u22E8",LL="\u2AAF",OL="\u2AB3",PL="\u227E",jL="\u2032",DL="\u2033",qL="\u2119",VL="\u2AB9",BL="\u2AB5",IL="\u22E8",RL="\u220F",HL="\u220F",XL="\u232E",YL="\u2312",zL="\u2313",FL="\u221D",UL="\u221D",GL="\u2237",WL="\u221D",KL="\u227E",ZL="\u22B0",_L="\u{1D4AB}",QL="\u{1D4C5}",JL="\u03A8",tO="\u03C8",eO="\u2008",nO="\u{1D514}",iO="\u{1D52E}",rO="\u2A0C",oO="\u{1D562}",sO="\u211A",lO="\u2057",aO="\u{1D4AC}",cO="\u{1D4C6}",uO="\u210D",hO="\u2A16",fO="?",dO="\u225F",mO='"',gO='"',yO="\u21DB",pO="\u223D\u0331",vO="\u0154",xO="\u0155",bO="\u221A",wO="\u29B3",kO="\u27E9",AO="\u27EB",SO="\u2992",CO="\u29A5",NO="\u27E9",MO="\xBB",$O="\u2975",TO="\u21E5",EO="\u2920",LO="\u2933",OO="\u2192",PO="\u21A0",jO="\u21D2",DO="\u291E",qO="\u21AA",VO="\u21AC",BO="\u2945",IO="\u2974",RO="\u2916",HO="\u21A3",XO="\u219D",YO="\u291A",zO="\u291C",FO="\u2236",UO="\u211A",GO="\u290D",WO="\u290F",KO="\u2910",ZO="\u2773",_O="}",QO="]",JO="\u298C",tP="\u298E",eP="\u2990",nP="\u0158",iP="\u0159",rP="\u0156",oP="\u0157",sP="\u2309",lP="}",aP="\u0420",cP="\u0440",uP="\u2937",hP="\u2969",fP="\u201D",dP="\u201D",mP="\u21B3",gP="\u211C",yP="\u211B",pP="\u211C",vP="\u211D",xP="\u211C",bP="\u25AD",wP="\xAE",kP="\xAE",AP="\u220B",SP="\u21CB",CP="\u296F",NP="\u297D",MP="\u230B",$P="\u{1D52F}",TP="\u211C",EP="\u2964",LP="\u21C1",OP="\u21C0",PP="\u296C",jP="\u03A1",DP="\u03C1",qP="\u03F1",VP="\u27E9",BP="\u21E5",IP="\u2192",RP="\u2192",HP="\u21D2",XP="\u21C4",YP="\u21A3",zP="\u2309",FP="\u27E7",UP="\u295D",GP="\u2955",WP="\u21C2",KP="\u230B",ZP="\u21C1",_P="\u21C0",QP="\u21C4",JP="\u21CC",tj="\u21C9",ej="\u219D",nj="\u21A6",ij="\u22A2",rj="\u295B",oj="\u22CC",sj="\u29D0",lj="\u22B3",aj="\u22B5",cj="\u294F",uj="\u295C",hj="\u2954",fj="\u21BE",dj="\u2953",mj="\u21C0",gj="\u02DA",yj="\u2253",pj="\u21C4",vj="\u21CC",xj="\u200F",bj="\u23B1",wj="\u23B1",kj="\u2AEE",Aj="\u27ED",Sj="\u21FE",Cj="\u27E7",Nj="\u2986",Mj="\u{1D563}",$j="\u211D",Tj="\u2A2E",Ej="\u2A35",Lj="\u2970",Oj=")",Pj="\u2994",jj="\u2A12",Dj="\u21C9",qj="\u21DB",Vj="\u203A",Bj="\u{1D4C7}",Ij="\u211B",Rj="\u21B1",Hj="\u21B1",Xj="]",Yj="\u2019",zj="\u2019",Fj="\u22CC",Uj="\u22CA",Gj="\u25B9",Wj="\u22B5",Kj="\u25B8",Zj="\u29CE",_j="\u29F4",Qj="\u2968",Jj="\u211E",tD="\u015A",eD="\u015B",nD="\u201A",iD="\u2AB8",rD="\u0160",oD="\u0161",sD="\u2ABC",lD="\u227B",aD="\u227D",cD="\u2AB0",uD="\u2AB4",hD="\u015E",fD="\u015F",dD="\u015C",mD="\u015D",gD="\u2ABA",yD="\u2AB6",pD="\u22E9",vD="\u2A13",xD="\u227F",bD="\u0421",wD="\u0441",kD="\u22A1",AD="\u22C5",SD="\u2A66",CD="\u2925",ND="\u2198",MD="\u21D8",$D="\u2198",TD="\xA7",ED=";",LD="\u2929",OD="\u2216",PD="\u2216",jD="\u2736",DD="\u{1D516}",qD="\u{1D530}",VD="\u2322",BD="\u266F",ID="\u0429",RD="\u0449",HD="\u0428",XD="\u0448",YD="\u2193",zD="\u2190",FD="\u2223",UD="\u2225",GD="\u2192",WD="\u2191",KD="\xAD",ZD="\u03A3",_D="\u03C3",QD="\u03C2",JD="\u03C2",tq="\u223C",eq="\u2A6A",nq="\u2243",iq="\u2243",rq="\u2A9E",oq="\u2AA0",sq="\u2A9D",lq="\u2A9F",aq="\u2246",cq="\u2A24",uq="\u2972",hq="\u2190",fq="\u2218",dq="\u2216",mq="\u2A33",gq="\u29E4",yq="\u2223",pq="\u2323",vq="\u2AAA",xq="\u2AAC",bq="\u2AAC\uFE00",wq="\u042C",kq="\u044C",Aq="\u233F",Sq="\u29C4",Cq="/",Nq="\u{1D54A}",Mq="\u{1D564}",$q="\u2660",Tq="\u2660",Eq="\u2225",Lq="\u2293",Oq="\u2293\uFE00",Pq="\u2294",jq="\u2294\uFE00",Dq="\u221A",qq="\u228F",Vq="\u2291",Bq="\u228F",Iq="\u2291",Rq="\u2290",Hq="\u2292",Xq="\u2290",Yq="\u2292",zq="\u25A1",Fq="\u25A1",Uq="\u2293",Gq="\u228F",Wq="\u2291",Kq="\u2290",Zq="\u2292",_q="\u2294",Qq="\u25AA",Jq="\u25A1",tV="\u25AA",eV="\u2192",nV="\u{1D4AE}",iV="\u{1D4C8}",rV="\u2216",oV="\u2323",sV="\u22C6",lV="\u22C6",aV="\u2606",cV="\u2605",uV="\u03F5",hV="\u03D5",fV="\xAF",dV="\u2282",mV="\u22D0",gV="\u2ABD",yV="\u2AC5",pV="\u2286",vV="\u2AC3",xV="\u2AC1",bV="\u2ACB",wV="\u228A",kV="\u2ABF",AV="\u2979",SV="\u2282",CV="\u22D0",NV="\u2286",MV="\u2AC5",$V="\u2286",TV="\u228A",EV="\u2ACB",LV="\u2AC7",OV="\u2AD5",PV="\u2AD3",jV="\u2AB8",DV="\u227B",qV="\u227D",VV="\u227B",BV="\u2AB0",IV="\u227D",RV="\u227F",HV="\u2AB0",XV="\u2ABA",YV="\u2AB6",zV="\u22E9",FV="\u227F",UV="\u220B",GV="\u2211",WV="\u2211",KV="\u266A",ZV="\xB9",_V="\xB2",QV="\xB3",JV="\u2283",tB="\u22D1",eB="\u2ABE",nB="\u2AD8",iB="\u2AC6",rB="\u2287",oB="\u2AC4",sB="\u2283",lB="\u2287",aB="\u27C9",cB="\u2AD7",uB="\u297B",hB="\u2AC2",fB="\u2ACC",dB="\u228B",mB="\u2AC0",gB="\u2283",yB="\u22D1",pB="\u2287",vB="\u2AC6",xB="\u228B",bB="\u2ACC",wB="\u2AC8",kB="\u2AD4",AB="\u2AD6",SB="\u2926",CB="\u2199",NB="\u21D9",MB="\u2199",$B="\u292A",TB="\xDF",EB=" ",LB="\u2316",OB="\u03A4",PB="\u03C4",jB="\u23B4",DB="\u0164",qB="\u0165",VB="\u0162",BB="\u0163",IB="\u0422",RB="\u0442",HB="\u20DB",XB="\u2315",YB="\u{1D517}",zB="\u{1D531}",FB="\u2234",UB="\u2234",GB="\u2234",WB="\u0398",KB="\u03B8",ZB="\u03D1",_B="\u03D1",QB="\u2248",JB="\u223C",tI="\u205F\u200A",eI="\u2009",nI="\u2009",iI="\u2248",rI="\u223C",oI="\xDE",sI="\xFE",lI="\u02DC",aI="\u223C",cI="\u2243",uI="\u2245",hI="\u2248",fI="\u2A31",dI="\u22A0",mI="\xD7",gI="\u2A30",yI="\u222D",pI="\u2928",vI="\u2336",xI="\u2AF1",bI="\u22A4",wI="\u{1D54B}",kI="\u{1D565}",AI="\u2ADA",SI="\u2929",CI="\u2034",NI="\u2122",MI="\u2122",$I="\u25B5",TI="\u25BF",EI="\u25C3",LI="\u22B4",OI="\u225C",PI="\u25B9",jI="\u22B5",DI="\u25EC",qI="\u225C",VI="\u2A3A",BI="\u20DB",II="\u2A39",RI="\u29CD",HI="\u2A3B",XI="\u23E2",YI="\u{1D4AF}",zI="\u{1D4C9}",FI="\u0426",UI="\u0446",GI="\u040B",WI="\u045B",KI="\u0166",ZI="\u0167",_I="\u226C",QI="\u219E",JI="\u21A0",tR="\xDA",eR="\xFA",nR="\u2191",iR="\u219F",rR="\u21D1",oR="\u2949",sR="\u040E",lR="\u045E",aR="\u016C",cR="\u016D",uR="\xDB",hR="\xFB",fR="\u0423",dR="\u0443",mR="\u21C5",gR="\u0170",yR="\u0171",pR="\u296E",vR="\u297E",xR="\u{1D518}",bR="\u{1D532}",wR="\xD9",kR="\xF9",AR="\u2963",SR="\u21BF",CR="\u21BE",NR="\u2580",MR="\u231C",$R="\u231C",TR="\u230F",ER="\u25F8",LR="\u016A",OR="\u016B",PR="\xA8",jR="_",DR="\u23DF",qR="\u23B5",VR="\u23DD",BR="\u22C3",IR="\u228E",RR="\u0172",HR="\u0173",XR="\u{1D54C}",YR="\u{1D566}",zR="\u2912",FR="\u2191",UR="\u2191",GR="\u21D1",WR="\u21C5",KR="\u2195",ZR="\u2195",_R="\u21D5",QR="\u296E",JR="\u21BF",tH="\u21BE",eH="\u228E",nH="\u2196",iH="\u2197",rH="\u03C5",oH="\u03D2",sH="\u03D2",lH="\u03A5",aH="\u03C5",cH="\u21A5",uH="\u22A5",hH="\u21C8",fH="\u231D",dH="\u231D",mH="\u230E",gH="\u016E",yH="\u016F",pH="\u25F9",vH="\u{1D4B0}",xH="\u{1D4CA}",bH="\u22F0",wH="\u0168",kH="\u0169",AH="\u25B5",SH="\u25B4",CH="\u21C8",NH="\xDC",MH="\xFC",$H="\u29A7",TH="\u299C",EH="\u03F5",LH="\u03F0",OH="\u2205",PH="\u03D5",jH="\u03D6",DH="\u221D",qH="\u2195",VH="\u21D5",BH="\u03F1",IH="\u03C2",RH="\u228A\uFE00",HH="\u2ACB\uFE00",XH="\u228B\uFE00",YH="\u2ACC\uFE00",zH="\u03D1",FH="\u22B2",UH="\u22B3",GH="\u2AE8",WH="\u2AEB",KH="\u2AE9",ZH="\u0412",_H="\u0432",QH="\u22A2",JH="\u22A8",tX="\u22A9",eX="\u22AB",nX="\u2AE6",iX="\u22BB",rX="\u2228",oX="\u22C1",sX="\u225A",lX="\u22EE",aX="|",cX="\u2016",uX="|",hX="\u2016",fX="\u2223",dX="|",mX="\u2758",gX="\u2240",yX="\u200A",pX="\u{1D519}",vX="\u{1D533}",xX="\u22B2",bX="\u2282\u20D2",wX="\u2283\u20D2",kX="\u{1D54D}",AX="\u{1D567}",SX="\u221D",CX="\u22B3",NX="\u{1D4B1}",MX="\u{1D4CB}",$X="\u2ACB\uFE00",TX="\u228A\uFE00",EX="\u2ACC\uFE00",LX="\u228B\uFE00",OX="\u22AA",PX="\u299A",jX="\u0174",DX="\u0175",qX="\u2A5F",VX="\u2227",BX="\u22C0",IX="\u2259",RX="\u2118",HX="\u{1D51A}",XX="\u{1D534}",YX="\u{1D54E}",zX="\u{1D568}",FX="\u2118",UX="\u2240",GX="\u2240",WX="\u{1D4B2}",KX="\u{1D4CC}",ZX="\u22C2",_X="\u25EF",QX="\u22C3",JX="\u25BD",tY="\u{1D51B}",eY="\u{1D535}",nY="\u27F7",iY="\u27FA",rY="\u039E",oY="\u03BE",sY="\u27F5",lY="\u27F8",aY="\u27FC",cY="\u22FB",uY="\u2A00",hY="\u{1D54F}",fY="\u{1D569}",dY="\u2A01",mY="\u2A02",gY="\u27F6",yY="\u27F9",pY="\u{1D4B3}",vY="\u{1D4CD}",xY="\u2A06",bY="\u2A04",wY="\u25B3",kY="\u22C1",AY="\u22C0",SY="\xDD",CY="\xFD",NY="\u042F",MY="\u044F",$Y="\u0176",TY="\u0177",EY="\u042B",LY="\u044B",OY="\xA5",PY="\u{1D51C}",jY="\u{1D536}",DY="\u0407",qY="\u0457",VY="\u{1D550}",BY="\u{1D56A}",IY="\u{1D4B4}",RY="\u{1D4CE}",HY="\u042E",XY="\u044E",YY="\xFF",zY="\u0178",FY="\u0179",UY="\u017A",GY="\u017D",WY="\u017E",KY="\u0417",ZY="\u0437",_Y="\u017B",QY="\u017C",JY="\u2128",tz="\u200B",ez="\u0396",nz="\u03B6",iz="\u{1D537}",rz="\u2128",oz="\u0416",sz="\u0436",lz="\u21DD",az="\u{1D56B}",cz="\u2124",uz="\u{1D4B5}",hz="\u{1D4CF}",fz="\u200D",dz="\u200C",Ys={Aacute:Z9,aacute:_9,Abreve:Q9,abreve:J9,ac:t8,acd:e8,acE:n8,Acirc:i8,acirc:r8,acute:o8,Acy:s8,acy:l8,AElig:a8,aelig:c8,af:u8,Afr:h8,afr:f8,Agrave:d8,agrave:m8,alefsym:g8,aleph:y8,Alpha:p8,alpha:v8,Amacr:x8,amacr:b8,amalg:w8,amp:k8,AMP:A8,andand:S8,And:C8,and:N8,andd:M8,andslope:$8,andv:T8,ang:E8,ange:L8,angle:O8,angmsdaa:P8,angmsdab:j8,angmsdac:D8,angmsdad:q8,angmsdae:V8,angmsdaf:B8,angmsdag:I8,angmsdah:R8,angmsd:H8,angrt:X8,angrtvb:Y8,angrtvbd:z8,angsph:F8,angst:U8,angzarr:G8,Aogon:W8,aogon:K8,Aopf:Z8,aopf:_8,apacir:Q8,ap:J8,apE:t5,ape:e5,apid:n5,apos:i5,ApplyFunction:r5,approx:o5,approxeq:s5,Aring:l5,aring:a5,Ascr:c5,ascr:u5,Assign:h5,ast:f5,asymp:d5,asympeq:m5,Atilde:g5,atilde:y5,Auml:p5,auml:v5,awconint:x5,awint:b5,backcong:w5,backepsilon:k5,backprime:A5,backsim:S5,backsimeq:C5,Backslash:N5,Barv:M5,barvee:$5,barwed:T5,Barwed:E5,barwedge:L5,bbrk:O5,bbrktbrk:P5,bcong:j5,Bcy:D5,bcy:q5,bdquo:V5,becaus:B5,because:I5,Because:R5,bemptyv:H5,bepsi:X5,bernou:Y5,Bernoullis:z5,Beta:F5,beta:U5,beth:G5,between:W5,Bfr:K5,bfr:Z5,bigcap:_5,bigcirc:Q5,bigcup:J5,bigodot:t6,bigoplus:e6,bigotimes:n6,bigsqcup:i6,bigstar:r6,bigtriangledown:o6,bigtriangleup:s6,biguplus:l6,bigvee:a6,bigwedge:c6,bkarow:u6,blacklozenge:h6,blacksquare:f6,blacktriangle:d6,blacktriangledown:m6,blacktriangleleft:g6,blacktriangleright:y6,blank:p6,blk12:v6,blk14:x6,blk34:b6,block:w6,bne:k6,bnequiv:A6,bNot:S6,bnot:C6,Bopf:N6,bopf:M6,bot:$6,bottom:T6,bowtie:E6,boxbox:L6,boxdl:O6,boxdL:P6,boxDl:j6,boxDL:D6,boxdr:q6,boxdR:V6,boxDr:B6,boxDR:I6,boxh:R6,boxH:H6,boxhd:X6,boxHd:Y6,boxhD:z6,boxHD:F6,boxhu:U6,boxHu:G6,boxhU:W6,boxHU:K6,boxminus:Z6,boxplus:_6,boxtimes:Q6,boxul:J6,boxuL:th,boxUl:eh,boxUL:nh,boxur:ih,boxuR:rh,boxUr:oh,boxUR:sh,boxv:lh,boxV:ah,boxvh:ch,boxvH:uh,boxVh:hh,boxVH:fh,boxvl:dh,boxvL:mh,boxVl:gh,boxVL:yh,boxvr:ph,boxvR:vh,boxVr:xh,boxVR:bh,bprime:wh,breve:kh,Breve:Ah,brvbar:Sh,bscr:Ch,Bscr:Nh,bsemi:Mh,bsim:$h,bsime:Th,bsolb:Eh,bsol:Lh,bsolhsub:Oh,bull:Ph,bullet:jh,bump:Dh,bumpE:qh,bumpe:Vh,Bumpeq:Bh,bumpeq:Ih,Cacute:Rh,cacute:Hh,capand:Xh,capbrcup:Yh,capcap:zh,cap:Fh,Cap:Uh,capcup:Gh,capdot:Wh,CapitalDifferentialD:Kh,caps:Zh,caret:_h,caron:Qh,Cayleys:Jh,ccaps:t7,Ccaron:e7,ccaron:n7,Ccedil:i7,ccedil:r7,Ccirc:o7,ccirc:s7,Cconint:l7,ccups:a7,ccupssm:c7,Cdot:u7,cdot:h7,cedil:f7,Cedilla:d7,cemptyv:m7,cent:g7,centerdot:y7,CenterDot:p7,cfr:v7,Cfr:x7,CHcy:b7,chcy:w7,check:k7,checkmark:A7,Chi:S7,chi:C7,circ:N7,circeq:M7,circlearrowleft:$7,circlearrowright:T7,circledast:E7,circledcirc:L7,circleddash:O7,CircleDot:P7,circledR:j7,circledS:D7,CircleMinus:q7,CirclePlus:V7,CircleTimes:B7,cir:I7,cirE:R7,cire:H7,cirfnint:X7,cirmid:Y7,cirscir:z7,ClockwiseContourIntegral:F7,CloseCurlyDoubleQuote:U7,CloseCurlyQuote:G7,clubs:W7,clubsuit:K7,colon:Z7,Colon:_7,Colone:Q7,colone:J7,coloneq:tf,comma:ef,commat:nf,comp:rf,compfn:of,complement:sf,complexes:lf,cong:af,congdot:cf,Congruent:uf,conint:hf,Conint:ff,ContourIntegral:df,copf:mf,Copf:gf,coprod:yf,Coproduct:pf,copy:vf,COPY:xf,copysr:bf,CounterClockwiseContourIntegral:wf,crarr:kf,cross:Af,Cross:Sf,Cscr:Cf,cscr:Nf,csub:Mf,csube:$f,csup:Tf,csupe:Ef,ctdot:Lf,cudarrl:Of,cudarrr:Pf,cuepr:jf,cuesc:Df,cularr:qf,cularrp:Vf,cupbrcap:Bf,cupcap:If,CupCap:Rf,cup:Hf,Cup:Xf,cupcup:Yf,cupdot:zf,cupor:Ff,cups:Uf,curarr:Gf,curarrm:Wf,curlyeqprec:Kf,curlyeqsucc:Zf,curlyvee:_f,curlywedge:Qf,curren:Jf,curvearrowleft:t3,curvearrowright:e3,cuvee:n3,cuwed:i3,cwconint:r3,cwint:o3,cylcty:s3,dagger:l3,Dagger:a3,daleth:c3,darr:u3,Darr:h3,dArr:f3,dash:d3,Dashv:m3,dashv:g3,dbkarow:y3,dblac:p3,Dcaron:v3,dcaron:x3,Dcy:b3,dcy:w3,ddagger:k3,ddarr:A3,DD:S3,dd:C3,DDotrahd:N3,ddotseq:M3,deg:$3,Del:T3,Delta:E3,delta:L3,demptyv:O3,dfisht:P3,Dfr:j3,dfr:D3,dHar:q3,dharl:V3,dharr:B3,DiacriticalAcute:I3,DiacriticalDot:R3,DiacriticalDoubleAcute:H3,DiacriticalGrave:X3,DiacriticalTilde:Y3,diam:z3,diamond:F3,Diamond:U3,diamondsuit:G3,diams:W3,die:K3,DifferentialD:Z3,digamma:_3,disin:Q3,div:J3,divide:td,divideontimes:ed,divonx:nd,DJcy:id,djcy:rd,dlcorn:od,dlcrop:sd,dollar:ld,Dopf:ad,dopf:cd,Dot:ud,dot:hd,DotDot:fd,doteq:dd,doteqdot:md,DotEqual:gd,dotminus:yd,dotplus:pd,dotsquare:vd,doublebarwedge:xd,DoubleContourIntegral:bd,DoubleDot:wd,DoubleDownArrow:kd,DoubleLeftArrow:Ad,DoubleLeftRightArrow:Sd,DoubleLeftTee:Cd,DoubleLongLeftArrow:Nd,DoubleLongLeftRightArrow:Md,DoubleLongRightArrow:$d,DoubleRightArrow:Td,DoubleRightTee:Ed,DoubleUpArrow:Ld,DoubleUpDownArrow:Od,DoubleVerticalBar:Pd,DownArrowBar:jd,downarrow:Dd,DownArrow:qd,Downarrow:Vd,DownArrowUpArrow:Bd,DownBreve:Id,downdownarrows:Rd,downharpoonleft:Hd,downharpoonright:Xd,DownLeftRightVector:Yd,DownLeftTeeVector:zd,DownLeftVectorBar:Fd,DownLeftVector:Ud,DownRightTeeVector:Gd,DownRightVectorBar:Wd,DownRightVector:Kd,DownTeeArrow:Zd,DownTee:_d,drbkarow:Qd,drcorn:Jd,drcrop:tm,Dscr:em,dscr:nm,DScy:im,dscy:rm,dsol:om,Dstrok:sm,dstrok:lm,dtdot:am,dtri:cm,dtrif:um,duarr:hm,duhar:fm,dwangle:dm,DZcy:mm,dzcy:gm,dzigrarr:ym,Eacute:pm,eacute:vm,easter:xm,Ecaron:bm,ecaron:wm,Ecirc:km,ecirc:Am,ecir:Sm,ecolon:Cm,Ecy:Nm,ecy:Mm,eDDot:$m,Edot:Tm,edot:Em,eDot:Lm,ee:Om,efDot:Pm,Efr:jm,efr:Dm,eg:qm,Egrave:Vm,egrave:Bm,egs:Im,egsdot:Rm,el:Hm,Element:Xm,elinters:Ym,ell:zm,els:Fm,elsdot:Um,Emacr:Gm,emacr:Wm,empty:Km,emptyset:Zm,EmptySmallSquare:_m,emptyv:Qm,EmptyVerySmallSquare:Jm,emsp13:t4,emsp14:e4,emsp:n4,ENG:i4,eng:r4,ensp:o4,Eogon:s4,eogon:l4,Eopf:a4,eopf:c4,epar:u4,eparsl:h4,eplus:f4,epsi:d4,Epsilon:m4,epsilon:g4,epsiv:y4,eqcirc:p4,eqcolon:v4,eqsim:x4,eqslantgtr:b4,eqslantless:w4,Equal:k4,equals:A4,EqualTilde:S4,equest:C4,Equilibrium:N4,equiv:M4,equivDD:$4,eqvparsl:T4,erarr:E4,erDot:L4,escr:O4,Escr:P4,esdot:j4,Esim:D4,esim:q4,Eta:V4,eta:B4,ETH:I4,eth:R4,Euml:H4,euml:X4,euro:Y4,excl:z4,exist:F4,Exists:U4,expectation:G4,exponentiale:W4,ExponentialE:K4,fallingdotseq:Z4,Fcy:_4,fcy:Q4,female:J4,ffilig:tg,fflig:eg,ffllig:ng,Ffr:ig,ffr:rg,filig:og,FilledSmallSquare:sg,FilledVerySmallSquare:lg,fjlig:ag,flat:cg,fllig:ug,fltns:hg,fnof:fg,Fopf:dg,fopf:mg,forall:gg,ForAll:yg,fork:pg,forkv:vg,Fouriertrf:xg,fpartint:bg,frac12:wg,frac13:kg,frac14:Ag,frac15:Sg,frac16:Cg,frac18:Ng,frac23:Mg,frac25:$g,frac34:Tg,frac35:Eg,frac38:Lg,frac45:Og,frac56:Pg,frac58:jg,frac78:Dg,frasl:qg,frown:Vg,fscr:Bg,Fscr:Ig,gacute:Rg,Gamma:Hg,gamma:Xg,Gammad:Yg,gammad:zg,gap:Fg,Gbreve:Ug,gbreve:Gg,Gcedil:Wg,Gcirc:Kg,gcirc:Zg,Gcy:_g,gcy:Qg,Gdot:Jg,gdot:ty,ge:ey,gE:ny,gEl:iy,gel:ry,geq:oy,geqq:sy,geqslant:ly,gescc:ay,ges:cy,gesdot:uy,gesdoto:hy,gesdotol:fy,gesl:dy,gesles:my,Gfr:gy,gfr:yy,gg:py,Gg:vy,ggg:xy,gimel:by,GJcy:wy,gjcy:ky,gla:Ay,gl:Sy,glE:Cy,glj:Ny,gnap:My,gnapprox:$y,gne:Ty,gnE:Ey,gneq:Ly,gneqq:Oy,gnsim:Py,Gopf:jy,gopf:Dy,grave:qy,GreaterEqual:Vy,GreaterEqualLess:By,GreaterFullEqual:Iy,GreaterGreater:Ry,GreaterLess:Hy,GreaterSlantEqual:Xy,GreaterTilde:Yy,Gscr:zy,gscr:Fy,gsim:Uy,gsime:Gy,gsiml:Wy,gtcc:Ky,gtcir:Zy,gt:_y,GT:Qy,Gt:Jy,gtdot:tp,gtlPar:ep,gtquest:np,gtrapprox:ip,gtrarr:rp,gtrdot:op,gtreqless:sp,gtreqqless:lp,gtrless:ap,gtrsim:cp,gvertneqq:up,gvnE:hp,Hacek:fp,hairsp:dp,half:mp,hamilt:gp,HARDcy:yp,hardcy:pp,harrcir:vp,harr:xp,hArr:bp,harrw:wp,Hat:kp,hbar:Ap,Hcirc:Sp,hcirc:Cp,hearts:Np,heartsuit:Mp,hellip:$p,hercon:Tp,hfr:Ep,Hfr:Lp,HilbertSpace:Op,hksearow:Pp,hkswarow:jp,hoarr:Dp,homtht:qp,hookleftarrow:Vp,hookrightarrow:Bp,hopf:Ip,Hopf:Rp,horbar:Hp,HorizontalLine:Xp,hscr:Yp,Hscr:zp,hslash:Fp,Hstrok:Up,hstrok:Gp,HumpDownHump:Wp,HumpEqual:Kp,hybull:Zp,hyphen:_p,Iacute:Qp,iacute:Jp,ic:tv,Icirc:ev,icirc:nv,Icy:iv,icy:rv,Idot:ov,IEcy:sv,iecy:lv,iexcl:av,iff:cv,ifr:uv,Ifr:hv,Igrave:fv,igrave:dv,ii:mv,iiiint:gv,iiint:yv,iinfin:pv,iiota:vv,IJlig:xv,ijlig:bv,Imacr:wv,imacr:kv,image:Av,ImaginaryI:Sv,imagline:Cv,imagpart:Nv,imath:Mv,Im:$v,imof:Tv,imped:Ev,Implies:Lv,incare:Ov,in:"\u2208",infin:Pv,infintie:jv,inodot:Dv,intcal:qv,int:Vv,Int:Bv,integers:Iv,Integral:Rv,intercal:Hv,Intersection:Xv,intlarhk:Yv,intprod:zv,InvisibleComma:Fv,InvisibleTimes:Uv,IOcy:Gv,iocy:Wv,Iogon:Kv,iogon:Zv,Iopf:_v,iopf:Qv,Iota:Jv,iota:tx,iprod:ex,iquest:nx,iscr:ix,Iscr:rx,isin:ox,isindot:sx,isinE:lx,isins:ax,isinsv:cx,isinv:ux,it:hx,Itilde:fx,itilde:dx,Iukcy:mx,iukcy:gx,Iuml:yx,iuml:px,Jcirc:vx,jcirc:xx,Jcy:bx,jcy:wx,Jfr:kx,jfr:Ax,jmath:Sx,Jopf:Cx,jopf:Nx,Jscr:Mx,jscr:$x,Jsercy:Tx,jsercy:Ex,Jukcy:Lx,jukcy:Ox,Kappa:Px,kappa:jx,kappav:Dx,Kcedil:qx,kcedil:Vx,Kcy:Bx,kcy:Ix,Kfr:Rx,kfr:Hx,kgreen:Xx,KHcy:Yx,khcy:zx,KJcy:Fx,kjcy:Ux,Kopf:Gx,kopf:Wx,Kscr:Kx,kscr:Zx,lAarr:_x,Lacute:Qx,lacute:Jx,laemptyv:tb,lagran:eb,Lambda:nb,lambda:ib,lang:rb,Lang:ob,langd:sb,langle:lb,lap:ab,Laplacetrf:cb,laquo:ub,larrb:hb,larrbfs:fb,larr:db,Larr:mb,lArr:gb,larrfs:yb,larrhk:pb,larrlp:vb,larrpl:xb,larrsim:bb,larrtl:wb,latail:kb,lAtail:Ab,lat:Sb,late:Cb,lates:Nb,lbarr:Mb,lBarr:$b,lbbrk:Tb,lbrace:Eb,lbrack:Lb,lbrke:Ob,lbrksld:Pb,lbrkslu:jb,Lcaron:Db,lcaron:qb,Lcedil:Vb,lcedil:Bb,lceil:Ib,lcub:Rb,Lcy:Hb,lcy:Xb,ldca:Yb,ldquo:zb,ldquor:Fb,ldrdhar:Ub,ldrushar:Gb,ldsh:Wb,le:Kb,lE:Zb,LeftAngleBracket:_b,LeftArrowBar:Qb,leftarrow:Jb,LeftArrow:tw,Leftarrow:ew,LeftArrowRightArrow:nw,leftarrowtail:iw,LeftCeiling:rw,LeftDoubleBracket:ow,LeftDownTeeVector:sw,LeftDownVectorBar:lw,LeftDownVector:aw,LeftFloor:cw,leftharpoondown:uw,leftharpoonup:hw,leftleftarrows:fw,leftrightarrow:dw,LeftRightArrow:mw,Leftrightarrow:gw,leftrightarrows:yw,leftrightharpoons:pw,leftrightsquigarrow:vw,LeftRightVector:xw,LeftTeeArrow:bw,LeftTee:ww,LeftTeeVector:kw,leftthreetimes:Aw,LeftTriangleBar:Sw,LeftTriangle:Cw,LeftTriangleEqual:Nw,LeftUpDownVector:Mw,LeftUpTeeVector:$w,LeftUpVectorBar:Tw,LeftUpVector:Ew,LeftVectorBar:Lw,LeftVector:Ow,lEg:Pw,leg:jw,leq:Dw,leqq:qw,leqslant:Vw,lescc:Bw,les:Iw,lesdot:Rw,lesdoto:Hw,lesdotor:Xw,lesg:Yw,lesges:zw,lessapprox:Fw,lessdot:Uw,lesseqgtr:Gw,lesseqqgtr:Ww,LessEqualGreater:Kw,LessFullEqual:Zw,LessGreater:_w,lessgtr:Qw,LessLess:Jw,lesssim:tk,LessSlantEqual:ek,LessTilde:nk,lfisht:ik,lfloor:rk,Lfr:ok,lfr:sk,lg:lk,lgE:ak,lHar:ck,lhard:uk,lharu:hk,lharul:fk,lhblk:dk,LJcy:mk,ljcy:gk,llarr:yk,ll:pk,Ll:vk,llcorner:xk,Lleftarrow:bk,llhard:wk,lltri:kk,Lmidot:Ak,lmidot:Sk,lmoustache:Ck,lmoust:Nk,lnap:Mk,lnapprox:$k,lne:Tk,lnE:Ek,lneq:Lk,lneqq:Ok,lnsim:Pk,loang:jk,loarr:Dk,lobrk:qk,longleftarrow:Vk,LongLeftArrow:Bk,Longleftarrow:Ik,longleftrightarrow:Rk,LongLeftRightArrow:Hk,Longleftrightarrow:Xk,longmapsto:Yk,longrightarrow:zk,LongRightArrow:Fk,Longrightarrow:Uk,looparrowleft:Gk,looparrowright:Wk,lopar:Kk,Lopf:Zk,lopf:_k,loplus:Qk,lotimes:Jk,lowast:tA,lowbar:eA,LowerLeftArrow:nA,LowerRightArrow:iA,loz:rA,lozenge:oA,lozf:sA,lpar:lA,lparlt:aA,lrarr:cA,lrcorner:uA,lrhar:hA,lrhard:fA,lrm:dA,lrtri:mA,lsaquo:gA,lscr:yA,Lscr:pA,lsh:vA,Lsh:xA,lsim:bA,lsime:wA,lsimg:kA,lsqb:AA,lsquo:SA,lsquor:CA,Lstrok:NA,lstrok:MA,ltcc:$A,ltcir:TA,lt:EA,LT:LA,Lt:OA,ltdot:PA,lthree:jA,ltimes:DA,ltlarr:qA,ltquest:VA,ltri:BA,ltrie:IA,ltrif:RA,ltrPar:HA,lurdshar:XA,luruhar:YA,lvertneqq:zA,lvnE:FA,macr:UA,male:GA,malt:WA,maltese:KA,Map:"\u2905",map:ZA,mapsto:_A,mapstodown:QA,mapstoleft:JA,mapstoup:tS,marker:eS,mcomma:nS,Mcy:iS,mcy:rS,mdash:oS,mDDot:sS,measuredangle:lS,MediumSpace:aS,Mellintrf:cS,Mfr:uS,mfr:hS,mho:fS,micro:dS,midast:mS,midcir:gS,mid:yS,middot:pS,minusb:vS,minus:xS,minusd:bS,minusdu:wS,MinusPlus:kS,mlcp:AS,mldr:SS,mnplus:CS,models:NS,Mopf:MS,mopf:$S,mp:TS,mscr:ES,Mscr:LS,mstpos:OS,Mu:PS,mu:jS,multimap:DS,mumap:qS,nabla:VS,Nacute:BS,nacute:IS,nang:RS,nap:HS,napE:XS,napid:YS,napos:zS,napprox:FS,natural:US,naturals:GS,natur:WS,nbsp:KS,nbump:ZS,nbumpe:_S,ncap:QS,Ncaron:JS,ncaron:tC,Ncedil:eC,ncedil:nC,ncong:iC,ncongdot:rC,ncup:oC,Ncy:sC,ncy:lC,ndash:aC,nearhk:cC,nearr:uC,neArr:hC,nearrow:fC,ne:dC,nedot:mC,NegativeMediumSpace:gC,NegativeThickSpace:yC,NegativeThinSpace:pC,NegativeVeryThinSpace:vC,nequiv:xC,nesear:bC,nesim:wC,NestedGreaterGreater:kC,NestedLessLess:AC,NewLine:SC,nexist:CC,nexists:NC,Nfr:MC,nfr:$C,ngE:TC,nge:EC,ngeq:LC,ngeqq:OC,ngeqslant:PC,nges:jC,nGg:DC,ngsim:qC,nGt:VC,ngt:BC,ngtr:IC,nGtv:RC,nharr:HC,nhArr:XC,nhpar:YC,ni:zC,nis:FC,nisd:UC,niv:GC,NJcy:WC,njcy:KC,nlarr:ZC,nlArr:_C,nldr:QC,nlE:JC,nle:tN,nleftarrow:eN,nLeftarrow:nN,nleftrightarrow:iN,nLeftrightarrow:rN,nleq:oN,nleqq:sN,nleqslant:lN,nles:aN,nless:cN,nLl:uN,nlsim:hN,nLt:fN,nlt:dN,nltri:mN,nltrie:gN,nLtv:yN,nmid:pN,NoBreak:vN,NonBreakingSpace:xN,nopf:bN,Nopf:wN,Not:kN,not:AN,NotCongruent:SN,NotCupCap:CN,NotDoubleVerticalBar:NN,NotElement:MN,NotEqual:$N,NotEqualTilde:TN,NotExists:EN,NotGreater:LN,NotGreaterEqual:ON,NotGreaterFullEqual:PN,NotGreaterGreater:jN,NotGreaterLess:DN,NotGreaterSlantEqual:qN,NotGreaterTilde:VN,NotHumpDownHump:BN,NotHumpEqual:IN,notin:RN,notindot:HN,notinE:XN,notinva:YN,notinvb:zN,notinvc:FN,NotLeftTriangleBar:UN,NotLeftTriangle:GN,NotLeftTriangleEqual:WN,NotLess:KN,NotLessEqual:ZN,NotLessGreater:_N,NotLessLess:QN,NotLessSlantEqual:JN,NotLessTilde:tM,NotNestedGreaterGreater:eM,NotNestedLessLess:nM,notni:iM,notniva:rM,notnivb:oM,notnivc:sM,NotPrecedes:lM,NotPrecedesEqual:aM,NotPrecedesSlantEqual:cM,NotReverseElement:uM,NotRightTriangleBar:hM,NotRightTriangle:fM,NotRightTriangleEqual:dM,NotSquareSubset:mM,NotSquareSubsetEqual:gM,NotSquareSuperset:yM,NotSquareSupersetEqual:pM,NotSubset:vM,NotSubsetEqual:xM,NotSucceeds:bM,NotSucceedsEqual:wM,NotSucceedsSlantEqual:kM,NotSucceedsTilde:AM,NotSuperset:SM,NotSupersetEqual:CM,NotTilde:NM,NotTildeEqual:MM,NotTildeFullEqual:$M,NotTildeTilde:TM,NotVerticalBar:EM,nparallel:LM,npar:OM,nparsl:PM,npart:jM,npolint:DM,npr:qM,nprcue:VM,nprec:BM,npreceq:IM,npre:RM,nrarrc:HM,nrarr:XM,nrArr:YM,nrarrw:zM,nrightarrow:FM,nRightarrow:UM,nrtri:GM,nrtrie:WM,nsc:KM,nsccue:ZM,nsce:_M,Nscr:QM,nscr:JM,nshortmid:t$,nshortparallel:e$,nsim:n$,nsime:i$,nsimeq:r$,nsmid:o$,nspar:s$,nsqsube:l$,nsqsupe:a$,nsub:c$,nsubE:u$,nsube:h$,nsubset:f$,nsubseteq:d$,nsubseteqq:m$,nsucc:g$,nsucceq:y$,nsup:p$,nsupE:v$,nsupe:x$,nsupset:b$,nsupseteq:w$,nsupseteqq:k$,ntgl:A$,Ntilde:S$,ntilde:C$,ntlg:N$,ntriangleleft:M$,ntrianglelefteq:$$,ntriangleright:T$,ntrianglerighteq:E$,Nu:L$,nu:O$,num:P$,numero:j$,numsp:D$,nvap:q$,nvdash:V$,nvDash:B$,nVdash:I$,nVDash:R$,nvge:H$,nvgt:X$,nvHarr:Y$,nvinfin:z$,nvlArr:F$,nvle:U$,nvlt:G$,nvltrie:W$,nvrArr:K$,nvrtrie:Z$,nvsim:_$,nwarhk:Q$,nwarr:J$,nwArr:tT,nwarrow:eT,nwnear:nT,Oacute:iT,oacute:rT,oast:oT,Ocirc:sT,ocirc:lT,ocir:aT,Ocy:cT,ocy:uT,odash:hT,Odblac:fT,odblac:dT,odiv:mT,odot:gT,odsold:yT,OElig:pT,oelig:vT,ofcir:xT,Ofr:bT,ofr:wT,ogon:kT,Ograve:AT,ograve:ST,ogt:CT,ohbar:NT,ohm:MT,oint:$T,olarr:TT,olcir:ET,olcross:LT,oline:OT,olt:PT,Omacr:jT,omacr:DT,Omega:qT,omega:VT,Omicron:BT,omicron:IT,omid:RT,ominus:HT,Oopf:XT,oopf:YT,opar:zT,OpenCurlyDoubleQuote:FT,OpenCurlyQuote:UT,operp:GT,oplus:WT,orarr:KT,Or:ZT,or:_T,ord:QT,order:JT,orderof:tE,ordf:eE,ordm:nE,origof:iE,oror:rE,orslope:oE,orv:sE,oS:lE,Oscr:aE,oscr:cE,Oslash:uE,oslash:hE,osol:fE,Otilde:dE,otilde:mE,otimesas:gE,Otimes:yE,otimes:pE,Ouml:vE,ouml:xE,ovbar:bE,OverBar:wE,OverBrace:kE,OverBracket:AE,OverParenthesis:SE,para:CE,parallel:NE,par:ME,parsim:$E,parsl:TE,part:EE,PartialD:LE,Pcy:OE,pcy:PE,percnt:jE,period:DE,permil:qE,perp:VE,pertenk:BE,Pfr:IE,pfr:RE,Phi:HE,phi:XE,phiv:YE,phmmat:zE,phone:FE,Pi:UE,pi:GE,pitchfork:WE,piv:KE,planck:ZE,planckh:_E,plankv:QE,plusacir:JE,plusb:tL,pluscir:eL,plus:nL,plusdo:iL,plusdu:rL,pluse:oL,PlusMinus:sL,plusmn:lL,plussim:aL,plustwo:cL,pm:uL,Poincareplane:hL,pointint:fL,popf:dL,Popf:mL,pound:gL,prap:yL,Pr:pL,pr:vL,prcue:xL,precapprox:bL,prec:wL,preccurlyeq:kL,Precedes:AL,PrecedesEqual:SL,PrecedesSlantEqual:CL,PrecedesTilde:NL,preceq:ML,precnapprox:$L,precneqq:TL,precnsim:EL,pre:LL,prE:OL,precsim:PL,prime:jL,Prime:DL,primes:qL,prnap:VL,prnE:BL,prnsim:IL,prod:RL,Product:HL,profalar:XL,profline:YL,profsurf:zL,prop:FL,Proportional:UL,Proportion:GL,propto:WL,prsim:KL,prurel:ZL,Pscr:_L,pscr:QL,Psi:JL,psi:tO,puncsp:eO,Qfr:nO,qfr:iO,qint:rO,qopf:oO,Qopf:sO,qprime:lO,Qscr:aO,qscr:cO,quaternions:uO,quatint:hO,quest:fO,questeq:dO,quot:mO,QUOT:gO,rAarr:yO,race:pO,Racute:vO,racute:xO,radic:bO,raemptyv:wO,rang:kO,Rang:AO,rangd:SO,range:CO,rangle:NO,raquo:MO,rarrap:$O,rarrb:TO,rarrbfs:EO,rarrc:LO,rarr:OO,Rarr:PO,rArr:jO,rarrfs:DO,rarrhk:qO,rarrlp:VO,rarrpl:BO,rarrsim:IO,Rarrtl:RO,rarrtl:HO,rarrw:XO,ratail:YO,rAtail:zO,ratio:FO,rationals:UO,rbarr:GO,rBarr:WO,RBarr:KO,rbbrk:ZO,rbrace:_O,rbrack:QO,rbrke:JO,rbrksld:tP,rbrkslu:eP,Rcaron:nP,rcaron:iP,Rcedil:rP,rcedil:oP,rceil:sP,rcub:lP,Rcy:aP,rcy:cP,rdca:uP,rdldhar:hP,rdquo:fP,rdquor:dP,rdsh:mP,real:gP,realine:yP,realpart:pP,reals:vP,Re:xP,rect:bP,reg:wP,REG:kP,ReverseElement:AP,ReverseEquilibrium:SP,ReverseUpEquilibrium:CP,rfisht:NP,rfloor:MP,rfr:$P,Rfr:TP,rHar:EP,rhard:LP,rharu:OP,rharul:PP,Rho:jP,rho:DP,rhov:qP,RightAngleBracket:VP,RightArrowBar:BP,rightarrow:IP,RightArrow:RP,Rightarrow:HP,RightArrowLeftArrow:XP,rightarrowtail:YP,RightCeiling:zP,RightDoubleBracket:FP,RightDownTeeVector:UP,RightDownVectorBar:GP,RightDownVector:WP,RightFloor:KP,rightharpoondown:ZP,rightharpoonup:_P,rightleftarrows:QP,rightleftharpoons:JP,rightrightarrows:tj,rightsquigarrow:ej,RightTeeArrow:nj,RightTee:ij,RightTeeVector:rj,rightthreetimes:oj,RightTriangleBar:sj,RightTriangle:lj,RightTriangleEqual:aj,RightUpDownVector:cj,RightUpTeeVector:uj,RightUpVectorBar:hj,RightUpVector:fj,RightVectorBar:dj,RightVector:mj,ring:gj,risingdotseq:yj,rlarr:pj,rlhar:vj,rlm:xj,rmoustache:bj,rmoust:wj,rnmid:kj,roang:Aj,roarr:Sj,robrk:Cj,ropar:Nj,ropf:Mj,Ropf:$j,roplus:Tj,rotimes:Ej,RoundImplies:Lj,rpar:Oj,rpargt:Pj,rppolint:jj,rrarr:Dj,Rrightarrow:qj,rsaquo:Vj,rscr:Bj,Rscr:Ij,rsh:Rj,Rsh:Hj,rsqb:Xj,rsquo:Yj,rsquor:zj,rthree:Fj,rtimes:Uj,rtri:Gj,rtrie:Wj,rtrif:Kj,rtriltri:Zj,RuleDelayed:_j,ruluhar:Qj,rx:Jj,Sacute:tD,sacute:eD,sbquo:nD,scap:iD,Scaron:rD,scaron:oD,Sc:sD,sc:lD,sccue:aD,sce:cD,scE:uD,Scedil:hD,scedil:fD,Scirc:dD,scirc:mD,scnap:gD,scnE:yD,scnsim:pD,scpolint:vD,scsim:xD,Scy:bD,scy:wD,sdotb:kD,sdot:AD,sdote:SD,searhk:CD,searr:ND,seArr:MD,searrow:$D,sect:TD,semi:ED,seswar:LD,setminus:OD,setmn:PD,sext:jD,Sfr:DD,sfr:qD,sfrown:VD,sharp:BD,SHCHcy:ID,shchcy:RD,SHcy:HD,shcy:XD,ShortDownArrow:YD,ShortLeftArrow:zD,shortmid:FD,shortparallel:UD,ShortRightArrow:GD,ShortUpArrow:WD,shy:KD,Sigma:ZD,sigma:_D,sigmaf:QD,sigmav:JD,sim:tq,simdot:eq,sime:nq,simeq:iq,simg:rq,simgE:oq,siml:sq,simlE:lq,simne:aq,simplus:cq,simrarr:uq,slarr:hq,SmallCircle:fq,smallsetminus:dq,smashp:mq,smeparsl:gq,smid:yq,smile:pq,smt:vq,smte:xq,smtes:bq,SOFTcy:wq,softcy:kq,solbar:Aq,solb:Sq,sol:Cq,Sopf:Nq,sopf:Mq,spades:$q,spadesuit:Tq,spar:Eq,sqcap:Lq,sqcaps:Oq,sqcup:Pq,sqcups:jq,Sqrt:Dq,sqsub:qq,sqsube:Vq,sqsubset:Bq,sqsubseteq:Iq,sqsup:Rq,sqsupe:Hq,sqsupset:Xq,sqsupseteq:Yq,square:zq,Square:Fq,SquareIntersection:Uq,SquareSubset:Gq,SquareSubsetEqual:Wq,SquareSuperset:Kq,SquareSupersetEqual:Zq,SquareUnion:_q,squarf:Qq,squ:Jq,squf:tV,srarr:eV,Sscr:nV,sscr:iV,ssetmn:rV,ssmile:oV,sstarf:sV,Star:lV,star:aV,starf:cV,straightepsilon:uV,straightphi:hV,strns:fV,sub:dV,Sub:mV,subdot:gV,subE:yV,sube:pV,subedot:vV,submult:xV,subnE:bV,subne:wV,subplus:kV,subrarr:AV,subset:SV,Subset:CV,subseteq:NV,subseteqq:MV,SubsetEqual:$V,subsetneq:TV,subsetneqq:EV,subsim:LV,subsub:OV,subsup:PV,succapprox:jV,succ:DV,succcurlyeq:qV,Succeeds:VV,SucceedsEqual:BV,SucceedsSlantEqual:IV,SucceedsTilde:RV,succeq:HV,succnapprox:XV,succneqq:YV,succnsim:zV,succsim:FV,SuchThat:UV,sum:GV,Sum:WV,sung:KV,sup1:ZV,sup2:_V,sup3:QV,sup:JV,Sup:tB,supdot:eB,supdsub:nB,supE:iB,supe:rB,supedot:oB,Superset:sB,SupersetEqual:lB,suphsol:aB,suphsub:cB,suplarr:uB,supmult:hB,supnE:fB,supne:dB,supplus:mB,supset:gB,Supset:yB,supseteq:pB,supseteqq:vB,supsetneq:xB,supsetneqq:bB,supsim:wB,supsub:kB,supsup:AB,swarhk:SB,swarr:CB,swArr:NB,swarrow:MB,swnwar:$B,szlig:TB,Tab:EB,target:LB,Tau:OB,tau:PB,tbrk:jB,Tcaron:DB,tcaron:qB,Tcedil:VB,tcedil:BB,Tcy:IB,tcy:RB,tdot:HB,telrec:XB,Tfr:YB,tfr:zB,there4:FB,therefore:UB,Therefore:GB,Theta:WB,theta:KB,thetasym:ZB,thetav:_B,thickapprox:QB,thicksim:JB,ThickSpace:tI,ThinSpace:eI,thinsp:nI,thkap:iI,thksim:rI,THORN:oI,thorn:sI,tilde:lI,Tilde:aI,TildeEqual:cI,TildeFullEqual:uI,TildeTilde:hI,timesbar:fI,timesb:dI,times:mI,timesd:gI,tint:yI,toea:pI,topbot:vI,topcir:xI,top:bI,Topf:wI,topf:kI,topfork:AI,tosa:SI,tprime:CI,trade:NI,TRADE:MI,triangle:$I,triangledown:TI,triangleleft:EI,trianglelefteq:LI,triangleq:OI,triangleright:PI,trianglerighteq:jI,tridot:DI,trie:qI,triminus:VI,TripleDot:BI,triplus:II,trisb:RI,tritime:HI,trpezium:XI,Tscr:YI,tscr:zI,TScy:FI,tscy:UI,TSHcy:GI,tshcy:WI,Tstrok:KI,tstrok:ZI,twixt:_I,twoheadleftarrow:QI,twoheadrightarrow:JI,Uacute:tR,uacute:eR,uarr:nR,Uarr:iR,uArr:rR,Uarrocir:oR,Ubrcy:sR,ubrcy:lR,Ubreve:aR,ubreve:cR,Ucirc:uR,ucirc:hR,Ucy:fR,ucy:dR,udarr:mR,Udblac:gR,udblac:yR,udhar:pR,ufisht:vR,Ufr:xR,ufr:bR,Ugrave:wR,ugrave:kR,uHar:AR,uharl:SR,uharr:CR,uhblk:NR,ulcorn:MR,ulcorner:$R,ulcrop:TR,ultri:ER,Umacr:LR,umacr:OR,uml:PR,UnderBar:jR,UnderBrace:DR,UnderBracket:qR,UnderParenthesis:VR,Union:BR,UnionPlus:IR,Uogon:RR,uogon:HR,Uopf:XR,uopf:YR,UpArrowBar:zR,uparrow:FR,UpArrow:UR,Uparrow:GR,UpArrowDownArrow:WR,updownarrow:KR,UpDownArrow:ZR,Updownarrow:_R,UpEquilibrium:QR,upharpoonleft:JR,upharpoonright:tH,uplus:eH,UpperLeftArrow:nH,UpperRightArrow:iH,upsi:rH,Upsi:oH,upsih:sH,Upsilon:lH,upsilon:aH,UpTeeArrow:cH,UpTee:uH,upuparrows:hH,urcorn:fH,urcorner:dH,urcrop:mH,Uring:gH,uring:yH,urtri:pH,Uscr:vH,uscr:xH,utdot:bH,Utilde:wH,utilde:kH,utri:AH,utrif:SH,uuarr:CH,Uuml:NH,uuml:MH,uwangle:$H,vangrt:TH,varepsilon:EH,varkappa:LH,varnothing:OH,varphi:PH,varpi:jH,varpropto:DH,varr:qH,vArr:VH,varrho:BH,varsigma:IH,varsubsetneq:RH,varsubsetneqq:HH,varsupsetneq:XH,varsupsetneqq:YH,vartheta:zH,vartriangleleft:FH,vartriangleright:UH,vBar:GH,Vbar:WH,vBarv:KH,Vcy:ZH,vcy:_H,vdash:QH,vDash:JH,Vdash:tX,VDash:eX,Vdashl:nX,veebar:iX,vee:rX,Vee:oX,veeeq:sX,vellip:lX,verbar:aX,Verbar:cX,vert:uX,Vert:hX,VerticalBar:fX,VerticalLine:dX,VerticalSeparator:mX,VerticalTilde:gX,VeryThinSpace:yX,Vfr:pX,vfr:vX,vltri:xX,vnsub:bX,vnsup:wX,Vopf:kX,vopf:AX,vprop:SX,vrtri:CX,Vscr:NX,vscr:MX,vsubnE:$X,vsubne:TX,vsupnE:EX,vsupne:LX,Vvdash:OX,vzigzag:PX,Wcirc:jX,wcirc:DX,wedbar:qX,wedge:VX,Wedge:BX,wedgeq:IX,weierp:RX,Wfr:HX,wfr:XX,Wopf:YX,wopf:zX,wp:FX,wr:UX,wreath:GX,Wscr:WX,wscr:KX,xcap:ZX,xcirc:_X,xcup:QX,xdtri:JX,Xfr:tY,xfr:eY,xharr:nY,xhArr:iY,Xi:rY,xi:oY,xlarr:sY,xlArr:lY,xmap:aY,xnis:cY,xodot:uY,Xopf:hY,xopf:fY,xoplus:dY,xotime:mY,xrarr:gY,xrArr:yY,Xscr:pY,xscr:vY,xsqcup:xY,xuplus:bY,xutri:wY,xvee:kY,xwedge:AY,Yacute:SY,yacute:CY,YAcy:NY,yacy:MY,Ycirc:$Y,ycirc:TY,Ycy:EY,ycy:LY,yen:OY,Yfr:PY,yfr:jY,YIcy:DY,yicy:qY,Yopf:VY,yopf:BY,Yscr:IY,yscr:RY,YUcy:HY,yucy:XY,yuml:YY,Yuml:zY,Zacute:FY,zacute:UY,Zcaron:GY,zcaron:WY,Zcy:KY,zcy:ZY,Zdot:_Y,zdot:QY,zeetrf:JY,ZeroWidthSpace:tz,Zeta:ez,zeta:nz,zfr:iz,Zfr:rz,ZHcy:oz,zhcy:sz,zigrarr:lz,zopf:az,Zopf:cz,Zscr:uz,zscr:hz,zwj:fz,zwnj:dz};var mo;function mz(){return mo||(mo=1,(function(t){var e=b1&&b1.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(Ys);function i(c){return(c&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(c,a){return c.codePointAt(a)}:(function(c,a){return i(c.charCodeAt(a))?(c.charCodeAt(a)-55296)*1024+c.charCodeAt(a+1)-56320+65536:c.charCodeAt(a)});var r=l(n.default);function o(c,a){for(var s,u="",d=0,f;(f=c.exec(a))!==null;){var h=f.index,m=a.charCodeAt(h),y=r.get(m);if(y){if(y.next!=null&&h+1<a.length){var v=(s=y.next.get(a.charCodeAt(h+1)))===null||s===void 0?void 0:s.value;if(v!=null){u+=a.substring(d,h)+v,c.lastIndex+=1,d=h+2;continue}}u+=a.substring(d,h)+y.value,d=h+1}else u+=a.substring(d,h)+"&#x"+t.getCodePoint(a,h).toString(16)+";",d=c.lastIndex+=Number(i(m))}return u+a.substr(d)}t.encodeHTMLTrieRe=o;function l(c){for(var a,s,u,d,f=new Map,h=0,m=Object.keys(c);h<m.length;h++){for(var y=m[h],v=c[y],x=f,T=0;T<v.length-1;T++){var A=v.charCodeAt(T),M=(a=x.get(A))!==null&&a!==void 0?a:{};x.set(A,M),x=(s=M.next)!==null&&s!==void 0?s:M.next=new Map}var j=(u=x.get(v.charCodeAt(v.length-1)))!==null&&u!==void 0?u:{};(d=j.value)!==null&&d!==void 0||(j.value="&"+y+";"),x.set(v.charCodeAt(v.length-1),j)}return f}t.getTrie=l})(b1)),b1}var go;function yo(){if(go)return Qt;go=1;var t=Qt&&Qt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.escapeUTF8=Qt.escape=Qt.encodeNonAsciiHTML=Qt.encodeHTML=Qt.encodeXML=void 0;var e=t(K9),n=mz(),i=t(Ys),r=d(i.default,!0),o=d(e.default,!0),l=d(e.default,!1),c=new Map(Object.keys(e.default).map(function(h){return[e.default[h].charCodeAt(0),"&"+h+";"]}));function a(h){for(var m="",y=0,v;(v=o.exec(h))!==null;){var x=v.index,T=h.charCodeAt(x),A=c.get(T);A?(m+=h.substring(y,x)+A,y=x+1):(m+=h.substring(y,x)+"&#x"+n.getCodePoint(h,x).toString(16)+";",y=o.lastIndex+=+((T&65408)===55296))}return m+h.substr(y)}Qt.encodeXML=a;function s(h){return n.encodeHTMLTrieRe(r,h)}Qt.encodeHTML=s;function u(h){return n.encodeHTMLTrieRe(o,h)}Qt.encodeNonAsciiHTML=u;function d(h,m){for(var y=Object.keys(h).map(function(A){return"\\"+h[A].charAt(0)}).filter(function(A){return!m||A.charCodeAt(1)<128}).sort(function(A,M){return A.charCodeAt(1)-M.charCodeAt(1)}).filter(function(A,M,j){return A!==j[M+1]}),v=0;v<y.length-1;v++){for(var x=v;x<y.length-1&&y[x].charCodeAt(1)+1===y[x+1].charCodeAt(1);)x+=1;var T=1+x-v;T<3||y.splice(v,T,y[v]+"-"+y[x])}return new RegExp("["+y.join("")+(m?"\\x80-\\uFFFF":"")+"]","g")}Qt.escape=a;function f(h){for(var m,y=0,v="";m=l.exec(h);)y!==m.index&&(v+=h.substring(y,m.index)),v+=c.get(m[0].charCodeAt(0)),y=m.index+1;return v+h.substring(y)}return Qt.escapeUTF8=f,Qt}var po;function gz(){return po||(po=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.DecodingMode=t.EntityLevel=void 0;var e=fo(),n=yo(),i;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var r;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict"})(r=t.DecodingMode||(t.DecodingMode={}));var o;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive"})(o=t.EncodingMode||(t.EncodingMode={}));function l(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=l;function c(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=c;function a(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.mode===o.UTF8?n.escapeUTF8(d):h.level===i.HTML?h.mode===o.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=a;var s=yo();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var u=fo();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})})(Jn)),Jn}var zs=gz(),yz=92,Fs="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Us="[A-Za-z][A-Za-z0-9-]*",pz="[a-zA-Z_:][a-zA-Z0-9:._-]*",vz="[^\"'=<>`\\x00-\\x20]+",xz="'[^']*'",bz='"[^"]*"',wz="(?:"+vz+"|"+xz+"|"+bz+")",kz="(?:\\s*=\\s*"+wz+")",Az="(?:\\s+"+pz+kz+"?)",Gs="<"+Us+Az+"*\\s*/?>",Ws="</"+Us+"\\s*[>]",Sz="<!-->|<!--->|<!--[\\s\\S]*?-->",Cz="[<][?][\\s\\S]*?[?][>]",Nz="<![A-Za-z]+[^>]*>",Mz="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",$z="(?:"+Gs+"|"+Ws+"|"+Sz+"|"+Cz+"|"+Nz+"|"+Mz+")",Tz=new RegExp("^"+$z),Ez=/[\\&]/,Ks="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",Lz=new RegExp("\\\\"+Ks+"|"+Fs,"gi"),Oz='[&<>"]',vo=new RegExp(Oz,"g"),Pz=function(t){return t.charCodeAt(0)===yz?t.charAt(1):zs.decodeHTMLStrict(t)},Zs=function(t){return Ez.test(t)?t.replace(Lz,Pz):t},jz=function(t){try{return R9(t)}catch{return t}},Dz=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return t}},In=function(t){return vo.test(t)?t.replace(vo,Dz):t},Ci;function Hi(t){return Ci(t)}if(String.fromCodePoint)Ci=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var qz=String.fromCharCode,Vz=Math.floor;Ci=function(){var t=16384,e=[],n,i,r=-1,o=arguments.length;if(!o)return"";for(var l="";++r<o;){var c=Number(arguments[r]);if(!isFinite(c)||c<0||c>1114111||Vz(c)!==c)return"\uFFFD";c<=65535?e.push(c):(c-=65536,n=(c>>10)+55296,i=c%1024+56320,e.push(n,i)),(r+1===o||e.length>t)&&(l+=qz.apply(null,e),e.length=0)}return l}}var Mn=jz,Ni=Zs,_s=10,Mi=42,$n=95,Bz=96,Qs=91,Iz=93,Js=60,Rz=33,tl=92,Hz=38,el=40,$i=41,Xz=58,We=39,Ke=34,nl=Ks,ti="\\\\"+nl,Yz=Fs,zz=Tz,xo=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),Fz=new RegExp('^(?:"('+ti+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+ti+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+ti+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),Uz=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,il=new RegExp("^"+nl),Gz=new RegExp("^"+Yz,"i"),Wz=/`+/,Kz=/^`+/,Zz=/\.\.\./g,_z=/--+/g,Qz=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,Jz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,tF=/^ *(?:\n *)?/,rl=/^[ \t\n\x0b\x0c\x0d]/,bo=/^\s/,eF=/ *$/,nF=/^ */,wo=/^ *(?:\n|$)/,iF=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,rF=/^[^\n`\[\]\\!<&*_'"]+/m,Zt=function(t){var e=new qt("text");return e._literal=t,e},ol=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},oF=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},sF=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},lF=function(){return this.match(tF),!0},aF=function(t){var e=this.match(Kz);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(Wz))!==null;)if(i===e)return r=new qt("code"),o=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),o.length>0&&o.match(/[^ ]/)!==null&&o[0]==" "&&o[o.length-1]==" "?r._literal=o.slice(1,o.length-1):r._literal=o,t.appendChild(r),!0;return this.pos=n,t.appendChild(Zt(e)),!0},cF=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===_s?(this.pos+=1,n=new qt("linebreak"),t.appendChild(n)):il.test(e.charAt(this.pos))?(t.appendChild(Zt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Zt("\\")),!0},uF=function(t){var e,n,i;return(e=this.match(Qz))?(n=e.slice(1,e.length-1),i=new qt("link"),i._destination=Mn("mailto:"+n),i._title="",i.appendChild(Zt(n)),t.appendChild(i),!0):(e=this.match(Jz))?(n=e.slice(1,e.length-1),i=new qt("link"),i._destination=Mn(n),i._title="",i.appendChild(Zt(n)),t.appendChild(i),!0):!1},hF=function(t){var e=this.match(zz);if(e===null)return!1;var n=new qt("html_inline");return n._literal=e,t.appendChild(n),!0},fF=function(t){var e=0,n,i,r,o=this.pos,l,c,a,s,u,d,f,h;if(t===We||t===Ke)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
4
4
  `:this.subject.charAt(o-1),r=this.peek(),r===-1?i=`
5
- `:i=Ii(r),u=yo.test(i),d=go.test(i),f=yo.test(n),h=go.test(n),l=!u&&(!d||f||h),c=!f&&(!h||u||d),t===Cn?(a=l&&(!c||h),s=c&&(!l||d)):t===Ue||t===Ge?(a=l&&!c,s=c):(a=l,s=c),this.pos=o,{numdelims:e,can_open:a,can_close:s})},oF=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var i=n.numdelims,r=this.pos,o;this.pos+=i,t===Ue?o="\u2019":t===Ge?o="\u201C":o=this.subject.slice(r,this.pos);var l=Qt(o);return e.appendChild(l),(n.can_open||n.can_close)&&(this.options.smart||t!==Ue&&t!==Ge)&&(this.delimiters={cc:t,numdelims:i,origdelims:i,node:l,previous:this.delimiters,next:null,can_open:n.can_open,can_close:n.can_close},this.delimiters.previous!==null&&(this.delimiters.previous.next=this.delimiters)),!0},sF=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},lF=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},aF=function(t){for(var e,n,i,r,o,l,c,a,s,u,d=[],f,h=!1,m=0;m<14;m++)d[m]=t;for(n=this.delimiters;n!==null&&n.previous!==t;)n=n.previous;for(;n!==null;){var y=n.cc;if(!n.can_close)n=n.next;else{switch(e=n.previous,u=!1,y){case Ue:f=0;break;case Ge:f=1;break;case Cn:f=2+(n.can_open?3:0)+n.origdelims%3;break;case Ci:f=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==d[f];){if(h=(n.can_open||e.can_close)&&n.origdelims%3!==0&&(e.origdelims+n.origdelims)%3===0,e.cc===n.cc&&e.can_open&&!h){u=!0;break}e=e.previous}if(i=n,y===Ci||y===Cn)if(!u)n=n.next;else{c=n.numdelims>=2&&e.numdelims>=2?2:1,r=e.node,o=n.node,e.numdelims-=c,n.numdelims-=c,r._literal=r._literal.slice(0,r._literal.length-c),o._literal=o._literal.slice(0,o._literal.length-c);var w=new qt(c===1?"emph":"strong");for(a=r._next;a&&a!==o;)s=a._next,a.unlink(),w.appendChild(a),a=s;r.insertAfter(w),lF(e,n),e.numdelims===0&&(r.unlink(),this.removeDelimiter(e)),n.numdelims===0&&(o.unlink(),l=n.next,this.removeDelimiter(n),n=l)}else y===Ue?(n.node._literal="\u2019",u&&(e.node._literal="\u2018"),n=n.next):y===Ge&&(n.node._literal="\u201D",u&&(e.node.literal="\u201C"),n=n.next);u||(d[f]=i.previous,i.can_open||this.removeDelimiter(i))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},cF=function(){var t=this.match(Bz);return t===null?null:Si(t.slice(1,-1))},uF=function(){var t=this.match(Vz);if(t===null){if(this.peek()===Gs)return null;for(var e=this.pos,n=0,i;(i=this.peek())!==-1;)if(i===Ws&&Qs.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(i===Ks)this.pos+=1,n+=1;else if(i===Ni){if(n<1)break;this.pos+=1,n-=1}else{if(Js.exec(Ii(i))!==null)break;this.pos+=1}return this.pos===e&&i!==Ni||n!==0?null:(t=this.subject.slice(e,this.pos),Sn(Si(t)))}else return Sn(Si(t.slice(1,-1)))},hF=function(){var t=this.match(Kz);return t===null||t.length>1001?0:t.length},fF=function(t){var e=this.pos;this.pos+=1;var n=Qt("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},dF=function(t){var e=this.pos;if(this.pos+=1,this.peek()===Us){this.pos+=1;var n=Qt("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(Qt("!"));return!0},mF=function(t){var e,n,i,r,o=!1,l,c;if(this.pos+=1,e=this.pos,c=this.brackets,c===null)return t.appendChild(Qt("]")),!0;if(!c.active)return t.appendChild(Qt("]")),this.removeBracket(),!0;n=c.image;var a=this.pos;if(this.peek()===Ks&&(this.pos++,this.spnl()&&(i=this.parseLinkDestination())!==null&&this.spnl()&&(Js.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===Ni?(this.pos+=1,o=!0):this.pos=a),!o){var s=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(s,s+u):c.bracketAfter||(l=this.subject.slice(c.index,e)),u===0&&(this.pos=a),l){var d=this.refmap[_s(l)];d&&(i=d.destination,r=d.title,o=!0)}}if(o){var f=new qt(n?"image":"link");f._destination=i,f._title=r||"";var h,m;for(h=c.node._next;h;)m=h._next,h.unlink(),f.appendChild(h),h=m;if(t.appendChild(f),this.processEmphasis(c.previousDelimiter),this.removeBracket(),c.node.unlink(),!n)for(c=this.brackets;c!==null;)c.image||(c.active=!1),c=c.previous;return!0}else return this.removeBracket(),this.pos=e,t.appendChild(Qt("]")),!0},gF=function(t,e,n){this.brackets!==null&&(this.brackets.bracketAfter=!0),this.brackets={node:t,previous:this.brackets,previousDelimiter:this.delimiters,index:e,image:n,active:!0}},yF=function(){this.brackets=this.brackets.previous},vF=function(t){var e;return(e=this.match(Iz))?(t.appendChild(Qt(Vs.decodeHTMLStrict(e))),!0):!1},pF=function(t){var e;return(e=this.match(Zz))?(this.options.smart?t.appendChild(Qt(e.replace(Xz,"\u2026").replace(Yz,function(n){var i=0,r=0;return n.length%3===0?r=n.length/3:n.length%2===0?i=n.length/2:n.length%3===2?(i=1,r=(n.length-2)/3):(i=2,r=(n.length-4)/3),"\u2014".repeat(r)+"\u2013".repeat(i)}))):t.appendChild(Qt(e)),!0):!1},xF=function(t){this.pos+=1;var e=t._lastChild;if(e&&e.type==="text"&&e._literal[e._literal.length-1]===" "){var n=e._literal[e._literal.length-2]===" ";e._literal=e._literal.replace(Gz,""),t.appendChild(new qt(n?"linebreak":"softbreak"))}else t.appendChild(new qt("softbreak"));return this.match(Wz),!0},bF=function(t,e){this.subject=t,this.pos=0;var n,i,r,o,l=this.pos;if(o=this.parseLinkLabel(),o===0)return 0;if(n=this.subject.slice(0,o),this.peek()===Pz)this.pos++;else return this.pos=l,0;if(this.spnl(),i=this.parseLinkDestination(),i===null)return this.pos=l,0;var c=this.pos;this.spnl(),this.pos!==c&&(r=this.parseLinkTitle()),r===null&&(this.pos=c);var a=!0;if(this.match(vo)===null&&(r===null?a=!1:(r=null,this.pos=c,a=this.match(vo)!==null)),!a)return this.pos=l,0;var s=_s(n);return s===""?(this.pos=l,0):(e[s]||(e[s]={destination:i,title:r===null?"":r}),this.pos-l)},wF=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case Fs:e=this.parseNewline(t);break;case Ws:e=this.parseBackslash(t);break;case Ez:e=this.parseBackticks(t);break;case Ci:case Cn:e=this.handleDelim(n,t);break;case Ue:case Ge:e=this.options.smart&&this.handleDelim(n,t);break;case Us:e=this.parseOpenBracket(t);break;case Oz:e=this.parseBang(t);break;case Lz:e=this.parseCloseBracket(t);break;case Gs:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case jz:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(Qt(Ii(n)))),!0},kF=function(t){for(this.subject=t._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(t););t._string_content=null,this.processEmphasis(null)};function AF(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:Qz,peek:Jz,spnl:_z,parseBackticks:tF,parseBackslash:eF,parseAutolink:nF,parseHtmlTag:iF,scanDelims:rF,handleDelim:oF,parseLinkTitle:cF,parseLinkDestination:uF,parseLinkLabel:hF,parseOpenBracket:fF,parseBang:dF,parseCloseBracket:mF,addBracket:gF,removeBracket:yF,parseEntity:vF,parseString:pF,parseNewline:xF,parseReference:bF,parseInline:wF,processEmphasis:aF,removeDelimiter:sF,options:t||{},parse:kF}}var Nn=4,tl=9,SF=10,el=62,CF=60,nl=32,il=91,NF=[/./,/^<(?:script|pre|textarea|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Za-z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|search|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+Hs+"|"+Xs+")\\s*$","i")],MF=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],TF=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,$F=/^[#`~*+_=<>0-9-]/,rl=/[^ \t\f\v\r\n]/,EF=/^[*+-]/,LF=/^(\d{1,9})([.)])/,OF=/^#{1,6}(?:[ \t]+|$)/,jF=/^`{3,}(?!.*`)|^~{3,}/,PF=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,DF=/^(?:=+|-+)[ \t]*$/,qF=/\r\n|\n|\r/,BF=function(t){return!rl.test(t)},L1=function(t){return t===nl||t===tl},re=function(t,e){return e<t.length?t.charCodeAt(e):-1},po=function(t){return t.next&&t.sourcepos[1][0]!==t.next.sourcepos[0][0]-1},VF=function(){if(this.partiallyConsumedTab){this.offset+=1;var t=4-this.column%4;this.tip._string_content+=" ".repeat(t)}this.tip._string_content+=this.currentLine.slice(this.offset)+`
6
- `},IF=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,i=new qt(t,[[this.lineNumber,n],[0,0]]);return i._string_content="",this.tip.appendChild(i),this.tip=i,i},RF=function(t,e){var n=t.currentLine.slice(t.nextNonspace),i,r,o,l,c={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:t.indent};if(t.indent>=4)return null;if(i=n.match(EF))c.type="bullet",c.bulletChar=i[0][0];else if((i=n.match(LF))&&(e.type!=="paragraph"||i[1]==1))c.type="ordered",c.start=parseInt(i[1]),c.delimiter=i[2];else return null;if(r=re(t.currentLine,t.nextNonspace+i[0].length),!(r===-1||r===tl||r===nl)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+i[0].length).match(rl))return null;t.advanceNextNonspace(),t.advanceOffset(i[0].length,!0),o=t.column,l=t.offset;do t.advanceOffset(1,!0),r=re(t.currentLine,t.offset);while(t.column-o<5&&L1(r));var a=re(t.currentLine,t.offset)===-1,s=t.column-o;return s>=5||s<1||a?(c.padding=i[0].length+1,t.column=o,t.offset=l,L1(re(t.currentLine,t.offset))&&t.advanceOffset(1,!0)):c.padding=i[0].length+s,c},HF=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},XF=function(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var t=this.oldtip._parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=t}this.allClosed=!0}},YF=function(t,e){for(var n,i,r=e.walker(),o=[];n=r.next();)if(i=n.node,n.entering&&i.type==="paragraph"){for(var l,c=!1;re(i._string_content,0)===il&&(l=t.inlineParser.parseReference(i._string_content,t.refmap));){const a=i._string_content.slice(0,l);i._string_content=i._string_content.slice(l),c=!0;const s=a.split(`
7
- `);i.sourcepos[0][0]+=s.length-1}c&&BF(i._string_content)&&o.push(i)}for(i of o)i.unlink()},ol={document:{continue:function(){return 0},finalize:function(t,e){YF(t,e)},canContain:function(t){return t!=="item"},acceptsLines:!1},list:{continue:function(){return 0},finalize:function(t,e){for(var n=e._firstChild;n;){if(n._next&&po(n)){e._listData.tight=!1;break}for(var i=n._firstChild;i;){if(i._next&&po(i)){e._listData.tight=!1;break}i=i._next}n=n._next}e.sourcepos[1]=e._lastChild.sourcepos[1]},canContain:function(t){return t==="item"},acceptsLines:!1},block_quote:{continue:function(t){var e=t.currentLine;if(!t.indented&&re(e,t.nextNonspace)===el)t.advanceNextNonspace(),t.advanceOffset(1,!1),L1(re(e,t.offset))&&t.advanceOffset(1,!0);else return 1;return 0},finalize:function(){},canContain:function(t){return t!=="item"},acceptsLines:!1},item:{continue:function(t,e){if(t.blank){if(e._firstChild==null)return 1;t.advanceNextNonspace()}else if(t.indent>=e._listData.markerOffset+e._listData.padding)t.advanceOffset(e._listData.markerOffset+e._listData.padding,!0);else return 1;return 0},finalize:function(t,e){e._lastChild?e.sourcepos[1]=e._lastChild.sourcepos[1]:(e.sourcepos[1][0]=e.sourcepos[0][0],e.sourcepos[1][1]=e._listData.markerOffset+e._listData.padding)},canContain:function(t){return t!=="item"},acceptsLines:!1},heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematic_break:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},code_block:{continue:function(t,e){var n=t.currentLine,i=t.indent;if(e._isFenced){var r=i<=3&&n.charAt(t.nextNonspace)===e._fenceChar&&n.slice(t.nextNonspace).match(PF);if(r&&r[0].length>=e._fenceLength)return t.lastLineLength=t.offset+i+r[0].length,t.finalize(e,t.lineNumber),2;for(var o=e._fenceOffset;o>0&&L1(re(n,t.offset));)t.advanceOffset(1,!0),o--}else if(i>=Nn)t.advanceOffset(Nn,!0);else if(t.blank)t.advanceNextNonspace();else return 1;return 0},finalize:function(t,e){if(e._isFenced){var n=e._string_content,i=n.indexOf(`
8
- `),r=n.slice(0,i),o=n.slice(i+1);e.info=zs(r.trim()),e._literal=o}else{for(var l=e._string_content.split(`
5
+ `:i=Hi(r),u=bo.test(i),d=xo.test(i),f=bo.test(n),h=xo.test(n),l=!u&&(!d||f||h),c=!f&&(!h||u||d),t===$n?(a=l&&(!c||h),s=c&&(!l||d)):t===We||t===Ke?(a=l&&!c,s=c):(a=l,s=c),this.pos=o,{numdelims:e,can_open:a,can_close:s})},dF=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var i=n.numdelims,r=this.pos,o;this.pos+=i,t===We?o="\u2019":t===Ke?o="\u201C":o=this.subject.slice(r,this.pos);var l=Zt(o);return e.appendChild(l),(n.can_open||n.can_close)&&(this.options.smart||t!==We&&t!==Ke)&&(this.delimiters={cc:t,numdelims:i,origdelims:i,node:l,previous:this.delimiters,next:null,can_open:n.can_open,can_close:n.can_close},this.delimiters.previous!==null&&(this.delimiters.previous.next=this.delimiters)),!0},mF=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},gF=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},yF=function(t){for(var e,n,i,r,o,l,c,a,s,u,d=[],f,h=!1,m=0;m<14;m++)d[m]=t;for(n=this.delimiters;n!==null&&n.previous!==t;)n=n.previous;for(;n!==null;){var y=n.cc;if(!n.can_close)n=n.next;else{switch(e=n.previous,u=!1,y){case We:f=0;break;case Ke:f=1;break;case $n:f=2+(n.can_open?3:0)+n.origdelims%3;break;case Mi:f=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==d[f];){if(h=(n.can_open||e.can_close)&&n.origdelims%3!==0&&(e.origdelims+n.origdelims)%3===0,e.cc===n.cc&&e.can_open&&!h){u=!0;break}e=e.previous}if(i=n,y===Mi||y===$n)if(!u)n=n.next;else{c=n.numdelims>=2&&e.numdelims>=2?2:1,r=e.node,o=n.node,e.numdelims-=c,n.numdelims-=c,r._literal=r._literal.slice(0,r._literal.length-c),o._literal=o._literal.slice(0,o._literal.length-c);var v=new qt(c===1?"emph":"strong");for(a=r._next;a&&a!==o;)s=a._next,a.unlink(),v.appendChild(a),a=s;r.insertAfter(v),gF(e,n),e.numdelims===0&&(r.unlink(),this.removeDelimiter(e)),n.numdelims===0&&(o.unlink(),l=n.next,this.removeDelimiter(n),n=l)}else y===We?(n.node._literal="\u2019",u&&(e.node._literal="\u2018"),n=n.next):y===Ke&&(n.node._literal="\u201D",u&&(e.node.literal="\u201C"),n=n.next);u||(d[f]=i.previous,i.can_open||this.removeDelimiter(i))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},pF=function(){var t=this.match(Fz);return t===null?null:Ni(t.slice(1,-1))},vF=function(){var t=this.match(Uz);if(t===null){if(this.peek()===Js)return null;for(var e=this.pos,n=0,i;(i=this.peek())!==-1;)if(i===tl&&il.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(i===el)this.pos+=1,n+=1;else if(i===$i){if(n<1)break;this.pos+=1,n-=1}else{if(rl.exec(Hi(i))!==null)break;this.pos+=1}return this.pos===e&&i!==$i||n!==0?null:(t=this.subject.slice(e,this.pos),Mn(Ni(t)))}else return Mn(Ni(t.slice(1,-1)))},xF=function(){var t=this.match(iF);return t===null||t.length>1001?0:t.length},bF=function(t){var e=this.pos;this.pos+=1;var n=Zt("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},wF=function(t){var e=this.pos;if(this.pos+=1,this.peek()===Qs){this.pos+=1;var n=Zt("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(Zt("!"));return!0},kF=function(t){var e,n,i,r,o=!1,l,c;if(this.pos+=1,e=this.pos,c=this.brackets,c===null)return t.appendChild(Zt("]")),!0;if(!c.active)return t.appendChild(Zt("]")),this.removeBracket(),!0;n=c.image;var a=this.pos;if(this.peek()===el&&(this.pos++,this.spnl()&&(i=this.parseLinkDestination())!==null&&this.spnl()&&(rl.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===$i?(this.pos+=1,o=!0):this.pos=a),!o){var s=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(s,s+u):c.bracketAfter||(l=this.subject.slice(c.index,e)),u===0&&(this.pos=a),l){var d=this.refmap[ol(l)];d&&(i=d.destination,r=d.title,o=!0)}}if(o){var f=new qt(n?"image":"link");f._destination=i,f._title=r||"";var h,m;for(h=c.node._next;h;)m=h._next,h.unlink(),f.appendChild(h),h=m;if(t.appendChild(f),this.processEmphasis(c.previousDelimiter),this.removeBracket(),c.node.unlink(),!n)for(c=this.brackets;c!==null;)c.image||(c.active=!1),c=c.previous;return!0}else return this.removeBracket(),this.pos=e,t.appendChild(Zt("]")),!0},AF=function(t,e,n){this.brackets!==null&&(this.brackets.bracketAfter=!0),this.brackets={node:t,previous:this.brackets,previousDelimiter:this.delimiters,index:e,image:n,active:!0}},SF=function(){this.brackets=this.brackets.previous},CF=function(t){var e;return(e=this.match(Gz))?(t.appendChild(Zt(zs.decodeHTMLStrict(e))),!0):!1},NF=function(t){var e;return(e=this.match(rF))?(this.options.smart?t.appendChild(Zt(e.replace(Zz,"\u2026").replace(_z,function(n){var i=0,r=0;return n.length%3===0?r=n.length/3:n.length%2===0?i=n.length/2:n.length%3===2?(i=1,r=(n.length-2)/3):(i=2,r=(n.length-4)/3),"\u2014".repeat(r)+"\u2013".repeat(i)}))):t.appendChild(Zt(e)),!0):!1},MF=function(t){this.pos+=1;var e=t._lastChild;if(e&&e.type==="text"&&e._literal[e._literal.length-1]===" "){var n=e._literal[e._literal.length-2]===" ";e._literal=e._literal.replace(eF,""),t.appendChild(new qt(n?"linebreak":"softbreak"))}else t.appendChild(new qt("softbreak"));return this.match(nF),!0},$F=function(t,e){this.subject=t,this.pos=0;var n,i,r,o,l=this.pos;if(o=this.parseLinkLabel(),o===0)return 0;if(n=this.subject.slice(0,o),this.peek()===Xz)this.pos++;else return this.pos=l,0;if(this.spnl(),i=this.parseLinkDestination(),i===null)return this.pos=l,0;var c=this.pos;this.spnl(),this.pos!==c&&(r=this.parseLinkTitle()),r===null&&(this.pos=c);var a=!0;if(this.match(wo)===null&&(r===null?a=!1:(r=null,this.pos=c,a=this.match(wo)!==null)),!a)return this.pos=l,0;var s=ol(n);return s===""?(this.pos=l,0):(e[s]||(e[s]={destination:i,title:r===null?"":r}),this.pos-l)},TF=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case _s:e=this.parseNewline(t);break;case tl:e=this.parseBackslash(t);break;case Bz:e=this.parseBackticks(t);break;case Mi:case $n:e=this.handleDelim(n,t);break;case We:case Ke:e=this.options.smart&&this.handleDelim(n,t);break;case Qs:e=this.parseOpenBracket(t);break;case Rz:e=this.parseBang(t);break;case Iz:e=this.parseCloseBracket(t);break;case Js:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case Hz:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(Zt(Hi(n)))),!0},EF=function(t){for(this.subject=t._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(t););t._string_content=null,this.processEmphasis(null)};function LF(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:oF,peek:sF,spnl:lF,parseBackticks:aF,parseBackslash:cF,parseAutolink:uF,parseHtmlTag:hF,scanDelims:fF,handleDelim:dF,parseLinkTitle:pF,parseLinkDestination:vF,parseLinkLabel:xF,parseOpenBracket:bF,parseBang:wF,parseCloseBracket:kF,addBracket:AF,removeBracket:SF,parseEntity:CF,parseString:NF,parseNewline:MF,parseReference:$F,parseInline:TF,processEmphasis:yF,removeDelimiter:mF,options:t||{},parse:EF}}var Tn=4,sl=9,OF=10,ll=62,PF=60,al=32,cl=91,jF=[/./,/^<(?:script|pre|textarea|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Za-z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|search|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+Gs+"|"+Ws+")\\s*$","i")],DF=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],qF=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,VF=/^[#`~*+_=<>0-9-]/,ul=/[^ \t\f\v\r\n]/,BF=/^[*+-]/,IF=/^(\d{1,9})([.)])/,RF=/^#{1,6}(?:[ \t]+|$)/,HF=/^`{3,}(?!.*`)|^~{3,}/,XF=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,YF=/^(?:=+|-+)[ \t]*$/,zF=/\r\n|\n|\r/,FF=function(t){return!ul.test(t)},P1=function(t){return t===al||t===sl},oe=function(t,e){return e<t.length?t.charCodeAt(e):-1},ko=function(t){return t.next&&t.sourcepos[1][0]!==t.next.sourcepos[0][0]-1},UF=function(){if(this.partiallyConsumedTab){this.offset+=1;var t=4-this.column%4;this.tip._string_content+=" ".repeat(t)}this.tip._string_content+=this.currentLine.slice(this.offset)+`
6
+ `},GF=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,i=new qt(t,[[this.lineNumber,n],[0,0]]);return i._string_content="",this.tip.appendChild(i),this.tip=i,i},WF=function(t,e){var n=t.currentLine.slice(t.nextNonspace),i,r,o,l,c={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:t.indent};if(t.indent>=4)return null;if(i=n.match(BF))c.type="bullet",c.bulletChar=i[0][0];else if((i=n.match(IF))&&(e.type!=="paragraph"||i[1]==1))c.type="ordered",c.start=parseInt(i[1]),c.delimiter=i[2];else return null;if(r=oe(t.currentLine,t.nextNonspace+i[0].length),!(r===-1||r===sl||r===al)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+i[0].length).match(ul))return null;t.advanceNextNonspace(),t.advanceOffset(i[0].length,!0),o=t.column,l=t.offset;do t.advanceOffset(1,!0),r=oe(t.currentLine,t.offset);while(t.column-o<5&&P1(r));var a=oe(t.currentLine,t.offset)===-1,s=t.column-o;return s>=5||s<1||a?(c.padding=i[0].length+1,t.column=o,t.offset=l,P1(oe(t.currentLine,t.offset))&&t.advanceOffset(1,!0)):c.padding=i[0].length+s,c},KF=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},ZF=function(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var t=this.oldtip._parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=t}this.allClosed=!0}},_F=function(t,e){for(var n,i,r=e.walker(),o=[];n=r.next();)if(i=n.node,n.entering&&i.type==="paragraph"){for(var l,c=!1;oe(i._string_content,0)===cl&&(l=t.inlineParser.parseReference(i._string_content,t.refmap));){const a=i._string_content.slice(0,l);i._string_content=i._string_content.slice(l),c=!0;const s=a.split(`
7
+ `);i.sourcepos[0][0]+=s.length-1}c&&FF(i._string_content)&&o.push(i)}for(i of o)i.unlink()},hl={document:{continue:function(){return 0},finalize:function(t,e){_F(t,e)},canContain:function(t){return t!=="item"},acceptsLines:!1},list:{continue:function(){return 0},finalize:function(t,e){for(var n=e._firstChild;n;){if(n._next&&ko(n)){e._listData.tight=!1;break}for(var i=n._firstChild;i;){if(i._next&&ko(i)){e._listData.tight=!1;break}i=i._next}n=n._next}e.sourcepos[1]=e._lastChild.sourcepos[1]},canContain:function(t){return t==="item"},acceptsLines:!1},block_quote:{continue:function(t){var e=t.currentLine;if(!t.indented&&oe(e,t.nextNonspace)===ll)t.advanceNextNonspace(),t.advanceOffset(1,!1),P1(oe(e,t.offset))&&t.advanceOffset(1,!0);else return 1;return 0},finalize:function(){},canContain:function(t){return t!=="item"},acceptsLines:!1},item:{continue:function(t,e){if(t.blank){if(e._firstChild==null)return 1;t.advanceNextNonspace()}else if(t.indent>=e._listData.markerOffset+e._listData.padding)t.advanceOffset(e._listData.markerOffset+e._listData.padding,!0);else return 1;return 0},finalize:function(t,e){e._lastChild?e.sourcepos[1]=e._lastChild.sourcepos[1]:(e.sourcepos[1][0]=e.sourcepos[0][0],e.sourcepos[1][1]=e._listData.markerOffset+e._listData.padding)},canContain:function(t){return t!=="item"},acceptsLines:!1},heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematic_break:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},code_block:{continue:function(t,e){var n=t.currentLine,i=t.indent;if(e._isFenced){var r=i<=3&&n.charAt(t.nextNonspace)===e._fenceChar&&n.slice(t.nextNonspace).match(XF);if(r&&r[0].length>=e._fenceLength)return t.lastLineLength=t.offset+i+r[0].length,t.finalize(e,t.lineNumber),2;for(var o=e._fenceOffset;o>0&&P1(oe(n,t.offset));)t.advanceOffset(1,!0),o--}else if(i>=Tn)t.advanceOffset(Tn,!0);else if(t.blank)t.advanceNextNonspace();else return 1;return 0},finalize:function(t,e){if(e._isFenced){var n=e._string_content,i=n.indexOf(`
8
+ `),r=n.slice(0,i),o=n.slice(i+1);e.info=Zs(r.trim()),e._literal=o}else{for(var l=e._string_content.split(`
9
9
  `);/^[ \t]*$/.test(l[l.length-1]);)l.pop();e._literal=l.join(`
10
10
  `)+`
11
- `,e.sourcepos[1][0]=e.sourcepos[0][0]+l.length-1,e.sourcepos[1][1]=e.sourcepos[0][1]+l[l.length-1].length-1}e._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(t,e){return t.blank&&(e._htmlBlockType===6||e._htmlBlockType===7)?1:0},finalize:function(t,e){e._literal=e._string_content.replace(/\n$/,""),e._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(t){return t.blank?1:0},finalize:function(){},canContain:function(){return!1},acceptsLines:!0}},zF=[function(t){return!t.indented&&re(t.currentLine,t.nextNonspace)===el?(t.advanceNextNonspace(),t.advanceOffset(1,!1),L1(re(t.currentLine,t.offset))&&t.advanceOffset(1,!0),t.closeUnmatchedBlocks(),t.addChild("block_quote",t.nextNonspace),1):0},function(t){var e;if(!t.indented&&(e=t.currentLine.slice(t.nextNonspace).match(OF))){t.advanceNextNonspace(),t.advanceOffset(e[0].length,!1),t.closeUnmatchedBlocks();var n=t.addChild("heading",t.nextNonspace);return n.level=e[0].trim().length,n._string_content=t.currentLine.slice(t.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),t.advanceOffset(t.currentLine.length-t.offset),2}else return 0},function(t){var e;if(!t.indented&&(e=t.currentLine.slice(t.nextNonspace).match(jF))){var n=e[0].length;t.closeUnmatchedBlocks();var i=t.addChild("code_block",t.nextNonspace);return i._isFenced=!0,i._fenceLength=n,i._fenceChar=e[0][0],i._fenceOffset=t.indent,t.advanceNextNonspace(),t.advanceOffset(n,!1),2}else return 0},function(t,e){if(!t.indented&&re(t.currentLine,t.nextNonspace)===CF){var n=t.currentLine.slice(t.nextNonspace),i;for(i=1;i<=7;i++)if(NF[i].test(n)&&(i<7||e.type!=="paragraph"&&!(!t.allClosed&&!t.blank&&t.tip.type==="paragraph"))){t.closeUnmatchedBlocks();var r=t.addChild("html_block",t.offset);return r._htmlBlockType=i,2}}return 0},function(t,e){var n;if(!t.indented&&e.type==="paragraph"&&(n=t.currentLine.slice(t.nextNonspace).match(DF))){t.closeUnmatchedBlocks();for(var i;re(e._string_content,0)===il&&(i=t.inlineParser.parseReference(e._string_content,t.refmap));)e._string_content=e._string_content.slice(i);if(e._string_content.length>0){var r=new qt("heading",e.sourcepos);return r.level=n[0][0]==="="?1:2,r._string_content=e._string_content,e.insertAfter(r),e.unlink(),t.tip=r,t.advanceOffset(t.currentLine.length-t.offset,!1),2}else return 0}else return 0},function(t){return!t.indented&&TF.test(t.currentLine.slice(t.nextNonspace))?(t.closeUnmatchedBlocks(),t.addChild("thematic_break",t.nextNonspace),t.advanceOffset(t.currentLine.length-t.offset,!1),2):0},function(t,e){var n;return(!t.indented||e.type==="list")&&(n=RF(t,e))?(t.closeUnmatchedBlocks(),(t.tip.type!=="list"||!HF(e._listData,n))&&(e=t.addChild("list",t.nextNonspace),e._listData=n),e=t.addChild("item",t.nextNonspace),e._listData=n,1):0},function(t){return t.indented&&t.tip.type!=="paragraph"&&!t.blank?(t.advanceOffset(Nn,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],FF=function(t,e){for(var n=this.currentLine,i,r,o;t>0&&(o=n[this.offset]);)o===" "?(i=4-this.column%4,e?(this.partiallyConsumedTab=i>t,r=i>t?t:i,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,t-=r):(this.partiallyConsumedTab=!1,this.column+=i,this.offset+=1,t-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,t-=1)},UF=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},GF=function(){for(var t=this.currentLine,e=this.offset,n=this.column,i;(i=t.charAt(e))!=="";)if(i===" ")e++,n++;else if(i===" ")e++,n+=4-n%4;else break;this.blank=i===`
12
- `||i==="\r"||i==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=Nn},WF=function(t){var e=!0,n,i=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,t.indexOf("\0")!==-1&&(t=t.replace(/\0/g,"\uFFFD")),this.currentLine=t;for(var r;(r=i._lastChild)&&r._open;){switch(i=r,this.findNextNonspace(),this.blocks[i.type].continue(this,i)){case 0:break;case 1:e=!1;break;case 2:return;default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!e){i=i._parent;break}}this.allClosed=i===this.oldtip,this.lastMatchedContainer=i;for(var o=i.type!=="paragraph"&&ol[i.type].acceptsLines,l=this.blockStarts,c=l.length;!o;){if(this.findNextNonspace(),!this.indented&&!$F.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var a=0;a<c;){var s=l[a](this,i);if(s===1){i=this.tip;break}else if(s===2){i=this.tip,o=!0;break}else a++}if(a===c){this.advanceNextNonspace();break}}!this.allClosed&&!this.blank&&this.tip.type==="paragraph"?this.addLine():(this.closeUnmatchedBlocks(),n=i.type,this.blocks[n].acceptsLines?(this.addLine(),n==="html_block"&&i._htmlBlockType>=1&&i._htmlBlockType<=5&&MF[i._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=t.length,this.finalize(i,this.lineNumber))):this.offset<t.length&&!this.blank&&(i=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())),this.lastLineLength=t.length},KF=function(t,e){var n=t._parent;t._open=!1,t.sourcepos[1]=[e,this.lastLineLength],this.blocks[t.type].finalize(this,t),this.tip=n},ZF=function(t){var e,n,i,r=t.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=r.next();)e=n.node,i=e.type,!n.entering&&(i==="paragraph"||i==="heading")&&this.inlineParser.parse(e)},sl=function(){var t=new qt("document",[[1,1],[0,0]]);return t},QF=function(t){this.doc=new sl,this.tip=this.doc,this.refmap={},this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="",this.options.time&&console.time("preparing input");var e=t.split(qF),n=e.length;t.charCodeAt(t.length-1)===SF&&(n-=1),this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var i=0;i<n;i++)this.incorporateLine(e[i]);for(;this.tip;)this.finalize(this.tip,n);return this.options.time&&console.timeEnd("block parsing"),this.options.time&&console.time("inline parsing"),this.processInlines(this.doc),this.options.time&&console.timeEnd("inline parsing"),this.doc};function ll(t){return{doc:new sl,blocks:ol,blockStarts:zF,tip:this.doc,oldtip:this.doc,currentLine:"",lineNumber:0,offset:0,column:0,nextNonspace:0,nextNonspaceColumn:0,indent:0,indented:!1,blank:!1,partiallyConsumedTab:!1,allClosed:!0,lastMatchedContainer:this.doc,refmap:{},lastLineLength:0,inlineParser:new AF(t),findNextNonspace:GF,advanceOffset:FF,advanceNextNonspace:UF,addLine:VF,addChild:IF,incorporateLine:WF,finalize:KF,processInlines:ZF,closeUnmatchedBlocks:XF,parse:QF,options:t||{}}}function Ke(){}function JF(t){var e=t.walker(),n,i;for(this.buffer="",this.lastOut=`
13
- `;n=e.next();)i=n.node.type,this[i]&&this[i](n.node,n.entering);return this.buffer}function _F(t){this.buffer+=t,this.lastOut=t}function tU(){this.lastOut!==`
11
+ `,e.sourcepos[1][0]=e.sourcepos[0][0]+l.length-1,e.sourcepos[1][1]=e.sourcepos[0][1]+l[l.length-1].length-1}e._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(t,e){return t.blank&&(e._htmlBlockType===6||e._htmlBlockType===7)?1:0},finalize:function(t,e){e._literal=e._string_content.replace(/\n$/,""),e._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(t){return t.blank?1:0},finalize:function(){},canContain:function(){return!1},acceptsLines:!0}},QF=[function(t){return!t.indented&&oe(t.currentLine,t.nextNonspace)===ll?(t.advanceNextNonspace(),t.advanceOffset(1,!1),P1(oe(t.currentLine,t.offset))&&t.advanceOffset(1,!0),t.closeUnmatchedBlocks(),t.addChild("block_quote",t.nextNonspace),1):0},function(t){var e;if(!t.indented&&(e=t.currentLine.slice(t.nextNonspace).match(RF))){t.advanceNextNonspace(),t.advanceOffset(e[0].length,!1),t.closeUnmatchedBlocks();var n=t.addChild("heading",t.nextNonspace);return n.level=e[0].trim().length,n._string_content=t.currentLine.slice(t.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),t.advanceOffset(t.currentLine.length-t.offset),2}else return 0},function(t){var e;if(!t.indented&&(e=t.currentLine.slice(t.nextNonspace).match(HF))){var n=e[0].length;t.closeUnmatchedBlocks();var i=t.addChild("code_block",t.nextNonspace);return i._isFenced=!0,i._fenceLength=n,i._fenceChar=e[0][0],i._fenceOffset=t.indent,t.advanceNextNonspace(),t.advanceOffset(n,!1),2}else return 0},function(t,e){if(!t.indented&&oe(t.currentLine,t.nextNonspace)===PF){var n=t.currentLine.slice(t.nextNonspace),i;for(i=1;i<=7;i++)if(jF[i].test(n)&&(i<7||e.type!=="paragraph"&&!(!t.allClosed&&!t.blank&&t.tip.type==="paragraph"))){t.closeUnmatchedBlocks();var r=t.addChild("html_block",t.offset);return r._htmlBlockType=i,2}}return 0},function(t,e){var n;if(!t.indented&&e.type==="paragraph"&&(n=t.currentLine.slice(t.nextNonspace).match(YF))){t.closeUnmatchedBlocks();for(var i;oe(e._string_content,0)===cl&&(i=t.inlineParser.parseReference(e._string_content,t.refmap));)e._string_content=e._string_content.slice(i);if(e._string_content.length>0){var r=new qt("heading",e.sourcepos);return r.level=n[0][0]==="="?1:2,r._string_content=e._string_content,e.insertAfter(r),e.unlink(),t.tip=r,t.advanceOffset(t.currentLine.length-t.offset,!1),2}else return 0}else return 0},function(t){return!t.indented&&qF.test(t.currentLine.slice(t.nextNonspace))?(t.closeUnmatchedBlocks(),t.addChild("thematic_break",t.nextNonspace),t.advanceOffset(t.currentLine.length-t.offset,!1),2):0},function(t,e){var n;return(!t.indented||e.type==="list")&&(n=WF(t,e))?(t.closeUnmatchedBlocks(),(t.tip.type!=="list"||!KF(e._listData,n))&&(e=t.addChild("list",t.nextNonspace),e._listData=n),e=t.addChild("item",t.nextNonspace),e._listData=n,1):0},function(t){return t.indented&&t.tip.type!=="paragraph"&&!t.blank?(t.advanceOffset(Tn,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],JF=function(t,e){for(var n=this.currentLine,i,r,o;t>0&&(o=n[this.offset]);)o===" "?(i=4-this.column%4,e?(this.partiallyConsumedTab=i>t,r=i>t?t:i,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,t-=r):(this.partiallyConsumedTab=!1,this.column+=i,this.offset+=1,t-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,t-=1)},tU=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},eU=function(){for(var t=this.currentLine,e=this.offset,n=this.column,i;(i=t.charAt(e))!=="";)if(i===" ")e++,n++;else if(i===" ")e++,n+=4-n%4;else break;this.blank=i===`
12
+ `||i==="\r"||i==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=Tn},nU=function(t){var e=!0,n,i=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,t.indexOf("\0")!==-1&&(t=t.replace(/\0/g,"\uFFFD")),this.currentLine=t;for(var r;(r=i._lastChild)&&r._open;){switch(i=r,this.findNextNonspace(),this.blocks[i.type].continue(this,i)){case 0:break;case 1:e=!1;break;case 2:return;default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!e){i=i._parent;break}}this.allClosed=i===this.oldtip,this.lastMatchedContainer=i;for(var o=i.type!=="paragraph"&&hl[i.type].acceptsLines,l=this.blockStarts,c=l.length;!o;){if(this.findNextNonspace(),!this.indented&&!VF.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var a=0;a<c;){var s=l[a](this,i);if(s===1){i=this.tip;break}else if(s===2){i=this.tip,o=!0;break}else a++}if(a===c){this.advanceNextNonspace();break}}!this.allClosed&&!this.blank&&this.tip.type==="paragraph"?this.addLine():(this.closeUnmatchedBlocks(),n=i.type,this.blocks[n].acceptsLines?(this.addLine(),n==="html_block"&&i._htmlBlockType>=1&&i._htmlBlockType<=5&&DF[i._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=t.length,this.finalize(i,this.lineNumber))):this.offset<t.length&&!this.blank&&(i=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())),this.lastLineLength=t.length},iU=function(t,e){var n=t._parent;t._open=!1,t.sourcepos[1]=[e,this.lastLineLength],this.blocks[t.type].finalize(this,t),this.tip=n},rU=function(t){var e,n,i,r=t.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=r.next();)e=n.node,i=e.type,!n.entering&&(i==="paragraph"||i==="heading")&&this.inlineParser.parse(e)},fl=function(){var t=new qt("document",[[1,1],[0,0]]);return t},oU=function(t){this.doc=new fl,this.tip=this.doc,this.refmap={},this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="",this.options.time&&console.time("preparing input");var e=t.split(zF),n=e.length;t.charCodeAt(t.length-1)===OF&&(n-=1),this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var i=0;i<n;i++)this.incorporateLine(e[i]);for(;this.tip;)this.finalize(this.tip,n);return this.options.time&&console.timeEnd("block parsing"),this.options.time&&console.time("inline parsing"),this.processInlines(this.doc),this.options.time&&console.timeEnd("inline parsing"),this.doc};function sU(t){return{doc:new fl,blocks:hl,blockStarts:QF,tip:this.doc,oldtip:this.doc,currentLine:"",lineNumber:0,offset:0,column:0,nextNonspace:0,nextNonspaceColumn:0,indent:0,indented:!1,blank:!1,partiallyConsumedTab:!1,allClosed:!0,lastMatchedContainer:this.doc,refmap:{},lastLineLength:0,inlineParser:new LF(t),findNextNonspace:eU,advanceOffset:JF,advanceNextNonspace:tU,addLine:UF,addChild:GF,incorporateLine:nU,finalize:iU,processInlines:rU,closeUnmatchedBlocks:ZF,parse:oU,options:t||{}}}function _e(){}function lU(t){var e=t.walker(),n,i;for(this.buffer="",this.lastOut=`
13
+ `;n=e.next();)i=n.node.type,this[i]&&this[i](n.node,n.entering);return this.buffer}function aU(t){this.buffer+=t,this.lastOut=t}function cU(){this.lastOut!==`
14
14
  `&&this.lit(`
15
- `)}function eU(t){this.lit(t)}function nU(t){return t}Ke.prototype.render=JF;Ke.prototype.out=eU;Ke.prototype.lit=_F;Ke.prototype.cr=tU;Ke.prototype.esc=nU;var iU=/^javascript:|vbscript:|file:|data:/i,rU=/^data:image\/(?:png|gif|jpeg|webp)/i,al=function(t){return iU.test(t)&&!rU.test(t)};function oU(t,e,n){if(!(this.disableTags>0)){if(this.buffer+="<"+t,e&&e.length>0)for(var i=0,r;(r=e[i])!==void 0;)this.buffer+=" "+r[0]+'="'+r[1]+'"',i++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}}function Mt(t){t=t||{},t.softbreak=t.softbreak||`
16
- `,this.esc=t.esc||qn,this.disableTags=0,this.lastOut=`
17
- `,this.options=t}function sU(t){this.out(t.literal)}function lU(){this.lit(this.options.softbreak)}function aU(){this.tag("br",[],!0),this.cr()}function cU(t,e){var n=this.attrs(t);e?(this.options.safe&&al(t.destination)||n.push(["href",this.esc(t.destination)]),t.title&&n.push(["title",this.esc(t.title)]),this.tag("a",n)):this.tag("/a")}function uU(t,e){e?(this.disableTags===0&&(this.options.safe&&al(t.destination)?this.lit('<img src="" alt="'):this.lit('<img src="'+this.esc(t.destination)+'" alt="')),this.disableTags+=1):(this.disableTags-=1,this.disableTags===0&&(t.title&&this.lit('" title="'+this.esc(t.title)),this.lit('" />')))}function hU(t,e){this.tag(e?"em":"/em")}function fU(t,e){this.tag(e?"strong":"/strong")}function dU(t,e){var n=t.parent.parent,i=this.attrs(t);n!==null&&n.type==="list"&&n.listTight||(e?(this.cr(),this.tag("p",i)):(this.tag("/p"),this.cr()))}function mU(t,e){var n="h"+t.level,i=this.attrs(t);e?(this.cr(),this.tag(n,i)):(this.tag("/"+n),this.cr())}function gU(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function yU(t){var e=t.info?t.info.split(/\s+/):[],n=this.attrs(t);if(e.length>0&&e[0].length>0){var i=this.esc(e[0]);/^language-/.exec(i)||(i="language-"+i),n.push(["class",i])}this.cr(),this.tag("pre"),this.tag("code",n),this.out(t.literal),this.tag("/code"),this.tag("/pre"),this.cr()}function vU(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function pU(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function xU(t,e){var n=t.listType==="bullet"?"ul":"ol",i=this.attrs(t);if(e){var r=t.listStart;r!==null&&r!==1&&i.push(["start",r.toString()]),this.cr(),this.tag(n,i),this.cr()}else this.cr(),this.tag("/"+n),this.cr()}function bU(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function wU(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function kU(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function AU(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function SU(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function CU(t){this.lit(this.esc(t))}function NU(t){var e=[];if(this.options.sourcepos){var n=t.sourcepos;n&&e.push(["data-sourcepos",String(n[0][0])+":"+String(n[0][1])+"-"+String(n[1][0])+":"+String(n[1][1])])}return e}Mt.prototype=Object.create(Ke.prototype);Mt.prototype.text=sU;Mt.prototype.html_inline=wU;Mt.prototype.html_block=kU;Mt.prototype.softbreak=lU;Mt.prototype.linebreak=aU;Mt.prototype.link=cU;Mt.prototype.image=uU;Mt.prototype.emph=hU;Mt.prototype.strong=fU;Mt.prototype.paragraph=dU;Mt.prototype.heading=mU;Mt.prototype.code=gU;Mt.prototype.code_block=yU;Mt.prototype.thematic_break=vU;Mt.prototype.block_quote=pU;Mt.prototype.list=xU;Mt.prototype.item=bU;Mt.prototype.custom_inline=AU;Mt.prototype.custom_block=SU;Mt.prototype.esc=qn;Mt.prototype.out=CU;Mt.prototype.tag=oU;Mt.prototype.attrs=NU;var MU=/\<[^>]*\>/;function TU(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function y1(t){t=t||{},this.disableTags=0,this.lastOut=`
18
- `,this.indentLevel=0,this.indent=" ",this.esc=t.esc||qn,this.options=t}function $U(t){this.buffer="";var e,n,i=t.walker(),r,o,l,c,a,s,u=this.options;for(u.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
15
+ `)}function uU(t){this.lit(t)}function hU(t){return t}_e.prototype.render=lU;_e.prototype.out=uU;_e.prototype.lit=aU;_e.prototype.cr=cU;_e.prototype.esc=hU;var fU=/^javascript:|vbscript:|file:|data:/i,dU=/^data:image\/(?:png|gif|jpeg|webp)/i,dl=function(t){return fU.test(t)&&!dU.test(t)};function mU(t,e,n){if(!(this.disableTags>0)){if(this.buffer+="<"+t,e&&e.length>0)for(var i=0,r;(r=e[i])!==void 0;)this.buffer+=" "+r[0]+'="'+r[1]+'"',i++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}}function Mt(t){t=t||{},t.softbreak=t.softbreak||`
16
+ `,this.esc=t.esc||In,this.disableTags=0,this.lastOut=`
17
+ `,this.options=t}function gU(t){this.out(t.literal)}function yU(){this.lit(this.options.softbreak)}function pU(){this.tag("br",[],!0),this.cr()}function vU(t,e){var n=this.attrs(t);e?(this.options.safe&&dl(t.destination)||n.push(["href",this.esc(t.destination)]),t.title&&n.push(["title",this.esc(t.title)]),this.tag("a",n)):this.tag("/a")}function xU(t,e){e?(this.disableTags===0&&(this.options.safe&&dl(t.destination)?this.lit('<img src="" alt="'):this.lit('<img src="'+this.esc(t.destination)+'" alt="')),this.disableTags+=1):(this.disableTags-=1,this.disableTags===0&&(t.title&&this.lit('" title="'+this.esc(t.title)),this.lit('" />')))}function bU(t,e){this.tag(e?"em":"/em")}function wU(t,e){this.tag(e?"strong":"/strong")}function kU(t,e){var n=t.parent.parent,i=this.attrs(t);n!==null&&n.type==="list"&&n.listTight||(e?(this.cr(),this.tag("p",i)):(this.tag("/p"),this.cr()))}function AU(t,e){var n="h"+t.level,i=this.attrs(t);e?(this.cr(),this.tag(n,i)):(this.tag("/"+n),this.cr())}function SU(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function CU(t){var e=t.info?t.info.split(/\s+/):[],n=this.attrs(t);if(e.length>0&&e[0].length>0){var i=this.esc(e[0]);/^language-/.exec(i)||(i="language-"+i),n.push(["class",i])}this.cr(),this.tag("pre"),this.tag("code",n),this.out(t.literal),this.tag("/code"),this.tag("/pre"),this.cr()}function NU(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function MU(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function $U(t,e){var n=t.listType==="bullet"?"ul":"ol",i=this.attrs(t);if(e){var r=t.listStart;r!==null&&r!==1&&i.push(["start",r.toString()]),this.cr(),this.tag(n,i),this.cr()}else this.cr(),this.tag("/"+n),this.cr()}function TU(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function EU(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function LU(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function OU(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function PU(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function jU(t){this.lit(this.esc(t))}function DU(t){var e=[];if(this.options.sourcepos){var n=t.sourcepos;n&&e.push(["data-sourcepos",String(n[0][0])+":"+String(n[0][1])+"-"+String(n[1][0])+":"+String(n[1][1])])}return e}Mt.prototype=Object.create(_e.prototype);Mt.prototype.text=gU;Mt.prototype.html_inline=EU;Mt.prototype.html_block=LU;Mt.prototype.softbreak=yU;Mt.prototype.linebreak=pU;Mt.prototype.link=vU;Mt.prototype.image=xU;Mt.prototype.emph=bU;Mt.prototype.strong=wU;Mt.prototype.paragraph=kU;Mt.prototype.heading=AU;Mt.prototype.code=SU;Mt.prototype.code_block=CU;Mt.prototype.thematic_break=NU;Mt.prototype.block_quote=MU;Mt.prototype.list=$U;Mt.prototype.item=TU;Mt.prototype.custom_inline=OU;Mt.prototype.custom_block=PU;Mt.prototype.esc=In;Mt.prototype.out=jU;Mt.prototype.tag=mU;Mt.prototype.attrs=DU;var qU=/\<[^>]*\>/;function VU(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function p1(t){t=t||{},this.disableTags=0,this.lastOut=`
18
+ `,this.indentLevel=0,this.indent=" ",this.esc=t.esc||In,this.options=t}function BU(t){this.buffer="";var e,n,i=t.walker(),r,o,l,c,a,s,u=this.options;for(u.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
19
19
  `,this.buffer+=`<!DOCTYPE document SYSTEM "CommonMark.dtd">
20
- `;r=i.next();)if(l=r.entering,o=r.node,s=o.type,c=o.isContainer,a=s==="thematic_break"||s==="linebreak"||s==="softbreak",n=TU(s),l){switch(e=[],s){case"document":e.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":o.listType!==null&&e.push(["type",o.listType.toLowerCase()]),o.listStart!==null&&e.push(["start",String(o.listStart)]),o.listTight!==null&&e.push(["tight",o.listTight?"true":"false"]);var d=o.listDelimiter;if(d!==null){var f="";d==="."?f="period":f="paren",e.push(["delimiter",f])}break;case"code_block":o.info&&e.push(["info",o.info]);break;case"heading":e.push(["level",String(o.level)]);break;case"link":case"image":e.push(["destination",o.destination]),e.push(["title",o.title]);break;case"custom_inline":case"custom_block":e.push(["on_enter",o.onEnter]),e.push(["on_exit",o.onExit]);break}if(u.sourcepos){var h=o.sourcepos;h&&e.push(["sourcepos",String(h[0][0])+":"+String(h[0][1])+"-"+String(h[1][0])+":"+String(h[1][1])])}if(this.cr(),this.out(this.tag(n,e,a)),c)this.indentLevel+=1;else if(!c&&!a){var m=o.literal;m&&this.out(this.esc(m)),this.out(this.tag("/"+n))}}else this.indentLevel-=1,this.cr(),this.out(this.tag("/"+n));return u.time&&console.timeEnd("rendering"),this.buffer+=`
21
- `,this.buffer}function EU(t){this.disableTags>0?this.buffer+=t.replace(MU,""):this.buffer+=t,this.lastOut=t}function LU(){if(this.lastOut!==`
20
+ `;r=i.next();)if(l=r.entering,o=r.node,s=o.type,c=o.isContainer,a=s==="thematic_break"||s==="linebreak"||s==="softbreak",n=VU(s),l){switch(e=[],s){case"document":e.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":o.listType!==null&&e.push(["type",o.listType.toLowerCase()]),o.listStart!==null&&e.push(["start",String(o.listStart)]),o.listTight!==null&&e.push(["tight",o.listTight?"true":"false"]);var d=o.listDelimiter;if(d!==null){var f="";d==="."?f="period":f="paren",e.push(["delimiter",f])}break;case"code_block":o.info&&e.push(["info",o.info]);break;case"heading":e.push(["level",String(o.level)]);break;case"link":case"image":e.push(["destination",o.destination]),e.push(["title",o.title]);break;case"custom_inline":case"custom_block":e.push(["on_enter",o.onEnter]),e.push(["on_exit",o.onExit]);break}if(u.sourcepos){var h=o.sourcepos;h&&e.push(["sourcepos",String(h[0][0])+":"+String(h[0][1])+"-"+String(h[1][0])+":"+String(h[1][1])])}if(this.cr(),this.out(this.tag(n,e,a)),c)this.indentLevel+=1;else if(!c&&!a){var m=o.literal;m&&this.out(this.esc(m)),this.out(this.tag("/"+n))}}else this.indentLevel-=1,this.cr(),this.out(this.tag("/"+n));return u.time&&console.timeEnd("rendering"),this.buffer+=`
21
+ `,this.buffer}function IU(t){this.disableTags>0?this.buffer+=t.replace(qU,""):this.buffer+=t,this.lastOut=t}function RU(){if(this.lastOut!==`
22
22
  `){this.buffer+=`
23
23
  `,this.lastOut=`
24
- `;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function OU(t,e,n){var i="<"+t;if(e&&e.length>0)for(var r=0,o;(o=e[r])!==void 0;)i+=" "+o[0]+'="'+this.esc(o[1])+'"',r++;return n&&(i+=" /"),i+=">",i}y1.prototype=Object.create(Ke.prototype);y1.prototype.render=$U;y1.prototype.out=EU;y1.prototype.cr=LU;y1.prototype.tag=OU;y1.prototype.esc=qn;const jU=["text-anchor","font-size"],PU={key:0},O1={__name:"CoreMarkdown",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=new ll,n=Dt("ele"),i=Ot({width:0,height:0});St([n,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([l])=>{if(!l)return;await Tn();let{width:c,height:a}=l.getBBox();i.width=c,i.height=a});const r=X(()=>{let{width:l,height:c}=i,a=[],s=({start:-.5,end:.5}[t.textAnchor]??0)*l;if(t.dockX!=null||t.dockY!=null){let u={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),d={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(u)&&(u=.5),isNaN(d)&&(d=.5);let f=l*Math.abs(Math.cos(t.angle*Math.PI/180))+c*Math.abs(Math.sin(t.angle*Math.PI/180)),h=l*Math.abs(Math.sin(t.angle*Math.PI/180))+c*Math.abs(Math.cos(t.angle*Math.PI/180)),m=t.translateX,y=t.translateY;a.push(`translate(${f*(.5-u)+m},${h*(d-.5)+y})`),t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${s},${-c/2})`)}else{let u={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),d={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(u)&&(u=.5),isNaN(d)&&(d=.5);let f=l,h=c,m=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),y=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${f*(.5-u)+m+s},${h*(d-.5)+y-c/2})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Vt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:a.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`}}),o=X(()=>{const l=e.parse(String(t.text)).walker(),c=[];let a=[],s=[1],u=0,d=!0,f;for(;f=l.next();){let{node:{type:h,literal:m},entering:y}=f,w=s.at(-1);if(y){if(h==="text"||h==="code"){let p=u+(d?1:0);const S=Object.assign({x:d?t.x:null,dy:Te(p||null,"em")},...a,{"font-family":h==="code"?"monospace":null,"font-size":w===1?null:`${w}em`});u=0,d=!1,c.push({text:m,vbind:S})}else if(h==="strong")a.push({"font-weight":"bold"});else if(h==="emph")a.push({"font-style":"italic"});else if(h==="softbreak"||h==="paragraph")c.push({text:`
25
- `}),d=!0;else if(h==="html_inline"){const p=m;if(p.includes("color=")){const S=p.match(/color=(['"])(.*?)\1/i)?.[2]??p.match(/color=(\S*)/)?.[1];S&&a.push({fill:S})}else p.includes("</font>")?a.pop():p.includes("<sup>")?(u-=.4*w,s.push(w*.7)):p.includes("</sup>")?(u+=.4*s.at(-1),s.pop()):p.includes("<sub>")?(u+=.25*w,s.push(w*.7)):p.includes("</sub>")&&(u-=.25*s.at(-1),s.pop())}}else["strong","emph"].includes(h)&&a.pop()}return c});return(l,c)=>(O(),B("text",Q({ref_key:"ele",ref:n},r.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(O(),B("title",PU,Bt(t.title),1)):Lt("",!0),c[0]||(c[0]=dt()),(O(!0),B(lt,null,ut(o.value,a=>(O(),B("tspan",Q({ref_for:!0},a.vbind),Bt(a.text),17))),256))],16,jU))}},DU=["transform"],qU=["x2"],BU={class:"vvplot-interactive",fill:"transparent"},VU=["width","cursor"],IU={key:0,class:"vvplot-interactive",fill:"transparent"},RU=["x"],HU={__name:"CoreAxisH",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=C1("rangePreview"),o=X(()=>{let g=0,x={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof x=="string"&&x.endsWith("%")?g=i.value*(1-x.slice(0,-1)/100):g=t.activeTransform.translateV+t.coord2pos({v:+x}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${g})`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,x=g,b=t.theme.title_dock_x,C=t.theme.title_dock_y,k=0;return typeof g!="number"&&(x={left:0,bottom:.5,top:.5,right:1}[g]??.5,b??={left:1,right:0}[g]??.5,C??={top:0,bottom:1}[g]??.5,k=({top:-1,bottom:1}[g]??0)*(t.theme.title_offset??0)),{x:n.value*x,y:k,angle:t.theme.title_angle,dockX:b,dockY:C,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let x of t.ticks){typeof x=="number"&&(x={position:x});let b=t.coord2pos({h:x.position}).h,C=b*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,k=b+t.layout.l;if(k+C<0||k+C>n.value)continue;let R=(t.theme.tick_position=="top"?-1:1)*(x.length??t.theme.tick_length);g.push({key:"line-"+x.position,y1:0,y2:R,x1:k,x2:k,stroke:x.color??t.theme.tick_color,"stroke-width":x.width??t.theme.tick_width,transform:C?`translate(${C},0)`:null,style:{transition:t.transition}})}return g.filter(x=>x.stroke!=null).sort((x,b)=>x.x1-b.x1)}),s=X(()=>{let g=(t.theme.label_position??t.theme.tick_position)=="top",x=[];for(let b of t.ticks){typeof b=="number"&&(b={position:b,label:b});let C=t.coord2pos({h:b.position}).h,k=C*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,R=C+t.layout.l;if(R+k<0||R+k>n.value)continue;let V=(g?-1:1)*(t.theme.label_offset??b.length??t.theme.tick_length),K,U,F,D;t.theme.label_anchor_x!=null||t.theme.label_anchor_y!=null?(K=t.theme.label_anchor_x??.5,U=t.theme.label_anchor_y??(g?0:1)):(F=t.theme.label_dock_x??.5,D=t.theme.label_dock_y??(g?0:1)),x.push({wrapper:{key:"text-"+b.position,transform:k?`translate(${k},0)`:null,style:{transition:t.transition}},text:{x:R,y:V,angle:t.theme.label_angle,anchorX:K,anchorY:U,dockX:F,dockY:D,text:b.label,title:b.title??b.label,fontSize:b.size??t.theme.label_size,fill:b.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return x.filter(b=>b.text.fill!=null).sort((b,C)=>b.text.x-C.text.x)}),u=Dt("i");function d(g){let x=u.value.getBoundingClientRect(),b=x.width/u.value.getBBox().width,C=g.clientX-x.left,k=C/b-t.layout.left,R=t.layout.left+t.layout.width-C/b,V={l:k,r:R},{x:K,y:U}=t.pos2coord({h:k});return K&&(V.x=K),U&&(V.y=U),V}const f=e;let h,m=0;function y(g){let x=d(g);f("pointerdown",g,x);let b=!1;function C(D){(Math.abs(D.screenX-g.screenX)>3||Math.abs(D.screenY-g.screenY)>3)&&(b=!0,D.currentTarget.removeEventListener("pointermove",C))}g.target.addEventListener("pointermove",C,{passive:!0}),g.target.addEventListener("pointerup",function(D){if(g.target.removeEventListener("pointermove",C),!b){let H=d(D);f("singleclick",new PointerEvent("singleclick",D),H)}},{once:!0});let k=t.action.find(D=>D.action=="move");if(!k)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,V=t.layout.width,K=t.coord2pos(k),F=u.value.getBoundingClientRect().width/u.value.getBBox().width;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=D=>{if(m+=D.movementX,!b)return;let H=yt(-m/F,{min:K.hmin-R,max:K.hmax-V}),{xmin:z,xmax:tt,ymin:_,ymax:Z}=t.pos2coord({hmin:R+H,hmax:V+H});Object.assign(r,{xmin:z,xmax:tt,ymin:_,ymax:Z})},g.target.onpointerup=D=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,b&&(h=setTimeout(()=>{E(k,D),m=0},300))}}function w(g){let x=t.action.find(z=>z.action=="rescale");if(!x)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":b=0}=x,C=d(g),k=t.coord2pos(C).h,R=k-C.l,V=k+C.r,K=t.pos2coord({hmin:R,hmax:V}),U={min:t.coord2pos(x).hmin,max:t.coord2pos({hmin:K.hmax-b,hmax:K.hmin+b}).hmin},D=u.value.getBoundingClientRect().width/u.value.getBBox().width,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=z=>{H+=z.movementX;let{xmin:tt,xmax:_,ymin:Z,ymax:J}=t.pos2coord({hmin:yt(V-(V-R)*C.r/Math.max(C.r-H/D,1),U),hmax:V});Object.assign(r,{xmin:tt,xmax:_,ymin:Z,ymax:J})},g.target.onpointerup=z=>{g.target.onpointermove=null,g.target.onpointerup=null,E(x,z)}}function p(g){let x=t.action.find(H=>H.action=="rescale");if(!x)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":b=0}=x,C=d(g),k=t.coord2pos(C).h,R=k-C.l,V=k+C.r,K=t.pos2coord({hmin:R,hmax:V}),U={min:t.coord2pos({hmin:K.hmax-b,hmax:K.hmin+b}).hmax,max:t.coord2pos(x).hmax};u.value.getBoundingClientRect().width/u.value.getBBox().width;let D=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=H=>{D+=H.movementX;let{xmin:z,xmax:tt,ymin:_,ymax:Z}=t.pos2coord({hmin:R,hmax:yt(R+(V-R)*C.l/Math.max(C.l+D,1),U)});Object.assign(r,{xmin:z,xmax:tt,ymin:_,ymax:Z})},g.target.onpointerup=H=>{g.target.onpointermove=null,g.target.onpointerup=null,E(x,H)}}let S=0,A;function M(g){let x=d(g);f("wheel",g,x);let b=t.action.find(C=>["zoom","nudge"].includes(C.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>C[k]==g[k]));b&&(A=clearTimeout(A),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),S+=g.deltaY,j(b,x,S),A=setTimeout(()=>{E(b,g),S=0},300))}function j(g,x,b){if(g.action=="zoom"){let{"min-range-h":C=0,sensitivity:k=1.25}=g,R=k**(b/100),V=t.coord2pos(g),K=Math.max(x.l-Math.max(x.l,0)*R,V.hmin??-1/0),U=Math.min(x.l+Math.max(x.r,0)*R,V.hmax??1/0),{[t.coord+"min"]:F,[t.coord+"max"]:D}=t.pos2coord({hmin:K,hmax:U});if(R<1&&D-F<C){let H=(D+F)/2;F=H-C/2,D=H+C/2}r[t.coord+"min"]=F,r[t.coord+"max"]=D}if(g.action=="nudge"){let{sensitivity:C=.1}=g,k=t.coord2pos(g),R=0,V=t.layout.width,K=C*t.layout.width*(-b/120),U=yt(-K,{min:k.hmin-R,max:k.hmax-V}),{xmin:F,xmax:D,ymin:H,ymax:z}=t.pos2coord({hmin:R+U,hmax:V+U});Object.assign(r,{xmin:F,xmax:D,ymin:H,ymax:z})}}function E(g,x){let b=Ft(r)??{};if(!Object.keys(b).length)return;let C=new PointerEvent(x.type,x);Be(g.emit,b,C)||f(g.action,b,C),f("rangechange",b),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const $={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},dblclick(g){f("dblclick",g,d(g))},click(g){f("click",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},pointerdown:y,wheel:M};return(g,x)=>(O(),B("g",{transform:o.value,style:j1({transition:t.transition})},[At("line",Q({ref:"i",x1:0,x2:n.value,y1:0,y2:0},c.value),null,16,qU),x[1]||(x[1]=dt()),(O(!0),B(lt,null,ut(a.value,b=>(O(),B("line",Q({ref_for:!0},b),null,16))),256)),x[2]||(x[2]=dt()),(O(!0),B(lt,null,ut(s.value,b=>(O(),B("g",Q({ref_for:!0},b.wrapper),[t.theme.label_type=="markdown"?(O(),xt(O1,Q({key:0,ref_for:!0},b.text),null,16)):(O(),xt(m1,Q({key:1,ref_for:!0},b.text),null,16))],16))),256)),x[3]||(x[3]=dt()),At("g",BU,[At("rect",Q({width:n.value,height:10,y:-5},Gt($,!0),{cursor:t.action.some?.(b=>b.action=="move")?"grab":null}),null,16,VU)]),x[4]||(x[4]=dt()),t.action.some?.(b=>b.action=="rescale")?(O(),B("g",IU,[At("rect",{width:20,height:10,y:-5,style:{cursor:"ew-resize"},onPointerdown:w},null,32),x[0]||(x[0]=dt()),At("rect",{width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"},onPointerdown:p},null,40,RU)])):Lt("",!0),x[5]||(x[5]=dt()),l.value.text?(O(),B(lt,{key:1},[t.theme.title_type=="markdown"?(O(),xt(O1,oe(Q({key:0},l.value)),null,16)):(O(),xt(m1,oe(Q({key:1},l.value)),null,16))],64)):Lt("",!0)],12,DU))}},XU=["transform"],YU=["y2"],zU={class:"vvplot-interactive",fill:"transparent"},FU=["height","cursor"],UU={key:0,class:"vvplot-interactive",fill:"transparent"},GU=["y"],WU={__name:"CoreAxisV",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=C1("rangePreview"),o=X(()=>{let g=0,x={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof x=="string"&&x.endsWith("%")?g=n.value*x.slice(0,-1)/100:g=t.activeTransform.translateH+t.coord2pos({h:+x}).h*t.activeTransform.scaleH+t.layout.left,`translate(${g}, 0)`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,x=g,b=t.theme.title_dock_x,C=t.theme.title_dock_y,k=0;return typeof g!="number"&&(x={bottom:0,left:.5,right:.5,top:1}[g]??.5,b??={left:1,right:0}[g]??.5,C??={top:0,bottom:1}[g]??.5,k=({left:-1,right:1}[g]??0)*(t.theme.title_offset??0)),{x:k,y:i.value*(1-x),angle:t.theme.title_angle,dockX:b,dockY:C,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let x of t.ticks){typeof x=="number"&&(x={position:x});let b=t.coord2pos({v:x.position}).v,C=b*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,k=b+t.layout.t;if(k+C<0||k+C>i.value)continue;let R=(t.theme.tick_position=="right"?1:-1)*(x.length??t.theme.tick_length);g.push({key:"line-"+x.position,y1:k,y2:k,x1:0,x2:R,stroke:x.color??t.theme.tick_color,"stroke-width":x.width??t.theme.tick_width,transform:C?`translate(0,${C})`:null,style:{transition:t.transition}})}return g.filter(x=>x.stroke!=null).sort((x,b)=>x.y1-b.y1)}),s=X(()=>{let g=(t.theme.label_position??t.theme.tick_position)=="right",x=[];for(let b of t.ticks){typeof b=="number"&&(b={position:b});let C=t.coord2pos({v:b.position}).v,k=C*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,R=C+t.layout.t;if(R+k<0||R+k>i.value)continue;let V=(g?1:-1)*((t.theme.label_offset??b.length??t.theme.tick_length)+3),K,U,F,D;t.theme.label_anchor_x!=null||t.theme.label_anchor_y!=null?(K=t.theme.label_anchor_x??(g?0:1),U=t.theme.label_anchor_y??.5):(F=t.theme.label_dock_x??(g?0:1),D=t.theme.label_dock_y??.5),x.push({wrapper:{key:"text-"+b.position,transform:k?`translate(0,${k})`:null,style:{transition:t.transition}},text:{y:R,x:V,angle:t.theme.label_angle,anchorX:K,anchorY:U,dockX:F,dockY:D,text:b.label,title:b.title??b.label,fontSize:b.size??t.theme.label_size,fill:b.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return x.filter(b=>b.text.fill!=null).sort((b,C)=>b.text.y-C.text.y)}),u=Dt("i");function d(g){let x=u.value.getBoundingClientRect(),b=x.height/u.value.getBBox().height,C=g.clientY-x.top,k=C/b-t.layout.top,R=t.layout.top+t.layout.height-C/b,V={t:k,b:R},{x:K,y:U}=t.pos2coord({v:k});return K&&(V.x=K),U&&(V.y=U),V}const f=e;let h,m=0;function y(g){let x=d(g);f("pointerdown",g,x);let b=!1;function C(D){(Math.abs(D.screenX-g.screenX)>3||Math.abs(D.screenY-g.screenY)>3)&&(b=!0,D.currentTarget.removeEventListener("pointermove",C))}g.target.addEventListener("pointermove",C,{passive:!0}),g.target.addEventListener("pointerup",function(D){if(g.target.removeEventListener("pointermove",C),!b){let H=d(D);f("singleclick",new PointerEvent("singleclick",D),H)}},{once:!0});let k=t.action.find(D=>D.action=="move");if(!k)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,V=t.layout.height,K=t.coord2pos(k),F=u.value.getBoundingClientRect().height/u.value.getBBox().height;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=D=>{if(m+=D.movementY,!b)return;let H=yt(-m/F,{min:K.vmin-R,max:K.vmax-V}),{xmin:z,xmax:tt,ymin:_,ymax:Z}=t.pos2coord({vmin:R+H,vmax:V+H});Object.assign(r,{xmin:z,xmax:tt,ymin:_,ymax:Z})},g.target.onpointerup=D=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,b&&(h=setTimeout(()=>{E(k,D),m=0},300))}}function w(g){let x=t.action.find(z=>z.action=="rescale");if(!x)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":b=0}=x,C=d(g),k=t.coord2pos(C).v,R=k-C.t,V=k+C.b,K=t.pos2coord({vmin:R,vmax:V}),U={min:t.coord2pos(x).vmin,max:t.coord2pos({vmin:K.vmax-b,vmax:K.vmin+b}).vmin},D=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=z=>{H+=z.movementY;let{xmin:tt,xmax:_,ymin:Z,ymax:J}=t.pos2coord({vmin:yt(V-(V-R)*C.b/Math.max(C.b-H/D,1),U),vmax:V});Object.assign(r,{xmin:tt,xmax:_,ymin:Z,ymax:J})},g.target.onpointerup=z=>{g.target.onpointermove=null,g.target.onpointerup=null,E(x,z)}}function p(g){let x=t.action.find(z=>z.action=="rescale");if(!x)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":b=0}=x,C=d(g),k=t.coord2pos(C).v,R=k-C.t,V=k+C.b,K=t.pos2coord({vmin:R,vmax:V}),U={min:t.coord2pos({vmin:K.vmax-b,vmax:K.vmin+b}).vmax,max:t.coord2pos(x).vmax},D=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=z=>{H+=z.movementY;let{xmin:tt,xmax:_,ymin:Z,ymax:J}=t.pos2coord({vmin:R,vmax:yt(R+(V-R)*C.t/Math.max(C.t+H/D,1),U)});Object.assign(r,{xmin:tt,xmax:_,ymin:Z,ymax:J})},g.target.onpointerup=z=>{g.target.onpointermove=null,g.target.onpointerup=null,E(x,z)}}let S=0,A;function M(g){let x=d(g);f("wheel",g,x);let b=t.action.find(C=>["zoom","nudge"].includes(C.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>C[k]==g[k]));b&&(A=clearTimeout(A),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),S+=g.deltaY,j(b,x,S),A=setTimeout(()=>{E(b,g),S=0},300))}function j(g,x,b){if(g.action=="zoom"){let{"min-range-v":C=0,sensitivity:k=1.25}=g,R=k**(b/100),V=t.coord2pos(g),K=Math.max(x.t-Math.max(x.t,0)*R,V.vmin??-1/0),U=Math.min(x.t+Math.max(x.b,0)*R,V.vmax??1/0),{[t.coord+"min"]:F,[t.coord+"max"]:D}=t.pos2coord({vmin:K,vmax:U});if(R<1&&D-F<C){let H=(D+F)/2;F=H-C/2,D=H+C/2}r[t.coord+"min"]=F,r[t.coord+"max"]=D}if(g.action=="nudge"){let{sensitivity:C=.1}=g,k=t.coord2pos(g),R=0,V=t.layout.height,K=C*t.layout.height*(-b/120),U=yt(-K,{min:k.vmin-R,max:k.vmax-V}),{xmin:F,xmax:D,ymin:H,ymax:z}=t.pos2coord({vmin:R+U,vmax:V+U});Object.assign(r,{xmin:F,xmax:D,ymin:H,ymax:z})}}function E(g,x){let b=Ft(r)??{};if(!Object.keys(b).length)return;let C=new PointerEvent(x.type,x);Be(g.emit,b,C)||f(g.action,b,C),f("rangechange",b),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const $={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},dblclick(g){f("dblclick",g,d(g))},click(g){f("click",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},pointerdown:y,wheel:M};return(g,x)=>(O(),B("g",{transform:o.value,style:j1({transition:t.transition})},[At("line",Q({ref:"i",x1:0,x2:0,y1:0,y2:i.value},c.value),null,16,YU),x[1]||(x[1]=dt()),(O(!0),B(lt,null,ut(a.value,b=>(O(),B("line",Q({ref_for:!0},b),null,16))),256)),x[2]||(x[2]=dt()),(O(!0),B(lt,null,ut(s.value,b=>(O(),B("g",Q({ref_for:!0},b.wrapper),[t.theme.label_type=="markdown"?(O(),xt(O1,Q({key:0,ref_for:!0},b.text),null,16)):(O(),xt(m1,Q({key:1,ref_for:!0},b.text),null,16))],16))),256)),x[3]||(x[3]=dt()),At("g",zU,[At("rect",Q({width:10,height:i.value,x:-5},Gt($,!0),{cursor:t.action.some?.(b=>b.action=="move")?"grab":null}),null,16,FU)]),x[4]||(x[4]=dt()),t.action.some?.(b=>b.action=="rescale")?(O(),B("g",UU,[At("rect",{width:10,height:20,x:-5,style:{cursor:"ns-resize"},onPointerdown:w},null,32),x[0]||(x[0]=dt()),At("rect",{width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"},onPointerdown:p},null,40,GU)])):Lt("",!0),x[5]||(x[5]=dt()),l.value.text?(O(),B(lt,{key:1},[t.theme.title_type=="markdown"?(O(),xt(O1,oe(Q({key:0},l.value)),null,16)):(O(),xt(m1,oe(Q({key:1},l.value)),null,16))],64)):Lt("",!0)],12,XU))}},xo={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:HU,v:WU};return(n,i)=>t.position!="none"?(O(),xt(c1(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Lt("",!0)}},KU={__name:"CoreGridH",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.majorBreaks){let a=t.coord2pos({v:c.position}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=a+t.layout.t;u+s<0||u+s>n.value||l.push({key:"major-"+c.position,x1:0,x2:e.value,y1:u,y2:u,stroke:c.color??t.theme.line_color_major,"stroke-width":c.width??t.theme.line_width_major??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.minorBreaks){if(t.majorBreaks.some(d=>d.position==c.position))continue;let a=t.coord2pos({v:c.position}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=a+t.layout.t;u+s<0||u+s>n.value||l.push({key:"minor-"+c.position,x1:0,x2:e.value,y1:u,y2:u,stroke:c.color??t.theme.line_color_minor,"stroke-width":c.width??t.theme.line_width_minor??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.y1-c.y1));return(l,c)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(o.value,a=>(O(),B("line",Q({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},ZU={__name:"CoreGridV",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.majorBreaks){let a=t.coord2pos({h:c.position}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=a+t.layout.l;u+s<0||u+s>e.value||l.push({key:"major-"+c.position,y1:0,y2:n.value,x1:u,x2:u,stroke:c.color??t.theme.line_color_major,"stroke-width":c.width??t.theme.line_width_major??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.minorBreaks){if(t.majorBreaks.some(d=>d.position==c.position))continue;let a=t.coord2pos({h:c.position}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=a+t.layout.l;u+s<0||u+s>e.value||l.push({key:"minor-"+c.position,y1:0,y2:n.value,x1:u,x2:u,stroke:c.color??t.theme.line_color_minor,"stroke-width":c.width??t.theme.line_width_minor??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.x1-c.x1));return(l,c)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(o.value,a=>(O(),B("line",Q({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},QU={__name:"CoreCanvasBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,xmin:m,xmax:y,y:w,ymin:p,ymax:S,lwisker:A,Q1:M,median:j,Q3:E,uwisker:$,outliers:g,$xmin:x,$xmax:b,$ymin:C,$ymax:k,fill:R="white",color:V="black",linewidth:K=1,linetype:U,alpha:F,"translate-x":D=0,"translate-y":H=0,$raw:z}of f){if(V==="transparent")continue;const{hmin:tt,hmax:_,vmin:Z,vmax:J}=t.coord2pos(h==null?{ymin:p,ymax:S,xmin:M,xmax:E}:{xmin:m,xmax:y,ymin:M,ymax:E}),{h:st,v:ot}=t.coord2pos(h==null?{y:w,x:A}:{x:h,y:A}),{h:vt,v:Rt}=t.coord2pos(h==null?{y:w,x:$}:{x:h,y:$}),{h:_t,v:te}=t.coord2pos(h==null?{y:p,x:j}:{x:m,y:j}),{h:ve,v:L}=t.coord2pos(h==null?{y:S,x:j}:{x:y,y:j}),{h:P,v:q}=t.coord2pos(h==null?{y:p*.25+S*.75,x:$}:{x:m*.25+y*.75,y:$}),{h:Y,v}=t.coord2pos(h==null?{y:p*.75+S*.25,x:$}:{x:m*.75+y*.25,y:$}),{h:N,v:T}=t.coord2pos(h==null?{y:p*.25+S*.75,x:A}:{x:m*.25+y*.75,y:A}),{h:I,v:G}=t.coord2pos(h==null?{y:p*.75+S*.25,x:A}:{x:m*.75+y*.25,y:A});s.globalAlpha=F,s.setLineDash(Vt(U));const et=new Path2D;et.moveTo(st+D,ot+H),et.lineTo(vt+D,Rt+H);const at=new Path2D;at.moveTo(P+D,q+H),at.lineTo(Y+D,v+H),at.moveTo(N+D,T+H),at.lineTo(I+D,G+H),s.lineWidth=K,V!=="none"&&(s.strokeStyle=V,s.stroke(et),s.stroke(at));const it=new Path2D;it.rect(tt+D,Z+H,_-tt,J-Z),R!=="none"&&(s.fillStyle=R,s.fill(it)),V!=null&&(s.strokeStyle=V,s.stroke(it)),u.set(it,z);const wt=new Path2D;wt.moveTo(_t+D,te+H),wt.lineTo(ve+D,L+H),s.lineWidth=K*2,V!=="none"&&(s.strokeStyle=V,s.stroke(wt));for(let{x:kt,y:ht,$raw:ct}of g){const{h:nt,v:rt}=t.coord2pos({x:kt,y:ht}),W=new Path2D;W.arc(nt+D,rt+H,2,0,Math.PI*2),R!=="none"&&(s.fillStyle=V,s.fill(W)),u.set(W,ct)}}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,w=(h.clientY-m.top)*a.height/m.height;for(const[p,S]of d)if(s.isPointInPath(p,y,w)){r(f,h,t.getCoord(h),S),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},JU={__name:"CoreCanvasCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{points:m,fill:y="none",color:w="black",linewidth:p,linetype:S,alpha:A,"translate-x":M=0,"translate-y":j=0,$raw:E,interpolate:$}of h){if(m=m.map(C=>(({h:k,v:R})=>({x:k,y:R}))(t.coord2pos(C))).filter(C=>C.x!=null&&C.y!=null),m.length===0)continue;const g=new Path2D;let b=(typeof $=="function"?$:a[$]??xn)(g);b.lineStart();for(let C=0;C<m.length;C++)b.point(m[C].x+M,m[C].y+j);b.lineEnd(),d.set(g,E),u.lineWidth=p,u.globalAlpha=A,u.setLineDash(Vt(S)),y!=="none"&&(u.fillStyle=y,u.fill(g)),w!=null&&(u.strokeStyle=w,u.stroke(g))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),w=(m.clientX-y.left)*s.width/y.width,p=(m.clientY-y.top)*s.height/y.height;for(const[S,A]of f)if(u.isPointInPath(S,w,p)){r(h,m,t.getCoord(m),A),m._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});const a={cardinal:Ts,catmullRom:Es,linear:Bi,natural:xn};return(s,u)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},_U={__name:"CoreCanvasEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{cx:h,cy:m,A:y,B:w,C:p,fill:S="none",color:A="black",linewidth:M,linetype:j,alpha:E,"translate-x":$=0,"translate-y":g=0,$raw:x}of f){let b=Math.sqrt(p/(y*p-w*w)),C=Math.sqrt(y/(y*p-w*w));const{h:k,v:R}=t.coord2pos({x:h,y:m});let{hmin:V,hmax:K,vmin:U,vmax:F}=t.coord2pos({xmin:h-b,xmax:h+b,ymin:m-C,ymax:m+C}),D=(K-V)/(2*b),H=(F-U)/(2*C);y/=D*D,w/=D*H,p/=H*H;const z=y+p,tt=y*p-w*w,_=Math.sqrt(Math.max(0,z*z/4-tt));let Z=1/Math.sqrt(z/2+_),J=1/Math.sqrt(z/2-_),st=-Math.atan2(2*w,y-p)/2;const ot=new Path2D;ot.ellipse(k+$,R+g,Z,J,st,0,2*Math.PI),u.set(ot,x),s.lineWidth=M,s.globalAlpha=E,s.setLineDash(Vt(j)),S!=="none"&&(s.fillStyle=S,s.fill(ot)),A!=null&&(s.strokeStyle=A,s.stroke(ot))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,w=(h.clientY-m.top)*a.height/m.height;for(const[p,S]of d)if(s.isPointInPath(p,y,w)){r(f,h,t.getCoord(h),S),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},bo={__name:"CoreCanvasLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:m,xend:y,yend:w,color:p,linewidth:S,alpha:A,linetype:M,"translate-x":j=0,"translate-y":E=0,$raw:$}of f){if(p==="transparent")continue;const{h:g,v:x}=t.coord2pos({x:h,y:m}),{h:b,v:C}=t.coord2pos({x:y,y:w}),k=new Path2D;k.moveTo(g+j,x+E),k.lineTo(b+j,C+E),u.set(k,$),s.lineWidth=S,s.globalAlpha=A,s.setLineDash(Vt(M)),p!=="none"&&(s.strokeStyle=p,s.stroke(k))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,w=(h.clientY-m.top)*a.height/m.height;for(const[p,S]of d)if(s.isPointInPath(p,y,w)){r(f,h,t.getCoord(h),S),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},tG={__name:"CoreCanvasPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o={triangle:s=>`M0-${s*2/3}L${s*.577},${s/3}L-${s*.577},${s/3}Z`,diamond:s=>`M0-${s*.707}L${s*.707},0L0,${s*.707}L-${s*.707},0Z`,square:s=>`M-${s/2}-${s/2}H${s/2}V${s/2}H-${s/2}Z`,plus:s=>`M-${s/10}-${s/2}V-${s/10}H-${s/2}V${s/10}H-${s/10}V${s/2}H${s/10}V${s/10}H${s/2}V-${s/10}H${s/10}V-${s/2}H-${s/10}Z`,corss:s=>`M-${s*.283}-${s*.424}L-${s*.424}-${s*.283}L-${s*.141},0L-${s*.424},${s*.283}L-${s*.283},${s*.424}L0,${s*.141}L${s*.283},${s*.424}L${s*.424},${s*.283}L${s*.141},0L${s*.424},-${s*.283}L${s*.283},-${s*.424}L0,-${s*.141}Z`},l=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),c=Dt("container"),a=X(()=>{if(c.value==null)return;const s=document.createElement("canvas");s.style.width=l.value.width+"px",s.style.height=l.value.height+"px",s.width=l.value.width*t.dpi/96,s.height=l.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:m,y,size:w=6,shape:p,color:S,stroke:A,linewidth:M,linetype:j,alpha:E,"translate-x":$=0,"translate-y":g=0,$raw:x}of h){const{h:b,v:C}=t.coord2pos({x:m,y}),k=new Path2D;String(p).startsWith("path:")?k.addPath(new Path2D(p.slice(5)),new DOMMatrix().translateSelf(b+$,C+g)):p in o?k.addPath(new Path2D(o[p](w)),new DOMMatrix().translate(b+$,C+g)):k.arc(b+$,C+g,w/2,0,Math.PI*2),d.set(k,x),u.lineWidth=M,u.globalAlpha=E,u.beginPath(),S!=="none"&&(u.fillStyle=S,u.fill(k)),A!=null&&(u.strokeStyle=A,u.setLineDash(Vt(j)),u.stroke(k))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),w=(m.clientX-y.left)*s.width/y.width,p=(m.clientY-y.top)*s.height/y.height;for(const[S,A]of f)if(u.isPointInPath(S,w,p)){r(h,m,t.getCoord(m),A),m._vhandled=!0;break}});return s});return St(a,s=>c.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)}),(s,u)=>(O(),B("foreignObject",Q(l.value,{ref:"container"}),null,16))}},eG={__name:"CoreCanvasPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{points:h,fill:m,color:y,linewidth:w,linetype:p,alpha:S,"translate-x":A=0,"translate-y":M=0,$raw:j}of f){if(h=h.map($=>(({h:g,v:x})=>({x:g,y:x}))(t.coord2pos($))).filter($=>$.x!=null&&$.y!=null),h.length===0)continue;const E=new Path2D;E.moveTo(h[0].x+A,h[0].y+M);for(let $=1;$<h.length;$++)E.lineTo(h[$].x+A,h[$].y+M);E.closePath(),u.set(E,j),s.lineWidth=w,s.globalAlpha=S,s.setLineDash(Vt(p)),m!=="none"&&(s.fillStyle=m,s.fill(E)),y!=null&&(s.strokeStyle=y,s.stroke(E))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,w=(h.clientY-m.top)*a.height/m.height;for(const[p,S]of d)if(s.isPointInPath(p,y,w)){r(f,h,t.getCoord(h),S),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},wo={__name:"CoreCanvasRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{xmin:h,xmax:m,ymin:y,ymax:w,fill:p,color:S,linewidth:A,linetype:M,alpha:j,"translate-x":E=0,"translate-y":$=0,$raw:g}of f){const{hmin:x,hmax:b,vmin:C,vmax:k}=t.coord2pos({xmin:h,xmax:m,ymin:y,ymax:w}),R=new Path2D;R.rect(x+E,C+$,b-x,k-C),u.set(R,g),s.lineWidth=A,s.globalAlpha=j,s.setLineDash(Vt(M)),p!=="none"&&(s.fillStyle=p,s.fill(R)),S!=null&&(s.strokeStyle=S,s.stroke(R))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,w=(h.clientY-m.top)*a.height/m.height;for(const[p,S]of d)if(s.isPointInPath(p,y,w)){r(f,h,t.getCoord(h),S),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},nG={__name:"CoreCanvasText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:m,color:y,size:w=4,label:p="",title:S,stroke:A,linewidth:M,linetype:j,alpha:E,"anchor-x":$,"anchor-y":g,"dock-x":x,"dock-y":b,"translate-x":C=0,"translate-y":k=0,angle:R,"text-length":V,"font-family":K="sans-serif",$raw:U}of f){s.save();const{h:F,v:D}=t.coord2pos({x:h,y:m});s.textAlign="center",s.textBaseline="middle",s.lineWidth=M,s.globalAlpha=E,s.font=`${w*4}px ${K}`,s.setLineDash(Vt(j)),s.translate(F+C,D+k);let{width:H,fontBoundingBoxAscent:z,fontBoundingBoxDescent:tt}=s.measureText(p),_=H,Z=z+tt;if(typeof V=="object"){let{x:J=0,y:st=0}=V,{h:ot,v:vt}=t.coord2pos({x:h+J/2,y:m+st/2}),{h:Rt,v:_t}=t.coord2pos({x:h-J/2,y:m-st/2});_=Math.hypot(ot-Rt||0,vt-_t||0)}else V!=null&&(_=V);if(x!=null||b!=null){let J={left:0,center:.5,right:1}[x]??+(x??.5),st={bottom:0,center:.5,top:1}[b]??+(b??.5);isNaN(J)&&(J=.5),isNaN(st)&&(st=.5);let ot=_*Math.abs(Math.cos(R*Math.PI/180))+Z*Math.abs(Math.sin(R*Math.PI/180)),vt=_*Math.abs(Math.sin(R*Math.PI/180))+Z*Math.abs(Math.cos(R*Math.PI/180));s.translate(ot*(.5-J),vt*(st-.5)),s.rotate(R*Math.PI/180)}else{let J={left:0,center:.5,right:1}[$]??+($??.5),st={bottom:0,center:.5,top:1}[g]??+(g??.5);isNaN(J)&&(J=.5),isNaN(st)&&(st=.5);let ot=_,vt=Z;s.rotate(R*Math.PI/180),s.translate(ot*(.5-J),vt*(st-.5))}_!=H&&s.scale(_/H,1),y!=="none"&&(s.fillStyle=y,s.fillText(p,0,0)),A!=null&&(s.strokeStyle=A,s.strokeText(p,0,0)),s.restore()}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,w=(h.clientY-m.top)*a.height/m.height;for(const[p,S]of d)if(s.isPointInPath(p,y,w)){r(f,h,t.getCoord(h),S),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},iG={__name:"CoreCanvasTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:m,xend:y,y:w,yend:p,size:S=4,label:A="",title:M,color:j,stroke:E,linewidth:$,linetype:g,alpha:x,"translate-x":b=0,"translate-y":C=0,"text-length":k,"font-family":R="sans-serif","text-align":V="justify",angle:K="auto",inset:U=0,$raw:F}of h){const{h:D,v:H}=t.coord2pos({x:m,y:w}),{h:z,v:tt}=t.coord2pos({x:y,y:p});if(u.save(),u.translate(b,C),u.textBaseline="middle",u.lineWidth=$,u.globalAlpha=x,u.font=`${S*4}px ${R}`,u.setLineDash(Vt(g)),["stretch","pre","start","center","end","post"].includes(V)){let _=Math.atan2(tt-H,z-D),Z=String(A).replace(/\x01|\x02/g,""),J=Math.cos(_)*U,st=Math.sin(_)*U;switch(V){case"stretch":case"center":u.translate((D+z)/2,(H+tt)/2),u.textAlign="center";break;case"pre":u.translate(D-J,H-st),u.textAlign="end";break;case"start":u.translate(D+J,H+st),u.textAlign="start";break;case"end":u.translate(z-J,tt-st),u.textAlign="end";break;case"post":u.translate(z+J,tt+st),u.textAlign="start";break}u.rotate(_),V==="stretch"&&u.scale(Math.hypot(z-D||0,tt-H||0)/u.measureText(Z).width,1),j!=="none"&&(u.fillStyle=j,u.fillText(Z,0,0)),E!=null&&(u.strokeStyle=E,u.strokeText(Z,0,0))}else{let _=K==="auto"?Math.atan2(tt-H,z-D):K*Math.PI/180;u.textAlign="center";let Z=a(String(A)),J=(z-D)/(Z.length-1||1),st=(tt-H)/(Z.length-1||1);for(let ot=0;ot<Z.length;ot++){u.save(),u.translate(D+ot*J,H+ot*st),u.rotate(_);let vt=Z[ot];j!=="none"&&(u.fillStyle=j,u.fillText(vt,0,0)),E!=null&&(u.strokeStyle=E,u.strokeText(vt,0,0)),u.restore()}}u.restore()}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),w=(m.clientX-y.left)*s.width/y.width,p=(m.clientY-y.top)*s.height/y.height;for(const[S,A]of f)if(u.isPointInPath(S,w,p)){r(h,m,t.getCoord(m),A),m._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});function a(s){let u=[];for(let d=0;d<s.length;d++)if(s[d]==""){let f=d+1;for(;f<s.length&&s[f]!="";)f++;u.push(s.slice(d+1,f)),d=f}else u.push(s[d]);return u}return(s,u)=>(O(),B("foreignObject",Q(o.value,{ref:"container"}),null,16))}},rG=Object.freeze(Object.defineProperty({__proto__:null,boxplot:QU,curve:JU,ellipse:_U,line:bo,point:tG,polygon:eG,rect:wo,stick:bo,text:nG,textsegment:iG,tile:wo},Symbol.toStringTag,{value:"Module"})),oG={__name:"CoreSvgBlank",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup"],setup(t,{emit:e}){return(n,i)=>(O(),B("g"))}},sG={key:0},Bn={__name:"CoreTile",props:{x:{type:Number,default:0},y:{type:Number,default:0},width:{type:Number,default:0},height:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x:t.x-t.width/2,y:t.y-t.height/2,width:t.width,height:t.height,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),B("rect",oe(g1(e.value)),[t.title?(O(),B("title",sG,Bt(t.title),1)):Lt("",!0)],16))}},lG={key:0},aG={key:0},Ri={__name:"CorePoint",props:{x:{type:Number,default:0},y:{type:Number,default:0},shape:String,size:{type:Number,default:6},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e={circle:"M0-0.5A0.5,0.5,0,1,1,0,0.5A0.5,0.5,0,1,1,0-0.5Z",square:"M-0.5-0.5H0.5V0.5H-0.5Z",triangle:"M0-0.667L0.577,0.333L-0.577,0.333Z",diamond:"M0-0.707L0.707,0L0,0.707L-0.707,0Z",plus:"M-0.1-0.5V-0.1H-0.5V0.1H-0.1V0.5H0.1V0.1H0.5V-0.1H0.1V-0.5H-0.1Z",cross:"M-0.283-0.424L-0.424-0.283L-0.141,0L-0.424,0.283L-0.283,0.424L0,0.141L0.283,0.424L0.424,0.283L0.141,0L0.424,-0.283L0.283,-0.424L0,-0.141Z"},n=X(()=>{let i=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],r={color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null};if(i!=null){let o=[],l=t.x+t.translateX,c=t.y+t.translateY;(l!==0||c!==0)&&o.push(`translate(${l},${c})`),t.size!=1&&o.push(`scale(${t.size})`),t.angle&&o.push(`rotate(${t.angle})`),Object.assign(r,{d:i,transform:o.join(" ")||null})}else{let o=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(r,{cx:t.x,cy:t.y,r:t.size/2,transform:o})}return r});return(i,r)=>n.value.d?(O(),B("path",oe(Q({key:0},n.value)),[t.title?(O(),B("title",lG,Bt(t.title),1)):Lt("",!0)],16)):(O(),B("circle",oe(Q({key:1},n.value)),[t.title?(O(),B("title",aG,Bt(t.title),1)):Lt("",!0)],16))}},cG={key:0},r1={__name:"CoreLine",props:{x1:{type:Number,default:0},y1:{type:Number,default:0},x2:{type:Number,default:0},y2:{type:Number,default:0},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,color:t.color||null,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),B("line",oe(g1(e.value)),[t.title?(O(),B("title",cG,Bt(t.title),1)):Lt("",!0)],16))}},uG={__name:"CoreSvgBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xmin:d,xmax:f,y:h,ymin:m,ymax:y,lwisker:w,Q1:p,median:S,Q3:A,uwisker:M,outliers:j,$xmin:E,$xmax:$,$ymin:g,$ymax:x,fill:b="white",color:C="black",linewidth:k,linetype:R,alpha:V,title:K,"translate-x":U=0,"translate-y":F=0,class:D,style:H,$raw:z})=>{const{hmin:tt,hmax:_,vmin:Z,vmax:J}=t.coord2pos({xmin:E,xmax:$,ymin:g,ymax:x});if(tt<o&&_<o||tt>l&&_>l||Z<c&&J<c||Z>a&&J>a)return null;const{hmin:st,hmax:ot,vmin:vt,vmax:Rt}=t.coord2pos(u==null?{ymin:m,ymax:y,xmin:p,xmax:A}:{xmin:d,xmax:f,ymin:p,ymax:A}),{h:_t,v:te}=t.coord2pos(u==null?{y:h,x:w}:{x:u,y:w}),{h:ve,v:L}=t.coord2pos(u==null?{y:h,x:M}:{x:u,y:M}),{h:P,v:q}=t.coord2pos(u==null?{y:m,x:S}:{x:d,y:S}),{h:Y,v}=t.coord2pos(u==null?{y,x:S}:{x:f,y:S}),{h:N,v:T}=t.coord2pos(u==null?{y:m*.25+y*.75,x:M}:{x:d*.25+f*.75,y:M}),{h:I,v:G}=t.coord2pos(u==null?{y:m*.75+y*.25,x:M}:{x:d*.75+f*.25,y:M}),{h:et,v:at}=t.coord2pos(u==null?{y:m*.25+y*.75,x:w}:{x:d*.25+f*.75,y:w}),{h:it,v:wt}=t.coord2pos(u==null?{y:m*.75+y*.25,x:w}:{x:d*.75+f*.25,y:w});let kt={rect:{x:(st+ot)/2,width:ot-st,y:(vt+Rt)/2,height:Rt-vt,fill:b,color:C,linetype:R,linewidth:k,alpha:V,title:K,translateX:U,translateY:F,class:D,style:H},line:{x1:_t,y1:te,x2:ve,y2:L,color:C,linetype:R,linewidth:k,alpha:V,translateX:U,translateY:F,class:D,style:H},midline:{x1:P,y1:q,x2:Y,y2:v,color:C,linetype:R,linewidth:(k??1)*2,alpha:V,translateX:U,translateY:F,class:D,style:H},uwisker:{x1:N,y1:T,x2:I,y2:G,color:C,linetype:R,linewidth:k,alpha:V,translateX:U,translateY:F,class:D,style:H},lwisker:{x1:et,y1:at,x2:it,y2:wt,color:C,linetype:R,linewidth:k,alpha:V,translateX:U,translateY:F,class:D,style:H},outliers:j?.map(({x:ct,y:nt,$raw:rt})=>{const{h:W,v:pt}=t.coord2pos({x:ct,y:nt});let mt={x:W,y:pt,shape:"circle",size:4,color:C,alpha:V,translateX:U,translateY:F,class:D,style:H},Yt=Object.fromEntries(n.map(Ht=>[Ht,he=>i(Ht,he,rt)]));return[mt,Yt]})},ht=Object.fromEntries(n.map(ct=>[ct,nt=>i(ct,Object.assign(nt,{_vhandled:!0}),t.getCoord(nt),z)]));return[kt,ht]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),B("g",null,[$e(r1,Q({ref_for:!0},a.line),null,16),l[0]||(l[0]=dt()),$e(Bn,Q({ref_for:!0},a.rect,Gt(s)),null,16),l[1]||(l[1]=dt()),$e(r1,Q({ref_for:!0},a.midline),null,16),l[2]||(l[2]=dt()),$e(r1,Q({ref_for:!0},a.uwisker),null,16),l[3]||(l[3]=dt()),$e(r1,Q({ref_for:!0},a.lwisker),null,16),l[4]||(l[4]=dt()),(O(!0),B(lt,null,ut(a.outliers,([u,d])=>(O(),xt(Ri,Q({ref_for:!0},u,Gt(d)),null,16))),256))]))),256))],16))),256))]))}},hG={key:0},cl={__name:"CoreCurve",props:{points:{type:Array,default:()=>[]},interpolate:{default:"natural"},fill:{type:String,default:"none"},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let i=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??xn;return{d:c9().curve(i)(t.points.map(r=>[r.x,r.y])),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:Ts,catmullRom:Es,linear:Bi,natural:xn};return(i,r)=>(O(),B("path",oe(g1(e.value)),[t.title?(O(),B("title",hG,Bt(t.title),1)):Lt("",!0)],16))}},fG={__name:"CoreSvgCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d="none",color:f="black",linewidth:h,linetype:m,alpha:y,title:w,"translate-x":p=0,"translate-y":S=0,class:A,style:M,$raw:j,interpolate:E})=>{if(u=u.map(x=>(({h:b,v:C})=>({x:b,y:C}))(t.coord2pos(x))),u.every(x=>x.x<o)||u.every(x=>x.x>l)||u.every(x=>x.y<c)||u.every(x=>x.y>a))return null;let $={points:u,fill:d,color:f,linetype:m,linewidth:h,alpha:y,title:w,translateX:p,translateY:S,class:A,style:M,interpolate:E},g=Object.fromEntries(n.map(x=>[x,b=>i(x,Object.assign(b,{_vhandled:!0}),t.getCoord(b),j)]));return[$,g]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(cl,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},dG={key:0},mG={__name:"CoreEllipse",props:{cx:{type:Number,default:0},cy:{type:Number,default:0},rx:{type:Number,default:0},ry:{type:Number,default:0},angle:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let n=[];return(t.translateX||t.translateY)&&n.push(`translate(${t.translateX}, ${t.translateY})`),t.angle&&n.push(`rotate(${t.angle})`),{cx:t.cx,cy:t.cy,rx:t.rx,ry:t.ry,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(O(),B("ellipse",oe(g1(e.value)),[t.title?(O(),B("title",dG,Bt(t.title),1)):Lt("",!0)],16))}},gG={__name:"CoreSvgEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({cx:u,cy:d,A:f,B:h,C:m,fill:y="none",color:w="black",linewidth:p,linetype:S,alpha:A,title:M,"translate-x":j=0,"translate-y":E=0,class:$,style:g,$raw:x})=>{let b=Math.sqrt(m/(f*m-h*h)),C=Math.sqrt(f/(f*m-h*h));const{h:k,v:R}=t.coord2pos({x:u,y:d});let{hmin:V,hmax:K,vmin:U,vmax:F}=t.coord2pos({xmin:u-b,xmax:u+b,ymin:d-C,ymax:d+C});if(K<o||V>l||F<c||U>a)return null;let D=(K-V)/(2*b),H=(F-U)/(2*C);f/=D*D,h/=D*H,m/=H*H;const z=f+m,tt=f*m-h*h,_=Math.sqrt(Math.max(0,z*z/4-tt));let Z={cx:k,cy:R,rx:1/Math.sqrt(z/2+_)||0,ry:1/Math.sqrt(z/2-_)||0,angle:-Math.atan2(2*h,f-m)/2*180/Math.PI||0,fill:y,color:w,linetype:S,linewidth:p,alpha:A,title:M,translateX:j,translateY:E,class:$,style:g},J=Object.fromEntries(n.map(st=>[st,ot=>i(st,Object.assign(ot,{_vhandled:!0}),t.getCoord(ot),x)]));return[Z,J]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(mG,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},ko={__name:"CoreSvgLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,xend:f,yend:h,color:m="black",linewidth:y,linetype:w,alpha:p,title:S,"translate-x":A=0,"translate-y":M=0,class:j,style:E,$raw:$})=>{const{h:g,v:x}=t.coord2pos({x:u,y:d}),{h:b,v:C}=t.coord2pos({x:f,y:h});if(g<o&&b<o||g>l&&b>l||x<c&&C<c||x>a&&C>a)return null;let k={x1:g,x2:b,y1:x,y2:C,color:m,linetype:w,linewidth:y,alpha:p,title:S,translateX:A,translateY:M,class:j,style:E},R=Object.fromEntries(n.map(V=>[V,K=>i(V,Object.assign(K,{_vhandled:!0}),t.getCoord(K),$)]));return[k,R]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(r1,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},yG={__name:"CoreSvgMarkdown",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:w,linewidth:p,linetype:S,alpha:A,"anchor-x":M,"anchor-y":j,"dock-x":E,"dock-y":$,"translate-x":g=0,"translate-y":x=0,angle:b,"text-length":C,"font-family":k="sans-serif","text-anchor":R,class:V,style:K,$raw:U})=>{if(h==null)return null;const{h:F,v:D}=t.coord2pos({x:u,y:d});if(F<o||F>l||D<c||D>a)return null;if(typeof C=="object"){let{x:tt=0,y:_=0}=C,{h:Z,v:J}=t.coord2pos({x:u+tt/2,y:d+_/2}),{h:st,v:ot}=t.coord2pos({x:u-tt/2,y:d-_/2});C=Math.hypot(Z-st||0,J-ot||0)}let H={x:F,y:D,text:String(h),title:String(m??h),size:f,color:y,stroke:w,linetype:S,linewidth:p,alpha:A,angle:b,translateX:g,translateY:x,class:V,style:K,anchorX:M,anchorY:j,dockX:E,dockY:$,textLength:C,fontFamily:k,textAnchor:R},z=Object.fromEntries(n.map(tt=>[tt,_=>i(tt,Object.assign(_,{_vhandled:!0}),t.getCoord(_),U)]));return[H,z]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(O1,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},vG={__name:"CoreSvgMarkdownsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let c=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,s=-t.layout.fullHeight*t.extendY-t.layout.t,u=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(d=>d.map(({x:f,xend:h,y:m,yend:y,size:w=4,label:p,title:S,color:A,stroke:M,linewidth:j,linetype:E,alpha:$,"translate-x":g=0,"translate-y":x=0,"font-family":b="sans-serif","text-align":C="start",inset:k=0,class:R,style:V,$raw:K})=>{if(p==null)return null;const{h:U,v:F}=t.coord2pos({x:f,y:m}),{h:D,v:H}=t.coord2pos({x:h,y});if(U<c&&D<c||U>a&&D>a||F<s&&H<s||F>u&&H>u)return null;let z=Math.atan2(H-F,D-U),tt={color:A||null,fill:A||null,"fill-opacity":$==1?null:$,"font-size":w*4,stroke:M||null,"stroke-width":j,"stroke-dasharray":Vt(E).join(" ")||null,"stroke-opacity":$==1?null:$,"font-family":b,class:R,style:V},_=Object.fromEntries(n.map(vt=>[vt,Rt=>i(vt,Object.assign(Rt,{_vhandled:!0}),t.getCoord(Rt),K)])),Z,J,st=l(String(p));switch(C){case"stretch":Z=(U+D)/2,J=(F+H)/2,tt["text-anchor"]="middle",tt.textLength=Math.hypot(D-U||0,H-F||0),tt.lengthAdjust="spacingAndGlyphs";break;case"center":Z=(U+D)/2,J=(F+H)/2,tt["text-anchor"]="middle";break;case"pre":Z=U,J=F,g-=Math.cos(z)*k,x-=Math.sin(z)*k,tt["text-anchor"]="end";break;case"end":Z=D,J=H,g-=Math.cos(z)*k,x-=Math.sin(z)*k,tt["text-anchor"]="end";break;case"post":Z=D,J=H,g+=Math.cos(z)*k,x+=Math.sin(z)*k,tt["text-anchor"]="start";break;default:Z=U,J=F,g+=Math.cos(z)*k,x+=Math.sin(z)*k,tt["text-anchor"]="start"}let ot=[];return(g||x)&&ot.push(`translate(${g}, ${x})`),z&&ot.push(`rotate(${z*180/Math.PI})`),Object.assign(tt,{x:Z,y:J,"dominant-baseline":"central","transform-origin":`${Z} ${J}`,transform:ot.join(" ")||null}),[tt,_,st,String(S??String(p).replace(/\x01|\x02/g,""))]}).filter(f=>f!=null))}),o=new ll;function l(c){const a=o.parse(c).walker(),s=[];let u=[],d=[1],f=0,h;for(;h=a.next();){let{node:{type:m,literal:y},entering:w}=h,p=d.at(-1);if(w){if(m==="text"||m==="code"){const S=Object.assign({dy:Te(f||null,"em")},...u,{"font-family":m==="code"?"monospace":null,"font-size":p===1?null:`${p}em`});f=0,s.push({text:y,vbind:S})}else if(m==="strong")u.push({"font-weight":"bold"});else if(m==="emph")u.push({"font-style":"italic"});else if(m==="softbreak"||m==="paragraph")s.push({text:" "});else if(m==="html_inline"){const S=y;if(S.includes("color=")){const A=S.match(/color=(['"])(.*?)\1/i)?.[2]??S.match(/color=(\S*)/)?.[1];A&&u.push({fill:A})}else S.includes("</font>")?u.pop():S.includes("<sup>")?(f-=.4*p,d.push(p*.7)):S.includes("</sup>")?(f+=.4*d.at(-1),d.pop()):S.includes("<sub>")?(f+=.25*p,d.push(p*.7)):S.includes("</sub>")&&(f-=.25*d.at(-1),d.pop())}}else["strong","emph"].includes(m)&&u.pop()}return s}return(c,a)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,s=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(s,([u,d,f,h])=>(O(),B("text",Q({ref_for:!0},u,Gt(d,!0)),[At("title",null,Bt(h),1),a[0]||(a[0]=dt()),(O(!0),B(lt,null,ut(f,m=>(O(),B("tspan",Q({ref_for:!0},m.vbind),Bt(m.text),17))),256))],16))),256))],16))),256))]))}},pG={__name:"CoreSvgPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,shape:f,size:h=6,color:m,stroke:y,linetype:w,linewidth:p,alpha:S,title:A,"translate-x":M=0,"translate-y":j=0,angle:E,class:$,style:g,$raw:x})=>{const{h:b,v:C}=t.coord2pos({x:u,y:d});if(b<o||b>l||C<c||C>a)return null;let k={x:b,y:C,shape:f,size:h,color:m,stroke:y,linetype:w,linewidth:p,alpha:S,title:A,angle:E,translateX:M,translateY:j,class:$,style:g},R=Object.fromEntries(n.map(V=>[V,K=>i(V,Object.assign(K,{_vhandled:!0}),t.getCoord(K),x)]));return[k,R]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(Ri,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},xG={key:0},ul={__name:"CorePolygon",props:{points:{type:Array,default:()=>[]},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({points:t.points.map(n=>`${n.x},${n.y}`).join(" "),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),B("polygon",oe(g1(e.value)),[t.title?(O(),B("title",xG,Bt(t.title),1)):Lt("",!0)],16))}},bG={__name:"CoreSvgPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:w,"translate-x":p=0,"translate-y":S=0,class:A,style:M,$raw:j})=>{if(u=u.map(g=>(({h:x,v:b})=>({x,y:b}))(t.coord2pos(g))),u.every(g=>g.x<o)||u.every(g=>g.x>l)||u.every(g=>g.y<c)||u.every(g=>g.y>a))return null;let E={points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:w,translateX:p,translateY:S,class:A,style:M},$=Object.fromEntries(n.map(g=>[g,x=>i(g,Object.assign(x,{_vhandled:!0}),t.getCoord(x),j)]));return[E,$]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(ul,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},Ao={__name:"CoreSvgRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({xmin:u,xmax:d,ymin:f,ymax:h,fill:m="black",color:y,linewidth:w,linetype:p,alpha:S,title:A,"translate-x":M=0,"translate-y":j=0,class:E,style:$,$raw:g})=>{const{hmin:x,hmax:b,vmin:C,vmax:k}=t.coord2pos({xmin:u,xmax:d,ymin:f,ymax:h});if(x<o&&b<o||x>l&&b>l||C<c&&k<c||C>a&&k>a)return null;let R={x:(x+b)/2,width:b-x,y:(C+k)/2,height:k-C,fill:m,color:y,linetype:p,linewidth:w,alpha:S,title:A,translateX:M,translateY:j,class:E,style:$},V=Object.fromEntries(n.map(K=>[K,U=>i(K,Object.assign(U,{_vhandled:!0}),t.getCoord(U),g)]));return[R,V]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(Bn,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},wG={__name:"CoreSvgText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:w,linewidth:p,linetype:S,alpha:A,"anchor-x":M,"anchor-y":j,"dock-x":E,"dock-y":$,"translate-x":g=0,"translate-y":x=0,angle:b,"text-length":C,"font-family":k,"text-anchor":R,class:V,style:K,$raw:U})=>{if(h==null)return null;const{h:F,v:D}=t.coord2pos({x:u,y:d});if(F<o||F>l||D<c||D>a)return null;if(typeof C=="object"){let{x:tt=0,y:_=0}=C,{h:Z,v:J}=t.coord2pos({x:u+tt/2,y:d+_/2}),{h:st,v:ot}=t.coord2pos({x:u-tt/2,y:d-_/2});C=Math.hypot(Z-st||0,J-ot||0)}let H={x:F,y:D,text:String(h),title:String(m??h),size:f,color:y,stroke:w,linetype:S,linewidth:p,alpha:A,angle:b,translateX:g,translateY:x,class:V,style:K,anchorX:M,anchorY:j,dockX:E,dockY:$,textLength:C,fontFamily:k,textAnchor:R},z=Object.fromEntries(n.map(tt=>[tt,_=>i(tt,Object.assign(_,{_vhandled:!0}),t.getCoord(_),U)]));return[H,z]}).filter(u=>u!=null))});return(o,l)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,c=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(c,([a,s])=>(O(),xt(m1,Q({ref_for:!0},a,Gt(s)),null,16))),256))],16))),256))]))}},kG={__name:"CoreSvgTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let l=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,a=-t.layout.fullHeight*t.extendY-t.layout.t,s=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(u=>u.map(({x:d,xend:f,y:h,yend:m,size:y=4,label:w,title:p,color:S,stroke:A,linewidth:M,linetype:j,alpha:E,"translate-x":$=0,"translate-y":g=0,"font-family":x="sans-serif","text-align":b="justify",angle:C="auto",inset:k=0,class:R,style:V,$raw:K})=>{if(w==null)return null;const{h:U,v:F}=t.coord2pos({x:d,y:h}),{h:D,v:H}=t.coord2pos({x:f,y:m});if(U<l&&D<l||U>c&&D>c||F<a&&H<a||F>s&&H>s)return null;let z={color:S||null,fill:S||null,"fill-opacity":E==1?null:E,"font-size":y*4,stroke:A||null,"stroke-width":M,"stroke-dasharray":Vt(j).join(" ")||null,"stroke-opacity":E==1?null:E,"font-family":x,class:R,style:V},tt=Object.fromEntries(n.map(_=>[_,Z=>i(_,Object.assign(Z,{_vhandled:!0}),t.getCoord(Z),K)]));if(["stretch","pre","start","center","end","post"].includes(b)){let _=Math.atan2(H-F,D-U),Z,J,st=String(w).replace(/\x01|\x02/g,""),ot=Math.cos(_)*k,vt=Math.sin(_)*k;switch(b){case"stretch":Z=(U+D)/2,J=(F+H)/2,z["text-anchor"]="middle",z.textLength=Math.hypot(D-U||0,H-F||0),z.lengthAdjust="spacingAndGlyphs";break;case"center":Z=(U+D)/2,J=(F+H)/2,z["text-anchor"]="middle";break;case"pre":Z=U,J=F,$-=ot,g-=vt,z["text-anchor"]="end";break;case"start":Z=U,J=F,$+=ot,g+=vt,z["text-anchor"]="start";break;case"end":Z=D,J=H,$-=ot,g-=vt,z["text-anchor"]="end";break;case"post":Z=D,J=H,$+=ot,g+=vt,z["text-anchor"]="start";break}let Rt=[];return($||g)&&Rt.push(`translate(${$}, ${g})`),_&&Rt.push(`rotate(${_*180/Math.PI})`),Object.assign(z,{x:Z,y:J,"dominant-baseline":"central","transform-origin":`${Z} ${J}`,transform:Rt.join(" ")||null}),[z,tt,st,String(p??String(w).replace(/\x01|\x02/g,""))]}else{C==="auto"&&(C=Math.atan2(H-F,D-U)*180/Math.PI);let _=o(String(w)),Z=(D-U)/(_.length-1||1),J=(H-F)/(_.length-1||1),st=_.map((ot,vt)=>[{x:U+vt*Z,y:F+vt*J,"text-anchor":"middle","dominant-baseline":"central",rotate:C},ot]);return($||g)&&(z.transform=`translate(${$}, ${g})`),[z,tt,st,String(p??String(w).replace(/\x01|\x02/g,""))]}}).filter(d=>d!=null))});function o(l){let c=[];for(let a=0;a<l.length;a++)if(l[a]==""){let s=a+1;for(;s<l.length&&l[s]!="";)s++;c.push(l.slice(a+1,s)),a=s}else c.push(l[a]);return c}return(l,c)=>(O(),B("g",null,[(O(!0),B(lt,null,ut(r.value,a=>(O(),B("g",Q({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),B(lt,null,ut(a,([s,u,d,f])=>(O(),B("text",Q({ref_for:!0},s,Gt(u,!0)),[At("title",null,Bt(f),1),c[0]||(c[0]=dt()),typeof d=="string"?(O(),B(lt,{key:0},[dt(Bt(d.replace(/ /g,"\xA0")),1)],64)):(O(!0),B(lt,{key:1},ut(d,([h,m])=>(O(),B(lt,null,[m?(O(),B("tspan",Q({key:0,ref_for:!0},h),Bt(m),17)):Lt("",!0)],64))),256))],16))),256))],16))),256))]))}},AG=Object.freeze(Object.defineProperty({__proto__:null,blank:oG,boxplot:uG,curve:fG,ellipse:gG,line:ko,markdown:yG,markdownsegment:vG,point:pG,polygon:bG,rect:Ao,stick:ko,text:wG,textsegment:kG,tile:Ao},Symbol.toStringTag,{value:"Module"})),SG={__name:"CoreLayer",props:{data:Object,geom:String,render:String,defaultRender:{type:String,default:"auto"},dpi:Number,defaultDpi:Number},setup(t,{expose:e}){const n={svg:AG,canvas:rG},i=X(()=>{let c=t.render??t.defaultRender;return c=="auto"?t.data.map(s=>s.length).reduce((s,u)=>s+u,0)>1e3?"canvas":"svg":n[c][t.geom]!=null?c:"svg"}),r=Dt("layer"),o=X(()=>i.value=="canvas"?"pointer-events: none;":"");e({render:i,dispatchEvent:c=>r.value?.dispatchEvent?.(c)});const l=X(()=>i.value==="canvas"?t.dpi??t.defaultDpi:void 0);return(c,a)=>(O(),xt(c1(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:j1(o.value),data:t.data,dpi:l.value},null,8,["style","data","dpi"]))}},CG={key:0},NG=["onPointerdown"],So={__name:"CoreSelection",props:u1({coord2pos:Function,pos2coord:Function,layout:Object,theme:Object,flip:Boolean,move:Boolean,resize:Boolean,dismissible:Boolean,xmin:Number,xmax:Number,ymin:Number,ymax:Number,x:Boolean,y:Boolean,minRangeX:Number,minRangeY:Number,ctrlKey:Boolean,shiftKey:Boolean,altKey:Boolean,metaKey:Boolean,buttons:Number,activeTransform:Object,transition:String},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:u1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=ke(t,"modelValue"),i=$o(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function r({xmin:f,xmax:h,ymin:m,ymax:y,xreverse:w=!1,yreverse:p=!1}={}){if([f,h,m,y].every(A=>A==null))return null;f!=null&&h!=null&&f>h&&([f,h,w]=[h,f,!w]),m!=null&&y!=null&&m>y&&([m,y,p]=[y,m,!p]);let S={xreverse:w,yreverse:p};return f!=null&&isFinite(f)&&(S.xmin=f),h!=null&&isFinite(h)&&(S.xmax=h),m!=null&&isFinite(m)&&(S.ymin=m),y!=null&&isFinite(y)&&(S.ymax=y),S}const o=X(()=>{if(n.value==null||n.value.hidden)return null;let f=r(n.value);if(f==null)return null;let{hmin:h,hmax:m,vmin:y,vmax:w}=t.coord2pos(f,{limited:!0}),p=t.coord2pos(f);return{hmin:h,hmax:m,vmin:y,vmax:w,pos:p}}),l=X(()=>{if(!o.value)return null;let{translateH:f,translateV:h,scaleH:m,scaleV:y}=t.activeTransform,{hmin:w,hmax:p,vmin:S,vmax:A,pos:M}=o.value,j=p-w,E=A-S,$=t.layout.left,g=t.layout.top,x=1,b=1;if(M.hmin!=null&&M.hmax!=null)$+=f,x=m;else if(M.hmin!=null){let k=f+w*(m-1);x=1-k/j,$+=k*(1+w/j)}else if(M.hmax!=null){let k=f+p*(m-1);x=1+k/j,$+=k*(1-p/j)}if(M.vmin!=null&&M.vmax!=null)g+=t.activeTransform.translateV,b=t.activeTransform.scaleV;else if(M.vmin!=null){let k=h+S*(y-1);b=1-k/E,g+=k*(1+S/E)}else if(M.vmax!=null){let k=h+A*(y-1);b=1+k/E,g+=k*(1-A/E)}let C=[];return($!=0||g!=0)&&C.push(`translate(${$}, ${g})`),(x!=1||b!=1)&&C.push(`scale(${x}, ${b})`),C.join(" ")||null}),c=X(()=>t.activeTransform.translateH!=0||t.activeTransform.translateV!=0||t.activeTransform.scaleH!=1||t.activeTransform.scaleV!=1),a=X(()=>{if(!o.value)return null;let{hmin:f,hmax:h,vmin:m,vmax:y,pos:w}=o.value,p=t.theme?.line_width??1;w.hmin==null&&(f-=p/2),w.hmax==null&&(h+=p/2),w.vmin==null&&(m-=p/2),w.vmax==null&&(y+=p/2);let S=h-f,A=y-m;return{x:f,y:m,width:S,height:A,fill:t.theme?.background??"transparent","fill-opacity":t.theme?.opacity,stroke:t.theme?.line_color??"none","stroke-width":t.theme?.line_width,"stroke-opacity":t.theme?.opacity,transform:l.value,style:{transition:t.transition,"pointer-events":"none"}}}),s=X(()=>{if(!o.value||c.value)return null;let f=10,{hmin:h,hmax:m,vmin:y,vmax:w,pos:p}=o.value,S=m-h,A=w-y,M={};i.move&&(M.tblr={x:h,y,width:S,height:A,fill:"transparent",style:"cursor:move;"}),i.resize&&(p.hmin!=null&&(M.l={x:h-f/2,y,width:f,height:A,style:"cursor:ew-resize;",class:"vvplot-interactive"}),p.hmax!=null&&(M.r={x:m-f/2,y,width:f,height:A,style:"cursor:ew-resize;"}),p.vmin!=null&&(M.t={x:h,y:y-f/2,width:S,height:f,style:"cursor:ns-resize;"}),p.vmax!=null&&(M.b={x:h,y:w-f/2,width:S,height:f,style:"cursor:ns-resize;"}),p.hmin!=null&&p.vmin!=null&&(M.tl={x:h-f/2,y:y-f/2,width:f,height:f,style:"cursor:nwse-resize;"}),p.hmax!=null&&p.vmin!=null&&(M.tr={x:m-f/2,y:y-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),p.hmin!=null&&p.vmax!=null&&(M.bl={x:h-f/2,y:w-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),p.hmax!=null&&p.vmax!=null&&(M.br={x:m-f/2,y:w-f/2,width:f,height:f,style:"cursor:nwse-resize;"}));let j=t.layout.left,E=t.layout.top;if(j||E)for(let $ in M)M[$].transform=`translate(${j}, ${E})`;return M}),u=e;function d(f,h){if(!h||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(J=>i[J]==f[J]))return;f.stopPropagation(),f.preventDefault(),f.target.setPointerCapture(f.pointerId);let{xreverse:m,yreverse:y,...w}=r(n.value),p=t.coord2pos(w),{h:S,v:A}=t.pos2coord({h:p.hmin,v:p.vmin}),{h:M,v:j}=t.pos2coord({h:p.hmax,v:p.vmax}),{hmin:E,hmax:$,vmin:g,vmax:x}=p,b=!1,C={min:i.xmin,max:i.xmax},k={min:i.ymin,max:i.ymax},[R=0,V=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],K=t.coord2pos(i),U=0,F=0,D,H,z,tt,_=!1,Z=!1;f.target.onpointermove=J=>{if(b=!0,U+=J.movementX,F+=J.movementY,h.includes("l")&&h.includes("r")){let st=yt(U,{min:K.hmin-E,max:K.hmax-$}),ot=t.pos2coord({hmin:ft(E,st),hmax:ft($,st)});S=ot.hmin,M=ot.hmax}else h.includes("l")?(S=t.pos2coord({h:E+U}).h,S=yt(S,S>M?{min:ft(M,R)}:{max:ft(M,-R)}),_=E+U>$):h.includes("r")&&(M=t.pos2coord({h:$+U}).h,M=yt(M,M>S?{min:ft(S,R)}:{max:ft(S,-R)}),_=$+U<E);if(h.includes("t")&&h.includes("b")){let st=yt(F,{min:K.vmin-g,max:K.vmax-x}),ot=t.pos2coord({vmin:ft(g,st),vmax:ft(x,st)});A=ot.vmin,j=ot.vmax}else h.includes("t")?(A=t.pos2coord({v:g+F}).v,A=yt(A,A>j?{min:ft(j,V)}:{max:ft(j,-V)}),Z=g+F>x):h.includes("b")&&(j=t.pos2coord({v:x+F}).v,j=yt(j,j>A?{min:ft(A,V)}:{max:ft(A,-V)}),Z=x+F<g);D=yt(t.flip?A:S,C),H=yt(t.flip?j:M,C),z=yt(t.flip?S:A,k),tt=yt(t.flip?M:j,k),D>H&&([D,H]=[H,D]),z>tt&&([z,tt]=[tt,z]),u("selecting",{xmin:D,xmax:H,ymin:z,ymax:tt},t.theme)},f.target.onpointerup=J=>{if(J.currentTarget.onpointerup=null,J.currentTarget.onpointermove=null,i.buttons&1&&(J.currentTarget.onclick=vt=>{vt.currentTarget.onclick=null,u("click",vt)}),i.buttons&2&&(J.currentTarget.oncontextmenu=vt=>{vt.currentTarget.onclick=null,u("contextmenu",vt)}),!b)return;let st={xmin:D,xmax:H,xreverse:!!(_^m),ymin:z,ymax:tt,yreverse:!!(Z^y)},ot=new PointerEvent("select",f);n.value=Ft(st),u("selectend"),u("select",Ft(st),ot)}}return(f,h)=>a.value?(O(),B("g",CG,[At("rect",oe(g1(a.value)),null,16),h[0]||(h[0]=dt()),(O(!0),B(lt,null,ut(s.value,(m,y)=>(O(),B("rect",Q({fill:"transparent"},{ref_for:!0},m,{onPointerdown:w=>d(w,y),class:"vvplot-interactive"}),null,16,NG))),256))])):Lt("",!0)}},MG=["height","width"],TG=["y1","y2"],$G=["y"],EG={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=X(()=>{let{min:o,max:l}=t.limits;return t.breaks.map(c=>({position:(c-o)/(l-o),label:String(c)}))}),n=X(()=>{let o=30,{min:l,max:c}=t.limits,a=(c-l)/(o-1),s=Array.from({length:o},(d,f)=>l+f*a),u=t.scales.map(d=>d(s));return s.map((d,f)=>Object.fromEntries(t.scales.map((h,m)=>[{color:"fill"}[h.aesthetics]??h.aesthetics,u[m][f]])))}),i=rn(0),r=Dt("svg");return St(e,async()=>{await Tn();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),B("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(O(!0),B(lt,null,ut(n.value,(c,a)=>(O(),xt(Bn,Q({width:10,height:3.1,x:10,y:10+(29-a+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},c),null,16,["y","alpha"]))),256)),l[1]||(l[1]=dt()),(O(!0),B(lt,null,ut(e.value,(c,a)=>(O(),B("g",null,[At("line",{x1:"15",x2:"18",y1:10+(1-c.position)*90,y2:10+(1-c.position)*90,stroke:"black"},null,8,TG),l[0]||(l[0]=dt()),At("text",{x:"20",y:10+(1-c.position)*90,"alignment-baseline":"central"},Bt(c.label),9,$G)]))),256))],8,MG))}},Co=Object.freeze(Object.defineProperty({__proto__:null,curve:cl,line:r1,point:Ri,polygon:ul,text:m1,tile:Bn},Symbol.toStringTag,{value:"Module"})),LG=["height","width"],OG=["transform"],jG={transform:"translate(10, 10)"},PG={x:"20",y:"10","alignment-baseline":"central"},DG={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=X(()=>{let o=t.scales.map(s=>s(t.breaks)),l=t.breaks.map((s,u)=>({bind:Object.fromEntries(t.scales.map((d,f)=>[d.aesthetics,o[f][u]])),label:String(s)})),c=la(l.map(s=>s.bind)),a=Map.groupBy(l.map(s=>s.label),(s,u)=>c.categories[c[u]]);return Array.from(a).map(([s,u])=>{let d={tile:{},line:{},point:{},text:{}};for(let f in d)for(let h of Object.keys(Co[f].props))s[h]&&(d[f][h]=s[h]);return{bind:d,label:u.join("; ")}})}),n=X(()=>{let{text:o,line:l,point:c,tile:a}=t.appearances,s={};return a!=null&&(s.tile={width:10,height:10,fill:"transparent",...a}),l!=null&&(s.line={x1:-5,x2:5,color:"black",...l}),c!=null&&(s.point={size:6,...c}),o!=null&&(s.text={size:4,text:"a",...o}),s}),i=rn(0),r=Dt("svg");return St(e,async()=>{await Tn();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),B("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(O(!0),B(lt,null,ut(e.value,(c,a)=>(O(),B("g",{transform:`translate(0, ${a*20})`},[At("g",jG,[(O(!0),B(lt,null,ut(n.value,(s,u)=>(O(),xt(c1(Co[u]),Q({ref_for:!0},{...s,...c.bind[u]}),null,16))),256))]),l[0]||(l[0]=dt()),At("text",PG,Bt(c.label),1)],8,OG))),256))],8,LG))}},qG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:DG,gradientbar:EG},n=X(()=>t.scales.reduce((o,[l])=>o??l.title,null)??t.scales.reduce((o,[l])=>o??l._title,null)),i=X(()=>{let o=t.scales.map(([c])=>c),l=o.find(c=>c.breaks!=null);return Array.isArray(l?.breaks)?Array.from(l.breaks):(l=o.find(c=>c.level!=null),l?.level?l.level.apply(Array.from(l.level)):(l=o.find(c=>c.limits!=null),Pn.number({minor:!0})(l.limits)))}),r=X(()=>{let o={scales:t.scales.map(([l])=>l)};if(t.type=="legendkey")o.appearances={tile:$t(...t.scales.flatMap(([l,c])=>[c.rect,c.tile,c.polygon,c.ellipse])),line:$t(...t.scales.flatMap(([l,c])=>[c.line,c.linerange,c.curve])),point:$t(...t.scales.flatMap(([l,c])=>[c.point])),text:$t(...t.scales.flatMap(([l,c])=>[c.text,c.markdown]))};else if(t.type=="gradientbar"){let l=t.scales.map(([a])=>a.limits?.max).filter(a=>a!=null).reduce((a,s)=>Math.min(a,s),1/0),c=t.scales.map(([a])=>a.limits?.min).filter(a=>a!=null).reduce((a,s)=>Math.max(a,s),-1/0);o.limits={min:c,max:l},o.appearance=$t(...t.scales.flatMap(([a,s])=>Object.values(s)))}return o});return(o,l)=>(O(),B(lt,null,[At("span",null,Bt(n.value),1),l[0]||(l[0]=dt()),(O(),xt(c1(e[t.type]),Q(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),BG={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=X(()=>{let i=new Map(Array.from(t.scales).filter(([s])=>s.legend!==!1&&s.limits?.min!=s.limits?.max)),r=Array.from(i.keys()),o=r.map(s=>s.key),l=1;for(let s=0;s<o.length;s++){for(;o.includes("_guide_"+l);)l++;o[s]??=o.find((u,d)=>o[d]!=null&&Xe.isEqual(r[d].level,r[s].level))??"_guide_"+l}let c=r.map(s=>n(s)),a=aa(o,c);return Map.groupBy(i,(s,u)=>a.categories[a[u]])});function n(i){return i==null?null:["gradientbar","legendkey"].includes(i.guide)?i.guide:i.level?"legendkey":["color","fill","alpha"].includes(i.aesthetics)?"gradientbar":"legendkey"}return(i,r)=>t.scales?(O(),B("div",{key:0,class:"vvplot-legend",style:j1({gap:t.theme.spacing+"px"})},[(O(!0),B(lt,null,ut(e.value,([[o,l],c])=>(O(),xt(qG,{key:o,type:l,scales:c},null,8,["type","scales"]))),128))],4)):Lt("",!0)}},VG=["id"],IG=["width","height"],RG=["transform","width","height","fill"],HG=["transform"],XG=["transform","clip-path"],YG=["transform"],zG=["clip-path"],FG={key:1},UG=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:u1({schema:Object,layers:Array,minRange:Object,expandAdd:Object,flip:Boolean,reverse:Object,paddings:Object,expandMult:Object,coordLevels:Object,levels:Object,scales:Object,axes:{type:Array,default:()=>[]},theme:Object,render:String,clip:Boolean,dpi:Number,action:{type:Array,default:()=>[]},selections:{type:Array,default:()=>[]},legendTeleport:null},{selectionPreview:{},selectionPreviewModifiers:{},selectionPreviewTheme:{},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{}}),emits:u1(["click","singleclick","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","select","move","zoom","rescale","nudge"],["update:selectionPreview","update:selectionPreviewTheme","update:transition"]),setup(t,{expose:e,emit:n}){const i=bl(),r=$o(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,l=C1("range"),c=C1("rangePreview"),a=ke(t,"selectionPreview"),s=ke(t,"selectionPreviewTheme");function u(L,P){a.value=L,s.value=P}const d=X(()=>Object.assign({},t.theme?.selection,s.value));function f(){a.value={}}const h=ke(t,"transition"),m=Dt("svg"),y=Dt("layers"),w=rn(0),p=rn(0);jo(m,L=>{let{width:P,height:q}=L[0].contentRect;w.value=P,p.value=q});const S=X(()=>new k9(t.schema,r.layers)),A=X(()=>S.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(l,t.expandAdd,r.minRange)),M=Ee(()=>{let L=Object.fromEntries(["left","right","top","bottom"].map(N=>[N,t.paddings[N]&&t.theme.plot.padding[N]||0])),P=+t.theme.plot.margin.left+L.left,q=+t.theme.plot.margin.right+L.right,Y=+t.theme.plot.margin.top+L.top,v=+t.theme.plot.margin.bottom+L.bottom;return Y+v>p.value&&(Y=p.value*(Y/(Y+v)),v=p.value-Y),P+q>w.value&&(P=w.value*(P/(P+q)),q=w.value-P),{l:P,r:q,t:Y,b:v,left:P,right:w.value-q,top:Y,bottom:p.value-v,width:w.value-P-q,height:p.value-Y-v}}),j=Ee(()=>{let L=A.value.coordScales,P=t.expandMult,{min:q,max:Y}=C(L.x.range,P.x),{min:v,max:N}=C(L.y.range,P.y),[T,I,G,et]=t.flip?[v,N,q,Y]:[q,Y,v,N],{width:at,height:it}=M;return{left:at*T||0,right:at*(1-I)||0,top:it*et||0,bottom:it*(1-G)||0,l:at*T||0,r:at*I||0,t:it*et||0,b:it*G||0,width:at*(1-T-I),height:it*(1-et-G),fullWidth:at,fullHeight:it}});e({vplot:A,panel:M,svg:m});const E=X(()=>{let L=Z.value.translateH+j.left,P=Z.value.translateV+j.top,q=Z.value.scaleH,Y=Z.value.scaleV,v=[];return(L!=0||P!=0)&&v.push(`translate(${L}, ${P})`),(q!=1||Y!=1)&&v.push(`scale(${q}, ${Y})`),{transform:v.join(" ")||null}});function $({value:L,min:P,max:q},Y,v,N){let T={};return L!=null&&(T.value=Y.invert(v?1-L/N:L/N)),v?(q!=null&&(T.min=Y.invert(1-q/N)),P!=null&&(T.max=Y.invert(1-P/N))):(P!=null&&(T.min=Y.invert(P/N)),q!=null&&(T.max=Y.invert(q/N))),T}function g({h:L,hmin:P,hmax:q,v:Y,vmin:v,vmax:N}={}){let T=A.value.coordScales,{width:I,height:G}=j,et={},[at,it,wt]=t.flip?[Y,v,N]:[L,P,q],[kt,ht,ct]=t.flip?[L,P,q]:[Y,v,N];if(at!=null||it!=null||wt!=null){let{value:nt,min:rt,max:W}=$({value:at,min:it,max:wt},T.x,t.flip!=t.reverse.x,t.flip?G:I);Object.assign(et,Ft({x:nt,xmin:rt,xmax:W})),t.flip?Object.assign(et,Ft({v:nt,vmin:rt,vmax:W})):Object.assign(et,Ft({h:nt,hmin:rt,hmax:W}))}if(kt!=null||ht!=null||ct!=null){let{value:nt,min:rt,max:W}=$({value:kt,min:ht,max:ct},T.y,t.flip==t.reverse.y,t.flip?I:G);Object.assign(et,Ft({y:nt,ymin:rt,ymax:W})),t.flip?Object.assign(et,Ft({h:nt,hmin:rt,hmax:W})):Object.assign(et,Ft({v:nt,vmin:rt,vmax:W}))}return et}function x({value:L,min:P,max:q}={},{oob:Y=ri}={},v,N,T,I){let G={};return L!=null&&(G.value=T?Y(T*(N?1-v(L):v(L)),I):0),P==null&&q==null||(N?(q!=null&&(G.min=T?Y(T*(1-v(q)),I):0),P!=null&&(G.max=T?Y(T*(1-v(P)),I):0)):(P!=null&&(G.min=T?Y(T*v(P),I):0),q!=null&&(G.max=T?Y(T*v(q),I):0))),G}function b({h:L,hmin:P,hmax:q,v:Y,vmin:v,vmax:N,x:T,xmin:I,xmax:G,y:et,ymin:at,ymax:it}={},{limited:wt=!1,oob:kt=ri}={}){let{width:ht,height:ct,l:nt,r:rt,t:W,b:pt}=j,mt={},Yt=A.value.coordScales,Ht={min:-nt,max:ht+rt},he={min:-W,max:ct+pt};if((T!=null||I!=null||G!=null)&&(t.flip?[Y,v,N]=[T,I,G]:[L,P,q]=[T,I,G]),(et!=null||at!=null||it!=null)&&(t.flip?[L,P,q]=[et,at,it]:[Y,v,N]=[et,at,it]),L!=null||P!=null||q!=null){let{value:pe,min:fe,max:de}=x({value:L,min:P,max:q},{oob:kt},Yt[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ht,Ht);Object.assign(mt,Ft({h:pe,hmin:fe,hmax:de}))}if(Y!=null||v!=null||N!=null){let{value:pe,min:fe,max:de}=x({value:Y,min:v,max:N},{oob:kt},Yt[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ct,he);Object.assign(mt,Ft({v:pe,vmin:fe,vmax:de}))}return wt&&(mt.hmin==null&&(mt.hmin=Ht.min),mt.hmax==null&&(mt.hmax=Ht.max),mt.vmin==null&&(mt.vmin=he.min),mt.vmax==null&&(mt.vmax=he.max)),mt}function C({min:L,max:P}={},{min:q=0,max:Y=0}={}){let v=P-L,N=+L-q*v,T=+P+Y*v,I=T-N;return{min:I==0?0:(L-N)/I,max:I==0?0:(T-P)/I}}function k(L){let P=m.value.getBoundingClientRect(),q=P.width/m.value.clientWidth,Y=P.height/m.value.clientHeight,v=L.clientX-P.left,N=L.clientY-P.top,T=v/q-(M.left+j.left),I=N/Y-(M.top+j.top),G=M.left+j.right-v/q,et=M.top+j.bottom-N/Y,{x:at,y:it}=g({h:T,v:I});return{l:T,t:I,r:G,b:et,x:at,y:it}}function R(L){let P=m.value.getBoundingClientRect(),q=P.width/m.value.clientWidth,Y=P.height/m.value.clientHeight;return L.clientX-P.left>M.l*q&&P.right-L.clientX>M.r*q&&L.clientY-P.top>M.t*Y&&P.bottom-L.clientY>M.b*Y}function V(L){if(!y.value||L._vhandled||!R(L)||!Array.from(y.value).filter(v=>v.render=="canvas").length)return L;let q={};for(let v in L)q[v]=L[v];q.bubbles=!1;let Y=new PointerEvent(L.type,q);for(let v of Object.keys(L)){let N=Object.getOwnPropertyDescriptor(Y,v);N&&!N.writable&&!N.set||(Y[v]=L[v])}for(let v=y.value.length-1;v>=0;v--)y.value[v].dispatchEvent(Y)===!1&&L.preventDefault();for(let v of Object.keys(Y)){let N=Object.getOwnPropertyDescriptor(Y,v);N&&!N.writable&&!N.set||(L[v]=Y[v])}return Y._vhandled?Y:L}let K,U=0,F=0;function D(L){let P=V(L),q=k(L);if(o("pointerdown",P,q),P.defaultPrevented&&L.preventDefault(),r.clip&&!R(L))return;let Y=L.currentTarget,v=!1;function N(G){(Math.abs(G.screenX-L.screenX)>3||Math.abs(G.screenY-L.screenY)>3)&&(v=!0,G.currentTarget.removeEventListener("pointermove",N))}L.target.addEventListener("pointermove",N,{passive:!0}),L.target.addEventListener("pointerup",function(G){if(L.target.removeEventListener("pointermove",N),!v){let et=new PointerEvent("singleclick",G);G.target.dispatchEvent(et)}},{once:!0});let T=r.selections.findLast(G=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(et=>G[et]==L[et]));if(T){let{x:G=!1,y:et=!1,"min-range-x":at=0,"min-range-y":it=0}=T;L.target.setPointerCapture(L.pointerId),Y.style.userSelect="none";let wt=(({xmin:ht,xmax:ct})=>({min:ht,max:ct}))(T),kt=(({ymin:ht,ymax:ct})=>({min:ht,max:ct}))(T);L.target.onpointermove=ht=>{if(!G&&!et||!v)return;let ct=k(ht),nt={};if(G){let rt=yt(q.x,wt),W=yt(yt(ct.x,ct.x>rt?{min:ft(rt,at)}:{max:ft(rt,-at)}),wt);nt.xmin=rt>W?W:rt,nt.xmax=rt>W?rt:W,nt.xreverse=rt>W}if(et){let rt=yt(q.y,kt),W=yt(yt(ct.y,ct.y>rt?{min:ft(rt,it)}:{max:ft(rt,-it)}),kt);nt.ymin=rt>W?W:rt,nt.ymax=rt>W?rt:W}a.value=nt,s.value=T.theme},L.target.onpointerup=ht=>{if(ht.currentTarget.onpointerup=null,ht.currentTarget.onpointermove=null,Y.style.userSelect=null,a.value={},v&&(G||et)){T.buttons&1&&(ht.currentTarget.onclick=W=>{W.currentTarget.onclick=null,Be(T.onClick,W)}),T.buttons&2&&(ht.currentTarget.oncontextmenu=W=>{W.currentTarget.oncontextmenu=null,Be(T.onContextmenu,W)});let ct=k(ht),nt={},rt=new PointerEvent("select",L);if(G){let W=yt(q.x,wt),pt=yt(yt(ct.x,ct.x>W?{min:ft(W,at)}:{max:ft(W,-at)}),wt);if(W==pt)return;nt.xmin=W>pt?pt:W,nt.xmax=W>pt?W:pt,nt.xreverse=W>pt}if(et){let W=yt(q.y,kt),pt=yt(yt(ct.y,ct.y>W?{min:ft(W,it)}:{max:ft(W,-it)}),kt);if(W==pt)return;nt.ymin=W>pt?pt:W,nt.ymax=W>pt?W:pt,nt.yreverse=W>pt}T["onUpdate:modelValue"]?.(nt),Be(T.onSelect,Ft(nt),rt)||o("select",Ft(nt),rt)}if(!v&&T.dismissible!==!1){if(ht.defaultPrevented)return;let ct=T.modelValue;if(T.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(W=>ct?.[W]==null))return;let nt={},rt=new PointerEvent("select",L);T["onUpdate:modelValue"]?.(nt),Be(T.onDismiss,Ft(nt),rt)||o("select",Ft(nt),rt)}};return}let I=r.action.find(G=>G.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(et=>G[et]==L[et]));if(I){let G=m.value.getBoundingClientRect(),et=G.width/m.value.clientWidth,at=G.height/m.value.clientHeight;L.target.setPointerCapture(L.pointerId),Y.style.userSelect="none",K=clearTimeout(K);let it=0,wt=j.width,kt=0,ht=j.height,ct,nt,rt,W,pt=b(I);L.target.onpointermove=mt=>{let{x:Yt=!1,y:Ht=!1}=I,[he,pe]=t.flip?[Ht,Yt]:[Yt,Ht];if(he){U+=mt.movementX;let je=yt(-U/et,{min:pt.hmin-it,max:pt.hmax-wt});ct=it+je,nt=wt+je}if(pe){F+=mt.movementY;let je=yt(-F/at,{min:pt.vmin-kt,max:pt.vmax-ht});rt=kt+je,W=ht+je}let{xmin:fe,xmax:de,ymin:hr,ymax:Vn}=g({hmin:ct,hmax:nt,vmin:rt,vmax:W});Object.assign(c,{xmin:fe,xmax:de,ymin:hr,ymax:Vn})},L.target.onpointerup=mt=>{mt.currentTarget.onpointerup=null,mt.currentTarget.onpointermove=null,Y.style.userSelect=null,K=setTimeout(()=>{J(I,mt),U=F=0},300)};return}}let H=0,z;function tt(L){let P=V(L),q=k(L);if(o("wheel",P,q),P.defaultPrevented&&L.preventDefault(),r.clip&&!R(L))return;let Y=r.action.find(v=>["zoom","nudge"].includes(v.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(N=>v[N]==L[N]));!Y||!Y.x&&!Y.y||(z=clearTimeout(z),L.preventDefault(),h.value="transform 0.1s ease-out",H+=L.deltaY,_(Y,q,H),z=setTimeout(()=>{J(Y,L),H=0},300))}function _(L,P,q){if(L.action=="zoom"){let{x:Y=!1,y:v=!1,"min-range-x":N=0,"min-range-y":T=0,sensitivity:I=1.25}=L,G=I**(H/100),[et,at]=t.flip?[v,Y]:[Y,v],it=b(L),wt,kt,ht,ct;et&&(wt=Math.max(P.l-Math.max(P.l,0)*G,it.hmin??-1/0),kt=Math.min(P.l+Math.max(P.r,0)*G,it.hmax??1/0)),at&&(ht=Math.max(P.t-Math.max(P.t,0)*G,it.vmin??-1/0),ct=Math.min(P.t+Math.max(P.b,0)*G,it.vmax??1/0));let{xmin:nt,xmax:rt,ymin:W,ymax:pt}=g({hmin:wt,hmax:kt,vmin:ht,vmax:ct});if(Y&&G<1&&rt-nt<N){let mt=(rt+nt)/2;nt=mt-N/2,rt=mt+N/2}if(v&&G<1&&pt-W<T){let mt=(pt+W)/2;W=mt-T/2,pt=mt+T/2}Object.assign(c,{xmin:nt,xmax:rt,ymin:W,ymax:pt})}if(L.action=="nudge"){let{x:Y=!1,y:v=!1,sensitivity:N=.1}=L,[T,I]=t.flip?[v,Y]:[Y,v],G=b(L),et=0,at=j.width,it=0,wt=j.height,kt,ht,ct,nt;if(T){let Yt=N*j.width*(-q/120),Ht=yt(-Yt,{min:G.hmin-et,max:G.hmax-at});kt=et+Ht,ht=at+Ht}if(I){let Yt=N*j.height*(-q/120),Ht=yt(-Yt,{min:G.vmin-it,max:G.vmax-wt});ct=it+Ht,nt=wt+Ht}let{xmin:rt,xmax:W,ymin:pt,ymax:mt}=g({hmin:kt,hmax:ht,vmin:ct,vmax:nt});Object.assign(c,{xmin:rt,xmax:W,ymin:pt,ymax:mt})}}const Z=X(()=>{let L=0,P=j.width,q=0,Y=j.height,{hmin:v=L,hmax:N=P,vmin:T=q,vmax:I=Y}=b(c??{}),G=P-L,et=N-v,at=Y-q,it=I-T;return{scaleH:G<1||et<1||Math.abs(G-et)<1?1:G/et,translateH:(L*N-v*P)/(N-v)||0,scaleV:at<1||it<1||Math.abs(at-it)<1?1:at/it,translateV:(q*I-T*Y)/(I-T)||0}});St(Z,({translateH:L,translateV:P,scaleH:q,scaleV:Y})=>{!L&&!P&&q==1&&Y==1&&(h.value=null)},{deep:!0});function J(L,P){let q=Ft(c)??{};if(!Object.keys(q).length)return;let Y=new PointerEvent(P.type,P);Be(L.emit,q,Y)||o(L.action,q,Y),ot(q),Object.assign(c,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const st={pointerdown:D,pointerup(L){let P=V(L),q=k(L);o("pointerup",P,q),P.defaultPrevented&&L.preventDefault()},pointerover(L){o("pointerover",L,k(L))},pointerout(L){o("pointerout",L,k(L))},pointerenter(L){o("pointerenter",L,k(L))},pointerleave(L){o("pointerleave",L,k(L))},click(L){o("click",V(L),k(L))},contextmenu(L){let P=V(L),q=k(L);o("contextmenu",P,q),P.defaultPrevented&&L.preventDefault()},singleclick(L){o("singleclick",V(L),k(L))},dblclick(L){let P=V(L),q=k(L);o("dblclick",P,q),P.defaultPrevented&&L.preventDefault()},pointermove(L){let P=V(L),q=k(L);o("pointermove",P,q),P.defaultPrevented&&L.preventDefault()},wheel:tt};function ot(L){let{xmin:P,xmax:q,ymin:Y,ymax:v}=L,{xmin:N,xmax:T,ymin:I,ymax:G}=l;P=P!=null?ft(P,+t.expandAdd.x.min):N,q=q!=null?ft(q,-t.expandAdd.x.max):T,Y=Y!=null?ft(Y,+t.expandAdd.y.min):I,v=v!=null?ft(v,-t.expandAdd.y.max):G,!(P==N&&q==T&&Y==I&&v==G)&&Object.assign(l,{xmin:P,xmax:q,ymin:Y,ymax:v})}const vt=Ee(()=>{let L=c?.xmin??l?.xmin,P=c?.xmax??l?.xmax,q=c?.ymin??l?.ymin,Y=c?.ymax??l?.ymax;return{x:L||P?{min:L,max:P}:void 0,y:q||Y?{min:q,max:Y}:void 0}}),Rt=X(()=>{let L={x:A.value.coordScales.x,y:A.value.coordScales.y};return r.axes.filter(P=>P.coord in L).filter(P=>["h","v"].includes(P.orientation)).map(({coord:P,breaks:q,labels:Y,titles:v,minorBreaks:N,...T})=>({coord:P,axis:new A9(L[P],{breaks:q,labels:Y,titles:v,minorBreaks:N}),etc:T}))}),_t=X(()=>Rt.value.map(({coord:L,axis:P,etc:q})=>{let{majorBreaks:Y,minorBreaks:v,ticks:N}=P.getBindings({range:vt[L],expandMult:t.expandMult[L]}),{showGrid:T,orientation:I,...G}=q;return{majorBreaks:Y,minorBreaks:v,ticks:N,showGrid:T,coord:L,orientation:I,bind:G}})),te=X(()=>{let L=_t.value.filter(q=>q.showGrid&&q.orientation=="v"),P=_t.value.filter(q=>q.showGrid&&q.orientation=="h");return{h:{majorBreaks:b1(L.flatMap(q=>q.majorBreaks),q=>q.position),minorBreaks:b1(L.flatMap(q=>q.minorBreaks),q=>q.position)},v:{majorBreaks:b1(P.flatMap(q=>q.majorBreaks),q=>q.position),minorBreaks:b1(P.flatMap(q=>q.minorBreaks),q=>q.position)}}}),ve=X(()=>_t.value.map(({orientation:L,coord:P,bind:q,ticks:Y})=>{let{onMove:v=(...et)=>o("move",...et),onZoom:N=(...et)=>o("zoom",...et),onRescale:T=(...et)=>o("rescale",...et),onNudge:I=(...et)=>o("nudge",...et),...G}=q;return{orientation:L,bind:{coord:P,orientation:L,ticks:Y,layout:j,coord2pos:b,pos2coord:g,...G},on:{zoom:N,move:v,rescale:T,nudge:I,rangechange:ot}}}));return(L,P)=>(O(),B("svg",Q({ref:"svg",width:"100%",height:"100%"},Gt(st,!0),L.$attrs),[At("defs",null,[At("clipPath",{id:`${Ct(i)}-plot-clip`},[At("rect",{x:"0",y:"0",width:Ct(M).width,height:Ct(M).height},null,8,IG)],8,VG)]),P[6]||(P[6]=dt()),t.theme.plot.background?(O(),B("rect",{key:0,transform:`translate(${Ct(M).left}, ${Ct(M).top})`,width:Ct(M).width,height:Ct(M).height,fill:t.theme.plot.background},null,8,RG)):Lt("",!0),P[7]||(P[7]=dt()),At("g",{transform:`translate(${Ct(M).left}, ${Ct(M).top})`,style:{"pointer-events":"none"}},[t.theme.grid.h?(O(),xt(KU,Q({key:0},te.value.h,{layout:Ct(j),theme:t.theme.grid.h,activeTransform:Z.value,coord2pos:b,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Lt("",!0),P[2]||(P[2]=dt()),t.theme.grid.v?(O(),xt(ZU,Q({key:1},te.value.v,{layout:Ct(j),theme:t.theme.grid.v,activeTransform:Z.value,coord2pos:b,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Lt("",!0)],8,HG),P[8]||(P[8]=dt()),At("g",{transform:`translate(${Ct(M).left}, ${Ct(M).top})`,"clip-path":r.clip?`url(#${Ct(i)}-plot-clip)`:null},[At("g",Q(E.value,{style:{transition:h.value}}),[(O(!0),B(lt,null,ut(A.value.layers,q=>(O(),xt(SG,Q({ref_for:!0,ref_key:"layers",ref:y,data:q.data},{ref_for:!0},q.vBind,{layout:Ct(j),geom:q.geom,coord2pos:b,getCoord:k,"default-render":r.render,"default-dpi":r.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),P[3]||(P[3]=dt()),(O(!0),B(lt,null,ut(r.selections,q=>(O(),xt(So,Q({coord2pos:b,pos2coord:g,layout:Ct(j),onSelecting:u,onSelectend:f,transition:h.value,activeTransform:Z.value},{ref_for:!0},q,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),P[4]||(P[4]=dt()),$e(So,{coord2pos:b,pos2coord:g,layout:Ct(j),modelValue:a.value,transition:h.value,activeTransform:Z.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,XG),P[9]||(P[9]=dt()),At("g",{transform:`translate(${Ct(M).left}, ${Ct(M).top})`},[(O(!0),B(lt,null,ut(ve.value.filter(q=>typeof q.bind.position!="number"),q=>(O(),xt(xo,Q({ref_for:!0},q.bind,Gt(q.on),{transition:h.value,"onUpdate:transition":P[0]||(P[0]=Y=>h.value=Y),activeTransform:Z.value}),null,16,["transition","activeTransform"]))),256)),P[5]||(P[5]=dt()),At("g",{"clip-path":r.clip?`url(#${Ct(i)}-plot-clip)`:null},[(O(!0),B(lt,null,ut(ve.value.filter(q=>typeof q.bind.position=="number"),q=>(O(),xt(xo,Q({ref_for:!0},q.bind,Gt(q.on),{transition:h.value,"onUpdate:transition":P[1]||(P[1]=Y=>h.value=Y),activeTransform:Z.value}),null,16,["transition","activeTransform"]))),256))],8,zG)],8,YG),P[10]||(P[10]=dt()),r.legendTeleport?(O(),B("foreignObject",FG,[(O(),xt(wl,{defer:"",to:r.legendTeleport},[$e(BG,{scales:A.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Lt("",!0)],16))}}),Mn={$_type:"action",$_props:{}},Hi={$_type:"layer"},Xi={$_props:{geom:"tile",stat:"bar"},$_type:"layer"},Yi={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},zi={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer"},Fi={$_props:{geom:"curve",stat:"curve"},$_type:"layer",$_attrnames:["interpolate"]},Ui={$_props:{geom:"curve",stat:"density"},$_type:"layer",$_argnames:["n","kernel"]},Gi={$_props:{geom:"ellipse",stat:"ellipse"},$_type:"layer",$_argnames:["CI"]},Wi={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},Ki={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},Zi={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},Qi={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},Ji={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},_i={$_props:{geom:"line",stat:"path"},$_type:"layer"},tr={$_props:{geom:"point",stat:"point"},$_type:"layer"},er={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},nr={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},ir={$_props:{geom:"line",stat:"segment"},$_type:"layer"},rr={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},or={$_props:{geom:"text",stat:"text"},$_type:"layer"},sr={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},lr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},GG=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Hi,VVGeomBar:Xi,VVGeomBlank:Yi,VVGeomBoxplot:zi,VVGeomCurve:Fi,VVGeomDensity:Ui,VVGeomEllipse:Gi,VVGeomHistogram:Wi,VVGeomLine:Ki,VVGeomLinerange:Zi,VVGeomMarkdown:Qi,VVGeomMarkdownsegment:Ji,VVGeomPath:_i,VVGeomPoint:tr,VVGeomPolygon:er,VVGeomRect:nr,VVGeomSegment:ir,VVGeomStick:rr,VVGeomText:or,VVGeomTextsegment:sr,VVGeomTile:lr},Symbol.toStringTag,{value:"Module"})),ar={$_type:"axis",$_props:{}},cr={$_type:"axis",$_props:{coord:"x"}},ur={$_type:"axis",$_props:{coord:"y"}},WG=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:ar,VVAxisX:cr,VVAxisY:ur},Symbol.toStringTag,{value:"Module"})),KG={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},hl=Object.assign({inheritAttrs:!1},{__name:"Plot",props:u1({data:Array,scales:Object,aes:Object,expandAdd:Object,expandMult:Object,extend:Object,levels:Object,range:Object,minRange:Object,rangePreview:Object,axes:[Object,Array],theme:[Object,Array],action:[Object,Array],reverse:Object,render:String,flip:Boolean,clip:{type:Boolean,default:!0},resize:null,legendTeleport:null,dpi:Number},{selectionPreview:{default:()=>({})},selectionPreviewModifiers:{},selectionPreviewTheme:{default:()=>({})},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{},width:{},widthModifiers:{},height:{},heightModifiers:{}}),emits:u1(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const i={...GG,...WG,VVAction:Mn,VVSelection:Mn},r={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function o(v){return v==null?v:v===""||!!v}const l=n,c=ke(t,"selectionPreview"),a=ke(t,"selectionPreviewTheme"),s=ke(t,"transition");function u(v){return v==null?[]:v.flatMap(N=>N.type==lt?u(N.children):N.type=="template"?u(N.children).map(T=>(T.props={...T.props,...N.props},T)):N)}function d(v){return{props:Object.fromEntries(v.props.map(T=>{try{if(T.type==7)return[T.arg.content,new Function("return "+T.exp.content)()];if(T.type==6)return[T.name,T.value?.content??""]}catch{}}).filter(T=>T!=null)),children:v.children.map(T=>()=>[d(T)]),type:i[v.tag]}}const f=kl(),h=Al(),m=Ot({axis:{},layer:{},action:{},selection:{},dom:{}});for(let v in f)St(()=>f[v]?.(),N=>{let T=u(N).flatMap(G=>G.type?.template?sa(G.type.template,{decodeEntities:!0}).children.map(at=>d(at)):G).filter(G=>G!=null),I=Object.groupBy(T,G=>G.type.$_type??"dom");for(let G in I)m[G][v]=I[G]},{immediate:!0});const y=X(()=>Object.values(m.layer).flat()),w=X(()=>Object.values(m.axis).flat()),p=X(()=>Object.values(m.action).flat()),S=X(()=>Object.values(m.selection).flat()),A=X(()=>Object.keys(m.dom).flatMap(v=>v=="panel"?[]:m.dom[v])),M=X(()=>{let v={},N={};for(let T in h)if(T.startsWith("on")){let I=Array.isArray(h[T])?h[T]:[h[T]];v[T]=I.filter(G=>typeof G=="function"),N[T]=I.filter(G=>typeof G!="function")}else T.startsWith("svg-")?v[T.slice(4)]=h[T]:N[T]=h[T];return{plot:v,wrapper:N}}),j=X(()=>{let v=[Xo,Yo].concat(t.theme??[]);return pa(va(ya(...v),t.flip))},{deep:!0}),E=Ee(()=>{let v=w.value.map(I=>({...I.type.$_props,...I.props})),N=v.filter(I=>I.coord==="x"),T=v.filter(I=>I.coord==="y");return{x:N.find(I=>o(I.primary))??N.find(I=>I.primary==null&&!o(I.secondary)),y:T.find(I=>o(I.primary))??T.find(I=>I.primary==null&&!o(I.secondary))}}),$={levels:Ot({}),extend:Ot({}),"min-range":Ot({}),"expand-add":Ot({}),"expand-mult":Ot({}),boundary:Ot({}),reverse:Ot({}),min:Ot({}),max:Ot({}),"min-preview":Ot({}),"max-preview":Ot({})};St(E,v=>{for(let N of["x","y"])for(let T in $)$[T][N]=v?.[N]?.[T]},{immediate:!0});const g=Ee(()=>{let v={};for(let N of["x","y"]){let T=$.boundary[N];v[N]={min:T?.min??T?.[0],max:T?.max??T?.[1]}}return v}),x=X(()=>({data:t.data,aes:t.aes,extendX:$.extend.x??t.extend?.x??0,extendY:$.extend.y??t.extend?.y??0})),b=X(()=>y.value.map(v=>{let{geom:N,stat:T,scales:I,data:G,"extend-x":et,"extend-y":at,...it}={...v.type.$_props,...v.props},wt=v.type.$_argnames||[],kt=v.type.$_attrnames||[],ht={},ct={},nt={},rt={};for(let W in it)W!="key"&&(wt.includes(W)?ct[W]=it[W]:kt.includes(W)?nt[W]=it[W]:W.startsWith("on")?rt[W]=it[W]:typeof it[W]=="function"?["item-class","item-style"].includes(W)?ht[W.slice(5)]=it[W]:ht[W]=it[W]:["class","style","group-class","group-style","dpi","render"].includes(W)?rt[W]=it[W]:["item-class","item-style"].includes(W)?nt[W.slice(5)]=it[W]:nt[W]=it[W]);return{geom:N,stat:T,data:G,aes:ht,attrs:nt,scales:I,args:ct,extendX:et,extendY:at,vBind:rt}})),C=X(()=>(({x:v,y:N,...T})=>T)(t.levels??{})),k=X(()=>{let v={};for(let N of["x","y"])v[N]=$.levels[N]??t.levels?.[N];return v}),R=X(()=>{let v={};for(let N of["x","y"]){let T=$.min[N]??t.range?.[N+"min"],I=$.max[N]??t.range?.[N+"max"];v[N+"min"]=isFinite(T)&&!Number.isNaN(T)?T:null,v[N+"max"]=isFinite(I)&&!Number.isNaN(I)?I:null}return v}),V=X(()=>{let v={};for(let N of["x","y"]){let T=$["min-preview"][N]??t.rangePreview?.[N+"min"],I=$["max-preview"][N]??t.rangePreview?.[N+"max"];v[N+"min"]=isFinite(T)&&!Number.isNaN(T)?T:null,v[N+"max"]=isFinite(I)&&!Number.isNaN(I)?I:null}return v}),K=Ee(()=>({xmin:E?.x?.["onUpdate:min"],xmax:E?.x?.["onUpdate:max"],ymin:E?.y?.["onUpdate:min"],ymax:E?.y?.["onUpdate:max"]})),U=Ee(()=>({xmin:E?.x?.["onUpdate:minPreview"],xmax:E?.x?.["onUpdate:maxPreview"],ymin:E?.y?.["onUpdate:minPreview"],ymax:E?.y?.["onUpdate:maxPreview"]})),F=Ot({}),D=Ot({});St(R,(v,N)=>{v?.xmin!==N?.xmin&&(F.xmin=v.xmin),v?.xmax!==N?.xmax&&(F.xmax=v.xmax),v?.ymin!==N?.ymin&&(F.ymin=v.ymin),v?.ymax!==N?.ymax&&(F.ymax=v.ymax)},{immediate:!0}),St(V,(v,N)=>{v?.xmin!==N?.xmin&&(D.xmin=v.xmin),v?.xmax!==N?.xmax&&(D.xmax=v.xmax),v?.ymin!==N?.ymin&&(D.ymin=v.ymin),v?.ymax!==N?.ymax&&(D.ymax=v.ymax)},{immediate:!0}),St(()=>({...F}),(v,N)=>{for(let T in K)K[T]?.(v[T]);l("rangechange",{...v},{...N}),l("update:range",{...v})},{deep:!0}),St(()=>D,v=>{for(let N in U)U[N]?.(v[N]);l("update:rangePreview",{...v})},{deep:!0}),dr("range",F),dr("rangePreview",D);const H=X(()=>({x:$["min-range"].x??t.minRange?.x??0,y:$["min-range"].y??t.minRange?.y??0})),z=X(()=>{let v=$["expand-add"].x??t.expandAdd?.x??0,N=$["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(v)?v={min:v[0],max:v[1]}:typeof v=="number"&&(v={min:v,max:v}),Array.isArray(N)?N={min:N[0],max:N[1]}:typeof N=="number"&&(N={min:N,max:N}),{x:v,y:N}}),tt=X(()=>{let v=$["expand-mult"].x??t.expandMult?.x??.05,N=$["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(v)?v={min:v[0],max:v[1]}:typeof v=="number"&&(v={min:v,max:v}),Array.isArray(N)?N={min:N[0],max:N[1]}:typeof N=="number"&&(N={min:N,max:N}),{x:v,y:N}}),_=Ee(()=>({x:o($.reverse.x)??t.reverse?.x??!1,y:o($.reverse.y)??t.reverse?.y??!1})),Z={left:1,right:2,middle:4,X1:8,X2:16},J=X(()=>{let v=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},N=w.value.map(T=>({...T.type.$_props,...T.props,$_children:T.children})).concat(t.axes??[]);return N.every(T=>T?.coord!="x")&&N.push({coord:"x"}),N.every(T=>T?.coord!="y")&&N.push({coord:"y"}),N.map(({coord:T,position:I,title:G,breaks:et,labels:at,titles:it,"minor-breaks":wt,"show-grid":kt,theme:ht=[],extend:ct,boundary:nt,action:rt,primary:W,secondary:pt,"expand-mult":mt,"expand-add":Yt,levels:Ht,limits:he,min:pe,max:fe,"onUpdate:min":de,"onUpdate:max":hr,$_children:Vn,...je})=>{let Pe=v[T];I=I??"start",I=="start"?(I={h:"bottom",v:"left"}[Pe],_[r[T]]&&(I=r[I])):I=="end"&&(I={h:"top",v:"right"}[Pe],_[r[T]]&&(I=r[I]));let dl=Object.values(Vn??{}).filter(Xt=>typeof Xt=="function").flatMap(Xt=>u(Xt())).map(Xt=>({...Xt.type.$_props,...Xt.props})).concat(rt??[]).flatMap(Xt=>{let fr=[];for(let q1 of["move","nudge","zoom","rescale"]){let se=Xt[q1];if(se==null||se===!1)continue;let ml="on"+q1.charAt(0).toUpperCase()+q1.slice(1);fr.push({action:q1,[Pe+"min"]:se.min??Xt.min??nt?.min??nt?.[0]??g?.[T]?.min,[Pe+"max"]:se.max??Xt.max??nt?.max??nt?.[1]??g?.[T]?.max,["min-range-"+Pe]:se["min-range"]??Xt["min-range"],ctrlKey:!!(se.ctrl??o(Xt.ctrl)),shiftKey:!!(se.shift??o(Xt.shift)),altKey:!!(se.alt??o(Xt.alt)),metaKey:!!(se.meta??o(Xt.meta)),buttons:se.buttons??Z[se.button]??Xt.buttons??Z[Xt.button]??1,emit:Xt[ml]})}return fr});return{coord:T,orientation:Pe,position:I,title:G,breaks:et,labels:at,titles:it,minorBreaks:wt,showGrid:o(kt)??I!=="none",extend:ct??$.extend[T],theme:Object.assign({},...[j.value?.axis?.[I]??j.value?.axis?.[Pe]].concat(ht)),action:dl,...je}}).filter(T=>T!=null)}),st=Ot({});St(J,v=>{for(let N of["left","right","top","bottom"])st[N]=v.some(T=>T.position==N)},{immediate:!0});const ot=X(()=>p.value.map(v=>({...v.type.$_props,...v.props})).concat(t.action??[]).flatMap(v=>{let N=[];for(let T of["select","move","nudge","zoom"]){let I=v[T];if(I==null||I===!1)continue;let G=I.x==null&&I.y==null&&v.x==null&&v.y==null,et="on"+T.charAt(0).toUpperCase()+T.slice(1);N.push({action:T,x:G||!!(I.x??o(v.x)),y:G||!!(I.y??o(v.y)),xmin:I.xmin??v.xmin??g?.x?.min,xmax:I.xmax??v.xmax??g?.x?.max,ymin:I.ymin??v.ymin??g?.y?.min,ymax:I.ymax??v.ymax??g?.y?.max,"min-range-x":I["min-range-x"]??v["min-range-x"],"min-range-y":I["min-range-y"]??v["min-range-y"],ctrlKey:!!(I.ctrl??o(v.ctrl)),shiftKey:!!(I.shift??o(v.shift)),altKey:!!(I.alt??o(v.alt)),metaKey:!!(I.meta??o(v.meta)),buttons:I.buttons??Z[I.button]??v.buttons??Z[v.button]??1,emit:v[et]})}return N})),vt=X(()=>S.value.map(v=>({...v.type.$_props,...v.props})).map(({once:v,move:N,dismissible:T,resize:I,x:G,y:et,xmin:at,xmax:it,ymin:wt,ymax:kt,ctrl:ht,shift:ct,alt:nt,meta:rt,button:W,buttons:pt,modelValue:mt,"onUpdate:modelValue":Yt,theme:Ht=[],...he})=>{let pe=G==null&&et==null;return o(v)?(mt=Ot({}),Yt=null):Yt==null&&(mt=Ot(mt??{}),Yt=fe=>{for(let de in mt)delete mt[de];Object.assign(mt,fe)}),{move:!!o(N),dismissible:T==null?void 0:T!==!1,resize:!!o(I),x:pe||!!o(G),y:pe||!!o(et),xmin:at??g?.x?.min,xmax:it??g?.x?.max,ymin:wt??g?.y?.min,ymax:kt??g?.y?.max,ctrlKey:!!o(ht),shiftKey:!!o(ct),altKey:!!o(nt),metaKey:!!o(rt),buttons:pt??Z[W]??1,modelValue:mt,"onUpdate:modelValue":Yt,theme:Object.assign({},...[j.value?.selection].concat(Ht)),onSelect:(fe,de)=>l("select",fe,de),...he}})),{pixelRatio:Rt}=Dl(),_t=Dt("wrapper"),te=Dt("plot"),ve=ke(t,"width"),L=ke(t,"height");To(()=>{St(ve,v=>{_t.value.style.width=Te(v,"px")??null},{immediate:!0}),St(L,v=>{_t.value.style.height=Te(v,"px")??null},{immediate:!0})});let P={width:0,height:0};jo(te,v=>{let{width:N,height:T}=v[0].contentRect;_t.value.style.width&&(ve.value=N),_t.value.style.height&&(L.value=T),(N>0||T>0)&&(P.width>0||P.height>0)&&l("resize",{width:N,height:T},P),P={width:N,height:T}});const q=X(()=>({position:"absolute",pointerEvents:"none",left:Te(te.value?.panel?.left,"px"),top:Te(te.value?.panel?.top,"px"),width:Te(te.value?.panel?.width,"px"),height:Te(te.value?.panel?.height,"px")})),Y=X(()=>{let v={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(v,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(v,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(v,{resize:"vertical"}),v});return e({get svg(){return te.value.svg},serialize(v){return ca(te.value.svg,v)}}),(v,N)=>(O(),B("div",Q({ref:"wrapper",class:"vvplot",style:Y.value},M.value.wrapper),[$e(UG,Q({ref:"plot",paddings:st,schema:x.value,layers:b.value,"min-range":H.value,"expand-add":z.value,"expand-mult":tt.value,reverse:Ct(_),flip:t.flip,"coord-levels":k.value,levels:C.value,scales:t.scales,axes:J.value,theme:j.value,selections:vt.value,transition:s.value,"onUpdate:transition":N[0]||(N[0]=T=>s.value=T)},M.value.plot,{"selection-preview":c.value,"onUpdate:selectionPreview":N[1]||(N[1]=T=>c.value=T),"selection-preview-theme":a.value,"onUpdate:selectionPreviewTheme":N[2]||(N[2]=T=>a.value=T),action:ot.value,clip:t.clip,render:t.render,dpi:t.dpi??96*Ct(Rt),legendTeleport:t.legendTeleport,onSelect:N[3]||(N[3]=(T,I)=>l("select",T,I))}),null,16,["paddings","schema","layers","min-range","expand-add","expand-mult","reverse","flip","coord-levels","levels","scales","axes","theme","selections","transition","selection-preview","selection-preview-theme","action","clip","render","dpi","legendTeleport"]),N[4]||(N[4]=dt()),At("div",{class:"vvplot-panel-container",style:j1(q.value)},[m.dom.panel?.length?(O(),B("div",KG,[(O(!0),B(lt,null,ut(m.dom.panel,T=>(O(),xt(c1(T)))),256))])):Lt("",!0)],4),N[5]||(N[5]=dt()),(O(!0),B(lt,null,ut(A.value,T=>(O(),xt(c1(T)))),256))],16))}}),fl={$_type:"selection",$_props:{}},ZG=Object.freeze(Object.defineProperty({__proto__:null,VVAction:Mn,VVAxis:ar,VVAxisX:cr,VVAxisY:ur,VVGeom:Hi,VVGeomBar:Xi,VVGeomBlank:Yi,VVGeomBoxplot:zi,VVGeomCurve:Fi,VVGeomDensity:Ui,VVGeomEllipse:Gi,VVGeomHistogram:Wi,VVGeomLine:Ki,VVGeomLinerange:Zi,VVGeomMarkdown:Qi,VVGeomMarkdownsegment:Ji,VVGeomPath:_i,VVGeomPoint:tr,VVGeomPolygon:er,VVGeomRect:nr,VVGeomSegment:ir,VVGeomStick:rr,VVGeomText:or,VVGeomTextsegment:sr,VVGeomTile:lr,VVPlot:hl,VVSelection:fl},Symbol.toStringTag,{value:"Module"}));export{Mn as VVAction,ar as VVAxis,cr as VVAxisX,ur as VVAxisY,Hi as VVGeom,Xi as VVGeomBar,Yi as VVGeomBlank,zi as VVGeomBoxplot,Fi as VVGeomCurve,Ui as VVGeomDensity,Gi as VVGeomEllipse,Wi as VVGeomHistogram,Ki as VVGeomLine,Zi as VVGeomLinerange,Qi as VVGeomMarkdown,Ji as VVGeomMarkdownsegment,_i as VVGeomPath,tr as VVGeomPoint,er as VVGeomPolygon,nr as VVGeomRect,ir as VVGeomSegment,rr as VVGeomStick,or as VVGeomText,sr as VVGeomTextsegment,lr as VVGeomTile,hl as VVPlot,fl as VVSelection,ZG as components,Ps as number_cut,h9 as oob,Pn as vvbreak,wi as vvlabel,js as vvscale,xa as vvtheme};
24
+ `;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function HU(t,e,n){var i="<"+t;if(e&&e.length>0)for(var r=0,o;(o=e[r])!==void 0;)i+=" "+o[0]+'="'+this.esc(o[1])+'"',r++;return n&&(i+=" /"),i+=">",i}p1.prototype=Object.create(_e.prototype);p1.prototype.render=BU;p1.prototype.out=IU;p1.prototype.cr=RU;p1.prototype.tag=HU;p1.prototype.esc=In;const XU=["text-anchor","font-size"],YU={key:0},B1={__name:"CoreMarkdown",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=new sU,n=Dt("ele"),i=Ot({width:0,height:0});St([n,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([l])=>{if(!l)return;await Ln();let{width:c,height:a}=l.getBBox();i.width=c,i.height=a});const r=X(()=>{let{width:l,height:c}=i,a=[],s=({start:-.5,end:.5}[t.textAnchor]??0)*l;if(t.dockX!=null||t.dockY!=null){let u={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),d={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(u)&&(u=.5),isNaN(d)&&(d=.5);let f=l*Math.abs(Math.cos(t.angle*Math.PI/180))+c*Math.abs(Math.sin(t.angle*Math.PI/180)),h=l*Math.abs(Math.sin(t.angle*Math.PI/180))+c*Math.abs(Math.cos(t.angle*Math.PI/180)),m=t.translateX,y=t.translateY;a.push(`translate(${f*(.5-u)+m},${h*(d-.5)+y})`),t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${s},${-c/2})`)}else{let u={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),d={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(u)&&(u=.5),isNaN(d)&&(d=.5);let f=l,h=c,m=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),y=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${f*(.5-u)+m+s},${h*(d-.5)+y-c/2})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Rt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:a.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`}}),o=X(()=>{const l=e.parse(String(t.text)).walker(),c=[];let a=[],s=[1],u=0,d=!0,f;for(;f=l.next();){let{node:{type:h,literal:m},entering:y}=f,v=s.at(-1);if(y){if(h==="text"||h==="code"){let x=u+(d?1:0);const T=Object.assign({x:d?t.x:null,dy:qe(x||null,"em")},...a,{"font-family":h==="code"?"monospace":null,"font-size":v===1?null:`${v}em`});u=0,d=!1,c.push({text:m,vbind:T})}else if(h==="strong")a.push({"font-weight":"bold"});else if(h==="emph")a.push({"font-style":"italic"});else if(h==="softbreak"||h==="paragraph")c.push({text:`
25
+ `}),d=!0;else if(h==="html_inline"){const x=m;if(x.includes("color=")){const T=x.match(/color=(['"])(.*?)\1/i)?.[2]??x.match(/color=(\S*)/)?.[1];T&&a.push({fill:T})}else x.includes("</font>")?a.pop():x.includes("<sup>")?(u-=.4*v,s.push(v*.7)):x.includes("</sup>")?(u+=.4*s.at(-1),s.pop()):x.includes("<sub>")?(u+=.25*v,s.push(v*.7)):x.includes("</sub>")&&(u-=.25*s.at(-1),s.pop())}}else["strong","emph"].includes(h)&&a.pop()}return c});return(l,c)=>(O(),I("text",J({ref_key:"ele",ref:n},r.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(O(),I("title",YU,Ft(t.title),1)):Lt("",!0),c[0]||(c[0]=dt()),(O(!0),I(lt,null,ut(o.value,a=>(O(),I("tspan",J({ref_for:!0},a.vbind),Ft(a.text),17))),256))],16,XU))}},ml={__name:"CoreAxisLabel",props:{type:String,value:null,getPosition:Function},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick"],setup(t,{emit:e}){const n=e,i={pointerdown(r){n("pointerdown",r,t.getPosition(r),t.value)},pointerup(r){n("pointerup",r,t.getPosition(r),t.value)},pointerover(r){n("pointerover",r,t.getPosition(r),t.value)},pointerout(r){n("pointerout",r,t.getPosition(r),t.value)},pointerenter(r){n("pointerenter",r,t.getPosition(r),t.value)},pointerleave(r){n("pointerleave",r,t.getPosition(r),t.value)},dblclick(r){n("dblclick",r,t.getPosition(r),t.value)},click(r){n("click",r,t.getPosition(r),t.value)},singleclick(r){n("singleclick",r,t.getPosition(r),t.value)},contextmenu(r){n("contextmenu",r,t.getPosition(r),t.value)},pointermove(r){n("pointermove",r,t.getPosition(r),t.value)},wheel(r){n("wheel",r,t.getPosition(r),t.value)}};return(r,o)=>t.type=="markdown"?(O(),bt(B1,J({key:0},$t(i)),null,16)):(O(),bt(V1,J({key:1},$t(i)),null,16))}},zU=["transform"],FU=["x2"],UU={class:"vvplot-interactive",fill:"transparent"},GU=["width","cursor"],WU={key:1,class:"vvplot-interactive",fill:"transparent"},KU=["x"],ZU={__name:"CoreAxisH",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=C1("rangePreview"),o=X(()=>{let g=0,b={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof b=="string"&&b.endsWith("%")?g=i.value*(1-b.slice(0,-1)/100):g=t.activeTransform.translateV+t.coord2pos({v:+b}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${g})`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,b=g,S=t.theme.title_dock_x,k=t.theme.title_dock_y,w=0;return typeof g!="number"&&(b={left:0,bottom:.5,top:.5,right:1}[g]??.5,S??={left:1,right:0}[g]??.5,k??={top:0,bottom:1}[g]??.5,w=({top:-1,bottom:1}[g]??0)*(t.theme.title_offset??0)),{x:n.value*b,y:w,angle:t.theme.title_angle,dockX:S,dockY:k,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let b of t.ticks){let{value:S,theme:k}=b,w=t.coord2pos({h:S}).h,B=w*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(w+=t.layout.l,w+B<0||w+B>n.value)continue;let P=(k.tick_position=="top"?-1:1)*k.tick_length;g.push({key:"line-"+S,y1:0,y2:P,x1:w,x2:w,stroke:k.tick_color,"stroke-width":k.tick_width,transform:B?`translate(${B},0)`:null,style:{transition:t.transition}})}return g.filter(b=>b.stroke!=null).sort((b,S)=>b.x1-S.x1)}),s=X(()=>{let g=[];for(let b of t.ticks){let{type:S,value:k,label:w,title:B,theme:P,...W}=b,U=(P.label_position??P.tick_position)=="top",z=t.coord2pos({h:k}).h,q=z*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(z+=t.layout.l,z+q<0||z+q>n.value)continue;let H=(U?-1:1)*(P.label_offset??P.tick_length),F,et,Q,K;P.label_anchor_x!=null||P.label_anchor_y!=null?(F=P.label_anchor_x??.5,et=P.label_anchor_y??(U?0:1)):(Q=P.label_dock_x??.5,K=P.label_dock_y??(U?0:1)),g.push({wrapper:{key:"text-"+k,transform:q?`translate(${q},0)`:null,style:{transition:t.transition}},text:{x:z,y:H,angle:P.label_angle,anchorX:F,anchorY:et,dockX:Q,dockY:K,type:P.label_type,text:w,title:B??w,fontSize:P.label_size,fill:P.label_color,"font-family":"sans-serif",value:k,...W}})}return g.filter(b=>b.text.fill!=null).sort((b,S)=>b.text.x-S.text.x)}),u=Dt("i");function d(g){let b=u.value.getBoundingClientRect(),S=b.width/u.value.getBBox().width,k=g.clientX-b.left,w=k/S-t.layout.left,B=t.layout.left+t.layout.width-k/S,P={l:w,r:B},{x:W,y:U}=t.pos2coord({h:w});return W&&(P.x=W),U&&(P.y=U),P}const f=e;let h,m=0;function y(g){let b=d(g);f("pointerdown",g,b);let S=!1;function k(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(S=!0,q.currentTarget.removeEventListener("pointermove",k))}g.target.addEventListener("pointermove",k,{passive:!0});let w=t.action.find(q=>q.action=="move");if(!w)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let B=0,P=t.layout.width,W=t.coord2pos(w),z=u.value.getBoundingClientRect().width/u.value.getBBox().width;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(m+=q.movementX,!S)return;let H=yt(-m/z,{min:W.hmin-B,max:W.hmax-P}),{xmin:F,xmax:et,ymin:Q,ymax:K}=t.pos2coord({hmin:B+H,hmax:P+H});Object.assign(r,{xmin:F,xmax:et,ymin:Q,ymax:K})},g.target.onpointerup=q=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,S&&(h=setTimeout(()=>{$(w,q),m=0},300))}}function v(g){let b=t.action.find(F=>F.action=="rescale");if(!b)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":S=0}=b,k=d(g),w=t.coord2pos(k).h,B=w-k.l,P=w+k.r,W=t.pos2coord({hmin:B,hmax:P}),U={min:t.coord2pos(b).hmin,max:t.coord2pos({hmin:W.hmax-S,hmax:W.hmin+S}).hmin},q=u.value.getBoundingClientRect().width/u.value.getBBox().width,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{H+=F.movementX;let{xmin:et,xmax:Q,ymin:K,ymax:_}=t.pos2coord({hmin:yt(P-(P-B)*k.r/Math.max(k.r-H/q,1),U),hmax:P});Object.assign(r,{xmin:et,xmax:Q,ymin:K,ymax:_})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,$(b,F)}}function x(g){let b=t.action.find(H=>H.action=="rescale");if(!b)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":S=0}=b,k=d(g),w=t.coord2pos(k).h,B=w-k.l,P=w+k.r,W=t.pos2coord({hmin:B,hmax:P}),U={min:t.coord2pos({hmin:W.hmax-S,hmax:W.hmin+S}).hmax,max:t.coord2pos(b).hmax};u.value.getBoundingClientRect().width/u.value.getBBox().width;let q=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=H=>{q+=H.movementX;let{xmin:F,xmax:et,ymin:Q,ymax:K}=t.pos2coord({hmin:B,hmax:yt(B+(P-B)*k.l/Math.max(k.l+q,1),U)});Object.assign(r,{xmin:F,xmax:et,ymin:Q,ymax:K})},g.target.onpointerup=H=>{g.target.onpointermove=null,g.target.onpointerup=null,$(b,H)}}let T=0,A;function M(g){let b=d(g);f("wheel",g,b);let S=t.action.find(k=>["zoom","nudge"].includes(k.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(w=>k[w]==g[w]));S&&(A=clearTimeout(A),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),T+=g.deltaY,j(S,b,T),A=setTimeout(()=>{$(S,g),T=0},300))}function j(g,b,S){if(g.action=="zoom"){let{"min-range-h":k=0,sensitivity:w=1.25}=g,B=w**(S/100),P=t.coord2pos(g),W=Math.max(b.l-Math.max(b.l,0)*B,P.hmin??-1/0),U=Math.min(b.l+Math.max(b.r,0)*B,P.hmax??1/0),{[t.coord+"min"]:z,[t.coord+"max"]:q}=t.pos2coord({hmin:W,hmax:U});if(B<1&&q-z<k){let H=(q+z)/2;z=H-k/2,q=H+k/2}r[t.coord+"min"]=z,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:k=.1}=g,w=t.coord2pos(g),B=0,P=t.layout.width,W=k*t.layout.width*(-S/120),U=yt(-W,{min:w.hmin-B,max:w.hmax-P}),{xmin:z,xmax:q,ymin:H,ymax:F}=t.pos2coord({hmin:B+U,hmax:P+U});Object.assign(r,{xmin:z,xmax:q,ymin:H,ymax:F})}}function $(g,b){let S=Yt(r)??{};if(!Object.keys(S).length)return;let k=new PointerEvent(b.type,b);Be(g.emit,S,k)||f(g.action,S,k),f("rangechange",S),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},click(g){f("click",g,d(g))},singleclick(g){f("singleclick",g,d(g))},dblclick(g){f("dblclick",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},wheel:M};return(g,b)=>(O(),I("g",{transform:o.value,style:j1({transition:t.transition})},[c.value.stroke!=null?(O(),I("line",J({key:0,ref:"i",x1:0,x2:n.value,y1:0,y2:0},c.value),null,16,FU)):Lt("",!0),b[1]||(b[1]=dt()),(O(!0),I(lt,null,ut(a.value,S=>(O(),I("line",J({ref_for:!0},S),null,16))),256)),b[2]||(b[2]=dt()),(O(!0),I(lt,null,ut(s.value,S=>(O(),I("g",J({ref_for:!0},S.wrapper),[re(ml,J({ref_for:!0},S.text,{getPosition:d}),null,16)],16))),256)),b[3]||(b[3]=dt()),Nt("g",UU,[Nt("rect",J({width:n.value,height:10,y:-5},$t(L,!0),{onPointerdown:y,cursor:t.action.some?.(S=>S.action=="move")?"grab":null}),null,16,GU)]),b[4]||(b[4]=dt()),t.action.some?.(S=>S.action=="rescale")?(O(),I("g",WU,[Nt("rect",J({width:20,height:10,y:-5,style:{cursor:"ew-resize"}},$t(L,!0),{onPointerdown:v}),null,16),b[0]||(b[0]=dt()),Nt("rect",J({width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"}},$t(L,!0),{onPointerdown:x}),null,16,KU)])):Lt("",!0),b[5]||(b[5]=dt()),l.value.text?(O(),I(lt,{key:2},[t.theme.title_type=="markdown"?(O(),bt(B1,se(J({key:0},l.value)),null,16)):(O(),bt(V1,se(J({key:1},l.value)),null,16))],64)):Lt("",!0)],12,zU))}},_U=["transform"],QU=["y2"],JU={class:"vvplot-interactive",fill:"transparent"},tG=["height","cursor"],eG={key:1,class:"vvplot-interactive",fill:"transparent"},nG=["y"],iG={__name:"CoreAxisV",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=C1("rangePreview"),o=X(()=>{let g=0,b={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof b=="string"&&b.endsWith("%")?g=n.value*b.slice(0,-1)/100:g=t.activeTransform.translateH+t.coord2pos({h:+b}).h*t.activeTransform.scaleH+t.layout.left,`translate(${g}, 0)`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,b=g,S=t.theme.title_dock_x,k=t.theme.title_dock_y,w=0;return typeof g!="number"&&(b={bottom:0,left:.5,right:.5,top:1}[g]??.5,S??={left:1,right:0}[g]??.5,k??={top:0,bottom:1}[g]??.5,w=({left:-1,right:1}[g]??0)*(t.theme.title_offset??0)),{x:w,y:i.value*(1-b),angle:t.theme.title_angle,dockX:S,dockY:k,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let b of t.ticks){let{value:S,theme:k}=b,w=t.coord2pos({v:S}).v,B=w*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(w+=t.layout.t,w+B<0||w+B>i.value)continue;let P=(k.tick_position=="right"?1:-1)*k.tick_length;g.push({key:"line-"+b.value,y1:w,y2:w,x1:0,x2:P,stroke:b.color??k.tick_color,"stroke-width":b.width??k.tick_width,transform:B?`translate(0,${B})`:null,style:{transition:t.transition}})}return g.filter(b=>b.stroke!=null).sort((b,S)=>b.y1-S.y1)}),s=X(()=>{let g=[];for(let b of t.ticks){let{type:S,value:k,label:w,title:B,theme:P,...W}=b,U=(P.label_position??P.tick_position)=="right",z=t.coord2pos({v:k}).v,q=z*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(z+=t.layout.t,z+q<0||z+q>i.value)continue;let H=(U?1:-1)*((P.label_offset??P.tick_length)+3),F,et,Q,K;P.label_anchor_x!=null||P.label_anchor_y!=null?(F=P.label_anchor_x??(U?0:1),et=P.label_anchor_y??.5):(Q=P.label_dock_x??(U?0:1),K=P.label_dock_y??.5),g.push({wrapper:{key:"text-"+k,transform:q?`translate(0,${q})`:null,style:{transition:t.transition}},text:{y:z,x:H,angle:P.label_angle,anchorX:F,anchorY:et,dockX:Q,dockY:K,type:P.label_type,text:w,title:B??w,fontSize:P.label_size,fill:P.label_color,"font-family":"sans-serif",value:k,...W}})}return g.filter(b=>b.text.fill!=null).sort((b,S)=>b.text.y-S.text.y)}),u=Dt("i");function d(g){let b=u.value.getBoundingClientRect(),S=b.height/u.value.getBBox().height,k=g.clientY-b.top,w=k/S-t.layout.top,B=t.layout.top+t.layout.height-k/S,P={t:w,b:B},{x:W,y:U}=t.pos2coord({v:w});return W&&(P.x=W),U&&(P.y=U),P}const f=e;let h,m=0;function y(g){let b=d(g);f("pointerdown",g,b);let S=!1;function k(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(S=!0,q.currentTarget.removeEventListener("pointermove",k))}g.target.addEventListener("pointermove",k,{passive:!0});let w=t.action.find(q=>q.action=="move");if(!w)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let B=0,P=t.layout.height,W=t.coord2pos(w),z=u.value.getBoundingClientRect().height/u.value.getBBox().height;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(m+=q.movementY,!S)return;let H=yt(-m/z,{min:W.vmin-B,max:W.vmax-P}),{xmin:F,xmax:et,ymin:Q,ymax:K}=t.pos2coord({vmin:B+H,vmax:P+H});Object.assign(r,{xmin:F,xmax:et,ymin:Q,ymax:K})},g.target.onpointerup=q=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,S&&(h=setTimeout(()=>{$(w,q),m=0},300))}}function v(g){let b=t.action.find(F=>F.action=="rescale");if(!b)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":S=0}=b,k=d(g),w=t.coord2pos(k).v,B=w-k.t,P=w+k.b,W=t.pos2coord({vmin:B,vmax:P}),U={min:t.coord2pos(b).vmin,max:t.coord2pos({vmin:W.vmax-S,vmax:W.vmin+S}).vmin},q=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{H+=F.movementY;let{xmin:et,xmax:Q,ymin:K,ymax:_}=t.pos2coord({vmin:yt(P-(P-B)*k.b/Math.max(k.b-H/q,1),U),vmax:P});Object.assign(r,{xmin:et,xmax:Q,ymin:K,ymax:_})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,$(b,F)}}function x(g){let b=t.action.find(F=>F.action=="rescale");if(!b)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":S=0}=b,k=d(g),w=t.coord2pos(k).v,B=w-k.t,P=w+k.b,W=t.pos2coord({vmin:B,vmax:P}),U={min:t.coord2pos({vmin:W.vmax-S,vmax:W.vmin+S}).vmax,max:t.coord2pos(b).vmax},q=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{H+=F.movementY;let{xmin:et,xmax:Q,ymin:K,ymax:_}=t.pos2coord({vmin:B,vmax:yt(B+(P-B)*k.t/Math.max(k.t+H/q,1),U)});Object.assign(r,{xmin:et,xmax:Q,ymin:K,ymax:_})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,$(b,F)}}let T=0,A;function M(g){let b=d(g);f("wheel",g,b);let S=t.action.find(k=>["zoom","nudge"].includes(k.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(w=>k[w]==g[w]));S&&(A=clearTimeout(A),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),T+=g.deltaY,j(S,b,T),A=setTimeout(()=>{$(S,g),T=0},300))}function j(g,b,S){if(g.action=="zoom"){let{"min-range-v":k=0,sensitivity:w=1.25}=g,B=w**(S/100),P=t.coord2pos(g),W=Math.max(b.t-Math.max(b.t,0)*B,P.vmin??-1/0),U=Math.min(b.t+Math.max(b.b,0)*B,P.vmax??1/0),{[t.coord+"min"]:z,[t.coord+"max"]:q}=t.pos2coord({vmin:W,vmax:U});if(B<1&&q-z<k){let H=(q+z)/2;z=H-k/2,q=H+k/2}r[t.coord+"min"]=z,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:k=.1}=g,w=t.coord2pos(g),B=0,P=t.layout.height,W=k*t.layout.height*(-S/120),U=yt(-W,{min:w.vmin-B,max:w.vmax-P}),{xmin:z,xmax:q,ymin:H,ymax:F}=t.pos2coord({vmin:B+U,vmax:P+U});Object.assign(r,{xmin:z,xmax:q,ymin:H,ymax:F})}}function $(g,b){let S=Yt(r)??{};if(!Object.keys(S).length)return;let k=new PointerEvent(b.type,b);Be(g.emit,S,k)||f(g.action,S,k),f("rangechange",S),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},click(g){f("click",g,d(g))},singleclick(g){f("singleclick",g,d(g))},dblclick(g){f("dblclick",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},wheel:M};return(g,b)=>(O(),I("g",{transform:o.value,style:j1({transition:t.transition})},[c.value.stroke!=null?(O(),I("line",J({key:0,ref:"i",x1:0,x2:0,y1:0,y2:i.value},c.value),null,16,QU)):Lt("",!0),b[1]||(b[1]=dt()),(O(!0),I(lt,null,ut(a.value,S=>(O(),I("line",J({ref_for:!0},S),null,16))),256)),b[2]||(b[2]=dt()),(O(!0),I(lt,null,ut(s.value,S=>(O(),I("g",J({ref_for:!0},S.wrapper),[re(ml,J({ref_for:!0},S.text,{getPosition:d}),null,16)],16))),256)),b[3]||(b[3]=dt()),Nt("g",JU,[Nt("rect",J({width:10,height:i.value,x:-5},$t(L,!0),{onPointerdown:y,cursor:t.action.some?.(S=>S.action=="move")?"grab":null}),null,16,tG)]),b[4]||(b[4]=dt()),t.action.some?.(S=>S.action=="rescale")?(O(),I("g",eG,[Nt("rect",J({width:10,height:20,x:-5,style:{cursor:"ns-resize"}},$t(L,!0),{onPointerdown:v}),null,16),b[0]||(b[0]=dt()),Nt("rect",J({width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"}},$t(L,!0),{onPointerdown:x}),null,16,nG)])):Lt("",!0),b[5]||(b[5]=dt()),l.value.text?(O(),I(lt,{key:2},[t.theme.title_type=="markdown"?(O(),bt(B1,se(J({key:0},l.value)),null,16)):(O(),bt(V1,se(J({key:1},l.value)),null,16))],64)):Lt("",!0)],12,_U))}},Ao={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:ZU,v:iG};return(n,i)=>t.position!="none"?(O(),bt(Xe(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Lt("",!0)}},rG={__name:"CoreGridH",props:{breaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="major")continue;let a=t.coord2pos({v:c.value}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+s<0||a+s>n.value)&&l.push({key:"major-"+c.value,x1:0,x2:e.value,y1:a,y2:a,stroke:c.theme.grid_color_major,"stroke-width":c.theme.grid_width_major??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="minor")continue;let a=t.coord2pos({v:c.value}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+s<0||a+s>n.value)&&l.push({key:"minor-"+c.value,x1:0,x2:e.value,y1:a,y2:a,stroke:c.theme.grid_color_minor,"stroke-width":c.theme.grid_width_minor??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.y1-c.y1));return(l,c)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(o.value,a=>(O(),I("line",J({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},oG={__name:"CoreGridV",props:{breaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="major")continue;let a=t.coord2pos({h:c.value}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+s<0||a+s>e.value)&&l.push({key:"major-"+c.value,y1:0,y2:n.value,x1:a,x2:a,stroke:c.theme.grid_color_major,"stroke-width":c.theme.grid_width_major??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="minor")continue;let a=t.coord2pos({h:c.value}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+s<0||a+s>e.value)&&l.push({key:"minor-"+c.value,y1:0,y2:n.value,x1:a,x2:a,stroke:c.theme.grid_color_minor,"stroke-width":c.theme.grid_width_minor??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.x1-c.x1));return(l,c)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(o.value,a=>(O(),I("line",J({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},sG={__name:"CoreCanvasBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,xmin:m,xmax:y,y:v,ymin:x,ymax:T,lwisker:A,Q1:M,median:j,Q3:$,uwisker:L,outliers:g,$xmin:b,$xmax:S,$ymin:k,$ymax:w,fill:B="white",color:P="black",linewidth:W=1,linetype:U,alpha:z,"translate-x":q=0,"translate-y":H=0,$raw:F}of f){if(P==="transparent")continue;const{hmin:et,hmax:Q,vmin:K,vmax:_}=t.coord2pos(h==null?{ymin:x,ymax:T,xmin:M,xmax:$}:{xmin:m,xmax:y,ymin:M,ymax:$}),{h:ot,v:st}=t.coord2pos(h==null?{y:v,x:A}:{x:h,y:A}),{h:pt,v:_t}=t.coord2pos(h==null?{y:v,x:L}:{x:h,y:L}),{h:le,v:ie}=t.coord2pos(h==null?{y:x,x:j}:{x:m,y:j}),{h:Jt,v:ve}=t.coord2pos(h==null?{y:T,x:j}:{x:y,y:j}),{h:E,v:D}=t.coord2pos(h==null?{y:x*.25+T*.75,x:L}:{x:m*.25+y*.75,y:L}),{h:V,v:Y}=t.coord2pos(h==null?{y:x*.75+T*.25,x:L}:{x:m*.75+y*.25,y:L}),{h:p,v:C}=t.coord2pos(h==null?{y:x*.25+T*.75,x:A}:{x:m*.25+y*.75,y:A}),{h:N,v:R}=t.coord2pos(h==null?{y:x*.75+T*.25,x:A}:{x:m*.75+y*.25,y:A});s.globalAlpha=z,s.setLineDash(Rt(U));const G=new Path2D;G.moveTo(ot+q,st+H),G.lineTo(pt+q,_t+H);const tt=new Path2D;tt.moveTo(E+q,D+H),tt.lineTo(V+q,Y+H),tt.moveTo(p+q,C+H),tt.lineTo(N+q,R+H),s.lineWidth=W,P!=="none"&&(s.strokeStyle=P,s.stroke(G),s.stroke(tt));const at=new Path2D;at.rect(et+q,K+H,Q-et,_-K),B!=="none"&&(s.fillStyle=B,s.fill(at)),P!=null&&(s.strokeStyle=P,s.stroke(at)),u.set(at,F);const it=new Path2D;it.moveTo(le+q,ie+H),it.lineTo(Jt+q,ve+H),s.lineWidth=W*2,P!=="none"&&(s.strokeStyle=P,s.stroke(it));for(let{x:kt,y:wt,$raw:ht}of g){const{h:ct,v:nt}=t.coord2pos({x:kt,y:wt}),rt=new Path2D;rt.arc(ct+q,nt+H,2,0,Math.PI*2),B!=="none"&&(s.fillStyle=P,s.fill(rt)),u.set(rt,ht)}}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,v=(h.clientY-m.top)*a.height/m.height;for(const[x,T]of d)if(s.isPointInPath(x,y,v)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},lG={__name:"CoreCanvasCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{points:m,fill:y="none",color:v="black",linewidth:x,linetype:T,alpha:A,"translate-x":M=0,"translate-y":j=0,$raw:$,interpolate:L}of h){if(m=m.map(k=>(({h:w,v:B})=>({x:w,y:B}))(t.coord2pos(k))).filter(k=>k.x!=null&&k.y!=null),m.length===0)continue;const g=new Path2D;let S=(typeof L=="function"?L:a[L]??kn)(g);S.lineStart();for(let k=0;k<m.length;k++)S.point(m[k].x+M,m[k].y+j);S.lineEnd(),d.set(g,$),u.lineWidth=x,u.globalAlpha=A,u.setLineDash(Rt(T)),y!=="none"&&(u.fillStyle=y,u.fill(g)),v!=null&&(u.strokeStyle=v,u.stroke(g))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),v=(m.clientX-y.left)*s.width/y.width,x=(m.clientY-y.top)*s.height/y.height;for(const[T,A]of f)if(u.isPointInPath(T,v,x)){r(h,m,t.getCoord(m),A),m._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});const a={cardinal:js,catmullRom:qs,linear:Ii,natural:kn};return(s,u)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},aG={__name:"CoreCanvasEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{cx:h,cy:m,A:y,B:v,C:x,fill:T="none",color:A="black",linewidth:M,linetype:j,alpha:$,"translate-x":L=0,"translate-y":g=0,$raw:b}of f){let S=Math.sqrt(x/(y*x-v*v)),k=Math.sqrt(y/(y*x-v*v));const{h:w,v:B}=t.coord2pos({x:h,y:m});let{h:P,v:W}=t.coord2pos({x:h-S,y:m-k}),{h:U,v:z}=t.coord2pos({x:h+S,y:m+k}),q=(U-P)/(2*S),H=(z-W)/(2*k);y/=q*q,v/=q*H,x/=H*H;const F=y+x,et=y*x-v*v,Q=Math.sqrt(Math.max(0,F*F/4-et));let K=1/Math.sqrt(F/2+Q),_=1/Math.sqrt(F/2-Q),ot=Math.atan2(2*v,y-x)/2;const st=new Path2D;st.ellipse(w+L,B+g,K,_,ot,0,2*Math.PI),u.set(st,b),s.lineWidth=M,s.globalAlpha=$,s.setLineDash(Rt(j)),T!=="none"&&(s.fillStyle=T,s.fill(st)),A!=null&&(s.strokeStyle=A,s.stroke(st))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,v=(h.clientY-m.top)*a.height/m.height;for(const[x,T]of d)if(s.isPointInPath(x,y,v)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},So={__name:"CoreCanvasLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:m,xend:y,yend:v,color:x,linewidth:T,alpha:A,linetype:M,"translate-x":j=0,"translate-y":$=0,$raw:L}of f){if(x==="transparent")continue;const{h:g,v:b}=t.coord2pos({x:h,y:m}),{h:S,v:k}=t.coord2pos({x:y,y:v}),w=new Path2D;w.moveTo(g+j,b+$),w.lineTo(S+j,k+$),u.set(w,L),s.lineWidth=T,s.globalAlpha=A,s.setLineDash(Rt(M)),x!=="none"&&(s.strokeStyle=x,s.stroke(w))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,v=(h.clientY-m.top)*a.height/m.height;for(const[x,T]of d)if(s.isPointInPath(x,y,v)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},cG={__name:"CoreCanvasPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o={triangle:s=>`M0-${s*2/3}L${s*.577},${s/3}L-${s*.577},${s/3}Z`,diamond:s=>`M0-${s*.707}L${s*.707},0L0,${s*.707}L-${s*.707},0Z`,square:s=>`M-${s/2}-${s/2}H${s/2}V${s/2}H-${s/2}Z`,plus:s=>`M-${s/10}-${s/2}V-${s/10}H-${s/2}V${s/10}H-${s/10}V${s/2}H${s/10}V${s/10}H${s/2}V-${s/10}H${s/10}V-${s/2}H-${s/10}Z`,cross:s=>`M-${s*.283}-${s*.424}L-${s*.424}-${s*.283}L-${s*.141},0L-${s*.424},${s*.283}L-${s*.283},${s*.424}L0,${s*.141}L${s*.283},${s*.424}L${s*.424},${s*.283}L${s*.141},0L${s*.424},-${s*.283}L${s*.283},-${s*.424}L0,-${s*.141}Z`,arrowhead:s=>`M0,0L${s},${-s*.38}V${s*.38}Z`},l=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),c=Dt("container"),a=X(()=>{if(c.value==null)return;const s=document.createElement("canvas");s.style.width=l.value.width+"px",s.style.height=l.value.height+"px",s.width=l.value.width*t.dpi/96,s.height=l.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:m,y,size:v=6,shape:x,color:T,stroke:A,linewidth:M,linetype:j,alpha:$,"translate-x":L=0,"translate-y":g=0,angle:b=0,$raw:S}of h){const{h:k,v:w}=t.coord2pos({x:m,y});if(typeof b=="object"){let{dx:P=0,dy:W=0}=b,{h:U,v:z}=t.coord2pos({x:m+P,y:y+W});b=Math.atan2(z-w,U-k)*180/Math.PI}const B=new Path2D;String(x).startsWith("path:")?B.addPath(new Path2D(x.slice(5)),new DOMMatrix().translateSelf(k+L,w+g).rotate(b)):x in o?B.addPath(new Path2D(o[x](v)),new DOMMatrix().translate(k+L,w+g).rotate(b)):B.arc(k+L,w+g,v/2,0,Math.PI*2),d.set(B,S),u.lineWidth=M,u.globalAlpha=$,u.beginPath(),T!=="none"&&(u.fillStyle=T,u.fill(B)),A!=null&&(u.strokeStyle=A,u.setLineDash(Rt(j)),u.stroke(B))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),v=(m.clientX-y.left)*s.width/y.width,x=(m.clientY-y.top)*s.height/y.height;for(const[T,A]of f)if(u.isPointInPath(T,v,x)){r(h,m,t.getCoord(m),A),m._vhandled=!0;break}});return s});return St(a,s=>c.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)}),(s,u)=>(O(),I("foreignObject",J(l.value,{ref:"container"}),null,16))}},uG={__name:"CoreCanvasPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{points:h,fill:m,color:y,linewidth:v,linetype:x,alpha:T,"translate-x":A=0,"translate-y":M=0,$raw:j}of f){if(h=h.map(L=>(({h:g,v:b})=>({x:g,y:b}))(t.coord2pos(L))).filter(L=>L.x!=null&&L.y!=null),h.length===0)continue;const $=new Path2D;$.moveTo(h[0].x+A,h[0].y+M);for(let L=1;L<h.length;L++)$.lineTo(h[L].x+A,h[L].y+M);$.closePath(),u.set($,j),s.lineWidth=v,s.globalAlpha=T,s.setLineDash(Rt(x)),m!=="none"&&(s.fillStyle=m,s.fill($)),y!=null&&(s.strokeStyle=y,s.stroke($))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,v=(h.clientY-m.top)*a.height/m.height;for(const[x,T]of d)if(s.isPointInPath(x,y,v)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},Co={__name:"CoreCanvasRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{xmin:h,xmax:m,ymin:y,ymax:v,fill:x,color:T,linewidth:A,linetype:M,alpha:j,"translate-x":$=0,"translate-y":L=0,$raw:g}of f){const{hmin:b,hmax:S,vmin:k,vmax:w}=t.coord2pos({xmin:h,xmax:m,ymin:y,ymax:v}),B=new Path2D;B.rect(b+$,k+L,S-b,w-k),u.set(B,g),s.lineWidth=A,s.globalAlpha=j,s.setLineDash(Rt(M)),x!=="none"&&(s.fillStyle=x,s.fill(B)),T!=null&&(s.strokeStyle=T,s.stroke(B))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,v=(h.clientY-m.top)*a.height/m.height;for(const[x,T]of d)if(s.isPointInPath(x,y,v)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},hG={__name:"CoreCanvasText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:m,color:y,size:v=4,label:x="",title:T,stroke:A,linewidth:M,linetype:j,alpha:$,"anchor-x":L,"anchor-y":g,"dock-x":b,"dock-y":S,"translate-x":k=0,"translate-y":w=0,angle:B,"text-length":P,"font-family":W="sans-serif",$raw:U}of f){s.save();const{h:z,v:q}=t.coord2pos({x:h,y:m});s.textAlign="center",s.textBaseline="middle",s.lineWidth=M,s.globalAlpha=$,s.font=`${v*4}px ${W}`,s.setLineDash(Rt(j)),s.translate(z+k,q+w);let{width:H,fontBoundingBoxAscent:F,fontBoundingBoxDescent:et}=s.measureText(x),Q=H,K=F+et;if(typeof P=="object"){let{x:_=0,y:ot=0}=P,{h:st,v:pt}=t.coord2pos({x:h+_/2,y:m+ot/2}),{h:_t,v:le}=t.coord2pos({x:h-_/2,y:m-ot/2});Q=Math.hypot(st-_t||0,pt-le||0)}else P!=null&&(Q=P);if(typeof B=="object"){let{dx:_=0,dy:ot=0}=B,{h:st,v:pt}=t.coord2pos({x:h+_,y:m+ot});B=Math.atan2(pt-q,st-z)*180/Math.PI}if(b!=null||S!=null){let _={left:0,center:.5,right:1}[b]??+(b??.5),ot={bottom:0,center:.5,top:1}[S]??+(S??.5);isNaN(_)&&(_=.5),isNaN(ot)&&(ot=.5);let st=Q*Math.abs(Math.cos(B*Math.PI/180))+K*Math.abs(Math.sin(B*Math.PI/180)),pt=Q*Math.abs(Math.sin(B*Math.PI/180))+K*Math.abs(Math.cos(B*Math.PI/180));s.translate(st*(.5-_),pt*(ot-.5)),s.rotate(B*Math.PI/180)}else{let _={left:0,center:.5,right:1}[L]??+(L??.5),ot={bottom:0,center:.5,top:1}[g]??+(g??.5);isNaN(_)&&(_=.5),isNaN(ot)&&(ot=.5);let st=Q,pt=K;s.rotate(B*Math.PI/180),s.translate(st*(.5-_),pt*(ot-.5))}Q!=H&&s.scale(Q/H,1),y!=="none"&&(s.fillStyle=y,s.fillText(x,0,0)),A!=null&&(s.strokeStyle=A,s.strokeText(x,0,0)),s.restore()}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,v=(h.clientY-m.top)*a.height/m.height;for(const[x,T]of d)if(s.isPointInPath(x,y,v)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},fG={__name:"CoreCanvasTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=Dt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:m,xend:y,y:v,yend:x,size:T=4,label:A="",title:M,color:j,stroke:$,linewidth:L,linetype:g,alpha:b,"translate-x":S=0,"translate-y":k=0,"text-length":w,"font-family":B="sans-serif","text-align":P="justify",angle:W="auto",inset:U=0,$raw:z}of h){const{h:q,v:H}=t.coord2pos({x:m,y:v}),{h:F,v:et}=t.coord2pos({x:y,y:x});if(u.save(),u.translate(S,k),u.textBaseline="middle",u.lineWidth=L,u.globalAlpha=b,u.font=`${T*4}px ${B}`,u.setLineDash(Rt(g)),["stretch","pre","start","center","end","post"].includes(P)){let Q=Math.atan2(et-H,F-q),K=String(A).replace(/\x01|\x02/g,""),_=Math.cos(Q)*U,ot=Math.sin(Q)*U;switch(P){case"stretch":case"center":u.translate((q+F)/2,(H+et)/2),u.textAlign="center";break;case"pre":u.translate(q-_,H-ot),u.textAlign="end";break;case"start":u.translate(q+_,H+ot),u.textAlign="start";break;case"end":u.translate(F-_,et-ot),u.textAlign="end";break;case"post":u.translate(F+_,et+ot),u.textAlign="start";break}u.rotate(Q),P==="stretch"&&u.scale(Math.hypot(F-q||0,et-H||0)/u.measureText(K).width,1),j!=="none"&&(u.fillStyle=j,u.fillText(K,0,0)),$!=null&&(u.strokeStyle=$,u.strokeText(K,0,0))}else{let Q=W==="auto"?Math.atan2(et-H,F-q):W*Math.PI/180;u.textAlign="center";let K=a(String(A)),_=(F-q)/(K.length-1||1),ot=(et-H)/(K.length-1||1);for(let st=0;st<K.length;st++){u.save(),u.translate(q+st*_,H+st*ot),u.rotate(Q);let pt=K[st];j!=="none"&&(u.fillStyle=j,u.fillText(pt,0,0)),$!=null&&(u.strokeStyle=$,u.strokeText(pt,0,0)),u.restore()}}u.restore()}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),v=(m.clientX-y.left)*s.width/y.width,x=(m.clientY-y.top)*s.height/y.height;for(const[T,A]of f)if(u.isPointInPath(T,v,x)){r(h,m,t.getCoord(m),A),m._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});function a(s){let u=[];for(let d=0;d<s.length;d++)if(s[d]==""){let f=d+1;for(;f<s.length&&s[f]!="";)f++;u.push(s.slice(d+1,f)),d=f}else u.push(s[d]);return u}return(s,u)=>(O(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},dG=Object.freeze(Object.defineProperty({__proto__:null,boxplot:sG,curve:lG,ellipse:aG,line:So,point:cG,polygon:uG,rect:Co,stick:So,text:hG,textsegment:fG,tile:Co},Symbol.toStringTag,{value:"Module"})),mG={__name:"CoreSvgBlank",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup"],setup(t,{emit:e}){return(n,i)=>(O(),I("g"))}},gG={key:0},Rn={__name:"CoreTile",props:{x:{type:Number,default:0},y:{type:Number,default:0},width:{type:Number,default:0},height:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x:t.x-t.width/2,y:t.y-t.height/2,width:t.width,height:t.height,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Rt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),I("rect",se(y1(e.value)),[t.title?(O(),I("title",gG,Ft(t.title),1)):Lt("",!0)],16))}},yG={key:0},pG={key:0},Xi={__name:"CorePoint",props:{x:{type:Number,default:0},y:{type:Number,default:0},shape:String,size:{type:Number,default:6},color:String,stroke:String,linewidth:{type:Number,default:1},linetype:String,alpha:{type:Number,default:1},title:String,angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e={circle:"M0-0.5A0.5,0.5,0,1,1,0,0.5A0.5,0.5,0,1,1,0-0.5Z",square:"M-0.5-0.5H0.5V0.5H-0.5Z",triangle:"M0-0.667L0.577,0.333L-0.577,0.333Z",diamond:"M0-0.707L0.707,0L0,0.707L-0.707,0Z",plus:"M-0.1-0.5V-0.1H-0.5V0.1H-0.1V0.5H0.1V0.1H0.5V-0.1H0.1V-0.5H-0.1Z",cross:"M-0.283-0.424L-0.424-0.283L-0.141,0L-0.424,0.283L-0.283,0.424L0,0.141L0.283,0.424L0.424,0.283L0.141,0L0.424,-0.283L0.283,-0.424L0,-0.141Z",arrowhead:"M0,0L1,0.38V-0.38Z"},n=X(()=>{let i=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],r={color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Rt(t.linetype).join(" ")||null};if(i!=null){let o=[],l=t.x+t.translateX,c=t.y+t.translateY;(l!==0||c!==0)&&o.push(`translate(${l},${c})`),t.size!=1&&o.push(`scale(${t.size})`),t.angle&&o.push(`rotate(${t.angle})`),Object.assign(r,{d:i,transform:o.join(" ")||null,"stroke-width":t.linewidth/t.size})}else{let o=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(r,{cx:t.x,cy:t.y,r:t.size/2,transform:o,"stroke-width":t.linewidth})}return r});return(i,r)=>n.value.d?(O(),I("path",se(J({key:0},n.value)),[t.title?(O(),I("title",yG,Ft(t.title),1)):Lt("",!0)],16)):(O(),I("circle",se(J({key:1},n.value)),[t.title?(O(),I("title",pG,Ft(t.title),1)):Lt("",!0)],16))}},vG={key:0},l1={__name:"CoreLine",props:{x1:{type:Number,default:0},y1:{type:Number,default:0},x2:{type:Number,default:0},y2:{type:Number,default:0},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,color:t.color||null,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Rt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),I("line",se(y1(e.value)),[t.title?(O(),I("title",vG,Ft(t.title),1)):Lt("",!0)],16))}},xG={__name:"CoreSvgBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xmin:d,xmax:f,y:h,ymin:m,ymax:y,lwisker:v,Q1:x,median:T,Q3:A,uwisker:M,outliers:j,$xmin:$,$xmax:L,$ymin:g,$ymax:b,fill:S="white",color:k="black",linewidth:w,linetype:B,alpha:P,title:W,"translate-x":U=0,"translate-y":z=0,class:q,style:H,$raw:F})=>{const{hmin:et,hmax:Q,vmin:K,vmax:_}=t.coord2pos({xmin:$,xmax:L,ymin:g,ymax:b});if(et<o&&Q<o||et>l&&Q>l||K<c&&_<c||K>a&&_>a)return null;const{hmin:ot,hmax:st,vmin:pt,vmax:_t}=t.coord2pos(u==null?{ymin:m,ymax:y,xmin:x,xmax:A}:{xmin:d,xmax:f,ymin:x,ymax:A}),{h:le,v:ie}=t.coord2pos(u==null?{y:h,x:v}:{x:u,y:v}),{h:Jt,v:ve}=t.coord2pos(u==null?{y:h,x:M}:{x:u,y:M}),{h:E,v:D}=t.coord2pos(u==null?{y:m,x:T}:{x:d,y:T}),{h:V,v:Y}=t.coord2pos(u==null?{y,x:T}:{x:f,y:T}),{h:p,v:C}=t.coord2pos(u==null?{y:m*.25+y*.75,x:M}:{x:d*.25+f*.75,y:M}),{h:N,v:R}=t.coord2pos(u==null?{y:m*.75+y*.25,x:M}:{x:d*.75+f*.25,y:M}),{h:G,v:tt}=t.coord2pos(u==null?{y:m*.25+y*.75,x:v}:{x:d*.25+f*.75,y:v}),{h:at,v:it}=t.coord2pos(u==null?{y:m*.75+y*.25,x:v}:{x:d*.75+f*.25,y:v});let kt={rect:{x:(ot+st)/2,width:st-ot,y:(pt+_t)/2,height:_t-pt,fill:S,color:k,linetype:B,linewidth:w,alpha:P,title:W,translateX:U,translateY:z,class:q,style:H},line:{x1:le,y1:ie,x2:Jt,y2:ve,color:k,linetype:B,linewidth:w,alpha:P,translateX:U,translateY:z,class:q,style:H},midline:{x1:E,y1:D,x2:V,y2:Y,color:k,linetype:B,linewidth:(w??1)*2,alpha:P,translateX:U,translateY:z,class:q,style:H},uwisker:{x1:p,y1:C,x2:N,y2:R,color:k,linetype:B,linewidth:w,alpha:P,translateX:U,translateY:z,class:q,style:H},lwisker:{x1:G,y1:tt,x2:at,y2:it,color:k,linetype:B,linewidth:w,alpha:P,translateX:U,translateY:z,class:q,style:H},outliers:j?.map(({x:ht,y:ct,$raw:nt})=>{const{h:rt,v:Z}=t.coord2pos({x:ht,y:ct});let vt={x:rt,y:Z,shape:"circle",size:4,color:k,alpha:P,translateX:U,translateY:z,class:q,style:H},mt=Object.fromEntries(n.map(It=>[It,Ht=>i(It,Ht,nt)]));return[vt,mt]})},wt=Object.fromEntries(n.map(ht=>[ht,ct=>i(ht,Object.assign(ct,{_vhandled:!0}),t.getCoord(ct),F)]));return[kt,wt]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),I("g",null,[re(l1,J({ref_for:!0},a.line),null,16),l[0]||(l[0]=dt()),re(Rn,J({ref_for:!0},a.rect,$t(s)),null,16),l[1]||(l[1]=dt()),re(l1,J({ref_for:!0},a.midline),null,16),l[2]||(l[2]=dt()),re(l1,J({ref_for:!0},a.uwisker),null,16),l[3]||(l[3]=dt()),re(l1,J({ref_for:!0},a.lwisker),null,16),l[4]||(l[4]=dt()),(O(!0),I(lt,null,ut(a.outliers,([u,d])=>(O(),bt(Xi,J({ref_for:!0},u,$t(d)),null,16))),256))]))),256))],16))),256))]))}},bG={key:0},gl={__name:"CoreCurve",props:{points:{type:Array,default:()=>[]},interpolate:{default:"natural"},fill:{type:String,default:"none"},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let i=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??kn;return{d:p9().curve(i)(t.points.map(r=>[r.x,r.y])),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Rt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:js,catmullRom:qs,linear:Ii,natural:kn};return(i,r)=>(O(),I("path",se(y1(e.value)),[t.title?(O(),I("title",bG,Ft(t.title),1)):Lt("",!0)],16))}},wG={__name:"CoreSvgCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d="none",color:f="black",linewidth:h,linetype:m,alpha:y,title:v,"translate-x":x=0,"translate-y":T=0,"marker-start":A,"marker-end":M,class:j,style:$,$raw:L,interpolate:g})=>{if(u=u.map(k=>(({h:w,v:B})=>({x:w,y:B}))(t.coord2pos(k))),u.every(k=>k.x<o)||u.every(k=>k.x>l)||u.every(k=>k.y<c)||u.every(k=>k.y>a))return null;let b={points:u,fill:d,color:f,linetype:m,linewidth:h,alpha:y,title:v,translateX:x,translateY:T,"marker-start":A,"marker-end":M,class:j,style:$,interpolate:g},S=Object.fromEntries(n.map(k=>[k,w=>i(k,Object.assign(w,{_vhandled:!0}),t.getCoord(w),L)]));return[b,S]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(gl,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},kG={key:0},AG={__name:"CoreEllipse",props:{cx:{type:Number,default:0},cy:{type:Number,default:0},rx:{type:Number,default:0},ry:{type:Number,default:0},angle:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let n=[];return(t.translateX||t.translateY)&&n.push(`translate(${t.translateX}, ${t.translateY})`),t.angle&&n.push(`rotate(${t.angle})`),{cx:t.cx,cy:t.cy,rx:t.rx,ry:t.ry,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Rt(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(O(),I("ellipse",se(y1(e.value)),[t.title?(O(),I("title",kG,Ft(t.title),1)):Lt("",!0)],16))}},SG={__name:"CoreSvgEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({cx:u,cy:d,A:f,B:h,C:m,fill:y="none",color:v="black",linewidth:x,linetype:T,alpha:A,title:M,"translate-x":j=0,"translate-y":$=0,class:L,style:g,$raw:b})=>{let S=Math.sqrt(m/(f*m-h*h)),k=Math.sqrt(f/(f*m-h*h));const{h:w,v:B}=t.coord2pos({x:u,y:d});let{h:P,v:W}=t.coord2pos({x:u-S,y:d-k}),{h:U,v:z}=t.coord2pos({x:u+S,y:d+k});if(P<o&&U<o||U>l&&P>l||W<c&&z<c||z>a&&W>a)return null;let q=(U-P)/(2*S),H=(z-W)/(2*k);f/=q*q,h/=q*H,m/=H*H;const F=f+m,et=f*m-h*h,Q=Math.sqrt(Math.max(0,F*F/4-et));let K={cx:w,cy:B,rx:1/Math.sqrt(F/2+Q)||0,ry:1/Math.sqrt(F/2-Q)||0,angle:Math.atan2(2*h,f-m)/2*180/Math.PI||0,fill:y,color:v,linetype:T,linewidth:x,alpha:A,title:M,translateX:j,translateY:$,class:L,style:g},_=Object.fromEntries(n.map(ot=>[ot,st=>i(ot,Object.assign(st,{_vhandled:!0}),t.getCoord(st),b)]));return[K,_]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(AG,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},No={__name:"CoreSvgLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,xend:f,yend:h,color:m="black",linewidth:y,linetype:v,alpha:x,title:T,"translate-x":A=0,"translate-y":M=0,"marker-start":j,"marker-end":$,class:L,style:g,$raw:b})=>{const{h:S,v:k}=t.coord2pos({x:u,y:d}),{h:w,v:B}=t.coord2pos({x:f,y:h});if(S<o&&w<o||S>l&&w>l||k<c&&B<c||k>a&&B>a)return null;let P={x1:S,x2:w,y1:k,y2:B,color:m,linetype:v,linewidth:y,alpha:x,title:T,translateX:A,translateY:M,"marker-start":j,"marker-end":$,class:L,style:g},W=Object.fromEntries(n.map(U=>[U,z=>i(U,Object.assign(z,{_vhandled:!0}),t.getCoord(z),b)]));return[P,W]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(l1,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},CG={__name:"CoreSvgMarkdown",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:v,linewidth:x,linetype:T,alpha:A,"anchor-x":M,"anchor-y":j,"dock-x":$,"dock-y":L,"translate-x":g=0,"translate-y":b=0,angle:S,"text-length":k,"font-family":w="sans-serif","text-anchor":B,class:P,style:W,$raw:U})=>{if(h==null)return null;const{h:z,v:q}=t.coord2pos({x:u,y:d});if(z<o||z>l||q<c||q>a)return null;if(typeof k=="object"){let{x:et=0,y:Q=0}=k,{h:K,v:_}=t.coord2pos({x:u+et/2,y:d+Q/2}),{h:ot,v:st}=t.coord2pos({x:u-et/2,y:d-Q/2});k=Math.hypot(K-ot||0,_-st||0)}if(typeof S=="object"){let{dx:et=0,dy:Q=0}=S,{h:K,v:_}=t.coord2pos({x:u+et,y:d+Q});S=Math.atan2(_-q,K-z)*180/Math.PI}let H={x:z,y:q,text:String(h),title:String(m??h),size:f,color:y,stroke:v,linetype:T,linewidth:x,alpha:A,angle:S,translateX:g,translateY:b,class:P,style:W,anchorX:M,anchorY:j,dockX:$,dockY:L,textLength:k,fontFamily:w,textAnchor:B},F=Object.fromEntries(n.map(et=>[et,Q=>i(et,Object.assign(Q,{_vhandled:!0}),t.getCoord(Q),U)]));return[H,F]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(B1,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},NG={__name:"CoreSvgMarkdownsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xend:d,y:f,yend:h,size:m=4,label:y,title:v,color:x,stroke:T,linewidth:A,linetype:M,alpha:j,"translate-x":$=0,"translate-y":L=0,"anchor-x":g,"anchor-y":b=.5,"font-family":S="sans-serif","text-align":k="start",inset:w=0,class:B,style:P,$raw:W})=>{if(y==null)return null;const{h:U,v:z}=t.coord2pos({x:u,y:f}),{h:q,v:H}=t.coord2pos({x:d,y:h});if(U<o&&q<o||U>l&&q>l||z<c&&H<c||z>a&&H>a)return null;let F=Math.atan2(H-z,q-U),et={text:String(y),title:String(v??y),color:x,alpha:j,size:m,stroke:T,linewidth:A,linetype:M,fontFamily:S,class:B,style:P},Q=Object.fromEntries(n.map(ot=>[ot,st=>i(ot,Object.assign(st,{_vhandled:!0}),t.getCoord(st),W)])),K,_;switch(k){case"stretch":K=(U+q)/2,_=(z+H)/2,g=.5,et.textLength=Math.hypot(q-U||0,H-z||0);break;case"center":K=(U+q)/2,_=(z+H)/2,g??=.5;break;case"pre":K=U,_=z,$-=Math.cos(F)*w,L-=Math.sin(F)*w,g??=1;break;case"end":K=q,_=H,$-=Math.cos(F)*w,L-=Math.sin(F)*w,g??=1;break;case"post":K=q,_=H,$+=Math.cos(F)*w,L+=Math.sin(F)*w,g??=0;break;default:K=U,_=z,$+=Math.cos(F)*w,L+=Math.sin(F)*w,g??=0}return Object.assign(et,{x:K,y:_,translateX:$,translateY:L,anchorX:g,anchorY:b,angle:F*180/Math.PI}),[et,Q]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(B1,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},MG={__name:"CoreSvgPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,shape:f,size:h=6,color:m,stroke:y,linetype:v,linewidth:x,alpha:T,title:A,"translate-x":M=0,"translate-y":j=0,angle:$,class:L,style:g,$raw:b})=>{const{h:S,v:k}=t.coord2pos({x:u,y:d});if(S<o||S>l||k<c||k>a)return null;if(typeof $=="object"){let{dx:P=0,dy:W=0}=$,{h:U,v:z}=t.coord2pos({x:u+P,y:d+W});$=Math.atan2(z-k,U-S)*180/Math.PI}let w={x:S,y:k,shape:f,size:h,color:m,stroke:y,linetype:v,linewidth:x,alpha:T,title:A,angle:$,translateX:M,translateY:j,class:L,style:g},B=Object.fromEntries(n.map(P=>[P,W=>i(P,Object.assign(W,{_vhandled:!0}),t.getCoord(W),b)]));return[w,B]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(Xi,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},$G={key:0},yl={__name:"CorePolygon",props:{points:{type:Array,default:()=>[]},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({points:t.points.map(n=>`${n.x},${n.y}`).join(" "),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Rt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),I("polygon",se(y1(e.value)),[t.title?(O(),I("title",$G,Ft(t.title),1)):Lt("",!0)],16))}},TG={__name:"CoreSvgPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:v,"translate-x":x=0,"translate-y":T=0,"marker-start":A,"marker-mid":M,"marker-end":j,class:$,style:L,$raw:g})=>{if(u=u.map(k=>(({h:w,v:B})=>({x:w,y:B}))(t.coord2pos(k))),u.every(k=>k.x<o)||u.every(k=>k.x>l)||u.every(k=>k.y<c)||u.every(k=>k.y>a))return null;let b={points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:v,translateX:x,translateY:T,"marker-start":A,"marker-mid":M,"marker-end":j,class:$,style:L},S=Object.fromEntries(n.map(k=>[k,w=>i(k,Object.assign(w,{_vhandled:!0}),t.getCoord(w),g)]));return[b,S]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(yl,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},Mo={__name:"CoreSvgRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({xmin:u,xmax:d,ymin:f,ymax:h,fill:m="black",color:y,linewidth:v,linetype:x,alpha:T,title:A,"translate-x":M=0,"translate-y":j=0,class:$,style:L,$raw:g})=>{const{hmin:b,hmax:S,vmin:k,vmax:w}=t.coord2pos({xmin:u,xmax:d,ymin:f,ymax:h});if(b<o&&S<o||b>l&&S>l||k<c&&w<c||k>a&&w>a)return null;let B={x:(b+S)/2,width:S-b,y:(k+w)/2,height:w-k,fill:m,color:y,linetype:x,linewidth:v,alpha:T,title:A,translateX:M,translateY:j,class:$,style:L},P=Object.fromEntries(n.map(W=>[W,U=>i(W,Object.assign(U,{_vhandled:!0}),t.getCoord(U),g)]));return[B,P]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(Rn,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},EG={__name:"CoreSvgText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:v,linewidth:x,linetype:T,alpha:A,"anchor-x":M,"anchor-y":j,"dock-x":$,"dock-y":L,"translate-x":g=0,"translate-y":b=0,angle:S,"text-length":k,"font-family":w,"text-anchor":B,class:P,style:W,$raw:U})=>{if(h==null)return null;const{h:z,v:q}=t.coord2pos({x:u,y:d});if(z<o||z>l||q<c||q>a)return null;if(typeof k=="object"){let{x:et=0,y:Q=0}=k,{h:K,v:_}=t.coord2pos({x:u+et/2,y:d+Q/2}),{h:ot,v:st}=t.coord2pos({x:u-et/2,y:d-Q/2});k=Math.hypot(K-ot||0,_-st||0)}if(typeof S=="object"){let{dx:et=0,dy:Q=0}=S,{h:K,v:_}=t.coord2pos({x:u+et,y:d+Q});S=Math.atan2(_-q,K-z)*180/Math.PI}let H={x:z,y:q,text:String(h),title:String(m??h),size:f,color:y,stroke:v,linetype:T,linewidth:x,alpha:A,angle:S,translateX:g,translateY:b,class:P,style:W,anchorX:M,anchorY:j,dockX:$,dockY:L,textLength:k,fontFamily:w,textAnchor:B},F=Object.fromEntries(n.map(et=>[et,Q=>i(et,Object.assign(Q,{_vhandled:!0}),t.getCoord(Q),U)]));return[H,F]}).filter(u=>u!=null))});return(o,l)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,c=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(c,([a,s])=>(O(),bt(V1,J({ref_for:!0},a,$t(s)),null,16))),256))],16))),256))]))}},LG={__name:"CoreSvgTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let l=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,a=-t.layout.fullHeight*t.extendY-t.layout.t,s=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(u=>u.map(({x:d,xend:f,y:h,yend:m,size:y=4,label:v,title:x,color:T,stroke:A,linewidth:M,linetype:j,alpha:$,"translate-x":L=0,"translate-y":g=0,"font-family":b="sans-serif","text-align":S="justify",angle:k="auto",inset:w=0,class:B,style:P,$raw:W})=>{if(v==null)return null;const{h:U,v:z}=t.coord2pos({x:d,y:h}),{h:q,v:H}=t.coord2pos({x:f,y:m});if(U<l&&q<l||U>c&&q>c||z<a&&H<a||z>s&&H>s)return null;let F={color:T||null,fill:T||null,"fill-opacity":$==1?null:$,"font-size":y*4,stroke:A||null,"stroke-width":M,"stroke-dasharray":Rt(j).join(" ")||null,"stroke-opacity":$==1?null:$,"font-family":b,class:B,style:P},et=Object.fromEntries(n.map(Q=>[Q,K=>i(Q,Object.assign(K,{_vhandled:!0}),t.getCoord(K),W)]));if(["stretch","pre","start","center","end","post"].includes(S)){let Q=Math.atan2(H-z,q-U),K,_,ot=String(v).replace(/\x01|\x02/g,""),st=Math.cos(Q)*w,pt=Math.sin(Q)*w;switch(S){case"stretch":K=(U+q)/2,_=(z+H)/2,F["text-anchor"]="middle",F.textLength=Math.hypot(q-U||0,H-z||0),F.lengthAdjust="spacingAndGlyphs";break;case"center":K=(U+q)/2,_=(z+H)/2,F["text-anchor"]="middle";break;case"pre":K=U,_=z,L-=st,g-=pt,F["text-anchor"]="end";break;case"start":K=U,_=z,L+=st,g+=pt,F["text-anchor"]="start";break;case"end":K=q,_=H,L-=st,g-=pt,F["text-anchor"]="end";break;case"post":K=q,_=H,L+=st,g+=pt,F["text-anchor"]="start";break}let _t=[];return(L||g)&&_t.push(`translate(${L}, ${g})`),Q&&_t.push(`rotate(${Q*180/Math.PI})`),Object.assign(F,{x:K,y:_,"dominant-baseline":"central","transform-origin":`${K} ${_}`,transform:_t.join(" ")||null}),[F,et,ot,String(x??String(v).replace(/\x01|\x02/g,""))]}else{k==="auto"&&(k=Math.atan2(H-z,q-U)*180/Math.PI);let Q=o(String(v)),K=(q-U)/(Q.length-1||1),_=(H-z)/(Q.length-1||1),ot=Q.map((st,pt)=>[{x:U+pt*K,y:z+pt*_,"text-anchor":"middle","dominant-baseline":"central",rotate:k},st]);return(L||g)&&(F.transform=`translate(${L}, ${g})`),[F,et,ot,String(x??String(v).replace(/\x01|\x02/g,""))]}}).filter(d=>d!=null))});function o(l){let c=[];for(let a=0;a<l.length;a++)if(l[a]==""){let s=a+1;for(;s<l.length&&l[s]!="";)s++;c.push(l.slice(a+1,s)),a=s}else c.push(l[a]);return c}return(l,c)=>(O(),I("g",null,[(O(!0),I(lt,null,ut(r.value,a=>(O(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),I(lt,null,ut(a,([s,u,d,f])=>(O(),I("text",J({ref_for:!0},s,$t(u,!0)),[Nt("title",null,Ft(f),1),c[0]||(c[0]=dt()),typeof d=="string"?(O(),I(lt,{key:0},[dt(Ft(d.replace(/ /g,"\xA0")),1)],64)):(O(!0),I(lt,{key:1},ut(d,([h,m])=>(O(),I(lt,null,[m?(O(),I("tspan",J({key:0,ref_for:!0},h),Ft(m),17)):Lt("",!0)],64))),256))],16))),256))],16))),256))]))}},OG=Object.freeze(Object.defineProperty({__proto__:null,blank:mG,boxplot:xG,curve:wG,ellipse:SG,line:No,markdown:CG,markdownsegment:NG,point:MG,polygon:TG,rect:Mo,stick:No,text:EG,textsegment:LG,tile:Mo},Symbol.toStringTag,{value:"Module"})),PG={__name:"CoreLayer",props:{data:Object,geom:String,render:String,defaultRender:{type:String,default:"auto"},dpi:Number,defaultDpi:Number},setup(t,{expose:e}){const n={svg:OG,canvas:dG},i=X(()=>{let c=t.render??t.defaultRender;return c=="auto"?t.data.map(s=>s.length).reduce((s,u)=>s+u,0)>1e3?"canvas":"svg":n[c][t.geom]!=null?c:"svg"}),r=Dt("layer"),o=X(()=>i.value=="canvas"?"pointer-events: none;":"");e({render:i,dispatchEvent:c=>r.value?.dispatchEvent?.(c)});const l=X(()=>i.value==="canvas"?t.dpi??t.defaultDpi:void 0);return(c,a)=>(O(),bt(Xe(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:j1(o.value),data:t.data,dpi:l.value},null,8,["style","data","dpi"]))}},jG={key:0},DG=["onPointerdown"],$o={__name:"CoreSelection",props:f1({coord2pos:Function,pos2coord:Function,layout:Object,theme:Object,flip:Boolean,move:Boolean,resize:Boolean,dismissible:Boolean,xmin:Number,xmax:Number,ymin:Number,ymax:Number,x:Boolean,y:Boolean,minRangeX:Number,minRangeY:Number,ctrlKey:Boolean,shiftKey:Boolean,altKey:Boolean,metaKey:Boolean,buttons:Number,activeTransform:Object,transition:String},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:f1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=Ae(t,"modelValue"),i=jo(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function r({xmin:f,xmax:h,ymin:m,ymax:y,xreverse:v=!1,yreverse:x=!1}={}){if([f,h,m,y].every(A=>A==null))return null;f!=null&&h!=null&&f>h&&([f,h,v]=[h,f,!v]),m!=null&&y!=null&&m>y&&([m,y,x]=[y,m,!x]);let T={xreverse:v,yreverse:x};return f!=null&&isFinite(f)&&(T.xmin=f),h!=null&&isFinite(h)&&(T.xmax=h),m!=null&&isFinite(m)&&(T.ymin=m),y!=null&&isFinite(y)&&(T.ymax=y),T}const o=X(()=>{if(n.value==null||n.value.hidden)return null;let f=r(n.value);if(f==null)return null;let{hmin:h,hmax:m,vmin:y,vmax:v}=t.coord2pos(f,{limited:!0}),x=t.coord2pos(f);return{hmin:h,hmax:m,vmin:y,vmax:v,pos:x}}),l=X(()=>{if(!o.value)return null;let{translateH:f,translateV:h,scaleH:m,scaleV:y}=t.activeTransform,{hmin:v,hmax:x,vmin:T,vmax:A,pos:M}=o.value,j=x-v,$=A-T,L=t.layout.left,g=t.layout.top,b=1,S=1;if(M.hmin!=null&&M.hmax!=null)L+=f,b=m;else if(M.hmin!=null){let w=f+v*(m-1);b=1-w/j,L+=w*(1+v/j)}else if(M.hmax!=null){let w=f+x*(m-1);b=1+w/j,L+=w*(1-x/j)}if(M.vmin!=null&&M.vmax!=null)g+=t.activeTransform.translateV,S=t.activeTransform.scaleV;else if(M.vmin!=null){let w=h+T*(y-1);S=1-w/$,g+=w*(1+T/$)}else if(M.vmax!=null){let w=h+A*(y-1);S=1+w/$,g+=w*(1-A/$)}let k=[];return(L!=0||g!=0)&&k.push(`translate(${L}, ${g})`),(b!=1||S!=1)&&k.push(`scale(${b}, ${S})`),k.join(" ")||null}),c=X(()=>t.activeTransform.translateH!=0||t.activeTransform.translateV!=0||t.activeTransform.scaleH!=1||t.activeTransform.scaleV!=1),a=X(()=>{if(!o.value)return null;let{hmin:f,hmax:h,vmin:m,vmax:y,pos:v}=o.value,x=t.theme?.line_width??1;v.hmin==null&&(f-=x/2),v.hmax==null&&(h+=x/2),v.vmin==null&&(m-=x/2),v.vmax==null&&(y+=x/2);let T=Math.max(0,h-f),A=Math.max(0,y-m);return{x:f,y:m,width:T,height:A,fill:t.theme?.background??"transparent","fill-opacity":t.theme?.opacity,stroke:t.theme?.line_color??"none","stroke-width":t.theme?.line_width,"stroke-opacity":t.theme?.opacity,transform:l.value,style:{transition:t.transition,"pointer-events":"none"}}}),s=X(()=>{if(!o.value||c.value)return null;let f=10,{hmin:h,hmax:m,vmin:y,vmax:v,pos:x}=o.value,T=Math.max(0,m-h),A=Math.max(0,v-y),M={};i.move&&(M.tblr={x:h,y,width:T,height:A,fill:"transparent",style:"cursor:move;"}),i.resize&&(x.hmin!=null&&(M.l={x:h-f/2,y,width:f,height:A,style:"cursor:ew-resize;",class:"vvplot-interactive"}),x.hmax!=null&&(M.r={x:m-f/2,y,width:f,height:A,style:"cursor:ew-resize;"}),x.vmin!=null&&(M.t={x:h,y:y-f/2,width:T,height:f,style:"cursor:ns-resize;"}),x.vmax!=null&&(M.b={x:h,y:v-f/2,width:T,height:f,style:"cursor:ns-resize;"}),x.hmin!=null&&x.vmin!=null&&(M.tl={x:h-f/2,y:y-f/2,width:f,height:f,style:"cursor:nwse-resize;"}),x.hmax!=null&&x.vmin!=null&&(M.tr={x:m-f/2,y:y-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),x.hmin!=null&&x.vmax!=null&&(M.bl={x:h-f/2,y:v-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),x.hmax!=null&&x.vmax!=null&&(M.br={x:m-f/2,y:v-f/2,width:f,height:f,style:"cursor:nwse-resize;"}));let j=t.layout.left,$=t.layout.top;if(j||$)for(let L in M)M[L].transform=`translate(${j}, ${$})`;return M}),u=e;function d(f,h){if(!h||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(_=>i[_]==f[_]))return;f.stopPropagation(),f.preventDefault(),f.target.setPointerCapture(f.pointerId);let{xreverse:m,yreverse:y,...v}=r(n.value),x=t.coord2pos(v),{h:T,v:A}=t.pos2coord({h:x.hmin,v:x.vmin}),{h:M,v:j}=t.pos2coord({h:x.hmax,v:x.vmax}),{hmin:$,hmax:L,vmin:g,vmax:b}=x,S=!1,k={min:i.xmin,max:i.xmax},w={min:i.ymin,max:i.ymax},[B=0,P=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],W=t.coord2pos(i),U=0,z=0,q,H,F,et,Q=!1,K=!1;f.target.onpointermove=_=>{if(S=!0,U+=_.movementX,z+=_.movementY,h.includes("l")&&h.includes("r")){let ot=yt(U,{min:W.hmin-$,max:W.hmax-L}),st=t.pos2coord({hmin:ft($,ot),hmax:ft(L,ot)});T=st.hmin,M=st.hmax}else h.includes("l")?(T=t.pos2coord({h:$+U}).h,T=yt(T,T>M?{min:ft(M,B)}:{max:ft(M,-B)}),Q=$+U>L):h.includes("r")&&(M=t.pos2coord({h:L+U}).h,M=yt(M,M>T?{min:ft(T,B)}:{max:ft(T,-B)}),Q=L+U<$);if(h.includes("t")&&h.includes("b")){let ot=yt(z,{min:W.vmin-g,max:W.vmax-b}),st=t.pos2coord({vmin:ft(g,ot),vmax:ft(b,ot)});A=st.vmin,j=st.vmax}else h.includes("t")?(A=t.pos2coord({v:g+z}).v,A=yt(A,A>j?{min:ft(j,P)}:{max:ft(j,-P)}),K=g+z>b):h.includes("b")&&(j=t.pos2coord({v:b+z}).v,j=yt(j,j>A?{min:ft(A,P)}:{max:ft(A,-P)}),K=b+z<g);q=yt(t.flip?A:T,k),H=yt(t.flip?j:M,k),F=yt(t.flip?T:A,w),et=yt(t.flip?M:j,w),q>H&&([q,H]=[H,q]),F>et&&([F,et]=[et,F]),u("selecting",{xmin:q,xmax:H,ymin:F,ymax:et},t.theme)},f.target.onpointerup=_=>{if(_.currentTarget.onpointerup=null,_.currentTarget.onpointermove=null,i.buttons&1&&(_.currentTarget.onclick=pt=>{pt.currentTarget.onclick=null,u("click",pt)}),i.buttons&2&&(_.currentTarget.oncontextmenu=pt=>{pt.currentTarget.onclick=null,u("contextmenu",pt)}),!S)return;let ot={xmin:q,xmax:H,xreverse:!!(Q^m),ymin:F,ymax:et,yreverse:!!(K^y)},st=new PointerEvent("select",f);n.value=Yt(ot),u("selectend"),u("select",Yt(ot),st)}}return(f,h)=>a.value?(O(),I("g",jG,[Nt("rect",se(y1(a.value)),null,16),h[0]||(h[0]=dt()),(O(!0),I(lt,null,ut(s.value,(m,y)=>(O(),I("rect",J({fill:"transparent"},{ref_for:!0},m,{onPointerdown:v=>d(v,y),class:"vvplot-interactive"}),null,16,DG))),256))])):Lt("",!0)}},qG=["height","width"],VG=["y1","y2"],BG=["y"],IG={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=X(()=>{let{min:o,max:l}=t.limits;return t.breaks.map(c=>({position:(c-o)/(l-o),label:String(c)}))}),n=X(()=>{let o=30,{min:l,max:c}=t.limits,a=(c-l)/(o-1),s=Array.from({length:o},(d,f)=>l+f*a),u=t.scales.map(d=>d(s));return s.map((d,f)=>Object.fromEntries(t.scales.map((h,m)=>[{color:"fill"}[h.aesthetics]??h.aesthetics,u[m][f]])))}),i=ln(0),r=Dt("svg");return St(e,async()=>{await Ln();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),I("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(O(!0),I(lt,null,ut(n.value,(c,a)=>(O(),bt(Rn,J({width:10,height:3.1,x:10,y:10+(29-a+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},c),null,16,["y","alpha"]))),256)),l[1]||(l[1]=dt()),(O(!0),I(lt,null,ut(e.value,(c,a)=>(O(),I("g",null,[Nt("line",{x1:"15",x2:"18",y1:10+(1-c.position)*90,y2:10+(1-c.position)*90,stroke:"black"},null,8,VG),l[0]||(l[0]=dt()),Nt("text",{x:"20",y:10+(1-c.position)*90,"alignment-baseline":"central"},Ft(c.label),9,BG)]))),256))],8,qG))}},To=Object.freeze(Object.defineProperty({__proto__:null,curve:gl,line:l1,point:Xi,polygon:yl,text:V1,tile:Rn},Symbol.toStringTag,{value:"Module"})),RG=["height","width"],HG=["transform"],XG={transform:"translate(10, 10)"},YG={x:"20",y:"10","alignment-baseline":"central"},zG={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=X(()=>{let o=t.scales.map(s=>s(t.breaks)),l=t.breaks.map((s,u)=>({bind:Object.fromEntries(t.scales.map((d,f)=>[d.aesthetics,o[f][u]])),label:String(s)})),c=ya(l.map(s=>s.bind)),a=Map.groupBy(l.map(s=>s.label),(s,u)=>c.categories[c[u]]);return Array.from(a).map(([s,u])=>{let d={tile:{},line:{},point:{},text:{}};for(let f in d)for(let h of Object.keys(To[f].props))s[h]&&(d[f][h]=s[h]);return{bind:d,label:u.join("; ")}})}),n=X(()=>{let{text:o,line:l,point:c,tile:a}=t.appearances,s={};return a!=null&&(s.tile={width:10,height:10,fill:"transparent",...a}),l!=null&&(s.line={x1:-5,x2:5,color:"black",...l}),c!=null&&(s.point={size:6,...c}),o!=null&&(s.text={size:4,text:"a",...o}),s}),i=ln(0),r=Dt("svg");return St(e,async()=>{await Ln();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(O(),I("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(O(!0),I(lt,null,ut(e.value,(c,a)=>(O(),I("g",{transform:`translate(0, ${a*20})`},[Nt("g",XG,[(O(!0),I(lt,null,ut(n.value,(s,u)=>(O(),bt(Xe(To[u]),J({ref_for:!0},{...s,...c.bind[u]}),null,16))),256))]),l[0]||(l[0]=dt()),Nt("text",YG,Ft(c.label),1)],8,HG))),256))],8,RG))}},FG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:zG,gradientbar:IG},n=X(()=>t.scales.reduce((o,[l])=>o??l.title,null)??t.scales.reduce((o,[l])=>o??l._title,null)),i=X(()=>{let o=t.scales.map(([c])=>c),l=o.find(c=>c.breaks!=null);return Array.isArray(l?.breaks)?Array.from(l.breaks):(l=o.find(c=>c.level!=null),l?.level?l.level.apply(Array.from(l.level)):(l=o.find(c=>c.limits!=null),Vn.number({minor:!0})(l.limits)))}),r=X(()=>{let o={scales:t.scales.map(([l])=>l)};if(t.type=="legendkey")o.appearances={tile:Wt(...t.scales.flatMap(([l,c])=>[c.rect,c.tile,c.polygon,c.ellipse])),line:Wt(...t.scales.flatMap(([l,c])=>[c.line,c.linerange,c.curve])),point:Wt(...t.scales.flatMap(([l,c])=>[c.point])),text:Wt(...t.scales.flatMap(([l,c])=>[c.text,c.markdown]))};else if(t.type=="gradientbar"){let l=t.scales.map(([a])=>a.limits?.max).filter(a=>a!=null).reduce((a,s)=>Math.min(a,s),1/0),c=t.scales.map(([a])=>a.limits?.min).filter(a=>a!=null).reduce((a,s)=>Math.max(a,s),-1/0);o.limits={min:c,max:l},o.appearance=Wt(...t.scales.flatMap(([a,s])=>Object.values(s)))}return o});return(o,l)=>(O(),I(lt,null,[Nt("span",null,Ft(n.value),1),l[0]||(l[0]=dt()),(O(),bt(Xe(e[t.type]),J(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),UG={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=X(()=>{let i=new Map(Array.from(t.scales).filter(([s])=>s.legend!==!1&&s.limits?.min!=s.limits?.max)),r=Array.from(i.keys()),o=r.map(s=>s.key),l=1;for(let s=0;s<o.length;s++){for(;o.includes("_guide_"+l);)l++;o[s]??=o.find((u,d)=>o[d]!=null&&ze.isEqual(r[d].level,r[s].level))??"_guide_"+l}let c=r.map(s=>n(s)),a=pa(o,c);return Map.groupBy(i,(s,u)=>a.categories[a[u]])});function n(i){return i==null?null:["gradientbar","legendkey"].includes(i.guide)?i.guide:i.level?"legendkey":["color","fill","alpha"].includes(i.aesthetics)?"gradientbar":"legendkey"}return(i,r)=>t.scales?(O(),I("div",{key:0,class:"vvplot-legend",style:j1({gap:t.theme.spacing+"px"})},[(O(!0),I(lt,null,ut(e.value,([[o,l],c])=>(O(),bt(FG,{key:o,type:l,scales:c},null,8,["type","scales"]))),128))],4)):Lt("",!0)}},GG=["id"],WG=["width","height"],KG=["transform","width","height","fill"],ZG=["transform"],_G=["transform","clip-path"],QG=["transform"],JG=["clip-path"],tW={key:1},eW=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:f1({schema:Object,layers:Array,minRange:Object,expandAdd:Object,flip:Boolean,reverse:Object,paddings:Object,expandMult:Object,coordLevels:Object,levels:Object,scales:Object,axes:{type:Array,default:()=>[]},theme:Object,render:String,clip:Boolean,dpi:Number,action:{type:Array,default:()=>[]},selections:{type:Array,default:()=>[]},legendTeleport:null},{selectionPreview:{},selectionPreviewModifiers:{},selectionPreviewTheme:{},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{}}),emits:f1(["click","singleclick","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","select","move","zoom","rescale","nudge"],["update:selectionPreview","update:selectionPreviewTheme","update:transition"]),setup(t,{expose:e,emit:n}){const i=Nl(),r=jo(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,l=C1("range"),c=C1("rangePreview"),a=Ae(t,"selectionPreview"),s=Ae(t,"selectionPreviewTheme");function u(E,D){a.value=E,s.value=D}const d=X(()=>Object.assign({},t.theme?.selection,s.value));function f(){a.value={}}const h=Ae(t,"transition"),m=Dt("svg"),y=Dt("layers"),v=ln(0),x=ln(0);Bo(m,E=>{let{width:D,height:V}=E[0].contentRect;v.value=D,x.value=V});const T=X(()=>new E9(t.schema,r.layers)),A=X(()=>T.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(l,t.expandAdd,r.minRange)),M=Le(()=>{let E=Object.fromEntries(["left","right","top","bottom"].map(C=>[C,t.paddings[C]&&t.theme.plot.padding[C]||0])),D=+t.theme.plot.margin.left+E.left,V=+t.theme.plot.margin.right+E.right,Y=+t.theme.plot.margin.top+E.top,p=+t.theme.plot.margin.bottom+E.bottom;return Y+p>x.value&&(Y=x.value*(Y/(Y+p)),p=x.value-Y),D+V>v.value&&(D=v.value*(D/(D+V)),V=v.value-D),{l:D,r:V,t:Y,b:p,left:D,right:v.value-V,top:Y,bottom:x.value-p,width:v.value-D-V,height:x.value-Y-p}}),j=Le(()=>{let E=A.value.coordScales,D=t.expandMult,{min:V,max:Y}=k(E.x.range,D.x),{min:p,max:C}=k(E.y.range,D.y),[N,R,G,tt]=t.flip?[p,C,V,Y]:[V,Y,p,C],{width:at,height:it}=M;return{left:at*N||0,right:at*(1-R)||0,top:it*tt||0,bottom:it*(1-G)||0,l:at*N||0,r:at*R||0,t:it*tt||0,b:it*G||0,width:at*(1-N-R),height:it*(1-tt-G),fullWidth:at,fullHeight:it}});e({vplot:A,panel:M,svg:m});const $=X(()=>{let E=K.value.translateH+j.left,D=K.value.translateV+j.top,V=K.value.scaleH,Y=K.value.scaleV,p=[];return(E!=0||D!=0)&&p.push(`translate(${E}, ${D})`),(V!=1||Y!=1)&&p.push(`scale(${V}, ${Y})`),{transform:p.join(" ")||null}});function L({value:E,min:D,max:V},Y,p,C){let N={};return E!=null&&(N.value=Y.invert(p?1-E/C:E/C)),p?(V!=null&&(N.min=Y.invert(1-V/C)),D!=null&&(N.max=Y.invert(1-D/C))):(D!=null&&(N.min=Y.invert(D/C)),V!=null&&(N.max=Y.invert(V/C))),N}function g({h:E,hmin:D,hmax:V,v:Y,vmin:p,vmax:C}={}){let N=A.value.coordScales,{width:R,height:G}=j,tt={},[at,it,kt]=t.flip?[Y,p,C]:[E,D,V],[wt,ht,ct]=t.flip?[E,D,V]:[Y,p,C];if(at!=null||it!=null||kt!=null){let{value:nt,min:rt,max:Z}=L({value:at,min:it,max:kt},N.x,t.flip!=t.reverse.x,t.flip?G:R);Object.assign(tt,Yt({x:nt,xmin:rt,xmax:Z})),t.flip?Object.assign(tt,Yt({v:nt,vmin:rt,vmax:Z})):Object.assign(tt,Yt({h:nt,hmin:rt,hmax:Z}))}if(wt!=null||ht!=null||ct!=null){let{value:nt,min:rt,max:Z}=L({value:wt,min:ht,max:ct},N.y,t.flip==t.reverse.y,t.flip?R:G);Object.assign(tt,Yt({y:nt,ymin:rt,ymax:Z})),t.flip?Object.assign(tt,Yt({h:nt,hmin:rt,hmax:Z})):Object.assign(tt,Yt({v:nt,vmin:rt,vmax:Z}))}return tt}function b({value:E,min:D,max:V}={},{oob:Y=li}={},p,C,N,R){let G={};return E!=null&&(G.value=N?Y(N*(C?1-p(E):p(E)),R):0),D==null&&V==null||(C?(V!=null&&(G.min=N?Y(N*(1-p(V)),R):0),D!=null&&(G.max=N?Y(N*(1-p(D)),R):0)):(D!=null&&(G.min=N?Y(N*p(D),R):0),V!=null&&(G.max=N?Y(N*p(V),R):0))),G}function S({h:E,hmin:D,hmax:V,v:Y,vmin:p,vmax:C,x:N,xmin:R,xmax:G,y:tt,ymin:at,ymax:it}={},{limited:kt=!1,oob:wt=li}={}){let{width:ht,height:ct,l:nt,r:rt,t:Z,b:vt}=j,mt={},It=A.value.coordScales,Ht={min:-nt,max:ht+rt},$e={min:-Z,max:ct+vt};if((N!=null||R!=null||G!=null)&&(t.flip?[Y,p,C]=[N,R,G]:[E,D,V]=[N,R,G]),(tt!=null||at!=null||it!=null)&&(t.flip?[E,D,V]=[tt,at,it]:[Y,p,C]=[tt,at,it]),E!=null||D!=null||V!=null){let{value:xe,min:de,max:me}=b({value:E,min:D,max:V},{oob:wt},It[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ht,Ht);Object.assign(mt,Yt({h:xe,hmin:de,hmax:me}))}if(Y!=null||p!=null||C!=null){let{value:xe,min:de,max:me}=b({value:Y,min:p,max:C},{oob:wt},It[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ct,$e);Object.assign(mt,Yt({v:xe,vmin:de,vmax:me}))}return kt&&(mt.hmin==null&&(mt.hmin=Ht.min),mt.hmax==null&&(mt.hmax=Ht.max),mt.vmin==null&&(mt.vmin=$e.min),mt.vmax==null&&(mt.vmax=$e.max)),mt}function k({min:E,max:D}={},{min:V=0,max:Y=0}={}){let p=D-E,C=+E-V*p,N=+D+Y*p,R=N-C;return{min:R==0?0:(E-C)/R,max:R==0?0:(N-D)/R}}function w(E){let D=m.value.getBoundingClientRect(),V=D.width/m.value.clientWidth,Y=D.height/m.value.clientHeight,p=E.clientX-D.left,C=E.clientY-D.top,N=p/V-(M.left+j.left),R=C/Y-(M.top+j.top),G=M.left+j.right-p/V,tt=M.top+j.bottom-C/Y,{x:at,y:it}=g({h:N,v:R});return{l:N,t:R,r:G,b:tt,x:at,y:it}}function B(E){let D=m.value.getBoundingClientRect(),V=D.width/m.value.clientWidth,Y=D.height/m.value.clientHeight;return E.clientX-D.left>M.l*V&&D.right-E.clientX>M.r*V&&E.clientY-D.top>M.t*Y&&D.bottom-E.clientY>M.b*Y}function P(E){if(!y.value||E._vhandled||!B(E)||!Array.from(y.value).filter(p=>p.render=="canvas").length)return E;let V={};for(let p in E)V[p]=E[p];V.bubbles=!1;let Y=new PointerEvent(E.type,V);for(let p of Object.keys(E)){let C=Object.getOwnPropertyDescriptor(Y,p);C&&!C.writable&&!C.set||(Y[p]=E[p])}for(let p=y.value.length-1;p>=0;p--)y.value[p].dispatchEvent(Y)===!1&&E.preventDefault();for(let p of Object.keys(Y)){let C=Object.getOwnPropertyDescriptor(Y,p);C&&!C.writable&&!C.set||(E[p]=Y[p])}return Y._vhandled?Y:E}let W,U=0,z=0;function q(E){let D=P(E),V=w(E);if(o("pointerdown",D,V),D.defaultPrevented&&E.preventDefault(),r.clip&&!B(E))return;let Y=E.currentTarget,p=!1;function C(G){(Math.abs(G.screenX-E.screenX)>3||Math.abs(G.screenY-E.screenY)>3)&&(p=!0,G.currentTarget.removeEventListener("pointermove",C))}E.target.addEventListener("pointermove",C,{passive:!0}),E.target.addEventListener("pointerup",function(G){if(E.target.removeEventListener("pointermove",C),!p){let tt=new PointerEvent("singleclick",G);G.target.dispatchEvent(tt)}},{once:!0});let N=r.selections.findLast(G=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==E[tt]));if(N){let{x:G=!1,y:tt=!1,"min-range-x":at=0,"min-range-y":it=0}=N;E.target.setPointerCapture(E.pointerId),Y.style.userSelect="none";let kt=(({xmin:ht,xmax:ct})=>({min:ht,max:ct}))(N),wt=(({ymin:ht,ymax:ct})=>({min:ht,max:ct}))(N);E.target.onpointermove=ht=>{if(!G&&!tt||!p)return;let ct=w(ht),nt={};if(G){let rt=yt(V.x,kt),Z=yt(yt(ct.x,ct.x>rt?{min:ft(rt,at)}:{max:ft(rt,-at)}),kt);nt.xmin=rt>Z?Z:rt,nt.xmax=rt>Z?rt:Z,nt.xreverse=rt>Z}if(tt){let rt=yt(V.y,wt),Z=yt(yt(ct.y,ct.y>rt?{min:ft(rt,it)}:{max:ft(rt,-it)}),wt);nt.ymin=rt>Z?Z:rt,nt.ymax=rt>Z?rt:Z}a.value=nt,s.value=N.theme},E.target.onpointerup=ht=>{if(ht.currentTarget.onpointerup=null,ht.currentTarget.onpointermove=null,Y.style.userSelect=null,a.value={},p&&(G||tt)){N.buttons&1&&(ht.currentTarget.onclick=Z=>{Z.currentTarget.onclick=null,Be(N.onClick,Z)}),N.buttons&2&&(ht.currentTarget.oncontextmenu=Z=>{Z.currentTarget.oncontextmenu=null,Be(N.onContextmenu,Z)});let ct=w(ht),nt={},rt=new PointerEvent("select",E);if(G){let Z=yt(V.x,kt),vt=yt(yt(ct.x,ct.x>Z?{min:ft(Z,at)}:{max:ft(Z,-at)}),kt);if(Z==vt)return;nt.xmin=Z>vt?vt:Z,nt.xmax=Z>vt?Z:vt,nt.xreverse=Z>vt}if(tt){let Z=yt(V.y,wt),vt=yt(yt(ct.y,ct.y>Z?{min:ft(Z,it)}:{max:ft(Z,-it)}),wt);if(Z==vt)return;nt.ymin=Z>vt?vt:Z,nt.ymax=Z>vt?Z:vt,nt.yreverse=Z>vt}N["onUpdate:modelValue"]?.(nt),Be(N.onSelect,Yt(nt),rt)||o("select",Yt(nt),rt)}if(!p&&N.dismissible!==!1){if(ht.defaultPrevented)return;let ct=N.modelValue;if(N.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(Z=>ct?.[Z]==null))return;let nt={},rt=new PointerEvent("select",E);N["onUpdate:modelValue"]?.(nt),Be(N.onDismiss,Yt(nt),rt)||o("select",Yt(nt),rt)}};return}let R=r.action.find(G=>G.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==E[tt]));if(R){let G=m.value.getBoundingClientRect(),tt=G.width/m.value.clientWidth,at=G.height/m.value.clientHeight;E.target.setPointerCapture(E.pointerId),Y.style.userSelect="none",W=clearTimeout(W);let it=0,kt=j.width,wt=0,ht=j.height,ct,nt,rt,Z,vt=S(R);E.target.onpointermove=mt=>{let{x:It=!1,y:Ht=!1}=R,[$e,xe]=t.flip?[Ht,It]:[It,Ht];if($e){U+=mt.movementX;let Pe=yt(-U/tt,{min:vt.hmin-it,max:vt.hmax-kt});ct=it+Pe,nt=kt+Pe}if(xe){z+=mt.movementY;let Pe=yt(-z/at,{min:vt.vmin-wt,max:vt.vmax-ht});rt=wt+Pe,Z=ht+Pe}let{xmin:de,xmax:me,ymin:mr,ymax:Qe}=g({hmin:ct,hmax:nt,vmin:rt,vmax:Z});Object.assign(c,{xmin:de,xmax:me,ymin:mr,ymax:Qe})},E.target.onpointerup=mt=>{mt.currentTarget.onpointerup=null,mt.currentTarget.onpointermove=null,Y.style.userSelect=null,W=setTimeout(()=>{_(R,mt),U=z=0},300)};return}}let H=0,F;function et(E){let D=P(E),V=w(E);if(o("wheel",D,V),D.defaultPrevented&&E.preventDefault(),r.clip&&!B(E))return;let Y=r.action.find(p=>["zoom","nudge"].includes(p.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(C=>p[C]==E[C]));!Y||!Y.x&&!Y.y||(F=clearTimeout(F),E.preventDefault(),h.value="transform 0.1s ease-out",H+=E.deltaY,Q(Y,V,H),F=setTimeout(()=>{_(Y,E),H=0},300))}function Q(E,D,V){if(E.action=="zoom"){let{x:Y=!1,y:p=!1,"min-range-x":C=0,"min-range-y":N=0,sensitivity:R=1.25}=E,G=R**(H/100),[tt,at]=t.flip?[p,Y]:[Y,p],it=S(E),kt,wt,ht,ct;tt&&(kt=Math.max(D.l-Math.max(D.l,0)*G,it.hmin??-1/0),wt=Math.min(D.l+Math.max(D.r,0)*G,it.hmax??1/0)),at&&(ht=Math.max(D.t-Math.max(D.t,0)*G,it.vmin??-1/0),ct=Math.min(D.t+Math.max(D.b,0)*G,it.vmax??1/0));let{xmin:nt,xmax:rt,ymin:Z,ymax:vt}=g({hmin:kt,hmax:wt,vmin:ht,vmax:ct});if(Y&&G<1&&rt-nt<C){let mt=(rt+nt)/2;nt=mt-C/2,rt=mt+C/2}if(p&&G<1&&vt-Z<N){let mt=(vt+Z)/2;Z=mt-N/2,vt=mt+N/2}Object.assign(c,{xmin:nt,xmax:rt,ymin:Z,ymax:vt})}if(E.action=="nudge"){let{x:Y=!1,y:p=!1,sensitivity:C=.1}=E,[N,R]=t.flip?[p,Y]:[Y,p],G=S(E),tt=0,at=j.width,it=0,kt=j.height,wt,ht,ct,nt;if(N){let It=C*j.width*(-V/120),Ht=yt(-It,{min:G.hmin-tt,max:G.hmax-at});wt=tt+Ht,ht=at+Ht}if(R){let It=C*j.height*(-V/120),Ht=yt(-It,{min:G.vmin-it,max:G.vmax-kt});ct=it+Ht,nt=kt+Ht}let{xmin:rt,xmax:Z,ymin:vt,ymax:mt}=g({hmin:wt,hmax:ht,vmin:ct,vmax:nt});Object.assign(c,{xmin:rt,xmax:Z,ymin:vt,ymax:mt})}}const K=X(()=>{let E=0,D=j.width,V=0,Y=j.height,{hmin:p=E,hmax:C=D,vmin:N=V,vmax:R=Y}=S(c??{}),G=D-E,tt=C-p,at=Y-V,it=R-N;return{scaleH:G<1||tt<1||Math.abs(G-tt)<1?1:G/tt,translateH:(E*C-p*D)/(C-p)||0,scaleV:at<1||it<1||Math.abs(at-it)<1?1:at/it,translateV:(V*R-N*Y)/(R-N)||0}});St(K,({translateH:E,translateV:D,scaleH:V,scaleV:Y})=>{!E&&!D&&V==1&&Y==1&&(h.value=null)},{deep:!0});function _(E,D){let V=Yt(c)??{};if(!Object.keys(V).length)return;let Y=new PointerEvent(D.type,D);Be(E.emit,V,Y)||o(E.action,V,Y),st(V),Object.assign(c,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const ot={pointerdown:q,pointerup(E){let D=P(E),V=w(E);o("pointerup",D,V),D.defaultPrevented&&E.preventDefault()},pointerover(E){o("pointerover",E,w(E))},pointerout(E){o("pointerout",E,w(E))},pointerenter(E){o("pointerenter",E,w(E))},pointerleave(E){o("pointerleave",E,w(E))},click(E){o("click",P(E),w(E))},contextmenu(E){let D=P(E),V=w(E);o("contextmenu",D,V),D.defaultPrevented&&E.preventDefault()},singleclick(E){o("singleclick",P(E),w(E))},dblclick(E){let D=P(E),V=w(E);o("dblclick",D,V),D.defaultPrevented&&E.preventDefault()},pointermove(E){let D=P(E),V=w(E);o("pointermove",D,V),D.defaultPrevented&&E.preventDefault()},wheel:et};function st(E){let{xmin:D,xmax:V,ymin:Y,ymax:p}=E,{xmin:C,xmax:N,ymin:R,ymax:G}=l;D=D!=null?ft(D,+t.expandAdd.x.min):C,V=V!=null?ft(V,-t.expandAdd.x.max):N,Y=Y!=null?ft(Y,+t.expandAdd.y.min):R,p=p!=null?ft(p,-t.expandAdd.y.max):G,!(D==C&&V==N&&Y==R&&p==G)&&Object.assign(l,{xmin:D,xmax:V,ymin:Y,ymax:p})}const pt=Le(()=>{let E=c?.xmin??l?.xmin,D=c?.xmax??l?.xmax,V=c?.ymin??l?.ymin,Y=c?.ymax??l?.ymax;return{x:E||D?{min:E,max:D}:void 0,y:V||Y?{min:V,max:Y}:void 0}}),_t=X(()=>{let E={x:A.value.coordScales.x,y:A.value.coordScales.y};return r.axes.filter(D=>D.coord in E).filter(D=>["h","v"].includes(D.orientation)).map(({coord:D,breaks:V,labels:Y,titles:p,minorBreaks:C,...N})=>({coord:D,axis:new L9(E[D],{breaks:V,labels:Y,titles:p,minorBreaks:C}),etc:N}))});function le(E){let{grid_color:D,grid_color_major:V=D,grid_color_minor:Y=D,grid_width:p,grid_width_major:C=p,grid_width_minor:N=p,...R}=E;return V&&(R.grid_color_major=V),Y&&(R.grid_color_minor=Y),C&&(R.grid_width_major=C),N&&(R.grid_width_minor=N),R}const ie=X(()=>_t.value.map(({coord:E,axis:D,etc:V})=>{let{showGrid:Y,breakSlot:p,orientation:C,...N}=V,R=le(t.theme.axis[C]??{}),G=le(N.theme),tt=D.getBreaks({range:pt[E],expandMult:t.expandMult[E],breakSlot:p});for(let at of tt)at.theme=Object.assign({},R,G,le(at.theme??{}));return{breaks:tt,showGrid:Y,coord:E,orientation:C,bind:N}})),Jt=X(()=>{let E=ie.value.filter(V=>V.showGrid&&V.orientation=="v"),D=ie.value.filter(V=>V.showGrid&&V.orientation=="h");return{h:si(E.flatMap(V=>V.breaks),V=>V.value,(V,Y)=>[V,Y].find(p=>p.type=="major")??V),v:si(D.flatMap(V=>V.breaks),V=>V.value,(V,Y)=>[V,Y].find(p=>p.type=="major")??V)}}),ve=X(()=>ie.value.map(({orientation:E,coord:D,bind:V,breaks:Y})=>{let{onMove:p=(...tt)=>o("move",...tt),onZoom:C=(...tt)=>o("zoom",...tt),onRescale:N=(...tt)=>o("rescale",...tt),onNudge:R=(...tt)=>o("nudge",...tt),...G}=V;return{orientation:E,bind:{coord:D,orientation:E,ticks:Y.filter(tt=>tt.type=="major"),layout:j,coord2pos:S,pos2coord:g,...G},on:{zoom:C,move:p,rescale:N,nudge:R,rangechange:st}}}));return(E,D)=>(O(),I("svg",J({ref:"svg",width:"100%",height:"100%"},$t(ot,!0),E.$attrs),[Nt("defs",null,[Nt("clipPath",{id:`${Ct(i)}-plot-clip`},[Nt("rect",{x:"0",y:"0",width:Ct(M).width,height:Ct(M).height},null,8,WG)],8,GG)]),D[6]||(D[6]=dt()),t.theme.plot.background?(O(),I("rect",{key:0,transform:`translate(${Ct(M).left}, ${Ct(M).top})`,width:Ct(M).width,height:Ct(M).height,fill:t.theme.plot.background},null,8,KG)):Lt("",!0),D[7]||(D[7]=dt()),Nt("g",{transform:`translate(${Ct(M).left}, ${Ct(M).top})`,style:{"pointer-events":"none"}},[re(rG,{breaks:Jt.value.h,layout:Ct(j),activeTransform:K.value,coord2pos:S,transition:h.value},null,8,["breaks","layout","activeTransform","transition"]),D[2]||(D[2]=dt()),re(oG,{breaks:Jt.value.v,layout:Ct(j),activeTransform:K.value,coord2pos:S,transition:h.value},null,8,["breaks","layout","activeTransform","transition"])],8,ZG),D[8]||(D[8]=dt()),Nt("g",{transform:`translate(${Ct(M).left}, ${Ct(M).top})`,"clip-path":r.clip?`url(#${Ct(i)}-plot-clip)`:null},[Nt("g",J($.value,{style:{transition:h.value}}),[(O(!0),I(lt,null,ut(A.value.layers,V=>(O(),bt(PG,J({ref_for:!0,ref_key:"layers",ref:y,data:V.data},{ref_for:!0},V.vBind,{layout:Ct(j),geom:V.geom,coord2pos:S,getCoord:w,"default-render":r.render,"default-dpi":r.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),D[3]||(D[3]=dt()),(O(!0),I(lt,null,ut(r.selections,V=>(O(),bt($o,J({coord2pos:S,pos2coord:g,layout:Ct(j),onSelecting:u,onSelectend:f,transition:h.value,activeTransform:K.value},{ref_for:!0},V,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),D[4]||(D[4]=dt()),re($o,{coord2pos:S,pos2coord:g,layout:Ct(j),modelValue:a.value,transition:h.value,activeTransform:K.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,_G),D[9]||(D[9]=dt()),Nt("g",{transform:`translate(${Ct(M).left}, ${Ct(M).top})`},[(O(!0),I(lt,null,ut(ve.value.filter(V=>typeof V.bind.position!="number"),V=>(O(),bt(Ao,J({ref_for:!0},V.bind,$t(V.on),{transition:h.value,"onUpdate:transition":D[0]||(D[0]=Y=>h.value=Y),activeTransform:K.value}),null,16,["transition","activeTransform"]))),256)),D[5]||(D[5]=dt()),Nt("g",{"clip-path":r.clip?`url(#${Ct(i)}-plot-clip)`:null},[(O(!0),I(lt,null,ut(ve.value.filter(V=>typeof V.bind.position=="number"),V=>(O(),bt(Ao,J({ref_for:!0},V.bind,$t(V.on),{transition:h.value,"onUpdate:transition":D[1]||(D[1]=Y=>h.value=Y),activeTransform:K.value}),null,16,["transition","activeTransform"]))),256))],8,JG)],8,QG),D[10]||(D[10]=dt()),Po(E.$slots,"default"),D[11]||(D[11]=dt()),r.legendTeleport?(O(),I("foreignObject",tW,[(O(),bt(Ml,{defer:"",to:r.legendTeleport},[re(UG,{scales:A.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Lt("",!0)],16))}}),En={$_type:"action",$_props:{}},Yi={$_type:"layer"},zi={$_props:{geom:"tile",stat:"bar"},$_type:"layer",$_argnames:["width","height","position"]},Fi={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},Ui={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer"},Gi={$_props:{geom:"curve",stat:"curve"},$_type:"layer",$_attrnames:["interpolate"]},Wi={$_props:{geom:"curve",stat:"density"},$_type:"layer",$_argnames:["n","kernel"]},Ki={$_props:{geom:"ellipse",stat:"ellipse"},$_type:"layer",$_argnames:["CI"]},Zi={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},_i={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},Qi={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},Ji={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},tr={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},er={$_props:{geom:"line",stat:"path"},$_type:"layer"},nr={$_props:{geom:"point",stat:"point"},$_type:"layer"},ir={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},rr={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},or={$_props:{geom:"line",stat:"segment"},$_type:"layer"},sr={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},lr={$_props:{geom:"text",stat:"text"},$_type:"layer"},ar={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},cr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},nW=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Yi,VVGeomBar:zi,VVGeomBlank:Fi,VVGeomBoxplot:Ui,VVGeomCurve:Gi,VVGeomDensity:Wi,VVGeomEllipse:Ki,VVGeomHistogram:Zi,VVGeomLine:_i,VVGeomLinerange:Qi,VVGeomMarkdown:Ji,VVGeomMarkdownsegment:tr,VVGeomPath:er,VVGeomPoint:nr,VVGeomPolygon:ir,VVGeomRect:rr,VVGeomSegment:or,VVGeomStick:sr,VVGeomText:lr,VVGeomTextsegment:ar,VVGeomTile:cr},Symbol.toStringTag,{value:"Module"})),ur={$_type:"axis",$_props:{}},hr={$_type:"axis",$_props:{coord:"x"}},fr={$_type:"axis",$_props:{coord:"y"}},dr={$_type:"axis-break",$_props:{type:"major"}},iW=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:ur,VVAxisBreak:dr,VVAxisX:hr,VVAxisY:fr},Symbol.toStringTag,{value:"Module"})),rW={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},pl=Object.assign({inheritAttrs:!1},{__name:"Plot",props:f1({data:Array,scales:Object,aes:Object,expandAdd:Object,expandMult:Object,extend:Object,levels:Object,range:Object,minRange:Object,rangePreview:Object,axes:[Object,Array],theme:[Object,Array],action:[Object,Array],reverse:Object,render:String,flip:Boolean,clip:{type:Boolean,default:!0},resize:null,legendTeleport:null,dpi:Number},{selectionPreview:{default:()=>({})},selectionPreviewModifiers:{},selectionPreviewTheme:{default:()=>({})},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{},width:{},widthModifiers:{},height:{},heightModifiers:{}}),emits:f1(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const i={...nW,...iW,VVAction:En,VVSelection:En},r={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function o(p){return p==null?p:p===""||!!p}const l=n,c=Ae(t,"selectionPreview"),a=Ae(t,"selectionPreviewTheme"),s=Ae(t,"transition");function u(p){return{props:Object.fromEntries(p.props.map(N=>{try{if(N.type==7)return[N.arg.content,new Function("return "+N.exp.content)()];if(N.type==6)return[N.name,N.value?.content??""]}catch{}}).filter(N=>N!=null)),children:p.children.map(N=>()=>[u(N)]),type:i[p.tag]}}const d=$l(),f=Tl(),h=Ot({axis:{},layer:{},action:{},selection:{},dom:{}});for(let p in d)St(()=>d[p]?.(),C=>{let N=M1(C).flatMap(G=>G.type?.template?ga(G.type.template,{decodeEntities:!0}).children.map(at=>u(at)):G).filter(G=>G!=null),R=Object.groupBy(N,G=>G.type.$_type??"dom");for(let G in R)h[G][p]=R[G]},{immediate:!0});const m=X(()=>Object.values(h.layer).flat()),y=X(()=>Object.values(h.axis).flat()),v=X(()=>Object.values(h.action).flat()),x=X(()=>Object.values(h.selection).flat()),T=X(()=>Object.keys(h.dom).flatMap(p=>p=="panel"?[]:h.dom[p])),A=X(()=>T.value.filter(p=>vr(p.type))),M=X(()=>T.value.filter(p=>!vr(p.type))),j=X(()=>{let p={},C={};for(let N in f)if(N.startsWith("on")){let R=Array.isArray(f[N])?f[N]:[f[N]];p[N]=R.filter(G=>typeof G=="function"),C[N]=R.filter(G=>typeof G!="function")}else N.startsWith("svg-")?p[N.slice(4)]=f[N]:C[N]=f[N];return{plot:p,wrapper:C}}),$=X(()=>{let p=[Go,Wo].concat(t.theme??[]);return Ma(Na(Ca(...p),t.flip))},{deep:!0}),L=Le(()=>{let p=y.value.map(R=>({...R.type.$_props,...R.props})),C=p.filter(R=>R.coord==="x"),N=p.filter(R=>R.coord==="y");return{x:C.find(R=>o(R.primary))??C.find(R=>R.primary==null&&!o(R.secondary)),y:N.find(R=>o(R.primary))??N.find(R=>R.primary==null&&!o(R.secondary))}}),g={levels:Ot({}),extend:Ot({}),"min-range":Ot({}),"expand-add":Ot({}),"expand-mult":Ot({}),boundary:Ot({}),reverse:Ot({}),min:Ot({}),max:Ot({}),"min-preview":Ot({}),"max-preview":Ot({})};St(L,p=>{for(let C of["x","y"])for(let N in g)g[N][C]=p?.[C]?.[N]},{immediate:!0});const b=Le(()=>{let p={};for(let C of["x","y"]){let N=g.boundary[C];p[C]={min:N?.min??N?.[0],max:N?.max??N?.[1]}}return p}),S=X(()=>({data:t.data,aes:t.aes,extendX:g.extend.x??t.extend?.x??0,extendY:g.extend.y??t.extend?.y??0})),k=X(()=>m.value.map(p=>{let{geom:C,stat:N,scales:R,data:G,"extend-x":tt,"extend-y":at,...it}={...p.type.$_props,...p.props},kt=p.type.$_argnames||[],wt=p.type.$_attrnames||[],ht={},ct={},nt={},rt={};for(let Z in it)Z!="key"&&(kt.includes(Z)?ct[Z]=it[Z]:wt.includes(Z)?nt[Z]=it[Z]:Z.startsWith("on")?rt[Z]=it[Z]:typeof it[Z]=="function"?["item-class","item-style"].includes(Z)?ht[Z.slice(5)]=it[Z]:ht[Z]=it[Z]:["class","style","group-class","group-style","dpi","render"].includes(Z)?rt[Z]=it[Z]:["item-class","item-style"].includes(Z)?nt[Z.slice(5)]=it[Z]:nt[Z]=it[Z]);return{geom:C,stat:N,data:G,aes:ht,attrs:nt,scales:R,args:ct,extendX:tt,extendY:at,vBind:rt}})),w=X(()=>(({x:p,y:C,...N})=>N)(t.levels??{})),B=X(()=>{let p={};for(let C of["x","y"])p[C]=g.levels[C]??t.levels?.[C];return p}),P=X(()=>{let p={};for(let C of["x","y"]){let N=g.min[C]??t.range?.[C+"min"],R=g.max[C]??t.range?.[C+"max"];p[C+"min"]=isFinite(N)&&!Number.isNaN(N)?N:null,p[C+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return p}),W=X(()=>{let p={};for(let C of["x","y"]){let N=g["min-preview"][C]??t.rangePreview?.[C+"min"],R=g["max-preview"][C]??t.rangePreview?.[C+"max"];p[C+"min"]=isFinite(N)&&!Number.isNaN(N)?N:null,p[C+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return p}),U=Le(()=>({xmin:L?.x?.["onUpdate:min"],xmax:L?.x?.["onUpdate:max"],ymin:L?.y?.["onUpdate:min"],ymax:L?.y?.["onUpdate:max"]})),z=Le(()=>({xmin:L?.x?.["onUpdate:minPreview"],xmax:L?.x?.["onUpdate:maxPreview"],ymin:L?.y?.["onUpdate:minPreview"],ymax:L?.y?.["onUpdate:maxPreview"]})),q=Ot({}),H=Ot({});St(P,(p,C)=>{p?.xmin!==C?.xmin&&(q.xmin=p.xmin),p?.xmax!==C?.xmax&&(q.xmax=p.xmax),p?.ymin!==C?.ymin&&(q.ymin=p.ymin),p?.ymax!==C?.ymax&&(q.ymax=p.ymax)},{immediate:!0}),St(W,(p,C)=>{p?.xmin!==C?.xmin&&(H.xmin=p.xmin),p?.xmax!==C?.xmax&&(H.xmax=p.xmax),p?.ymin!==C?.ymin&&(H.ymin=p.ymin),p?.ymax!==C?.ymax&&(H.ymax=p.ymax)},{immediate:!0}),St(()=>({...q}),(p,C)=>{for(let N in U)U[N]?.(p[N]);l("rangechange",{...p},{...C}),l("update:range",{...p})},{deep:!0}),St(()=>H,p=>{for(let C in z)z[C]?.(p[C]);l("update:rangePreview",{...p})},{deep:!0}),yr("range",q),yr("rangePreview",H);const F=X(()=>({x:g["min-range"].x??t.minRange?.x??0,y:g["min-range"].y??t.minRange?.y??0})),et=X(()=>{let p=g["expand-add"].x??t.expandAdd?.x??0,C=g["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(p)?p={min:p[0],max:p[1]}:typeof p=="number"&&(p={min:p,max:p}),Array.isArray(C)?C={min:C[0],max:C[1]}:typeof C=="number"&&(C={min:C,max:C}),{x:p,y:C}}),Q=X(()=>{let p=g["expand-mult"].x??t.expandMult?.x??.05,C=g["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(p)?p={min:p[0],max:p[1]}:typeof p=="number"&&(p={min:p,max:p}),Array.isArray(C)?C={min:C[0],max:C[1]}:typeof C=="number"&&(C={min:C,max:C}),{x:p,y:C}}),K=Le(()=>({x:o(g.reverse.x)??t.reverse?.x??!1,y:o(g.reverse.y)??t.reverse?.y??!1})),_={left:1,right:2,middle:4,X1:8,X2:16},ot=X(()=>{let p=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},C=y.value.map(N=>({...N.type.$_props,...N.props,$_children:N.children??{}})).concat(t.axes??[]);return C.every(N=>N?.coord!="x")&&C.push({coord:"x"}),C.every(N=>N?.coord!="y")&&C.push({coord:"y"}),C.map(({coord:N,position:R,title:G,breaks:tt,labels:at,titles:it,"minor-breaks":kt,"show-grid":wt,theme:ht=[],extend:ct,boundary:nt,action:rt,primary:Z,secondary:vt,"expand-mult":mt,"expand-add":It,levels:Ht,limits:$e,min:xe,max:de,"onUpdate:min":me,"onUpdate:max":mr,$_children:Qe={},...Pe})=>{let je=p[N];R=R??"start",R=="start"?(R={h:"bottom",v:"left"}[je],K[r[N]]&&(R=r[R])):R=="end"&&(R={h:"top",v:"right"}[je],K[r[N]]&&(R=r[R]));let xl=Qe.breaks,bl=Object.keys(Qe).filter(Vt=>typeof Qe[Vt]=="function"&&Vt!="breaks").flatMap(Vt=>M1(Qe[Vt]())).map(Vt=>({...Vt.type.$_props,...Vt.props})).concat(rt??[]).flatMap(Vt=>{let gr=[];for(let I1 of["move","nudge","zoom","rescale"]){let ae=Vt[I1];if(ae==null||ae===!1)continue;let wl="on"+I1.charAt(0).toUpperCase()+I1.slice(1);gr.push({action:I1,[je+"min"]:ae.min??Vt.min??nt?.min??nt?.[0]??b?.[N]?.min,[je+"max"]:ae.max??Vt.max??nt?.max??nt?.[1]??b?.[N]?.max,["min-range-"+je]:ae["min-range"]??Vt["min-range"],ctrlKey:!!(ae.ctrl??o(Vt.ctrl)),shiftKey:!!(ae.shift??o(Vt.shift)),altKey:!!(ae.alt??o(Vt.alt)),metaKey:!!(ae.meta??o(Vt.meta)),buttons:ae.buttons??_[ae.button]??Vt.buttons??_[Vt.button]??1,emit:Vt[wl]})}return gr});return{coord:N,orientation:je,position:R,title:G,breaks:tt,labels:at,titles:it,minorBreaks:kt,breakSlot:xl,showGrid:o(wt)??R!=="none",extend:ct??g.extend[N],theme:Object.assign({},...[$.value?.axis?.[R]??$.value?.axis?.[je]].concat(ht)),action:bl,...Pe}}).filter(N=>N!=null)}),st=Ot({});St(ot,p=>{for(let C of["left","right","top","bottom"])st[C]=p.some(N=>N.position==C)},{immediate:!0});const pt=X(()=>v.value.map(p=>({...p.type.$_props,...p.props})).concat(t.action??[]).flatMap(p=>{let C=[];for(let N of["select","move","nudge","zoom"]){let R=p[N];if(R==null||R===!1)continue;let G=R.x==null&&R.y==null&&p.x==null&&p.y==null,tt="on"+N.charAt(0).toUpperCase()+N.slice(1);C.push({action:N,x:G||!!(R.x??o(p.x)),y:G||!!(R.y??o(p.y)),xmin:R.xmin??p.xmin??b?.x?.min,xmax:R.xmax??p.xmax??b?.x?.max,ymin:R.ymin??p.ymin??b?.y?.min,ymax:R.ymax??p.ymax??b?.y?.max,"min-range-x":R["min-range-x"]??p["min-range-x"],"min-range-y":R["min-range-y"]??p["min-range-y"],ctrlKey:!!(R.ctrl??o(p.ctrl)),shiftKey:!!(R.shift??o(p.shift)),altKey:!!(R.alt??o(p.alt)),metaKey:!!(R.meta??o(p.meta)),buttons:R.buttons??_[R.button]??p.buttons??_[p.button]??1,emit:p[tt]})}return C})),_t=X(()=>x.value.map(p=>({...p.type.$_props,...p.props})).map(({once:p,move:C,dismissible:N,resize:R,x:G,y:tt,xmin:at,xmax:it,ymin:kt,ymax:wt,ctrl:ht,shift:ct,alt:nt,meta:rt,button:Z,buttons:vt,modelValue:mt,"onUpdate:modelValue":It,theme:Ht=[],...$e})=>{let xe=G==null&&tt==null;return o(p)?(mt=Ot({}),It=null):It==null&&(mt=Ot(mt??{}),It=de=>{for(let me in mt)delete mt[me];Object.assign(mt,de)}),{move:!!o(C),dismissible:N==null?void 0:N!==!1,resize:!!o(R),x:xe||!!o(G),y:xe||!!o(tt),xmin:at??b?.x?.min,xmax:it??b?.x?.max,ymin:kt??b?.y?.min,ymax:wt??b?.y?.max,ctrlKey:!!o(ht),shiftKey:!!o(ct),altKey:!!o(nt),metaKey:!!o(rt),buttons:vt??_[Z]??1,modelValue:mt,"onUpdate:modelValue":It,theme:Object.assign({},...[$.value?.selection].concat(Ht)),onSelect:(de,me)=>l("select",de,me),...$e}})),{pixelRatio:le}=Xl(),ie=Dt("wrapper"),Jt=Dt("plot"),ve=Ae(t,"width"),E=Ae(t,"height");Oo(()=>{St(ve,p=>{ie.value.style.width=qe(p,"px")??null},{immediate:!0}),St(E,p=>{ie.value.style.height=qe(p,"px")??null},{immediate:!0})});let D={width:0,height:0};Bo(Jt,p=>{let{width:C,height:N}=p[0].contentRect;ie.value.style.width&&(ve.value=C),ie.value.style.height&&(E.value=N),(C>0||N>0)&&(D.width>0||D.height>0)&&l("resize",{width:C,height:N},D),D={width:C,height:N}});const V=X(()=>({position:"absolute",pointerEvents:"none",left:qe(Jt.value?.panel?.left,"px"),top:qe(Jt.value?.panel?.top,"px"),width:qe(Jt.value?.panel?.width,"px"),height:qe(Jt.value?.panel?.height,"px")})),Y=X(()=>{let p={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(p,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(p,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(p,{resize:"vertical"}),p});return e({get svg(){return Jt.value.svg},serialize(p){return va(Jt.value.svg,p)}}),(p,C)=>(O(),I("div",J({ref:"wrapper",class:"vvplot",style:Y.value},j.value.wrapper),[re(eW,J({ref:"plot",paddings:st,schema:S.value,layers:k.value,"min-range":F.value,"expand-add":et.value,"expand-mult":Q.value,reverse:Ct(K),flip:t.flip,"coord-levels":B.value,levels:w.value,scales:t.scales,axes:ot.value,theme:$.value,selections:_t.value,transition:s.value,"onUpdate:transition":C[0]||(C[0]=N=>s.value=N)},j.value.plot,{"selection-preview":c.value,"onUpdate:selectionPreview":C[1]||(C[1]=N=>c.value=N),"selection-preview-theme":a.value,"onUpdate:selectionPreviewTheme":C[2]||(C[2]=N=>a.value=N),action:pt.value,clip:t.clip,render:t.render,dpi:t.dpi??96*Ct(le),legendTeleport:t.legendTeleport,onSelect:C[3]||(C[3]=(N,R)=>l("select",N,R))}),{default:El(()=>[(O(!0),I(lt,null,ut(A.value,N=>(O(),bt(Xe(N)))),256))]),_:1},16,["paddings","schema","layers","min-range","expand-add","expand-mult","reverse","flip","coord-levels","levels","scales","axes","theme","selections","transition","selection-preview","selection-preview-theme","action","clip","render","dpi","legendTeleport"]),C[4]||(C[4]=dt()),Nt("div",{class:"vvplot-panel-container",style:j1(V.value)},[h.dom.panel?.length?(O(),I("div",rW,[(O(!0),I(lt,null,ut(h.dom.panel,N=>(O(),bt(Xe(N)))),256))])):Lt("",!0)],4),C[5]||(C[5]=dt()),(O(!0),I(lt,null,ut(M.value,N=>(O(),bt(Xe(N)))),256))],16))}}),vl={$_type:"selection",$_props:{}},oW=Object.freeze(Object.defineProperty({__proto__:null,VVAction:En,VVAxis:ur,VVAxisBreak:dr,VVAxisX:hr,VVAxisY:fr,VVGeom:Yi,VVGeomBar:zi,VVGeomBlank:Fi,VVGeomBoxplot:Ui,VVGeomCurve:Gi,VVGeomDensity:Wi,VVGeomEllipse:Ki,VVGeomHistogram:Zi,VVGeomLine:_i,VVGeomLinerange:Qi,VVGeomMarkdown:Ji,VVGeomMarkdownsegment:tr,VVGeomPath:er,VVGeomPoint:nr,VVGeomPolygon:ir,VVGeomRect:rr,VVGeomSegment:or,VVGeomStick:sr,VVGeomText:lr,VVGeomTextsegment:ar,VVGeomTile:cr,VVPlot:pl,VVSelection:vl},Symbol.toStringTag,{value:"Module"}));export{En as VVAction,ur as VVAxis,dr as VVAxisBreak,hr as VVAxisX,fr as VVAxisY,Yi as VVGeom,zi as VVGeomBar,Fi as VVGeomBlank,Ui as VVGeomBoxplot,Gi as VVGeomCurve,Wi as VVGeomDensity,Ki as VVGeomEllipse,Zi as VVGeomHistogram,_i as VVGeomLine,Qi as VVGeomLinerange,Ji as VVGeomMarkdown,tr as VVGeomMarkdownsegment,er as VVGeomPath,nr as VVGeomPoint,ir as VVGeomPolygon,rr as VVGeomRect,or as VVGeomSegment,sr as VVGeomStick,lr as VVGeomText,ar as VVGeomTextsegment,cr as VVGeomTile,pl as VVPlot,vl as VVSelection,oW as components,Rs as number_cut,x9 as oob,Vn as vvbreak,Se as vvgeom,Si as vvlabel,Is as vvscale,Ko as vvstat,$a as vvtheme};