vvplot 0.5.2 → 0.6.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,43 @@
1
- import{computed as X,isRef as Xn,reactive as jt,unref as Mt,getCurrentScope as Dl,onScopeDispose as ql,watch as St,getCurrentInstance as Vo,hasInjectionContext as Bo,inject as $1,toValue as He,shallowRef as M1,readonly as Vl,watchEffect as Bl,onMounted as Io,Fragment as st,useTemplateRef as qt,nextTick as Ln,openBlock as L,createElementBlock as I,mergeProps as J,renderSlot as Ro,toDisplayString as zt,createCommentVNode as Lt,createTextVNode as dt,renderList as ut,createBlock as xt,toHandlers as Tt,normalizeStyle as D1,createVNode as re,createElementVNode as $t,normalizeProps as se,resolveDynamicComponent as Xe,guardReactiveProps as v1,useModel as Ae,createPropsRestProxy as Ho,mergeModels as d1,ref as an,useId as Il,Teleport as Rl,useSlots as Hl,useAttrs as Xl,provide as wr,withCtx as Yl}from"vue";function Xo(t){return Dl()?(ql(t),!0):!1}const Yn=new WeakMap,_l=(...t)=>{var e;const n=t[0],i=(e=Vo())==null?void 0:e.proxy;if(i==null&&!Bo())throw new Error("injectLocal must be called in setup");return i&&Yn.has(i)&&n in Yn.get(i)?Yn.get(i)[n]:$1(...t)};function zl(t){if(!Xn(t))return jt(t);const e=new Proxy({},{get(n,i,r){return Mt(Reflect.get(t.value,i,r))},set(n,i,r){return Xn(t.value[i])&&!Xn(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 jt(e)}function Oe(t){return zl(X(t))}const Fl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ul=Object.prototype.toString,Gl=t=>Ul.call(t)==="[object Object]",Wl=()=>{};function kr(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function _n(t){return Array.isArray(t)?t:[t]}function Yo(t,e,n){return St(t,e,{...n,immediate:!0})}const jn=Fl?window:void 0;function ni(t){var e;const n=He(t);return(e=n?.$el)!=null?e:n}function Kl(...t){const e=[],n=()=>{e.forEach(c=>c()),e.length=0},i=(c,a,s,h)=>(c.addEventListener(a,s,h),()=>c.removeEventListener(a,s,h)),r=X(()=>{const c=_n(He(t[0])).filter(a=>a!=null);return c.every(a=>typeof a!="string")?c:void 0}),o=Yo(()=>{var c,a;return[(a=(c=r.value)==null?void 0:c.map(s=>ni(s)))!=null?a:[jn].filter(s=>s!=null),_n(He(r.value?t[1]:t[0])),_n(Mt(r.value?t[2]:t[1])),He(r.value?t[3]:t[2])]},([c,a,s,h])=>{if(n(),!c?.length||!a?.length||!s?.length)return;const d=Gl(h)?{...h}:h;e.push(...c.flatMap(u=>a.flatMap(f=>s.map(m=>i(u,f,m,d)))))},{flush:"post"}),l=()=>{o(),n()};return Xo(n),l}function Zl(){const t=M1(!1),e=Vo();return e&&Io(()=>{t.value=!0},e),t}function _o(t){const e=Zl();return X(()=>(e.value,!!t()))}const Ql=Symbol("vueuse-ssr-width");function Jl(){const t=Bo()?_l(Ql,null):null;return typeof t=="number"?t:void 0}function ta(t,e={}){const{window:n=jn,ssrWidth:i=Jl()}=e,r=_o(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=M1(typeof i=="number"),l=M1(),c=M1(!1),a=s=>{c.value=s.matches};return Bl(()=>{if(o.value){o.value=!r.value;const s=He(t).split(",");c.value=s.some(h=>{const d=h.includes("not all"),u=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),f=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(u||f);return u&&m&&(m=i>=kr(u[1])),f&&m&&(m=i<=kr(f[1])),d?!m:m});return}r.value&&(l.value=n.matchMedia(He(t)),c.value=l.value.matches)}),Kl(l,"change",a,{passive:!0}),X(()=>c.value)}function ea(t={}){const{window:e=jn}=t,n=M1(1),i=ta(()=>`(resolution: ${n.value}dppx)`,t);let r=Wl;return e&&(r=Yo(i,()=>n.value=e.devicePixelRatio)),{pixelRatio:Vl(n),stop:r}}function zo(t,e,n={}){const{window:i=jn,...r}=n;let o;const l=_o(()=>i&&"ResizeObserver"in i),c=()=>{o&&(o.disconnect(),o=void 0)},a=X(()=>{const d=He(t);return Array.isArray(d)?d.map(u=>ni(u)):[ni(d)]}),s=St(a,d=>{if(c(),l.value&&i){o=new ResizeObserver(e);for(const u of d)u&&o.observe(u,r)}},{immediate:!0,flush:"post"}),h=()=>{c(),s()};return Xo(h),{isSupported:l,stop:h}}function na(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const H1=()=>!1,ii=Object.assign,ia="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",Ar=na(ia),ra=Symbol(""),oa=Symbol(""),sa=Symbol(""),la=Symbol(""),Fo={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function aa(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Fo}}function ri(t,e=!1,n=Fo,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const Sr=new Uint8Array([123,123]),Cr=new Uint8Array([125,125]);function Mr(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 cn(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Ft={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 ca{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=Sr,this.delimiterClose=Cr,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=Sr,this.delimiterClose=Cr}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===Ft.TitleEnd||this.currentSequence===Ft.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===Ft.Cdata[this.sequenceIndex]?++this.sequenceIndex===Ft.Cdata.length&&(this.state=28,this.currentSequence=Ft.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===Ft.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):Mr(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(cn("</"+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=Mr(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=Ft.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===Ft.ScriptEnd[3]?this.startSpecial(Ft.ScriptEnd,4):e===Ft.StyleEnd[3]?this.startSpecial(Ft.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Ft.TitleEnd[3]?this.startSpecial(Ft.TitleEnd,4):e===Ft.TextareaEnd[3]?this.startSpecial(Ft.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===Ft.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 $r(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Uo(t,e){const n=$r("MODE",e),i=$r(t,e);return n===3?i===!0:i!==!1}function un(t,e,n,...i){return Uo(t,e)}function ua(t){throw t}function ha(t){}function fa(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 da=t=>t.type===4&&t.isStatic;function ma(t){switch(t){case"Teleport":case"teleport":return ra;case"Suspense":case"suspense":return oa;case"KeepAlive":case"keep-alive":return sa;case"BaseTransition":case"base-transition":return la}}function ga(t,e){return!!(t&&da(t)&&t.content===e)}function Nr(t){return t.type===7&&t.name==="pre"}const ya=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function pa(t){for(let e=0;e<t.length;e++)if(!ne(t.charCodeAt(e)))return!1;return!0}const Go={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:H1,isPreTag:H1,isIgnoreNewlineTag:H1,isCustomElement:H1,onError:ua,onWarn:ha,comments:!1,prefixIdentifiers:!1};let vt=Go,N1=null,Me="",Ut=null,gt=null,ee="",ke=-1,De=-1,Oi=0,Ee=!1,oi=null;const At=[],Ot=new ca(At,{onerr:be,ontext(t,e){X1(Yt(t,e),t,e)},ontextentity(t,e,n){X1(t,e,n)},oninterpolation(t,e){if(Ee)return X1(Yt(t,e),t,e);let n=t+Ot.delimiterOpen.length,i=e-Ot.delimiterClose.length;for(;ne(Me.charCodeAt(n));)n++;for(;ne(Me.charCodeAt(i-1));)i--;let r=Yt(n,i);r.includes("&")&&(r=vt.decodeEntities(r,!1)),si({type:5,content:nn(r,!1,Dt(n,i)),loc:Dt(t,e)})},onopentagname(t,e){const n=Yt(t,e);Ut={type:1,tag:n,ns:vt.getNamespace(n,At[0],vt.ns),tagType:0,props:[],children:[],loc:Dt(t-1,e),codegenNode:void 0}},onopentagend(t){Er(t)},onclosetag(t,e){const n=Yt(t,e);if(!vt.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();en(c,e,l<r)}break}i||be(23,Wo(t,60))}},onselfclosingtag(t){const e=Ut.tag;Ut.isSelfClosing=!0,Er(t),At[0]&&At[0].tag===e&&en(At.shift(),t)},onattribname(t,e){gt={type:6,name:Yt(t,e),nameLoc:Dt(t,e),value:void 0,loc:Dt(t)}},ondirname(t,e){const n=Yt(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:Dt(t,e),value:void 0,loc:Dt(t)};else if(gt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ri("prop")]:[],loc:Dt(t)},i==="pre"){Ee=Ot.inVPre=!0,oi=Ut;const r=Ut.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=Ma(r[o]))}},ondirarg(t,e){if(t===e)return;const n=Yt(t,e);if(Ee&&!Nr(gt))gt.name+=n,Ie(gt.nameLoc,e);else{const i=n[0]!=="[";gt.arg=nn(i?n:n.slice(1,-1),i,Dt(t,e),i?3:0)}},ondirmodifier(t,e){const n=Yt(t,e);if(Ee&&!Nr(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=ri(n,!0,Dt(t,e));gt.modifiers.push(i)}},onattribdata(t,e){ee+=Yt(t,e),ke<0&&(ke=t),De=e},onattribentity(t,e,n){ee+=t,ke<0&&(ke=e),De=n},onattribnameend(t){const e=gt.loc.start.offset,n=Yt(e,t);gt.type===7&&(gt.rawName=n),Ut.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&be(2,e)},onattribend(t,e){if(Ut&&gt){if(Ie(gt.loc,e),t!==0)if(ee.includes("&")&&(ee=vt.decodeEntities(ee,!0)),gt.type===6)gt.name==="class"&&(ee=Zo(ee).trim()),t===1&&!ee&&be(13,e),gt.value={type:2,content:ee,loc:t===1?Dt(ke,De):Dt(ke-1,De+1)},Ot.inSFCRoot&&Ut.tag==="template"&&gt.name==="lang"&&ee&&ee!=="html"&&Ot.enterRCDATA(cn("</template"),0);else{let n=0;gt.exp=nn(ee,!1,Dt(ke,De),0,n),gt.name==="for"&&(gt.forParseResult=xa(gt.exp));let i=-1;gt.name==="bind"&&(i=gt.modifiers.findIndex(r=>r.content==="sync"))>-1&&un("COMPILER_V_BIND_SYNC",vt,gt.loc,gt.arg.loc.source)&&(gt.name="model",gt.modifiers.splice(i,1))}(gt.type!==7||gt.name!=="pre")&&Ut.props.push(gt)}ee="",ke=De=-1},oncomment(t,e){vt.comments&&si({type:3,content:Yt(t,e),loc:Dt(t-4,e+3)})},onend(){const t=Me.length;for(let e=0;e<At.length;e++)en(At[e],t-1),be(24,At[e].loc.start.offset)},oncdata(t,e){(At[0]?At[0].ns:vt.ns)!==0?X1(Yt(t,e),t,e):be(1,t-9)},onprocessinginstruction(t){(At[0]?At[0].ns:vt.ns)===0&&be(21,t-1)}}),Tr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,va=/^\(|\)$/g;function xa(t){const e=t.loc,n=t.content,i=n.match(ya);if(!i)return;const[,r,o]=i,l=(d,u,f=!1)=>{const m=e.start.offset+u,y=m+d.length;return nn(d,!1,Dt(m,y),0,f?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(va,"").trim();const s=r.indexOf(a),h=a.match(Tr);if(h){a=a.replace(Tr,"").trim();const d=h[1].trim();let u;if(d&&(u=n.indexOf(d,s+a.length),c.key=l(d,u,!0)),h[2]){const f=h[2].trim();f&&(c.index=l(f,n.indexOf(f,c.key?u+d.length:s+a.length),!0))}}return a&&(c.value=l(a,s,!0)),c}function Yt(t,e){return Me.slice(t,e)}function Er(t){Ot.inSFCRoot&&(Ut.innerLoc=Dt(t+1,t+1)),si(Ut);const{tag:e,ns:n}=Ut;n===0&&vt.isPreTag(e)&&Oi++,vt.isVoidTag(e)?en(Ut,t):(At.unshift(Ut),(n===1||n===2)&&(Ot.inXML=!0)),Ut=null}function X1(t,e,n){{const o=At[0]&&At[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=vt.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:Dt(e,n)})}function en(t,e,n=!1){n?Ie(t.loc,Wo(e,60)):Ie(t.loc,ba(e,62)+1),Ot.inSFCRoot&&(t.children.length?t.innerLoc.end=ii({},t.children[t.children.length-1].loc.end):t.innerLoc.end=ii({},t.innerLoc.start),t.innerLoc.source=Yt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Ee||(i==="slot"?t.tagType=2:Or(t)?t.tagType=3:ka(t)&&(t.tagType=1)),Ot.inRCDATA||(t.children=Ko(o)),r===0&&vt.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}r===0&&vt.isPreTag(i)&&Oi--,oi===t&&(Ee=Ot.inVPre=!1,oi=null),Ot.inXML&&(At[0]?At[0].ns:vt.ns)===0&&(Ot.inXML=!1);{const l=t.props;if(!Ot.inSFCRoot&&Uo("COMPILER_NATIVE_TEMPLATE",vt)&&t.tag==="template"&&!Or(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&&un("COMPILER_INLINE_TEMPLATE",vt,c.loc)&&t.children.length&&(c.value={type:2,content:Yt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:c.loc})}}function ba(t,e){let n=t;for(;Me.charCodeAt(n)!==e&&n<Me.length-1;)n++;return n}function Wo(t,e){let n=t;for(;Me.charCodeAt(n)!==e&&n>=0;)n--;return n}const wa=new Set(["if","else","else-if","for","slot"]);function Or({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&wa.has(e[n].name))return!0}return!1}function ka({tag:t,props:e}){if(vt.isCustomElement(t))return!1;if(t==="component"||Aa(t.charCodeAt(0))||ma(t)||vt.isBuiltInComponent&&vt.isBuiltInComponent(t)||vt.isNativeTag&&!vt.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(un("COMPILER_IS_ON_ELEMENT",vt,i.loc))return!0}}else if(i.name==="bind"&&ga(i.arg,"is")&&un("COMPILER_IS_ON_ELEMENT",vt,i.loc))return!0}return!1}function Aa(t){return t>64&&t<91}const Sa=/\r\n/g;function Ko(t){const e=vt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Oi)r.content=r.content.replace(Sa,`
2
- `);else if(pa(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&&Ca(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=Zo(r.content))}return n?t.filter(Boolean):t}function Ca(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 si(t){(At[0]||N1).children.push(t)}function Dt(t,e){return{start:Ot.getPos(t),end:e==null?e:Ot.getPos(e),source:e==null?e:Yt(t,e)}}function Ie(t,e){t.end=Ot.getPos(e),t.source=Yt(t.start.offset,e)}function Ma(t){const e={type:6,name:t.rawName,nameLoc:Dt(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 nn(t,e=!1,n,i=0,r=0){return ri(t,e,n,i)}function be(t,e,n){vt.onError(fa(t,Dt(e,e)))}function $a(){Ot.reset(),Ut=null,gt=null,ee="",ke=-1,De=-1,At.length=0}function Na(t,e){if($a(),Me=t,vt=ii({},Go),e){let r;for(r in e)e[r]!=null&&(vt[r]=e[r])}Ot.mode=vt.parseMode==="html"?1:vt.parseMode==="sfc"?2:0,Ot.inXML=vt.ns===1||vt.ns===2;const n=e&&e.delimiters;n&&(Ot.delimiterOpen=cn(n[0]),Ot.delimiterClose=cn(n[1]));const i=N1=aa([],t);return Ot.parse(Me),i.loc=Dt(0,t.length),i.children=Ko(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 T1(t){return t==null?[]:t.flatMap(e=>e.type==st?T1(e.children):e.type=="template"?T1(e.children).map(n=>(n.props={...n.props,...e.props},n)):e)}class c1 extends String{static#t=new Map;constructor(e){const n=String(e);if(c1.#t.has(n))return c1.#t.get(n);super(n),c1.#t.set(n,this)}}class u1 extends Number{static#t=new Map;constructor(e){const n=Number(e);if(u1.#t.has(n))return u1.#t.get(n);super(n),u1.#t.set(n,this)}}class Ye{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new c1(e);if(typeof e=="number"||e instanceof Number)return new u1(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof c1||e instanceof u1}}class Qo{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 _e extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=li(Array.from(e).filter(i=>!(i instanceof Ye)&&i!=null).map(i=>String(i))).sort((i,r)=>Lr(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)=>Lr(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 Qo(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,_e.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 t1(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function Fe(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 kt={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(t1)),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(t1)),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(t1)),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(t1)),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(t1)),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(t1)),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 Gt(...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 li(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 Lr(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 Le(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 ai(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function _t(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function Jo(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(!Jo(t[r],e[r]))return!1;return!0}function Ta(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=>Jo(l,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function Ea(...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 Zt(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 Li(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 Ht(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 Oa(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],h=r[c].querySelector("canvas");if(!h)continue;let d=i.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",h.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 ts={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"}},es={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"#eeeeee"}},La={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray",grid_color:"#eeeeee"}},ja={axis:{tick_color:"black",label_color:"black",title_color:"black",grid_color:"white"},plot:{background:"#eeeeee"}},Pa={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black",grid_color:"#666666"},plot:{background:"#888888"}},Da={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"black",grid_width:.5,grid_width_major:1}},qa={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"}},Va={axis:null};function Ba(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=Gt(e[i],n[i]);return e??void 0},{})}function Ia(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:h,padding_y:d,padding_h:u,padding_v:f,...m}={},...y}=t;return e?(n=Gt(n,o),i=Gt(i,r),m.margin_h=c===void 0?a:c,m.margin_v=l===void 0?s:l,m.padding_h=d===void 0?u:d,m.padding_v=h===void 0?f:h):(n=Gt(n,r),i=Gt(i,o),m.margin_h=l===void 0?a:l,m.margin_v=c===void 0?s:c,m.padding_h=h===void 0?u:h,m.padding_v=d===void 0?f:d),{axis_h:n,axis_v:i,plot:m,...y}}function Ra(t){return{axis:{h:Gt(...["axis","axis_h"].map(e=>t?.[e])),v:Gt(...["axis","axis_v"].map(e=>t?.[e])),left:Gt(...["axis","axis_v","axis_left"].map(e=>t?.[e])),right:Gt(...["axis","axis_v","axis_right"].map(e=>t?.[e])),top:Gt(...["axis","axis_h","axis_top"].map(e=>t?.[e])),bottom:Gt(...["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 Ha={base:ts,default:es,light:La,classic:qa,gray:ja,dark:Pa,linedraw:Da,void:Va},Xa={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 Et=Pt.sum;const Ya={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=Et(e.x?.apply?.(t.x)??t.x,n),o=Et(r,t.width?.map?.(y=>-y/2)??-.5),l=Et(r,t.width?.map?.(y=>+y/2)??.5),c=Et(t.lwisker,i),a=Et(t.Q1,i),s=Et(t.median,i),h=Et(t.Q3,i),d=Et(t.uwisker,i),u=Pt.apply((y,{y:b,$raw:A},T)=>Et(b,T).map((C,M)=>({x:y,y:C,$raw:A[M]})),r,t.outliers??[],i),f=Et(t.min,i),m=Et(t.max,i);return{x:r,xmin:o,xmax:l,lwisker:c,Q1:a,median:s,Q3:h,uwisker:d,outliers:u,$xmin:o,$xmax:l,$ymin:f,$ymax:m}}else if(t.y){let r=Et(e.y?.apply?.(t.y)??t.y,i),o=Et(r,t.height?.map?.(y=>-y/2)??-.5),l=Et(r,t.height?.map?.(y=>+y/2)??.5),c=Et(t.lwisker,n),a=Et(t.Q1,n),s=Et(t.median,n),h=Et(t.Q3,n),d=Et(t.uwisker,n),u=Pt.apply((y,{x:b,$raw:A},T)=>Et(b,T).map((C,M)=>({x:C,y,$raw:A[M]})),r,t.outliers??[],n),f=Et(t.min,n),m=Et(t.max,n);return{y:r,ymin:o,ymax:l,lwisker:c,Q1:a,median:s,Q3:h,uwisker:d,outliers:u,$xmin:f,$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}},_a={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=>({x:+(e?.x?.[c.x]??c.x)+(n?.[l]??0),y:+(e?.y?.[c.y]??c.y)+(i?.[l]??0)})))}},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 e1=Pt.sum;const za={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=e1(e.x?.apply?.(t.cx)??t.cx,o),a=e1(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 e1(t.cx??[],n).concat(e1(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 e1(t.cy??[],n).concat(e1(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 Y1=Pt.sum;const Fa={scale_attrs:["color","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.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let jr=Pt.sum;const Ua={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=jr(e.x?.apply?.(t.x)??t.x,n),o=jr(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 _1=Pt.sum;const Ga={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=_1(e.x?.apply?.(t.x)??t.x,n),o=_1(e.y?.apply?.(t.y)??t.y,i),l=_1(e.x?.apply?.(t.xend)??t.xend,n),c=_1(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 Pr=Pt.sum;const Wa={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Pr(e.x?.apply?.(t.x)??t.x,n),o=Pr(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}},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=>({x:+(e?.x?.[c.x]??c.x)+(n?.[l]??0),y:+(e?.y?.[c.y]??c.y)+(i?.[l]??0)})))}},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 Za={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}},Qa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=e.x?.apply?.(t.x)??t.x,i=e.y?.apply?.(t.y)??t.y,r=t.xnudge?.map(c=>+c),o=t.ynudge?.map(c=>+c);return{points:t.points.map((c,a)=>c.map(s=>({x:+(e?.x?.[s.x]??s.x)+(r?.[a]??0)+n[a],y:+(e?.y?.[s.y]??s.y)+(o?.[a]??0)+i[a]})))}},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.points??[]).flatMap((n,i)=>n.map(r=>r.x+t.x[i]));if(e=="y")return(t.points??[]).flatMap((n,i)=>n.map(r=>r.y+t.y[i]))},validate(t){return Array.isArray(t.points)?t:null}};let n1=Pt.sum;const Ja={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=n1(e.x?.apply?.(t.x)??t.x,n),o=n1(e.y?.apply?.(t.y)??t.y,i),l=n1(r,t.dx),c=n1(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(n1(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(n1(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Dr=Pt.sum;const tc={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Dr(e.x?.apply?.(t.x)??t.x,n),o=Dr(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 ec={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 nc={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?.(h=>-h/2)??-.5,n),c=U1(r,t.width?.map?.(h=>+h/2)??.5,n),a=U1(o,t.height?.map?.(h=>-h/2)??-.5,i),s=U1(o,t.height?.map?.(h=>+h/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:Xa,boxplot:Ya,curve:_a,ellipse:za,line:Fa,markdown:Ua,markdownsegment:Ga,point:Wa,polygon:Ka,rect:Za,shape:Qa,stick:Ja,text:tc,textsegment:ec,tile:nc},Symbol.toStringTag,{value:"Module"})),ic=Object.assign(function(t,{position:e="stack",width:n=.9,height:i=.9}){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let r=t.x?"x":"y",o=t[r];if(o==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(o.some(f=>typeof f=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let l=Object.keys(t).filter(f=>!f.startsWith("$")),c=Zt(Object.fromEntries(l.map(f=>[f,t[f]]))),a=Zt({group:c??0,value:o}),s=Map.groupBy(t.$raw,(f,m)=>a.categories[a[m]]),h=Array.from(s.values()),d=Array.from(s.keys()),u={$raw:h,$group:d.map(f=>f.group)};for(let f of l)u[f]=d.map(m=>m.group).map(m=>c.categories[m][f]);if(r=="x"?(u.x=d.map(f=>f.value),u.height=h.map(f=>f.length)):(u.y=d.map(f=>f.value),u.width=h.map(f=>f.length)),e=="stack"){let f=Object.groupBy(u.$group,(y,b)=>c.categories[y][r]),m=d.map(y=>0);for(let y in f){let b=0;for(let A of f[y])m[A]=b,b+=h[A].length}r=="x"?(u.y=u.height.map((y,b)=>m[b]+y/2),u.width=d.map(y=>n)):(u.x=u.width.map((y,b)=>m[b]+y/2),u.height=d.map(y=>i))}else if(e=="dodge"){let f=Object.groupBy(u.$group,(y,b)=>c.categories[y][r]),m=u.$group.map(y=>f[c.categories[y][r]]);r=="x"?(u.y=u.height.map(y=>y/2),u.width=m.map(y=>n/y.length),u.xnudge=m.map((y,b)=>(u.xnudge?.[b]??0)+((y.indexOf(u.$group[b])+.5)/y.length-.5)*n)):(u.x=u.width.map(y=>y/2),u.height=m.map(y=>i/y.length),u.ynudge=m.map((y,b)=>(u.ynudge?.[b]??0)+((y.indexOf(u.$group[b])+.5)/y.length-.5)*i))}else r=="x"?(u.y=u.height.map(f=>f/2),u.width=d.map(f=>n)):(u.x=u.width.map(f=>f/2),u.height=d.map(f=>i));return u},{core_attrs:["x","y","xnudge","ynudge"]}),rc=Object.assign(function(t,{position:e="dodge",width:n=.9,height:i=.9}){let r=["x","y"].filter(w=>t[w]==null);if(r.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${r.join('", "')}"`);let o=t.x.some(Fe),l=t.y.some(Fe);if(o&&l)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!o&&!l)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[c,a]=o?["y","x"]:["x","y"],s=Object.keys(t).filter(w=>w!=c&&!w.startsWith("$")),h=Zt(Object.fromEntries(s.map(w=>[w,t[w]]))),d=Zt({group:h??0,cate:t[a]}),u=Map.groupBy(d.map((w,k)=>k),(w,k)=>d.categories[d[k]]),f=Array.from(u.keys()),m=Array.from(u.values()).map(w=>w.map(k=>t.$raw[k])),y=Array.from(u.values()).map(w=>w.map(k=>t[c][k])),b=y.map(w=>kt.min(w)),A=y.map(w=>kt.quantile(w,.25)),T=y.map(w=>kt.quantile(w,.5)),C=y.map(w=>kt.quantile(w,.75)),M=y.map(w=>kt.max(w)),E=y.map((w,k)=>C[k]-A[k]),S=y.map((w,k)=>Math.max(b[k],A[k]-1.5*E[k])),j=y.map((w,k)=>Math.min(M[k],C[k]+1.5*E[k])),g=Array.from(u.values()).map((w,k)=>{let v=w.filter(V=>t[c][V]<S[k]||t[c][V]>j[k]);return{[c]:v.map(V=>t[c][V]),$raw:v.map(V=>t.$raw[V])}}),p={$raw:m,$group:f.map(w=>w.group),min:b,lwisker:S,Q1:A,median:T,Q3:C,uwisker:j,max:M,outliers:g};if(e=="dodge"){let w=Object.groupBy(p.$group,(v,V)=>h.categories[v][a]),k=p.$group.map(v=>w[h.categories[v][a]]);o?(p.width=k.map(v=>n/v.length),p.xnudge=k.map((v,V)=>(p.xnudge?.[V]??0)+((v.indexOf(p.$group[V])+.5)/v.length-.5)*n)):(p.height=k.map(v=>i/v.length),p.ynudge=k.map((v,V)=>(p.ynudge?.[V]??0)+((v.indexOf(p.$group[V])+.5)/v.length-.5)*i))}else o?p.width=f.map(w=>n):p.height=f.map(w=>i);for(let w of s)p[w]=f.map(k=>k.group).map(k=>h.categories[k][w]);return p},{core_attrs:["x","y","xnudge","ynudge"]}),oc=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(h=>t[h]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatCurve": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(h=>!["x","y"].includes(h)&&!h.startsWith("$")),i=Zt(Object.fromEntries(n.map(h=>[h,t[h]]))),r=Zt({group:i??new Array(t.x.length).fill(0)}).map((h,d,u)=>u.categories[h]),o=Map.groupBy(t.$raw,(h,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Li({x:t.x,y:t.y}),(h,d)=>r[d]).values()),s={$raw:l,points:a};for(let h of n)s[h]=c.map(d=>d.group).map(d=>i.categories[d][h]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),sc=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:i="area"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(r.some(m=>typeof m!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=qr[n],!n)throw new Error(`kernel must be one of ${Object.keys(qr).map(m=>`"${m}"`).join(", ")}`);let o=Object.keys(t).filter(m=>!["x","y"].includes(m)&&!m.startsWith("$")),l=Zt(Object.fromEntries(o.map(m=>[m,t[m]]))),c=Zt({group:l??new Array(r.length).fill(0)}).map((m,y,b)=>b.categories[m]),a=Map.groupBy(t.$raw,(m,y)=>c[y]),s=Array.from(a.values()),h=Array.from(a.keys()),d=Array.from(Map.groupBy(r,(m,y)=>c[y]).values()),u={$raw:s,$group:h.map(m=>m.group)},f=d.map(m=>{let y=lc.nrd0(m),{min:b,max:A}=kt.extent(m);b-=3*y,A+=3*y;let T=(A-b)/(e-1),C=Array.from({length:e},(E,S)=>b+S*T),M=i==="count"?m.length:1;return C.map(E=>[E,kt.mean(m.map(S=>n((E-S)/y)))/y*M])});for(let m of o)u[m]=h.map(y=>l.categories[y.group][m]);return t.x?u.points=f.map(m=>m.map(([y,b])=>({x:y,y:b}))):u.points=f.map(m=>m.map(([y,b])=>({x:b,y}))),u},{core_attrs:["x","y","xnudge","ynudge"]}),lc={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=kt.sd(t),n=kt.quantile(t,.75)-kt.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=kt.sd(t),n=kt.quantile(t,.75)-kt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},qr={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},ac=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(u=>t[u]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let i=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),r=Zt(Object.fromEntries(i.map(u=>[u,t[u]]))),o=Zt({group:r??new Array(t.x.length).fill(0)}).map((u,f,m)=>m.categories[u]),l=Map.groupBy(t.$raw,(u,f)=>o[f]),c=Array.from(l.values()),a=Array.from(l.keys()),s=-2*Math.log(1-e),h=Array.from(Map.groupBy(Li({x:t.x,y:t.y}),(u,f)=>o[f]).values()).map(u=>{const f=u.length;let m=u.reduce((M,E)=>M+E.x,0)/f,y=u.reduce((M,E)=>M+E.y,0)/f;if(f<2)return{};let b=u.reduce((M,E)=>M+(E.x-m)**2,0)/(f-1),A=u.reduce((M,E)=>M+(E.x-m)*(E.y-y),0)/(f-1),T=u.reduce((M,E)=>M+(E.y-y)**2,0)/(f-1),C=(b*T-A*A)*s;return{cx:m,cy:y,A:T/C,B:-A/C,C:b/C}}),d={$raw:c,cx:h.map(u=>u.cx??0),cy:h.map(u=>u.cy??0),A:h.map(u=>u.A??0),B:h.map(u=>u.B??0),C:h.map(u=>u.C??0)};for(let u of i)d[u]=a.map(f=>f.group).map(f=>r.categories[f][u]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),cc=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(u=>typeof u!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(i)i.sort((u,f)=>u-f);else{let{min:u,max:f}=kt.extent(r);n||(n=(f-u)/(e-1)),i=Array.from({length:e+1},(m,y)=>u+(y-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),l=Zt(Object.fromEntries(o.map(u=>[u,t[u]]))),c=Zt({group:l??new Array(r.length).fill(0),upper:r.map(u=>i.findLast(f=>f<=u)??i[0]),lower:r.map(u=>i.find(f=>f>u)??i[e])}).map((u,f,m)=>m.categories[u]),a=Map.groupBy(t.$raw,(u,f)=>c[f]),s=Array.from(a.values()),h=Array.from(a.keys()),d={$raw:s,count:s.map(u=>u.length),$group:h.map(u=>u.group),upper:h.map(u=>u.upper),lower:h.map(u=>u.lower)};for(let u of o)d[u]=h.map(f=>l.categories[f.group][u]);return t.x?(({upper:u,lower:f,count:m,ymin:y=s.map(()=>0),...b})=>({xmin:u,xmax:f,ymin:y,ymax:m,...b}))(d):(({upper:u,lower:f,count:m,xmin:y=s.map(()=>0),...b})=>({xmin:y,xmax:m,ymin:u,ymax:f,...b}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),uc=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),hc=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,h,d)=>(s[h]??=[],s[h].push(d),s),{})).map(s=>s.map((h,d)=>[t[e][h],d]).sort((h,d)=>h[0]-d[0]).map((h,d)=>s[h[1]])),l=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,h)=>s.concat(h),[]).filter(s=>!isNaN(s)),c=o.map(s=>s.slice(1).concat(NaN)).reduce((s,h)=>s.concat(h),[]).filter(s=>!isNaN(s)),a={};for(let s in t)a[s]=l.map(h=>t[s][h]);return a.xend=c.map(s=>t.x[s]),a.yend=c.map(s=>t.y[s]),a},{core_attrs:["x","y","xnudge","ynudge"]}),fc=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"]}),dc=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,h)=>(a[s]??=[],a[s].push(h),a),{})).map(a=>a.map((s,h)=>a[h])),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"]}),mc=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"]}),gc=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(h=>t[h]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPolygon": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(h=>!["x","y"].includes(h)&&!h.startsWith("$")),i=Zt(Object.fromEntries(n.map(h=>[h,t[h]]))),r=Zt({group:i??new Array(t.x.length).fill(0)}).map((h,d,u)=>u.categories[h]),o=Map.groupBy(t.$raw,(h,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Li({x:t.x,y:t.y}),(h,d)=>r[d]).values()),s={$raw:l,points:a};for(let h of n)s[h]=c.map(d=>d.group).map(d=>i.categories[d][h]);return s},{core_attrs:["points","xnudge","ynudge"]}),yc=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"]}),pc=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"]}),vc=Object.assign(function(t){let e=["x","y","points"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatShape": "${e.join('", "')}"`);return t},{core_attrs:["x","y","points","xnudge","ynudge"]}),xc=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"]}),bc=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"]}),wc=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"]}),kc=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"]}),Ac=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:i="width",position:r="dodge",width:o=.9,height:l=.9}={}){let c=["x","y"].filter(j=>t[j]==null);if(c.length>0)throw new Error(`Missing aesthetics for "StatViolin": "${c.join('", "')}"`);let a=t.x.some(Fe),s=t.y.some(Fe);if(a&&s)throw new Error('Both "x" and "y" are discrete, "StatViolin" requires one continuous and one discrete aesthetic');if(!a&&!s)throw new Error('Both "x" and "y" are continuous, "StatViolin" requires one continuous and one discrete aesthetic');if(n=Vr[n],!n)throw new Error(`kernel must be one of ${Object.keys(Vr).map(j=>`"${j}"`).join(", ")}`);let[h,d,u]=a?["y","x",o]:["x","y",l],f=t[h],m=Object.keys(t).filter(j=>j!=h&&!j.startsWith("$")),y=Zt(Object.fromEntries(m.map(j=>[j,t[j]]))),b=Zt({group:y??new Array(f.length).fill(0)}).map((j,g,p)=>p.categories[j]),A=Map.groupBy(t.$raw,(j,g)=>b[g]),T=Array.from(A.values()),C=Array.from(A.keys()),M=Array.from(Map.groupBy(f,(j,g)=>b[g]).values()),E={$raw:T,$group:C.map(j=>j.group),[h]:C.map(j=>0)},S=M.map(j=>{let g=Sc.nrd0(j),{min:p,max:w}=kt.extent(j);p-=3*g,w+=3*g;let k=(w-p)/(e-1),v=Array.from({length:e},(W,Y)=>p+Y*k),V=v.map(W=>kt.mean(j.map(Y=>n((W-Y)/g)))/g),D=i=="area"?1:1/kt.max(V);return v.map((W,Y)=>[W,V[Y]*D/2])});for(let j of m)E[j]=C.map(g=>y.categories[g.group][j]);if(r=="dodge"){let j=Object.groupBy(E.$group,(p,w)=>y.categories[p][d]),g=E.$group.map(p=>j[y.categories[p][d]]);S=g.map((p,w)=>S[w].map(([k,v])=>[k,v*u/p.length])),a?E.xnudge=g.map((p,w)=>(E.xnudge?.[w]??0)+((p.indexOf(E.$group[w])+.5)/p.length-.5)*o):E.ynudge=g.map((p,w)=>(E.ynudge?.[w]??0)+((p.indexOf(E.$group[w])+.5)/p.length-.5)*l)}else S=S.map(j=>j.map(([g,p])=>[g,p*u]));return a?E.points=S.map(j=>j.map(([g,p])=>({x:p,y:g})).concat(j.map(([g,p])=>({x:-p,y:g})).reverse())):E.points=S.map(j=>j.map(([g,p])=>({x:g,y:p})).concat(j.map(([g,p])=>({x:g,y:-p})).reverse())),E},{core_attrs:["x","y","xnudge","ynudge"]}),Sc={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=kt.sd(t),n=kt.quantile(t,.75)-kt.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=kt.sd(t),n=kt.quantile(t,.75)-kt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Vr={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},ns=Object.freeze(Object.defineProperty({__proto__:null,bar:ic,boxplot:rc,curve:oc,density:sc,ellipse:ac,histogram:cc,identity:uc,line:hc,linerange:fc,path:dc,point:mc,polygon:gc,rect:yc,segment:pc,shape:vc,stick:xc,text:bc,textsegment:wc,tile:kc,violin:Ac},Symbol.toStringTag,{value:"Module"}));function rn(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Cc(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function is(t){let e,n,i;t.length!==2?(e=rn,n=(c,a)=>rn(t(c),a),i=(c,a)=>t(c)-a):(e=t===rn||t===Cc?t:Mc,n=t,i=t);function r(c,a,s=0,h=c.length){if(s<h){if(e(a,a)!==0)return h;do{const d=s+h>>>1;n(c[d],a)<0?s=d+1:h=d}while(s<h)}return s}function o(c,a,s=0,h=c.length){if(s<h){if(e(a,a)!==0)return h;do{const d=s+h>>>1;n(c[d],a)<=0?s=d+1:h=d}while(s<h)}return s}function l(c,a,s=0,h=c.length){const d=r(c,a,s,h-1);return d>s&&i(c[d-1],a)>-i(c[d],a)?d-1:d}return{left:r,center:l,right:o}}function Mc(){return 0}function $c(t){return t===null?NaN:+t}const Nc=is(rn),Tc=Nc.right;is($c).center;const Ec=Math.sqrt(50),Oc=Math.sqrt(10),Lc=Math.sqrt(2);function hn(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>=Ec?10:o>=Oc?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?hn(t,e,n*2):[c,a,s]}function jc(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?hn(e,t,n):hn(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 ci(t,e,n){return e=+e,t=+t,n=+n,hn(t,e,n)[2]}function Pc(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?ci(e,t,n):ci(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var Dc={value:()=>{}};function rs(){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 on(n)}function on(t){this._=t}function qc(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}})}on.prototype=rs.prototype={constructor:on,on:function(t,e){var n=this._,i=qc(t+"",n),r,o=-1,l=i.length;if(arguments.length<2){for(;++o<l;)if((r=(t=i[o]).type)&&(r=Vc(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]=Br(n[r],t.name,e);else if(e==null)for(r in n)n[r]=Br(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 on(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 Vc(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function Br(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Dc,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var ui="http://www.w3.org/1999/xhtml";const Ir={svg:"http://www.w3.org/2000/svg",xhtml:ui,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)),Ir.hasOwnProperty(e)?{space:Ir[e],local:t}:t}function Bc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===ui&&e.documentElement.namespaceURI===ui?e.createElement(t):e.createElementNS(n,t)}}function Ic(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function os(t){var e=Pn(t);return(e.local?Ic:Bc)(e)}function Rc(){}function ji(t){return t==null?Rc:function(){return this.querySelector(t)}}function Hc(t){typeof t!="function"&&(t=ji(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,h=0;h<l;++h)(a=o[h])&&(s=t.call(a,a.__data__,h,o))&&("__data__"in a&&(s.__data__=a.__data__),c[h]=s);return new ue(i,this._parents)}function Xc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Yc(){return[]}function ss(t){return t==null?Yc:function(){return this.querySelectorAll(t)}}function _c(t){return function(){return Xc(t.apply(this,arguments))}}function zc(t){typeof t=="function"?t=_c(t):t=ss(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 ue(i,r)}function ls(t){return function(){return this.matches(t)}}function as(t){return function(e){return e.matches(t)}}var Fc=Array.prototype.find;function Uc(t){return function(){return Fc.call(this.children,t)}}function Gc(){return this.firstElementChild}function Wc(t){return this.select(t==null?Gc:Uc(typeof t=="function"?t:as(t)))}var Kc=Array.prototype.filter;function Zc(){return Array.from(this.children)}function Qc(t){return function(){return Kc.call(this.children,t)}}function Jc(t){return this.selectAll(t==null?Zc:Qc(typeof t=="function"?t:as(t)))}function t0(t){typeof t!="function"&&(t=ls(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 ue(i,this._parents)}function cs(t){return new Array(t.length)}function e0(){return new ue(this._enter||this._groups.map(cs),this._parents)}function fn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}fn.prototype={constructor:fn,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 n0(t){return function(){return t}}function i0(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 fn(t,o[l]);for(;l<a;++l)(c=e[l])&&(r[l]=c)}function r0(t,e,n,i,r,o,l){var c,a,s=new Map,h=e.length,d=o.length,u=new Array(h),f;for(c=0;c<h;++c)(a=e[c])&&(u[c]=f=l.call(a,a.__data__,c,e)+"",s.has(f)?r[c]=a:s.set(f,a));for(c=0;c<d;++c)f=l.call(t,o[c],c,o)+"",(a=s.get(f))?(i[c]=a,a.__data__=o[c],s.delete(f)):n[c]=new fn(t,o[c]);for(c=0;c<h;++c)(a=e[c])&&s.get(u[c])===a&&(r[c]=a)}function o0(t){return t.__data__}function s0(t,e){if(!arguments.length)return Array.from(this,o0);var n=e?r0:i0,i=this._parents,r=this._groups;typeof t!="function"&&(t=n0(t));for(var o=r.length,l=new Array(o),c=new Array(o),a=new Array(o),s=0;s<o;++s){var h=i[s],d=r[s],u=d.length,f=l0(t.call(h,h&&h.__data__,s,i)),m=f.length,y=c[s]=new Array(m),b=l[s]=new Array(m),A=a[s]=new Array(u);n(h,d,y,b,A,f,e);for(var T=0,C=0,M,E;T<m;++T)if(M=y[T]){for(T>=C&&(C=T+1);!(E=b[C])&&++C<m;);M._next=E||null}}return l=new ue(l,i),l._enter=c,l._exit=a,l}function l0(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function a0(){return new ue(this._exit||this._groups.map(cs),this._parents)}function c0(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 u0(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],h=i[a],d=s.length,u=c[a]=new Array(d),f,m=0;m<d;++m)(f=s[m]||h[m])&&(u[m]=f);for(;a<r;++a)c[a]=n[a];return new ue(c,this._parents)}function h0(){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 f0(t){t||(t=d0);function e(d,u){return d&&u?t(d.__data__,u.__data__):!d-!u}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,h=0;h<c;++h)(s=l[h])&&(a[h]=s);a.sort(e)}return new ue(r,this._parents).order()}function d0(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function m0(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function g0(){return Array.from(this)}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;r<o;++r){var l=i[r];if(l)return l}return null}function p0(){let t=0;for(const e of this)++t;return t}function v0(){return!this.node()}function x0(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 b0(t){return function(){this.removeAttribute(t)}}function w0(t){return function(){this.removeAttributeNS(t.space,t.local)}}function k0(t,e){return function(){this.setAttribute(t,e)}}function A0(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function S0(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function C0(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 M0(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?w0:b0:typeof e=="function"?n.local?C0:S0:n.local?A0:k0)(n,e))}function us(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $0(t){return function(){this.style.removeProperty(t)}}function N0(t,e,n){return function(){this.style.setProperty(t,e,n)}}function T0(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function E0(t,e,n){return arguments.length>1?this.each((e==null?$0:typeof e=="function"?T0:N0)(t,e,n??"")):m1(this.node(),t)}function m1(t,e){return t.style.getPropertyValue(e)||us(t).getComputedStyle(t,null).getPropertyValue(e)}function O0(t){return function(){delete this[t]}}function L0(t,e){return function(){this[t]=e}}function j0(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?O0:typeof e=="function"?j0:L0)(t,e)):this.node()[t]}function hs(t){return t.trim().split(/^|\s+/)}function Pi(t){return t.classList||new fs(t)}function fs(t){this._node=t,this._names=hs(t.getAttribute("class")||"")}fs.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 ds(t,e){for(var n=Pi(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function ms(t,e){for(var n=Pi(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function D0(t){return function(){ds(this,t)}}function q0(t){return function(){ms(this,t)}}function V0(t,e){return function(){(e.apply(this,arguments)?ds:ms)(this,t)}}function B0(t,e){var n=hs(t+"");if(arguments.length<2){for(var i=Pi(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?V0:e?D0:q0)(n,e))}function I0(){this.textContent=""}function R0(t){return function(){this.textContent=t}}function H0(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function X0(t){return arguments.length?this.each(t==null?I0:(typeof t=="function"?H0:R0)(t)):this.node().textContent}function Y0(){this.innerHTML=""}function _0(t){return function(){this.innerHTML=t}}function z0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function F0(t){return arguments.length?this.each(t==null?Y0:(typeof t=="function"?z0:_0)(t)):this.node().innerHTML}function U0(){this.nextSibling&&this.parentNode.appendChild(this)}function G0(){return this.each(U0)}function W0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function K0(){return this.each(W0)}function Z0(t){var e=typeof t=="function"?t:os(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function Q0(){return null}function J0(t,e){var n=typeof t=="function"?t:os(t),i=e==null?Q0:typeof e=="function"?e:ji(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function tu(){var t=this.parentNode;t&&t.removeChild(this)}function eu(){return this.each(tu)}function nu(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function iu(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ru(t){return this.select(t?iu:nu)}function ou(t){return arguments.length?this.property("__data__",t):this.node().__data__}function su(t){return function(e){t.call(this,e,this.__data__)}}function lu(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 au(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 cu(t,e,n){return function(){var i=this.__on,r,o=su(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 uu(t,e,n){var i=lu(t+""),r,o=i.length,l;if(arguments.length<2){var c=this.node().__on;if(c){for(var a=0,s=c.length,h;a<s;++a)for(r=0,h=c[a];r<o;++r)if((l=i[r]).type===h.type&&l.name===h.name)return h.value}return}for(c=e?cu:au,r=0;r<o;++r)this.each(c(i[r],e,n));return this}function gs(t,e,n){var i=us(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 hu(t,e){return function(){return gs(this,t,e)}}function fu(t,e){return function(){return gs(this,t,e.apply(this,arguments))}}function du(t,e){return this.each((typeof e=="function"?fu:hu)(t,e))}function*mu(){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 gu=[null];function ue(t,e){this._groups=t,this._parents=e}function q1(){return new ue([[document.documentElement]],gu)}function yu(){return this}ue.prototype=q1.prototype={constructor:ue,select:Hc,selectAll:zc,selectChild:Wc,selectChildren:Jc,filter:t0,data:s0,enter:e0,exit:a0,join:c0,merge:u0,selection:yu,order:h0,sort:f0,call:m0,nodes:g0,node:y0,size:p0,empty:v0,each:x0,attr:M0,style:E0,property:P0,classed:B0,text:X0,html:F0,raise:G0,lower:K0,append:Z0,insert:J0,remove:eu,clone:ru,datum:ou,on:uu,dispatch:du,[Symbol.iterator]:mu};function V1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Dn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Ze(){}var E1=.7,dn=1/E1,h1="\\s*([+-]?\\d+)\\s*",O1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pu=/^#([0-9a-f]{3,8})$/,vu=new RegExp(`^rgb\\(${h1},${h1},${h1}\\)$`),xu=new RegExp(`^rgb\\(${ge},${ge},${ge}\\)$`),bu=new RegExp(`^rgba\\(${h1},${h1},${h1},${O1}\\)$`),wu=new RegExp(`^rgba\\(${ge},${ge},${ge},${O1}\\)$`),ku=new RegExp(`^hsl\\(${O1},${ge},${ge}\\)$`),Au=new RegExp(`^hsla\\(${O1},${ge},${ge},${O1}\\)$`),Rr={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};V1(Ze,Ue,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Hr,formatHex:Hr,formatHex8:Su,formatHsl:Cu,formatRgb:Xr,toString:Xr});function Hr(){return this.rgb().formatHex()}function Su(){return this.rgb().formatHex8()}function Cu(){return ps(this).formatHsl()}function Xr(){return this.rgb().formatRgb()}function Ue(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=pu.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Yr(e):n===3?new Wt(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=vu.exec(t))?new Wt(e[1],e[2],e[3],1):(e=xu.exec(t))?new Wt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=bu.exec(t))?G1(e[1],e[2],e[3],e[4]):(e=wu.exec(t))?G1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=ku.exec(t))?Fr(e[1],e[2]/100,e[3]/100,1):(e=Au.exec(t))?Fr(e[1],e[2]/100,e[3]/100,e[4]):Rr.hasOwnProperty(t)?Yr(Rr[t]):t==="transparent"?new Wt(NaN,NaN,NaN,0):null}function Yr(t){return new Wt(t>>16&255,t>>8&255,t&255,1)}function G1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Wt(t,e,n,i)}function ys(t){return t instanceof Ze||(t=Ue(t)),t?(t=t.rgb(),new Wt(t.r,t.g,t.b,t.opacity)):new Wt}function hi(t,e,n,i){return arguments.length===1?ys(t):new Wt(t,e,n,i??1)}function Wt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}V1(Wt,hi,Dn(Ze,{brighter(t){return t=t==null?dn:Math.pow(dn,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?E1:Math.pow(E1,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Wt(ze(this.r),ze(this.g),ze(this.b),mn(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:_r,formatHex:_r,formatHex8:Mu,formatRgb:zr,toString:zr}));function _r(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}`}function Mu(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}${Re((isNaN(this.opacity)?1:this.opacity)*255)}`}function zr(){const t=mn(this.opacity);return`${t===1?"rgb(":"rgba("}${ze(this.r)}, ${ze(this.g)}, ${ze(this.b)}${t===1?")":`, ${t})`}`}function mn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ze(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Re(t){return t=ze(t),(t<16?"0":"")+t.toString(16)}function Fr(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ce(t,e,n,i)}function ps(t){if(t instanceof ce)return new ce(t.h,t.s,t.l,t.opacity);if(t instanceof Ze||(t=Ue(t)),!t)return new ce;if(t instanceof ce)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 ce(l,c,a,t.opacity)}function $u(t,e,n,i){return arguments.length===1?ps(t):new ce(t,e,n,i??1)}function ce(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}V1(ce,$u,Dn(Ze,{brighter(t){return t=t==null?dn:Math.pow(dn,t),new ce(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?E1:Math.pow(E1,t),new ce(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 Wt(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 ce(Ur(this.h),W1(this.s),W1(this.l),mn(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=mn(this.opacity);return`${t===1?"hsl(":"hsla("}${Ur(this.h)}, ${W1(this.s)*100}%, ${W1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Ur(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 Nu=Math.PI/180,Tu=180/Math.PI,gn=18,vs=.96422,xs=1,bs=.82521,ws=4/29,f1=6/29,ks=3*f1*f1,Eu=f1*f1*f1;function As(t){if(t instanceof ye)return new ye(t.l,t.a,t.b,t.opacity);if(t instanceof Ce)return Cs(t);t instanceof Wt||(t=ys(t));var e=Kn(t.r),n=Kn(t.g),i=Kn(t.b),r=Un((.2225045*e+.7168786*n+.0606169*i)/xs),o,l;return e===n&&n===i?o=l=r:(o=Un((.4360747*e+.3850649*n+.1430804*i)/vs),l=Un((.0139322*e+.0971045*n+.7141733*i)/bs)),new ye(116*r-16,500*(o-r),200*(r-l),t.opacity)}function fi(t,e,n,i){return arguments.length===1?As(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}V1(ye,fi,Dn(Ze,{brighter(t){return new ye(this.l+gn*(t??1),this.a,this.b,this.opacity)},darker(t){return new ye(this.l-gn*(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=vs*Gn(e),t=xs*Gn(t),n=bs*Gn(n),new Wt(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>Eu?Math.pow(t,1/3):t/ks+ws}function Gn(t){return t>f1?t*t*t:ks*(t-ws)}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 Ou(t){if(t instanceof Ce)return new Ce(t.h,t.c,t.l,t.opacity);if(t instanceof ye||(t=As(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)*Tu;return new Ce(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ss(t,e,n,i){return arguments.length===1?Ou(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 Cs(t){if(isNaN(t.h))return new ye(t.l,0,0,t.opacity);var e=t.h*Nu;return new ye(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}V1(Ce,Ss,Dn(Ze,{brighter(t){return new Ce(this.h,this.c,this.l+gn*(t??1),this.opacity)},darker(t){return new Ce(this.h,this.c,this.l-gn*(t??1),this.opacity)},rgb(){return Cs(this).rgb()}}));const Di=t=>()=>t;function Lu(t,e){return function(n){return t+n*e}}function ju(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?s1:function(e,n){return n-e?ju(e,n,t):Di(isNaN(e)?n:e)}}function s1(t,e){var n=e-t;return n?Lu(t,n):Di(isNaN(t)?e:t)}const yn=(function t(e){var n=Pu(e);function i(r,o){var l=n((r=hi(r)).r,(o=hi(o)).r),c=n(r.g,o.g),a=n(r.b,o.b),s=s1(r.opacity,o.opacity);return function(h){return r.r=l(h),r.g=c(h),r.b=a(h),r.opacity=s(h),r+""}}return i.gamma=t,i})(1);function Du(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 qu(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Vu(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]=qi(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 Bu(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function ae(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Iu(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]=qi(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var di=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zn=new RegExp(di.source,"g");function Ru(t){return function(){return t}}function Hu(t){return function(e){return t(e)+""}}function Ms(t,e){var n=di.lastIndex=Zn.lastIndex=0,i,r,o,l=-1,c=[],a=[];for(t=t+"",e=e+"";(i=di.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:ae(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]?Hu(a[0].x):Ru(e):(e=a.length,function(s){for(var h=0,d;h<e;++h)c[(d=a[h]).i]=d.x(s);return c.join("")})}function qi(t,e){var n=typeof e,i;return e==null||n==="boolean"?Di(e):(n==="number"?ae:n==="string"?(i=Ue(e))?(e=i,yn):Ms:e instanceof Ue?yn:e instanceof Date?Bu:qu(e)?Du:Array.isArray(e)?Vu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?Iu:ae)(t,e)}function Xu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Gr=180/Math.PI,mi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function $s(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)*Gr,skewX:Math.atan(a)*Gr,scaleX:l,scaleY:c}}var K1;function Yu(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?mi:$s(e.a,e.b,e.c,e.d,e.e,e.f)}function _u(t){return t==null||(K1||(K1=document.createElementNS("http://www.w3.org/2000/svg","g")),K1.setAttribute("transform",t),!(t=K1.transform.baseVal.consolidate()))?mi:(t=t.matrix,$s(t.a,t.b,t.c,t.d,t.e,t.f))}function Ns(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,h,d,u,f,m){if(s!==d||h!==u){var y=f.push("translate(",null,e,null,n);m.push({i:y-4,x:ae(s,d)},{i:y-2,x:ae(h,u)})}else(d||u)&&f.push("translate("+d+e+u+n)}function l(s,h,d,u){s!==h?(s-h>180?h+=360:h-s>180&&(s+=360),u.push({i:d.push(r(d)+"rotate(",null,i)-2,x:ae(s,h)})):h&&d.push(r(d)+"rotate("+h+i)}function c(s,h,d,u){s!==h?u.push({i:d.push(r(d)+"skewX(",null,i)-2,x:ae(s,h)}):h&&d.push(r(d)+"skewX("+h+i)}function a(s,h,d,u,f,m){if(s!==d||h!==u){var y=f.push(r(f)+"scale(",null,",",null,")");m.push({i:y-4,x:ae(s,d)},{i:y-2,x:ae(h,u)})}else(d!==1||u!==1)&&f.push(r(f)+"scale("+d+","+u+")")}return function(s,h){var d=[],u=[];return s=t(s),h=t(h),o(s.translateX,s.translateY,h.translateX,h.translateY,d,u),l(s.rotate,h.rotate,d,u),c(s.skewX,h.skewX,d,u),a(s.scaleX,s.scaleY,h.scaleX,h.scaleY,d,u),s=h=null,function(f){for(var m=-1,y=u.length,b;++m<y;)d[(b=u[m]).i]=b.x(f);return d.join("")}}}var zu=Ns(Yu,"px, ","px)","deg)"),Fu=Ns(_u,", ",")",")");function gi(t,e){var n=s1((t=fi(t)).l,(e=fi(e)).l),i=s1(t.a,e.a),r=s1(t.b,e.b),o=s1(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 g1=0,A1=0,b1=0,Ts=1e3,pn,S1,vn=0,Ge=0,qn=0,L1=typeof performance=="object"&&performance.now?performance:Date,Es=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Vi(){return Ge||(Es(Uu),Ge=L1.now()+qn)}function Uu(){Ge=0}function xn(){this._call=this._time=this._next=null}xn.prototype=Os.prototype={constructor:xn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Vi():+n)+(e==null?0:+e),!this._next&&S1!==this&&(S1?S1._next=this:pn=this,S1=this),this._call=t,this._time=n,yi()},stop:function(){this._call&&(this._call=null,this._time=1/0,yi())}};function Os(t,e,n){var i=new xn;return i.restart(t,e,n),i}function Gu(){Vi(),++g1;for(var t=pn,e;t;)(e=Ge-t._time)>=0&&t._call.call(void 0,e),t=t._next;--g1}function Wr(){Ge=(vn=L1.now())+qn,g1=A1=0;try{Gu()}finally{g1=0,Ku(),Ge=0}}function Wu(){var t=L1.now(),e=t-vn;e>Ts&&(qn-=e,vn=t)}function Ku(){for(var t,e=pn,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:pn=n);S1=t,yi(i)}function yi(t){if(!g1){A1&&(A1=clearTimeout(A1));var e=t-Ge;e>24?(t<1/0&&(A1=setTimeout(Wr,t-L1.now()-qn)),b1&&(b1=clearInterval(b1))):(b1||(vn=L1.now(),b1=setInterval(Wu,Ts)),g1=1,Es(Wr))}}function Kr(t,e,n){var i=new xn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var Zu=rs("start","end","cancel","interrupt"),Qu=[],Ls=0,Zr=1,pi=2,sn=3,Qr=4,vi=5,ln=6;function Vn(t,e,n,i,r,o){var l=t.__transition;if(!l)t.__transition={};else if(n in l)return;Ju(t,n,{name:e,index:i,group:r,on:Zu,tween:Qu,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Ls})}function Bi(t,e){var n=he(t,e);if(n.state>Ls)throw new Error("too late; already scheduled");return n}function pe(t,e){var n=he(t,e);if(n.state>sn)throw new Error("too late; already running");return n}function he(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Ju(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=Os(o,0,n.time);function o(s){n.state=Zr,n.timer.restart(l,n.delay,n.time),n.delay<=s&&l(s-n.delay)}function l(s){var h,d,u,f;if(n.state!==Zr)return a();for(h in i)if(f=i[h],f.name===n.name){if(f.state===sn)return Kr(l);f.state===Qr?(f.state=ln,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[h]):+h<e&&(f.state=ln,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[h])}if(Kr(function(){n.state===sn&&(n.state=Qr,n.timer.restart(c,n.delay,n.time),c(s))}),n.state=pi,n.on.call("start",t,t.__data__,n.index,n.group),n.state===pi){for(n.state=sn,r=new Array(u=n.tween.length),h=0,d=-1;h<u;++h)(f=n.tween[h].value.call(t,t.__data__,n.index,n.group))&&(r[++d]=f);r.length=d+1}}function c(s){for(var h=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(a),n.state=vi,1),d=-1,u=r.length;++d<u;)r[d].call(t,h);n.state===vi&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=ln,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function t2(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>pi&&i.state<vi,i.state=ln,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[l]}o&&delete t.__transition}}function e2(t){return this.each(function(){t2(this,t)})}function n2(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 i2(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 r2(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=he(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?n2:i2)(n,t,e))}function Ii(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 he(r,i).value[e]}}function js(t,e){var n;return(typeof e=="number"?ae:e instanceof Ue?yn:(n=Ue(e))?(e=n,yn):Ms)(t,e)}function o2(t){return function(){this.removeAttribute(t)}}function s2(t){return function(){this.removeAttributeNS(t.space,t.local)}}function l2(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 a2(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 c2(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 u2(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 h2(t,e){var n=Pn(t),i=n==="transform"?Fu:js;return this.attrTween(t,typeof e=="function"?(n.local?u2:c2)(n,i,Ii(this,"attr."+t,e)):e==null?(n.local?s2:o2)(n):(n.local?a2:l2)(n,i,e))}function f2(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function d2(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function m2(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&d2(t,o)),n}return r._value=e,r}function g2(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&f2(t,o)),n}return r._value=e,r}function y2(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?m2:g2)(i,e))}function p2(t,e){return function(){Bi(this,t).delay=+e.apply(this,arguments)}}function v2(t,e){return e=+e,function(){Bi(this,t).delay=e}}function x2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?p2:v2)(e,t)):he(this.node(),e).delay}function b2(t,e){return function(){pe(this,t).duration=+e.apply(this,arguments)}}function w2(t,e){return e=+e,function(){pe(this,t).duration=e}}function k2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?b2:w2)(e,t)):he(this.node(),e).duration}function A2(t,e){if(typeof e!="function")throw new Error;return function(){pe(this,t).ease=e}}function S2(t){var e=this._id;return arguments.length?this.each(A2(e,t)):he(this.node(),e).ease}function C2(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;pe(this,t).ease=n}}function M2(t){if(typeof t!="function")throw new Error;return this.each(C2(this._id,t))}function $2(t){typeof t!="function"&&(t=ls(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 $e(i,this._parents,this._name,this._id)}function N2(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],h=a.length,d=l[c]=new Array(h),u,f=0;f<h;++f)(u=a[f]||s[f])&&(d[f]=u);for(;c<i;++c)l[c]=e[c];return new $e(l,this._parents,this._name,this._id)}function T2(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 E2(t,e,n){var i,r,o=T2(e)?Bi:pe;return function(){var l=o(this,t),c=l.on;c!==i&&(r=(i=c).copy()).on(e,n),l.on=r}}function O2(t,e){var n=this._id;return arguments.length<2?he(this.node(),n).on.on(t):this.each(E2(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 j2(){return this.on("end.remove",L2(this._id))}function P2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=ji(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),h,d,u=0;u<a;++u)(h=c[u])&&(d=t.call(h,h.__data__,u,c))&&("__data__"in h&&(d.__data__=h.__data__),s[u]=d,Vn(s[u],e,n,u,s,he(h,n)));return new $e(o,this._parents,e,n)}function D2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=ss(t));for(var i=this._groups,r=i.length,o=[],l=[],c=0;c<r;++c)for(var a=i[c],s=a.length,h,d=0;d<s;++d)if(h=a[d]){for(var u=t.call(h,h.__data__,d,a),f,m=he(h,n),y=0,b=u.length;y<b;++y)(f=u[y])&&Vn(f,e,n,y,u,m);o.push(u),l.push(h)}return new $e(o,l,e,n)}var q2=q1.prototype.constructor;function V2(){return new q2(this._groups,this._parents)}function B2(t,e){var n,i,r;return function(){var o=m1(this,t),l=(this.style.removeProperty(t),m1(this,t));return o===l?null:o===n&&l===i?r:r=e(n=o,i=l)}}function Ps(t){return function(){this.style.removeProperty(t)}}function I2(t,e,n){var i,r=n+"",o;return function(){var l=m1(this,t);return l===r?null:l===i?o:o=e(i=l,n)}}function R2(t,e,n){var i,r,o;return function(){var l=m1(this,t),c=n(this),a=c+"";return c==null&&(a=c=(this.style.removeProperty(t),m1(this,t))),l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c))}}function H2(t,e){var n,i,r,o="style."+e,l="end."+o,c;return function(){var a=pe(this,t),s=a.on,h=a.value[o]==null?c||(c=Ps(e)):void 0;(s!==n||r!==h)&&(i=(n=s).copy()).on(l,r=h),a.on=i}}function X2(t,e,n){var i=(t+="")=="transform"?zu:js;return e==null?this.styleTween(t,B2(t,i)).on("end.style."+t,Ps(t)):typeof e=="function"?this.styleTween(t,R2(t,i,Ii(this,"style."+t,e))).each(H2(this._id,t)):this.styleTween(t,I2(t,i,e),n).on("end.style."+t,null)}function Y2(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function _2(t,e,n){var i,r;function o(){var l=e.apply(this,arguments);return l!==r&&(i=(r=l)&&Y2(t,l,n)),i}return o._value=e,o}function z2(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,_2(t,e,n??""))}function F2(t){return function(){this.textContent=t}}function U2(t){return function(){var e=t(this);this.textContent=e??""}}function G2(t){return this.tween("text",typeof t=="function"?U2(Ii(this,"text",t)):F2(t==null?"":t+""))}function W2(t){return function(e){this.textContent=t.call(this,e)}}function K2(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&W2(r)),e}return i._value=t,i}function Z2(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,K2(t))}function Q2(){for(var t=this._name,e=this._id,n=Ds(),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 h=he(a,e);Vn(a,t,n,s,l,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new $e(i,this._parents,t,n)}function J2(){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),h=s.on;h!==t&&(e=(t=h).copy(),e._.cancel.push(c),e._.interrupt.push(c),e._.end.push(a)),s.on=e}),r===0&&o()})}var t9=0;function $e(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Ds(){return++t9}var we=q1.prototype;$e.prototype={constructor:$e,select:P2,selectAll:D2,selectChild:we.selectChild,selectChildren:we.selectChildren,filter:$2,merge:N2,selection:V2,transition:Q2,call:we.call,nodes:we.nodes,node:we.node,size:we.size,empty:we.empty,each:we.each,on:O2,attr:h2,attrTween:y2,style:X2,styleTween:z2,text:G2,textTween:Z2,remove:j2,tween:r2,delay:x2,duration:k2,ease:S2,easeVarying:M2,end:J2,[Symbol.iterator]:we[Symbol.iterator]};function e9(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var n9={time:null,delay:0,duration:250,ease:e9};function i9(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 r9(t){var e,n;t instanceof $e?(e=t._id,t=t._name):(e=Ds(),(n=n9).time=Vi(),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])&&Vn(a,t,e,s,l,n||i9(a,e));return new $e(i,this._parents,t,e)}q1.prototype.interrupt=e2;q1.prototype.transition=r9;const xi=Math.PI,bi=2*xi,Ve=1e-6,o9=bi-Ve;function qs(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function s9(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return qs;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 l9{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?qs:s9(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,h=l-e,d=c-n,u=h*h+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(u>Ve)if(!(Math.abs(d*a-s*h)>Ve)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let f=i-l,m=r-c,y=a*a+s*s,b=f*f+m*m,A=Math.sqrt(y),T=Math.sqrt(u),C=o*Math.tan((xi-Math.acos((y+u-b)/(2*A*T)))/2),M=C/T,E=C/A;Math.abs(M-1)>Ve&&this._append`L${e+M*h},${n+M*d}`,this._append`A${o},${o},0,0,${+(d*f>h*m)},${this._x1=e+E*a},${this._y1=n+E*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,h=n+a,d=1^l,u=l?r-o:o-r;this._x1===null?this._append`M${s},${h}`:(Math.abs(this._x1-s)>Ve||Math.abs(this._y1-h)>Ve)&&this._append`L${s},${h}`,i&&(u<0&&(u=u%bi+bi),u>o9?this._append`A${i},${i},0,1,${d},${e-c},${n-a}A${i},${i},0,1,${d},${this._x1=s},${this._y1=h}`:u>Ve&&this._append`A${i},${i},0,${+(u>=xi)},${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 a9(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function bn(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 y1(t){return t=bn(Math.abs(t)),t?t[1]:NaN}function c9(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 u9(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var h9=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wn(t){if(!(e=h9.exec(t)))throw new Error("invalid format: "+t);var e;return new Ri({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]})}wn.prototype=Ri.prototype;function Ri(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+""}Ri.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 f9(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 kn;function d9(t,e){var n=bn(t,e);if(!n)return kn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(kn=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")+bn(t,Math.max(0,e+o-1))[0]}function Jr(t,e){var n=bn(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 to={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:a9,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)=>Jr(t*100,e),r:Jr,s:d9,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function eo(t){return t}var no=Array.prototype.map,io=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function m9(t){var e=t.grouping===void 0||t.thousands===void 0?eo:c9(no.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?eo:u9(no.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,u){d=wn(d);var f=d.fill,m=d.align,y=d.sign,b=d.symbol,A=d.zero,T=d.width,C=d.comma,M=d.precision,E=d.trim,S=d.type;S==="n"?(C=!0,S="g"):to[S]||(M===void 0&&(M=12),E=!0,S="g"),(A||f==="0"&&m==="=")&&(A=!0,f="0",m="=");var j=(u&&u.prefix!==void 0?u.prefix:"")+(b==="$"?n:b==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():""),g=(b==="$"?i:/[%p]/.test(S)?l:"")+(u&&u.suffix!==void 0?u.suffix:""),p=to[S],w=/[defgprs%]/.test(S);M=M===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M));function k(v){var V=j,D=g,W,Y,H;if(S==="c")D=p(v)+D,v="";else{v=+v;var q=v<0||1/v<0;if(v=isNaN(v)?a:p(Math.abs(v),M),E&&(v=f9(v)),q&&+v==0&&y!=="+"&&(q=!1),V=(q?y==="("?y:c:y==="-"||y==="("?"":y)+V,D=(S==="s"&&!isNaN(v)&&kn!==void 0?io[8+kn/3]:"")+D+(q&&y==="("?")":""),w){for(W=-1,Y=v.length;++W<Y;)if(H=v.charCodeAt(W),48>H||H>57){D=(H===46?r+v.slice(W+1):v.slice(W))+D,v=v.slice(0,W);break}}}C&&!A&&(v=e(v,1/0));var _=V.length+v.length+D.length,F=_<T?new Array(T-_+1).join(f):"";switch(C&&A&&(v=e(F+v,F.length?T-D.length:1/0),F=""),m){case"<":v=V+v+D+F;break;case"=":v=V+F+v+D;break;case"^":v=F.slice(0,_=F.length>>1)+V+v+D+F.slice(_);break;default:v=F+V+v+D;break}return o(v)}return k.toString=function(){return d+""},k}function h(d,u){var f=Math.max(-8,Math.min(8,Math.floor(y1(u)/3)))*3,m=Math.pow(10,-f),y=s((d=wn(d),d.type="f",d),{suffix:io[8+f/3]});return function(b){return y(m*b)}}return{format:s,formatPrefix:h}}var Z1,Vs,Bs;g9({thousands:",",grouping:[3],currency:["$",""]});function g9(t){return Z1=m9(t),Vs=Z1.format,Bs=Z1.formatPrefix,Z1}function y9(t){return Math.max(0,-y1(Math.abs(t)))}function p9(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(y1(e)/3)))*3-y1(Math.abs(t)))}function v9(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,y1(e)-y1(t))+1}function x9(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function b9(t){return function(){return t}}function w9(t){return+t}var ro=[0,1];function l1(t){return t}function wi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:b9(isNaN(e)?NaN:.5)}function k9(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function A9(t,e,n){var i=t[0],r=t[1],o=e[0],l=e[1];return r<i?(i=wi(r,i),o=n(l,o)):(i=wi(i,r),o=n(o,l)),function(c){return o(i(c))}}function S9(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]=wi(t[l],t[l+1]),o[l]=n(e[l],e[l+1]);return function(c){var a=Tc(t,c,1,i)-1;return o[a](r[a](c))}}function C9(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function M9(){var t=ro,e=ro,n=qi,i,r,o,l=l1,c,a,s;function h(){var u=Math.min(t.length,e.length);return l!==l1&&(l=k9(t[0],t[u-1])),c=u>2?S9:A9,a=s=null,d}function d(u){return u==null||isNaN(u=+u)?o:(a||(a=c(t.map(i),e,n)))(i(l(u)))}return d.invert=function(u){return l(r((s||(s=c(e,t.map(i),ae)))(u)))},d.domain=function(u){return arguments.length?(t=Array.from(u,w9),h()):t.slice()},d.range=function(u){return arguments.length?(e=Array.from(u),h()):e.slice()},d.rangeRound=function(u){return e=Array.from(u),n=Xu,h()},d.clamp=function(u){return arguments.length?(l=u?!0:l1,h()):l!==l1},d.interpolate=function(u){return arguments.length?(n=u,h()):n},d.unknown=function(u){return arguments.length?(o=u,d):o},function(u,f){return i=u,r=f,h()}}function $9(){return M9()(l1,l1)}function N9(t,e,n,i){var r=Pc(t,e,n),o;switch(i=wn(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=p9(r,l))&&(i.precision=o),Bs(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=v9(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=y9(r))&&(i.precision=o-(i.type==="%")*2);break}}return Vs(i)}function T9(t){var e=t.domain;return t.ticks=function(n){var i=e();return jc(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return N9(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,h=10;for(c<l&&(s=l,l=c,c=s,s=r,r=o,o=s);h-- >0;){if(s=ci(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 Is(){var t=$9();return t.copy=function(){return C9(t,Is())},x9.apply(t,arguments),T9(t)}function i1(t){return function(){return t}}const oo=1e-12;function E9(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 l9(e)}function O9(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Rs(t){this._context=t}Rs.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 Hi(t){return new Rs(t)}function L9(t){return t[0]}function j9(t){return t[1]}function P9(t,e){var n=i1(!0),i=null,r=Hi,o=null,l=E9(c);t=typeof t=="function"?t:t===void 0?L9:i1(t),e=typeof e=="function"?e:e===void 0?j9:i1(e);function c(a){var s,h=(a=O9(a)).length,d,u=!1,f;for(i==null&&(o=r(f=l())),s=0;s<=h;++s)!(s<h&&n(d=a[s],s,a))===u&&((u=!u)?o.lineStart():o.lineEnd()),u&&o.point(+t(d,s,a),+e(d,s,a));if(f)return o=null,f+""||null}return c.x=function(a){return arguments.length?(t=typeof a=="function"?a:i1(+a),c):t},c.y=function(a){return arguments.length?(e=typeof a=="function"?a:i1(+a),c):e},c.defined=function(a){return arguments.length?(n=typeof a=="function"?a:i1(!!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 p1(){}function ki(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 Xi(t,e){this._context=t,this._k=(1-e)/6}Xi.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:ki(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:ki(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 Hs=(function t(e){function n(i){return new Xi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function Yi(t,e){this._context=t,this._k=(1-e)/6}Yi.prototype={areaStart:p1,areaEnd:p1,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ki(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 Xs=(function t(e){function n(i){return new Yi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function Ys(t,e,n){var i=t._x1,r=t._y1,o=t._x2,l=t._y2;if(t._l01_a>oo){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>oo){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*s+t._x1*t._l23_2a-e*t._l12_2a)/h,l=(l*s+t._y1*t._l23_2a-n*t._l12_2a)/h}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:Ys(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 zs=(function t(e){function n(i){return e?new _s(i,e):new Xi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Fs(t,e){this._context=t,this._alpha=e}Fs.prototype={areaStart:p1,areaEnd:p1,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=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 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},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._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ys(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 Us=(function t(e){function n(i){return e?new Fs(i,e):new Yi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Gs(t){this._context=t}Gs.prototype={areaStart:p1,areaEnd:p1,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Ws(t){return new Gs(t)}function Ks(t){this._context=t}Ks.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=so(t),r=so(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 so(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 An(t){return new Ks(t)}function C1(t,e,n){this.k=t,this.x=e,this.y=n}C1.prototype={constructor:C1,scale:function(t){return t===1?this:new C1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new C1(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+")"}};C1.prototype;const D9={censor:Le,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:yt,squish_infinite:ai,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function o1(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function Zs({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 r1({limits:t,oob:e=Le,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],h=this?.limits?.max??this?.limits?.[1]??a.extent?.[1],d=h-s,u=n?.min??n[0],f=n?.max??n[1],m=f-u;return a.map(y=>(y=this.oob(y,{min:s,max:h}),y===null?r:isNaN(y)?i:u+(y-s)/d*m))},{title:o,limits:t,oob:e},l)}function lo({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>+i)},{asis:!0,title:t},e)}function Ai({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>String(i??""))},{asis:!0,title:t},e)}function Sn({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,alpha:r=1,direction:o=1,limits:l,oob:c=Le,na_value:a="#7f7f7f",null_value:s=null,title:h,...d}={}){return Object.assign(function(f){let m=this?.limits?.min??this?.limits?.[0]??f.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??f.extent?.[1],b=y-m,A=t?.min??t[0],T=t?.max??t[1],C=T-A;return f.map(M=>(M=this.oob(M,{min:m,max:y}),M===null?s:isNaN(M)?a:Ss(i+A+C*(M-m)/b*o,e,n,r).toString()))},{title:h,limits:l,oob:c},d)}function q9({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return Zs({values:t,na_value:e,title:n,...i})}function Cn({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=Le,na_value:r="#7f7f7f",null_value:o=null,title:l,...c}={}){return Object.assign(function(s){let h=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],u=gi(t,e);return s.map(f=>(f=this.oob(f,{min:h,max:d}),f===null?o:isNaN(f)?r:h===d?u(.5):f>d?e:f<h?t:u((f-h)/(d-h))))},{title:l,limits:n,oob:i},c)}function V9({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=Le,na_value:l="#7f7f7f",null_value:c=null,title:a,...s}={}){return Object.assign(function(d){let u=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],m=i??(u+f)/2,y=gi(t,e),b=gi(e,n);return d.map(A=>(A=this.oob(A,{min:u,max:f}),A===null?c:isNaN(A)?l:A<m?y((A-u)/(m-u)):b((A-m)/(f-m))))},{title:a,limits:r,oob:o},s)}function B9({colors:t=[],values:e,anchors:n,limits:i,oob:r=Le,na_value:o="#7f7f7f",null_value:l=null,title:c,...a}={}){return Object.assign(function(h){let d=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],f=e??n?.map?.(y=>d+(u-d)*y);f??=Array(t.length).fill(0).map((y,b)=>d+(u-d)*b/(t.length-1)),t=t.filter((y,b)=>!isNaN(f[b])),f=f.filter(y=>!isNaN(y));let m=Is(f,t);return h.map(y=>(y=this.oob(y,{min:d,max:u}),y===null?l:isNaN(y)?o:m(y)))},{title:c,limits:i,oob:r},a)}function ao({alpha:t,limits:e,oob:n=Le,title:i,...r}={}){let o=Sn({alpha:t}),l=Cn();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 I9({discrete:t=Sn(),continuous:e=Cn(),limits:n,oob:i=Le,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 co({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 uo({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 Qn={identity:({title:t,...e}={})=>Ai({legend:!1,title:t,...e}),discrete:Sn,hue:Sn,manual:q9,continuous:Cn,gradient:Cn,gradient2:V9,gradientn:B9,dynamic:I9,auto:ao,custom:o1,default:ao},Qs={color:Qn,stroke:Qn,fill:Qn,alpha:{continuous:r1,custom:o1,default:({title:t,...e}={})=>r1({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>lo({legend:!1,title:t,...e}),continuous:r1,custom:o1,default:({title:t,...e}={})=>r1({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>lo({legend:!1,title:t,...e}),continuous:r1,manual:Zs,custom:o1,default:({title:t,...e}={})=>r1({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>Ai({legend:!1,title:t,...e}),discrete:uo,default:uo,custom:o1},shape:{identity:({title:t,...e}={})=>Ai({legend:!1,title:t,...e}),discrete:co,default:co,custom:o1}};function R9({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),h=Math.floor(i/l);return new Array(h-s+1).fill(null).map((d,u)=>(s+u)*l)}}function H9(){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(),h=i.getUTCSeconds(),d=[];if(n>3*31536e6){let u=n/31536e6,f=10**Math.floor(Math.log10(u)-1),m=u/f,y=Math.max((m>50?10:m>25?5:2)*f,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 u=n/2592e6,f=[2,3,6].findLast(m=>m*3<=u)||1;i=new Date(Date.UTC(o,Math.ceil(l/f)*f));do d.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+f)<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 u=n/864e5,f=[2,3].findLast(m=>m*3<=u)||1;i=new Date(Date.UTC(o,l,Math.ceil(c)));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+f)<r)}else if(n>3*36e5){let u=n/36e5,f=[2,3,6].findLast(m=>m*3<=u)||1;i=new Date(Date.UTC(o,l,c,Math.ceil(a/f)*f));do d.push(new Date(i));while(i.setUTCHours(i.getUTCHours()+f)<r)}else if(n>3*6e4){let u=n/6e4,f=[2,5,10,30].findLast(m=>m*3<=u)||1;i=new Date(Date.UTC(o,l,c,a,Math.ceil(s/f)*f));do d.push(new Date(i));while(i.setUTCMinutes(i.getUTCMinutes()+f)<r)}else if(n>3e3){let u=n/1e3,f=[2,5,10,30].findLast(m=>m*3<=u)||1;i=new Date(Date.UTC(o,l,c,a,s,Math.ceil(h/f)*f));do d.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+f)<r)}else{let u=10**Math.floor(Math.log10(n)-1),f=n/u,m=(f>50?20:f>25?10:5)*u,y=Math.ceil(t/m),b=Math.floor(e/m);return new Array(b-y+1).fill(null).map((A,T)=>new Date((y+T)*m))}return d}}const Bn={number:R9,datetime:H9};let X9={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 Si(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(X9[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const Js={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 Y9(){return function(t){return t==null?"":t instanceof Date?Si(t):String(t)}}function tl({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(h,d,u=[h]){let f;if(t)f=t;else if(u.length>1){let C=u.filter(E=>isFinite(E)).sort((E,S)=>E-S);f=C.slice(1).map((E,S)=>E-C[S]).reduce((E,S)=>E<S?E:S)*e}else f=h||1;let m=Object.entries(c).sort((C,M)=>M[1]-C[1]).find(C=>C[1]<=f)?.[0]??"",y=(m==""?"":" ")+m+i;f=f/(c[m]??1);let b=Math.max(0,Math.ceil(-Math.log10(f))),A=Math.round(h*e/(c[m]??1)/f)*f,T=n+(A>0?a:A<0?s:"");return A<0&&l=="parens"&&(y=")"+y),A=Math.abs(A).toFixed(b).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),T+A+y}}function Ci({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 Si(new Date(r),t);if(t==null){let c=Array.from(l).sort((u,f)=>u-f),a=c.slice(1).map((u,f)=>u-c[f]).reduce((u,f)=>u<f?u:f)/1e3,s=(c[c.length-1]-c[0])/1e3,h=["y","M","d","m","s"].find(u=>e[u]<=a),d=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],i[h])}return Si(new Date(r),t)}}function ho(t){let e=tl(t),n=Ci(t);return function(i,r,o=[i]){return i instanceof Qo?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const Mi={number:tl,datetime:Ci,timestamp:Ci,asis:Y9,auto:ho,default:function(t){return ho({scale_cut:Js.default,...t})}};function _9(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}class z9{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:l}=n,{geom:c,stat:a,data:s,aes:h,levels:d={},scales:u={},attrs:f,args:m,vBind:y,extendX:b,extendY:A}=e;if(!Se[c]){console.error(`Invalid geom "${c}"`,"in layer",e,", plot",n);return}let T=typeof a=="function"?a:ns[a];if(T==null){console.error(`Invalid stat "${a}"`,"in layer",e,", plot",n);return}this.geom=c,this.vBind=Object.assign(y,{extendX:b??o??0,extendY:A??l??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),h={...r,...h};let C={};this.$fnames={};for(const S in h)this.$fnames[S]=String(h[S]),C[S]=s.map(h[S]).map(j=>j instanceof String||j instanceof Number?new Ye(j):j);C.$raw=s;let M=T?.core_attrs??["x","y","xnudge","ynudge"],E=s.length;E==0&&(E=M.map(S=>f[S]).filter(S=>S!=null).reduce((S,j)=>Math.max(Array.isArray(j)?j.length:1,S),0));for(const S in f)if(M.includes(S))if(Array.isArray(f[S])){if(f[S].length!=E)throw new Error(`Attribute "${S}" must have the same length as data (${E})`);C[S]=f[S]}else{if(f[S]==null)continue;C[S]=new Array(E).fill(f[S])}try{if(C=T(C,m||{}),C.$group??=C.group,C.$group==null){let S=Object.values(C).filter(j=>Array.isArray(j)).reduce((j,g)=>Math.max(j,g.length),0);C.$group=new Array(S).fill(null)}}catch(S){console.error("Error",S,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(d).filter(S=>d[S]!=null),...Object.keys(u).filter(S=>u[S]!=null)]),this.aes=new Set([...this.localScales,...Se[c]?.scale_attrs??[]]),this.$data=C,this.data={...C};for(const S in C)if(u[S]!=null){let j=new In(u[S]);j.aesthetics=S,j._title=this.$fnames[S];let g=this.$data[S];if(!g?.length)continue;j.asis||(d?.[S]!=null?j.level=d[S]:g.some(Fe)?j.level=_e.from(g):j.extent=kt.extent(g.filter(p=>!(p instanceof Ye)))),this.applyScale(S,j)}this.attrs={};for(const S in f)if(!M.includes(S))if(Array.isArray(f[S])){if(f[S].length!=E)throw new Error(`Attribute "${S}" must have the same length as data (${E})`);this.data[S]=f[S]}else this.attrs[S]=f[S],f[S]!=null&&(this.data[S]=new Array(E).fill(f[S]))}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 F9{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new z9(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 In(e?.[i]??Qs[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some(Fe)?o.level=_e.from(r):o.extent=kt.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 _e(...e[n]);else{let i=this.layers.flatMap(r=>(Se[r.geom].get_values??Se[r.geom].get_range)?.(r.$data,n));i.some(Fe)?this.levels[n]=_e.from(i):(i=this.layers.flatMap(r=>Se[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=kt.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:e.data.$group.map((i,r)=>Se[e.geom].validate(_9(e.data,(o,l)=>l?.[r]))).filter(i=>i!=null),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 Mn(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 h=a-c;a=ft(a,-h/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.x=new $n({min:c,max:a}):r.x=new j1({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 Mn(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 h=a-c;a=ft(a,-h/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.y=new $n({min:c,max:a}):r.y=new j1({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 In extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,In.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 Mn 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,Mn.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 j1 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,j1.prototype),r}invert(e){let{min:n,max:i}=this.range;return ft(n,e*(i-n))}get breaks(){return Bn.number()}}class $n extends j1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,$n.prototype),n}get breaks(){return Bn.datetime()}get minorBreaks(){return[]}}class U9{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??Mi.auto(),this.titles=o??Mi.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,h=s-a||0;if(a=a==null?a:ft(a,-(n?.min??0)*h),s=s==null?s:ft(s,+(n?.max??0)*h),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((u,f)=>({type:"major",value:u,label:l[f],title:c[f]})),o=o.map(u=>({type:"minor",value:u}));let d=r.concat(o);return i instanceof Function&&(d=T1(i({breaks:d,majorBreaks:r,minorBreaks:o,min:a,max:s})).filter(u=>u.type.$_type=="axis-break").map(u=>({...u.type.$_props,...u.props}))),d}}const G9=["font-size"],W9={key:0},B1={__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=qt("ele"),n=jt({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 h=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)),u=t.translateX,f=t.translateY;l.push(`translate(${h*(.5-a)+u},${d*(s-.5)+f})`),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 h=r,d=o,u=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),f=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(${h*(.5-a)+u+c},${d*(s-.5)+f})`)}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":Ht(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)=>(L(),I("text",J({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[Ro(r.$slots,"default",{},()=>[t.title?(L(),I("title",W9,zt(t.title),1)):Lt("",!0),dt(" "+zt(t.text?.replace(/ /g,"\xA0")),1)])],16,G9))}};function el(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 K9=function(t,e){this.current=t,this.entering=e===!0},Z9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=el(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:Z9,resumeAt:K9}},Vt=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=Vt.prototype;Object.defineProperty(It,"isContainer",{get:function(){return el(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}});Vt.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)};Vt.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)};Vt.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};Vt.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)};Vt.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)};Vt.prototype.walker=function(){var t=new Q9(this);return t};function J9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jn,fo;function t8(){if(fo)return Jn;fo=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,h,d="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),h=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+=h[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="-_.!~*'()",Jn=n,Jn}var e8=t8();const n8=J9(e8);var ti={},w1={},Q1={},mo;function i8(){return mo||(mo=1,Object.defineProperty(Q1,"__esModule",{value:!0}),Q1.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])),Q1}var J1={},go;function r8(){return go||(go=1,Object.defineProperty(J1,"__esModule",{value:!0}),J1.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])),J1}var tn={},yo;function o8(){if(yo)return tn;yo=1,Object.defineProperty(tn,"__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 tn.default=n,tn}var po;function vo(){return po||(po=1,(function(t){var e=w1&&w1.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};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(i8());t.htmlDecodeTree=n.default;var i=e(r8());t.xmlDecodeTree=i.default;var r=e(o8()),o;(function(f){f[f.HAS_VALUE=32768]="HAS_VALUE",f[f.BRANCH_LENGTH=32512]="BRANCH_LENGTH",f[f.MULTI_BYTE=128]="MULTI_BYTE",f[f.JUMP_TABLE=127]="JUMP_TABLE"})(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function l(f){return function(y,b){for(var A="",T=0,C=0;(C=y.indexOf("&",C))>=0;){if(A+=y.slice(T,C),T=C,C+=1,y.charCodeAt(C)===35){var M=C+1,E=10,S=y.charCodeAt(M);for((S|32)===120&&(E=16,C+=1,M+=1);(S=y.charCodeAt(++C))>=48&&S<=57||E===16&&(S|32)>=97&&(S|32)<=102;);if(M!==C){var j=y.substring(M,C),g=parseInt(j,E);if(y.charCodeAt(C)===59)C+=1;else if(b)continue;A+=r.default(g),T=C}continue}for(var p=null,w=1,k=0,v=f[k];C<y.length&&(k=c(f,v,k+1,y.charCodeAt(C)),!(k<0));C++,w++)v=f[k],v&o.HAS_VALUE&&(b&&y.charCodeAt(C)!==59?k+=1:(p=v&o.MULTI_BYTE?String.fromCharCode(f[++k],f[++k]):String.fromCharCode(f[++k]),w=0));p!=null&&(A+=p,T=C-w+1)}return A+y.slice(T)}}function c(f,m,y,b){if(m<=128)return b===m?y:-1;var A=(m&o.BRANCH_LENGTH)>>8;if(A===0)return-1;if(A===1)return b===f[y]?y+1:-1;var T=m&o.JUMP_TABLE;if(T){var C=b-t.JUMP_OFFSET_BASE-T;return C<0||C>A?-1:f[y+C]-1}for(var M=y,E=M+A-1;M<=E;){var S=M+E>>>1,j=f[S];if(j<b)M=S+1;else if(j>b)E=S-1;else return f[S+A]}return-1}t.determineBranch=c;var a=l(n.default),s=l(i.default);function h(f){return a(f,!1)}t.decodeHTML=h;function d(f){return a(f,!0)}t.decodeHTMLStrict=d;function u(f){return s(f,!0)}t.decodeXML=u})(w1)),w1}var Jt={};const s8="&",l8="'",a8=">",c8="<",u8='"',h8={amp:s8,apos:l8,gt:a8,lt:c8,quot:u8};var k1={};const f8="\xC1",d8="\xE1",m8="\u0102",g8="\u0103",y8="\u223E",p8="\u223F",v8="\u223E\u0333",x8="\xC2",b8="\xE2",w8="\xB4",k8="\u0410",A8="\u0430",S8="\xC6",C8="\xE6",M8="\u2061",$8="\u{1D504}",N8="\u{1D51E}",T8="\xC0",E8="\xE0",O8="\u2135",L8="\u2135",j8="\u0391",P8="\u03B1",D8="\u0100",q8="\u0101",V8="\u2A3F",B8="&",I8="&",R8="\u2A55",H8="\u2A53",X8="\u2227",Y8="\u2A5C",_8="\u2A58",z8="\u2A5A",F8="\u2220",U8="\u29A4",G8="\u2220",W8="\u29A8",K8="\u29A9",Z8="\u29AA",Q8="\u29AB",J8="\u29AC",t5="\u29AD",e5="\u29AE",n5="\u29AF",i5="\u2221",r5="\u221F",o5="\u22BE",s5="\u299D",l5="\u2222",a5="\xC5",c5="\u237C",u5="\u0104",h5="\u0105",f5="\u{1D538}",d5="\u{1D552}",m5="\u2A6F",g5="\u2248",y5="\u2A70",p5="\u224A",v5="\u224B",x5="'",b5="\u2061",w5="\u2248",k5="\u224A",A5="\xC5",S5="\xE5",C5="\u{1D49C}",M5="\u{1D4B6}",$5="\u2254",N5="*",T5="\u2248",E5="\u224D",O5="\xC3",L5="\xE3",j5="\xC4",P5="\xE4",D5="\u2233",q5="\u2A11",V5="\u224C",B5="\u03F6",I5="\u2035",R5="\u223D",H5="\u22CD",X5="\u2216",Y5="\u2AE7",_5="\u22BD",z5="\u2305",F5="\u2306",U5="\u2305",G5="\u23B5",W5="\u23B6",K5="\u224C",Z5="\u0411",Q5="\u0431",J5="\u201E",t6="\u2235",e6="\u2235",n6="\u2235",i6="\u29B0",r6="\u03F6",o6="\u212C",s6="\u212C",l6="\u0392",a6="\u03B2",c6="\u2136",u6="\u226C",h6="\u{1D505}",f6="\u{1D51F}",d6="\u22C2",m6="\u25EF",g6="\u22C3",y6="\u2A00",p6="\u2A01",v6="\u2A02",x6="\u2A06",b6="\u2605",w6="\u25BD",k6="\u25B3",A6="\u2A04",S6="\u22C1",C6="\u22C0",M6="\u290D",$6="\u29EB",N6="\u25AA",T6="\u25B4",E6="\u25BE",O6="\u25C2",L6="\u25B8",j6="\u2423",P6="\u2592",D6="\u2591",q6="\u2593",V6="\u2588",B6="=\u20E5",I6="\u2261\u20E5",R6="\u2AED",H6="\u2310",X6="\u{1D539}",Y6="\u{1D553}",_6="\u22A5",z6="\u22A5",F6="\u22C8",U6="\u29C9",G6="\u2510",W6="\u2555",K6="\u2556",Z6="\u2557",Q6="\u250C",J6="\u2552",th="\u2553",eh="\u2554",nh="\u2500",ih="\u2550",rh="\u252C",oh="\u2564",sh="\u2565",lh="\u2566",ah="\u2534",ch="\u2567",uh="\u2568",hh="\u2569",fh="\u229F",dh="\u229E",mh="\u22A0",gh="\u2518",yh="\u255B",ph="\u255C",vh="\u255D",xh="\u2514",bh="\u2558",wh="\u2559",kh="\u255A",Ah="\u2502",Sh="\u2551",Ch="\u253C",Mh="\u256A",$h="\u256B",Nh="\u256C",Th="\u2524",Eh="\u2561",Oh="\u2562",Lh="\u2563",jh="\u251C",Ph="\u255E",Dh="\u255F",qh="\u2560",Vh="\u2035",Bh="\u02D8",Ih="\u02D8",Rh="\xA6",Hh="\u{1D4B7}",Xh="\u212C",Yh="\u204F",_h="\u223D",zh="\u22CD",Fh="\u29C5",Uh="\\",Gh="\u27C8",Wh="\u2022",Kh="\u2022",Zh="\u224E",Qh="\u2AAE",Jh="\u224F",t7="\u224E",e7="\u224F",n7="\u0106",i7="\u0107",r7="\u2A44",o7="\u2A49",s7="\u2A4B",l7="\u2229",a7="\u22D2",c7="\u2A47",u7="\u2A40",h7="\u2145",f7="\u2229\uFE00",d7="\u2041",m7="\u02C7",g7="\u212D",y7="\u2A4D",p7="\u010C",v7="\u010D",x7="\xC7",b7="\xE7",w7="\u0108",k7="\u0109",A7="\u2230",S7="\u2A4C",C7="\u2A50",M7="\u010A",$7="\u010B",N7="\xB8",T7="\xB8",E7="\u29B2",O7="\xA2",L7="\xB7",j7="\xB7",P7="\u{1D520}",D7="\u212D",q7="\u0427",V7="\u0447",B7="\u2713",I7="\u2713",R7="\u03A7",H7="\u03C7",X7="\u02C6",Y7="\u2257",_7="\u21BA",z7="\u21BB",F7="\u229B",U7="\u229A",G7="\u229D",W7="\u2299",K7="\xAE",Z7="\u24C8",Q7="\u2296",J7="\u2295",tf="\u2297",ef="\u25CB",nf="\u29C3",rf="\u2257",of="\u2A10",sf="\u2AEF",lf="\u29C2",af="\u2232",cf="\u201D",uf="\u2019",hf="\u2663",ff="\u2663",df=":",mf="\u2237",gf="\u2A74",yf="\u2254",pf="\u2254",vf=",",xf="@",bf="\u2201",wf="\u2218",kf="\u2201",Af="\u2102",Sf="\u2245",Cf="\u2A6D",Mf="\u2261",$f="\u222E",Nf="\u222F",Tf="\u222E",Ef="\u{1D554}",Of="\u2102",Lf="\u2210",jf="\u2210",Pf="\xA9",Df="\xA9",qf="\u2117",Vf="\u2233",Bf="\u21B5",If="\u2717",Rf="\u2A2F",Hf="\u{1D49E}",Xf="\u{1D4B8}",Yf="\u2ACF",_f="\u2AD1",zf="\u2AD0",Ff="\u2AD2",Uf="\u22EF",Gf="\u2938",Wf="\u2935",Kf="\u22DE",Zf="\u22DF",Qf="\u21B6",Jf="\u293D",t3="\u2A48",e3="\u2A46",n3="\u224D",i3="\u222A",r3="\u22D3",o3="\u2A4A",s3="\u228D",l3="\u2A45",a3="\u222A\uFE00",c3="\u21B7",u3="\u293C",h3="\u22DE",f3="\u22DF",d3="\u22CE",m3="\u22CF",g3="\xA4",y3="\u21B6",p3="\u21B7",v3="\u22CE",x3="\u22CF",b3="\u2232",w3="\u2231",k3="\u232D",A3="\u2020",S3="\u2021",C3="\u2138",M3="\u2193",$3="\u21A1",N3="\u21D3",T3="\u2010",E3="\u2AE4",O3="\u22A3",L3="\u290F",j3="\u02DD",P3="\u010E",D3="\u010F",q3="\u0414",V3="\u0434",B3="\u2021",I3="\u21CA",R3="\u2145",H3="\u2146",X3="\u2911",Y3="\u2A77",_3="\xB0",z3="\u2207",F3="\u0394",U3="\u03B4",G3="\u29B1",W3="\u297F",K3="\u{1D507}",Z3="\u{1D521}",Q3="\u2965",J3="\u21C3",td="\u21C2",ed="\xB4",nd="\u02D9",id="\u02DD",rd="`",od="\u02DC",sd="\u22C4",ld="\u22C4",ad="\u22C4",cd="\u2666",ud="\u2666",hd="\xA8",fd="\u2146",dd="\u03DD",md="\u22F2",gd="\xF7",yd="\xF7",pd="\u22C7",vd="\u22C7",xd="\u0402",bd="\u0452",wd="\u231E",kd="\u230D",Ad="$",Sd="\u{1D53B}",Cd="\u{1D555}",Md="\xA8",$d="\u02D9",Nd="\u20DC",Td="\u2250",Ed="\u2251",Od="\u2250",Ld="\u2238",jd="\u2214",Pd="\u22A1",Dd="\u2306",qd="\u222F",Vd="\xA8",Bd="\u21D3",Id="\u21D0",Rd="\u21D4",Hd="\u2AE4",Xd="\u27F8",Yd="\u27FA",_d="\u27F9",zd="\u21D2",Fd="\u22A8",Ud="\u21D1",Gd="\u21D5",Wd="\u2225",Kd="\u2913",Zd="\u2193",Qd="\u2193",Jd="\u21D3",tm="\u21F5",em="\u0311",nm="\u21CA",im="\u21C3",rm="\u21C2",om="\u2950",sm="\u295E",lm="\u2956",am="\u21BD",cm="\u295F",um="\u2957",hm="\u21C1",fm="\u21A7",dm="\u22A4",mm="\u2910",gm="\u231F",ym="\u230C",pm="\u{1D49F}",vm="\u{1D4B9}",xm="\u0405",bm="\u0455",wm="\u29F6",km="\u0110",Am="\u0111",Sm="\u22F1",Cm="\u25BF",Mm="\u25BE",$m="\u21F5",Nm="\u296F",Tm="\u29A6",Em="\u040F",Om="\u045F",Lm="\u27FF",jm="\xC9",Pm="\xE9",Dm="\u2A6E",qm="\u011A",Vm="\u011B",Bm="\xCA",Im="\xEA",Rm="\u2256",Hm="\u2255",Xm="\u042D",Ym="\u044D",_m="\u2A77",zm="\u0116",Fm="\u0117",Um="\u2251",Gm="\u2147",Wm="\u2252",Km="\u{1D508}",Zm="\u{1D522}",Qm="\u2A9A",Jm="\xC8",t4="\xE8",e4="\u2A96",n4="\u2A98",i4="\u2A99",r4="\u2208",o4="\u23E7",s4="\u2113",l4="\u2A95",a4="\u2A97",c4="\u0112",u4="\u0113",h4="\u2205",f4="\u2205",d4="\u25FB",m4="\u2205",g4="\u25AB",y4="\u2004",p4="\u2005",v4="\u2003",x4="\u014A",b4="\u014B",w4="\u2002",k4="\u0118",A4="\u0119",S4="\u{1D53C}",C4="\u{1D556}",M4="\u22D5",$4="\u29E3",N4="\u2A71",T4="\u03B5",E4="\u0395",O4="\u03B5",L4="\u03F5",j4="\u2256",P4="\u2255",D4="\u2242",q4="\u2A96",V4="\u2A95",B4="\u2A75",I4="=",R4="\u2242",H4="\u225F",X4="\u21CC",Y4="\u2261",_4="\u2A78",z4="\u29E5",F4="\u2971",U4="\u2253",G4="\u212F",W4="\u2130",K4="\u2250",Z4="\u2A73",Q4="\u2242",J4="\u0397",tg="\u03B7",eg="\xD0",ng="\xF0",ig="\xCB",rg="\xEB",og="\u20AC",sg="!",lg="\u2203",ag="\u2203",cg="\u2130",ug="\u2147",hg="\u2147",fg="\u2252",dg="\u0424",mg="\u0444",gg="\u2640",yg="\uFB03",pg="\uFB00",vg="\uFB04",xg="\u{1D509}",bg="\u{1D523}",wg="\uFB01",kg="\u25FC",Ag="\u25AA",Sg="fj",Cg="\u266D",Mg="\uFB02",$g="\u25B1",Ng="\u0192",Tg="\u{1D53D}",Eg="\u{1D557}",Og="\u2200",Lg="\u2200",jg="\u22D4",Pg="\u2AD9",Dg="\u2131",qg="\u2A0D",Vg="\xBD",Bg="\u2153",Ig="\xBC",Rg="\u2155",Hg="\u2159",Xg="\u215B",Yg="\u2154",_g="\u2156",zg="\xBE",Fg="\u2157",Ug="\u215C",Gg="\u2158",Wg="\u215A",Kg="\u215D",Zg="\u215E",Qg="\u2044",Jg="\u2322",ty="\u{1D4BB}",ey="\u2131",ny="\u01F5",iy="\u0393",ry="\u03B3",oy="\u03DC",sy="\u03DD",ly="\u2A86",ay="\u011E",cy="\u011F",uy="\u0122",hy="\u011C",fy="\u011D",dy="\u0413",my="\u0433",gy="\u0120",yy="\u0121",py="\u2265",vy="\u2267",xy="\u2A8C",by="\u22DB",wy="\u2265",ky="\u2267",Ay="\u2A7E",Sy="\u2AA9",Cy="\u2A7E",My="\u2A80",$y="\u2A82",Ny="\u2A84",Ty="\u22DB\uFE00",Ey="\u2A94",Oy="\u{1D50A}",Ly="\u{1D524}",jy="\u226B",Py="\u22D9",Dy="\u22D9",qy="\u2137",Vy="\u0403",By="\u0453",Iy="\u2AA5",Ry="\u2277",Hy="\u2A92",Xy="\u2AA4",Yy="\u2A8A",_y="\u2A8A",zy="\u2A88",Fy="\u2269",Uy="\u2A88",Gy="\u2269",Wy="\u22E7",Ky="\u{1D53E}",Zy="\u{1D558}",Qy="`",Jy="\u2265",tp="\u22DB",ep="\u2267",np="\u2AA2",ip="\u2277",rp="\u2A7E",op="\u2273",sp="\u{1D4A2}",lp="\u210A",ap="\u2273",cp="\u2A8E",up="\u2A90",hp="\u2AA7",fp="\u2A7A",dp=">",mp=">",gp="\u226B",yp="\u22D7",pp="\u2995",vp="\u2A7C",xp="\u2A86",bp="\u2978",wp="\u22D7",kp="\u22DB",Ap="\u2A8C",Sp="\u2277",Cp="\u2273",Mp="\u2269\uFE00",$p="\u2269\uFE00",Np="\u02C7",Tp="\u200A",Ep="\xBD",Op="\u210B",Lp="\u042A",jp="\u044A",Pp="\u2948",Dp="\u2194",qp="\u21D4",Vp="\u21AD",Bp="^",Ip="\u210F",Rp="\u0124",Hp="\u0125",Xp="\u2665",Yp="\u2665",_p="\u2026",zp="\u22B9",Fp="\u{1D525}",Up="\u210C",Gp="\u210B",Wp="\u2925",Kp="\u2926",Zp="\u21FF",Qp="\u223B",Jp="\u21A9",tv="\u21AA",ev="\u{1D559}",nv="\u210D",iv="\u2015",rv="\u2500",ov="\u{1D4BD}",sv="\u210B",lv="\u210F",av="\u0126",cv="\u0127",uv="\u224E",hv="\u224F",fv="\u2043",dv="\u2010",mv="\xCD",gv="\xED",yv="\u2063",pv="\xCE",vv="\xEE",xv="\u0418",bv="\u0438",wv="\u0130",kv="\u0415",Av="\u0435",Sv="\xA1",Cv="\u21D4",Mv="\u{1D526}",$v="\u2111",Nv="\xCC",Tv="\xEC",Ev="\u2148",Ov="\u2A0C",Lv="\u222D",jv="\u29DC",Pv="\u2129",Dv="\u0132",qv="\u0133",Vv="\u012A",Bv="\u012B",Iv="\u2111",Rv="\u2148",Hv="\u2110",Xv="\u2111",Yv="\u0131",_v="\u2111",zv="\u22B7",Fv="\u01B5",Uv="\u21D2",Gv="\u2105",Wv="\u221E",Kv="\u29DD",Zv="\u0131",Qv="\u22BA",Jv="\u222B",tx="\u222C",ex="\u2124",nx="\u222B",ix="\u22BA",rx="\u22C2",ox="\u2A17",sx="\u2A3C",lx="\u2063",ax="\u2062",cx="\u0401",ux="\u0451",hx="\u012E",fx="\u012F",dx="\u{1D540}",mx="\u{1D55A}",gx="\u0399",yx="\u03B9",px="\u2A3C",vx="\xBF",xx="\u{1D4BE}",bx="\u2110",wx="\u2208",kx="\u22F5",Ax="\u22F9",Sx="\u22F4",Cx="\u22F3",Mx="\u2208",$x="\u2062",Nx="\u0128",Tx="\u0129",Ex="\u0406",Ox="\u0456",Lx="\xCF",jx="\xEF",Px="\u0134",Dx="\u0135",qx="\u0419",Vx="\u0439",Bx="\u{1D50D}",Ix="\u{1D527}",Rx="\u0237",Hx="\u{1D541}",Xx="\u{1D55B}",Yx="\u{1D4A5}",_x="\u{1D4BF}",zx="\u0408",Fx="\u0458",Ux="\u0404",Gx="\u0454",Wx="\u039A",Kx="\u03BA",Zx="\u03F0",Qx="\u0136",Jx="\u0137",tb="\u041A",eb="\u043A",nb="\u{1D50E}",ib="\u{1D528}",rb="\u0138",ob="\u0425",sb="\u0445",lb="\u040C",ab="\u045C",cb="\u{1D542}",ub="\u{1D55C}",hb="\u{1D4A6}",fb="\u{1D4C0}",db="\u21DA",mb="\u0139",gb="\u013A",yb="\u29B4",pb="\u2112",vb="\u039B",xb="\u03BB",bb="\u27E8",wb="\u27EA",kb="\u2991",Ab="\u27E8",Sb="\u2A85",Cb="\u2112",Mb="\xAB",$b="\u21E4",Nb="\u291F",Tb="\u2190",Eb="\u219E",Ob="\u21D0",Lb="\u291D",jb="\u21A9",Pb="\u21AB",Db="\u2939",qb="\u2973",Vb="\u21A2",Bb="\u2919",Ib="\u291B",Rb="\u2AAB",Hb="\u2AAD",Xb="\u2AAD\uFE00",Yb="\u290C",_b="\u290E",zb="\u2772",Fb="{",Ub="[",Gb="\u298B",Wb="\u298F",Kb="\u298D",Zb="\u013D",Qb="\u013E",Jb="\u013B",tw="\u013C",ew="\u2308",nw="{",iw="\u041B",rw="\u043B",ow="\u2936",sw="\u201C",lw="\u201E",aw="\u2967",cw="\u294B",uw="\u21B2",hw="\u2264",fw="\u2266",dw="\u27E8",mw="\u21E4",gw="\u2190",yw="\u2190",pw="\u21D0",vw="\u21C6",xw="\u21A2",bw="\u2308",ww="\u27E6",kw="\u2961",Aw="\u2959",Sw="\u21C3",Cw="\u230A",Mw="\u21BD",$w="\u21BC",Nw="\u21C7",Tw="\u2194",Ew="\u2194",Ow="\u21D4",Lw="\u21C6",jw="\u21CB",Pw="\u21AD",Dw="\u294E",qw="\u21A4",Vw="\u22A3",Bw="\u295A",Iw="\u22CB",Rw="\u29CF",Hw="\u22B2",Xw="\u22B4",Yw="\u2951",_w="\u2960",zw="\u2958",Fw="\u21BF",Uw="\u2952",Gw="\u21BC",Ww="\u2A8B",Kw="\u22DA",Zw="\u2264",Qw="\u2266",Jw="\u2A7D",tk="\u2AA8",ek="\u2A7D",nk="\u2A7F",ik="\u2A81",rk="\u2A83",ok="\u22DA\uFE00",sk="\u2A93",lk="\u2A85",ak="\u22D6",ck="\u22DA",uk="\u2A8B",hk="\u22DA",fk="\u2266",dk="\u2276",mk="\u2276",gk="\u2AA1",yk="\u2272",pk="\u2A7D",vk="\u2272",xk="\u297C",bk="\u230A",wk="\u{1D50F}",kk="\u{1D529}",Ak="\u2276",Sk="\u2A91",Ck="\u2962",Mk="\u21BD",$k="\u21BC",Nk="\u296A",Tk="\u2584",Ek="\u0409",Ok="\u0459",Lk="\u21C7",jk="\u226A",Pk="\u22D8",Dk="\u231E",qk="\u21DA",Vk="\u296B",Bk="\u25FA",Ik="\u013F",Rk="\u0140",Hk="\u23B0",Xk="\u23B0",Yk="\u2A89",_k="\u2A89",zk="\u2A87",Fk="\u2268",Uk="\u2A87",Gk="\u2268",Wk="\u22E6",Kk="\u27EC",Zk="\u21FD",Qk="\u27E6",Jk="\u27F5",tA="\u27F5",eA="\u27F8",nA="\u27F7",iA="\u27F7",rA="\u27FA",oA="\u27FC",sA="\u27F6",lA="\u27F6",aA="\u27F9",cA="\u21AB",uA="\u21AC",hA="\u2985",fA="\u{1D543}",dA="\u{1D55D}",mA="\u2A2D",gA="\u2A34",yA="\u2217",pA="_",vA="\u2199",xA="\u2198",bA="\u25CA",wA="\u25CA",kA="\u29EB",AA="(",SA="\u2993",CA="\u21C6",MA="\u231F",$A="\u21CB",NA="\u296D",TA="\u200E",EA="\u22BF",OA="\u2039",LA="\u{1D4C1}",jA="\u2112",PA="\u21B0",DA="\u21B0",qA="\u2272",VA="\u2A8D",BA="\u2A8F",IA="[",RA="\u2018",HA="\u201A",XA="\u0141",YA="\u0142",_A="\u2AA6",zA="\u2A79",FA="<",UA="<",GA="\u226A",WA="\u22D6",KA="\u22CB",ZA="\u22C9",QA="\u2976",JA="\u2A7B",tS="\u25C3",eS="\u22B4",nS="\u25C2",iS="\u2996",rS="\u294A",oS="\u2966",sS="\u2268\uFE00",lS="\u2268\uFE00",aS="\xAF",cS="\u2642",uS="\u2720",hS="\u2720",fS="\u21A6",dS="\u21A6",mS="\u21A7",gS="\u21A4",yS="\u21A5",pS="\u25AE",vS="\u2A29",xS="\u041C",bS="\u043C",wS="\u2014",kS="\u223A",AS="\u2221",SS="\u205F",CS="\u2133",MS="\u{1D510}",$S="\u{1D52A}",NS="\u2127",TS="\xB5",ES="*",OS="\u2AF0",LS="\u2223",jS="\xB7",PS="\u229F",DS="\u2212",qS="\u2238",VS="\u2A2A",BS="\u2213",IS="\u2ADB",RS="\u2026",HS="\u2213",XS="\u22A7",YS="\u{1D544}",_S="\u{1D55E}",zS="\u2213",FS="\u{1D4C2}",US="\u2133",GS="\u223E",WS="\u039C",KS="\u03BC",ZS="\u22B8",QS="\u22B8",JS="\u2207",tC="\u0143",eC="\u0144",nC="\u2220\u20D2",iC="\u2249",rC="\u2A70\u0338",oC="\u224B\u0338",sC="\u0149",lC="\u2249",aC="\u266E",cC="\u2115",uC="\u266E",hC="\xA0",fC="\u224E\u0338",dC="\u224F\u0338",mC="\u2A43",gC="\u0147",yC="\u0148",pC="\u0145",vC="\u0146",xC="\u2247",bC="\u2A6D\u0338",wC="\u2A42",kC="\u041D",AC="\u043D",SC="\u2013",CC="\u2924",MC="\u2197",$C="\u21D7",NC="\u2197",TC="\u2260",EC="\u2250\u0338",OC="\u200B",LC="\u200B",jC="\u200B",PC="\u200B",DC="\u2262",qC="\u2928",VC="\u2242\u0338",BC="\u226B",IC="\u226A",RC=`
3
- `,HC="\u2204",XC="\u2204",YC="\u{1D511}",_C="\u{1D52B}",zC="\u2267\u0338",FC="\u2271",UC="\u2271",GC="\u2267\u0338",WC="\u2A7E\u0338",KC="\u2A7E\u0338",ZC="\u22D9\u0338",QC="\u2275",JC="\u226B\u20D2",tM="\u226F",eM="\u226F",nM="\u226B\u0338",iM="\u21AE",rM="\u21CE",oM="\u2AF2",sM="\u220B",lM="\u22FC",aM="\u22FA",cM="\u220B",uM="\u040A",hM="\u045A",fM="\u219A",dM="\u21CD",mM="\u2025",gM="\u2266\u0338",yM="\u2270",pM="\u219A",vM="\u21CD",xM="\u21AE",bM="\u21CE",wM="\u2270",kM="\u2266\u0338",AM="\u2A7D\u0338",SM="\u2A7D\u0338",CM="\u226E",MM="\u22D8\u0338",$M="\u2274",NM="\u226A\u20D2",TM="\u226E",EM="\u22EA",OM="\u22EC",LM="\u226A\u0338",jM="\u2224",PM="\u2060",DM="\xA0",qM="\u{1D55F}",VM="\u2115",BM="\u2AEC",IM="\xAC",RM="\u2262",HM="\u226D",XM="\u2226",YM="\u2209",_M="\u2260",zM="\u2242\u0338",FM="\u2204",UM="\u226F",GM="\u2271",WM="\u2267\u0338",KM="\u226B\u0338",ZM="\u2279",QM="\u2A7E\u0338",JM="\u2275",t$="\u224E\u0338",e$="\u224F\u0338",n$="\u2209",i$="\u22F5\u0338",r$="\u22F9\u0338",o$="\u2209",s$="\u22F7",l$="\u22F6",a$="\u29CF\u0338",c$="\u22EA",u$="\u22EC",h$="\u226E",f$="\u2270",d$="\u2278",m$="\u226A\u0338",g$="\u2A7D\u0338",y$="\u2274",p$="\u2AA2\u0338",v$="\u2AA1\u0338",x$="\u220C",b$="\u220C",w$="\u22FE",k$="\u22FD",A$="\u2280",S$="\u2AAF\u0338",C$="\u22E0",M$="\u220C",$$="\u29D0\u0338",N$="\u22EB",T$="\u22ED",E$="\u228F\u0338",O$="\u22E2",L$="\u2290\u0338",j$="\u22E3",P$="\u2282\u20D2",D$="\u2288",q$="\u2281",V$="\u2AB0\u0338",B$="\u22E1",I$="\u227F\u0338",R$="\u2283\u20D2",H$="\u2289",X$="\u2241",Y$="\u2244",_$="\u2247",z$="\u2249",F$="\u2224",U$="\u2226",G$="\u2226",W$="\u2AFD\u20E5",K$="\u2202\u0338",Z$="\u2A14",Q$="\u2280",J$="\u22E0",tN="\u2280",eN="\u2AAF\u0338",nN="\u2AAF\u0338",iN="\u2933\u0338",rN="\u219B",oN="\u21CF",sN="\u219D\u0338",lN="\u219B",aN="\u21CF",cN="\u22EB",uN="\u22ED",hN="\u2281",fN="\u22E1",dN="\u2AB0\u0338",mN="\u{1D4A9}",gN="\u{1D4C3}",yN="\u2224",pN="\u2226",vN="\u2241",xN="\u2244",bN="\u2244",wN="\u2224",kN="\u2226",AN="\u22E2",SN="\u22E3",CN="\u2284",MN="\u2AC5\u0338",$N="\u2288",NN="\u2282\u20D2",TN="\u2288",EN="\u2AC5\u0338",ON="\u2281",LN="\u2AB0\u0338",jN="\u2285",PN="\u2AC6\u0338",DN="\u2289",qN="\u2283\u20D2",VN="\u2289",BN="\u2AC6\u0338",IN="\u2279",RN="\xD1",HN="\xF1",XN="\u2278",YN="\u22EA",_N="\u22EC",zN="\u22EB",FN="\u22ED",UN="\u039D",GN="\u03BD",WN="#",KN="\u2116",ZN="\u2007",QN="\u224D\u20D2",JN="\u22AC",tT="\u22AD",eT="\u22AE",nT="\u22AF",iT="\u2265\u20D2",rT=">\u20D2",oT="\u2904",sT="\u29DE",lT="\u2902",aT="\u2264\u20D2",cT="<\u20D2",uT="\u22B4\u20D2",hT="\u2903",fT="\u22B5\u20D2",dT="\u223C\u20D2",mT="\u2923",gT="\u2196",yT="\u21D6",pT="\u2196",vT="\u2927",xT="\xD3",bT="\xF3",wT="\u229B",kT="\xD4",AT="\xF4",ST="\u229A",CT="\u041E",MT="\u043E",$T="\u229D",NT="\u0150",TT="\u0151",ET="\u2A38",OT="\u2299",LT="\u29BC",jT="\u0152",PT="\u0153",DT="\u29BF",qT="\u{1D512}",VT="\u{1D52C}",BT="\u02DB",IT="\xD2",RT="\xF2",HT="\u29C1",XT="\u29B5",YT="\u03A9",_T="\u222E",zT="\u21BA",FT="\u29BE",UT="\u29BB",GT="\u203E",WT="\u29C0",KT="\u014C",ZT="\u014D",QT="\u03A9",JT="\u03C9",tE="\u039F",eE="\u03BF",nE="\u29B6",iE="\u2296",rE="\u{1D546}",oE="\u{1D560}",sE="\u29B7",lE="\u201C",aE="\u2018",cE="\u29B9",uE="\u2295",hE="\u21BB",fE="\u2A54",dE="\u2228",mE="\u2A5D",gE="\u2134",yE="\u2134",pE="\xAA",vE="\xBA",xE="\u22B6",bE="\u2A56",wE="\u2A57",kE="\u2A5B",AE="\u24C8",SE="\u{1D4AA}",CE="\u2134",ME="\xD8",$E="\xF8",NE="\u2298",TE="\xD5",EE="\xF5",OE="\u2A36",LE="\u2A37",jE="\u2297",PE="\xD6",DE="\xF6",qE="\u233D",VE="\u203E",BE="\u23DE",IE="\u23B4",RE="\u23DC",HE="\xB6",XE="\u2225",YE="\u2225",_E="\u2AF3",zE="\u2AFD",FE="\u2202",UE="\u2202",GE="\u041F",WE="\u043F",KE="%",ZE=".",QE="\u2030",JE="\u22A5",tO="\u2031",eO="\u{1D513}",nO="\u{1D52D}",iO="\u03A6",rO="\u03C6",oO="\u03D5",sO="\u2133",lO="\u260E",aO="\u03A0",cO="\u03C0",uO="\u22D4",hO="\u03D6",fO="\u210F",dO="\u210E",mO="\u210F",gO="\u2A23",yO="\u229E",pO="\u2A22",vO="+",xO="\u2214",bO="\u2A25",wO="\u2A72",kO="\xB1",AO="\xB1",SO="\u2A26",CO="\u2A27",MO="\xB1",$O="\u210C",NO="\u2A15",TO="\u{1D561}",EO="\u2119",OO="\xA3",LO="\u2AB7",jO="\u2ABB",PO="\u227A",DO="\u227C",qO="\u2AB7",VO="\u227A",BO="\u227C",IO="\u227A",RO="\u2AAF",HO="\u227C",XO="\u227E",YO="\u2AAF",_O="\u2AB9",zO="\u2AB5",FO="\u22E8",UO="\u2AAF",GO="\u2AB3",WO="\u227E",KO="\u2032",ZO="\u2033",QO="\u2119",JO="\u2AB9",tL="\u2AB5",eL="\u22E8",nL="\u220F",iL="\u220F",rL="\u232E",oL="\u2312",sL="\u2313",lL="\u221D",aL="\u221D",cL="\u2237",uL="\u221D",hL="\u227E",fL="\u22B0",dL="\u{1D4AB}",mL="\u{1D4C5}",gL="\u03A8",yL="\u03C8",pL="\u2008",vL="\u{1D514}",xL="\u{1D52E}",bL="\u2A0C",wL="\u{1D562}",kL="\u211A",AL="\u2057",SL="\u{1D4AC}",CL="\u{1D4C6}",ML="\u210D",$L="\u2A16",NL="?",TL="\u225F",EL='"',OL='"',LL="\u21DB",jL="\u223D\u0331",PL="\u0154",DL="\u0155",qL="\u221A",VL="\u29B3",BL="\u27E9",IL="\u27EB",RL="\u2992",HL="\u29A5",XL="\u27E9",YL="\xBB",_L="\u2975",zL="\u21E5",FL="\u2920",UL="\u2933",GL="\u2192",WL="\u21A0",KL="\u21D2",ZL="\u291E",QL="\u21AA",JL="\u21AC",tj="\u2945",ej="\u2974",nj="\u2916",ij="\u21A3",rj="\u219D",oj="\u291A",sj="\u291C",lj="\u2236",aj="\u211A",cj="\u290D",uj="\u290F",hj="\u2910",fj="\u2773",dj="}",mj="]",gj="\u298C",yj="\u298E",pj="\u2990",vj="\u0158",xj="\u0159",bj="\u0156",wj="\u0157",kj="\u2309",Aj="}",Sj="\u0420",Cj="\u0440",Mj="\u2937",$j="\u2969",Nj="\u201D",Tj="\u201D",Ej="\u21B3",Oj="\u211C",Lj="\u211B",jj="\u211C",Pj="\u211D",Dj="\u211C",qj="\u25AD",Vj="\xAE",Bj="\xAE",Ij="\u220B",Rj="\u21CB",Hj="\u296F",Xj="\u297D",Yj="\u230B",_j="\u{1D52F}",zj="\u211C",Fj="\u2964",Uj="\u21C1",Gj="\u21C0",Wj="\u296C",Kj="\u03A1",Zj="\u03C1",Qj="\u03F1",Jj="\u27E9",tP="\u21E5",eP="\u2192",nP="\u2192",iP="\u21D2",rP="\u21C4",oP="\u21A3",sP="\u2309",lP="\u27E7",aP="\u295D",cP="\u2955",uP="\u21C2",hP="\u230B",fP="\u21C1",dP="\u21C0",mP="\u21C4",gP="\u21CC",yP="\u21C9",pP="\u219D",vP="\u21A6",xP="\u22A2",bP="\u295B",wP="\u22CC",kP="\u29D0",AP="\u22B3",SP="\u22B5",CP="\u294F",MP="\u295C",$P="\u2954",NP="\u21BE",TP="\u2953",EP="\u21C0",OP="\u02DA",LP="\u2253",jP="\u21C4",PP="\u21CC",DP="\u200F",qP="\u23B1",VP="\u23B1",BP="\u2AEE",IP="\u27ED",RP="\u21FE",HP="\u27E7",XP="\u2986",YP="\u{1D563}",_P="\u211D",zP="\u2A2E",FP="\u2A35",UP="\u2970",GP=")",WP="\u2994",KP="\u2A12",ZP="\u21C9",QP="\u21DB",JP="\u203A",tD="\u{1D4C7}",eD="\u211B",nD="\u21B1",iD="\u21B1",rD="]",oD="\u2019",sD="\u2019",lD="\u22CC",aD="\u22CA",cD="\u25B9",uD="\u22B5",hD="\u25B8",fD="\u29CE",dD="\u29F4",mD="\u2968",gD="\u211E",yD="\u015A",pD="\u015B",vD="\u201A",xD="\u2AB8",bD="\u0160",wD="\u0161",kD="\u2ABC",AD="\u227B",SD="\u227D",CD="\u2AB0",MD="\u2AB4",$D="\u015E",ND="\u015F",TD="\u015C",ED="\u015D",OD="\u2ABA",LD="\u2AB6",jD="\u22E9",PD="\u2A13",DD="\u227F",qD="\u0421",VD="\u0441",BD="\u22A1",ID="\u22C5",RD="\u2A66",HD="\u2925",XD="\u2198",YD="\u21D8",_D="\u2198",zD="\xA7",FD=";",UD="\u2929",GD="\u2216",WD="\u2216",KD="\u2736",ZD="\u{1D516}",QD="\u{1D530}",JD="\u2322",tq="\u266F",eq="\u0429",nq="\u0449",iq="\u0428",rq="\u0448",oq="\u2193",sq="\u2190",lq="\u2223",aq="\u2225",cq="\u2192",uq="\u2191",hq="\xAD",fq="\u03A3",dq="\u03C3",mq="\u03C2",gq="\u03C2",yq="\u223C",pq="\u2A6A",vq="\u2243",xq="\u2243",bq="\u2A9E",wq="\u2AA0",kq="\u2A9D",Aq="\u2A9F",Sq="\u2246",Cq="\u2A24",Mq="\u2972",$q="\u2190",Nq="\u2218",Tq="\u2216",Eq="\u2A33",Oq="\u29E4",Lq="\u2223",jq="\u2323",Pq="\u2AAA",Dq="\u2AAC",qq="\u2AAC\uFE00",Vq="\u042C",Bq="\u044C",Iq="\u233F",Rq="\u29C4",Hq="/",Xq="\u{1D54A}",Yq="\u{1D564}",_q="\u2660",zq="\u2660",Fq="\u2225",Uq="\u2293",Gq="\u2293\uFE00",Wq="\u2294",Kq="\u2294\uFE00",Zq="\u221A",Qq="\u228F",Jq="\u2291",tV="\u228F",eV="\u2291",nV="\u2290",iV="\u2292",rV="\u2290",oV="\u2292",sV="\u25A1",lV="\u25A1",aV="\u2293",cV="\u228F",uV="\u2291",hV="\u2290",fV="\u2292",dV="\u2294",mV="\u25AA",gV="\u25A1",yV="\u25AA",pV="\u2192",vV="\u{1D4AE}",xV="\u{1D4C8}",bV="\u2216",wV="\u2323",kV="\u22C6",AV="\u22C6",SV="\u2606",CV="\u2605",MV="\u03F5",$V="\u03D5",NV="\xAF",TV="\u2282",EV="\u22D0",OV="\u2ABD",LV="\u2AC5",jV="\u2286",PV="\u2AC3",DV="\u2AC1",qV="\u2ACB",VV="\u228A",BV="\u2ABF",IV="\u2979",RV="\u2282",HV="\u22D0",XV="\u2286",YV="\u2AC5",_V="\u2286",zV="\u228A",FV="\u2ACB",UV="\u2AC7",GV="\u2AD5",WV="\u2AD3",KV="\u2AB8",ZV="\u227B",QV="\u227D",JV="\u227B",tB="\u2AB0",eB="\u227D",nB="\u227F",iB="\u2AB0",rB="\u2ABA",oB="\u2AB6",sB="\u22E9",lB="\u227F",aB="\u220B",cB="\u2211",uB="\u2211",hB="\u266A",fB="\xB9",dB="\xB2",mB="\xB3",gB="\u2283",yB="\u22D1",pB="\u2ABE",vB="\u2AD8",xB="\u2AC6",bB="\u2287",wB="\u2AC4",kB="\u2283",AB="\u2287",SB="\u27C9",CB="\u2AD7",MB="\u297B",$B="\u2AC2",NB="\u2ACC",TB="\u228B",EB="\u2AC0",OB="\u2283",LB="\u22D1",jB="\u2287",PB="\u2AC6",DB="\u228B",qB="\u2ACC",VB="\u2AC8",BB="\u2AD4",IB="\u2AD6",RB="\u2926",HB="\u2199",XB="\u21D9",YB="\u2199",_B="\u292A",zB="\xDF",FB=" ",UB="\u2316",GB="\u03A4",WB="\u03C4",KB="\u23B4",ZB="\u0164",QB="\u0165",JB="\u0162",tI="\u0163",eI="\u0422",nI="\u0442",iI="\u20DB",rI="\u2315",oI="\u{1D517}",sI="\u{1D531}",lI="\u2234",aI="\u2234",cI="\u2234",uI="\u0398",hI="\u03B8",fI="\u03D1",dI="\u03D1",mI="\u2248",gI="\u223C",yI="\u205F\u200A",pI="\u2009",vI="\u2009",xI="\u2248",bI="\u223C",wI="\xDE",kI="\xFE",AI="\u02DC",SI="\u223C",CI="\u2243",MI="\u2245",$I="\u2248",NI="\u2A31",TI="\u22A0",EI="\xD7",OI="\u2A30",LI="\u222D",jI="\u2928",PI="\u2336",DI="\u2AF1",qI="\u22A4",VI="\u{1D54B}",BI="\u{1D565}",II="\u2ADA",RI="\u2929",HI="\u2034",XI="\u2122",YI="\u2122",_I="\u25B5",zI="\u25BF",FI="\u25C3",UI="\u22B4",GI="\u225C",WI="\u25B9",KI="\u22B5",ZI="\u25EC",QI="\u225C",JI="\u2A3A",tR="\u20DB",eR="\u2A39",nR="\u29CD",iR="\u2A3B",rR="\u23E2",oR="\u{1D4AF}",sR="\u{1D4C9}",lR="\u0426",aR="\u0446",cR="\u040B",uR="\u045B",hR="\u0166",fR="\u0167",dR="\u226C",mR="\u219E",gR="\u21A0",yR="\xDA",pR="\xFA",vR="\u2191",xR="\u219F",bR="\u21D1",wR="\u2949",kR="\u040E",AR="\u045E",SR="\u016C",CR="\u016D",MR="\xDB",$R="\xFB",NR="\u0423",TR="\u0443",ER="\u21C5",OR="\u0170",LR="\u0171",jR="\u296E",PR="\u297E",DR="\u{1D518}",qR="\u{1D532}",VR="\xD9",BR="\xF9",IR="\u2963",RR="\u21BF",HR="\u21BE",XR="\u2580",YR="\u231C",_R="\u231C",zR="\u230F",FR="\u25F8",UR="\u016A",GR="\u016B",WR="\xA8",KR="_",ZR="\u23DF",QR="\u23B5",JR="\u23DD",tH="\u22C3",eH="\u228E",nH="\u0172",iH="\u0173",rH="\u{1D54C}",oH="\u{1D566}",sH="\u2912",lH="\u2191",aH="\u2191",cH="\u21D1",uH="\u21C5",hH="\u2195",fH="\u2195",dH="\u21D5",mH="\u296E",gH="\u21BF",yH="\u21BE",pH="\u228E",vH="\u2196",xH="\u2197",bH="\u03C5",wH="\u03D2",kH="\u03D2",AH="\u03A5",SH="\u03C5",CH="\u21A5",MH="\u22A5",$H="\u21C8",NH="\u231D",TH="\u231D",EH="\u230E",OH="\u016E",LH="\u016F",jH="\u25F9",PH="\u{1D4B0}",DH="\u{1D4CA}",qH="\u22F0",VH="\u0168",BH="\u0169",IH="\u25B5",RH="\u25B4",HH="\u21C8",XH="\xDC",YH="\xFC",_H="\u29A7",zH="\u299C",FH="\u03F5",UH="\u03F0",GH="\u2205",WH="\u03D5",KH="\u03D6",ZH="\u221D",QH="\u2195",JH="\u21D5",tX="\u03F1",eX="\u03C2",nX="\u228A\uFE00",iX="\u2ACB\uFE00",rX="\u228B\uFE00",oX="\u2ACC\uFE00",sX="\u03D1",lX="\u22B2",aX="\u22B3",cX="\u2AE8",uX="\u2AEB",hX="\u2AE9",fX="\u0412",dX="\u0432",mX="\u22A2",gX="\u22A8",yX="\u22A9",pX="\u22AB",vX="\u2AE6",xX="\u22BB",bX="\u2228",wX="\u22C1",kX="\u225A",AX="\u22EE",SX="|",CX="\u2016",MX="|",$X="\u2016",NX="\u2223",TX="|",EX="\u2758",OX="\u2240",LX="\u200A",jX="\u{1D519}",PX="\u{1D533}",DX="\u22B2",qX="\u2282\u20D2",VX="\u2283\u20D2",BX="\u{1D54D}",IX="\u{1D567}",RX="\u221D",HX="\u22B3",XX="\u{1D4B1}",YX="\u{1D4CB}",_X="\u2ACB\uFE00",zX="\u228A\uFE00",FX="\u2ACC\uFE00",UX="\u228B\uFE00",GX="\u22AA",WX="\u299A",KX="\u0174",ZX="\u0175",QX="\u2A5F",JX="\u2227",tY="\u22C0",eY="\u2259",nY="\u2118",iY="\u{1D51A}",rY="\u{1D534}",oY="\u{1D54E}",sY="\u{1D568}",lY="\u2118",aY="\u2240",cY="\u2240",uY="\u{1D4B2}",hY="\u{1D4CC}",fY="\u22C2",dY="\u25EF",mY="\u22C3",gY="\u25BD",yY="\u{1D51B}",pY="\u{1D535}",vY="\u27F7",xY="\u27FA",bY="\u039E",wY="\u03BE",kY="\u27F5",AY="\u27F8",SY="\u27FC",CY="\u22FB",MY="\u2A00",$Y="\u{1D54F}",NY="\u{1D569}",TY="\u2A01",EY="\u2A02",OY="\u27F6",LY="\u27F9",jY="\u{1D4B3}",PY="\u{1D4CD}",DY="\u2A06",qY="\u2A04",VY="\u25B3",BY="\u22C1",IY="\u22C0",RY="\xDD",HY="\xFD",XY="\u042F",YY="\u044F",_Y="\u0176",zY="\u0177",FY="\u042B",UY="\u044B",GY="\xA5",WY="\u{1D51C}",KY="\u{1D536}",ZY="\u0407",QY="\u0457",JY="\u{1D550}",t_="\u{1D56A}",e_="\u{1D4B4}",n_="\u{1D4CE}",i_="\u042E",r_="\u044E",o_="\xFF",s_="\u0178",l_="\u0179",a_="\u017A",c_="\u017D",u_="\u017E",h_="\u0417",f_="\u0437",d_="\u017B",m_="\u017C",g_="\u2128",y_="\u200B",p_="\u0396",v_="\u03B6",x_="\u{1D537}",b_="\u2128",w_="\u0416",k_="\u0436",A_="\u21DD",S_="\u{1D56B}",C_="\u2124",M_="\u{1D4B5}",$_="\u{1D4CF}",N_="\u200D",T_="\u200C",nl={Aacute:f8,aacute:d8,Abreve:m8,abreve:g8,ac:y8,acd:p8,acE:v8,Acirc:x8,acirc:b8,acute:w8,Acy:k8,acy:A8,AElig:S8,aelig:C8,af:M8,Afr:$8,afr:N8,Agrave:T8,agrave:E8,alefsym:O8,aleph:L8,Alpha:j8,alpha:P8,Amacr:D8,amacr:q8,amalg:V8,amp:B8,AMP:I8,andand:R8,And:H8,and:X8,andd:Y8,andslope:_8,andv:z8,ang:F8,ange:U8,angle:G8,angmsdaa:W8,angmsdab:K8,angmsdac:Z8,angmsdad:Q8,angmsdae:J8,angmsdaf:t5,angmsdag:e5,angmsdah:n5,angmsd:i5,angrt:r5,angrtvb:o5,angrtvbd:s5,angsph:l5,angst:a5,angzarr:c5,Aogon:u5,aogon:h5,Aopf:f5,aopf:d5,apacir:m5,ap:g5,apE:y5,ape:p5,apid:v5,apos:x5,ApplyFunction:b5,approx:w5,approxeq:k5,Aring:A5,aring:S5,Ascr:C5,ascr:M5,Assign:$5,ast:N5,asymp:T5,asympeq:E5,Atilde:O5,atilde:L5,Auml:j5,auml:P5,awconint:D5,awint:q5,backcong:V5,backepsilon:B5,backprime:I5,backsim:R5,backsimeq:H5,Backslash:X5,Barv:Y5,barvee:_5,barwed:z5,Barwed:F5,barwedge:U5,bbrk:G5,bbrktbrk:W5,bcong:K5,Bcy:Z5,bcy:Q5,bdquo:J5,becaus:t6,because:e6,Because:n6,bemptyv:i6,bepsi:r6,bernou:o6,Bernoullis:s6,Beta:l6,beta:a6,beth:c6,between:u6,Bfr:h6,bfr:f6,bigcap:d6,bigcirc:m6,bigcup:g6,bigodot:y6,bigoplus:p6,bigotimes:v6,bigsqcup:x6,bigstar:b6,bigtriangledown:w6,bigtriangleup:k6,biguplus:A6,bigvee:S6,bigwedge:C6,bkarow:M6,blacklozenge:$6,blacksquare:N6,blacktriangle:T6,blacktriangledown:E6,blacktriangleleft:O6,blacktriangleright:L6,blank:j6,blk12:P6,blk14:D6,blk34:q6,block:V6,bne:B6,bnequiv:I6,bNot:R6,bnot:H6,Bopf:X6,bopf:Y6,bot:_6,bottom:z6,bowtie:F6,boxbox:U6,boxdl:G6,boxdL:W6,boxDl:K6,boxDL:Z6,boxdr:Q6,boxdR:J6,boxDr:th,boxDR:eh,boxh:nh,boxH:ih,boxhd:rh,boxHd:oh,boxhD:sh,boxHD:lh,boxhu:ah,boxHu:ch,boxhU:uh,boxHU:hh,boxminus:fh,boxplus:dh,boxtimes:mh,boxul:gh,boxuL:yh,boxUl:ph,boxUL:vh,boxur:xh,boxuR:bh,boxUr:wh,boxUR:kh,boxv:Ah,boxV:Sh,boxvh:Ch,boxvH:Mh,boxVh:$h,boxVH:Nh,boxvl:Th,boxvL:Eh,boxVl:Oh,boxVL:Lh,boxvr:jh,boxvR:Ph,boxVr:Dh,boxVR:qh,bprime:Vh,breve:Bh,Breve:Ih,brvbar:Rh,bscr:Hh,Bscr:Xh,bsemi:Yh,bsim:_h,bsime:zh,bsolb:Fh,bsol:Uh,bsolhsub:Gh,bull:Wh,bullet:Kh,bump:Zh,bumpE:Qh,bumpe:Jh,Bumpeq:t7,bumpeq:e7,Cacute:n7,cacute:i7,capand:r7,capbrcup:o7,capcap:s7,cap:l7,Cap:a7,capcup:c7,capdot:u7,CapitalDifferentialD:h7,caps:f7,caret:d7,caron:m7,Cayleys:g7,ccaps:y7,Ccaron:p7,ccaron:v7,Ccedil:x7,ccedil:b7,Ccirc:w7,ccirc:k7,Cconint:A7,ccups:S7,ccupssm:C7,Cdot:M7,cdot:$7,cedil:N7,Cedilla:T7,cemptyv:E7,cent:O7,centerdot:L7,CenterDot:j7,cfr:P7,Cfr:D7,CHcy:q7,chcy:V7,check:B7,checkmark:I7,Chi:R7,chi:H7,circ:X7,circeq:Y7,circlearrowleft:_7,circlearrowright:z7,circledast:F7,circledcirc:U7,circleddash:G7,CircleDot:W7,circledR:K7,circledS:Z7,CircleMinus:Q7,CirclePlus:J7,CircleTimes:tf,cir:ef,cirE:nf,cire:rf,cirfnint:of,cirmid:sf,cirscir:lf,ClockwiseContourIntegral:af,CloseCurlyDoubleQuote:cf,CloseCurlyQuote:uf,clubs:hf,clubsuit:ff,colon:df,Colon:mf,Colone:gf,colone:yf,coloneq:pf,comma:vf,commat:xf,comp:bf,compfn:wf,complement:kf,complexes:Af,cong:Sf,congdot:Cf,Congruent:Mf,conint:$f,Conint:Nf,ContourIntegral:Tf,copf:Ef,Copf:Of,coprod:Lf,Coproduct:jf,copy:Pf,COPY:Df,copysr:qf,CounterClockwiseContourIntegral:Vf,crarr:Bf,cross:If,Cross:Rf,Cscr:Hf,cscr:Xf,csub:Yf,csube:_f,csup:zf,csupe:Ff,ctdot:Uf,cudarrl:Gf,cudarrr:Wf,cuepr:Kf,cuesc:Zf,cularr:Qf,cularrp:Jf,cupbrcap:t3,cupcap:e3,CupCap:n3,cup:i3,Cup:r3,cupcup:o3,cupdot:s3,cupor:l3,cups:a3,curarr:c3,curarrm:u3,curlyeqprec:h3,curlyeqsucc:f3,curlyvee:d3,curlywedge:m3,curren:g3,curvearrowleft:y3,curvearrowright:p3,cuvee:v3,cuwed:x3,cwconint:b3,cwint:w3,cylcty:k3,dagger:A3,Dagger:S3,daleth:C3,darr:M3,Darr:$3,dArr:N3,dash:T3,Dashv:E3,dashv:O3,dbkarow:L3,dblac:j3,Dcaron:P3,dcaron:D3,Dcy:q3,dcy:V3,ddagger:B3,ddarr:I3,DD:R3,dd:H3,DDotrahd:X3,ddotseq:Y3,deg:_3,Del:z3,Delta:F3,delta:U3,demptyv:G3,dfisht:W3,Dfr:K3,dfr:Z3,dHar:Q3,dharl:J3,dharr:td,DiacriticalAcute:ed,DiacriticalDot:nd,DiacriticalDoubleAcute:id,DiacriticalGrave:rd,DiacriticalTilde:od,diam:sd,diamond:ld,Diamond:ad,diamondsuit:cd,diams:ud,die:hd,DifferentialD:fd,digamma:dd,disin:md,div:gd,divide:yd,divideontimes:pd,divonx:vd,DJcy:xd,djcy:bd,dlcorn:wd,dlcrop:kd,dollar:Ad,Dopf:Sd,dopf:Cd,Dot:Md,dot:$d,DotDot:Nd,doteq:Td,doteqdot:Ed,DotEqual:Od,dotminus:Ld,dotplus:jd,dotsquare:Pd,doublebarwedge:Dd,DoubleContourIntegral:qd,DoubleDot:Vd,DoubleDownArrow:Bd,DoubleLeftArrow:Id,DoubleLeftRightArrow:Rd,DoubleLeftTee:Hd,DoubleLongLeftArrow:Xd,DoubleLongLeftRightArrow:Yd,DoubleLongRightArrow:_d,DoubleRightArrow:zd,DoubleRightTee:Fd,DoubleUpArrow:Ud,DoubleUpDownArrow:Gd,DoubleVerticalBar:Wd,DownArrowBar:Kd,downarrow:Zd,DownArrow:Qd,Downarrow:Jd,DownArrowUpArrow:tm,DownBreve:em,downdownarrows:nm,downharpoonleft:im,downharpoonright:rm,DownLeftRightVector:om,DownLeftTeeVector:sm,DownLeftVectorBar:lm,DownLeftVector:am,DownRightTeeVector:cm,DownRightVectorBar:um,DownRightVector:hm,DownTeeArrow:fm,DownTee:dm,drbkarow:mm,drcorn:gm,drcrop:ym,Dscr:pm,dscr:vm,DScy:xm,dscy:bm,dsol:wm,Dstrok:km,dstrok:Am,dtdot:Sm,dtri:Cm,dtrif:Mm,duarr:$m,duhar:Nm,dwangle:Tm,DZcy:Em,dzcy:Om,dzigrarr:Lm,Eacute:jm,eacute:Pm,easter:Dm,Ecaron:qm,ecaron:Vm,Ecirc:Bm,ecirc:Im,ecir:Rm,ecolon:Hm,Ecy:Xm,ecy:Ym,eDDot:_m,Edot:zm,edot:Fm,eDot:Um,ee:Gm,efDot:Wm,Efr:Km,efr:Zm,eg:Qm,Egrave:Jm,egrave:t4,egs:e4,egsdot:n4,el:i4,Element:r4,elinters:o4,ell:s4,els:l4,elsdot:a4,Emacr:c4,emacr:u4,empty:h4,emptyset:f4,EmptySmallSquare:d4,emptyv:m4,EmptyVerySmallSquare:g4,emsp13:y4,emsp14:p4,emsp:v4,ENG:x4,eng:b4,ensp:w4,Eogon:k4,eogon:A4,Eopf:S4,eopf:C4,epar:M4,eparsl:$4,eplus:N4,epsi:T4,Epsilon:E4,epsilon:O4,epsiv:L4,eqcirc:j4,eqcolon:P4,eqsim:D4,eqslantgtr:q4,eqslantless:V4,Equal:B4,equals:I4,EqualTilde:R4,equest:H4,Equilibrium:X4,equiv:Y4,equivDD:_4,eqvparsl:z4,erarr:F4,erDot:U4,escr:G4,Escr:W4,esdot:K4,Esim:Z4,esim:Q4,Eta:J4,eta:tg,ETH:eg,eth:ng,Euml:ig,euml:rg,euro:og,excl:sg,exist:lg,Exists:ag,expectation:cg,exponentiale:ug,ExponentialE:hg,fallingdotseq:fg,Fcy:dg,fcy:mg,female:gg,ffilig:yg,fflig:pg,ffllig:vg,Ffr:xg,ffr:bg,filig:wg,FilledSmallSquare:kg,FilledVerySmallSquare:Ag,fjlig:Sg,flat:Cg,fllig:Mg,fltns:$g,fnof:Ng,Fopf:Tg,fopf:Eg,forall:Og,ForAll:Lg,fork:jg,forkv:Pg,Fouriertrf:Dg,fpartint:qg,frac12:Vg,frac13:Bg,frac14:Ig,frac15:Rg,frac16:Hg,frac18:Xg,frac23:Yg,frac25:_g,frac34:zg,frac35:Fg,frac38:Ug,frac45:Gg,frac56:Wg,frac58:Kg,frac78:Zg,frasl:Qg,frown:Jg,fscr:ty,Fscr:ey,gacute:ny,Gamma:iy,gamma:ry,Gammad:oy,gammad:sy,gap:ly,Gbreve:ay,gbreve:cy,Gcedil:uy,Gcirc:hy,gcirc:fy,Gcy:dy,gcy:my,Gdot:gy,gdot:yy,ge:py,gE:vy,gEl:xy,gel:by,geq:wy,geqq:ky,geqslant:Ay,gescc:Sy,ges:Cy,gesdot:My,gesdoto:$y,gesdotol:Ny,gesl:Ty,gesles:Ey,Gfr:Oy,gfr:Ly,gg:jy,Gg:Py,ggg:Dy,gimel:qy,GJcy:Vy,gjcy:By,gla:Iy,gl:Ry,glE:Hy,glj:Xy,gnap:Yy,gnapprox:_y,gne:zy,gnE:Fy,gneq:Uy,gneqq:Gy,gnsim:Wy,Gopf:Ky,gopf:Zy,grave:Qy,GreaterEqual:Jy,GreaterEqualLess:tp,GreaterFullEqual:ep,GreaterGreater:np,GreaterLess:ip,GreaterSlantEqual:rp,GreaterTilde:op,Gscr:sp,gscr:lp,gsim:ap,gsime:cp,gsiml:up,gtcc:hp,gtcir:fp,gt:dp,GT:mp,Gt:gp,gtdot:yp,gtlPar:pp,gtquest:vp,gtrapprox:xp,gtrarr:bp,gtrdot:wp,gtreqless:kp,gtreqqless:Ap,gtrless:Sp,gtrsim:Cp,gvertneqq:Mp,gvnE:$p,Hacek:Np,hairsp:Tp,half:Ep,hamilt:Op,HARDcy:Lp,hardcy:jp,harrcir:Pp,harr:Dp,hArr:qp,harrw:Vp,Hat:Bp,hbar:Ip,Hcirc:Rp,hcirc:Hp,hearts:Xp,heartsuit:Yp,hellip:_p,hercon:zp,hfr:Fp,Hfr:Up,HilbertSpace:Gp,hksearow:Wp,hkswarow:Kp,hoarr:Zp,homtht:Qp,hookleftarrow:Jp,hookrightarrow:tv,hopf:ev,Hopf:nv,horbar:iv,HorizontalLine:rv,hscr:ov,Hscr:sv,hslash:lv,Hstrok:av,hstrok:cv,HumpDownHump:uv,HumpEqual:hv,hybull:fv,hyphen:dv,Iacute:mv,iacute:gv,ic:yv,Icirc:pv,icirc:vv,Icy:xv,icy:bv,Idot:wv,IEcy:kv,iecy:Av,iexcl:Sv,iff:Cv,ifr:Mv,Ifr:$v,Igrave:Nv,igrave:Tv,ii:Ev,iiiint:Ov,iiint:Lv,iinfin:jv,iiota:Pv,IJlig:Dv,ijlig:qv,Imacr:Vv,imacr:Bv,image:Iv,ImaginaryI:Rv,imagline:Hv,imagpart:Xv,imath:Yv,Im:_v,imof:zv,imped:Fv,Implies:Uv,incare:Gv,in:"\u2208",infin:Wv,infintie:Kv,inodot:Zv,intcal:Qv,int:Jv,Int:tx,integers:ex,Integral:nx,intercal:ix,Intersection:rx,intlarhk:ox,intprod:sx,InvisibleComma:lx,InvisibleTimes:ax,IOcy:cx,iocy:ux,Iogon:hx,iogon:fx,Iopf:dx,iopf:mx,Iota:gx,iota:yx,iprod:px,iquest:vx,iscr:xx,Iscr:bx,isin:wx,isindot:kx,isinE:Ax,isins:Sx,isinsv:Cx,isinv:Mx,it:$x,Itilde:Nx,itilde:Tx,Iukcy:Ex,iukcy:Ox,Iuml:Lx,iuml:jx,Jcirc:Px,jcirc:Dx,Jcy:qx,jcy:Vx,Jfr:Bx,jfr:Ix,jmath:Rx,Jopf:Hx,jopf:Xx,Jscr:Yx,jscr:_x,Jsercy:zx,jsercy:Fx,Jukcy:Ux,jukcy:Gx,Kappa:Wx,kappa:Kx,kappav:Zx,Kcedil:Qx,kcedil:Jx,Kcy:tb,kcy:eb,Kfr:nb,kfr:ib,kgreen:rb,KHcy:ob,khcy:sb,KJcy:lb,kjcy:ab,Kopf:cb,kopf:ub,Kscr:hb,kscr:fb,lAarr:db,Lacute:mb,lacute:gb,laemptyv:yb,lagran:pb,Lambda:vb,lambda:xb,lang:bb,Lang:wb,langd:kb,langle:Ab,lap:Sb,Laplacetrf:Cb,laquo:Mb,larrb:$b,larrbfs:Nb,larr:Tb,Larr:Eb,lArr:Ob,larrfs:Lb,larrhk:jb,larrlp:Pb,larrpl:Db,larrsim:qb,larrtl:Vb,latail:Bb,lAtail:Ib,lat:Rb,late:Hb,lates:Xb,lbarr:Yb,lBarr:_b,lbbrk:zb,lbrace:Fb,lbrack:Ub,lbrke:Gb,lbrksld:Wb,lbrkslu:Kb,Lcaron:Zb,lcaron:Qb,Lcedil:Jb,lcedil:tw,lceil:ew,lcub:nw,Lcy:iw,lcy:rw,ldca:ow,ldquo:sw,ldquor:lw,ldrdhar:aw,ldrushar:cw,ldsh:uw,le:hw,lE:fw,LeftAngleBracket:dw,LeftArrowBar:mw,leftarrow:gw,LeftArrow:yw,Leftarrow:pw,LeftArrowRightArrow:vw,leftarrowtail:xw,LeftCeiling:bw,LeftDoubleBracket:ww,LeftDownTeeVector:kw,LeftDownVectorBar:Aw,LeftDownVector:Sw,LeftFloor:Cw,leftharpoondown:Mw,leftharpoonup:$w,leftleftarrows:Nw,leftrightarrow:Tw,LeftRightArrow:Ew,Leftrightarrow:Ow,leftrightarrows:Lw,leftrightharpoons:jw,leftrightsquigarrow:Pw,LeftRightVector:Dw,LeftTeeArrow:qw,LeftTee:Vw,LeftTeeVector:Bw,leftthreetimes:Iw,LeftTriangleBar:Rw,LeftTriangle:Hw,LeftTriangleEqual:Xw,LeftUpDownVector:Yw,LeftUpTeeVector:_w,LeftUpVectorBar:zw,LeftUpVector:Fw,LeftVectorBar:Uw,LeftVector:Gw,lEg:Ww,leg:Kw,leq:Zw,leqq:Qw,leqslant:Jw,lescc:tk,les:ek,lesdot:nk,lesdoto:ik,lesdotor:rk,lesg:ok,lesges:sk,lessapprox:lk,lessdot:ak,lesseqgtr:ck,lesseqqgtr:uk,LessEqualGreater:hk,LessFullEqual:fk,LessGreater:dk,lessgtr:mk,LessLess:gk,lesssim:yk,LessSlantEqual:pk,LessTilde:vk,lfisht:xk,lfloor:bk,Lfr:wk,lfr:kk,lg:Ak,lgE:Sk,lHar:Ck,lhard:Mk,lharu:$k,lharul:Nk,lhblk:Tk,LJcy:Ek,ljcy:Ok,llarr:Lk,ll:jk,Ll:Pk,llcorner:Dk,Lleftarrow:qk,llhard:Vk,lltri:Bk,Lmidot:Ik,lmidot:Rk,lmoustache:Hk,lmoust:Xk,lnap:Yk,lnapprox:_k,lne:zk,lnE:Fk,lneq:Uk,lneqq:Gk,lnsim:Wk,loang:Kk,loarr:Zk,lobrk:Qk,longleftarrow:Jk,LongLeftArrow:tA,Longleftarrow:eA,longleftrightarrow:nA,LongLeftRightArrow:iA,Longleftrightarrow:rA,longmapsto:oA,longrightarrow:sA,LongRightArrow:lA,Longrightarrow:aA,looparrowleft:cA,looparrowright:uA,lopar:hA,Lopf:fA,lopf:dA,loplus:mA,lotimes:gA,lowast:yA,lowbar:pA,LowerLeftArrow:vA,LowerRightArrow:xA,loz:bA,lozenge:wA,lozf:kA,lpar:AA,lparlt:SA,lrarr:CA,lrcorner:MA,lrhar:$A,lrhard:NA,lrm:TA,lrtri:EA,lsaquo:OA,lscr:LA,Lscr:jA,lsh:PA,Lsh:DA,lsim:qA,lsime:VA,lsimg:BA,lsqb:IA,lsquo:RA,lsquor:HA,Lstrok:XA,lstrok:YA,ltcc:_A,ltcir:zA,lt:FA,LT:UA,Lt:GA,ltdot:WA,lthree:KA,ltimes:ZA,ltlarr:QA,ltquest:JA,ltri:tS,ltrie:eS,ltrif:nS,ltrPar:iS,lurdshar:rS,luruhar:oS,lvertneqq:sS,lvnE:lS,macr:aS,male:cS,malt:uS,maltese:hS,Map:"\u2905",map:fS,mapsto:dS,mapstodown:mS,mapstoleft:gS,mapstoup:yS,marker:pS,mcomma:vS,Mcy:xS,mcy:bS,mdash:wS,mDDot:kS,measuredangle:AS,MediumSpace:SS,Mellintrf:CS,Mfr:MS,mfr:$S,mho:NS,micro:TS,midast:ES,midcir:OS,mid:LS,middot:jS,minusb:PS,minus:DS,minusd:qS,minusdu:VS,MinusPlus:BS,mlcp:IS,mldr:RS,mnplus:HS,models:XS,Mopf:YS,mopf:_S,mp:zS,mscr:FS,Mscr:US,mstpos:GS,Mu:WS,mu:KS,multimap:ZS,mumap:QS,nabla:JS,Nacute:tC,nacute:eC,nang:nC,nap:iC,napE:rC,napid:oC,napos:sC,napprox:lC,natural:aC,naturals:cC,natur:uC,nbsp:hC,nbump:fC,nbumpe:dC,ncap:mC,Ncaron:gC,ncaron:yC,Ncedil:pC,ncedil:vC,ncong:xC,ncongdot:bC,ncup:wC,Ncy:kC,ncy:AC,ndash:SC,nearhk:CC,nearr:MC,neArr:$C,nearrow:NC,ne:TC,nedot:EC,NegativeMediumSpace:OC,NegativeThickSpace:LC,NegativeThinSpace:jC,NegativeVeryThinSpace:PC,nequiv:DC,nesear:qC,nesim:VC,NestedGreaterGreater:BC,NestedLessLess:IC,NewLine:RC,nexist:HC,nexists:XC,Nfr:YC,nfr:_C,ngE:zC,nge:FC,ngeq:UC,ngeqq:GC,ngeqslant:WC,nges:KC,nGg:ZC,ngsim:QC,nGt:JC,ngt:tM,ngtr:eM,nGtv:nM,nharr:iM,nhArr:rM,nhpar:oM,ni:sM,nis:lM,nisd:aM,niv:cM,NJcy:uM,njcy:hM,nlarr:fM,nlArr:dM,nldr:mM,nlE:gM,nle:yM,nleftarrow:pM,nLeftarrow:vM,nleftrightarrow:xM,nLeftrightarrow:bM,nleq:wM,nleqq:kM,nleqslant:AM,nles:SM,nless:CM,nLl:MM,nlsim:$M,nLt:NM,nlt:TM,nltri:EM,nltrie:OM,nLtv:LM,nmid:jM,NoBreak:PM,NonBreakingSpace:DM,nopf:qM,Nopf:VM,Not:BM,not:IM,NotCongruent:RM,NotCupCap:HM,NotDoubleVerticalBar:XM,NotElement:YM,NotEqual:_M,NotEqualTilde:zM,NotExists:FM,NotGreater:UM,NotGreaterEqual:GM,NotGreaterFullEqual:WM,NotGreaterGreater:KM,NotGreaterLess:ZM,NotGreaterSlantEqual:QM,NotGreaterTilde:JM,NotHumpDownHump:t$,NotHumpEqual:e$,notin:n$,notindot:i$,notinE:r$,notinva:o$,notinvb:s$,notinvc:l$,NotLeftTriangleBar:a$,NotLeftTriangle:c$,NotLeftTriangleEqual:u$,NotLess:h$,NotLessEqual:f$,NotLessGreater:d$,NotLessLess:m$,NotLessSlantEqual:g$,NotLessTilde:y$,NotNestedGreaterGreater:p$,NotNestedLessLess:v$,notni:x$,notniva:b$,notnivb:w$,notnivc:k$,NotPrecedes:A$,NotPrecedesEqual:S$,NotPrecedesSlantEqual:C$,NotReverseElement:M$,NotRightTriangleBar:$$,NotRightTriangle:N$,NotRightTriangleEqual:T$,NotSquareSubset:E$,NotSquareSubsetEqual:O$,NotSquareSuperset:L$,NotSquareSupersetEqual:j$,NotSubset:P$,NotSubsetEqual:D$,NotSucceeds:q$,NotSucceedsEqual:V$,NotSucceedsSlantEqual:B$,NotSucceedsTilde:I$,NotSuperset:R$,NotSupersetEqual:H$,NotTilde:X$,NotTildeEqual:Y$,NotTildeFullEqual:_$,NotTildeTilde:z$,NotVerticalBar:F$,nparallel:U$,npar:G$,nparsl:W$,npart:K$,npolint:Z$,npr:Q$,nprcue:J$,nprec:tN,npreceq:eN,npre:nN,nrarrc:iN,nrarr:rN,nrArr:oN,nrarrw:sN,nrightarrow:lN,nRightarrow:aN,nrtri:cN,nrtrie:uN,nsc:hN,nsccue:fN,nsce:dN,Nscr:mN,nscr:gN,nshortmid:yN,nshortparallel:pN,nsim:vN,nsime:xN,nsimeq:bN,nsmid:wN,nspar:kN,nsqsube:AN,nsqsupe:SN,nsub:CN,nsubE:MN,nsube:$N,nsubset:NN,nsubseteq:TN,nsubseteqq:EN,nsucc:ON,nsucceq:LN,nsup:jN,nsupE:PN,nsupe:DN,nsupset:qN,nsupseteq:VN,nsupseteqq:BN,ntgl:IN,Ntilde:RN,ntilde:HN,ntlg:XN,ntriangleleft:YN,ntrianglelefteq:_N,ntriangleright:zN,ntrianglerighteq:FN,Nu:UN,nu:GN,num:WN,numero:KN,numsp:ZN,nvap:QN,nvdash:JN,nvDash:tT,nVdash:eT,nVDash:nT,nvge:iT,nvgt:rT,nvHarr:oT,nvinfin:sT,nvlArr:lT,nvle:aT,nvlt:cT,nvltrie:uT,nvrArr:hT,nvrtrie:fT,nvsim:dT,nwarhk:mT,nwarr:gT,nwArr:yT,nwarrow:pT,nwnear:vT,Oacute:xT,oacute:bT,oast:wT,Ocirc:kT,ocirc:AT,ocir:ST,Ocy:CT,ocy:MT,odash:$T,Odblac:NT,odblac:TT,odiv:ET,odot:OT,odsold:LT,OElig:jT,oelig:PT,ofcir:DT,Ofr:qT,ofr:VT,ogon:BT,Ograve:IT,ograve:RT,ogt:HT,ohbar:XT,ohm:YT,oint:_T,olarr:zT,olcir:FT,olcross:UT,oline:GT,olt:WT,Omacr:KT,omacr:ZT,Omega:QT,omega:JT,Omicron:tE,omicron:eE,omid:nE,ominus:iE,Oopf:rE,oopf:oE,opar:sE,OpenCurlyDoubleQuote:lE,OpenCurlyQuote:aE,operp:cE,oplus:uE,orarr:hE,Or:fE,or:dE,ord:mE,order:gE,orderof:yE,ordf:pE,ordm:vE,origof:xE,oror:bE,orslope:wE,orv:kE,oS:AE,Oscr:SE,oscr:CE,Oslash:ME,oslash:$E,osol:NE,Otilde:TE,otilde:EE,otimesas:OE,Otimes:LE,otimes:jE,Ouml:PE,ouml:DE,ovbar:qE,OverBar:VE,OverBrace:BE,OverBracket:IE,OverParenthesis:RE,para:HE,parallel:XE,par:YE,parsim:_E,parsl:zE,part:FE,PartialD:UE,Pcy:GE,pcy:WE,percnt:KE,period:ZE,permil:QE,perp:JE,pertenk:tO,Pfr:eO,pfr:nO,Phi:iO,phi:rO,phiv:oO,phmmat:sO,phone:lO,Pi:aO,pi:cO,pitchfork:uO,piv:hO,planck:fO,planckh:dO,plankv:mO,plusacir:gO,plusb:yO,pluscir:pO,plus:vO,plusdo:xO,plusdu:bO,pluse:wO,PlusMinus:kO,plusmn:AO,plussim:SO,plustwo:CO,pm:MO,Poincareplane:$O,pointint:NO,popf:TO,Popf:EO,pound:OO,prap:LO,Pr:jO,pr:PO,prcue:DO,precapprox:qO,prec:VO,preccurlyeq:BO,Precedes:IO,PrecedesEqual:RO,PrecedesSlantEqual:HO,PrecedesTilde:XO,preceq:YO,precnapprox:_O,precneqq:zO,precnsim:FO,pre:UO,prE:GO,precsim:WO,prime:KO,Prime:ZO,primes:QO,prnap:JO,prnE:tL,prnsim:eL,prod:nL,Product:iL,profalar:rL,profline:oL,profsurf:sL,prop:lL,Proportional:aL,Proportion:cL,propto:uL,prsim:hL,prurel:fL,Pscr:dL,pscr:mL,Psi:gL,psi:yL,puncsp:pL,Qfr:vL,qfr:xL,qint:bL,qopf:wL,Qopf:kL,qprime:AL,Qscr:SL,qscr:CL,quaternions:ML,quatint:$L,quest:NL,questeq:TL,quot:EL,QUOT:OL,rAarr:LL,race:jL,Racute:PL,racute:DL,radic:qL,raemptyv:VL,rang:BL,Rang:IL,rangd:RL,range:HL,rangle:XL,raquo:YL,rarrap:_L,rarrb:zL,rarrbfs:FL,rarrc:UL,rarr:GL,Rarr:WL,rArr:KL,rarrfs:ZL,rarrhk:QL,rarrlp:JL,rarrpl:tj,rarrsim:ej,Rarrtl:nj,rarrtl:ij,rarrw:rj,ratail:oj,rAtail:sj,ratio:lj,rationals:aj,rbarr:cj,rBarr:uj,RBarr:hj,rbbrk:fj,rbrace:dj,rbrack:mj,rbrke:gj,rbrksld:yj,rbrkslu:pj,Rcaron:vj,rcaron:xj,Rcedil:bj,rcedil:wj,rceil:kj,rcub:Aj,Rcy:Sj,rcy:Cj,rdca:Mj,rdldhar:$j,rdquo:Nj,rdquor:Tj,rdsh:Ej,real:Oj,realine:Lj,realpart:jj,reals:Pj,Re:Dj,rect:qj,reg:Vj,REG:Bj,ReverseElement:Ij,ReverseEquilibrium:Rj,ReverseUpEquilibrium:Hj,rfisht:Xj,rfloor:Yj,rfr:_j,Rfr:zj,rHar:Fj,rhard:Uj,rharu:Gj,rharul:Wj,Rho:Kj,rho:Zj,rhov:Qj,RightAngleBracket:Jj,RightArrowBar:tP,rightarrow:eP,RightArrow:nP,Rightarrow:iP,RightArrowLeftArrow:rP,rightarrowtail:oP,RightCeiling:sP,RightDoubleBracket:lP,RightDownTeeVector:aP,RightDownVectorBar:cP,RightDownVector:uP,RightFloor:hP,rightharpoondown:fP,rightharpoonup:dP,rightleftarrows:mP,rightleftharpoons:gP,rightrightarrows:yP,rightsquigarrow:pP,RightTeeArrow:vP,RightTee:xP,RightTeeVector:bP,rightthreetimes:wP,RightTriangleBar:kP,RightTriangle:AP,RightTriangleEqual:SP,RightUpDownVector:CP,RightUpTeeVector:MP,RightUpVectorBar:$P,RightUpVector:NP,RightVectorBar:TP,RightVector:EP,ring:OP,risingdotseq:LP,rlarr:jP,rlhar:PP,rlm:DP,rmoustache:qP,rmoust:VP,rnmid:BP,roang:IP,roarr:RP,robrk:HP,ropar:XP,ropf:YP,Ropf:_P,roplus:zP,rotimes:FP,RoundImplies:UP,rpar:GP,rpargt:WP,rppolint:KP,rrarr:ZP,Rrightarrow:QP,rsaquo:JP,rscr:tD,Rscr:eD,rsh:nD,Rsh:iD,rsqb:rD,rsquo:oD,rsquor:sD,rthree:lD,rtimes:aD,rtri:cD,rtrie:uD,rtrif:hD,rtriltri:fD,RuleDelayed:dD,ruluhar:mD,rx:gD,Sacute:yD,sacute:pD,sbquo:vD,scap:xD,Scaron:bD,scaron:wD,Sc:kD,sc:AD,sccue:SD,sce:CD,scE:MD,Scedil:$D,scedil:ND,Scirc:TD,scirc:ED,scnap:OD,scnE:LD,scnsim:jD,scpolint:PD,scsim:DD,Scy:qD,scy:VD,sdotb:BD,sdot:ID,sdote:RD,searhk:HD,searr:XD,seArr:YD,searrow:_D,sect:zD,semi:FD,seswar:UD,setminus:GD,setmn:WD,sext:KD,Sfr:ZD,sfr:QD,sfrown:JD,sharp:tq,SHCHcy:eq,shchcy:nq,SHcy:iq,shcy:rq,ShortDownArrow:oq,ShortLeftArrow:sq,shortmid:lq,shortparallel:aq,ShortRightArrow:cq,ShortUpArrow:uq,shy:hq,Sigma:fq,sigma:dq,sigmaf:mq,sigmav:gq,sim:yq,simdot:pq,sime:vq,simeq:xq,simg:bq,simgE:wq,siml:kq,simlE:Aq,simne:Sq,simplus:Cq,simrarr:Mq,slarr:$q,SmallCircle:Nq,smallsetminus:Tq,smashp:Eq,smeparsl:Oq,smid:Lq,smile:jq,smt:Pq,smte:Dq,smtes:qq,SOFTcy:Vq,softcy:Bq,solbar:Iq,solb:Rq,sol:Hq,Sopf:Xq,sopf:Yq,spades:_q,spadesuit:zq,spar:Fq,sqcap:Uq,sqcaps:Gq,sqcup:Wq,sqcups:Kq,Sqrt:Zq,sqsub:Qq,sqsube:Jq,sqsubset:tV,sqsubseteq:eV,sqsup:nV,sqsupe:iV,sqsupset:rV,sqsupseteq:oV,square:sV,Square:lV,SquareIntersection:aV,SquareSubset:cV,SquareSubsetEqual:uV,SquareSuperset:hV,SquareSupersetEqual:fV,SquareUnion:dV,squarf:mV,squ:gV,squf:yV,srarr:pV,Sscr:vV,sscr:xV,ssetmn:bV,ssmile:wV,sstarf:kV,Star:AV,star:SV,starf:CV,straightepsilon:MV,straightphi:$V,strns:NV,sub:TV,Sub:EV,subdot:OV,subE:LV,sube:jV,subedot:PV,submult:DV,subnE:qV,subne:VV,subplus:BV,subrarr:IV,subset:RV,Subset:HV,subseteq:XV,subseteqq:YV,SubsetEqual:_V,subsetneq:zV,subsetneqq:FV,subsim:UV,subsub:GV,subsup:WV,succapprox:KV,succ:ZV,succcurlyeq:QV,Succeeds:JV,SucceedsEqual:tB,SucceedsSlantEqual:eB,SucceedsTilde:nB,succeq:iB,succnapprox:rB,succneqq:oB,succnsim:sB,succsim:lB,SuchThat:aB,sum:cB,Sum:uB,sung:hB,sup1:fB,sup2:dB,sup3:mB,sup:gB,Sup:yB,supdot:pB,supdsub:vB,supE:xB,supe:bB,supedot:wB,Superset:kB,SupersetEqual:AB,suphsol:SB,suphsub:CB,suplarr:MB,supmult:$B,supnE:NB,supne:TB,supplus:EB,supset:OB,Supset:LB,supseteq:jB,supseteqq:PB,supsetneq:DB,supsetneqq:qB,supsim:VB,supsub:BB,supsup:IB,swarhk:RB,swarr:HB,swArr:XB,swarrow:YB,swnwar:_B,szlig:zB,Tab:FB,target:UB,Tau:GB,tau:WB,tbrk:KB,Tcaron:ZB,tcaron:QB,Tcedil:JB,tcedil:tI,Tcy:eI,tcy:nI,tdot:iI,telrec:rI,Tfr:oI,tfr:sI,there4:lI,therefore:aI,Therefore:cI,Theta:uI,theta:hI,thetasym:fI,thetav:dI,thickapprox:mI,thicksim:gI,ThickSpace:yI,ThinSpace:pI,thinsp:vI,thkap:xI,thksim:bI,THORN:wI,thorn:kI,tilde:AI,Tilde:SI,TildeEqual:CI,TildeFullEqual:MI,TildeTilde:$I,timesbar:NI,timesb:TI,times:EI,timesd:OI,tint:LI,toea:jI,topbot:PI,topcir:DI,top:qI,Topf:VI,topf:BI,topfork:II,tosa:RI,tprime:HI,trade:XI,TRADE:YI,triangle:_I,triangledown:zI,triangleleft:FI,trianglelefteq:UI,triangleq:GI,triangleright:WI,trianglerighteq:KI,tridot:ZI,trie:QI,triminus:JI,TripleDot:tR,triplus:eR,trisb:nR,tritime:iR,trpezium:rR,Tscr:oR,tscr:sR,TScy:lR,tscy:aR,TSHcy:cR,tshcy:uR,Tstrok:hR,tstrok:fR,twixt:dR,twoheadleftarrow:mR,twoheadrightarrow:gR,Uacute:yR,uacute:pR,uarr:vR,Uarr:xR,uArr:bR,Uarrocir:wR,Ubrcy:kR,ubrcy:AR,Ubreve:SR,ubreve:CR,Ucirc:MR,ucirc:$R,Ucy:NR,ucy:TR,udarr:ER,Udblac:OR,udblac:LR,udhar:jR,ufisht:PR,Ufr:DR,ufr:qR,Ugrave:VR,ugrave:BR,uHar:IR,uharl:RR,uharr:HR,uhblk:XR,ulcorn:YR,ulcorner:_R,ulcrop:zR,ultri:FR,Umacr:UR,umacr:GR,uml:WR,UnderBar:KR,UnderBrace:ZR,UnderBracket:QR,UnderParenthesis:JR,Union:tH,UnionPlus:eH,Uogon:nH,uogon:iH,Uopf:rH,uopf:oH,UpArrowBar:sH,uparrow:lH,UpArrow:aH,Uparrow:cH,UpArrowDownArrow:uH,updownarrow:hH,UpDownArrow:fH,Updownarrow:dH,UpEquilibrium:mH,upharpoonleft:gH,upharpoonright:yH,uplus:pH,UpperLeftArrow:vH,UpperRightArrow:xH,upsi:bH,Upsi:wH,upsih:kH,Upsilon:AH,upsilon:SH,UpTeeArrow:CH,UpTee:MH,upuparrows:$H,urcorn:NH,urcorner:TH,urcrop:EH,Uring:OH,uring:LH,urtri:jH,Uscr:PH,uscr:DH,utdot:qH,Utilde:VH,utilde:BH,utri:IH,utrif:RH,uuarr:HH,Uuml:XH,uuml:YH,uwangle:_H,vangrt:zH,varepsilon:FH,varkappa:UH,varnothing:GH,varphi:WH,varpi:KH,varpropto:ZH,varr:QH,vArr:JH,varrho:tX,varsigma:eX,varsubsetneq:nX,varsubsetneqq:iX,varsupsetneq:rX,varsupsetneqq:oX,vartheta:sX,vartriangleleft:lX,vartriangleright:aX,vBar:cX,Vbar:uX,vBarv:hX,Vcy:fX,vcy:dX,vdash:mX,vDash:gX,Vdash:yX,VDash:pX,Vdashl:vX,veebar:xX,vee:bX,Vee:wX,veeeq:kX,vellip:AX,verbar:SX,Verbar:CX,vert:MX,Vert:$X,VerticalBar:NX,VerticalLine:TX,VerticalSeparator:EX,VerticalTilde:OX,VeryThinSpace:LX,Vfr:jX,vfr:PX,vltri:DX,vnsub:qX,vnsup:VX,Vopf:BX,vopf:IX,vprop:RX,vrtri:HX,Vscr:XX,vscr:YX,vsubnE:_X,vsubne:zX,vsupnE:FX,vsupne:UX,Vvdash:GX,vzigzag:WX,Wcirc:KX,wcirc:ZX,wedbar:QX,wedge:JX,Wedge:tY,wedgeq:eY,weierp:nY,Wfr:iY,wfr:rY,Wopf:oY,wopf:sY,wp:lY,wr:aY,wreath:cY,Wscr:uY,wscr:hY,xcap:fY,xcirc:dY,xcup:mY,xdtri:gY,Xfr:yY,xfr:pY,xharr:vY,xhArr:xY,Xi:bY,xi:wY,xlarr:kY,xlArr:AY,xmap:SY,xnis:CY,xodot:MY,Xopf:$Y,xopf:NY,xoplus:TY,xotime:EY,xrarr:OY,xrArr:LY,Xscr:jY,xscr:PY,xsqcup:DY,xuplus:qY,xutri:VY,xvee:BY,xwedge:IY,Yacute:RY,yacute:HY,YAcy:XY,yacy:YY,Ycirc:_Y,ycirc:zY,Ycy:FY,ycy:UY,yen:GY,Yfr:WY,yfr:KY,YIcy:ZY,yicy:QY,Yopf:JY,yopf:t_,Yscr:e_,yscr:n_,YUcy:i_,yucy:r_,yuml:o_,Yuml:s_,Zacute:l_,zacute:a_,Zcaron:c_,zcaron:u_,Zcy:h_,zcy:f_,Zdot:d_,zdot:m_,zeetrf:g_,ZeroWidthSpace:y_,Zeta:p_,zeta:v_,zfr:x_,Zfr:b_,ZHcy:w_,zhcy:k_,zigrarr:A_,zopf:S_,Zopf:C_,Zscr:M_,zscr:$_,zwj:N_,zwnj:T_};var xo;function E_(){return xo||(xo=1,(function(t){var e=k1&&k1.__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(nl);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,h="",d=0,u;(u=c.exec(a))!==null;){var f=u.index,m=a.charCodeAt(f),y=r.get(m);if(y){if(y.next!=null&&f+1<a.length){var b=(s=y.next.get(a.charCodeAt(f+1)))===null||s===void 0?void 0:s.value;if(b!=null){h+=a.substring(d,f)+b,c.lastIndex+=1,d=f+2;continue}}h+=a.substring(d,f)+y.value,d=f+1}else h+=a.substring(d,f)+"&#x"+t.getCodePoint(a,f).toString(16)+";",d=c.lastIndex+=Number(i(m))}return h+a.substr(d)}t.encodeHTMLTrieRe=o;function l(c){for(var a,s,h,d,u=new Map,f=0,m=Object.keys(c);f<m.length;f++){for(var y=m[f],b=c[y],A=u,T=0;T<b.length-1;T++){var C=b.charCodeAt(T),M=(a=A.get(C))!==null&&a!==void 0?a:{};A.set(C,M),A=(s=M.next)!==null&&s!==void 0?s:M.next=new Map}var E=(h=A.get(b.charCodeAt(b.length-1)))!==null&&h!==void 0?h:{};(d=E.value)!==null&&d!==void 0||(E.value="&"+y+";"),A.set(b.charCodeAt(b.length-1),E)}return u}t.getTrie=l})(k1)),k1}var bo;function wo(){if(bo)return Jt;bo=1;var t=Jt&&Jt.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.escapeUTF8=Jt.escape=Jt.encodeNonAsciiHTML=Jt.encodeHTML=Jt.encodeXML=void 0;var e=t(h8),n=E_(),i=t(nl),r=d(i.default,!0),o=d(e.default,!0),l=d(e.default,!1),c=new Map(Object.keys(e.default).map(function(f){return[e.default[f].charCodeAt(0),"&"+f+";"]}));function a(f){for(var m="",y=0,b;(b=o.exec(f))!==null;){var A=b.index,T=f.charCodeAt(A),C=c.get(T);C?(m+=f.substring(y,A)+C,y=A+1):(m+=f.substring(y,A)+"&#x"+n.getCodePoint(f,A).toString(16)+";",y=o.lastIndex+=+((T&65408)===55296))}return m+f.substr(y)}Jt.encodeXML=a;function s(f){return n.encodeHTMLTrieRe(r,f)}Jt.encodeHTML=s;function h(f){return n.encodeHTMLTrieRe(o,f)}Jt.encodeNonAsciiHTML=h;function d(f,m){for(var y=Object.keys(f).map(function(C){return"\\"+f[C].charAt(0)}).filter(function(C){return!m||C.charCodeAt(1)<128}).sort(function(C,M){return C.charCodeAt(1)-M.charCodeAt(1)}).filter(function(C,M,E){return C!==E[M+1]}),b=0;b<y.length-1;b++){for(var A=b;A<y.length-1&&y[A].charCodeAt(1)+1===y[A+1].charCodeAt(1);)A+=1;var T=1+A-b;T<3||y.splice(b,T,y[b]+"-"+y[A])}return new RegExp("["+y.join("")+(m?"\\x80-\\uFFFF":"")+"]","g")}Jt.escape=a;function u(f){for(var m,y=0,b="";m=l.exec(f);)y!==m.index&&(b+=f.substring(y,m.index)),b+=c.get(m[0].charCodeAt(0)),y=m.index+1;return b+f.substring(y)}return Jt.escapeUTF8=u,Jt}var ko;function O_(){return ko||(ko=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=vo(),n=wo(),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,u){u===void 0&&(u=i.XML);var f=typeof u=="number"?{level:u}:u;return f.level===i.HTML?f.mode===r.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=l;function c(d,u){u===void 0&&(u=i.XML);var f=typeof u=="number"?{level:u}:u;return f.level===i.HTML?f.mode===r.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=c;function a(d,u){u===void 0&&(u=i.XML);var f=typeof u=="number"?{level:u}:u;return f.mode===o.UTF8?n.escapeUTF8(d):f.level===i.HTML?f.mode===o.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=a;var s=wo();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 h=vo();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})})(ti)),ti}var il=O_(),L_=92,rl="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",ol="[A-Za-z][A-Za-z0-9-]*",j_="[a-zA-Z_:][a-zA-Z0-9:._-]*",P_="[^\"'=<>`\\x00-\\x20]+",D_="'[^']*'",q_='"[^"]*"',V_="(?:"+P_+"|"+D_+"|"+q_+")",B_="(?:\\s*=\\s*"+V_+")",I_="(?:\\s+"+j_+B_+"?)",sl="<"+ol+I_+"*\\s*/?>",ll="</"+ol+"\\s*[>]",R_="<!-->|<!--->|<!--[\\s\\S]*?-->",H_="[<][?][\\s\\S]*?[?][>]",X_="<![A-Za-z]+[^>]*>",Y_="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",__="(?:"+sl+"|"+ll+"|"+R_+"|"+H_+"|"+X_+"|"+Y_+")",z_=new RegExp("^"+__),F_=/[\\&]/,al="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",U_=new RegExp("\\\\"+al+"|"+rl,"gi"),G_='[&<>"]',Ao=new RegExp(G_,"g"),W_=function(t){return t.charCodeAt(0)===L_?t.charAt(1):il.decodeHTMLStrict(t)},cl=function(t){return F_.test(t)?t.replace(U_,W_):t},K_=function(t){try{return n8(t)}catch{return t}},Z_=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return t}},Rn=function(t){return Ao.test(t)?t.replace(Ao,Z_):t},$i;function _i(t){return $i(t)}if(String.fromCodePoint)$i=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var Q_=String.fromCharCode,J_=Math.floor;$i=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||J_(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+=Q_.apply(null,e),e.length=0)}return l}}var Nn=K_,Ni=cl,ul=10,Ti=42,Tn=95,tz=96,hl=91,ez=93,fl=60,nz=33,dl=92,iz=38,ml=40,Ei=41,rz=58,We=39,Ke=34,gl=al,ei="\\\\"+gl,oz=rl,sz=z_,So=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),lz=new RegExp('^(?:"('+ei+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+ei+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+ei+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),az=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,yl=new RegExp("^"+gl),cz=new RegExp("^"+oz,"i"),uz=/`+/,hz=/^`+/,fz=/\.\.\./g,dz=/--+/g,mz=/^<([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])?)*)>/,gz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,yz=/^ *(?:\n *)?/,pl=/^[ \t\n\x0b\x0c\x0d]/,Co=/^\s/,pz=/ *$/,vz=/^ */,Mo=/^ *(?:\n|$)/,xz=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,bz=/^[^\n`\[\]\\!<&*_'"]+/m,Kt=function(t){var e=new Vt("text");return e._literal=t,e},vl=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},wz=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},kz=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},Az=function(){return this.match(yz),!0},Sz=function(t){var e=this.match(hz);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(uz))!==null;)if(i===e)return r=new Vt("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(Kt(e)),!0},Cz=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===ul?(this.pos+=1,n=new Vt("linebreak"),t.appendChild(n)):yl.test(e.charAt(this.pos))?(t.appendChild(Kt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Kt("\\")),!0},Mz=function(t){var e,n,i;return(e=this.match(mz))?(n=e.slice(1,e.length-1),i=new Vt("link"),i._destination=Nn("mailto:"+n),i._title="",i.appendChild(Kt(n)),t.appendChild(i),!0):(e=this.match(gz))?(n=e.slice(1,e.length-1),i=new Vt("link"),i._destination=Nn(n),i._title="",i.appendChild(Kt(n)),t.appendChild(i),!0):!1},$z=function(t){var e=this.match(sz);if(e===null)return!1;var n=new Vt("html_inline");return n._literal=e,t.appendChild(n),!0},Nz=function(t){var e=0,n,i,r,o=this.pos,l,c,a,s,h,d,u,f;if(t===We||t===Ke)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
4
- `:this.subject.charAt(o-1),r=this.peek(),r===-1?i=`
5
- `:i=_i(r),h=Co.test(i),d=So.test(i),u=Co.test(n),f=So.test(n),l=!h&&(!d||u||f),c=!u&&(!f||h||d),t===Tn?(a=l&&(!c||f),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})},Tz=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=Kt(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},Ez=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},Oz=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},Lz=function(t){for(var e,n,i,r,o,l,c,a,s,h,d=[],u,f=!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,h=!1,y){case We:u=0;break;case Ke:u=1;break;case Tn:u=2+(n.can_open?3:0)+n.origdelims%3;break;case Ti:u=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==d[u];){if(f=(n.can_open||e.can_close)&&n.origdelims%3!==0&&(e.origdelims+n.origdelims)%3===0,e.cc===n.cc&&e.can_open&&!f){h=!0;break}e=e.previous}if(i=n,y===Ti||y===Tn)if(!h)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 b=new Vt(c===1?"emph":"strong");for(a=r._next;a&&a!==o;)s=a._next,a.unlink(),b.appendChild(a),a=s;r.insertAfter(b),Oz(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",h&&(e.node._literal="\u2018"),n=n.next):y===Ke&&(n.node._literal="\u201D",h&&(e.node.literal="\u201C"),n=n.next);h||(d[u]=i.previous,i.can_open||this.removeDelimiter(i))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},jz=function(){var t=this.match(lz);return t===null?null:Ni(t.slice(1,-1))},Pz=function(){var t=this.match(az);if(t===null){if(this.peek()===fl)return null;for(var e=this.pos,n=0,i;(i=this.peek())!==-1;)if(i===dl&&yl.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(i===ml)this.pos+=1,n+=1;else if(i===Ei){if(n<1)break;this.pos+=1,n-=1}else{if(pl.exec(_i(i))!==null)break;this.pos+=1}return this.pos===e&&i!==Ei||n!==0?null:(t=this.subject.slice(e,this.pos),Nn(Ni(t)))}else return Nn(Ni(t.slice(1,-1)))},Dz=function(){var t=this.match(xz);return t===null||t.length>1001?0:t.length},qz=function(t){var e=this.pos;this.pos+=1;var n=Kt("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},Vz=function(t){var e=this.pos;if(this.pos+=1,this.peek()===hl){this.pos+=1;var n=Kt("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(Kt("!"));return!0},Bz=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(Kt("]")),!0;if(!c.active)return t.appendChild(Kt("]")),this.removeBracket(),!0;n=c.image;var a=this.pos;if(this.peek()===ml&&(this.pos++,this.spnl()&&(i=this.parseLinkDestination())!==null&&this.spnl()&&(pl.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===Ei?(this.pos+=1,o=!0):this.pos=a),!o){var s=this.pos,h=this.parseLinkLabel();if(h>2?l=this.subject.slice(s,s+h):c.bracketAfter||(l=this.subject.slice(c.index,e)),h===0&&(this.pos=a),l){var d=this.refmap[vl(l)];d&&(i=d.destination,r=d.title,o=!0)}}if(o){var u=new Vt(n?"image":"link");u._destination=i,u._title=r||"";var f,m;for(f=c.node._next;f;)m=f._next,f.unlink(),u.appendChild(f),f=m;if(t.appendChild(u),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(Kt("]")),!0},Iz=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}},Rz=function(){this.brackets=this.brackets.previous},Hz=function(t){var e;return(e=this.match(cz))?(t.appendChild(Kt(il.decodeHTMLStrict(e))),!0):!1},Xz=function(t){var e;return(e=this.match(bz))?(this.options.smart?t.appendChild(Kt(e.replace(fz,"\u2026").replace(dz,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(Kt(e)),!0):!1},Yz=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(pz,""),t.appendChild(new Vt(n?"linebreak":"softbreak"))}else t.appendChild(new Vt("softbreak"));return this.match(vz),!0},_z=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()===rz)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(Mo)===null&&(r===null?a=!1:(r=null,this.pos=c,a=this.match(Mo)!==null)),!a)return this.pos=l,0;var s=vl(n);return s===""?(this.pos=l,0):(e[s]||(e[s]={destination:i,title:r===null?"":r}),this.pos-l)},zz=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case ul:e=this.parseNewline(t);break;case dl:e=this.parseBackslash(t);break;case tz:e=this.parseBackticks(t);break;case Ti:case Tn:e=this.handleDelim(n,t);break;case We:case Ke:e=this.options.smart&&this.handleDelim(n,t);break;case hl:e=this.parseOpenBracket(t);break;case nz:e=this.parseBang(t);break;case ez:e=this.parseCloseBracket(t);break;case fl:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case iz:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(Kt(_i(n)))),!0},Fz=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 Uz(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:wz,peek:kz,spnl:Az,parseBackticks:Sz,parseBackslash:Cz,parseAutolink:Mz,parseHtmlTag:$z,scanDelims:Nz,handleDelim:Tz,parseLinkTitle:jz,parseLinkDestination:Pz,parseLinkLabel:Dz,parseOpenBracket:qz,parseBang:Vz,parseCloseBracket:Bz,addBracket:Iz,removeBracket:Rz,parseEntity:Hz,parseString:Xz,parseNewline:Yz,parseReference:_z,parseInline:zz,processEmphasis:Lz,removeDelimiter:Ez,options:t||{},parse:Fz}}var En=4,xl=9,Gz=10,bl=62,Wz=60,wl=32,kl=91,Kz=[/./,/^<(?: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("^(?:"+sl+"|"+ll+")\\s*$","i")],Zz=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],Qz=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,Jz=/^[#`~*+_=<>0-9-]/,Al=/[^ \t\f\v\r\n]/,tF=/^[*+-]/,eF=/^(\d{1,9})([.)])/,nF=/^#{1,6}(?:[ \t]+|$)/,iF=/^`{3,}(?!.*`)|^~{3,}/,rF=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,oF=/^(?:=+|-+)[ \t]*$/,sF=/\r\n|\n|\r/,lF=function(t){return!Al.test(t)},P1=function(t){return t===wl||t===xl},oe=function(t,e){return e<t.length?t.charCodeAt(e):-1},$o=function(t){return t.next&&t.sourcepos[1][0]!==t.next.sourcepos[0][0]-1},aF=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
- `},cF=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,i=new Vt(t,[[this.lineNumber,n],[0,0]]);return i._string_content="",this.tip.appendChild(i),this.tip=i,i},uF=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(tF))c.type="bullet",c.bulletChar=i[0][0];else if((i=n.match(eF))&&(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===xl||r===wl)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+i[0].length).match(Al))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},hF=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},fF=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}},dF=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)===kl&&(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&&lF(i._string_content)&&o.push(i)}for(i of o)i.unlink()},Sl={document:{continue:function(){return 0},finalize:function(t,e){dF(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&&$o(n)){e._listData.tight=!1;break}for(var i=n._firstChild;i;){if(i._next&&$o(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)===bl)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(rF);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>=En)t.advanceOffset(En,!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=cl(r.trim()),e._literal=o}else{for(var l=e._string_content.split(`
9
- `);/^[ \t]*$/.test(l[l.length-1]);)l.pop();e._literal=l.join(`
1
+ import{Fragment as e,Teleport as t,computed as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,createPropsRestProxy as s,createTextVNode as c,createVNode as l,getCurrentInstance as u,getCurrentScope as d,guardReactiveProps as f,hasInjectionContext as p,inject as m,isRef as h,mergeModels as g,mergeProps as _,nextTick as v,normalizeProps as y,normalizeStyle as b,onMounted as x,onScopeDispose as S,openBlock as C,provide as w,reactive as T,ref as E,renderList as D,renderSlot as O,resolveDynamicComponent as k,shallowReadonly as A,shallowRef as j,toDisplayString as M,toHandlers as N,toValue as P,unref as F,useAttrs as ee,useId as I,useModel as te,useSlots as ne,useTemplateRef as L,watch as R,watchEffect as z,withCtx as B}from"vue";var re=Object.create,ie=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,oe=Object.getOwnPropertyNames,V=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty,ce=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},le=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),ue=(e,t)=>{let n={};for(var r in e)ie(n,r,{get:e[r],enumerable:!0});return t||ie(n,Symbol.toStringTag,{value:`Module`}),n},de=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=oe(t),a=0,o=i.length,s;a<o;a++)s=i[a],!se.call(e,s)&&s!==n&&ie(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=ae(t,s))||r.enumerable});return e},fe=(e,t,n)=>(n=e==null?{}:re(V(e)),de(t||!e||!e.__esModule||!se.call(e,`default`)?ie(n,`default`,{value:e,enumerable:!0}):n,e)),pe=e=>se.call(e,`module.exports`)?e[`module.exports`]:de(ie({},`__esModule`,{value:!0}),e);function me(e,t){return d()?(S(e,t),!0):!1}var he=/* @__PURE__ */ new WeakMap,ge=/* @__NO_SIDE_EFFECTS__ */ (...e)=>{let t=e[0],n=u()?.proxy??d();if(n==null&&!p())throw Error(`injectLocal must be called in setup`);return n&&he.has(n)&&t in he.get(n)?he.get(n)[t]:m(...e)},_e=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var ve=Object.prototype.toString,ye=e=>ve.call(e)===`[object Object]`,be=()=>{};function xe(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function Se(e){return Array.isArray(e)?e:[e]}function Ce(e){if(!h(e))return T(e);let t=new Proxy({},{get(t,n,r){return F(Reflect.get(e.value,n,r))},set(t,n,r){return h(e.value[n])&&!h(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return T(t)}function we(e){return Ce(n(e))}function Te(e,t,n){return R(e,t,{...n,immediate:!0})}var Ee=_e?window:void 0;_e&&window.document,_e&&window.navigator,_e&&window.location;function De(e){let t=P(e);return t?.$el??t}function Oe(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=n(()=>{let t=Se(P(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Te(()=>[r.value?.map(e=>De(e))??[Ee].filter(e=>e!=null),Se(P(r.value?e[1]:e[0])),Se(F(r.value?e[2]:e[1])),P(r.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=ye(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function ke(){let e=j(!1),t=u();return t&&x(()=>{e.value=!0},t),e}/* @__NO_SIDE_EFFECTS__ */
2
+ function Ae(e){let t=ke();return n(()=>(t.value,!!e()))}var je=Symbol(`vueuse-ssr-width`);/* @__NO_SIDE_EFFECTS__ */
3
+ function Me(){let e=p()?/* @__PURE__ */ ge(je,null):null;return typeof e==`number`?e:void 0}function Ne(e,t={}){let{window:r=Ee,ssrWidth:i=/* @__PURE__ */ Me()}=t,a=/* @__PURE__ */ Ae(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),o=j(typeof i==`number`),s=j(),c=j(!1);return z(()=>{if(o.value){o.value=!a.value;let t=P(e).split(`,`);c.value=t.some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||r);return n&&a&&(a=i>=xe(n[1])),r&&a&&(a=i<=xe(r[1])),t?!a:a})}else a.value&&(s.value=r.matchMedia(P(e)),c.value=s.value.matches)}),Oe(s,`change`,e=>{c.value=e.matches},{passive:!0}),n(()=>c.value)}function Pe(e={}){let{window:t=Ee}=e,n=j(1),r=Ne(()=>`(resolution: ${n.value}dppx)`,e),i=be;return t&&(i=Te(r,()=>n.value=t.devicePixelRatio)),{pixelRatio:A(n),stop:i}}function Fe(e,t,r={}){let{window:i=Ee,...a}=r,o,s=/* @__PURE__ */ Ae(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=n(()=>{let t=P(e);return Array.isArray(t)?t.map(e=>De(e)):[De(t)]}),u=R(l,e=>{if(c(),s.value&&i){o=new ResizeObserver(t);for(let t of e)t instanceof Element&&o.observe(t,a)}},{immediate:!0,flush:`post`}),d=()=>{c(),u()};return me(d),{isSupported:s,stop:d}}
4
+ /**
5
+ * @vue/shared v3.5.43
6
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
7
+ * @license MIT
8
+ **/
9
+ // @__NO_SIDE_EFFECTS__
10
+ function Ie(e){let t=/* @__PURE__ */ Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var Le=()=>!1,Re=Object.assign,ze=Array.isArray,Be=e=>typeof e==`string`,Ve=/* @__PURE__ */ Ie(`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`),He=/* @__PURE__ */ Symbol(``),Ue=/* @__PURE__ */ Symbol(``),We=/* @__PURE__ */ Symbol(``),Ge=/* @__PURE__ */ Symbol(``),Ke=/* @__PURE__ */ Symbol(``),qe=/* @__PURE__ */ Symbol(``),Je=/* @__PURE__ */ Symbol(``),Ye=/* @__PURE__ */ Symbol(``),Xe=/* @__PURE__ */ Symbol(``),Ze=/* @__PURE__ */ Symbol(``),Qe=/* @__PURE__ */ Symbol(``),$e=/* @__PURE__ */ Symbol(``),et=/* @__PURE__ */ Symbol(``),tt=/* @__PURE__ */ Symbol(``),nt=/* @__PURE__ */ Symbol(``),rt=/* @__PURE__ */ Symbol(``),it=/* @__PURE__ */ Symbol(``),at=/* @__PURE__ */ Symbol(``),ot=/* @__PURE__ */ Symbol(``),st=/* @__PURE__ */ Symbol(``),ct={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``}
11
+ /**
12
+ * @vue/compiler-core v3.5.43
13
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
14
+ * @license MIT
15
+ **/
16
+ ;function lt(e,t=``){return{type:0,source:t,children:e,helpers:/* @__PURE__ */ new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:ct}}function ut(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=ct){return e&&(s?(e.helper(qe),e.helper(bt(e.inSSR,l))):e.helper(yt(e.inSSR,l)),o&&e.helper($e)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function dt(e,t=ct){return{type:15,loc:t,properties:e}}function ft(e,t){return{type:16,loc:ct,key:Be(e)?pt(e,!0):e,value:t}}function pt(e,t=!1,n=ct,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function mt(e,t=ct){return{type:8,loc:t,children:e}}function ht(e,t=[],n=ct){return{type:14,loc:n,callee:e,arguments:t}}function gt(e,t=void 0,n=!1,r=!1,i=ct){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function _t(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:ct}}function vt(e){return{type:21,body:e,loc:ct}}function yt(e,t){return e||t?Xe:Ze}function bt(e,t){return e||t?Je:Ye}function xt(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(yt(r,e.isComponent)),t(qe),t(bt(r,e.isComponent)))}var St=new Uint8Array([123,123]),Ct=new Uint8Array([125,125]);function wt(e){return e>=97&&e<=122||e>=65&&e<=90}function Tt(e){return e===32||e===10||e===9||e===12||e===13}function Et(e){return e===47||e===62||Tt(e)}function Dt(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}var Ot={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])},kt=class{constructor(e,t){this.stack=e,this.cbs=t,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=St,this.delimiterClose=Ct,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=St,this.delimiterClose=Ct}getPos(e){let t=1,n=e+1,r=this.newlines.length,i=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){let r=t+n>>>1;this.newlines[r]<e?t=r:n=r}i=t}else for(let t=r-1;t>=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,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){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}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.state=this.inRCDATA?32:1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?Et(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||Tt(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+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===Ot.TitleEnd||this.currentSequence===Ot.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=Number(e===60)}stateCDATASequence(e){e===Ot.Cdata[this.sequenceIndex]?++this.sequenceIndex===Ot.Cdata.length&&(this.state=28,this.currentSequence=Ot.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;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===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===Ot.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,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):wt(e)?(this.sectionStart=this.index,this.state=this.mode===0?6:this.inSFCRoot?34:this.inXML?6:e===116?30:e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Et(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Et(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(Dt(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){Tt(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=wt(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||Tt(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.state=this.inRCDATA?32: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):Tt(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):Tt(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Et(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Et(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||Et(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||Et(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Et(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)):Tt(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):Tt(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){Tt(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=Ot.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===Ot.ScriptEnd[3]?this.startSpecial(Ot.ScriptEnd,4):e===Ot.StyleEnd[3]?this.startSpecial(Ot.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Ot.TitleEnd[3]?this.startSpecial(Ot.TitleEnd,4):e===Ot.TextareaEnd[3]?this.startSpecial(Ot.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}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(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Ot.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,t){}};function At(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function jt(e,t){let n=At(`MODE`,t),r=At(e,t);return n===3?r===!0:r!==!1}function Mt(e,t,n,...r){return jt(e,t)}function Nt(e){throw e}function Pt(e){}function Ft(e,t,n,r){let i=`https://vuejs.org/error-reference/#compiler-${e}`,a=SyntaxError(String(i));return a.code=e,a.loc=t,a}var It=e=>e.type===4&&e.isStatic;function Lt(e){switch(e){case`Teleport`:case`teleport`:return Ue;case`Suspense`:case`suspense`:return We;case`KeepAlive`:case`keep-alive`:return Ge;case`BaseTransition`:case`base-transition`:return Ke}}function Rt(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(Be(t)?i.name===t:t.test(i.name)))return i}}function zt(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&Bt(a.arg,t))return a}}function Bt(e,t){return!!(e&&It(e)&&e.content===t)}function Vt(e){return e.type===7&&e.name===`pre`}function Ht(e){return e.type===7&&e.name===`slot`}function Ut(e){return e.type===1&&e.tagType===3}function Wt(e){return e.type===1&&e.tagType===2}var Gt=/* @__PURE__ */ new Set([rt,it]);function Kt(e,t=[]){if(e&&!Be(e)&&e.type===14){let n=e.callee;if(!Be(n)&&Gt.has(n))return Kt(e.arguments[0],t.concat(e))}return[e,t]}function qt(e,t,n){if(e.type!==13&&Jt(e,t))return;let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!Be(i)&&i.type===14){let e=Kt(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||Be(i))r=dt([t]);else if(i.type===14){let e=i.arguments[0];!Be(e)&&e.type===15?Yt(t,e)||e.properties.unshift(t):i.callee===at?r=ht(n.helper(nt),[dt([t]),i]):i.arguments.unshift(dt([t])),!r&&(r=i)}else i.type===15?(Yt(t,i)||i.properties.unshift(t),r=i):(r=ht(n.helper(nt),[dt([t]),i]),o&&o.callee===it&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function Jt(e,t){var n,r,i;if(t.key.type!==4||t.key.content!==`key`)return!1;let a=e.arguments[2];if(a&&!Be(a)){let[e]=Kt(a);if(e&&!Be(e)&&e.type===15&&Yt(t,e))return!0}return(n=e.arguments)[2]||(n[2]=`{}`),(r=e.arguments)[3]||(r[3]=`undefined`),(i=e.arguments)[4]||(i[4]=`undefined`),e.arguments[5]=t.value,!0}function Yt(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function Xt(e){return e.type===14&&e.callee===ot?e.arguments[1].returns:e}var Zt=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Qt(e){for(let t=0;t<e.length;t++)if(!Tt(e.charCodeAt(t)))return!1;return!0}function $t(e){return e.type===2&&Qt(e.content)||e.type===12&&$t(e.content)}function en(e){return e.type===3||$t(e)}var tn={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:Le,isPreTag:Le,isIgnoreNewlineTag:Le,isCustomElement:Le,onError:Nt,onWarn:Pt,comments:!1,prefixIdentifiers:!1},H=tn,nn=null,rn=``,an=null,U=null,on=``,sn=-1,cn=-1,ln=0,un=!1,dn=null,W=[],G=new kt(W,{onerr:Pn,ontext(e,t){_n(hn(e,t),e,t)},ontextentity(e,t,n){_n(e,t,n)},oninterpolation(e,t){if(un)return _n(hn(e,t),e,t);let n=e+G.delimiterOpen.length,r=t-G.delimiterClose.length;for(;Tt(rn.charCodeAt(n));)n++;for(;Tt(rn.charCodeAt(r-1));)r--;let i=hn(n,r);i.includes(`&`)&&(i=H.decodeEntities(i,!1)),kn({type:5,content:Nn(i,!1,K(n,r)),loc:K(e,t)})},onopentagname(e,t){let n=hn(e,t);an={type:1,tag:n,ns:H.getNamespace(n,W[0],H.ns),tagType:0,props:[],children:[],loc:K(e-1,t),codegenNode:void 0}},onopentagend(e){gn(e)},onclosetag(e,t){let n=hn(e,t);if(!H.isVoidTag(n)){let r=!1;for(let e=0;e<W.length;e++)if(W[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&Pn(24,W[0].loc.start.offset);for(let n=0;n<=e;n++)vn(W.shift(),t,n<e);break}r||Pn(23,bn(e,60))}},onselfclosingtag(e){let t=an.tag;an.isSelfClosing=!0,gn(e),W[0]&&W[0].tag===t&&vn(W.shift(),e)},onattribname(e,t){U={type:6,name:hn(e,t),nameLoc:K(e,t),value:void 0,loc:K(e)}},ondirname(e,t){let n=hn(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!un&&r===``&&Pn(26,e),un||r===``)U={type:6,name:n,nameLoc:K(e,t),value:void 0,loc:K(e)};else if(U={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[pt(`prop`)]:[],loc:K(e)},r===`pre`){un=G.inVPre=!0,dn=an;let e=an.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=Mn(e[t]))}},ondirarg(e,t){if(e===t)return;let n=hn(e,t);if(un&&!Vt(U))U.name+=n,jn(U.nameLoc,t);else{let r=n[0]!==`[`;U.arg=Nn(r?n:n.slice(1,-1),r,K(e,t),r?3:0)}},ondirmodifier(e,t){let n=hn(e,t);if(un&&!Vt(U))U.name+=`.`+n,jn(U.nameLoc,t);else if(U.name===`slot`){let e=U.arg;e&&(e.content+=`.`+n,jn(e.loc,t))}else{let r=pt(n,!0,K(e,t));U.modifiers.push(r)}},onattribdata(e,t){on+=hn(e,t),sn<0&&(sn=e),cn=t},onattribentity(e,t,n){on+=e,sn<0&&(sn=t),cn=n},onattribnameend(e){let t=U.loc.start.offset,n=hn(t,e);U.type===7&&(U.rawName=n),an.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&Pn(2,t)},onattribend(e,t){if(an&&U){if(jn(U.loc,t),e!==0){if(on.includes(`&`)&&(on=H.decodeEntities(on,!0)),U.type===6)U.name===`class`&&(on=On(on).trim()),e===1&&!on&&Pn(13,t),U.value={type:2,content:on,loc:e===1?K(sn,cn):K(sn-1,cn+1)},G.inSFCRoot&&an.tag===`template`&&U.name===`lang`&&on&&on!==`html`&&G.enterRCDATA(Dt(`</template`),0);else{U.exp=Nn(on,!1,K(sn,cn),0,0),U.name===`for`&&(U.forParseResult=mn(U.exp));let e=-1;U.name===`bind`&&(e=U.modifiers.findIndex(e=>e.content===`sync`))>-1&&Mt(`COMPILER_V_BIND_SYNC`,H,U.loc,U.arg.loc.source)&&(U.name=`model`,U.modifiers.splice(e,1))}}(U.type!==7||U.name!==`pre`)&&an.props.push(U)}on=``,sn=cn=-1},oncomment(e,t){H.comments&&kn({type:3,content:hn(e,t),loc:K(e-4,t+3)})},onend(){let e=rn.length;for(let t=0;t<W.length;t++)vn(W[t],e-1),Pn(24,W[t].loc.start.offset)},oncdata(e,t){(W[0]?W[0].ns:H.ns)===0?Pn(1,e-9):_n(hn(e,t),e,t)},onprocessinginstruction(e){(W[0]?W[0].ns:H.ns)===0&&Pn(21,e-1)}}),fn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,pn=/^\(|\)$/g;function mn(e){let t=e.loc,n=e.content,r=n.match(Zt);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return Nn(e,!1,K(i,i+e.length),0,+!!r)},s={source:o(a.trim(),n.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},c=i.trim().replace(pn,``).trim(),l=i.indexOf(c),u=c.match(fn);if(u){c=c.replace(fn,``).trim();let e=u[1].trim(),t;if(e&&(t=n.indexOf(e,l+c.length),s.key=o(e,t,!0)),u[2]){let r=u[2].trim();r&&(s.index=o(r,n.indexOf(r,s.key?t+e.length:l+c.length),!0))}}return c&&(s.value=o(c,l,!0)),s}function hn(e,t){return rn.slice(e,t)}function gn(e){G.inSFCRoot&&(an.innerLoc=K(e+1,e+1)),kn(an);let{tag:t,ns:n}=an;n===0&&H.isPreTag(t)&&ln++,H.isVoidTag(t)?vn(an,e):(W.unshift(an),(n===1||n===2)&&(G.inXML=!0)),an=null}function _n(e,t,n){{let t=W[0]&&W[0].tag;t!==`script`&&t!==`style`&&e.includes(`&`)&&(e=H.decodeEntities(e,!1))}let r=W[0]||nn,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,jn(i.loc,n)):r.children.push({type:2,content:e,loc:K(t,n)})}function vn(e,t,n=!1){n?jn(e.loc,bn(t,60)):jn(e.loc,yn(t,62)+1),G.inSFCRoot&&(e.children.length?e.innerLoc.end=Re({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Re({},e.innerLoc.start),e.innerLoc.source=hn(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if(un||(r===`slot`?e.tagType=2:Sn(e)?e.tagType=3:Cn(e)&&(e.tagType=1)),G.inRCDATA||(e.children=En(a)),i===0&&H.isIgnoreNewlineTag(r)){let e=a[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}i===0&&H.isPreTag(r)&&ln--,dn===e&&(un=G.inVPre=!1,dn=null),G.inXML&&(W[0]?W[0].ns:H.ns)===0&&(G.inXML=!1);{let t=e.props;if(!G.inSFCRoot&&jt(`COMPILER_NATIVE_TEMPLATE`,H)&&e.tag===`template`&&!Sn(e)){let t=W[0]||nn,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}let n=t.find(e=>e.type===6&&e.name===`inline-template`);n&&Mt(`COMPILER_INLINE_TEMPLATE`,H,n.loc)&&e.children.length&&(n.value={type:2,content:hn(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function yn(e,t){let n=e;for(;rn.charCodeAt(n)!==t&&n<rn.length-1;)n++;return n}function bn(e,t){let n=e;for(;rn.charCodeAt(n)!==t&&n>=0;)n--;return n}var xn=/* @__PURE__ */ new Set([`if`,`else`,`else-if`,`for`,`slot`]);function Sn({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&xn.has(t[e].name))return!0}return!1}function Cn({tag:e,props:t}){if(H.isCustomElement(e))return!1;if(e===`component`||wn(e.charCodeAt(0))||Lt(e)||H.isBuiltInComponent&&H.isBuiltInComponent(e)||H.isNativeTag&&!H.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6){if(n.name===`is`&&n.value&&(n.value.content.startsWith(`vue:`)||Mt(`COMPILER_IS_ON_ELEMENT`,H,n.loc)))return!0}else if(n.name===`bind`&&Bt(n.arg,`is`)&&Mt(`COMPILER_IS_ON_ELEMENT`,H,n.loc))return!0}return!1}function wn(e){return e>64&&e<91}var Tn=/\r\n/g;function En(e){let t=H.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2){if(ln)i.content=i.content.replace(Tn,`
17
+ `);else if(Qt(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&Dn(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=On(i.content))}}return n?e.filter(Boolean):e}function Dn(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function On(e){let t=``,n=!1;for(let r=0;r<e.length;r++)Tt(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function kn(e){(W[0]||nn).children.push(e)}function K(e,t){return{start:G.getPos(e),end:t==null?t:G.getPos(t),source:t==null?t:hn(e,t)}}function An(e){return K(e.start.offset,e.end.offset)}function jn(e,t){e.end=G.getPos(t),e.source=hn(e.start.offset,t)}function Mn(e){let t={type:6,name:e.rawName,nameLoc:K(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Nn(e,t=!1,n,r=0,i=0){return pt(e,t,n,r)}function Pn(e,t,n){H.onError(Ft(e,K(t,t),void 0,n))}function Fn(){G.reset(),an=null,U=null,on=``,sn=-1,cn=-1,W.length=0}function In(e,t){if(Fn(),rn=e,H=Re({},tn),t){let e;for(e in t)t[e]!=null&&(H[e]=t[e])}G.mode=H.parseMode===`html`?1:H.parseMode===`sfc`?2:0,G.inXML=H.ns===1||H.ns===2;let n=t&&t.delimiters;n&&(G.delimiterOpen=Dt(n[0]),G.delimiterClose=Dt(n[1]));let r=nn=lt([],e);return G.parse(rn),r.loc=K(0,e.length),r.children=En(r.children),nn=null,r}function Ln(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];Be(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Rn(i,t))}}function Rn(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){let a=n[i](e,t);if(a&&(ze(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Qe);break;case 5:t.ssr||t.helper(tt);break;case 9:for(let n=0;n<e.branches.length;n++)Rn(e.branches[n],t);break;case 10:case 11:case 1:case 0:Ln(e,t)}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function zn(e,t){let n=Be(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(Ht))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&n(s.name)){i.splice(o,1),o--;let n=t(e,s,r);n&&a.push(n)}}return a}}}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`),zn(/^(?:if|else|else-if)$/,(e,t,n)=>Bn(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=Hn(t,o,n);else{let r=Wn(e.codegenNode);r.alternate=Hn(t,o+e.branches.length-1,n)}}}));function Bn(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(Ft(28,t.loc)),t.exp=pt(`true`,!1,r)}if(t.name===`if`){let i=Vn(e,t),a={type:9,loc:An(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=i.indexOf(e);for(;a-->=-1;){let o=i[a];if(o&&en(o))n.removeNode(o);else{if(o&&o.type===9){(t.name===`else-if`||t.name===`else`)&&o.branches[o.branches.length-1].condition===void 0&&n.onError(Ft(30,e.loc)),n.removeNode();let i=Vn(e,t);o.branches.push(i);let a=r&&r(o,i,!1);Rn(i,n),a&&a(),n.currentNode=null}else n.onError(Ft(30,e.loc));break}}}}function Vn(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!Rt(e,`for`)?e.children:[e],userKey:zt(e,`key`),isTemplateIf:n}}function Hn(e,t,n){return e.condition?_t(e.condition,Un(e,t,n),ht(n.helper(Qe),[`""`,`true`])):Un(e,t,n)}function Un(e,t,n){let{helper:r}=n,i=ft(`key`,pt(`${t}`,!1,ct,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1){if(a.length===1&&o.type===11){let e=o.codegenNode;return qt(e,i,n),e}return ut(n,r(He),dt([i]),a,64,void 0,void 0,!0,!1,!1,e.loc)}{let e=o.codegenNode,t=Xt(e);return t.type===13&&xt(t,n),qt(t,i,n),e}}function Wn(e){for(;;)if(e.type===19){if(e.alternate.type===19)e=e.alternate;else return e}else e.type===20&&(e=e.value)}zn(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return Gn(e,t,n,t=>{let a=ht(r(et),[t.source]),o=Ut(e),s=Rt(e,`memo`),c=zt(e,`key`,!1,!0);c&&c.type;let l=c&&(c.type===6?c.value?pt(c.value.content,!0):void 0:c.exp),u=l?ft(`key`,l):null,d=t.source.type===4&&t.source.constType>0,f=d?64:c?128:256;return t.codegenNode=ut(n,r(He),void 0,a,f,void 0,void 0,!0,!d,!1,e.loc),()=>{let c,{children:f}=t,p=f.length!==1||f[0].type!==1,m=Wt(e)?e:o&&e.children.length===1&&Wt(e.children[0])?e.children[0]:null;if(m)c=m.codegenNode,o&&u&&qt(c,u,n);else if(p)c=ut(n,r(He),u?dt([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1);else{c=f[0].codegenNode,o&&u&&qt(c,u,n);let e=!d||c.isBlockRequired===!0;c.isBlock!==e&&(c.isBlock?(i(qe),i(bt(n.inSSR,c.isComponent))):i(yt(n.inSSR,c.isComponent))),c.isBlock=e,c.isBlock?(r(qe),r(bt(n.inSSR,c.isComponent))):(r(yt(n.inSSR,c.isComponent)),c.needsPatch&&(c.patchFlag=(c.patchFlag??0)|512))}if(s){let e=gt(qn(t.parseResult,[pt(`_cached`)]));e.body=vt([mt([`const _memo = (`,s.exp,`)`]),mt([`if (_cached && _cached.el`,...l?[` && _cached.key === `,l]:[],` && ${n.helperString(st)}(_cached, _memo)) return _cached`]),mt([`const _item = `,c]),pt(`_item.memo = _memo`),pt(`return _item`)]),a.arguments.push(e,pt(`_cache`),pt(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(gt(qn(t.parseResult),c,!0))}})});function Gn(e,t,n,r){if(!t.exp){n.onError(Ft(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(Ft(32,t.loc));return}Kn(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:Ut(e)?e.children:[e]};n.replaceNode(f),s.vFor++;let p=r&&r(f);return()=>{s.vFor--,p&&p()}}function Kn(e,t){e.finalized||=!0}function qn({value:e,key:t,index:n},r=[]){return Jn([e,t,n,...r])}function Jn(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||pt(`_`.repeat(t+1),!1))}function Yn(t){return t==null?[]:t.flatMap(t=>t.type==e?Yn(t.children):t.type==`template`?Yn(t.children).map(e=>(e.props={...e.props,...t.props},e)):t)}var Xn=class e extends String{static#e=/* @__PURE__ */ new Map;constructor(t){let n=String(t);if(e.#e.has(n))return e.#e.get(n);super(n),e.#e.set(n,this)}},Zn=class e extends Number{static#e=/* @__PURE__ */ new Map;constructor(t){let n=Number(t);if(e.#e.has(n))return e.#e.get(n);super(n),e.#e.set(n,this)}},Qn=class{constructor(e){if(typeof e==`string`||e instanceof String)return new Xn(e);if(typeof e==`number`||e instanceof Number)return new Zn(e);throw Error(`Unsupported type`)}static[Symbol.hasInstance](e){return e instanceof Xn||e instanceof Zn}},$n=class{constructor(e,t,n){this.label=e,this.value=t,this.level=n}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}},er=class e extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let t=ar(Array.from(e).filter(e=>!(e instanceof Qn)&&e!=null).map(e=>String(e))).sort((e,t)=>or(e,t,{numeric:!0}));return new this(...t)}if(typeof e==`object`){let t=Object.keys(e).map(e=>String(e)).sort((t,n)=>or(e[t],e[n]));return new this(...t)}throw Error(`Invalid level values: ${e}`)}static isEqual(e,t){if(e instanceof this&&t instanceof this)return e.length===t.length&&Array(e.length).fill().every((n,r)=>e[r].label===t[r].label)}constructor(...t){return t=t.map((e,t)=>new $n(String(e),t)),t.forEach(e=>e.level=t),t.mapping=Object.fromEntries(t.map(e=>[e,e])),Object.setPrototypeOf(t,e.prototype),t}getItem(e){return typeof e==`number`||e instanceof Number?this[e]:this.mapping[e]}apply(e){let t=e.map(e=>e instanceof Qn?e:this.mapping[e]);return t.level=this,t}};function tr(e){return typeof e==`number`||e instanceof Number||e instanceof Date}function nr(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`object`&&!!e&&typeof e.valueOf()!=`number`&&typeof e.valueOf()!=`bigint`}function q(e,t=0){return t==0||e==null?e:e instanceof Date?new e.constructor(+e+t):+e+t}var J={min(e,{na_rm:t=!0,infinity_rm:n=!0}={}){return t&&(e=e.filter(tr)),n&&(e=e.filter(e=>isFinite(e))),Array.from(e).reduce((e,t)=>e<t?e:t,1/0)},max(e,{na_rm:t=!0,infinity_rm:n=!0}={}){return t&&(e=e.filter(tr)),n&&(e=e.filter(e=>isFinite(e))),Array.from(e).reduce((e,t)=>e>t?e:t,-1/0)},sum(e,{na_rm:t=!0,infinity_rm:n=!0}={}){return t&&(e=e.filter(tr)),n&&(e=e.filter(e=>isFinite(e))),Array.from(e).reduce((e,t)=>e+t,0)},diff(e,{na_rm:t=!0,infinity_rm:n=!0}={}){return t&&(e=e.filter(tr)),n&&(e=e.filter(e=>isFinite(e))),Array.from(e).slice(1).map((t,n)=>t-e[n])},mean(e,{na_rm:t=!0,infinity_rm:n=!0}={}){return t&&(e=e.filter(tr)),n&&(e=e.filter(e=>isFinite(e))),e.length==0?NaN:Array.from(e).reduce((e,t)=>e+t,0)/e.length},sd(e,{na_rm:t=!0,infinity_rm:n=!0}={}){if(t&&(e=e.filter(tr)),n&&(e=e.filter(e=>isFinite(e))),e.length<=1)return NaN;let r=Array.from(e).reduce((e,t)=>e+t,0)/e.length;return Math.sqrt(Array.from(e).reduce((e,t)=>e+(t-r)**2,0)/(e.length-1))},quantile(e,t,{na_rm:n=!0,infinity_rm:r=!0}={}){if(n&&(e=e.filter(tr)),r&&(e=e.filter(e=>isFinite(e))),e.length==0)return NaN;e=Array.from(e).sort((e,t)=>e-t);let i=(e.length-1)*t,a=Math.floor(i),o=Math.ceil(i);return a==o?e[a]:e[a]*(o-i)+e[o]*(i-a)},extent(e,{na_rm:t=!0,infinity_rm:n=!0}={}){if(t&&(e=e.filter(tr)),n&&(e=e.filter(e=>isFinite(e))),e.length==0)return[,,];let r=Array.from(e).reduce((e,t)=>e<t?e:t,1/0),i=Array.from(e).reduce((e,t)=>e>t?e:t,-1/0);return Object.assign([r,i],{min:r,max:i})}},Y={coalesce(e,t){if(Array.isArray(t)){if(!Array.isArray(e)||e.length!=t.length)throw Error(`Value and defaultValue must be arrays of the same length`);return e.map((e,n)=>e??t[n])}return Array.isArray(e)?e.map(e=>e??t):e??t},sum(...e){if(e.some(e=>e==null))return null;if(e.some(e=>!Array.isArray(e)&&typeof e!=`number`))throw Error(`Arguments must be numbers or arrays`);let t=e.filter(e=>!Array.isArray(e)).reduce((e,t)=>+t+e,0);if(e=e.filter(e=>Array.isArray(e)),e.length==0)return[t];let n=e[0].length;if(e.some(e=>e.length!=n))throw Error(`Arrays must have the same length`);return Array.from({length:n},(n,r)=>e.reduce((e,t)=>+(t[r]??void 0)+e,t))},opposite(e){if(e==null)return null;if(!Array.isArray(e)&&typeof e!=`number`)throw Error(`Arguments must be numbers or arrays`);return Array.isArray(e)?e.map(e=>e==null?e:-e):-e},concat(...e){if(e.some(e=>e==null))return null;let t=e.filter(e=>Array.isArray(e));if(t.length==0)return[e.join(``)];if(e.some(e=>e.length==0))return[];let n=t[0].length;if(t.some(e=>e.length!=n))throw Error(`Arrays must have the same length`);return Array.from({length:n},(t,n)=>e.map(e=>Array.isArray(e)?e[n]:e).join(``))},apply(e,...t){if(t.some(e=>e==null))return null;let n=t.filter(e=>Array.isArray(e));if(n.length==0)return[e(...t)];if(t.some(e=>e.length==0))return[];let r=n[0].length;if(n.some(e=>e.length!=r))throw Error(`Arrays must have the same length`);return Array.from({length:r},(n,r)=>e(...t.map(e=>Array.isArray(e)?e[r]:e)))}};function rr(...e){if(e=e.filter(e=>e!==void 0),e.length!=0)return e=e.slice(e.findIndex(e=>e==null)+1),e.length==0?null:e.reduce((e,t)=>{for(let n in t)t[n]!==void 0&&(e[n]=t[n]);return e},{})}function ir(...e){if(!e.some(e=>e===void 0))return e.some(e=>e===null)?null:e.join(``)}function ar(e,t=null,n=null){let r=/* @__PURE__ */ new Map;for(let i in e){let a=t?t(e[i]):e[i];r.has(a)?n&&r.set(a,n(r.get(a),e[i])):r.set(a,e[i])}return Array.from(r.values())}function or(e,t,{numeric:n=!1}={}){return typeof e!=`number`||typeof t!=`number`?String(e).localeCompare(String(t),void 0,{numeric:n}):e-t}function sr(e,...t){return Array.isArray(e)?(e=e.filter(e=>typeof e==`function`),e.length!==0&&(e.forEach(e=>e(...t)),!0)):typeof e==`function`&&(e(...t),!0)}function cr(e,{min:t,max:n}){return e<t||e>n?NaN:e}function X(e,{min:t,max:n}){return e<t?t:e>n?n:e}function lr(e,{min:t,max:n}){return e==-1/0?t:e==1/0?n:e}function ur(e){return typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).filter(([e,t])=>t!=null))}function dr(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!dr(e[r],t[r]))return!1;return!0}function fr(e){if(!Array.isArray(e))throw Error(`Argument must be an array`);let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t.findIndex(e=>dr(e,i));a===-1&&(t.push(i),a=t.length-1),n.push(a)}return n.categories=t,n}function pr(...e){if(e.length==0)return null;let t=e.filter(e=>Array.isArray(e)).reduce((e,t)=>{if(Array.isArray(t)){if(e==null)return t.length;if(e!=t.length)throw Error(`Arrays must have the same length`)}return e},null)??0,n=[],r=[];for(let i=0;i<t;i++){let t=e.map(e=>Array.isArray(e)?e[i]:e),a=n.findIndex(e=>e.every((e,n)=>e===t[n]));a===-1&&(n.push(t),a=n.length-1),r.push(a)}return r.categories=n,r}function mr(e){if(Object.keys(e).length==0)return null;let t=Object.values(e).filter(e=>Array.isArray(e)).reduce((e,t)=>{if(Array.isArray(t)){if(e==null)return t.length;if(e!=t.length)throw Error(`Arrays must have the same length`)}return e},null)??0,n=Object.keys(e),r=[],i=[];for(let a=0;a<t;a++){let t=Object.fromEntries(n.map(t=>[t,Array.isArray(e[t])?e[t][a]:e[t]])),o=r.findIndex(e=>n.every(n=>e[n]===t[n]));o===-1&&(r.push(t),o=r.length-1),i.push(o)}return i.categories=r,i}function hr(e){if(Object.keys(e).length==0)return[];let t=Object.values(e).filter(e=>Array.isArray(e)).reduce((e,t)=>{if(Array.isArray(t)){if(e==null)return t.length;if(e!=t.length)throw Error(`Arrays must have the same length`)}return e},null)??0;return Array.from({length:t},(t,n)=>Object.fromEntries(Object.keys(e).map(t=>[t,Array.isArray(e[t])?e[t][n]:e[t]])))}function gr(e){return e==null?[]:Array.isArray(e)?e:e===`solid`?[]:e===`dashed`?[4,4]:e===`dotted`?[1,3]:e===`dotdash`?[1,3,4,3]:e===`longdash`?[8,4]:e===`twodash`?[2,2,6,2]:e.includes(` `)?e.split(` `).map(e=>+e):e.split(``).map(e=>+(`0x`+e))}var _r={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function vr(e,{unit:t=`mm`}={}){if(!(e instanceof SVGElement))return null;function n(e){let t=e.childNodes.length;for(;t--;){let r=e.childNodes[t];r.nodeType===Node.COMMENT_NODE?e.removeChild(r):r.nodeType===Node.ELEMENT_NODE&&(n(r),r.getAttribute(`style`)==``&&r.removeAttribute(`style`),r.getAttribute(`class`)==``&&r.removeAttribute(`class`))}}let r=e.cloneNode(!0),i=Array.from(e.querySelectorAll(`foreignObject`)),a=Array.from(r.querySelectorAll(`foreignObject`));for(let e=0;e<i.length;e++){let t=i[e],n=a[e],o=i[e].querySelector(`canvas`);if(!o)continue;let s=r.ownerDocument.createElementNS(`http://www.w3.org/2000/svg`,`image`);s.setAttribute(`href`,o.toDataURL()),s.setAttribute(`x`,t.getAttribute(`x`)),s.setAttribute(`y`,t.getAttribute(`y`)),s.setAttribute(`width`,t.getAttribute(`width`)),s.setAttribute(`height`,t.getAttribute(`height`)),n.parentNode.replaceChild(s,n)}for(let e of r.querySelectorAll(`.vvplot-interactive,foreignObject`))e.remove();return n(r),r.setAttribute(`xmlns`,`http://www.w3.org/2000/svg`),r.setAttribute(`xmlns:xlink`,`http://www.w3.org/1999/xlink`),r.setAttribute(`version`,`1.1`),_r[t]||(t=``),r.setAttribute(`width`,e.scrollWidth/_r[t]+t),r.setAttribute(`height`,e.scrollHeight/_r[t]+t),r.setAttribute(`viewBox`,`0 0 ${e.scrollWidth} ${e.scrollHeight}`),new XMLSerializer().serializeToString(r)}var yr={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`}},br={axis:{line_color:`black`,tick_color:`black`,label_color:`black`,title_color:`black`,grid_color:`#eeeeee`}},xr={axis:{line_color:`gray`,tick_color:`gray`,label_color:`gray`,title_color:`gray`,grid_color:`#eeeeee`}},Sr={axis:{tick_color:`black`,label_color:`black`,title_color:`black`,grid_color:`white`},plot:{background:`#eeeeee`}},Cr={axis:{tick_color:`#333333`,label_color:`#555555`,title_color:`black`,grid_color:`#666666`},plot:{background:`#888888`}},wr={axis:{line_color:`black`,tick_color:`black`,label_color:`black`,title_color:`black`,grid_color:`black`,grid_width:.5,grid_width_major:1}},Tr={axis:{line_color:`black`,tick_color:`black`,label_color:`black`,title_color:`black`,grid_color:null}},Er={axis:null};function Dr(...e){return e.reduce((e,t)=>{for(let n in t)e[n]=t[n]===null?null:rr(e[n],t[n]);return e??void 0},{})}function Or(e,t=!1){let{axis_h:n,axis_v:r,axis_x:i,axis_y:a,plot:{margin_x:o,margin_y:s,margin_h:c,margin_v:l,padding_x:u,padding_y:d,padding_h:f,padding_v:p,...m}={},...h}=e;return t?(n=rr(n,a),r=rr(r,i),m.margin_h=s===void 0?c:s,m.margin_v=o===void 0?l:o,m.padding_h=d===void 0?f:d,m.padding_v=u===void 0?p:u):(n=rr(n,i),r=rr(r,a),m.margin_h=o===void 0?c:o,m.margin_v=s===void 0?l:s,m.padding_h=u===void 0?f:u,m.padding_v=d===void 0?p:d),{axis_h:n,axis_v:r,plot:m,...h}}function kr(e){return{axis:{h:rr(...[`axis`,`axis_h`].map(t=>e?.[t])),v:rr(...[`axis`,`axis_v`].map(t=>e?.[t])),left:rr(...[`axis`,`axis_v`,`axis_left`].map(t=>e?.[t])),right:rr(...[`axis`,`axis_v`,`axis_right`].map(t=>e?.[t])),top:rr(...[`axis`,`axis_h`,`axis_top`].map(t=>e?.[t])),bottom:rr(...[`axis`,`axis_h`,`axis_bottom`].map(t=>e?.[t]))},plot:{margin:{left:[`margin`,`margin_h`,`margin_left`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0,right:[`margin`,`margin_h`,`margin_right`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0,top:[`margin`,`margin_v`,`margin_top`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0,bottom:[`margin`,`margin_v`,`margin_bottom`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0},padding:{left:[`padding`,`padding_h`,`padding_left`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0,right:[`padding`,`padding_h`,`padding_right`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0,top:[`padding`,`padding_v`,`padding_top`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0,bottom:[`padding`,`padding_v`,`padding_bottom`].map(t=>e?.plot?.[t]).findLast(e=>e!==void 0)??0},background:e?.plot?.background},selection:e?.selection??{},legend:{spacing:e?.legend?.spacing??0}}}var Ar={base:yr,default:br,light:xr,classic:Tr,gray:Sr,dark:Cr,linedraw:wr,void:Er},jr={scale_attrs:[],coord_scale(e,t){return null},get_range(e,t){if(t==`x`)return e.x??[];if(t==`y`)return e.y??[]},validate(e){return null}},{sum:Z,coalesce:Mr}=Y,Nr={scale_attrs:[`fill`,`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=Mr(e.xnudge,0),r=Mr(e.ynudge,0);if(e.x){let i=Z(t.x?.apply?.(e.x)??e.x,n),a=Z(i,e.width?.map?.(e=>-e/2)??-.5),o=Z(i,e.width?.map?.(e=>e/2)??.5);return{x:i,xmin:a,xmax:o,lwisker:Z(e.lwisker,r),Q1:Z(e.Q1,r),median:Z(e.median,r),Q3:Z(e.Q3,r),uwisker:Z(e.uwisker,r),outliers:Y.apply((e,{y:t,$raw:n},r)=>Z(t,r).map((t,r)=>({x:e,y:t,$raw:n[r]})),i,e.outliers??[],r),$xmin:a,$xmax:o,$ymin:Z(e.min,r),$ymax:Z(e.max,r)}}if(e.y){let i=Z(t.y?.apply?.(e.y)??e.y,r),a=Z(i,e.height?.map?.(e=>-e/2)??-.5),o=Z(i,e.height?.map?.(e=>e/2)??.5);return{y:i,ymin:a,ymax:o,lwisker:Z(e.lwisker,n),Q1:Z(e.Q1,n),median:Z(e.median,n),Q3:Z(e.Q3,n),uwisker:Z(e.uwisker,n),outliers:Y.apply((e,{x:t,$raw:n},r)=>Z(t,r).map((t,r)=>({x:t,y:e,$raw:n[r]})),i,e.outliers??[],n),$xmin:Z(e.min,n),$xmax:Z(e.max,n),$ymin:a,$ymax:o}}return{}},get_range(e,t){if(t==`x`)return e.x||(e.min??[]).concat(e.max??[]);if(t==`y`)return e.y||(e.min??[]).concat(e.max??[])},validate(e){return[e.$xmin,e.$xmax,e.$ymin,e.$ymax].some(e=>isNaN(e))?null:e}},Pr={scale_attrs:[`fill`,`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=e.xnudge?.map(e=>+e),r=e.ynudge?.map(e=>+e);return{points:e.points.map((e,i)=>e.map(e=>({x:+(t?.x?.[e.x]??e.x)+(n?.[i]??0),y:+(t?.y?.[e.y]??e.y)+(r?.[i]??0)})))}},get_range(e,t){if(t==`x`)return(e.points??[]).flatMap(e=>e.map(e=>e.x));if(t==`y`)return(e.points??[]).flatMap(e=>e.map(e=>e.y))},validate(e){return Array.isArray(e.points)?e:null}},{sum:Fr,coalesce:Ir}=Y,Lr={scale_attrs:[`fill`,`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let{A:n,B:r,C:i}=e,a=Ir(e.xnudge,0),o=Ir(e.ynudge,0);return{cx:Fr(t.x?.apply?.(e.cx)??e.cx,a),cy:Fr(t.y?.apply?.(e.cy)??e.cy,o),A:n,B:r,C:i}},get_range(e,t){if(t==`x`){let t=Y.apply((e,t,n)=>Math.sqrt(n/(e*n-t*t)),e.A??[],e.B??[],e.C??[]);return Fr(e.cx??[],t).concat(Fr(e.cx??[],Y.opposite(t))??[])}if(t==`y`){let t=Y.apply((e,t,n)=>Math.sqrt(e/(e*n-t*t)),e.A??[],e.B??[],e.C??[]);return Fr(e.cy??[],t).concat(Fr(e.cy??[],Y.opposite(t))??[])}},validate(e){return isNaN(e.cx)||isNaN(e.cy)||isNaN(e.A)||isNaN(e.B)||isNaN(e.C)||!(e.A*e.C>e.B*e.B)?null:e}},{sum:Rr,coalesce:zr}=Y,Br={scale_attrs:[`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=zr(e.xnudge,0),r=zr(e.ynudge,0);return{x:Rr(t.x?.apply?.(e.x)??e.x,n),y:Rr(t.y?.apply?.(e.y)??e.y,r),xend:Rr(t.x?.apply?.(e.xend)??e.xend,n),yend:Rr(t.y?.apply?.(e.yend)??e.yend,r)}},get_range(e,t){if(t==`x`)return(e.x??[]).concat(e.xend??[]);if(t==`y`)return(e.y??[]).concat(e.yend??[])},validate(e){return isNaN(e.x)||isNaN(e.y)||isNaN(e.xend)||isNaN(e.yend)?null:e}},{sum:Vr,coalesce:Hr}=Y,Ur={scale_attrs:[`size`,`color`,`stroke`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=Hr(e.xnudge,0),r=Hr(e.ynudge,0);return{x:Vr(t.x?.apply?.(e.x)??e.x,n),y:Vr(t.y?.apply?.(e.y)??e.y,r)}},get_range(e,t){if(t==`x`)return e.x??[];if(t==`y`)return e.y??[]},validate(e){return isNaN(e.x)||isNaN(e.y)?null:e}},{sum:Wr,coalesce:Gr}=Y,Kr={scale_attrs:[`size`,`color`,`stroke`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=Gr(e.xnudge,0),r=Gr(e.ynudge,0);return{x:Wr(t.x?.apply?.(e.x)??e.x,n),y:Wr(t.y?.apply?.(e.y)??e.y,r),xend:Wr(t.x?.apply?.(e.xend)??e.xend,n),yend:Wr(t.y?.apply?.(e.yend)??e.yend,r)}},get_range(e,t){if(t==`x`)return(e.x??[]).concat(e.xend??[]);if(t==`y`)return(e.y??[]).concat(e.yend??[])},validate(e){return isNaN(e.x)||isNaN(e.xend)||isNaN(e.y)||isNaN(e.yend)?null:e}},{sum:qr,coalesce:Jr}=Y,Yr={scale_attrs:[`shape`,`size`,`color`,`stroke`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=Jr(e.xnudge,0),r=Jr(e.ynudge,0);return{x:qr(t.x?.apply?.(e.x)??e.x,n),y:qr(t.y?.apply?.(e.y)??e.y,r)}},get_range(e,t){if(t==`x`)return e.x??[];if(t==`y`)return e.y??[]},validate(e){return isNaN(e.x)||isNaN(e.y)?null:e}},Xr={scale_attrs:[`fill`,`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=e.xnudge?.map(e=>+e),r=e.ynudge?.map(e=>+e);return{points:e.points.map((e,i)=>e.map(e=>({x:+(t?.x?.[e.x]??e.x)+(n?.[i]??0),y:+(t?.y?.[e.y]??e.y)+(r?.[i]??0)})))}},get_range(e,t){if(t==`x`)return(e.points??[]).flatMap(e=>e.map(e=>e.x));if(t==`y`)return(e.points??[]).flatMap(e=>e.map(e=>e.y))},validate(e){return Array.isArray(e.points)?e:null}},{sum:Zr,coalesce:Qr}=Y,$r={scale_attrs:[`fill`,`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=Qr(e.xnudge,0),r=Qr(e.ynudge,0);return{xmin:Zr(t.x?.apply?.(e.xmin)??e.xmin,n),xmax:Zr(t.x?.apply?.(e.xmax)??e.xmax,n),ymin:Zr(t.y?.apply?.(e.ymin)??e.ymin,r),ymax:Zr(t.y?.apply?.(e.ymax)??e.ymax,r)}},get_range(e,t){if(t==`x`)return(e.xmin??[]).concat(e.xmax??[]);if(t==`y`)return(e.ymin??[]).concat(e.ymax??[])},validate(e){return isNaN(e.xmin)||isNaN(e.ymin)||isNaN(e.xmax)||isNaN(e.ymax)?null:e}},ei={scale_attrs:[`fill`,`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=t.x?.apply?.(e.x)??e.x,r=t.y?.apply?.(e.y)??e.y,i=e.xnudge?.map(e=>+e),a=e.ynudge?.map(e=>+e);return{points:e.points.map((e,o)=>e.map(e=>({x:+(t?.x?.[e.x]??e.x)+(i?.[o]??0)+n[o],y:+(t?.y?.[e.y]??e.y)+(a?.[o]??0)+r[o]})))}},get_values(e,t){if(t==`x`)return e.x;if(t==`y`)return e.y},get_range(e,t){if(t==`x`)return(e.points??[]).flatMap((t,n)=>t.map(t=>t.x+e.x[n]));if(t==`y`)return(e.points??[]).flatMap((t,n)=>t.map(t=>t.y+e.y[n]))},validate(e){return Array.isArray(e.points)?e:null}},{sum:ti,coalesce:ni}=Y,ri={scale_attrs:[`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=ni(e.xnudge,0),r=ni(e.ynudge,0),i=ti(t.x?.apply?.(e.x)??e.x,n),a=ti(t.y?.apply?.(e.y)??e.y,r);return{x:i,y:a,xend:ti(i,e.dx),yend:ti(a,e.dy)}},get_values(e,t){if(t==`x`)return e.x??[];if(t==`y`)return e.y??[]},get_range(e,t){if(t==`x`)return(e.x??[]).concat(ti(e.x??[],e.dx??0)??[]);if(t==`y`)return(e.y??[]).concat(ti(e.y??[],e.dy??0)??[])},validate(e){return isNaN(e.x)||isNaN(e.y)||isNaN(e.xend)||isNaN(e.yend)?null:e}},{sum:ii,coalesce:ai}=Y,oi={scale_attrs:[`size`,`color`,`stroke`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=ai(e.xnudge,0),r=ai(e.ynudge,0);return{x:ii(t.x?.apply?.(e.x)??e.x,n),y:ii(t.y?.apply?.(e.y)??e.y,r)}},get_range(e,t){if(t==`x`)return e.x??[];if(t==`y`)return e.y??[]},validate(e){return isNaN(e.x)||isNaN(e.y)?null:e}},{sum:si,coalesce:ci}=Y,li={scale_attrs:[`size`,`color`,`stroke`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=ci(e.xnudge,0),r=ci(e.ynudge,0);return{x:si(t.x?.apply?.(e.x)??e.x,n),y:si(t.y?.apply?.(e.y)??e.y,r),xend:si(t.x?.apply?.(e.xend)??e.xend,n),yend:si(t.y?.apply?.(e.yend)??e.yend,r)}},get_range(e,t){if(t==`x`)return(e.x??[]).concat(e.xend??[]);if(t==`y`)return(e.y??[]).concat(e.yend??[])},validate(e){return isNaN(e.x)||isNaN(e.xend)||isNaN(e.y)||isNaN(e.yend)?null:e}},{sum:ui,coalesce:di}=Y,fi={scale_attrs:[`fill`,`color`,`linewidth`,`linetype`,`alpha`],coord_scale(e,t){let n=di(e.xnudge,0),r=di(e.ynudge,0),i=t.x?.apply?.(e.x)??e.x,a=t.y?.apply?.(e.y)??e.y;return{xmin:ui(i,e.width?.map?.(e=>-e/2)??-.5,n),xmax:ui(i,e.width?.map?.(e=>e/2)??.5,n),ymin:ui(a,e.height?.map?.(e=>-e/2)??-.5,r),ymax:ui(a,e.height?.map?.(e=>e/2)??.5,r)}},get_values(e,t){if(t==`x`)return e.x;if(t==`y`)return e.y},get_range(e,t){if(t==`x`){let t=Y.apply((e,t)=>+e-t/2,e.x??[],e.width??[]),n=Y.apply((e,t)=>+e+t/2,e.x??[],e.width??[]);return t.concat(n)}if(t==`y`){let t=Y.apply((e,t)=>+e-t/2,e.y??[],e.height??[]),n=Y.apply((e,t)=>+e+t/2,e.y??[],e.height??[]);return t.concat(n)}},validate(e){return isNaN(e.xmin)||isNaN(e.ymin)||isNaN(e.xmax)||isNaN(e.ymax)?null:e}},pi=/* @__PURE__ */ ue({blank:()=>jr,boxplot:()=>Nr,curve:()=>Pr,ellipse:()=>Lr,line:()=>Br,markdown:()=>Ur,markdownsegment:()=>Kr,point:()=>Yr,polygon:()=>Xr,rect:()=>$r,shape:()=>ei,stick:()=>ri,text:()=>oi,textsegment:()=>li,tile:()=>fi}),mi=Object.assign(function(e,{position:t=`stack`,width:n=.9,height:r=.9}){if(e.x!=null&&e.y!=null)throw Error(`"StatBar" only supports "x" or "y", not both`);let i=e.x?`x`:`y`,a=e[i];if(a==null)throw Error(`Missing aesthetics for "StatBar": "x" or "y"`);if(a.some(e=>typeof e==`number`))throw Error(`"StatBar" requires a discrete aesthetic`);let o=Object.keys(e).filter(e=>!e.startsWith(`$`)),s=mr(Object.fromEntries(o.map(t=>[t,e[t]]))),c=mr({group:s??0,value:a}),l=Map.groupBy(e.$raw,(e,t)=>c.categories[c[t]]),u=Array.from(l.values()),d=Array.from(l.keys()),f=u.map(e=>e.length),p={$raw:u,$group:d.map(e=>e.group),[i]:d.map(e=>e.value)};for(let e of o)p[e]=d.map(e=>e.group).map(t=>s.categories[t][e]);if(i==`x`?(n??=.9,p.height=f):(r??=.9,p.width=f),t==`stack`){let e=Object.groupBy(p.$group,(e,t)=>s.categories[e][i]),t=d.map(e=>0);for(let n in e){let r=0;for(let i of e[n])t[i]=r,r+=f[i]}i==`x`?(p.y=p.height.map((e,n)=>t[n]+e/2),p.width=d.map(e=>n)):(p.x=p.width.map((e,n)=>t[n]+e/2),p.height=d.map(e=>r))}else if(t==`dodge`){let e=Object.groupBy(p.$group,(e,t)=>s.categories[e][i]),t=p.$group.map(t=>e[s.categories[t][i]]);i==`x`?(p.y=p.height.map(e=>e/2),p.width=t.map(e=>n/e.length),p.xnudge=t.map((e,t)=>(p.xnudge?.[t]??0)+((e.indexOf(p.$group[t])+.5)/e.length-.5)*n)):(p.x=p.width.map(e=>e/2),p.height=t.map(e=>r/e.length),p.ynudge=t.map((e,t)=>(p.ynudge?.[t]??0)+((e.indexOf(p.$group[t])+.5)/e.length-.5)*r))}else i==`x`?(p.y=p.height.map(e=>e/2),p.width=d.map(e=>n)):(p.x=p.width.map(e=>e/2),p.height=d.map(e=>r));return p},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),hi=Object.assign(function(e,{position:t=`dodge`,width:n=.9,height:r=.9}){let i=[`x`,`y`].filter(t=>e[t]==null);if(i.length>0)throw Error(`Missing aesthetics for "StatBoxplot": "${i.join(`", "`)}"`);let a=e.x.some(nr),o=e.y.some(nr);if(a&&o)throw Error(`Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic`);if(!a&&!o)throw Error(`Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic`);let[s,c]=a?[`y`,`x`]:[`x`,`y`],l=Object.keys(e).filter(e=>e!=s&&!e.startsWith(`$`)),u=mr(Object.fromEntries(l.map(t=>[t,e[t]]))),d=mr({group:u??0,cate:e[c]}),f=Map.groupBy(d.map((e,t)=>t),(e,t)=>d.categories[d[t]]),p=Array.from(f.keys()),m=Array.from(f.values()).map(t=>t.map(t=>e.$raw[t])),h=Array.from(f.values()).map(t=>t.map(t=>e[s][t])),g=h.map(e=>J.min(e)),_=h.map(e=>J.quantile(e,.25)),v=h.map(e=>J.quantile(e,.5)),y=h.map(e=>J.quantile(e,.75)),b=h.map(e=>J.max(e)),x=h.map((e,t)=>y[t]-_[t]),S=h.map((e,t)=>Math.max(g[t],_[t]-1.5*x[t])),C=h.map((e,t)=>Math.min(b[t],y[t]+1.5*x[t])),w=Array.from(f.values()).map((t,n)=>{let r=t.filter(t=>e[s][t]<S[n]||e[s][t]>C[n]);return{[s]:r.map(t=>e[s][t]),$raw:r.map(t=>e.$raw[t])}}),T={$raw:m,$group:p.map(e=>e.group),min:g,lwisker:S,Q1:_,median:v,Q3:y,uwisker:C,max:b,outliers:w};if(t==`dodge`){let e=Object.groupBy(T.$group,(e,t)=>u.categories[e][c]),t=T.$group.map(t=>e[u.categories[t][c]]);a?(T.width=t.map(e=>n/e.length),T.xnudge=t.map((e,t)=>(T.xnudge?.[t]??0)+((e.indexOf(T.$group[t])+.5)/e.length-.5)*n)):(T.height=t.map(e=>r/e.length),T.ynudge=t.map((e,t)=>(T.ynudge?.[t]??0)+((e.indexOf(T.$group[t])+.5)/e.length-.5)*r))}else a?T.width=p.map(e=>n):T.height=p.map(e=>r);for(let e of l)T[e]=p.map(e=>e.group).map(t=>u.categories[t][e]);return T},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),gi=Object.assign(function(e,{position:t=`stack`,width:n,height:r,orientation:i=`x`}){let a=[`x`,`y`].filter(t=>e[t]==null);if(a.length>0)throw Error(`Missing aesthetics for "StatCol": "${a.join(`", "`)}"`);let o=e.x.some(nr),s=e.y.some(nr);if(o&&s)throw Error(`Both "x" and "y" are discrete, "StatCol" requires at most one discrete aesthetic`);let c=o==s?i==`y`?`y`:`x`:o?`x`:`y`,l=c==`x`?`y`:`x`,u=Object.keys(e).filter(e=>e!=l&&!e.startsWith(`$`)),d=mr(Object.fromEntries(u.map(t=>[t,e[t]]))),f=mr({group:d??0,cate:e[c]}),p=Map.groupBy(f.map((e,t)=>t),(e,t)=>f.categories[f[t]]),m=Map.groupBy(e.$raw,(e,t)=>f.categories[f[t]]),h=Array.from(m.keys()),g=Array.from(p.values()).map(t=>t.map(t=>e.$raw[t])),_=Array.from(p.values()).map(t=>J.sum(t.map(t=>e[l][t]))),v={$raw:g,$group:h.map(e=>e.group),[c]:h.map(e=>e.value)};for(let e of u)v[e]=h.map(e=>e.group).map(t=>d.categories[t][e]);if(c==`x`?(n??=o?.9:J.min(J.diff(Array.from(new Set(e[c])).sort((e,t)=>e-t)))*.9,v.height=_):(r??=s?.9:J.min(J.diff(Array.from(new Set(e[c])).sort((e,t)=>e-t)))*.9,v.width=_),t==`stack`){let e=Object.groupBy(v.$group,(e,t)=>d.categories[e][c]),t=h.map(e=>0);for(let n in e){let r=0;for(let i of e[n])t[i]=r,r+=_[i]}c==`x`?(v.y=v.height.map((e,n)=>t[n]+e/2),v.width=h.map(e=>n)):(v.x=v.width.map((e,n)=>t[n]+e/2),v.height=h.map(e=>r))}else if(t==`dodge`){let e=Object.groupBy(v.$group,(e,t)=>d.categories[e][c]),t=v.$group.map(t=>e[d.categories[t][c]]);c==`x`?(v.y=v.height.map(e=>e/2),v.width=t.map(e=>n/e.length),v.xnudge=t.map((e,t)=>(v.xnudge?.[t]??0)+((e.indexOf(v.$group[t])+.5)/e.length-.5)*n)):(v.x=v.width.map(e=>e/2),v.height=t.map(e=>r/e.length),v.ynudge=t.map((e,t)=>(v.ynudge?.[t]??0)+((e.indexOf(v.$group[t])+.5)/e.length-.5)*r))}else c==`x`?(v.y=v.height.map(e=>e/2),v.width=h.map(e=>n)):(v.x=v.width.map(e=>e/2),v.height=h.map(e=>r));return v},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),_i=Object.assign(function(e){if(e.points!=null)return e;let t=[`x`,`y`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatCurve": "${t.join(`", "`)}" or "points"`);let n=Object.keys(e).filter(e=>![`x`,`y`].includes(e)&&!e.startsWith(`$`)),r=mr(Object.fromEntries(n.map(t=>[t,e[t]]))),i=mr({group:r??Array(e.x.length).fill(0)}).map((e,t,n)=>n.categories[e]),a=Map.groupBy(e.$raw,(e,t)=>i[t]),o=Array.from(a.values()),s=Array.from(a.keys()),c={$raw:o,points:Array.from(Map.groupBy(hr({x:e.x,y:e.y}),(e,t)=>i[t]).values())};for(let e of n)c[e]=s.map(e=>e.group).map(t=>r.categories[t][e]);return c},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),vi=Object.assign(function(e,{n:t=512,kernel:n=`gaussian`,scale:r=`area`}={}){if(e.x!=null&&e.y!=null)throw Error(`"StatDensity" only supports "x" or "y", not both`);let i=e.x??e.y;if(i==null)throw Error(`Missing aesthetics for "StatDensity": "x" or "y"`);if(i.some(e=>typeof e!=`number`))throw Error(`"StatDensity" requires a continuous aesthetic`);if(n=bi[n],!n)throw Error(`kernel must be one of ${Object.keys(bi).map(e=>`"${e}"`).join(`, `)}`);let a=Object.keys(e).filter(e=>![`x`,`y`].includes(e)&&!e.startsWith(`$`)),o=mr(Object.fromEntries(a.map(t=>[t,e[t]]))),s=mr({group:o??Array(i.length).fill(0)}).map((e,t,n)=>n.categories[e]),c=Map.groupBy(e.$raw,(e,t)=>s[t]),l=Array.from(c.values()),u=Array.from(c.keys()),d=Array.from(Map.groupBy(i,(e,t)=>s[t]).values()),f={$raw:l,$group:u.map(e=>e.group)},p=d.map(e=>{let i=yi.nrd0(e),{min:a,max:o}=J.extent(e);a-=3*i,o+=3*i;let s=(o-a)/(t-1),c=Array.from({length:t},(e,t)=>a+t*s),l=r===`count`?e.length:1;return c.map(t=>[t,J.mean(e.map(e=>n((t-e)/i)))/i*l])});for(let e of a)f[e]=u.map(t=>o.categories[t.group][e]);return f.points=e.x?p.map(e=>e.map(([e,t])=>({x:e,y:t}))):p.map(e=>e.map(([e,t])=>({x:t,y:e}))),f},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),yi={nrd0:function(e){e=e.filter(e=>(typeof e==`number`||e instanceof Date)&&isFinite(e));let t=J.sd(e),n=J.quantile(e,.75)-J.quantile(e,.25);return .9*(Math.min(t,n/1.34)||1)*e.length**-.2},nrd:function(e){e=e.filter(e=>(typeof e==`number`||e instanceof Date)&&isFinite(e));let t=J.sd(e),n=J.quantile(e,.75)-J.quantile(e,.25);return 1.06*(Math.min(t,n/1.34)||1)*e.length**-.2}},bi={uniform:e=>Math.abs(e)<=1?.5:0,triangular:e=>Math.abs(e)<=1?1-Math.abs(e):0,epanechnikov:e=>Math.abs(e)<=1?.75*(1-e**2):0,biweight:e=>Math.abs(e)<=1?15/16*(1-e**2)**2:0,triweight:e=>Math.abs(e)<=1?35/32*(1-e**2)**3:0,tricube:e=>Math.abs(e)<=1?70/81*(1-Math.abs(e)**3)**3:0,gaussian:e=>Math.exp(-.5*e**2)/Math.sqrt(2*Math.PI),cosine:e=>Math.abs(e)<=1?Math.PI/4*Math.cos(Math.PI/2*e):0,logistic:e=>1/Math.cosh(e)**2/Math.PI,sigmoid:e=>2/(Math.exp(e)+Math.exp(-e))**2/Math.PI},xi=Object.assign(function(e,{CI:t=.95}={}){let n=[`x`,`y`].filter(t=>e[t]==null);if(n.length>0)throw Error(`Missing aesthetics for "StatEllipse": "${n.join(`", "`)}" or "points"`);let r=Object.keys(e).filter(e=>![`x`,`y`].includes(e)&&!e.startsWith(`$`)),i=mr(Object.fromEntries(r.map(t=>[t,e[t]]))),a=mr({group:i??Array(e.x.length).fill(0)}).map((e,t,n)=>n.categories[e]),o=Map.groupBy(e.$raw,(e,t)=>a[t]),s=Array.from(o.values()),c=Array.from(o.keys()),l=-2*Math.log(1-t),u=Array.from(Map.groupBy(hr({x:e.x,y:e.y}),(e,t)=>a[t]).values()).map(e=>{let t=e.length,n=e.reduce((e,t)=>e+t.x,0)/t,r=e.reduce((e,t)=>e+t.y,0)/t;if(t<2)return{};let i=e.reduce((e,t)=>e+(t.x-n)**2,0)/(t-1),a=e.reduce((e,t)=>e+(t.x-n)*(t.y-r),0)/(t-1),o=e.reduce((e,t)=>e+(t.y-r)**2,0)/(t-1),s=(i*o-a*a)*l;return{cx:n,cy:r,A:o/s,B:-a/s,C:i/s}}),d={$raw:s,cx:u.map(e=>e.cx??0),cy:u.map(e=>e.cy??0),A:u.map(e=>e.A??0),B:u.map(e=>e.B??0),C:u.map(e=>e.C??0)};for(let e of r)d[e]=c.map(e=>e.group).map(t=>i.categories[t][e]);return d},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),Si=Object.assign(function(e,{bins:t=30,binwidth:n,breaks:r}={}){if(e.x!=null&&e.y!=null)throw Error(`"StatHistogram" only supports "x" or "y", not both`);let i=e.x??e.y;if(i==null)throw Error(`Missing aesthetics for "StatHistogram": "x" or "y"`);if(i.some(e=>typeof e!=`number`))throw Error(`"StatHistogram" requires a continuous aesthetic`);if(r)r.sort((e,t)=>e-t);else{let{min:e,max:a}=J.extent(i);n||=(a-e)/(t-1),r=Array.from({length:t+1},(t,r)=>e+(r-.5)*n)}t=r.length-1;let a=Object.keys(e).filter(e=>![`x`,`y`].includes(e)&&!e.startsWith(`$`)),o=mr(Object.fromEntries(a.map(t=>[t,e[t]]))),s=mr({group:o??Array(i.length).fill(0),upper:i.map(e=>r.findLast(t=>t<=e)??r[0]),lower:i.map(e=>r.find(t=>t>e)??r[t])}).map((e,t,n)=>n.categories[e]),c=Map.groupBy(e.$raw,(e,t)=>s[t]),l=Array.from(c.values()),u=Array.from(c.keys()),d={$raw:l,count:l.map(e=>e.length),$group:u.map(e=>e.group),upper:u.map(e=>e.upper),lower:u.map(e=>e.lower)};for(let e of a)d[e]=u.map(t=>o.categories[t.group][e]);return e.x?(({upper:e,lower:t,count:n,ymin:r=l.map(()=>0),...i})=>({xmin:e,xmax:t,ymin:r,ymax:n,...i}))(d):(({upper:e,lower:t,count:n,xmin:r=l.map(()=>0),...i})=>({xmin:r,xmax:n,ymin:e,ymax:t,...i}))(d)},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),Ci=Object.assign(function(e){return e},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),wi=Object.assign(function(e,{orientation:t=`x`}={}){let n=[`x`,`y`].filter(t=>e[t]==null);if(n.length>0)throw Error(`Missing aesthetics for "StatLine": "${n.join(`", "`)}"`);let r=e.group??Array(e.x.length).fill(null),i=Object.values(r.reduce((e,t,n)=>(e[t]??=[],e[t].push(n),e),{})).map(n=>n.map((n,r)=>[e[t][n],r]).sort((e,t)=>e[0]-t[0]).map((e,t)=>n[e[1]])),a=i.map(e=>e.slice(0,-1).concat(NaN)).reduce((e,t)=>e.concat(t),[]).filter(e=>!isNaN(e)),o=i.map(e=>e.slice(1).concat(NaN)).reduce((e,t)=>e.concat(t),[]).filter(e=>!isNaN(e)),s={};for(let t in e)s[t]=a.map(n=>e[t][n]);return s.xend=o.map(t=>e.x[t]),s.yend=o.map(t=>e.y[t]),s},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),Ti=Object.assign(function(e){if(e.x!=null){let t=[`x`,`ymin`,`ymax`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatLinerange": "${t.join(`", "`)}"`);return(({x:e,ymin:t,ymax:n,...r})=>({x:e,xend:e,y:t,yend:n,...r}))(e)}if(e.y!=null){let t=[`y`,`xmin`,`xmax`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatLinerange": "${t.join(`", "`)}"`);return(({y:e,xmin:t,xmax:n,...r})=>({y:e,yend:e,x:t,xend:n,...r}))(e)}throw Error(`Missing aesthetics for "StatLinerange": x,ymin,ymax or y,xmin,xmax`)},{core_attrs:[`x`,`y`,`xmin`,`xmax`,`ymin`,`ymax`,`xnudge`,`ynudge`]}),Ei=Object.assign(function(e){let t=[`x`,`y`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatPath": "${t.join(`", "`)}"`);let n=e.group??Array(e.x.length).fill(null),r=Object.values(n.reduce((e,t,n)=>(e[t]??=[],e[t].push(n),e),{})).map(e=>e.map((t,n)=>e[n])),i=r.map(e=>e.slice(0,-1).concat(NaN)).reduce((e,t)=>e.concat(t),[]).filter(e=>!isNaN(e)),a=r.map(e=>e.slice(1).concat(NaN)).reduce((e,t)=>e.concat(t),[]).filter(e=>!isNaN(e)),o={};for(let t in e)o[t]=i.map(n=>e[t][n]);return o.xend=a.map(t=>e.x[t]),o.yend=a.map(t=>e.y[t]),o},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),Di=Object.assign(function(e){let t=[`x`,`y`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatPoint": "${t.join(`", "`)}"`);return e},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),Oi=Object.assign(function(e){if(e.points!=null)return e;let t=[`x`,`y`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatPolygon": "${t.join(`", "`)}" or "points"`);let n=Object.keys(e).filter(e=>![`x`,`y`].includes(e)&&!e.startsWith(`$`)),r=mr(Object.fromEntries(n.map(t=>[t,e[t]]))),i=mr({group:r??Array(e.x.length).fill(0)}).map((e,t,n)=>n.categories[e]),a=Map.groupBy(e.$raw,(e,t)=>i[t]),o=Array.from(a.values()),s=Array.from(a.keys()),c={$raw:o,points:Array.from(Map.groupBy(hr({x:e.x,y:e.y}),(e,t)=>i[t]).values())};for(let e of n)c[e]=s.map(e=>e.group).map(t=>r.categories[t][e]);return c},{core_attrs:[`points`,`xnudge`,`ynudge`]}),ki=Object.assign(function(e){let t=[`xmin`,`xmax`,`ymin`,`ymax`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatRect": "${t.join(`", "`)}"`);return e},{core_attrs:[`xmin`,`xmax`,`ymin`,`ymax`,`xnudge`,`ynudge`]}),Ai=Object.assign(function(e){e.xend??=e.x,e.yend??=e.y;let t=[`x`,`y`,`xend`,`yend`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatSegment": "${t.join(`", "`)}"`);return e},{core_attrs:[`x`,`y`,`xend`,`yend`,`xnudge`,`ynudge`]}),ji=Object.assign(function(e){let t=[`x`,`y`,`points`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatShape": "${t.join(`", "`)}"`);return e},{core_attrs:[`x`,`y`,`points`,`xnudge`,`ynudge`]}),Mi=Object.assign(function(e){e.dx??=Array(e.x.length).fill(0),e.dy??=Array(e.y.length).fill(0);let t=[`x`,`y`,`dx`,`dy`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatStick": "${t.join(`", "`)}"`);return e},{core_attrs:[`x`,`y`,`dx`,`dy`,`xnudge`,`ynudge`]}),Ni=Object.assign(function(e){let t=[`x`,`y`,`label`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatText": "${t.join(`", "`)}"`);return e},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`,`label`,`text-length`]}),Pi=Object.assign(function(e){e.xend??=e.x,e.yend??=e.y;let t=[`x`,`y`,`xend`,`yend`,`label`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatTextsegment": "${t.join(`", "`)}"`);return e},{core_attrs:[`x`,`y`,`xend`,`yend`,`xnudge`,`ynudge`,`label`]}),Fi=Object.assign(function(e){e.width==null&&e.x.some(e=>typeof e==`string`)&&(e.width=Array(e.x.length).fill(1)),e.height==null&&e.y.some(e=>typeof e==`string`)&&(e.height=Array(e.y.length).fill(1));let t=[`x`,`y`,`width`,`height`].filter(t=>e[t]==null);if(t.length>0)throw Error(`Missing aesthetics for "StatTile": "${t.join(`", "`)}"`);return e},{core_attrs:[`x`,`y`,`width`,`height`,`xnudge`,`ynudge`]}),Ii=Object.assign(function(e,{n:t=512,kernel:n=`gaussian`,scale:r=`width`,position:i=`dodge`,width:a=.9,height:o=.9}={}){let s=[`x`,`y`].filter(t=>e[t]==null);if(s.length>0)throw Error(`Missing aesthetics for "StatViolin": "${s.join(`", "`)}"`);let c=e.x.some(nr),l=e.y.some(nr);if(c&&l)throw Error(`Both "x" and "y" are discrete, "StatViolin" requires one continuous and one discrete aesthetic`);if(!c&&!l)throw Error(`Both "x" and "y" are continuous, "StatViolin" requires one continuous and one discrete aesthetic`);if(n=Ri[n],!n)throw Error(`kernel must be one of ${Object.keys(Ri).map(e=>`"${e}"`).join(`, `)}`);let[u,d,f]=c?[`y`,`x`,a]:[`x`,`y`,o],p=e[u],m=Object.keys(e).filter(e=>e!=u&&!e.startsWith(`$`)),h=mr(Object.fromEntries(m.map(t=>[t,e[t]]))),g=mr({group:h??Array(p.length).fill(0)}).map((e,t,n)=>n.categories[e]),_=Map.groupBy(e.$raw,(e,t)=>g[t]),v=Array.from(_.values()),y=Array.from(_.keys()),b=Array.from(Map.groupBy(p,(e,t)=>g[t]).values()),x={$raw:v,$group:y.map(e=>e.group),[u]:y.map(e=>0)},S=b.map(e=>{let i=Li.nrd0(e),{min:a,max:o}=J.extent(e);a-=3*i,o+=3*i;let s=(o-a)/(t-1),c=Array.from({length:t},(e,t)=>a+t*s),l=c.map(t=>J.mean(e.map(e=>n((t-e)/i)))/i),u=r==`area`?1:1/J.max(l);return c.map((e,t)=>[e,l[t]*u/2])});for(let e of m)x[e]=y.map(t=>h.categories[t.group][e]);if(i==`dodge`){let e=Object.groupBy(x.$group,(e,t)=>h.categories[e][d]),t=x.$group.map(t=>e[h.categories[t][d]]);S=t.map((e,t)=>S[t].map(([t,n])=>[t,n*f/e.length])),c?x.xnudge=t.map((e,t)=>(x.xnudge?.[t]??0)+((e.indexOf(x.$group[t])+.5)/e.length-.5)*a):x.ynudge=t.map((e,t)=>(x.ynudge?.[t]??0)+((e.indexOf(x.$group[t])+.5)/e.length-.5)*o)}else S=S.map(e=>e.map(([e,t])=>[e,t*f]));return x.points=c?S.map(e=>e.map(([e,t])=>({x:t,y:e})).concat(e.map(([e,t])=>({x:-t,y:e})).reverse())):S.map(e=>e.map(([e,t])=>({x:e,y:t})).concat(e.map(([e,t])=>({x:e,y:-t})).reverse())),x},{core_attrs:[`x`,`y`,`xnudge`,`ynudge`]}),Li={nrd0:function(e){e=e.filter(e=>(typeof e==`number`||e instanceof Date)&&isFinite(e));let t=J.sd(e),n=J.quantile(e,.75)-J.quantile(e,.25);return .9*(Math.min(t,n/1.34)||1)*e.length**-.2},nrd:function(e){e=e.filter(e=>(typeof e==`number`||e instanceof Date)&&isFinite(e));let t=J.sd(e),n=J.quantile(e,.75)-J.quantile(e,.25);return 1.06*(Math.min(t,n/1.34)||1)*e.length**-.2}},Ri={uniform:e=>Math.abs(e)<=1?.5:0,triangular:e=>Math.abs(e)<=1?1-Math.abs(e):0,epanechnikov:e=>Math.abs(e)<=1?.75*(1-e**2):0,biweight:e=>Math.abs(e)<=1?15/16*(1-e**2)**2:0,triweight:e=>Math.abs(e)<=1?35/32*(1-e**2)**3:0,tricube:e=>Math.abs(e)<=1?70/81*(1-Math.abs(e)**3)**3:0,gaussian:e=>Math.exp(-.5*e**2)/Math.sqrt(2*Math.PI),cosine:e=>Math.abs(e)<=1?Math.PI/4*Math.cos(Math.PI/2*e):0,logistic:e=>1/Math.cosh(e)**2/Math.PI,sigmoid:e=>2/(Math.exp(e)+Math.exp(-e))**2/Math.PI},zi=/* @__PURE__ */ ue({bar:()=>mi,boxplot:()=>hi,col:()=>gi,curve:()=>_i,density:()=>vi,ellipse:()=>xi,histogram:()=>Si,identity:()=>Ci,line:()=>wi,linerange:()=>Ti,path:()=>Ei,point:()=>Di,polygon:()=>Oi,rect:()=>ki,segment:()=>Ai,shape:()=>ji,stick:()=>Mi,text:()=>Ni,textsegment:()=>Pi,tile:()=>Fi,violin:()=>Ii});function Bi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Vi(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Hi(e){let t,n,r;e.length===2?(t=e===Bi||e===Vi?e:Ui,n=e,r=e):(t=Bi,n=(t,n)=>Bi(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function Ui(){return 0}function Wi(e){return e===null?NaN:+e}var Gi=Hi(Bi),Ki=Gi.right;Gi.left,Hi(Wi).center;var qi=Math.sqrt(50),Ji=Math.sqrt(10),Yi=Math.sqrt(2);function Xi(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=qi?10:a>=Ji?5:a>=Yi?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?Xi(e,t,n*2):[s,c,l]}function Zi(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?Xi(t,e,n):Xi(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r){if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o}else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function Qi(e,t,n){return t=+t,e=+e,n=+n,Xi(e,t,n)[2]}function $i(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?Qi(t,e,n):Qi(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function ea(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function ta(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function na(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ra(){}var ia=.7,aa=1/ia,oa=`\\s*([+-]?\\d+)\\s*`,sa=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,ca=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,la=/^#([0-9a-f]{3,8})$/,ua=RegExp(`^rgb\\(${oa},${oa},${oa}\\)$`),da=RegExp(`^rgb\\(${ca},${ca},${ca}\\)$`),fa=RegExp(`^rgba\\(${oa},${oa},${oa},${sa}\\)$`),pa=RegExp(`^rgba\\(${ca},${ca},${ca},${sa}\\)$`),ma=RegExp(`^hsl\\(${sa},${ca},${ca}\\)$`),ha=RegExp(`^hsla\\(${sa},${ca},${ca},${sa}\\)$`),ga={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};ta(ra,xa,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:_a,formatHex:_a,formatHex8:va,formatHsl:ya,formatRgb:ba,toString:ba});function _a(){return this.rgb().formatHex()}function va(){return this.rgb().formatHex8()}function ya(){return Pa(this).formatHsl()}function ba(){return this.rgb().formatRgb()}function xa(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=la.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Sa(t):n===3?new Ea(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Ca(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Ca(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=ua.exec(e))?new Ea(t[1],t[2],t[3],1):(t=da.exec(e))?new Ea(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=fa.exec(e))?Ca(t[1],t[2],t[3],t[4]):(t=pa.exec(e))?Ca(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=ma.exec(e))?Na(t[1],t[2]/100,t[3]/100,1):(t=ha.exec(e))?Na(t[1],t[2]/100,t[3]/100,t[4]):ga.hasOwnProperty(e)?Sa(ga[e]):e===`transparent`?new Ea(NaN,NaN,NaN,0):null}function Sa(e){return new Ea(e>>16&255,e>>8&255,e&255,1)}function Ca(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ea(e,t,n,r)}function wa(e){return e instanceof ra||(e=xa(e)),e?(e=e.rgb(),new Ea(e.r,e.g,e.b,e.opacity)):new Ea}function Ta(e,t,n,r){return arguments.length===1?wa(e):new Ea(e,t,n,r??1)}function Ea(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ta(Ea,Ta,na(ra,{brighter(e){return e=e==null?aa:aa**+e,new Ea(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?ia:ia**+e,new Ea(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ea(ja(this.r),ja(this.g),ja(this.b),Aa(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:Da,formatHex:Da,formatHex8:Oa,formatRgb:ka,toString:ka}));function Da(){return`#${Ma(this.r)}${Ma(this.g)}${Ma(this.b)}`}function Oa(){return`#${Ma(this.r)}${Ma(this.g)}${Ma(this.b)}${Ma((isNaN(this.opacity)?1:this.opacity)*255)}`}function ka(){let e=Aa(this.opacity);return`${e===1?`rgb(`:`rgba(`}${ja(this.r)}, ${ja(this.g)}, ${ja(this.b)}${e===1?`)`:`, ${e})`}`}function Aa(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ja(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ma(e){return e=ja(e),(e<16?`0`:``)+e.toString(16)}function Na(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ia(e,t,n,r)}function Pa(e){if(e instanceof Ia)return new Ia(e.h,e.s,e.l,e.opacity);if(e instanceof ra||(e=xa(e)),!e)return new Ia;if(e instanceof Ia)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new Ia(o,s,c,e.opacity)}function Fa(e,t,n,r){return arguments.length===1?Pa(e):new Ia(e,t,n,r??1)}function Ia(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ta(Ia,Fa,na(ra,{brighter(e){return e=e==null?aa:aa**+e,new Ia(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?ia:ia**+e,new Ia(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ea(za(e>=240?e-240:e+120,i,r),za(e,i,r),za(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Ia(La(this.h),Ra(this.s),Ra(this.l),Aa(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(){let e=Aa(this.opacity);return`${e===1?`hsl(`:`hsla(`}${La(this.h)}, ${Ra(this.s)*100}%, ${Ra(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function La(e){return e=(e||0)%360,e<0?e+360:e}function Ra(e){return Math.max(0,Math.min(1,e||0))}function za(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var Ba=Math.PI/180,Va=180/Math.PI,Ha=18,Ua=.96422,Wa=1,Ga=.82521,Ka=4/29,qa=6/29,Ja=3*qa*qa,Ya=qa*qa*qa;function Xa(e){if(e instanceof Qa)return new Qa(e.l,e.a,e.b,e.opacity);if(e instanceof ao)return oo(e);e instanceof Ea||(e=wa(e));var t=no(e.r),n=no(e.g),r=no(e.b),i=$a((.2225045*t+.7168786*n+.0606169*r)/Wa),a,o;return t===n&&n===r?a=o=i:(a=$a((.4360747*t+.3850649*n+.1430804*r)/Ua),o=$a((.0139322*t+.0971045*n+.7141733*r)/Ga)),new Qa(116*i-16,500*(a-i),200*(i-o),e.opacity)}function Za(e,t,n,r){return arguments.length===1?Xa(e):new Qa(e,t,n,r??1)}function Qa(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}ta(Qa,Za,na(ra,{brighter(e){return new Qa(this.l+Ha*(e??1),this.a,this.b,this.opacity)},darker(e){return new Qa(this.l-Ha*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=Ua*eo(t),e=Wa*eo(e),n=Ga*eo(n),new Ea(to(3.1338561*t-1.6168667*e-.4906146*n),to(-.9787684*t+1.9161415*e+.033454*n),to(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function $a(e){return e>Ya?e**(1/3):e/Ja+Ka}function eo(e){return e>qa?e*e*e:Ja*(e-Ka)}function to(e){return 255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)}function no(e){return(e/=255)<=.04045?e/12.92:((e+.055)/1.055)**2.4}function ro(e){if(e instanceof ao)return new ao(e.h,e.c,e.l,e.opacity);if(e instanceof Qa||(e=Xa(e)),e.a===0&&e.b===0)return new ao(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Va;return new ao(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function io(e,t,n,r){return arguments.length===1?ro(e):new ao(e,t,n,r??1)}function ao(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function oo(e){if(isNaN(e.h))return new Qa(e.l,0,0,e.opacity);var t=e.h*Ba;return new Qa(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}ta(ao,io,na(ra,{brighter(e){return new ao(this.h,this.c,this.l+Ha*(e??1),this.opacity)},darker(e){return new ao(this.h,this.c,this.l-Ha*(e??1),this.opacity)},rgb(){return oo(this).rgb()}}));var so=e=>()=>e;function co(e,t){return function(n){return e+n*t}}function lo(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function uo(e){return(e=+e)==1?fo:function(t,n){return n-t?lo(t,n,e):so(isNaN(t)?n:t)}}function fo(e,t){var n=t-e;return n?co(e,n):so(isNaN(e)?t:e)}var po=(function e(t){var n=uo(t);function r(e,t){var r=n((e=Ta(e)).r,(t=Ta(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=fo(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function mo(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function ho(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function go(e,t){for(var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o=0;o<r;++o)i[o]=To(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function _o(e,t){var n=/* @__PURE__ */ new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function vo(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function yo(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=To(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var bo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xo=new RegExp(bo.source,`g`);function So(e){return function(){return e}}function Co(e){return function(t){return e(t)+``}}function wo(e,t){var n=bo.lastIndex=xo.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=bo.exec(e))&&(i=xo.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:vo(r,i)})),n=xo.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?Co(c[0].x):So(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function To(e,t){var n=typeof t,r;return t==null||n===`boolean`?so(t):(n===`number`?vo:n===`string`?(r=xa(t))?(t=r,po):wo:t instanceof xa?po:t instanceof Date?_o:ho(t)?mo:Array.isArray(t)?go:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?yo:vo)(e,t)}function Eo(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Do(e,t){var n=fo((e=Za(e)).l,(t=Za(t)).l),r=fo(e.a,t.a),i=fo(e.b,t.b),a=fo(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=i(t),e.opacity=a(t),e+``}}function Oo(e){return function(){return e}}function ko(e){return+e}var Ao=[0,1];function jo(e){return e}function Mo(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Oo(isNaN(t)?NaN:.5)}function No(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function Po(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=Mo(i,r),a=n(o,a)):(r=Mo(r,i),a=n(a,o)),function(e){return a(r(e))}}function Fo(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=Mo(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=Ki(e,t,1,r)-1;return a[n](i[n](t))}}function Io(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Lo(){var e=Ao,t=Ao,n=To,r,i,a,o=jo,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==jo&&(o=No(e[0],e[n-1])),s=n>2?Fo:Po,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),vo))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,ko),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=Eo,u()},d.clamp=function(e){return arguments.length?(o=e?!0:jo,u()):o!==jo},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function Ro(){return Lo()(jo,jo)}function zo(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function Bo(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Vo(e){return e=Bo(Math.abs(e)),e?e[1]:NaN}function Ho(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Uo(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Wo=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Go(e){if(!(t=Wo.exec(e)))throw Error(`invalid format: `+e);var t;return new Ko({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Go.prototype=Ko.prototype;function Ko(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}Ko.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 qo(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(i+1):e}var Jo;function Yo(e,t){var n=Bo(e,t);if(!n)return Jo=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(Jo=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+Bo(e,Math.max(0,t+a-1))[0]}function Xo(e,t){var n=Bo(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var Zo={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:zo,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Xo(e*100,t),r:Xo,s:Yo,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Qo(e){return e}var $o=Array.prototype.map,es=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function ts(e){var t=e.grouping===void 0||e.thousands===void 0?Qo:Ho($o.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?Qo:Uo($o.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=Go(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):Zo[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=Zo[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=qo(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&Jo!==void 0?es[8+Jo/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(Vo(t)/3)))*3,r=10**-n,i=l((e=Go(e),e.type=`f`,e),{suffix:es[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var ns,rs,is;as({thousands:`,`,grouping:[3],currency:[`$`,``]});function as(e){return ns=ts(e),rs=ns.format,is=ns.formatPrefix,ns}function os(e){return Math.max(0,-Vo(Math.abs(e)))}function ss(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Vo(t)/3)))*3-Vo(Math.abs(e)))}function cs(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Vo(t)-Vo(e))+1}function ls(e,t,n,r){var i=$i(e,t,n),a;switch(r=Go(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=ss(i,o))&&(r.precision=a),is(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=cs(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=os(i))&&(r.precision=a-(r.type===`%`)*2)}return rs(r)}function us(e){var t=e.domain;return e.ticks=function(e){var n=t();return Zi(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return ls(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-->0;){if(l=Qi(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function ds(){var e=Ro();return e.copy=function(){return Io(e,ds())},ea.apply(e,arguments),us(e)}var fs={censor:cr,squish(e,{min:t,max:n}){return isFinite(e)?e<t?t:e>n?n:e:e},squish_any:X,squish_infinite:lr,discard(e,{min:t,max:n}){return e<t||e>n?null:e}};function ps(e,{title:t,...n}={}){return Object.assign(function(t){return t.map(e)},{title:t},n)}function ms({values:e={},na_value:t=null,title:n,...r}={}){let i;return i=Array.isArray(e)?function(n){return n.map(n=>e[+n]??t)}:function(n){return n.map(n=>e[n]??t)},Object.assign(i,{title:n},r)}function hs({limits:e,oob:t=cr,range:n=[0,1],na_value:r=null,null_value:i=null,title:a,...o}={}){return Object.assign(function(e){let t=this?.limits?.min??this?.limits?.[0]??e.extent?.[0],a=this?.limits?.max??this?.limits?.[1]??e.extent?.[1],o=a-t,s=n?.min??n[0],c=(n?.max??n[1])-s;return e.map(e=>(e=this.oob(e,{min:t,max:a}),e===null?i:isNaN(e)?r:s+(e-t)/o*c))},{title:a,limits:e,oob:t},o)}function gs({title:e,...t}={}){return Object.assign(function(e){return e.map(e=>+e)},{asis:!0,title:e},t)}function _s({title:e,...t}={}){return Object.assign(function(e){return e.map(e=>String(e??``))},{asis:!0,title:e},t)}function vs({h:e=[15,375],c:t=100,l:n=65,h_start:r=0,alpha:i=1,direction:a=1,limits:o,oob:s=cr,na_value:c=`#7f7f7f`,null_value:l=null,title:u,...d}={}){return Object.assign(function(o){let s=this?.limits?.min??this?.limits?.[0]??o.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??o.extent?.[1],d=u-s,f=e?.min??e[0],p=(e?.max??e[1])-f;return o.map(e=>(e=this.oob(e,{min:s,max:u}),e===null?l:isNaN(e)?c:io(r+f+p*(e-s)/d*a,t,n,i).toString()))},{title:u,limits:o,oob:s},d)}function ys({values:e,na_value:t=`#7f7f7f`,title:n,...r}={}){return ms({values:e,na_value:t,title:n,...r})}function bs({low:e=`#132B43`,high:t=`#56B1F7`,limits:n,oob:r=cr,na_value:i=`#7f7f7f`,null_value:a=null,title:o,...s}={}){return Object.assign(function(n){let r=this?.limits?.min??this?.limits?.[0]??n.extent?.[0],o=this?.limits?.max??this?.limits?.[1]??n.extent?.[1],s=Do(e,t);return n.map(n=>(n=this.oob(n,{min:r,max:o}),n===null?a:isNaN(n)?i:r===o?s(.5):n>o?t:n<r?e:s((n-r)/(o-r))))},{title:o,limits:n,oob:r},s)}function xs({low:e=`#832424`,mid:t=`white`,high:n=`#3A3A98`,midpoint:r=0,limits:i,oob:a=cr,na_value:o=`#7f7f7f`,null_value:s=null,title:c,...l}={}){return Object.assign(function(i){let a=this?.limits?.min??this?.limits?.[0]??i.extent?.[0],c=this?.limits?.max??this?.limits?.[1]??i.extent?.[1],l=r??(a+c)/2,u=Do(e,t),d=Do(t,n);return i.map(e=>(e=this.oob(e,{min:a,max:c}),e===null?s:isNaN(e)?o:e<l?u((e-a)/(l-a)):d((e-l)/(c-l))))},{title:c,limits:i,oob:a},l)}function Ss({colors:e=[],values:t,anchors:n,limits:r,oob:i=cr,na_value:a=`#7f7f7f`,null_value:o=null,title:s,...c}={}){return Object.assign(function(r){let i=this?.limits?.min??this?.limits?.[0]??r.extent?.[0],s=this?.limits?.max??this?.limits?.[1]??r.extent?.[1],c=t??n?.map?.(e=>i+(s-i)*e);c??=Array(e.length).fill(0).map((t,n)=>i+(s-i)*n/(e.length-1)),e=e.filter((e,t)=>!isNaN(c[t])),c=c.filter(e=>!isNaN(e));let l=ds(c,e);return r.map(e=>(e=this.oob(e,{min:i,max:s}),e===null?o:isNaN(e)?a:l(e)))},{title:s,limits:r,oob:i},c)}function Cs({alpha:e,limits:t,oob:n=cr,title:r,...i}={}){let a=vs({alpha:e}),o=bs();return Object.assign(function(e){return e.level==null?o.call(this,e):a.call(this,e)},{title:r,limits:t,oob:n},i)}function ws({discrete:e=vs(),continuous:t=bs(),limits:n,oob:r=cr,title:i,...a}={}){return Object.assign(function(n){return n.level==null?t.call(this,n):e.call(this,n)},{title:i,limits:n,oob:r},a)}function Ts({title:e,...t}={}){let n=[`circle`,`square`,`triangle`,`diamond`,`plus`,`cross`];return Object.assign(function(e){return e.map(e=>n[+e])},{title:e},t)}function Es({title:e,...t}={}){let n=[`solid`,`22`,`42`,`44`,`13`,`1343`,`73`,`2262`,`12223242`,`F282`,`F4448444`,`224282F2`,`F1`];return Object.assign(function(e){return e.map(e=>n[+e])},{title:e},t)}var Ds={identity:({title:e,...t}={})=>_s({legend:!1,title:e,...t}),discrete:vs,hue:vs,manual:ys,continuous:bs,gradient:bs,gradient2:xs,gradientn:Ss,dynamic:ws,auto:Cs,custom:ps,default:Cs},Os={color:Ds,stroke:Ds,fill:Ds,alpha:{continuous:hs,custom:ps,default:({title:e,...t}={})=>hs({range:[.1,1],title:e,...t})},size:{identity:({title:e,...t}={})=>gs({legend:!1,title:e,...t}),continuous:hs,custom:ps,default:({title:e,...t}={})=>hs({range:[1,6],title:e,...t})},linewidth:{identity:({title:e,...t}={})=>gs({legend:!1,title:e,...t}),continuous:hs,manual:ms,custom:ps,default:({title:e,...t}={})=>hs({range:[1,6],title:e,...t})},linetype:{identity:({title:e,...t}={})=>_s({legend:!1,title:e,...t}),discrete:Es,default:Es,custom:ps},shape:{identity:({title:e,...t}={})=>_s({legend:!1,title:e,...t}),discrete:Ts,default:Ts,custom:ps}};function ks({step:e,minor:t=!1}={}){return function({min:n,max:r,minor:i=t}={}){let a=r-n,o=e;if(isNaN(a)||a<0)return[];if(a==0)return[n];let s=10**Math.floor(Math.log10(a)-1),c=a/s;o??=([5,10,20].find(e=>e*5>c)??20)*s,i&&(o/=2);let l=Math.ceil(n/o),u=Math.floor(r/o);return Array(u-l+1).fill(null).map((e,t)=>(l+t)*o)}}function As(){return function({min:e,max:t}={}){let n=t-e;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(e)];let r=new Date(e),i=new Date(t),a=r.getUTCFullYear(),o=r.getUTCMonth(),s=r.getUTCDate(),c=r.getUTCHours(),l=r.getUTCMinutes(),u=r.getUTCSeconds(),d=[];if(n>94608e6){let e=n/31536e6,t=10**Math.floor(Math.log10(e)-1),o=e/t,s=Math.max((o>50?10:o>25?5:2)*t,1);r=new Date(Date.UTC(Math.ceil(a/s)*s));do d.push(new Date(r));while(r.setUTCFullYear(r.getUTCFullYear()+s)<i)}else if(n>7776e6){let e=n/2592e6,t=[2,3,6].findLast(t=>t*3<=e)||1;r=new Date(Date.UTC(a,Math.ceil(o/t)*t));do d.push(new Date(r));while(r.setUTCMonth(r.getUTCMonth()+t)<i)}else if(n>18144e5){r=new Date(Date.UTC(a,o,s+(7-r.getUTCDay())%7));do d.push(new Date(r));while(r.setUTCDate(r.getUTCDate()+7)<i)}else if(n>2592e5){let e=n/864e5,t=[2,3].findLast(t=>t*3<=e)||1;r=new Date(Date.UTC(a,o,Math.ceil(s)));do d.push(new Date(r));while(r.setUTCDate(r.getUTCDate()+t)<i)}else if(n>108e5){let e=n/36e5,t=[2,3,6].findLast(t=>t*3<=e)||1;r=new Date(Date.UTC(a,o,s,Math.ceil(c/t)*t));do d.push(new Date(r));while(r.setUTCHours(r.getUTCHours()+t)<i)}else if(n>18e4){let e=n/6e4,t=[2,5,10,30].findLast(t=>t*3<=e)||1;r=new Date(Date.UTC(a,o,s,c,Math.ceil(l/t)*t));do d.push(new Date(r));while(r.setUTCMinutes(r.getUTCMinutes()+t)<i)}else if(n>3e3){let e=n/1e3,t=[2,5,10,30].findLast(t=>t*3<=e)||1;r=new Date(Date.UTC(a,o,s,c,l,Math.ceil(u/t)*t));do d.push(new Date(r));while(r.setUTCSeconds(r.getUTCSeconds()+t)<i)}else{let r=10**Math.floor(Math.log10(n)-1),i=n/r,a=(i>50?20:i>25?10:5)*r,o=Math.ceil(e/a),s=Math.floor(t/a);return Array(s-o+1).fill(null).map((e,t)=>new Date((o+t)*a))}return d}}var js={number:ks,datetime:As},Ms={y:e=>e.getUTCFullYear(),M:e=>e.getUTCMonth()+1,d:e=>e.getUTCDate(),h:e=>e.getUTCHours(),m:e=>e.getUTCMinutes(),s:e=>e.getUTCSeconds()};function Ns(e,t=`yyyy-MM-dd hh:mm:ss`){return t.replace(/(y|M|d|h|m|s)\1*/g,(t,n)=>{let r=String(Ms[n](e)),i=t.length;return n==`y`?r.slice(-i):r.padStart(i,`0`)})}var Ps={metric:{"":1,k:1e3,M:1e6,G:1e9,T:0xe8d4a51000,P:0x38d7ea4c68000,E:0xde0b6b3a7640000,Z:1e21,Y:1e24},si:{y:1e-24,z:1e-21,a:1e-18,f:1e-15,p:1e-12,n:1e-9,μ:1e-6,m:.001,"":1,k:1e3,M:1e6,G:1e9,T:0xe8d4a51000,P:0x38d7ea4c68000,E:0xde0b6b3a7640000,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,μs:1e-6,ms:.001,s:1,m:60,h:3600,d:86400,w:604800,M:2592e3,y:31536e3}};function Fs(){return function(e){return e==null?``:e instanceof Date?Ns(e):String(e)}}function Is({accuracy:e,scale:t=1,prefix:n=``,suffix:r=``,big_mark:i=` `,style_positive:a=`none`,style_negative:o=`hyphen`,scale_cut:s={"":1}}={}){let c={plus:`+`,space:` `}[a]??``,l={hyphen:`-`,minus:`−`,parens:`(`}[o]??``;return function(a,u,d=[a]){let f;if(e)f=e;else if(d.length>1){let e=d.filter(e=>isFinite(e)).sort((e,t)=>e-t);f=e.slice(1).map((t,n)=>t-e[n]).reduce((e,t)=>e<t?e:t)*t}else f=a||1;let p=Object.entries(s).sort((e,t)=>t[1]-e[1]).find(e=>e[1]<=f)?.[0]??``,m=(p==``?``:` `)+p+r;f/=s[p]??1;let h=Math.max(0,Math.ceil(-Math.log10(f))),g=Math.round(a*t/(s[p]??1)/f)*f,_=n+(g>0?c:g<0?l:``);return g<0&&o==`parens`&&(m=`)`+m),g=Math.abs(g).toFixed(h).replace(/(?<!\..*)(\d)(?=(?:\d{3})+(?:\.|$))/g,`$1`+i),_+g+m}}function Ls({format:e}={}){let t={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},r={y:4,M:7,d:10,h:13,m:16,s:19};return function(i,a,o=[i]){if(o.length<=1)return Ns(new Date(i),e);if(e==null){let i=Array.from(o).sort((e,t)=>e-t),a=i.slice(1).map((e,t)=>e-i[t]).reduce((e,t)=>e<t?e:t)/1e3,s=(i[i.length-1]-i[0])/1e3,c=[`y`,`M`,`d`,`m`,`s`].find(e=>t[e]<=a),l=s>2678400?`y`:s>86400?`M`:`h`;e=`yyyy-MM-dd hh:mm:ss`.slice(n[l],r[c])}return Ns(new Date(i),e)}}function Rs(e){let t=Is(e),n=Ls(e);return function(e,r,i=[e]){return e instanceof $n?String(e):e instanceof Date?n(e,r,i):t(e,r,i)}}var zs={number:Is,datetime:Ls,timestamp:Ls,asis:Fs,auto:Rs,metric:function(e){return Rs({scale_cut:Ps.metric,...e})}};function Bs(e,t){return e==null?{}:Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(e,n)]))}var Vs=class{constructor(e,t){let{data:n=[],aes:r,extendX:i,extendY:a}=t,{geom:o,stat:s,data:c,aes:l,levels:u={},scales:d={},attrs:f,args:p,vBind:m,extendX:h,extendY:g}=e;if(!pi[o]){console.error(`Invalid geom "${o}"`,`in layer`,e,`, plot`,t);return}let _=typeof s==`function`?s:zi[s];if(_==null){console.error(`Invalid stat "${s}"`,`in layer`,e,`, plot`,t);return}this.geom=o,this.vBind=Object.assign(m,{extendX:h??i??0,extendY:g??a??0}),this.scales={},typeof c==`function`&&(c=c(n)),c??=n,l={...r,...l};let v={};this.$fnames={};for(let e in l)this.$fnames[e]=String(l[e]),v[e]=c.map(l[e]).map(e=>e instanceof String||e instanceof Number?new Qn(e):e);v.$raw=c;let y=_?.core_attrs??[`x`,`y`,`xnudge`,`ynudge`],b=c.length;b==0&&(b=y.map(e=>f[e]).filter(e=>e!=null).reduce((e,t)=>Math.max(Array.isArray(t)?t.length:1,e),0));for(let e in f)if(y.includes(e)){if(Array.isArray(f[e])){if(f[e].length!=b)throw Error(`Attribute "${e}" must have the same length as data (${b})`);v[e]=f[e]}else{if(f[e]==null)continue;v[e]=Array(b).fill(f[e])}}try{if(v=_(v,p||{}),v.$group??=v.group,v.$group==null){let e=Object.values(v).filter(e=>Array.isArray(e)).reduce((e,t)=>Math.max(e,t.length),0);v.$group=Array(e).fill(null)}}catch(n){console.error(`Error`,n,`in layer`,e,`, plot`,t);return}this.localScales=/* @__PURE__ */ new Set([...Object.keys(u).filter(e=>u[e]!=null),...Object.keys(d).filter(e=>d[e]!=null)]),this.aes=/* @__PURE__ */ new Set([...this.localScales,...pi[o]?.scale_attrs??[]]),this.$data=v,this.data={...v};for(let e in v)if(d[e]!=null){let t=new Us(d[e]);t.aesthetics=e,t._title=this.$fnames[e];let n=this.$data[e];if(!n?.length)continue;t.asis||(u?.[e]==null?n.some(nr)?t.level=er.from(n):t.extent=J.extent(n.filter(e=>!(e instanceof Qn))):t.level=u[e]),this.applyScale(e,t)}this.attrs={};for(let e in f)if(!y.includes(e)){if(Array.isArray(f[e])){if(f[e].length!=b)throw Error(`Attribute "${e}" must have the same length as data (${b})`);this.data[e]=f[e]}else this.attrs[e]=f[e],f[e]!=null&&(this.data[e]=Array(b).fill(f[e]))}}applyScale(e,t){let n=this.$data[e];if(n==null)return;t.level&&(n=t.level.apply(n)),t.limits&&(n.extent=t.limits),t.aes=e;let r=t(n);this.data[e]=n.map((e,t)=>e instanceof Qn?e.valueOf():r[t]),this.scales[e]=t}applyCoordScale(e){try{Object.assign(this.data,pi[this.geom]?.coord_scale?.(this.$data,e))}catch(e){console.error(e)}}},Hs=class{constructor(e,t){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let n in t)this.layers.push(new Vs(t[n],e));this.layers=this.layers.filter(e=>e.$data!=null),this.aes=new Set(this.layers.flatMap(e=>Array.from(e.aes))),this.scales=/* @__PURE__ */ new Map}useScales(e,t){this.scales=/* @__PURE__ */ new Map;for(let n of this.aes){let r=this.layers.filter(e=>!e.localScales.has(n)).flatMap(e=>e.$data[n]??[]);if(r.length!=0){let i=new Us(e?.[n]??Os[n].default());i.aesthetics=n,i.asis||(t?.[n]==null?r.some(nr)?i.level=er.from(r):i.extent=J.extent(r.filter(e=>!(e instanceof Qn))):i.level=t[n]),i._title=this.layers.reduce((e,t)=>e??t.$fnames?.[n],null);for(let e of this.layers)e.localScales.has(n)||e.applyScale(n,i)}for(let e of this.layers){let t=e.scales?.[n];if(t!=null&&!t.asis){this.scales.has(t)||this.scales.set(t,{});let n=this.scales.get(t);n[e.geom]??(n[e.geom]={});for(let t of pi[e.geom]?.scale_attrs)e.attrs[t]!=null&&(n[e.geom][t]=e.attrs[t])}}}return this}useCoordLevels(e={}){for(let t of[`x`,`y`])if(e[t])this.levels[t]=new er(...e[t]);else{let e=this.layers.flatMap(e=>(pi[e.geom].get_values??pi[e.geom].get_range)?.(e.$data,t));e.some(nr)?this.levels[t]=er.from(e):(e=this.layers.flatMap(e=>pi[e.geom].get_range?.(e.$data,t)).filter(e=>!isNaN(e)),this.extents[t]=J.extent(e.filter(e=>!(e instanceof Qn))))}for(let e of this.layers)e.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:e.data.$group.map((t,n)=>pi[e.geom].validate(Bs(e.data,(e,t)=>t?.[n]))).filter(e=>e!=null),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,t,n){let r={};if(this._range=e,this.levels.x){let n=+(e?.xmin??-.5)-(+t.x?.min||0),i=+(e?.xmax??this.levels.x.length-.5)+(+t.x?.max||0);r.x=new Ws(this.levels.x,{min:n,max:i})}else{let i=e?.xmin??this.extents.x?.min??0,a=e?.xmax??this.extents.x?.max??0,o=q(i,-t.x?.min||0),s=q(a,+t.x?.max||0),c=n?.x??1;if(s-o<c){if(e?.xmax==null&&e?.xmin!=null)s=q(o,+c);else if(e?.xmax!=null&&e?.xmin==null)o=q(s,-c);else{let e=s-o;s=q(s,-e/2+c/2),o=q(s,-c)}}r.x=o instanceof Date||s instanceof Date?new Ks({min:o,max:s}):new Gs({min:o,max:s})}if(this.levels.y){let n=+(e?.ymin??-.5)-(+t.y?.min||0),i=+(e?.ymax??this.levels.y.length-.5)+(+t.y?.max||0);r.y=new Ws(this.levels.y,{min:n,max:i})}else{let i=e?.ymin??this.extents.y?.min??0,a=e?.ymax??this.extents.y?.max??0,o=q(i,-t.y?.min??0),s=q(a,+t.y?.max||0),c=n?.y??1;if(s-o<c){if(e?.ymax==null&&e?.ymin!=null)s=q(o,+c);else if(e?.ymax!=null&&e?.ymin==null)o=q(s,-c);else{let e=s-o;s=q(s,-e/2+c/2),o=q(s,-c)}}r.y=o instanceof Date||s instanceof Date?new Ks({min:o,max:s}):new Gs({min:o,max:s})}return r}render(e,t,n){let r=this.getCoordScales(e,t,n);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}},Us=class e extends Function{constructor(t){let n=t._fn??t;function r(){return n.apply(r,arguments)}return Object.setPrototypeOf(r,e.prototype),Object.assign(r,t),r._fn=n,r}set extent({min:e,max:t,0:n,1:r}={}){e??=n,t??=r,this._limits={0:e,1:t,length:2,min:e,max:t}}get extent(){return this.limits}set limits({min:e,max:t,0:n,1:r}={}){e??=n,t??=r,this.$limits={0:e,1:t,length:2,min:e,max:t}}get limits(){let e=this.$limits?.min??(this.level?0:this._limits?.min),t=this.$limits?.max??this.level?.length??this._limits?.max;return{0:e,1:t,length:2,min:e,max:t}}toString(){return this.title??String(this._fn)}},Ws=class e extends Function{constructor(t,{min:n,max:r}={}){let i=n==r?e=>0:e=>(+e-n)/(r-n);return i.range={min:n,max:r},i.level=t,Object.setPrototypeOf(i,e.prototype),i}invert(e){let{min:t,max:n}=this.range;return e*(n-t)+t}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}},Gs=class e extends Function{constructor(t){let{min:n,max:r}=t,i=n==r?e=>isFinite(e)?.5:e:e=>(+e-n)/(r-n);return i.range={min:n,max:r},Object.setPrototypeOf(i,e.prototype),i}invert(e){let{min:t,max:n}=this.range;return q(t,e*(n-t))}get breaks(){return js.number()}},Ks=class e extends Gs{constructor(t){let n=super(t);return Object.setPrototypeOf(n,e.prototype),n}get breaks(){return js.datetime()}get minorBreaks(){return[]}},qs=class{constructor(e,{breaks:t,labels:n,minorBreaks:r,titles:i}={}){this.scale=e,this.range=e?.range,this.breaks=t??e.breaks,this.labels=n??zs.auto(),this.titles=i??zs.asis(),this.minorBreaks=r??t??e.minorBreaks??e.breaks}getBreaks({range:e,expandMult:t,breakSlot:n}={}){let r=this.breaks,i=this.minorBreaks,a=this.labels,o=this.titles,s=e?.min??this?.range?.min,c=e?.max??this?.range?.max,l=c-s||0;if(s=s==null?s:q(s,-(t?.min??0)*l),c=c==null?c:q(c,+(t?.max??0)*l),typeof r==`function`&&(r=r({min:s,max:c})),Array.isArray(r)||(r=[]),typeof a==`function`&&(a=r.map(a)),!Array.isArray(a))a=[];else if(a.length!=r.length)throw Error(`Length of labels must be the same as breaks`);if(typeof o==`function`&&(o=r.map(o)),!Array.isArray(o))o=[];else if(o.length!=r.length)throw Error(`Length of titles must be the same as breaks`);typeof i==`function`&&(i=i({min:s,max:c,minor:!0})),Array.isArray(i)||(i=[]),r=r.map((e,t)=>({type:`major`,value:e,label:a[t],title:o[t]})),i=i.map(e=>({type:`minor`,value:e}));let u=r.concat(i);return n instanceof Function&&(u=Yn(n({breaks:u,majorBreaks:r,minorBreaks:i,min:s,max:c})).filter(e=>e.type.$_type==`axis-break`).map(e=>({...e.type.$_props,...e.props}))),u}},Js=[`font-size`],Ys={key:0},Xs={__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(e){let t=L(`ele`),r=T({width:0,height:0}),o=m(`vvplot-visible`,!0);R([t,o,()=>e.fontSize,()=>e.size,()=>e.text,()=>e.textLength,()=>e.fontFamily],async([e])=>{if(!e)return;await v();let{width:t,height:n}=e.getBBox();r.width=t,r.height=n});let s=n(()=>{let{width:t,height:n}=r,i=[],a=({start:-.5,end:.5}[e.textAnchor]??0)*t;if(e.dockX!=null||e.dockY!=null){let r={left:0,center:.5,right:1}[e.dockX]??+(e.dockX??.5),o={bottom:0,center:.5,top:1}[e.dockY]??+(e.dockY??.5);isNaN(r)&&(r=.5),isNaN(o)&&(o=.5);let s=t*Math.abs(Math.cos(e.angle*Math.PI/180))+n*Math.abs(Math.sin(e.angle*Math.PI/180)),c=t*Math.abs(Math.sin(e.angle*Math.PI/180))+n*Math.abs(Math.cos(e.angle*Math.PI/180)),l=e.translateX,u=e.translateY;i.push(`translate(${s*(.5-r)+l},${c*(o-.5)+u})`),e.angle&&i.push(`rotate(${e.angle})`),i.push(`translate(${a},0)`)}else{let r={left:0,center:.5,right:1}[e.anchorX]??+(e.anchorX??.5),o={bottom:0,center:.5,top:1}[e.anchorY]??+(e.anchorY??.5);isNaN(r)&&(r=.5),isNaN(o)&&(o=.5);let s=t,c=n,l=e.translateX*Math.cos(e.angle*Math.PI/180)+e.translateY*Math.sin(e.angle*Math.PI/180),u=e.translateY*Math.cos(e.angle*Math.PI/180)-e.translateX*Math.sin(e.angle*Math.PI/180);e.angle&&i.push(`rotate(${e.angle})`),i.push(`translate(${s*(.5-r)+l+a},${c*(o-.5)+u})`)}return{x:e.x,y:e.y,color:e.color||null,fill:e.color||null,"fill-opacity":e.alpha==1?null:e.alpha,stroke:e.stroke||null,"stroke-width":e.linewidth,"stroke-dasharray":gr(e.linetype).join(` `)||null,"stroke-opacity":e.alpha==1?null:e.alpha,transform:i.join(` `)||null,"font-family":e.fontFamily||null,textLength:e.textLength,lengthAdjust:e.textLength?`spacingAndGlyphs`:null,"transform-origin":`${e.x} ${e.y}`,"text-anchor":e.textAnchor,"dominant-baseline":`central`}});return(n,r)=>(C(),a(`text`,_({ref_key:`ele`,ref:t},s.value,{"font-size":(e.fontSize??e.size*4)||null}),[O(n.$slots,`default`,{},()=>[e.title?(C(),a(`title`,Ys,M(e.title),1)):i(``,!0),c(` `+M(e.text?.replace(/ /g,`\xA0`)),1)])],16,Js))}};function Zs(e){switch(e._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 Qs=function(e,t){this.current=e,this.entering=t===!0},$s=function(){var e=this.current,t=this.entering;if(e===null)return null;var n=Zs(e);return t&&n?e._firstChild?(this.current=e._firstChild,this.entering=!0):this.entering=!1:e===this.root?this.current=null:e._next===null?(this.current=e._parent,this.entering=!1):(this.current=e._next,this.entering=!0),{entering:t,node:e}},ec=function(e){return{current:e,root:e,entering:!0,next:$s,resumeAt:Qs}},Q=function(e,t){this._type=e,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=t,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},tc=Q.prototype;Object.defineProperty(tc,"isContainer",{get:function(){return Zs(this)}}),Object.defineProperty(tc,"type",{get:function(){return this._type}}),Object.defineProperty(tc,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(tc,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(tc,"next",{get:function(){return this._next}}),Object.defineProperty(tc,"prev",{get:function(){return this._prev}}),Object.defineProperty(tc,"parent",{get:function(){return this._parent}}),Object.defineProperty(tc,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(tc,"literal",{get:function(){return this._literal},set:function(e){this._literal=e}}),Object.defineProperty(tc,"destination",{get:function(){return this._destination},set:function(e){this._destination=e}}),Object.defineProperty(tc,"title",{get:function(){return this._title},set:function(e){this._title=e}}),Object.defineProperty(tc,"info",{get:function(){return this._info},set:function(e){this._info=e}}),Object.defineProperty(tc,"level",{get:function(){return this._level},set:function(e){this._level=e}}),Object.defineProperty(tc,"listType",{get:function(){return this._listData.type},set:function(e){this._listData.type=e}}),Object.defineProperty(tc,"listTight",{get:function(){return this._listData.tight},set:function(e){this._listData.tight=e}}),Object.defineProperty(tc,"listStart",{get:function(){return this._listData.start},set:function(e){this._listData.start=e}}),Object.defineProperty(tc,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(e){this._listData.delimiter=e}}),Object.defineProperty(tc,"onEnter",{get:function(){return this._onEnter},set:function(e){this._onEnter=e}}),Object.defineProperty(tc,"onExit",{get:function(){return this._onExit},set:function(e){this._onExit=e}}),Q.prototype.appendChild=function(e){e.unlink(),e._parent=this,this._lastChild?(this._lastChild._next=e,e._prev=this._lastChild,this._lastChild=e):(this._firstChild=e,this._lastChild=e)},Q.prototype.prependChild=function(e){e.unlink(),e._parent=this,this._firstChild?(this._firstChild._prev=e,e._next=this._firstChild,this._firstChild=e):(this._firstChild=e,this._lastChild=e)},Q.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},Q.prototype.insertAfter=function(e){e.unlink(),e._next=this._next,e._next&&(e._next._prev=e),e._prev=this,this._next=e,e._parent=this._parent,e._next||(e._parent._lastChild=e)},Q.prototype.insertBefore=function(e){e.unlink(),e._prev=this._prev,e._prev&&(e._prev._next=e),e._next=this,this._prev=e,e._parent=this._parent,e._prev||(e._parent._firstChild=e)},Q.prototype.walker=function(){return new ec(this)};var nc=/* @__PURE__ */ le(((e,t)=>{var n={};function r(e){var t,r,i=n[e];if(i)return i;for(i=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?i.push(r):i.push(`%`+(`0`+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}function i(e,t,n){var a,o,s,c,l,u=``;for(typeof t!=`string`&&(n=t,t=i.defaultChars),n===void 0&&(n=!0),l=r(t),a=0,o=e.length;a<o;a++)if(s=e.charCodeAt(a),n&&s===37&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))u+=e.slice(a,a+3),a+=2;else if(s<128)u+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1<o&&(c=e.charCodeAt(a+1),c>=56320&&c<=57343)){u+=encodeURIComponent(e[a]+e[a+1]),a++;continue}u+=`%EF%BF%BD`}else u+=encodeURIComponent(e[a]);return u}i.defaultChars=`;/?:@&=+$,-_.!~*'()#`,i.componentChars=`-_.!~*'()`,t.exports=i})),rc=/* @__PURE__ */ le((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.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])})),ic=/* @__PURE__ */ le((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.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])})),ac=/* @__PURE__ */ le((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=/* @__PURE__ */ 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]]),n=String.fromCodePoint||function(e){var t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function r(e){return e>=55296&&e<=57343||e>1114111?`�`:n(t.get(e)??e)}e.default=r})),oc=/* @__PURE__ */ le((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTML=e.determineBranch=e.JUMP_OFFSET_BASE=e.BinTrieFlags=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var n=t(rc());e.htmlDecodeTree=n.default;var r=t(ic());e.xmlDecodeTree=r.default;var i=t(ac()),a;(function(e){e[e.HAS_VALUE=32768]=`HAS_VALUE`,e[e.BRANCH_LENGTH=32512]=`BRANCH_LENGTH`,e[e.MULTI_BYTE=128]=`MULTI_BYTE`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(a=e.BinTrieFlags||={}),e.JUMP_OFFSET_BASE=47;function o(e){return function(t,n){for(var r=``,o=0,c=0;(c=t.indexOf(`&`,c))>=0;)if(r+=t.slice(o,c),o=c,c+=1,t.charCodeAt(c)===35){var l=c+1,u=10,d=t.charCodeAt(l);for((d|32)==120&&(u=16,c+=1,l+=1);(d=t.charCodeAt(++c))>=48&&d<=57||u===16&&(d|32)>=97&&(d|32)<=102;);if(l!==c){var f=t.substring(l,c),p=parseInt(f,u);if(t.charCodeAt(c)===59)c+=1;else if(n)continue;r+=i.default(p),o=c}}else{for(var m=null,h=1,g=0,_=e[g];c<t.length&&(g=s(e,_,g+1,t.charCodeAt(c)),!(g<0));c++,h++)_=e[g],_&a.HAS_VALUE&&(n&&t.charCodeAt(c)!==59?g+=1:(m=_&a.MULTI_BYTE?String.fromCharCode(e[++g],e[++g]):String.fromCharCode(e[++g]),h=0));m!=null&&(r+=m,o=c-h+1)}return r+t.slice(o)}}function s(t,n,r,i){if(n<=128)return i===n?r:-1;var o=(n&a.BRANCH_LENGTH)>>8;if(o===0)return-1;if(o===1)return i===t[r]?r+1:-1;var s=n&a.JUMP_TABLE;if(s){var c=i-e.JUMP_OFFSET_BASE-s;return c<0||c>o?-1:t[r+c]-1}for(var l=r,u=l+o-1;l<=u;){var d=l+u>>>1,f=t[d];if(f<i)l=d+1;else if(f>i)u=d-1;else return t[d+o]}return-1}e.determineBranch=s;var c=o(n.default),l=o(r.default);function u(e){return c(e,!1)}e.decodeHTML=u;function d(e){return c(e,!0)}e.decodeHTMLStrict=d;function f(e){return l(e,!0)}e.decodeXML=f})),sc=/* @__PURE__ */ ue({amp:()=>`&`,apos:()=>`'`,default:()=>cc,gt:()=>`>`,lt:()=>`<`,quot:()=>`"`}),cc,lc=ce((()=>{cc={amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}})),uc=/* @__PURE__ */ ue({AElig:()=>`Æ`,AMP:()=>`&`,Aacute:()=>`Á`,Abreve:()=>`Ă`,Acirc:()=>`Â`,Acy:()=>`А`,Afr:()=>fc,Agrave:()=>`À`,Alpha:()=>`Α`,Amacr:()=>`Ā`,And:()=>`⩓`,Aogon:()=>`Ą`,Aopf:()=>mc,ApplyFunction:()=>`⁡`,Aring:()=>`Å`,Ascr:()=>gc,Assign:()=>`≔`,Atilde:()=>`Ã`,Auml:()=>`Ä`,Backslash:()=>`∖`,Barv:()=>`⫧`,Barwed:()=>`⌆`,Bcy:()=>`Б`,Because:()=>`∵`,Bernoullis:()=>`ℬ`,Beta:()=>`Β`,Bfr:()=>vc,Bopf:()=>Sc,Breve:()=>`˘`,Bscr:()=>`ℬ`,Bumpeq:()=>`≎`,CHcy:()=>`Ч`,COPY:()=>`©`,Cacute:()=>`Ć`,Cap:()=>`⋒`,CapitalDifferentialD:()=>`ⅅ`,Cayleys:()=>`ℭ`,Ccaron:()=>`Č`,Ccedil:()=>`Ç`,Ccirc:()=>`Ĉ`,Cconint:()=>`∰`,Cdot:()=>`Ċ`,Cedilla:()=>`¸`,CenterDot:()=>`·`,Cfr:()=>`ℭ`,Chi:()=>`Χ`,CircleDot:()=>`⊙`,CircleMinus:()=>`⊖`,CirclePlus:()=>`⊕`,CircleTimes:()=>`⊗`,ClockwiseContourIntegral:()=>`∲`,CloseCurlyDoubleQuote:()=>`”`,CloseCurlyQuote:()=>`’`,Colon:()=>`∷`,Colone:()=>`⩴`,Congruent:()=>`≡`,Conint:()=>`∯`,ContourIntegral:()=>`∮`,Copf:()=>`ℂ`,Coproduct:()=>`∐`,CounterClockwiseContourIntegral:()=>`∳`,Cross:()=>`⨯`,Cscr:()=>Oc,Cup:()=>`⋓`,CupCap:()=>`≍`,DD:()=>`ⅅ`,DDotrahd:()=>`⤑`,DJcy:()=>`Ђ`,DScy:()=>`Ѕ`,DZcy:()=>`Џ`,Dagger:()=>`‡`,Darr:()=>`↡`,Dashv:()=>`⫤`,Dcaron:()=>`Ď`,Dcy:()=>`Д`,Del:()=>`∇`,Delta:()=>`Δ`,Dfr:()=>jc,DiacriticalAcute:()=>`´`,DiacriticalDot:()=>`˙`,DiacriticalDoubleAcute:()=>`˝`,DiacriticalGrave:()=>"`",DiacriticalTilde:()=>`˜`,Diamond:()=>`⋄`,DifferentialD:()=>`ⅆ`,Dopf:()=>Nc,Dot:()=>`¨`,DotDot:()=>`⃜`,DotEqual:()=>`≐`,DoubleContourIntegral:()=>`∯`,DoubleDot:()=>`¨`,DoubleDownArrow:()=>`⇓`,DoubleLeftArrow:()=>`⇐`,DoubleLeftRightArrow:()=>`⇔`,DoubleLeftTee:()=>`⫤`,DoubleLongLeftArrow:()=>`⟸`,DoubleLongLeftRightArrow:()=>`⟺`,DoubleLongRightArrow:()=>`⟹`,DoubleRightArrow:()=>`⇒`,DoubleRightTee:()=>`⊨`,DoubleUpArrow:()=>`⇑`,DoubleUpDownArrow:()=>`⇕`,DoubleVerticalBar:()=>`∥`,DownArrow:()=>`↓`,DownArrowBar:()=>`⤓`,DownArrowUpArrow:()=>`⇵`,DownBreve:()=>`̑`,DownLeftRightVector:()=>`⥐`,DownLeftTeeVector:()=>`⥞`,DownLeftVector:()=>`↽`,DownLeftVectorBar:()=>`⥖`,DownRightTeeVector:()=>`⥟`,DownRightVector:()=>`⇁`,DownRightVectorBar:()=>`⥗`,DownTee:()=>`⊤`,DownTeeArrow:()=>`↧`,Downarrow:()=>`⇓`,Dscr:()=>Fc,Dstrok:()=>`Đ`,ENG:()=>`Ŋ`,ETH:()=>`Ð`,Eacute:()=>`É`,Ecaron:()=>`Ě`,Ecirc:()=>`Ê`,Ecy:()=>`Э`,Edot:()=>`Ė`,Efr:()=>Lc,Egrave:()=>`È`,Element:()=>`∈`,Emacr:()=>`Ē`,EmptySmallSquare:()=>`◻`,EmptyVerySmallSquare:()=>`▫`,Eogon:()=>`Ę`,Eopf:()=>zc,Epsilon:()=>`Ε`,Equal:()=>`⩵`,EqualTilde:()=>`≂`,Equilibrium:()=>`⇌`,Escr:()=>`ℰ`,Esim:()=>`⩳`,Eta:()=>`Η`,Euml:()=>`Ë`,Exists:()=>`∃`,ExponentialE:()=>`ⅇ`,Fcy:()=>`Ф`,Ffr:()=>Vc,FilledSmallSquare:()=>`◼`,FilledVerySmallSquare:()=>`▪`,Fopf:()=>Uc,ForAll:()=>`∀`,Fouriertrf:()=>`ℱ`,Fscr:()=>`ℱ`,GJcy:()=>`Ѓ`,GT:()=>`>`,Gamma:()=>`Γ`,Gammad:()=>`Ϝ`,Gbreve:()=>`Ğ`,Gcedil:()=>`Ģ`,Gcirc:()=>`Ĝ`,Gcy:()=>`Г`,Gdot:()=>`Ġ`,Gfr:()=>qc,Gg:()=>`⋙`,Gopf:()=>Yc,GreaterEqual:()=>`≥`,GreaterEqualLess:()=>`⋛`,GreaterFullEqual:()=>`≧`,GreaterGreater:()=>`⪢`,GreaterLess:()=>`≷`,GreaterSlantEqual:()=>`⩾`,GreaterTilde:()=>`≳`,Gscr:()=>Zc,Gt:()=>`≫`,HARDcy:()=>`Ъ`,Hacek:()=>`ˇ`,Hat:()=>`^`,Hcirc:()=>`Ĥ`,Hfr:()=>`ℌ`,HilbertSpace:()=>`ℋ`,Hopf:()=>`ℍ`,HorizontalLine:()=>`─`,Hscr:()=>`ℋ`,Hstrok:()=>`Ħ`,HumpDownHump:()=>`≎`,HumpEqual:()=>`≏`,IEcy:()=>`Е`,IJlig:()=>`IJ`,IOcy:()=>`Ё`,Iacute:()=>`Í`,Icirc:()=>`Î`,Icy:()=>`И`,Idot:()=>`İ`,Ifr:()=>`ℑ`,Igrave:()=>`Ì`,Im:()=>`ℑ`,Imacr:()=>`Ī`,ImaginaryI:()=>`ⅈ`,Implies:()=>`⇒`,Int:()=>`∬`,Integral:()=>`∫`,Intersection:()=>`⋂`,InvisibleComma:()=>`⁣`,InvisibleTimes:()=>`⁢`,Iogon:()=>`Į`,Iopf:()=>il,Iota:()=>`Ι`,Iscr:()=>`ℐ`,Itilde:()=>`Ĩ`,Iukcy:()=>`І`,Iuml:()=>`Ï`,Jcirc:()=>`Ĵ`,Jcy:()=>`Й`,Jfr:()=>sl,Jopf:()=>ll,Jscr:()=>dl,Jsercy:()=>`Ј`,Jukcy:()=>`Є`,KHcy:()=>`Х`,KJcy:()=>`Ќ`,Kappa:()=>`Κ`,Kcedil:()=>`Ķ`,Kcy:()=>`К`,Kfr:()=>pl,Kopf:()=>hl,Kscr:()=>_l,LJcy:()=>`Љ`,LT:()=>`<`,Lacute:()=>`Ĺ`,Lambda:()=>`Λ`,Lang:()=>`⟪`,Laplacetrf:()=>`ℒ`,Larr:()=>`↞`,Lcaron:()=>`Ľ`,Lcedil:()=>`Ļ`,Lcy:()=>`Л`,LeftAngleBracket:()=>`⟨`,LeftArrow:()=>`←`,LeftArrowBar:()=>`⇤`,LeftArrowRightArrow:()=>`⇆`,LeftCeiling:()=>`⌈`,LeftDoubleBracket:()=>`⟦`,LeftDownTeeVector:()=>`⥡`,LeftDownVector:()=>`⇃`,LeftDownVectorBar:()=>`⥙`,LeftFloor:()=>`⌊`,LeftRightArrow:()=>`↔`,LeftRightVector:()=>`⥎`,LeftTee:()=>`⊣`,LeftTeeArrow:()=>`↤`,LeftTeeVector:()=>`⥚`,LeftTriangle:()=>`⊲`,LeftTriangleBar:()=>`⧏`,LeftTriangleEqual:()=>`⊴`,LeftUpDownVector:()=>`⥑`,LeftUpTeeVector:()=>`⥠`,LeftUpVector:()=>`↿`,LeftUpVectorBar:()=>`⥘`,LeftVector:()=>`↼`,LeftVectorBar:()=>`⥒`,Leftarrow:()=>`⇐`,Leftrightarrow:()=>`⇔`,LessEqualGreater:()=>`⋚`,LessFullEqual:()=>`≦`,LessGreater:()=>`≶`,LessLess:()=>`⪡`,LessSlantEqual:()=>`⩽`,LessTilde:()=>`≲`,Lfr:()=>xl,Ll:()=>`⋘`,Lleftarrow:()=>`⇚`,Lmidot:()=>`Ŀ`,LongLeftArrow:()=>`⟵`,LongLeftRightArrow:()=>`⟷`,LongRightArrow:()=>`⟶`,Longleftarrow:()=>`⟸`,Longleftrightarrow:()=>`⟺`,Longrightarrow:()=>`⟹`,Lopf:()=>Cl,LowerLeftArrow:()=>`↙`,LowerRightArrow:()=>`↘`,Lscr:()=>`ℒ`,Lsh:()=>`↰`,Lstrok:()=>`Ł`,Lt:()=>`≪`,Map:()=>`⤅`,Mcy:()=>`М`,MediumSpace:()=>` `,Mellintrf:()=>`ℳ`,Mfr:()=>Ol,MinusPlus:()=>`∓`,Mopf:()=>Al,Mscr:()=>`ℳ`,Mu:()=>`Μ`,NJcy:()=>`Њ`,Nacute:()=>`Ń`,Ncaron:()=>`Ň`,Ncedil:()=>`Ņ`,Ncy:()=>`Н`,NegativeMediumSpace:()=>`​`,NegativeThickSpace:()=>`​`,NegativeThinSpace:()=>`​`,NegativeVeryThinSpace:()=>`​`,NestedGreaterGreater:()=>`≫`,NestedLessLess:()=>`≪`,NewLine:()=>`
18
+ `,Nfr:()=>Vl,NoBreak:()=>`⁠`,NonBreakingSpace:()=>`\xA0`,Nopf:()=>`ℕ`,Not:()=>`⫬`,NotCongruent:()=>`≢`,NotCupCap:()=>`≭`,NotDoubleVerticalBar:()=>`∦`,NotElement:()=>`∉`,NotEqual:()=>`≠`,NotEqualTilde:()=>iu,NotExists:()=>`∄`,NotGreater:()=>`≯`,NotGreaterEqual:()=>`≱`,NotGreaterFullEqual:()=>au,NotGreaterGreater:()=>ou,NotGreaterLess:()=>`≹`,NotGreaterSlantEqual:()=>su,NotGreaterTilde:()=>`≵`,NotHumpDownHump:()=>cu,NotHumpEqual:()=>lu,NotLeftTriangle:()=>`⋪`,NotLeftTriangleBar:()=>fu,NotLeftTriangleEqual:()=>`⋬`,NotLess:()=>`≮`,NotLessEqual:()=>`≰`,NotLessGreater:()=>`≸`,NotLessLess:()=>pu,NotLessSlantEqual:()=>mu,NotLessTilde:()=>`≴`,NotNestedGreaterGreater:()=>hu,NotNestedLessLess:()=>gu,NotPrecedes:()=>`⊀`,NotPrecedesEqual:()=>_u,NotPrecedesSlantEqual:()=>`⋠`,NotReverseElement:()=>`∌`,NotRightTriangle:()=>`⋫`,NotRightTriangleBar:()=>vu,NotRightTriangleEqual:()=>`⋭`,NotSquareSubset:()=>yu,NotSquareSubsetEqual:()=>`⋢`,NotSquareSuperset:()=>bu,NotSquareSupersetEqual:()=>`⋣`,NotSubset:()=>xu,NotSubsetEqual:()=>`⊈`,NotSucceeds:()=>`⊁`,NotSucceedsEqual:()=>Su,NotSucceedsSlantEqual:()=>`⋡`,NotSucceedsTilde:()=>Cu,NotSuperset:()=>wu,NotSupersetEqual:()=>`⊉`,NotTilde:()=>`≁`,NotTildeEqual:()=>`≄`,NotTildeFullEqual:()=>`≇`,NotTildeTilde:()=>`≉`,NotVerticalBar:()=>`∤`,Nscr:()=>Mu,Ntilde:()=>`Ñ`,Nu:()=>`Ν`,OElig:()=>`Œ`,Oacute:()=>`Ó`,Ocirc:()=>`Ô`,Ocy:()=>`О`,Odblac:()=>`Ő`,Ofr:()=>Yu,Ograve:()=>`Ò`,Omacr:()=>`Ō`,Omega:()=>`Ω`,Omicron:()=>`Ο`,Oopf:()=>Zu,OpenCurlyDoubleQuote:()=>`“`,OpenCurlyQuote:()=>`‘`,Or:()=>`⩔`,Oscr:()=>$u,Oslash:()=>`Ø`,Otilde:()=>`Õ`,Otimes:()=>`⨷`,Ouml:()=>`Ö`,OverBar:()=>`‾`,OverBrace:()=>`⏞`,OverBracket:()=>`⎴`,OverParenthesis:()=>`⏜`,PartialD:()=>`∂`,Pcy:()=>`П`,Pfr:()=>ed,Phi:()=>`Φ`,Pi:()=>`Π`,PlusMinus:()=>`±`,Poincareplane:()=>`ℌ`,Popf:()=>`ℙ`,Pr:()=>`⪻`,Precedes:()=>`≺`,PrecedesEqual:()=>`⪯`,PrecedesSlantEqual:()=>`≼`,PrecedesTilde:()=>`≾`,Prime:()=>`″`,Product:()=>`∏`,Proportion:()=>`∷`,Proportional:()=>`∝`,Pscr:()=>rd,Psi:()=>`Ψ`,QUOT:()=>`"`,Qfr:()=>ad,Qopf:()=>`ℚ`,Qscr:()=>cd,RBarr:()=>`⤐`,REG:()=>`®`,Racute:()=>`Ŕ`,Rang:()=>`⟫`,Rarr:()=>`↠`,Rarrtl:()=>`⤖`,Rcaron:()=>`Ř`,Rcedil:()=>`Ŗ`,Rcy:()=>`Р`,Re:()=>`ℜ`,ReverseElement:()=>`∋`,ReverseEquilibrium:()=>`⇋`,ReverseUpEquilibrium:()=>`⥯`,Rfr:()=>`ℜ`,Rho:()=>`Ρ`,RightAngleBracket:()=>`⟩`,RightArrow:()=>`→`,RightArrowBar:()=>`⇥`,RightArrowLeftArrow:()=>`⇄`,RightCeiling:()=>`⌉`,RightDoubleBracket:()=>`⟧`,RightDownTeeVector:()=>`⥝`,RightDownVector:()=>`⇂`,RightDownVectorBar:()=>`⥕`,RightFloor:()=>`⌋`,RightTee:()=>`⊢`,RightTeeArrow:()=>`↦`,RightTeeVector:()=>`⥛`,RightTriangle:()=>`⊳`,RightTriangleBar:()=>`⧐`,RightTriangleEqual:()=>`⊵`,RightUpDownVector:()=>`⥏`,RightUpTeeVector:()=>`⥜`,RightUpVector:()=>`↾`,RightUpVectorBar:()=>`⥔`,RightVector:()=>`⇀`,RightVectorBar:()=>`⥓`,Rightarrow:()=>`⇒`,Ropf:()=>`ℝ`,RoundImplies:()=>`⥰`,Rrightarrow:()=>`⇛`,Rscr:()=>`ℛ`,Rsh:()=>`↱`,RuleDelayed:()=>`⧴`,SHCHcy:()=>`Щ`,SHcy:()=>`Ш`,SOFTcy:()=>`Ь`,Sacute:()=>`Ś`,Sc:()=>`⪼`,Scaron:()=>`Š`,Scedil:()=>`Ş`,Scirc:()=>`Ŝ`,Scy:()=>`С`,Sfr:()=>md,ShortDownArrow:()=>`↓`,ShortLeftArrow:()=>`←`,ShortRightArrow:()=>`→`,ShortUpArrow:()=>`↑`,Sigma:()=>`Σ`,SmallCircle:()=>`∘`,Sopf:()=>_d,Sqrt:()=>`√`,Square:()=>`□`,SquareIntersection:()=>`⊓`,SquareSubset:()=>`⊏`,SquareSubsetEqual:()=>`⊑`,SquareSuperset:()=>`⊐`,SquareSupersetEqual:()=>`⊒`,SquareUnion:()=>`⊔`,Sscr:()=>xd,Star:()=>`⋆`,Sub:()=>`⋐`,Subset:()=>`⋐`,SubsetEqual:()=>`⊆`,Succeeds:()=>`≻`,SucceedsEqual:()=>`⪰`,SucceedsSlantEqual:()=>`≽`,SucceedsTilde:()=>`≿`,SuchThat:()=>`∋`,Sum:()=>`∑`,Sup:()=>`⋑`,Superset:()=>`⊃`,SupersetEqual:()=>`⊇`,Supset:()=>`⋑`,THORN:()=>`Þ`,TRADE:()=>`™`,TSHcy:()=>`Ћ`,TScy:()=>`Ц`,Tab:()=>` `,Tau:()=>`Τ`,Tcaron:()=>`Ť`,Tcedil:()=>`Ţ`,Tcy:()=>`Т`,Tfr:()=>Cd,Therefore:()=>`∴`,Theta:()=>`Θ`,ThickSpace:()=>Td,ThinSpace:()=>` `,Tilde:()=>`∼`,TildeEqual:()=>`≃`,TildeFullEqual:()=>`≅`,TildeTilde:()=>`≈`,Topf:()=>Ed,TripleDot:()=>`⃛`,Tscr:()=>Od,Tstrok:()=>`Ŧ`,Uacute:()=>`Ú`,Uarr:()=>`↟`,Uarrocir:()=>`⥉`,Ubrcy:()=>`Ў`,Ubreve:()=>`Ŭ`,Ucirc:()=>`Û`,Ucy:()=>`У`,Udblac:()=>`Ű`,Ufr:()=>Ad,Ugrave:()=>`Ù`,Umacr:()=>`Ū`,UnderBar:()=>`_`,UnderBrace:()=>`⏟`,UnderBracket:()=>`⎵`,UnderParenthesis:()=>`⏝`,Union:()=>`⋃`,UnionPlus:()=>`⊎`,Uogon:()=>`Ų`,Uopf:()=>Md,UpArrow:()=>`↑`,UpArrowBar:()=>`⤒`,UpArrowDownArrow:()=>`⇅`,UpDownArrow:()=>`↕`,UpEquilibrium:()=>`⥮`,UpTee:()=>`⊥`,UpTeeArrow:()=>`↥`,Uparrow:()=>`⇑`,Updownarrow:()=>`⇕`,UpperLeftArrow:()=>`↖`,UpperRightArrow:()=>`↗`,Upsi:()=>`ϒ`,Upsilon:()=>`Υ`,Uring:()=>`Ů`,Uscr:()=>Pd,Utilde:()=>`Ũ`,Uuml:()=>`Ü`,VDash:()=>`⊫`,Vbar:()=>`⫫`,Vcy:()=>`В`,Vdash:()=>`⊩`,Vdashl:()=>`⫦`,Vee:()=>`⋁`,Verbar:()=>`‖`,Vert:()=>`‖`,VerticalBar:()=>`∣`,VerticalLine:()=>`|`,VerticalSeparator:()=>`❘`,VerticalTilde:()=>`≀`,VeryThinSpace:()=>` `,Vfr:()=>Bd,Vopf:()=>Wd,Vscr:()=>Kd,Vvdash:()=>`⊪`,Wcirc:()=>`Ŵ`,Wedge:()=>`⋀`,Wfr:()=>Qd,Wopf:()=>ef,Wscr:()=>nf,Xfr:()=>af,Xi:()=>`Ξ`,Xopf:()=>sf,Xscr:()=>lf,YAcy:()=>`Я`,YIcy:()=>`Ї`,YUcy:()=>`Ю`,Yacute:()=>`Ý`,Ycirc:()=>`Ŷ`,Ycy:()=>`Ы`,Yfr:()=>df,Yopf:()=>pf,Yscr:()=>hf,Yuml:()=>`Ÿ`,ZHcy:()=>`Ж`,Zacute:()=>`Ź`,Zcaron:()=>`Ž`,Zcy:()=>`З`,Zdot:()=>`Ż`,ZeroWidthSpace:()=>`​`,Zeta:()=>`Ζ`,Zfr:()=>`ℨ`,Zopf:()=>`ℤ`,Zscr:()=>yf,aacute:()=>`á`,abreve:()=>`ă`,ac:()=>`∾`,acE:()=>dc,acd:()=>`∿`,acirc:()=>`â`,acute:()=>`´`,acy:()=>`а`,aelig:()=>`æ`,af:()=>`⁡`,afr:()=>pc,agrave:()=>`à`,alefsym:()=>`ℵ`,aleph:()=>`ℵ`,alpha:()=>`α`,amacr:()=>`ā`,amalg:()=>`⨿`,amp:()=>`&`,and:()=>`∧`,andand:()=>`⩕`,andd:()=>`⩜`,andslope:()=>`⩘`,andv:()=>`⩚`,ang:()=>`∠`,ange:()=>`⦤`,angle:()=>`∠`,angmsd:()=>`∡`,angmsdaa:()=>`⦨`,angmsdab:()=>`⦩`,angmsdac:()=>`⦪`,angmsdad:()=>`⦫`,angmsdae:()=>`⦬`,angmsdaf:()=>`⦭`,angmsdag:()=>`⦮`,angmsdah:()=>`⦯`,angrt:()=>`∟`,angrtvb:()=>`⊾`,angrtvbd:()=>`⦝`,angsph:()=>`∢`,angst:()=>`Å`,angzarr:()=>`⍼`,aogon:()=>`ą`,aopf:()=>hc,ap:()=>`≈`,apE:()=>`⩰`,apacir:()=>`⩯`,ape:()=>`≊`,apid:()=>`≋`,apos:()=>`'`,approx:()=>`≈`,approxeq:()=>`≊`,aring:()=>`å`,ascr:()=>_c,ast:()=>`*`,asymp:()=>`≈`,asympeq:()=>`≍`,atilde:()=>`ã`,auml:()=>`ä`,awconint:()=>`∳`,awint:()=>`⨑`,bNot:()=>`⫭`,backcong:()=>`≌`,backepsilon:()=>`϶`,backprime:()=>`‵`,backsim:()=>`∽`,backsimeq:()=>`⋍`,barvee:()=>`⊽`,barwed:()=>`⌅`,barwedge:()=>`⌅`,bbrk:()=>`⎵`,bbrktbrk:()=>`⎶`,bcong:()=>`≌`,bcy:()=>`б`,bdquo:()=>`„`,becaus:()=>`∵`,because:()=>`∵`,bemptyv:()=>`⦰`,bepsi:()=>`϶`,bernou:()=>`ℬ`,beta:()=>`β`,beth:()=>`ℶ`,between:()=>`≬`,bfr:()=>yc,bigcap:()=>`⋂`,bigcirc:()=>`◯`,bigcup:()=>`⋃`,bigodot:()=>`⨀`,bigoplus:()=>`⨁`,bigotimes:()=>`⨂`,bigsqcup:()=>`⨆`,bigstar:()=>`★`,bigtriangledown:()=>`▽`,bigtriangleup:()=>`△`,biguplus:()=>`⨄`,bigvee:()=>`⋁`,bigwedge:()=>`⋀`,bkarow:()=>`⤍`,blacklozenge:()=>`⧫`,blacksquare:()=>`▪`,blacktriangle:()=>`▴`,blacktriangledown:()=>`▾`,blacktriangleleft:()=>`◂`,blacktriangleright:()=>`▸`,blank:()=>`␣`,blk12:()=>`▒`,blk14:()=>`░`,blk34:()=>`▓`,block:()=>`█`,bne:()=>bc,bnequiv:()=>xc,bnot:()=>`⌐`,bopf:()=>Cc,bot:()=>`⊥`,bottom:()=>`⊥`,bowtie:()=>`⋈`,boxDL:()=>`╗`,boxDR:()=>`╔`,boxDl:()=>`╖`,boxDr:()=>`╓`,boxH:()=>`═`,boxHD:()=>`╦`,boxHU:()=>`╩`,boxHd:()=>`╤`,boxHu:()=>`╧`,boxUL:()=>`╝`,boxUR:()=>`╚`,boxUl:()=>`╜`,boxUr:()=>`╙`,boxV:()=>`║`,boxVH:()=>`╬`,boxVL:()=>`╣`,boxVR:()=>`╠`,boxVh:()=>`╫`,boxVl:()=>`╢`,boxVr:()=>`╟`,boxbox:()=>`⧉`,boxdL:()=>`╕`,boxdR:()=>`╒`,boxdl:()=>`┐`,boxdr:()=>`┌`,boxh:()=>`─`,boxhD:()=>`╥`,boxhU:()=>`╨`,boxhd:()=>`┬`,boxhu:()=>`┴`,boxminus:()=>`⊟`,boxplus:()=>`⊞`,boxtimes:()=>`⊠`,boxuL:()=>`╛`,boxuR:()=>`╘`,boxul:()=>`┘`,boxur:()=>`└`,boxv:()=>`│`,boxvH:()=>`╪`,boxvL:()=>`╡`,boxvR:()=>`╞`,boxvh:()=>`┼`,boxvl:()=>`┤`,boxvr:()=>`├`,bprime:()=>`‵`,breve:()=>`˘`,brvbar:()=>`¦`,bscr:()=>wc,bsemi:()=>`⁏`,bsim:()=>`∽`,bsime:()=>`⋍`,bsol:()=>`\\`,bsolb:()=>`⧅`,bsolhsub:()=>`⟈`,bull:()=>`•`,bullet:()=>`•`,bump:()=>`≎`,bumpE:()=>`⪮`,bumpe:()=>`≏`,bumpeq:()=>`≏`,cacute:()=>`ć`,cap:()=>`∩`,capand:()=>`⩄`,capbrcup:()=>`⩉`,capcap:()=>`⩋`,capcup:()=>`⩇`,capdot:()=>`⩀`,caps:()=>Tc,caret:()=>`⁁`,caron:()=>`ˇ`,ccaps:()=>`⩍`,ccaron:()=>`č`,ccedil:()=>`ç`,ccirc:()=>`ĉ`,ccups:()=>`⩌`,ccupssm:()=>`⩐`,cdot:()=>`ċ`,cedil:()=>`¸`,cemptyv:()=>`⦲`,cent:()=>`¢`,centerdot:()=>`·`,cfr:()=>Ec,chcy:()=>`ч`,check:()=>`✓`,checkmark:()=>`✓`,chi:()=>`χ`,cir:()=>`○`,cirE:()=>`⧃`,circ:()=>`ˆ`,circeq:()=>`≗`,circlearrowleft:()=>`↺`,circlearrowright:()=>`↻`,circledR:()=>`®`,circledS:()=>`Ⓢ`,circledast:()=>`⊛`,circledcirc:()=>`⊚`,circleddash:()=>`⊝`,cire:()=>`≗`,cirfnint:()=>`⨐`,cirmid:()=>`⫯`,cirscir:()=>`⧂`,clubs:()=>`♣`,clubsuit:()=>`♣`,colon:()=>`:`,colone:()=>`≔`,coloneq:()=>`≔`,comma:()=>`,`,commat:()=>`@`,comp:()=>`∁`,compfn:()=>`∘`,complement:()=>`∁`,complexes:()=>`ℂ`,cong:()=>`≅`,congdot:()=>`⩭`,conint:()=>`∮`,copf:()=>Dc,coprod:()=>`∐`,copy:()=>`©`,copysr:()=>`℗`,crarr:()=>`↵`,cross:()=>`✗`,cscr:()=>kc,csub:()=>`⫏`,csube:()=>`⫑`,csup:()=>`⫐`,csupe:()=>`⫒`,ctdot:()=>`⋯`,cudarrl:()=>`⤸`,cudarrr:()=>`⤵`,cuepr:()=>`⋞`,cuesc:()=>`⋟`,cularr:()=>`↶`,cularrp:()=>`⤽`,cup:()=>`∪`,cupbrcap:()=>`⩈`,cupcap:()=>`⩆`,cupcup:()=>`⩊`,cupdot:()=>`⊍`,cupor:()=>`⩅`,cups:()=>Ac,curarr:()=>`↷`,curarrm:()=>`⤼`,curlyeqprec:()=>`⋞`,curlyeqsucc:()=>`⋟`,curlyvee:()=>`⋎`,curlywedge:()=>`⋏`,curren:()=>`¤`,curvearrowleft:()=>`↶`,curvearrowright:()=>`↷`,cuvee:()=>`⋎`,cuwed:()=>`⋏`,cwconint:()=>`∲`,cwint:()=>`∱`,cylcty:()=>`⌭`,dArr:()=>`⇓`,dHar:()=>`⥥`,dagger:()=>`†`,daleth:()=>`ℸ`,darr:()=>`↓`,dash:()=>`‐`,dashv:()=>`⊣`,dbkarow:()=>`⤏`,dblac:()=>`˝`,dcaron:()=>`ď`,dcy:()=>`д`,dd:()=>`ⅆ`,ddagger:()=>`‡`,ddarr:()=>`⇊`,ddotseq:()=>`⩷`,default:()=>xf,deg:()=>`°`,delta:()=>`δ`,demptyv:()=>`⦱`,dfisht:()=>`⥿`,dfr:()=>Mc,dharl:()=>`⇃`,dharr:()=>`⇂`,diam:()=>`⋄`,diamond:()=>`⋄`,diamondsuit:()=>`♦`,diams:()=>`♦`,die:()=>`¨`,digamma:()=>`ϝ`,disin:()=>`⋲`,div:()=>`÷`,divide:()=>`÷`,divideontimes:()=>`⋇`,divonx:()=>`⋇`,djcy:()=>`ђ`,dlcorn:()=>`⌞`,dlcrop:()=>`⌍`,dollar:()=>`$`,dopf:()=>Pc,dot:()=>`˙`,doteq:()=>`≐`,doteqdot:()=>`≑`,dotminus:()=>`∸`,dotplus:()=>`∔`,dotsquare:()=>`⊡`,doublebarwedge:()=>`⌆`,downarrow:()=>`↓`,downdownarrows:()=>`⇊`,downharpoonleft:()=>`⇃`,downharpoonright:()=>`⇂`,drbkarow:()=>`⤐`,drcorn:()=>`⌟`,drcrop:()=>`⌌`,dscr:()=>Ic,dscy:()=>`ѕ`,dsol:()=>`⧶`,dstrok:()=>`đ`,dtdot:()=>`⋱`,dtri:()=>`▿`,dtrif:()=>`▾`,duarr:()=>`⇵`,duhar:()=>`⥯`,dwangle:()=>`⦦`,dzcy:()=>`џ`,dzigrarr:()=>`⟿`,eDDot:()=>`⩷`,eDot:()=>`≑`,eacute:()=>`é`,easter:()=>`⩮`,ecaron:()=>`ě`,ecir:()=>`≖`,ecirc:()=>`ê`,ecolon:()=>`≕`,ecy:()=>`э`,edot:()=>`ė`,ee:()=>`ⅇ`,efDot:()=>`≒`,efr:()=>Rc,eg:()=>`⪚`,egrave:()=>`è`,egs:()=>`⪖`,egsdot:()=>`⪘`,el:()=>`⪙`,elinters:()=>`⏧`,ell:()=>`ℓ`,els:()=>`⪕`,elsdot:()=>`⪗`,emacr:()=>`ē`,empty:()=>`∅`,emptyset:()=>`∅`,emptyv:()=>`∅`,emsp:()=>` `,emsp13:()=>` `,emsp14:()=>` `,eng:()=>`ŋ`,ensp:()=>` `,eogon:()=>`ę`,eopf:()=>Bc,epar:()=>`⋕`,eparsl:()=>`⧣`,eplus:()=>`⩱`,epsi:()=>`ε`,epsilon:()=>`ε`,epsiv:()=>`ϵ`,eqcirc:()=>`≖`,eqcolon:()=>`≕`,eqsim:()=>`≂`,eqslantgtr:()=>`⪖`,eqslantless:()=>`⪕`,equals:()=>`=`,equest:()=>`≟`,equiv:()=>`≡`,equivDD:()=>`⩸`,eqvparsl:()=>`⧥`,erDot:()=>`≓`,erarr:()=>`⥱`,escr:()=>`ℯ`,esdot:()=>`≐`,esim:()=>`≂`,eta:()=>`η`,eth:()=>`ð`,euml:()=>`ë`,euro:()=>`€`,excl:()=>`!`,exist:()=>`∃`,expectation:()=>`ℰ`,exponentiale:()=>`ⅇ`,fallingdotseq:()=>`≒`,fcy:()=>`ф`,female:()=>`♀`,ffilig:()=>`ffi`,fflig:()=>`ff`,ffllig:()=>`ffl`,ffr:()=>Hc,filig:()=>`fi`,fjlig:()=>`fj`,flat:()=>`♭`,fllig:()=>`fl`,fltns:()=>`▱`,fnof:()=>`ƒ`,fopf:()=>Wc,forall:()=>`∀`,fork:()=>`⋔`,forkv:()=>`⫙`,fpartint:()=>`⨍`,frac12:()=>`½`,frac13:()=>`⅓`,frac14:()=>`¼`,frac15:()=>`⅕`,frac16:()=>`⅙`,frac18:()=>`⅛`,frac23:()=>`⅔`,frac25:()=>`⅖`,frac34:()=>`¾`,frac35:()=>`⅗`,frac38:()=>`⅜`,frac45:()=>`⅘`,frac56:()=>`⅚`,frac58:()=>`⅝`,frac78:()=>`⅞`,frasl:()=>`⁄`,frown:()=>`⌢`,fscr:()=>Gc,gE:()=>`≧`,gEl:()=>`⪌`,gacute:()=>`ǵ`,gamma:()=>`γ`,gammad:()=>`ϝ`,gap:()=>`⪆`,gbreve:()=>`ğ`,gcirc:()=>`ĝ`,gcy:()=>`г`,gdot:()=>`ġ`,ge:()=>`≥`,gel:()=>`⋛`,geq:()=>`≥`,geqq:()=>`≧`,geqslant:()=>`⩾`,ges:()=>`⩾`,gescc:()=>`⪩`,gesdot:()=>`⪀`,gesdoto:()=>`⪂`,gesdotol:()=>`⪄`,gesl:()=>Kc,gesles:()=>`⪔`,gfr:()=>Jc,gg:()=>`≫`,ggg:()=>`⋙`,gimel:()=>`ℷ`,gjcy:()=>`ѓ`,gl:()=>`≷`,glE:()=>`⪒`,gla:()=>`⪥`,glj:()=>`⪤`,gnE:()=>`≩`,gnap:()=>`⪊`,gnapprox:()=>`⪊`,gne:()=>`⪈`,gneq:()=>`⪈`,gneqq:()=>`≩`,gnsim:()=>`⋧`,gopf:()=>Xc,grave:()=>"`",gscr:()=>`ℊ`,gsim:()=>`≳`,gsime:()=>`⪎`,gsiml:()=>`⪐`,gt:()=>`>`,gtcc:()=>`⪧`,gtcir:()=>`⩺`,gtdot:()=>`⋗`,gtlPar:()=>`⦕`,gtquest:()=>`⩼`,gtrapprox:()=>`⪆`,gtrarr:()=>`⥸`,gtrdot:()=>`⋗`,gtreqless:()=>`⋛`,gtreqqless:()=>`⪌`,gtrless:()=>`≷`,gtrsim:()=>`≳`,gvertneqq:()=>Qc,gvnE:()=>$c,hArr:()=>`⇔`,hairsp:()=>` `,half:()=>`½`,hamilt:()=>`ℋ`,hardcy:()=>`ъ`,harr:()=>`↔`,harrcir:()=>`⥈`,harrw:()=>`↭`,hbar:()=>`ℏ`,hcirc:()=>`ĥ`,hearts:()=>`♥`,heartsuit:()=>`♥`,hellip:()=>`…`,hercon:()=>`⊹`,hfr:()=>el,hksearow:()=>`⤥`,hkswarow:()=>`⤦`,hoarr:()=>`⇿`,homtht:()=>`∻`,hookleftarrow:()=>`↩`,hookrightarrow:()=>`↪`,hopf:()=>tl,horbar:()=>`―`,hscr:()=>nl,hslash:()=>`ℏ`,hstrok:()=>`ħ`,hybull:()=>`⁃`,hyphen:()=>`‐`,iacute:()=>`í`,ic:()=>`⁣`,icirc:()=>`î`,icy:()=>`и`,iecy:()=>`е`,iexcl:()=>`¡`,iff:()=>`⇔`,ifr:()=>rl,igrave:()=>`ì`,ii:()=>`ⅈ`,iiiint:()=>`⨌`,iiint:()=>`∭`,iinfin:()=>`⧜`,iiota:()=>`℩`,ijlig:()=>`ij`,imacr:()=>`ī`,image:()=>`ℑ`,imagline:()=>`ℐ`,imagpart:()=>`ℑ`,imath:()=>`ı`,imof:()=>`⊷`,imped:()=>`Ƶ`,incare:()=>`℅`,infin:()=>`∞`,infintie:()=>`⧝`,inodot:()=>`ı`,int:()=>`∫`,intcal:()=>`⊺`,integers:()=>`ℤ`,intercal:()=>`⊺`,intlarhk:()=>`⨗`,intprod:()=>`⨼`,iocy:()=>`ё`,iogon:()=>`į`,iopf:()=>al,iota:()=>`ι`,iprod:()=>`⨼`,iquest:()=>`¿`,iscr:()=>ol,isin:()=>`∈`,isinE:()=>`⋹`,isindot:()=>`⋵`,isins:()=>`⋴`,isinsv:()=>`⋳`,isinv:()=>`∈`,it:()=>`⁢`,itilde:()=>`ĩ`,iukcy:()=>`і`,iuml:()=>`ï`,jcirc:()=>`ĵ`,jcy:()=>`й`,jfr:()=>cl,jmath:()=>`ȷ`,jopf:()=>ul,jscr:()=>fl,jsercy:()=>`ј`,jukcy:()=>`є`,kappa:()=>`κ`,kappav:()=>`ϰ`,kcedil:()=>`ķ`,kcy:()=>`к`,kfr:()=>ml,kgreen:()=>`ĸ`,khcy:()=>`х`,kjcy:()=>`ќ`,kopf:()=>gl,kscr:()=>vl,lAarr:()=>`⇚`,lArr:()=>`⇐`,lAtail:()=>`⤛`,lBarr:()=>`⤎`,lE:()=>`≦`,lEg:()=>`⪋`,lHar:()=>`⥢`,lacute:()=>`ĺ`,laemptyv:()=>`⦴`,lagran:()=>`ℒ`,lambda:()=>`λ`,lang:()=>`⟨`,langd:()=>`⦑`,langle:()=>`⟨`,lap:()=>`⪅`,laquo:()=>`«`,larr:()=>`←`,larrb:()=>`⇤`,larrbfs:()=>`⤟`,larrfs:()=>`⤝`,larrhk:()=>`↩`,larrlp:()=>`↫`,larrpl:()=>`⤹`,larrsim:()=>`⥳`,larrtl:()=>`↢`,lat:()=>`⪫`,latail:()=>`⤙`,late:()=>`⪭`,lates:()=>yl,lbarr:()=>`⤌`,lbbrk:()=>`❲`,lbrace:()=>`{`,lbrack:()=>`[`,lbrke:()=>`⦋`,lbrksld:()=>`⦏`,lbrkslu:()=>`⦍`,lcaron:()=>`ľ`,lcedil:()=>`ļ`,lceil:()=>`⌈`,lcub:()=>`{`,lcy:()=>`л`,ldca:()=>`⤶`,ldquo:()=>`“`,ldquor:()=>`„`,ldrdhar:()=>`⥧`,ldrushar:()=>`⥋`,ldsh:()=>`↲`,le:()=>`≤`,leftarrow:()=>`←`,leftarrowtail:()=>`↢`,leftharpoondown:()=>`↽`,leftharpoonup:()=>`↼`,leftleftarrows:()=>`⇇`,leftrightarrow:()=>`↔`,leftrightarrows:()=>`⇆`,leftrightharpoons:()=>`⇋`,leftrightsquigarrow:()=>`↭`,leftthreetimes:()=>`⋋`,leg:()=>`⋚`,leq:()=>`≤`,leqq:()=>`≦`,leqslant:()=>`⩽`,les:()=>`⩽`,lescc:()=>`⪨`,lesdot:()=>`⩿`,lesdoto:()=>`⪁`,lesdotor:()=>`⪃`,lesg:()=>bl,lesges:()=>`⪓`,lessapprox:()=>`⪅`,lessdot:()=>`⋖`,lesseqgtr:()=>`⋚`,lesseqqgtr:()=>`⪋`,lessgtr:()=>`≶`,lesssim:()=>`≲`,lfisht:()=>`⥼`,lfloor:()=>`⌊`,lfr:()=>Sl,lg:()=>`≶`,lgE:()=>`⪑`,lhard:()=>`↽`,lharu:()=>`↼`,lharul:()=>`⥪`,lhblk:()=>`▄`,ljcy:()=>`љ`,ll:()=>`≪`,llarr:()=>`⇇`,llcorner:()=>`⌞`,llhard:()=>`⥫`,lltri:()=>`◺`,lmidot:()=>`ŀ`,lmoust:()=>`⎰`,lmoustache:()=>`⎰`,lnE:()=>`≨`,lnap:()=>`⪉`,lnapprox:()=>`⪉`,lne:()=>`⪇`,lneq:()=>`⪇`,lneqq:()=>`≨`,lnsim:()=>`⋦`,loang:()=>`⟬`,loarr:()=>`⇽`,lobrk:()=>`⟦`,longleftarrow:()=>`⟵`,longleftrightarrow:()=>`⟷`,longmapsto:()=>`⟼`,longrightarrow:()=>`⟶`,looparrowleft:()=>`↫`,looparrowright:()=>`↬`,lopar:()=>`⦅`,lopf:()=>wl,loplus:()=>`⨭`,lotimes:()=>`⨴`,lowast:()=>`∗`,lowbar:()=>`_`,loz:()=>`◊`,lozenge:()=>`◊`,lozf:()=>`⧫`,lpar:()=>`(`,lparlt:()=>`⦓`,lrarr:()=>`⇆`,lrcorner:()=>`⌟`,lrhar:()=>`⇋`,lrhard:()=>`⥭`,lrm:()=>`‎`,lrtri:()=>`⊿`,lsaquo:()=>`‹`,lscr:()=>Tl,lsh:()=>`↰`,lsim:()=>`≲`,lsime:()=>`⪍`,lsimg:()=>`⪏`,lsqb:()=>`[`,lsquo:()=>`‘`,lsquor:()=>`‚`,lstrok:()=>`ł`,lt:()=>`<`,ltcc:()=>`⪦`,ltcir:()=>`⩹`,ltdot:()=>`⋖`,lthree:()=>`⋋`,ltimes:()=>`⋉`,ltlarr:()=>`⥶`,ltquest:()=>`⩻`,ltrPar:()=>`⦖`,ltri:()=>`◃`,ltrie:()=>`⊴`,ltrif:()=>`◂`,lurdshar:()=>`⥊`,luruhar:()=>`⥦`,lvertneqq:()=>El,lvnE:()=>Dl,mDDot:()=>`∺`,macr:()=>`¯`,male:()=>`♂`,malt:()=>`✠`,maltese:()=>`✠`,map:()=>`↦`,mapsto:()=>`↦`,mapstodown:()=>`↧`,mapstoleft:()=>`↤`,mapstoup:()=>`↥`,marker:()=>`▮`,mcomma:()=>`⨩`,mcy:()=>`м`,mdash:()=>`—`,measuredangle:()=>`∡`,mfr:()=>kl,mho:()=>`℧`,micro:()=>`µ`,mid:()=>`∣`,midast:()=>`*`,midcir:()=>`⫰`,middot:()=>`·`,minus:()=>`−`,minusb:()=>`⊟`,minusd:()=>`∸`,minusdu:()=>`⨪`,mlcp:()=>`⫛`,mldr:()=>`…`,mnplus:()=>`∓`,models:()=>`⊧`,mopf:()=>jl,mp:()=>`∓`,mscr:()=>Ml,mstpos:()=>`∾`,mu:()=>`μ`,multimap:()=>`⊸`,mumap:()=>`⊸`,nGg:()=>ql,nGt:()=>Jl,nGtv:()=>Yl,nLeftarrow:()=>`⇍`,nLeftrightarrow:()=>`⇎`,nLl:()=>eu,nLt:()=>tu,nLtv:()=>nu,nRightarrow:()=>`⇏`,nVDash:()=>`⊯`,nVdash:()=>`⊮`,nabla:()=>`∇`,nacute:()=>`ń`,nang:()=>Nl,nap:()=>`≉`,napE:()=>Pl,napid:()=>Fl,napos:()=>`ʼn`,napprox:()=>`≉`,natur:()=>`♮`,natural:()=>`♮`,naturals:()=>`ℕ`,nbsp:()=>`\xA0`,nbump:()=>Il,nbumpe:()=>Ll,ncap:()=>`⩃`,ncaron:()=>`ň`,ncedil:()=>`ņ`,ncong:()=>`≇`,ncongdot:()=>Rl,ncup:()=>`⩂`,ncy:()=>`н`,ndash:()=>`–`,ne:()=>`≠`,neArr:()=>`⇗`,nearhk:()=>`⤤`,nearr:()=>`↗`,nearrow:()=>`↗`,nedot:()=>zl,nequiv:()=>`≢`,nesear:()=>`⤨`,nesim:()=>Bl,nexist:()=>`∄`,nexists:()=>`∄`,nfr:()=>Hl,ngE:()=>Ul,nge:()=>`≱`,ngeq:()=>`≱`,ngeqq:()=>Wl,ngeqslant:()=>Gl,nges:()=>Kl,ngsim:()=>`≵`,ngt:()=>`≯`,ngtr:()=>`≯`,nhArr:()=>`⇎`,nharr:()=>`↮`,nhpar:()=>`⫲`,ni:()=>`∋`,nis:()=>`⋼`,nisd:()=>`⋺`,niv:()=>`∋`,njcy:()=>`њ`,nlArr:()=>`⇍`,nlE:()=>Xl,nlarr:()=>`↚`,nldr:()=>`‥`,nle:()=>`≰`,nleftarrow:()=>`↚`,nleftrightarrow:()=>`↮`,nleq:()=>`≰`,nleqq:()=>Zl,nleqslant:()=>Ql,nles:()=>$l,nless:()=>`≮`,nlsim:()=>`≴`,nlt:()=>`≮`,nltri:()=>`⋪`,nltrie:()=>`⋬`,nmid:()=>`∤`,nopf:()=>ru,not:()=>`¬`,notin:()=>`∉`,notinE:()=>du,notindot:()=>uu,notinva:()=>`∉`,notinvb:()=>`⋷`,notinvc:()=>`⋶`,notni:()=>`∌`,notniva:()=>`∌`,notnivb:()=>`⋾`,notnivc:()=>`⋽`,npar:()=>`∦`,nparallel:()=>`∦`,nparsl:()=>Tu,npart:()=>Eu,npolint:()=>`⨔`,npr:()=>`⊀`,nprcue:()=>`⋠`,npre:()=>Ou,nprec:()=>`⊀`,npreceq:()=>Du,nrArr:()=>`⇏`,nrarr:()=>`↛`,nrarrc:()=>ku,nrarrw:()=>Au,nrightarrow:()=>`↛`,nrtri:()=>`⋫`,nrtrie:()=>`⋭`,nsc:()=>`⊁`,nsccue:()=>`⋡`,nsce:()=>ju,nscr:()=>Nu,nshortmid:()=>`∤`,nshortparallel:()=>`∦`,nsim:()=>`≁`,nsime:()=>`≄`,nsimeq:()=>`≄`,nsmid:()=>`∤`,nspar:()=>`∦`,nsqsube:()=>`⋢`,nsqsupe:()=>`⋣`,nsub:()=>`⊄`,nsubE:()=>Pu,nsube:()=>`⊈`,nsubset:()=>Fu,nsubseteq:()=>`⊈`,nsubseteqq:()=>Iu,nsucc:()=>`⊁`,nsucceq:()=>Lu,nsup:()=>`⊅`,nsupE:()=>Ru,nsupe:()=>`⊉`,nsupset:()=>zu,nsupseteq:()=>`⊉`,nsupseteqq:()=>Bu,ntgl:()=>`≹`,ntilde:()=>`ñ`,ntlg:()=>`≸`,ntriangleleft:()=>`⋪`,ntrianglelefteq:()=>`⋬`,ntriangleright:()=>`⋫`,ntrianglerighteq:()=>`⋭`,nu:()=>`ν`,num:()=>`#`,numero:()=>`№`,numsp:()=>` `,nvDash:()=>`⊭`,nvHarr:()=>`⤄`,nvap:()=>Vu,nvdash:()=>`⊬`,nvge:()=>Hu,nvgt:()=>Uu,nvinfin:()=>`⧞`,nvlArr:()=>`⤂`,nvle:()=>Wu,nvlt:()=>Gu,nvltrie:()=>Ku,nvrArr:()=>`⤃`,nvrtrie:()=>qu,nvsim:()=>Ju,nwArr:()=>`⇖`,nwarhk:()=>`⤣`,nwarr:()=>`↖`,nwarrow:()=>`↖`,nwnear:()=>`⤧`,oS:()=>`Ⓢ`,oacute:()=>`ó`,oast:()=>`⊛`,ocir:()=>`⊚`,ocirc:()=>`ô`,ocy:()=>`о`,odash:()=>`⊝`,odblac:()=>`ő`,odiv:()=>`⨸`,odot:()=>`⊙`,odsold:()=>`⦼`,oelig:()=>`œ`,ofcir:()=>`⦿`,ofr:()=>Xu,ogon:()=>`˛`,ograve:()=>`ò`,ogt:()=>`⧁`,ohbar:()=>`⦵`,ohm:()=>`Ω`,oint:()=>`∮`,olarr:()=>`↺`,olcir:()=>`⦾`,olcross:()=>`⦻`,oline:()=>`‾`,olt:()=>`⧀`,omacr:()=>`ō`,omega:()=>`ω`,omicron:()=>`ο`,omid:()=>`⦶`,ominus:()=>`⊖`,oopf:()=>Qu,opar:()=>`⦷`,operp:()=>`⦹`,oplus:()=>`⊕`,or:()=>`∨`,orarr:()=>`↻`,ord:()=>`⩝`,order:()=>`ℴ`,orderof:()=>`ℴ`,ordf:()=>`ª`,ordm:()=>`º`,origof:()=>`⊶`,oror:()=>`⩖`,orslope:()=>`⩗`,orv:()=>`⩛`,oscr:()=>`ℴ`,oslash:()=>`ø`,osol:()=>`⊘`,otilde:()=>`õ`,otimes:()=>`⊗`,otimesas:()=>`⨶`,ouml:()=>`ö`,ovbar:()=>`⌽`,par:()=>`∥`,para:()=>`¶`,parallel:()=>`∥`,parsim:()=>`⫳`,parsl:()=>`⫽`,part:()=>`∂`,pcy:()=>`п`,percnt:()=>`%`,period:()=>`.`,permil:()=>`‰`,perp:()=>`⊥`,pertenk:()=>`‱`,pfr:()=>td,phi:()=>`φ`,phiv:()=>`ϕ`,phmmat:()=>`ℳ`,phone:()=>`☎`,pi:()=>`π`,pitchfork:()=>`⋔`,piv:()=>`ϖ`,planck:()=>`ℏ`,planckh:()=>`ℎ`,plankv:()=>`ℏ`,plus:()=>`+`,plusacir:()=>`⨣`,plusb:()=>`⊞`,pluscir:()=>`⨢`,plusdo:()=>`∔`,plusdu:()=>`⨥`,pluse:()=>`⩲`,plusmn:()=>`±`,plussim:()=>`⨦`,plustwo:()=>`⨧`,pm:()=>`±`,pointint:()=>`⨕`,popf:()=>nd,pound:()=>`£`,pr:()=>`≺`,prE:()=>`⪳`,prap:()=>`⪷`,prcue:()=>`≼`,pre:()=>`⪯`,prec:()=>`≺`,precapprox:()=>`⪷`,preccurlyeq:()=>`≼`,preceq:()=>`⪯`,precnapprox:()=>`⪹`,precneqq:()=>`⪵`,precnsim:()=>`⋨`,precsim:()=>`≾`,prime:()=>`′`,primes:()=>`ℙ`,prnE:()=>`⪵`,prnap:()=>`⪹`,prnsim:()=>`⋨`,prod:()=>`∏`,profalar:()=>`⌮`,profline:()=>`⌒`,profsurf:()=>`⌓`,prop:()=>`∝`,propto:()=>`∝`,prsim:()=>`≾`,prurel:()=>`⊰`,pscr:()=>id,psi:()=>`ψ`,puncsp:()=>` `,qfr:()=>od,qint:()=>`⨌`,qopf:()=>sd,qprime:()=>`⁗`,qscr:()=>ld,quaternions:()=>`ℍ`,quatint:()=>`⨖`,quest:()=>`?`,questeq:()=>`≟`,quot:()=>`"`,rAarr:()=>`⇛`,rArr:()=>`⇒`,rAtail:()=>`⤜`,rBarr:()=>`⤏`,rHar:()=>`⥤`,race:()=>ud,racute:()=>`ŕ`,radic:()=>`√`,raemptyv:()=>`⦳`,rang:()=>`⟩`,rangd:()=>`⦒`,range:()=>`⦥`,rangle:()=>`⟩`,raquo:()=>`»`,rarr:()=>`→`,rarrap:()=>`⥵`,rarrb:()=>`⇥`,rarrbfs:()=>`⤠`,rarrc:()=>`⤳`,rarrfs:()=>`⤞`,rarrhk:()=>`↪`,rarrlp:()=>`↬`,rarrpl:()=>`⥅`,rarrsim:()=>`⥴`,rarrtl:()=>`↣`,rarrw:()=>`↝`,ratail:()=>`⤚`,ratio:()=>`∶`,rationals:()=>`ℚ`,rbarr:()=>`⤍`,rbbrk:()=>`❳`,rbrace:()=>`}`,rbrack:()=>`]`,rbrke:()=>`⦌`,rbrksld:()=>`⦎`,rbrkslu:()=>`⦐`,rcaron:()=>`ř`,rcedil:()=>`ŗ`,rceil:()=>`⌉`,rcub:()=>`}`,rcy:()=>`р`,rdca:()=>`⤷`,rdldhar:()=>`⥩`,rdquo:()=>`”`,rdquor:()=>`”`,rdsh:()=>`↳`,real:()=>`ℜ`,realine:()=>`ℛ`,realpart:()=>`ℜ`,reals:()=>`ℝ`,rect:()=>`▭`,reg:()=>`®`,rfisht:()=>`⥽`,rfloor:()=>`⌋`,rfr:()=>dd,rhard:()=>`⇁`,rharu:()=>`⇀`,rharul:()=>`⥬`,rho:()=>`ρ`,rhov:()=>`ϱ`,rightarrow:()=>`→`,rightarrowtail:()=>`↣`,rightharpoondown:()=>`⇁`,rightharpoonup:()=>`⇀`,rightleftarrows:()=>`⇄`,rightleftharpoons:()=>`⇌`,rightrightarrows:()=>`⇉`,rightsquigarrow:()=>`↝`,rightthreetimes:()=>`⋌`,ring:()=>`˚`,risingdotseq:()=>`≓`,rlarr:()=>`⇄`,rlhar:()=>`⇌`,rlm:()=>`‏`,rmoust:()=>`⎱`,rmoustache:()=>`⎱`,rnmid:()=>`⫮`,roang:()=>`⟭`,roarr:()=>`⇾`,robrk:()=>`⟧`,ropar:()=>`⦆`,ropf:()=>fd,roplus:()=>`⨮`,rotimes:()=>`⨵`,rpar:()=>`)`,rpargt:()=>`⦔`,rppolint:()=>`⨒`,rrarr:()=>`⇉`,rsaquo:()=>`›`,rscr:()=>pd,rsh:()=>`↱`,rsqb:()=>`]`,rsquo:()=>`’`,rsquor:()=>`’`,rthree:()=>`⋌`,rtimes:()=>`⋊`,rtri:()=>`▹`,rtrie:()=>`⊵`,rtrif:()=>`▸`,rtriltri:()=>`⧎`,ruluhar:()=>`⥨`,rx:()=>`℞`,sacute:()=>`ś`,sbquo:()=>`‚`,sc:()=>`≻`,scE:()=>`⪴`,scap:()=>`⪸`,scaron:()=>`š`,sccue:()=>`≽`,sce:()=>`⪰`,scedil:()=>`ş`,scirc:()=>`ŝ`,scnE:()=>`⪶`,scnap:()=>`⪺`,scnsim:()=>`⋩`,scpolint:()=>`⨓`,scsim:()=>`≿`,scy:()=>`с`,sdot:()=>`⋅`,sdotb:()=>`⊡`,sdote:()=>`⩦`,seArr:()=>`⇘`,searhk:()=>`⤥`,searr:()=>`↘`,searrow:()=>`↘`,sect:()=>`§`,semi:()=>`;`,seswar:()=>`⤩`,setminus:()=>`∖`,setmn:()=>`∖`,sext:()=>`✶`,sfr:()=>hd,sfrown:()=>`⌢`,sharp:()=>`♯`,shchcy:()=>`щ`,shcy:()=>`ш`,shortmid:()=>`∣`,shortparallel:()=>`∥`,shy:()=>`­`,sigma:()=>`σ`,sigmaf:()=>`ς`,sigmav:()=>`ς`,sim:()=>`∼`,simdot:()=>`⩪`,sime:()=>`≃`,simeq:()=>`≃`,simg:()=>`⪞`,simgE:()=>`⪠`,siml:()=>`⪝`,simlE:()=>`⪟`,simne:()=>`≆`,simplus:()=>`⨤`,simrarr:()=>`⥲`,slarr:()=>`←`,smallsetminus:()=>`∖`,smashp:()=>`⨳`,smeparsl:()=>`⧤`,smid:()=>`∣`,smile:()=>`⌣`,smt:()=>`⪪`,smte:()=>`⪬`,smtes:()=>gd,softcy:()=>`ь`,sol:()=>`/`,solb:()=>`⧄`,solbar:()=>`⌿`,sopf:()=>vd,spades:()=>`♠`,spadesuit:()=>`♠`,spar:()=>`∥`,sqcap:()=>`⊓`,sqcaps:()=>yd,sqcup:()=>`⊔`,sqcups:()=>bd,sqsub:()=>`⊏`,sqsube:()=>`⊑`,sqsubset:()=>`⊏`,sqsubseteq:()=>`⊑`,sqsup:()=>`⊐`,sqsupe:()=>`⊒`,sqsupset:()=>`⊐`,sqsupseteq:()=>`⊒`,squ:()=>`□`,square:()=>`□`,squarf:()=>`▪`,squf:()=>`▪`,srarr:()=>`→`,sscr:()=>Sd,ssetmn:()=>`∖`,ssmile:()=>`⌣`,sstarf:()=>`⋆`,star:()=>`☆`,starf:()=>`★`,straightepsilon:()=>`ϵ`,straightphi:()=>`ϕ`,strns:()=>`¯`,sub:()=>`⊂`,subE:()=>`⫅`,subdot:()=>`⪽`,sube:()=>`⊆`,subedot:()=>`⫃`,submult:()=>`⫁`,subnE:()=>`⫋`,subne:()=>`⊊`,subplus:()=>`⪿`,subrarr:()=>`⥹`,subset:()=>`⊂`,subseteq:()=>`⊆`,subseteqq:()=>`⫅`,subsetneq:()=>`⊊`,subsetneqq:()=>`⫋`,subsim:()=>`⫇`,subsub:()=>`⫕`,subsup:()=>`⫓`,succ:()=>`≻`,succapprox:()=>`⪸`,succcurlyeq:()=>`≽`,succeq:()=>`⪰`,succnapprox:()=>`⪺`,succneqq:()=>`⪶`,succnsim:()=>`⋩`,succsim:()=>`≿`,sum:()=>`∑`,sung:()=>`♪`,sup:()=>`⊃`,sup1:()=>`¹`,sup2:()=>`²`,sup3:()=>`³`,supE:()=>`⫆`,supdot:()=>`⪾`,supdsub:()=>`⫘`,supe:()=>`⊇`,supedot:()=>`⫄`,suphsol:()=>`⟉`,suphsub:()=>`⫗`,suplarr:()=>`⥻`,supmult:()=>`⫂`,supnE:()=>`⫌`,supne:()=>`⊋`,supplus:()=>`⫀`,supset:()=>`⊃`,supseteq:()=>`⊇`,supseteqq:()=>`⫆`,supsetneq:()=>`⊋`,supsetneqq:()=>`⫌`,supsim:()=>`⫈`,supsub:()=>`⫔`,supsup:()=>`⫖`,swArr:()=>`⇙`,swarhk:()=>`⤦`,swarr:()=>`↙`,swarrow:()=>`↙`,swnwar:()=>`⤪`,szlig:()=>`ß`,target:()=>`⌖`,tau:()=>`τ`,tbrk:()=>`⎴`,tcaron:()=>`ť`,tcedil:()=>`ţ`,tcy:()=>`т`,tdot:()=>`⃛`,telrec:()=>`⌕`,tfr:()=>wd,there4:()=>`∴`,therefore:()=>`∴`,theta:()=>`θ`,thetasym:()=>`ϑ`,thetav:()=>`ϑ`,thickapprox:()=>`≈`,thicksim:()=>`∼`,thinsp:()=>` `,thkap:()=>`≈`,thksim:()=>`∼`,thorn:()=>`þ`,tilde:()=>`˜`,times:()=>`×`,timesb:()=>`⊠`,timesbar:()=>`⨱`,timesd:()=>`⨰`,tint:()=>`∭`,toea:()=>`⤨`,top:()=>`⊤`,topbot:()=>`⌶`,topcir:()=>`⫱`,topf:()=>Dd,topfork:()=>`⫚`,tosa:()=>`⤩`,tprime:()=>`‴`,trade:()=>`™`,triangle:()=>`▵`,triangledown:()=>`▿`,triangleleft:()=>`◃`,trianglelefteq:()=>`⊴`,triangleq:()=>`≜`,triangleright:()=>`▹`,trianglerighteq:()=>`⊵`,tridot:()=>`◬`,trie:()=>`≜`,triminus:()=>`⨺`,triplus:()=>`⨹`,trisb:()=>`⧍`,tritime:()=>`⨻`,trpezium:()=>`⏢`,tscr:()=>kd,tscy:()=>`ц`,tshcy:()=>`ћ`,tstrok:()=>`ŧ`,twixt:()=>`≬`,twoheadleftarrow:()=>`↞`,twoheadrightarrow:()=>`↠`,uArr:()=>`⇑`,uHar:()=>`⥣`,uacute:()=>`ú`,uarr:()=>`↑`,ubrcy:()=>`ў`,ubreve:()=>`ŭ`,ucirc:()=>`û`,ucy:()=>`у`,udarr:()=>`⇅`,udblac:()=>`ű`,udhar:()=>`⥮`,ufisht:()=>`⥾`,ufr:()=>jd,ugrave:()=>`ù`,uharl:()=>`↿`,uharr:()=>`↾`,uhblk:()=>`▀`,ulcorn:()=>`⌜`,ulcorner:()=>`⌜`,ulcrop:()=>`⌏`,ultri:()=>`◸`,umacr:()=>`ū`,uml:()=>`¨`,uogon:()=>`ų`,uopf:()=>Nd,uparrow:()=>`↑`,updownarrow:()=>`↕`,upharpoonleft:()=>`↿`,upharpoonright:()=>`↾`,uplus:()=>`⊎`,upsi:()=>`υ`,upsih:()=>`ϒ`,upsilon:()=>`υ`,upuparrows:()=>`⇈`,urcorn:()=>`⌝`,urcorner:()=>`⌝`,urcrop:()=>`⌎`,uring:()=>`ů`,urtri:()=>`◹`,uscr:()=>Fd,utdot:()=>`⋰`,utilde:()=>`ũ`,utri:()=>`▵`,utrif:()=>`▴`,uuarr:()=>`⇈`,uuml:()=>`ü`,uwangle:()=>`⦧`,vArr:()=>`⇕`,vBar:()=>`⫨`,vBarv:()=>`⫩`,vDash:()=>`⊨`,vangrt:()=>`⦜`,varepsilon:()=>`ϵ`,varkappa:()=>`ϰ`,varnothing:()=>`∅`,varphi:()=>`ϕ`,varpi:()=>`ϖ`,varpropto:()=>`∝`,varr:()=>`↕`,varrho:()=>`ϱ`,varsigma:()=>`ς`,varsubsetneq:()=>Id,varsubsetneqq:()=>Ld,varsupsetneq:()=>Rd,varsupsetneqq:()=>zd,vartheta:()=>`ϑ`,vartriangleleft:()=>`⊲`,vartriangleright:()=>`⊳`,vcy:()=>`в`,vdash:()=>`⊢`,vee:()=>`∨`,veebar:()=>`⊻`,veeeq:()=>`≚`,vellip:()=>`⋮`,verbar:()=>`|`,vert:()=>`|`,vfr:()=>Vd,vltri:()=>`⊲`,vnsub:()=>Hd,vnsup:()=>Ud,vopf:()=>Gd,vprop:()=>`∝`,vrtri:()=>`⊳`,vscr:()=>qd,vsubnE:()=>Jd,vsubne:()=>Yd,vsupnE:()=>Xd,vsupne:()=>Zd,vzigzag:()=>`⦚`,wcirc:()=>`ŵ`,wedbar:()=>`⩟`,wedge:()=>`∧`,wedgeq:()=>`≙`,weierp:()=>`℘`,wfr:()=>$d,wopf:()=>tf,wp:()=>`℘`,wr:()=>`≀`,wreath:()=>`≀`,wscr:()=>rf,xcap:()=>`⋂`,xcirc:()=>`◯`,xcup:()=>`⋃`,xdtri:()=>`▽`,xfr:()=>of,xhArr:()=>`⟺`,xharr:()=>`⟷`,xi:()=>`ξ`,xlArr:()=>`⟸`,xlarr:()=>`⟵`,xmap:()=>`⟼`,xnis:()=>`⋻`,xodot:()=>`⨀`,xopf:()=>cf,xoplus:()=>`⨁`,xotime:()=>`⨂`,xrArr:()=>`⟹`,xrarr:()=>`⟶`,xscr:()=>uf,xsqcup:()=>`⨆`,xuplus:()=>`⨄`,xutri:()=>`△`,xvee:()=>`⋁`,xwedge:()=>`⋀`,yacute:()=>`ý`,yacy:()=>`я`,ycirc:()=>`ŷ`,ycy:()=>`ы`,yen:()=>`¥`,yfr:()=>ff,yicy:()=>`ї`,yopf:()=>mf,yscr:()=>gf,yucy:()=>`ю`,yuml:()=>`ÿ`,zacute:()=>`ź`,zcaron:()=>`ž`,zcy:()=>`з`,zdot:()=>`ż`,zeetrf:()=>`ℨ`,zeta:()=>`ζ`,zfr:()=>_f,zhcy:()=>`ж`,zigrarr:()=>`⇝`,zopf:()=>vf,zscr:()=>bf,zwj:()=>`‍`,zwnj:()=>`‌`}),dc,fc,pc,mc,hc,gc,_c,vc,yc,bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc,Ac,jc,Mc,Nc,Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Uc,Wc,Gc,Kc,qc,Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl,_l,vl,yl,bl,xl,Sl,Cl,wl,Tl,El,Dl,Ol,kl,Al,jl,Ml,Nl,Pl,Fl,Il,Ll,Rl,zl,Bl,Vl,Hl,Ul,Wl,Gl,Kl,ql,Jl,Yl,Xl,Zl,Ql,$l,eu,tu,nu,ru,iu,au,ou,su,cu,lu,uu,du,fu,pu,mu,hu,gu,_u,vu,yu,bu,xu,Su,Cu,wu,Tu,Eu,Du,Ou,ku,Au,ju,Mu,Nu,Pu,Fu,Iu,Lu,Ru,zu,Bu,Vu,Hu,Uu,Wu,Gu,Ku,qu,Ju,Yu,Xu,Zu,Qu,$u,ed,td,nd,rd,id,ad,od,sd,cd,ld,ud,dd,fd,pd,md,hd,gd,_d,vd,yd,bd,xd,Sd,Cd,wd,Td,Ed,Dd,Od,kd,Ad,jd,Md,Nd,Pd,Fd,Id,Ld,Rd,zd,Bd,Vd,Hd,Ud,Wd,Gd,Kd,qd,Jd,Yd,Xd,Zd,Qd,$d,ef,tf,nf,rf,af,of,sf,cf,lf,uf,df,ff,pf,mf,hf,gf,_f,vf,yf,bf,xf,Sf=ce((()=>{dc=`∾̳`,fc=`𝔄`,pc=`𝔞`,mc=`𝔸`,hc=`𝕒`,gc=`𝒜`,_c=`𝒶`,vc=`𝔅`,yc=`𝔟`,bc=`=⃥`,xc=`≡⃥`,Sc=`𝔹`,Cc=`𝕓`,wc=`𝒷`,Tc=`∩︀`,Ec=`𝔠`,Dc=`𝕔`,Oc=`𝒞`,kc=`𝒸`,Ac=`∪︀`,jc=`𝔇`,Mc=`𝔡`,Nc=`𝔻`,Pc=`𝕕`,Fc=`𝒟`,Ic=`𝒹`,Lc=`𝔈`,Rc=`𝔢`,zc=`𝔼`,Bc=`𝕖`,Vc=`𝔉`,Hc=`𝔣`,Uc=`𝔽`,Wc=`𝕗`,Gc=`𝒻`,Kc=`⋛︀`,qc=`𝔊`,Jc=`𝔤`,Yc=`𝔾`,Xc=`𝕘`,Zc=`𝒢`,Qc=`≩︀`,$c=`≩︀`,el=`𝔥`,tl=`𝕙`,nl=`𝒽`,rl=`𝔦`,il=`𝕀`,al=`𝕚`,ol=`𝒾`,sl=`𝔍`,cl=`𝔧`,ll=`𝕁`,ul=`𝕛`,dl=`𝒥`,fl=`𝒿`,pl=`𝔎`,ml=`𝔨`,hl=`𝕂`,gl=`𝕜`,_l=`𝒦`,vl=`𝓀`,yl=`⪭︀`,bl=`⋚︀`,xl=`𝔏`,Sl=`𝔩`,Cl=`𝕃`,wl=`𝕝`,Tl=`𝓁`,El=`≨︀`,Dl=`≨︀`,Ol=`𝔐`,kl=`𝔪`,Al=`𝕄`,jl=`𝕞`,Ml=`𝓂`,Nl=`∠⃒`,Pl=`⩰̸`,Fl=`≋̸`,Il=`≎̸`,Ll=`≏̸`,Rl=`⩭̸`,zl=`≐̸`,Bl=`≂̸`,Vl=`𝔑`,Hl=`𝔫`,Ul=`≧̸`,Wl=`≧̸`,Gl=`⩾̸`,Kl=`⩾̸`,ql=`⋙̸`,Jl=`≫⃒`,Yl=`≫̸`,Xl=`≦̸`,Zl=`≦̸`,Ql=`⩽̸`,$l=`⩽̸`,eu=`⋘̸`,tu=`≪⃒`,nu=`≪̸`,ru=`𝕟`,iu=`≂̸`,au=`≧̸`,ou=`≫̸`,su=`⩾̸`,cu=`≎̸`,lu=`≏̸`,uu=`⋵̸`,du=`⋹̸`,fu=`⧏̸`,pu=`≪̸`,mu=`⩽̸`,hu=`⪢̸`,gu=`⪡̸`,_u=`⪯̸`,vu=`⧐̸`,yu=`⊏̸`,bu=`⊐̸`,xu=`⊂⃒`,Su=`⪰̸`,Cu=`≿̸`,wu=`⊃⃒`,Tu=`⫽⃥`,Eu=`∂̸`,Du=`⪯̸`,Ou=`⪯̸`,ku=`⤳̸`,Au=`↝̸`,ju=`⪰̸`,Mu=`𝒩`,Nu=`𝓃`,Pu=`⫅̸`,Fu=`⊂⃒`,Iu=`⫅̸`,Lu=`⪰̸`,Ru=`⫆̸`,zu=`⊃⃒`,Bu=`⫆̸`,Vu=`≍⃒`,Hu=`≥⃒`,Uu=`>⃒`,Wu=`≤⃒`,Gu=`<⃒`,Ku=`⊴⃒`,qu=`⊵⃒`,Ju=`∼⃒`,Yu=`𝔒`,Xu=`𝔬`,Zu=`𝕆`,Qu=`𝕠`,$u=`𝒪`,ed=`𝔓`,td=`𝔭`,nd=`𝕡`,rd=`𝒫`,id=`𝓅`,ad=`𝔔`,od=`𝔮`,sd=`𝕢`,cd=`𝒬`,ld=`𝓆`,ud=`∽̱`,dd=`𝔯`,fd=`𝕣`,pd=`𝓇`,md=`𝔖`,hd=`𝔰`,gd=`⪬︀`,_d=`𝕊`,vd=`𝕤`,yd=`⊓︀`,bd=`⊔︀`,xd=`𝒮`,Sd=`𝓈`,Cd=`𝔗`,wd=`𝔱`,Td=`  `,Ed=`𝕋`,Dd=`𝕥`,Od=`𝒯`,kd=`𝓉`,Ad=`𝔘`,jd=`𝔲`,Md=`𝕌`,Nd=`𝕦`,Pd=`𝒰`,Fd=`𝓊`,Id=`⊊︀`,Ld=`⫋︀`,Rd=`⊋︀`,zd=`⫌︀`,Bd=`𝔙`,Vd=`𝔳`,Hd=`⊂⃒`,Ud=`⊃⃒`,Wd=`𝕍`,Gd=`𝕧`,Kd=`𝒱`,qd=`𝓋`,Jd=`⫋︀`,Yd=`⊊︀`,Xd=`⫌︀`,Zd=`⊋︀`,Qd=`𝔚`,$d=`𝔴`,ef=`𝕎`,tf=`𝕨`,nf=`𝒲`,rf=`𝓌`,af=`𝔛`,of=`𝔵`,sf=`𝕏`,cf=`𝕩`,lf=`𝒳`,uf=`𝓍`,df=`𝔜`,ff=`𝔶`,pf=`𝕐`,mf=`𝕪`,hf=`𝒴`,gf=`𝓎`,_f=`𝔷`,vf=`𝕫`,yf=`𝒵`,bf=`𝓏`,xf={Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:dc,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:fc,afr:pc,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,amp:`&`,AMP:`&`,andand:`⩕`,And:`⩓`,and:`∧`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angmsd:`∡`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:mc,aopf:hc,apacir:`⩯`,ap:`≈`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:gc,ascr:_c,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,barwed:`⌅`,Barwed:`⌆`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,Because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:vc,bfr:yc,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:bc,bnequiv:xc,bNot:`⫭`,bnot:`⌐`,Bopf:Sc,bopf:Cc,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxdl:`┐`,boxdL:`╕`,boxDl:`╖`,boxDL:`╗`,boxdr:`┌`,boxdR:`╒`,boxDr:`╓`,boxDR:`╔`,boxh:`─`,boxH:`═`,boxhd:`┬`,boxHd:`╤`,boxhD:`╥`,boxHD:`╦`,boxhu:`┴`,boxHu:`╧`,boxhU:`╨`,boxHU:`╩`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxul:`┘`,boxuL:`╛`,boxUl:`╜`,boxUL:`╝`,boxur:`└`,boxuR:`╘`,boxUr:`╙`,boxUR:`╚`,boxv:`│`,boxV:`║`,boxvh:`┼`,boxvH:`╪`,boxVh:`╫`,boxVH:`╬`,boxvl:`┤`,boxvL:`╡`,boxVl:`╢`,boxVL:`╣`,boxvr:`├`,boxvR:`╞`,boxVr:`╟`,boxVR:`╠`,bprime:`‵`,breve:`˘`,Breve:`˘`,brvbar:`¦`,bscr:wc,Bscr:`ℬ`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsolb:`⧅`,bsol:`\\`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,cap:`∩`,Cap:`⋒`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:Tc,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,CenterDot:`·`,cfr:Ec,Cfr:`ℭ`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cir:`○`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,colon:`:`,Colon:`∷`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,conint:`∮`,Conint:`∯`,ContourIntegral:`∮`,copf:Dc,Copf:`ℂ`,coprod:`∐`,Coproduct:`∐`,copy:`©`,COPY:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,cross:`✗`,Cross:`⨯`,Cscr:Oc,cscr:kc,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cupbrcap:`⩈`,cupcap:`⩆`,CupCap:`≍`,cup:`∪`,Cup:`⋓`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:Ac,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dagger:`†`,Dagger:`‡`,daleth:`ℸ`,darr:`↓`,Darr:`↡`,dArr:`⇓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,ddagger:`‡`,ddarr:`⇊`,DD:`ⅅ`,dd:`ⅆ`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:jc,dfr:Mc,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,diamond:`⋄`,Diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:Nc,dopf:Pc,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrowBar:`⤓`,downarrow:`↓`,DownArrow:`↓`,Downarrow:`⇓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVectorBar:`⥖`,DownLeftVector:`↽`,DownRightTeeVector:`⥟`,DownRightVectorBar:`⥗`,DownRightVector:`⇁`,DownTeeArrow:`↧`,DownTee:`⊤`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:Fc,dscr:Ic,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,Ecirc:`Ê`,ecirc:`ê`,ecir:`≖`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,edot:`ė`,eDot:`≑`,ee:`ⅇ`,efDot:`≒`,Efr:Lc,efr:Rc,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp13:` `,emsp14:` `,emsp:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:zc,eopf:Bc,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,escr:`ℯ`,Escr:`ℰ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,ExponentialE:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:Vc,ffr:Hc,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:Uc,fopf:Wc,forall:`∀`,ForAll:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:Gc,Fscr:`ℱ`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,ge:`≥`,gE:`≧`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,gescc:`⪩`,ges:`⩾`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:Kc,gesles:`⪔`,Gfr:qc,gfr:Jc,gg:`≫`,Gg:`⋙`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gla:`⪥`,gl:`≷`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gnE:`≩`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:Yc,gopf:Xc,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:Zc,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gtcc:`⪧`,gtcir:`⩺`,gt:`>`,GT:`>`,Gt:`≫`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:Qc,gvnE:$c,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,harrcir:`⥈`,harr:`↔`,hArr:`⇔`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:el,Hfr:`ℌ`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:tl,Hopf:`ℍ`,horbar:`―`,HorizontalLine:`─`,hscr:nl,Hscr:`ℋ`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:rl,Ifr:`ℑ`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,Im:`ℑ`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,incare:`℅`,in:`∈`,infin:`∞`,infintie:`⧝`,inodot:`ı`,intcal:`⊺`,int:`∫`,Int:`∬`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:il,iopf:al,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:ol,Iscr:`ℐ`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:sl,jfr:cl,jmath:`ȷ`,Jopf:ll,jopf:ul,Jscr:dl,jscr:fl,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:pl,kfr:ml,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:hl,kopf:gl,Kscr:_l,kscr:vl,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,lang:`⟨`,Lang:`⟪`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,larrb:`⇤`,larrbfs:`⤟`,larr:`←`,Larr:`↞`,lArr:`⇐`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,latail:`⤙`,lAtail:`⤛`,lat:`⪫`,late:`⪭`,lates:yl,lbarr:`⤌`,lBarr:`⤎`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,lE:`≦`,LeftAngleBracket:`⟨`,LeftArrowBar:`⇤`,leftarrow:`←`,LeftArrow:`←`,Leftarrow:`⇐`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVectorBar:`⥙`,LeftDownVector:`⇃`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTeeArrow:`↤`,LeftTee:`⊣`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangleBar:`⧏`,LeftTriangle:`⊲`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVectorBar:`⥘`,LeftUpVector:`↿`,LeftVectorBar:`⥒`,LeftVector:`↼`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,lescc:`⪨`,les:`⩽`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:bl,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:xl,lfr:Sl,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,llarr:`⇇`,ll:`≪`,Ll:`⋘`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoustache:`⎰`,lmoust:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lnE:`≨`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftrightarrow:`⟷`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longmapsto:`⟼`,longrightarrow:`⟶`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:Cl,lopf:wl,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,lscr:Tl,Lscr:`ℒ`,lsh:`↰`,Lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,ltcc:`⪦`,ltcir:`⩹`,lt:`<`,LT:`<`,Lt:`≪`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:El,lvnE:Dl,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:Ol,mfr:kl,mho:`℧`,micro:`µ`,midast:`*`,midcir:`⫰`,mid:`∣`,middot:`·`,minusb:`⊟`,minus:`−`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:Al,mopf:jl,mp:`∓`,mscr:Ml,Mscr:`ℳ`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:Nl,nap:`≉`,napE:Pl,napid:Fl,napos:`ʼn`,napprox:`≉`,natural:`♮`,naturals:`ℕ`,natur:`♮`,nbsp:`\xA0`,nbump:Il,nbumpe:Ll,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:Rl,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,nearhk:`⤤`,nearr:`↗`,neArr:`⇗`,nearrow:`↗`,ne:`≠`,nedot:zl,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:Bl,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
19
+ `,nexist:`∄`,nexists:`∄`,Nfr:Vl,nfr:Hl,ngE:Ul,nge:`≱`,ngeq:`≱`,ngeqq:Wl,ngeqslant:Gl,nges:Kl,nGg:ql,ngsim:`≵`,nGt:Jl,ngt:`≯`,ngtr:`≯`,nGtv:Yl,nharr:`↮`,nhArr:`⇎`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlarr:`↚`,nlArr:`⇍`,nldr:`‥`,nlE:Xl,nle:`≰`,nleftarrow:`↚`,nLeftarrow:`⇍`,nleftrightarrow:`↮`,nLeftrightarrow:`⇎`,nleq:`≰`,nleqq:Zl,nleqslant:Ql,nles:$l,nless:`≮`,nLl:eu,nlsim:`≴`,nLt:tu,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:nu,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,nopf:ru,Nopf:`ℕ`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:iu,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:au,NotGreaterGreater:ou,NotGreaterLess:`≹`,NotGreaterSlantEqual:su,NotGreaterTilde:`≵`,NotHumpDownHump:cu,NotHumpEqual:lu,notin:`∉`,notindot:uu,notinE:du,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangleBar:fu,NotLeftTriangle:`⋪`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:pu,NotLessSlantEqual:mu,NotLessTilde:`≴`,NotNestedGreaterGreater:hu,NotNestedLessLess:gu,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:_u,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangleBar:vu,NotRightTriangle:`⋫`,NotRightTriangleEqual:`⋭`,NotSquareSubset:yu,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:bu,NotSquareSupersetEqual:`⋣`,NotSubset:xu,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:Su,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:Cu,NotSuperset:wu,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,nparallel:`∦`,npar:`∦`,nparsl:Tu,npart:Eu,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,nprec:`⊀`,npreceq:Du,npre:Ou,nrarrc:ku,nrarr:`↛`,nrArr:`⇏`,nrarrw:Au,nrightarrow:`↛`,nRightarrow:`⇏`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:ju,Nscr:Mu,nscr:Nu,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:Pu,nsube:`⊈`,nsubset:Fu,nsubseteq:`⊈`,nsubseteqq:Iu,nsucc:`⊁`,nsucceq:Lu,nsup:`⊅`,nsupE:Ru,nsupe:`⊉`,nsupset:zu,nsupseteq:`⊉`,nsupseteqq:Bu,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:Vu,nvdash:`⊬`,nvDash:`⊭`,nVdash:`⊮`,nVDash:`⊯`,nvge:Hu,nvgt:Uu,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:Wu,nvlt:Gu,nvltrie:Ku,nvrArr:`⤃`,nvrtrie:qu,nvsim:Ju,nwarhk:`⤣`,nwarr:`↖`,nwArr:`⇖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,Ocirc:`Ô`,ocirc:`ô`,ocir:`⊚`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:Yu,ofr:Xu,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:Zu,oopf:Qu,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,orarr:`↻`,Or:`⩔`,or:`∨`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:$u,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,otimesas:`⨶`,Otimes:`⨷`,otimes:`⊗`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,para:`¶`,parallel:`∥`,par:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:ed,pfr:td,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plus:`+`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,popf:nd,Popf:`ℙ`,pound:`£`,prap:`⪷`,Pr:`⪻`,pr:`≺`,prcue:`≼`,precapprox:`⪷`,prec:`≺`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,pre:`⪯`,prE:`⪳`,precsim:`≾`,prime:`′`,Prime:`″`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportional:`∝`,Proportion:`∷`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:rd,pscr:id,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:ad,qfr:od,qint:`⨌`,qopf:sd,Qopf:`ℚ`,qprime:`⁗`,Qscr:cd,qscr:ld,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,QUOT:`"`,rAarr:`⇛`,race:ud,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,Rang:`⟫`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarr:`→`,Rarr:`↠`,rArr:`⇒`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,rAtail:`⤜`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rBarr:`⤏`,RBarr:`⤐`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,Re:`ℜ`,rect:`▭`,reg:`®`,REG:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,rfr:dd,Rfr:`ℜ`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrowBar:`⇥`,rightarrow:`→`,RightArrow:`→`,Rightarrow:`⇒`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVectorBar:`⥕`,RightDownVector:`⇂`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTeeArrow:`↦`,RightTee:`⊢`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangleBar:`⧐`,RightTriangle:`⊳`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVectorBar:`⥔`,RightUpVector:`↾`,RightVectorBar:`⥓`,RightVector:`⇀`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoustache:`⎱`,rmoust:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:fd,Ropf:`ℝ`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,rscr:pd,Rscr:`ℛ`,rsh:`↱`,Rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,scap:`⪸`,Scaron:`Š`,scaron:`š`,Sc:`⪼`,sc:`≻`,sccue:`≽`,sce:`⪰`,scE:`⪴`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdotb:`⊡`,sdot:`⋅`,sdote:`⩦`,searhk:`⤥`,searr:`↘`,seArr:`⇘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:md,sfr:hd,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:gd,SOFTcy:`Ь`,softcy:`ь`,solbar:`⌿`,solb:`⧄`,sol:`/`,Sopf:_d,sopf:vd,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:yd,sqcup:`⊔`,sqcups:bd,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,square:`□`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squ:`□`,squf:`▪`,srarr:`→`,Sscr:xd,sscr:Sd,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,Sub:`⋐`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,Subset:`⋐`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succapprox:`⪸`,succ:`≻`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,sum:`∑`,Sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,Sup:`⋑`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,Supset:`⋑`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swarr:`↙`,swArr:`⇙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:Cd,tfr:wd,there4:`∴`,therefore:`∴`,Therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:Td,ThinSpace:` `,thinsp:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,tilde:`˜`,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,timesbar:`⨱`,timesb:`⊠`,times:`×`,timesd:`⨰`,tint:`∭`,toea:`⤨`,topbot:`⌶`,topcir:`⫱`,top:`⊤`,Topf:Ed,topf:Dd,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,TRADE:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:Od,tscr:kd,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,uarr:`↑`,Uarr:`↟`,uArr:`⇑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:Ad,ufr:jd,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:Md,uopf:Nd,UpArrowBar:`⤒`,uparrow:`↑`,UpArrow:`↑`,Uparrow:`⇑`,UpArrowDownArrow:`⇅`,updownarrow:`↕`,UpDownArrow:`↕`,Updownarrow:`⇕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,upsi:`υ`,Upsi:`ϒ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTeeArrow:`↥`,UpTee:`⊥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:Pd,uscr:Fd,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,vArr:`⇕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:Id,varsubsetneqq:Ld,varsupsetneq:Rd,varsupsetneqq:zd,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vBar:`⫨`,Vbar:`⫫`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,vdash:`⊢`,vDash:`⊨`,Vdash:`⊩`,VDash:`⊫`,Vdashl:`⫦`,veebar:`⊻`,vee:`∨`,Vee:`⋁`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,Verbar:`‖`,vert:`|`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:Bd,vfr:Vd,vltri:`⊲`,vnsub:Hd,vnsup:Ud,Vopf:Wd,vopf:Gd,vprop:`∝`,vrtri:`⊳`,Vscr:Kd,vscr:qd,vsubnE:Jd,vsubne:Yd,vsupnE:Xd,vsupne:Zd,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,Wedge:`⋀`,wedgeq:`≙`,weierp:`℘`,Wfr:Qd,wfr:$d,Wopf:ef,wopf:tf,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:nf,wscr:rf,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:af,xfr:of,xharr:`⟷`,xhArr:`⟺`,Xi:`Ξ`,xi:`ξ`,xlarr:`⟵`,xlArr:`⟸`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:sf,xopf:cf,xoplus:`⨁`,xotime:`⨂`,xrarr:`⟶`,xrArr:`⟹`,Xscr:lf,xscr:uf,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:df,yfr:ff,YIcy:`Ї`,yicy:`ї`,Yopf:pf,yopf:mf,Yscr:hf,yscr:gf,YUcy:`Ю`,yucy:`ю`,yuml:`ÿ`,Yuml:`Ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,zfr:_f,Zfr:`ℨ`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,zopf:vf,Zopf:`ℤ`,Zscr:yf,zscr:bf,zwj:`‍`,zwnj:`‌`}})),Cf=/* @__PURE__ */ le((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getTrie=e.encodeHTMLTrieRe=e.getCodePoint=void 0;var n=t((Sf(),pe(uc).default));function r(e){return(e&64512)==55296}e.getCodePoint=String.prototype.codePointAt==null?function(e,t){return r(e.charCodeAt(t))?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)}:function(e,t){return e.codePointAt(t)};var i=o(n.default);function a(t,n){for(var a=``,o=0,s;(s=t.exec(n))!==null;){var c=s.index,l=n.charCodeAt(c),u=i.get(l);if(u){if(u.next!=null&&c+1<n.length){var d=u.next.get(n.charCodeAt(c+1))?.value;if(d!=null){a+=n.substring(o,c)+d,t.lastIndex+=1,o=c+2;continue}}a+=n.substring(o,c)+u.value,o=c+1}else a+=n.substring(o,c)+`&#x`+e.getCodePoint(n,c).toString(16)+`;`,o=t.lastIndex+=Number(r(l))}return a+n.substr(o)}e.encodeHTMLTrieRe=a;function o(e){for(var t=/* @__PURE__ */ new Map,n=0,r=Object.keys(e);n<r.length;n++){for(var i=r[n],a=e[i],o=t,s=0;s<a.length-1;s++){var c=a.charCodeAt(s),l=o.get(c)??{};o.set(c,l),o=l.next??=/* @__PURE__ */ new Map}var u=o.get(a.charCodeAt(a.length-1))??{};u.value??=`&`+i+`;`,o.set(a.charCodeAt(a.length-1),u)}return t}e.getTrie=o})),wf=/* @__PURE__ */ le((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var n=t((lc(),pe(sc).default)),r=Cf(),i=d(t((Sf(),pe(uc).default)).default,!0),a=d(n.default,!0),o=d(n.default,!1),s=new Map(Object.keys(n.default).map(function(e){return[n.default[e].charCodeAt(0),`&`+e+`;`]}));function c(e){for(var t=``,n=0,i;(i=a.exec(e))!==null;){var o=i.index,c=e.charCodeAt(o),l=s.get(c);l?(t+=e.substring(n,o)+l,n=o+1):(t+=e.substring(n,o)+`&#x`+r.getCodePoint(e,o).toString(16)+`;`,n=a.lastIndex+=Number((c&65408)==55296))}return t+e.substr(n)}e.encodeXML=c;function l(e){return r.encodeHTMLTrieRe(i,e)}e.encodeHTML=l;function u(e){return r.encodeHTMLTrieRe(a,e)}e.encodeNonAsciiHTML=u;function d(e,t){for(var n=Object.keys(e).map(function(t){return`\\`+e[t].charAt(0)}).filter(function(e){return!t||e.charCodeAt(1)<128}).sort(function(e,t){return e.charCodeAt(1)-t.charCodeAt(1)}).filter(function(e,t,n){return e!==n[t+1]}),r=0;r<n.length-1;r++){for(var i=r;i<n.length-1&&n[i].charCodeAt(1)+1===n[i+1].charCodeAt(1);)i+=1;var a=1+i-r;a<3||n.splice(r,a,n[r]+`-`+n[i])}return RegExp(`[`+n.join(``)+(t?`\\x80-\\uFFFF`:``)+`]`,`g`)}e.escape=c;function f(e){for(var t,n=0,r=``;t=o.exec(e);)n!==t.index&&(r+=e.substring(n,t.index)),r+=s.get(t[0].charCodeAt(0)),n=t.index+1;return r+e.substring(n)}e.escapeUTF8=f})),Tf=/* @__PURE__ */ le((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.DecodingMode=e.EntityLevel=void 0;var t=oc(),n=wf(),r;(function(e){e[e.XML=0]=`XML`,e[e.HTML=1]=`HTML`})(r=e.EntityLevel||={});var i;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`})(i=e.DecodingMode||={});var a;(function(e){e[e.UTF8=0]=`UTF8`,e[e.ASCII=1]=`ASCII`,e[e.Extensive=2]=`Extensive`})(a=e.EncodingMode||={});function o(e,n){n===void 0&&(n=r.XML);var a=typeof n==`number`?{level:n}:n;return a.level===r.HTML?a.mode===i.Strict?t.decodeHTMLStrict(e):t.decodeHTML(e):t.decodeXML(e)}e.decode=o;function s(e,n){n===void 0&&(n=r.XML);var a=typeof n==`number`?{level:n}:n;return a.level===r.HTML?a.mode===i.Legacy?t.decodeHTML(e):t.decodeHTMLStrict(e):t.decodeXML(e)}e.decodeStrict=s;function c(e,t){t===void 0&&(t=r.XML);var i=typeof t==`number`?{level:t}:t;return i.mode===a.UTF8?n.escapeUTF8(e):i.level===r.HTML?i.mode===a.ASCII?n.encodeNonAsciiHTML(e):n.encodeHTML(e):n.encodeXML(e)}e.encode=c;var l=wf();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var u=oc();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})})),Ef=/* @__PURE__ */ fe(nc()),Df=Tf(),Of=92,kf=`&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});`,Af=`[A-Za-z][A-Za-z0-9-]*`,jf=`<`+Af+`(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*/?>`,Mf=`</`+Af+`\\s*[>]`,Nf=`(?:`+jf+`|`+Mf+`|<!-->|<!--->|<!--[\\s\\S]*?-->|[<][?][\\s\\S]*?[?][>]|<![A-Za-z]+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`,Pf=RegExp(`^`+Nf),Ff=/[\\&]/,If=`[!"#$%&'()*+,./:;<=>?@[\\\\\\]^_\`{|}~-]`,Lf=RegExp(`\\\\`+If+`|`+kf,`gi`),Rf=/* @__PURE__ */ RegExp(`[&<>"]`,`g`),zf=function(e){return e.charCodeAt(0)===Of?e.charAt(1):(0,Df.decodeHTMLStrict)(e)},Bf=function(e){return Ff.test(e)?e.replace(Lf,zf):e},Vf=function(e){try{return(0,Ef.default)(e)}catch{return e}},Hf=function(e){switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`;case`>`:return`&gt;`;case`"`:return`&quot;`;default:return e}},Uf=function(e){return Rf.test(e)?e.replace(Rf,Hf):e},Wf
20
+ /*! http://mths.be/fromcodepoint v0.2.1 by @mathias */
21
+ ;function Gf(e){return Wf(e)}if(String.fromCodePoint)Wf=function(e){try{return String.fromCodePoint(e)}catch(e){if(e instanceof RangeError)return`�`;throw e}};else{var Kf=String.fromCharCode,qf=Math.floor;Wf=function(){var e=16384,t=[],n,r,i=-1,a=arguments.length;if(!a)return``;for(var o=``;++i<a;){var s=Number(arguments[i]);if(!isFinite(s)||s<0||s>1114111||qf(s)!==s)return`�`;s<=65535?t.push(s):(s-=65536,n=(s>>10)+55296,r=s%1024+56320,t.push(n,r)),(i+1===a||t.length>e)&&(o+=Kf.apply(null,t),t.length=0)}return o}}var Jf=Vf,Yf=Bf,Xf=10,Zf=42,Qf=95,$f=96,ep=91,tp=93,np=60,rp=33,ip=92,ap=38,op=40,sp=41,cp=58,lp=39,up=34,dp=If,fp=`\\\\`+dp,pp=kf,mp=Pf,hp=/* @__PURE__ */ new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),gp=RegExp(`^(?:"(`+fp+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+fp+`|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\((`+fp+`|\\\\[^\\\\]|[^\\\\()\\x00])*\\))`),_p=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,vp=RegExp(`^`+dp),yp=RegExp(`^`+pp,`i`),bp=/`+/,xp=/^`+/,Sp=/\.\.\./g,Cp=/--+/g,wp=/^<([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])?)*)>/,Tp=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Ep=/^ *(?:\n *)?/,Dp=/^[ \t\n\x0b\x0c\x0d]/,Op=/^\s/,kp=/ *$/,Ap=/^ */,jp=/^ *(?:\n|$)/,Mp=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,Np=/^[^\n`\[\]\\!<&*_'"]+/m,Pp=function(e){var t=new Q(`text`);return t._literal=e,t},Fp=function(e){return e.slice(1,e.length-1).trim().replace(/[ \t\r\n]+/g,` `).toLowerCase().toUpperCase()},Ip=function(e){var t=e.exec(this.subject.slice(this.pos));return t===null?null:(this.pos+=t.index+t[0].length,t[0])},Lp=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},Rp=function(){return this.match(Ep),!0},zp=function(e){var t=this.match(xp);if(t===null)return!1;for(var n=this.pos,r,i,a;(r=this.match(bp))!==null;)if(r===t)return i=new Q(`code`),a=this.subject.slice(n,this.pos-t.length).replace(/\n/gm,` `),a.length>0&&a.match(/[^ ]/)!==null&&a[0]==` `&&a[a.length-1]==` `?i._literal=a.slice(1,a.length-1):i._literal=a,e.appendChild(i),!0;return this.pos=n,e.appendChild(Pp(t)),!0},Bp=function(e){var t=this.subject,n;return this.pos+=1,this.peek()===Xf?(this.pos+=1,n=new Q(`linebreak`),e.appendChild(n)):vp.test(t.charAt(this.pos))?(e.appendChild(Pp(t.charAt(this.pos))),this.pos+=1):e.appendChild(Pp(`\\`)),!0},Vp=function(e){var t,n,r;return(t=this.match(wp))?(n=t.slice(1,t.length-1),r=new Q(`link`),r._destination=Jf(`mailto:`+n),r._title=``,r.appendChild(Pp(n)),e.appendChild(r),!0):(t=this.match(Tp))?(n=t.slice(1,t.length-1),r=new Q(`link`),r._destination=Jf(n),r._title=``,r.appendChild(Pp(n)),e.appendChild(r),!0):!1},Hp=function(e){var t=this.match(mp);if(t===null)return!1;var n=new Q(`html_inline`);return n._literal=t,e.appendChild(n),!0},Up=function(e){var t=0,n,r,i,a=this.pos,o,s,c,l,u,d,f,p;if(e===lp||e===up)t++,this.pos++;else for(;this.peek()===e;)t++,this.pos++;return t===0?null:(n=a===0?`
22
+ `:this.subject.charAt(a-1),i=this.peek(),r=i===-1?`
23
+ `:Gf(i),u=Op.test(r),d=hp.test(r),f=Op.test(n),p=hp.test(n),o=!u&&(!d||f||p),s=!f&&(!p||u||d),e===Qf?(c=o&&(!s||p),l=s&&(!o||d)):e===lp||e===up?(c=o&&!s,l=s):(c=o,l=s),this.pos=a,{numdelims:t,can_open:c,can_close:l})},Wp=function(e,t){var n=this.scanDelims(e);if(!n)return!1;var r=n.numdelims,i=this.pos,a;this.pos+=r,a=e===lp?`’`:e===up?`“`:this.subject.slice(i,this.pos);var o=Pp(a);return t.appendChild(o),(n.can_open||n.can_close)&&(this.options.smart||e!==lp&&e!==up)&&(this.delimiters={cc:e,numdelims:r,origdelims:r,node:o,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},Gp=function(e){e.previous!==null&&(e.previous.next=e.next),e.next===null?this.delimiters=e.previous:e.next.previous=e.previous},Kp=function(e,t){e.next!==t&&(e.next=t,t.previous=e)},qp=function(e){for(var t,n,r,i,a,o,s,c,l,u,d=[],f,p=!1,m=0;m<14;m++)d[m]=e;for(n=this.delimiters;n!==null&&n.previous!==e;)n=n.previous;for(;n!==null;){var h=n.cc;if(!n.can_close)n=n.next;else{switch(t=n.previous,u=!1,h){case lp:f=0;break;case up:f=1;break;case Qf:f=2+(n.can_open?3:0)+n.origdelims%3;break;case Zf:f=8+(n.can_open?3:0)+n.origdelims%3}for(;t!==null&&t!==e&&t!==d[f];){if(p=(n.can_open||t.can_close)&&n.origdelims%3!=0&&(t.origdelims+n.origdelims)%3==0,t.cc===n.cc&&t.can_open&&!p){u=!0;break}t=t.previous}if(r=n,h===Zf||h===Qf){if(!u)n=n.next;else{s=n.numdelims>=2&&t.numdelims>=2?2:1,i=t.node,a=n.node,t.numdelims-=s,n.numdelims-=s,i._literal=i._literal.slice(0,i._literal.length-s),a._literal=a._literal.slice(0,a._literal.length-s);var g=new Q(s===1?`emph`:`strong`);for(c=i._next;c&&c!==a;)l=c._next,c.unlink(),g.appendChild(c),c=l;i.insertAfter(g),Kp(t,n),t.numdelims===0&&(i.unlink(),this.removeDelimiter(t)),n.numdelims===0&&(a.unlink(),o=n.next,this.removeDelimiter(n),n=o)}}else h===lp?(n.node._literal=`’`,u&&(t.node._literal=`‘`),n=n.next):h===up&&(n.node._literal=`”`,u&&(t.node.literal=`“`),n=n.next);u||(d[f]=r.previous,r.can_open||this.removeDelimiter(r))}}for(;this.delimiters!==null&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)},Jp=function(){var e=this.match(gp);return e===null?null:Yf(e.slice(1,-1))},Yp=function(){var e=this.match(_p);if(e===null){if(this.peek()===np)return null;for(var t=this.pos,n=0,r;(r=this.peek())!==-1;)if(r===ip&&vp.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(r===op)this.pos+=1,n+=1;else if(r===sp){if(n<1)break;this.pos+=1,--n}else if(Dp.exec(Gf(r))!==null)break;else this.pos+=1;return this.pos===t&&r!==sp||n!==0?null:(e=this.subject.slice(t,this.pos),Jf(Yf(e)))}return Jf(Yf(e.slice(1,-1)))},Xp=function(){var e=this.match(Mp);return e===null||e.length>1001?0:e.length},Zp=function(e){var t=this.pos;this.pos+=1;var n=Pp(`[`);return e.appendChild(n),this.addBracket(n,t,!1),!0},Qp=function(e){var t=this.pos;if(this.pos+=1,this.peek()===ep){this.pos+=1;var n=Pp(`![`);e.appendChild(n),this.addBracket(n,t+1,!0)}else e.appendChild(Pp(`!`));return!0},$p=function(e){var t,n,r,i,a=!1,o,s;if(this.pos+=1,t=this.pos,s=this.brackets,s===null)return e.appendChild(Pp(`]`)),!0;if(!s.active)return e.appendChild(Pp(`]`)),this.removeBracket(),!0;n=s.image;var c=this.pos;if(this.peek()===op&&(this.pos++,this.spnl()&&(r=this.parseLinkDestination())!==null&&this.spnl()&&(Dp.test(this.subject.charAt(this.pos-1))&&(i=this.parseLinkTitle())||1)&&this.spnl()&&this.peek()===sp?(this.pos+=1,a=!0):this.pos=c),!a){var l=this.pos,u=this.parseLinkLabel();if(u>2?o=this.subject.slice(l,l+u):s.bracketAfter||(o=this.subject.slice(s.index,t)),u===0&&(this.pos=c),o){var d=this.refmap[Fp(o)];d&&(r=d.destination,i=d.title,a=!0)}}if(a){var f=new Q(n?`image`:`link`);f._destination=r,f._title=i||``;for(var p=s.node._next,m;p;)m=p._next,p.unlink(),f.appendChild(p),p=m;if(e.appendChild(f),this.processEmphasis(s.previousDelimiter),this.removeBracket(),s.node.unlink(),!n)for(s=this.brackets;s!==null;)s.image||(s.active=!1),s=s.previous;return!0}return this.removeBracket(),this.pos=t,e.appendChild(Pp(`]`)),!0},em=function(e,t,n){this.brackets!==null&&(this.brackets.bracketAfter=!0),this.brackets={node:e,previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:n,active:!0}},tm=function(){this.brackets=this.brackets.previous},nm=function(e){var t;return(t=this.match(yp))?(e.appendChild(Pp((0,Df.decodeHTMLStrict)(t))),!0):!1},rm=function(e){var t;return(t=this.match(Np))?(this.options.smart?e.appendChild(Pp(t.replace(Sp,`…`).replace(Cp,function(e){var t=0,n=0;return e.length%3==0?n=e.length/3:e.length%2==0?t=e.length/2:e.length%3==2?(t=1,n=(e.length-2)/3):(t=2,n=(e.length-4)/3),`—`.repeat(n)+`–`.repeat(t)}))):e.appendChild(Pp(t)),!0):!1},im=function(e){this.pos+=1;var t=e._lastChild;if(t&&t.type===`text`&&t._literal[t._literal.length-1]===` `){var n=t._literal[t._literal.length-2]===` `;t._literal=t._literal.replace(kp,``),e.appendChild(new Q(n?`linebreak`:`softbreak`))}else e.appendChild(new Q(`softbreak`));return this.match(Ap),!0},am=function(e,t){this.subject=e,this.pos=0;var n,r,i,a,o=this.pos;if(a=this.parseLinkLabel(),a===0)return 0;if(n=this.subject.slice(0,a),this.peek()===cp)this.pos++;else return this.pos=o,0;if(this.spnl(),r=this.parseLinkDestination(),r===null)return this.pos=o,0;var s=this.pos;this.spnl(),this.pos!==s&&(i=this.parseLinkTitle()),i===null&&(this.pos=s);var c=!0;if(this.match(jp)===null&&(i===null?c=!1:(i=null,this.pos=s,c=this.match(jp)!==null)),!c)return this.pos=o,0;var l=Fp(n);return l===``?(this.pos=o,0):(t[l]||(t[l]={destination:r,title:i===null?``:i}),this.pos-o)},om=function(e){var t=!1,n=this.peek();if(n===-1)return!1;switch(n){case Xf:t=this.parseNewline(e);break;case ip:t=this.parseBackslash(e);break;case $f:t=this.parseBackticks(e);break;case Zf:case Qf:t=this.handleDelim(n,e);break;case lp:case up:t=this.options.smart&&this.handleDelim(n,e);break;case ep:t=this.parseOpenBracket(e);break;case rp:t=this.parseBang(e);break;case tp:t=this.parseCloseBracket(e);break;case np:t=this.parseAutolink(e)||this.parseHtmlTag(e);break;case ap:t=this.parseEntity(e);break;default:t=this.parseString(e)}return t||(this.pos+=1,e.appendChild(Pp(Gf(n)))),!0},sm=function(e){for(this.subject=e._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(e););e._string_content=null,this.processEmphasis(null)};function cm(e){return{subject:``,delimiters:null,brackets:null,pos:0,refmap:{},match:Ip,peek:Lp,spnl:Rp,parseBackticks:zp,parseBackslash:Bp,parseAutolink:Vp,parseHtmlTag:Hp,scanDelims:Up,handleDelim:Wp,parseLinkTitle:Jp,parseLinkDestination:Yp,parseLinkLabel:Xp,parseOpenBracket:Zp,parseBang:Qp,parseCloseBracket:$p,addBracket:em,removeBracket:tm,parseEntity:nm,parseString:rm,parseNewline:im,parseReference:am,parseInline:om,processEmphasis:qp,removeDelimiter:Gp,options:e||{},parse:sm}}var lm=4,um=9,dm=10,fm=62,pm=60,mm=32,hm=91,gm=[/./,/^<(?: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,RegExp(`^(?:`+jf+`|`+Mf+`)\\s*$`,`i`)],_m=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],vm=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,ym=/^[#`~*+_=<>0-9-]/,bm=/[^ \t\f\v\r\n]/,xm=/^[*+-]/,Sm=/^(\d{1,9})([.)])/,Cm=/^#{1,6}(?:[ \t]+|$)/,wm=/^`{3,}(?!.*`)|^~{3,}/,Tm=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,Em=/^(?:=+|-+)[ \t]*$/,Dm=/\r\n|\n|\r/,Om=function(e){return!bm.test(e)},km=function(e){return e===mm||e===um},Am=function(e,t){return t<e.length?e.charCodeAt(t):-1},jm=function(e){return e.next&&e.sourcepos[1][0]!==e.next.sourcepos[0][0]-1},Mm=function(){if(this.partiallyConsumedTab){this.offset+=1;var e=4-this.column%4;this.tip._string_content+=` `.repeat(e)}this.tip._string_content+=this.currentLine.slice(this.offset)+`
24
+ `},Nm=function(e,t){for(;!this.blocks[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);var n=t+1,r=new Q(e,[[this.lineNumber,n],[0,0]]);return r._string_content=``,this.tip.appendChild(r),this.tip=r,r},Pm=function(e,t){var n=e.currentLine.slice(e.nextNonspace),r,i,a,o,s={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:e.indent};if(e.indent>=4)return null;if(r=n.match(xm))s.type=`bullet`,s.bulletChar=r[0][0];else if((r=n.match(Sm))&&(t.type!==`paragraph`||r[1]==1))s.type=`ordered`,s.start=parseInt(r[1]),s.delimiter=r[2];else return null;if(i=Am(e.currentLine,e.nextNonspace+r[0].length),i!==-1&&i!==um&&i!==mm||t.type===`paragraph`&&!e.currentLine.slice(e.nextNonspace+r[0].length).match(bm))return null;e.advanceNextNonspace(),e.advanceOffset(r[0].length,!0),a=e.column,o=e.offset;do e.advanceOffset(1,!0),i=Am(e.currentLine,e.offset);while(e.column-a<5&&km(i));var c=Am(e.currentLine,e.offset)===-1,l=e.column-a;return l>=5||l<1||c?(s.padding=r[0].length+1,e.column=a,e.offset=o,km(Am(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):s.padding=r[0].length+l,s},Fm=function(e,t){return e.type===t.type&&e.delimiter===t.delimiter&&e.bulletChar===t.bulletChar},Im=function(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var e=this.oldtip._parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}},Lm=function(e,t){for(var n,r,i=t.walker(),a=[];n=i.next();)if(r=n.node,n.entering&&r.type===`paragraph`){for(var o,s=!1;Am(r._string_content,0)===hm&&(o=e.inlineParser.parseReference(r._string_content,e.refmap));){let e=r._string_content.slice(0,o);r._string_content=r._string_content.slice(o),s=!0;let t=e.split(`
25
+ `);r.sourcepos[0][0]+=t.length-1}s&&Om(r._string_content)&&a.push(r)}for(r of a)r.unlink()},Rm={document:{continue:function(){return 0},finalize:function(e,t){Lm(e,t)},canContain:function(e){return e!==`item`},acceptsLines:!1},list:{continue:function(){return 0},finalize:function(e,t){for(var n=t._firstChild;n;){if(n._next&&jm(n)){t._listData.tight=!1;break}for(var r=n._firstChild;r;){if(r._next&&jm(r)){t._listData.tight=!1;break}r=r._next}n=n._next}t.sourcepos[1]=t._lastChild.sourcepos[1]},canContain:function(e){return e===`item`},acceptsLines:!1},block_quote:{continue:function(e){var t=e.currentLine;if(!e.indented&&Am(t,e.nextNonspace)===fm)e.advanceNextNonspace(),e.advanceOffset(1,!1),km(Am(t,e.offset))&&e.advanceOffset(1,!0);else return 1;return 0},finalize:function(){},canContain:function(e){return e!==`item`},acceptsLines:!1},item:{continue:function(e,t){if(e.blank){if(t._firstChild==null)return 1;e.advanceNextNonspace()}else if(e.indent>=t._listData.markerOffset+t._listData.padding)e.advanceOffset(t._listData.markerOffset+t._listData.padding,!0);else return 1;return 0},finalize:function(e,t){t._lastChild?t.sourcepos[1]=t._lastChild.sourcepos[1]:(t.sourcepos[1][0]=t.sourcepos[0][0],t.sourcepos[1][1]=t._listData.markerOffset+t._listData.padding)},canContain:function(e){return e!==`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(e,t){var n=e.currentLine,r=e.indent;if(t._isFenced){var i=r<=3&&n.charAt(e.nextNonspace)===t._fenceChar&&n.slice(e.nextNonspace).match(Tm);if(i&&i[0].length>=t._fenceLength)return e.lastLineLength=e.offset+r+i[0].length,e.finalize(t,e.lineNumber),2;for(var a=t._fenceOffset;a>0&&km(Am(n,e.offset));)e.advanceOffset(1,!0),a--}else if(r>=lm)e.advanceOffset(lm,!0);else if(e.blank)e.advanceNextNonspace();else return 1;return 0},finalize:function(e,t){if(t._isFenced){var n=t._string_content,r=n.indexOf(`
26
+ `),i=n.slice(0,r),a=n.slice(r+1);t.info=Bf(i.trim()),t._literal=a}else{for(var o=t._string_content.split(`
27
+ `);/^[ \t]*$/.test(o[o.length-1]);)o.pop();t._literal=o.join(`
10
28
  `)+`
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}},mF=[function(t){return!t.indented&&oe(t.currentLine,t.nextNonspace)===bl?(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(nF))){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(iF))){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)===Wz){var n=t.currentLine.slice(t.nextNonspace),i;for(i=1;i<=7;i++)if(Kz[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(oF))){t.closeUnmatchedBlocks();for(var i;oe(e._string_content,0)===kl&&(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 Vt("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&&Qz.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=uF(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(En,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],gF=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)},yF=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},pF=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>=En},vF=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"&&Sl[i.type].acceptsLines,l=this.blockStarts,c=l.length;!o;){if(this.findNextNonspace(),!this.indented&&!Jz.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&&Zz[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},xF=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},bF=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)},Cl=function(){var t=new Vt("document",[[1,1],[0,0]]);return t},wF=function(t){this.doc=new Cl,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(sF),n=e.length;t.charCodeAt(t.length-1)===Gz&&(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 kF(t){return{doc:new Cl,blocks:Sl,blockStarts:mF,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 Uz(t),findNextNonspace:pF,advanceOffset:gF,advanceNextNonspace:yF,addLine:aF,addChild:cF,incorporateLine:vF,finalize:xF,processInlines:bF,closeUnmatchedBlocks:fF,parse:wF,options:t||{}}}function Qe(){}function AF(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 SF(t){this.buffer+=t,this.lastOut=t}function CF(){this.lastOut!==`
29
+ `,t.sourcepos[1][0]=t.sourcepos[0][0]+o.length-1,t.sourcepos[1][1]=t.sourcepos[0][1]+o[o.length-1].length-1}t._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(e,t){return e.blank&&(t._htmlBlockType===6||t._htmlBlockType===7)?1:0},finalize:function(e,t){t._literal=t._string_content.replace(/\n$/,``),t._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(e){return+!!e.blank},finalize:function(){},canContain:function(){return!1},acceptsLines:!0}},zm=[function(e){return!e.indented&&Am(e.currentLine,e.nextNonspace)===fm?(e.advanceNextNonspace(),e.advanceOffset(1,!1),km(Am(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild(`block_quote`,e.nextNonspace),1):0},function(e){var t;if(!e.indented&&(t=e.currentLine.slice(e.nextNonspace).match(Cm))){e.advanceNextNonspace(),e.advanceOffset(t[0].length,!1),e.closeUnmatchedBlocks();var n=e.addChild(`heading`,e.nextNonspace);return n.level=t[0].trim().length,n._string_content=e.currentLine.slice(e.offset).replace(/^[ \t]*#+[ \t]*$/,``).replace(/[ \t]+#+[ \t]*$/,``),e.advanceOffset(e.currentLine.length-e.offset),2}return 0},function(e){var t;if(!e.indented&&(t=e.currentLine.slice(e.nextNonspace).match(wm))){var n=t[0].length;e.closeUnmatchedBlocks();var r=e.addChild(`code_block`,e.nextNonspace);return r._isFenced=!0,r._fenceLength=n,r._fenceChar=t[0][0],r._fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2}return 0},function(e,t){if(!e.indented&&Am(e.currentLine,e.nextNonspace)===pm){for(var n=e.currentLine.slice(e.nextNonspace),r=1;r<=7;r++)if(gm[r].test(n)&&(r<7||t.type!==`paragraph`&&(e.allClosed||e.blank||e.tip.type!==`paragraph`))){e.closeUnmatchedBlocks();var i=e.addChild(`html_block`,e.offset);return i._htmlBlockType=r,2}}return 0},function(e,t){var n;if(!e.indented&&t.type===`paragraph`&&(n=e.currentLine.slice(e.nextNonspace).match(Em))){e.closeUnmatchedBlocks();for(var r;Am(t._string_content,0)===hm&&(r=e.inlineParser.parseReference(t._string_content,e.refmap));)t._string_content=t._string_content.slice(r);if(t._string_content.length>0){var i=new Q(`heading`,t.sourcepos);return i.level=n[0][0]===`=`?1:2,i._string_content=t._string_content,t.insertAfter(i),t.unlink(),e.tip=i,e.advanceOffset(e.currentLine.length-e.offset,!1),2}return 0}return 0},function(e){return!e.indented&&vm.test(e.currentLine.slice(e.nextNonspace))?(e.closeUnmatchedBlocks(),e.addChild(`thematic_break`,e.nextNonspace),e.advanceOffset(e.currentLine.length-e.offset,!1),2):0},function(e,t){var n;return(!e.indented||t.type===`list`)&&(n=Pm(e,t))?(e.closeUnmatchedBlocks(),(e.tip.type!==`list`||!Fm(t._listData,n))&&(t=e.addChild(`list`,e.nextNonspace),t._listData=n),t=e.addChild(`item`,e.nextNonspace),t._listData=n,1):0},function(e){return e.indented&&e.tip.type!==`paragraph`&&!e.blank?(e.advanceOffset(lm,!0),e.closeUnmatchedBlocks(),e.addChild(`code_block`,e.offset),2):0}],Bm=function(e,t){for(var n=this.currentLine,r,i,a;e>0&&(a=n[this.offset]);)a===` `?(r=4-this.column%4,t?(this.partiallyConsumedTab=r>e,i=r>e?e:r,this.column+=i,this.offset+=+!this.partiallyConsumedTab,e-=i):(this.partiallyConsumedTab=!1,this.column+=r,this.offset+=1,--e)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,--e)},Vm=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},Hm=function(){for(var e=this.currentLine,t=this.offset,n=this.column,r;(r=e.charAt(t))!==``;)if(r===` `)t++,n++;else if(r===` `)t++,n+=4-n%4;else break;this.blank=r===`
30
+ `||r===`\r`||r===``,this.nextNonspace=t,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=lm},Um=function(e){var t=!0,n,r=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,e.indexOf(`\0`)!==-1&&(e=e.replace(/\0/g,`�`)),this.currentLine=e;for(var i;(i=r._lastChild)&&i._open;){switch(r=i,this.findNextNonspace(),this.blocks[r.type].continue(this,r)){case 0:break;case 1:t=!1;break;case 2:return;default:throw`continue returned illegal value, must be 0, 1, or 2`}if(!t){r=r._parent;break}}this.allClosed=r===this.oldtip,this.lastMatchedContainer=r;for(var a=r.type!==`paragraph`&&Rm[r.type].acceptsLines,o=this.blockStarts,s=o.length;!a;){if(this.findNextNonspace(),!this.indented&&!ym.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var c=0;c<s;){var l=o[c](this,r);if(l===1){r=this.tip;break}if(l===2){r=this.tip,a=!0;break}c++}if(c===s){this.advanceNextNonspace();break}}!this.allClosed&&!this.blank&&this.tip.type===`paragraph`?this.addLine():(this.closeUnmatchedBlocks(),n=r.type,this.blocks[n].acceptsLines?(this.addLine(),n===`html_block`&&r._htmlBlockType>=1&&r._htmlBlockType<=5&&_m[r._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(r,this.lineNumber))):this.offset<e.length&&!this.blank&&(r=this.addChild(`paragraph`,this.offset),this.advanceNextNonspace(),this.addLine())),this.lastLineLength=e.length},Wm=function(e,t){var n=e._parent;e._open=!1,e.sourcepos[1]=[t,this.lastLineLength],this.blocks[e.type].finalize(this,e),this.tip=n},Gm=function(e){var t,n,r,i=e.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=i.next();)t=n.node,r=t.type,!n.entering&&(r===`paragraph`||r===`heading`)&&this.inlineParser.parse(t)},Km=function(){return new Q(`document`,[[1,1],[0,0]])},qm=function(e){this.doc=new Km,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 t=e.split(Dm),n=t.length;e.charCodeAt(e.length-1)===dm&&--n,this.options.time&&console.timeEnd(`preparing input`),this.options.time&&console.time(`block parsing`);for(var r=0;r<n;r++)this.incorporateLine(t[r]);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 Jm(e){return{doc:new Km,blocks:Rm,blockStarts:zm,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 cm(e),findNextNonspace:Hm,advanceOffset:Bm,advanceNextNonspace:Vm,addLine:Mm,addChild:Nm,incorporateLine:Um,finalize:Wm,processInlines:Gm,closeUnmatchedBlocks:Im,parse:qm,options:e||{}}}function Ym(){}function Xm(e){var t=e.walker(),n,r;for(this.buffer=``,this.lastOut=`
31
+ `;n=t.next();)r=n.node.type,this[r]&&this[r](n.node,n.entering);return this.buffer}function Zm(e){this.buffer+=e,this.lastOut=e}function Qm(){this.lastOut!==`
14
32
  `&&this.lit(`
15
- `)}function MF(t){this.lit(t)}function $F(t){return t}Qe.prototype.render=AF;Qe.prototype.out=MF;Qe.prototype.lit=SF;Qe.prototype.cr=CF;Qe.prototype.esc=$F;var NF=/^javascript:|vbscript:|file:|data:/i,TF=/^data:image\/(?:png|gif|jpeg|webp)/i,Ml=function(t){return NF.test(t)&&!TF.test(t)};function EF(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 Nt(t){t=t||{},t.softbreak=t.softbreak||`
16
- `,this.esc=t.esc||Rn,this.disableTags=0,this.lastOut=`
17
- `,this.options=t}function OF(t){this.out(t.literal)}function LF(){this.lit(this.options.softbreak)}function jF(){this.tag("br",[],!0),this.cr()}function PF(t,e){var n=this.attrs(t);e?(this.options.safe&&Ml(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 DF(t,e){e?(this.disableTags===0&&(this.options.safe&&Ml(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 qF(t,e){this.tag(e?"em":"/em")}function VF(t,e){this.tag(e?"strong":"/strong")}function BF(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 IF(t,e){var n="h"+t.level,i=this.attrs(t);e?(this.cr(),this.tag(n,i)):(this.tag("/"+n),this.cr())}function RF(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function HF(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 XF(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function YF(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function _F(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 zF(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function FF(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function UF(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function GF(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function WF(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function KF(t){this.lit(this.esc(t))}function ZF(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}Nt.prototype=Object.create(Qe.prototype);Nt.prototype.text=OF;Nt.prototype.html_inline=FF;Nt.prototype.html_block=UF;Nt.prototype.softbreak=LF;Nt.prototype.linebreak=jF;Nt.prototype.link=PF;Nt.prototype.image=DF;Nt.prototype.emph=qF;Nt.prototype.strong=VF;Nt.prototype.paragraph=BF;Nt.prototype.heading=IF;Nt.prototype.code=RF;Nt.prototype.code_block=HF;Nt.prototype.thematic_break=XF;Nt.prototype.block_quote=YF;Nt.prototype.list=_F;Nt.prototype.item=zF;Nt.prototype.custom_inline=GF;Nt.prototype.custom_block=WF;Nt.prototype.esc=Rn;Nt.prototype.out=KF;Nt.prototype.tag=EF;Nt.prototype.attrs=ZF;var QF=/\<[^>]*\>/;function JF(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function x1(t){t=t||{},this.disableTags=0,this.lastOut=`
18
- `,this.indentLevel=0,this.indent=" ",this.esc=t.esc||Rn,this.options=t}function tU(t){this.buffer="";var e,n,i=t.walker(),r,o,l,c,a,s,h=this.options;for(h.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
33
+ `)}function $m(e){this.lit(e)}function eh(e){return e}Ym.prototype.render=Xm,Ym.prototype.out=$m,Ym.prototype.lit=Zm,Ym.prototype.cr=Qm,Ym.prototype.esc=eh;var th=/^javascript:|vbscript:|file:|data:/i,nh=/^data:image\/(?:png|gif|jpeg|webp)/i,rh=function(e){return th.test(e)&&!nh.test(e)};function ih(e,t,n){if(!(this.disableTags>0)){if(this.buffer+=`<`+e,t&&t.length>0)for(var r=0,i;(i=t[r])!==void 0;)this.buffer+=` `+i[0]+`="`+i[1]+`"`,r++;n&&(this.buffer+=` /`),this.buffer+=`>`,this.lastOut=`>`}}function $(e){e||={},e.softbreak=e.softbreak||`
34
+ `,this.esc=e.esc||Uf,this.disableTags=0,this.lastOut=`
35
+ `,this.options=e}function ah(e){this.out(e.literal)}function oh(){this.lit(this.options.softbreak)}function sh(){this.tag(`br`,[],!0),this.cr()}function ch(e,t){var n=this.attrs(e);t?(this.options.safe&&rh(e.destination)||n.push([`href`,this.esc(e.destination)]),e.title&&n.push([`title`,this.esc(e.title)]),this.tag(`a`,n)):this.tag(`/a`)}function lh(e,t){t?(this.disableTags===0&&(this.options.safe&&rh(e.destination)?this.lit(`<img src="" alt="`):this.lit(`<img src="`+this.esc(e.destination)+`" alt="`)),this.disableTags+=1):(--this.disableTags,this.disableTags===0&&(e.title&&this.lit(`" title="`+this.esc(e.title)),this.lit(`" />`)))}function uh(e,t){this.tag(t?`em`:`/em`)}function dh(e,t){this.tag(t?`strong`:`/strong`)}function fh(e,t){var n=e.parent.parent,r=this.attrs(e);n!==null&&n.type===`list`&&n.listTight||(t?(this.cr(),this.tag(`p`,r)):(this.tag(`/p`),this.cr()))}function ph(e,t){var n=`h`+e.level,r=this.attrs(e);t?(this.cr(),this.tag(n,r)):(this.tag(`/`+n),this.cr())}function mh(e){this.tag(`code`),this.out(e.literal),this.tag(`/code`)}function hh(e){var t=e.info?e.info.split(/\s+/):[],n=this.attrs(e);if(t.length>0&&t[0].length>0){var r=this.esc(t[0]);/^language-/.exec(r)||(r=`language-`+r),n.push([`class`,r])}this.cr(),this.tag(`pre`),this.tag(`code`,n),this.out(e.literal),this.tag(`/code`),this.tag(`/pre`),this.cr()}function gh(e){var t=this.attrs(e);this.cr(),this.tag(`hr`,t,!0),this.cr()}function _h(e,t){var n=this.attrs(e);t?(this.cr(),this.tag(`blockquote`,n),this.cr()):(this.cr(),this.tag(`/blockquote`),this.cr())}function vh(e,t){var n=e.listType===`bullet`?`ul`:`ol`,r=this.attrs(e);if(t){var i=e.listStart;i!==null&&i!==1&&r.push([`start`,i.toString()]),this.cr(),this.tag(n,r),this.cr()}else this.cr(),this.tag(`/`+n),this.cr()}function yh(e,t){var n=this.attrs(e);t?this.tag(`li`,n):(this.tag(`/li`),this.cr())}function bh(e){this.options.safe?this.lit(`<!-- raw HTML omitted -->`):this.lit(e.literal)}function xh(e){this.cr(),this.options.safe?this.lit(`<!-- raw HTML omitted -->`):this.lit(e.literal),this.cr()}function Sh(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit)}function Ch(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit),this.cr()}function wh(e){this.lit(this.esc(e))}function Th(e){var t=[];if(this.options.sourcepos){var n=e.sourcepos;n&&t.push([`data-sourcepos`,String(n[0][0])+`:`+String(n[0][1])+`-`+String(n[1][0])+`:`+String(n[1][1])])}return t}$.prototype=Object.create(Ym.prototype),$.prototype.text=ah,$.prototype.html_inline=bh,$.prototype.html_block=xh,$.prototype.softbreak=oh,$.prototype.linebreak=sh,$.prototype.link=ch,$.prototype.image=lh,$.prototype.emph=uh,$.prototype.strong=dh,$.prototype.paragraph=fh,$.prototype.heading=ph,$.prototype.code=mh,$.prototype.code_block=hh,$.prototype.thematic_break=gh,$.prototype.block_quote=_h,$.prototype.list=vh,$.prototype.item=yh,$.prototype.custom_inline=Sh,$.prototype.custom_block=Ch,$.prototype.esc=Uf,$.prototype.out=wh,$.prototype.tag=ih,$.prototype.attrs=Th;var Eh=/\<[^>]*\>/;function Dh(e){return e.replace(/([a-z])([A-Z])/g,`$1_$2`).toLowerCase()}function Oh(e){e||={},this.disableTags=0,this.lastOut=`
36
+ `,this.indentLevel=0,this.indent=` `,this.esc=e.esc||Uf,this.options=e}function kh(e){this.buffer=``;var t,n,r=e.walker(),i,a,o,s,c,l,u=this.options;for(u.time&&console.time(`rendering`),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
19
37
  `,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=JF(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 u="";d==="."?u="period":u="paren",e.push(["delimiter",u])}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(h.sourcepos){var f=o.sourcepos;f&&e.push(["sourcepos",String(f[0][0])+":"+String(f[0][1])+"-"+String(f[1][0])+":"+String(f[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 h.time&&console.timeEnd("rendering"),this.buffer+=`
21
- `,this.buffer}function eU(t){this.disableTags>0?this.buffer+=t.replace(QF,""):this.buffer+=t,this.lastOut=t}function nU(){if(this.lastOut!==`
38
+ `;i=r.next();)if(o=i.entering,a=i.node,l=a.type,s=a.isContainer,c=l===`thematic_break`||l===`linebreak`||l===`softbreak`,n=Dh(l),o){switch(t=[],l){case`document`:t.push([`xmlns`,`http://commonmark.org/xml/1.0`]);break;case`list`:a.listType!==null&&t.push([`type`,a.listType.toLowerCase()]),a.listStart!==null&&t.push([`start`,String(a.listStart)]),a.listTight!==null&&t.push([`tight`,a.listTight?`true`:`false`]);var d=a.listDelimiter;if(d!==null){var f=``;f=d===`.`?`period`:`paren`,t.push([`delimiter`,f])}break;case`code_block`:a.info&&t.push([`info`,a.info]);break;case`heading`:t.push([`level`,String(a.level)]);break;case`link`:case`image`:t.push([`destination`,a.destination]),t.push([`title`,a.title]);break;case`custom_inline`:case`custom_block`:t.push([`on_enter`,a.onEnter]),t.push([`on_exit`,a.onExit])}if(u.sourcepos){var p=a.sourcepos;p&&t.push([`sourcepos`,String(p[0][0])+`:`+String(p[0][1])+`-`+String(p[1][0])+`:`+String(p[1][1])])}if(this.cr(),this.out(this.tag(n,t,c)),s)this.indentLevel+=1;else if(!s&&!c){var m=a.literal;m&&this.out(this.esc(m)),this.out(this.tag(`/`+n))}}else--this.indentLevel,this.cr(),this.out(this.tag(`/`+n));return u.time&&console.timeEnd(`rendering`),this.buffer+=`
39
+ `,this.buffer}function Ah(e){this.disableTags>0?this.buffer+=e.replace(Eh,``):this.buffer+=e,this.lastOut=e}function jh(){if(this.lastOut!==`
22
40
  `){this.buffer+=`
23
41
  `,this.lastOut=`
24
- `;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function iU(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}x1.prototype=Object.create(Qe.prototype);x1.prototype.render=tU;x1.prototype.out=eU;x1.prototype.cr=nU;x1.prototype.tag=iU;x1.prototype.esc=Rn;const rU=["text-anchor","font-size"],oU={key:0},I1={__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 kF,n=qt("ele"),i=jt({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 h={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),d={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(h)&&(h=.5),isNaN(d)&&(d=.5);let u=l*Math.abs(Math.cos(t.angle*Math.PI/180))+c*Math.abs(Math.sin(t.angle*Math.PI/180)),f=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(${u*(.5-h)+m},${f*(d-.5)+y})`),t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${s},${-c/2})`)}else{let h={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),d={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(h)&&(h=.5),isNaN(d)&&(d=.5);let u=l,f=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(${u*(.5-h)+m+s},${f*(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":Ht(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],h=0,d=!0,u;for(;u=l.next();){let{node:{type:f,literal:m},entering:y}=u,b=s.at(-1);if(y){if(f==="text"||f==="code"){let A=h+(d?1:0);const T=Object.assign({x:d?t.x:null,dy:qe(A||null,"em")},...a,{"font-family":f==="code"?"monospace":null,"font-size":b===1?null:`${b}em`});h=0,d=!1,c.push({text:m,vbind:T})}else if(f==="strong")a.push({"font-weight":"bold"});else if(f==="emph")a.push({"font-style":"italic"});else if(f==="softbreak"||f==="paragraph")c.push({text:`
25
- `}),d=!0;else if(f==="html_inline"){const A=m;if(A.includes("color=")){const T=A.match(/color=(['"])(.*?)\1/i)?.[2]??A.match(/color=(\S*)/)?.[1];T&&a.push({fill:T})}else A.includes("</font>")?a.pop():A.includes("<sup>")?(h-=.4*b,s.push(b*.7)):A.includes("</sup>")?(h+=.4*s.at(-1),s.pop()):A.includes("<sub>")?(h+=.25*b,s.push(b*.7)):A.includes("</sub>")&&(h-=.25*s.at(-1),s.pop())}}else["strong","emph"].includes(f)&&a.pop()}return c});return(l,c)=>(L(),I("text",J({ref_key:"ele",ref:n},r.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(L(),I("title",oU,zt(t.title),1)):Lt("",!0),c[0]||(c[0]=dt()),(L(!0),I(st,null,ut(o.value,a=>(L(),I("tspan",J({ref_for:!0},a.vbind),zt(a.text),17))),256))],16,rU))}},$l={__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"?(L(),xt(I1,J({key:0},Tt(i)),null,16)):(L(),xt(B1,J({key:1},Tt(i)),null,16))}},sU=["transform"],lU=["x2"],aU={class:"vvplot-interactive",fill:"transparent"},cU=["width","cursor"],uU={key:1,class:"vvplot-interactive",fill:"transparent"},hU=["x"],fU={__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=$1("rangePreview"),o=X(()=>{let g=0,p={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?g=i.value*(1-p.slice(0,-1)/100):g=t.activeTransform.translateV+t.coord2pos({v:+p}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${g})`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,p=g,w=t.theme.title_dock_x,k=t.theme.title_dock_y,v=0;return typeof g!="number"&&(p={left:0,bottom:.5,top:.5,right:1}[g]??.5,w??={left:1,right:0}[g]??.5,k??={top:0,bottom:1}[g]??.5,v=({top:-1,bottom:1}[g]??0)*(t.theme.title_offset??0)),{x:n.value*p,y:v,angle:t.theme.title_angle,dockX:w,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 p of t.ticks){let{value:w,theme:k}=p,v=t.coord2pos({h:w}).h,V=v*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(v+=t.layout.l,v+V<0||v+V>n.value)continue;let D=(k.tick_position=="top"?-1:1)*k.tick_length;g.push({key:"line-"+w,y1:0,y2:D,x1:v,x2:v,stroke:k.tick_color,"stroke-width":k.tick_width,transform:V?`translate(${V},0)`:null,style:{transition:t.transition}})}return g.filter(p=>p.stroke!=null).sort((p,w)=>p.x1-w.x1)}),s=X(()=>{let g=[];for(let p of t.ticks){let{type:w,value:k,label:v,title:V,theme:D,...W}=p,Y=(D.label_position??D.tick_position)=="top",H=t.coord2pos({h:k}).h,q=H*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(H+=t.layout.l,H+q<0||H+q>n.value)continue;let _=(Y?-1:1)*(D.label_offset??D.tick_length),F,tt,Q,U;D.label_anchor_x!=null||D.label_anchor_y!=null?(F=D.label_anchor_x??.5,tt=D.label_anchor_y??(Y?0:1)):(Q=D.label_dock_x??.5,U=D.label_dock_y??(Y?0:1)),g.push({wrapper:{key:"text-"+k,transform:q?`translate(${q},0)`:null,style:{transition:t.transition}},text:{x:H,y:_,angle:D.label_angle,anchorX:F,anchorY:tt,dockX:Q,dockY:U,type:D.label_type,text:v,title:V??v,fontSize:D.label_size,fill:D.label_color,"font-family":"sans-serif",value:k,...W}})}return g.filter(p=>p.text.fill!=null).sort((p,w)=>p.text.x-w.text.x)}),h=qt("i");function d(g){let p=h.value.getBoundingClientRect(),w=p.width/h.value.getBBox().width,k=g.clientX-p.left,v=k/w-t.layout.left,V=t.layout.left+t.layout.width-k/w,D={l:v,r:V},{x:W,y:Y}=t.pos2coord({h:v});return W&&(D.x=W),Y&&(D.y=Y),D}const u=e;let f,m=0;function y(g){let p=d(g);u("pointerdown",g,p);let w=!1;function k(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(w=!0,q.currentTarget.removeEventListener("pointermove",k))}g.target.addEventListener("pointermove",k,{passive:!0});let v=t.action.find(q=>q.action=="move");if(!v)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",f=clearTimeout(f);let V=0,D=t.layout.width,W=t.coord2pos(v),H=h.value.getBoundingClientRect().width/h.value.getBBox().width;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(m+=q.movementX,!w)return;let _=yt(-m/H,{min:W.hmin-V,max:W.hmax-D}),{xmin:F,xmax:tt,ymin:Q,ymax:U}=t.pos2coord({hmin:V+_,hmax:D+_});Object.assign(r,{xmin:F,xmax:tt,ymin:Q,ymax:U})},g.target.onpointerup=q=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,w&&(f=setTimeout(()=>{S(v,q),m=0},300))}}function b(g){let p=t.action.find(F=>F.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":w=0}=p,k=d(g),v=t.coord2pos(k).h,V=v-k.l,D=v+k.r,W=t.pos2coord({hmin:V,hmax:D}),Y={min:t.coord2pos(p).hmin,max:t.coord2pos({hmin:W.hmax-w,hmax:W.hmin+w}).hmin},q=h.value.getBoundingClientRect().width/h.value.getBBox().width,_=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{_+=F.movementX;let{xmin:tt,xmax:Q,ymin:U,ymax:Z}=t.pos2coord({hmin:yt(D-(D-V)*k.r/Math.max(k.r-_/q,1),Y),hmax:D});Object.assign(r,{xmin:tt,xmax:Q,ymin:U,ymax:Z})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,S(p,F)}}function A(g){let p=t.action.find(_=>_.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":w=0}=p,k=d(g),v=t.coord2pos(k).h,V=v-k.l,D=v+k.r,W=t.pos2coord({hmin:V,hmax:D}),Y={min:t.coord2pos({hmin:W.hmax-w,hmax:W.hmin+w}).hmax,max:t.coord2pos(p).hmax};h.value.getBoundingClientRect().width/h.value.getBBox().width;let q=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=_=>{q+=_.movementX;let{xmin:F,xmax:tt,ymin:Q,ymax:U}=t.pos2coord({hmin:V,hmax:yt(V+(D-V)*k.l/Math.max(k.l+q,1),Y)});Object.assign(r,{xmin:F,xmax:tt,ymin:Q,ymax:U})},g.target.onpointerup=_=>{g.target.onpointermove=null,g.target.onpointerup=null,S(p,_)}}let T=0,C;function M(g){let p=d(g);u("wheel",g,p);let w=t.action.find(k=>["zoom","nudge"].includes(k.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(v=>k[v]==g[v]));w&&(C=clearTimeout(C),g.preventDefault(),g.stopPropagation(),u("update:transition","transform 0.1s ease-out"),T+=g.deltaY,E(w,p,T),C=setTimeout(()=>{S(w,g),T=0},300))}function E(g,p,w){if(g.action=="zoom"){let{"min-range-h":k=0,sensitivity:v=1.25}=g,V=v**(w/100),D=t.coord2pos(g),W=Math.max(p.l-Math.max(p.l,0)*V,D.hmin??-1/0),Y=Math.min(p.l+Math.max(p.r,0)*V,D.hmax??1/0),{[t.coord+"min"]:H,[t.coord+"max"]:q}=t.pos2coord({hmin:W,hmax:Y});if(V<1&&q-H<k){let _=(q+H)/2;H=_-k/2,q=_+k/2}r[t.coord+"min"]=H,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:k=.1}=g,v=t.coord2pos(g),V=0,D=t.layout.width,W=k*t.layout.width*(-w/120),Y=yt(-W,{min:v.hmin-V,max:v.hmax-D}),{xmin:H,xmax:q,ymin:_,ymax:F}=t.pos2coord({hmin:V+Y,hmax:D+Y});Object.assign(r,{xmin:H,xmax:q,ymin:_,ymax:F})}}function S(g,p){let w=_t(r)??{};if(!Object.keys(w).length)return;let k=new PointerEvent(p.type,p);Be(g.emit,w,k)||u(g.action,w,k),u("rangechange",w),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const j={pointerup(g){u("pointerup",g,d(g))},pointerover(g){u("pointerover",g,d(g))},pointerout(g){u("pointerout",g,d(g))},pointerenter(g){u("pointerenter",g,d(g))},pointerleave(g){u("pointerleave",g,d(g))},click(g){u("click",g,d(g))},singleclick(g){u("singleclick",g,d(g))},dblclick(g){u("dblclick",g,d(g))},contextmenu(g){u("contextmenu",g,d(g))},pointermove(g){u("pointermove",g,d(g))},wheel:M};return(g,p)=>(L(),I("g",{transform:o.value,style:D1({transition:t.transition})},[c.value.stroke!=null?(L(),I("line",J({key:0,ref:"i",x1:0,x2:n.value,y1:0,y2:0},c.value),null,16,lU)):Lt("",!0),p[1]||(p[1]=dt()),(L(!0),I(st,null,ut(a.value,w=>(L(),I("line",J({ref_for:!0},w),null,16))),256)),p[2]||(p[2]=dt()),(L(!0),I(st,null,ut(s.value,w=>(L(),I("g",J({ref_for:!0},w.wrapper),[re($l,J({ref_for:!0},w.text,{getPosition:d}),null,16)],16))),256)),p[3]||(p[3]=dt()),$t("g",aU,[$t("rect",J({width:n.value,height:10,y:-5},Tt(j,!0),{onPointerdown:y,cursor:t.action.some?.(w=>w.action=="move")?"grab":null}),null,16,cU)]),p[4]||(p[4]=dt()),t.action.some?.(w=>w.action=="rescale")?(L(),I("g",uU,[$t("rect",J({width:20,height:10,y:-5,style:{cursor:"ew-resize"}},Tt(j,!0),{onPointerdown:b}),null,16),p[0]||(p[0]=dt()),$t("rect",J({width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"}},Tt(j,!0),{onPointerdown:A}),null,16,hU)])):Lt("",!0),p[5]||(p[5]=dt()),l.value.text?(L(),I(st,{key:2},[t.theme.title_type=="markdown"?(L(),xt(I1,se(J({key:0},l.value)),null,16)):(L(),xt(B1,se(J({key:1},l.value)),null,16))],64)):Lt("",!0)],12,sU))}},dU=["transform"],mU=["y2"],gU={class:"vvplot-interactive",fill:"transparent"},yU=["height","cursor"],pU={key:1,class:"vvplot-interactive",fill:"transparent"},vU=["y"],xU={__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=$1("rangePreview"),o=X(()=>{let g=0,p={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?g=n.value*p.slice(0,-1)/100:g=t.activeTransform.translateH+t.coord2pos({h:+p}).h*t.activeTransform.scaleH+t.layout.left,`translate(${g}, 0)`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,p=g,w=t.theme.title_dock_x,k=t.theme.title_dock_y,v=0;return typeof g!="number"&&(p={bottom:0,left:.5,right:.5,top:1}[g]??.5,w??={left:1,right:0}[g]??.5,k??={top:0,bottom:1}[g]??.5,v=({left:-1,right:1}[g]??0)*(t.theme.title_offset??0)),{x:v,y:i.value*(1-p),angle:t.theme.title_angle,dockX:w,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 p of t.ticks){let{value:w,theme:k}=p,v=t.coord2pos({v:w}).v,V=v*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(v+=t.layout.t,v+V<0||v+V>i.value)continue;let D=(k.tick_position=="right"?1:-1)*k.tick_length;g.push({key:"line-"+p.value,y1:v,y2:v,x1:0,x2:D,stroke:p.color??k.tick_color,"stroke-width":p.width??k.tick_width,transform:V?`translate(0,${V})`:null,style:{transition:t.transition}})}return g.filter(p=>p.stroke!=null).sort((p,w)=>p.y1-w.y1)}),s=X(()=>{let g=[];for(let p of t.ticks){let{type:w,value:k,label:v,title:V,theme:D,...W}=p,Y=(D.label_position??D.tick_position)=="right",H=t.coord2pos({v:k}).v,q=H*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(H+=t.layout.t,H+q<0||H+q>i.value)continue;let _=(Y?1:-1)*((D.label_offset??D.tick_length)+3),F,tt,Q,U;D.label_anchor_x!=null||D.label_anchor_y!=null?(F=D.label_anchor_x??(Y?0:1),tt=D.label_anchor_y??.5):(Q=D.label_dock_x??(Y?0:1),U=D.label_dock_y??.5),g.push({wrapper:{key:"text-"+k,transform:q?`translate(0,${q})`:null,style:{transition:t.transition}},text:{y:H,x:_,angle:D.label_angle,anchorX:F,anchorY:tt,dockX:Q,dockY:U,type:D.label_type,text:v,title:V??v,fontSize:D.label_size,fill:D.label_color,"font-family":"sans-serif",value:k,...W}})}return g.filter(p=>p.text.fill!=null).sort((p,w)=>p.text.y-w.text.y)}),h=qt("i");function d(g){let p=h.value.getBoundingClientRect(),w=p.height/h.value.getBBox().height,k=g.clientY-p.top,v=k/w-t.layout.top,V=t.layout.top+t.layout.height-k/w,D={t:v,b:V},{x:W,y:Y}=t.pos2coord({v});return W&&(D.x=W),Y&&(D.y=Y),D}const u=e;let f,m=0;function y(g){let p=d(g);u("pointerdown",g,p);let w=!1;function k(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(w=!0,q.currentTarget.removeEventListener("pointermove",k))}g.target.addEventListener("pointermove",k,{passive:!0});let v=t.action.find(q=>q.action=="move");if(!v)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",f=clearTimeout(f);let V=0,D=t.layout.height,W=t.coord2pos(v),H=h.value.getBoundingClientRect().height/h.value.getBBox().height;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(m+=q.movementY,!w)return;let _=yt(-m/H,{min:W.vmin-V,max:W.vmax-D}),{xmin:F,xmax:tt,ymin:Q,ymax:U}=t.pos2coord({vmin:V+_,vmax:D+_});Object.assign(r,{xmin:F,xmax:tt,ymin:Q,ymax:U})},g.target.onpointerup=q=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,w&&(f=setTimeout(()=>{S(v,q),m=0},300))}}function b(g){let p=t.action.find(F=>F.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":w=0}=p,k=d(g),v=t.coord2pos(k).v,V=v-k.t,D=v+k.b,W=t.pos2coord({vmin:V,vmax:D}),Y={min:t.coord2pos(p).vmin,max:t.coord2pos({vmin:W.vmax-w,vmax:W.vmin+w}).vmin},q=h.value.getBoundingClientRect().height/h.value.getBBox().height,_=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{_+=F.movementY;let{xmin:tt,xmax:Q,ymin:U,ymax:Z}=t.pos2coord({vmin:yt(D-(D-V)*k.b/Math.max(k.b-_/q,1),Y),vmax:D});Object.assign(r,{xmin:tt,xmax:Q,ymin:U,ymax:Z})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,S(p,F)}}function A(g){let p=t.action.find(F=>F.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":w=0}=p,k=d(g),v=t.coord2pos(k).v,V=v-k.t,D=v+k.b,W=t.pos2coord({vmin:V,vmax:D}),Y={min:t.coord2pos({vmin:W.vmax-w,vmax:W.vmin+w}).vmax,max:t.coord2pos(p).vmax},q=h.value.getBoundingClientRect().height/h.value.getBBox().height,_=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{_+=F.movementY;let{xmin:tt,xmax:Q,ymin:U,ymax:Z}=t.pos2coord({vmin:V,vmax:yt(V+(D-V)*k.t/Math.max(k.t+_/q,1),Y)});Object.assign(r,{xmin:tt,xmax:Q,ymin:U,ymax:Z})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,S(p,F)}}let T=0,C;function M(g){let p=d(g);u("wheel",g,p);let w=t.action.find(k=>["zoom","nudge"].includes(k.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(v=>k[v]==g[v]));w&&(C=clearTimeout(C),g.preventDefault(),g.stopPropagation(),u("update:transition","transform 0.1s ease-out"),T+=g.deltaY,E(w,p,T),C=setTimeout(()=>{S(w,g),T=0},300))}function E(g,p,w){if(g.action=="zoom"){let{"min-range-v":k=0,sensitivity:v=1.25}=g,V=v**(w/100),D=t.coord2pos(g),W=Math.max(p.t-Math.max(p.t,0)*V,D.vmin??-1/0),Y=Math.min(p.t+Math.max(p.b,0)*V,D.vmax??1/0),{[t.coord+"min"]:H,[t.coord+"max"]:q}=t.pos2coord({vmin:W,vmax:Y});if(V<1&&q-H<k){let _=(q+H)/2;H=_-k/2,q=_+k/2}r[t.coord+"min"]=H,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:k=.1}=g,v=t.coord2pos(g),V=0,D=t.layout.height,W=k*t.layout.height*(-w/120),Y=yt(-W,{min:v.vmin-V,max:v.vmax-D}),{xmin:H,xmax:q,ymin:_,ymax:F}=t.pos2coord({vmin:V+Y,vmax:D+Y});Object.assign(r,{xmin:H,xmax:q,ymin:_,ymax:F})}}function S(g,p){let w=_t(r)??{};if(!Object.keys(w).length)return;let k=new PointerEvent(p.type,p);Be(g.emit,w,k)||u(g.action,w,k),u("rangechange",w),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const j={pointerup(g){u("pointerup",g,d(g))},pointerover(g){u("pointerover",g,d(g))},pointerout(g){u("pointerout",g,d(g))},pointerenter(g){u("pointerenter",g,d(g))},pointerleave(g){u("pointerleave",g,d(g))},click(g){u("click",g,d(g))},singleclick(g){u("singleclick",g,d(g))},dblclick(g){u("dblclick",g,d(g))},contextmenu(g){u("contextmenu",g,d(g))},pointermove(g){u("pointermove",g,d(g))},wheel:M};return(g,p)=>(L(),I("g",{transform:o.value,style:D1({transition:t.transition})},[c.value.stroke!=null?(L(),I("line",J({key:0,ref:"i",x1:0,x2:0,y1:0,y2:i.value},c.value),null,16,mU)):Lt("",!0),p[1]||(p[1]=dt()),(L(!0),I(st,null,ut(a.value,w=>(L(),I("line",J({ref_for:!0},w),null,16))),256)),p[2]||(p[2]=dt()),(L(!0),I(st,null,ut(s.value,w=>(L(),I("g",J({ref_for:!0},w.wrapper),[re($l,J({ref_for:!0},w.text,{getPosition:d}),null,16)],16))),256)),p[3]||(p[3]=dt()),$t("g",gU,[$t("rect",J({width:10,height:i.value,x:-5},Tt(j,!0),{onPointerdown:y,cursor:t.action.some?.(w=>w.action=="move")?"grab":null}),null,16,yU)]),p[4]||(p[4]=dt()),t.action.some?.(w=>w.action=="rescale")?(L(),I("g",pU,[$t("rect",J({width:10,height:20,x:-5,style:{cursor:"ns-resize"}},Tt(j,!0),{onPointerdown:b}),null,16),p[0]||(p[0]=dt()),$t("rect",J({width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"}},Tt(j,!0),{onPointerdown:A}),null,16,vU)])):Lt("",!0),p[5]||(p[5]=dt()),l.value.text?(L(),I(st,{key:2},[t.theme.title_type=="markdown"?(L(),xt(I1,se(J({key:0},l.value)),null,16)):(L(),xt(B1,se(J({key:1},l.value)),null,16))],64)):Lt("",!0)],12,dU))}},No={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:fU,v:xU};return(n,i)=>t.position!="none"?(L(),xt(Xe(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Lt("",!0)}},bU={__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)=>(L(),I("g",null,[(L(!0),I(st,null,ut(o.value,a=>(L(),I("line",J({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},wU={__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)=>(L(),I("g",null,[(L(!0),I(st,null,ut(o.value,a=>(L(),I("line",J({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},kU={__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=qt("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 h=new Map,d=new Map;for(let{x:u,xmin:f,xmax:m,y,ymin:b,ymax:A,lwisker:T,Q1:C,median:M,Q3:E,uwisker:S,outliers:j,$xmin:g,$xmax:p,$ymin:w,$ymax:k,fill:v="white",color:V="black",linewidth:D=1,linetype:W,alpha:Y,"translate-x":H=0,"translate-y":q=0,$raw:_}of t.data){const{hmin:F,hmax:tt,vmin:Q,vmax:U}=t.coord2pos(u==null?{ymin:b,ymax:A,xmin:C,xmax:E}:{xmin:f,xmax:m,ymin:C,ymax:E}),{h:Z,v:ot}=t.coord2pos(u==null?{y,x:T}:{x:u,y:T}),{h:at,v:Ct}=t.coord2pos(u==null?{y,x:S}:{x:u,y:S}),{h:Qt,v:ve}=t.coord2pos(u==null?{y:b,x:M}:{x:f,y:M}),{h:ie,v:te}=t.coord2pos(u==null?{y:A,x:M}:{x:m,y:M}),{h:fe,v:O}=t.coord2pos(u==null?{y:b*.25+A*.75,x:S}:{x:f*.25+m*.75,y:S}),{h:P,v:B}=t.coord2pos(u==null?{y:b*.75+A*.25,x:S}:{x:f*.75+m*.25,y:S}),{h:z,v:x}=t.coord2pos(u==null?{y:b*.25+A*.75,x:T}:{x:f*.25+m*.75,y:T}),{h:$,v:N}=t.coord2pos(u==null?{y:b*.75+A*.25,x:T}:{x:f*.75+m*.25,y:T});s.globalAlpha=Y,s.setLineDash(Ht(W));const R=new Path2D;R.moveTo(Z+H,ot+q),R.lineTo(at+H,Ct+q);const G=new Path2D;G.moveTo(fe+H,O+q),G.lineTo(P+H,B+q),G.moveTo(z+H,x+q),G.lineTo($+H,N+q);const et=new Path2D;et.rect(F+H,Q+q,tt-F,U-Q),h.set(et,_);const lt=new Path2D;lt.moveTo(Qt+H,ve+q),lt.lineTo(ie+H,te+q),V!=null&&V!=="none"&&(s.strokeStyle=V,s.lineWidth=D,s.stroke(R),s.stroke(G)),v!=="none"&&(s.fillStyle=v,s.fill(et)),V!=null&&V!=="none"&&(s.stroke(et),s.lineWidth=D*2,s.stroke(lt));for(let{x:it,y:wt,$raw:bt}of j){const{h:ht,v:ct}=t.coord2pos({x:it,y:wt}),nt=new Path2D;nt.arc(ht+H,ct+q,2,0,Math.PI*2),V!=null&&V!=="none"&&(s.fillStyle=V,s.fill(nt)),h.set(nt,bt)}}for(let u of Array.from(h.keys()).reverse())d.set(u,h.get(u));for(let u of i)a.addEventListener(u,function(f){if(f._vhandled)return;const m=a.getBoundingClientRect(),y=(f.clientX-m.left)*a.width/m.width,b=(f.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(u,f,t.getCoord(f),T),f._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},To={__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=qt("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 h=s.getContext("2d");h.clearRect(0,0,s.width,s.height),h.scale(t.dpi/96,t.dpi/96),h.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,u=new Map;for(let{points:f,fill:m,color:y,linewidth:b,linetype:A,alpha:T,"translate-x":C=0,"translate-y":M=0,$raw:E,interpolate:S}of t.data){if(f=f.map(w=>(({h:k,v})=>({x:k,y:v}))(t.coord2pos(w))).filter(w=>w.x!=null&&w.y!=null),f.length===0)continue;const j=new Path2D;let p=(typeof S=="function"?S:a[S]??An)(j);p.lineStart();for(let w=0;w<f.length;w++)p.point(f[w].x+C,f[w].y+M);p.lineEnd(),d.set(j,E),h.lineWidth=b,h.globalAlpha=T,h.setLineDash(Ht(A)),m!=="none"&&(h.fillStyle=m,h.fill(j)),y!=null&&y!=="none"&&(h.strokeStyle=y,h.stroke(j))}for(let f of Array.from(d.keys()).reverse())u.set(f,d.get(f));for(let f of i)s.addEventListener(f,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),b=(m.clientX-y.left)*s.width/y.width,A=(m.clientY-y.top)*s.height/y.height;for(const[T,C]of u)if(h.isPointInPath(T,b,A)){r(f,m,t.getCoord(m),C),m._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});const a={cardinal:Hs,cardinalClosed:Xs,catmullRom:zs,catmullRomClosed:Us,linear:Hi,linearClosed:Ws,natural:An};return(s,h)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},AU={__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=qt("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 h=new Map,d=new Map;for(let{cx:u,cy:f,A:m,B:y,C:b,fill:A,color:T,linewidth:C,linetype:M,alpha:E,"translate-x":S=0,"translate-y":j=0,$raw:g}of t.data){let p=Math.sqrt(b/(m*b-y*y)),w=Math.sqrt(m/(m*b-y*y));const{h:k,v}=t.coord2pos({x:u,y:f});let{h:V,v:D}=t.coord2pos({x:u-p,y:f-w}),{h:W,v:Y}=t.coord2pos({x:u+p,y:f+w}),H=(W-V)/(2*p),q=(Y-D)/(2*w);m/=H*H,y/=H*q,b/=q*q;const _=m+b,F=m*b-y*y,tt=Math.sqrt(Math.max(0,_*_/4-F));let Q=1/Math.sqrt(_/2+tt),U=1/Math.sqrt(_/2-tt),Z=Math.atan2(2*y,m-b)/2;const ot=new Path2D;ot.ellipse(k+S,v+j,Q,U,Z,0,2*Math.PI),h.set(ot,g),s.lineWidth=C,s.globalAlpha=E,s.setLineDash(Ht(M)),A!=="none"&&(s.fillStyle=A,s.fill(ot)),T!=null&&T!=="none"&&(s.strokeStyle=T,s.stroke(ot))}for(let u of Array.from(h.keys()).reverse())d.set(u,h.get(u));for(let u of i)a.addEventListener(u,function(f){if(f._vhandled)return;const m=a.getBoundingClientRect(),y=(f.clientX-m.left)*a.width/m.width,b=(f.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(u,f,t.getCoord(f),T),f._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},Eo={__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=qt("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 h=new Map,d=new Map;for(let{x:u,y:f,xend:m,yend:y,color:b="black",linewidth:A,alpha:T,linetype:C,"translate-x":M=0,"translate-y":E=0,$raw:S}of t.data){const{h:j,v:g}=t.coord2pos({x:u,y:f}),{h:p,v:w}=t.coord2pos({x:m,y}),k=new Path2D;k.moveTo(j+M,g+E),k.lineTo(p+M,w+E),h.set(k,S),s.lineWidth=A,s.globalAlpha=T,s.setLineDash(Ht(C)),b!=null&&b!=="none"&&(s.strokeStyle=b,s.stroke(k))}for(let u of Array.from(h.keys()).reverse())d.set(u,h.get(u));for(let u of i)a.addEventListener(u,function(f){if(f._vhandled)return;const m=a.getBoundingClientRect(),y=(f.clientX-m.left)*a.width/m.width,b=(f.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(u,f,t.getCoord(f),T),f._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},SU={__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=qt("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 h=s.getContext("2d");h.clearRect(0,0,s.width,s.height),h.scale(t.dpi/96,t.dpi/96),h.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,u=new Map;for(let{x:f,y:m,size:y=6,shape:b,color:A,stroke:T,linewidth:C,linetype:M,alpha:E,"translate-x":S=0,"translate-y":j=0,angle:g=0,$raw:p}of t.data){const{h:w,v:k}=t.coord2pos({x:f,y:m});if(typeof g=="object"){let{dx:V=0,dy:D=0}=g,{h:W,v:Y}=t.coord2pos({x:f+V,y:m+D});g=Math.atan2(Y-k,W-w)*180/Math.PI}const v=new Path2D;String(b).startsWith("path:")?v.addPath(new Path2D(b.slice(5)),new DOMMatrix().translateSelf(w+S,k+j).rotate(g)):b in o?v.addPath(new Path2D(o[b](y)),new DOMMatrix().translate(w+S,k+j).rotate(g)):v.arc(w+S,k+j,y/2,0,Math.PI*2),d.set(v,p),h.lineWidth=C,h.globalAlpha=E,h.beginPath(),A!=="none"&&(h.fillStyle=A,h.fill(v)),T!=null&&T!=="none"&&(h.strokeStyle=T,h.setLineDash(Ht(M)),h.stroke(v))}for(let f of Array.from(d.keys()).reverse())u.set(f,d.get(f));for(let f of i)s.addEventListener(f,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),b=(m.clientX-y.left)*s.width/y.width,A=(m.clientY-y.top)*s.height/y.height;for(const[T,C]of u)if(h.isPointInPath(T,b,A)){r(f,m,t.getCoord(m),C),m._vhandled=!0;break}});return s});return St(a,s=>c.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)}),(s,h)=>(L(),I("foreignObject",J(l.value,{ref:"container"}),null,16))}},CU={__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=qt("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 h=new Map,d=new Map;for(let{points:u,fill:f,color:m,linewidth:y,linetype:b,alpha:A,"translate-x":T=0,"translate-y":C=0,$raw:M}of t.data){if(u=u.map(S=>(({h:j,v:g})=>({x:j,y:g}))(t.coord2pos(S))).filter(S=>S.x!=null&&S.y!=null),u.length===0)continue;const E=new Path2D;E.moveTo(u[0].x+T,u[0].y+C);for(let S=1;S<u.length;S++)E.lineTo(u[S].x+T,u[S].y+C);E.closePath(),h.set(E,M),s.lineWidth=y,s.globalAlpha=A,s.setLineDash(Ht(b)),f!=="none"&&(s.fillStyle=f,s.fill(E)),m!=null&&m!=="none"&&(s.strokeStyle=m,s.stroke(E))}for(let u of Array.from(h.keys()).reverse())d.set(u,h.get(u));for(let u of i)a.addEventListener(u,function(f){if(f._vhandled)return;const m=a.getBoundingClientRect(),y=(f.clientX-m.left)*a.width/m.width,b=(f.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(u,f,t.getCoord(f),T),f._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},Oo={__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=qt("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 h=new Map,d=new Map;for(let{xmin:u,xmax:f,ymin:m,ymax:y,fill:b,color:A,linewidth:T,linetype:C,alpha:M,"translate-x":E=0,"translate-y":S=0,$raw:j}of t.data){const{hmin:g,hmax:p,vmin:w,vmax:k}=t.coord2pos({xmin:u,xmax:f,ymin:m,ymax:y}),v=new Path2D;v.rect(g+E,w+S,p-g,k-w),h.set(v,j),s.lineWidth=T,s.globalAlpha=M,s.setLineDash(Ht(C)),b!=="none"&&(s.fillStyle=b,s.fill(v)),A!=="none"&&A!=null&&(s.strokeStyle=A,s.stroke(v))}for(let u of Array.from(h.keys()).reverse())d.set(u,h.get(u));for(let u of i)a.addEventListener(u,function(f){if(f._vhandled)return;const m=a.getBoundingClientRect(),y=(f.clientX-m.left)*a.width/m.width,b=(f.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(u,f,t.getCoord(f),T),f._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},MU={__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=qt("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 h=new Map,d=new Map;for(let{x:u,y:f,color:m,size:y=4,label:b="",title:A,stroke:T,linewidth:C,linetype:M,alpha:E,"anchor-x":S,"anchor-y":j,"dock-x":g,"dock-y":p,"translate-x":w=0,"translate-y":k=0,angle:v,"text-length":V,"font-family":D="sans-serif",$raw:W}of t.data){s.save();const{h:Y,v:H}=t.coord2pos({x:u,y:f});s.textAlign="center",s.textBaseline="middle",s.lineWidth=C,s.globalAlpha=E,s.font=`${y*4}px ${D}`,s.setLineDash(Ht(M)),s.translate(Y+w,H+k);let{width:q,fontBoundingBoxAscent:_,fontBoundingBoxDescent:F}=s.measureText(b),tt=q,Q=_+F;if(typeof V=="object"){let{x:U=0,y:Z=0}=V,{h:ot,v:at}=t.coord2pos({x:u+U/2,y:f+Z/2}),{h:Ct,v:Qt}=t.coord2pos({x:u-U/2,y:f-Z/2});tt=Math.hypot(ot-Ct||0,at-Qt||0)}else V!=null&&(tt=V);if(typeof v=="object"){let{dx:U=0,dy:Z=0}=v,{h:ot,v:at}=t.coord2pos({x:u+U,y:f+Z});v=Math.atan2(at-H,ot-Y)*180/Math.PI}if(g!=null||p!=null){let U={left:0,center:.5,right:1}[g]??+(g??.5),Z={bottom:0,center:.5,top:1}[p]??+(p??.5);isNaN(U)&&(U=.5),isNaN(Z)&&(Z=.5);let ot=tt*Math.abs(Math.cos(v*Math.PI/180))+Q*Math.abs(Math.sin(v*Math.PI/180)),at=tt*Math.abs(Math.sin(v*Math.PI/180))+Q*Math.abs(Math.cos(v*Math.PI/180));s.translate(ot*(.5-U),at*(Z-.5)),s.rotate(v*Math.PI/180)}else{let U={left:0,center:.5,right:1}[S]??+(S??.5),Z={bottom:0,center:.5,top:1}[j]??+(j??.5);isNaN(U)&&(U=.5),isNaN(Z)&&(Z=.5);let ot=tt,at=Q;s.rotate(v*Math.PI/180),s.translate(ot*(.5-U),at*(Z-.5))}tt!=q&&s.scale(tt/q,1),m!=="none"&&(s.fillStyle=m,s.fillText(b,0,0)),T!=null&&T!=="none"&&(s.strokeStyle=T,s.strokeText(b,0,0)),s.restore()}for(let u of Array.from(h.keys()).reverse())d.set(u,h.get(u));for(let u of i)a.addEventListener(u,function(f){if(f._vhandled)return;const m=a.getBoundingClientRect(),y=(f.clientX-m.left)*a.width/m.width,b=(f.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(u,f,t.getCoord(f),T),f._vhandled=!0;break}});return a});return St(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},$U={__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=qt("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 h=s.getContext("2d");h.clearRect(0,0,s.width,s.height),h.scale(t.dpi/96,t.dpi/96),h.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,u=new Map;for(let{x:f,xend:m,y,yend:b,size:A=4,label:T="",title:C,color:M,stroke:E,linewidth:S,linetype:j,alpha:g,"translate-x":p=0,"translate-y":w=0,"text-length":k,"font-family":v="sans-serif","text-align":V="justify",angle:D="auto",inset:W=0,$raw:Y}of t.data){const{h:H,v:q}=t.coord2pos({x:f,y}),{h:_,v:F}=t.coord2pos({x:m,y:b});if(h.save(),h.translate(p,w),h.textBaseline="middle",h.lineWidth=S,h.globalAlpha=g,h.font=`${A*4}px ${v}`,h.setLineDash(Ht(j)),["stretch","pre","start","center","end","post"].includes(V)){let tt=Math.atan2(F-q,_-H),Q=String(T).replace(/\x01|\x02/g,""),U=Math.cos(tt)*W,Z=Math.sin(tt)*W;switch(V){case"stretch":case"center":h.translate((H+_)/2,(q+F)/2),h.textAlign="center";break;case"pre":h.translate(H-U,q-Z),h.textAlign="end";break;case"start":h.translate(H+U,q+Z),h.textAlign="start";break;case"end":h.translate(_-U,F-Z),h.textAlign="end";break;case"post":h.translate(_+U,F+Z),h.textAlign="start";break}h.rotate(tt),V==="stretch"&&h.scale(Math.hypot(_-H||0,F-q||0)/h.measureText(Q).width,1),M!=="none"&&(h.fillStyle=M,h.fillText(Q,0,0)),E!=null&&E!=="none"&&(h.strokeStyle=E,h.strokeText(Q,0,0))}else{let tt=D==="auto"?Math.atan2(F-q,_-H):D*Math.PI/180;h.textAlign="center";let Q=a(String(T)),U=(_-H)/(Q.length-1||1),Z=(F-q)/(Q.length-1||1);for(let ot=0;ot<Q.length;ot++){h.save(),h.translate(H+ot*U,q+ot*Z),h.rotate(tt);let at=Q[ot];M!=="none"&&(h.fillStyle=M,h.fillText(at,0,0)),E!=null&&E!=="none"&&(h.strokeStyle=E,h.strokeText(at,0,0)),h.restore()}}h.restore()}for(let f of Array.from(d.keys()).reverse())u.set(f,d.get(f));for(let f of i)s.addEventListener(f,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),b=(m.clientX-y.left)*s.width/y.width,A=(m.clientY-y.top)*s.height/y.height;for(const[T,C]of u)if(h.isPointInPath(T,b,A)){r(f,m,t.getCoord(m),C),m._vhandled=!0;break}});return s});St(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});function a(s){let h=[];for(let d=0;d<s.length;d++)if(s[d]==""){let u=d+1;for(;u<s.length&&s[u]!="";)u++;h.push(s.slice(d+1,u)),d=u}else h.push(s[d]);return h}return(s,h)=>(L(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},NU=Object.freeze(Object.defineProperty({__proto__:null,boxplot:kU,curve:To,ellipse:AU,line:Eo,point:SU,polygon:CU,rect:Oo,shape:To,stick:Eo,text:MU,textsegment:$U,tile:Oo},Symbol.toStringTag,{value:"Module"})),TU={__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)=>(L(),I("g"))}},EU={key:0},Hn={__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":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(L(),I("rect",se(v1(e.value)),[t.title?(L(),I("title",EU,zt(t.title),1)):Lt("",!0)],16))}},OU={key:0},LU={key:0},zi={__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":Ht(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?(L(),I("path",se(J({key:0},n.value)),[t.title?(L(),I("title",OU,zt(t.title),1)):Lt("",!0)],16)):(L(),I("circle",se(J({key:1},n.value)),[t.title?(L(),I("title",LU,zt(t.title),1)):Lt("",!0)],16))}},jU={key:0},a1={__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":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(L(),I("line",se(v1(e.value)),[t.title?(L(),I("title",jU,zt(t.title),1)):Lt("",!0)],16))}},PU={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:h,xmin:d,xmax:u,y:f,ymin:m,ymax:y,lwisker:b,Q1:A,median:T,Q3:C,uwisker:M,outliers:E,$xmin:S,$xmax:j,$ymin:g,$ymax:p,fill:w="white",color:k="black",linewidth:v,linetype:V,alpha:D,title:W,"translate-x":Y=0,"translate-y":H=0,class:q,style:_,$raw:F})=>{const{hmin:tt,hmax:Q,vmin:U,vmax:Z}=t.coord2pos({xmin:S,xmax:j,ymin:g,ymax:p});if(tt<o&&Q<o||tt>l&&Q>l||U<c&&Z<c||U>a&&Z>a)return null;const{hmin:ot,hmax:at,vmin:Ct,vmax:Qt}=t.coord2pos(h==null?{ymin:m,ymax:y,xmin:A,xmax:C}:{xmin:d,xmax:u,ymin:A,ymax:C}),{h:ve,v:ie}=t.coord2pos(h==null?{y:f,x:b}:{x:h,y:b}),{h:te,v:fe}=t.coord2pos(h==null?{y:f,x:M}:{x:h,y:M}),{h:O,v:P}=t.coord2pos(h==null?{y:m,x:T}:{x:d,y:T}),{h:B,v:z}=t.coord2pos(h==null?{y,x:T}:{x:u,y:T}),{h:x,v:$}=t.coord2pos(h==null?{y:m*.25+y*.75,x:M}:{x:d*.25+u*.75,y:M}),{h:N,v:R}=t.coord2pos(h==null?{y:m*.75+y*.25,x:M}:{x:d*.75+u*.25,y:M}),{h:G,v:et}=t.coord2pos(h==null?{y:m*.25+y*.75,x:b}:{x:d*.25+u*.75,y:b}),{h:lt,v:it}=t.coord2pos(h==null?{y:m*.75+y*.25,x:b}:{x:d*.75+u*.25,y:b});let wt={rect:{x:(ot+at)/2,width:at-ot,y:(Ct+Qt)/2,height:Qt-Ct,fill:w,color:k,linetype:V,linewidth:v,alpha:D,title:W,translateX:Y,translateY:H,class:q,style:_},line:{x1:ve,y1:ie,x2:te,y2:fe,color:k,linetype:V,linewidth:v,alpha:D,translateX:Y,translateY:H,class:q,style:_},midline:{x1:O,y1:P,x2:B,y2:z,color:k,linetype:V,linewidth:(v??1)*2,alpha:D,translateX:Y,translateY:H,class:q,style:_},uwisker:{x1:x,y1:$,x2:N,y2:R,color:k,linetype:V,linewidth:v,alpha:D,translateX:Y,translateY:H,class:q,style:_},lwisker:{x1:G,y1:et,x2:lt,y2:it,color:k,linetype:V,linewidth:v,alpha:D,translateX:Y,translateY:H,class:q,style:_},outliers:E?.map(({x:ht,y:ct,$raw:nt})=>{const{h:rt,v:K}=t.coord2pos({x:ht,y:ct});let pt={x:rt,y:K,shape:"circle",size:4,color:k,alpha:D,translateX:Y,translateY:H,class:q,style:_},mt=Object.fromEntries(n.map(Rt=>[Rt,Xt=>i(Rt,Xt,nt)]));return[pt,mt]})},bt=Object.fromEntries(n.map(ht=>[ht,ct=>i(ht,Object.assign(ct,{_vhandled:!0}),t.getCoord(ct),F)]));return[wt,bt]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),I("g",null,[re(a1,J({ref_for:!0},a.line),null,16),l[0]||(l[0]=dt()),re(Hn,J({ref_for:!0},a.rect,Tt(s)),null,16),l[1]||(l[1]=dt()),re(a1,J({ref_for:!0},a.midline),null,16),l[2]||(l[2]=dt()),re(a1,J({ref_for:!0},a.uwisker),null,16),l[3]||(l[3]=dt()),re(a1,J({ref_for:!0},a.lwisker),null,16),l[4]||(l[4]=dt()),(L(!0),I(st,null,ut(a.outliers,([h,d])=>(L(),xt(zi,J({ref_for:!0},h,Tt(d)),null,16))),256))]))),256))],16))),256))]))}},DU={key:0},Nl={__name:"CoreCurve",props:{points:{type:Array,default:()=>[]},interpolate:{default:"natural"},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 i=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??An;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":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:Hs,cardinalClosed:Xs,catmullRom:zs,catmullRomClosed:Us,linear:Hi,linearClosed:Ws,natural:An};return(i,r)=>(L(),I("path",se(v1(e.value)),[t.title?(L(),I("title",DU,zt(t.title),1)):Lt("",!0)],16))}},Lo={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({points:h,fill:d,color:u,linewidth:f,linetype:m,alpha:y,title:b,"translate-x":A=0,"translate-y":T=0,"marker-start":C,"marker-end":M,class:E,style:S,$raw:j,interpolate:g})=>{if(h=h.map(k=>(({h:v,v:V})=>({x:v,y:V}))(t.coord2pos(k))),h.every(k=>k.x<o)||h.every(k=>k.x>l)||h.every(k=>k.y<c)||h.every(k=>k.y>a))return null;let p={points:h,fill:d,color:u,linetype:m,linewidth:f,alpha:y,title:b,translateX:A,translateY:T,"marker-start":C,"marker-end":M,class:E,style:S,interpolate:g},w=Object.fromEntries(n.map(k=>[k,v=>i(k,Object.assign(v,{_vhandled:!0}),t.getCoord(v),j)]));return[p,w]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(Nl,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},qU={key:0},VU={__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":Ht(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(L(),I("ellipse",se(v1(e.value)),[t.title?(L(),I("title",qU,zt(t.title),1)):Lt("",!0)],16))}},BU={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({cx:h,cy:d,A:u,B:f,C:m,fill:y,color:b,linewidth:A,linetype:T,alpha:C,title:M,"translate-x":E=0,"translate-y":S=0,class:j,style:g,$raw:p})=>{let w=Math.sqrt(m/(u*m-f*f)),k=Math.sqrt(u/(u*m-f*f));const{h:v,v:V}=t.coord2pos({x:h,y:d});let{h:D,v:W}=t.coord2pos({x:h-w,y:d-k}),{h:Y,v:H}=t.coord2pos({x:h+w,y:d+k});if(D<o&&Y<o||Y>l&&D>l||W<c&&H<c||H>a&&W>a)return null;let q=(Y-D)/(2*w),_=(H-W)/(2*k);u/=q*q,f/=q*_,m/=_*_;const F=u+m,tt=u*m-f*f,Q=Math.sqrt(Math.max(0,F*F/4-tt));let U={cx:v,cy:V,rx:1/Math.sqrt(F/2+Q)||0,ry:1/Math.sqrt(F/2-Q)||0,angle:Math.atan2(2*f,u-m)/2*180/Math.PI||0,fill:y,color:b,linetype:T,linewidth:A,alpha:C,title:M,translateX:E,translateY:S,class:j,style:g},Z=Object.fromEntries(n.map(ot=>[ot,at=>i(ot,Object.assign(at,{_vhandled:!0}),t.getCoord(at),p)]));return[U,Z]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(VU,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},jo={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:h,y:d,xend:u,yend:f,color:m="black",linewidth:y,linetype:b,alpha:A,title:T,"translate-x":C=0,"translate-y":M=0,"marker-start":E,"marker-end":S,class:j,style:g,$raw:p})=>{const{h:w,v:k}=t.coord2pos({x:h,y:d}),{h:v,v:V}=t.coord2pos({x:u,y:f});if(w<o&&v<o||w>l&&v>l||k<c&&V<c||k>a&&V>a)return null;let D={x1:w,x2:v,y1:k,y2:V,color:m,linetype:b,linewidth:y,alpha:A,title:T,translateX:C,translateY:M,"marker-start":E,"marker-end":S,class:j,style:g},W=Object.fromEntries(n.map(Y=>[Y,H=>i(Y,Object.assign(H,{_vhandled:!0}),t.getCoord(H),p)]));return[D,W]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(a1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},IU={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:h,y:d,size:u=4,label:f,title:m,color:y,stroke:b,linewidth:A,linetype:T,alpha:C,"anchor-x":M,"anchor-y":E,"dock-x":S,"dock-y":j,"translate-x":g=0,"translate-y":p=0,angle:w,"text-length":k,"font-family":v="sans-serif","text-anchor":V,class:D,style:W,$raw:Y})=>{if(f==null)return null;const{h:H,v:q}=t.coord2pos({x:h,y:d});if(H<o||H>l||q<c||q>a)return null;if(typeof k=="object"){let{x:tt=0,y:Q=0}=k,{h:U,v:Z}=t.coord2pos({x:h+tt/2,y:d+Q/2}),{h:ot,v:at}=t.coord2pos({x:h-tt/2,y:d-Q/2});k=Math.hypot(U-ot||0,Z-at||0)}if(typeof w=="object"){let{dx:tt=0,dy:Q=0}=w,{h:U,v:Z}=t.coord2pos({x:h+tt,y:d+Q});w=Math.atan2(Z-q,U-H)*180/Math.PI}let _={x:H,y:q,text:String(f),title:String(m??f),size:u,color:y,stroke:b,linetype:T,linewidth:A,alpha:C,angle:w,translateX:g,translateY:p,class:D,style:W,anchorX:M,anchorY:E,dockX:S,dockY:j,textLength:k,fontFamily:v,textAnchor:V},F=Object.fromEntries(n.map(tt=>[tt,Q=>i(tt,Object.assign(Q,{_vhandled:!0}),t.getCoord(Q),Y)]));return[_,F]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(I1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},RU={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:h,xend:d,y:u,yend:f,size:m=4,label:y,title:b,color:A,stroke:T,linewidth:C,linetype:M,alpha:E,"translate-x":S=0,"translate-y":j=0,"anchor-x":g,"anchor-y":p=.5,"font-family":w="sans-serif","text-align":k="start",inset:v=0,class:V,style:D,$raw:W})=>{if(y==null)return null;const{h:Y,v:H}=t.coord2pos({x:h,y:u}),{h:q,v:_}=t.coord2pos({x:d,y:f});if(Y<o&&q<o||Y>l&&q>l||H<c&&_<c||H>a&&_>a)return null;let F=Math.atan2(_-H,q-Y),tt={text:String(y),title:String(b??y),color:A,alpha:E,size:m,stroke:T,linewidth:C,linetype:M,fontFamily:w,class:V,style:D},Q=Object.fromEntries(n.map(ot=>[ot,at=>i(ot,Object.assign(at,{_vhandled:!0}),t.getCoord(at),W)])),U,Z;switch(k){case"stretch":U=(Y+q)/2,Z=(H+_)/2,g=.5,tt.textLength=Math.hypot(q-Y||0,_-H||0);break;case"center":U=(Y+q)/2,Z=(H+_)/2,g??=.5;break;case"pre":U=Y,Z=H,S-=Math.cos(F)*v,j-=Math.sin(F)*v,g??=1;break;case"end":U=q,Z=_,S-=Math.cos(F)*v,j-=Math.sin(F)*v,g??=1;break;case"post":U=q,Z=_,S+=Math.cos(F)*v,j+=Math.sin(F)*v,g??=0;break;default:U=Y,Z=H,S+=Math.cos(F)*v,j+=Math.sin(F)*v,g??=0}return Object.assign(tt,{x:U,y:Z,translateX:S,translateY:j,anchorX:g,anchorY:p,angle:F*180/Math.PI}),[tt,Q]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(I1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},HU={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:h,y:d,shape:u,size:f=6,color:m,stroke:y,linetype:b,linewidth:A,alpha:T,title:C,"translate-x":M=0,"translate-y":E=0,angle:S,class:j,style:g,$raw:p})=>{const{h:w,v:k}=t.coord2pos({x:h,y:d});if(w<o||w>l||k<c||k>a)return null;if(typeof S=="object"){let{dx:D=0,dy:W=0}=S,{h:Y,v:H}=t.coord2pos({x:h+D,y:d+W});S=Math.atan2(H-k,Y-w)*180/Math.PI}let v={x:w,y:k,shape:u,size:f,color:m,stroke:y,linetype:b,linewidth:A,alpha:T,title:C,angle:S,translateX:M,translateY:E,class:j,style:g},V=Object.fromEntries(n.map(D=>[D,W=>i(D,Object.assign(W,{_vhandled:!0}),t.getCoord(W),p)]));return[v,V]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(zi,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},XU={key:0},Tl={__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":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(L(),I("polygon",se(v1(e.value)),[t.title?(L(),I("title",XU,zt(t.title),1)):Lt("",!0)],16))}},YU={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({points:h,fill:d,color:u,linewidth:f,linetype:m,alpha:y,title:b,"translate-x":A=0,"translate-y":T=0,"marker-start":C,"marker-mid":M,"marker-end":E,class:S,style:j,$raw:g})=>{if(h=h.map(k=>(({h:v,v:V})=>({x:v,y:V}))(t.coord2pos(k))),h.every(k=>k.x<o)||h.every(k=>k.x>l)||h.every(k=>k.y<c)||h.every(k=>k.y>a))return null;let p={points:h,fill:d,color:u,linewidth:f,linetype:m,alpha:y,title:b,translateX:A,translateY:T,"marker-start":C,"marker-mid":M,"marker-end":E,class:S,style:j},w=Object.fromEntries(n.map(k=>[k,v=>i(k,Object.assign(v,{_vhandled:!0}),t.getCoord(v),g)]));return[p,w]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(Tl,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},Po={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({xmin:h,xmax:d,ymin:u,ymax:f,fill:m,color:y,linewidth:b,linetype:A,alpha:T,title:C,"translate-x":M=0,"translate-y":E=0,class:S,style:j,$raw:g})=>{const{hmin:p,hmax:w,vmin:k,vmax:v}=t.coord2pos({xmin:h,xmax:d,ymin:u,ymax:f});if(p<o&&w<o||p>l&&w>l||k<c&&v<c||k>a&&v>a)return null;let V={x:(p+w)/2,width:w-p,y:(k+v)/2,height:v-k,fill:m,color:y,linetype:A,linewidth:b,alpha:T,title:C,translateX:M,translateY:E,class:S,style:j},D=Object.fromEntries(n.map(W=>[W,Y=>i(W,Object.assign(Y,{_vhandled:!0}),t.getCoord(Y),g)]));return[V,D]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(Hn,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},_U={__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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:h,y:d,size:u=4,label:f,title:m,color:y,stroke:b,linewidth:A,linetype:T,alpha:C,"anchor-x":M,"anchor-y":E,"dock-x":S,"dock-y":j,"translate-x":g=0,"translate-y":p=0,angle:w,"text-length":k,"font-family":v,"text-anchor":V,class:D,style:W,$raw:Y})=>{if(f==null)return null;const{h:H,v:q}=t.coord2pos({x:h,y:d});if(H<o||H>l||q<c||q>a)return null;if(typeof k=="object"){let{x:tt=0,y:Q=0}=k,{h:U,v:Z}=t.coord2pos({x:h+tt/2,y:d+Q/2}),{h:ot,v:at}=t.coord2pos({x:h-tt/2,y:d-Q/2});k=Math.hypot(U-ot||0,Z-at||0)}if(typeof w=="object"){let{dx:tt=0,dy:Q=0}=w,{h:U,v:Z}=t.coord2pos({x:h+tt,y:d+Q});w=Math.atan2(Z-q,U-H)*180/Math.PI}let _={x:H,y:q,text:String(f),title:String(m??f),size:u,color:y,stroke:b,linetype:T,linewidth:A,alpha:C,angle:w,translateX:g,translateY:p,class:D,style:W,anchorX:M,anchorY:E,dockX:S,dockY:j,textLength:k,fontFamily:v,textAnchor:V},F=Object.fromEntries(n.map(tt=>[tt,Q=>i(tt,Object.assign(Q,{_vhandled:!0}),t.getCoord(Q),Y)]));return[_,F]}).filter(h=>h!=null))});return(o,l)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,c=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(c,([a,s])=>(L(),xt(B1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},zU={__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 Object.values(Object.groupBy(t.data,h=>h.$group)).map(h=>h.map(({x:d,xend:u,y:f,yend:m,size:y=4,label:b,title:A,color:T,stroke:C,linewidth:M,linetype:E,alpha:S,"translate-x":j=0,"translate-y":g=0,"font-family":p="sans-serif","text-align":w="justify",angle:k="auto",inset:v=0,class:V,style:D,$raw:W})=>{if(b==null)return null;const{h:Y,v:H}=t.coord2pos({x:d,y:f}),{h:q,v:_}=t.coord2pos({x:u,y:m});if(Y<l&&q<l||Y>c&&q>c||H<a&&_<a||H>s&&_>s)return null;let F={color:T||null,fill:T||null,"fill-opacity":S==1?null:S,"font-size":y*4,stroke:C||null,"stroke-width":M,"stroke-dasharray":Ht(E).join(" ")||null,"stroke-opacity":S==1?null:S,"font-family":p,class:V,style:D},tt=Object.fromEntries(n.map(Q=>[Q,U=>i(Q,Object.assign(U,{_vhandled:!0}),t.getCoord(U),W)]));if(["stretch","pre","start","center","end","post"].includes(w)){let Q=Math.atan2(_-H,q-Y),U,Z,ot=String(b).replace(/\x01|\x02/g,""),at=Math.cos(Q)*v,Ct=Math.sin(Q)*v;switch(w){case"stretch":U=(Y+q)/2,Z=(H+_)/2,F["text-anchor"]="middle",F.textLength=Math.hypot(q-Y||0,_-H||0),F.lengthAdjust="spacingAndGlyphs";break;case"center":U=(Y+q)/2,Z=(H+_)/2,F["text-anchor"]="middle";break;case"pre":U=Y,Z=H,j-=at,g-=Ct,F["text-anchor"]="end";break;case"start":U=Y,Z=H,j+=at,g+=Ct,F["text-anchor"]="start";break;case"end":U=q,Z=_,j-=at,g-=Ct,F["text-anchor"]="end";break;case"post":U=q,Z=_,j+=at,g+=Ct,F["text-anchor"]="start";break}let Qt=[];return(j||g)&&Qt.push(`translate(${j}, ${g})`),Q&&Qt.push(`rotate(${Q*180/Math.PI})`),Object.assign(F,{x:U,y:Z,"dominant-baseline":"central","transform-origin":`${U} ${Z}`,transform:Qt.join(" ")||null}),[F,tt,ot,String(A??String(b).replace(/\x01|\x02/g,""))]}else{k==="auto"&&(k=Math.atan2(_-H,q-Y)*180/Math.PI);let Q=o(String(b)),U=(q-Y)/(Q.length-1||1),Z=(_-H)/(Q.length-1||1),ot=Q.map((at,Ct)=>[{x:Y+Ct*U,y:H+Ct*Z,"text-anchor":"middle","dominant-baseline":"central",rotate:k},at]);return(j||g)&&(F.transform=`translate(${j}, ${g})`),[F,tt,ot,String(A??String(b).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)=>(L(),I("g",null,[(L(!0),I(st,null,ut(r.value,a=>(L(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(L(!0),I(st,null,ut(a,([s,h,d,u])=>(L(),I("text",J({ref_for:!0},s,Tt(h,!0)),[$t("title",null,zt(u),1),c[0]||(c[0]=dt()),typeof d=="string"?(L(),I(st,{key:0},[dt(zt(d.replace(/ /g,"\xA0")),1)],64)):(L(!0),I(st,{key:1},ut(d,([f,m])=>(L(),I(st,null,[m?(L(),I("tspan",J({key:0,ref_for:!0},f),zt(m),17)):Lt("",!0)],64))),256))],16))),256))],16))),256))]))}},FU=Object.freeze(Object.defineProperty({__proto__:null,blank:TU,boxplot:PU,curve:Lo,ellipse:BU,line:jo,markdown:IU,markdownsegment:RU,point:HU,polygon:YU,rect:Po,shape:Lo,stick:jo,text:_U,textsegment:zU,tile:Po},Symbol.toStringTag,{value:"Module"})),UU={__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:FU,canvas:NU},i=X(()=>{let c=t.render??t.defaultRender;return c=="auto"?t.data.map(s=>s.length).reduce((s,h)=>s+h,0)>1e3?"canvas":"svg":n[c][t.geom]!=null?c:"svg"}),r=qt("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)=>(L(),xt(Xe(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:D1(o.value),data:t.data,dpi:l.value},null,8,["style","data","dpi"]))}},GU={key:0},WU=["onPointerdown"],Do={__name:"CoreSelection",props:d1({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:d1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=Ae(t,"modelValue"),i=Ho(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function r({xmin:u,xmax:f,ymin:m,ymax:y,xreverse:b=!1,yreverse:A=!1}={}){if([u,f,m,y].every(C=>C==null))return null;u!=null&&f!=null&&u>f&&([u,f,b]=[f,u,!b]),m!=null&&y!=null&&m>y&&([m,y,A]=[y,m,!A]);let T={xreverse:b,yreverse:A};return u!=null&&isFinite(u)&&(T.xmin=u),f!=null&&isFinite(f)&&(T.xmax=f),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 u=r(n.value);if(u==null)return null;let{hmin:f,hmax:m,vmin:y,vmax:b}=t.coord2pos(u,{limited:!0}),A=t.coord2pos(u);return{hmin:f,hmax:m,vmin:y,vmax:b,pos:A}}),l=X(()=>{if(!o.value)return null;let{translateH:u,translateV:f,scaleH:m,scaleV:y}=t.activeTransform,{hmin:b,hmax:A,vmin:T,vmax:C,pos:M}=o.value,E=A-b,S=C-T,j=t.layout.left,g=t.layout.top,p=1,w=1;if(M.hmin!=null&&M.hmax!=null)j+=u,p=m;else if(M.hmin!=null){let v=u+b*(m-1);p=1-v/E,j+=v*(1+b/E)}else if(M.hmax!=null){let v=u+A*(m-1);p=1+v/E,j+=v*(1-A/E)}if(M.vmin!=null&&M.vmax!=null)g+=t.activeTransform.translateV,w=t.activeTransform.scaleV;else if(M.vmin!=null){let v=f+T*(y-1);w=1-v/S,g+=v*(1+T/S)}else if(M.vmax!=null){let v=f+C*(y-1);w=1+v/S,g+=v*(1-C/S)}let k=[];return(j!=0||g!=0)&&k.push(`translate(${j}, ${g})`),(p!=1||w!=1)&&k.push(`scale(${p}, ${w})`),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:u,hmax:f,vmin:m,vmax:y,pos:b}=o.value,A=t.theme?.line_width??1;b.hmin==null&&(u-=A/2),b.hmax==null&&(f+=A/2),b.vmin==null&&(m-=A/2),b.vmax==null&&(y+=A/2);let T=Math.max(0,f-u),C=Math.max(0,y-m);return{x:u,y:m,width:T,height:C,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 u=10,{hmin:f,hmax:m,vmin:y,vmax:b,pos:A}=o.value,T=Math.max(0,m-f),C=Math.max(0,b-y),M={};i.move&&(M.tblr={x:f,y,width:T,height:C,fill:"transparent",style:"cursor:move;"}),i.resize&&(A.hmin!=null&&(M.l={x:f-u/2,y,width:u,height:C,style:"cursor:ew-resize;",class:"vvplot-interactive"}),A.hmax!=null&&(M.r={x:m-u/2,y,width:u,height:C,style:"cursor:ew-resize;"}),A.vmin!=null&&(M.t={x:f,y:y-u/2,width:T,height:u,style:"cursor:ns-resize;"}),A.vmax!=null&&(M.b={x:f,y:b-u/2,width:T,height:u,style:"cursor:ns-resize;"}),A.hmin!=null&&A.vmin!=null&&(M.tl={x:f-u/2,y:y-u/2,width:u,height:u,style:"cursor:nwse-resize;"}),A.hmax!=null&&A.vmin!=null&&(M.tr={x:m-u/2,y:y-u/2,width:u,height:u,style:"cursor:nesw-resize;"}),A.hmin!=null&&A.vmax!=null&&(M.bl={x:f-u/2,y:b-u/2,width:u,height:u,style:"cursor:nesw-resize;"}),A.hmax!=null&&A.vmax!=null&&(M.br={x:m-u/2,y:b-u/2,width:u,height:u,style:"cursor:nwse-resize;"}));let E=t.layout.left,S=t.layout.top;if(E||S)for(let j in M)M[j].transform=`translate(${E}, ${S})`;return M}),h=e;function d(u,f){if(!f||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(Z=>i[Z]==u[Z]))return;u.stopPropagation(),u.preventDefault(),u.target.setPointerCapture(u.pointerId);let{xreverse:m,yreverse:y,...b}=r(n.value),A=t.coord2pos(b),{h:T,v:C}=t.pos2coord({h:A.hmin,v:A.vmin}),{h:M,v:E}=t.pos2coord({h:A.hmax,v:A.vmax}),{hmin:S,hmax:j,vmin:g,vmax:p}=A,w=!1,k={min:i.xmin,max:i.xmax},v={min:i.ymin,max:i.ymax},[V=0,D=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],W=t.coord2pos(i),Y=0,H=0,q,_,F,tt,Q=!1,U=!1;u.target.onpointermove=Z=>{if(w=!0,Y+=Z.movementX,H+=Z.movementY,f.includes("l")&&f.includes("r")){let ot=yt(Y,{min:W.hmin-S,max:W.hmax-j}),at=t.pos2coord({hmin:ft(S,ot),hmax:ft(j,ot)});T=at.hmin,M=at.hmax}else f.includes("l")?(T=t.pos2coord({h:S+Y}).h,T=yt(T,T>M?{min:ft(M,V)}:{max:ft(M,-V)}),Q=S+Y>j):f.includes("r")&&(M=t.pos2coord({h:j+Y}).h,M=yt(M,M>T?{min:ft(T,V)}:{max:ft(T,-V)}),Q=j+Y<S);if(f.includes("t")&&f.includes("b")){let ot=yt(H,{min:W.vmin-g,max:W.vmax-p}),at=t.pos2coord({vmin:ft(g,ot),vmax:ft(p,ot)});C=at.vmin,E=at.vmax}else f.includes("t")?(C=t.pos2coord({v:g+H}).v,C=yt(C,C>E?{min:ft(E,D)}:{max:ft(E,-D)}),U=g+H>p):f.includes("b")&&(E=t.pos2coord({v:p+H}).v,E=yt(E,E>C?{min:ft(C,D)}:{max:ft(C,-D)}),U=p+H<g);q=yt(t.flip?C:T,k),_=yt(t.flip?E:M,k),F=yt(t.flip?T:C,v),tt=yt(t.flip?M:E,v),q>_&&([q,_]=[_,q]),F>tt&&([F,tt]=[tt,F]),h("selecting",{xmin:q,xmax:_,ymin:F,ymax:tt},t.theme)},u.target.onpointerup=Z=>{if(Z.currentTarget.onpointerup=null,Z.currentTarget.onpointermove=null,i.buttons&1&&(Z.currentTarget.onclick=Ct=>{Ct.currentTarget.onclick=null,h("click",Ct)}),i.buttons&2&&(Z.currentTarget.oncontextmenu=Ct=>{Ct.currentTarget.onclick=null,h("contextmenu",Ct)}),!w)return;let ot={xmin:q,xmax:_,xreverse:!!(Q^m),ymin:F,ymax:tt,yreverse:!!(U^y)},at=new PointerEvent("select",u);n.value=_t(ot),h("selectend"),h("select",_t(ot),at)}}return(u,f)=>a.value?(L(),I("g",GU,[$t("rect",se(v1(a.value)),null,16),f[0]||(f[0]=dt()),(L(!0),I(st,null,ut(s.value,(m,y)=>(L(),I("rect",J({fill:"transparent"},{ref_for:!0},m,{onPointerdown:b=>d(b,y),class:"vvplot-interactive"}),null,16,WU))),256))])):Lt("",!0)}},KU=["height","width"],ZU=["y1","y2"],QU=["y"],JU={__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,u)=>l+u*a),h=t.scales.map(d=>d(s));return s.map((d,u)=>Object.fromEntries(t.scales.map((f,m)=>[{color:"fill"}[f.aesthetics]??f.aesthetics,h[m][u]])))}),i=an(0),r=qt("svg");return St(e,async()=>{await Ln();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(L(),I("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(L(!0),I(st,null,ut(n.value,(c,a)=>(L(),xt(Hn,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()),(L(!0),I(st,null,ut(e.value,(c,a)=>(L(),I("g",null,[$t("line",{x1:"15",x2:"18",y1:10+(1-c.position)*90,y2:10+(1-c.position)*90,stroke:"black"},null,8,ZU),l[0]||(l[0]=dt()),$t("text",{x:"20",y:10+(1-c.position)*90,"alignment-baseline":"central"},zt(c.label),9,QU)]))),256))],8,KU))}},qo=Object.freeze(Object.defineProperty({__proto__:null,curve:Nl,line:a1,point:zi,polygon:Tl,text:B1,tile:Hn},Symbol.toStringTag,{value:"Module"})),tG=["height","width"],eG=["transform"],nG={transform:"translate(10, 10)"},iG={x:"20",y:"10","alignment-baseline":"central"},rG={__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,h)=>({bind:Object.fromEntries(t.scales.map((d,u)=>[d.aesthetics,o[u][h]])),label:String(s)})),c=Ta(l.map(s=>s.bind)),a=Map.groupBy(l.map(s=>s.label),(s,h)=>c.categories[c[h]]);return Array.from(a).map(([s,h])=>{let d={tile:{},line:{},point:{},text:{}};for(let u in d)for(let f of Object.keys(qo[u].props))s[f]&&(d[u][f]=s[f]);return{bind:d,label:h.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:"none",...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=an(0),r=qt("svg");return St(e,async()=>{await Ln();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(L(),I("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(L(!0),I(st,null,ut(e.value,(c,a)=>(L(),I("g",{transform:`translate(0, ${a*20})`},[$t("g",nG,[(L(!0),I(st,null,ut(n.value,(s,h)=>(L(),xt(Xe(qo[h]),J({ref_for:!0},{...s,...c.bind[h]}),null,16))),256))]),l[0]||(l[0]=dt()),$t("text",iG,zt(c.label),1)],8,eG))),256))],8,tG))}},oG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:rG,gradientbar:JU},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),Bn.number({minor:!0})(l.limits)))}),r=X(()=>{let o={scales:t.scales.map(([l])=>l)};if(t.type=="legendkey")o.appearances={tile:Gt(...t.scales.flatMap(([l,c])=>[c.rect,c.tile,c.polygon,c.ellipse])),line:Gt(...t.scales.flatMap(([l,c])=>[c.line,c.linerange,c.curve])),point:Gt(...t.scales.flatMap(([l,c])=>[c.point])),text:Gt(...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=Gt(...t.scales.flatMap(([a,s])=>Object.values(s)))}return o});return(o,l)=>(L(),I(st,null,[$t("span",null,zt(n.value),1),l[0]||(l[0]=dt()),(L(),xt(Xe(e[t.type]),J(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),sG={__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((h,d)=>o[d]!=null&&_e.isEqual(r[d].level,r[s].level))??"_guide_"+l}let c=r.map(s=>n(s)),a=Ea(o,c);return Map.groupBy(i,(s,h)=>a.categories[a[h]])});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?(L(),I("div",{key:0,class:"vvplot-legend",style:D1({gap:t.theme.spacing+"px"})},[(L(!0),I(st,null,ut(e.value,([[o,l],c])=>(L(),xt(oG,{key:o,type:l,scales:c},null,8,["type","scales"]))),128))],4)):Lt("",!0)}},lG=["id"],aG=["width","height"],cG=["transform","width","height","fill"],uG=["transform"],hG=["transform","clip-path"],fG=["transform"],dG=["clip-path"],mG={key:1},gG=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:d1({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:d1(["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=Il(),r=Ho(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,l=$1("range"),c=$1("rangePreview"),a=Ae(t,"selectionPreview"),s=Ae(t,"selectionPreviewTheme");function h(O,P){a.value=O,s.value=P}const d=X(()=>Object.assign({},t.theme?.selection,s.value));function u(){a.value={}}const f=Ae(t,"transition"),m=qt("svg"),y=qt("layers"),b=an(0),A=an(0);zo(m,O=>{let{width:P,height:B}=O[0].contentRect;b.value=P,A.value=B});const T=X(()=>new F9(t.schema,r.layers)),C=X(()=>T.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(l,t.expandAdd,r.minRange)),M=Oe(()=>{let O=Object.fromEntries(["left","right","top","bottom"].map($=>[$,t.paddings[$]&&t.theme.plot.padding[$]||0])),P=+t.theme.plot.margin.left+O.left,B=+t.theme.plot.margin.right+O.right,z=+t.theme.plot.margin.top+O.top,x=+t.theme.plot.margin.bottom+O.bottom;return z+x>A.value&&(z=A.value*(z/(z+x)),x=A.value-z),P+B>b.value&&(P=b.value*(P/(P+B)),B=b.value-P),{l:P,r:B,t:z,b:x,left:P,right:b.value-B,top:z,bottom:A.value-x,width:b.value-P-B,height:A.value-z-x}}),E=Oe(()=>{let O=C.value.coordScales,P=t.expandMult,{min:B,max:z}=k(O.x.range,P.x),{min:x,max:$}=k(O.y.range,P.y),[N,R,G,et]=t.flip?[x,$,B,z]:[B,z,x,$],{width:lt,height:it}=M;return{left:lt*N||0,right:lt*(1-R)||0,top:it*et||0,bottom:it*(1-G)||0,l:lt*N||0,r:lt*R||0,t:it*et||0,b:it*G||0,width:lt*(1-N-R),height:it*(1-et-G),fullWidth:lt,fullHeight:it}});e({vplot:C,panel:M,svg:m});const S=X(()=>{let O=U.value.translateH+E.left,P=U.value.translateV+E.top,B=U.value.scaleH,z=U.value.scaleV,x=[];return(O!=0||P!=0)&&x.push(`translate(${O}, ${P})`),(B!=1||z!=1)&&x.push(`scale(${B}, ${z})`),{transform:x.join(" ")||null}});function j({value:O,min:P,max:B},z,x,$){let N={};return O!=null&&(N.value=z.invert(x?1-O/$:O/$)),x?(B!=null&&(N.min=z.invert(1-B/$)),P!=null&&(N.max=z.invert(1-P/$))):(P!=null&&(N.min=z.invert(P/$)),B!=null&&(N.max=z.invert(B/$))),N}function g({h:O,hmin:P,hmax:B,v:z,vmin:x,vmax:$}={}){let N=C.value.coordScales,{width:R,height:G}=E,et={},[lt,it,wt]=t.flip?[z,x,$]:[O,P,B],[bt,ht,ct]=t.flip?[O,P,B]:[z,x,$];if(lt!=null||it!=null||wt!=null){let{value:nt,min:rt,max:K}=j({value:lt,min:it,max:wt},N.x,t.flip!=t.reverse.x,t.flip?G:R);Object.assign(et,_t({x:nt,xmin:rt,xmax:K})),t.flip?Object.assign(et,_t({v:nt,vmin:rt,vmax:K})):Object.assign(et,_t({h:nt,hmin:rt,hmax:K}))}if(bt!=null||ht!=null||ct!=null){let{value:nt,min:rt,max:K}=j({value:bt,min:ht,max:ct},N.y,t.flip==t.reverse.y,t.flip?R:G);Object.assign(et,_t({y:nt,ymin:rt,ymax:K})),t.flip?Object.assign(et,_t({h:nt,hmin:rt,hmax:K})):Object.assign(et,_t({v:nt,vmin:rt,vmax:K}))}return et}function p({value:O,min:P,max:B}={},{oob:z=ai}={},x,$,N,R){let G={};return O!=null&&(G.value=N?z(N*($?1-x(O):x(O)),R):0),P==null&&B==null||($?(B!=null&&(G.min=N?z(N*(1-x(B)),R):0),P!=null&&(G.max=N?z(N*(1-x(P)),R):0)):(P!=null&&(G.min=N?z(N*x(P),R):0),B!=null&&(G.max=N?z(N*x(B),R):0))),G}function w({h:O,hmin:P,hmax:B,v:z,vmin:x,vmax:$,x:N,xmin:R,xmax:G,y:et,ymin:lt,ymax:it}={},{limited:wt=!1,oob:bt=ai}={}){let{width:ht,height:ct,l:nt,r:rt,t:K,b:pt}=E,mt={},Rt=C.value.coordScales,Xt={min:-nt,max:ht+rt},Ne={min:-K,max:ct+pt};if((N!=null||R!=null||G!=null)&&(t.flip?[z,x,$]=[N,R,G]:[O,P,B]=[N,R,G]),(et!=null||lt!=null||it!=null)&&(t.flip?[O,P,B]=[et,lt,it]:[z,x,$]=[et,lt,it]),O!=null||P!=null||B!=null){let{value:xe,min:de,max:me}=p({value:O,min:P,max:B},{oob:bt},Rt[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ht,Xt);Object.assign(mt,_t({h:xe,hmin:de,hmax:me}))}if(z!=null||x!=null||$!=null){let{value:xe,min:de,max:me}=p({value:z,min:x,max:$},{oob:bt},Rt[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ct,Ne);Object.assign(mt,_t({v:xe,vmin:de,vmax:me}))}return wt&&(mt.hmin==null&&(mt.hmin=Xt.min),mt.hmax==null&&(mt.hmax=Xt.max),mt.vmin==null&&(mt.vmin=Ne.min),mt.vmax==null&&(mt.vmax=Ne.max)),mt}function k({min:O,max:P}={},{min:B=0,max:z=0}={}){let x=P-O,$=+O-B*x,N=+P+z*x,R=N-$;return{min:R==0?0:(O-$)/R,max:R==0?0:(N-P)/R}}function v(O){let P=m.value.getBoundingClientRect(),B=P.width/m.value.clientWidth,z=P.height/m.value.clientHeight,x=O.clientX-P.left,$=O.clientY-P.top,N=x/B-(M.left+E.left),R=$/z-(M.top+E.top),G=M.left+E.right-x/B,et=M.top+E.bottom-$/z,{x:lt,y:it}=g({h:N,v:R});return{l:N,t:R,r:G,b:et,x:lt,y:it}}function V(O){let P=m.value.getBoundingClientRect(),B=P.width/m.value.clientWidth,z=P.height/m.value.clientHeight;return O.clientX-P.left>M.l*B&&P.right-O.clientX>M.r*B&&O.clientY-P.top>M.t*z&&P.bottom-O.clientY>M.b*z}function D(O){if(!y.value||O._vhandled||!V(O)||!Array.from(y.value).filter(x=>x.render=="canvas").length)return O;let B={};for(let x in O)B[x]=O[x];B.bubbles=!1;let z=new PointerEvent(O.type,B);for(let x of Object.keys(O)){let $=Object.getOwnPropertyDescriptor(z,x);$&&!$.writable&&!$.set||(z[x]=O[x])}for(let x=y.value.length-1;x>=0;x--)y.value[x].dispatchEvent(z)===!1&&O.preventDefault();for(let x of Object.keys(z)){let $=Object.getOwnPropertyDescriptor(z,x);$&&!$.writable&&!$.set||(O[x]=z[x])}return z._vhandled?z:O}let W,Y=0,H=0;function q(O){let P=D(O),B=v(O);if(o("pointerdown",P,B),P.defaultPrevented&&O.preventDefault(),r.clip&&!V(O))return;let z=O.currentTarget,x=!1;function $(G){(Math.abs(G.screenX-O.screenX)>3||Math.abs(G.screenY-O.screenY)>3)&&(x=!0,G.currentTarget.removeEventListener("pointermove",$))}O.target.addEventListener("pointermove",$,{passive:!0}),O.target.addEventListener("pointerup",function(G){if(O.target.removeEventListener("pointermove",$),!x){let et=new PointerEvent("singleclick",G);G.target.dispatchEvent(et)}},{once:!0});let N=r.selections.findLast(G=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(et=>G[et]==O[et]));if(N){let{x:G=!1,y:et=!1,"min-range-x":lt=0,"min-range-y":it=0}=N;O.target.setPointerCapture(O.pointerId),z.style.userSelect="none";let wt=(({xmin:ht,xmax:ct})=>({min:ht,max:ct}))(N),bt=(({ymin:ht,ymax:ct})=>({min:ht,max:ct}))(N);O.target.onpointermove=ht=>{if(!G&&!et||!x)return;let ct=v(ht),nt={};if(G){let rt=yt(B.x,wt),K=yt(yt(ct.x,ct.x>rt?{min:ft(rt,lt)}:{max:ft(rt,-lt)}),wt);nt.xmin=rt>K?K:rt,nt.xmax=rt>K?rt:K,nt.xreverse=rt>K}if(et){let rt=yt(B.y,bt),K=yt(yt(ct.y,ct.y>rt?{min:ft(rt,it)}:{max:ft(rt,-it)}),bt);nt.ymin=rt>K?K:rt,nt.ymax=rt>K?rt:K}a.value=nt,s.value=N.theme},O.target.onpointerup=ht=>{if(ht.currentTarget.onpointerup=null,ht.currentTarget.onpointermove=null,z.style.userSelect=null,a.value={},x&&(G||et)){N.buttons&1&&(ht.currentTarget.onclick=K=>{K.currentTarget.onclick=null,Be(N.onClick,K)}),N.buttons&2&&(ht.currentTarget.oncontextmenu=K=>{K.currentTarget.oncontextmenu=null,Be(N.onContextmenu,K)});let ct=v(ht),nt={},rt=new PointerEvent("select",O);if(G){let K=yt(B.x,wt),pt=yt(yt(ct.x,ct.x>K?{min:ft(K,lt)}:{max:ft(K,-lt)}),wt);if(K==pt)return;nt.xmin=K>pt?pt:K,nt.xmax=K>pt?K:pt,nt.xreverse=K>pt}if(et){let K=yt(B.y,bt),pt=yt(yt(ct.y,ct.y>K?{min:ft(K,it)}:{max:ft(K,-it)}),bt);if(K==pt)return;nt.ymin=K>pt?pt:K,nt.ymax=K>pt?K:pt,nt.yreverse=K>pt}N["onUpdate:modelValue"]?.(nt),Be(N.onSelect,_t(nt),rt)||o("select",_t(nt),rt)}if(!x&&N.dismissible!==!1){if(ht.defaultPrevented)return;let ct=N.modelValue;if(N.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(K=>ct?.[K]==null))return;let nt={},rt=new PointerEvent("select",O);N["onUpdate:modelValue"]?.(nt),Be(N.onDismiss,_t(nt),rt)||o("select",_t(nt),rt)}};return}let R=r.action.find(G=>G.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(et=>G[et]==O[et]));if(R){let G=m.value.getBoundingClientRect(),et=G.width/m.value.clientWidth,lt=G.height/m.value.clientHeight;O.target.setPointerCapture(O.pointerId),z.style.userSelect="none",W=clearTimeout(W);let it=0,wt=E.width,bt=0,ht=E.height,ct,nt,rt,K,pt=w(R);O.target.onpointermove=mt=>{let{x:Rt=!1,y:Xt=!1}=R,[Ne,xe]=t.flip?[Xt,Rt]:[Rt,Xt];if(Ne){Y+=mt.movementX;let je=yt(-Y/et,{min:pt.hmin-it,max:pt.hmax-wt});ct=it+je,nt=wt+je}if(xe){H+=mt.movementY;let je=yt(-H/lt,{min:pt.vmin-bt,max:pt.vmax-ht});rt=bt+je,K=ht+je}let{xmin:de,xmax:me,ymin:xr,ymax:Je}=g({hmin:ct,hmax:nt,vmin:rt,vmax:K});Object.assign(c,{xmin:de,xmax:me,ymin:xr,ymax:Je})},O.target.onpointerup=mt=>{mt.currentTarget.onpointerup=null,mt.currentTarget.onpointermove=null,z.style.userSelect=null,W=setTimeout(()=>{Z(R,mt),Y=H=0},300)};return}}let _=0,F;function tt(O){let P=D(O),B=v(O);if(o("wheel",P,B),P.defaultPrevented&&O.preventDefault(),r.clip&&!V(O))return;let z=r.action.find(x=>["zoom","nudge"].includes(x.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every($=>x[$]==O[$]));!z||!z.x&&!z.y||(F=clearTimeout(F),O.preventDefault(),f.value="transform 0.1s ease-out",_+=O.deltaY,Q(z,B,_),F=setTimeout(()=>{Z(z,O),_=0},300))}function Q(O,P,B){if(O.action=="zoom"){let{x:z=!1,y:x=!1,"min-range-x":$=0,"min-range-y":N=0,sensitivity:R=1.25}=O,G=R**(_/100),[et,lt]=t.flip?[x,z]:[z,x],it=w(O),wt,bt,ht,ct;et&&(wt=Math.max(P.l-Math.max(P.l,0)*G,it.hmin??-1/0),bt=Math.min(P.l+Math.max(P.r,0)*G,it.hmax??1/0)),lt&&(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:K,ymax:pt}=g({hmin:wt,hmax:bt,vmin:ht,vmax:ct});if(z&&G<1&&rt-nt<$){let mt=(rt+nt)/2;nt=mt-$/2,rt=mt+$/2}if(x&&G<1&&pt-K<N){let mt=(pt+K)/2;K=mt-N/2,pt=mt+N/2}Object.assign(c,{xmin:nt,xmax:rt,ymin:K,ymax:pt})}if(O.action=="nudge"){let{x:z=!1,y:x=!1,sensitivity:$=.1}=O,[N,R]=t.flip?[x,z]:[z,x],G=w(O),et=0,lt=E.width,it=0,wt=E.height,bt,ht,ct,nt;if(N){let Rt=$*E.width*(-B/120),Xt=yt(-Rt,{min:G.hmin-et,max:G.hmax-lt});bt=et+Xt,ht=lt+Xt}if(R){let Rt=$*E.height*(-B/120),Xt=yt(-Rt,{min:G.vmin-it,max:G.vmax-wt});ct=it+Xt,nt=wt+Xt}let{xmin:rt,xmax:K,ymin:pt,ymax:mt}=g({hmin:bt,hmax:ht,vmin:ct,vmax:nt});Object.assign(c,{xmin:rt,xmax:K,ymin:pt,ymax:mt})}}const U=X(()=>{let O=0,P=E.width,B=0,z=E.height,{hmin:x=O,hmax:$=P,vmin:N=B,vmax:R=z}=w(c??{}),G=P-O,et=$-x,lt=z-B,it=R-N;return{scaleH:G<1||et<1||Math.abs(G-et)<1?1:G/et,translateH:(O*$-x*P)/($-x)||0,scaleV:lt<1||it<1||Math.abs(lt-it)<1?1:lt/it,translateV:(B*R-N*z)/(R-N)||0}});St(U,({translateH:O,translateV:P,scaleH:B,scaleV:z})=>{!O&&!P&&B==1&&z==1&&(f.value=null)},{deep:!0});function Z(O,P){let B=_t(c)??{};if(!Object.keys(B).length)return;let z=new PointerEvent(P.type,P);Be(O.emit,B,z)||o(O.action,B,z),at(B),Object.assign(c,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const ot={pointerdown:q,pointerup(O){let P=D(O),B=v(O);o("pointerup",P,B),P.defaultPrevented&&O.preventDefault()},pointerover(O){o("pointerover",O,v(O))},pointerout(O){o("pointerout",O,v(O))},pointerenter(O){o("pointerenter",O,v(O))},pointerleave(O){o("pointerleave",O,v(O))},click(O){o("click",D(O),v(O))},contextmenu(O){let P=D(O),B=v(O);o("contextmenu",P,B),P.defaultPrevented&&O.preventDefault()},singleclick(O){o("singleclick",D(O),v(O))},dblclick(O){let P=D(O),B=v(O);o("dblclick",P,B),P.defaultPrevented&&O.preventDefault()},pointermove(O){let P=D(O),B=v(O);o("pointermove",P,B),P.defaultPrevented&&O.preventDefault()},wheel:tt};function at(O){let{xmin:P,xmax:B,ymin:z,ymax:x}=O,{xmin:$,xmax:N,ymin:R,ymax:G}=l;P=P!=null?ft(P,+t.expandAdd.x.min):$,B=B!=null?ft(B,-t.expandAdd.x.max):N,z=z!=null?ft(z,+t.expandAdd.y.min):R,x=x!=null?ft(x,-t.expandAdd.y.max):G,!(P==$&&B==N&&z==R&&x==G)&&Object.assign(l,{xmin:P,xmax:B,ymin:z,ymax:x})}const Ct=Oe(()=>{let O=c?.xmin??l?.xmin,P=c?.xmax??l?.xmax,B=c?.ymin??l?.ymin,z=c?.ymax??l?.ymax;return{x:O||P?{min:O,max:P}:void 0,y:B||z?{min:B,max:z}:void 0}}),Qt=X(()=>{let O={x:C.value.coordScales.x,y:C.value.coordScales.y};return r.axes.filter(P=>P.coord in O).filter(P=>["h","v"].includes(P.orientation)).map(({coord:P,breaks:B,labels:z,titles:x,minorBreaks:$,...N})=>({coord:P,axis:new U9(O[P],{breaks:B,labels:z,titles:x,minorBreaks:$}),etc:N}))});function ve(O){let{grid_color:P,grid_color_major:B=P,grid_color_minor:z=P,grid_width:x,grid_width_major:$=x,grid_width_minor:N=x,...R}=O;return B&&(R.grid_color_major=B),z&&(R.grid_color_minor=z),$&&(R.grid_width_major=$),N&&(R.grid_width_minor=N),R}const ie=X(()=>Qt.value.map(({coord:O,axis:P,etc:B})=>{let{showGrid:z,breakSlot:x,orientation:$,...N}=B,R=ve(t.theme.axis[$]??{}),G=ve(N.theme),et=P.getBreaks({range:Ct[O],expandMult:t.expandMult[O],breakSlot:x});for(let lt of et)lt.theme=Object.assign({},R,G,ve(lt.theme??{}));return{breaks:et,showGrid:z,coord:O,orientation:$,bind:N}})),te=X(()=>{let O=ie.value.filter(B=>B.showGrid&&B.orientation=="v"),P=ie.value.filter(B=>B.showGrid&&B.orientation=="h");return{h:li(O.flatMap(B=>B.breaks),B=>B.value,(B,z)=>[B,z].find(x=>x.type=="major")??B),v:li(P.flatMap(B=>B.breaks),B=>B.value,(B,z)=>[B,z].find(x=>x.type=="major")??B)}}),fe=X(()=>ie.value.map(({orientation:O,coord:P,bind:B,breaks:z})=>{let{onMove:x=(...et)=>o("move",...et),onZoom:$=(...et)=>o("zoom",...et),onRescale:N=(...et)=>o("rescale",...et),onNudge:R=(...et)=>o("nudge",...et),...G}=B;return{orientation:O,bind:{coord:P,orientation:O,ticks:z.filter(et=>et.type=="major"),layout:E,coord2pos:w,pos2coord:g,...G},on:{zoom:$,move:x,rescale:N,nudge:R,rangechange:at}}}));return(O,P)=>(L(),I("svg",J({ref:"svg",width:"100%",height:"100%"},Tt(ot,!0),O.$attrs),[$t("defs",null,[$t("clipPath",{id:`${Mt(i)}-plot-clip`},[$t("rect",{x:"0",y:"0",width:Mt(M).width,height:Mt(M).height},null,8,aG)],8,lG)]),P[6]||(P[6]=dt()),t.theme.plot.background?(L(),I("rect",{key:0,transform:`translate(${Mt(M).left}, ${Mt(M).top})`,width:Mt(M).width,height:Mt(M).height,fill:t.theme.plot.background},null,8,cG)):Lt("",!0),P[7]||(P[7]=dt()),$t("g",{transform:`translate(${Mt(M).left}, ${Mt(M).top})`,style:{"pointer-events":"none"}},[re(bU,{breaks:te.value.h,layout:Mt(E),activeTransform:U.value,coord2pos:w,transition:f.value},null,8,["breaks","layout","activeTransform","transition"]),P[2]||(P[2]=dt()),re(wU,{breaks:te.value.v,layout:Mt(E),activeTransform:U.value,coord2pos:w,transition:f.value},null,8,["breaks","layout","activeTransform","transition"])],8,uG),P[8]||(P[8]=dt()),$t("g",{transform:`translate(${Mt(M).left}, ${Mt(M).top})`,"clip-path":r.clip?`url(#${Mt(i)}-plot-clip)`:null},[$t("g",J(S.value,{style:{transition:f.value}}),[(L(!0),I(st,null,ut(C.value.layers,B=>(L(),xt(UU,J({ref_for:!0,ref_key:"layers",ref:y,data:B.data},{ref_for:!0},B.vBind,{layout:Mt(E),geom:B.geom,coord2pos:w,getCoord:v,"default-render":r.render,"default-dpi":r.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),P[3]||(P[3]=dt()),(L(!0),I(st,null,ut(r.selections,B=>(L(),xt(Do,J({coord2pos:w,pos2coord:g,layout:Mt(E),onSelecting:h,onSelectend:u,transition:f.value,activeTransform:U.value},{ref_for:!0},B,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),P[4]||(P[4]=dt()),re(Do,{coord2pos:w,pos2coord:g,layout:Mt(E),modelValue:a.value,transition:f.value,activeTransform:U.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,hG),P[9]||(P[9]=dt()),$t("g",{transform:`translate(${Mt(M).left}, ${Mt(M).top})`},[(L(!0),I(st,null,ut(fe.value.filter(B=>typeof B.bind.position!="number"),B=>(L(),xt(No,J({ref_for:!0},B.bind,Tt(B.on),{transition:f.value,"onUpdate:transition":P[0]||(P[0]=z=>f.value=z),activeTransform:U.value}),null,16,["transition","activeTransform"]))),256)),P[5]||(P[5]=dt()),$t("g",{"clip-path":r.clip?`url(#${Mt(i)}-plot-clip)`:null},[(L(!0),I(st,null,ut(fe.value.filter(B=>typeof B.bind.position=="number"),B=>(L(),xt(No,J({ref_for:!0},B.bind,Tt(B.on),{transition:f.value,"onUpdate:transition":P[1]||(P[1]=z=>f.value=z),activeTransform:U.value}),null,16,["transition","activeTransform"]))),256))],8,dG)],8,fG),P[10]||(P[10]=dt()),Ro(O.$slots,"default"),P[11]||(P[11]=dt()),r.legendTeleport?(L(),I("foreignObject",mG,[(L(),xt(Rl,{defer:"",to:r.legendTeleport},[re(sG,{scales:C.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Lt("",!0)],16))}}),On={$_type:"action",$_props:{}},Fi={$_type:"layer"},Ui={$_props:{geom:"tile",stat:"bar"},$_type:"layer",$_argnames:["width","height","position"]},Gi={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},Wi={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer",$_argnames:["width","height","position"]},Ki={$_props:{geom:"curve",stat:"curve",fill:"none",color:"black"},$_type:"layer",$_attrnames:["interpolate"]},Zi={$_props:{geom:"curve",stat:"density",fill:"none",color:"black"},$_type:"layer",$_argnames:["n","kernel","scale"]},Qi={$_props:{geom:"ellipse",stat:"ellipse",fill:"none",color:"black"},$_type:"layer",$_argnames:["CI"]},Ji={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},tr={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},er={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},nr={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},ir={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},rr={$_props:{geom:"line",stat:"path"},$_type:"layer"},or={$_props:{geom:"point",stat:"point"},$_type:"layer"},sr={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},lr={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},ar={$_props:{geom:"line",stat:"segment"},$_type:"layer"},cr={$_props:{geom:"shape",stat:"shape",interpolate:"catmullRomClosed"},$_type:"layer",$_attrnames:["interpolate"]},ur={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},hr={$_props:{geom:"text",stat:"text"},$_type:"layer"},fr={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},dr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},mr={$_props:{geom:"shape",stat:"violin"},$_type:"layer",$_argnames:["n","kernel","scale","width","height","position"]},yG=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Fi,VVGeomBar:Ui,VVGeomBlank:Gi,VVGeomBoxplot:Wi,VVGeomCurve:Ki,VVGeomDensity:Zi,VVGeomEllipse:Qi,VVGeomHistogram:Ji,VVGeomLine:tr,VVGeomLinerange:er,VVGeomMarkdown:nr,VVGeomMarkdownsegment:ir,VVGeomPath:rr,VVGeomPoint:or,VVGeomPolygon:sr,VVGeomRect:lr,VVGeomSegment:ar,VVGeomShape:cr,VVGeomStick:ur,VVGeomText:hr,VVGeomTextsegment:fr,VVGeomTile:dr,VVGeomViolin:mr},Symbol.toStringTag,{value:"Module"})),gr={$_type:"axis",$_props:{}},yr={$_type:"axis",$_props:{coord:"x"}},pr={$_type:"axis",$_props:{coord:"y"}},vr={$_type:"axis-break",$_props:{type:"major"}},pG=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:gr,VVAxisBreak:vr,VVAxisX:yr,VVAxisY:pr},Symbol.toStringTag,{value:"Module"})),vG={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},El=Object.assign({inheritAttrs:!1},{__name:"Plot",props:d1({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:d1(["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={...yG,...pG,VVAction:On,VVSelection:On},r={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function o(x){return x==null?x:x===""||!!x}const l=n,c=Ae(t,"selectionPreview"),a=Ae(t,"selectionPreviewTheme"),s=Ae(t,"transition");function h(x){return{props:Object.fromEntries(x.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:x.children.map(N=>()=>[h(N)]),type:i[x.tag]}}const d=Hl(),u=Xl(),f=jt({axis:{},layer:{},action:{},selection:{},dom:{}});for(let x in d)St(()=>d[x]?.(),$=>{let N=T1($).flatMap(G=>G.type?.template?Na(G.type.template,{decodeEntities:!0}).children.map(lt=>h(lt)):G).filter(G=>G!=null),R=Object.groupBy(N,G=>G.type.$_type??"dom");for(let G in R)f[G][x]=R[G]},{immediate:!0});const m=X(()=>Object.values(f.layer).flat()),y=X(()=>Object.values(f.axis).flat()),b=X(()=>Object.values(f.action).flat()),A=X(()=>Object.values(f.selection).flat()),T=X(()=>Object.keys(f.dom).flatMap(x=>x=="panel"?[]:f.dom[x])),C=X(()=>T.value.filter(x=>Ar(x.type))),M=X(()=>T.value.filter(x=>!Ar(x.type))),E=X(()=>{let x={},$={};for(let N in u)if(N.startsWith("on")){let R=Array.isArray(u[N])?u[N]:[u[N]];x[N]=R.filter(G=>typeof G=="function"),$[N]=R.filter(G=>typeof G!="function")}else N.startsWith("svg-")?x[N.slice(4)]=u[N]:$[N]=u[N];return{plot:x,wrapper:$}}),S=X(()=>{let x=[ts,es].concat(t.theme??[]);return Ra(Ia(Ba(...x),t.flip))},{deep:!0}),j=Oe(()=>{let x=y.value.map(R=>({...R.type.$_props,...R.props})),$=x.filter(R=>R.coord==="x"),N=x.filter(R=>R.coord==="y");return{x:$.find(R=>o(R.primary))??$.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:jt({}),extend:jt({}),"min-range":jt({}),"expand-add":jt({}),"expand-mult":jt({}),boundary:jt({}),reverse:jt({}),min:jt({}),max:jt({}),"min-preview":jt({}),"max-preview":jt({})};St(j,x=>{for(let $ of["x","y"])for(let N in g)g[N][$]=x?.[$]?.[N]},{immediate:!0});const p=Oe(()=>{let x={};for(let $ of["x","y"]){let N=g.boundary[$];x[$]={min:N?.min??N?.[0],max:N?.max??N?.[1]}}return x}),w=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(x=>{let{geom:$,stat:N,scales:R,data:G,"extend-x":et,"extend-y":lt,...it}={...x.type.$_props,...x.props},wt=x.type.$_argnames||[],bt=x.type.$_attrnames||[],ht={},ct={},nt={},rt={};for(let K in it)K!="key"&&(wt.includes(K)?ct[K]=it[K]:bt.includes(K)?nt[K]=it[K]:K.startsWith("on")?rt[K]=it[K]:typeof it[K]=="function"?["item-class","item-style"].includes(K)?ht[K.slice(5)]=it[K]:ht[K]=it[K]:["class","style","group-class","group-style","dpi","render"].includes(K)?rt[K]=it[K]:["item-class","item-style"].includes(K)?nt[K.slice(5)]=it[K]:nt[K]=it[K]);return{geom:$,stat:N,data:G,aes:ht,attrs:nt,scales:R,args:ct,extendX:et,extendY:lt,vBind:rt}})),v=X(()=>(({x,y:$,...N})=>N)(t.levels??{})),V=X(()=>{let x={};for(let $ of["x","y"])x[$]=g.levels[$]??t.levels?.[$];return x}),D=X(()=>{let x={};for(let $ of["x","y"]){let N=g.min[$]??t.range?.[$+"min"],R=g.max[$]??t.range?.[$+"max"];x[$+"min"]=isFinite(N)&&!Number.isNaN(N)?N:null,x[$+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return x}),W=X(()=>{let x={};for(let $ of["x","y"]){let N=g["min-preview"][$]??t.rangePreview?.[$+"min"],R=g["max-preview"][$]??t.rangePreview?.[$+"max"];x[$+"min"]=isFinite(N)&&!Number.isNaN(N)?N:null,x[$+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return x}),Y=Oe(()=>({xmin:j?.x?.["onUpdate:min"],xmax:j?.x?.["onUpdate:max"],ymin:j?.y?.["onUpdate:min"],ymax:j?.y?.["onUpdate:max"]})),H=Oe(()=>({xmin:j?.x?.["onUpdate:minPreview"],xmax:j?.x?.["onUpdate:maxPreview"],ymin:j?.y?.["onUpdate:minPreview"],ymax:j?.y?.["onUpdate:maxPreview"]})),q=jt({}),_=jt({});St(D,(x,$)=>{x?.xmin!==$?.xmin&&(q.xmin=x.xmin),x?.xmax!==$?.xmax&&(q.xmax=x.xmax),x?.ymin!==$?.ymin&&(q.ymin=x.ymin),x?.ymax!==$?.ymax&&(q.ymax=x.ymax)},{immediate:!0}),St(W,(x,$)=>{x?.xmin!==$?.xmin&&(_.xmin=x.xmin),x?.xmax!==$?.xmax&&(_.xmax=x.xmax),x?.ymin!==$?.ymin&&(_.ymin=x.ymin),x?.ymax!==$?.ymax&&(_.ymax=x.ymax)},{immediate:!0}),St(()=>({...q}),(x,$)=>{for(let N in Y)Y[N]?.(x[N]);l("rangechange",{...x},{...$}),l("update:range",{...x})},{deep:!0}),St(()=>_,x=>{for(let $ in H)H[$]?.(x[$]);l("update:rangePreview",{...x})},{deep:!0}),wr("range",q),wr("rangePreview",_);const F=X(()=>({x:g["min-range"].x??t.minRange?.x??0,y:g["min-range"].y??t.minRange?.y??0})),tt=X(()=>{let x=g["expand-add"].x??t.expandAdd?.x??0,$=g["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(x)?x={min:x[0],max:x[1]}:typeof x=="number"&&(x={min:x,max:x}),Array.isArray($)?$={min:$[0],max:$[1]}:typeof $=="number"&&($={min:$,max:$}),{x,y:$}}),Q=X(()=>{let x=g["expand-mult"].x??t.expandMult?.x??.05,$=g["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(x)?x={min:x[0],max:x[1]}:typeof x=="number"&&(x={min:x,max:x}),Array.isArray($)?$={min:$[0],max:$[1]}:typeof $=="number"&&($={min:$,max:$}),{x,y:$}}),U=Oe(()=>({x:o(g.reverse.x)??t.reverse?.x??!1,y:o(g.reverse.y)??t.reverse?.y??!1})),Z={left:1,right:2,middle:4,X1:8,X2:16},ot=X(()=>{let x=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},$=y.value.map(N=>({...N.type.$_props,...N.props,$_children:N.children??{}})).concat(t.axes??[]);return $.every(N=>N?.coord!="x")&&$.push({coord:"x"}),$.every(N=>N?.coord!="y")&&$.push({coord:"y"}),$.map(({coord:N,position:R,title:G,breaks:et,labels:lt,titles:it,"minor-breaks":wt,"show-grid":bt,theme:ht=[],extend:ct,boundary:nt,action:rt,primary:K,secondary:pt,"expand-mult":mt,"expand-add":Rt,levels:Xt,limits:Ne,min:xe,max:de,"onUpdate:min":me,"onUpdate:max":xr,$_children:Je={},...je})=>{let Pe=x[N];R=R??"start",R=="start"?(R={h:"bottom",v:"left"}[Pe],U[r[N]]&&(R=r[R])):R=="end"&&(R={h:"top",v:"right"}[Pe],U[r[N]]&&(R=r[R]));let Ll=Je.breaks,jl=Object.keys(Je).filter(Bt=>typeof Je[Bt]=="function"&&Bt!="breaks").flatMap(Bt=>T1(Je[Bt]())).map(Bt=>({...Bt.type.$_props,...Bt.props})).concat(rt??[]).flatMap(Bt=>{let br=[];for(let R1 of["move","nudge","zoom","rescale"]){let le=Bt[R1];if(le==null||le===!1)continue;let Pl="on"+R1.charAt(0).toUpperCase()+R1.slice(1);br.push({action:R1,[Pe+"min"]:le.min??Bt.min??nt?.min??nt?.[0]??p?.[N]?.min,[Pe+"max"]:le.max??Bt.max??nt?.max??nt?.[1]??p?.[N]?.max,["min-range-"+Pe]:le["min-range"]??Bt["min-range"],ctrlKey:!!(le.ctrl??o(Bt.ctrl)),shiftKey:!!(le.shift??o(Bt.shift)),altKey:!!(le.alt??o(Bt.alt)),metaKey:!!(le.meta??o(Bt.meta)),buttons:le.buttons??Z[le.button]??Bt.buttons??Z[Bt.button]??1,emit:Bt[Pl]})}return br});return{coord:N,orientation:Pe,position:R,title:G,breaks:et,labels:lt,titles:it,minorBreaks:wt,breakSlot:Ll,showGrid:o(bt)??R!=="none",extend:ct??g.extend[N],theme:Object.assign({},...[S.value?.axis?.[R]??S.value?.axis?.[Pe]].concat(ht)),action:jl,...je}}).filter(N=>N!=null)}),at=jt({});St(ot,x=>{for(let $ of["left","right","top","bottom"])at[$]=x.some(N=>N.position==$)},{immediate:!0});const Ct=X(()=>b.value.map(x=>({...x.type.$_props,...x.props})).concat(t.action??[]).flatMap(x=>{let $=[];for(let N of["select","move","nudge","zoom"]){let R=x[N];if(R==null||R===!1)continue;let G=R.x==null&&R.y==null&&x.x==null&&x.y==null,et="on"+N.charAt(0).toUpperCase()+N.slice(1);$.push({action:N,x:G||!!(R.x??o(x.x)),y:G||!!(R.y??o(x.y)),xmin:R.xmin??x.xmin??p?.x?.min,xmax:R.xmax??x.xmax??p?.x?.max,ymin:R.ymin??x.ymin??p?.y?.min,ymax:R.ymax??x.ymax??p?.y?.max,"min-range-x":R["min-range-x"]??x["min-range-x"],"min-range-y":R["min-range-y"]??x["min-range-y"],ctrlKey:!!(R.ctrl??o(x.ctrl)),shiftKey:!!(R.shift??o(x.shift)),altKey:!!(R.alt??o(x.alt)),metaKey:!!(R.meta??o(x.meta)),buttons:R.buttons??Z[R.button]??x.buttons??Z[x.button]??1,emit:x[et]})}return $})),Qt=X(()=>A.value.map(x=>({...x.type.$_props,...x.props})).map(({once:x,move:$,dismissible:N,resize:R,x:G,y:et,xmin:lt,xmax:it,ymin:wt,ymax:bt,ctrl:ht,shift:ct,alt:nt,meta:rt,button:K,buttons:pt,modelValue:mt,"onUpdate:modelValue":Rt,theme:Xt=[],...Ne})=>{let xe=G==null&&et==null;return o(x)?(mt=jt({}),Rt=null):Rt==null&&(mt=jt(mt??{}),Rt=de=>{for(let me in mt)delete mt[me];Object.assign(mt,de)}),{move:!!o($),dismissible:N==null?void 0:N!==!1,resize:!!o(R),x:xe||!!o(G),y:xe||!!o(et),xmin:lt??p?.x?.min,xmax:it??p?.x?.max,ymin:wt??p?.y?.min,ymax:bt??p?.y?.max,ctrlKey:!!o(ht),shiftKey:!!o(ct),altKey:!!o(nt),metaKey:!!o(rt),buttons:pt??Z[K]??1,modelValue:mt,"onUpdate:modelValue":Rt,theme:Object.assign({},...[S.value?.selection].concat(Xt)),onSelect:(de,me)=>l("select",de,me),...Ne}})),{pixelRatio:ve}=ea(),ie=qt("wrapper"),te=qt("plot"),fe=Ae(t,"width"),O=Ae(t,"height");Io(()=>{St(fe,x=>{ie.value.style.width=qe(x,"px")??null},{immediate:!0}),St(O,x=>{ie.value.style.height=qe(x,"px")??null},{immediate:!0})});let P={width:0,height:0};zo(te,x=>{let{width:$,height:N}=x[0].contentRect;fe.value-$<.5&&O.value-N<.5||(ie.value.style.width&&(fe.value=$),ie.value.style.height&&(O.value=N),($>0||N>0)&&(P.width>0||P.height>0)&&l("resize",{width:$,height:N},P),P={width:$,height:N})});const B=X(()=>({position:"absolute",pointerEvents:"none",left:qe(te.value?.panel?.left,"px"),top:qe(te.value?.panel?.top,"px"),width:qe(te.value?.panel?.width,"px"),height:qe(te.value?.panel?.height,"px")})),z=X(()=>{let x={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(x,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(x,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(x,{resize:"vertical"}),x});return e({get svg(){return te.value.svg},serialize(x){return Oa(te.value.svg,x)}}),(x,$)=>(L(),I("div",J({ref:"wrapper",class:"vvplot",style:z.value},E.value.wrapper),[re(gG,J({ref:"plot",paddings:at,schema:w.value,layers:k.value,"min-range":F.value,"expand-add":tt.value,"expand-mult":Q.value,reverse:Mt(U),flip:t.flip,"coord-levels":V.value,levels:v.value,scales:t.scales,axes:ot.value,theme:S.value,selections:Qt.value,transition:s.value,"onUpdate:transition":$[0]||($[0]=N=>s.value=N)},E.value.plot,{"selection-preview":c.value,"onUpdate:selectionPreview":$[1]||($[1]=N=>c.value=N),"selection-preview-theme":a.value,"onUpdate:selectionPreviewTheme":$[2]||($[2]=N=>a.value=N),action:Ct.value,clip:t.clip,render:t.render,dpi:t.dpi??96*Mt(ve),legendTeleport:t.legendTeleport,onSelect:$[3]||($[3]=(N,R)=>l("select",N,R))}),{default:Yl(()=>[(L(!0),I(st,null,ut(C.value,N=>(L(),xt(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"]),$[4]||($[4]=dt()),$t("div",{class:"vvplot-panel-container",style:D1(B.value)},[f.dom.panel?.length?(L(),I("div",vG,[(L(!0),I(st,null,ut(f.dom.panel,N=>(L(),xt(Xe(N)))),256))])):Lt("",!0)],4),$[5]||($[5]=dt()),(L(!0),I(st,null,ut(M.value,N=>(L(),xt(Xe(N)))),256))],16))}}),Ol={$_type:"selection",$_props:{}},xG=Object.freeze(Object.defineProperty({__proto__:null,VVAction:On,VVAxis:gr,VVAxisBreak:vr,VVAxisX:yr,VVAxisY:pr,VVGeom:Fi,VVGeomBar:Ui,VVGeomBlank:Gi,VVGeomBoxplot:Wi,VVGeomCurve:Ki,VVGeomDensity:Zi,VVGeomEllipse:Qi,VVGeomHistogram:Ji,VVGeomLine:tr,VVGeomLinerange:er,VVGeomMarkdown:nr,VVGeomMarkdownsegment:ir,VVGeomPath:rr,VVGeomPoint:or,VVGeomPolygon:sr,VVGeomRect:lr,VVGeomSegment:ar,VVGeomShape:cr,VVGeomStick:ur,VVGeomText:hr,VVGeomTextsegment:fr,VVGeomTile:dr,VVGeomViolin:mr,VVPlot:El,VVSelection:Ol},Symbol.toStringTag,{value:"Module"}));export{On as VVAction,gr as VVAxis,vr as VVAxisBreak,yr as VVAxisX,pr as VVAxisY,Fi as VVGeom,Ui as VVGeomBar,Gi as VVGeomBlank,Wi as VVGeomBoxplot,Ki as VVGeomCurve,Zi as VVGeomDensity,Qi as VVGeomEllipse,Ji as VVGeomHistogram,tr as VVGeomLine,er as VVGeomLinerange,nr as VVGeomMarkdown,ir as VVGeomMarkdownsegment,rr as VVGeomPath,or as VVGeomPoint,sr as VVGeomPolygon,lr as VVGeomRect,ar as VVGeomSegment,cr as VVGeomShape,ur as VVGeomStick,hr as VVGeomText,fr as VVGeomTextsegment,dr as VVGeomTile,mr as VVGeomViolin,El as VVPlot,Ol as VVSelection,xG as components,Js as number_cut,D9 as oob,Bn as vvbreak,Se as vvgeom,Mi as vvlabel,Qs as vvscale,ns as vvstat,Ha as vvtheme};
42
+ `;for(var e=this.indentLevel;e>0;e--)this.buffer+=this.indent}}function Mh(e,t,n){var r=`<`+e;if(t&&t.length>0)for(var i=0,a;(a=t[i])!==void 0;)r+=` `+a[0]+`="`+this.esc(a[1])+`"`,i++;return n&&(r+=` /`),r+=`>`,r}Oh.prototype=Object.create(Ym.prototype),Oh.prototype.render=kh,Oh.prototype.out=Ah,Oh.prototype.cr=jh,Oh.prototype.tag=Mh,Oh.prototype.esc=Uf;var Nh=[`text-anchor`,`font-size`],Ph={key:0},Fh={__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){let r=new Jm,o=L(`ele`),s=T({width:0,height:0}),l=m(`vvplot-visible`,!0);R([o,l,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([e])=>{if(!e)return;await v();let{width:t,height:n}=e.getBBox();s.width=t,s.height=n});let u=n(()=>{let{width:e,height:n}=s,r=[],i=({start:-.5,end:.5}[t.textAnchor]??0)*e;if(t.dockX!=null||t.dockY!=null){let a={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),o={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(a)&&(a=.5),isNaN(o)&&(o=.5);let s=e*Math.abs(Math.cos(t.angle*Math.PI/180))+n*Math.abs(Math.sin(t.angle*Math.PI/180)),c=e*Math.abs(Math.sin(t.angle*Math.PI/180))+n*Math.abs(Math.cos(t.angle*Math.PI/180)),l=t.translateX,u=t.translateY;r.push(`translate(${s*(.5-a)+l},${c*(o-.5)+u})`),t.angle&&r.push(`rotate(${t.angle})`),r.push(`translate(${i},${-n/2})`)}else{let a={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),o={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(a)&&(a=.5),isNaN(o)&&(o=.5);let s=e,c=n,l=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),u=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&r.push(`rotate(${t.angle})`),r.push(`translate(${s*(.5-a)+l+i},${c*(o-.5)+u-n/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":gr(t.linetype).join(` `)||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:r.join(` `)||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?`spacingAndGlyphs`:null,"transform-origin":`${t.x} ${t.y}`}}),d=n(()=>{let e=r.parse(String(t.text)).walker(),n=[],i=[],a=[1],o=0,s=!0,c;for(;c=e.next();){let{node:{type:e,literal:r},entering:l}=c,u=a.at(-1);if(l){if(e===`text`||e===`code`){let a=o+ +!!s,c=Object.assign({x:s?t.x:null,dy:ir(a||null,`em`)},...i,{"font-family":e===`code`?`monospace`:null,"font-size":u===1?null:`${u}em`});o=0,s=!1,n.push({text:r,vbind:c})}else if(e===`strong`)i.push({"font-weight":`bold`});else if(e===`emph`)i.push({"font-style":`italic`});else if(e===`softbreak`||e===`paragraph`)n.push({text:`
43
+ `}),s=!0;else if(e===`html_inline`){let e=r;if(e.includes(`color=`)){let t=e.match(/color=(['"])(.*?)\1/i)?.[2]??e.match(/color=(\S*)/)?.[1];t&&i.push({fill:t})}else e.includes(`</font>`)?i.pop():e.includes(`<sup>`)?(o-=.4*u,a.push(u*.7)):e.includes(`</sup>`)?(o+=.4*a.at(-1),a.pop()):e.includes(`<sub>`)?(o+=.25*u,a.push(u*.7)):e.includes(`</sub>`)&&(o-=.25*a.at(-1),a.pop())}}else[`strong`,`emph`].includes(e)&&i.pop()}return n});return(n,r)=>(C(),a(`text`,_({ref_key:`ele`,ref:o},u.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(C(),a(`title`,Ph,M(t.title),1)):i(``,!0),r[0]||=c(),(C(!0),a(e,null,D(d.value,e=>(C(),a(`tspan`,_({ref_for:!0},e.vbind),M(e.text),17))),256))],16,Nh))}},Ih={__name:`CoreAxisLabel`,props:{type:String,value:null,getPosition:Function},emits:[`click`,`dblclick`,`contextmenu`,`pointerdown`,`pointerup`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`wheel`,`singleclick`],setup(e,{emit:t}){let n=t,i={pointerdown(t){n(`pointerdown`,t,e.getPosition(t),e.value)},pointerup(t){n(`pointerup`,t,e.getPosition(t),e.value)},pointerover(t){n(`pointerover`,t,e.getPosition(t),e.value)},pointerout(t){n(`pointerout`,t,e.getPosition(t),e.value)},pointerenter(t){n(`pointerenter`,t,e.getPosition(t),e.value)},pointerleave(t){n(`pointerleave`,t,e.getPosition(t),e.value)},dblclick(t){n(`dblclick`,t,e.getPosition(t),e.value)},click(t){n(`click`,t,e.getPosition(t),e.value)},singleclick(t){n(`singleclick`,t,e.getPosition(t),e.value)},contextmenu(t){n(`contextmenu`,t,e.getPosition(t),e.value)},pointermove(t){n(`pointermove`,t,e.getPosition(t),e.value)},wheel(t){n(`wheel`,t,e.getPosition(t),e.value)}};return(t,n)=>e.type==`markdown`?(C(),r(Fh,_({key:0},N(i)),null,16)):(C(),r(Xs,_({key:1},N(i)),null,16))}},Lh=[`transform`],Rh=[`x2`],zh={class:`vvplot-interactive`,fill:`transparent`},Bh=[`width`,`cursor`],Vh={key:1,class:`vvplot-interactive`,fill:`transparent`},Hh=[`x`],Uh={__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:s}){let u=n(()=>t.layout.width+t.layout.l+t.layout.r),d=n(()=>t.layout.height+t.layout.t+t.layout.b),f=m(`rangePreview`),p=n(()=>{let e=0,n={bottom:`0%`,center:`50%`,top:`100%`}[t.position]??t.position;return e=typeof n==`string`&&n.endsWith(`%`)?d.value*(1-n.slice(0,-1)/100):t.activeTransform.translateV+t.coord2pos({v:+n}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${e})`}),h=n(()=>{let e=t.theme.title_position??t.theme.tick_position,n=e,r=t.theme.title_dock_x,i=t.theme.title_dock_y,a=0;return typeof e!=`number`&&(n={left:0,bottom:.5,top:.5,right:1}[e]??.5,r??={left:1,right:0}[e]??.5,i??={top:0,bottom:1}[e]??.5,a=({top:-1,bottom:1}[e]??0)*(t.theme.title_offset??0)),{x:u.value*n,y:a,angle:t.theme.title_angle,dockX:r,dockY:i,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":`sans-serif`,...t.theme.title_style}}),g=n(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),v=n(()=>{let e=[];for(let n of t.ticks){let{value:r,theme:i}=n,a=t.coord2pos({h:r}).h,o=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(a+=t.layout.l,a+o<0||a+o>u.value)continue;let s=(i.tick_position==`top`?-1:1)*i.tick_length;e.push({key:`line-`+r,y1:0,y2:s,x1:a,x2:a,stroke:i.tick_color,"stroke-width":i.tick_width,transform:o?`translate(${o},0)`:null,style:{transition:t.transition}})}return e.filter(e=>e.stroke!=null).sort((e,t)=>e.x1-t.x1)}),x=n(()=>{let e=[];for(let n of t.ticks){let{type:r,value:i,label:a,title:o,theme:s,...c}=n,l=(s.label_position??s.tick_position)==`top`,d=t.coord2pos({h:i}).h,f=d*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(d+=t.layout.l,d+f<0||d+f>u.value)continue;let p=(l?-1:1)*(s.label_offset??s.tick_length),m,h,g,_;s.label_anchor_x!=null||s.label_anchor_y!=null?(m=s.label_anchor_x??.5,h=s.label_anchor_y??+!l):(g=s.label_dock_x??.5,_=s.label_dock_y??+!l),e.push({wrapper:{key:`text-`+i,transform:f?`translate(${f},0)`:null,style:{transition:t.transition}},text:{x:d,y:p,angle:s.label_angle,anchorX:m,anchorY:h,dockX:g,dockY:_,type:s.label_type,text:a,title:o??a,fontSize:s.label_size,fill:s.label_color,"font-family":`sans-serif`,value:i,...c}})}return e.filter(e=>e.text.fill!=null).sort((e,t)=>e.text.x-t.text.x)}),S=L(`i`);function w(e){let n=S.value.getBoundingClientRect(),r=n.width/S.value.getBBox().width,i=e.clientX-n.left,a=i/r-t.layout.left,o={l:a,r:t.layout.left+t.layout.width-i/r},{x:s,y:c}=t.pos2coord({h:a});return s&&(o.x=s),c&&(o.y=c),o}let T=s,E,O=0;function k(e){let n=w(e);T(`pointerdown`,e,n);let r=!1;function i(t){(Math.abs(t.screenX-e.screenX)>3||Math.abs(t.screenY-e.screenY)>3)&&(r=!0,t.currentTarget.removeEventListener(`pointermove`,i))}e.target.addEventListener(`pointermove`,i,{passive:!0});let a=t.action.find(e=>e.action==`move`);if(!a)return;e.preventDefault(),e.stopPropagation(),e.target.style.cursor=`grabbing`,E=clearTimeout(E);let o=t.layout.width,s=t.coord2pos(a),c=S.value.getBoundingClientRect().width/S.value.getBBox().width;e.target.setPointerCapture(e.pointerId),e.target.onpointermove=e=>{if(O+=e.movementX,!r)return;let n=X(-O/c,{min:s.hmin-0,max:s.hmax-o}),{xmin:i,xmax:a,ymin:l,ymax:u}=t.pos2coord({hmin:0+n,hmax:o+n});Object.assign(f,{xmin:i,xmax:a,ymin:l,ymax:u})},e.target.addEventListener(`pointerup`,function(t){e.target.onpointermove=null,e.target.style.cursor=null,r&&(E=setTimeout(()=>{I(a,t),O=0},300))},{once:!0})}function A(e){let n=t.action.find(e=>e.action==`rescale`);if(!n)return;e.preventDefault(),e.stopPropagation();let{"min-range-h":r=0}=n,i=w(e),a=t.coord2pos(i).h,o=a-i.l,s=a+i.r,c=t.pos2coord({hmin:o,hmax:s}),l={min:t.coord2pos(n).hmin,max:t.coord2pos({hmin:c.hmax-r,hmax:c.hmin+r}).hmin},u=S.value.getBoundingClientRect().width/S.value.getBBox().width,d=0;e.target.setPointerCapture(e.pointerId),e.target.onpointermove=e=>{d+=e.movementX;let{xmin:n,xmax:r,ymin:a,ymax:c}=t.pos2coord({hmin:X(s-(s-o)*i.r/Math.max(i.r-d/u,1),l),hmax:s});Object.assign(f,{xmin:n,xmax:r,ymin:a,ymax:c})},e.target.addEventListener(`pointerup`,function(t){e.target.onpointermove=null,I(n,t)},{once:!0})}function j(e){let n=t.action.find(e=>e.action==`rescale`);if(!n)return;e.preventDefault(),e.stopPropagation();let{"min-range-h":r=0}=n,i=w(e),a=t.coord2pos(i).h,o=a-i.l,s=a+i.r,c=t.pos2coord({hmin:o,hmax:s}),l={min:t.coord2pos({hmin:c.hmax-r,hmax:c.hmin+r}).hmax,max:t.coord2pos(n).hmax};S.value.getBoundingClientRect().width/S.value.getBBox().width;let u=0;e.target.setPointerCapture(e.pointerId),e.target.onpointermove=e=>{u+=e.movementX;let{xmin:n,xmax:r,ymin:a,ymax:c}=t.pos2coord({hmin:o,hmax:X(o+(s-o)*i.l/Math.max(i.l+u,1),l)});Object.assign(f,{xmin:n,xmax:r,ymin:a,ymax:c})},e.target.addEventListener(`pointerup`,function(t){e.target.onpointermove=null,I(n,t)},{once:!0})}let M=0,P;function F(e){let n=w(e);T(`wheel`,e,n);let r=t.action.find(t=>[`zoom`,`nudge`].includes(t.action)&&[`ctrlKey`,`shiftKey`,`altKey`,`metaKey`].every(n=>t[n]==e[n]));r&&(P=clearTimeout(P),e.preventDefault(),e.stopPropagation(),T(`update:transition`,`transform 0.1s ease-out`),M+=e.deltaY,ee(r,n,M),P=setTimeout(()=>{I(r,e),M=0},300))}function ee(e,n,r){if(e.action==`zoom`){let{"min-range-h":i=0,sensitivity:a=1.25}=e,o=a**(r/100),s=t.coord2pos(e),c=Math.max(n.l-Math.max(n.l,0)*o,s.hmin??-1/0),l=Math.min(n.l+Math.max(n.r,0)*o,s.hmax??1/0),{[t.coord+`min`]:u,[t.coord+`max`]:d}=t.pos2coord({hmin:c,hmax:l});if(o<1&&d-u<i){let e=(d+u)/2;u=e-i/2,d=e+i/2}f[t.coord+`min`]=u,f[t.coord+`max`]=d}if(e.action==`nudge`){let{sensitivity:n=.1}=e,i=t.coord2pos(e),a=t.layout.width,o=X(-(n*t.layout.width*(-r/120)),{min:i.hmin-0,max:i.hmax-a}),{xmin:s,xmax:c,ymin:l,ymax:u}=t.pos2coord({hmin:0+o,hmax:a+o});Object.assign(f,{xmin:s,xmax:c,ymin:l,ymax:u})}}function I(e,t){let n=ur(f)??{};if(!Object.keys(n).length)return;let r=new PointerEvent(t.type,t);sr(e.emit,n,r)||T(e.action,n,r),T(`rangechange`,n);let i,a,o,s;Object.assign(f,{xmin:i,xmax:a,ymin:o,ymax:s})}let te={pointerup(e){T(`pointerup`,e,w(e))},pointerover(e){T(`pointerover`,e,w(e))},pointerout(e){T(`pointerout`,e,w(e))},pointerenter(e){T(`pointerenter`,e,w(e))},pointerleave(e){T(`pointerleave`,e,w(e))},click(e){T(`click`,e,w(e))},singleclick(e){T(`singleclick`,e,w(e))},dblclick(e){T(`dblclick`,e,w(e))},contextmenu(e){T(`contextmenu`,e,w(e))},pointermove(e){T(`pointermove`,e,w(e))},wheel:F};return(n,s)=>(C(),a(`g`,{transform:p.value,style:b({transition:t.transition})},[g.value.stroke==null?i(``,!0):(C(),a(`line`,_({key:0,x1:0,x2:u.value,y1:0,y2:0},g.value),null,16,Rh)),s[1]||=c(),(C(!0),a(e,null,D(v.value,e=>(C(),a(`line`,_({ref_for:!0},e),null,16))),256)),s[2]||=c(),(C(!0),a(e,null,D(x.value,e=>(C(),a(`g`,_({ref_for:!0},e.wrapper),[l(Ih,_({ref_for:!0},e.text,{getPosition:w}),null,16)],16))),256)),s[3]||=c(),o(`g`,zh,[o(`rect`,_({ref:`i`,width:u.value,height:10,y:-5},N(te,!0),{onPointerdown:k,cursor:t.action.some?.(e=>e.action==`move`)?`grab`:null}),null,16,Bh)]),s[4]||=c(),t.action.some?.(e=>e.action==`rescale`)?(C(),a(`g`,Vh,[o(`rect`,_({width:20,height:10,y:-5,style:{cursor:`ew-resize`}},N(te,!0),{onPointerdown:A}),null,16),s[0]||=c(),o(`rect`,_({width:20,height:10,y:-5,x:u.value-20,style:{cursor:`ew-resize`}},N(te,!0),{onPointerdown:j}),null,16,Hh)])):i(``,!0),s[5]||=c(),h.value.text?(C(),a(e,{key:2},[t.theme.title_type==`markdown`?(C(),r(Fh,y(_({key:0},h.value)),null,16)):(C(),r(Xs,y(_({key:1},h.value)),null,16))],64)):i(``,!0)],12,Lh))}},Wh=[`transform`],Gh=[`y2`],Kh={class:`vvplot-interactive`,fill:`transparent`},qh=[`height`,`cursor`],Jh={key:1,class:`vvplot-interactive`,fill:`transparent`},Yh=[`y`],Xh={__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:s}){let u=n(()=>t.layout.width+t.layout.l+t.layout.r),d=n(()=>t.layout.height+t.layout.t+t.layout.b),f=m(`rangePreview`),p=n(()=>{let e=0,n={left:`0%`,center:`50%`,right:`100%`}[t.position]??t.position;return e=typeof n==`string`&&n.endsWith(`%`)?u.value*n.slice(0,-1)/100:t.activeTransform.translateH+t.coord2pos({h:+n}).h*t.activeTransform.scaleH+t.layout.left,`translate(${e}, 0)`}),h=n(()=>{let e=t.theme.title_position??t.theme.tick_position,n=e,r=t.theme.title_dock_x,i=t.theme.title_dock_y,a=0;return typeof e!=`number`&&(n={bottom:0,left:.5,right:.5,top:1}[e]??.5,r??={left:1,right:0}[e]??.5,i??={top:0,bottom:1}[e]??.5,a=({left:-1,right:1}[e]??0)*(t.theme.title_offset??0)),{x:a,y:d.value*(1-n),angle:t.theme.title_angle,dockX:r,dockY:i,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":`sans-serif`,...t.theme.title_style}}),g=n(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),v=n(()=>{let e=[];for(let n of t.ticks){let{value:r,theme:i}=n,a=t.coord2pos({v:r}).v,o=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(a+=t.layout.t,a+o<0||a+o>d.value)continue;let s=(i.tick_position==`right`?1:-1)*i.tick_length;e.push({key:`line-`+n.value,y1:a,y2:a,x1:0,x2:s,stroke:n.color??i.tick_color,"stroke-width":n.width??i.tick_width,transform:o?`translate(0,${o})`:null,style:{transition:t.transition}})}return e.filter(e=>e.stroke!=null).sort((e,t)=>e.y1-t.y1)}),x=n(()=>{let e=[];for(let n of t.ticks){let{type:r,value:i,label:a,title:o,theme:s,...c}=n,l=(s.label_position??s.tick_position)==`right`,u=t.coord2pos({v:i}).v,f=u*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(u+=t.layout.t,u+f<0||u+f>d.value)continue;let p=(l?1:-1)*((s.label_offset??s.tick_length)+3),m,h,g,_;s.label_anchor_x!=null||s.label_anchor_y!=null?(m=s.label_anchor_x??+!l,h=s.label_anchor_y??.5):(g=s.label_dock_x??+!l,_=s.label_dock_y??.5),e.push({wrapper:{key:`text-`+i,transform:f?`translate(0,${f})`:null,style:{transition:t.transition}},text:{y:u,x:p,angle:s.label_angle,anchorX:m,anchorY:h,dockX:g,dockY:_,type:s.label_type,text:a,title:o??a,fontSize:s.label_size,fill:s.label_color,"font-family":`sans-serif`,value:i,...c}})}return e.filter(e=>e.text.fill!=null).sort((e,t)=>e.text.y-t.text.y)}),S=L(`i`);function w(e){let n=S.value.getBoundingClientRect(),r=n.height/S.value.getBBox().height,i=e.clientY-n.top,a=i/r-t.layout.top,o={t:a,b:t.layout.top+t.layout.height-i/r},{x:s,y:c}=t.pos2coord({v:a});return s&&(o.x=s),c&&(o.y=c),o}let T=s,E,O=0;function k(e){let n=w(e);T(`pointerdown`,e,n);let r=!1;function i(t){(Math.abs(t.screenX-e.screenX)>3||Math.abs(t.screenY-e.screenY)>3)&&(r=!0,t.currentTarget.removeEventListener(`pointermove`,i))}e.target.addEventListener(`pointermove`,i,{passive:!0});let a=t.action.find(e=>e.action==`move`);if(!a)return;e.preventDefault(),e.stopPropagation(),e.target.style.cursor=`grabbing`,E=clearTimeout(E);let o=t.layout.height,s=t.coord2pos(a),c=S.value.getBoundingClientRect().height/S.value.getBBox().height;e.target.setPointerCapture(e.pointerId),e.target.onpointermove=e=>{if(O+=e.movementY,!r)return;let n=X(-O/c,{min:s.vmin-0,max:s.vmax-o}),{xmin:i,xmax:a,ymin:l,ymax:u}=t.pos2coord({vmin:0+n,vmax:o+n});Object.assign(f,{xmin:i,xmax:a,ymin:l,ymax:u})},e.target.addEventListener(`pointerup`,function(t){e.target.onpointermove=null,e.target.style.cursor=null,r&&(E=setTimeout(()=>{I(a,t),O=0},300))},{once:!0})}function A(e){let n=t.action.find(e=>e.action==`rescale`);if(!n)return;e.preventDefault(),e.stopPropagation();let{"min-range-v":r=0}=n,i=w(e),a=t.coord2pos(i).v,o=a-i.t,s=a+i.b,c=t.pos2coord({vmin:o,vmax:s}),l={min:t.coord2pos(n).vmin,max:t.coord2pos({vmin:c.vmax-r,vmax:c.vmin+r}).vmin},u=S.value.getBoundingClientRect().height/S.value.getBBox().height,d=0;e.target.setPointerCapture(e.pointerId),e.target.onpointermove=e=>{d+=e.movementY;let{xmin:n,xmax:r,ymin:a,ymax:c}=t.pos2coord({vmin:X(s-(s-o)*i.b/Math.max(i.b-d/u,1),l),vmax:s});Object.assign(f,{xmin:n,xmax:r,ymin:a,ymax:c})},e.target.addEventListener(`pointerup`,function(t){e.target.onpointermove=null,I(n,t)},{once:!0})}function j(e){let n=t.action.find(e=>e.action==`rescale`);if(!n)return;e.preventDefault(),e.stopPropagation();let{"min-range-v":r=0}=n,i=w(e),a=t.coord2pos(i).v,o=a-i.t,s=a+i.b,c=t.pos2coord({vmin:o,vmax:s}),l={min:t.coord2pos({vmin:c.vmax-r,vmax:c.vmin+r}).vmax,max:t.coord2pos(n).vmax},u=S.value.getBoundingClientRect().height/S.value.getBBox().height,d=0;e.target.setPointerCapture(e.pointerId),e.target.onpointermove=e=>{d+=e.movementY;let{xmin:n,xmax:r,ymin:a,ymax:c}=t.pos2coord({vmin:o,vmax:X(o+(s-o)*i.t/Math.max(i.t+d/u,1),l)});Object.assign(f,{xmin:n,xmax:r,ymin:a,ymax:c})},e.target.addEventListener(`pointerup`,function(t){e.target.onpointermove=null,I(n,t)},{once:!0})}let M=0,P;function F(e){let n=w(e);T(`wheel`,e,n);let r=t.action.find(t=>[`zoom`,`nudge`].includes(t.action)&&[`ctrlKey`,`shiftKey`,`altKey`,`metaKey`].every(n=>t[n]==e[n]));r&&(P=clearTimeout(P),e.preventDefault(),e.stopPropagation(),T(`update:transition`,`transform 0.1s ease-out`),M+=e.deltaY,ee(r,n,M),P=setTimeout(()=>{I(r,e),M=0},300))}function ee(e,n,r){if(e.action==`zoom`){let{"min-range-v":i=0,sensitivity:a=1.25}=e,o=a**(r/100),s=t.coord2pos(e),c=Math.max(n.t-Math.max(n.t,0)*o,s.vmin??-1/0),l=Math.min(n.t+Math.max(n.b,0)*o,s.vmax??1/0),{[t.coord+`min`]:u,[t.coord+`max`]:d}=t.pos2coord({vmin:c,vmax:l});if(o<1&&d-u<i){let e=(d+u)/2;u=e-i/2,d=e+i/2}f[t.coord+`min`]=u,f[t.coord+`max`]=d}if(e.action==`nudge`){let{sensitivity:n=.1}=e,i=t.coord2pos(e),a=t.layout.height,o=X(-(n*t.layout.height*(-r/120)),{min:i.vmin-0,max:i.vmax-a}),{xmin:s,xmax:c,ymin:l,ymax:u}=t.pos2coord({vmin:0+o,vmax:a+o});Object.assign(f,{xmin:s,xmax:c,ymin:l,ymax:u})}}function I(e,t){let n=ur(f)??{};if(!Object.keys(n).length)return;let r=new PointerEvent(t.type,t);sr(e.emit,n,r)||T(e.action,n,r),T(`rangechange`,n);let i,a,o,s;Object.assign(f,{xmin:i,xmax:a,ymin:o,ymax:s})}let te={pointerup(e){T(`pointerup`,e,w(e))},pointerover(e){T(`pointerover`,e,w(e))},pointerout(e){T(`pointerout`,e,w(e))},pointerenter(e){T(`pointerenter`,e,w(e))},pointerleave(e){T(`pointerleave`,e,w(e))},click(e){T(`click`,e,w(e))},singleclick(e){T(`singleclick`,e,w(e))},dblclick(e){T(`dblclick`,e,w(e))},contextmenu(e){T(`contextmenu`,e,w(e))},pointermove(e){T(`pointermove`,e,w(e))},wheel:F};return(n,s)=>(C(),a(`g`,{transform:p.value,style:b({transition:t.transition})},[g.value.stroke==null?i(``,!0):(C(),a(`line`,_({key:0,x1:0,x2:0,y1:0,y2:d.value},g.value),null,16,Gh)),s[1]||=c(),(C(!0),a(e,null,D(v.value,e=>(C(),a(`line`,_({ref_for:!0},e),null,16))),256)),s[2]||=c(),(C(!0),a(e,null,D(x.value,e=>(C(),a(`g`,_({ref_for:!0},e.wrapper),[l(Ih,_({ref_for:!0},e.text,{getPosition:w}),null,16)],16))),256)),s[3]||=c(),o(`g`,Kh,[o(`rect`,_({ref:`i`,width:10,height:d.value,x:-5},N(te,!0),{onPointerdown:k,cursor:t.action.some?.(e=>e.action==`move`)?`grab`:null}),null,16,qh)]),s[4]||=c(),t.action.some?.(e=>e.action==`rescale`)?(C(),a(`g`,Jh,[o(`rect`,_({width:10,height:20,x:-5,style:{cursor:`ns-resize`}},N(te,!0),{onPointerdown:A}),null,16),s[0]||=c(),o(`rect`,_({width:10,height:20,x:-5,y:d.value-20,style:{cursor:`ns-resize`}},N(te,!0),{onPointerdown:j}),null,16,Yh)])):i(``,!0),s[5]||=c(),h.value.text?(C(),a(e,{key:2},[t.theme.title_type==`markdown`?(C(),r(Fh,y(_({key:0},h.value)),null,16)):(C(),r(Xs,y(_({key:1},h.value)),null,16))],64)):i(``,!0)],12,Wh))}},Zh={__name:`CoreAxis`,props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(e){let t={h:Uh,v:Xh};return(n,a)=>e.position==`none`?i(``,!0):(C(),r(k(t[e.orientation]),{key:0,theme:e.theme,position:e.position},null,8,[`theme`,`position`]))}},Qh={__name:`CoreGridH`,props:{breaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){let r=n(()=>t.layout.width+t.layout.l+t.layout.r),i=n(()=>t.layout.height+t.layout.t+t.layout.b),o=n(()=>{let e=[];for(let n of t.breaks){if(n.type!=`major`)continue;let a=t.coord2pos({v:n.value}).v;if(isNaN(a))continue;let o=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+o<0||a+o>i.value)&&e.push({key:`major-`+n.value,x1:0,x2:r.value,y1:a,y2:a,stroke:n.theme.grid_color_major,"stroke-width":n.theme.grid_width_major??0,transform:o?`translate(0,${o})`:null,style:{transition:t.transition}})}return e.filter(e=>e.stroke!==null)}),s=n(()=>{let e=[];for(let n of t.breaks){if(n.type!=`minor`)continue;let a=t.coord2pos({v:n.value}).v;if(isNaN(a))continue;let o=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+o<0||a+o>i.value)&&e.push({key:`minor-`+n.value,x1:0,x2:r.value,y1:a,y2:a,stroke:n.theme.grid_color_minor,"stroke-width":n.theme.grid_width_minor??0,transform:o?`translate(0,${o})`:null,style:{transition:t.transition}})}return e.filter(e=>e.stroke!==null)}),c=n(()=>s.value.concat(o.value).sort((e,t)=>e.y1-t.y1));return(n,r)=>(C(),a(`g`,null,[(C(!0),a(e,null,D(c.value,e=>(C(),a(`line`,_({ref_for:!0},e,{style:{transition:t.transition}}),null,16))),256))]))}},$h={__name:`CoreGridV`,props:{breaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){let r=n(()=>t.layout.width+t.layout.l+t.layout.r),i=n(()=>t.layout.height+t.layout.t+t.layout.b),o=n(()=>{let e=[];for(let n of t.breaks){if(n.type!=`major`)continue;let a=t.coord2pos({h:n.value}).h;if(isNaN(a))continue;let o=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+o<0||a+o>r.value)&&e.push({key:`major-`+n.value,y1:0,y2:i.value,x1:a,x2:a,stroke:n.theme.grid_color_major,"stroke-width":n.theme.grid_width_major??0,transform:o?`translate(${o},0)`:null,style:{transition:t.transition}})}return e.filter(e=>e.stroke!==null)}),s=n(()=>{let e=[];for(let n of t.breaks){if(n.type!=`minor`)continue;let a=t.coord2pos({h:n.value}).h;if(isNaN(a))continue;let o=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+o<0||a+o>r.value)&&e.push({key:`minor-`+n.value,y1:0,y2:i.value,x1:a,x2:a,stroke:n.theme.grid_color_minor,"stroke-width":n.theme.grid_width_minor??0,transform:o?`translate(${o},0)`:null,style:{transition:t.transition}})}return e.filter(e=>e.stroke!==null)}),c=n(()=>s.value.concat(o.value).sort((e,t)=>e.x1-t.x1));return(n,r)=>(C(),a(`g`,null,[(C(!0),a(e,null,D(c.value,e=>(C(),a(`line`,_({ref_for:!0},e,{style:{transition:t.transition}}),null,16))),256))]))}},eg={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{x:t,xmin:i,xmax:a,y:o,ymin:s,ymax:c,lwisker:l,Q1:u,median:d,Q3:f,uwisker:p,outliers:m,$xmin:h,$xmax:g,$ymin:_,$ymax:v,fill:y=`white`,color:b=`black`,linewidth:x=1,linetype:S,alpha:C,"translate-x":w=0,"translate-y":T=0,$raw:E}of e.data){let{hmin:h,hmax:g,vmin:_,vmax:v}=e.coord2pos(t==null?{ymin:s,ymax:c,xmin:u,xmax:f}:{xmin:i,xmax:a,ymin:u,ymax:f}),{h:D,v:O}=e.coord2pos(t==null?{y:o,x:l}:{x:t,y:l}),{h:k,v:A}=e.coord2pos(t==null?{y:o,x:p}:{x:t,y:p}),{h:j,v:M}=e.coord2pos(t==null?{y:s,x:d}:{x:i,y:d}),{h:N,v:P}=e.coord2pos(t==null?{y:c,x:d}:{x:a,y:d}),{h:F,v:ee}=e.coord2pos(t==null?{y:s*.25+c*.75,x:p}:{x:i*.25+a*.75,y:p}),{h:I,v:te}=e.coord2pos(t==null?{y:s*.75+c*.25,x:p}:{x:i*.75+a*.25,y:p}),{h:ne,v:L}=e.coord2pos(t==null?{y:s*.25+c*.75,x:l}:{x:i*.25+a*.75,y:l}),{h:R,v:z}=e.coord2pos(t==null?{y:s*.75+c*.25,x:l}:{x:i*.75+a*.25,y:l});n.globalAlpha=C,n.setLineDash(gr(S));let B=new Path2D;B.moveTo(D+w,O+T),B.lineTo(k+w,A+T);let re=new Path2D;re.moveTo(F+w,ee+T),re.lineTo(I+w,te+T),re.moveTo(ne+w,L+T),re.lineTo(R+w,z+T);let ie=new Path2D;ie.rect(h+w,_+T,g-h,v-_),r.set(ie,E);let ae=new Path2D;ae.moveTo(j+w,M+T),ae.lineTo(N+w,P+T),b!=null&&b!==`none`&&(n.strokeStyle=b,n.lineWidth=x,n.stroke(B),n.stroke(re)),y!==`none`&&(n.fillStyle=y,n.fill(ie)),b!=null&&b!==`none`&&(n.stroke(ie),n.lineWidth=x*2,n.stroke(ae));for(let{x:t,y:i,$raw:a}of m){let{h:o,v:s}=e.coord2pos({x:t,y:i}),c=new Path2D;c.arc(o+w,s+T,2,0,Math.PI*2),b!=null&&b!==`none`&&(n.fillStyle=b,n.fill(c)),r.set(c,a)}}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});return R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)}),(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}};function tg(e){return function(){return e}}var ng=Math.PI;ng/2,2*ng;var rg=Math.PI,ig=2*rg,ag=1e-6,og=ig-ag;function sg(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function cg(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return sg;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var lg=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?sg:cg(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>ag){if(!(Math.abs(u*s-c*l)>ag)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((rg-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>ag&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>ag||Math.abs(this._y1-l)>ag)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%ig+ig),d>og?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>ag&&this._append`A${n},${n},0,${+(d>=rg)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};lg.prototype;function ug(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new lg(t)}Array.prototype.slice;function dg(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function fg(e){this._context=e}fg.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function pg(e){return new fg(e)}function mg(e){return e[0]}function hg(e){return e[1]}function gg(e,t){var n=tg(!0),r=null,i=pg,a=null,o=ug(s);e=typeof e==`function`?e:e===void 0?mg:tg(e),t=typeof t==`function`?t:t===void 0?hg:tg(t);function s(s){var c,l=(s=dg(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:tg(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:tg(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:tg(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function _g(){}function vg(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function yg(e,t){this._context=e,this._k=(1-t)/6}yg.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:vg(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:vg(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var bg=(function e(t){function n(e){return new yg(e,t)}return n.tension=function(t){return e(+t)},n})(0);function xg(e,t){this._context=e,this._k=(1-t)/6}xg.prototype={areaStart:_g,areaEnd:_g,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:vg(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Sg=(function e(t){function n(e){return new xg(e,t)}return n.tension=function(t){return e(+t)},n})(0);function Cg(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>1e-12){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function wg(e,t){this._context=e,this._alpha=t}wg.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)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Cg(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Tg=(function e(t){function n(e){return t?new wg(e,t):new yg(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Eg(e,t){this._context=e,this._alpha=t}Eg.prototype={areaStart:_g,areaEnd:_g,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=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 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Cg(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Dg=(function e(t){function n(e){return t?new Eg(e,t):new xg(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function Og(e){this._context=e}Og.prototype={areaStart:_g,areaEnd:_g,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function kg(e){return new Og(e)}function Ag(e){this._context=e}Ag.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=jg(e),i=jg(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o])}(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function jg(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Mg(e){return new Ag(e)}var Ng={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{points:t,fill:i,color:a,linewidth:o,linetype:s,alpha:c,"translate-x":l=0,"translate-y":d=0,$raw:f,interpolate:p}of e.data){if(t=t.map(t=>(({h:e,v:t})=>({x:e,y:t}))(e.coord2pos(t))).filter(e=>e.x!=null&&e.y!=null),t.length===0)continue;let m=new Path2D,h=(typeof p==`function`?p:u[p]??Mg)(m);h.lineStart();for(let e=0;e<t.length;e++)h.point(t[e].x+l,t[e].y+d);h.lineEnd(),r.set(m,f),n.lineWidth=o,n.globalAlpha=c,n.setLineDash(gr(s)),i!==`none`&&(n.fillStyle=i,n.fill(m)),a!=null&&a!==`none`&&(n.strokeStyle=a,n.stroke(m))}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)});let u={cardinal:bg,cardinalClosed:Sg,catmullRom:Tg,catmullRomClosed:Dg,linear:pg,linearClosed:kg,natural:Mg};return(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}},Pg={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{cx:t,cy:i,A:a,B:o,C:s,fill:c,color:l,linewidth:u,linetype:d,alpha:f,"translate-x":p=0,"translate-y":m=0,$raw:h}of e.data){let g=Math.sqrt(s/(a*s-o*o)),_=Math.sqrt(a/(a*s-o*o)),{h:v,v:y}=e.coord2pos({x:t,y:i}),{h:b,v:x}=e.coord2pos({x:t-g,y:i-_}),{h:S,v:C}=e.coord2pos({x:t+g,y:i+_}),w=(S-b)/(2*g),T=(C-x)/(2*_);a/=w*w,o/=w*T,s/=T*T;let E=a+s,D=a*s-o*o,O=Math.sqrt(Math.max(0,E*E/4-D)),k=1/Math.sqrt(E/2+O),A=1/Math.sqrt(E/2-O),j=Math.atan2(2*o,a-s)/2,M=new Path2D;M.ellipse(v+p,y+m,k,A,j,0,2*Math.PI),r.set(M,h),n.lineWidth=u,n.globalAlpha=f,n.setLineDash(gr(d)),c!==`none`&&(n.fillStyle=c,n.fill(M)),l!=null&&l!==`none`&&(n.strokeStyle=l,n.stroke(M))}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});return R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)}),(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}},Fg={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{x:t,y:i,xend:a,yend:o,color:s=`black`,linewidth:c,alpha:l,linetype:u,"translate-x":d=0,"translate-y":f=0,$raw:p}of e.data){let{h:m,v:h}=e.coord2pos({x:t,y:i}),{h:g,v:_}=e.coord2pos({x:a,y:o}),v=new Path2D;v.moveTo(m+d,h+f),v.lineTo(g+d,_+f),r.set(v,p),n.lineWidth=c,n.globalAlpha=l,n.setLineDash(gr(u)),s!=null&&s!==`none`&&(n.strokeStyle=s,n.stroke(v))}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});return R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)}),(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}},Ig={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s={triangle:e=>`M0-${e*2/3}L${e*.577},${e/3}L-${e*.577},${e/3}Z`,diamond:e=>`M0-${e*.707}L${e*.707},0L0,${e*.707}L-${e*.707},0Z`,square:e=>`M-${e/2}-${e/2}H${e/2}V${e/2}H-${e/2}Z`,plus:e=>`M-${e/10}-${e/2}V-${e/10}H-${e/2}V${e/10}H-${e/10}V${e/2}H${e/10}V${e/10}H${e/2}V-${e/10}H${e/10}V-${e/2}H-${e/10}Z`,cross:e=>`M-${e*.283}-${e*.424}L-${e*.424}-${e*.283}L-${e*.141},0L-${e*.424},${e*.283}L-${e*.283},${e*.424}L0,${e*.141}L${e*.283},${e*.424}L${e*.424},${e*.283}L${e*.141},0L${e*.424},-${e*.283}L${e*.283},-${e*.424}L0,-${e*.141}Z`,arrowhead:e=>`M0,0L${e},${-e*.38}V${e*.38}Z`},c=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),l=L(`container`),u=n(()=>{if(l.value==null)return;let t=document.createElement(`canvas`);t.style.width=c.value.width+`px`,t.style.height=c.value.height+`px`,t.width=c.value.width*e.dpi/96,t.height=c.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{x:t,y:i,size:a=6,shape:o,color:c,stroke:l,linewidth:u,linetype:d,alpha:f,"translate-x":p=0,"translate-y":m=0,angle:h=0,$raw:g}of e.data){let{h:_,v}=e.coord2pos({x:t,y:i});if(typeof h==`object`){let{dx:n=0,dy:r=0}=h,{h:a,v:o}=e.coord2pos({x:t+n,y:i+r});h=Math.atan2(o-v,a-_)*180/Math.PI}let y=new Path2D;String(o).startsWith(`path:`)?y.addPath(new Path2D(o.slice(5)),new DOMMatrix().translateSelf(_+p,v+m).rotate(h)):o in s?y.addPath(new Path2D(s[o](a)),new DOMMatrix().translate(_+p,v+m).rotate(h)):y.arc(_+p,v+m,a/2,0,Math.PI*2),r.set(y,g),n.lineWidth=u,n.globalAlpha=f,n.beginPath(),c!==`none`&&(n.fillStyle=c,n.fill(y)),l!=null&&l!==`none`&&(n.strokeStyle=l,n.setLineDash(gr(d)),n.stroke(y))}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});return R(u,e=>l.value.replaceChildren(e)),t({dispatchEvent:e=>u.value?.dispatchEvent?.(e)}),(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},c.value,{ref:`container`}),null,16))}},Lg={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{points:t,fill:i,color:a,linewidth:o,linetype:s,alpha:c,"translate-x":l=0,"translate-y":u=0,$raw:d}of e.data){if(t=t.map(t=>(({h:e,v:t})=>({x:e,y:t}))(e.coord2pos(t))).filter(e=>e.x!=null&&e.y!=null),t.length===0)continue;let f=new Path2D;f.moveTo(t[0].x+l,t[0].y+u);for(let e=1;e<t.length;e++)f.lineTo(t[e].x+l,t[e].y+u);f.closePath(),r.set(f,d),n.lineWidth=o,n.globalAlpha=c,n.setLineDash(gr(s)),i!==`none`&&(n.fillStyle=i,n.fill(f)),a!=null&&a!==`none`&&(n.strokeStyle=a,n.stroke(f))}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});return R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)}),(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}},Rg={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{xmin:t,xmax:i,ymin:a,ymax:o,fill:s,color:c,linewidth:l,linetype:u,alpha:d,"translate-x":f=0,"translate-y":p=0,$raw:m}of e.data){let{hmin:h,hmax:g,vmin:_,vmax:v}=e.coord2pos({xmin:t,xmax:i,ymin:a,ymax:o}),y=new Path2D;y.rect(h+f,_+p,g-h,v-_),r.set(y,m),n.lineWidth=l,n.globalAlpha=d,n.setLineDash(gr(u)),s!==`none`&&(n.fillStyle=s,n.fill(y)),c!==`none`&&c!=null&&(n.strokeStyle=c,n.stroke(y))}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});return R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)}),(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}},zg={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{x:t,y:r,color:i,size:a=4,label:o=``,title:s,stroke:c,linewidth:l,linetype:u,alpha:d,"anchor-x":f,"anchor-y":p,"dock-x":m,"dock-y":h,"translate-x":g=0,"translate-y":_=0,angle:v,"text-length":y,"font-family":b=`sans-serif`,$raw:x}of e.data){n.save();let{h:s,v:x}=e.coord2pos({x:t,y:r});n.textAlign=`center`,n.textBaseline=`middle`,n.lineWidth=l,n.globalAlpha=d,n.font=`${a*4}px ${b}`,n.setLineDash(gr(u)),n.translate(s+g,x+_);let{width:S,fontBoundingBoxAscent:C,fontBoundingBoxDescent:w}=n.measureText(o),T=S,E=C+w;if(typeof y==`object`){let{x:n=0,y:i=0}=y,{h:a,v:o}=e.coord2pos({x:t+n/2,y:r+i/2}),{h:s,v:c}=e.coord2pos({x:t-n/2,y:r-i/2});T=Math.hypot(a-s||0,o-c||0)}else y!=null&&(T=y);if(typeof v==`object`){let{dx:n=0,dy:i=0}=v,{h:a,v:o}=e.coord2pos({x:t+n,y:r+i});v=Math.atan2(o-x,a-s)*180/Math.PI}if(m!=null||h!=null){let e={left:0,center:.5,right:1}[m]??+(m??.5),t={bottom:0,center:.5,top:1}[h]??+(h??.5);isNaN(e)&&(e=.5),isNaN(t)&&(t=.5);let r=T*Math.abs(Math.cos(v*Math.PI/180))+E*Math.abs(Math.sin(v*Math.PI/180)),i=T*Math.abs(Math.sin(v*Math.PI/180))+E*Math.abs(Math.cos(v*Math.PI/180));n.translate(r*(.5-e),i*(t-.5)),n.rotate(v*Math.PI/180)}else{let e={left:0,center:.5,right:1}[f]??+(f??.5),t={bottom:0,center:.5,top:1}[p]??+(p??.5);isNaN(e)&&(e=.5),isNaN(t)&&(t=.5);let r=T,i=E;n.rotate(v*Math.PI/180),n.translate(r*(.5-e),i*(t-.5))}T!=S&&n.scale(T/S,1),i!==`none`&&(n.fillStyle=i,n.fillText(o,0,0)),c!=null&&c!==`none`&&(n.strokeStyle=c,n.strokeText(o,0,0)),n.restore()}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});return R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)}),(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}},Bg={__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(e,{expose:t,emit:r}){let i=[`click`,`contextmenu`,`singleclick`,`dblclick`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],o=r,s=n(()=>({width:e.layout.fullWidth*(1+e.extendX*2),height:e.layout.fullHeight*(1+e.extendY*2),x:-e.layout.l-e.layout.fullWidth*e.extendX,y:-e.layout.t-e.layout.fullHeight*e.extendY})),c=L(`container`),l=n(()=>{if(c.value==null)return;let t=document.createElement(`canvas`);t.style.width=s.value.width+`px`,t.style.height=s.value.height+`px`,t.width=s.value.width*e.dpi/96,t.height=s.value.height*e.dpi/96;let n=t.getContext(`2d`);n.clearRect(0,0,t.width,t.height),n.scale(e.dpi/96,e.dpi/96),n.translate(e.layout.l+e.layout.fullWidth*e.extendX,e.layout.t+e.layout.fullHeight*e.extendY);let r=/* @__PURE__ */ new Map,a=/* @__PURE__ */ new Map;for(let{x:t,xend:r,y:i,yend:a,size:o=4,label:s=``,title:c,color:l,stroke:d,linewidth:f,linetype:p,alpha:m,"translate-x":h=0,"translate-y":g=0,"text-length":_,"font-family":v=`sans-serif`,"text-align":y=`justify`,angle:b=`auto`,inset:x=0,$raw:S}of e.data){let{h:c,v:_}=e.coord2pos({x:t,y:i}),{h:S,v:C}=e.coord2pos({x:r,y:a});if(n.save(),n.translate(h,g),n.textBaseline=`middle`,n.lineWidth=f,n.globalAlpha=m,n.font=`${o*4}px ${v}`,n.setLineDash(gr(p)),[`stretch`,`pre`,`start`,`center`,`end`,`post`].includes(y)){let e=Math.atan2(C-_,S-c),t=String(s).replace(/\x01|\x02/g,``),r=Math.cos(e)*x,i=Math.sin(e)*x;switch(y){case`stretch`:case`center`:n.translate((c+S)/2,(_+C)/2),n.textAlign=`center`;break;case`pre`:n.translate(c-r,_-i),n.textAlign=`end`;break;case`start`:n.translate(c+r,_+i),n.textAlign=`start`;break;case`end`:n.translate(S-r,C-i),n.textAlign=`end`;break;case`post`:n.translate(S+r,C+i),n.textAlign=`start`}n.rotate(e),y===`stretch`&&n.scale(Math.hypot(S-c||0,C-_||0)/n.measureText(t).width,1),l!==`none`&&(n.fillStyle=l,n.fillText(t,0,0)),d!=null&&d!==`none`&&(n.strokeStyle=d,n.strokeText(t,0,0))}else{let e=b===`auto`?Math.atan2(C-_,S-c):b*Math.PI/180;n.textAlign=`center`;let t=u(String(s)),r=(S-c)/(t.length-1||1),i=(C-_)/(t.length-1||1);for(let a=0;a<t.length;a++){n.save(),n.translate(c+a*r,_+a*i),n.rotate(e);let o=t[a];l!==`none`&&(n.fillStyle=l,n.fillText(o,0,0)),d!=null&&d!==`none`&&(n.strokeStyle=d,n.strokeText(o,0,0)),n.restore()}}n.restore()}for(let e of Array.from(r.keys()).reverse())a.set(e,r.get(e));for(let r of i)t.addEventListener(r,function(i){if(i._vhandled)return;let s=t.getBoundingClientRect(),c=(i.clientX-s.left)*t.width/s.width,l=(i.clientY-s.top)*t.height/s.height;for(let[t,s]of a)if(n.isPointInPath(t,c,l)){o(r,i,e.getCoord(i),s),i._vhandled=!0;break}});return t});R(l,e=>c.value.replaceChildren(e)),t({dispatchEvent:e=>l.value?.dispatchEvent?.(e)});function u(e){let t=[];for(let n=0;n<e.length;n++)if(e[n]==``){let r=n+1;for(;r<e.length&&e[r]!=``;)r++;t.push(e.slice(n+1,r)),n=r}else t.push(e[n]);return t}return(e,t)=>(C(),a(`foreignObject`,_({class:`vvplot-layer`},s.value,{ref:`container`}),null,16))}},Vg=/* @__PURE__ */ ue({boxplot:()=>eg,curve:()=>Ng,ellipse:()=>Pg,line:()=>Fg,point:()=>Ig,polygon:()=>Lg,rect:()=>Rg,shape:()=>Ng,stick:()=>Fg,text:()=>zg,textsegment:()=>Bg,tile:()=>Rg}),Hg={class:`vvplot-layer`},Ug={__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(e,{emit:t}){return(e,t)=>(C(),a(`g`,Hg))}},Wg={key:0},Gg={__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(e){let t=n(()=>({x:e.x-e.width/2,y:e.y-e.height/2,width:e.width,height:e.height,color:e.color||null,fill:e.fill||null,"fill-opacity":e.alpha==1?null:e.alpha,stroke:e.color||null,"stroke-width":e.linewidth,"stroke-opacity":e.alpha==1?null:e.alpha,"stroke-dasharray":gr(e.linetype).join(` `)||null,transform:e.translateX||e.translateY?`translate(${e.translateX}, ${e.translateY})`:null}));return(n,r)=>(C(),a(`rect`,y(f(t.value)),[e.title?(C(),a(`title`,Wg,M(e.title),1)):i(``,!0)],16))}},Kg={key:0},qg={key:0},Jg={__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(e){let t={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`},r=n(()=>{let n=e.shape?.startsWith?.(`path:`)?e.shape?.slice?.(5):t[e.shape],r={color:e.color||null,fill:e.color||null,"fill-opacity":e.alpha==1?null:e.alpha,stroke:e.stroke||null,"stroke-opacity":e.alpha==1?null:e.alpha,"stroke-dasharray":gr(e.linetype).join(` `)||null};if(n!=null){let t=[],i=e.x+e.translateX,a=e.y+e.translateY;(i!==0||a!==0)&&t.push(`translate(${i},${a})`),e.size!=1&&t.push(`scale(${e.size})`),e.angle&&t.push(`rotate(${e.angle})`),Object.assign(r,{d:n,transform:t.join(` `)||null,"stroke-width":e.linewidth/e.size})}else{let t=e.translateX||e.translateY?`translate(${e.translateX}, ${e.translateY})`:null;Object.assign(r,{cx:e.x,cy:e.y,r:e.size/2,transform:t,"stroke-width":e.linewidth})}return r});return(t,n)=>r.value.d?(C(),a(`path`,y(_({key:0},r.value)),[e.title?(C(),a(`title`,Kg,M(e.title),1)):i(``,!0)],16)):(C(),a(`circle`,y(_({key:1},r.value)),[e.title?(C(),a(`title`,qg,M(e.title),1)):i(``,!0)],16))}},Yg={key:0},Xg={__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(e){let t=n(()=>({x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,color:e.color||null,stroke:e.color||null,"stroke-width":e.linewidth,"stroke-opacity":e.alpha==1?null:e.alpha,"stroke-dasharray":gr(e.linetype).join(` `)||null,transform:e.translateX||e.translateY?`translate(${e.translateX}, ${e.translateY})`:null}));return(n,r)=>(C(),a(`line`,y(f(t.value)),[e.title?(C(),a(`title`,Yg,M(e.title),1)):i(``,!0)],16))}},Zg={class:`vvplot-layer`},Qg={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,u=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({x:a,xmin:c,xmax:l,y:u,ymin:d,ymax:f,lwisker:p,Q1:m,median:h,Q3:g,uwisker:_,outliers:v,$xmin:y,$xmax:b,$ymin:x,$ymax:S,fill:C=`white`,color:w=`black`,linewidth:T,linetype:E,alpha:D,title:O,"translate-x":k=0,"translate-y":A=0,class:j,style:M,$raw:N})=>{let{hmin:P,hmax:F,vmin:ee,vmax:I}=t.coord2pos({xmin:y,xmax:b,ymin:x,ymax:S});if(P<e&&F<e||P>n&&F>n||ee<r&&I<r||ee>i&&I>i)return null;let{hmin:te,hmax:ne,vmin:L,vmax:R}=t.coord2pos(a==null?{ymin:d,ymax:f,xmin:m,xmax:g}:{xmin:c,xmax:l,ymin:m,ymax:g}),{h:z,v:B}=t.coord2pos(a==null?{y:u,x:p}:{x:a,y:p}),{h:re,v:ie}=t.coord2pos(a==null?{y:u,x:_}:{x:a,y:_}),{h:ae,v:oe}=t.coord2pos(a==null?{y:d,x:h}:{x:c,y:h}),{h:V,v:se}=t.coord2pos(a==null?{y:f,x:h}:{x:l,y:h}),{h:ce,v:le}=t.coord2pos(a==null?{y:d*.25+f*.75,x:_}:{x:c*.25+l*.75,y:_}),{h:ue,v:de}=t.coord2pos(a==null?{y:d*.75+f*.25,x:_}:{x:c*.75+l*.25,y:_}),{h:fe,v:pe}=t.coord2pos(a==null?{y:d*.25+f*.75,x:p}:{x:c*.25+l*.75,y:p}),{h:me,v:he}=t.coord2pos(a==null?{y:d*.75+f*.25,x:p}:{x:c*.75+l*.25,y:p});return[{rect:{x:(te+ne)/2,width:ne-te,y:(L+R)/2,height:R-L,fill:C,color:w,linetype:E,linewidth:T,alpha:D,title:O,translateX:k,translateY:A,class:j,style:M},line:{x1:z,y1:B,x2:re,y2:ie,color:w,linetype:E,linewidth:T,alpha:D,translateX:k,translateY:A,class:j,style:M},midline:{x1:ae,y1:oe,x2:V,y2:se,color:w,linetype:E,linewidth:(T??1)*2,alpha:D,translateX:k,translateY:A,class:j,style:M},uwisker:{x1:ce,y1:le,x2:ue,y2:de,color:w,linetype:E,linewidth:T,alpha:D,translateX:k,translateY:A,class:j,style:M},lwisker:{x1:fe,y1:pe,x2:me,y2:he,color:w,linetype:E,linewidth:T,alpha:D,translateX:k,translateY:A,class:j,style:M},outliers:v?.map(({x:e,y:n,$raw:r})=>{let{h:i,v:a}=t.coord2pos({x:e,y:n});return[{x:i,y:a,shape:`circle`,size:4,color:w,alpha:D,translateX:k,translateY:A,class:j,style:M},Object.fromEntries(o.map(e=>[e,t=>s(e,t,r)]))]})},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),N)]))]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,Zg,[(C(!0),a(e,null,D(u.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([t,n])=>(C(),a(`g`,null,[l(Xg,_({ref_for:!0},t.line),null,16),i[0]||=c(),l(Gg,_({ref_for:!0},t.rect,N(n)),null,16),i[1]||=c(),l(Xg,_({ref_for:!0},t.midline),null,16),i[2]||=c(),l(Xg,_({ref_for:!0},t.uwisker),null,16),i[3]||=c(),l(Xg,_({ref_for:!0},t.lwisker),null,16),i[4]||=c(),(C(!0),a(e,null,D(t.outliers,([e,t])=>(C(),r(Jg,_({ref_for:!0},e,N(t)),null,16))),256))]))),256))],16))),256))]))}},$g={key:0},e_={__name:`CoreCurve`,props:{points:{type:Array,default:()=>[]},interpolate:{default:`natural`},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(e){let t=n(()=>{let t=typeof e.interpolate==`function`?e.interpolate:r[e.interpolate]??Mg;return{d:gg().curve(t)(e.points.map(e=>[e.x,e.y])),color:e.color||null,fill:e.fill||null,"fill-opacity":e.alpha==1?null:e.alpha,stroke:e.color||null,"stroke-width":e.linewidth,"stroke-opacity":e.alpha==1?null:e.alpha,"stroke-dasharray":gr(e.linetype).join(` `)||null,transform:e.translateX||e.translateY?`translate(${e.translateX}, ${e.translateY})`:null}}),r={cardinal:bg,cardinalClosed:Sg,catmullRom:Tg,catmullRomClosed:Dg,linear:pg,linearClosed:kg,natural:Mg};return(n,r)=>(C(),a(`path`,y(f(t.value)),[e.title?(C(),a(`title`,$g,M(e.title),1)):i(``,!0)],16))}},t_={class:`vvplot-layer vvplot-layer-curve`},n_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({points:a,fill:c,color:l,linewidth:u,linetype:d,alpha:f,title:p,"translate-x":m=0,"translate-y":h=0,"marker-start":g,"marker-end":_,class:v,style:y,$raw:b,interpolate:x})=>(a=a.map(e=>(({h:e,v:t})=>({x:e,y:t}))(t.coord2pos(e))),a.every(t=>t.x<e)||a.every(e=>e.x>n)||a.every(e=>e.y<r)||a.every(e=>e.y>i)?null:[{points:a,fill:c,color:l,linetype:d,linewidth:u,alpha:f,title:p,translateX:m,translateY:h,"marker-start":g,"marker-end":_,class:v,style:y,interpolate:x},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),b)]))])).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,t_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(e_,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},r_={key:0},i_={__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(e){let t=n(()=>{let t=[];return(e.translateX||e.translateY)&&t.push(`translate(${e.translateX}, ${e.translateY})`),e.angle&&t.push(`rotate(${e.angle})`),{cx:e.cx,cy:e.cy,rx:e.rx,ry:e.ry,color:e.color||null,fill:e.fill||null,"fill-opacity":e.alpha==1?null:e.alpha,stroke:e.color||null,"stroke-width":e.linewidth,"stroke-opacity":e.alpha==1?null:e.alpha,"stroke-dasharray":gr(e.linetype).join(` `)||null,transform:t.join(` `)||null,"transform-origin":`${e.cx} ${e.cy}`}});return(n,r)=>(C(),a(`ellipse`,y(f(t.value)),[e.title?(C(),a(`title`,r_,M(e.title),1)):i(``,!0)],16))}},a_={class:`vvplot-layer vvplot-layer-ellipse`},o_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({cx:a,cy:c,A:l,B:u,C:d,fill:f,color:p,linewidth:m,linetype:h,alpha:g,title:_,"translate-x":v=0,"translate-y":y=0,class:b,style:x,$raw:S})=>{let C=Math.sqrt(d/(l*d-u*u)),w=Math.sqrt(l/(l*d-u*u)),{h:T,v:E}=t.coord2pos({x:a,y:c}),{h:D,v:O}=t.coord2pos({x:a-C,y:c-w}),{h:k,v:A}=t.coord2pos({x:a+C,y:c+w});if(D<e&&k<e||k>n&&D>n||O<r&&A<r||A>i&&O>i)return null;let j=(k-D)/(2*C),M=(A-O)/(2*w);l/=j*j,u/=j*M,d/=M*M;let N=l+d,P=l*d-u*u,F=Math.sqrt(Math.max(0,N*N/4-P));return[{cx:T,cy:E,rx:1/Math.sqrt(N/2+F)||0,ry:1/Math.sqrt(N/2-F)||0,angle:Math.atan2(2*u,l-d)/2*180/Math.PI||0,fill:f,color:p,linetype:h,linewidth:m,alpha:g,title:_,translateX:v,translateY:y,class:b,style:x},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),S)]))]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,a_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(i_,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},s_={class:`vvplot-layer vvplot-layer-line`},c_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({x:a,y:c,xend:l,yend:u,color:d=`black`,linewidth:f,linetype:p,alpha:m,title:h,"translate-x":g=0,"translate-y":_=0,"marker-start":v,"marker-end":y,class:b,style:x,$raw:S})=>{let{h:C,v:w}=t.coord2pos({x:a,y:c}),{h:T,v:E}=t.coord2pos({x:l,y:u});return C<e&&T<e||C>n&&T>n||w<r&&E<r||w>i&&E>i?null:[{x1:C,x2:T,y1:w,y2:E,color:d,linetype:p,linewidth:f,alpha:m,title:h,translateX:g,translateY:_,"marker-start":v,"marker-end":y,class:b,style:x},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),S)]))]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,s_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(Xg,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},l_={class:`vvplot-layer`},u_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({x:a,y:c,size:l=4,label:u,title:d,color:f,stroke:p,linewidth:m,linetype:h,alpha:g,"anchor-x":_,"anchor-y":v,"dock-x":y,"dock-y":b,"translate-x":x=0,"translate-y":S=0,angle:C,"text-length":w,"font-family":T=`sans-serif`,"text-anchor":E,class:D,style:O,$raw:k})=>{if(u==null)return null;let{h:A,v:j}=t.coord2pos({x:a,y:c});if(A<e||A>n||j<r||j>i)return null;if(typeof w==`object`){let{x:e=0,y:n=0}=w,{h:r,v:i}=t.coord2pos({x:a+e/2,y:c+n/2}),{h:o,v:s}=t.coord2pos({x:a-e/2,y:c-n/2});w=Math.hypot(r-o||0,i-s||0)}if(typeof C==`object`){let{dx:e=0,dy:n=0}=C,{h:r,v:i}=t.coord2pos({x:a+e,y:c+n});C=Math.atan2(i-j,r-A)*180/Math.PI}return[{x:A,y:j,text:String(u),title:String(d??u),size:l,color:f,stroke:p,linetype:h,linewidth:m,alpha:g,angle:C,translateX:x,translateY:S,class:D,style:O,anchorX:_,anchorY:v,dockX:y,dockY:b,textLength:w,fontFamily:T,textAnchor:E},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),k)]))]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,l_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(Fh,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},d_={class:`vvplot-layer`},f_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({x:a,xend:c,y:l,yend:u,size:d=4,label:f,title:p,color:m,stroke:h,linewidth:g,linetype:_,alpha:v,"translate-x":y=0,"translate-y":b=0,"anchor-x":x,"anchor-y":S=.5,"font-family":C=`sans-serif`,"text-align":w=`start`,inset:T=0,class:E,style:D,$raw:O})=>{if(f==null)return null;let{h:k,v:A}=t.coord2pos({x:a,y:l}),{h:j,v:M}=t.coord2pos({x:c,y:u});if(k<e&&j<e||k>n&&j>n||A<r&&M<r||A>i&&M>i)return null;let N=Math.atan2(M-A,j-k),P={text:String(f),title:String(p??f),color:m,alpha:v,size:d,stroke:h,linewidth:g,linetype:_,fontFamily:C,class:E,style:D},F=Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),O)])),ee,I;switch(w){case`stretch`:ee=(k+j)/2,I=(A+M)/2,x=.5,P.textLength=Math.hypot(j-k||0,M-A||0);break;case`center`:ee=(k+j)/2,I=(A+M)/2,x??=.5;break;case`pre`:ee=k,I=A,y-=Math.cos(N)*T,b-=Math.sin(N)*T,x??=1;break;case`end`:ee=j,I=M,y-=Math.cos(N)*T,b-=Math.sin(N)*T,x??=1;break;case`post`:ee=j,I=M,y+=Math.cos(N)*T,b+=Math.sin(N)*T,x??=0;break;default:ee=k,I=A,y+=Math.cos(N)*T,b+=Math.sin(N)*T,x??=0}return Object.assign(P,{x:ee,y:I,translateX:y,translateY:b,anchorX:x,anchorY:S,angle:N*180/Math.PI}),[P,F]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,d_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(Fh,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},p_={class:`vvplot-layer`},m_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({x:a,y:c,shape:l,size:u=6,color:d,stroke:f,linetype:p,linewidth:m,alpha:h,title:g,"translate-x":_=0,"translate-y":v=0,angle:y,class:b,style:x,$raw:S})=>{let{h:C,v:w}=t.coord2pos({x:a,y:c});if(C<e||C>n||w<r||w>i)return null;if(typeof y==`object`){let{dx:e=0,dy:n=0}=y,{h:r,v:i}=t.coord2pos({x:a+e,y:c+n});y=Math.atan2(i-w,r-C)*180/Math.PI}return[{x:C,y:w,shape:l,size:u,color:d,stroke:f,linetype:p,linewidth:m,alpha:h,title:g,angle:y,translateX:_,translateY:v,class:b,style:x},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),S)]))]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,p_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(Jg,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},h_={key:0},g_={__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(e){let t=n(()=>({points:e.points.map(e=>`${e.x},${e.y}`).join(` `),color:e.color||null,fill:e.fill||null,"fill-opacity":e.alpha==1?null:e.alpha,stroke:e.color||null,"stroke-width":e.linewidth,"stroke-opacity":e.alpha==1?null:e.alpha,"stroke-dasharray":gr(e.linetype).join(` `)||null,transform:e.translateX||e.translateY?`translate(${e.translateX}, ${e.translateY})`:null}));return(n,r)=>(C(),a(`polygon`,y(f(t.value)),[e.title?(C(),a(`title`,h_,M(e.title),1)):i(``,!0)],16))}},__={class:`vvplot-layer`},v_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({points:a,fill:c,color:l,linewidth:u,linetype:d,alpha:f,title:p,"translate-x":m=0,"translate-y":h=0,"marker-start":g,"marker-mid":_,"marker-end":v,class:y,style:b,$raw:x})=>(a=a.map(e=>(({h:e,v:t})=>({x:e,y:t}))(t.coord2pos(e))),a.every(t=>t.x<e)||a.every(e=>e.x>n)||a.every(e=>e.y<r)||a.every(e=>e.y>i)?null:[{points:a,fill:c,color:l,linewidth:u,linetype:d,alpha:f,title:p,translateX:m,translateY:h,"marker-start":g,"marker-mid":_,"marker-end":v,class:y,style:b},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),x)]))])).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,__,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(g_,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},y_={class:`vvplot-layer`},b_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({xmin:a,xmax:c,ymin:l,ymax:u,fill:d,color:f,linewidth:p,linetype:m,alpha:h,title:g,"translate-x":_=0,"translate-y":v=0,class:y,style:b,$raw:x})=>{let{hmin:S,hmax:C,vmin:w,vmax:T}=t.coord2pos({xmin:a,xmax:c,ymin:l,ymax:u});return S<e&&C<e||S>n&&C>n||w<r&&T<r||w>i&&T>i?null:[{x:(S+C)/2,width:C-S,y:(w+T)/2,height:T-w,fill:d,color:f,linetype:m,linewidth:p,alpha:h,title:g,translateX:_,translateY:v,class:y,style:b},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),x)]))]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,y_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(Gg,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},x_={class:`vvplot-layer`},S_={__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:i}){let o=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],s=i,c=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({x:a,y:c,size:l=4,label:u,title:d,color:f,stroke:p,linewidth:m,linetype:h,alpha:g,"anchor-x":_,"anchor-y":v,"dock-x":y,"dock-y":b,"translate-x":x=0,"translate-y":S=0,angle:C,"text-length":w,"font-family":T,"text-anchor":E,class:D,style:O,$raw:k})=>{if(u==null)return null;let{h:A,v:j}=t.coord2pos({x:a,y:c});if(A<e||A>n||j<r||j>i)return null;if(typeof w==`object`){let{x:e=0,y:n=0}=w,{h:r,v:i}=t.coord2pos({x:a+e/2,y:c+n/2}),{h:o,v:s}=t.coord2pos({x:a-e/2,y:c-n/2});w=Math.hypot(r-o||0,i-s||0)}if(typeof C==`object`){let{dx:e=0,dy:n=0}=C,{h:r,v:i}=t.coord2pos({x:a+e,y:c+n});C=Math.atan2(i-j,r-A)*180/Math.PI}return[{x:A,y:j,text:String(u),title:String(d??u),size:l,color:f,stroke:p,linetype:h,linewidth:m,alpha:g,angle:C,translateX:x,translateY:S,class:D,style:O,anchorX:_,anchorY:v,dockX:y,dockY:b,textLength:w,fontFamily:T,textAnchor:E},Object.fromEntries(o.map(e=>[e,n=>s(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),k)]))]}).filter(e=>e!=null))});return(n,i)=>(C(),a(`g`,x_,[(C(!0),a(e,null,D(c.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([e,t])=>(C(),r(Xs,_({ref_for:!0},e,N(t)),null,16))),256))],16))),256))]))}},C_={class:`vvplot-layer`},w_={__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:r}){let s=[`click`,`contextmenu`,`singleclick`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`pointerdown`,`pointerup`,`wheel`],l=r,u=n(()=>{let e=-t.layout.fullWidth*t.extendX-t.layout.l,n=t.layout.fullWidth*(1+t.extendX)-t.layout.l,r=-t.layout.fullHeight*t.extendY-t.layout.t,i=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,e=>e.$group)).map(a=>a.map(({x:a,xend:o,y:c,yend:u,size:f=4,label:p,title:m,color:h,stroke:g,linewidth:_,linetype:v,alpha:y,"translate-x":b=0,"translate-y":x=0,"font-family":S=`sans-serif`,"text-align":C=`justify`,angle:w=`auto`,inset:T=0,class:E,style:D,$raw:O})=>{if(p==null)return null;let{h:k,v:A}=t.coord2pos({x:a,y:c}),{h:j,v:M}=t.coord2pos({x:o,y:u});if(k<e&&j<e||k>n&&j>n||A<r&&M<r||A>i&&M>i)return null;let N={color:h||null,fill:h||null,"fill-opacity":y==1?null:y,"font-size":f*4,stroke:g||null,"stroke-width":_,"stroke-dasharray":gr(v).join(` `)||null,"stroke-opacity":y==1?null:y,"font-family":S,class:E,style:D},P=Object.fromEntries(s.map(e=>[e,n=>l(e,Object.assign(n,{_vhandled:!0}),t.getCoord(n),O)]));if([`stretch`,`pre`,`start`,`center`,`end`,`post`].includes(C)){let e=Math.atan2(M-A,j-k),t,n,r=String(p).replace(/\x01|\x02/g,``),i=Math.cos(e)*T,a=Math.sin(e)*T;switch(C){case`stretch`:t=(k+j)/2,n=(A+M)/2,N[`text-anchor`]=`middle`,N.textLength=Math.hypot(j-k||0,M-A||0),N.lengthAdjust=`spacingAndGlyphs`;break;case`center`:t=(k+j)/2,n=(A+M)/2,N[`text-anchor`]=`middle`;break;case`pre`:t=k,n=A,b-=i,x-=a,N[`text-anchor`]=`end`;break;case`start`:t=k,n=A,b+=i,x+=a,N[`text-anchor`]=`start`;break;case`end`:t=j,n=M,b-=i,x-=a,N[`text-anchor`]=`end`;break;case`post`:t=j,n=M,b+=i,x+=a,N[`text-anchor`]=`start`}let o=[];return(b||x)&&o.push(`translate(${b}, ${x})`),e&&o.push(`rotate(${e*180/Math.PI})`),Object.assign(N,{x:t,y:n,"dominant-baseline":`central`,"transform-origin":`${t} ${n}`,transform:o.join(` `)||null}),[N,P,r,String(m??String(p).replace(/\x01|\x02/g,``))]}{w===`auto`&&(w=Math.atan2(M-A,j-k)*180/Math.PI);let e=d(String(p)),t=(j-k)/(e.length-1||1),n=(M-A)/(e.length-1||1),r=e.map((e,r)=>[{x:k+r*t,y:A+r*n,"text-anchor":`middle`,"dominant-baseline":`central`,rotate:w},e]);return(b||x)&&(N.transform=`translate(${b}, ${x})`),[N,P,r,String(m??String(p).replace(/\x01|\x02/g,``))]}}).filter(e=>e!=null))});function d(e){let t=[];for(let n=0;n<e.length;n++)if(e[n]==``){let r=n+1;for(;r<e.length&&e[r]!=``;)r++;t.push(e.slice(n+1,r)),n=r}else t.push(e[n]);return t}return(n,r)=>(C(),a(`g`,C_,[(C(!0),a(e,null,D(u.value,n=>(C(),a(`g`,_({class:`vvplot-group`},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(C(!0),a(e,null,D(n,([t,n,s,l])=>(C(),a(`text`,_({ref_for:!0},t,N(n,!0)),[o(`title`,null,M(l),1),r[0]||=c(),typeof s==`string`?(C(),a(e,{key:0},[c(M(s.replace(/ /g,`\xA0`)),1)],64)):(C(!0),a(e,{key:1},D(s,([t,n])=>(C(),a(e,null,[n?(C(),a(`tspan`,_({key:0,ref_for:!0},t),M(n),17)):i(``,!0)],64))),256))],16))),256))],16))),256))]))}},T_=/* @__PURE__ */ ue({blank:()=>Ug,boxplot:()=>Qg,curve:()=>n_,ellipse:()=>o_,line:()=>c_,markdown:()=>u_,markdownsegment:()=>f_,point:()=>m_,polygon:()=>v_,rect:()=>b_,shape:()=>n_,stick:()=>c_,text:()=>S_,textsegment:()=>w_,tile:()=>b_}),E_={__name:`CoreLayer`,props:{data:Object,geom:String,render:String,defaultRender:{type:String,default:`auto`},dpi:Number,defaultDpi:Number},setup(e,{expose:t}){let i={svg:T_,canvas:Vg},a=n(()=>{let t=e.render??e.defaultRender;return t==`auto`?e.data.map(e=>e.length).reduce((e,t)=>e+t,0)>1e3?`canvas`:`svg`:i[t][e.geom]==null?`svg`:t}),o=L(`layer`),s=n(()=>a.value==`canvas`?`pointer-events: none;`:``);t({render:a,dispatchEvent:e=>o.value?.dispatchEvent?.(e)});let c=n(()=>a.value===`canvas`?e.dpi??e.defaultDpi:void 0);return(t,n)=>(C(),r(k(i[a.value][e.geom]),{ref_key:`layer`,ref:o,style:b(s.value),data:e.data,dpi:c.value},null,8,[`style`,`data`,`dpi`]))}},D_={key:0},O_=[`onPointerdown`],k_={__name:`CoreSelection`,props:/*@__PURE__*/ g({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:/*@__PURE__*/ g([`select`,`selecting`,`selectend`,`click`,`contextmenu`],[`update:modelValue`]),setup(t,{emit:r}){let l=te(t,`modelValue`),u=s(t,[`coord2pos`,`pos2coord`,`layout`,`theme`,`flip`,`activeTransform`,`transition`]);function d({xmin:e,xmax:t,ymin:n,ymax:r,xreverse:i=!1,yreverse:a=!1}={}){if([e,t,n,r].every(e=>e==null))return null;e!=null&&t!=null&&e>t&&([e,t,i]=[t,e,!i]),n!=null&&r!=null&&n>r&&([n,r,a]=[r,n,!a]);let o={xreverse:i,yreverse:a};return e!=null&&isFinite(e)&&(o.xmin=e),t!=null&&isFinite(t)&&(o.xmax=t),n!=null&&isFinite(n)&&(o.ymin=n),r!=null&&isFinite(r)&&(o.ymax=r),o}let p=n(()=>{if(l.value==null||l.value.hidden)return null;let e=d(l.value);if(e==null)return null;let{hmin:n,hmax:r,vmin:i,vmax:a}=t.coord2pos(e,{limited:!0});return{hmin:n,hmax:r,vmin:i,vmax:a,pos:t.coord2pos(e)}}),m=n(()=>{if(!p.value)return null;let{translateH:e,translateV:n,scaleH:r,scaleV:i}=t.activeTransform,{hmin:a,hmax:o,vmin:s,vmax:c,pos:l}=p.value,u=o-a,d=c-s,f=t.layout.left,m=t.layout.top,h=1,g=1;if(l.hmin!=null&&l.hmax!=null)f+=e,h=r;else if(l.hmin!=null){let t=e+a*(r-1);h=1-t/u,f+=t*(1+a/u)}else if(l.hmax!=null){let t=e+o*(r-1);h=1+t/u,f+=t*(1-o/u)}if(l.vmin!=null&&l.vmax!=null)m+=t.activeTransform.translateV,g=t.activeTransform.scaleV;else if(l.vmin!=null){let e=n+s*(i-1);g=1-e/d,m+=e*(1+s/d)}else if(l.vmax!=null){let e=n+c*(i-1);g=1+e/d,m+=e*(1-c/d)}let _=[];return(f!=0||m!=0)&&_.push(`translate(${f}, ${m})`),(h!=1||g!=1)&&_.push(`scale(${h}, ${g})`),_.join(` `)||null}),h=n(()=>{if(!p.value)return null;let{hmin:e,hmax:n,vmin:r,vmax:i,pos:a}=p.value,o=t.theme?.line_width??1;a.hmin??(e-=o/2),a.hmax??(n+=o/2),a.vmin??(r-=o/2),a.vmax??(i+=o/2);let s=Math.max(0,n-e),c=Math.max(0,i-r);return{x:e,y:r,width:s,height:c,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:m.value,style:{transition:t.transition,"pointer-events":`none`}}}),g=n(()=>{if(!p.value)return null;let{hmin:e,hmax:n,vmin:r,vmax:i,pos:a}=p.value,o=Math.max(0,n-e),s=Math.max(0,i-r),c={};u.move&&(c.tblr={x:e,y:r,width:o,height:s,fill:`transparent`,style:`cursor:move;`}),u.resize&&(a.hmin!=null&&(c.l={x:e-5,y:r,width:10,height:s,style:`cursor:ew-resize;`}),a.hmax!=null&&(c.r={x:n-5,y:r,width:10,height:s,style:`cursor:ew-resize;`}),a.vmin!=null&&(c.t={x:e,y:r-5,width:o,height:10,style:`cursor:ns-resize;`}),a.vmax!=null&&(c.b={x:e,y:i-5,width:o,height:10,style:`cursor:ns-resize;`}),a.hmin!=null&&a.vmin!=null&&(c.tl={x:e-5,y:r-5,width:10,height:10,style:`cursor:nwse-resize;`}),a.hmax!=null&&a.vmin!=null&&(c.tr={x:n-5,y:r-5,width:10,height:10,style:`cursor:nesw-resize;`}),a.hmin!=null&&a.vmax!=null&&(c.bl={x:e-5,y:i-5,width:10,height:10,style:`cursor:nesw-resize;`}),a.hmax!=null&&a.vmax!=null&&(c.br={x:n-5,y:i-5,width:10,height:10,style:`cursor:nwse-resize;`}));let l=t.layout.left,d=t.layout.top;if(l||d)for(let e in c)c[e].transform=`translate(${l}, ${d})`;return c}),v=r;function b(e,n){if(!n||![`buttons`,`ctrlKey`,`shiftKey`,`altKey`,`metaKey`].every(t=>u[t]==e[t]))return;e.stopPropagation(),e.preventDefault(),e.target.setPointerCapture(e.pointerId);let{xreverse:r,yreverse:i,...a}=d(l.value),o=t.coord2pos(a),{h:s,v:c}=t.pos2coord({h:o.hmin,v:o.vmin}),{h:f,v:p}=t.pos2coord({h:o.hmax,v:o.vmax}),{hmin:m,hmax:h,vmin:g,vmax:_}=o,y=!1,b={min:u.xmin,max:u.xmax},x={min:u.ymin,max:u.ymax},[S=0,C=0]=t.flip?[u.minRangeY,u.minRangeX]:[u.minRangeX,u.minRangeY],w=t.coord2pos(u),T=0,E=0,D,O,k,A,j=!1,M=!1;e.target.onpointermove=e=>{if(y=!0,T+=e.movementX,E+=e.movementY,n.includes(`l`)&&n.includes(`r`)){let e=X(T,{min:w.hmin-m,max:w.hmax-h}),n=t.pos2coord({hmin:q(m,e),hmax:q(h,e)});s=n.hmin,f=n.hmax}else n.includes(`l`)?(s=t.pos2coord({h:m+T}).h,s=X(s,s>f?{min:q(f,S)}:{max:q(f,-S)}),j=m+T>h):n.includes(`r`)&&(f=t.pos2coord({h:h+T}).h,f=X(f,f>s?{min:q(s,S)}:{max:q(s,-S)}),j=h+T<m);if(n.includes(`t`)&&n.includes(`b`)){let e=X(E,{min:w.vmin-g,max:w.vmax-_}),n=t.pos2coord({vmin:q(g,e),vmax:q(_,e)});c=n.vmin,p=n.vmax}else n.includes(`t`)?(c=t.pos2coord({v:g+E}).v,c=X(c,c>p?{min:q(p,C)}:{max:q(p,-C)}),M=g+E>_):n.includes(`b`)&&(p=t.pos2coord({v:_+E}).v,p=X(p,p>c?{min:q(c,C)}:{max:q(c,-C)}),M=_+E<g);D=X(t.flip?c:s,b),O=X(t.flip?p:f,b),k=X(t.flip?s:c,x),A=X(t.flip?f:p,x),D>O&&([D,O]=[O,D]),k>A&&([k,A]=[A,k]),v(`selecting`,{xmin:D,xmax:O,ymin:k,ymax:A},t.theme)},e.target.addEventListener(`pointerup`,function(t){if(t.currentTarget.onpointermove=null,u.buttons&1&&(t.currentTarget.onclick=e=>{e.currentTarget.onclick=null,v(`click`,e)}),u.buttons&2&&(t.currentTarget.oncontextmenu=e=>{e.currentTarget.onclick=null,v(`contextmenu`,e)}),!y)return;let n={xmin:D,xmax:O,xreverse:!!(j^r),ymin:k,ymax:A,yreverse:!!(M^i)},a=new PointerEvent(`select`,e);l.value=ur(n),v(`selectend`),v(`select`,ur(n),a)},{once:!0})}return(t,n)=>h.value?(C(),a(`g`,D_,[o(`rect`,y(f(h.value)),null,16),n[0]||=c(),(C(!0),a(e,null,D(g.value,(e,t)=>(C(),a(`rect`,_({fill:`transparent`},{ref_for:!0},e,{onPointerdown:e=>b(e,t),class:`vvplot-interactive`}),null,16,O_))),256))])):i(``,!0)}},A_=[`height`,`width`],j_=[`y1`,`y2`],M_=[`y`],N_={__name:`CoreGuideGradientbar`,props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){let i=n(()=>{let{min:e,max:n}=t.limits;return t.breaks.map(t=>({position:(t-e)/(n-e),label:String(t)}))}),s=n(()=>{let{min:e,max:n}=t.limits,r=(n-e)/29,i=Array.from({length:30},(t,n)=>e+n*r),a=t.scales.map(e=>e(i));return i.map((e,n)=>Object.fromEntries(t.scales.map((e,t)=>[{color:`fill`}[e.aesthetics]??e.aesthetics,a[t][n]])))}),l=E(0),u=L(`svg`);return R(i,async()=>{await v();let e=u.value?.getBBox?.();e&&(l.value=e.width+e.x)},{immediate:!0}),(n,u)=>(C(),a(`svg`,{height:s.value.length*3+20,width:l.value,ref:`svg`},[(C(!0),a(e,null,D(s.value,(e,n)=>(C(),r(Gg,_({width:10,height:3.1,x:10,y:10+(29-n+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},e),null,16,[`y`,`alpha`]))),256)),u[1]||=c(),(C(!0),a(e,null,D(i.value,(e,t)=>(C(),a(`g`,null,[o(`line`,{x1:`15`,x2:`18`,y1:10+(1-e.position)*90,y2:10+(1-e.position)*90,stroke:`black`},null,8,j_),u[0]||=c(),o(`text`,{x:`20`,y:10+(1-e.position)*90,"alignment-baseline":`central`},M(e.label),9,M_)]))),256))],8,A_))}},P_=/* @__PURE__ */ ue({curve:()=>e_,line:()=>Xg,point:()=>Jg,polygon:()=>g_,text:()=>Xs,tile:()=>Gg}),F_=[`height`,`width`],I_=[`transform`],L_={transform:`translate(10, 10)`},R_={x:`20`,y:`10`,"alignment-baseline":`central`},z_={__name:`CoreGuideLegendkey`,props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){let i=n(()=>{let e=t.scales.map(e=>e(t.breaks)),n=t.breaks.map((n,r)=>({bind:Object.fromEntries(t.scales.map((t,n)=>[t.aesthetics,e[n][r]])),label:String(n)})),r=fr(n.map(e=>e.bind)),i=Map.groupBy(n.map(e=>e.label),(e,t)=>r.categories[r[t]]);return Array.from(i).map(([e,t])=>{let n={tile:{},line:{},point:{},text:{}};for(let t in n)for(let r of Object.keys(P_[t].props))e[r]&&(n[t][r]=e[r]);return{bind:n,label:t.join(`; `)}})}),s=n(()=>{let{text:e,line:n,point:r,tile:i}=t.appearances,a={};return i!=null&&(a.tile={width:10,height:10,fill:`none`,...i}),n!=null&&(a.line={x1:-5,x2:5,color:`black`,...n}),r!=null&&(a.point={size:6,...r}),e!=null&&(a.text={size:4,text:`a`,...e}),a}),l=E(0),u=L(`svg`);return R(i,async()=>{await v();let e=u.value?.getBBox?.();e&&(l.value=e.width+e.x)},{immediate:!0}),(t,n)=>(C(),a(`svg`,{height:i.value.length*20,width:l.value,ref:`svg`},[(C(!0),a(e,null,D(i.value,(t,i)=>(C(),a(`g`,{transform:`translate(0, ${i*20})`},[o(`g`,L_,[(C(!0),a(e,null,D(s.value,(e,n)=>(C(),r(k(P_[n]),_({ref_for:!0},{...e,...t.bind[n]}),null,16))),256))]),n[0]||=c(),o(`text`,R_,M(t.label),1)],8,I_))),256))],8,F_))}},B_=/*@__PURE__*/ Object.assign({inheritAttrs:!1},{__name:`CoreGuide`,props:{scales:Array,type:{type:String,default:`legendkey`}},setup(t){let i={legendkey:z_,gradientbar:N_},s=n(()=>t.scales.reduce((e,[t])=>e??t.title,null)??t.scales.reduce((e,[t])=>e??t._title,null)),l=n(()=>{let e=t.scales.map(([e])=>e),n=e.find(e=>e.breaks!=null);return Array.isArray(n?.breaks)?Array.from(n.breaks):(n=e.find(e=>e.level!=null),n?.level?n.level.apply(Array.from(n.level)):(n=e.find(e=>e.limits!=null),js.number({minor:!0})(n.limits)))}),u=n(()=>{let e={scales:t.scales.map(([e])=>e)};if(t.type==`legendkey`)e.appearances={tile:rr(...t.scales.flatMap(([e,t])=>[t.rect,t.tile,t.polygon,t.ellipse])),line:rr(...t.scales.flatMap(([e,t])=>[t.line,t.linerange,t.curve])),point:rr(...t.scales.flatMap(([e,t])=>[t.point])),text:rr(...t.scales.flatMap(([e,t])=>[t.text,t.markdown]))};else if(t.type==`gradientbar`){let n=t.scales.map(([e])=>e.limits?.max).filter(e=>e!=null).reduce((e,t)=>Math.min(e,t),1/0);e.limits={min:t.scales.map(([e])=>e.limits?.min).filter(e=>e!=null).reduce((e,t)=>Math.max(e,t),-1/0),max:n},e.appearance=rr(...t.scales.flatMap(([e,t])=>Object.values(t)))}return e});return(n,d)=>(C(),a(e,null,[o(`span`,null,M(s.value),1),d[0]||=c(),(C(),r(k(i[t.type]),_(u.value,{breaks:l.value}),null,16,[`breaks`]))],64))}}),V_={__name:`CoreLegend`,props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){let o=n(()=>{let e=new Map(Array.from(t.scales).filter(([e])=>e.legend!==!1&&e.limits?.min!=e.limits?.max)),n=Array.from(e.keys()),r=n.map(e=>e.key),i=1;for(let e=0;e<r.length;e++){for(;r.includes(`_guide_`+i);)i++;r[e]??=r.find((t,i)=>r[i]!=null&&er.isEqual(n[i].level,n[e].level))??`_guide_`+i}let a=pr(r,n.map(e=>s(e)));return Map.groupBy(e,(e,t)=>a.categories[a[t]])});function s(e){return e==null?null:[`gradientbar`,`legendkey`].includes(e.guide)?e.guide:e.level?`legendkey`:[`color`,`fill`,`alpha`].includes(e.aesthetics)?`gradientbar`:`legendkey`}return(n,s)=>t.scales?(C(),a(`div`,{key:0,class:`vvplot-legend`,style:b({gap:t.theme.spacing+`px`})},[(C(!0),a(e,null,D(o.value,([[e,t],n])=>(C(),r(B_,{key:e,type:t,scales:n},null,8,[`type`,`scales`]))),128))],4)):i(``,!0)}},H_=[`id`],U_=[`width`,`height`],W_=[`transform`,`width`,`height`,`fill`],G_=[`transform`],K_=[`transform`],q_=[`clip-path`],J_=[`transform`,`clip-path`],Y_={key:1},X_=/*@__PURE__*/ Object.assign({inheritAttrs:!1},{__name:`CorePlot`,props:/*@__PURE__*/ g({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:/*@__PURE__*/ g([`click`,`singleclick`,`dblclick`,`contextmenu`,`pointerdown`,`pointerup`,`pointerover`,`pointerout`,`pointerenter`,`pointerleave`,`pointermove`,`wheel`,`select`,`selecting`,`move`,`zoom`,`rescale`,`nudge`],[`update:selectionPreview`,`update:selectionPreviewTheme`,`update:transition`]),setup(u,{expose:d,emit:f}){let p=I(),h=s(u,[`schema`,`theme`,`expandAdd`,`expandMult`,`coordLevels`,`levels`,`scales`,`flip`,`reverse`,`paddings`]),g=f,v=m(`range`),y=m(`rangePreview`),b=te(u,`selectionPreview`),x=te(u,`selectionPreviewTheme`);function S(e,t){b.value=e,x.value=t}let w=n(()=>Object.assign({},u.theme?.selection,x.value));function T(){b.value={}}let k=te(u,`transition`),A=L(`svg`),j=L(`layers`),M=E(0),P=E(0);Fe(A,e=>{let{width:t,height:n}=e[0].contentRect;M.value=t,P.value=n});let ee=n(()=>new Hs(u.schema,h.layers)),ne=n(()=>ee.value.useScales(u.scales,u.levels).useCoordLevels(u.coordLevels).render(v,u.expandAdd,h.minRange)),z=we(()=>{let e=Object.fromEntries([`left`,`right`,`top`,`bottom`].map(e=>[e,u.paddings[e]&&u.theme.plot.padding[e]||0])),t=+u.theme.plot.margin.left+e.left,n=+u.theme.plot.margin.right+e.right,r=+u.theme.plot.margin.top+e.top,i=+u.theme.plot.margin.bottom+e.bottom;return r+i>P.value&&(r=P.value*(r/(r+i)),i=P.value-r),t+n>M.value&&(t=M.value*(t/(t+n)),n=M.value-t),{l:t,r:n,t:r,b:i,left:t,right:M.value-n,top:r,bottom:P.value-i,width:M.value-t-n,height:P.value-r-i}}),B=we(()=>{let e=ne.value.coordScales,t=u.expandMult,{min:n,max:r}=se(e.x.range,t.x),{min:i,max:a}=se(e.y.range,t.y),[o,s,c,l]=u.flip?[i,a,n,r]:[n,r,i,a],{width:d,height:f}=z;return{left:d*o||0,right:d*(1-s)||0,top:f*l||0,bottom:f*(1-c)||0,l:d*o||0,r:d*s||0,t:f*l||0,b:f*c||0,width:d*(1-o-s),height:f*(1-l-c),fullWidth:d,fullHeight:f}});d({vplot:ne,panel:z,svg:A});let re=n(()=>{let e=ye.value.translateH+B.left,t=ye.value.translateV+B.top,n=ye.value.scaleH,r=ye.value.scaleV,i=[];return(e!=0||t!=0)&&i.push(`translate(${e}, ${t})`),(n!=1||r!=1)&&i.push(`scale(${n}, ${r})`),{transform:i.join(` `)||null}});function ie({value:e,min:t,max:n},r,i,a){let o={};return e!=null&&(o.value=r.invert(i?1-e/a:e/a)),i?(n!=null&&(o.min=r.invert(1-n/a)),t!=null&&(o.max=r.invert(1-t/a))):(t!=null&&(o.min=r.invert(t/a)),n!=null&&(o.max=r.invert(n/a))),o}function ae({h:e,hmin:t,hmax:n,v:r,vmin:i,vmax:a}={}){let o=ne.value.coordScales,{width:s,height:c}=B,l={},[d,f,p]=u.flip?[r,i,a]:[e,t,n],[m,h,g]=u.flip?[e,t,n]:[r,i,a];if(d!=null||f!=null||p!=null){let{value:e,min:t,max:n}=ie({value:d,min:f,max:p},o.x,u.flip!=u.reverse.x,u.flip?c:s);Object.assign(l,ur({x:e,xmin:t,xmax:n})),u.flip?Object.assign(l,ur({v:e,vmin:t,vmax:n})):Object.assign(l,ur({h:e,hmin:t,hmax:n}))}if(m!=null||h!=null||g!=null){let{value:e,min:t,max:n}=ie({value:m,min:h,max:g},o.y,u.flip==u.reverse.y,u.flip?s:c);Object.assign(l,ur({y:e,ymin:t,ymax:n})),u.flip?Object.assign(l,ur({h:e,hmin:t,hmax:n})):Object.assign(l,ur({v:e,vmin:t,vmax:n}))}return l}function oe({value:e,min:t,max:n}={},{oob:r=lr}={},i,a,o,s){let c={};return e!=null&&(c.value=o?r(o*(a?1-i(e):i(e)),s):0),t==null&&n==null||(a?(n!=null&&(c.min=o?r(o*(1-i(n)),s):0),t!=null&&(c.max=o?r(o*(1-i(t)),s):0)):(t!=null&&(c.min=o?r(o*i(t),s):0),n!=null&&(c.max=o?r(o*i(n),s):0))),c}function V({h:e,hmin:t,hmax:n,v:r,vmin:i,vmax:a,x:o,xmin:s,xmax:c,y:l,ymin:d,ymax:f}={},{limited:p=!1,oob:m=lr}={}){let{width:h,height:g,l:_,r:v,t:y,b}=B,x={},S=ne.value.coordScales,C={min:-_,max:h+v},w={min:-y,max:g+b};if((o!=null||s!=null||c!=null)&&(u.flip?[r,i,a]=[o,s,c]:[e,t,n]=[o,s,c]),(l!=null||d!=null||f!=null)&&(u.flip?[e,t,n]=[l,d,f]:[r,i,a]=[l,d,f]),e!=null||t!=null||n!=null){let{value:r,min:i,max:a}=oe({value:e,min:t,max:n},{oob:m},S[u.flip?`y`:`x`],u.reverse[u.flip?`y`:`x`],h,C);Object.assign(x,ur({h:r,hmin:i,hmax:a}))}if(r!=null||i!=null||a!=null){let{value:e,min:t,max:n}=oe({value:r,min:i,max:a},{oob:m},S[u.flip?`x`:`y`],!u.reverse[u.flip?`x`:`y`],g,w);Object.assign(x,ur({v:e,vmin:t,vmax:n}))}return p&&(x.hmin??=C.min,x.hmax??=C.max,x.vmin??=w.min,x.vmax??=w.max),x}function se({min:e,max:t}={},{min:n=0,max:r=0}={}){let i=t-e,a=+e-n*i,o=+t+r*i,s=o-a;return{min:s==0?0:(e-a)/s,max:s==0?0:(o-t)/s}}function ce(e){let t=A.value.getBoundingClientRect(),n=t.width/A.value.clientWidth,r=t.height/A.value.clientHeight,i=e.clientX-t.left,a=e.clientY-t.top,o=i/n-(z.left+B.left),s=a/r-(z.top+B.top),c=z.left+B.right-i/n,l=z.top+B.bottom-a/r,{x:u,y:d}=ae({h:o,v:s});return{l:o,t:s,r:c,b:l,x:u,y:d}}function le(e){let t=A.value.getBoundingClientRect(),n=t.width/A.value.clientWidth,r=t.height/A.value.clientHeight;return e.clientX-t.left>z.l*n&&t.right-e.clientX>z.r*n&&e.clientY-t.top>z.t*r&&t.bottom-e.clientY>z.b*r}function ue(e){if(!j.value||e._vhandled||!le(e)||!Array.from(j.value).filter(e=>e.render==`canvas`).length)return e;let t={};for(let n in e)t[n]=e[n];t.bubbles=!1;let n=new PointerEvent(e.type,t);for(let t of Object.keys(e)){let r=Object.getOwnPropertyDescriptor(n,t);(!r||r.writable||r.set)&&(n[t]=e[t])}for(let t=j.value.length-1;t>=0;t--)j.value[t].dispatchEvent(n)===!1&&e.preventDefault();for(let t of Object.keys(n)){let r=Object.getOwnPropertyDescriptor(n,t);(!r||r.writable||r.set)&&(e[t]=n[t])}return n._vhandled?n:e}let de,fe=0,pe=0;function me(e){let t=ue(e),n=ce(e);if(g(`pointerdown`,t,n),t.defaultPrevented&&e.preventDefault(),h.clip&&!le(e))return;let r=e.currentTarget,i=!1;function a(t){(Math.abs(t.screenX-e.screenX)>3||Math.abs(t.screenY-e.screenY)>3)&&(i=!0,t.currentTarget.removeEventListener(`pointermove`,a))}e.target.addEventListener(`pointermove`,a,{passive:!0}),e.target.addEventListener(`pointerup`,function(t){if(e.target.removeEventListener(`pointermove`,a),!i){let e=new PointerEvent(`singleclick`,t);t.target.dispatchEvent(e)}},{once:!0});let o=h.selections.findLast(t=>[`buttons`,`ctrlKey`,`shiftKey`,`altKey`,`metaKey`].every(n=>t[n]==e[n]));if(o){let{x:t=!1,y:a=!1,"min-range-x":s=0,"min-range-y":c=0}=o;e.target.setPointerCapture(e.pointerId),r.style.userSelect=`none`;let l=(({xmin:e,xmax:t})=>({min:e,max:t}))(o),u=(({ymin:e,ymax:t})=>({min:e,max:t}))(o);e.target.onpointermove=e=>{if(!t&&!a||!i)return;let r=ce(e),d={};if(t){let e=X(n.x,l),t=X(X(r.x,r.x>e?{min:q(e,s)}:{max:q(e,-s)}),l);d.xmin=e>t?t:e,d.xmax=e>t?e:t,d.xreverse=e>t}if(a){let e=X(n.y,u),t=X(X(r.y,r.y>e?{min:q(e,c)}:{max:q(e,-c)}),u);d.ymin=e>t?t:e,d.ymax=e>t?e:t}sr(o.onSelecting,ur(d),o.theme)||g(`selecting`,ur(d),o.theme),b.value=d,x.value=o.theme},e.target.addEventListener(`pointerup`,function(d){if(d.currentTarget.onpointermove=null,r.style.userSelect=null,b.value={},i&&(t||a)){o.buttons&1&&(d.currentTarget.onclick=e=>{e.currentTarget.onclick=null,sr(o.onClick,e)}),o.buttons&2&&(d.currentTarget.oncontextmenu=e=>{e.currentTarget.oncontextmenu=null,sr(o.onContextmenu,e)});let r=ce(d),i={},f=new PointerEvent(`select`,e);if(t){let e=X(n.x,l),t=X(X(r.x,r.x>e?{min:q(e,s)}:{max:q(e,-s)}),l);if(e==t)return;i.xmin=e>t?t:e,i.xmax=e>t?e:t,i.xreverse=e>t}if(a){let e=X(n.y,u),t=X(X(r.y,r.y>e?{min:q(e,c)}:{max:q(e,-c)}),u);if(e==t)return;i.ymin=e>t?t:e,i.ymax=e>t?e:t,i.yreverse=e>t}o[`onUpdate:modelValue`]?.(i),sr(o.onSelect,ur(i),f)||g(`select`,ur(i),f)}if(!i&&o.dismissible!==!1){if(d.defaultPrevented)return;let t=o.modelValue;if(o.dismissible!==!0&&[`xmin`,`xmax`,`ymin`,`ymax`].every(e=>t?.[e]==null))return;let n={},r=new PointerEvent(`select`,e);o[`onUpdate:modelValue`]?.(n),sr(o.onDismiss,ur(n),r)||g(`select`,ur(n),r)}},{once:!0});return}let s=h.action.find(t=>t.action==`move`&&[`buttons`,`ctrlKey`,`shiftKey`,`altKey`,`metaKey`].every(n=>t[n]==e[n]));if(s){let t=A.value.getBoundingClientRect(),n=t.width/A.value.clientWidth,i=t.height/A.value.clientHeight;e.target.setPointerCapture(e.pointerId),r.style.userSelect=`none`,de=clearTimeout(de);let a=B.width,o=B.height,c,l,d,f,p=V(s);e.target.onpointermove=e=>{let{x:t=!1,y:r=!1}=s,[m,h]=u.flip?[r,t]:[t,r];if(m){fe+=e.movementX;let t=X(-fe/n,{min:p.hmin-0,max:p.hmax-a});c=0+t,l=a+t}if(h){pe+=e.movementY;let t=X(-pe/i,{min:p.vmin-0,max:p.vmax-o});d=0+t,f=o+t}let{xmin:g,xmax:_,ymin:v,ymax:b}=ae({hmin:c,hmax:l,vmin:d,vmax:f});Object.assign(y,{xmin:g,xmax:_,ymin:v,ymax:b})},e.target.addEventListener(`pointerup`,function(e){e.currentTarget.onpointermove=null,r.style.userSelect=null,de=setTimeout(()=>{be(s,e),fe=pe=0},300)},{once:!0})}}let he=0,ge;function _e(e){let t=ue(e),n=ce(e);if(g(`wheel`,t,n),t.defaultPrevented&&e.preventDefault(),h.clip&&!le(e))return;let r=h.action.find(t=>[`zoom`,`nudge`].includes(t.action)&&[`ctrlKey`,`shiftKey`,`altKey`,`metaKey`].every(n=>t[n]==e[n]));r&&(r.x||r.y)&&(ge=clearTimeout(ge),e.preventDefault(),k.value=`transform 0.1s ease-out`,he+=e.deltaY,ve(r,n,he),ge=setTimeout(()=>{be(r,e),he=0},300))}function ve(e,t,n){if(e.action==`zoom`){let{x:n=!1,y:r=!1,"min-range-x":i=0,"min-range-y":a=0,sensitivity:o=1.25}=e,s=o**(he/100),[c,l]=u.flip?[r,n]:[n,r],d=V(e),f,p,m,h;c&&(f=Math.max(t.l-Math.max(t.l,0)*s,d.hmin??-1/0),p=Math.min(t.l+Math.max(t.r,0)*s,d.hmax??1/0)),l&&(m=Math.max(t.t-Math.max(t.t,0)*s,d.vmin??-1/0),h=Math.min(t.t+Math.max(t.b,0)*s,d.vmax??1/0));let{xmin:g,xmax:_,ymin:v,ymax:b}=ae({hmin:f,hmax:p,vmin:m,vmax:h});if(n&&s<1&&_-g<i){let e=(_+g)/2;g=e-i/2,_=e+i/2}if(r&&s<1&&b-v<a){let e=(b+v)/2;v=e-a/2,b=e+a/2}Object.assign(y,{xmin:g,xmax:_,ymin:v,ymax:b})}if(e.action==`nudge`){let{x:t=!1,y:r=!1,sensitivity:i=.1}=e,[a,o]=u.flip?[r,t]:[t,r],s=V(e),c=B.width,l=B.height,d,f,p,m;if(a){let e=X(-(i*B.width*(-n/120)),{min:s.hmin-0,max:s.hmax-c});d=0+e,f=c+e}if(o){let e=X(-(i*B.height*(-n/120)),{min:s.vmin-0,max:s.vmax-l});p=0+e,m=l+e}let{xmin:h,xmax:g,ymin:_,ymax:v}=ae({hmin:d,hmax:f,vmin:p,vmax:m});Object.assign(y,{xmin:h,xmax:g,ymin:_,ymax:v})}}let ye=n(()=>{let e=B.width,t=B.height,{hmin:n=0,hmax:r=e,vmin:i=0,vmax:a=t}=V(y??{}),o=e-0,s=r-n,c=t-0,l=a-i;return{scaleH:o<1||s<1||Math.abs(o-s)<1?1:o/s,translateH:(0*r-n*e)/(r-n)||0,scaleV:c<1||l<1||Math.abs(c-l)<1?1:c/l,translateV:(0*a-i*t)/(a-i)||0}});R(ye,({translateH:e,translateV:t,scaleH:n,scaleV:r})=>{!e&&!t&&n==1&&r==1&&(k.value=null)},{deep:!0});function be(e,t){let n=ur(y)??{};if(!Object.keys(n).length)return;let r=new PointerEvent(t.type,t);sr(e.emit,n,r)||g(e.action,n,r),Se(n);let i,a,o,s;Object.assign(y,{xmin:i,xmax:a,ymin:o,ymax:s})}let xe={pointerdown:me,pointerup(e){let t=ue(e),n=ce(e);g(`pointerup`,t,n),t.defaultPrevented&&e.preventDefault()},pointerover(e){g(`pointerover`,e,ce(e))},pointerout(e){g(`pointerout`,e,ce(e))},pointerenter(e){g(`pointerenter`,e,ce(e))},pointerleave(e){g(`pointerleave`,e,ce(e))},click(e){g(`click`,ue(e),ce(e))},contextmenu(e){let t=ue(e),n=ce(e);g(`contextmenu`,t,n),t.defaultPrevented&&e.preventDefault()},singleclick(e){g(`singleclick`,ue(e),ce(e))},dblclick(e){let t=ue(e),n=ce(e);g(`dblclick`,t,n),t.defaultPrevented&&e.preventDefault()},pointermove(e){let t=ue(e),n=ce(e);g(`pointermove`,t,n),t.defaultPrevented&&e.preventDefault()},wheel:_e};function Se(e){let{xmin:t,xmax:n,ymin:r,ymax:i}=e,{xmin:a,xmax:o,ymin:s,ymax:c}=v;t=t==null?a:q(t,+u.expandAdd.x.min),n=n==null?o:q(n,-u.expandAdd.x.max),r=r==null?s:q(r,+u.expandAdd.y.min),i=i==null?c:q(i,-u.expandAdd.y.max),(t!=a||n!=o||r!=s||i!=c)&&Object.assign(v,{xmin:t,xmax:n,ymin:r,ymax:i})}let Ce=we(()=>{let e=y?.xmin??v?.xmin,t=y?.xmax??v?.xmax,n=y?.ymin??v?.ymin,r=y?.ymax??v?.ymax;return{x:e||t?{min:e,max:t}:void 0,y:n||r?{min:n,max:r}:void 0}}),Te=n(()=>{let e={x:ne.value.coordScales.x,y:ne.value.coordScales.y};return h.axes.filter(t=>t.coord in e).filter(e=>[`h`,`v`].includes(e.orientation)).map(({coord:t,breaks:n,labels:r,titles:i,minorBreaks:a,...o})=>({coord:t,axis:new qs(e[t],{breaks:n,labels:r,titles:i,minorBreaks:a}),etc:o}))});function Ee(e){let{grid_color:t,grid_color_major:n=t,grid_color_minor:r=t,grid_width:i,grid_width_major:a=i,grid_width_minor:o=i,...s}=e;return n&&(s.grid_color_major=n),r&&(s.grid_color_minor=r),a&&(s.grid_width_major=a),o&&(s.grid_width_minor=o),s}let De=n(()=>Te.value.map(({coord:e,axis:t,etc:n})=>{let{showGrid:r,breakSlot:i,orientation:a,...o}=n,s=Ee(u.theme.axis[a]??{}),c=Ee(o.theme),l=t.getBreaks({range:Ce[e],expandMult:u.expandMult[e],breakSlot:i});for(let e of l)e.theme=Object.assign({},s,c,Ee(e.theme??{}));return{breaks:l,showGrid:r,coord:e,orientation:a,bind:o}})),Oe=n(()=>{let e=De.value.filter(e=>e.showGrid&&e.orientation==`v`),t=De.value.filter(e=>e.showGrid&&e.orientation==`h`);return{h:ar(e.flatMap(e=>e.breaks),e=>e.value,(e,t)=>[e,t].find(e=>e.type==`major`)??e),v:ar(t.flatMap(e=>e.breaks),e=>e.value,(e,t)=>[e,t].find(e=>e.type==`major`)??e)}}),ke=n(()=>De.value.map(({orientation:e,coord:t,bind:n,breaks:r})=>{let{onMove:i=(...e)=>g(`move`,...e),onZoom:a=(...e)=>g(`zoom`,...e),onRescale:o=(...e)=>g(`rescale`,...e),onNudge:s=(...e)=>g(`nudge`,...e),...c}=n;return{orientation:e,bind:{coord:t,orientation:e,ticks:r.filter(e=>e.type==`major`),layout:B,coord2pos:V,pos2coord:ae,...c},on:{zoom:a,move:i,rescale:o,nudge:s,rangechange:Se}}}));return(n,s)=>(C(),a(`svg`,_({ref:`svg`,width:`100%`,height:`100%`},N(xe,!0),n.$attrs),[o(`defs`,null,[o(`clipPath`,{id:`${F(p)}-plot-clip`},[o(`rect`,{x:`0`,y:`0`,width:F(z).width,height:F(z).height},null,8,U_)],8,H_)]),s[6]||=c(),u.theme.plot.background?(C(),a(`rect`,{key:0,transform:`translate(${F(z).left}, ${F(z).top})`,width:F(z).width,height:F(z).height,fill:u.theme.plot.background},null,8,W_)):i(``,!0),s[7]||=c(),o(`g`,{transform:`translate(${F(z).left}, ${F(z).top})`,style:{"pointer-events":`none`}},[l(Qh,{breaks:Oe.value.h,layout:F(B),activeTransform:ye.value,coord2pos:V,transition:k.value},null,8,[`breaks`,`layout`,`activeTransform`,`transition`]),s[2]||=c(),l($h,{breaks:Oe.value.v,layout:F(B),activeTransform:ye.value,coord2pos:V,transition:k.value},null,8,[`breaks`,`layout`,`activeTransform`,`transition`])],8,G_),s[8]||=c(),o(`g`,{transform:`translate(${F(z).left}, ${F(z).top})`},[(C(!0),a(e,null,D(ke.value.filter(e=>typeof e.bind.position!=`number`),e=>(C(),r(Zh,_({ref_for:!0},e.bind,N(e.on),{transition:k.value,"onUpdate:transition":s[0]||=e=>k.value=e,activeTransform:ye.value}),null,16,[`transition`,`activeTransform`]))),256)),s[3]||=c(),o(`g`,{"clip-path":h.clip?`url(#${F(p)}-plot-clip)`:null},[(C(!0),a(e,null,D(ke.value.filter(e=>typeof e.bind.position==`number`),e=>(C(),r(Zh,_({ref_for:!0},e.bind,N(e.on),{transition:k.value,"onUpdate:transition":s[1]||=e=>k.value=e,activeTransform:ye.value}),null,16,[`transition`,`activeTransform`]))),256))],8,q_)],8,K_),s[9]||=c(),o(`g`,{transform:`translate(${F(z).left}, ${F(z).top})`,"clip-path":h.clip?`url(#${F(p)}-plot-clip)`:null},[o(`g`,_(re.value,{style:{transition:k.value}}),[(C(!0),a(e,null,D(ne.value.layers,e=>(C(),r(E_,_({ref_for:!0,ref_key:`layers`,ref:j,data:e.data},{ref_for:!0},e.vBind,{layout:F(B),geom:e.geom,coord2pos:V,getCoord:ce,"default-render":h.render,"default-dpi":h.dpi}),null,16,[`data`,`layout`,`geom`,`default-render`,`default-dpi`]))),256))],16),s[4]||=c(),(C(!0),a(e,null,D(h.selections,e=>(C(),r(k_,_({coord2pos:V,pos2coord:ae,layout:F(B),onSelecting:S,onSelectend:T,transition:k.value,activeTransform:ye.value},{ref_for:!0},e,{flip:u.flip}),null,16,[`layout`,`transition`,`activeTransform`,`flip`]))),256)),s[5]||=c(),l(k_,{coord2pos:V,pos2coord:ae,layout:F(B),modelValue:b.value,transition:k.value,activeTransform:ye.value,theme:w.value,flip:u.flip},null,8,[`layout`,`modelValue`,`transition`,`activeTransform`,`theme`,`flip`])],8,J_),s[10]||=c(),O(n.$slots,`default`),s[11]||=c(),h.legendTeleport?(C(),a(`foreignObject`,Y_,[(C(),r(t,{defer:``,to:h.legendTeleport},[l(V_,{scales:ne.value?.scales,theme:u.theme.legend},null,8,[`scales`,`theme`])],8,[`to`]))])):i(``,!0)],16))}}),Z_={$_type:`action`,$_props:{}},Q_={$_type:`layer`},$_={$_props:{geom:`tile`,stat:`bar`},$_type:`layer`,$_argnames:[`width`,`height`,`position`]},ev={$_props:{geom:`blank`,stat:`identity`},$_type:`layer`},tv={$_props:{geom:`boxplot`,stat:`boxplot`},$_type:`layer`,$_argnames:[`width`,`height`,`position`]},nv={$_props:{geom:`tile`,stat:`col`},$_type:`layer`,$_argnames:[`width`,`height`,`position`,`orientation`]},rv={$_props:{geom:`curve`,stat:`curve`,fill:`none`,color:`black`},$_type:`layer`,$_attrnames:[`interpolate`]},iv={$_props:{geom:`curve`,stat:`density`,fill:`none`,color:`black`},$_type:`layer`,$_argnames:[`n`,`kernel`,`scale`]},av={$_props:{geom:`ellipse`,stat:`ellipse`,fill:`none`,color:`black`},$_type:`layer`,$_argnames:[`CI`]},ov={$_props:{geom:`rect`,stat:`histogram`},$_type:`layer`,$_argnames:[`bins`,`binwidth`,`breaks`]},sv={$_props:{geom:`line`,stat:`line`},$_type:`layer`,$_argnames:[`orientation`]},cv={$_props:{geom:`line`,stat:`linerange`},$_type:`layer`},lv={$_props:{geom:`markdown`,stat:`text`},$_type:`layer`},uv={$_props:{geom:`markdownsegment`,stat:`textsegment`},$_type:`layer`},dv={$_props:{geom:`line`,stat:`path`},$_type:`layer`},fv={$_props:{geom:`point`,stat:`point`},$_type:`layer`},pv={$_props:{geom:`polygon`,stat:`polygon`},$_type:`layer`},mv={$_props:{geom:`rect`,stat:`rect`},$_type:`layer`},hv={$_props:{geom:`line`,stat:`segment`},$_type:`layer`},gv={$_props:{geom:`shape`,stat:`shape`,interpolate:`catmullRomClosed`},$_type:`layer`,$_attrnames:[`interpolate`]},_v={$_props:{geom:`stick`,stat:`stick`},$_type:`layer`},vv={$_props:{geom:`text`,stat:`text`},$_type:`layer`},yv={$_props:{geom:`textsegment`,stat:`textsegment`},$_type:`layer`},bv={$_props:{geom:`tile`,stat:`tile`},$_type:`layer`},xv={$_props:{geom:`shape`,stat:`violin`},$_type:`layer`,$_argnames:[`n`,`kernel`,`scale`,`width`,`height`,`position`]},Sv=/* @__PURE__ */ ue({VVGeom:()=>Q_,VVGeomBar:()=>$_,VVGeomBlank:()=>ev,VVGeomBoxplot:()=>tv,VVGeomCol:()=>nv,VVGeomCurve:()=>rv,VVGeomDensity:()=>iv,VVGeomEllipse:()=>av,VVGeomHistogram:()=>ov,VVGeomLine:()=>sv,VVGeomLinerange:()=>cv,VVGeomMarkdown:()=>lv,VVGeomMarkdownsegment:()=>uv,VVGeomPath:()=>dv,VVGeomPoint:()=>fv,VVGeomPolygon:()=>pv,VVGeomRect:()=>mv,VVGeomSegment:()=>hv,VVGeomShape:()=>gv,VVGeomStick:()=>_v,VVGeomText:()=>vv,VVGeomTextsegment:()=>yv,VVGeomTile:()=>bv,VVGeomViolin:()=>xv}),Cv={$_type:`axis`,$_props:{}},wv={$_type:`axis`,$_props:{coord:`x`}},Tv={$_type:`axis`,$_props:{coord:`y`}},Ev={$_type:`axis-break`,$_props:{type:`major`}},Dv=/* @__PURE__ */ ue({VVAxis:()=>Cv,VVAxisBreak:()=>Ev,VVAxisX:()=>wv,VVAxisY:()=>Tv}),Ov={key:0,class:`vvplot-panel`,style:{"pointer-events":`auto`,display:`contents`}},kv=/*@__PURE__*/ Object.assign({inheritAttrs:!1},{__name:`Plot`,props:/*@__PURE__*/ g({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:/*@__PURE__*/ g([`resize`,`rangechange`,`select`,`update:range`,`update:rangePreview`],[`update:selectionPreview`,`update:selectionPreviewTheme`,`update:transition`,`update:width`,`update:height`]),setup(t,{expose:s,emit:u}){let d={...Sv,...Dv,VVAction:Z_,VVSelection:Z_},f={x:`y`,y:`x`,h:`v`,v:`h`,top:`bottom`,bottom:`top`,left:`right`,right:`left`};function p(e){return e==null?e:e===``||!!e}let m=u,h=te(t,`selectionPreview`),g=te(t,`selectionPreviewTheme`),v=te(t,`transition`);function y(e){return{props:Object.fromEntries(e.props.map(e=>{try{if(e.type==7)return[e.arg.content,Function(`return `+e.exp.content)()];if(e.type==6)return[e.name,e.value?.content??``]}catch{}}).filter(e=>e!=null)),children:e.children.map(e=>()=>[y(e)]),type:d[e.tag]}}let S=ne(),O=ee(),A=T({axis:{},layer:{},action:{},selection:{},dom:{}});for(let e in S)R(()=>S[e]?.(),t=>{let n=Yn(t).flatMap(e=>e.type?.template?In(e.type.template,{decodeEntities:!0}).children.map(e=>y(e)):e).filter(e=>e!=null),r=Object.groupBy(n,e=>e.type.$_type??`dom`);for(let t in A)r[t]==null?delete A[t][e]:A[t][e]=r[t]},{immediate:!0});let j=n(()=>Object.values(A.layer).flat()),M=n(()=>Object.values(A.axis).flat()),N=n(()=>Object.values(A.action).flat()),P=n(()=>Object.values(A.selection).flat()),I=n(()=>Object.keys(A.dom).flatMap(e=>e==`panel`?[]:A.dom[e])),z=n(()=>I.value.filter(e=>Ve(e.type))),re=n(()=>I.value.filter(e=>!Ve(e.type))),ie=n(()=>{let e={},t={};for(let n in O)if(n.startsWith(`on`)){let r=Array.isArray(O[n])?O[n]:[O[n]];e[n]=r.filter(e=>typeof e==`function`),t[n]=r.filter(e=>typeof e!=`function`)}else n.startsWith(`svg-`)?e[n.slice(4)]=O[n]:t[n]=O[n];return{plot:e,wrapper:t}}),ae=n(()=>kr(Or(Dr(...[yr,br].concat(t.theme??[])),t.flip)),{deep:!0}),oe=we(()=>{let e=M.value.map(e=>({...e.type.$_props,...e.props})),t=e.filter(e=>e.coord===`x`),n=e.filter(e=>e.coord===`y`);return{x:t.find(e=>p(e.primary))??t.find(e=>e.primary==null&&!p(e.secondary)),y:n.find(e=>p(e.primary))??n.find(e=>e.primary==null&&!p(e.secondary))}}),V={levels:T({}),extend:T({}),"min-range":T({}),"expand-add":T({}),"expand-mult":T({}),boundary:T({}),reverse:T({}),min:T({}),max:T({}),"min-preview":T({}),"max-preview":T({})};R(oe,e=>{for(let t of[`x`,`y`])for(let n in V)V[n][t]=e?.[t]?.[n]},{immediate:!0});let se=we(()=>{let e={};for(let t of[`x`,`y`]){let n=V.boundary[t];e[t]={min:n?.min??n?.[0],max:n?.max??n?.[1]}}return e}),ce=n(()=>({data:t.data,aes:t.aes,extendX:V.extend.x??t.extend?.x??0,extendY:V.extend.y??t.extend?.y??0})),le=n(()=>j.value.map(e=>{let{geom:t,stat:n,scales:r,data:i,"extend-x":a,"extend-y":o,...s}={...e.type.$_props,...e.props},c=e.type.$_argnames||[],l=e.type.$_attrnames||[],u={},d={},f={},p={};for(let e in s)e!=`key`&&(c.includes(e)?d[e]=s[e]:l.includes(e)?f[e]=s[e]:e.startsWith(`on`)?p[e]=s[e]:typeof s[e]==`function`?[`item-class`,`item-style`].includes(e)?u[e.slice(5)]=s[e]:u[e]=s[e]:[`class`,`style`,`group-class`,`group-style`,`dpi`,`render`].includes(e)?p[e]=s[e]:[`item-class`,`item-style`].includes(e)?f[e.slice(5)]=s[e]:f[e]=s[e]);return{geom:t,stat:n,data:i,aes:u,attrs:f,scales:r,args:d,extendX:a,extendY:o,vBind:p}})),ue=n(()=>(({x:e,y:t,...n})=>n)(t.levels??{})),de=n(()=>{let e={};for(let n of[`x`,`y`])e[n]=V.levels[n]??t.levels?.[n];return e}),fe=n(()=>{let e={};for(let n of[`x`,`y`]){let r=V.min[n]??t.range?.[n+`min`],i=V.max[n]??t.range?.[n+`max`];e[n+`min`]=isFinite(r)&&!Number.isNaN(r)?r:null,e[n+`max`]=isFinite(i)&&!Number.isNaN(i)?i:null}return e}),pe=n(()=>{let e={};for(let n of[`x`,`y`]){let r=V[`min-preview`][n]??t.rangePreview?.[n+`min`],i=V[`max-preview`][n]??t.rangePreview?.[n+`max`];e[n+`min`]=isFinite(r)&&!Number.isNaN(r)?r:null,e[n+`max`]=isFinite(i)&&!Number.isNaN(i)?i:null}return e}),me=we(()=>({xmin:oe?.x?.[`onUpdate:min`],xmax:oe?.x?.[`onUpdate:max`],ymin:oe?.y?.[`onUpdate:min`],ymax:oe?.y?.[`onUpdate:max`]})),he=we(()=>({xmin:oe?.x?.[`onUpdate:minPreview`],xmax:oe?.x?.[`onUpdate:maxPreview`],ymin:oe?.y?.[`onUpdate:minPreview`],ymax:oe?.y?.[`onUpdate:maxPreview`]})),ge=T({}),_e=T({});R(fe,(e,t)=>{e?.xmin!==t?.xmin&&(ge.xmin=e.xmin),e?.xmax!==t?.xmax&&(ge.xmax=e.xmax),e?.ymin!==t?.ymin&&(ge.ymin=e.ymin),e?.ymax!==t?.ymax&&(ge.ymax=e.ymax)},{immediate:!0}),R(pe,(e,t)=>{e?.xmin!==t?.xmin&&(_e.xmin=e.xmin),e?.xmax!==t?.xmax&&(_e.xmax=e.xmax),e?.ymin!==t?.ymin&&(_e.ymin=e.ymin),e?.ymax!==t?.ymax&&(_e.ymax=e.ymax)},{immediate:!0}),R(()=>({...ge}),(e,t)=>{for(let t in me)me[t]?.(e[t]);m(`rangechange`,{...e},{...t}),m(`update:range`,{...e})},{deep:!0}),R(()=>_e,e=>{for(let t in he)he[t]?.(e[t]);m(`update:rangePreview`,{...e})},{deep:!0}),w(`range`,ge),w(`rangePreview`,_e);let ve=n(()=>({x:V[`min-range`].x??t.minRange?.x??0,y:V[`min-range`].y??t.minRange?.y??0})),ye=n(()=>{let e=V[`expand-add`].x??t.expandAdd?.x??0,n=V[`expand-add`].y??t.expandAdd?.y??0;return Array.isArray(e)?e={min:e[0],max:e[1]}:typeof e==`number`&&(e={min:e,max:e}),Array.isArray(n)?n={min:n[0],max:n[1]}:typeof n==`number`&&(n={min:n,max:n}),{x:e,y:n}}),be=n(()=>{let e=V[`expand-mult`].x??t.expandMult?.x??.05,n=V[`expand-mult`].y??t.expandMult?.y??.05;return Array.isArray(e)?e={min:e[0],max:e[1]}:typeof e==`number`&&(e={min:e,max:e}),Array.isArray(n)?n={min:n[0],max:n[1]}:typeof n==`number`&&(n={min:n,max:n}),{x:e,y:n}}),xe=we(()=>({x:p(V.reverse.x)??t.reverse?.x??!1,y:p(V.reverse.y)??t.reverse?.y??!1})),Se={left:1,right:2,middle:4,X1:8,X2:16},Ce=n(()=>{let e=t.flip?{x:`v`,y:`h`}:{x:`h`,y:`v`},n=M.value.map(e=>({...e.type.$_props,...e.props,$_children:e.children??{}})).concat(t.axes??[]);return n.every(e=>e?.coord!=`x`)&&n.push({coord:`x`}),n.every(e=>e?.coord!=`y`)&&n.push({coord:`y`}),n.map(({coord:t,position:n,title:r,breaks:i,labels:a,titles:o,"minor-breaks":s,"show-grid":c,theme:l=[],extend:u,boundary:d,action:m,primary:h,secondary:g,"expand-mult":_,"expand-add":v,levels:y,limits:b,min:x,max:S,"onUpdate:min":C,"onUpdate:max":w,$_children:T={},...E})=>{let D=e[t];n??=`start`,n==`start`?(n={h:`bottom`,v:`left`}[D],xe[f[t]]&&(n=f[n])):n==`end`&&(n={h:`top`,v:`right`}[D],xe[f[t]]&&(n=f[n]));let O=T.breaks,k=Object.keys(T).filter(e=>typeof T[e]==`function`&&e!=`breaks`).flatMap(e=>Yn(T[e]())).map(e=>({...e.type.$_props,...e.props})).concat(m??[]).flatMap(e=>{let n=[];for(let r of[`move`,`nudge`,`zoom`,`rescale`]){let i=e[r];if(i==null||i===!1)continue;let a=`on`+r.charAt(0).toUpperCase()+r.slice(1);n.push({action:r,[D+`min`]:i.min??e.min??d?.min??d?.[0]??se?.[t]?.min,[D+`max`]:i.max??e.max??d?.max??d?.[1]??se?.[t]?.max,[`min-range-`+D]:i[`min-range`]??e[`min-range`],ctrlKey:!!(i.ctrl??p(e.ctrl)),shiftKey:!!(i.shift??p(e.shift)),altKey:!!(i.alt??p(e.alt)),metaKey:!!(i.meta??p(e.meta)),buttons:i.buttons??Se[i.button]??e.buttons??Se[e.button]??1,emit:e[a]})}return n});return{coord:t,orientation:D,position:n,title:r,breaks:i,labels:a,titles:o,minorBreaks:s,breakSlot:O,showGrid:p(c)??n!==`none`,extend:u??V.extend[t],theme:Object.assign({},...[ae.value?.axis?.[n]??ae.value?.axis?.[D]].concat(l)),action:k,...E}}).filter(e=>e!=null)}),Te=T({});R(Ce,e=>{for(let t of[`left`,`right`,`top`,`bottom`])Te[t]=e.some(e=>e.position==t)},{immediate:!0});let Ee=n(()=>N.value.map(e=>({...e.type.$_props,...e.props})).concat(t.action??[]).flatMap(e=>{let t=[];for(let n of[`select`,`move`,`nudge`,`zoom`]){let r=e[n];if(r==null||r===!1)continue;let i=r.x==null&&r.y==null&&e.x==null&&e.y==null,a=`on`+n.charAt(0).toUpperCase()+n.slice(1);t.push({action:n,x:i||!!(r.x??p(e.x)),y:i||!!(r.y??p(e.y)),xmin:r.xmin??e.xmin??se?.x?.min,xmax:r.xmax??e.xmax??se?.x?.max,ymin:r.ymin??e.ymin??se?.y?.min,ymax:r.ymax??e.ymax??se?.y?.max,"min-range-x":r[`min-range-x`]??e[`min-range-x`],"min-range-y":r[`min-range-y`]??e[`min-range-y`],ctrlKey:!!(r.ctrl??p(e.ctrl)),shiftKey:!!(r.shift??p(e.shift)),altKey:!!(r.alt??p(e.alt)),metaKey:!!(r.meta??p(e.meta)),buttons:r.buttons??Se[r.button]??e.buttons??Se[e.button]??1,emit:e[a]})}return t})),De=n(()=>P.value.map(e=>({...e.type.$_props,...e.props})).map(({once:e,move:t,dismissible:n,resize:r,x:i,y:a,xmin:o,xmax:s,ymin:c,ymax:l,ctrl:u,shift:d,alt:f,meta:h,button:g,buttons:_,modelValue:v,"onUpdate:modelValue":y,theme:b=[],...x})=>{let S=i==null&&a==null;return p(e)?(v=T({}),y=null):y??=(v=T(v??{}),e=>{for(let e in v)delete v[e];Object.assign(v,e)}),{move:!!p(t),dismissible:n==null?void 0:n!==!1,resize:!!p(r),x:S||!!p(i),y:S||!!p(a),xmin:o??se?.x?.min,xmax:s??se?.x?.max,ymin:c??se?.y?.min,ymax:l??se?.y?.max,ctrlKey:!!p(u),shiftKey:!!p(d),altKey:!!p(f),metaKey:!!p(h),buttons:_??Se[g]??1,modelValue:v,"onUpdate:modelValue":y,theme:Object.assign({},...[ae.value?.selection].concat(b)),onSelect:(e,t)=>m(`select`,e,t),...x}})),{pixelRatio:Oe}=Pe(),ke=L(`wrapper`),Ae=L(`plot`),je=te(t,`width`),Me=te(t,`height`),Ne=E(null);w(`vvplot-visible`,Ne),x(()=>{R(je,e=>{ke.value.style.width=ir(e,`px`)??null},{immediate:!0}),R(Me,e=>{ke.value.style.height=ir(e,`px`)??null},{immediate:!0})});let Ie={width:0,height:0};Fe(Ae,([e])=>{if(Ne.value=e.target.getClientRects().length>0,!Ne.value)return;let{width:t,height:n}=e.contentRect;je.value-t<.5&&Me.value-n<.5||(ke.value.style.width&&(je.value=t),ke.value.style.height&&(Me.value=n),(t>0||n>0)&&(Ie.width>0||Ie.height>0)&&m(`resize`,{width:t,height:n},Ie),Ie={width:t,height:n})});let Le=n(()=>({position:`absolute`,pointerEvents:`none`,left:ir(Ae.value?.panel?.left,`px`),top:ir(Ae.value?.panel?.top,`px`),width:ir(Ae.value?.panel?.width,`px`),height:ir(Ae.value?.panel?.height,`px`)})),Re=n(()=>{let e={position:`relative`,overflow:`hidden`,boxSizing:`border-box`};return t.resize===`both`||t.resize===!0||t.resize===``?Object.assign(e,{resize:`both`}):t.resize===`horizontal`||t.resize===`x`&&!t.flip||t.resize===`y`&&t.flip?Object.assign(e,{resize:`horizontal`}):(t.resize===`vertical`||t.resize===`y`&&!t.flip||t.resize===`x`&&t.flip)&&Object.assign(e,{resize:`vertical`}),e});return s({get svg(){return Ae.value.svg},serialize(e){return vr(Ae.value.svg,e)}}),(n,s)=>(C(),a(`div`,_({ref:`wrapper`,class:`vvplot`,style:Re.value},ie.value.wrapper),[l(X_,_({ref:`plot`,paddings:Te,schema:ce.value,layers:le.value,"min-range":ve.value,"expand-add":ye.value,"expand-mult":be.value,reverse:F(xe),flip:t.flip,"coord-levels":de.value,levels:ue.value,scales:t.scales,axes:Ce.value,theme:ae.value,selections:De.value,transition:v.value,"onUpdate:transition":s[0]||=e=>v.value=e},ie.value.plot,{"selection-preview":h.value,"onUpdate:selectionPreview":s[1]||=e=>h.value=e,"selection-preview-theme":g.value,"onUpdate:selectionPreviewTheme":s[2]||=e=>g.value=e,action:Ee.value,clip:t.clip,render:t.render,dpi:t.dpi??96*F(Oe),legendTeleport:t.legendTeleport,onSelect:s[3]||=(e,t)=>m(`select`,e,t)}),{default:B(()=>[(C(!0),a(e,null,D(z.value,e=>(C(),r(k(e)))),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`]),s[4]||=c(),o(`div`,{class:`vvplot-panel-container`,style:b(Le.value)},[A.dom.panel?.length?(C(),a(`div`,Ov,[(C(!0),a(e,null,D(A.dom.panel,e=>(C(),r(k(e)))),256))])):i(``,!0)],4),s[5]||=c(),(C(!0),a(e,null,D(re.value,e=>(C(),r(k(e)))),256))],16))}}),Av={$_type:`selection`,$_props:{}},jv=/* @__PURE__ */ ue({VVAction:()=>Z_,VVAxis:()=>Cv,VVAxisBreak:()=>Ev,VVAxisX:()=>wv,VVAxisY:()=>Tv,VVGeom:()=>Q_,VVGeomBar:()=>$_,VVGeomBlank:()=>ev,VVGeomBoxplot:()=>tv,VVGeomCol:()=>nv,VVGeomCurve:()=>rv,VVGeomDensity:()=>iv,VVGeomEllipse:()=>av,VVGeomHistogram:()=>ov,VVGeomLine:()=>sv,VVGeomLinerange:()=>cv,VVGeomMarkdown:()=>lv,VVGeomMarkdownsegment:()=>uv,VVGeomPath:()=>dv,VVGeomPoint:()=>fv,VVGeomPolygon:()=>pv,VVGeomRect:()=>mv,VVGeomSegment:()=>hv,VVGeomShape:()=>gv,VVGeomStick:()=>_v,VVGeomText:()=>vv,VVGeomTextsegment:()=>yv,VVGeomTile:()=>bv,VVGeomViolin:()=>xv,VVPlot:()=>kv,VVSelection:()=>Av});function Mv(e){for(let[t,n]of Object.entries(jv))e.component(t,n)}var Nv={install:Mv};export{Z_ as VVAction,Cv as VVAxis,Ev as VVAxisBreak,wv as VVAxisX,Tv as VVAxisY,Q_ as VVGeom,$_ as VVGeomBar,ev as VVGeomBlank,tv as VVGeomBoxplot,nv as VVGeomCol,rv as VVGeomCurve,iv as VVGeomDensity,av as VVGeomEllipse,ov as VVGeomHistogram,sv as VVGeomLine,cv as VVGeomLinerange,lv as VVGeomMarkdown,uv as VVGeomMarkdownsegment,dv as VVGeomPath,fv as VVGeomPoint,pv as VVGeomPolygon,mv as VVGeomRect,hv as VVGeomSegment,gv as VVGeomShape,_v as VVGeomStick,vv as VVGeomText,yv as VVGeomTextsegment,bv as VVGeomTile,xv as VVGeomViolin,kv as VVPlot,Av as VVSelection,jv as components,Nv as default,Mv as install,Ps as number_cut,fs as oob,js as vvbreak,pi as vvgeom,zs as vvlabel,Os as vvscale,zi as vvstat,Ar as vvtheme};