vvplot 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- var VVPlot=(function(lt,o){"use strict";function Yr(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}const p1=new WeakMap,Js=(...t)=>{var e;const n=t[0],r=(e=o.getCurrentInstance())==null?void 0:e.proxy;if(r==null&&!o.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&p1.has(r)&&n in p1.get(r)?p1.get(r)[n]:o.inject(...t)};function tl(t){if(!o.isRef(t))return o.reactive(t);const e=new Proxy({},{get(n,r,i){return o.unref(Reflect.get(t.value,r,i))},set(n,r,i){return o.isRef(t.value[r])&&!o.isRef(i)?t.value[r].value=i:t.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(t.value,r)},has(n,r){return Reflect.has(t.value,r)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return o.reactive(e)}function he(t){return tl(o.computed(t))}const el=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const nl=Object.prototype.toString,rl=t=>nl.call(t)==="[object Object]",il=()=>{};function _r(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function y1(t){return Array.isArray(t)?t:[t]}function Gr(t,e,n){return o.watch(t,e,{...n,immediate:!0})}const yn=el?window:void 0;function x1(t){var e;const n=o.toValue(t);return(e=n?.$el)!=null?e:n}function ol(...t){const e=[],n=()=>{e.forEach(u=>u()),e.length=0},r=(u,c,l,h)=>(u.addEventListener(c,l,h),()=>u.removeEventListener(c,l,h)),i=o.computed(()=>{const u=y1(o.toValue(t[0])).filter(c=>c!=null);return u.every(c=>typeof c!="string")?u:void 0}),s=Gr(()=>{var u,c;return[(c=(u=i.value)==null?void 0:u.map(l=>x1(l)))!=null?c:[yn].filter(l=>l!=null),y1(o.toValue(i.value?t[1]:t[0])),y1(o.unref(i.value?t[2]:t[1])),o.toValue(i.value?t[3]:t[2])]},([u,c,l,h])=>{if(n(),!u?.length||!c?.length||!l?.length)return;const d=rl(h)?{...h}:h;e.push(...u.flatMap(m=>c.flatMap(f=>l.map(g=>r(m,f,g,d)))))},{flush:"post"}),a=()=>{s(),n()};return Yr(n),a}function sl(){const t=o.shallowRef(!1),e=o.getCurrentInstance();return e&&o.onMounted(()=>{t.value=!0},e),t}function Wr(t){const e=sl();return o.computed(()=>(e.value,!!t()))}const ll=Symbol("vueuse-ssr-width");function al(){const t=o.hasInjectionContext()?Js(ll,null):null;return typeof t=="number"?t:void 0}function cl(t,e={}){const{window:n=yn,ssrWidth:r=al()}=e,i=Wr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=o.shallowRef(typeof r=="number"),a=o.shallowRef(),u=o.shallowRef(!1),c=l=>{u.value=l.matches};return o.watchEffect(()=>{if(s.value){s.value=!i.value;const l=o.toValue(t).split(",");u.value=l.some(h=>{const d=h.includes("not all"),m=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),f=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(m||f);return m&&g&&(g=r>=_r(m[1])),f&&g&&(g=r<=_r(f[1])),d?!g:g});return}i.value&&(a.value=n.matchMedia(o.toValue(t)),u.value=a.value.matches)}),ol(a,"change",c,{passive:!0}),o.computed(()=>u.value)}function ul(t={}){const{window:e=yn}=t,n=o.shallowRef(1),r=cl(()=>`(resolution: ${n.value}dppx)`,t);let i=il;return e&&(i=Gr(r,()=>n.value=e.devicePixelRatio)),{pixelRatio:o.readonly(n),stop:i}}function Kr(t,e,n={}){const{window:r=yn,...i}=n;let s;const a=Wr(()=>r&&"ResizeObserver"in r),u=()=>{s&&(s.disconnect(),s=void 0)},c=o.computed(()=>{const d=o.toValue(t);return Array.isArray(d)?d.map(m=>x1(m)):[x1(d)]}),l=o.watch(c,d=>{if(u(),a.value&&r){s=new ResizeObserver(e);for(const m of d)m&&s.observe(m,i)}},{immediate:!0,flush:"post"}),h=()=>{u(),l()};return Yr(h),{isSupported:a,stop:h}}function hl(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const xn=()=>!1,b1=Object.assign,Zr=hl("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"),fl=Symbol(""),ml=Symbol(""),dl=Symbol(""),gl=Symbol(""),Qr={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function pl(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Qr}}function v1(t,e=!1,n=Qr,r=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:r}}const Jr=new Uint8Array([123,123]),ti=new Uint8Array([125,125]);function ei(t){return t>=97&&t<=122||t>=65&&t<=90}function Ft(t){return t===32||t===10||t===9||t===12||t===13}function fe(t){return t===47||t===62||Ft(t)}function bn(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Lt={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 yl{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=Jr,this.delimiterClose=ti,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=Jr,this.delimiterClose=ti}getPos(e){let n=1,r=e+1;const i=this.newlines.length;let s=-1;if(i>100){let a=-1,u=i;for(;a+1<u;){const c=a+u>>>1;this.newlines[c]<e?a=c:u=c}s=a}else for(let a=i-1;a>=0;a--)if(e>this.newlines[a]){s=a;break}return s>=0&&(n=s+2,r=e-this.newlines[s]),{column:r,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?fe(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||Ft(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}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===Lt.TitleEnd||this.currentSequence===Lt.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===Lt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Lt.Cdata.length&&(this.state=28,this.currentSequence=Lt.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===Lt.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):ei(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){fe(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(fe(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(bn("</"+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){Ft(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=ei(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||Ft(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):Ft(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):Ft(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||fe(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||fe(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||fe(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||fe(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||fe(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)):Ft(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):Ft(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){Ft(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=Lt.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===Lt.ScriptEnd[3]?this.startSpecial(Lt.ScriptEnd,4):e===Lt.StyleEnd[3]?this.startSpecial(Lt.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Lt.TitleEnd[3]?this.startSpecial(Lt.TitleEnd,4):e===Lt.TextareaEnd[3]?this.startSpecial(Lt.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===Lt.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 ni(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function ri(t,e){const n=ni("MODE",e),r=ni(t,e);return n===3?r===!0:r!==!1}function vn(t,e,n,...r){return ri(t,e)}function xl(t){throw t}function bl(t){}function vl(t,e,n,r){const i=`https://vuejs.org/error-reference/#compiler-${t}`,s=new SyntaxError(String(i));return s.code=t,s.loc=e,s}const wl=t=>t.type===4&&t.isStatic;function kl(t){switch(t){case"Teleport":case"teleport":return fl;case"Suspense":case"suspense":return ml;case"KeepAlive":case"keep-alive":return dl;case"BaseTransition":case"base-transition":return gl}}function Nl(t,e){return!!(t&&wl(t)&&t.content===e)}function ii(t){return t.type===7&&t.name==="pre"}const Sl=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Al(t){for(let e=0;e<t.length;e++)if(!Ft(t.charCodeAt(e)))return!1;return!0}const oi={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:xn,isPreTag:xn,isIgnoreNewlineTag:xn,isCustomElement:xn,onError:xl,onWarn:bl,comments:!1,prefixIdentifiers:!1};let mt=oi,Je=null,ne="",qt=null,ut=null,It="",re=-1,pe=-1,w1=0,me=!1,k1=null;const xt=[],vt=new yl(xt,{onerr:ie,ontext(t,e){wn(Mt(t,e),t,e)},ontextentity(t,e,n){wn(t,e,n)},oninterpolation(t,e){if(me)return wn(Mt(t,e),t,e);let n=t+vt.delimiterOpen.length,r=e-vt.delimiterClose.length;for(;Ft(ne.charCodeAt(n));)n++;for(;Ft(ne.charCodeAt(r-1));)r--;let i=Mt(n,r);i.includes("&")&&(i=mt.decodeEntities(i,!1)),N1({type:5,content:Nn(i,!1,Nt(n,r)),loc:Nt(t,e)})},onopentagname(t,e){const n=Mt(t,e);qt={type:1,tag:n,ns:mt.getNamespace(n,xt[0],mt.ns),tagType:0,props:[],children:[],loc:Nt(t-1,e),codegenNode:void 0}},onopentagend(t){li(t)},onclosetag(t,e){const n=Mt(t,e);if(!mt.isVoidTag(n)){let r=!1;for(let i=0;i<xt.length;i++)if(xt[i].tag.toLowerCase()===n.toLowerCase()){r=!0,i>0&&ie(24,xt[0].loc.start.offset);for(let a=0;a<=i;a++){const u=xt.shift();kn(u,e,a<i)}break}r||ie(23,ai(t,60))}},onselfclosingtag(t){const e=qt.tag;qt.isSelfClosing=!0,li(t),xt[0]&&xt[0].tag===e&&kn(xt.shift(),t)},onattribname(t,e){ut={type:6,name:Mt(t,e),nameLoc:Nt(t,e),value:void 0,loc:Nt(t)}},ondirname(t,e){const n=Mt(t,e),r=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!me&&r===""&&ie(26,t),me||r==="")ut={type:6,name:n,nameLoc:Nt(t,e),value:void 0,loc:Nt(t)};else if(ut={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[v1("prop")]:[],loc:Nt(t)},r==="pre"){me=vt.inVPre=!0,k1=qt;const i=qt.props;for(let s=0;s<i.length;s++)i[s].type===7&&(i[s]=Ol(i[s]))}},ondirarg(t,e){if(t===e)return;const n=Mt(t,e);if(me&&!ii(ut))ut.name+=n,ye(ut.nameLoc,e);else{const r=n[0]!=="[";ut.arg=Nn(r?n:n.slice(1,-1),r,Nt(t,e),r?3:0)}},ondirmodifier(t,e){const n=Mt(t,e);if(me&&!ii(ut))ut.name+="."+n,ye(ut.nameLoc,e);else if(ut.name==="slot"){const r=ut.arg;r&&(r.content+="."+n,ye(r.loc,e))}else{const r=v1(n,!0,Nt(t,e));ut.modifiers.push(r)}},onattribdata(t,e){It+=Mt(t,e),re<0&&(re=t),pe=e},onattribentity(t,e,n){It+=t,re<0&&(re=e),pe=n},onattribnameend(t){const e=ut.loc.start.offset,n=Mt(e,t);ut.type===7&&(ut.rawName=n),qt.props.some(r=>(r.type===7?r.rawName:r.name)===n)&&ie(2,e)},onattribend(t,e){if(qt&&ut){if(ye(ut.loc,e),t!==0)if(It.includes("&")&&(It=mt.decodeEntities(It,!0)),ut.type===6)ut.name==="class"&&(It=hi(It).trim()),t===1&&!It&&ie(13,e),ut.value={type:2,content:It,loc:t===1?Nt(re,pe):Nt(re-1,pe+1)},vt.inSFCRoot&&qt.tag==="template"&&ut.name==="lang"&&It&&It!=="html"&&vt.enterRCDATA(bn("</template"),0);else{let n=0;ut.exp=Nn(It,!1,Nt(re,pe),0,n),ut.name==="for"&&(ut.forParseResult=Cl(ut.exp));let r=-1;ut.name==="bind"&&(r=ut.modifiers.findIndex(i=>i.content==="sync"))>-1&&vn("COMPILER_V_BIND_SYNC",mt,ut.loc,ut.arg.loc.source)&&(ut.name="model",ut.modifiers.splice(r,1))}(ut.type!==7||ut.name!=="pre")&&qt.props.push(ut)}It="",re=pe=-1},oncomment(t,e){mt.comments&&N1({type:3,content:Mt(t,e),loc:Nt(t-4,e+3)})},onend(){const t=ne.length;for(let e=0;e<xt.length;e++)kn(xt[e],t-1),ie(24,xt[e].loc.start.offset)},oncdata(t,e){(xt[0]?xt[0].ns:mt.ns)!==0?wn(Mt(t,e),t,e):ie(1,t-9)},onprocessinginstruction(t){(xt[0]?xt[0].ns:mt.ns)===0&&ie(21,t-1)}}),si=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,El=/^\(|\)$/g;function Cl(t){const e=t.loc,n=t.content,r=n.match(Sl);if(!r)return;const[,i,s]=r,a=(d,m,f=!1)=>{const g=e.start.offset+m,y=g+d.length;return Nn(d,!1,Nt(g,y),0,f?1:0)},u={source:a(s.trim(),n.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=i.trim().replace(El,"").trim();const l=i.indexOf(c),h=c.match(si);if(h){c=c.replace(si,"").trim();const d=h[1].trim();let m;if(d&&(m=n.indexOf(d,l+c.length),u.key=a(d,m,!0)),h[2]){const f=h[2].trim();f&&(u.index=a(f,n.indexOf(f,u.key?m+d.length:l+c.length),!0))}}return c&&(u.value=a(c,l,!0)),u}function Mt(t,e){return ne.slice(t,e)}function li(t){vt.inSFCRoot&&(qt.innerLoc=Nt(t+1,t+1)),N1(qt);const{tag:e,ns:n}=qt;n===0&&mt.isPreTag(e)&&w1++,mt.isVoidTag(e)?kn(qt,t):(xt.unshift(qt),(n===1||n===2)&&(vt.inXML=!0)),qt=null}function wn(t,e,n){{const s=xt[0]&&xt[0].tag;s!=="script"&&s!=="style"&&t.includes("&")&&(t=mt.decodeEntities(t,!1))}const r=xt[0]||Je,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=t,ye(i.loc,n)):r.children.push({type:2,content:t,loc:Nt(e,n)})}function kn(t,e,n=!1){n?ye(t.loc,ai(e,60)):ye(t.loc,Tl(e,62)+1),vt.inSFCRoot&&(t.children.length?t.innerLoc.end=b1({},t.children[t.children.length-1].loc.end):t.innerLoc.end=b1({},t.innerLoc.start),t.innerLoc.source=Mt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:r,ns:i,children:s}=t;if(me||(r==="slot"?t.tagType=2:ci(t)?t.tagType=3:$l(t)&&(t.tagType=1)),vt.inRCDATA||(t.children=ui(s)),i===0&&mt.isIgnoreNewlineTag(r)){const a=s[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}i===0&&mt.isPreTag(r)&&w1--,k1===t&&(me=vt.inVPre=!1,k1=null),vt.inXML&&(xt[0]?xt[0].ns:mt.ns)===0&&(vt.inXML=!1);{const a=t.props;if(!vt.inSFCRoot&&ri("COMPILER_NATIVE_TEMPLATE",mt)&&t.tag==="template"&&!ci(t)){const c=xt[0]||Je,l=c.children.indexOf(t);c.children.splice(l,1,...t.children)}const u=a.find(c=>c.type===6&&c.name==="inline-template");u&&vn("COMPILER_INLINE_TEMPLATE",mt,u.loc)&&t.children.length&&(u.value={type:2,content:Mt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:u.loc})}}function Tl(t,e){let n=t;for(;ne.charCodeAt(n)!==e&&n<ne.length-1;)n++;return n}function ai(t,e){let n=t;for(;ne.charCodeAt(n)!==e&&n>=0;)n--;return n}const Ml=new Set(["if","else","else-if","for","slot"]);function ci({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&Ml.has(e[n].name))return!0}return!1}function $l({tag:t,props:e}){if(mt.isCustomElement(t))return!1;if(t==="component"||Bl(t.charCodeAt(0))||kl(t)||mt.isBuiltInComponent&&mt.isBuiltInComponent(t)||mt.isNativeTag&&!mt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const r=e[n];if(r.type===6){if(r.name==="is"&&r.value){if(r.value.content.startsWith("vue:"))return!0;if(vn("COMPILER_IS_ON_ELEMENT",mt,r.loc))return!0}}else if(r.name==="bind"&&Nl(r.arg,"is")&&vn("COMPILER_IS_ON_ELEMENT",mt,r.loc))return!0}return!1}function Bl(t){return t>64&&t<91}const Ll=/\r\n/g;function ui(t){const e=mt.whitespace!=="preserve";let n=!1;for(let r=0;r<t.length;r++){const i=t[r];if(i.type===2)if(w1)i.content=i.content.replace(Ll,`
2
- `);else if(Al(i.content)){const s=t[r-1]&&t[r-1].type,a=t[r+1]&&t[r+1].type;!s||!a||e&&(s===3&&(a===3||a===1)||s===1&&(a===3||a===1&&ql(i.content)))?(n=!0,t[r]=null):i.content=" "}else e&&(i.content=hi(i.content))}return n?t.filter(Boolean):t}function ql(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function hi(t){let e="",n=!1;for(let r=0;r<t.length;r++)Ft(t.charCodeAt(r))?n||(e+=" ",n=!0):(e+=t[r],n=!1);return e}function N1(t){(xt[0]||Je).children.push(t)}function Nt(t,e){return{start:vt.getPos(t),end:e==null?e:vt.getPos(e),source:e==null?e:Mt(t,e)}}function ye(t,e){t.end=vt.getPos(e),t.source=Mt(t.start.offset,e)}function Ol(t){const e={type:6,name:t.rawName,nameLoc:Nt(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,r=0,i=0){return v1(t,e,n,r)}function ie(t,e,n){mt.onError(vl(t,Nt(e,e)))}function Pl(){vt.reset(),qt=null,ut=null,It="",re=-1,pe=-1,xt.length=0}function Vl(t,e){if(Pl(),ne=t,mt=b1({},oi),e){let i;for(i in e)e[i]!=null&&(mt[i]=e[i])}vt.mode=mt.parseMode==="html"?1:mt.parseMode==="sfc"?2:0,vt.inXML=mt.ns===1||mt.ns===2;const n=e&&e.delimiters;n&&(vt.delimiterOpen=bn(n[0]),vt.delimiterClose=bn(n[1]));const r=Je=pl([],t);return vt.parse(ne),r.loc=Nt(0,t.length),r.children=ui(r.children),Je=null,r}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 tn(t){return t==null?[]:t.flatMap(e=>e.type==o.Fragment?tn(e.children):e.type=="template"?tn(e.children).map(n=>(n.props={...n.props,...e.props},n)):e)}class Oe extends String{static#t=new Map;constructor(e){const n=String(e);if(Oe.#t.has(n))return Oe.#t.get(n);super(n),Oe.#t.set(n,this)}}class Pe extends Number{static#t=new Map;constructor(e){const n=Number(e);if(Pe.#t.has(n))return Pe.#t.get(n);super(n),Pe.#t.set(n,this)}}class xe{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new Oe(e);if(typeof e=="number"||e instanceof Number)return new Pe(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof Oe||e instanceof Pe}}class fi{constructor(e,n,r){this.label=e,this.value=n,this.level=r}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class be extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=S1(Array.from(e).filter(r=>!(r instanceof xe)&&r!=null).map(r=>String(r))).sort((r,i)=>mi(r,i,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(r=>String(r)).sort((r,i)=>mi(e[r],e[i]));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((r,i)=>e[i].label===n[i].label)}constructor(...e){return e=e.map((n,r)=>new fi(String(n),r)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,be.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(r=>r instanceof xe?r:this.mapping[r]);return n.level=this,n}}function Ve(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function ve(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 at(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const yt={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ve)),n&&(t=t.filter(r=>isFinite(r))),Array.from(t).reduce((r,i)=>r<i?r:i,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ve)),n&&(t=t.filter(r=>isFinite(r))),Array.from(t).reduce((r,i)=>r>i?r:i,-1/0)},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Ve)),n&&(t=t.filter(r=>isFinite(r))),t.length==0?NaN:Array.from(t).reduce((r,i)=>r+i,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Ve)),n&&(t=t.filter(i=>isFinite(i))),t.length<=1)return NaN;let r=Array.from(t).reduce((i,s)=>i+s,0)/t.length;return Math.sqrt(Array.from(t).reduce((i,s)=>i+(s-r)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:r=!0}={}){if(n&&(t=t.filter(Ve)),r&&(t=t.filter(u=>isFinite(u))),t.length==0)return NaN;t=Array.from(t).sort((u,c)=>u-c);let i=(t.length-1)*e,s=Math.floor(i),a=Math.ceil(i);return s==a?t[s]:t[s]*(a-i)+t[a]*(i-s)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Ve)),n&&(t=t.filter(s=>isFinite(s))),t.length==0)return new Array(2);let r=Array.from(t).reduce((s,a)=>s<a?s:a,1/0),i=Array.from(t).reduce((s,a)=>s>a?s:a,-1/0);return Object.assign([r,i],{min:r,max:i})}},kt={sum(...t){if(t.some(r=>r==null))return null;if(t.some(r=>!Array.isArray(r)&&typeof r!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(r=>!Array.isArray(r)).reduce((r,i)=>+i+r,0);if(t=t.filter(r=>Array.isArray(r)),t.length==0)return[e];if(t.some(r=>r.length==0))return[];let n=t[0].length;if(t.some(r=>r.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(r,i)=>t.reduce((s,a)=>+(a[i]??0)+s,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(r=>r==null))return null;let e=t.filter(r=>Array.isArray(r));if(e.length==0)return[t.join("")];if(t.some(r=>r.length==0))return[];let n=e[0].length;if(e.some(r=>r.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(r,i)=>t.map(s=>Array.isArray(s)?s[i]:s).join(""))},apply(t,...e){if(e.some(i=>i==null))return null;let n=e.filter(i=>Array.isArray(i));if(n.length==0)return[t(...e)];if(e.some(i=>i.length==0))return[];let r=n[0].length;if(n.some(i=>i.length!=r))throw new Error("Arrays must have the same length");return Array.from({length:r},(i,s)=>t(...e.map(a=>Array.isArray(a)?a[s]:a)))}};function Ot(...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 r in n)n[r]!==void 0&&(e[r]=n[r]);return e},{})}function we(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function S1(t,e=null,n=null){let r=new Map;for(let i in t){let s=e?e(t[i]):t[i];r.has(s)?n&&r.set(s,n(r.get(s),t[i])):r.set(s,t[i])}return Array.from(r.values())}function mi(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function ke(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 de(t,{min:e,max:n}){return t<e||t>n?NaN:t}function ht(t,{min:e,max:n}){return t<e?e:t>n?n:t}function A1(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 di(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),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i of n)if(!di(t[i],e[i]))return!1;return!0}function Dl(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let r=0;r<t.length;r++){let i=t[r],s=e.findIndex(a=>di(a,i));s===-1&&(e.push(i),s=e.length-1),n.push(s)}return n.categories=e,n}function jl(...t){if(t.length==0)return null;let e=t.filter(i=>Array.isArray(i)).reduce((i,s)=>{if(Array.isArray(s)){if(i==null)return s.length;if(i!=s.length)throw new Error("Arrays must have the same length")}return i},null)??0,n=[],r=[];for(let i=0;i<e;i++){let s=t.map(u=>Array.isArray(u)?u[i]:u),a=n.findIndex(u=>u.every((c,l)=>c===s[l]));a===-1&&(n.push(s),a=n.length-1),r.push(a)}return r.categories=n,r}function Pt(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(s=>Array.isArray(s)).reduce((s,a)=>{if(Array.isArray(a)){if(s==null)return a.length;if(s!=a.length)throw new Error("Arrays must have the same length")}return s},null)??0,n=Object.keys(t),r=[],i=[];for(let s=0;s<e;s++){let a=Object.fromEntries(n.map(c=>[c,Array.isArray(t[c])?t[c][s]:t[c]])),u=r.findIndex(c=>n.every(l=>c[l]===a[l]));u===-1&&(r.push(a),u=r.length-1),i.push(u)}return i.categories=r,i}function E1(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,r)=>{if(Array.isArray(r)){if(n==null)return r.length;if(n!=r.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,r)=>Object.fromEntries(Object.keys(t).map(i=>[i,Array.isArray(t[i])?t[i][r]:t[i]])))}function Ct(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 C1={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function Rl(t,{unit:e="mm"}={}){if(!(t instanceof SVGElement))return null;function n(u){let c=u.childNodes.length;for(;c--;){const l=u.childNodes[c];l.nodeType===Node.COMMENT_NODE?u.removeChild(l):l.nodeType===Node.ELEMENT_NODE&&(n(l),l.getAttribute("style")==""&&l.removeAttribute("style"),l.getAttribute("class")==""&&l.removeAttribute("class"))}}let r=t.cloneNode(!0),i=Array.from(t.querySelectorAll("foreignObject")),s=Array.from(r.querySelectorAll("foreignObject"));for(let u=0;u<i.length;u++){let c=i[u],l=s[u],h=i[u].querySelector("canvas");if(!h)continue;let d=r.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",h.toDataURL()),d.setAttribute("x",c.getAttribute("x")),d.setAttribute("y",c.getAttribute("y")),d.setAttribute("width",c.getAttribute("width")),d.setAttribute("height",c.getAttribute("height")),l.parentNode.replaceChild(d,l)}for(let u of r.querySelectorAll(".vvplot-interactive,foreignObject"))u.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"),C1[e]||(e=""),r.setAttribute("width",t.scrollWidth/C1[e]+e),r.setAttribute("height",t.scrollHeight/C1[e]+e),r.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(r)}const gi={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"}},pi={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"#eeeeee"}},Il={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray",grid_color:"#eeeeee"}},Hl={axis:{tick_color:"black",label_color:"black",title_color:"black",grid_color:"white"},plot:{background:"#eeeeee"}},Fl={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black",grid_color:"#666666"},plot:{background:"#888888"}},Ul={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"black",grid_width:.5,grid_width_major:1}},zl={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"}},Xl={axis:null};function Yl(...t){return t.reduce((e,n)=>{for(let r in n)n[r]===null?e[r]=null:e[r]=Ot(e[r],n[r]);return e??void 0},{})}function _l(t,e=!1){let{axis_h:n,axis_v:r,axis_x:i,axis_y:s,plot:{margin_x:a,margin_y:u,margin_h:c,margin_v:l,padding_x:h,padding_y:d,padding_h:m,padding_v:f,...g}={},...y}=t;return e?(n=Ot(n,s),r=Ot(r,i),g.margin_h=u===void 0?c:u,g.margin_v=a===void 0?l:a,g.padding_h=d===void 0?m:d,g.padding_v=h===void 0?f:h):(n=Ot(n,i),r=Ot(r,s),g.margin_h=a===void 0?c:a,g.margin_v=u===void 0?l:u,g.padding_h=h===void 0?m:h,g.padding_v=d===void 0?f:d),{axis_h:n,axis_v:r,plot:g,...y}}function Gl(t){return{axis:{h:Ot(...["axis","axis_h"].map(e=>t?.[e])),v:Ot(...["axis","axis_v"].map(e=>t?.[e])),left:Ot(...["axis","axis_v","axis_left"].map(e=>t?.[e])),right:Ot(...["axis","axis_v","axis_right"].map(e=>t?.[e])),top:Ot(...["axis","axis_h","axis_top"].map(e=>t?.[e])),bottom:Ot(...["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 Wl={base:gi,default:pi,light:Il,classic:zl,gray:Hl,dark:Fl,linedraw:Ul,void:Xl},Kl={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 wt=kt.sum;const Zl={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0;if(t.x){let i=wt(e.x?.apply?.(t.x)??t.x,n),s=wt(i,t.width?.map?.(y=>-y/2)??-.5),a=wt(i,t.width?.map?.(y=>+y/2)??.5),u=wt(t.lwisker,r),c=wt(t.Q1,r),l=wt(t.median,r),h=wt(t.Q3,r),d=wt(t.uwisker,r),m=kt.apply((y,{y:w,$raw:S},$)=>wt(w,$).map((A,M)=>({x:y,y:A,$raw:S[M]})),i,t.outliers??[],r),f=wt(t.min,r),g=wt(t.max,r);return{x:i,xmin:s,xmax:a,lwisker:u,Q1:c,median:l,Q3:h,uwisker:d,outliers:m,$xmin:s,$xmax:a,$ymin:f,$ymax:g}}else if(t.y){let i=wt(e.y?.apply?.(t.y)??t.y,r),s=wt(i,t.height?.map?.(y=>-y/2)??-.5),a=wt(i,t.height?.map?.(y=>+y/2)??.5),u=wt(t.lwisker,n),c=wt(t.Q1,n),l=wt(t.median,n),h=wt(t.Q3,n),d=wt(t.uwisker,n),m=kt.apply((y,{x:w,$raw:S},$)=>wt(w,$).map((A,M)=>({x:A,y,$raw:S[M]})),i,t.outliers??[],n),f=wt(t.min,n),g=wt(t.max,n);return{y:i,ymin:s,ymax:a,lwisker:u,Q1:c,median:l,Q3:h,uwisker:d,outliers:m,$xmin:f,$xmax:g,$ymin:s,$ymax:a}}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}},Ql={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(s=>+s),r=t.ynudge?.map(s=>+s);return{points:t.points.map((s,a)=>s.map(u=>({x:+(e?.x?.[u.x]??u.x)+(n?.[a]??0),y:+(e?.y?.[u.y]??u.y)+(r?.[a]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(r=>r.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(r=>r.y))},validate(t){return Array.isArray(t.points)?t:null}};let De=kt.sum;const Jl={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:r,C:i}=t,s=t.xnudge??0,a=t.ynudge??0,u=De(e.x?.apply?.(t.cx)??t.cx,s),c=De(e.y?.apply?.(t.cy)??t.cy,a);return{cx:u,cy:c,A:n,B:r,C:i}},get_range(t,e){if(e=="x"){let n=kt.apply((r,i,s)=>Math.sqrt(s/(r*s-i*i)),t.A??[],t.B??[],t.C??[]);return De(t.cx??[],n).concat(De(t.cx??[],kt.opposite(n))??[])}if(e=="y"){let n=kt.apply((r,i,s)=>Math.sqrt(r/(r*s-i*i)),t.A??[],t.B??[],t.C??[]);return De(t.cy??[],n).concat(De(t.cy??[],kt.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 Sn=kt.sum;const ta={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=Sn(e.x?.apply?.(t.x)??t.x,n),s=Sn(e.y?.apply?.(t.y)??t.y,r),a=Sn(e.x?.apply?.(t.xend)??t.xend,n),u=Sn(e.y?.apply?.(t.yend)??t.yend,r);return{x:i,y:s,xend:a,yend:u}},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 yi=kt.sum;const ea={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=yi(e.x?.apply?.(t.x)??t.x,n),s=yi(e.y?.apply?.(t.y)??t.y,r);return{x:i,y:s}},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 An=kt.sum;const na={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=An(e.x?.apply?.(t.x)??t.x,n),s=An(e.y?.apply?.(t.y)??t.y,r),a=An(e.x?.apply?.(t.xend)??t.xend,n),u=An(e.y?.apply?.(t.yend)??t.yend,r);return{x:i,y:s,xend:a,yend:u}},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 xi=kt.sum;const ra={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=xi(e.x?.apply?.(t.x)??t.x,n),s=xi(e.y?.apply?.(t.y)??t.y,r);return{x:i,y:s}},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}},ia={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(s=>+s),r=t.ynudge?.map(s=>+s);return{points:t.points.map((s,a)=>s.map(u=>({x:+(e?.x?.[u.x]??u.x)+(n?.[a]??0),y:+(e?.y?.[u.y]??u.y)+(r?.[a]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(r=>r.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(r=>r.y))},validate(t){return Array.isArray(t.points)?t:null}};let En=kt.sum;const oa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=En(e.x?.apply?.(t.xmin)??t.xmin,n),s=En(e.x?.apply?.(t.xmax)??t.xmax,n),a=En(e.y?.apply?.(t.ymin)??t.ymin,r),u=En(e.y?.apply?.(t.ymax)??t.ymax,r);return{xmin:i,xmax:s,ymin:a,ymax:u}},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}},sa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=e.x?.apply?.(t.x)??t.x,r=e.y?.apply?.(t.y)??t.y,i=t.xnudge?.map(u=>+u),s=t.ynudge?.map(u=>+u);return{points:t.points.map((u,c)=>u.map(l=>({x:+(e?.x?.[l.x]??l.x)+(i?.[c]??0)+n[c],y:+(e?.y?.[l.y]??l.y)+(s?.[c]??0)+r[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.points??[]).flatMap((n,r)=>n.map(i=>i.x+t.x[r]));if(e=="y")return(t.points??[]).flatMap((n,r)=>n.map(i=>i.y+t.y[r]))},validate(t){return Array.isArray(t.points)?t:null}};let je=kt.sum;const la={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=je(e.x?.apply?.(t.x)??t.x,n),s=je(e.y?.apply?.(t.y)??t.y,r),a=je(i,t.dx),u=je(s,t.dy);return{x:i,y:s,xend:a,yend:u}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(je(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(je(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let bi=kt.sum;const aa={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=bi(e.x?.apply?.(t.x)??t.x,n),s=bi(e.y?.apply?.(t.y)??t.y,r);return{x:i,y:s}},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 Cn=kt.sum;const ca={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=Cn(e.x?.apply?.(t.x)??t.x,n),s=Cn(e.y?.apply?.(t.y)??t.y,r),a=Cn(e.x?.apply?.(t.xend)??t.xend,n),u=Cn(e.y?.apply?.(t.yend)??t.yend,r);return{x:i,y:s,xend:a,yend:u}},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 Tn=kt.sum;const oe=Object.freeze(Object.defineProperty({__proto__:null,blank:Kl,boxplot:Zl,curve:Ql,ellipse:Jl,line:ta,markdown:ea,markdownsegment:na,point:ra,polygon:ia,rect:oa,shape:sa,stick:la,text:aa,textsegment:ca,tile:{scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,r=t.ynudge??0,i=e.x?.apply?.(t.x)??t.x,s=e.y?.apply?.(t.y)??t.y,a=Tn(i,t.width?.map?.(h=>-h/2)??-.5,n),u=Tn(i,t.width?.map?.(h=>+h/2)??.5,n),c=Tn(s,t.height?.map?.(h=>-h/2)??-.5,r),l=Tn(s,t.height?.map?.(h=>+h/2)??.5,r);return{xmin:a,xmax:u,ymin:c,ymax:l}},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=kt.apply((i,s)=>+i-s/2,t.x??[],t.width??[]),r=kt.apply((i,s)=>+i+s/2,t.x??[],t.width??[]);return n.concat(r)}if(e=="y"){let n=kt.apply((i,s)=>+i-s/2,t.y??[],t.height??[]),r=kt.apply((i,s)=>+i+s/2,t.y??[],t.height??[]);return n.concat(r)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}}},Symbol.toStringTag,{value:"Module"})),ua=Object.assign(function(t,{position:e="stack",width:n=.9,height:r=.9}){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let i=t.x?"x":"y",s=t[i];if(s==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(s.some(f=>typeof f=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let a=Object.keys(t).filter(f=>!f.startsWith("$")),u=Pt(Object.fromEntries(a.map(f=>[f,t[f]]))),c=Pt({group:u??0,value:s}),l=Map.groupBy(t.$raw,(f,g)=>c.categories[c[g]]),h=Array.from(l.values()),d=Array.from(l.keys()),m={$raw:h,$group:d.map(f=>f.group)};for(let f of a)m[f]=d.map(g=>g.group).map(g=>u.categories[g][f]);if(i=="x"?(m.x=d.map(f=>f.value),m.height=h.map(f=>f.length)):(m.y=d.map(f=>f.value),m.width=h.map(f=>f.length)),e=="stack"){let f=Object.groupBy(m.$group,(y,w)=>u.categories[y][i]),g=d.map(y=>0);for(let y in f){let w=0;for(let S of f[y])g[S]=w,w+=h[S].length}i=="x"?(m.y=m.height.map((y,w)=>g[w]+y/2),m.width=d.map(y=>n)):(m.x=m.width.map((y,w)=>g[w]+y/2),m.height=d.map(y=>r))}else if(e=="dodge"){let f=Object.groupBy(m.$group,(y,w)=>u.categories[y][i]),g=m.$group.map(y=>f[u.categories[y][i]]);i=="x"?(m.y=m.height.map(y=>y/2),m.width=g.map(y=>n/y.length),m.xnudge=g.map((y,w)=>(m.xnudge?.[w]??0)+((y.indexOf(m.$group[w])+.5)/y.length-.5)*n)):(m.x=m.width.map(y=>y/2),m.height=g.map(y=>r/y.length),m.ynudge=g.map((y,w)=>(m.ynudge?.[w]??0)+((y.indexOf(m.$group[w])+.5)/y.length-.5)*r))}else i=="x"?(m.y=m.height.map(f=>f/2),m.width=d.map(f=>n)):(m.x=m.width.map(f=>f/2),m.height=d.map(f=>r));return m},{core_attrs:["x","y","xnudge","ynudge"]}),ha=Object.assign(function(t,{position:e="dodge",width:n=.9,height:r=.9}){let i=["x","y"].filter(N=>t[N]==null);if(i.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${i.join('", "')}"`);let s=t.x.some(ve),a=t.y.some(ve);if(s&&a)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!s&&!a)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[u,c]=s?["y","x"]:["x","y"],l=Object.keys(t).filter(N=>N!=u&&!N.startsWith("$")),h=Pt(Object.fromEntries(l.map(N=>[N,t[N]]))),d=Pt({group:h??0,cate:t[c]}),m=Map.groupBy(d.map((N,b)=>b),(N,b)=>d.categories[d[b]]),f=Array.from(m.keys()),g=Array.from(m.values()).map(N=>N.map(b=>t.$raw[b])),y=Array.from(m.values()).map(N=>N.map(b=>t[u][b])),w=y.map(N=>yt.min(N)),S=y.map(N=>yt.quantile(N,.25)),$=y.map(N=>yt.quantile(N,.5)),A=y.map(N=>yt.quantile(N,.75)),M=y.map(N=>yt.max(N)),B=y.map((N,b)=>A[b]-S[b]),E=y.map((N,b)=>Math.max(w[b],S[b]-1.5*B[b])),L=y.map((N,b)=>Math.min(M[b],A[b]+1.5*B[b])),p=Array.from(m.values()).map((N,b)=>{let k=N.filter(P=>t[u][P]<E[b]||t[u][P]>L[b]);return{[u]:k.map(P=>t[u][P]),$raw:k.map(P=>t.$raw[P])}}),x={$raw:g,$group:f.map(N=>N.group),min:w,lwisker:E,Q1:S,median:$,Q3:A,uwisker:L,max:M,outliers:p};if(e=="dodge"){let N=Object.groupBy(x.$group,(k,P)=>h.categories[k][c]),b=x.$group.map(k=>N[h.categories[k][c]]);s?(x.width=b.map(k=>n/k.length),x.xnudge=b.map((k,P)=>(x.xnudge?.[P]??0)+((k.indexOf(x.$group[P])+.5)/k.length-.5)*n)):(x.height=b.map(k=>r/k.length),x.ynudge=b.map((k,P)=>(x.ynudge?.[P]??0)+((k.indexOf(x.$group[P])+.5)/k.length-.5)*r))}else s?x.width=f.map(N=>n):x.height=f.map(N=>r);for(let N of l)x[N]=f.map(b=>b.group).map(b=>h.categories[b][N]);return x},{core_attrs:["x","y","xnudge","ynudge"]}),fa=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("$")),r=Pt(Object.fromEntries(n.map(h=>[h,t[h]]))),i=Pt({group:r??new Array(t.x.length).fill(0)}).map((h,d,m)=>m.categories[h]),s=Map.groupBy(t.$raw,(h,d)=>i[d]),a=Array.from(s.values()),u=Array.from(s.keys()),c=Array.from(Map.groupBy(E1({x:t.x,y:t.y}),(h,d)=>i[d]).values()),l={$raw:a,points:c};for(let h of n)l[h]=u.map(d=>d.group).map(d=>r.categories[d][h]);return l},{core_attrs:["x","y","xnudge","ynudge"]}),ma=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:r="area"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(i.some(g=>typeof g!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=vi[n],!n)throw new Error(`kernel must be one of ${Object.keys(vi).map(g=>`"${g}"`).join(", ")}`);let s=Object.keys(t).filter(g=>!["x","y"].includes(g)&&!g.startsWith("$")),a=Pt(Object.fromEntries(s.map(g=>[g,t[g]]))),u=Pt({group:a??new Array(i.length).fill(0)}).map((g,y,w)=>w.categories[g]),c=Map.groupBy(t.$raw,(g,y)=>u[y]),l=Array.from(c.values()),h=Array.from(c.keys()),d=Array.from(Map.groupBy(i,(g,y)=>u[y]).values()),m={$raw:l,$group:h.map(g=>g.group)},f=d.map(g=>{let y=da.nrd0(g),{min:w,max:S}=yt.extent(g);w-=3*y,S+=3*y;let $=(S-w)/(e-1),A=Array.from({length:e},(B,E)=>w+E*$),M=r==="count"?g.length:1;return A.map(B=>[B,yt.mean(g.map(E=>n((B-E)/y)))/y*M])});for(let g of s)m[g]=h.map(y=>a.categories[y.group][g]);return t.x?m.points=f.map(g=>g.map(([y,w])=>({x:y,y:w}))):m.points=f.map(g=>g.map(([y,w])=>({x:w,y}))),m},{core_attrs:["x","y","xnudge","ynudge"]}),da={nrd0:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=yt.sd(t),n=yt.quantile(t,.75)-yt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=yt.sd(t),n=yt.quantile(t,.75)-yt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},vi={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},ga=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(m=>t[m]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let r=Object.keys(t).filter(m=>!["x","y"].includes(m)&&!m.startsWith("$")),i=Pt(Object.fromEntries(r.map(m=>[m,t[m]]))),s=Pt({group:i??new Array(t.x.length).fill(0)}).map((m,f,g)=>g.categories[m]),a=Map.groupBy(t.$raw,(m,f)=>s[f]),u=Array.from(a.values()),c=Array.from(a.keys()),l=-2*Math.log(1-e),h=Array.from(Map.groupBy(E1({x:t.x,y:t.y}),(m,f)=>s[f]).values()).map(m=>{const f=m.length;let g=m.reduce((M,B)=>M+B.x,0)/f,y=m.reduce((M,B)=>M+B.y,0)/f;if(f<2)return{};let w=m.reduce((M,B)=>M+(B.x-g)**2,0)/(f-1),S=m.reduce((M,B)=>M+(B.x-g)*(B.y-y),0)/(f-1),$=m.reduce((M,B)=>M+(B.y-y)**2,0)/(f-1),A=(w*$-S*S)*l;return{cx:g,cy:y,A:$/A,B:-S/A,C:w/A}}),d={$raw:u,cx:h.map(m=>m.cx??0),cy:h.map(m=>m.cy??0),A:h.map(m=>m.A??0),B:h.map(m=>m.B??0),C:h.map(m=>m.C??0)};for(let m of r)d[m]=c.map(f=>f.group).map(f=>i.categories[f][m]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),pa=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:r}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(i.some(m=>typeof m!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(r)r.sort((m,f)=>m-f);else{let{min:m,max:f}=yt.extent(i);n||(n=(f-m)/(e-1)),r=Array.from({length:e+1},(g,y)=>m+(y-.5)*n)}e=r.length-1;let s=Object.keys(t).filter(m=>!["x","y"].includes(m)&&!m.startsWith("$")),a=Pt(Object.fromEntries(s.map(m=>[m,t[m]]))),u=Pt({group:a??new Array(i.length).fill(0),upper:i.map(m=>r.findLast(f=>f<=m)??r[0]),lower:i.map(m=>r.find(f=>f>m)??r[e])}).map((m,f,g)=>g.categories[m]),c=Map.groupBy(t.$raw,(m,f)=>u[f]),l=Array.from(c.values()),h=Array.from(c.keys()),d={$raw:l,count:l.map(m=>m.length),$group:h.map(m=>m.group),upper:h.map(m=>m.upper),lower:h.map(m=>m.lower)};for(let m of s)d[m]=h.map(f=>a.categories[f.group][m]);return t.x?(({upper:m,lower:f,count:g,ymin:y=l.map(()=>0),...w})=>({xmin:m,xmax:f,ymin:y,ymax:g,...w}))(d):(({upper:m,lower:f,count:g,xmin:y=l.map(()=>0),...w})=>({xmin:y,xmax:g,ymin:m,ymax:f,...w}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),ya=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),xa=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(l=>t[l]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let r=t.group??new Array(t.x.length).fill(null),s=Object.values(r.reduce((l,h,d)=>(l[h]??=[],l[h].push(d),l),{})).map(l=>l.map((h,d)=>[t[e][h],d]).sort((h,d)=>h[0]-d[0]).map((h,d)=>l[h[1]])),a=s.map(l=>l.slice(0,-1).concat(NaN)).reduce((l,h)=>l.concat(h),[]).filter(l=>!isNaN(l)),u=s.map(l=>l.slice(1).concat(NaN)).reduce((l,h)=>l.concat(h),[]).filter(l=>!isNaN(l)),c={};for(let l in t)c[l]=a.map(h=>t[l][h]);return c.xend=u.map(l=>t.x[l]),c.yend=u.map(l=>t.y[l]),c},{core_attrs:["x","y","xnudge","ynudge"]}),ba=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:r,ymax:i,...s})=>({x:n,xend:n,y:r,yend:i,...s}))(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:r,xmax:i,...s})=>({y:n,yend:n,x:r,xend:i,...s}))(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"]}),va=Object.assign(function(t){let e=["x","y"].filter(c=>t[c]==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),i=Object.values(n.reduce((c,l,h)=>(c[l]??=[],c[l].push(h),c),{})).map(c=>c.map((l,h)=>c[h])),s=i.map(c=>c.slice(0,-1).concat(NaN)).reduce((c,l)=>c.concat(l),[]).filter(c=>!isNaN(c)),a=i.map(c=>c.slice(1).concat(NaN)).reduce((c,l)=>c.concat(l),[]).filter(c=>!isNaN(c)),u={};for(let c in t)u[c]=s.map(l=>t[c][l]);return u.xend=a.map(c=>t.x[c]),u.yend=a.map(c=>t.y[c]),u},{core_attrs:["x","y","xnudge","ynudge"]}),wa=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"]}),ka=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("$")),r=Pt(Object.fromEntries(n.map(h=>[h,t[h]]))),i=Pt({group:r??new Array(t.x.length).fill(0)}).map((h,d,m)=>m.categories[h]),s=Map.groupBy(t.$raw,(h,d)=>i[d]),a=Array.from(s.values()),u=Array.from(s.keys()),c=Array.from(Map.groupBy(E1({x:t.x,y:t.y}),(h,d)=>i[d]).values()),l={$raw:a,points:c};for(let h of n)l[h]=u.map(d=>d.group).map(d=>r.categories[d][h]);return l},{core_attrs:["points","xnudge","ynudge"]}),Na=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"]}),Sa=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"]}),Aa=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"]}),Ea=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"]}),Ca=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"]}),Ta=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"]}),Ma=Object.assign(function(t){t.width==null&&t.x.some(n=>typeof n=="string")&&(t.width=Array(t.x.length).fill(1)),t.height==null&&t.y.some(n=>typeof n=="string")&&(t.height=Array(t.y.length).fill(1));let e=["x","y","width","height"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTile": "${e.join('", "')}"`);return t},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),$a=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:r="width",position:i="dodge",width:s=.9,height:a=.9}={}){let u=["x","y"].filter(L=>t[L]==null);if(u.length>0)throw new Error(`Missing aesthetics for "StatViolin": "${u.join('", "')}"`);let c=t.x.some(ve),l=t.y.some(ve);if(c&&l)throw new Error('Both "x" and "y" are discrete, "StatViolin" requires one continuous and one discrete aesthetic');if(!c&&!l)throw new Error('Both "x" and "y" are continuous, "StatViolin" requires one continuous and one discrete aesthetic');if(n=wi[n],!n)throw new Error(`kernel must be one of ${Object.keys(wi).map(L=>`"${L}"`).join(", ")}`);let[h,d,m]=c?["y","x",s]:["x","y",a],f=t[h],g=Object.keys(t).filter(L=>L!=h&&!L.startsWith("$")),y=Pt(Object.fromEntries(g.map(L=>[L,t[L]]))),w=Pt({group:y??new Array(f.length).fill(0)}).map((L,p,x)=>x.categories[L]),S=Map.groupBy(t.$raw,(L,p)=>w[p]),$=Array.from(S.values()),A=Array.from(S.keys()),M=Array.from(Map.groupBy(f,(L,p)=>w[p]).values()),B={$raw:$,$group:A.map(L=>L.group),[h]:A.map(L=>0)},E=M.map(L=>{let p=Ba.nrd0(L),{min:x,max:N}=yt.extent(L);x-=3*p,N+=3*p;let b=(N-x)/(e-1),k=Array.from({length:e},(X,H)=>x+H*b),P=k.map(X=>yt.mean(L.map(H=>n((X-H)/p)))/p),O=r=="area"?1:1/yt.max(P);return k.map((X,H)=>[X,P[H]*O/2])});for(let L of g)B[L]=A.map(p=>y.categories[p.group][L]);if(i=="dodge"){let L=Object.groupBy(B.$group,(x,N)=>y.categories[x][d]),p=B.$group.map(x=>L[y.categories[x][d]]);E=p.map((x,N)=>E[N].map(([b,k])=>[b,k*m/x.length])),c?B.xnudge=p.map((x,N)=>(B.xnudge?.[N]??0)+((x.indexOf(B.$group[N])+.5)/x.length-.5)*s):B.ynudge=p.map((x,N)=>(B.ynudge?.[N]??0)+((x.indexOf(B.$group[N])+.5)/x.length-.5)*a)}else E=E.map(L=>L.map(([p,x])=>[p,x*m]));return c?B.points=E.map(L=>L.map(([p,x])=>({x,y:p})).concat(L.map(([p,x])=>({x:-x,y:p})).reverse())):B.points=E.map(L=>L.map(([p,x])=>({x:p,y:x})).concat(L.map(([p,x])=>({x:p,y:-x})).reverse())),B},{core_attrs:["x","y","xnudge","ynudge"]}),Ba={nrd0:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=yt.sd(t),n=yt.quantile(t,.75)-yt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=yt.sd(t),n=yt.quantile(t,.75)-yt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},wi={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},ki=Object.freeze(Object.defineProperty({__proto__:null,bar:ua,boxplot:ha,curve:fa,density:ma,ellipse:ga,histogram:pa,identity:ya,line:xa,linerange:ba,path:va,point:wa,polygon:ka,rect:Na,segment:Sa,shape:Aa,stick:Ea,text:Ca,textsegment:Ta,tile:Ma,violin:$a},Symbol.toStringTag,{value:"Module"}));function Mn(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function La(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ni(t){let e,n,r;t.length!==2?(e=Mn,n=(u,c)=>Mn(t(u),c),r=(u,c)=>t(u)-c):(e=t===Mn||t===La?t:qa,n=t,r=t);function i(u,c,l=0,h=u.length){if(l<h){if(e(c,c)!==0)return h;do{const d=l+h>>>1;n(u[d],c)<0?l=d+1:h=d}while(l<h)}return l}function s(u,c,l=0,h=u.length){if(l<h){if(e(c,c)!==0)return h;do{const d=l+h>>>1;n(u[d],c)<=0?l=d+1:h=d}while(l<h)}return l}function a(u,c,l=0,h=u.length){const d=i(u,c,l,h-1);return d>l&&r(u[d-1],c)>-r(u[d],c)?d-1:d}return{left:i,center:a,right:s}}function qa(){return 0}function Oa(t){return t===null?NaN:+t}const Pa=Ni(Mn).right;Ni(Oa).center;const Va=Math.sqrt(50),Da=Math.sqrt(10),ja=Math.sqrt(2);function $n(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),s=r/Math.pow(10,i),a=s>=Va?10:s>=Da?5:s>=ja?2:1;let u,c,l;return i<0?(l=Math.pow(10,-i)/a,u=Math.round(t*l),c=Math.round(e*l),u/l<t&&++u,c/l>e&&--c,l=-l):(l=Math.pow(10,i)*a,u=Math.round(t/l),c=Math.round(e/l),u*l<t&&++u,c*l>e&&--c),c<u&&.5<=n&&n<2?$n(t,e,n*2):[u,c,l]}function Ra(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const r=e<t,[i,s,a]=r?$n(e,t,n):$n(t,e,n);if(!(s>=i))return[];const u=s-i+1,c=new Array(u);if(r)if(a<0)for(let l=0;l<u;++l)c[l]=(s-l)/-a;else for(let l=0;l<u;++l)c[l]=(s-l)*a;else if(a<0)for(let l=0;l<u;++l)c[l]=(i+l)/-a;else for(let l=0;l<u;++l)c[l]=(i+l)*a;return c}function T1(t,e,n){return e=+e,t=+t,n=+n,$n(t,e,n)[2]}function Ia(t,e,n){e=+e,t=+t,n=+n;const r=e<t,i=r?T1(e,t,n):T1(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}var Ha={value:()=>{}};function Si(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Bn(n)}function Bn(t){this._=t}function Fa(t,e){return t.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Bn.prototype=Si.prototype={constructor:Bn,on:function(t,e){var n=this._,r=Fa(t+"",n),i,s=-1,a=r.length;if(arguments.length<2){for(;++s<a;)if((i=(t=r[s]).type)&&(i=Ua(n[i],t.name)))return i;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++s<a;)if(i=(t=r[s]).type)n[i]=Ai(n[i],t.name,e);else if(e==null)for(i in n)n[i]=Ai(n[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Bn(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,s;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=this._[t],r=0,i=s.length;r<i;++r)s[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,s=r.length;i<s;++i)r[i].value.apply(e,n)}};function Ua(t,e){for(var n=0,r=t.length,i;n<r;++n)if((i=t[n]).name===e)return i.value}function Ai(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Ha,t=t.slice(0,r).concat(t.slice(r+1));break}return n!=null&&t.push({name:e,value:n}),t}var M1="http://www.w3.org/1999/xhtml";const Ei={svg:"http://www.w3.org/2000/svg",xhtml:M1,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ln(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ei.hasOwnProperty(e)?{space:Ei[e],local:t}:t}function za(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===M1&&e.documentElement.namespaceURI===M1?e.createElement(t):e.createElementNS(n,t)}}function Xa(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ci(t){var e=Ln(t);return(e.local?Xa:za)(e)}function Ya(){}function $1(t){return t==null?Ya:function(){return this.querySelector(t)}}function _a(t){typeof t!="function"&&(t=$1(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],a=s.length,u=r[i]=new Array(a),c,l,h=0;h<a;++h)(c=s[h])&&(l=t.call(c,c.__data__,h,s))&&("__data__"in c&&(l.__data__=c.__data__),u[h]=l);return new Xt(r,this._parents)}function Ga(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Wa(){return[]}function Ti(t){return t==null?Wa:function(){return this.querySelectorAll(t)}}function Ka(t){return function(){return Ga(t.apply(this,arguments))}}function Za(t){typeof t=="function"?t=Ka(t):t=Ti(t);for(var e=this._groups,n=e.length,r=[],i=[],s=0;s<n;++s)for(var a=e[s],u=a.length,c,l=0;l<u;++l)(c=a[l])&&(r.push(t.call(c,c.__data__,l,a)),i.push(c));return new Xt(r,i)}function Mi(t){return function(){return this.matches(t)}}function $i(t){return function(e){return e.matches(t)}}var Qa=Array.prototype.find;function Ja(t){return function(){return Qa.call(this.children,t)}}function tc(){return this.firstElementChild}function ec(t){return this.select(t==null?tc:Ja(typeof t=="function"?t:$i(t)))}var nc=Array.prototype.filter;function rc(){return Array.from(this.children)}function ic(t){return function(){return nc.call(this.children,t)}}function oc(t){return this.selectAll(t==null?rc:ic(typeof t=="function"?t:$i(t)))}function sc(t){typeof t!="function"&&(t=Mi(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],a=s.length,u=r[i]=[],c,l=0;l<a;++l)(c=s[l])&&t.call(c,c.__data__,l,s)&&u.push(c);return new Xt(r,this._parents)}function Bi(t){return new Array(t.length)}function lc(){return new Xt(this._enter||this._groups.map(Bi),this._parents)}function qn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}qn.prototype={constructor:qn,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 ac(t){return function(){return t}}function cc(t,e,n,r,i,s){for(var a=0,u,c=e.length,l=s.length;a<l;++a)(u=e[a])?(u.__data__=s[a],r[a]=u):n[a]=new qn(t,s[a]);for(;a<c;++a)(u=e[a])&&(i[a]=u)}function uc(t,e,n,r,i,s,a){var u,c,l=new Map,h=e.length,d=s.length,m=new Array(h),f;for(u=0;u<h;++u)(c=e[u])&&(m[u]=f=a.call(c,c.__data__,u,e)+"",l.has(f)?i[u]=c:l.set(f,c));for(u=0;u<d;++u)f=a.call(t,s[u],u,s)+"",(c=l.get(f))?(r[u]=c,c.__data__=s[u],l.delete(f)):n[u]=new qn(t,s[u]);for(u=0;u<h;++u)(c=e[u])&&l.get(m[u])===c&&(i[u]=c)}function hc(t){return t.__data__}function fc(t,e){if(!arguments.length)return Array.from(this,hc);var n=e?uc:cc,r=this._parents,i=this._groups;typeof t!="function"&&(t=ac(t));for(var s=i.length,a=new Array(s),u=new Array(s),c=new Array(s),l=0;l<s;++l){var h=r[l],d=i[l],m=d.length,f=mc(t.call(h,h&&h.__data__,l,r)),g=f.length,y=u[l]=new Array(g),w=a[l]=new Array(g),S=c[l]=new Array(m);n(h,d,y,w,S,f,e);for(var $=0,A=0,M,B;$<g;++$)if(M=y[$]){for($>=A&&(A=$+1);!(B=w[A])&&++A<g;);M._next=B||null}}return a=new Xt(a,r),a._enter=u,a._exit=c,a}function mc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function dc(){return new Xt(this._exit||this._groups.map(Bi),this._parents)}function gc(t,e,n){var r=this.enter(),i=this,s=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),n==null?s.remove():n(s),r&&i?r.merge(i).order():i}function pc(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,s=r.length,a=Math.min(i,s),u=new Array(i),c=0;c<a;++c)for(var l=n[c],h=r[c],d=l.length,m=u[c]=new Array(d),f,g=0;g<d;++g)(f=l[g]||h[g])&&(m[g]=f);for(;c<i;++c)u[c]=n[c];return new Xt(u,this._parents)}function yc(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,s=r[i],a;--i>=0;)(a=r[i])&&(s&&a.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(a,s),s=a);return this}function xc(t){t||(t=bc);function e(d,m){return d&&m?t(d.__data__,m.__data__):!d-!m}for(var n=this._groups,r=n.length,i=new Array(r),s=0;s<r;++s){for(var a=n[s],u=a.length,c=i[s]=new Array(u),l,h=0;h<u;++h)(l=a[h])&&(c[h]=l);c.sort(e)}return new Xt(i,this._parents).order()}function bc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function vc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function wc(){return Array.from(this)}function kc(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length;i<s;++i){var a=r[i];if(a)return a}return null}function Nc(){let t=0;for(const e of this)++t;return t}function Sc(){return!this.node()}function Ac(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],s=0,a=i.length,u;s<a;++s)(u=i[s])&&t.call(u,u.__data__,s,i);return this}function Ec(t){return function(){this.removeAttribute(t)}}function Cc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Tc(t,e){return function(){this.setAttribute(t,e)}}function Mc(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function $c(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Bc(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 Lc(t,e){var n=Ln(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?Cc:Ec:typeof e=="function"?n.local?Bc:$c:n.local?Mc:Tc)(n,e))}function Li(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function qc(t){return function(){this.style.removeProperty(t)}}function Oc(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Pc(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Vc(t,e,n){return arguments.length>1?this.each((e==null?qc:typeof e=="function"?Pc:Oc)(t,e,n??"")):Re(this.node(),t)}function Re(t,e){return t.style.getPropertyValue(e)||Li(t).getComputedStyle(t,null).getPropertyValue(e)}function Dc(t){return function(){delete this[t]}}function jc(t,e){return function(){this[t]=e}}function Rc(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Ic(t,e){return arguments.length>1?this.each((e==null?Dc:typeof e=="function"?Rc:jc)(t,e)):this.node()[t]}function qi(t){return t.trim().split(/^|\s+/)}function B1(t){return t.classList||new Oi(t)}function Oi(t){this._node=t,this._names=qi(t.getAttribute("class")||"")}Oi.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 Pi(t,e){for(var n=B1(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Vi(t,e){for(var n=B1(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Hc(t){return function(){Pi(this,t)}}function Fc(t){return function(){Vi(this,t)}}function Uc(t,e){return function(){(e.apply(this,arguments)?Pi:Vi)(this,t)}}function zc(t,e){var n=qi(t+"");if(arguments.length<2){for(var r=B1(this.node()),i=-1,s=n.length;++i<s;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?Uc:e?Hc:Fc)(n,e))}function Xc(){this.textContent=""}function Yc(t){return function(){this.textContent=t}}function _c(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Gc(t){return arguments.length?this.each(t==null?Xc:(typeof t=="function"?_c:Yc)(t)):this.node().textContent}function Wc(){this.innerHTML=""}function Kc(t){return function(){this.innerHTML=t}}function Zc(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Qc(t){return arguments.length?this.each(t==null?Wc:(typeof t=="function"?Zc:Kc)(t)):this.node().innerHTML}function Jc(){this.nextSibling&&this.parentNode.appendChild(this)}function t0(){return this.each(Jc)}function e0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function n0(){return this.each(e0)}function r0(t){var e=typeof t=="function"?t:Ci(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function i0(){return null}function o0(t,e){var n=typeof t=="function"?t:Ci(t),r=e==null?i0:typeof e=="function"?e:$1(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function s0(){var t=this.parentNode;t&&t.removeChild(this)}function l0(){return this.each(s0)}function a0(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function c0(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function u0(t){return this.select(t?c0:a0)}function h0(t){return arguments.length?this.property("__data__",t):this.node().__data__}function f0(t){return function(e){t.call(this,e,this.__data__)}}function m0(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function d0(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,s;n<i;++n)s=e[n],(!t.type||s.type===t.type)&&s.name===t.name?this.removeEventListener(s.type,s.listener,s.options):e[++r]=s;++r?e.length=r:delete this.__on}}}function g0(t,e,n){return function(){var r=this.__on,i,s=f0(e);if(r){for(var a=0,u=r.length;a<u;++a)if((i=r[a]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=s,i.options=n),i.value=e;return}}this.addEventListener(t.type,s,n),i={type:t.type,name:t.name,value:e,listener:s,options:n},r?r.push(i):this.__on=[i]}}function p0(t,e,n){var r=m0(t+""),i,s=r.length,a;if(arguments.length<2){var u=this.node().__on;if(u){for(var c=0,l=u.length,h;c<l;++c)for(i=0,h=u[c];i<s;++i)if((a=r[i]).type===h.type&&a.name===h.name)return h.value}return}for(u=e?g0:d0,i=0;i<s;++i)this.each(u(r[i],e,n));return this}function Di(t,e,n){var r=Li(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function y0(t,e){return function(){return Di(this,t,e)}}function x0(t,e){return function(){return Di(this,t,e.apply(this,arguments))}}function b0(t,e){return this.each((typeof e=="function"?x0:y0)(t,e))}function*v0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length,a;i<s;++i)(a=r[i])&&(yield a)}var w0=[null];function Xt(t,e){this._groups=t,this._parents=e}function en(){return new Xt([[document.documentElement]],w0)}function k0(){return this}Xt.prototype=en.prototype={constructor:Xt,select:_a,selectAll:Za,selectChild:ec,selectChildren:oc,filter:sc,data:fc,enter:lc,exit:dc,join:gc,merge:pc,selection:k0,order:yc,sort:xc,call:vc,nodes:wc,node:kc,size:Nc,empty:Sc,each:Ac,attr:Lc,style:Vc,property:Ic,classed:zc,text:Gc,html:Qc,raise:t0,lower:n0,append:r0,insert:o0,remove:l0,clone:u0,datum:h0,on:p0,dispatch:b0,[Symbol.iterator]:v0};function nn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function On(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Ne(){}var rn=.7,Pn=1/rn,Ie="\\s*([+-]?\\d+)\\s*",on="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Zt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",N0=/^#([0-9a-f]{3,8})$/,S0=new RegExp(`^rgb\\(${Ie},${Ie},${Ie}\\)$`),A0=new RegExp(`^rgb\\(${Zt},${Zt},${Zt}\\)$`),E0=new RegExp(`^rgba\\(${Ie},${Ie},${Ie},${on}\\)$`),C0=new RegExp(`^rgba\\(${Zt},${Zt},${Zt},${on}\\)$`),T0=new RegExp(`^hsl\\(${on},${Zt},${Zt}\\)$`),M0=new RegExp(`^hsla\\(${on},${Zt},${Zt},${on}\\)$`),ji={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};nn(Ne,Se,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ri,formatHex:Ri,formatHex8:$0,formatHsl:B0,formatRgb:Ii,toString:Ii});function Ri(){return this.rgb().formatHex()}function $0(){return this.rgb().formatHex8()}function B0(){return Yi(this).formatHsl()}function Ii(){return this.rgb().formatRgb()}function Se(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=N0.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Hi(e):n===3?new Vt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?Vn(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?Vn(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=S0.exec(t))?new Vt(e[1],e[2],e[3],1):(e=A0.exec(t))?new Vt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=E0.exec(t))?Vn(e[1],e[2],e[3],e[4]):(e=C0.exec(t))?Vn(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=T0.exec(t))?Xi(e[1],e[2]/100,e[3]/100,1):(e=M0.exec(t))?Xi(e[1],e[2]/100,e[3]/100,e[4]):ji.hasOwnProperty(t)?Hi(ji[t]):t==="transparent"?new Vt(NaN,NaN,NaN,0):null}function Hi(t){return new Vt(t>>16&255,t>>8&255,t&255,1)}function Vn(t,e,n,r){return r<=0&&(t=e=n=NaN),new Vt(t,e,n,r)}function Fi(t){return t instanceof Ne||(t=Se(t)),t?(t=t.rgb(),new Vt(t.r,t.g,t.b,t.opacity)):new Vt}function L1(t,e,n,r){return arguments.length===1?Fi(t):new Vt(t,e,n,r??1)}function Vt(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}nn(Vt,L1,On(Ne,{brighter(t){return t=t==null?Pn:Math.pow(Pn,t),new Vt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?rn:Math.pow(rn,t),new Vt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Vt(Ae(this.r),Ae(this.g),Ae(this.b),Dn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ui,formatHex:Ui,formatHex8:L0,formatRgb:zi,toString:zi}));function Ui(){return`#${Ee(this.r)}${Ee(this.g)}${Ee(this.b)}`}function L0(){return`#${Ee(this.r)}${Ee(this.g)}${Ee(this.b)}${Ee((isNaN(this.opacity)?1:this.opacity)*255)}`}function zi(){const t=Dn(this.opacity);return`${t===1?"rgb(":"rgba("}${Ae(this.r)}, ${Ae(this.g)}, ${Ae(this.b)}${t===1?")":`, ${t})`}`}function Dn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ae(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ee(t){return t=Ae(t),(t<16?"0":"")+t.toString(16)}function Xi(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Yt(t,e,n,r)}function Yi(t){if(t instanceof Yt)return new Yt(t.h,t.s,t.l,t.opacity);if(t instanceof Ne||(t=Se(t)),!t)return new Yt;if(t instanceof Yt)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),s=Math.max(e,n,r),a=NaN,u=s-i,c=(s+i)/2;return u?(e===s?a=(n-r)/u+(n<r)*6:n===s?a=(r-e)/u+2:a=(e-n)/u+4,u/=c<.5?s+i:2-s-i,a*=60):u=c>0&&c<1?0:a,new Yt(a,u,c,t.opacity)}function q0(t,e,n,r){return arguments.length===1?Yi(t):new Yt(t,e,n,r??1)}function Yt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}nn(Yt,q0,On(Ne,{brighter(t){return t=t==null?Pn:Math.pow(Pn,t),new Yt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?rn:Math.pow(rn,t),new Yt(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,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Vt(q1(t>=240?t-240:t+120,i,r),q1(t,i,r),q1(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Yt(_i(this.h),jn(this.s),jn(this.l),Dn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Dn(this.opacity);return`${t===1?"hsl(":"hsla("}${_i(this.h)}, ${jn(this.s)*100}%, ${jn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function _i(t){return t=(t||0)%360,t<0?t+360:t}function jn(t){return Math.max(0,Math.min(1,t||0))}function q1(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 O0=Math.PI/180,P0=180/Math.PI,Rn=18,Gi=.96422,Wi=1,Ki=.82521,Zi=4/29,He=6/29,Qi=3*He*He,V0=He*He*He;function Ji(t){if(t instanceof Qt)return new Qt(t.l,t.a,t.b,t.opacity);if(t instanceof se)return eo(t);t instanceof Vt||(t=Fi(t));var e=j1(t.r),n=j1(t.g),r=j1(t.b),i=P1((.2225045*e+.7168786*n+.0606169*r)/Wi),s,a;return e===n&&n===r?s=a=i:(s=P1((.4360747*e+.3850649*n+.1430804*r)/Gi),a=P1((.0139322*e+.0971045*n+.7141733*r)/Ki)),new Qt(116*i-16,500*(s-i),200*(i-a),t.opacity)}function O1(t,e,n,r){return arguments.length===1?Ji(t):new Qt(t,e,n,r??1)}function Qt(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}nn(Qt,O1,On(Ne,{brighter(t){return new Qt(this.l+Rn*(t??1),this.a,this.b,this.opacity)},darker(t){return new Qt(this.l-Rn*(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=Gi*V1(e),t=Wi*V1(t),n=Ki*V1(n),new Vt(D1(3.1338561*e-1.6168667*t-.4906146*n),D1(-.9787684*e+1.9161415*t+.033454*n),D1(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function P1(t){return t>V0?Math.pow(t,.3333333333333333):t/Qi+Zi}function V1(t){return t>He?t*t*t:Qi*(t-Zi)}function D1(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,.4166666666666667)-.055)}function j1(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function D0(t){if(t instanceof se)return new se(t.h,t.c,t.l,t.opacity);if(t instanceof Qt||(t=Ji(t)),t.a===0&&t.b===0)return new se(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*P0;return new se(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function to(t,e,n,r){return arguments.length===1?D0(t):new se(t,e,n,r??1)}function se(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function eo(t){if(isNaN(t.h))return new Qt(t.l,0,0,t.opacity);var e=t.h*O0;return new Qt(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}nn(se,to,On(Ne,{brighter(t){return new se(this.h,this.c,this.l+Rn*(t??1),this.opacity)},darker(t){return new se(this.h,this.c,this.l-Rn*(t??1),this.opacity)},rgb(){return eo(this).rgb()}}));const R1=t=>()=>t;function j0(t,e){return function(n){return t+n*e}}function R0(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function I0(t){return(t=+t)==1?Fe:function(e,n){return n-e?R0(e,n,t):R1(isNaN(e)?n:e)}}function Fe(t,e){var n=e-t;return n?j0(t,n):R1(isNaN(t)?e:t)}const In=(function t(e){var n=I0(e);function r(i,s){var a=n((i=L1(i)).r,(s=L1(s)).r),u=n(i.g,s.g),c=n(i.b,s.b),l=Fe(i.opacity,s.opacity);return function(h){return i.r=a(h),i.g=u(h),i.b=c(h),i.opacity=l(h),i+""}}return r.gamma=t,r})(1);function H0(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),i;return function(s){for(i=0;i<n;++i)r[i]=t[i]*(1-s)+e[i]*s;return r}}function F0(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function U0(t,e){var n=e?e.length:0,r=t?Math.min(n,t.length):0,i=new Array(r),s=new Array(n),a;for(a=0;a<r;++a)i[a]=F1(t[a],e[a]);for(;a<n;++a)s[a]=e[a];return function(u){for(a=0;a<r;++a)s[a]=i[a](u);return s}}function z0(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function _t(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function X0(t,e){var n={},r={},i;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(i in e)i in t?n[i]=F1(t[i],e[i]):r[i]=e[i];return function(s){for(i in n)r[i]=n[i](s);return r}}var I1=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,H1=new RegExp(I1.source,"g");function Y0(t){return function(){return t}}function _0(t){return function(e){return t(e)+""}}function no(t,e){var n=I1.lastIndex=H1.lastIndex=0,r,i,s,a=-1,u=[],c=[];for(t=t+"",e=e+"";(r=I1.exec(t))&&(i=H1.exec(e));)(s=i.index)>n&&(s=e.slice(n,s),u[a]?u[a]+=s:u[++a]=s),(r=r[0])===(i=i[0])?u[a]?u[a]+=i:u[++a]=i:(u[++a]=null,c.push({i:a,x:_t(r,i)})),n=H1.lastIndex;return n<e.length&&(s=e.slice(n),u[a]?u[a]+=s:u[++a]=s),u.length<2?c[0]?_0(c[0].x):Y0(e):(e=c.length,function(l){for(var h=0,d;h<e;++h)u[(d=c[h]).i]=d.x(l);return u.join("")})}function F1(t,e){var n=typeof e,r;return e==null||n==="boolean"?R1(e):(n==="number"?_t:n==="string"?(r=Se(e))?(e=r,In):no:e instanceof Se?In:e instanceof Date?z0:F0(e)?H0:Array.isArray(e)?U0:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?X0:_t)(t,e)}function G0(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var ro=180/Math.PI,U1={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function io(t,e,n,r,i,s){var a,u,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,c/=u),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:s,rotate:Math.atan2(e,t)*ro,skewX:Math.atan(c)*ro,scaleX:a,scaleY:u}}var Hn;function W0(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?U1:io(e.a,e.b,e.c,e.d,e.e,e.f)}function K0(t){return t==null||(Hn||(Hn=document.createElementNS("http://www.w3.org/2000/svg","g")),Hn.setAttribute("transform",t),!(t=Hn.transform.baseVal.consolidate()))?U1:(t=t.matrix,io(t.a,t.b,t.c,t.d,t.e,t.f))}function oo(t,e,n,r){function i(l){return l.length?l.pop()+" ":""}function s(l,h,d,m,f,g){if(l!==d||h!==m){var y=f.push("translate(",null,e,null,n);g.push({i:y-4,x:_t(l,d)},{i:y-2,x:_t(h,m)})}else(d||m)&&f.push("translate("+d+e+m+n)}function a(l,h,d,m){l!==h?(l-h>180?h+=360:h-l>180&&(l+=360),m.push({i:d.push(i(d)+"rotate(",null,r)-2,x:_t(l,h)})):h&&d.push(i(d)+"rotate("+h+r)}function u(l,h,d,m){l!==h?m.push({i:d.push(i(d)+"skewX(",null,r)-2,x:_t(l,h)}):h&&d.push(i(d)+"skewX("+h+r)}function c(l,h,d,m,f,g){if(l!==d||h!==m){var y=f.push(i(f)+"scale(",null,",",null,")");g.push({i:y-4,x:_t(l,d)},{i:y-2,x:_t(h,m)})}else(d!==1||m!==1)&&f.push(i(f)+"scale("+d+","+m+")")}return function(l,h){var d=[],m=[];return l=t(l),h=t(h),s(l.translateX,l.translateY,h.translateX,h.translateY,d,m),a(l.rotate,h.rotate,d,m),u(l.skewX,h.skewX,d,m),c(l.scaleX,l.scaleY,h.scaleX,h.scaleY,d,m),l=h=null,function(f){for(var g=-1,y=m.length,w;++g<y;)d[(w=m[g]).i]=w.x(f);return d.join("")}}}var Z0=oo(W0,"px, ","px)","deg)"),Q0=oo(K0,", ",")",")");function z1(t,e){var n=Fe((t=O1(t)).l,(e=O1(e)).l),r=Fe(t.a,e.a),i=Fe(t.b,e.b),s=Fe(t.opacity,e.opacity);return function(a){return t.l=n(a),t.a=r(a),t.b=i(a),t.opacity=s(a),t+""}}var Ue=0,sn=0,ln=0,so=1e3,Fn,an,Un=0,Ce=0,zn=0,cn=typeof performance=="object"&&performance.now?performance:Date,lo=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function X1(){return Ce||(lo(J0),Ce=cn.now()+zn)}function J0(){Ce=0}function Xn(){this._call=this._time=this._next=null}Xn.prototype=ao.prototype={constructor:Xn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?X1():+n)+(e==null?0:+e),!this._next&&an!==this&&(an?an._next=this:Fn=this,an=this),this._call=t,this._time=n,Y1()},stop:function(){this._call&&(this._call=null,this._time=1/0,Y1())}};function ao(t,e,n){var r=new Xn;return r.restart(t,e,n),r}function tu(){X1(),++Ue;for(var t=Fn,e;t;)(e=Ce-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Ue}function co(){Ce=(Un=cn.now())+zn,Ue=sn=0;try{tu()}finally{Ue=0,nu(),Ce=0}}function eu(){var t=cn.now(),e=t-Un;e>so&&(zn-=e,Un=t)}function nu(){for(var t,e=Fn,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Fn=n);an=t,Y1(r)}function Y1(t){if(!Ue){sn&&(sn=clearTimeout(sn));var e=t-Ce;e>24?(t<1/0&&(sn=setTimeout(co,t-cn.now()-zn)),ln&&(ln=clearInterval(ln))):(ln||(Un=cn.now(),ln=setInterval(eu,so)),Ue=1,lo(co))}}function uo(t,e,n){var r=new Xn;return e=e==null?0:+e,r.restart(i=>{r.stop(),t(i+e)},e,n),r}var ru=Si("start","end","cancel","interrupt"),iu=[],ho=0,fo=1,_1=2,Yn=3,mo=4,G1=5,_n=6;function Gn(t,e,n,r,i,s){var a=t.__transition;if(!a)t.__transition={};else if(n in a)return;ou(t,n,{name:e,index:r,group:i,on:ru,tween:iu,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:ho})}function W1(t,e){var n=Gt(t,e);if(n.state>ho)throw new Error("too late; already scheduled");return n}function Jt(t,e){var n=Gt(t,e);if(n.state>Yn)throw new Error("too late; already running");return n}function Gt(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ou(t,e,n){var r=t.__transition,i;r[e]=n,n.timer=ao(s,0,n.time);function s(l){n.state=fo,n.timer.restart(a,n.delay,n.time),n.delay<=l&&a(l-n.delay)}function a(l){var h,d,m,f;if(n.state!==fo)return c();for(h in r)if(f=r[h],f.name===n.name){if(f.state===Yn)return uo(a);f.state===mo?(f.state=_n,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[h]):+h<e&&(f.state=_n,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete r[h])}if(uo(function(){n.state===Yn&&(n.state=mo,n.timer.restart(u,n.delay,n.time),u(l))}),n.state=_1,n.on.call("start",t,t.__data__,n.index,n.group),n.state===_1){for(n.state=Yn,i=new Array(m=n.tween.length),h=0,d=-1;h<m;++h)(f=n.tween[h].value.call(t,t.__data__,n.index,n.group))&&(i[++d]=f);i.length=d+1}}function u(l){for(var h=l<n.duration?n.ease.call(null,l/n.duration):(n.timer.restart(c),n.state=G1,1),d=-1,m=i.length;++d<m;)i[d].call(t,h);n.state===G1&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){n.state=_n,n.timer.stop(),delete r[e];for(var l in r)return;delete t.__transition}}function su(t,e){var n=t.__transition,r,i,s=!0,a;if(n){e=e==null?null:e+"";for(a in n){if((r=n[a]).name!==e){s=!1;continue}i=r.state>_1&&r.state<G1,r.state=_n,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[a]}s&&delete t.__transition}}function lu(t){return this.each(function(){su(this,t)})}function au(t,e){var n,r;return function(){var i=Jt(this,t),s=i.tween;if(s!==n){r=n=s;for(var a=0,u=r.length;a<u;++a)if(r[a].name===e){r=r.slice(),r.splice(a,1);break}}i.tween=r}}function cu(t,e,n){var r,i;if(typeof n!="function")throw new Error;return function(){var s=Jt(this,t),a=s.tween;if(a!==r){i=(r=a).slice();for(var u={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=u;break}c===l&&i.push(u)}s.tween=i}}function uu(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=Gt(this.node(),n).tween,i=0,s=r.length,a;i<s;++i)if((a=r[i]).name===t)return a.value;return null}return this.each((e==null?au:cu)(n,t,e))}function K1(t,e,n){var r=t._id;return t.each(function(){var i=Jt(this,r);(i.value||(i.value={}))[e]=n.apply(this,arguments)}),function(i){return Gt(i,r).value[e]}}function go(t,e){var n;return(typeof e=="number"?_t:e instanceof Se?In:(n=Se(e))?(e=n,In):no)(t,e)}function hu(t){return function(){this.removeAttribute(t)}}function fu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function mu(t,e,n){var r,i=n+"",s;return function(){var a=this.getAttribute(t);return a===i?null:a===r?s:s=e(r=a,n)}}function du(t,e,n){var r,i=n+"",s;return function(){var a=this.getAttributeNS(t.space,t.local);return a===i?null:a===r?s:s=e(r=a,n)}}function gu(t,e,n){var r,i,s;return function(){var a,u=n(this),c;return u==null?void this.removeAttribute(t):(a=this.getAttribute(t),c=u+"",a===c?null:a===r&&c===i?s:(i=c,s=e(r=a,u)))}}function pu(t,e,n){var r,i,s;return function(){var a,u=n(this),c;return u==null?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),c=u+"",a===c?null:a===r&&c===i?s:(i=c,s=e(r=a,u)))}}function yu(t,e){var n=Ln(t),r=n==="transform"?Q0:go;return this.attrTween(t,typeof e=="function"?(n.local?pu:gu)(n,r,K1(this,"attr."+t,e)):e==null?(n.local?fu:hu)(n):(n.local?du:mu)(n,r,e))}function xu(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function bu(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function vu(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&bu(t,s)),n}return i._value=e,i}function wu(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&xu(t,s)),n}return i._value=e,i}function ku(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 r=Ln(t);return this.tween(n,(r.local?vu:wu)(r,e))}function Nu(t,e){return function(){W1(this,t).delay=+e.apply(this,arguments)}}function Su(t,e){return e=+e,function(){W1(this,t).delay=e}}function Au(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Nu:Su)(e,t)):Gt(this.node(),e).delay}function Eu(t,e){return function(){Jt(this,t).duration=+e.apply(this,arguments)}}function Cu(t,e){return e=+e,function(){Jt(this,t).duration=e}}function Tu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Eu:Cu)(e,t)):Gt(this.node(),e).duration}function Mu(t,e){if(typeof e!="function")throw new Error;return function(){Jt(this,t).ease=e}}function $u(t){var e=this._id;return arguments.length?this.each(Mu(e,t)):Gt(this.node(),e).ease}function Bu(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;Jt(this,t).ease=n}}function Lu(t){if(typeof t!="function")throw new Error;return this.each(Bu(this._id,t))}function qu(t){typeof t!="function"&&(t=Mi(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],a=s.length,u=r[i]=[],c,l=0;l<a;++l)(c=s[l])&&t.call(c,c.__data__,l,s)&&u.push(c);return new le(r,this._parents,this._name,this._id)}function Ou(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,s=Math.min(r,i),a=new Array(r),u=0;u<s;++u)for(var c=e[u],l=n[u],h=c.length,d=a[u]=new Array(h),m,f=0;f<h;++f)(m=c[f]||l[f])&&(d[f]=m);for(;u<r;++u)a[u]=e[u];return new le(a,this._parents,this._name,this._id)}function Pu(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 Vu(t,e,n){var r,i,s=Pu(e)?W1:Jt;return function(){var a=s(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(e,n),a.on=i}}function Du(t,e){var n=this._id;return arguments.length<2?Gt(this.node(),n).on.on(t):this.each(Vu(n,t,e))}function ju(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function Ru(){return this.on("end.remove",ju(this._id))}function Iu(t){var e=this._name,n=this._id;typeof t!="function"&&(t=$1(t));for(var r=this._groups,i=r.length,s=new Array(i),a=0;a<i;++a)for(var u=r[a],c=u.length,l=s[a]=new Array(c),h,d,m=0;m<c;++m)(h=u[m])&&(d=t.call(h,h.__data__,m,u))&&("__data__"in h&&(d.__data__=h.__data__),l[m]=d,Gn(l[m],e,n,m,l,Gt(h,n)));return new le(s,this._parents,e,n)}function Hu(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Ti(t));for(var r=this._groups,i=r.length,s=[],a=[],u=0;u<i;++u)for(var c=r[u],l=c.length,h,d=0;d<l;++d)if(h=c[d]){for(var m=t.call(h,h.__data__,d,c),f,g=Gt(h,n),y=0,w=m.length;y<w;++y)(f=m[y])&&Gn(f,e,n,y,m,g);s.push(m),a.push(h)}return new le(s,a,e,n)}var Fu=en.prototype.constructor;function Uu(){return new Fu(this._groups,this._parents)}function zu(t,e){var n,r,i;return function(){var s=Re(this,t),a=(this.style.removeProperty(t),Re(this,t));return s===a?null:s===n&&a===r?i:i=e(n=s,r=a)}}function po(t){return function(){this.style.removeProperty(t)}}function Xu(t,e,n){var r,i=n+"",s;return function(){var a=Re(this,t);return a===i?null:a===r?s:s=e(r=a,n)}}function Yu(t,e,n){var r,i,s;return function(){var a=Re(this,t),u=n(this),c=u+"";return u==null&&(c=u=(this.style.removeProperty(t),Re(this,t))),a===c?null:a===r&&c===i?s:(i=c,s=e(r=a,u))}}function _u(t,e){var n,r,i,s="style."+e,a="end."+s,u;return function(){var c=Jt(this,t),l=c.on,h=c.value[s]==null?u||(u=po(e)):void 0;(l!==n||i!==h)&&(r=(n=l).copy()).on(a,i=h),c.on=r}}function Gu(t,e,n){var r=(t+="")=="transform"?Z0:go;return e==null?this.styleTween(t,zu(t,r)).on("end.style."+t,po(t)):typeof e=="function"?this.styleTween(t,Yu(t,r,K1(this,"style."+t,e))).each(_u(this._id,t)):this.styleTween(t,Xu(t,r,e),n).on("end.style."+t,null)}function Wu(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Ku(t,e,n){var r,i;function s(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&Wu(t,a,n)),r}return s._value=e,s}function Zu(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,Ku(t,e,n??""))}function Qu(t){return function(){this.textContent=t}}function Ju(t){return function(){var e=t(this);this.textContent=e??""}}function t2(t){return this.tween("text",typeof t=="function"?Ju(K1(this,"text",t)):Qu(t==null?"":t+""))}function e2(t){return function(e){this.textContent=t.call(this,e)}}function n2(t){var e,n;function r(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&e2(i)),e}return r._value=t,r}function r2(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,n2(t))}function i2(){for(var t=this._name,e=this._id,n=yo(),r=this._groups,i=r.length,s=0;s<i;++s)for(var a=r[s],u=a.length,c,l=0;l<u;++l)if(c=a[l]){var h=Gt(c,e);Gn(c,t,n,l,a,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new le(r,this._parents,t,n)}function o2(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(s,a){var u={value:a},c={value:function(){--i===0&&s()}};n.each(function(){var l=Jt(this,r),h=l.on;h!==t&&(e=(t=h).copy(),e._.cancel.push(u),e._.interrupt.push(u),e._.end.push(c)),l.on=e}),i===0&&s()})}var s2=0;function le(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function yo(){return++s2}var ae=en.prototype;le.prototype={constructor:le,select:Iu,selectAll:Hu,selectChild:ae.selectChild,selectChildren:ae.selectChildren,filter:qu,merge:Ou,selection:Uu,transition:i2,call:ae.call,nodes:ae.nodes,node:ae.node,size:ae.size,empty:ae.empty,each:ae.each,on:Du,attr:yu,attrTween:ku,style:Gu,styleTween:Zu,text:t2,textTween:r2,remove:Ru,tween:uu,delay:Au,duration:Tu,ease:$u,easeVarying:Lu,end:o2,[Symbol.iterator]:ae[Symbol.iterator]};function l2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var a2={time:null,delay:0,duration:250,ease:l2};function c2(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 u2(t){var e,n;t instanceof le?(e=t._id,t=t._name):(e=yo(),(n=a2).time=X1(),t=t==null?null:t+"");for(var r=this._groups,i=r.length,s=0;s<i;++s)for(var a=r[s],u=a.length,c,l=0;l<u;++l)(c=a[l])&&Gn(c,t,e,l,a,n||c2(c,e));return new le(r,this._parents,t,e)}en.prototype.interrupt=lu,en.prototype.transition=u2;const Z1=Math.PI,Q1=2*Z1,Te=1e-6,h2=Q1-Te;function xo(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function f2(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return xo;const n=10**e;return function(r){this._+=r[0];for(let i=1,s=r.length;i<s;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}class m2{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?xo:f2(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,r,i){this._append`Q${+e},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(e,n,r,i,s,a){this._append`C${+e},${+n},${+r},${+i},${this._x1=+s},${this._y1=+a}`}arcTo(e,n,r,i,s){if(e=+e,n=+n,r=+r,i=+i,s=+s,s<0)throw new Error(`negative radius: ${s}`);let a=this._x1,u=this._y1,c=r-e,l=i-n,h=a-e,d=u-n,m=h*h+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(m>Te)if(!(Math.abs(d*c-l*h)>Te)||!s)this._append`L${this._x1=e},${this._y1=n}`;else{let f=r-a,g=i-u,y=c*c+l*l,w=f*f+g*g,S=Math.sqrt(y),$=Math.sqrt(m),A=s*Math.tan((Z1-Math.acos((y+m-w)/(2*S*$)))/2),M=A/$,B=A/S;Math.abs(M-1)>Te&&this._append`L${e+M*h},${n+M*d}`,this._append`A${s},${s},0,0,${+(d*f>h*g)},${this._x1=e+B*c},${this._y1=n+B*l}`}}arc(e,n,r,i,s,a){if(e=+e,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let u=r*Math.cos(i),c=r*Math.sin(i),l=e+u,h=n+c,d=1^a,m=a?i-s:s-i;this._x1===null?this._append`M${l},${h}`:(Math.abs(this._x1-l)>Te||Math.abs(this._y1-h)>Te)&&this._append`L${l},${h}`,r&&(m<0&&(m=m%Q1+Q1),m>h2?this._append`A${r},${r},0,1,${d},${e-u},${n-c}A${r},${r},0,1,${d},${this._x1=l},${this._y1=h}`:m>Te&&this._append`A${r},${r},0,${+(m>=Z1)},${d},${this._x1=e+r*Math.cos(s)},${this._y1=n+r*Math.sin(s)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function d2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Wn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function ze(t){return t=Wn(Math.abs(t)),t?t[1]:NaN}function g2(t,e){return function(n,r){for(var i=n.length,s=[],a=0,u=t[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),s.push(n.substring(i-=u,i+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return s.reverse().join(e)}}function p2(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var y2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Kn(t){if(!(e=y2.exec(t)))throw new Error("invalid format: "+t);var e;return new J1({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]})}Kn.prototype=J1.prototype;function J1(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+""}J1.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 x2(t){t:for(var e=t.length,n=1,r=-1,i;n<e;++n)switch(t[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+t[n])break t;r>0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var Zn;function b2(t,e){var n=Wn(t,e);if(!n)return Zn=void 0,t.toPrecision(e);var r=n[0],i=n[1],s=i-(Zn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return s===a?r:s>a?r+new Array(s-a+1).join("0"):s>0?r.slice(0,s)+"."+r.slice(s):"0."+new Array(1-s).join("0")+Wn(t,Math.max(0,e+s-1))[0]}function bo(t,e){var n=Wn(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const vo={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:d2,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)=>bo(t*100,e),r:bo,s:b2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function wo(t){return t}var ko=Array.prototype.map,No=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function v2(t){var e=t.grouping===void 0||t.thousands===void 0?wo:g2(ko.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",s=t.numerals===void 0?wo:p2(ko.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"\u2212":t.minus+"",c=t.nan===void 0?"NaN":t.nan+"";function l(d,m){d=Kn(d);var f=d.fill,g=d.align,y=d.sign,w=d.symbol,S=d.zero,$=d.width,A=d.comma,M=d.precision,B=d.trim,E=d.type;E==="n"?(A=!0,E="g"):vo[E]||(M===void 0&&(M=12),B=!0,E="g"),(S||f==="0"&&g==="=")&&(S=!0,f="0",g="=");var L=(m&&m.prefix!==void 0?m.prefix:"")+(w==="$"?n:w==="#"&&/[boxX]/.test(E)?"0"+E.toLowerCase():""),p=(w==="$"?r:/[%p]/.test(E)?a:"")+(m&&m.suffix!==void 0?m.suffix:""),x=vo[E],N=/[defgprs%]/.test(E);M=M===void 0?6:/[gprs]/.test(E)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M));function b(k){var P=L,O=p,X,H,U;if(E==="c")O=x(k)+O,k="";else{k=+k;var D=k<0||1/k<0;if(k=isNaN(k)?c:x(Math.abs(k),M),B&&(k=x2(k)),D&&+k==0&&y!=="+"&&(D=!1),P=(D?y==="("?y:u:y==="-"||y==="("?"":y)+P,O=(E==="s"&&!isNaN(k)&&Zn!==void 0?No[8+Zn/3]:"")+O+(D&&y==="("?")":""),N){for(X=-1,H=k.length;++X<H;)if(U=k.charCodeAt(X),48>U||U>57){O=(U===46?i+k.slice(X+1):k.slice(X))+O,k=k.slice(0,X);break}}}A&&!S&&(k=e(k,1/0));var I=P.length+k.length+O.length,z=I<$?new Array($-I+1).join(f):"";switch(A&&S&&(k=e(z+k,z.length?$-O.length:1/0),z=""),g){case"<":k=P+k+O+z;break;case"=":k=P+z+k+O;break;case"^":k=z.slice(0,I=z.length>>1)+P+k+O+z.slice(I);break;default:k=z+P+k+O;break}return s(k)}return b.toString=function(){return d+""},b}function h(d,m){var f=Math.max(-8,Math.min(8,Math.floor(ze(m)/3)))*3,g=Math.pow(10,-f),y=l((d=Kn(d),d.type="f",d),{suffix:No[8+f/3]});return function(w){return y(g*w)}}return{format:l,formatPrefix:h}}var Qn,So,Ao;w2({thousands:",",grouping:[3],currency:["$",""]});function w2(t){return Qn=v2(t),So=Qn.format,Ao=Qn.formatPrefix,Qn}function k2(t){return Math.max(0,-ze(Math.abs(t)))}function N2(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(ze(e)/3)))*3-ze(Math.abs(t)))}function S2(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ze(e)-ze(t))+1}function A2(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function E2(t){return function(){return t}}function C2(t){return+t}var Eo=[0,1];function Xe(t){return t}function tr(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:E2(isNaN(e)?NaN:.5)}function T2(t,e){var n;return t>e&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function M2(t,e,n){var r=t[0],i=t[1],s=e[0],a=e[1];return i<r?(r=tr(i,r),s=n(a,s)):(r=tr(r,i),s=n(s,a)),function(u){return s(r(u))}}function $2(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),s=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=tr(t[a],t[a+1]),s[a]=n(e[a],e[a+1]);return function(u){var c=Pa(t,u,1,r)-1;return s[c](i[c](u))}}function B2(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function L2(){var t=Eo,e=Eo,n=F1,r,i,s,a=Xe,u,c,l;function h(){var m=Math.min(t.length,e.length);return a!==Xe&&(a=T2(t[0],t[m-1])),u=m>2?$2:M2,c=l=null,d}function d(m){return m==null||isNaN(m=+m)?s:(c||(c=u(t.map(r),e,n)))(r(a(m)))}return d.invert=function(m){return a(i((l||(l=u(e,t.map(r),_t)))(m)))},d.domain=function(m){return arguments.length?(t=Array.from(m,C2),h()):t.slice()},d.range=function(m){return arguments.length?(e=Array.from(m),h()):e.slice()},d.rangeRound=function(m){return e=Array.from(m),n=G0,h()},d.clamp=function(m){return arguments.length?(a=m?!0:Xe,h()):a!==Xe},d.interpolate=function(m){return arguments.length?(n=m,h()):n},d.unknown=function(m){return arguments.length?(s=m,d):s},function(m,f){return r=m,i=f,h()}}function q2(){return L2()(Xe,Xe)}function O2(t,e,n,r){var i=Ia(t,e,n),s;switch(r=Kn(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(s=N2(i,a))&&(r.precision=s),Ao(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(s=S2(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=s-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(s=k2(i))&&(r.precision=s-(r.type==="%")*2);break}}return So(r)}function P2(t){var e=t.domain;return t.ticks=function(n){var r=e();return Ra(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return O2(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,s=r.length-1,a=r[i],u=r[s],c,l,h=10;for(u<a&&(l=a,a=u,u=l,l=i,i=s,s=l);h-- >0;){if(l=T1(a,u,n),l===c)return r[i]=a,r[s]=u,e(r);if(l>0)a=Math.floor(a/l)*l,u=Math.ceil(u/l)*l;else if(l<0)a=Math.ceil(a*l)/l,u=Math.floor(u*l)/l;else break;c=l}return t},t}function Co(){var t=q2();return t.copy=function(){return B2(t,Co())},A2.apply(t,arguments),P2(t)}function Ye(t){return function(){return t}}const To=1e-12;function V2(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new m2(e)}function D2(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Mo(t){this._context=t}Mo.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 er(t){return new Mo(t)}function j2(t){return t[0]}function R2(t){return t[1]}function I2(t,e){var n=Ye(!0),r=null,i=er,s=null,a=V2(u);t=typeof t=="function"?t:t===void 0?j2:Ye(t),e=typeof e=="function"?e:e===void 0?R2:Ye(e);function u(c){var l,h=(c=D2(c)).length,d,m=!1,f;for(r==null&&(s=i(f=a())),l=0;l<=h;++l)!(l<h&&n(d=c[l],l,c))===m&&((m=!m)?s.lineStart():s.lineEnd()),m&&s.point(+t(d,l,c),+e(d,l,c));if(f)return s=null,f+""||null}return u.x=function(c){return arguments.length?(t=typeof c=="function"?c:Ye(+c),u):t},u.y=function(c){return arguments.length?(e=typeof c=="function"?c:Ye(+c),u):e},u.defined=function(c){return arguments.length?(n=typeof c=="function"?c:Ye(!!c),u):n},u.curve=function(c){return arguments.length?(i=c,r!=null&&(s=i(r)),u):i},u.context=function(c){return arguments.length?(c==null?r=s=null:s=i(r=c),u):r},u}function _e(){}function nr(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 rr(t,e){this._context=t,this._k=(1-e)/6}rr.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:nr(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:nr(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 $o=(function t(e){function n(r){return new rr(r,e)}return n.tension=function(r){return t(+r)},n})(0);function ir(t,e){this._context=t,this._k=(1-e)/6}ir.prototype={areaStart:_e,areaEnd:_e,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:nr(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 Bo=(function t(e){function n(r){return new ir(r,e)}return n.tension=function(r){return t(+r)},n})(0);function Lo(t,e,n){var r=t._x1,i=t._y1,s=t._x2,a=t._y2;if(t._l01_a>To){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>To){var l=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);s=(s*l+t._x1*t._l23_2a-e*t._l12_2a)/h,a=(a*l+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(r,i,s,a,t._x2,t._y2)}function qo(t,e){this._context=t,this._alpha=e}qo.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,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,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:Lo(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 Oo=(function t(e){function n(r){return e?new qo(r,e):new rr(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function Po(t,e){this._context=t,this._alpha=e}Po.prototype={areaStart:_e,areaEnd:_e,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,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,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:Lo(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 Vo=(function t(e){function n(r){return e?new Po(r,e):new ir(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function Do(t){this._context=t}Do.prototype={areaStart:_e,areaEnd:_e,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 jo(t){return new Do(t)}function Ro(t){this._context=t}Ro.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 r=Io(t),i=Io(e),s=0,a=1;a<n;++s,++a)this._context.bezierCurveTo(r[0][s],i[0][s],r[1][s],i[1][s],t[a],e[a]);(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 Io(t){var e,n=t.length-1,r,i=new Array(n),s=new Array(n),a=new Array(n);for(i[0]=0,s[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,s[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,s[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/s[e-1],s[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/s[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/s[e];for(s[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)s[e]=2*t[e+1]-i[e+1];return[i,s]}function Jn(t){return new Ro(t)}function un(t,e,n){this.k=t,this.x=e,this.y=n}un.prototype={constructor:un,scale:function(t){return t===1?this:new un(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new un(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+")"}},un.prototype;const H2={censor:de,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:ht,squish_infinite:A1,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function Ge(t,{title:e,...n}={}){return Object.assign(function(r){return r.map(t)},{title:e},n)}function Ho({values:t={},na_value:e=null,title:n,...r}={}){let i;return Array.isArray(t)?i=function(s){return s.map(a=>t[+a]??e)}:i=function(s){return s.map(a=>t[a]??e)},Object.assign(i,{title:n},r)}function We({limits:t,oob:e=de,range:n=[0,1],na_value:r=null,null_value:i=null,title:s,...a}={}){return Object.assign(function(c){let l=this?.limits?.min??this?.limits?.[0]??c.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??c.extent?.[1],d=h-l,m=n?.min??n[0],f=n?.max??n[1],g=f-m;return c.map(y=>(y=this.oob(y,{min:l,max:h}),y===null?i:isNaN(y)?r:m+(y-l)/d*g))},{title:s,limits:t,oob:e},a)}function Fo({title:t,...e}={}){return Object.assign(function(n){return n.map(r=>+r)},{asis:!0,title:t},e)}function or({title:t,...e}={}){return Object.assign(function(n){return n.map(r=>String(r??""))},{asis:!0,title:t},e)}function t1({h:t=[15,375],c:e=100,l:n=65,h_start:r=0,alpha:i=1,direction:s=1,limits:a,oob:u=de,na_value:c="#7f7f7f",null_value:l=null,title:h,...d}={}){return Object.assign(function(f){let g=this?.limits?.min??this?.limits?.[0]??f.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??f.extent?.[1],w=y-g,S=t?.min??t[0],$=t?.max??t[1],A=$-S;return f.map(M=>(M=this.oob(M,{min:g,max:y}),M===null?l:isNaN(M)?c:to(r+S+A*(M-g)/w*s,e,n,i).toString()))},{title:h,limits:a,oob:u},d)}function F2({values:t,na_value:e="#7f7f7f",title:n,...r}={}){return Ho({values:t,na_value:e,title:n,...r})}function e1({low:t="#132B43",high:e="#56B1F7",limits:n,oob:r=de,na_value:i="#7f7f7f",null_value:s=null,title:a,...u}={}){return Object.assign(function(l){let h=this?.limits?.min??this?.limits?.[0]??l.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??l.extent?.[1],m=z1(t,e);return l.map(f=>(f=this.oob(f,{min:h,max:d}),f===null?s:isNaN(f)?i:h===d?m(.5):f>d?e:f<h?t:m((f-h)/(d-h))))},{title:a,limits:n,oob:r},u)}function U2({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:r=0,limits:i,oob:s=de,na_value:a="#7f7f7f",null_value:u=null,title:c,...l}={}){return Object.assign(function(d){let m=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],g=r??(m+f)/2,y=z1(t,e),w=z1(e,n);return d.map(S=>(S=this.oob(S,{min:m,max:f}),S===null?u:isNaN(S)?a:S<g?y((S-m)/(g-m)):w((S-g)/(f-g))))},{title:c,limits:i,oob:s},l)}function z2({colors:t=[],values:e,anchors:n,limits:r,oob:i=de,na_value:s="#7f7f7f",null_value:a=null,title:u,...c}={}){return Object.assign(function(h){let d=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],m=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],f=e??n?.map?.(y=>d+(m-d)*y);f??=Array(t.length).fill(0).map((y,w)=>d+(m-d)*w/(t.length-1)),t=t.filter((y,w)=>!isNaN(f[w])),f=f.filter(y=>!isNaN(y));let g=Co(f,t);return h.map(y=>(y=this.oob(y,{min:d,max:m}),y===null?a:isNaN(y)?s:g(y)))},{title:u,limits:r,oob:i},c)}function Uo({alpha:t,limits:e,oob:n=de,title:r,...i}={}){let s=t1({alpha:t}),a=e1();return Object.assign(function(c){return c.level!=null?s.call(this,c):a.call(this,c)},{title:r,limits:e,oob:n},i)}function X2({discrete:t=t1(),continuous:e=e1(),limits:n,oob:r=de,title:i,...s}={}){return Object.assign(function(u){return u.level!=null?t.call(this,u):e.call(this,u)},{title:i,limits:n,oob:r},s)}function zo({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(i){return i.map(s=>n[+s])},{title:t},e)}function Xo({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(i){return i.map(s=>n[+s])},{title:t},e)}const sr={identity:({title:t,...e}={})=>or({legend:!1,title:t,...e}),discrete:t1,hue:t1,manual:F2,continuous:e1,gradient:e1,gradient2:U2,gradientn:z2,dynamic:X2,auto:Uo,custom:Ge,default:Uo},Yo={color:sr,stroke:sr,fill:sr,alpha:{continuous:We,custom:Ge,default:({title:t,...e}={})=>We({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>Fo({legend:!1,title:t,...e}),continuous:We,custom:Ge,default:({title:t,...e}={})=>We({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>Fo({legend:!1,title:t,...e}),continuous:We,manual:Ho,custom:Ge,default:({title:t,...e}={})=>We({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>or({legend:!1,title:t,...e}),discrete:Xo,default:Xo,custom:Ge},shape:{identity:({title:t,...e}={})=>or({legend:!1,title:t,...e}),discrete:zo,default:zo,custom:Ge}};function Y2({step:t,minor:e=!1}={}){return function({min:n,max:r,minor:i=e}={}){let s=r-n,a=t;if(isNaN(s)||s<0)return[];if(s==0)return[n];let u=10**Math.floor(Math.log10(s)-1),c=s/u;a==null&&(a=([5,10,20].find(d=>d*5>c)??20)*u),i&&(a/=2);let l=Math.ceil(n/a),h=Math.floor(r/a);return new Array(h-l+1).fill(null).map((d,m)=>(l+m)*a)}}function _2(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let r=new Date(t),i=new Date(e),s=r.getUTCFullYear(),a=r.getUTCMonth(),u=r.getUTCDate(),c=r.getUTCHours(),l=r.getUTCMinutes(),h=r.getUTCSeconds(),d=[];if(n>94608e6){let m=n/31536e6,f=10**Math.floor(Math.log10(m)-1),g=m/f,y=Math.max((g>50?10:g>25?5:2)*f,1);r=new Date(Date.UTC(Math.ceil(s/y)*y));do d.push(new Date(r));while(r.setUTCFullYear(r.getUTCFullYear()+y)<i)}else if(n>7776e6){let m=n/2592e6,f=[2,3,6].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,Math.ceil(a/f)*f));do d.push(new Date(r));while(r.setUTCMonth(r.getUTCMonth()+f)<i)}else if(n>18144e5){r=new Date(Date.UTC(s,a,u+(7-r.getUTCDay())%7));do d.push(new Date(r));while(r.setUTCDate(r.getUTCDate()+7)<i)}else if(n>2592e5){let m=n/864e5,f=[2,3].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,a,Math.ceil(u)));do d.push(new Date(r));while(r.setUTCDate(r.getUTCDate()+f)<i)}else if(n>108e5){let m=n/36e5,f=[2,3,6].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,a,u,Math.ceil(c/f)*f));do d.push(new Date(r));while(r.setUTCHours(r.getUTCHours()+f)<i)}else if(n>18e4){let m=n/6e4,f=[2,5,10,30].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,a,u,c,Math.ceil(l/f)*f));do d.push(new Date(r));while(r.setUTCMinutes(r.getUTCMinutes()+f)<i)}else if(n>3e3){let m=n/1e3,f=[2,5,10,30].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,a,u,c,l,Math.ceil(h/f)*f));do d.push(new Date(r));while(r.setUTCSeconds(r.getUTCSeconds()+f)<i)}else{let m=10**Math.floor(Math.log10(n)-1),f=n/m,g=(f>50?20:f>25?10:5)*m,y=Math.ceil(t/g),w=Math.floor(e/g);return new Array(w-y+1).fill(null).map((S,$)=>new Date((y+$)*g))}return d}}const n1={number:Y2,datetime:_2};let G2={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 lr(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,r)=>{let i=String(G2[r](t)),s=n.length;return r=="y"?i.slice(-s):i.padStart(s,"0")})}const _o={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 W2(){return function(t){return t==null?"":t instanceof Date?lr(t):String(t)}}function Go({accuracy:t,scale:e=1,prefix:n="",suffix:r="",big_mark:i=" ",style_positive:s="none",style_negative:a="hyphen",scale_cut:u={"":1}}={}){let c={plus:"+",space:" "}[s]??"",l={hyphen:"-",minus:"\u2212",parens:"("}[a]??"";return function(h,d,m=[h]){let f;if(t)f=t;else if(m.length>1){let A=m.filter(B=>isFinite(B)).sort((B,E)=>B-E);f=A.slice(1).map((B,E)=>B-A[E]).reduce((B,E)=>B<E?B:E)*e}else f=h||1;let g=Object.entries(u).sort((A,M)=>M[1]-A[1]).find(A=>A[1]<=f)?.[0]??"",y=(g==""?"":" ")+g+r;f=f/(u[g]??1);let w=Math.max(0,Math.ceil(-Math.log10(f))),S=Math.round(h*e/(u[g]??1)/f)*f,$=n+(S>0?c:S<0?l:"");return S<0&&a=="parens"&&(y=")"+y),S=Math.abs(S).toFixed(w).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+i),$+S+y}}function ar({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},r={y:4,M:7,d:10,h:13,m:16,s:19};return function(i,s,a=[i]){if(a.length<=1)return lr(new Date(i),t);if(t==null){let u=Array.from(a).sort((m,f)=>m-f),c=u.slice(1).map((m,f)=>m-u[f]).reduce((m,f)=>m<f?m:f)/1e3,l=(u[u.length-1]-u[0])/1e3,h=["y","M","d","m","s"].find(m=>e[m]<=c),d=l>2678400?"y":l>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],r[h])}return lr(new Date(i),t)}}function Wo(t){let e=Go(t),n=ar(t);return function(r,i,s=[r]){return r instanceof fi?String(r):r instanceof Date?n(r,i,s):e(r,i,s)}}const cr={number:Go,datetime:ar,timestamp:ar,asis:W2,auto:Wo,default:function(t){return Wo({scale_cut:_o.default,...t})}};function K2(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,r])=>[n,e(n,r)]))}class Z2{constructor(e,n){let{data:r=[],aes:i,extendX:s,extendY:a}=n,{geom:u,stat:c,data:l,aes:h,levels:d={},scales:m={},attrs:f,args:g,vBind:y,extendX:w,extendY:S}=e;if(!oe[u]){console.error(`Invalid geom "${u}"`,"in layer",e,", plot",n);return}let $=typeof c=="function"?c:ki[c];if($==null){console.error(`Invalid stat "${c}"`,"in layer",e,", plot",n);return}this.geom=u,this.vBind=Object.assign(y,{extendX:w??s??0,extendY:S??a??0}),this.scales={},typeof l=="function"&&(l=l(r)),l==null&&(l=r),h={...i,...h};let A={};this.$fnames={};for(const E in h)this.$fnames[E]=String(h[E]),A[E]=l.map(h[E]).map(L=>L instanceof String||L instanceof Number?new xe(L):L);A.$raw=l;let M=$?.core_attrs??["x","y","xnudge","ynudge"],B=l.length;B==0&&(B=M.map(E=>f[E]).filter(E=>E!=null).reduce((E,L)=>Math.max(Array.isArray(L)?L.length:1,E),0));for(const E in f)if(M.includes(E))if(Array.isArray(f[E])){if(f[E].length!=B)throw new Error(`Attribute "${E}" must have the same length as data (${B})`);A[E]=f[E]}else{if(f[E]==null)continue;A[E]=new Array(B).fill(f[E])}try{if(A=$(A,g||{}),A.$group??=A.group,A.$group==null){let E=Object.values(A).filter(L=>Array.isArray(L)).reduce((L,p)=>Math.max(L,p.length),0);A.$group=new Array(E).fill(null)}}catch(E){console.error("Error",E,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(d).filter(E=>d[E]!=null),...Object.keys(m).filter(E=>m[E]!=null)]),this.aes=new Set([...this.localScales,...oe[u]?.scale_attrs??[]]),this.$data=A,this.data={...A};for(const E in A)if(m[E]!=null){let L=new r1(m[E]);L.aesthetics=E,L._title=this.$fnames[E];let p=this.$data[E];if(!p?.length)continue;L.asis||(d?.[E]!=null?L.level=d[E]:p.some(ve)?L.level=be.from(p):L.extent=yt.extent(p.filter(x=>!(x instanceof xe)))),this.applyScale(E,L)}this.attrs={};for(const E in f)if(!M.includes(E))if(Array.isArray(f[E])){if(f[E].length!=B)throw new 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]=new Array(B).fill(f[E]))}applyScale(e,n){let r=this.$data[e];if(r==null)return;n.level&&(r=n.level.apply(r)),n.limits&&(r.extent=n.limits),n.aes=e;let i=n(r);this.data[e]=r.map((s,a)=>s instanceof xe?s.valueOf():i[a]),this.scales[e]=n}applyCoordScale(e){try{Object.assign(this.data,oe[this.geom]?.coord_scale?.(this.$data,e))}catch(n){console.error(n)}}}class Q2{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let r in n)this.layers.push(new Z2(n[r],e));this.layers=this.layers.filter(r=>r.$data!=null),this.aes=new Set(this.layers.flatMap(r=>Array.from(r.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const r of this.aes){let i=this.layers.filter(s=>!s.localScales.has(r)).flatMap(s=>s.$data[r]??[]);if(i.length!=0){let s=new r1(e?.[r]??Yo[r].default());s.aesthetics=r,s.asis||(n?.[r]!=null?s.level=n[r]:i.some(ve)?s.level=be.from(i):s.extent=yt.extent(i.filter(a=>!(a instanceof xe)))),s._title=this.layers.reduce((a,u)=>a??u.$fnames?.[r],null);for(const a of this.layers)a.localScales.has(r)||a.applyScale(r,s)}for(const s of this.layers){let a=s.scales?.[r];if(a!=null&&!a.asis){this.scales.has(a)||this.scales.set(a,{});let u=this.scales.get(a);u[s.geom]==null&&(u[s.geom]={});for(let c of oe[s.geom]?.scale_attrs)s.attrs[c]!=null&&(u[s.geom][c]=s.attrs[c])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new be(...e[n]);else{let r=this.layers.flatMap(i=>(oe[i.geom].get_values??oe[i.geom].get_range)?.(i.$data,n));r.some(ve)?this.levels[n]=be.from(r):(r=this.layers.flatMap(i=>oe[i.geom].get_range?.(i.$data,n)).filter(i=>!isNaN(i)),this.extents[n]=yt.extent(r.filter(i=>!(i instanceof xe))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:Object.values(Object.groupBy(e.data.$group.map((r,i)=>oe[e.geom].validate(K2(e.data,(s,a)=>a?.[i]))).filter(r=>r!=null),r=>r.$group)),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,r){let i={};if(this._range=e,this.levels.x){let s=+(e?.xmin??-.5)-(+n.x?.min||0),a=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);i.x=new i1(this.levels.x,{min:s,max:a})}else{let s=e?.xmin??this.extents.x?.min??0,a=e?.xmax??this.extents.x?.max??0,u=at(s,-n.x?.min||0),c=at(a,+n.x?.max||0),l=r?.x??1;if(c-u<l)if(e?.xmax==null&&e?.xmin!=null)c=at(u,+l);else if(e?.xmax!=null&&e?.xmin==null)u=at(c,-l);else{let h=c-u;c=at(c,-h/2+l/2),u=at(c,-l)}u instanceof Date||c instanceof Date?i.x=new o1({min:u,max:c}):i.x=new hn({min:u,max:c})}if(this.levels.y){let s=+(e?.ymin??-.5)-(+n.y?.min||0),a=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);i.y=new i1(this.levels.y,{min:s,max:a})}else{let s=e?.ymin??this.extents.y?.min??0,a=e?.ymax??this.extents.y?.max??0,u=at(s,-n.y?.min),c=at(a,+n.y?.max||0),l=r?.y??1;if(c-u<l)if(e?.ymax==null&&e?.ymin!=null)c=at(u,+l);else if(e?.ymax!=null&&e?.ymin==null)u=at(c,-l);else{let h=c-u;c=at(c,-h/2+l/2),u=at(c,-l)}u instanceof Date||c instanceof Date?i.y=new o1({min:u,max:c}):i.y=new hn({min:u,max:c})}return i}render(e,n,r){let i=this.getCoordScales(e,n,r);return{layers:this.getComputedLayers(),coordScales:i,scales:this.scales}}}class r1 extends Function{constructor(e){let n=e._fn??e;function r(){return n.apply(r,arguments)}return Object.setPrototypeOf(r,r1.prototype),Object.assign(r,e),r._fn=n,r}set extent({min:e,max:n,0:r,1:i}={}){e??=r,n??=i,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:r,1:i}={}){e??=r,n??=i,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 i1 extends Function{constructor(e,{min:n,max:r}={}){const i=n==r?s=>0:s=>(+s-n)/(r-n);return i.range={min:n,max:r},i.level=e,Object.setPrototypeOf(i,i1.prototype),i}invert(e){let{min:n,max:r}=this.range;return e*(r-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class hn extends Function{constructor(e){let{min:n,max:r}=e;const i=n==r?s=>isFinite(s)?.5:s:s=>(+s-n)/(r-n);return i.range={min:n,max:r},Object.setPrototypeOf(i,hn.prototype),i}invert(e){let{min:n,max:r}=this.range;return at(n,e*(r-n))}get breaks(){return n1.number()}}class o1 extends hn{constructor(e){let n=super(e);return Object.setPrototypeOf(n,o1.prototype),n}get breaks(){return n1.datetime()}get minorBreaks(){return[]}}class J2{constructor(e,{breaks:n,labels:r,minorBreaks:i,titles:s}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=r??cr.auto(),this.titles=s??cr.asis(),this.minorBreaks=i??n??e.minorBreaks??e.breaks}getBreaks({range:e,expandMult:n,breakSlot:r}={}){let i=this.breaks,s=this.minorBreaks,a=this.labels,u=this.titles,c=e?.min??this?.range?.min,l=e?.max??this?.range?.max,h=l-c||0;if(c=c==null?c:at(c,-(n?.min??0)*h),l=l==null?l:at(l,+(n?.max??0)*h),typeof i=="function"&&(i=i({min:c,max:l})),Array.isArray(i)||(i=[]),typeof a=="function"&&(a=i.map(a)),!Array.isArray(a))a=[];else if(a.length!=i.length)throw new Error("Length of labels must be the same as breaks");if(typeof u=="function"&&(u=i.map(u)),!Array.isArray(u))u=[];else if(u.length!=i.length)throw new Error("Length of titles must be the same as breaks");typeof s=="function"&&(s=s({min:c,max:l,minor:!0})),Array.isArray(s)||(s=[]),i=i.map((m,f)=>({type:"major",value:m,label:a[f],title:u[f]})),s=s.map(m=>({type:"minor",value:m}));let d=i.concat(s);return r instanceof Function&&(d=tn(r({breaks:d,majorBreaks:i,minorBreaks:s,min:c,max:l})).filter(m=>m.type.$_type=="axis-break").map(m=>({...m.type.$_props,...m.props}))),d}}const t9=["font-size"],e9={key:0},fn={__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=o.useTemplateRef("ele"),n=o.reactive({width:0,height:0});o.watch([e,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([i])=>{if(!i)return;await o.nextTick();let{width:s,height:a}=i.getBBox();n.width=s,n.height=a});const r=o.computed(()=>{let{width:i,height:s}=n,a=[],u=({start:-.5,end:.5}[t.textAnchor]??0)*i;if(t.dockX!=null||t.dockY!=null){let c={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),l={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(c)&&(c=.5),isNaN(l)&&(l=.5);let h=i*Math.abs(Math.cos(t.angle*Math.PI/180))+s*Math.abs(Math.sin(t.angle*Math.PI/180)),d=i*Math.abs(Math.sin(t.angle*Math.PI/180))+s*Math.abs(Math.cos(t.angle*Math.PI/180)),m=t.translateX,f=t.translateY;a.push(`translate(${h*(.5-c)+m},${d*(l-.5)+f})`),t.angle&&a.push(`rotate(${t.angle})`),a.push(`translate(${u},0)`)}else{let c={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),l={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(c)&&(c=.5),isNaN(l)&&(l=.5);let h=i,d=s,m=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&&a.push(`rotate(${t.angle})`),a.push(`translate(${h*(.5-c)+m+u},${d*(l-.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":Ct(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}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(i,s)=>(o.openBlock(),o.createElementBlock("text",o.mergeProps({ref_key:"ele",ref:e},r.value,{"font-size":(t.fontSize??t.size*4)||null}),[o.renderSlot(i.$slots,"default",{},()=>[t.title?(o.openBlock(),o.createElementBlock("title",e9,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(t.text?.replace(/ /g,"\xA0")),1)])],16,t9))}};function Ko(t){switch(t._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var n9=function(t,e){this.current=t,this.entering=e===!0},r9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=Ko(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}},i9=function(t){return{current:t,root:t,entering:!0,next:r9,resumeAt:n9}},St=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},At=St.prototype;Object.defineProperty(At,"isContainer",{get:function(){return Ko(this)}}),Object.defineProperty(At,"type",{get:function(){return this._type}}),Object.defineProperty(At,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(At,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(At,"next",{get:function(){return this._next}}),Object.defineProperty(At,"prev",{get:function(){return this._prev}}),Object.defineProperty(At,"parent",{get:function(){return this._parent}}),Object.defineProperty(At,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(At,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}}),Object.defineProperty(At,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}}),Object.defineProperty(At,"title",{get:function(){return this._title},set:function(t){this._title=t}}),Object.defineProperty(At,"info",{get:function(){return this._info},set:function(t){this._info=t}}),Object.defineProperty(At,"level",{get:function(){return this._level},set:function(t){this._level=t}}),Object.defineProperty(At,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}}),Object.defineProperty(At,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}}),Object.defineProperty(At,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}}),Object.defineProperty(At,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}}),Object.defineProperty(At,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}}),Object.defineProperty(At,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}}),St.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)},St.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)},St.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},St.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)},St.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)},St.prototype.walker=function(){var t=new i9(this);return t};function o9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ur,Zo;function s9(){if(Zo)return ur;Zo=1;var t={};function e(r){var i,s,a=t[r];if(a)return a;for(a=t[r]=[],i=0;i<128;i++)s=String.fromCharCode(i),/^[0-9a-z]$/i.test(s)?a.push(s):a.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2));for(i=0;i<r.length;i++)a[r.charCodeAt(i)]=r[i];return a}function n(r,i,s){var a,u,c,l,h,d="";for(typeof i!="string"&&(s=i,i=n.defaultChars),typeof s>"u"&&(s=!0),h=e(i),a=0,u=r.length;a<u;a++){if(c=r.charCodeAt(a),s&&c===37&&a+2<u&&/^[0-9a-f]{2}$/i.test(r.slice(a+1,a+3))){d+=r.slice(a,a+3),a+=2;continue}if(c<128){d+=h[c];continue}if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&a+1<u&&(l=r.charCodeAt(a+1),l>=56320&&l<=57343)){d+=encodeURIComponent(r[a]+r[a+1]),a++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(r[a])}return d}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",ur=n,ur}var l9=s9();const a9=o9(l9);var hr={},mn={},s1={},Qo;function c9(){return Qo||(Qo=1,Object.defineProperty(s1,"__esModule",{value:!0}),s1.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])),s1}var l1={},Jo;function u9(){return Jo||(Jo=1,Object.defineProperty(l1,"__esModule",{value:!0}),l1.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])),l1}var a1={},ts;function h9(){if(ts)return a1;ts=1,Object.defineProperty(a1,"__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(r){var i="";return r>65535&&(r-=65536,i+=String.fromCharCode(r>>>10&1023|55296),r=56320|r&1023),i+=String.fromCharCode(r),i};function n(r){var i;return r>=55296&&r<=57343||r>1114111?"\uFFFD":e((i=t.get(r))!==null&&i!==void 0?i:r)}return a1.default=n,a1}var es;function ns(){return es||(es=1,(function(t){var e=mn&&mn.__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(c9());t.htmlDecodeTree=n.default;var r=e(u9());t.xmlDecodeTree=r.default;var i=e(h9()),s;(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"})(s=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function a(f){return function(y,w){for(var S="",$=0,A=0;(A=y.indexOf("&",A))>=0;){if(S+=y.slice($,A),$=A,A+=1,y.charCodeAt(A)===35){var M=A+1,B=10,E=y.charCodeAt(M);for((E|32)===120&&(B=16,A+=1,M+=1);(E=y.charCodeAt(++A))>=48&&E<=57||B===16&&(E|32)>=97&&(E|32)<=102;);if(M!==A){var L=y.substring(M,A),p=parseInt(L,B);if(y.charCodeAt(A)===59)A+=1;else if(w)continue;S+=i.default(p),$=A}continue}for(var x=null,N=1,b=0,k=f[b];A<y.length&&(b=u(f,k,b+1,y.charCodeAt(A)),!(b<0));A++,N++)k=f[b],k&s.HAS_VALUE&&(w&&y.charCodeAt(A)!==59?b+=1:(x=k&s.MULTI_BYTE?String.fromCharCode(f[++b],f[++b]):String.fromCharCode(f[++b]),N=0));x!=null&&(S+=x,$=A-N+1)}return S+y.slice($)}}function u(f,g,y,w){if(g<=128)return w===g?y:-1;var S=(g&s.BRANCH_LENGTH)>>8;if(S===0)return-1;if(S===1)return w===f[y]?y+1:-1;var $=g&s.JUMP_TABLE;if($){var A=w-t.JUMP_OFFSET_BASE-$;return A<0||A>S?-1:f[y+A]-1}for(var M=y,B=M+S-1;M<=B;){var E=M+B>>>1,L=f[E];if(L<w)M=E+1;else if(L>w)B=E-1;else return f[E+S]}return-1}t.determineBranch=u;var c=a(n.default),l=a(r.default);function h(f){return c(f,!1)}t.decodeHTML=h;function d(f){return c(f,!0)}t.decodeHTMLStrict=d;function m(f){return l(f,!0)}t.decodeXML=m})(mn)),mn}var jt={};const f9={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};var dn={};const rs={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
3
- `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var is;function m9(){return is||(is=1,(function(t){var e=dn&&dn.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(rs);function r(u){return(u&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(u,c){return u.codePointAt(c)}:(function(u,c){return r(u.charCodeAt(c))?(u.charCodeAt(c)-55296)*1024+u.charCodeAt(c+1)-56320+65536:u.charCodeAt(c)});var i=a(n.default);function s(u,c){for(var l,h="",d=0,m;(m=u.exec(c))!==null;){var f=m.index,g=c.charCodeAt(f),y=i.get(g);if(y){if(y.next!=null&&f+1<c.length){var w=(l=y.next.get(c.charCodeAt(f+1)))===null||l===void 0?void 0:l.value;if(w!=null){h+=c.substring(d,f)+w,u.lastIndex+=1,d=f+2;continue}}h+=c.substring(d,f)+y.value,d=f+1}else h+=c.substring(d,f)+"&#x"+t.getCodePoint(c,f).toString(16)+";",d=u.lastIndex+=Number(r(g))}return h+c.substr(d)}t.encodeHTMLTrieRe=s;function a(u){for(var c,l,h,d,m=new Map,f=0,g=Object.keys(u);f<g.length;f++){for(var y=g[f],w=u[y],S=m,$=0;$<w.length-1;$++){var A=w.charCodeAt($),M=(c=S.get(A))!==null&&c!==void 0?c:{};S.set(A,M),S=(l=M.next)!==null&&l!==void 0?l:M.next=new Map}var B=(h=S.get(w.charCodeAt(w.length-1)))!==null&&h!==void 0?h:{};(d=B.value)!==null&&d!==void 0||(B.value="&"+y+";"),S.set(w.charCodeAt(w.length-1),B)}return m}t.getTrie=a})(dn)),dn}var os;function ss(){if(os)return jt;os=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(f9),n=m9(),r=t(rs),i=d(r.default,!0),s=d(e.default,!0),a=d(e.default,!1),u=new Map(Object.keys(e.default).map(function(f){return[e.default[f].charCodeAt(0),"&"+f+";"]}));function c(f){for(var g="",y=0,w;(w=s.exec(f))!==null;){var S=w.index,$=f.charCodeAt(S),A=u.get($);A?(g+=f.substring(y,S)+A,y=S+1):(g+=f.substring(y,S)+"&#x"+n.getCodePoint(f,S).toString(16)+";",y=s.lastIndex+=+(($&65408)===55296))}return g+f.substr(y)}jt.encodeXML=c;function l(f){return n.encodeHTMLTrieRe(i,f)}jt.encodeHTML=l;function h(f){return n.encodeHTMLTrieRe(s,f)}jt.encodeNonAsciiHTML=h;function d(f,g){for(var y=Object.keys(f).map(function(A){return"\\"+f[A].charAt(0)}).filter(function(A){return!g||A.charCodeAt(1)<128}).sort(function(A,M){return A.charCodeAt(1)-M.charCodeAt(1)}).filter(function(A,M,B){return A!==B[M+1]}),w=0;w<y.length-1;w++){for(var S=w;S<y.length-1&&y[S].charCodeAt(1)+1===y[S+1].charCodeAt(1);)S+=1;var $=1+S-w;$<3||y.splice(w,$,y[w]+"-"+y[S])}return new RegExp("["+y.join("")+(g?"\\x80-\\uFFFF":"")+"]","g")}jt.escape=c;function m(f){for(var g,y=0,w="";g=a.exec(f);)y!==g.index&&(w+=f.substring(y,g.index)),w+=u.get(g[0].charCodeAt(0)),y=g.index+1;return w+f.substring(y)}return jt.escapeUTF8=m,jt}var ls;function d9(){return ls||(ls=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=ns(),n=ss(),r;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(r=t.EntityLevel||(t.EntityLevel={}));var i;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict"})(i=t.DecodingMode||(t.DecodingMode={}));var s;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive"})(s=t.EncodingMode||(t.EncodingMode={}));function a(d,m){m===void 0&&(m=r.XML);var f=typeof m=="number"?{level:m}:m;return f.level===r.HTML?f.mode===i.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=a;function u(d,m){m===void 0&&(m=r.XML);var f=typeof m=="number"?{level:m}:m;return f.level===r.HTML?f.mode===i.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=u;function c(d,m){m===void 0&&(m=r.XML);var f=typeof m=="number"?{level:m}:m;return f.mode===s.UTF8?n.escapeUTF8(d):f.level===r.HTML?f.mode===s.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=c;var l=ss();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var h=ns();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}})})(hr)),hr}var as=d9(),g9=92,cs="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",us="[A-Za-z][A-Za-z0-9-]*",p9="[a-zA-Z_:][a-zA-Z0-9:._-]*",y9="[^\"'=<>`\\x00-\\x20]+",x9="'[^']*'",b9='"[^"]*"',v9="(?:"+y9+"|"+x9+"|"+b9+")",w9="(?:\\s*=\\s*"+v9+")",k9="(?:\\s+"+p9+w9+"?)",hs="<"+us+k9+"*\\s*/?>",fs="</"+us+"\\s*[>]",N9="<!-->|<!--->|<!--[\\s\\S]*?-->",S9="[<][?][\\s\\S]*?[?][>]",A9="<![A-Za-z]+[^>]*>",E9="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",C9="(?:"+hs+"|"+fs+"|"+N9+"|"+S9+"|"+A9+"|"+E9+")",T9=new RegExp("^"+C9),M9=/[\\&]/,ms="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",$9=new RegExp("\\\\"+ms+"|"+cs,"gi"),B9='[&<>"]',ds=new RegExp(B9,"g"),L9=function(t){return t.charCodeAt(0)===g9?t.charAt(1):as.decodeHTMLStrict(t)},gs=function(t){return M9.test(t)?t.replace($9,L9):t},q9=function(t){try{return a9(t)}catch{return t}},O9=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return t}},c1=function(t){return ds.test(t)?t.replace(ds,O9):t},fr;function mr(t){return fr(t)}if(String.fromCodePoint)fr=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var P9=String.fromCharCode,V9=Math.floor;fr=function(){var t=16384,e=[],n,r,i=-1,s=arguments.length;if(!s)return"";for(var a="";++i<s;){var u=Number(arguments[i]);if(!isFinite(u)||u<0||u>1114111||V9(u)!==u)return"\uFFFD";u<=65535?e.push(u):(u-=65536,n=(u>>10)+55296,r=u%1024+56320,e.push(n,r)),(i+1===s||e.length>t)&&(a+=P9.apply(null,e),e.length=0)}return a}}var u1=q9,dr=gs,ps=10,gr=42,h1=95,D9=96,ys=91,j9=93,xs=60,R9=33,bs=92,I9=38,vs=40,pr=41,H9=58,Me=39,$e=34,ws=ms,yr="\\\\"+ws,F9=cs,U9=T9,ks=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),z9=new RegExp('^(?:"('+yr+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+yr+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+yr+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),X9=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Ns=new RegExp("^"+ws),Y9=new RegExp("^"+F9,"i"),_9=/`+/,G9=/^`+/,W9=/\.\.\./g,K9=/--+/g,Z9=/^<([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])?)*)>/,Q9=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,J9=/^ *(?:\n *)?/,Ss=/^[ \t\n\x0b\x0c\x0d]/,As=/^\s/,t8=/ *$/,e8=/^ */,Es=/^ *(?:\n|$)/,n8=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,r8=/^[^\n`\[\]\\!<&*_'"]+/m,Dt=function(t){var e=new St("text");return e._literal=t,e},Cs=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},i8=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},o8=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},s8=function(){return this.match(J9),!0},l8=function(t){var e=this.match(G9);if(e===null)return!1;for(var n=this.pos,r,i,s;(r=this.match(_9))!==null;)if(r===e)return i=new St("code"),s=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),s.length>0&&s.match(/[^ ]/)!==null&&s[0]==" "&&s[s.length-1]==" "?i._literal=s.slice(1,s.length-1):i._literal=s,t.appendChild(i),!0;return this.pos=n,t.appendChild(Dt(e)),!0},a8=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===ps?(this.pos+=1,n=new St("linebreak"),t.appendChild(n)):Ns.test(e.charAt(this.pos))?(t.appendChild(Dt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Dt("\\")),!0},c8=function(t){var e,n,r;return(e=this.match(Z9))?(n=e.slice(1,e.length-1),r=new St("link"),r._destination=u1("mailto:"+n),r._title="",r.appendChild(Dt(n)),t.appendChild(r),!0):(e=this.match(Q9))?(n=e.slice(1,e.length-1),r=new St("link"),r._destination=u1(n),r._title="",r.appendChild(Dt(n)),t.appendChild(r),!0):!1},u8=function(t){var e=this.match(U9);if(e===null)return!1;var n=new St("html_inline");return n._literal=e,t.appendChild(n),!0},h8=function(t){var e=0,n,r,i,s=this.pos,a,u,c,l,h,d,m,f;if(t===Me||t===$e)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=s===0?`
1
+ var VVPlot=(function(lt,o){"use strict";function Yr(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}const p1=new WeakMap,hl=(...t)=>{var e;const n=t[0],r=(e=o.getCurrentInstance())==null?void 0:e.proxy;if(r==null&&!o.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&p1.has(r)&&n in p1.get(r)?p1.get(r)[n]:o.inject(...t)};function fl(t){if(!o.isRef(t))return o.reactive(t);const e=new Proxy({},{get(n,r,i){return o.unref(Reflect.get(t.value,r,i))},set(n,r,i){return o.isRef(t.value[r])&&!o.isRef(i)?t.value[r].value=i:t.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(t.value,r)},has(n,r){return Reflect.has(t.value,r)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return o.reactive(e)}function fe(t){return fl(o.computed(t))}const ml=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const dl=Object.prototype.toString,gl=t=>dl.call(t)==="[object Object]",pl=()=>{};function Gr(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function y1(t){return Array.isArray(t)?t:[t]}function Wr(t,e,n){return o.watch(t,e,{...n,immediate:!0})}const yn=ml?window:void 0;function x1(t){var e;const n=o.toValue(t);return(e=n?.$el)!=null?e:n}function yl(...t){const e=[],n=()=>{e.forEach(u=>u()),e.length=0},r=(u,a,l,h)=>(u.addEventListener(a,l,h),()=>u.removeEventListener(a,l,h)),i=o.computed(()=>{const u=y1(o.toValue(t[0])).filter(a=>a!=null);return u.every(a=>typeof a!="string")?u:void 0}),s=Wr(()=>{var u,a;return[(a=(u=i.value)==null?void 0:u.map(l=>x1(l)))!=null?a:[yn].filter(l=>l!=null),y1(o.toValue(i.value?t[1]:t[0])),y1(o.unref(i.value?t[2]:t[1])),o.toValue(i.value?t[3]:t[2])]},([u,a,l,h])=>{if(n(),!u?.length||!a?.length||!l?.length)return;const d=gl(h)?{...h}:h;e.push(...u.flatMap(m=>a.flatMap(f=>l.map(g=>r(m,f,g,d)))))},{flush:"post"}),c=()=>{s(),n()};return Yr(n),c}function xl(){const t=o.shallowRef(!1),e=o.getCurrentInstance();return e&&o.onMounted(()=>{t.value=!0},e),t}function Kr(t){const e=xl();return o.computed(()=>(e.value,!!t()))}const bl=Symbol("vueuse-ssr-width");function vl(){const t=o.hasInjectionContext()?hl(bl,null):null;return typeof t=="number"?t:void 0}function wl(t,e={}){const{window:n=yn,ssrWidth:r=vl()}=e,i=Kr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=o.shallowRef(typeof r=="number"),c=o.shallowRef(),u=o.shallowRef(!1),a=l=>{u.value=l.matches};return o.watchEffect(()=>{if(s.value){s.value=!i.value;const l=o.toValue(t).split(",");u.value=l.some(h=>{const d=h.includes("not all"),m=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),f=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(m||f);return m&&g&&(g=r>=Gr(m[1])),f&&g&&(g=r<=Gr(f[1])),d?!g:g});return}i.value&&(c.value=n.matchMedia(o.toValue(t)),u.value=c.value.matches)}),yl(c,"change",a,{passive:!0}),o.computed(()=>u.value)}function kl(t={}){const{window:e=yn}=t,n=o.shallowRef(1),r=wl(()=>`(resolution: ${n.value}dppx)`,t);let i=pl;return e&&(i=Wr(r,()=>n.value=e.devicePixelRatio)),{pixelRatio:o.readonly(n),stop:i}}function Zr(t,e,n={}){const{window:r=yn,...i}=n;let s;const c=Kr(()=>r&&"ResizeObserver"in r),u=()=>{s&&(s.disconnect(),s=void 0)},a=o.computed(()=>{const d=o.toValue(t);return Array.isArray(d)?d.map(m=>x1(m)):[x1(d)]}),l=o.watch(a,d=>{if(u(),c.value&&r){s=new ResizeObserver(e);for(const m of d)m&&s.observe(m,i)}},{immediate:!0,flush:"post"}),h=()=>{u(),l()};return Yr(h),{isSupported:c,stop:h}}function Al(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const xn=()=>!1,b1=Object.assign,Qr=Al("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"),Nl=Symbol(""),Sl=Symbol(""),El=Symbol(""),Cl=Symbol(""),Jr={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Tl(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Jr}}function v1(t,e=!1,n=Jr,r=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:r}}const ti=new Uint8Array([123,123]),ei=new Uint8Array([125,125]);function ni(t){return t>=97&&t<=122||t>=65&&t<=90}function _t(t){return t===32||t===10||t===9||t===12||t===13}function me(t){return t===47||t===62||_t(t)}function bn(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const qt={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 $l{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=ti,this.delimiterClose=ei,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=ti,this.delimiterClose=ei}getPos(e){let n=1,r=e+1;const i=this.newlines.length;let s=-1;if(i>100){let c=-1,u=i;for(;c+1<u;){const a=c+u>>>1;this.newlines[a]<e?c=a:u=a}s=c}else for(let c=i-1;c>=0;c--)if(e>this.newlines[c]){s=c;break}return s>=0&&(n=s+2,r=e-this.newlines[s]),{column:r,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?me(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||_t(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}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===qt.TitleEnd||this.currentSequence===qt.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===qt.Cdata[this.sequenceIndex]?++this.sequenceIndex===qt.Cdata.length&&(this.state=28,this.currentSequence=qt.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===qt.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):ni(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){me(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(me(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(bn("</"+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){_t(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=ni(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||_t(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):_t(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):_t(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||me(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||me(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||me(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||me(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||me(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)):_t(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):_t(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){_t(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=qt.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===qt.ScriptEnd[3]?this.startSpecial(qt.ScriptEnd,4):e===qt.StyleEnd[3]?this.startSpecial(qt.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===qt.TitleEnd[3]?this.startSpecial(qt.TitleEnd,4):e===qt.TextareaEnd[3]?this.startSpecial(qt.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===qt.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 ri(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function ii(t,e){const n=ri("MODE",e),r=ri(t,e);return n===3?r===!0:r!==!1}function vn(t,e,n,...r){return ii(t,e)}function Ml(t){throw t}function Bl(t){}function Ll(t,e,n,r){const i=`https://vuejs.org/error-reference/#compiler-${t}`,s=new SyntaxError(String(i));return s.code=t,s.loc=e,s}const ql=t=>t.type===4&&t.isStatic;function Ol(t){switch(t){case"Teleport":case"teleport":return Nl;case"Suspense":case"suspense":return Sl;case"KeepAlive":case"keep-alive":return El;case"BaseTransition":case"base-transition":return Cl}}function Pl(t,e){return!!(t&&ql(t)&&t.content===e)}function oi(t){return t.type===7&&t.name==="pre"}const Vl=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Dl(t){for(let e=0;e<t.length;e++)if(!_t(t.charCodeAt(e)))return!1;return!0}const si={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:xn,isPreTag:xn,isIgnoreNewlineTag:xn,isCustomElement:xn,onError:Ml,onWarn:Bl,comments:!1,prefixIdentifiers:!1};let mt=si,Je=null,ne="",Ot=null,ht=null,It="",re=-1,ve=-1,w1=0,de=!1,k1=null;const yt=[],bt=new $l(yt,{onerr:ie,ontext(t,e){wn(Lt(t,e),t,e)},ontextentity(t,e,n){wn(t,e,n)},oninterpolation(t,e){if(de)return wn(Lt(t,e),t,e);let n=t+bt.delimiterOpen.length,r=e-bt.delimiterClose.length;for(;_t(ne.charCodeAt(n));)n++;for(;_t(ne.charCodeAt(r-1));)r--;let i=Lt(n,r);i.includes("&")&&(i=mt.decodeEntities(i,!1)),A1({type:5,content:An(i,!1,At(n,r)),loc:At(t,e)})},onopentagname(t,e){const n=Lt(t,e);Ot={type:1,tag:n,ns:mt.getNamespace(n,yt[0],mt.ns),tagType:0,props:[],children:[],loc:At(t-1,e),codegenNode:void 0}},onopentagend(t){ai(t)},onclosetag(t,e){const n=Lt(t,e);if(!mt.isVoidTag(n)){let r=!1;for(let i=0;i<yt.length;i++)if(yt[i].tag.toLowerCase()===n.toLowerCase()){r=!0,i>0&&ie(24,yt[0].loc.start.offset);for(let c=0;c<=i;c++){const u=yt.shift();kn(u,e,c<i)}break}r||ie(23,ci(t,60))}},onselfclosingtag(t){const e=Ot.tag;Ot.isSelfClosing=!0,ai(t),yt[0]&&yt[0].tag===e&&kn(yt.shift(),t)},onattribname(t,e){ht={type:6,name:Lt(t,e),nameLoc:At(t,e),value:void 0,loc:At(t)}},ondirname(t,e){const n=Lt(t,e),r=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!de&&r===""&&ie(26,t),de||r==="")ht={type:6,name:n,nameLoc:At(t,e),value:void 0,loc:At(t)};else if(ht={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[v1("prop")]:[],loc:At(t)},r==="pre"){de=bt.inVPre=!0,k1=Ot;const i=Ot.props;for(let s=0;s<i.length;s++)i[s].type===7&&(i[s]=Xl(i[s]))}},ondirarg(t,e){if(t===e)return;const n=Lt(t,e);if(de&&!oi(ht))ht.name+=n,we(ht.nameLoc,e);else{const r=n[0]!=="[";ht.arg=An(r?n:n.slice(1,-1),r,At(t,e),r?3:0)}},ondirmodifier(t,e){const n=Lt(t,e);if(de&&!oi(ht))ht.name+="."+n,we(ht.nameLoc,e);else if(ht.name==="slot"){const r=ht.arg;r&&(r.content+="."+n,we(r.loc,e))}else{const r=v1(n,!0,At(t,e));ht.modifiers.push(r)}},onattribdata(t,e){It+=Lt(t,e),re<0&&(re=t),ve=e},onattribentity(t,e,n){It+=t,re<0&&(re=e),ve=n},onattribnameend(t){const e=ht.loc.start.offset,n=Lt(e,t);ht.type===7&&(ht.rawName=n),Ot.props.some(r=>(r.type===7?r.rawName:r.name)===n)&&ie(2,e)},onattribend(t,e){if(Ot&&ht){if(we(ht.loc,e),t!==0)if(It.includes("&")&&(It=mt.decodeEntities(It,!0)),ht.type===6)ht.name==="class"&&(It=fi(It).trim()),t===1&&!It&&ie(13,e),ht.value={type:2,content:It,loc:t===1?At(re,ve):At(re-1,ve+1)},bt.inSFCRoot&&Ot.tag==="template"&&ht.name==="lang"&&It&&It!=="html"&&bt.enterRCDATA(bn("</template"),0);else{let n=0;ht.exp=An(It,!1,At(re,ve),0,n),ht.name==="for"&&(ht.forParseResult=Rl(ht.exp));let r=-1;ht.name==="bind"&&(r=ht.modifiers.findIndex(i=>i.content==="sync"))>-1&&vn("COMPILER_V_BIND_SYNC",mt,ht.loc,ht.arg.loc.source)&&(ht.name="model",ht.modifiers.splice(r,1))}(ht.type!==7||ht.name!=="pre")&&Ot.props.push(ht)}It="",re=ve=-1},oncomment(t,e){mt.comments&&A1({type:3,content:Lt(t,e),loc:At(t-4,e+3)})},onend(){const t=ne.length;for(let e=0;e<yt.length;e++)kn(yt[e],t-1),ie(24,yt[e].loc.start.offset)},oncdata(t,e){(yt[0]?yt[0].ns:mt.ns)!==0?wn(Lt(t,e),t,e):ie(1,t-9)},onprocessinginstruction(t){(yt[0]?yt[0].ns:mt.ns)===0&&ie(21,t-1)}}),li=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,jl=/^\(|\)$/g;function Rl(t){const e=t.loc,n=t.content,r=n.match(Vl);if(!r)return;const[,i,s]=r,c=(d,m,f=!1)=>{const g=e.start.offset+m,y=g+d.length;return An(d,!1,At(g,y),0,f?1:0)},u={source:c(s.trim(),n.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(jl,"").trim();const l=i.indexOf(a),h=a.match(li);if(h){a=a.replace(li,"").trim();const d=h[1].trim();let m;if(d&&(m=n.indexOf(d,l+a.length),u.key=c(d,m,!0)),h[2]){const f=h[2].trim();f&&(u.index=c(f,n.indexOf(f,u.key?m+d.length:l+a.length),!0))}}return a&&(u.value=c(a,l,!0)),u}function Lt(t,e){return ne.slice(t,e)}function ai(t){bt.inSFCRoot&&(Ot.innerLoc=At(t+1,t+1)),A1(Ot);const{tag:e,ns:n}=Ot;n===0&&mt.isPreTag(e)&&w1++,mt.isVoidTag(e)?kn(Ot,t):(yt.unshift(Ot),(n===1||n===2)&&(bt.inXML=!0)),Ot=null}function wn(t,e,n){{const s=yt[0]&&yt[0].tag;s!=="script"&&s!=="style"&&t.includes("&")&&(t=mt.decodeEntities(t,!1))}const r=yt[0]||Je,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=t,we(i.loc,n)):r.children.push({type:2,content:t,loc:At(e,n)})}function kn(t,e,n=!1){n?we(t.loc,ci(e,60)):we(t.loc,Il(e,62)+1),bt.inSFCRoot&&(t.children.length?t.innerLoc.end=b1({},t.children[t.children.length-1].loc.end):t.innerLoc.end=b1({},t.innerLoc.start),t.innerLoc.source=Lt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:r,ns:i,children:s}=t;if(de||(r==="slot"?t.tagType=2:ui(t)?t.tagType=3:_l(t)&&(t.tagType=1)),bt.inRCDATA||(t.children=hi(s)),i===0&&mt.isIgnoreNewlineTag(r)){const c=s[0];c&&c.type===2&&(c.content=c.content.replace(/^\r?\n/,""))}i===0&&mt.isPreTag(r)&&w1--,k1===t&&(de=bt.inVPre=!1,k1=null),bt.inXML&&(yt[0]?yt[0].ns:mt.ns)===0&&(bt.inXML=!1);{const c=t.props;if(!bt.inSFCRoot&&ii("COMPILER_NATIVE_TEMPLATE",mt)&&t.tag==="template"&&!ui(t)){const a=yt[0]||Je,l=a.children.indexOf(t);a.children.splice(l,1,...t.children)}const u=c.find(a=>a.type===6&&a.name==="inline-template");u&&vn("COMPILER_INLINE_TEMPLATE",mt,u.loc)&&t.children.length&&(u.value={type:2,content:Lt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:u.loc})}}function Il(t,e){let n=t;for(;ne.charCodeAt(n)!==e&&n<ne.length-1;)n++;return n}function ci(t,e){let n=t;for(;ne.charCodeAt(n)!==e&&n>=0;)n--;return n}const Hl=new Set(["if","else","else-if","for","slot"]);function ui({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&Hl.has(e[n].name))return!0}return!1}function _l({tag:t,props:e}){if(mt.isCustomElement(t))return!1;if(t==="component"||Fl(t.charCodeAt(0))||Ol(t)||mt.isBuiltInComponent&&mt.isBuiltInComponent(t)||mt.isNativeTag&&!mt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const r=e[n];if(r.type===6){if(r.name==="is"&&r.value){if(r.value.content.startsWith("vue:"))return!0;if(vn("COMPILER_IS_ON_ELEMENT",mt,r.loc))return!0}}else if(r.name==="bind"&&Pl(r.arg,"is")&&vn("COMPILER_IS_ON_ELEMENT",mt,r.loc))return!0}return!1}function Fl(t){return t>64&&t<91}const Ul=/\r\n/g;function hi(t){const e=mt.whitespace!=="preserve";let n=!1;for(let r=0;r<t.length;r++){const i=t[r];if(i.type===2)if(w1)i.content=i.content.replace(Ul,`
2
+ `);else if(Dl(i.content)){const s=t[r-1]&&t[r-1].type,c=t[r+1]&&t[r+1].type;!s||!c||e&&(s===3&&(c===3||c===1)||s===1&&(c===3||c===1&&zl(i.content)))?(n=!0,t[r]=null):i.content=" "}else e&&(i.content=fi(i.content))}return n?t.filter(Boolean):t}function zl(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function fi(t){let e="",n=!1;for(let r=0;r<t.length;r++)_t(t.charCodeAt(r))?n||(e+=" ",n=!0):(e+=t[r],n=!1);return e}function A1(t){(yt[0]||Je).children.push(t)}function At(t,e){return{start:bt.getPos(t),end:e==null?e:bt.getPos(e),source:e==null?e:Lt(t,e)}}function we(t,e){t.end=bt.getPos(e),t.source=Lt(t.start.offset,e)}function Xl(t){const e={type:6,name:t.rawName,nameLoc:At(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 An(t,e=!1,n,r=0,i=0){return v1(t,e,n,r)}function ie(t,e,n){mt.onError(Ll(t,At(e,e)))}function Yl(){bt.reset(),Ot=null,ht=null,It="",re=-1,ve=-1,yt.length=0}function Gl(t,e){if(Yl(),ne=t,mt=b1({},si),e){let i;for(i in e)e[i]!=null&&(mt[i]=e[i])}bt.mode=mt.parseMode==="html"?1:mt.parseMode==="sfc"?2:0,bt.inXML=mt.ns===1||mt.ns===2;const n=e&&e.delimiters;n&&(bt.delimiterOpen=bn(n[0]),bt.delimiterClose=bn(n[1]));const r=Je=Tl([],t);return bt.parse(ne),r.loc=At(0,t.length),r.children=hi(r.children),Je=null,r}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 tn(t){return t==null?[]:t.flatMap(e=>e.type==o.Fragment?tn(e.children):e.type=="template"?tn(e.children).map(n=>(n.props={...n.props,...e.props},n)):e)}class Pe extends String{static#t=new Map;constructor(e){const n=String(e);if(Pe.#t.has(n))return Pe.#t.get(n);super(n),Pe.#t.set(n,this)}}class Ve extends Number{static#t=new Map;constructor(e){const n=Number(e);if(Ve.#t.has(n))return Ve.#t.get(n);super(n),Ve.#t.set(n,this)}}class ke{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new Pe(e);if(typeof e=="number"||e instanceof Number)return new Ve(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof Pe||e instanceof Ve}}class mi{constructor(e,n,r){this.label=e,this.value=n,this.level=r}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class Ae extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=N1(Array.from(e).filter(r=>!(r instanceof ke)&&r!=null).map(r=>String(r))).sort((r,i)=>di(r,i,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(r=>String(r)).sort((r,i)=>di(e[r],e[i]));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((r,i)=>e[i].label===n[i].label)}constructor(...e){return e=e.map((n,r)=>new mi(String(n),r)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,Ae.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(r=>r instanceof ke?r:this.mapping[r]);return n.level=this,n}}function ge(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function oe(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 at(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const dt={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(ge)),n&&(t=t.filter(r=>isFinite(r))),Array.from(t).reduce((r,i)=>r<i?r:i,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(ge)),n&&(t=t.filter(r=>isFinite(r))),Array.from(t).reduce((r,i)=>r>i?r:i,-1/0)},sum(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(ge)),n&&(t=t.filter(r=>isFinite(r))),Array.from(t).reduce((r,i)=>r+i,0)},diff(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(ge)),n&&(t=t.filter(r=>isFinite(r))),Array.from(t).slice(1).map((r,i)=>r-t[i])},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(ge)),n&&(t=t.filter(r=>isFinite(r))),t.length==0?NaN:Array.from(t).reduce((r,i)=>r+i,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(ge)),n&&(t=t.filter(i=>isFinite(i))),t.length<=1)return NaN;let r=Array.from(t).reduce((i,s)=>i+s,0)/t.length;return Math.sqrt(Array.from(t).reduce((i,s)=>i+(s-r)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:r=!0}={}){if(n&&(t=t.filter(ge)),r&&(t=t.filter(u=>isFinite(u))),t.length==0)return NaN;t=Array.from(t).sort((u,a)=>u-a);let i=(t.length-1)*e,s=Math.floor(i),c=Math.ceil(i);return s==c?t[s]:t[s]*(c-i)+t[c]*(i-s)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(ge)),n&&(t=t.filter(s=>isFinite(s))),t.length==0)return new Array(2);let r=Array.from(t).reduce((s,c)=>s<c?s:c,1/0),i=Array.from(t).reduce((s,c)=>s>c?s:c,-1/0);return Object.assign([r,i],{min:r,max:i})}},wt={coalesce(t,e){if(Array.isArray(e)){if(!Array.isArray(t)||t.length!=e.length)throw new Error("Value and defaultValue must be arrays of the same length");return t.map((n,r)=>n??e[r])}return Array.isArray(t)?t.map(n=>n??e):t??e},sum(...t){if(t.some(r=>r==null))return null;if(t.some(r=>!Array.isArray(r)&&typeof r!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(r=>!Array.isArray(r)).reduce((r,i)=>+i+r,0);if(t=t.filter(r=>Array.isArray(r)),t.length==0)return[e];let n=t[0].length;if(t.some(r=>r.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(r,i)=>t.reduce((s,c)=>+(c[i]??void 0)+s,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(r=>r==null))return null;let e=t.filter(r=>Array.isArray(r));if(e.length==0)return[t.join("")];if(t.some(r=>r.length==0))return[];let n=e[0].length;if(e.some(r=>r.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(r,i)=>t.map(s=>Array.isArray(s)?s[i]:s).join(""))},apply(t,...e){if(e.some(i=>i==null))return null;let n=e.filter(i=>Array.isArray(i));if(n.length==0)return[t(...e)];if(e.some(i=>i.length==0))return[];let r=n[0].length;if(n.some(i=>i.length!=r))throw new Error("Arrays must have the same length");return Array.from({length:r},(i,s)=>t(...e.map(c=>Array.isArray(c)?c[s]:c)))}};function Pt(...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 r in n)n[r]!==void 0&&(e[r]=n[r]);return e},{})}function Ne(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function N1(t,e=null,n=null){let r=new Map;for(let i in t){let s=e?e(t[i]):t[i];r.has(s)?n&&r.set(s,n(r.get(s),t[i])):r.set(s,t[i])}return Array.from(r.values())}function di(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function pe(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 ye(t,{min:e,max:n}){return t<e||t>n?NaN:t}function ft(t,{min:e,max:n}){return t<e?e:t>n?n:t}function S1(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function Et(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function gi(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),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i of n)if(!gi(t[i],e[i]))return!1;return!0}function Wl(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let r=0;r<t.length;r++){let i=t[r],s=e.findIndex(c=>gi(c,i));s===-1&&(e.push(i),s=e.length-1),n.push(s)}return n.categories=e,n}function Kl(...t){if(t.length==0)return null;let e=t.filter(i=>Array.isArray(i)).reduce((i,s)=>{if(Array.isArray(s)){if(i==null)return s.length;if(i!=s.length)throw new Error("Arrays must have the same length")}return i},null)??0,n=[],r=[];for(let i=0;i<e;i++){let s=t.map(u=>Array.isArray(u)?u[i]:u),c=n.findIndex(u=>u.every((a,l)=>a===s[l]));c===-1&&(n.push(s),c=n.length-1),r.push(c)}return r.categories=n,r}function $t(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(s=>Array.isArray(s)).reduce((s,c)=>{if(Array.isArray(c)){if(s==null)return c.length;if(s!=c.length)throw new Error("Arrays must have the same length")}return s},null)??0,n=Object.keys(t),r=[],i=[];for(let s=0;s<e;s++){let c=Object.fromEntries(n.map(a=>[a,Array.isArray(t[a])?t[a][s]:t[a]])),u=r.findIndex(a=>n.every(l=>a[l]===c[l]));u===-1&&(r.push(c),u=r.length-1),i.push(u)}return i.categories=r,i}function E1(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,r)=>{if(Array.isArray(r)){if(n==null)return r.length;if(n!=r.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,r)=>Object.fromEntries(Object.keys(t).map(i=>[i,Array.isArray(t[i])?t[i][r]:t[i]])))}function Mt(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 C1={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function Zl(t,{unit:e="mm"}={}){if(!(t instanceof SVGElement))return null;function n(u){let a=u.childNodes.length;for(;a--;){const l=u.childNodes[a];l.nodeType===Node.COMMENT_NODE?u.removeChild(l):l.nodeType===Node.ELEMENT_NODE&&(n(l),l.getAttribute("style")==""&&l.removeAttribute("style"),l.getAttribute("class")==""&&l.removeAttribute("class"))}}let r=t.cloneNode(!0),i=Array.from(t.querySelectorAll("foreignObject")),s=Array.from(r.querySelectorAll("foreignObject"));for(let u=0;u<i.length;u++){let a=i[u],l=s[u],h=i[u].querySelector("canvas");if(!h)continue;let d=r.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")),l.parentNode.replaceChild(d,l)}for(let u of r.querySelectorAll(".vvplot-interactive,foreignObject"))u.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"),C1[e]||(e=""),r.setAttribute("width",t.scrollWidth/C1[e]+e),r.setAttribute("height",t.scrollHeight/C1[e]+e),r.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(r)}const pi={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"}},yi={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"#eeeeee"}},Ql={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray",grid_color:"#eeeeee"}},Jl={axis:{tick_color:"black",label_color:"black",title_color:"black",grid_color:"white"},plot:{background:"#eeeeee"}},ta={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black",grid_color:"#666666"},plot:{background:"#888888"}},ea={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"black",grid_width:.5,grid_width_major:1}},na={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:null}},ra={axis:null};function ia(...t){return t.reduce((e,n)=>{for(let r in n)n[r]===null?e[r]=null:e[r]=Pt(e[r],n[r]);return e??void 0},{})}function oa(t,e=!1){let{axis_h:n,axis_v:r,axis_x:i,axis_y:s,plot:{margin_x:c,margin_y:u,margin_h:a,margin_v:l,padding_x:h,padding_y:d,padding_h:m,padding_v:f,...g}={},...y}=t;return e?(n=Pt(n,s),r=Pt(r,i),g.margin_h=u===void 0?a:u,g.margin_v=c===void 0?l:c,g.padding_h=d===void 0?m:d,g.padding_v=h===void 0?f:h):(n=Pt(n,i),r=Pt(r,s),g.margin_h=c===void 0?a:c,g.margin_v=u===void 0?l:u,g.padding_h=h===void 0?m:h,g.padding_v=d===void 0?f:d),{axis_h:n,axis_v:r,plot:g,...y}}function sa(t){return{axis:{h:Pt(...["axis","axis_h"].map(e=>t?.[e])),v:Pt(...["axis","axis_v"].map(e=>t?.[e])),left:Pt(...["axis","axis_v","axis_left"].map(e=>t?.[e])),right:Pt(...["axis","axis_v","axis_right"].map(e=>t?.[e])),top:Pt(...["axis","axis_h","axis_top"].map(e=>t?.[e])),bottom:Pt(...["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 la={base:pi,default:yi,light:Ql,classic:na,gray:Jl,dark:ta,linedraw:ea,void:ra},aa={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{sum:vt,coalesce:xi}=wt;const ca={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=xi(t.xnudge,0),r=xi(t.ynudge,0);if(t.x){let i=vt(e.x?.apply?.(t.x)??t.x,n),s=vt(i,t.width?.map?.(y=>-y/2)??-.5),c=vt(i,t.width?.map?.(y=>+y/2)??.5),u=vt(t.lwisker,r),a=vt(t.Q1,r),l=vt(t.median,r),h=vt(t.Q3,r),d=vt(t.uwisker,r),m=wt.apply((y,{y:x,$raw:S},E)=>vt(x,E).map((w,$)=>({x:y,y:w,$raw:S[$]})),i,t.outliers??[],r),f=vt(t.min,r),g=vt(t.max,r);return{x:i,xmin:s,xmax:c,lwisker:u,Q1:a,median:l,Q3:h,uwisker:d,outliers:m,$xmin:s,$xmax:c,$ymin:f,$ymax:g}}else if(t.y){let i=vt(e.y?.apply?.(t.y)??t.y,r),s=vt(i,t.height?.map?.(y=>-y/2)??-.5),c=vt(i,t.height?.map?.(y=>+y/2)??.5),u=vt(t.lwisker,n),a=vt(t.Q1,n),l=vt(t.median,n),h=vt(t.Q3,n),d=vt(t.uwisker,n),m=wt.apply((y,{x,$raw:S},E)=>vt(x,E).map((w,$)=>({x:w,y,$raw:S[$]})),i,t.outliers??[],n),f=vt(t.min,n),g=vt(t.max,n);return{y:i,ymin:s,ymax:c,lwisker:u,Q1:a,median:l,Q3:h,uwisker:d,outliers:m,$xmin:f,$xmax:g,$ymin:s,$ymax:c}}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}},ua={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(s=>+s),r=t.ynudge?.map(s=>+s);return{points:t.points.map((s,c)=>s.map(u=>({x:+(e?.x?.[u.x]??u.x)+(n?.[c]??0),y:+(e?.y?.[u.y]??u.y)+(r?.[c]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(r=>r.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(r=>r.y))},validate(t){return Array.isArray(t.points)?t:null}};let{sum:De,coalesce:bi}=wt;const ha={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:r,C:i}=t,s=bi(t.xnudge,0),c=bi(t.ynudge,0),u=De(e.x?.apply?.(t.cx)??t.cx,s),a=De(e.y?.apply?.(t.cy)??t.cy,c);return{cx:u,cy:a,A:n,B:r,C:i}},get_range(t,e){if(e=="x"){let n=wt.apply((r,i,s)=>Math.sqrt(s/(r*s-i*i)),t.A??[],t.B??[],t.C??[]);return De(t.cx??[],n).concat(De(t.cx??[],wt.opposite(n))??[])}if(e=="y"){let n=wt.apply((r,i,s)=>Math.sqrt(r/(r*s-i*i)),t.A??[],t.B??[],t.C??[]);return De(t.cy??[],n).concat(De(t.cy??[],wt.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{sum:Nn,coalesce:vi}=wt;const fa={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=vi(t.xnudge,0),r=vi(t.ynudge,0),i=Nn(e.x?.apply?.(t.x)??t.x,n),s=Nn(e.y?.apply?.(t.y)??t.y,r),c=Nn(e.x?.apply?.(t.xend)??t.xend,n),u=Nn(e.y?.apply?.(t.yend)??t.yend,r);return{x:i,y:s,xend:c,yend:u}},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{sum:wi,coalesce:ki}=wt;const ma={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=ki(t.xnudge,0),r=ki(t.ynudge,0),i=wi(e.x?.apply?.(t.x)??t.x,n),s=wi(e.y?.apply?.(t.y)??t.y,r);return{x:i,y:s}},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{sum:Sn,coalesce:Ai}=wt;const da={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=Ai(t.xnudge,0),r=Ai(t.ynudge,0),i=Sn(e.x?.apply?.(t.x)??t.x,n),s=Sn(e.y?.apply?.(t.y)??t.y,r),c=Sn(e.x?.apply?.(t.xend)??t.xend,n),u=Sn(e.y?.apply?.(t.yend)??t.yend,r);return{x:i,y:s,xend:c,yend:u}},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{sum:Ni,coalesce:Si}=wt;const ga={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=Si(t.xnudge,0),r=Si(t.ynudge,0),i=Ni(e.x?.apply?.(t.x)??t.x,n),s=Ni(e.y?.apply?.(t.y)??t.y,r);return{x:i,y:s}},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}},pa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(s=>+s),r=t.ynudge?.map(s=>+s);return{points:t.points.map((s,c)=>s.map(u=>({x:+(e?.x?.[u.x]??u.x)+(n?.[c]??0),y:+(e?.y?.[u.y]??u.y)+(r?.[c]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(r=>r.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(r=>r.y))},validate(t){return Array.isArray(t.points)?t:null}};let{sum:En,coalesce:Ei}=wt;const ya={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=Ei(t.xnudge,0),r=Ei(t.ynudge,0),i=En(e.x?.apply?.(t.xmin)??t.xmin,n),s=En(e.x?.apply?.(t.xmax)??t.xmax,n),c=En(e.y?.apply?.(t.ymin)??t.ymin,r),u=En(e.y?.apply?.(t.ymax)??t.ymax,r);return{xmin:i,xmax:s,ymin:c,ymax:u}},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}},xa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=e.x?.apply?.(t.x)??t.x,r=e.y?.apply?.(t.y)??t.y,i=t.xnudge?.map(u=>+u),s=t.ynudge?.map(u=>+u);return{points:t.points.map((u,a)=>u.map(l=>({x:+(e?.x?.[l.x]??l.x)+(i?.[a]??0)+n[a],y:+(e?.y?.[l.y]??l.y)+(s?.[a]??0)+r[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,r)=>n.map(i=>i.x+t.x[r]));if(e=="y")return(t.points??[]).flatMap((n,r)=>n.map(i=>i.y+t.y[r]))},validate(t){return Array.isArray(t.points)?t:null}};let{sum:je,coalesce:Ci}=wt;const ba={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=Ci(t.xnudge,0),r=Ci(t.ynudge,0),i=je(e.x?.apply?.(t.x)??t.x,n),s=je(e.y?.apply?.(t.y)??t.y,r),c=je(i,t.dx),u=je(s,t.dy);return{x:i,y:s,xend:c,yend:u}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(je(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(je(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let{sum:Ti,coalesce:$i}=wt;const va={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=$i(t.xnudge,0),r=$i(t.ynudge,0),i=Ti(e.x?.apply?.(t.x)??t.x,n),s=Ti(e.y?.apply?.(t.y)??t.y,r);return{x:i,y:s}},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{sum:Cn,coalesce:Mi}=wt;const wa={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=Mi(t.xnudge,0),r=Mi(t.ynudge,0),i=Cn(e.x?.apply?.(t.x)??t.x,n),s=Cn(e.y?.apply?.(t.y)??t.y,r),c=Cn(e.x?.apply?.(t.xend)??t.xend,n),u=Cn(e.y?.apply?.(t.yend)??t.yend,r);return{x:i,y:s,xend:c,yend:u}},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{sum:Tn,coalesce:Bi}=wt;const se=Object.freeze(Object.defineProperty({__proto__:null,blank:aa,boxplot:ca,curve:ua,ellipse:ha,line:fa,markdown:ma,markdownsegment:da,point:ga,polygon:pa,rect:ya,shape:xa,stick:ba,text:va,textsegment:wa,tile:{scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=Bi(t.xnudge,0),r=Bi(t.ynudge,0),i=e.x?.apply?.(t.x)??t.x,s=e.y?.apply?.(t.y)??t.y,c=Tn(i,t.width?.map?.(h=>-h/2)??-.5,n),u=Tn(i,t.width?.map?.(h=>+h/2)??.5,n),a=Tn(s,t.height?.map?.(h=>-h/2)??-.5,r),l=Tn(s,t.height?.map?.(h=>+h/2)??.5,r);return{xmin:c,xmax:u,ymin:a,ymax:l}},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=wt.apply((i,s)=>+i-s/2,t.x??[],t.width??[]),r=wt.apply((i,s)=>+i+s/2,t.x??[],t.width??[]);return n.concat(r)}if(e=="y"){let n=wt.apply((i,s)=>+i-s/2,t.y??[],t.height??[]),r=wt.apply((i,s)=>+i+s/2,t.y??[],t.height??[]);return n.concat(r)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}}},Symbol.toStringTag,{value:"Module"})),ka=Object.assign(function(t,{position:e="stack",width:n=.9,height:r=.9}){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let i=t.x?"x":"y",s=t[i];if(s==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(s.some(g=>typeof g=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let c=Object.keys(t).filter(g=>!g.startsWith("$")),u=$t(Object.fromEntries(c.map(g=>[g,t[g]]))),a=$t({group:u??0,value:s}),l=Map.groupBy(t.$raw,(g,y)=>a.categories[a[y]]),h=Array.from(l.values()),d=Array.from(l.keys()),m=h.map(g=>g.length),f={$raw:h,$group:d.map(g=>g.group),[i]:d.map(g=>g.value)};for(let g of c)f[g]=d.map(y=>y.group).map(y=>u.categories[y][g]);if(i=="x"?(n??=.9,f.height=m):(r??=.9,f.width=m),e=="stack"){let g=Object.groupBy(f.$group,(x,S)=>u.categories[x][i]),y=d.map(x=>0);for(let x in g){let S=0;for(let E of g[x])y[E]=S,S+=m[E]}i=="x"?(f.y=f.height.map((x,S)=>y[S]+x/2),f.width=d.map(x=>n)):(f.x=f.width.map((x,S)=>y[S]+x/2),f.height=d.map(x=>r))}else if(e=="dodge"){let g=Object.groupBy(f.$group,(x,S)=>u.categories[x][i]),y=f.$group.map(x=>g[u.categories[x][i]]);i=="x"?(f.y=f.height.map(x=>x/2),f.width=y.map(x=>n/x.length),f.xnudge=y.map((x,S)=>(f.xnudge?.[S]??0)+((x.indexOf(f.$group[S])+.5)/x.length-.5)*n)):(f.x=f.width.map(x=>x/2),f.height=y.map(x=>r/x.length),f.ynudge=y.map((x,S)=>(f.ynudge?.[S]??0)+((x.indexOf(f.$group[S])+.5)/x.length-.5)*r))}else i=="x"?(f.y=f.height.map(g=>g/2),f.width=d.map(g=>n)):(f.x=f.width.map(g=>g/2),f.height=d.map(g=>r));return f},{core_attrs:["x","y","xnudge","ynudge"]}),Aa=Object.assign(function(t,{position:e="dodge",width:n=.9,height:r=.9}){let i=["x","y"].filter(k=>t[k]==null);if(i.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${i.join('", "')}"`);let s=t.x.some(oe),c=t.y.some(oe);if(s&&c)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!s&&!c)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[u,a]=s?["y","x"]:["x","y"],l=Object.keys(t).filter(k=>k!=u&&!k.startsWith("$")),h=$t(Object.fromEntries(l.map(k=>[k,t[k]]))),d=$t({group:h??0,cate:t[a]}),m=Map.groupBy(d.map((k,v)=>v),(k,v)=>d.categories[d[v]]),f=Array.from(m.keys()),g=Array.from(m.values()).map(k=>k.map(v=>t.$raw[v])),y=Array.from(m.values()).map(k=>k.map(v=>t[u][v])),x=y.map(k=>dt.min(k)),S=y.map(k=>dt.quantile(k,.25)),E=y.map(k=>dt.quantile(k,.5)),w=y.map(k=>dt.quantile(k,.75)),$=y.map(k=>dt.max(k)),T=y.map((k,v)=>w[v]-S[v]),C=y.map((k,v)=>Math.max(x[v],S[v]-1.5*T[v])),L=y.map((k,v)=>Math.min($[v],w[v]+1.5*T[v])),p=Array.from(m.values()).map((k,v)=>{let A=k.filter(j=>t[u][j]<C[v]||t[u][j]>L[v]);return{[u]:A.map(j=>t[u][j]),$raw:A.map(j=>t.$raw[j])}}),b={$raw:g,$group:f.map(k=>k.group),min:x,lwisker:C,Q1:S,median:E,Q3:w,uwisker:L,max:$,outliers:p};if(e=="dodge"){let k=Object.groupBy(b.$group,(A,j)=>h.categories[A][a]),v=b.$group.map(A=>k[h.categories[A][a]]);s?(b.width=v.map(A=>n/A.length),b.xnudge=v.map((A,j)=>(b.xnudge?.[j]??0)+((A.indexOf(b.$group[j])+.5)/A.length-.5)*n)):(b.height=v.map(A=>r/A.length),b.ynudge=v.map((A,j)=>(b.ynudge?.[j]??0)+((A.indexOf(b.$group[j])+.5)/A.length-.5)*r))}else s?b.width=f.map(k=>n):b.height=f.map(k=>r);for(let k of l)b[k]=f.map(v=>v.group).map(v=>h.categories[v][k]);return b},{core_attrs:["x","y","xnudge","ynudge"]}),Na=Object.assign(function(t,{position:e="stack",width:n,height:r,orientation:i="x"}){let s=["x","y"].filter(w=>t[w]==null);if(s.length>0)throw new Error(`Missing aesthetics for "StatCol": "${s.join('", "')}"`);let c=t.x.some(oe),u=t.y.some(oe);if(c&&u)throw new Error('Both "x" and "y" are discrete, "StatCol" requires at most one discrete aesthetic');let a=c==u?i!="y"?"x":"y":c?"x":"y",l=a=="x"?"y":"x",h=Object.keys(t).filter(w=>w!=l&&!w.startsWith("$")),d=$t(Object.fromEntries(h.map(w=>[w,t[w]]))),m=$t({group:d??0,cate:t[a]}),f=Map.groupBy(m.map((w,$)=>$),(w,$)=>m.categories[m[$]]),g=Map.groupBy(t.$raw,(w,$)=>m.categories[m[$]]),y=Array.from(g.keys()),x=Array.from(f.values()).map(w=>w.map($=>t.$raw[$])),S=Array.from(f.values()).map(w=>dt.sum(w.map($=>t[l][$]))),E={$raw:x,$group:y.map(w=>w.group),[a]:y.map(w=>w.value)};for(let w of h)E[w]=y.map($=>$.group).map($=>d.categories[$][w]);if(a=="x"?(c?n??=.9:n??=dt.min(dt.diff(Array.from(new Set(t[a])).sort((w,$)=>w-$)))*.9,E.height=S):(u?r??=.9:r??=dt.min(dt.diff(Array.from(new Set(t[a])).sort((w,$)=>w-$)))*.9,E.width=S),e=="stack"){let w=Object.groupBy(E.$group,(T,C)=>d.categories[T][a]),$=y.map(T=>0);for(let T in w){let C=0;for(let L of w[T])$[L]=C,C+=S[L]}a=="x"?(E.y=E.height.map((T,C)=>$[C]+T/2),E.width=y.map(T=>n)):(E.x=E.width.map((T,C)=>$[C]+T/2),E.height=y.map(T=>r))}else if(e=="dodge"){let w=Object.groupBy(E.$group,(T,C)=>d.categories[T][a]),$=E.$group.map(T=>w[d.categories[T][a]]);a=="x"?(E.y=E.height.map(T=>T/2),E.width=$.map(T=>n/T.length),E.xnudge=$.map((T,C)=>(E.xnudge?.[C]??0)+((T.indexOf(E.$group[C])+.5)/T.length-.5)*n)):(E.x=E.width.map(T=>T/2),E.height=$.map(T=>r/T.length),E.ynudge=$.map((T,C)=>(E.ynudge?.[C]??0)+((T.indexOf(E.$group[C])+.5)/T.length-.5)*r))}else a=="x"?(E.y=E.height.map(w=>w/2),E.width=y.map(w=>n)):(E.x=E.width.map(w=>w/2),E.height=y.map(w=>r));return E},{core_attrs:["x","y","xnudge","ynudge"]}),Sa=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("$")),r=$t(Object.fromEntries(n.map(h=>[h,t[h]]))),i=$t({group:r??new Array(t.x.length).fill(0)}).map((h,d,m)=>m.categories[h]),s=Map.groupBy(t.$raw,(h,d)=>i[d]),c=Array.from(s.values()),u=Array.from(s.keys()),a=Array.from(Map.groupBy(E1({x:t.x,y:t.y}),(h,d)=>i[d]).values()),l={$raw:c,points:a};for(let h of n)l[h]=u.map(d=>d.group).map(d=>r.categories[d][h]);return l},{core_attrs:["x","y","xnudge","ynudge"]}),Ea=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:r="area"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(i.some(g=>typeof g!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=Li[n],!n)throw new Error(`kernel must be one of ${Object.keys(Li).map(g=>`"${g}"`).join(", ")}`);let s=Object.keys(t).filter(g=>!["x","y"].includes(g)&&!g.startsWith("$")),c=$t(Object.fromEntries(s.map(g=>[g,t[g]]))),u=$t({group:c??new Array(i.length).fill(0)}).map((g,y,x)=>x.categories[g]),a=Map.groupBy(t.$raw,(g,y)=>u[y]),l=Array.from(a.values()),h=Array.from(a.keys()),d=Array.from(Map.groupBy(i,(g,y)=>u[y]).values()),m={$raw:l,$group:h.map(g=>g.group)},f=d.map(g=>{let y=Ca.nrd0(g),{min:x,max:S}=dt.extent(g);x-=3*y,S+=3*y;let E=(S-x)/(e-1),w=Array.from({length:e},(T,C)=>x+C*E),$=r==="count"?g.length:1;return w.map(T=>[T,dt.mean(g.map(C=>n((T-C)/y)))/y*$])});for(let g of s)m[g]=h.map(y=>c.categories[y.group][g]);return t.x?m.points=f.map(g=>g.map(([y,x])=>({x:y,y:x}))):m.points=f.map(g=>g.map(([y,x])=>({x,y}))),m},{core_attrs:["x","y","xnudge","ynudge"]}),Ca={nrd0:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=dt.sd(t),n=dt.quantile(t,.75)-dt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=dt.sd(t),n=dt.quantile(t,.75)-dt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Li={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},Ta=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(m=>t[m]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let r=Object.keys(t).filter(m=>!["x","y"].includes(m)&&!m.startsWith("$")),i=$t(Object.fromEntries(r.map(m=>[m,t[m]]))),s=$t({group:i??new Array(t.x.length).fill(0)}).map((m,f,g)=>g.categories[m]),c=Map.groupBy(t.$raw,(m,f)=>s[f]),u=Array.from(c.values()),a=Array.from(c.keys()),l=-2*Math.log(1-e),h=Array.from(Map.groupBy(E1({x:t.x,y:t.y}),(m,f)=>s[f]).values()).map(m=>{const f=m.length;let g=m.reduce(($,T)=>$+T.x,0)/f,y=m.reduce(($,T)=>$+T.y,0)/f;if(f<2)return{};let x=m.reduce(($,T)=>$+(T.x-g)**2,0)/(f-1),S=m.reduce(($,T)=>$+(T.x-g)*(T.y-y),0)/(f-1),E=m.reduce(($,T)=>$+(T.y-y)**2,0)/(f-1),w=(x*E-S*S)*l;return{cx:g,cy:y,A:E/w,B:-S/w,C:x/w}}),d={$raw:u,cx:h.map(m=>m.cx??0),cy:h.map(m=>m.cy??0),A:h.map(m=>m.A??0),B:h.map(m=>m.B??0),C:h.map(m=>m.C??0)};for(let m of r)d[m]=a.map(f=>f.group).map(f=>i.categories[f][m]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),$a=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:r}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(i.some(m=>typeof m!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(r)r.sort((m,f)=>m-f);else{let{min:m,max:f}=dt.extent(i);n||(n=(f-m)/(e-1)),r=Array.from({length:e+1},(g,y)=>m+(y-.5)*n)}e=r.length-1;let s=Object.keys(t).filter(m=>!["x","y"].includes(m)&&!m.startsWith("$")),c=$t(Object.fromEntries(s.map(m=>[m,t[m]]))),u=$t({group:c??new Array(i.length).fill(0),upper:i.map(m=>r.findLast(f=>f<=m)??r[0]),lower:i.map(m=>r.find(f=>f>m)??r[e])}).map((m,f,g)=>g.categories[m]),a=Map.groupBy(t.$raw,(m,f)=>u[f]),l=Array.from(a.values()),h=Array.from(a.keys()),d={$raw:l,count:l.map(m=>m.length),$group:h.map(m=>m.group),upper:h.map(m=>m.upper),lower:h.map(m=>m.lower)};for(let m of s)d[m]=h.map(f=>c.categories[f.group][m]);return t.x?(({upper:m,lower:f,count:g,ymin:y=l.map(()=>0),...x})=>({xmin:m,xmax:f,ymin:y,ymax:g,...x}))(d):(({upper:m,lower:f,count:g,xmin:y=l.map(()=>0),...x})=>({xmin:y,xmax:g,ymin:m,ymax:f,...x}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),Ma=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),Ba=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(l=>t[l]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let r=t.group??new Array(t.x.length).fill(null),s=Object.values(r.reduce((l,h,d)=>(l[h]??=[],l[h].push(d),l),{})).map(l=>l.map((h,d)=>[t[e][h],d]).sort((h,d)=>h[0]-d[0]).map((h,d)=>l[h[1]])),c=s.map(l=>l.slice(0,-1).concat(NaN)).reduce((l,h)=>l.concat(h),[]).filter(l=>!isNaN(l)),u=s.map(l=>l.slice(1).concat(NaN)).reduce((l,h)=>l.concat(h),[]).filter(l=>!isNaN(l)),a={};for(let l in t)a[l]=c.map(h=>t[l][h]);return a.xend=u.map(l=>t.x[l]),a.yend=u.map(l=>t.y[l]),a},{core_attrs:["x","y","xnudge","ynudge"]}),La=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:r,ymax:i,...s})=>({x:n,xend:n,y:r,yend:i,...s}))(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:r,xmax:i,...s})=>({y:n,yend:n,x:r,xend:i,...s}))(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"]}),qa=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),i=Object.values(n.reduce((a,l,h)=>(a[l]??=[],a[l].push(h),a),{})).map(a=>a.map((l,h)=>a[h])),s=i.map(a=>a.slice(0,-1).concat(NaN)).reduce((a,l)=>a.concat(l),[]).filter(a=>!isNaN(a)),c=i.map(a=>a.slice(1).concat(NaN)).reduce((a,l)=>a.concat(l),[]).filter(a=>!isNaN(a)),u={};for(let a in t)u[a]=s.map(l=>t[a][l]);return u.xend=c.map(a=>t.x[a]),u.yend=c.map(a=>t.y[a]),u},{core_attrs:["x","y","xnudge","ynudge"]}),Oa=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"]}),Pa=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("$")),r=$t(Object.fromEntries(n.map(h=>[h,t[h]]))),i=$t({group:r??new Array(t.x.length).fill(0)}).map((h,d,m)=>m.categories[h]),s=Map.groupBy(t.$raw,(h,d)=>i[d]),c=Array.from(s.values()),u=Array.from(s.keys()),a=Array.from(Map.groupBy(E1({x:t.x,y:t.y}),(h,d)=>i[d]).values()),l={$raw:c,points:a};for(let h of n)l[h]=u.map(d=>d.group).map(d=>r.categories[d][h]);return l},{core_attrs:["points","xnudge","ynudge"]}),Va=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"]}),Da=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"]}),ja=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"]}),Ra=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"]}),Ia=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"]}),Ha=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"]}),_a=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"]}),Fa=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:r="width",position:i="dodge",width:s=.9,height:c=.9}={}){let u=["x","y"].filter(L=>t[L]==null);if(u.length>0)throw new Error(`Missing aesthetics for "StatViolin": "${u.join('", "')}"`);let a=t.x.some(oe),l=t.y.some(oe);if(a&&l)throw new Error('Both "x" and "y" are discrete, "StatViolin" requires one continuous and one discrete aesthetic');if(!a&&!l)throw new Error('Both "x" and "y" are continuous, "StatViolin" requires one continuous and one discrete aesthetic');if(n=qi[n],!n)throw new Error(`kernel must be one of ${Object.keys(qi).map(L=>`"${L}"`).join(", ")}`);let[h,d,m]=a?["y","x",s]:["x","y",c],f=t[h],g=Object.keys(t).filter(L=>L!=h&&!L.startsWith("$")),y=$t(Object.fromEntries(g.map(L=>[L,t[L]]))),x=$t({group:y??new Array(f.length).fill(0)}).map((L,p,b)=>b.categories[L]),S=Map.groupBy(t.$raw,(L,p)=>x[p]),E=Array.from(S.values()),w=Array.from(S.keys()),$=Array.from(Map.groupBy(f,(L,p)=>x[p]).values()),T={$raw:E,$group:w.map(L=>L.group),[h]:w.map(L=>0)},C=$.map(L=>{let p=Ua.nrd0(L),{min:b,max:k}=dt.extent(L);b-=3*p,k+=3*p;let v=(k-b)/(e-1),A=Array.from({length:e},(Y,H)=>b+H*v),j=A.map(Y=>dt.mean(L.map(H=>n((Y-H)/p)))/p),O=r=="area"?1:1/dt.max(j);return A.map((Y,H)=>[Y,j[H]*O/2])});for(let L of g)T[L]=w.map(p=>y.categories[p.group][L]);if(i=="dodge"){let L=Object.groupBy(T.$group,(b,k)=>y.categories[b][d]),p=T.$group.map(b=>L[y.categories[b][d]]);C=p.map((b,k)=>C[k].map(([v,A])=>[v,A*m/b.length])),a?T.xnudge=p.map((b,k)=>(T.xnudge?.[k]??0)+((b.indexOf(T.$group[k])+.5)/b.length-.5)*s):T.ynudge=p.map((b,k)=>(T.ynudge?.[k]??0)+((b.indexOf(T.$group[k])+.5)/b.length-.5)*c)}else C=C.map(L=>L.map(([p,b])=>[p,b*m]));return a?T.points=C.map(L=>L.map(([p,b])=>({x:b,y:p})).concat(L.map(([p,b])=>({x:-b,y:p})).reverse())):T.points=C.map(L=>L.map(([p,b])=>({x:p,y:b})).concat(L.map(([p,b])=>({x:p,y:-b})).reverse())),T},{core_attrs:["x","y","xnudge","ynudge"]}),Ua={nrd0:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=dt.sd(t),n=dt.quantile(t,.75)-dt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(i=>(typeof i=="number"||i instanceof Date)&&isFinite(i));let e=dt.sd(t),n=dt.quantile(t,.75)-dt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},qi={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},Oi=Object.freeze(Object.defineProperty({__proto__:null,bar:ka,boxplot:Aa,col:Na,curve:Sa,density:Ea,ellipse:Ta,histogram:$a,identity:Ma,line:Ba,linerange:La,path:qa,point:Oa,polygon:Pa,rect:Va,segment:Da,shape:ja,stick:Ra,text:Ia,textsegment:Ha,tile:_a,violin:Fa},Symbol.toStringTag,{value:"Module"}));function $n(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function za(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Pi(t){let e,n,r;t.length!==2?(e=$n,n=(u,a)=>$n(t(u),a),r=(u,a)=>t(u)-a):(e=t===$n||t===za?t:Xa,n=t,r=t);function i(u,a,l=0,h=u.length){if(l<h){if(e(a,a)!==0)return h;do{const d=l+h>>>1;n(u[d],a)<0?l=d+1:h=d}while(l<h)}return l}function s(u,a,l=0,h=u.length){if(l<h){if(e(a,a)!==0)return h;do{const d=l+h>>>1;n(u[d],a)<=0?l=d+1:h=d}while(l<h)}return l}function c(u,a,l=0,h=u.length){const d=i(u,a,l,h-1);return d>l&&r(u[d-1],a)>-r(u[d],a)?d-1:d}return{left:i,center:c,right:s}}function Xa(){return 0}function Ya(t){return t===null?NaN:+t}const Ga=Pi($n).right;Pi(Ya).center;const Wa=Math.sqrt(50),Ka=Math.sqrt(10),Za=Math.sqrt(2);function Mn(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),s=r/Math.pow(10,i),c=s>=Wa?10:s>=Ka?5:s>=Za?2:1;let u,a,l;return i<0?(l=Math.pow(10,-i)/c,u=Math.round(t*l),a=Math.round(e*l),u/l<t&&++u,a/l>e&&--a,l=-l):(l=Math.pow(10,i)*c,u=Math.round(t/l),a=Math.round(e/l),u*l<t&&++u,a*l>e&&--a),a<u&&.5<=n&&n<2?Mn(t,e,n*2):[u,a,l]}function Qa(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const r=e<t,[i,s,c]=r?Mn(e,t,n):Mn(t,e,n);if(!(s>=i))return[];const u=s-i+1,a=new Array(u);if(r)if(c<0)for(let l=0;l<u;++l)a[l]=(s-l)/-c;else for(let l=0;l<u;++l)a[l]=(s-l)*c;else if(c<0)for(let l=0;l<u;++l)a[l]=(i+l)/-c;else for(let l=0;l<u;++l)a[l]=(i+l)*c;return a}function T1(t,e,n){return e=+e,t=+t,n=+n,Mn(t,e,n)[2]}function Ja(t,e,n){e=+e,t=+t,n=+n;const r=e<t,i=r?T1(e,t,n):T1(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}var tc={value:()=>{}};function Vi(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Bn(n)}function Bn(t){this._=t}function ec(t,e){return t.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Bn.prototype=Vi.prototype={constructor:Bn,on:function(t,e){var n=this._,r=ec(t+"",n),i,s=-1,c=r.length;if(arguments.length<2){for(;++s<c;)if((i=(t=r[s]).type)&&(i=nc(n[i],t.name)))return i;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++s<c;)if(i=(t=r[s]).type)n[i]=Di(n[i],t.name,e);else if(e==null)for(i in n)n[i]=Di(n[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Bn(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,s;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=this._[t],r=0,i=s.length;r<i;++r)s[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,s=r.length;i<s;++i)r[i].value.apply(e,n)}};function nc(t,e){for(var n=0,r=t.length,i;n<r;++n)if((i=t[n]).name===e)return i.value}function Di(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=tc,t=t.slice(0,r).concat(t.slice(r+1));break}return n!=null&&t.push({name:e,value:n}),t}var $1="http://www.w3.org/1999/xhtml";const ji={svg:"http://www.w3.org/2000/svg",xhtml:$1,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ln(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),ji.hasOwnProperty(e)?{space:ji[e],local:t}:t}function rc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===$1&&e.documentElement.namespaceURI===$1?e.createElement(t):e.createElementNS(n,t)}}function ic(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ri(t){var e=Ln(t);return(e.local?ic:rc)(e)}function oc(){}function M1(t){return t==null?oc:function(){return this.querySelector(t)}}function sc(t){typeof t!="function"&&(t=M1(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],c=s.length,u=r[i]=new Array(c),a,l,h=0;h<c;++h)(a=s[h])&&(l=t.call(a,a.__data__,h,s))&&("__data__"in a&&(l.__data__=a.__data__),u[h]=l);return new zt(r,this._parents)}function lc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function ac(){return[]}function Ii(t){return t==null?ac:function(){return this.querySelectorAll(t)}}function cc(t){return function(){return lc(t.apply(this,arguments))}}function uc(t){typeof t=="function"?t=cc(t):t=Ii(t);for(var e=this._groups,n=e.length,r=[],i=[],s=0;s<n;++s)for(var c=e[s],u=c.length,a,l=0;l<u;++l)(a=c[l])&&(r.push(t.call(a,a.__data__,l,c)),i.push(a));return new zt(r,i)}function Hi(t){return function(){return this.matches(t)}}function _i(t){return function(e){return e.matches(t)}}var hc=Array.prototype.find;function fc(t){return function(){return hc.call(this.children,t)}}function mc(){return this.firstElementChild}function dc(t){return this.select(t==null?mc:fc(typeof t=="function"?t:_i(t)))}var gc=Array.prototype.filter;function pc(){return Array.from(this.children)}function yc(t){return function(){return gc.call(this.children,t)}}function xc(t){return this.selectAll(t==null?pc:yc(typeof t=="function"?t:_i(t)))}function bc(t){typeof t!="function"&&(t=Hi(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],c=s.length,u=r[i]=[],a,l=0;l<c;++l)(a=s[l])&&t.call(a,a.__data__,l,s)&&u.push(a);return new zt(r,this._parents)}function Fi(t){return new Array(t.length)}function vc(){return new zt(this._enter||this._groups.map(Fi),this._parents)}function qn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}qn.prototype={constructor:qn,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 wc(t){return function(){return t}}function kc(t,e,n,r,i,s){for(var c=0,u,a=e.length,l=s.length;c<l;++c)(u=e[c])?(u.__data__=s[c],r[c]=u):n[c]=new qn(t,s[c]);for(;c<a;++c)(u=e[c])&&(i[c]=u)}function Ac(t,e,n,r,i,s,c){var u,a,l=new Map,h=e.length,d=s.length,m=new Array(h),f;for(u=0;u<h;++u)(a=e[u])&&(m[u]=f=c.call(a,a.__data__,u,e)+"",l.has(f)?i[u]=a:l.set(f,a));for(u=0;u<d;++u)f=c.call(t,s[u],u,s)+"",(a=l.get(f))?(r[u]=a,a.__data__=s[u],l.delete(f)):n[u]=new qn(t,s[u]);for(u=0;u<h;++u)(a=e[u])&&l.get(m[u])===a&&(i[u]=a)}function Nc(t){return t.__data__}function Sc(t,e){if(!arguments.length)return Array.from(this,Nc);var n=e?Ac:kc,r=this._parents,i=this._groups;typeof t!="function"&&(t=wc(t));for(var s=i.length,c=new Array(s),u=new Array(s),a=new Array(s),l=0;l<s;++l){var h=r[l],d=i[l],m=d.length,f=Ec(t.call(h,h&&h.__data__,l,r)),g=f.length,y=u[l]=new Array(g),x=c[l]=new Array(g),S=a[l]=new Array(m);n(h,d,y,x,S,f,e);for(var E=0,w=0,$,T;E<g;++E)if($=y[E]){for(E>=w&&(w=E+1);!(T=x[w])&&++w<g;);$._next=T||null}}return c=new zt(c,r),c._enter=u,c._exit=a,c}function Ec(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Cc(){return new zt(this._exit||this._groups.map(Fi),this._parents)}function Tc(t,e,n){var r=this.enter(),i=this,s=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),n==null?s.remove():n(s),r&&i?r.merge(i).order():i}function $c(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,s=r.length,c=Math.min(i,s),u=new Array(i),a=0;a<c;++a)for(var l=n[a],h=r[a],d=l.length,m=u[a]=new Array(d),f,g=0;g<d;++g)(f=l[g]||h[g])&&(m[g]=f);for(;a<i;++a)u[a]=n[a];return new zt(u,this._parents)}function Mc(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,s=r[i],c;--i>=0;)(c=r[i])&&(s&&c.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(c,s),s=c);return this}function Bc(t){t||(t=Lc);function e(d,m){return d&&m?t(d.__data__,m.__data__):!d-!m}for(var n=this._groups,r=n.length,i=new Array(r),s=0;s<r;++s){for(var c=n[s],u=c.length,a=i[s]=new Array(u),l,h=0;h<u;++h)(l=c[h])&&(a[h]=l);a.sort(e)}return new zt(i,this._parents).order()}function Lc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function qc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Oc(){return Array.from(this)}function Pc(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length;i<s;++i){var c=r[i];if(c)return c}return null}function Vc(){let t=0;for(const e of this)++t;return t}function Dc(){return!this.node()}function jc(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],s=0,c=i.length,u;s<c;++s)(u=i[s])&&t.call(u,u.__data__,s,i);return this}function Rc(t){return function(){this.removeAttribute(t)}}function Ic(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Hc(t,e){return function(){this.setAttribute(t,e)}}function _c(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Fc(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Uc(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 zc(t,e){var n=Ln(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?Ic:Rc:typeof e=="function"?n.local?Uc:Fc:n.local?_c:Hc)(n,e))}function Ui(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Xc(t){return function(){this.style.removeProperty(t)}}function Yc(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Gc(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Wc(t,e,n){return arguments.length>1?this.each((e==null?Xc:typeof e=="function"?Gc:Yc)(t,e,n??"")):Re(this.node(),t)}function Re(t,e){return t.style.getPropertyValue(e)||Ui(t).getComputedStyle(t,null).getPropertyValue(e)}function Kc(t){return function(){delete this[t]}}function Zc(t,e){return function(){this[t]=e}}function Qc(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Jc(t,e){return arguments.length>1?this.each((e==null?Kc:typeof e=="function"?Qc:Zc)(t,e)):this.node()[t]}function zi(t){return t.trim().split(/^|\s+/)}function B1(t){return t.classList||new Xi(t)}function Xi(t){this._node=t,this._names=zi(t.getAttribute("class")||"")}Xi.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 Yi(t,e){for(var n=B1(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Gi(t,e){for(var n=B1(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function t0(t){return function(){Yi(this,t)}}function e0(t){return function(){Gi(this,t)}}function n0(t,e){return function(){(e.apply(this,arguments)?Yi:Gi)(this,t)}}function r0(t,e){var n=zi(t+"");if(arguments.length<2){for(var r=B1(this.node()),i=-1,s=n.length;++i<s;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?n0:e?t0:e0)(n,e))}function i0(){this.textContent=""}function o0(t){return function(){this.textContent=t}}function s0(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function l0(t){return arguments.length?this.each(t==null?i0:(typeof t=="function"?s0:o0)(t)):this.node().textContent}function a0(){this.innerHTML=""}function c0(t){return function(){this.innerHTML=t}}function u0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function h0(t){return arguments.length?this.each(t==null?a0:(typeof t=="function"?u0:c0)(t)):this.node().innerHTML}function f0(){this.nextSibling&&this.parentNode.appendChild(this)}function m0(){return this.each(f0)}function d0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function g0(){return this.each(d0)}function p0(t){var e=typeof t=="function"?t:Ri(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function y0(){return null}function x0(t,e){var n=typeof t=="function"?t:Ri(t),r=e==null?y0:typeof e=="function"?e:M1(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function b0(){var t=this.parentNode;t&&t.removeChild(this)}function v0(){return this.each(b0)}function w0(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function k0(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function A0(t){return this.select(t?k0:w0)}function N0(t){return arguments.length?this.property("__data__",t):this.node().__data__}function S0(t){return function(e){t.call(this,e,this.__data__)}}function E0(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function C0(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,s;n<i;++n)s=e[n],(!t.type||s.type===t.type)&&s.name===t.name?this.removeEventListener(s.type,s.listener,s.options):e[++r]=s;++r?e.length=r:delete this.__on}}}function T0(t,e,n){return function(){var r=this.__on,i,s=S0(e);if(r){for(var c=0,u=r.length;c<u;++c)if((i=r[c]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=s,i.options=n),i.value=e;return}}this.addEventListener(t.type,s,n),i={type:t.type,name:t.name,value:e,listener:s,options:n},r?r.push(i):this.__on=[i]}}function $0(t,e,n){var r=E0(t+""),i,s=r.length,c;if(arguments.length<2){var u=this.node().__on;if(u){for(var a=0,l=u.length,h;a<l;++a)for(i=0,h=u[a];i<s;++i)if((c=r[i]).type===h.type&&c.name===h.name)return h.value}return}for(u=e?T0:C0,i=0;i<s;++i)this.each(u(r[i],e,n));return this}function Wi(t,e,n){var r=Ui(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function M0(t,e){return function(){return Wi(this,t,e)}}function B0(t,e){return function(){return Wi(this,t,e.apply(this,arguments))}}function L0(t,e){return this.each((typeof e=="function"?B0:M0)(t,e))}function*q0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length,c;i<s;++i)(c=r[i])&&(yield c)}var O0=[null];function zt(t,e){this._groups=t,this._parents=e}function en(){return new zt([[document.documentElement]],O0)}function P0(){return this}zt.prototype=en.prototype={constructor:zt,select:sc,selectAll:uc,selectChild:dc,selectChildren:xc,filter:bc,data:Sc,enter:vc,exit:Cc,join:Tc,merge:$c,selection:P0,order:Mc,sort:Bc,call:qc,nodes:Oc,node:Pc,size:Vc,empty:Dc,each:jc,attr:zc,style:Wc,property:Jc,classed:r0,text:l0,html:h0,raise:m0,lower:g0,append:p0,insert:x0,remove:v0,clone:A0,datum:N0,on:$0,dispatch:L0,[Symbol.iterator]:q0};function nn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function On(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Se(){}var rn=.7,Pn=1/rn,Ie="\\s*([+-]?\\d+)\\s*",on="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Kt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",V0=/^#([0-9a-f]{3,8})$/,D0=new RegExp(`^rgb\\(${Ie},${Ie},${Ie}\\)$`),j0=new RegExp(`^rgb\\(${Kt},${Kt},${Kt}\\)$`),R0=new RegExp(`^rgba\\(${Ie},${Ie},${Ie},${on}\\)$`),I0=new RegExp(`^rgba\\(${Kt},${Kt},${Kt},${on}\\)$`),H0=new RegExp(`^hsl\\(${on},${Kt},${Kt}\\)$`),_0=new RegExp(`^hsla\\(${on},${Kt},${Kt},${on}\\)$`),Ki={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};nn(Se,Ee,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Zi,formatHex:Zi,formatHex8:F0,formatHsl:U0,formatRgb:Qi,toString:Qi});function Zi(){return this.rgb().formatHex()}function F0(){return this.rgb().formatHex8()}function U0(){return io(this).formatHsl()}function Qi(){return this.rgb().formatRgb()}function Ee(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=V0.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Ji(e):n===3?new Vt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?Vn(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?Vn(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=D0.exec(t))?new Vt(e[1],e[2],e[3],1):(e=j0.exec(t))?new Vt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=R0.exec(t))?Vn(e[1],e[2],e[3],e[4]):(e=I0.exec(t))?Vn(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=H0.exec(t))?ro(e[1],e[2]/100,e[3]/100,1):(e=_0.exec(t))?ro(e[1],e[2]/100,e[3]/100,e[4]):Ki.hasOwnProperty(t)?Ji(Ki[t]):t==="transparent"?new Vt(NaN,NaN,NaN,0):null}function Ji(t){return new Vt(t>>16&255,t>>8&255,t&255,1)}function Vn(t,e,n,r){return r<=0&&(t=e=n=NaN),new Vt(t,e,n,r)}function to(t){return t instanceof Se||(t=Ee(t)),t?(t=t.rgb(),new Vt(t.r,t.g,t.b,t.opacity)):new Vt}function L1(t,e,n,r){return arguments.length===1?to(t):new Vt(t,e,n,r??1)}function Vt(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}nn(Vt,L1,On(Se,{brighter(t){return t=t==null?Pn:Math.pow(Pn,t),new Vt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?rn:Math.pow(rn,t),new Vt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Vt(Ce(this.r),Ce(this.g),Ce(this.b),Dn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:eo,formatHex:eo,formatHex8:z0,formatRgb:no,toString:no}));function eo(){return`#${Te(this.r)}${Te(this.g)}${Te(this.b)}`}function z0(){return`#${Te(this.r)}${Te(this.g)}${Te(this.b)}${Te((isNaN(this.opacity)?1:this.opacity)*255)}`}function no(){const t=Dn(this.opacity);return`${t===1?"rgb(":"rgba("}${Ce(this.r)}, ${Ce(this.g)}, ${Ce(this.b)}${t===1?")":`, ${t})`}`}function Dn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ce(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Te(t){return t=Ce(t),(t<16?"0":"")+t.toString(16)}function ro(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Xt(t,e,n,r)}function io(t){if(t instanceof Xt)return new Xt(t.h,t.s,t.l,t.opacity);if(t instanceof Se||(t=Ee(t)),!t)return new Xt;if(t instanceof Xt)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),s=Math.max(e,n,r),c=NaN,u=s-i,a=(s+i)/2;return u?(e===s?c=(n-r)/u+(n<r)*6:n===s?c=(r-e)/u+2:c=(e-n)/u+4,u/=a<.5?s+i:2-s-i,c*=60):u=a>0&&a<1?0:c,new Xt(c,u,a,t.opacity)}function X0(t,e,n,r){return arguments.length===1?io(t):new Xt(t,e,n,r??1)}function Xt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}nn(Xt,X0,On(Se,{brighter(t){return t=t==null?Pn:Math.pow(Pn,t),new Xt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?rn:Math.pow(rn,t),new Xt(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,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Vt(q1(t>=240?t-240:t+120,i,r),q1(t,i,r),q1(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Xt(oo(this.h),jn(this.s),jn(this.l),Dn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Dn(this.opacity);return`${t===1?"hsl(":"hsla("}${oo(this.h)}, ${jn(this.s)*100}%, ${jn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function oo(t){return t=(t||0)%360,t<0?t+360:t}function jn(t){return Math.max(0,Math.min(1,t||0))}function q1(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 Y0=Math.PI/180,G0=180/Math.PI,Rn=18,so=.96422,lo=1,ao=.82521,co=4/29,He=6/29,uo=3*He*He,W0=He*He*He;function ho(t){if(t instanceof Zt)return new Zt(t.l,t.a,t.b,t.opacity);if(t instanceof le)return mo(t);t instanceof Vt||(t=to(t));var e=j1(t.r),n=j1(t.g),r=j1(t.b),i=P1((.2225045*e+.7168786*n+.0606169*r)/lo),s,c;return e===n&&n===r?s=c=i:(s=P1((.4360747*e+.3850649*n+.1430804*r)/so),c=P1((.0139322*e+.0971045*n+.7141733*r)/ao)),new Zt(116*i-16,500*(s-i),200*(i-c),t.opacity)}function O1(t,e,n,r){return arguments.length===1?ho(t):new Zt(t,e,n,r??1)}function Zt(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}nn(Zt,O1,On(Se,{brighter(t){return new Zt(this.l+Rn*(t??1),this.a,this.b,this.opacity)},darker(t){return new Zt(this.l-Rn*(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=so*V1(e),t=lo*V1(t),n=ao*V1(n),new Vt(D1(3.1338561*e-1.6168667*t-.4906146*n),D1(-.9787684*e+1.9161415*t+.033454*n),D1(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function P1(t){return t>W0?Math.pow(t,.3333333333333333):t/uo+co}function V1(t){return t>He?t*t*t:uo*(t-co)}function D1(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,.4166666666666667)-.055)}function j1(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function K0(t){if(t instanceof le)return new le(t.h,t.c,t.l,t.opacity);if(t instanceof Zt||(t=ho(t)),t.a===0&&t.b===0)return new le(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*G0;return new le(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function fo(t,e,n,r){return arguments.length===1?K0(t):new le(t,e,n,r??1)}function le(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function mo(t){if(isNaN(t.h))return new Zt(t.l,0,0,t.opacity);var e=t.h*Y0;return new Zt(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}nn(le,fo,On(Se,{brighter(t){return new le(this.h,this.c,this.l+Rn*(t??1),this.opacity)},darker(t){return new le(this.h,this.c,this.l-Rn*(t??1),this.opacity)},rgb(){return mo(this).rgb()}}));const R1=t=>()=>t;function Z0(t,e){return function(n){return t+n*e}}function Q0(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function J0(t){return(t=+t)==1?_e:function(e,n){return n-e?Q0(e,n,t):R1(isNaN(e)?n:e)}}function _e(t,e){var n=e-t;return n?Z0(t,n):R1(isNaN(t)?e:t)}const In=(function t(e){var n=J0(e);function r(i,s){var c=n((i=L1(i)).r,(s=L1(s)).r),u=n(i.g,s.g),a=n(i.b,s.b),l=_e(i.opacity,s.opacity);return function(h){return i.r=c(h),i.g=u(h),i.b=a(h),i.opacity=l(h),i+""}}return r.gamma=t,r})(1);function tu(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),i;return function(s){for(i=0;i<n;++i)r[i]=t[i]*(1-s)+e[i]*s;return r}}function eu(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function nu(t,e){var n=e?e.length:0,r=t?Math.min(n,t.length):0,i=new Array(r),s=new Array(n),c;for(c=0;c<r;++c)i[c]=_1(t[c],e[c]);for(;c<n;++c)s[c]=e[c];return function(u){for(c=0;c<r;++c)s[c]=i[c](u);return s}}function ru(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Yt(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function iu(t,e){var n={},r={},i;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(i in e)i in t?n[i]=_1(t[i],e[i]):r[i]=e[i];return function(s){for(i in n)r[i]=n[i](s);return r}}var I1=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,H1=new RegExp(I1.source,"g");function ou(t){return function(){return t}}function su(t){return function(e){return t(e)+""}}function go(t,e){var n=I1.lastIndex=H1.lastIndex=0,r,i,s,c=-1,u=[],a=[];for(t=t+"",e=e+"";(r=I1.exec(t))&&(i=H1.exec(e));)(s=i.index)>n&&(s=e.slice(n,s),u[c]?u[c]+=s:u[++c]=s),(r=r[0])===(i=i[0])?u[c]?u[c]+=i:u[++c]=i:(u[++c]=null,a.push({i:c,x:Yt(r,i)})),n=H1.lastIndex;return n<e.length&&(s=e.slice(n),u[c]?u[c]+=s:u[++c]=s),u.length<2?a[0]?su(a[0].x):ou(e):(e=a.length,function(l){for(var h=0,d;h<e;++h)u[(d=a[h]).i]=d.x(l);return u.join("")})}function _1(t,e){var n=typeof e,r;return e==null||n==="boolean"?R1(e):(n==="number"?Yt:n==="string"?(r=Ee(e))?(e=r,In):go:e instanceof Ee?In:e instanceof Date?ru:eu(e)?tu:Array.isArray(e)?nu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?iu:Yt)(t,e)}function lu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var po=180/Math.PI,F1={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function yo(t,e,n,r,i,s){var c,u,a;return(c=Math.sqrt(t*t+e*e))&&(t/=c,e/=c),(a=t*n+e*r)&&(n-=t*a,r-=e*a),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,a/=u),t*r<e*n&&(t=-t,e=-e,a=-a,c=-c),{translateX:i,translateY:s,rotate:Math.atan2(e,t)*po,skewX:Math.atan(a)*po,scaleX:c,scaleY:u}}var Hn;function au(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?F1:yo(e.a,e.b,e.c,e.d,e.e,e.f)}function cu(t){return t==null||(Hn||(Hn=document.createElementNS("http://www.w3.org/2000/svg","g")),Hn.setAttribute("transform",t),!(t=Hn.transform.baseVal.consolidate()))?F1:(t=t.matrix,yo(t.a,t.b,t.c,t.d,t.e,t.f))}function xo(t,e,n,r){function i(l){return l.length?l.pop()+" ":""}function s(l,h,d,m,f,g){if(l!==d||h!==m){var y=f.push("translate(",null,e,null,n);g.push({i:y-4,x:Yt(l,d)},{i:y-2,x:Yt(h,m)})}else(d||m)&&f.push("translate("+d+e+m+n)}function c(l,h,d,m){l!==h?(l-h>180?h+=360:h-l>180&&(l+=360),m.push({i:d.push(i(d)+"rotate(",null,r)-2,x:Yt(l,h)})):h&&d.push(i(d)+"rotate("+h+r)}function u(l,h,d,m){l!==h?m.push({i:d.push(i(d)+"skewX(",null,r)-2,x:Yt(l,h)}):h&&d.push(i(d)+"skewX("+h+r)}function a(l,h,d,m,f,g){if(l!==d||h!==m){var y=f.push(i(f)+"scale(",null,",",null,")");g.push({i:y-4,x:Yt(l,d)},{i:y-2,x:Yt(h,m)})}else(d!==1||m!==1)&&f.push(i(f)+"scale("+d+","+m+")")}return function(l,h){var d=[],m=[];return l=t(l),h=t(h),s(l.translateX,l.translateY,h.translateX,h.translateY,d,m),c(l.rotate,h.rotate,d,m),u(l.skewX,h.skewX,d,m),a(l.scaleX,l.scaleY,h.scaleX,h.scaleY,d,m),l=h=null,function(f){for(var g=-1,y=m.length,x;++g<y;)d[(x=m[g]).i]=x.x(f);return d.join("")}}}var uu=xo(au,"px, ","px)","deg)"),hu=xo(cu,", ",")",")");function U1(t,e){var n=_e((t=O1(t)).l,(e=O1(e)).l),r=_e(t.a,e.a),i=_e(t.b,e.b),s=_e(t.opacity,e.opacity);return function(c){return t.l=n(c),t.a=r(c),t.b=i(c),t.opacity=s(c),t+""}}var Fe=0,sn=0,ln=0,bo=1e3,_n,an,Fn=0,$e=0,Un=0,cn=typeof performance=="object"&&performance.now?performance:Date,vo=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function z1(){return $e||(vo(fu),$e=cn.now()+Un)}function fu(){$e=0}function zn(){this._call=this._time=this._next=null}zn.prototype=wo.prototype={constructor:zn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?z1():+n)+(e==null?0:+e),!this._next&&an!==this&&(an?an._next=this:_n=this,an=this),this._call=t,this._time=n,X1()},stop:function(){this._call&&(this._call=null,this._time=1/0,X1())}};function wo(t,e,n){var r=new zn;return r.restart(t,e,n),r}function mu(){z1(),++Fe;for(var t=_n,e;t;)(e=$e-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Fe}function ko(){$e=(Fn=cn.now())+Un,Fe=sn=0;try{mu()}finally{Fe=0,gu(),$e=0}}function du(){var t=cn.now(),e=t-Fn;e>bo&&(Un-=e,Fn=t)}function gu(){for(var t,e=_n,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:_n=n);an=t,X1(r)}function X1(t){if(!Fe){sn&&(sn=clearTimeout(sn));var e=t-$e;e>24?(t<1/0&&(sn=setTimeout(ko,t-cn.now()-Un)),ln&&(ln=clearInterval(ln))):(ln||(Fn=cn.now(),ln=setInterval(du,bo)),Fe=1,vo(ko))}}function Ao(t,e,n){var r=new zn;return e=e==null?0:+e,r.restart(i=>{r.stop(),t(i+e)},e,n),r}var pu=Vi("start","end","cancel","interrupt"),yu=[],No=0,So=1,Y1=2,Xn=3,Eo=4,G1=5,Yn=6;function Gn(t,e,n,r,i,s){var c=t.__transition;if(!c)t.__transition={};else if(n in c)return;xu(t,n,{name:e,index:r,group:i,on:pu,tween:yu,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:No})}function W1(t,e){var n=Gt(t,e);if(n.state>No)throw new Error("too late; already scheduled");return n}function Qt(t,e){var n=Gt(t,e);if(n.state>Xn)throw new Error("too late; already running");return n}function Gt(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function xu(t,e,n){var r=t.__transition,i;r[e]=n,n.timer=wo(s,0,n.time);function s(l){n.state=So,n.timer.restart(c,n.delay,n.time),n.delay<=l&&c(l-n.delay)}function c(l){var h,d,m,f;if(n.state!==So)return a();for(h in r)if(f=r[h],f.name===n.name){if(f.state===Xn)return Ao(c);f.state===Eo?(f.state=Yn,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[h]):+h<e&&(f.state=Yn,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete r[h])}if(Ao(function(){n.state===Xn&&(n.state=Eo,n.timer.restart(u,n.delay,n.time),u(l))}),n.state=Y1,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Y1){for(n.state=Xn,i=new Array(m=n.tween.length),h=0,d=-1;h<m;++h)(f=n.tween[h].value.call(t,t.__data__,n.index,n.group))&&(i[++d]=f);i.length=d+1}}function u(l){for(var h=l<n.duration?n.ease.call(null,l/n.duration):(n.timer.restart(a),n.state=G1,1),d=-1,m=i.length;++d<m;)i[d].call(t,h);n.state===G1&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=Yn,n.timer.stop(),delete r[e];for(var l in r)return;delete t.__transition}}function bu(t,e){var n=t.__transition,r,i,s=!0,c;if(n){e=e==null?null:e+"";for(c in n){if((r=n[c]).name!==e){s=!1;continue}i=r.state>Y1&&r.state<G1,r.state=Yn,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[c]}s&&delete t.__transition}}function vu(t){return this.each(function(){bu(this,t)})}function wu(t,e){var n,r;return function(){var i=Qt(this,t),s=i.tween;if(s!==n){r=n=s;for(var c=0,u=r.length;c<u;++c)if(r[c].name===e){r=r.slice(),r.splice(c,1);break}}i.tween=r}}function ku(t,e,n){var r,i;if(typeof n!="function")throw new Error;return function(){var s=Qt(this,t),c=s.tween;if(c!==r){i=(r=c).slice();for(var u={name:e,value:n},a=0,l=i.length;a<l;++a)if(i[a].name===e){i[a]=u;break}a===l&&i.push(u)}s.tween=i}}function Au(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=Gt(this.node(),n).tween,i=0,s=r.length,c;i<s;++i)if((c=r[i]).name===t)return c.value;return null}return this.each((e==null?wu:ku)(n,t,e))}function K1(t,e,n){var r=t._id;return t.each(function(){var i=Qt(this,r);(i.value||(i.value={}))[e]=n.apply(this,arguments)}),function(i){return Gt(i,r).value[e]}}function Co(t,e){var n;return(typeof e=="number"?Yt:e instanceof Ee?In:(n=Ee(e))?(e=n,In):go)(t,e)}function Nu(t){return function(){this.removeAttribute(t)}}function Su(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Eu(t,e,n){var r,i=n+"",s;return function(){var c=this.getAttribute(t);return c===i?null:c===r?s:s=e(r=c,n)}}function Cu(t,e,n){var r,i=n+"",s;return function(){var c=this.getAttributeNS(t.space,t.local);return c===i?null:c===r?s:s=e(r=c,n)}}function Tu(t,e,n){var r,i,s;return function(){var c,u=n(this),a;return u==null?void this.removeAttribute(t):(c=this.getAttribute(t),a=u+"",c===a?null:c===r&&a===i?s:(i=a,s=e(r=c,u)))}}function $u(t,e,n){var r,i,s;return function(){var c,u=n(this),a;return u==null?void this.removeAttributeNS(t.space,t.local):(c=this.getAttributeNS(t.space,t.local),a=u+"",c===a?null:c===r&&a===i?s:(i=a,s=e(r=c,u)))}}function Mu(t,e){var n=Ln(t),r=n==="transform"?hu:Co;return this.attrTween(t,typeof e=="function"?(n.local?$u:Tu)(n,r,K1(this,"attr."+t,e)):e==null?(n.local?Su:Nu)(n):(n.local?Cu:Eu)(n,r,e))}function Bu(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Lu(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function qu(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&Lu(t,s)),n}return i._value=e,i}function Ou(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&Bu(t,s)),n}return i._value=e,i}function Pu(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 r=Ln(t);return this.tween(n,(r.local?qu:Ou)(r,e))}function Vu(t,e){return function(){W1(this,t).delay=+e.apply(this,arguments)}}function Du(t,e){return e=+e,function(){W1(this,t).delay=e}}function ju(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Vu:Du)(e,t)):Gt(this.node(),e).delay}function Ru(t,e){return function(){Qt(this,t).duration=+e.apply(this,arguments)}}function Iu(t,e){return e=+e,function(){Qt(this,t).duration=e}}function Hu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Ru:Iu)(e,t)):Gt(this.node(),e).duration}function _u(t,e){if(typeof e!="function")throw new Error;return function(){Qt(this,t).ease=e}}function Fu(t){var e=this._id;return arguments.length?this.each(_u(e,t)):Gt(this.node(),e).ease}function Uu(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;Qt(this,t).ease=n}}function zu(t){if(typeof t!="function")throw new Error;return this.each(Uu(this._id,t))}function Xu(t){typeof t!="function"&&(t=Hi(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],c=s.length,u=r[i]=[],a,l=0;l<c;++l)(a=s[l])&&t.call(a,a.__data__,l,s)&&u.push(a);return new ae(r,this._parents,this._name,this._id)}function Yu(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,s=Math.min(r,i),c=new Array(r),u=0;u<s;++u)for(var a=e[u],l=n[u],h=a.length,d=c[u]=new Array(h),m,f=0;f<h;++f)(m=a[f]||l[f])&&(d[f]=m);for(;u<r;++u)c[u]=e[u];return new ae(c,this._parents,this._name,this._id)}function Gu(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 Wu(t,e,n){var r,i,s=Gu(e)?W1:Qt;return function(){var c=s(this,t),u=c.on;u!==r&&(i=(r=u).copy()).on(e,n),c.on=i}}function Ku(t,e){var n=this._id;return arguments.length<2?Gt(this.node(),n).on.on(t):this.each(Wu(n,t,e))}function Zu(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function Qu(){return this.on("end.remove",Zu(this._id))}function Ju(t){var e=this._name,n=this._id;typeof t!="function"&&(t=M1(t));for(var r=this._groups,i=r.length,s=new Array(i),c=0;c<i;++c)for(var u=r[c],a=u.length,l=s[c]=new Array(a),h,d,m=0;m<a;++m)(h=u[m])&&(d=t.call(h,h.__data__,m,u))&&("__data__"in h&&(d.__data__=h.__data__),l[m]=d,Gn(l[m],e,n,m,l,Gt(h,n)));return new ae(s,this._parents,e,n)}function t2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Ii(t));for(var r=this._groups,i=r.length,s=[],c=[],u=0;u<i;++u)for(var a=r[u],l=a.length,h,d=0;d<l;++d)if(h=a[d]){for(var m=t.call(h,h.__data__,d,a),f,g=Gt(h,n),y=0,x=m.length;y<x;++y)(f=m[y])&&Gn(f,e,n,y,m,g);s.push(m),c.push(h)}return new ae(s,c,e,n)}var e2=en.prototype.constructor;function n2(){return new e2(this._groups,this._parents)}function r2(t,e){var n,r,i;return function(){var s=Re(this,t),c=(this.style.removeProperty(t),Re(this,t));return s===c?null:s===n&&c===r?i:i=e(n=s,r=c)}}function To(t){return function(){this.style.removeProperty(t)}}function i2(t,e,n){var r,i=n+"",s;return function(){var c=Re(this,t);return c===i?null:c===r?s:s=e(r=c,n)}}function o2(t,e,n){var r,i,s;return function(){var c=Re(this,t),u=n(this),a=u+"";return u==null&&(a=u=(this.style.removeProperty(t),Re(this,t))),c===a?null:c===r&&a===i?s:(i=a,s=e(r=c,u))}}function s2(t,e){var n,r,i,s="style."+e,c="end."+s,u;return function(){var a=Qt(this,t),l=a.on,h=a.value[s]==null?u||(u=To(e)):void 0;(l!==n||i!==h)&&(r=(n=l).copy()).on(c,i=h),a.on=r}}function l2(t,e,n){var r=(t+="")=="transform"?uu:Co;return e==null?this.styleTween(t,r2(t,r)).on("end.style."+t,To(t)):typeof e=="function"?this.styleTween(t,o2(t,r,K1(this,"style."+t,e))).each(s2(this._id,t)):this.styleTween(t,i2(t,r,e),n).on("end.style."+t,null)}function a2(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function c2(t,e,n){var r,i;function s(){var c=e.apply(this,arguments);return c!==i&&(r=(i=c)&&a2(t,c,n)),r}return s._value=e,s}function u2(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,c2(t,e,n??""))}function h2(t){return function(){this.textContent=t}}function f2(t){return function(){var e=t(this);this.textContent=e??""}}function m2(t){return this.tween("text",typeof t=="function"?f2(K1(this,"text",t)):h2(t==null?"":t+""))}function d2(t){return function(e){this.textContent=t.call(this,e)}}function g2(t){var e,n;function r(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&d2(i)),e}return r._value=t,r}function p2(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,g2(t))}function y2(){for(var t=this._name,e=this._id,n=$o(),r=this._groups,i=r.length,s=0;s<i;++s)for(var c=r[s],u=c.length,a,l=0;l<u;++l)if(a=c[l]){var h=Gt(a,e);Gn(a,t,n,l,c,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new ae(r,this._parents,t,n)}function x2(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(s,c){var u={value:c},a={value:function(){--i===0&&s()}};n.each(function(){var l=Qt(this,r),h=l.on;h!==t&&(e=(t=h).copy(),e._.cancel.push(u),e._.interrupt.push(u),e._.end.push(a)),l.on=e}),i===0&&s()})}var b2=0;function ae(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function $o(){return++b2}var ce=en.prototype;ae.prototype={constructor:ae,select:Ju,selectAll:t2,selectChild:ce.selectChild,selectChildren:ce.selectChildren,filter:Xu,merge:Yu,selection:n2,transition:y2,call:ce.call,nodes:ce.nodes,node:ce.node,size:ce.size,empty:ce.empty,each:ce.each,on:Ku,attr:Mu,attrTween:Pu,style:l2,styleTween:u2,text:m2,textTween:p2,remove:Qu,tween:Au,delay:ju,duration:Hu,ease:Fu,easeVarying:zu,end:x2,[Symbol.iterator]:ce[Symbol.iterator]};function v2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var w2={time:null,delay:0,duration:250,ease:v2};function k2(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 A2(t){var e,n;t instanceof ae?(e=t._id,t=t._name):(e=$o(),(n=w2).time=z1(),t=t==null?null:t+"");for(var r=this._groups,i=r.length,s=0;s<i;++s)for(var c=r[s],u=c.length,a,l=0;l<u;++l)(a=c[l])&&Gn(a,t,e,l,c,n||k2(a,e));return new ae(r,this._parents,t,e)}en.prototype.interrupt=vu,en.prototype.transition=A2;const Z1=Math.PI,Q1=2*Z1,Me=1e-6,N2=Q1-Me;function Mo(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function S2(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Mo;const n=10**e;return function(r){this._+=r[0];for(let i=1,s=r.length;i<s;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}class E2{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?Mo:S2(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,r,i){this._append`Q${+e},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(e,n,r,i,s,c){this._append`C${+e},${+n},${+r},${+i},${this._x1=+s},${this._y1=+c}`}arcTo(e,n,r,i,s){if(e=+e,n=+n,r=+r,i=+i,s=+s,s<0)throw new Error(`negative radius: ${s}`);let c=this._x1,u=this._y1,a=r-e,l=i-n,h=c-e,d=u-n,m=h*h+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(m>Me)if(!(Math.abs(d*a-l*h)>Me)||!s)this._append`L${this._x1=e},${this._y1=n}`;else{let f=r-c,g=i-u,y=a*a+l*l,x=f*f+g*g,S=Math.sqrt(y),E=Math.sqrt(m),w=s*Math.tan((Z1-Math.acos((y+m-x)/(2*S*E)))/2),$=w/E,T=w/S;Math.abs($-1)>Me&&this._append`L${e+$*h},${n+$*d}`,this._append`A${s},${s},0,0,${+(d*f>h*g)},${this._x1=e+T*a},${this._y1=n+T*l}`}}arc(e,n,r,i,s,c){if(e=+e,n=+n,r=+r,c=!!c,r<0)throw new Error(`negative radius: ${r}`);let u=r*Math.cos(i),a=r*Math.sin(i),l=e+u,h=n+a,d=1^c,m=c?i-s:s-i;this._x1===null?this._append`M${l},${h}`:(Math.abs(this._x1-l)>Me||Math.abs(this._y1-h)>Me)&&this._append`L${l},${h}`,r&&(m<0&&(m=m%Q1+Q1),m>N2?this._append`A${r},${r},0,1,${d},${e-u},${n-a}A${r},${r},0,1,${d},${this._x1=l},${this._y1=h}`:m>Me&&this._append`A${r},${r},0,${+(m>=Z1)},${d},${this._x1=e+r*Math.cos(s)},${this._y1=n+r*Math.sin(s)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function C2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Wn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Ue(t){return t=Wn(Math.abs(t)),t?t[1]:NaN}function T2(t,e){return function(n,r){for(var i=n.length,s=[],c=0,u=t[0],a=0;i>0&&u>0&&(a+u+1>r&&(u=Math.max(1,r-a)),s.push(n.substring(i-=u,i+u)),!((a+=u+1)>r));)u=t[c=(c+1)%t.length];return s.reverse().join(e)}}function $2(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var M2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Kn(t){if(!(e=M2.exec(t)))throw new Error("invalid format: "+t);var e;return new J1({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]})}Kn.prototype=J1.prototype;function J1(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+""}J1.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 B2(t){t:for(var e=t.length,n=1,r=-1,i;n<e;++n)switch(t[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+t[n])break t;r>0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var Zn;function L2(t,e){var n=Wn(t,e);if(!n)return Zn=void 0,t.toPrecision(e);var r=n[0],i=n[1],s=i-(Zn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,c=r.length;return s===c?r:s>c?r+new Array(s-c+1).join("0"):s>0?r.slice(0,s)+"."+r.slice(s):"0."+new Array(1-s).join("0")+Wn(t,Math.max(0,e+s-1))[0]}function Bo(t,e){var n=Wn(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Lo={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:C2,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)=>Bo(t*100,e),r:Bo,s:L2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function qo(t){return t}var Oo=Array.prototype.map,Po=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function q2(t){var e=t.grouping===void 0||t.thousands===void 0?qo:T2(Oo.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",s=t.numerals===void 0?qo:$2(Oo.call(t.numerals,String)),c=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"\u2212":t.minus+"",a=t.nan===void 0?"NaN":t.nan+"";function l(d,m){d=Kn(d);var f=d.fill,g=d.align,y=d.sign,x=d.symbol,S=d.zero,E=d.width,w=d.comma,$=d.precision,T=d.trim,C=d.type;C==="n"?(w=!0,C="g"):Lo[C]||($===void 0&&($=12),T=!0,C="g"),(S||f==="0"&&g==="=")&&(S=!0,f="0",g="=");var L=(m&&m.prefix!==void 0?m.prefix:"")+(x==="$"?n:x==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():""),p=(x==="$"?r:/[%p]/.test(C)?c:"")+(m&&m.suffix!==void 0?m.suffix:""),b=Lo[C],k=/[defgprs%]/.test(C);$=$===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$));function v(A){var j=L,O=p,Y,H,I;if(C==="c")O=b(A)+O,A="";else{A=+A;var V=A<0||1/A<0;if(A=isNaN(A)?a:b(Math.abs(A),$),T&&(A=B2(A)),V&&+A==0&&y!=="+"&&(V=!1),j=(V?y==="("?y:u:y==="-"||y==="("?"":y)+j,O=(C==="s"&&!isNaN(A)&&Zn!==void 0?Po[8+Zn/3]:"")+O+(V&&y==="("?")":""),k){for(Y=-1,H=A.length;++Y<H;)if(I=A.charCodeAt(Y),48>I||I>57){O=(I===46?i+A.slice(Y+1):A.slice(Y))+O,A=A.slice(0,Y);break}}}w&&!S&&(A=e(A,1/0));var _=j.length+A.length+O.length,U=_<E?new Array(E-_+1).join(f):"";switch(w&&S&&(A=e(U+A,U.length?E-O.length:1/0),U=""),g){case"<":A=j+A+O+U;break;case"=":A=j+U+A+O;break;case"^":A=U.slice(0,_=U.length>>1)+j+A+O+U.slice(_);break;default:A=U+j+A+O;break}return s(A)}return v.toString=function(){return d+""},v}function h(d,m){var f=Math.max(-8,Math.min(8,Math.floor(Ue(m)/3)))*3,g=Math.pow(10,-f),y=l((d=Kn(d),d.type="f",d),{suffix:Po[8+f/3]});return function(x){return y(g*x)}}return{format:l,formatPrefix:h}}var Qn,Vo,Do;O2({thousands:",",grouping:[3],currency:["$",""]});function O2(t){return Qn=q2(t),Vo=Qn.format,Do=Qn.formatPrefix,Qn}function P2(t){return Math.max(0,-Ue(Math.abs(t)))}function V2(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ue(e)/3)))*3-Ue(Math.abs(t)))}function D2(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ue(e)-Ue(t))+1}function j2(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function R2(t){return function(){return t}}function I2(t){return+t}var jo=[0,1];function ze(t){return t}function tr(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:R2(isNaN(e)?NaN:.5)}function H2(t,e){var n;return t>e&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function _2(t,e,n){var r=t[0],i=t[1],s=e[0],c=e[1];return i<r?(r=tr(i,r),s=n(c,s)):(r=tr(r,i),s=n(s,c)),function(u){return s(r(u))}}function F2(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),s=new Array(r),c=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++c<r;)i[c]=tr(t[c],t[c+1]),s[c]=n(e[c],e[c+1]);return function(u){var a=Ga(t,u,1,r)-1;return s[a](i[a](u))}}function U2(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function z2(){var t=jo,e=jo,n=_1,r,i,s,c=ze,u,a,l;function h(){var m=Math.min(t.length,e.length);return c!==ze&&(c=H2(t[0],t[m-1])),u=m>2?F2:_2,a=l=null,d}function d(m){return m==null||isNaN(m=+m)?s:(a||(a=u(t.map(r),e,n)))(r(c(m)))}return d.invert=function(m){return c(i((l||(l=u(e,t.map(r),Yt)))(m)))},d.domain=function(m){return arguments.length?(t=Array.from(m,I2),h()):t.slice()},d.range=function(m){return arguments.length?(e=Array.from(m),h()):e.slice()},d.rangeRound=function(m){return e=Array.from(m),n=lu,h()},d.clamp=function(m){return arguments.length?(c=m?!0:ze,h()):c!==ze},d.interpolate=function(m){return arguments.length?(n=m,h()):n},d.unknown=function(m){return arguments.length?(s=m,d):s},function(m,f){return r=m,i=f,h()}}function X2(){return z2()(ze,ze)}function Y2(t,e,n,r){var i=Ja(t,e,n),s;switch(r=Kn(r??",f"),r.type){case"s":{var c=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(s=V2(i,c))&&(r.precision=s),Do(r,c)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(s=D2(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=s-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(s=P2(i))&&(r.precision=s-(r.type==="%")*2);break}}return Vo(r)}function G2(t){var e=t.domain;return t.ticks=function(n){var r=e();return Qa(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return Y2(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,s=r.length-1,c=r[i],u=r[s],a,l,h=10;for(u<c&&(l=c,c=u,u=l,l=i,i=s,s=l);h-- >0;){if(l=T1(c,u,n),l===a)return r[i]=c,r[s]=u,e(r);if(l>0)c=Math.floor(c/l)*l,u=Math.ceil(u/l)*l;else if(l<0)c=Math.ceil(c*l)/l,u=Math.floor(u*l)/l;else break;a=l}return t},t}function Ro(){var t=X2();return t.copy=function(){return U2(t,Ro())},j2.apply(t,arguments),G2(t)}function Xe(t){return function(){return t}}const Io=1e-12;function W2(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new E2(e)}function K2(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Ho(t){this._context=t}Ho.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 er(t){return new Ho(t)}function Z2(t){return t[0]}function Q2(t){return t[1]}function J2(t,e){var n=Xe(!0),r=null,i=er,s=null,c=W2(u);t=typeof t=="function"?t:t===void 0?Z2:Xe(t),e=typeof e=="function"?e:e===void 0?Q2:Xe(e);function u(a){var l,h=(a=K2(a)).length,d,m=!1,f;for(r==null&&(s=i(f=c())),l=0;l<=h;++l)!(l<h&&n(d=a[l],l,a))===m&&((m=!m)?s.lineStart():s.lineEnd()),m&&s.point(+t(d,l,a),+e(d,l,a));if(f)return s=null,f+""||null}return u.x=function(a){return arguments.length?(t=typeof a=="function"?a:Xe(+a),u):t},u.y=function(a){return arguments.length?(e=typeof a=="function"?a:Xe(+a),u):e},u.defined=function(a){return arguments.length?(n=typeof a=="function"?a:Xe(!!a),u):n},u.curve=function(a){return arguments.length?(i=a,r!=null&&(s=i(r)),u):i},u.context=function(a){return arguments.length?(a==null?r=s=null:s=i(r=a),u):r},u}function Ye(){}function nr(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 rr(t,e){this._context=t,this._k=(1-e)/6}rr.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:nr(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:nr(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 _o=(function t(e){function n(r){return new rr(r,e)}return n.tension=function(r){return t(+r)},n})(0);function ir(t,e){this._context=t,this._k=(1-e)/6}ir.prototype={areaStart:Ye,areaEnd:Ye,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:nr(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 Fo=(function t(e){function n(r){return new ir(r,e)}return n.tension=function(r){return t(+r)},n})(0);function Uo(t,e,n){var r=t._x1,i=t._y1,s=t._x2,c=t._y2;if(t._l01_a>Io){var u=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);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/a,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/a}if(t._l23_a>Io){var l=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);s=(s*l+t._x1*t._l23_2a-e*t._l12_2a)/h,c=(c*l+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(r,i,s,c,t._x2,t._y2)}function zo(t,e){this._context=t,this._alpha=e}zo.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,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,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:Uo(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 Xo=(function t(e){function n(r){return e?new zo(r,e):new rr(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function Yo(t,e){this._context=t,this._alpha=e}Yo.prototype={areaStart:Ye,areaEnd:Ye,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,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,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:Uo(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 Go=(function t(e){function n(r){return e?new Yo(r,e):new ir(r,0)}return n.alpha=function(r){return t(+r)},n})(.5);function Wo(t){this._context=t}Wo.prototype={areaStart:Ye,areaEnd:Ye,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 Ko(t){return new Wo(t)}function Zo(t){this._context=t}Zo.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 r=Qo(t),i=Qo(e),s=0,c=1;c<n;++s,++c)this._context.bezierCurveTo(r[0][s],i[0][s],r[1][s],i[1][s],t[c],e[c]);(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 Qo(t){var e,n=t.length-1,r,i=new Array(n),s=new Array(n),c=new Array(n);for(i[0]=0,s[0]=2,c[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,s[e]=4,c[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,s[n-1]=7,c[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/s[e-1],s[e]-=r,c[e]-=r*c[e-1];for(i[n-1]=c[n-1]/s[n-1],e=n-2;e>=0;--e)i[e]=(c[e]-i[e+1])/s[e];for(s[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)s[e]=2*t[e+1]-i[e+1];return[i,s]}function Jn(t){return new Zo(t)}function un(t,e,n){this.k=t,this.x=e,this.y=n}un.prototype={constructor:un,scale:function(t){return t===1?this:new un(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new un(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+")"}},un.prototype;const t9={censor:ye,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:ft,squish_infinite:S1,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function Ge(t,{title:e,...n}={}){return Object.assign(function(r){return r.map(t)},{title:e},n)}function Jo({values:t={},na_value:e=null,title:n,...r}={}){let i;return Array.isArray(t)?i=function(s){return s.map(c=>t[+c]??e)}:i=function(s){return s.map(c=>t[c]??e)},Object.assign(i,{title:n},r)}function We({limits:t,oob:e=ye,range:n=[0,1],na_value:r=null,null_value:i=null,title:s,...c}={}){return Object.assign(function(a){let l=this?.limits?.min??this?.limits?.[0]??a.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??a.extent?.[1],d=h-l,m=n?.min??n[0],f=n?.max??n[1],g=f-m;return a.map(y=>(y=this.oob(y,{min:l,max:h}),y===null?i:isNaN(y)?r:m+(y-l)/d*g))},{title:s,limits:t,oob:e},c)}function ts({title:t,...e}={}){return Object.assign(function(n){return n.map(r=>+r)},{asis:!0,title:t},e)}function or({title:t,...e}={}){return Object.assign(function(n){return n.map(r=>String(r??""))},{asis:!0,title:t},e)}function t1({h:t=[15,375],c:e=100,l:n=65,h_start:r=0,alpha:i=1,direction:s=1,limits:c,oob:u=ye,na_value:a="#7f7f7f",null_value:l=null,title:h,...d}={}){return Object.assign(function(f){let g=this?.limits?.min??this?.limits?.[0]??f.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??f.extent?.[1],x=y-g,S=t?.min??t[0],E=t?.max??t[1],w=E-S;return f.map($=>($=this.oob($,{min:g,max:y}),$===null?l:isNaN($)?a:fo(r+S+w*($-g)/x*s,e,n,i).toString()))},{title:h,limits:c,oob:u},d)}function e9({values:t,na_value:e="#7f7f7f",title:n,...r}={}){return Jo({values:t,na_value:e,title:n,...r})}function e1({low:t="#132B43",high:e="#56B1F7",limits:n,oob:r=ye,na_value:i="#7f7f7f",null_value:s=null,title:c,...u}={}){return Object.assign(function(l){let h=this?.limits?.min??this?.limits?.[0]??l.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??l.extent?.[1],m=U1(t,e);return l.map(f=>(f=this.oob(f,{min:h,max:d}),f===null?s:isNaN(f)?i:h===d?m(.5):f>d?e:f<h?t:m((f-h)/(d-h))))},{title:c,limits:n,oob:r},u)}function n9({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:r=0,limits:i,oob:s=ye,na_value:c="#7f7f7f",null_value:u=null,title:a,...l}={}){return Object.assign(function(d){let m=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],g=r??(m+f)/2,y=U1(t,e),x=U1(e,n);return d.map(S=>(S=this.oob(S,{min:m,max:f}),S===null?u:isNaN(S)?c:S<g?y((S-m)/(g-m)):x((S-g)/(f-g))))},{title:a,limits:i,oob:s},l)}function r9({colors:t=[],values:e,anchors:n,limits:r,oob:i=ye,na_value:s="#7f7f7f",null_value:c=null,title:u,...a}={}){return Object.assign(function(h){let d=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],m=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],f=e??n?.map?.(y=>d+(m-d)*y);f??=Array(t.length).fill(0).map((y,x)=>d+(m-d)*x/(t.length-1)),t=t.filter((y,x)=>!isNaN(f[x])),f=f.filter(y=>!isNaN(y));let g=Ro(f,t);return h.map(y=>(y=this.oob(y,{min:d,max:m}),y===null?c:isNaN(y)?s:g(y)))},{title:u,limits:r,oob:i},a)}function es({alpha:t,limits:e,oob:n=ye,title:r,...i}={}){let s=t1({alpha:t}),c=e1();return Object.assign(function(a){return a.level!=null?s.call(this,a):c.call(this,a)},{title:r,limits:e,oob:n},i)}function i9({discrete:t=t1(),continuous:e=e1(),limits:n,oob:r=ye,title:i,...s}={}){return Object.assign(function(u){return u.level!=null?t.call(this,u):e.call(this,u)},{title:i,limits:n,oob:r},s)}function ns({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(i){return i.map(s=>n[+s])},{title:t},e)}function rs({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(i){return i.map(s=>n[+s])},{title:t},e)}const sr={identity:({title:t,...e}={})=>or({legend:!1,title:t,...e}),discrete:t1,hue:t1,manual:e9,continuous:e1,gradient:e1,gradient2:n9,gradientn:r9,dynamic:i9,auto:es,custom:Ge,default:es},is={color:sr,stroke:sr,fill:sr,alpha:{continuous:We,custom:Ge,default:({title:t,...e}={})=>We({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>ts({legend:!1,title:t,...e}),continuous:We,custom:Ge,default:({title:t,...e}={})=>We({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>ts({legend:!1,title:t,...e}),continuous:We,manual:Jo,custom:Ge,default:({title:t,...e}={})=>We({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>or({legend:!1,title:t,...e}),discrete:rs,default:rs,custom:Ge},shape:{identity:({title:t,...e}={})=>or({legend:!1,title:t,...e}),discrete:ns,default:ns,custom:Ge}};function o9({step:t,minor:e=!1}={}){return function({min:n,max:r,minor:i=e}={}){let s=r-n,c=t;if(isNaN(s)||s<0)return[];if(s==0)return[n];let u=10**Math.floor(Math.log10(s)-1),a=s/u;c==null&&(c=([5,10,20].find(d=>d*5>a)??20)*u),i&&(c/=2);let l=Math.ceil(n/c),h=Math.floor(r/c);return new Array(h-l+1).fill(null).map((d,m)=>(l+m)*c)}}function s9(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let r=new Date(t),i=new Date(e),s=r.getUTCFullYear(),c=r.getUTCMonth(),u=r.getUTCDate(),a=r.getUTCHours(),l=r.getUTCMinutes(),h=r.getUTCSeconds(),d=[];if(n>94608e6){let m=n/31536e6,f=10**Math.floor(Math.log10(m)-1),g=m/f,y=Math.max((g>50?10:g>25?5:2)*f,1);r=new Date(Date.UTC(Math.ceil(s/y)*y));do d.push(new Date(r));while(r.setUTCFullYear(r.getUTCFullYear()+y)<i)}else if(n>7776e6){let m=n/2592e6,f=[2,3,6].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,Math.ceil(c/f)*f));do d.push(new Date(r));while(r.setUTCMonth(r.getUTCMonth()+f)<i)}else if(n>18144e5){r=new Date(Date.UTC(s,c,u+(7-r.getUTCDay())%7));do d.push(new Date(r));while(r.setUTCDate(r.getUTCDate()+7)<i)}else if(n>2592e5){let m=n/864e5,f=[2,3].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,c,Math.ceil(u)));do d.push(new Date(r));while(r.setUTCDate(r.getUTCDate()+f)<i)}else if(n>108e5){let m=n/36e5,f=[2,3,6].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,c,u,Math.ceil(a/f)*f));do d.push(new Date(r));while(r.setUTCHours(r.getUTCHours()+f)<i)}else if(n>18e4){let m=n/6e4,f=[2,5,10,30].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,c,u,a,Math.ceil(l/f)*f));do d.push(new Date(r));while(r.setUTCMinutes(r.getUTCMinutes()+f)<i)}else if(n>3e3){let m=n/1e3,f=[2,5,10,30].findLast(g=>g*3<=m)||1;r=new Date(Date.UTC(s,c,u,a,l,Math.ceil(h/f)*f));do d.push(new Date(r));while(r.setUTCSeconds(r.getUTCSeconds()+f)<i)}else{let m=10**Math.floor(Math.log10(n)-1),f=n/m,g=(f>50?20:f>25?10:5)*m,y=Math.ceil(t/g),x=Math.floor(e/g);return new Array(x-y+1).fill(null).map((S,E)=>new Date((y+E)*g))}return d}}const n1={number:o9,datetime:s9};let l9={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 lr(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,r)=>{let i=String(l9[r](t)),s=n.length;return r=="y"?i.slice(-s):i.padStart(s,"0")})}const os={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 a9(){return function(t){return t==null?"":t instanceof Date?lr(t):String(t)}}function ss({accuracy:t,scale:e=1,prefix:n="",suffix:r="",big_mark:i=" ",style_positive:s="none",style_negative:c="hyphen",scale_cut:u={"":1}}={}){let a={plus:"+",space:" "}[s]??"",l={hyphen:"-",minus:"\u2212",parens:"("}[c]??"";return function(h,d,m=[h]){let f;if(t)f=t;else if(m.length>1){let w=m.filter(T=>isFinite(T)).sort((T,C)=>T-C);f=w.slice(1).map((T,C)=>T-w[C]).reduce((T,C)=>T<C?T:C)*e}else f=h||1;let g=Object.entries(u).sort((w,$)=>$[1]-w[1]).find(w=>w[1]<=f)?.[0]??"",y=(g==""?"":" ")+g+r;f=f/(u[g]??1);let x=Math.max(0,Math.ceil(-Math.log10(f))),S=Math.round(h*e/(u[g]??1)/f)*f,E=n+(S>0?a:S<0?l:"");return S<0&&c=="parens"&&(y=")"+y),S=Math.abs(S).toFixed(x).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+i),E+S+y}}function ar({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},r={y:4,M:7,d:10,h:13,m:16,s:19};return function(i,s,c=[i]){if(c.length<=1)return lr(new Date(i),t);if(t==null){let u=Array.from(c).sort((m,f)=>m-f),a=u.slice(1).map((m,f)=>m-u[f]).reduce((m,f)=>m<f?m:f)/1e3,l=(u[u.length-1]-u[0])/1e3,h=["y","M","d","m","s"].find(m=>e[m]<=a),d=l>2678400?"y":l>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],r[h])}return lr(new Date(i),t)}}function ls(t){let e=ss(t),n=ar(t);return function(r,i,s=[r]){return r instanceof mi?String(r):r instanceof Date?n(r,i,s):e(r,i,s)}}const cr={number:ss,datetime:ar,timestamp:ar,asis:a9,auto:ls,default:function(t){return ls({scale_cut:os.default,...t})}};function c9(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,r])=>[n,e(n,r)]))}class u9{constructor(e,n){let{data:r=[],aes:i,extendX:s,extendY:c}=n,{geom:u,stat:a,data:l,aes:h,levels:d={},scales:m={},attrs:f,args:g,vBind:y,extendX:x,extendY:S}=e;if(!se[u]){console.error(`Invalid geom "${u}"`,"in layer",e,", plot",n);return}let E=typeof a=="function"?a:Oi[a];if(E==null){console.error(`Invalid stat "${a}"`,"in layer",e,", plot",n);return}this.geom=u,this.vBind=Object.assign(y,{extendX:x??s??0,extendY:S??c??0}),this.scales={},typeof l=="function"&&(l=l(r)),l==null&&(l=r),h={...i,...h};let w={};this.$fnames={};for(const C in h)this.$fnames[C]=String(h[C]),w[C]=l.map(h[C]).map(L=>L instanceof String||L instanceof Number?new ke(L):L);w.$raw=l;let $=E?.core_attrs??["x","y","xnudge","ynudge"],T=l.length;T==0&&(T=$.map(C=>f[C]).filter(C=>C!=null).reduce((C,L)=>Math.max(Array.isArray(L)?L.length:1,C),0));for(const C in f)if($.includes(C))if(Array.isArray(f[C])){if(f[C].length!=T)throw new Error(`Attribute "${C}" must have the same length as data (${T})`);w[C]=f[C]}else{if(f[C]==null)continue;w[C]=new Array(T).fill(f[C])}try{if(w=E(w,g||{}),w.$group??=w.group,w.$group==null){let C=Object.values(w).filter(L=>Array.isArray(L)).reduce((L,p)=>Math.max(L,p.length),0);w.$group=new Array(C).fill(null)}}catch(C){console.error("Error",C,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(d).filter(C=>d[C]!=null),...Object.keys(m).filter(C=>m[C]!=null)]),this.aes=new Set([...this.localScales,...se[u]?.scale_attrs??[]]),this.$data=w,this.data={...w};for(const C in w)if(m[C]!=null){let L=new r1(m[C]);L.aesthetics=C,L._title=this.$fnames[C];let p=this.$data[C];if(!p?.length)continue;L.asis||(d?.[C]!=null?L.level=d[C]:p.some(oe)?L.level=Ae.from(p):L.extent=dt.extent(p.filter(b=>!(b instanceof ke)))),this.applyScale(C,L)}this.attrs={};for(const C in f)if(!$.includes(C))if(Array.isArray(f[C])){if(f[C].length!=T)throw new Error(`Attribute "${C}" must have the same length as data (${T})`);this.data[C]=f[C]}else this.attrs[C]=f[C],f[C]!=null&&(this.data[C]=new Array(T).fill(f[C]))}applyScale(e,n){let r=this.$data[e];if(r==null)return;n.level&&(r=n.level.apply(r)),n.limits&&(r.extent=n.limits),n.aes=e;let i=n(r);this.data[e]=r.map((s,c)=>s instanceof ke?s.valueOf():i[c]),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 h9{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let r in n)this.layers.push(new u9(n[r],e));this.layers=this.layers.filter(r=>r.$data!=null),this.aes=new Set(this.layers.flatMap(r=>Array.from(r.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const r of this.aes){let i=this.layers.filter(s=>!s.localScales.has(r)).flatMap(s=>s.$data[r]??[]);if(i.length!=0){let s=new r1(e?.[r]??is[r].default());s.aesthetics=r,s.asis||(n?.[r]!=null?s.level=n[r]:i.some(oe)?s.level=Ae.from(i):s.extent=dt.extent(i.filter(c=>!(c instanceof ke)))),s._title=this.layers.reduce((c,u)=>c??u.$fnames?.[r],null);for(const c of this.layers)c.localScales.has(r)||c.applyScale(r,s)}for(const s of this.layers){let c=s.scales?.[r];if(c!=null&&!c.asis){this.scales.has(c)||this.scales.set(c,{});let u=this.scales.get(c);u[s.geom]==null&&(u[s.geom]={});for(let a of se[s.geom]?.scale_attrs)s.attrs[a]!=null&&(u[s.geom][a]=s.attrs[a])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new Ae(...e[n]);else{let r=this.layers.flatMap(i=>(se[i.geom].get_values??se[i.geom].get_range)?.(i.$data,n));r.some(oe)?this.levels[n]=Ae.from(r):(r=this.layers.flatMap(i=>se[i.geom].get_range?.(i.$data,n)).filter(i=>!isNaN(i)),this.extents[n]=dt.extent(r.filter(i=>!(i instanceof ke))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:e.data.$group.map((r,i)=>se[e.geom].validate(c9(e.data,(s,c)=>c?.[i]))).filter(r=>r!=null),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,r){let i={};if(this._range=e,this.levels.x){let s=+(e?.xmin??-.5)-(+n.x?.min||0),c=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);i.x=new i1(this.levels.x,{min:s,max:c})}else{let s=e?.xmin??this.extents.x?.min??0,c=e?.xmax??this.extents.x?.max??0,u=at(s,-n.x?.min||0),a=at(c,+n.x?.max||0),l=r?.x??1;if(a-u<l)if(e?.xmax==null&&e?.xmin!=null)a=at(u,+l);else if(e?.xmax!=null&&e?.xmin==null)u=at(a,-l);else{let h=a-u;a=at(a,-h/2+l/2),u=at(a,-l)}u instanceof Date||a instanceof Date?i.x=new o1({min:u,max:a}):i.x=new hn({min:u,max:a})}if(this.levels.y){let s=+(e?.ymin??-.5)-(+n.y?.min||0),c=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);i.y=new i1(this.levels.y,{min:s,max:c})}else{let s=e?.ymin??this.extents.y?.min??0,c=e?.ymax??this.extents.y?.max??0,u=at(s,-n.y?.min),a=at(c,+n.y?.max||0),l=r?.y??1;if(a-u<l)if(e?.ymax==null&&e?.ymin!=null)a=at(u,+l);else if(e?.ymax!=null&&e?.ymin==null)u=at(a,-l);else{let h=a-u;a=at(a,-h/2+l/2),u=at(a,-l)}u instanceof Date||a instanceof Date?i.y=new o1({min:u,max:a}):i.y=new hn({min:u,max:a})}return i}render(e,n,r){let i=this.getCoordScales(e,n,r);return{layers:this.getComputedLayers(),coordScales:i,scales:this.scales}}}class r1 extends Function{constructor(e){let n=e._fn??e;function r(){return n.apply(r,arguments)}return Object.setPrototypeOf(r,r1.prototype),Object.assign(r,e),r._fn=n,r}set extent({min:e,max:n,0:r,1:i}={}){e??=r,n??=i,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:r,1:i}={}){e??=r,n??=i,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 i1 extends Function{constructor(e,{min:n,max:r}={}){const i=n==r?s=>0:s=>(+s-n)/(r-n);return i.range={min:n,max:r},i.level=e,Object.setPrototypeOf(i,i1.prototype),i}invert(e){let{min:n,max:r}=this.range;return e*(r-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class hn extends Function{constructor(e){let{min:n,max:r}=e;const i=n==r?s=>isFinite(s)?.5:s:s=>(+s-n)/(r-n);return i.range={min:n,max:r},Object.setPrototypeOf(i,hn.prototype),i}invert(e){let{min:n,max:r}=this.range;return at(n,e*(r-n))}get breaks(){return n1.number()}}class o1 extends hn{constructor(e){let n=super(e);return Object.setPrototypeOf(n,o1.prototype),n}get breaks(){return n1.datetime()}get minorBreaks(){return[]}}class f9{constructor(e,{breaks:n,labels:r,minorBreaks:i,titles:s}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=r??cr.auto(),this.titles=s??cr.asis(),this.minorBreaks=i??n??e.minorBreaks??e.breaks}getBreaks({range:e,expandMult:n,breakSlot:r}={}){let i=this.breaks,s=this.minorBreaks,c=this.labels,u=this.titles,a=e?.min??this?.range?.min,l=e?.max??this?.range?.max,h=l-a||0;if(a=a==null?a:at(a,-(n?.min??0)*h),l=l==null?l:at(l,+(n?.max??0)*h),typeof i=="function"&&(i=i({min:a,max:l})),Array.isArray(i)||(i=[]),typeof c=="function"&&(c=i.map(c)),!Array.isArray(c))c=[];else if(c.length!=i.length)throw new Error("Length of labels must be the same as breaks");if(typeof u=="function"&&(u=i.map(u)),!Array.isArray(u))u=[];else if(u.length!=i.length)throw new Error("Length of titles must be the same as breaks");typeof s=="function"&&(s=s({min:a,max:l,minor:!0})),Array.isArray(s)||(s=[]),i=i.map((m,f)=>({type:"major",value:m,label:c[f],title:u[f]})),s=s.map(m=>({type:"minor",value:m}));let d=i.concat(s);return r instanceof Function&&(d=tn(r({breaks:d,majorBreaks:i,minorBreaks:s,min:a,max:l})).filter(m=>m.type.$_type=="axis-break").map(m=>({...m.type.$_props,...m.props}))),d}}const m9=["font-size"],d9={key:0},fn={__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=o.useTemplateRef("ele"),n=o.reactive({width:0,height:0}),r=o.inject("vvplot-visible",!0);o.watch([e,r,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([s])=>{if(!s)return;await o.nextTick();let{width:c,height:u}=s.getBBox();n.width=c,n.height=u});const i=o.computed(()=>{let{width:s,height:c}=n,u=[],a=({start:-.5,end:.5}[t.textAnchor]??0)*s;if(t.dockX!=null||t.dockY!=null){let l={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),h={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(l)&&(l=.5),isNaN(h)&&(h=.5);let d=s*Math.abs(Math.cos(t.angle*Math.PI/180))+c*Math.abs(Math.sin(t.angle*Math.PI/180)),m=s*Math.abs(Math.sin(t.angle*Math.PI/180))+c*Math.abs(Math.cos(t.angle*Math.PI/180)),f=t.translateX,g=t.translateY;u.push(`translate(${d*(.5-l)+f},${m*(h-.5)+g})`),t.angle&&u.push(`rotate(${t.angle})`),u.push(`translate(${a},0)`)}else{let l={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),h={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(l)&&(l=.5),isNaN(h)&&(h=.5);let d=s,m=c,f=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),g=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&u.push(`rotate(${t.angle})`),u.push(`translate(${d*(.5-l)+f+a},${m*(h-.5)+g})`)}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":Mt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:u.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(s,c)=>(o.openBlock(),o.createElementBlock("text",o.mergeProps({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[o.renderSlot(s.$slots,"default",{},()=>[t.title?(o.openBlock(),o.createElementBlock("title",d9,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(t.text?.replace(/ /g,"\xA0")),1)])],16,m9))}};function as(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 g9=function(t,e){this.current=t,this.entering=e===!0},p9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=as(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}},y9=function(t){return{current:t,root:t,entering:!0,next:p9,resumeAt:g9}},Nt=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},Ct=Nt.prototype;Object.defineProperty(Ct,"isContainer",{get:function(){return as(this)}}),Object.defineProperty(Ct,"type",{get:function(){return this._type}}),Object.defineProperty(Ct,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(Ct,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(Ct,"next",{get:function(){return this._next}}),Object.defineProperty(Ct,"prev",{get:function(){return this._prev}}),Object.defineProperty(Ct,"parent",{get:function(){return this._parent}}),Object.defineProperty(Ct,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(Ct,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}}),Object.defineProperty(Ct,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}}),Object.defineProperty(Ct,"title",{get:function(){return this._title},set:function(t){this._title=t}}),Object.defineProperty(Ct,"info",{get:function(){return this._info},set:function(t){this._info=t}}),Object.defineProperty(Ct,"level",{get:function(){return this._level},set:function(t){this._level=t}}),Object.defineProperty(Ct,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}}),Object.defineProperty(Ct,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}}),Object.defineProperty(Ct,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}}),Object.defineProperty(Ct,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}}),Object.defineProperty(Ct,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}}),Object.defineProperty(Ct,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}}),Nt.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)},Nt.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)},Nt.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},Nt.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)},Nt.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)},Nt.prototype.walker=function(){var t=new y9(this);return t};function x9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ur,cs;function b9(){if(cs)return ur;cs=1;var t={};function e(r){var i,s,c=t[r];if(c)return c;for(c=t[r]=[],i=0;i<128;i++)s=String.fromCharCode(i),/^[0-9a-z]$/i.test(s)?c.push(s):c.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2));for(i=0;i<r.length;i++)c[r.charCodeAt(i)]=r[i];return c}function n(r,i,s){var c,u,a,l,h,d="";for(typeof i!="string"&&(s=i,i=n.defaultChars),typeof s>"u"&&(s=!0),h=e(i),c=0,u=r.length;c<u;c++){if(a=r.charCodeAt(c),s&&a===37&&c+2<u&&/^[0-9a-f]{2}$/i.test(r.slice(c+1,c+3))){d+=r.slice(c,c+3),c+=2;continue}if(a<128){d+=h[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&c+1<u&&(l=r.charCodeAt(c+1),l>=56320&&l<=57343)){d+=encodeURIComponent(r[c]+r[c+1]),c++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(r[c])}return d}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",ur=n,ur}var v9=b9();const w9=x9(v9);var hr={},mn={},s1={},us;function k9(){return us||(us=1,Object.defineProperty(s1,"__esModule",{value:!0}),s1.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])),s1}var l1={},hs;function A9(){return hs||(hs=1,Object.defineProperty(l1,"__esModule",{value:!0}),l1.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])),l1}var a1={},fs;function N9(){if(fs)return a1;fs=1,Object.defineProperty(a1,"__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(r){var i="";return r>65535&&(r-=65536,i+=String.fromCharCode(r>>>10&1023|55296),r=56320|r&1023),i+=String.fromCharCode(r),i};function n(r){var i;return r>=55296&&r<=57343||r>1114111?"\uFFFD":e((i=t.get(r))!==null&&i!==void 0?i:r)}return a1.default=n,a1}var ms;function ds(){return ms||(ms=1,(function(t){var e=mn&&mn.__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(k9());t.htmlDecodeTree=n.default;var r=e(A9());t.xmlDecodeTree=r.default;var i=e(N9()),s;(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"})(s=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function c(f){return function(y,x){for(var S="",E=0,w=0;(w=y.indexOf("&",w))>=0;){if(S+=y.slice(E,w),E=w,w+=1,y.charCodeAt(w)===35){var $=w+1,T=10,C=y.charCodeAt($);for((C|32)===120&&(T=16,w+=1,$+=1);(C=y.charCodeAt(++w))>=48&&C<=57||T===16&&(C|32)>=97&&(C|32)<=102;);if($!==w){var L=y.substring($,w),p=parseInt(L,T);if(y.charCodeAt(w)===59)w+=1;else if(x)continue;S+=i.default(p),E=w}continue}for(var b=null,k=1,v=0,A=f[v];w<y.length&&(v=u(f,A,v+1,y.charCodeAt(w)),!(v<0));w++,k++)A=f[v],A&s.HAS_VALUE&&(x&&y.charCodeAt(w)!==59?v+=1:(b=A&s.MULTI_BYTE?String.fromCharCode(f[++v],f[++v]):String.fromCharCode(f[++v]),k=0));b!=null&&(S+=b,E=w-k+1)}return S+y.slice(E)}}function u(f,g,y,x){if(g<=128)return x===g?y:-1;var S=(g&s.BRANCH_LENGTH)>>8;if(S===0)return-1;if(S===1)return x===f[y]?y+1:-1;var E=g&s.JUMP_TABLE;if(E){var w=x-t.JUMP_OFFSET_BASE-E;return w<0||w>S?-1:f[y+w]-1}for(var $=y,T=$+S-1;$<=T;){var C=$+T>>>1,L=f[C];if(L<x)$=C+1;else if(L>x)T=C-1;else return f[C+S]}return-1}t.determineBranch=u;var a=c(n.default),l=c(r.default);function h(f){return a(f,!1)}t.decodeHTML=h;function d(f){return a(f,!0)}t.decodeHTMLStrict=d;function m(f){return l(f,!0)}t.decodeXML=m})(mn)),mn}var jt={};const S9={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};var dn={};const gs={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
3
+ `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var ps;function E9(){return ps||(ps=1,(function(t){var e=dn&&dn.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(gs);function r(u){return(u&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(u,a){return u.codePointAt(a)}:(function(u,a){return r(u.charCodeAt(a))?(u.charCodeAt(a)-55296)*1024+u.charCodeAt(a+1)-56320+65536:u.charCodeAt(a)});var i=c(n.default);function s(u,a){for(var l,h="",d=0,m;(m=u.exec(a))!==null;){var f=m.index,g=a.charCodeAt(f),y=i.get(g);if(y){if(y.next!=null&&f+1<a.length){var x=(l=y.next.get(a.charCodeAt(f+1)))===null||l===void 0?void 0:l.value;if(x!=null){h+=a.substring(d,f)+x,u.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=u.lastIndex+=Number(r(g))}return h+a.substr(d)}t.encodeHTMLTrieRe=s;function c(u){for(var a,l,h,d,m=new Map,f=0,g=Object.keys(u);f<g.length;f++){for(var y=g[f],x=u[y],S=m,E=0;E<x.length-1;E++){var w=x.charCodeAt(E),$=(a=S.get(w))!==null&&a!==void 0?a:{};S.set(w,$),S=(l=$.next)!==null&&l!==void 0?l:$.next=new Map}var T=(h=S.get(x.charCodeAt(x.length-1)))!==null&&h!==void 0?h:{};(d=T.value)!==null&&d!==void 0||(T.value="&"+y+";"),S.set(x.charCodeAt(x.length-1),T)}return m}t.getTrie=c})(dn)),dn}var ys;function xs(){if(ys)return jt;ys=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(S9),n=E9(),r=t(gs),i=d(r.default,!0),s=d(e.default,!0),c=d(e.default,!1),u=new Map(Object.keys(e.default).map(function(f){return[e.default[f].charCodeAt(0),"&"+f+";"]}));function a(f){for(var g="",y=0,x;(x=s.exec(f))!==null;){var S=x.index,E=f.charCodeAt(S),w=u.get(E);w?(g+=f.substring(y,S)+w,y=S+1):(g+=f.substring(y,S)+"&#x"+n.getCodePoint(f,S).toString(16)+";",y=s.lastIndex+=+((E&65408)===55296))}return g+f.substr(y)}jt.encodeXML=a;function l(f){return n.encodeHTMLTrieRe(i,f)}jt.encodeHTML=l;function h(f){return n.encodeHTMLTrieRe(s,f)}jt.encodeNonAsciiHTML=h;function d(f,g){for(var y=Object.keys(f).map(function(w){return"\\"+f[w].charAt(0)}).filter(function(w){return!g||w.charCodeAt(1)<128}).sort(function(w,$){return w.charCodeAt(1)-$.charCodeAt(1)}).filter(function(w,$,T){return w!==T[$+1]}),x=0;x<y.length-1;x++){for(var S=x;S<y.length-1&&y[S].charCodeAt(1)+1===y[S+1].charCodeAt(1);)S+=1;var E=1+S-x;E<3||y.splice(x,E,y[x]+"-"+y[S])}return new RegExp("["+y.join("")+(g?"\\x80-\\uFFFF":"")+"]","g")}jt.escape=a;function m(f){for(var g,y=0,x="";g=c.exec(f);)y!==g.index&&(x+=f.substring(y,g.index)),x+=u.get(g[0].charCodeAt(0)),y=g.index+1;return x+f.substring(y)}return jt.escapeUTF8=m,jt}var bs;function C9(){return bs||(bs=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=ds(),n=xs(),r;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(r=t.EntityLevel||(t.EntityLevel={}));var i;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict"})(i=t.DecodingMode||(t.DecodingMode={}));var s;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive"})(s=t.EncodingMode||(t.EncodingMode={}));function c(d,m){m===void 0&&(m=r.XML);var f=typeof m=="number"?{level:m}:m;return f.level===r.HTML?f.mode===i.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=c;function u(d,m){m===void 0&&(m=r.XML);var f=typeof m=="number"?{level:m}:m;return f.level===r.HTML?f.mode===i.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=u;function a(d,m){m===void 0&&(m=r.XML);var f=typeof m=="number"?{level:m}:m;return f.mode===s.UTF8?n.escapeUTF8(d):f.level===r.HTML?f.mode===s.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=a;var l=xs();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var h=ds();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}})})(hr)),hr}var vs=C9(),T9=92,ws="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",ks="[A-Za-z][A-Za-z0-9-]*",$9="[a-zA-Z_:][a-zA-Z0-9:._-]*",M9="[^\"'=<>`\\x00-\\x20]+",B9="'[^']*'",L9='"[^"]*"',q9="(?:"+M9+"|"+B9+"|"+L9+")",O9="(?:\\s*=\\s*"+q9+")",P9="(?:\\s+"+$9+O9+"?)",As="<"+ks+P9+"*\\s*/?>",Ns="</"+ks+"\\s*[>]",V9="<!-->|<!--->|<!--[\\s\\S]*?-->",D9="[<][?][\\s\\S]*?[?][>]",j9="<![A-Za-z]+[^>]*>",R9="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",I9="(?:"+As+"|"+Ns+"|"+V9+"|"+D9+"|"+j9+"|"+R9+")",H9=new RegExp("^"+I9),_9=/[\\&]/,Ss="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",F9=new RegExp("\\\\"+Ss+"|"+ws,"gi"),U9='[&<>"]',Es=new RegExp(U9,"g"),z9=function(t){return t.charCodeAt(0)===T9?t.charAt(1):vs.decodeHTMLStrict(t)},Cs=function(t){return _9.test(t)?t.replace(F9,z9):t},X9=function(t){try{return w9(t)}catch{return t}},Y9=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return t}},c1=function(t){return Es.test(t)?t.replace(Es,Y9):t},fr;function mr(t){return fr(t)}if(String.fromCodePoint)fr=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var G9=String.fromCharCode,W9=Math.floor;fr=function(){var t=16384,e=[],n,r,i=-1,s=arguments.length;if(!s)return"";for(var c="";++i<s;){var u=Number(arguments[i]);if(!isFinite(u)||u<0||u>1114111||W9(u)!==u)return"\uFFFD";u<=65535?e.push(u):(u-=65536,n=(u>>10)+55296,r=u%1024+56320,e.push(n,r)),(i+1===s||e.length>t)&&(c+=G9.apply(null,e),e.length=0)}return c}}var u1=X9,dr=Cs,Ts=10,gr=42,h1=95,K9=96,$s=91,Z9=93,Ms=60,Q9=33,Bs=92,J9=38,Ls=40,pr=41,t8=58,Be=39,Le=34,qs=Ss,yr="\\\\"+qs,e8=ws,n8=H9,Os=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),r8=new RegExp('^(?:"('+yr+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+yr+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+yr+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),i8=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Ps=new RegExp("^"+qs),o8=new RegExp("^"+e8,"i"),s8=/`+/,l8=/^`+/,a8=/\.\.\./g,c8=/--+/g,u8=/^<([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])?)*)>/,h8=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,f8=/^ *(?:\n *)?/,Vs=/^[ \t\n\x0b\x0c\x0d]/,Ds=/^\s/,m8=/ *$/,d8=/^ */,js=/^ *(?:\n|$)/,g8=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,p8=/^[^\n`\[\]\\!<&*_'"]+/m,Dt=function(t){var e=new Nt("text");return e._literal=t,e},Rs=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},y8=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},x8=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},b8=function(){return this.match(f8),!0},v8=function(t){var e=this.match(l8);if(e===null)return!1;for(var n=this.pos,r,i,s;(r=this.match(s8))!==null;)if(r===e)return i=new Nt("code"),s=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),s.length>0&&s.match(/[^ ]/)!==null&&s[0]==" "&&s[s.length-1]==" "?i._literal=s.slice(1,s.length-1):i._literal=s,t.appendChild(i),!0;return this.pos=n,t.appendChild(Dt(e)),!0},w8=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===Ts?(this.pos+=1,n=new Nt("linebreak"),t.appendChild(n)):Ps.test(e.charAt(this.pos))?(t.appendChild(Dt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Dt("\\")),!0},k8=function(t){var e,n,r;return(e=this.match(u8))?(n=e.slice(1,e.length-1),r=new Nt("link"),r._destination=u1("mailto:"+n),r._title="",r.appendChild(Dt(n)),t.appendChild(r),!0):(e=this.match(h8))?(n=e.slice(1,e.length-1),r=new Nt("link"),r._destination=u1(n),r._title="",r.appendChild(Dt(n)),t.appendChild(r),!0):!1},A8=function(t){var e=this.match(n8);if(e===null)return!1;var n=new Nt("html_inline");return n._literal=e,t.appendChild(n),!0},N8=function(t){var e=0,n,r,i,s=this.pos,c,u,a,l,h,d,m,f;if(t===Be||t===Le)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=s===0?`
4
4
  `:this.subject.charAt(s-1),i=this.peek(),i===-1?r=`
5
- `:r=mr(i),h=As.test(r),d=ks.test(r),m=As.test(n),f=ks.test(n),a=!h&&(!d||m||f),u=!m&&(!f||h||d),t===h1?(c=a&&(!u||f),l=u&&(!a||d)):t===Me||t===$e?(c=a&&!u,l=u):(c=a,l=u),this.pos=s,{numdelims:e,can_open:c,can_close:l})},f8=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var r=n.numdelims,i=this.pos,s;this.pos+=r,t===Me?s="\u2019":t===$e?s="\u201C":s=this.subject.slice(i,this.pos);var a=Dt(s);return e.appendChild(a),(n.can_open||n.can_close)&&(this.options.smart||t!==Me&&t!==$e)&&(this.delimiters={cc:t,numdelims:r,origdelims:r,node:a,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},m8=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},d8=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},g8=function(t){for(var e,n,r,i,s,a,u,c,l,h,d=[],m,f=!1,g=0;g<14;g++)d[g]=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 Me:m=0;break;case $e:m=1;break;case h1:m=2+(n.can_open?3:0)+n.origdelims%3;break;case gr:m=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==d[m];){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(r=n,y===gr||y===h1)if(!h)n=n.next;else{u=n.numdelims>=2&&e.numdelims>=2?2:1,i=e.node,s=n.node,e.numdelims-=u,n.numdelims-=u,i._literal=i._literal.slice(0,i._literal.length-u),s._literal=s._literal.slice(0,s._literal.length-u);var w=new St(u===1?"emph":"strong");for(c=i._next;c&&c!==s;)l=c._next,c.unlink(),w.appendChild(c),c=l;i.insertAfter(w),d8(e,n),e.numdelims===0&&(i.unlink(),this.removeDelimiter(e)),n.numdelims===0&&(s.unlink(),a=n.next,this.removeDelimiter(n),n=a)}else y===Me?(n.node._literal="\u2019",h&&(e.node._literal="\u2018"),n=n.next):y===$e&&(n.node._literal="\u201D",h&&(e.node.literal="\u201C"),n=n.next);h||(d[m]=r.previous,r.can_open||this.removeDelimiter(r))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},p8=function(){var t=this.match(z9);return t===null?null:dr(t.slice(1,-1))},y8=function(){var t=this.match(X9);if(t===null){if(this.peek()===xs)return null;for(var e=this.pos,n=0,r;(r=this.peek())!==-1;)if(r===bs&&Ns.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(r===vs)this.pos+=1,n+=1;else if(r===pr){if(n<1)break;this.pos+=1,n-=1}else{if(Ss.exec(mr(r))!==null)break;this.pos+=1}return this.pos===e&&r!==pr||n!==0?null:(t=this.subject.slice(e,this.pos),u1(dr(t)))}else return u1(dr(t.slice(1,-1)))},x8=function(){var t=this.match(n8);return t===null||t.length>1001?0:t.length},b8=function(t){var e=this.pos;this.pos+=1;var n=Dt("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},v8=function(t){var e=this.pos;if(this.pos+=1,this.peek()===ys){this.pos+=1;var n=Dt("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(Dt("!"));return!0},w8=function(t){var e,n,r,i,s=!1,a,u;if(this.pos+=1,e=this.pos,u=this.brackets,u===null)return t.appendChild(Dt("]")),!0;if(!u.active)return t.appendChild(Dt("]")),this.removeBracket(),!0;n=u.image;var c=this.pos;if(this.peek()===vs&&(this.pos++,this.spnl()&&(r=this.parseLinkDestination())!==null&&this.spnl()&&(Ss.test(this.subject.charAt(this.pos-1))&&(i=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===pr?(this.pos+=1,s=!0):this.pos=c),!s){var l=this.pos,h=this.parseLinkLabel();if(h>2?a=this.subject.slice(l,l+h):u.bracketAfter||(a=this.subject.slice(u.index,e)),h===0&&(this.pos=c),a){var d=this.refmap[Cs(a)];d&&(r=d.destination,i=d.title,s=!0)}}if(s){var m=new St(n?"image":"link");m._destination=r,m._title=i||"";var f,g;for(f=u.node._next;f;)g=f._next,f.unlink(),m.appendChild(f),f=g;if(t.appendChild(m),this.processEmphasis(u.previousDelimiter),this.removeBracket(),u.node.unlink(),!n)for(u=this.brackets;u!==null;)u.image||(u.active=!1),u=u.previous;return!0}else return this.removeBracket(),this.pos=e,t.appendChild(Dt("]")),!0},k8=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}},N8=function(){this.brackets=this.brackets.previous},S8=function(t){var e;return(e=this.match(Y9))?(t.appendChild(Dt(as.decodeHTMLStrict(e))),!0):!1},A8=function(t){var e;return(e=this.match(r8))?(this.options.smart?t.appendChild(Dt(e.replace(W9,"\u2026").replace(K9,function(n){var r=0,i=0;return n.length%3===0?i=n.length/3:n.length%2===0?r=n.length/2:n.length%3===2?(r=1,i=(n.length-2)/3):(r=2,i=(n.length-4)/3),"\u2014".repeat(i)+"\u2013".repeat(r)}))):t.appendChild(Dt(e)),!0):!1},E8=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(t8,""),t.appendChild(new St(n?"linebreak":"softbreak"))}else t.appendChild(new St("softbreak"));return this.match(e8),!0},C8=function(t,e){this.subject=t,this.pos=0;var n,r,i,s,a=this.pos;if(s=this.parseLinkLabel(),s===0)return 0;if(n=this.subject.slice(0,s),this.peek()===H9)this.pos++;else return this.pos=a,0;if(this.spnl(),r=this.parseLinkDestination(),r===null)return this.pos=a,0;var u=this.pos;this.spnl(),this.pos!==u&&(i=this.parseLinkTitle()),i===null&&(this.pos=u);var c=!0;if(this.match(Es)===null&&(i===null?c=!1:(i=null,this.pos=u,c=this.match(Es)!==null)),!c)return this.pos=a,0;var l=Cs(n);return l===""?(this.pos=a,0):(e[l]||(e[l]={destination:r,title:i===null?"":i}),this.pos-a)},T8=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case ps:e=this.parseNewline(t);break;case bs:e=this.parseBackslash(t);break;case D9:e=this.parseBackticks(t);break;case gr:case h1:e=this.handleDelim(n,t);break;case Me:case $e:e=this.options.smart&&this.handleDelim(n,t);break;case ys:e=this.parseOpenBracket(t);break;case R9:e=this.parseBang(t);break;case j9:e=this.parseCloseBracket(t);break;case xs:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case I9:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(Dt(mr(n)))),!0},M8=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 $8(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:i8,peek:o8,spnl:s8,parseBackticks:l8,parseBackslash:a8,parseAutolink:c8,parseHtmlTag:u8,scanDelims:h8,handleDelim:f8,parseLinkTitle:p8,parseLinkDestination:y8,parseLinkLabel:x8,parseOpenBracket:b8,parseBang:v8,parseCloseBracket:w8,addBracket:k8,removeBracket:N8,parseEntity:S8,parseString:A8,parseNewline:E8,parseReference:C8,parseInline:T8,processEmphasis:g8,removeDelimiter:m8,options:t||{},parse:M8}}var f1=4,Ts=9,B8=10,Ms=62,L8=60,$s=32,Bs=91,q8=[/./,/^<(?:script|pre|textarea|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Za-z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|search|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+hs+"|"+fs+")\\s*$","i")],O8=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],P8=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,V8=/^[#`~*+_=<>0-9-]/,Ls=/[^ \t\f\v\r\n]/,D8=/^[*+-]/,j8=/^(\d{1,9})([.)])/,R8=/^#{1,6}(?:[ \t]+|$)/,I8=/^`{3,}(?!.*`)|^~{3,}/,H8=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,F8=/^(?:=+|-+)[ \t]*$/,U8=/\r\n|\n|\r/,z8=function(t){return!Ls.test(t)},gn=function(t){return t===$s||t===Ts},Ut=function(t,e){return e<t.length?t.charCodeAt(e):-1},qs=function(t){return t.next&&t.sourcepos[1][0]!==t.next.sourcepos[0][0]-1},X8=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
- `},Y8=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,r=new St(t,[[this.lineNumber,n],[0,0]]);return r._string_content="",this.tip.appendChild(r),this.tip=r,r},_8=function(t,e){var n=t.currentLine.slice(t.nextNonspace),r,i,s,a,u={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:t.indent};if(t.indent>=4)return null;if(r=n.match(D8))u.type="bullet",u.bulletChar=r[0][0];else if((r=n.match(j8))&&(e.type!=="paragraph"||r[1]==1))u.type="ordered",u.start=parseInt(r[1]),u.delimiter=r[2];else return null;if(i=Ut(t.currentLine,t.nextNonspace+r[0].length),!(i===-1||i===Ts||i===$s)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+r[0].length).match(Ls))return null;t.advanceNextNonspace(),t.advanceOffset(r[0].length,!0),s=t.column,a=t.offset;do t.advanceOffset(1,!0),i=Ut(t.currentLine,t.offset);while(t.column-s<5&&gn(i));var c=Ut(t.currentLine,t.offset)===-1,l=t.column-s;return l>=5||l<1||c?(u.padding=r[0].length+1,t.column=s,t.offset=a,gn(Ut(t.currentLine,t.offset))&&t.advanceOffset(1,!0)):u.padding=r[0].length+l,u},G8=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},W8=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}},K8=function(t,e){for(var n,r,i=e.walker(),s=[];n=i.next();)if(r=n.node,n.entering&&r.type==="paragraph"){for(var a,u=!1;Ut(r._string_content,0)===Bs&&(a=t.inlineParser.parseReference(r._string_content,t.refmap));){const c=r._string_content.slice(0,a);r._string_content=r._string_content.slice(a),u=!0;const l=c.split(`
7
- `);r.sourcepos[0][0]+=l.length-1}u&&z8(r._string_content)&&s.push(r)}for(r of s)r.unlink()},Os={document:{continue:function(){return 0},finalize:function(t,e){K8(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&&qs(n)){e._listData.tight=!1;break}for(var r=n._firstChild;r;){if(r._next&&qs(r)){e._listData.tight=!1;break}r=r._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&&Ut(e,t.nextNonspace)===Ms)t.advanceNextNonspace(),t.advanceOffset(1,!1),gn(Ut(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,r=t.indent;if(e._isFenced){var i=r<=3&&n.charAt(t.nextNonspace)===e._fenceChar&&n.slice(t.nextNonspace).match(H8);if(i&&i[0].length>=e._fenceLength)return t.lastLineLength=t.offset+r+i[0].length,t.finalize(e,t.lineNumber),2;for(var s=e._fenceOffset;s>0&&gn(Ut(n,t.offset));)t.advanceOffset(1,!0),s--}else if(r>=f1)t.advanceOffset(f1,!0);else if(t.blank)t.advanceNextNonspace();else return 1;return 0},finalize:function(t,e){if(e._isFenced){var n=e._string_content,r=n.indexOf(`
8
- `),i=n.slice(0,r),s=n.slice(r+1);e.info=gs(i.trim()),e._literal=s}else{for(var a=e._string_content.split(`
9
- `);/^[ \t]*$/.test(a[a.length-1]);)a.pop();e._literal=a.join(`
5
+ `:r=mr(i),h=Ds.test(r),d=Os.test(r),m=Ds.test(n),f=Os.test(n),c=!h&&(!d||m||f),u=!m&&(!f||h||d),t===h1?(a=c&&(!u||f),l=u&&(!c||d)):t===Be||t===Le?(a=c&&!u,l=u):(a=c,l=u),this.pos=s,{numdelims:e,can_open:a,can_close:l})},S8=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var r=n.numdelims,i=this.pos,s;this.pos+=r,t===Be?s="\u2019":t===Le?s="\u201C":s=this.subject.slice(i,this.pos);var c=Dt(s);return e.appendChild(c),(n.can_open||n.can_close)&&(this.options.smart||t!==Be&&t!==Le)&&(this.delimiters={cc:t,numdelims:r,origdelims:r,node:c,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},E8=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},C8=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},T8=function(t){for(var e,n,r,i,s,c,u,a,l,h,d=[],m,f=!1,g=0;g<14;g++)d[g]=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 Be:m=0;break;case Le:m=1;break;case h1:m=2+(n.can_open?3:0)+n.origdelims%3;break;case gr:m=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==d[m];){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(r=n,y===gr||y===h1)if(!h)n=n.next;else{u=n.numdelims>=2&&e.numdelims>=2?2:1,i=e.node,s=n.node,e.numdelims-=u,n.numdelims-=u,i._literal=i._literal.slice(0,i._literal.length-u),s._literal=s._literal.slice(0,s._literal.length-u);var x=new Nt(u===1?"emph":"strong");for(a=i._next;a&&a!==s;)l=a._next,a.unlink(),x.appendChild(a),a=l;i.insertAfter(x),C8(e,n),e.numdelims===0&&(i.unlink(),this.removeDelimiter(e)),n.numdelims===0&&(s.unlink(),c=n.next,this.removeDelimiter(n),n=c)}else y===Be?(n.node._literal="\u2019",h&&(e.node._literal="\u2018"),n=n.next):y===Le&&(n.node._literal="\u201D",h&&(e.node.literal="\u201C"),n=n.next);h||(d[m]=r.previous,r.can_open||this.removeDelimiter(r))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},$8=function(){var t=this.match(r8);return t===null?null:dr(t.slice(1,-1))},M8=function(){var t=this.match(i8);if(t===null){if(this.peek()===Ms)return null;for(var e=this.pos,n=0,r;(r=this.peek())!==-1;)if(r===Bs&&Ps.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(r===Ls)this.pos+=1,n+=1;else if(r===pr){if(n<1)break;this.pos+=1,n-=1}else{if(Vs.exec(mr(r))!==null)break;this.pos+=1}return this.pos===e&&r!==pr||n!==0?null:(t=this.subject.slice(e,this.pos),u1(dr(t)))}else return u1(dr(t.slice(1,-1)))},B8=function(){var t=this.match(g8);return t===null||t.length>1001?0:t.length},L8=function(t){var e=this.pos;this.pos+=1;var n=Dt("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},q8=function(t){var e=this.pos;if(this.pos+=1,this.peek()===$s){this.pos+=1;var n=Dt("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(Dt("!"));return!0},O8=function(t){var e,n,r,i,s=!1,c,u;if(this.pos+=1,e=this.pos,u=this.brackets,u===null)return t.appendChild(Dt("]")),!0;if(!u.active)return t.appendChild(Dt("]")),this.removeBracket(),!0;n=u.image;var a=this.pos;if(this.peek()===Ls&&(this.pos++,this.spnl()&&(r=this.parseLinkDestination())!==null&&this.spnl()&&(Vs.test(this.subject.charAt(this.pos-1))&&(i=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===pr?(this.pos+=1,s=!0):this.pos=a),!s){var l=this.pos,h=this.parseLinkLabel();if(h>2?c=this.subject.slice(l,l+h):u.bracketAfter||(c=this.subject.slice(u.index,e)),h===0&&(this.pos=a),c){var d=this.refmap[Rs(c)];d&&(r=d.destination,i=d.title,s=!0)}}if(s){var m=new Nt(n?"image":"link");m._destination=r,m._title=i||"";var f,g;for(f=u.node._next;f;)g=f._next,f.unlink(),m.appendChild(f),f=g;if(t.appendChild(m),this.processEmphasis(u.previousDelimiter),this.removeBracket(),u.node.unlink(),!n)for(u=this.brackets;u!==null;)u.image||(u.active=!1),u=u.previous;return!0}else return this.removeBracket(),this.pos=e,t.appendChild(Dt("]")),!0},P8=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}},V8=function(){this.brackets=this.brackets.previous},D8=function(t){var e;return(e=this.match(o8))?(t.appendChild(Dt(vs.decodeHTMLStrict(e))),!0):!1},j8=function(t){var e;return(e=this.match(p8))?(this.options.smart?t.appendChild(Dt(e.replace(a8,"\u2026").replace(c8,function(n){var r=0,i=0;return n.length%3===0?i=n.length/3:n.length%2===0?r=n.length/2:n.length%3===2?(r=1,i=(n.length-2)/3):(r=2,i=(n.length-4)/3),"\u2014".repeat(i)+"\u2013".repeat(r)}))):t.appendChild(Dt(e)),!0):!1},R8=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(m8,""),t.appendChild(new Nt(n?"linebreak":"softbreak"))}else t.appendChild(new Nt("softbreak"));return this.match(d8),!0},I8=function(t,e){this.subject=t,this.pos=0;var n,r,i,s,c=this.pos;if(s=this.parseLinkLabel(),s===0)return 0;if(n=this.subject.slice(0,s),this.peek()===t8)this.pos++;else return this.pos=c,0;if(this.spnl(),r=this.parseLinkDestination(),r===null)return this.pos=c,0;var u=this.pos;this.spnl(),this.pos!==u&&(i=this.parseLinkTitle()),i===null&&(this.pos=u);var a=!0;if(this.match(js)===null&&(i===null?a=!1:(i=null,this.pos=u,a=this.match(js)!==null)),!a)return this.pos=c,0;var l=Rs(n);return l===""?(this.pos=c,0):(e[l]||(e[l]={destination:r,title:i===null?"":i}),this.pos-c)},H8=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case Ts:e=this.parseNewline(t);break;case Bs:e=this.parseBackslash(t);break;case K9:e=this.parseBackticks(t);break;case gr:case h1:e=this.handleDelim(n,t);break;case Be:case Le:e=this.options.smart&&this.handleDelim(n,t);break;case $s:e=this.parseOpenBracket(t);break;case Q9:e=this.parseBang(t);break;case Z9:e=this.parseCloseBracket(t);break;case Ms:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case J9:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(Dt(mr(n)))),!0},_8=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 F8(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:y8,peek:x8,spnl:b8,parseBackticks:v8,parseBackslash:w8,parseAutolink:k8,parseHtmlTag:A8,scanDelims:N8,handleDelim:S8,parseLinkTitle:$8,parseLinkDestination:M8,parseLinkLabel:B8,parseOpenBracket:L8,parseBang:q8,parseCloseBracket:O8,addBracket:P8,removeBracket:V8,parseEntity:D8,parseString:j8,parseNewline:R8,parseReference:I8,parseInline:H8,processEmphasis:T8,removeDelimiter:E8,options:t||{},parse:_8}}var f1=4,Is=9,U8=10,Hs=62,z8=60,_s=32,Fs=91,X8=[/./,/^<(?: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("^(?:"+As+"|"+Ns+")\\s*$","i")],Y8=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],G8=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,W8=/^[#`~*+_=<>0-9-]/,Us=/[^ \t\f\v\r\n]/,K8=/^[*+-]/,Z8=/^(\d{1,9})([.)])/,Q8=/^#{1,6}(?:[ \t]+|$)/,J8=/^`{3,}(?!.*`)|^~{3,}/,t5=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,e5=/^(?:=+|-+)[ \t]*$/,n5=/\r\n|\n|\r/,r5=function(t){return!Us.test(t)},gn=function(t){return t===_s||t===Is},Ft=function(t,e){return e<t.length?t.charCodeAt(e):-1},zs=function(t){return t.next&&t.sourcepos[1][0]!==t.next.sourcepos[0][0]-1},i5=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
+ `},o5=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,r=new Nt(t,[[this.lineNumber,n],[0,0]]);return r._string_content="",this.tip.appendChild(r),this.tip=r,r},s5=function(t,e){var n=t.currentLine.slice(t.nextNonspace),r,i,s,c,u={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:t.indent};if(t.indent>=4)return null;if(r=n.match(K8))u.type="bullet",u.bulletChar=r[0][0];else if((r=n.match(Z8))&&(e.type!=="paragraph"||r[1]==1))u.type="ordered",u.start=parseInt(r[1]),u.delimiter=r[2];else return null;if(i=Ft(t.currentLine,t.nextNonspace+r[0].length),!(i===-1||i===Is||i===_s)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+r[0].length).match(Us))return null;t.advanceNextNonspace(),t.advanceOffset(r[0].length,!0),s=t.column,c=t.offset;do t.advanceOffset(1,!0),i=Ft(t.currentLine,t.offset);while(t.column-s<5&&gn(i));var a=Ft(t.currentLine,t.offset)===-1,l=t.column-s;return l>=5||l<1||a?(u.padding=r[0].length+1,t.column=s,t.offset=c,gn(Ft(t.currentLine,t.offset))&&t.advanceOffset(1,!0)):u.padding=r[0].length+l,u},l5=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},a5=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}},c5=function(t,e){for(var n,r,i=e.walker(),s=[];n=i.next();)if(r=n.node,n.entering&&r.type==="paragraph"){for(var c,u=!1;Ft(r._string_content,0)===Fs&&(c=t.inlineParser.parseReference(r._string_content,t.refmap));){const a=r._string_content.slice(0,c);r._string_content=r._string_content.slice(c),u=!0;const l=a.split(`
7
+ `);r.sourcepos[0][0]+=l.length-1}u&&r5(r._string_content)&&s.push(r)}for(r of s)r.unlink()},Xs={document:{continue:function(){return 0},finalize:function(t,e){c5(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&&zs(n)){e._listData.tight=!1;break}for(var r=n._firstChild;r;){if(r._next&&zs(r)){e._listData.tight=!1;break}r=r._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&&Ft(e,t.nextNonspace)===Hs)t.advanceNextNonspace(),t.advanceOffset(1,!1),gn(Ft(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,r=t.indent;if(e._isFenced){var i=r<=3&&n.charAt(t.nextNonspace)===e._fenceChar&&n.slice(t.nextNonspace).match(t5);if(i&&i[0].length>=e._fenceLength)return t.lastLineLength=t.offset+r+i[0].length,t.finalize(e,t.lineNumber),2;for(var s=e._fenceOffset;s>0&&gn(Ft(n,t.offset));)t.advanceOffset(1,!0),s--}else if(r>=f1)t.advanceOffset(f1,!0);else if(t.blank)t.advanceNextNonspace();else return 1;return 0},finalize:function(t,e){if(e._isFenced){var n=e._string_content,r=n.indexOf(`
8
+ `),i=n.slice(0,r),s=n.slice(r+1);e.info=Cs(i.trim()),e._literal=s}else{for(var c=e._string_content.split(`
9
+ `);/^[ \t]*$/.test(c[c.length-1]);)c.pop();e._literal=c.join(`
10
10
  `)+`
11
- `,e.sourcepos[1][0]=e.sourcepos[0][0]+a.length-1,e.sourcepos[1][1]=e.sourcepos[0][1]+a[a.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}},Z8=[function(t){return!t.indented&&Ut(t.currentLine,t.nextNonspace)===Ms?(t.advanceNextNonspace(),t.advanceOffset(1,!1),gn(Ut(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(R8))){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(I8))){var n=e[0].length;t.closeUnmatchedBlocks();var r=t.addChild("code_block",t.nextNonspace);return r._isFenced=!0,r._fenceLength=n,r._fenceChar=e[0][0],r._fenceOffset=t.indent,t.advanceNextNonspace(),t.advanceOffset(n,!1),2}else return 0},function(t,e){if(!t.indented&&Ut(t.currentLine,t.nextNonspace)===L8){var n=t.currentLine.slice(t.nextNonspace),r;for(r=1;r<=7;r++)if(q8[r].test(n)&&(r<7||e.type!=="paragraph"&&!(!t.allClosed&&!t.blank&&t.tip.type==="paragraph"))){t.closeUnmatchedBlocks();var i=t.addChild("html_block",t.offset);return i._htmlBlockType=r,2}}return 0},function(t,e){var n;if(!t.indented&&e.type==="paragraph"&&(n=t.currentLine.slice(t.nextNonspace).match(F8))){t.closeUnmatchedBlocks();for(var r;Ut(e._string_content,0)===Bs&&(r=t.inlineParser.parseReference(e._string_content,t.refmap));)e._string_content=e._string_content.slice(r);if(e._string_content.length>0){var i=new St("heading",e.sourcepos);return i.level=n[0][0]==="="?1:2,i._string_content=e._string_content,e.insertAfter(i),e.unlink(),t.tip=i,t.advanceOffset(t.currentLine.length-t.offset,!1),2}else return 0}else return 0},function(t){return!t.indented&&P8.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=_8(t,e))?(t.closeUnmatchedBlocks(),(t.tip.type!=="list"||!G8(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(f1,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],Q8=function(t,e){for(var n=this.currentLine,r,i,s;t>0&&(s=n[this.offset]);)s===" "?(r=4-this.column%4,e?(this.partiallyConsumedTab=r>t,i=r>t?t:r,this.column+=i,this.offset+=this.partiallyConsumedTab?0:1,t-=i):(this.partiallyConsumedTab=!1,this.column+=r,this.offset+=1,t-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,t-=1)},J8=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},t5=function(){for(var t=this.currentLine,e=this.offset,n=this.column,r;(r=t.charAt(e))!=="";)if(r===" ")e++,n++;else if(r===" ")e++,n+=4-n%4;else break;this.blank=r===`
12
- `||r==="\r"||r==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=f1},e5=function(t){var e=!0,n,r=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 i;(i=r._lastChild)&&i._open;){switch(r=i,this.findNextNonspace(),this.blocks[r.type].continue(this,r)){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){r=r._parent;break}}this.allClosed=r===this.oldtip,this.lastMatchedContainer=r;for(var s=r.type!=="paragraph"&&Os[r.type].acceptsLines,a=this.blockStarts,u=a.length;!s;){if(this.findNextNonspace(),!this.indented&&!V8.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var c=0;c<u;){var l=a[c](this,r);if(l===1){r=this.tip;break}else if(l===2){r=this.tip,s=!0;break}else c++}if(c===u){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&&O8[r._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=t.length,this.finalize(r,this.lineNumber))):this.offset<t.length&&!this.blank&&(r=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())),this.lastLineLength=t.length},n5=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},r5=function(t){var e,n,r,i=t.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=i.next();)e=n.node,r=e.type,!n.entering&&(r==="paragraph"||r==="heading")&&this.inlineParser.parse(e)},Ps=function(){var t=new St("document",[[1,1],[0,0]]);return t},i5=function(t){this.doc=new Ps,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(U8),n=e.length;t.charCodeAt(t.length-1)===B8&&(n-=1),this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var r=0;r<n;r++)this.incorporateLine(e[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 o5(t){return{doc:new Ps,blocks:Os,blockStarts:Z8,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 $8(t),findNextNonspace:t5,advanceOffset:Q8,advanceNextNonspace:J8,addLine:X8,addChild:Y8,incorporateLine:e5,finalize:n5,processInlines:r5,closeUnmatchedBlocks:W8,parse:i5,options:t||{}}}function Be(){}function s5(t){var e=t.walker(),n,r;for(this.buffer="",this.lastOut=`
13
- `;n=e.next();)r=n.node.type,this[r]&&this[r](n.node,n.entering);return this.buffer}function l5(t){this.buffer+=t,this.lastOut=t}function a5(){this.lastOut!==`
11
+ `,e.sourcepos[1][0]=e.sourcepos[0][0]+c.length-1,e.sourcepos[1][1]=e.sourcepos[0][1]+c[c.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}},u5=[function(t){return!t.indented&&Ft(t.currentLine,t.nextNonspace)===Hs?(t.advanceNextNonspace(),t.advanceOffset(1,!1),gn(Ft(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(Q8))){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(J8))){var n=e[0].length;t.closeUnmatchedBlocks();var r=t.addChild("code_block",t.nextNonspace);return r._isFenced=!0,r._fenceLength=n,r._fenceChar=e[0][0],r._fenceOffset=t.indent,t.advanceNextNonspace(),t.advanceOffset(n,!1),2}else return 0},function(t,e){if(!t.indented&&Ft(t.currentLine,t.nextNonspace)===z8){var n=t.currentLine.slice(t.nextNonspace),r;for(r=1;r<=7;r++)if(X8[r].test(n)&&(r<7||e.type!=="paragraph"&&!(!t.allClosed&&!t.blank&&t.tip.type==="paragraph"))){t.closeUnmatchedBlocks();var i=t.addChild("html_block",t.offset);return i._htmlBlockType=r,2}}return 0},function(t,e){var n;if(!t.indented&&e.type==="paragraph"&&(n=t.currentLine.slice(t.nextNonspace).match(e5))){t.closeUnmatchedBlocks();for(var r;Ft(e._string_content,0)===Fs&&(r=t.inlineParser.parseReference(e._string_content,t.refmap));)e._string_content=e._string_content.slice(r);if(e._string_content.length>0){var i=new Nt("heading",e.sourcepos);return i.level=n[0][0]==="="?1:2,i._string_content=e._string_content,e.insertAfter(i),e.unlink(),t.tip=i,t.advanceOffset(t.currentLine.length-t.offset,!1),2}else return 0}else return 0},function(t){return!t.indented&&G8.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=s5(t,e))?(t.closeUnmatchedBlocks(),(t.tip.type!=="list"||!l5(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(f1,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],h5=function(t,e){for(var n=this.currentLine,r,i,s;t>0&&(s=n[this.offset]);)s===" "?(r=4-this.column%4,e?(this.partiallyConsumedTab=r>t,i=r>t?t:r,this.column+=i,this.offset+=this.partiallyConsumedTab?0:1,t-=i):(this.partiallyConsumedTab=!1,this.column+=r,this.offset+=1,t-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,t-=1)},f5=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},m5=function(){for(var t=this.currentLine,e=this.offset,n=this.column,r;(r=t.charAt(e))!=="";)if(r===" ")e++,n++;else if(r===" ")e++,n+=4-n%4;else break;this.blank=r===`
12
+ `||r==="\r"||r==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=f1},d5=function(t){var e=!0,n,r=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 i;(i=r._lastChild)&&i._open;){switch(r=i,this.findNextNonspace(),this.blocks[r.type].continue(this,r)){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){r=r._parent;break}}this.allClosed=r===this.oldtip,this.lastMatchedContainer=r;for(var s=r.type!=="paragraph"&&Xs[r.type].acceptsLines,c=this.blockStarts,u=c.length;!s;){if(this.findNextNonspace(),!this.indented&&!W8.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var a=0;a<u;){var l=c[a](this,r);if(l===1){r=this.tip;break}else if(l===2){r=this.tip,s=!0;break}else a++}if(a===u){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&&Y8[r._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=t.length,this.finalize(r,this.lineNumber))):this.offset<t.length&&!this.blank&&(r=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())),this.lastLineLength=t.length},g5=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},p5=function(t){var e,n,r,i=t.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=i.next();)e=n.node,r=e.type,!n.entering&&(r==="paragraph"||r==="heading")&&this.inlineParser.parse(e)},Ys=function(){var t=new Nt("document",[[1,1],[0,0]]);return t},y5=function(t){this.doc=new Ys,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(n5),n=e.length;t.charCodeAt(t.length-1)===U8&&(n-=1),this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var r=0;r<n;r++)this.incorporateLine(e[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 x5(t){return{doc:new Ys,blocks:Xs,blockStarts:u5,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 F8(t),findNextNonspace:m5,advanceOffset:h5,advanceNextNonspace:f5,addLine:i5,addChild:o5,incorporateLine:d5,finalize:g5,processInlines:p5,closeUnmatchedBlocks:a5,parse:y5,options:t||{}}}function qe(){}function b5(t){var e=t.walker(),n,r;for(this.buffer="",this.lastOut=`
13
+ `;n=e.next();)r=n.node.type,this[r]&&this[r](n.node,n.entering);return this.buffer}function v5(t){this.buffer+=t,this.lastOut=t}function w5(){this.lastOut!==`
14
14
  `&&this.lit(`
15
- `)}function c5(t){this.lit(t)}function u5(t){return t}Be.prototype.render=s5,Be.prototype.out=c5,Be.prototype.lit=l5,Be.prototype.cr=a5,Be.prototype.esc=u5;var h5=/^javascript:|vbscript:|file:|data:/i,f5=/^data:image\/(?:png|gif|jpeg|webp)/i,Vs=function(t){return h5.test(t)&&!f5.test(t)};function m5(t,e,n){if(!(this.disableTags>0)){if(this.buffer+="<"+t,e&&e.length>0)for(var r=0,i;(i=e[r])!==void 0;)this.buffer+=" "+i[0]+'="'+i[1]+'"',r++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}}function bt(t){t=t||{},t.softbreak=t.softbreak||`
15
+ `)}function k5(t){this.lit(t)}function A5(t){return t}qe.prototype.render=b5,qe.prototype.out=k5,qe.prototype.lit=v5,qe.prototype.cr=w5,qe.prototype.esc=A5;var N5=/^javascript:|vbscript:|file:|data:/i,S5=/^data:image\/(?:png|gif|jpeg|webp)/i,Gs=function(t){return N5.test(t)&&!S5.test(t)};function E5(t,e,n){if(!(this.disableTags>0)){if(this.buffer+="<"+t,e&&e.length>0)for(var r=0,i;(i=e[r])!==void 0;)this.buffer+=" "+i[0]+'="'+i[1]+'"',r++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}}function xt(t){t=t||{},t.softbreak=t.softbreak||`
16
16
  `,this.esc=t.esc||c1,this.disableTags=0,this.lastOut=`
17
- `,this.options=t}function d5(t){this.out(t.literal)}function g5(){this.lit(this.options.softbreak)}function p5(){this.tag("br",[],!0),this.cr()}function y5(t,e){var n=this.attrs(t);e?(this.options.safe&&Vs(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 x5(t,e){e?(this.disableTags===0&&(this.options.safe&&Vs(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 b5(t,e){this.tag(e?"em":"/em")}function v5(t,e){this.tag(e?"strong":"/strong")}function w5(t,e){var n=t.parent.parent,r=this.attrs(t);n!==null&&n.type==="list"&&n.listTight||(e?(this.cr(),this.tag("p",r)):(this.tag("/p"),this.cr()))}function k5(t,e){var n="h"+t.level,r=this.attrs(t);e?(this.cr(),this.tag(n,r)):(this.tag("/"+n),this.cr())}function N5(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function S5(t){var e=t.info?t.info.split(/\s+/):[],n=this.attrs(t);if(e.length>0&&e[0].length>0){var r=this.esc(e[0]);/^language-/.exec(r)||(r="language-"+r),n.push(["class",r])}this.cr(),this.tag("pre"),this.tag("code",n),this.out(t.literal),this.tag("/code"),this.tag("/pre"),this.cr()}function A5(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function E5(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function C5(t,e){var n=t.listType==="bullet"?"ul":"ol",r=this.attrs(t);if(e){var i=t.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 T5(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function M5(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function $5(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function B5(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function L5(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function q5(t){this.lit(this.esc(t))}function O5(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}bt.prototype=Object.create(Be.prototype),bt.prototype.text=d5,bt.prototype.html_inline=M5,bt.prototype.html_block=$5,bt.prototype.softbreak=g5,bt.prototype.linebreak=p5,bt.prototype.link=y5,bt.prototype.image=x5,bt.prototype.emph=b5,bt.prototype.strong=v5,bt.prototype.paragraph=w5,bt.prototype.heading=k5,bt.prototype.code=N5,bt.prototype.code_block=S5,bt.prototype.thematic_break=A5,bt.prototype.block_quote=E5,bt.prototype.list=C5,bt.prototype.item=T5,bt.prototype.custom_inline=B5,bt.prototype.custom_block=L5,bt.prototype.esc=c1,bt.prototype.out=q5,bt.prototype.tag=m5,bt.prototype.attrs=O5;var P5=/\<[^>]*\>/;function V5(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function Ke(t){t=t||{},this.disableTags=0,this.lastOut=`
18
- `,this.indentLevel=0,this.indent=" ",this.esc=t.esc||c1,this.options=t}function D5(t){this.buffer="";var e,n,r=t.walker(),i,s,a,u,c,l,h=this.options;for(h.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
17
+ `,this.options=t}function C5(t){this.out(t.literal)}function T5(){this.lit(this.options.softbreak)}function $5(){this.tag("br",[],!0),this.cr()}function M5(t,e){var n=this.attrs(t);e?(this.options.safe&&Gs(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 B5(t,e){e?(this.disableTags===0&&(this.options.safe&&Gs(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 L5(t,e){this.tag(e?"em":"/em")}function q5(t,e){this.tag(e?"strong":"/strong")}function O5(t,e){var n=t.parent.parent,r=this.attrs(t);n!==null&&n.type==="list"&&n.listTight||(e?(this.cr(),this.tag("p",r)):(this.tag("/p"),this.cr()))}function P5(t,e){var n="h"+t.level,r=this.attrs(t);e?(this.cr(),this.tag(n,r)):(this.tag("/"+n),this.cr())}function V5(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function D5(t){var e=t.info?t.info.split(/\s+/):[],n=this.attrs(t);if(e.length>0&&e[0].length>0){var r=this.esc(e[0]);/^language-/.exec(r)||(r="language-"+r),n.push(["class",r])}this.cr(),this.tag("pre"),this.tag("code",n),this.out(t.literal),this.tag("/code"),this.tag("/pre"),this.cr()}function j5(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function R5(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function I5(t,e){var n=t.listType==="bullet"?"ul":"ol",r=this.attrs(t);if(e){var i=t.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 H5(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function _5(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function F5(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function U5(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function z5(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function X5(t){this.lit(this.esc(t))}function Y5(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}xt.prototype=Object.create(qe.prototype),xt.prototype.text=C5,xt.prototype.html_inline=_5,xt.prototype.html_block=F5,xt.prototype.softbreak=T5,xt.prototype.linebreak=$5,xt.prototype.link=M5,xt.prototype.image=B5,xt.prototype.emph=L5,xt.prototype.strong=q5,xt.prototype.paragraph=O5,xt.prototype.heading=P5,xt.prototype.code=V5,xt.prototype.code_block=D5,xt.prototype.thematic_break=j5,xt.prototype.block_quote=R5,xt.prototype.list=I5,xt.prototype.item=H5,xt.prototype.custom_inline=U5,xt.prototype.custom_block=z5,xt.prototype.esc=c1,xt.prototype.out=X5,xt.prototype.tag=E5,xt.prototype.attrs=Y5;var G5=/\<[^>]*\>/;function W5(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function Ke(t){t=t||{},this.disableTags=0,this.lastOut=`
18
+ `,this.indentLevel=0,this.indent=" ",this.esc=t.esc||c1,this.options=t}function K5(t){this.buffer="";var e,n,r=t.walker(),i,s,c,u,a,l,h=this.options;for(h.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
19
19
  `,this.buffer+=`<!DOCTYPE document SYSTEM "CommonMark.dtd">
20
- `;i=r.next();)if(a=i.entering,s=i.node,l=s.type,u=s.isContainer,c=l==="thematic_break"||l==="linebreak"||l==="softbreak",n=V5(l),a){switch(e=[],l){case"document":e.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":s.listType!==null&&e.push(["type",s.listType.toLowerCase()]),s.listStart!==null&&e.push(["start",String(s.listStart)]),s.listTight!==null&&e.push(["tight",s.listTight?"true":"false"]);var d=s.listDelimiter;if(d!==null){var m="";d==="."?m="period":m="paren",e.push(["delimiter",m])}break;case"code_block":s.info&&e.push(["info",s.info]);break;case"heading":e.push(["level",String(s.level)]);break;case"link":case"image":e.push(["destination",s.destination]),e.push(["title",s.title]);break;case"custom_inline":case"custom_block":e.push(["on_enter",s.onEnter]),e.push(["on_exit",s.onExit]);break}if(h.sourcepos){var f=s.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,c)),u)this.indentLevel+=1;else if(!u&&!c){var g=s.literal;g&&this.out(this.esc(g)),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 j5(t){this.disableTags>0?this.buffer+=t.replace(P5,""):this.buffer+=t,this.lastOut=t}function R5(){if(this.lastOut!==`
20
+ `;i=r.next();)if(c=i.entering,s=i.node,l=s.type,u=s.isContainer,a=l==="thematic_break"||l==="linebreak"||l==="softbreak",n=W5(l),c){switch(e=[],l){case"document":e.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":s.listType!==null&&e.push(["type",s.listType.toLowerCase()]),s.listStart!==null&&e.push(["start",String(s.listStart)]),s.listTight!==null&&e.push(["tight",s.listTight?"true":"false"]);var d=s.listDelimiter;if(d!==null){var m="";d==="."?m="period":m="paren",e.push(["delimiter",m])}break;case"code_block":s.info&&e.push(["info",s.info]);break;case"heading":e.push(["level",String(s.level)]);break;case"link":case"image":e.push(["destination",s.destination]),e.push(["title",s.title]);break;case"custom_inline":case"custom_block":e.push(["on_enter",s.onEnter]),e.push(["on_exit",s.onExit]);break}if(h.sourcepos){var f=s.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)),u)this.indentLevel+=1;else if(!u&&!a){var g=s.literal;g&&this.out(this.esc(g)),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 Z5(t){this.disableTags>0?this.buffer+=t.replace(G5,""):this.buffer+=t,this.lastOut=t}function Q5(){if(this.lastOut!==`
22
22
  `){this.buffer+=`
23
23
  `,this.lastOut=`
24
- `;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function I5(t,e,n){var r="<"+t;if(e&&e.length>0)for(var i=0,s;(s=e[i])!==void 0;)r+=" "+s[0]+'="'+this.esc(s[1])+'"',i++;return n&&(r+=" /"),r+=">",r}Ke.prototype=Object.create(Be.prototype),Ke.prototype.render=D5,Ke.prototype.out=j5,Ke.prototype.cr=R5,Ke.prototype.tag=I5,Ke.prototype.esc=c1;const H5=["text-anchor","font-size"],F5={key:0},pn={__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 o5,n=o.useTemplateRef("ele"),r=o.reactive({width:0,height:0});o.watch([n,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([a])=>{if(!a)return;await o.nextTick();let{width:u,height:c}=a.getBBox();r.width=u,r.height=c});const i=o.computed(()=>{let{width:a,height:u}=r,c=[],l=({start:-.5,end:.5}[t.textAnchor]??0)*a;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 m=a*Math.abs(Math.cos(t.angle*Math.PI/180))+u*Math.abs(Math.sin(t.angle*Math.PI/180)),f=a*Math.abs(Math.sin(t.angle*Math.PI/180))+u*Math.abs(Math.cos(t.angle*Math.PI/180)),g=t.translateX,y=t.translateY;c.push(`translate(${m*(.5-h)+g},${f*(d-.5)+y})`),t.angle&&c.push(`rotate(${t.angle})`),c.push(`translate(${l},${-u/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 m=a,f=u,g=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&&c.push(`rotate(${t.angle})`),c.push(`translate(${m*(.5-h)+g+l},${f*(d-.5)+y-u/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":Ct(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:c.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`}}),s=o.computed(()=>{const a=e.parse(String(t.text)).walker(),u=[];let c=[],l=[1],h=0,d=!0,m;for(;m=a.next();){let{node:{type:f,literal:g},entering:y}=m,w=l.at(-1);if(y){if(f==="text"||f==="code"){let S=h+(d?1:0);const $=Object.assign({x:d?t.x:null,dy:we(S||null,"em")},...c,{"font-family":f==="code"?"monospace":null,"font-size":w===1?null:`${w}em`});h=0,d=!1,u.push({text:g,vbind:$})}else if(f==="strong")c.push({"font-weight":"bold"});else if(f==="emph")c.push({"font-style":"italic"});else if(f==="softbreak"||f==="paragraph")u.push({text:`
25
- `}),d=!0;else if(f==="html_inline"){const S=g;if(S.includes("color=")){const $=S.match(/color=(['"])(.*?)\1/i)?.[2]??S.match(/color=(\S*)/)?.[1];$&&c.push({fill:$})}else S.includes("</font>")?c.pop():S.includes("<sup>")?(h-=.4*w,l.push(w*.7)):S.includes("</sup>")?(h+=.4*l.at(-1),l.pop()):S.includes("<sub>")?(h+=.25*w,l.push(w*.7)):S.includes("</sub>")&&(h-=.25*l.at(-1),l.pop())}}else["strong","emph"].includes(f)&&c.pop()}return u});return(a,u)=>(o.openBlock(),o.createElementBlock("text",o.mergeProps({ref_key:"ele",ref:n},i.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(o.openBlock(),o.createElementBlock("title",F5,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0),u[0]||(u[0]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,c=>(o.openBlock(),o.createElementBlock("tspan",o.mergeProps({ref_for:!0},c.vbind),o.toDisplayString(c.text),17))),256))],16,H5))}},Ds={__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,r={pointerdown(i){n("pointerdown",i,t.getPosition(i),t.value)},pointerup(i){n("pointerup",i,t.getPosition(i),t.value)},pointerover(i){n("pointerover",i,t.getPosition(i),t.value)},pointerout(i){n("pointerout",i,t.getPosition(i),t.value)},pointerenter(i){n("pointerenter",i,t.getPosition(i),t.value)},pointerleave(i){n("pointerleave",i,t.getPosition(i),t.value)},dblclick(i){n("dblclick",i,t.getPosition(i),t.value)},click(i){n("click",i,t.getPosition(i),t.value)},singleclick(i){n("singleclick",i,t.getPosition(i),t.value)},contextmenu(i){n("contextmenu",i,t.getPosition(i),t.value)},pointermove(i){n("pointermove",i,t.getPosition(i),t.value)},wheel(i){n("wheel",i,t.getPosition(i),t.value)}};return(i,s)=>t.type=="markdown"?(o.openBlock(),o.createBlock(pn,o.mergeProps({key:0},o.toHandlers(r)),null,16)):(o.openBlock(),o.createBlock(fn,o.mergeProps({key:1},o.toHandlers(r)),null,16))}},U5=["transform"],z5=["x2"],X5={class:"vvplot-interactive",fill:"transparent"},Y5=["width","cursor"],_5={key:1,class:"vvplot-interactive",fill:"transparent"},G5=["x"],W5={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),r=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),i=o.inject("rangePreview"),s=o.computed(()=>{let p=0,x={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof x=="string"&&x.endsWith("%")?p=r.value*(1-x.slice(0,-1)/100):p=t.activeTransform.translateV+t.coord2pos({v:+x}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${p})`}),a=o.computed(()=>{let p=t.theme.title_position??t.theme.tick_position,x=p,N=t.theme.title_dock_x,b=t.theme.title_dock_y,k=0;return typeof p!="number"&&(x={left:0,bottom:.5,top:.5,right:1}[p]??.5,N??={left:1,right:0}[p]??.5,b??={top:0,bottom:1}[p]??.5,k=({top:-1,bottom:1}[p]??0)*(t.theme.title_offset??0)),{x:n.value*x,y:k,angle:t.theme.title_angle,dockX:N,dockY:b,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),u=o.computed(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),c=o.computed(()=>{let p=[];for(let x of t.ticks){let{value:N,theme:b}=x,k=t.coord2pos({h:N}).h,P=k*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(k+=t.layout.l,k+P<0||k+P>n.value)continue;let O=(b.tick_position=="top"?-1:1)*b.tick_length;p.push({key:"line-"+N,y1:0,y2:O,x1:k,x2:k,stroke:b.tick_color,"stroke-width":b.tick_width,transform:P?`translate(${P},0)`:null,style:{transition:t.transition}})}return p.filter(x=>x.stroke!=null).sort((x,N)=>x.x1-N.x1)}),l=o.computed(()=>{let p=[];for(let x of t.ticks){let{type:N,value:b,label:k,title:P,theme:O,...X}=x,H=(O.label_position??O.tick_position)=="top",U=t.coord2pos({h:b}).h,D=U*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(U+=t.layout.l,U+D<0||U+D>n.value)continue;let I=(H?-1:1)*(O.label_offset??O.tick_length),z,Q,K,_;O.label_anchor_x!=null||O.label_anchor_y!=null?(z=O.label_anchor_x??.5,Q=O.label_anchor_y??(H?0:1)):(K=O.label_dock_x??.5,_=O.label_dock_y??(H?0:1)),p.push({wrapper:{key:"text-"+b,transform:D?`translate(${D},0)`:null,style:{transition:t.transition}},text:{x:U,y:I,angle:O.label_angle,anchorX:z,anchorY:Q,dockX:K,dockY:_,type:O.label_type,text:k,title:P??k,fontSize:O.label_size,fill:O.label_color,"font-family":"sans-serif",value:b,...X}})}return p.filter(x=>x.text.fill!=null).sort((x,N)=>x.text.x-N.text.x)}),h=o.useTemplateRef("i");function d(p){let x=h.value.getBoundingClientRect(),N=x.width/h.value.getBBox().width,b=p.clientX-x.left,k=b/N-t.layout.left,P=t.layout.left+t.layout.width-b/N,O={l:k,r:P},{x:X,y:H}=t.pos2coord({h:k});return X&&(O.x=X),H&&(O.y=H),O}const m=e;let f,g=0;function y(p){let x=d(p);m("pointerdown",p,x);let N=!1;function b(D){(Math.abs(D.screenX-p.screenX)>3||Math.abs(D.screenY-p.screenY)>3)&&(N=!0,D.currentTarget.removeEventListener("pointermove",b))}p.target.addEventListener("pointermove",b,{passive:!0});let k=t.action.find(D=>D.action=="move");if(!k)return;p.preventDefault(),p.stopPropagation(),p.target.style.cursor="grabbing",f=clearTimeout(f);let P=0,O=t.layout.width,X=t.coord2pos(k),U=h.value.getBoundingClientRect().width/h.value.getBBox().width;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=D=>{if(g+=D.movementX,!N)return;let I=ht(-g/U,{min:X.hmin-P,max:X.hmax-O}),{xmin:z,xmax:Q,ymin:K,ymax:_}=t.pos2coord({hmin:P+I,hmax:O+I});Object.assign(i,{xmin:z,xmax:Q,ymin:K,ymax:_})},p.target.onpointerup=D=>{p.target.onpointermove=null,p.target.onpointerup=null,p.target.style.cursor=null,N&&(f=setTimeout(()=>{E(k,D),g=0},300))}}function w(p){let x=t.action.find(z=>z.action=="rescale");if(!x)return;p.preventDefault(),p.stopPropagation();let{"min-range-h":N=0}=x,b=d(p),k=t.coord2pos(b).h,P=k-b.l,O=k+b.r,X=t.pos2coord({hmin:P,hmax:O}),H={min:t.coord2pos(x).hmin,max:t.coord2pos({hmin:X.hmax-N,hmax:X.hmin+N}).hmin},D=h.value.getBoundingClientRect().width/h.value.getBBox().width,I=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=z=>{I+=z.movementX;let{xmin:Q,xmax:K,ymin:_,ymax:W}=t.pos2coord({hmin:ht(O-(O-P)*b.r/Math.max(b.r-I/D,1),H),hmax:O});Object.assign(i,{xmin:Q,xmax:K,ymin:_,ymax:W})},p.target.onpointerup=z=>{p.target.onpointermove=null,p.target.onpointerup=null,E(x,z)}}function S(p){let x=t.action.find(I=>I.action=="rescale");if(!x)return;p.preventDefault(),p.stopPropagation();let{"min-range-h":N=0}=x,b=d(p),k=t.coord2pos(b).h,P=k-b.l,O=k+b.r,X=t.pos2coord({hmin:P,hmax:O}),H={min:t.coord2pos({hmin:X.hmax-N,hmax:X.hmin+N}).hmax,max:t.coord2pos(x).hmax};h.value.getBoundingClientRect().width/h.value.getBBox().width;let D=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=I=>{D+=I.movementX;let{xmin:z,xmax:Q,ymin:K,ymax:_}=t.pos2coord({hmin:P,hmax:ht(P+(O-P)*b.l/Math.max(b.l+D,1),H)});Object.assign(i,{xmin:z,xmax:Q,ymin:K,ymax:_})},p.target.onpointerup=I=>{p.target.onpointermove=null,p.target.onpointerup=null,E(x,I)}}let $=0,A;function M(p){let x=d(p);m("wheel",p,x);let N=t.action.find(b=>["zoom","nudge"].includes(b.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>b[k]==p[k]));N&&(A=clearTimeout(A),p.preventDefault(),p.stopPropagation(),m("update:transition","transform 0.1s ease-out"),$+=p.deltaY,B(N,x,$),A=setTimeout(()=>{E(N,p),$=0},300))}function B(p,x,N){if(p.action=="zoom"){let{"min-range-h":b=0,sensitivity:k=1.25}=p,P=k**(N/100),O=t.coord2pos(p),X=Math.max(x.l-Math.max(x.l,0)*P,O.hmin??-1/0),H=Math.min(x.l+Math.max(x.r,0)*P,O.hmax??1/0),{[t.coord+"min"]:U,[t.coord+"max"]:D}=t.pos2coord({hmin:X,hmax:H});if(P<1&&D-U<b){let I=(D+U)/2;U=I-b/2,D=I+b/2}i[t.coord+"min"]=U,i[t.coord+"max"]=D}if(p.action=="nudge"){let{sensitivity:b=.1}=p,k=t.coord2pos(p),P=0,O=t.layout.width,X=b*t.layout.width*(-N/120),H=ht(-X,{min:k.hmin-P,max:k.hmax-O}),{xmin:U,xmax:D,ymin:I,ymax:z}=t.pos2coord({hmin:P+H,hmax:O+H});Object.assign(i,{xmin:U,xmax:D,ymin:I,ymax:z})}}function E(p,x){let N=$t(i)??{};if(!Object.keys(N).length)return;let b=new PointerEvent(x.type,x);ke(p.emit,N,b)||m(p.action,N,b),m("rangechange",N),Object.assign(i,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(p){m("pointerup",p,d(p))},pointerover(p){m("pointerover",p,d(p))},pointerout(p){m("pointerout",p,d(p))},pointerenter(p){m("pointerenter",p,d(p))},pointerleave(p){m("pointerleave",p,d(p))},click(p){m("click",p,d(p))},singleclick(p){m("singleclick",p,d(p))},dblclick(p){m("dblclick",p,d(p))},contextmenu(p){m("contextmenu",p,d(p))},pointermove(p){m("pointermove",p,d(p))},wheel:M};return(p,x)=>(o.openBlock(),o.createElementBlock("g",{transform:s.value,style:o.normalizeStyle({transition:t.transition})},[u.value.stroke!=null?(o.openBlock(),o.createElementBlock("line",o.mergeProps({key:0,ref:"i",x1:0,x2:n.value,y1:0,y2:0},u.value),null,16,z5)):o.createCommentVNode("",!0),x[1]||(x[1]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,N=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},N),null,16))),256)),x[2]||(x[2]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,N=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},N.wrapper),[o.createVNode(Ds,o.mergeProps({ref_for:!0},N.text,{getPosition:d}),null,16)],16))),256)),x[3]||(x[3]=o.createTextVNode()),o.createElementVNode("g",X5,[o.createElementVNode("rect",o.mergeProps({width:n.value,height:10,y:-5},o.toHandlers(L,!0),{onPointerdown:y,cursor:t.action.some?.(N=>N.action=="move")?"grab":null}),null,16,Y5)]),x[4]||(x[4]=o.createTextVNode()),t.action.some?.(N=>N.action=="rescale")?(o.openBlock(),o.createElementBlock("g",_5,[o.createElementVNode("rect",o.mergeProps({width:20,height:10,y:-5,style:{cursor:"ew-resize"}},o.toHandlers(L,!0),{onPointerdown:w}),null,16),x[0]||(x[0]=o.createTextVNode()),o.createElementVNode("rect",o.mergeProps({width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"}},o.toHandlers(L,!0),{onPointerdown:S}),null,16,G5)])):o.createCommentVNode("",!0),x[5]||(x[5]=o.createTextVNode()),a.value.text?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[t.theme.title_type=="markdown"?(o.openBlock(),o.createBlock(pn,o.normalizeProps(o.mergeProps({key:0},a.value)),null,16)):(o.openBlock(),o.createBlock(fn,o.normalizeProps(o.mergeProps({key:1},a.value)),null,16))],64)):o.createCommentVNode("",!0)],12,U5))}},K5=["transform"],Z5=["y2"],Q5={class:"vvplot-interactive",fill:"transparent"},J5=["height","cursor"],t6={key:1,class:"vvplot-interactive",fill:"transparent"},e6=["y"],n6={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),r=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),i=o.inject("rangePreview"),s=o.computed(()=>{let p=0,x={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof x=="string"&&x.endsWith("%")?p=n.value*x.slice(0,-1)/100:p=t.activeTransform.translateH+t.coord2pos({h:+x}).h*t.activeTransform.scaleH+t.layout.left,`translate(${p}, 0)`}),a=o.computed(()=>{let p=t.theme.title_position??t.theme.tick_position,x=p,N=t.theme.title_dock_x,b=t.theme.title_dock_y,k=0;return typeof p!="number"&&(x={bottom:0,left:.5,right:.5,top:1}[p]??.5,N??={left:1,right:0}[p]??.5,b??={top:0,bottom:1}[p]??.5,k=({left:-1,right:1}[p]??0)*(t.theme.title_offset??0)),{x:k,y:r.value*(1-x),angle:t.theme.title_angle,dockX:N,dockY:b,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),u=o.computed(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),c=o.computed(()=>{let p=[];for(let x of t.ticks){let{value:N,theme:b}=x,k=t.coord2pos({v:N}).v,P=k*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(k+=t.layout.t,k+P<0||k+P>r.value)continue;let O=(b.tick_position=="right"?1:-1)*b.tick_length;p.push({key:"line-"+x.value,y1:k,y2:k,x1:0,x2:O,stroke:x.color??b.tick_color,"stroke-width":x.width??b.tick_width,transform:P?`translate(0,${P})`:null,style:{transition:t.transition}})}return p.filter(x=>x.stroke!=null).sort((x,N)=>x.y1-N.y1)}),l=o.computed(()=>{let p=[];for(let x of t.ticks){let{type:N,value:b,label:k,title:P,theme:O,...X}=x,H=(O.label_position??O.tick_position)=="right",U=t.coord2pos({v:b}).v,D=U*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(U+=t.layout.t,U+D<0||U+D>r.value)continue;let I=(H?1:-1)*((O.label_offset??O.tick_length)+3),z,Q,K,_;O.label_anchor_x!=null||O.label_anchor_y!=null?(z=O.label_anchor_x??(H?0:1),Q=O.label_anchor_y??.5):(K=O.label_dock_x??(H?0:1),_=O.label_dock_y??.5),p.push({wrapper:{key:"text-"+b,transform:D?`translate(0,${D})`:null,style:{transition:t.transition}},text:{y:U,x:I,angle:O.label_angle,anchorX:z,anchorY:Q,dockX:K,dockY:_,type:O.label_type,text:k,title:P??k,fontSize:O.label_size,fill:O.label_color,"font-family":"sans-serif",value:b,...X}})}return p.filter(x=>x.text.fill!=null).sort((x,N)=>x.text.y-N.text.y)}),h=o.useTemplateRef("i");function d(p){let x=h.value.getBoundingClientRect(),N=x.height/h.value.getBBox().height,b=p.clientY-x.top,k=b/N-t.layout.top,P=t.layout.top+t.layout.height-b/N,O={t:k,b:P},{x:X,y:H}=t.pos2coord({v:k});return X&&(O.x=X),H&&(O.y=H),O}const m=e;let f,g=0;function y(p){let x=d(p);m("pointerdown",p,x);let N=!1;function b(D){(Math.abs(D.screenX-p.screenX)>3||Math.abs(D.screenY-p.screenY)>3)&&(N=!0,D.currentTarget.removeEventListener("pointermove",b))}p.target.addEventListener("pointermove",b,{passive:!0});let k=t.action.find(D=>D.action=="move");if(!k)return;p.preventDefault(),p.stopPropagation(),p.target.style.cursor="grabbing",f=clearTimeout(f);let P=0,O=t.layout.height,X=t.coord2pos(k),U=h.value.getBoundingClientRect().height/h.value.getBBox().height;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=D=>{if(g+=D.movementY,!N)return;let I=ht(-g/U,{min:X.vmin-P,max:X.vmax-O}),{xmin:z,xmax:Q,ymin:K,ymax:_}=t.pos2coord({vmin:P+I,vmax:O+I});Object.assign(i,{xmin:z,xmax:Q,ymin:K,ymax:_})},p.target.onpointerup=D=>{p.target.onpointermove=null,p.target.onpointerup=null,p.target.style.cursor=null,N&&(f=setTimeout(()=>{E(k,D),g=0},300))}}function w(p){let x=t.action.find(z=>z.action=="rescale");if(!x)return;p.preventDefault(),p.stopPropagation();let{"min-range-v":N=0}=x,b=d(p),k=t.coord2pos(b).v,P=k-b.t,O=k+b.b,X=t.pos2coord({vmin:P,vmax:O}),H={min:t.coord2pos(x).vmin,max:t.coord2pos({vmin:X.vmax-N,vmax:X.vmin+N}).vmin},D=h.value.getBoundingClientRect().height/h.value.getBBox().height,I=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=z=>{I+=z.movementY;let{xmin:Q,xmax:K,ymin:_,ymax:W}=t.pos2coord({vmin:ht(O-(O-P)*b.b/Math.max(b.b-I/D,1),H),vmax:O});Object.assign(i,{xmin:Q,xmax:K,ymin:_,ymax:W})},p.target.onpointerup=z=>{p.target.onpointermove=null,p.target.onpointerup=null,E(x,z)}}function S(p){let x=t.action.find(z=>z.action=="rescale");if(!x)return;p.preventDefault(),p.stopPropagation();let{"min-range-v":N=0}=x,b=d(p),k=t.coord2pos(b).v,P=k-b.t,O=k+b.b,X=t.pos2coord({vmin:P,vmax:O}),H={min:t.coord2pos({vmin:X.vmax-N,vmax:X.vmin+N}).vmax,max:t.coord2pos(x).vmax},D=h.value.getBoundingClientRect().height/h.value.getBBox().height,I=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=z=>{I+=z.movementY;let{xmin:Q,xmax:K,ymin:_,ymax:W}=t.pos2coord({vmin:P,vmax:ht(P+(O-P)*b.t/Math.max(b.t+I/D,1),H)});Object.assign(i,{xmin:Q,xmax:K,ymin:_,ymax:W})},p.target.onpointerup=z=>{p.target.onpointermove=null,p.target.onpointerup=null,E(x,z)}}let $=0,A;function M(p){let x=d(p);m("wheel",p,x);let N=t.action.find(b=>["zoom","nudge"].includes(b.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>b[k]==p[k]));N&&(A=clearTimeout(A),p.preventDefault(),p.stopPropagation(),m("update:transition","transform 0.1s ease-out"),$+=p.deltaY,B(N,x,$),A=setTimeout(()=>{E(N,p),$=0},300))}function B(p,x,N){if(p.action=="zoom"){let{"min-range-v":b=0,sensitivity:k=1.25}=p,P=k**(N/100),O=t.coord2pos(p),X=Math.max(x.t-Math.max(x.t,0)*P,O.vmin??-1/0),H=Math.min(x.t+Math.max(x.b,0)*P,O.vmax??1/0),{[t.coord+"min"]:U,[t.coord+"max"]:D}=t.pos2coord({vmin:X,vmax:H});if(P<1&&D-U<b){let I=(D+U)/2;U=I-b/2,D=I+b/2}i[t.coord+"min"]=U,i[t.coord+"max"]=D}if(p.action=="nudge"){let{sensitivity:b=.1}=p,k=t.coord2pos(p),P=0,O=t.layout.height,X=b*t.layout.height*(-N/120),H=ht(-X,{min:k.vmin-P,max:k.vmax-O}),{xmin:U,xmax:D,ymin:I,ymax:z}=t.pos2coord({vmin:P+H,vmax:O+H});Object.assign(i,{xmin:U,xmax:D,ymin:I,ymax:z})}}function E(p,x){let N=$t(i)??{};if(!Object.keys(N).length)return;let b=new PointerEvent(x.type,x);ke(p.emit,N,b)||m(p.action,N,b),m("rangechange",N),Object.assign(i,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(p){m("pointerup",p,d(p))},pointerover(p){m("pointerover",p,d(p))},pointerout(p){m("pointerout",p,d(p))},pointerenter(p){m("pointerenter",p,d(p))},pointerleave(p){m("pointerleave",p,d(p))},click(p){m("click",p,d(p))},singleclick(p){m("singleclick",p,d(p))},dblclick(p){m("dblclick",p,d(p))},contextmenu(p){m("contextmenu",p,d(p))},pointermove(p){m("pointermove",p,d(p))},wheel:M};return(p,x)=>(o.openBlock(),o.createElementBlock("g",{transform:s.value,style:o.normalizeStyle({transition:t.transition})},[u.value.stroke!=null?(o.openBlock(),o.createElementBlock("line",o.mergeProps({key:0,ref:"i",x1:0,x2:0,y1:0,y2:r.value},u.value),null,16,Z5)):o.createCommentVNode("",!0),x[1]||(x[1]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,N=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},N),null,16))),256)),x[2]||(x[2]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,N=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},N.wrapper),[o.createVNode(Ds,o.mergeProps({ref_for:!0},N.text,{getPosition:d}),null,16)],16))),256)),x[3]||(x[3]=o.createTextVNode()),o.createElementVNode("g",Q5,[o.createElementVNode("rect",o.mergeProps({width:10,height:r.value,x:-5},o.toHandlers(L,!0),{onPointerdown:y,cursor:t.action.some?.(N=>N.action=="move")?"grab":null}),null,16,J5)]),x[4]||(x[4]=o.createTextVNode()),t.action.some?.(N=>N.action=="rescale")?(o.openBlock(),o.createElementBlock("g",t6,[o.createElementVNode("rect",o.mergeProps({width:10,height:20,x:-5,style:{cursor:"ns-resize"}},o.toHandlers(L,!0),{onPointerdown:w}),null,16),x[0]||(x[0]=o.createTextVNode()),o.createElementVNode("rect",o.mergeProps({width:10,height:20,x:-5,y:r.value-20,style:{cursor:"ns-resize"}},o.toHandlers(L,!0),{onPointerdown:S}),null,16,e6)])):o.createCommentVNode("",!0),x[5]||(x[5]=o.createTextVNode()),a.value.text?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[t.theme.title_type=="markdown"?(o.openBlock(),o.createBlock(pn,o.normalizeProps(o.mergeProps({key:0},a.value)),null,16)):(o.openBlock(),o.createBlock(fn,o.normalizeProps(o.mergeProps({key:1},a.value)),null,16))],64)):o.createCommentVNode("",!0)],12,K5))}},js={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:W5,v:n6};return(n,r)=>t.position!="none"?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):o.createCommentVNode("",!0)}},r6={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),n=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),r=o.computed(()=>{let a=[];for(let u of t.breaks){if(u.type!="major")continue;let c=t.coord2pos({v:u.value}).v;if(isNaN(c))continue;let l=c*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;c+=t.layout.t,!(c+l<0||c+l>n.value)&&a.push({key:"major-"+u.value,x1:0,x2:e.value,y1:c,y2:c,stroke:u.theme.grid_color_major,"stroke-width":u.theme.grid_width_major??0,transform:l?`translate(0,${l})`:null,style:{transition:t.transition}})}return a.filter(u=>u.stroke!==null)}),i=o.computed(()=>{let a=[];for(let u of t.breaks){if(u.type!="minor")continue;let c=t.coord2pos({v:u.value}).v;if(isNaN(c))continue;let l=c*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;c+=t.layout.t,!(c+l<0||c+l>n.value)&&a.push({key:"minor-"+u.value,x1:0,x2:e.value,y1:c,y2:c,stroke:u.theme.grid_color_minor,"stroke-width":u.theme.grid_width_minor??0,transform:l?`translate(0,${l})`:null,style:{transition:t.transition}})}return a.filter(u=>u.stroke!==null)}),s=o.computed(()=>i.value.concat(r.value).sort((a,u)=>a.y1-u.y1));return(a,u)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,c=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},c,{style:{transition:t.transition}}),null,16))),256))]))}},i6={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),n=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),r=o.computed(()=>{let a=[];for(let u of t.breaks){if(u.type!="major")continue;let c=t.coord2pos({h:u.value}).h;if(isNaN(c))continue;let l=c*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;c+=t.layout.l,!(c+l<0||c+l>e.value)&&a.push({key:"major-"+u.value,y1:0,y2:n.value,x1:c,x2:c,stroke:u.theme.grid_color_major,"stroke-width":u.theme.grid_width_major??0,transform:l?`translate(${l},0)`:null,style:{transition:t.transition}})}return a.filter(u=>u.stroke!==null)}),i=o.computed(()=>{let a=[];for(let u of t.breaks){if(u.type!="minor")continue;let c=t.coord2pos({h:u.value}).h;if(isNaN(c))continue;let l=c*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;c+=t.layout.l,!(c+l<0||c+l>e.value)&&a.push({key:"minor-"+u.value,y1:0,y2:n.value,x1:c,x2:c,stroke:u.theme.grid_color_minor,"stroke-width":u.theme.grid_width_minor??0,transform:l?`translate(${l},0)`:null,style:{transition:t.transition}})}return a.filter(u=>u.stroke!==null)}),s=o.computed(()=>i.value.concat(r.value).sort((a,u)=>a.x1-u.x1));return(a,u)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,c=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},c,{style:{transition:t.transition}}),null,16))),256))]))}},o6={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const c=document.createElement("canvas");c.style.width=s.value.width+"px",c.style.height=s.value.height+"px",c.width=s.value.width*t.dpi/96,c.height=s.value.height*t.dpi/96;const l=c.getContext("2d");l.clearRect(0,0,c.width,c.height),l.scale(t.dpi/96,t.dpi/96),l.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(const m of t.data)for(let{x:f,xmin:g,xmax:y,y:w,ymin:S,ymax:$,lwisker:A,Q1:M,median:B,Q3:E,uwisker:L,outliers:p,$xmin:x,$xmax:N,$ymin:b,$ymax:k,fill:P="white",color:O="black",linewidth:X=1,linetype:H,alpha:U,"translate-x":D=0,"translate-y":I=0,$raw:z}of m){const{hmin:Q,hmax:K,vmin:_,vmax:W}=t.coord2pos(f==null?{ymin:S,ymax:$,xmin:M,xmax:E}:{xmin:g,xmax:y,ymin:M,ymax:E}),{h:nt,v:rt}=t.coord2pos(f==null?{y:w,x:A}:{x:f,y:A}),{h:ft,v:Rt}=t.coord2pos(f==null?{y:w,x:L}:{x:f,y:L}),{h:Wt,v:zt}=t.coord2pos(f==null?{y:S,x:B}:{x:g,y:B}),{h:Ht,v:ce}=t.coord2pos(f==null?{y:$,x:B}:{x:y,y:B}),{h:q,v:V}=t.coord2pos(f==null?{y:S*.25+$*.75,x:L}:{x:g*.25+y*.75,y:L}),{h:j,v:F}=t.coord2pos(f==null?{y:S*.75+$*.25,x:L}:{x:g*.75+y*.25,y:L}),{h:v,v:C}=t.coord2pos(f==null?{y:S*.25+$*.75,x:A}:{x:g*.25+y*.75,y:A}),{h:T,v:R}=t.coord2pos(f==null?{y:S*.75+$*.25,x:A}:{x:g*.75+y*.25,y:A});l.globalAlpha=U,l.setLineDash(Ct(H));const Y=new Path2D;Y.moveTo(nt+D,rt+I),Y.lineTo(ft+D,Rt+I);const Z=new Path2D;Z.moveTo(q+D,V+I),Z.lineTo(j+D,F+I),Z.moveTo(v+D,C+I),Z.lineTo(T+D,R+I);const it=new Path2D;it.rect(Q+D,_+I,K-Q,W-_),h.set(it,z);const tt=new Path2D;tt.moveTo(Wt+D,zt+I),tt.lineTo(Ht+D,ce+I),O!=null&&O!=="none"&&(l.strokeStyle=O,l.lineWidth=X,l.stroke(Y),l.stroke(Z)),P!=="none"&&(l.fillStyle=P,l.fill(it)),O!=null&&O!=="none"&&(l.stroke(it),l.lineWidth=X*2,l.stroke(tt));for(let{x:pt,y:gt,$raw:st}of p){const{h:ot,v:J}=t.coord2pos({x:pt,y:gt}),et=new Path2D;et.arc(ot+D,J+I,2,0,Math.PI*2),O!=null&&O!=="none"&&(l.fillStyle=O,l.fill(et)),h.set(et,st)}}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)c.addEventListener(m,function(f){if(f._vhandled)return;const g=c.getBoundingClientRect(),y=(f.clientX-g.left)*c.width/g.width,w=(f.clientY-g.top)*c.height/g.height;for(const[S,$]of d)if(l.isPointInPath(S,y,w)){i(m,f,t.getCoord(f),$),f._vhandled=!0;break}});return c});return o.watch(u,c=>a.value.replaceChildren(c)),e({dispatchEvent:c=>u.value?.dispatchEvent?.(c)}),(c,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},Rs={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=s.value.width+"px",l.style.height=s.value.height+"px",l.width=s.value.width*t.dpi/96,l.height=s.value.height*t.dpi/96;const h=l.getContext("2d");h.clearRect(0,0,l.width,l.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,m=new Map;for(const f of t.data)for(let{points:g,fill:y,color:w,linewidth:S,linetype:$,alpha:A,"translate-x":M=0,"translate-y":B=0,$raw:E,interpolate:L}of f){if(g=g.map(b=>(({h:k,v:P})=>({x:k,y:P}))(t.coord2pos(b))).filter(b=>b.x!=null&&b.y!=null),g.length===0)continue;const p=new Path2D;let N=(typeof L=="function"?L:c[L]??Jn)(p);N.lineStart();for(let b=0;b<g.length;b++)N.point(g[b].x+M,g[b].y+B);N.lineEnd(),d.set(p,E),h.lineWidth=S,h.globalAlpha=A,h.setLineDash(Ct($)),y!=="none"&&(h.fillStyle=y,h.fill(p)),w!=null&&w!=="none"&&(h.strokeStyle=w,h.stroke(p))}for(let f of Array.from(d.keys()).reverse())m.set(f,d.get(f));for(let f of r)l.addEventListener(f,function(g){if(g._vhandled)return;const y=l.getBoundingClientRect(),w=(g.clientX-y.left)*l.width/y.width,S=(g.clientY-y.top)*l.height/y.height;for(const[$,A]of m)if(h.isPointInPath($,w,S)){i(f,g,t.getCoord(g),A),g._vhandled=!0;break}});return l});o.watch(u,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>u.value?.dispatchEvent?.(l)});const c={cardinal:$o,cardinalClosed:Bo,catmullRom:Oo,catmullRomClosed:Vo,linear:er,linearClosed:jo,natural:Jn};return(l,h)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},s6={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const c=document.createElement("canvas");c.style.width=s.value.width+"px",c.style.height=s.value.height+"px",c.width=s.value.width*t.dpi/96,c.height=s.value.height*t.dpi/96;const l=c.getContext("2d");l.clearRect(0,0,c.width,c.height),l.scale(t.dpi/96,t.dpi/96),l.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(const m of t.data)for(let{cx:f,cy:g,A:y,B:w,C:S,fill:$,color:A,linewidth:M,linetype:B,alpha:E,"translate-x":L=0,"translate-y":p=0,$raw:x}of m){let N=Math.sqrt(S/(y*S-w*w)),b=Math.sqrt(y/(y*S-w*w));const{h:k,v:P}=t.coord2pos({x:f,y:g});let{h:O,v:X}=t.coord2pos({x:f-N,y:g-b}),{h:H,v:U}=t.coord2pos({x:f+N,y:g+b}),D=(H-O)/(2*N),I=(U-X)/(2*b);y/=D*D,w/=D*I,S/=I*I;const z=y+S,Q=y*S-w*w,K=Math.sqrt(Math.max(0,z*z/4-Q));let _=1/Math.sqrt(z/2+K),W=1/Math.sqrt(z/2-K),nt=Math.atan2(2*w,y-S)/2;const rt=new Path2D;rt.ellipse(k+L,P+p,_,W,nt,0,2*Math.PI),h.set(rt,x),l.lineWidth=M,l.globalAlpha=E,l.setLineDash(Ct(B)),$!=="none"&&(l.fillStyle=$,l.fill(rt)),A!=null&&A!=="none"&&(l.strokeStyle=A,l.stroke(rt))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)c.addEventListener(m,function(f){if(f._vhandled)return;const g=c.getBoundingClientRect(),y=(f.clientX-g.left)*c.width/g.width,w=(f.clientY-g.top)*c.height/g.height;for(const[S,$]of d)if(l.isPointInPath(S,y,w)){i(m,f,t.getCoord(f),$),f._vhandled=!0;break}});return c});return o.watch(u,c=>a.value.replaceChildren(c)),e({dispatchEvent:c=>u.value?.dispatchEvent?.(c)}),(c,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},Is={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const c=document.createElement("canvas");c.style.width=s.value.width+"px",c.style.height=s.value.height+"px",c.width=s.value.width*t.dpi/96,c.height=s.value.height*t.dpi/96;const l=c.getContext("2d");l.clearRect(0,0,c.width,c.height),l.scale(t.dpi/96,t.dpi/96),l.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(const m of t.data)for(let{x:f,y:g,xend:y,yend:w,color:S="black",linewidth:$,alpha:A,linetype:M,"translate-x":B=0,"translate-y":E=0,$raw:L}of m){const{h:p,v:x}=t.coord2pos({x:f,y:g}),{h:N,v:b}=t.coord2pos({x:y,y:w}),k=new Path2D;k.moveTo(p+B,x+E),k.lineTo(N+B,b+E),h.set(k,L),l.lineWidth=$,l.globalAlpha=A,l.setLineDash(Ct(M)),S!=null&&S!=="none"&&(l.strokeStyle=S,l.stroke(k))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)c.addEventListener(m,function(f){if(f._vhandled)return;const g=c.getBoundingClientRect(),y=(f.clientX-g.left)*c.width/g.width,w=(f.clientY-g.top)*c.height/g.height;for(const[S,$]of d)if(l.isPointInPath(S,y,w)){i(m,f,t.getCoord(f),$),f._vhandled=!0;break}});return c});return o.watch(u,c=>a.value.replaceChildren(c)),e({dispatchEvent:c=>u.value?.dispatchEvent?.(c)}),(c,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},l6={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s={triangle:l=>`M0-${l*2/3}L${l*.577},${l/3}L-${l*.577},${l/3}Z`,diamond:l=>`M0-${l*.707}L${l*.707},0L0,${l*.707}L-${l*.707},0Z`,square:l=>`M-${l/2}-${l/2}H${l/2}V${l/2}H-${l/2}Z`,plus:l=>`M-${l/10}-${l/2}V-${l/10}H-${l/2}V${l/10}H-${l/10}V${l/2}H${l/10}V${l/10}H${l/2}V-${l/10}H${l/10}V-${l/2}H-${l/10}Z`,cross:l=>`M-${l*.283}-${l*.424}L-${l*.424}-${l*.283}L-${l*.141},0L-${l*.424},${l*.283}L-${l*.283},${l*.424}L0,${l*.141}L${l*.283},${l*.424}L${l*.424},${l*.283}L${l*.141},0L${l*.424},-${l*.283}L${l*.283},-${l*.424}L0,-${l*.141}Z`,arrowhead:l=>`M0,0L${l},${-l*.38}V${l*.38}Z`},a=o.computed(()=>({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})),u=o.useTemplateRef("container"),c=o.computed(()=>{if(u.value==null)return;const l=document.createElement("canvas");l.style.width=a.value.width+"px",l.style.height=a.value.height+"px",l.width=a.value.width*t.dpi/96,l.height=a.value.height*t.dpi/96;const h=l.getContext("2d");h.clearRect(0,0,l.width,l.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,m=new Map;for(const f of t.data)for(let{x:g,y,size:w=6,shape:S,color:$,stroke:A,linewidth:M,linetype:B,alpha:E,"translate-x":L=0,"translate-y":p=0,angle:x=0,$raw:N}of f){const{h:b,v:k}=t.coord2pos({x:g,y});if(typeof x=="object"){let{dx:O=0,dy:X=0}=x,{h:H,v:U}=t.coord2pos({x:g+O,y:y+X});x=Math.atan2(U-k,H-b)*180/Math.PI}const P=new Path2D;String(S).startsWith("path:")?P.addPath(new Path2D(S.slice(5)),new DOMMatrix().translateSelf(b+L,k+p).rotate(x)):S in s?P.addPath(new Path2D(s[S](w)),new DOMMatrix().translate(b+L,k+p).rotate(x)):P.arc(b+L,k+p,w/2,0,Math.PI*2),d.set(P,N),h.lineWidth=M,h.globalAlpha=E,h.beginPath(),$!=="none"&&(h.fillStyle=$,h.fill(P)),A!=null&&A!=="none"&&(h.strokeStyle=A,h.setLineDash(Ct(B)),h.stroke(P))}for(let f of Array.from(d.keys()).reverse())m.set(f,d.get(f));for(let f of r)l.addEventListener(f,function(g){if(g._vhandled)return;const y=l.getBoundingClientRect(),w=(g.clientX-y.left)*l.width/y.width,S=(g.clientY-y.top)*l.height/y.height;for(const[$,A]of m)if(h.isPointInPath($,w,S)){i(f,g,t.getCoord(g),A),g._vhandled=!0;break}});return l});return o.watch(c,l=>u.value.replaceChildren(l)),e({dispatchEvent:l=>c.value?.dispatchEvent?.(l)}),(l,h)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(a.value,{ref:"container"}),null,16))}},a6={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const c=document.createElement("canvas");c.style.width=s.value.width+"px",c.style.height=s.value.height+"px",c.width=s.value.width*t.dpi/96,c.height=s.value.height*t.dpi/96;const l=c.getContext("2d");l.clearRect(0,0,c.width,c.height),l.scale(t.dpi/96,t.dpi/96),l.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(const m of t.data)for(let{points:f,fill:g,color:y,linewidth:w,linetype:S,alpha:$,"translate-x":A=0,"translate-y":M=0,$raw:B}of m){if(f=f.map(L=>(({h:p,v:x})=>({x:p,y:x}))(t.coord2pos(L))).filter(L=>L.x!=null&&L.y!=null),f.length===0)continue;const E=new Path2D;E.moveTo(f[0].x+A,f[0].y+M);for(let L=1;L<f.length;L++)E.lineTo(f[L].x+A,f[L].y+M);E.closePath(),h.set(E,B),l.lineWidth=w,l.globalAlpha=$,l.setLineDash(Ct(S)),g!=="none"&&(l.fillStyle=g,l.fill(E)),y!=null&&y!=="none"&&(l.strokeStyle=y,l.stroke(E))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)c.addEventListener(m,function(f){if(f._vhandled)return;const g=c.getBoundingClientRect(),y=(f.clientX-g.left)*c.width/g.width,w=(f.clientY-g.top)*c.height/g.height;for(const[S,$]of d)if(l.isPointInPath(S,y,w)){i(m,f,t.getCoord(f),$),f._vhandled=!0;break}});return c});return o.watch(u,c=>a.value.replaceChildren(c)),e({dispatchEvent:c=>u.value?.dispatchEvent?.(c)}),(c,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},Hs={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const c=document.createElement("canvas");c.style.width=s.value.width+"px",c.style.height=s.value.height+"px",c.width=s.value.width*t.dpi/96,c.height=s.value.height*t.dpi/96;const l=c.getContext("2d");l.clearRect(0,0,c.width,c.height),l.scale(t.dpi/96,t.dpi/96),l.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(const m of t.data)for(let{xmin:f,xmax:g,ymin:y,ymax:w,fill:S,color:$,linewidth:A,linetype:M,alpha:B,"translate-x":E=0,"translate-y":L=0,$raw:p}of m){const{hmin:x,hmax:N,vmin:b,vmax:k}=t.coord2pos({xmin:f,xmax:g,ymin:y,ymax:w}),P=new Path2D;P.rect(x+E,b+L,N-x,k-b),h.set(P,p),l.lineWidth=A,l.globalAlpha=B,l.setLineDash(Ct(M)),S!=="none"&&(l.fillStyle=S,l.fill(P)),$!=="none"&&$!=null&&(l.strokeStyle=$,l.stroke(P))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)c.addEventListener(m,function(f){if(f._vhandled)return;const g=c.getBoundingClientRect(),y=(f.clientX-g.left)*c.width/g.width,w=(f.clientY-g.top)*c.height/g.height;for(const[S,$]of d)if(l.isPointInPath(S,y,w)){i(m,f,t.getCoord(f),$),f._vhandled=!0;break}});return c});return o.watch(u,c=>a.value.replaceChildren(c)),e({dispatchEvent:c=>u.value?.dispatchEvent?.(c)}),(c,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},c6=Object.freeze(Object.defineProperty({__proto__:null,boxplot:o6,curve:Rs,ellipse:s6,line:Is,point:l6,polygon:a6,rect:Hs,shape:Rs,stick:Is,text:{__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const c=document.createElement("canvas");c.style.width=s.value.width+"px",c.style.height=s.value.height+"px",c.width=s.value.width*t.dpi/96,c.height=s.value.height*t.dpi/96;const l=c.getContext("2d");l.clearRect(0,0,c.width,c.height),l.scale(t.dpi/96,t.dpi/96),l.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(const m of t.data)for(let{x:f,y:g,color:y,size:w=4,label:S="",title:$,stroke:A,linewidth:M,linetype:B,alpha:E,"anchor-x":L,"anchor-y":p,"dock-x":x,"dock-y":N,"translate-x":b=0,"translate-y":k=0,angle:P,"text-length":O,"font-family":X="sans-serif",$raw:H}of m){l.save();const{h:U,v:D}=t.coord2pos({x:f,y:g});l.textAlign="center",l.textBaseline="middle",l.lineWidth=M,l.globalAlpha=E,l.font=`${w*4}px ${X}`,l.setLineDash(Ct(B)),l.translate(U+b,D+k);let{width:I,fontBoundingBoxAscent:z,fontBoundingBoxDescent:Q}=l.measureText(S),K=I,_=z+Q;if(typeof O=="object"){let{x:W=0,y:nt=0}=O,{h:rt,v:ft}=t.coord2pos({x:f+W/2,y:g+nt/2}),{h:Rt,v:Wt}=t.coord2pos({x:f-W/2,y:g-nt/2});K=Math.hypot(rt-Rt||0,ft-Wt||0)}else O!=null&&(K=O);if(typeof P=="object"){let{dx:W=0,dy:nt=0}=P,{h:rt,v:ft}=t.coord2pos({x:f+W,y:g+nt});P=Math.atan2(ft-D,rt-U)*180/Math.PI}if(x!=null||N!=null){let W={left:0,center:.5,right:1}[x]??+(x??.5),nt={bottom:0,center:.5,top:1}[N]??+(N??.5);isNaN(W)&&(W=.5),isNaN(nt)&&(nt=.5);let rt=K*Math.abs(Math.cos(P*Math.PI/180))+_*Math.abs(Math.sin(P*Math.PI/180)),ft=K*Math.abs(Math.sin(P*Math.PI/180))+_*Math.abs(Math.cos(P*Math.PI/180));l.translate(rt*(.5-W),ft*(nt-.5)),l.rotate(P*Math.PI/180)}else{let W={left:0,center:.5,right:1}[L]??+(L??.5),nt={bottom:0,center:.5,top:1}[p]??+(p??.5);isNaN(W)&&(W=.5),isNaN(nt)&&(nt=.5);let rt=K,ft=_;l.rotate(P*Math.PI/180),l.translate(rt*(.5-W),ft*(nt-.5))}K!=I&&l.scale(K/I,1),y!=="none"&&(l.fillStyle=y,l.fillText(S,0,0)),A!=null&&A!=="none"&&(l.strokeStyle=A,l.strokeText(S,0,0)),l.restore()}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)c.addEventListener(m,function(f){if(f._vhandled)return;const g=c.getBoundingClientRect(),y=(f.clientX-g.left)*c.width/g.width,w=(f.clientY-g.top)*c.height/g.height;for(const[S,$]of d)if(l.isPointInPath(S,y,w)){i(m,f,t.getCoord(f),$),f._vhandled=!0;break}});return c});return o.watch(u,c=>a.value.replaceChildren(c)),e({dispatchEvent:c=>u.value?.dispatchEvent?.(c)}),(c,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},textsegment:{__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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})),a=o.useTemplateRef("container"),u=o.computed(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=s.value.width+"px",l.style.height=s.value.height+"px",l.width=s.value.width*t.dpi/96,l.height=s.value.height*t.dpi/96;const h=l.getContext("2d");h.clearRect(0,0,l.width,l.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,m=new Map;for(const f of t.data)for(let{x:g,xend:y,y:w,yend:S,size:$=4,label:A="",title:M,color:B,stroke:E,linewidth:L,linetype:p,alpha:x,"translate-x":N=0,"translate-y":b=0,"text-length":k,"font-family":P="sans-serif","text-align":O="justify",angle:X="auto",inset:H=0,$raw:U}of f){const{h:D,v:I}=t.coord2pos({x:g,y:w}),{h:z,v:Q}=t.coord2pos({x:y,y:S});if(h.save(),h.translate(N,b),h.textBaseline="middle",h.lineWidth=L,h.globalAlpha=x,h.font=`${$*4}px ${P}`,h.setLineDash(Ct(p)),["stretch","pre","start","center","end","post"].includes(O)){let K=Math.atan2(Q-I,z-D),_=String(A).replace(/\x01|\x02/g,""),W=Math.cos(K)*H,nt=Math.sin(K)*H;switch(O){case"stretch":case"center":h.translate((D+z)/2,(I+Q)/2),h.textAlign="center";break;case"pre":h.translate(D-W,I-nt),h.textAlign="end";break;case"start":h.translate(D+W,I+nt),h.textAlign="start";break;case"end":h.translate(z-W,Q-nt),h.textAlign="end";break;case"post":h.translate(z+W,Q+nt),h.textAlign="start";break}h.rotate(K),O==="stretch"&&h.scale(Math.hypot(z-D||0,Q-I||0)/h.measureText(_).width,1),B!=="none"&&(h.fillStyle=B,h.fillText(_,0,0)),E!=null&&E!=="none"&&(h.strokeStyle=E,h.strokeText(_,0,0))}else{let K=X==="auto"?Math.atan2(Q-I,z-D):X*Math.PI/180;h.textAlign="center";let _=c(String(A)),W=(z-D)/(_.length-1||1),nt=(Q-I)/(_.length-1||1);for(let rt=0;rt<_.length;rt++){h.save(),h.translate(D+rt*W,I+rt*nt),h.rotate(K);let ft=_[rt];B!=="none"&&(h.fillStyle=B,h.fillText(ft,0,0)),E!=null&&E!=="none"&&(h.strokeStyle=E,h.strokeText(ft,0,0)),h.restore()}}h.restore()}for(let f of Array.from(d.keys()).reverse())m.set(f,d.get(f));for(let f of r)l.addEventListener(f,function(g){if(g._vhandled)return;const y=l.getBoundingClientRect(),w=(g.clientX-y.left)*l.width/y.width,S=(g.clientY-y.top)*l.height/y.height;for(const[$,A]of m)if(h.isPointInPath($,w,S)){i(f,g,t.getCoord(g),A),g._vhandled=!0;break}});return l});o.watch(u,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>u.value?.dispatchEvent?.(l)});function c(l){let h=[];for(let d=0;d<l.length;d++)if(l[d]==""){let m=d+1;for(;m<l.length&&l[m]!="";)m++;h.push(l.slice(d+1,m)),d=m}else h.push(l[d]);return h}return(l,h)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps(s.value,{ref:"container"}),null,16))}},tile:Hs},Symbol.toStringTag,{value:"Module"})),u6={__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,r)=>(o.openBlock(),o.createElementBlock("g"))}},h6={key:0},m1={__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=o.computed(()=>({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":Ct(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,r)=>(o.openBlock(),o.createElementBlock("rect",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",h6,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},f6={key:0},m6={key:0},xr={__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=o.computed(()=>{let r=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],i={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":Ct(t.linetype).join(" ")||null};if(r!=null){let s=[],a=t.x+t.translateX,u=t.y+t.translateY;(a!==0||u!==0)&&s.push(`translate(${a},${u})`),t.size!=1&&s.push(`scale(${t.size})`),t.angle&&s.push(`rotate(${t.angle})`),Object.assign(i,{d:r,transform:s.join(" ")||null,"stroke-width":t.linewidth/t.size})}else{let s=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(i,{cx:t.x,cy:t.y,r:t.size/2,transform:s,"stroke-width":t.linewidth})}return i});return(r,i)=>n.value.d?(o.openBlock(),o.createElementBlock("path",o.normalizeProps(o.mergeProps({key:0},n.value)),[t.title?(o.openBlock(),o.createElementBlock("title",f6,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16)):(o.openBlock(),o.createElementBlock("circle",o.normalizeProps(o.mergeProps({key:1},n.value)),[t.title?(o.openBlock(),o.createElementBlock("title",m6,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},d6={key:0},Ze={__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=o.computed(()=>({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":Ct(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,r)=>(o.openBlock(),o.createElementBlock("line",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",d6,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},g6={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({x:h,xmin:d,xmax:m,y:f,ymin:g,ymax:y,lwisker:w,Q1:S,median:$,Q3:A,uwisker:M,outliers:B,$xmin:E,$xmax:L,$ymin:p,$ymax:x,fill:N="white",color:b="black",linewidth:k,linetype:P,alpha:O,title:X,"translate-x":H=0,"translate-y":U=0,class:D,style:I,$raw:z})=>{const{hmin:Q,hmax:K,vmin:_,vmax:W}=t.coord2pos({xmin:E,xmax:L,ymin:p,ymax:x});if(Q<s&&K<s||Q>a&&K>a||_<u&&W<u||_>c&&W>c)return null;const{hmin:nt,hmax:rt,vmin:ft,vmax:Rt}=t.coord2pos(h==null?{ymin:g,ymax:y,xmin:S,xmax:A}:{xmin:d,xmax:m,ymin:S,ymax:A}),{h:Wt,v:zt}=t.coord2pos(h==null?{y:f,x:w}:{x:h,y:w}),{h:Ht,v:ce}=t.coord2pos(h==null?{y:f,x:M}:{x:h,y:M}),{h:q,v:V}=t.coord2pos(h==null?{y:g,x:$}:{x:d,y:$}),{h:j,v:F}=t.coord2pos(h==null?{y,x:$}:{x:m,y:$}),{h:v,v:C}=t.coord2pos(h==null?{y:g*.25+y*.75,x:M}:{x:d*.25+m*.75,y:M}),{h:T,v:R}=t.coord2pos(h==null?{y:g*.75+y*.25,x:M}:{x:d*.75+m*.25,y:M}),{h:Y,v:Z}=t.coord2pos(h==null?{y:g*.25+y*.75,x:w}:{x:d*.25+m*.75,y:w}),{h:it,v:tt}=t.coord2pos(h==null?{y:g*.75+y*.25,x:w}:{x:d*.75+m*.25,y:w});let pt={rect:{x:(nt+rt)/2,width:rt-nt,y:(ft+Rt)/2,height:Rt-ft,fill:N,color:b,linetype:P,linewidth:k,alpha:O,title:X,translateX:H,translateY:U,class:D,style:I},line:{x1:Wt,y1:zt,x2:Ht,y2:ce,color:b,linetype:P,linewidth:k,alpha:O,translateX:H,translateY:U,class:D,style:I},midline:{x1:q,y1:V,x2:j,y2:F,color:b,linetype:P,linewidth:(k??1)*2,alpha:O,translateX:H,translateY:U,class:D,style:I},uwisker:{x1:v,y1:C,x2:T,y2:R,color:b,linetype:P,linewidth:k,alpha:O,translateX:H,translateY:U,class:D,style:I},lwisker:{x1:Y,y1:Z,x2:it,y2:tt,color:b,linetype:P,linewidth:k,alpha:O,translateX:H,translateY:U,class:D,style:I},outliers:B?.map(({x:st,y:ot,$raw:J})=>{const{h:et,v:G}=t.coord2pos({x:st,y:ot});let dt={x:et,y:G,shape:"circle",size:4,color:b,alpha:O,translateX:H,translateY:U,class:D,style:I},ct=Object.fromEntries(n.map(Tt=>[Tt,Bt=>r(Tt,Bt,J)]));return[dt,ct]})},gt=Object.fromEntries(n.map(st=>[st,ot=>r(st,Object.assign(ot,{_vhandled:!0}),t.getCoord(ot),z)]));return[pt,gt]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createElementBlock("g",null,[o.createVNode(Ze,o.mergeProps({ref_for:!0},c.line),null,16),a[0]||(a[0]=o.createTextVNode()),o.createVNode(m1,o.mergeProps({ref_for:!0},c.rect,o.toHandlers(l)),null,16),a[1]||(a[1]=o.createTextVNode()),o.createVNode(Ze,o.mergeProps({ref_for:!0},c.midline),null,16),a[2]||(a[2]=o.createTextVNode()),o.createVNode(Ze,o.mergeProps({ref_for:!0},c.uwisker),null,16),a[3]||(a[3]=o.createTextVNode()),o.createVNode(Ze,o.mergeProps({ref_for:!0},c.lwisker),null,16),a[4]||(a[4]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.outliers,([h,d])=>(o.openBlock(),o.createBlock(xr,o.mergeProps({ref_for:!0},h,o.toHandlers(d)),null,16))),256))]))),256))],16))),256))]))}},p6={key:0},Fs={__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=o.computed(()=>{let r=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??Jn;return{d:I2().curve(r)(t.points.map(i=>[i.x,i.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":Ct(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:$o,cardinalClosed:Bo,catmullRom:Oo,catmullRomClosed:Vo,linear:er,linearClosed:jo,natural:Jn};return(r,i)=>(o.openBlock(),o.createElementBlock("path",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",p6,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},Us={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({points:h,fill:d,color:m,linewidth:f,linetype:g,alpha:y,title:w,"translate-x":S=0,"translate-y":$=0,"marker-start":A,"marker-end":M,class:B,style:E,$raw:L,interpolate:p})=>{if(h=h.map(b=>(({h:k,v:P})=>({x:k,y:P}))(t.coord2pos(b))),h.every(b=>b.x<s)||h.every(b=>b.x>a)||h.every(b=>b.y<u)||h.every(b=>b.y>c))return null;let x={points:h,fill:d,color:m,linetype:g,linewidth:f,alpha:y,title:w,translateX:S,translateY:$,"marker-start":A,"marker-end":M,class:B,style:E,interpolate:p},N=Object.fromEntries(n.map(b=>[b,k=>r(b,Object.assign(k,{_vhandled:!0}),t.getCoord(k),L)]));return[x,N]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(Fs,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},y6={key:0},x6={__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=o.computed(()=>{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":Ct(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,r)=>(o.openBlock(),o.createElementBlock("ellipse",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",y6,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},b6={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({cx:h,cy:d,A:m,B:f,C:g,fill:y,color:w,linewidth:S,linetype:$,alpha:A,title:M,"translate-x":B=0,"translate-y":E=0,class:L,style:p,$raw:x})=>{let N=Math.sqrt(g/(m*g-f*f)),b=Math.sqrt(m/(m*g-f*f));const{h:k,v:P}=t.coord2pos({x:h,y:d});let{h:O,v:X}=t.coord2pos({x:h-N,y:d-b}),{h:H,v:U}=t.coord2pos({x:h+N,y:d+b});if(O<s&&H<s||H>a&&O>a||X<u&&U<u||U>c&&X>c)return null;let D=(H-O)/(2*N),I=(U-X)/(2*b);m/=D*D,f/=D*I,g/=I*I;const z=m+g,Q=m*g-f*f,K=Math.sqrt(Math.max(0,z*z/4-Q));let _={cx:k,cy:P,rx:1/Math.sqrt(z/2+K)||0,ry:1/Math.sqrt(z/2-K)||0,angle:Math.atan2(2*f,m-g)/2*180/Math.PI||0,fill:y,color:w,linetype:$,linewidth:S,alpha:A,title:M,translateX:B,translateY:E,class:L,style:p},W=Object.fromEntries(n.map(nt=>[nt,rt=>r(nt,Object.assign(rt,{_vhandled:!0}),t.getCoord(rt),x)]));return[_,W]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(x6,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},zs={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({x:h,y:d,xend:m,yend:f,color:g="black",linewidth:y,linetype:w,alpha:S,title:$,"translate-x":A=0,"translate-y":M=0,"marker-start":B,"marker-end":E,class:L,style:p,$raw:x})=>{const{h:N,v:b}=t.coord2pos({x:h,y:d}),{h:k,v:P}=t.coord2pos({x:m,y:f});if(N<s&&k<s||N>a&&k>a||b<u&&P<u||b>c&&P>c)return null;let O={x1:N,x2:k,y1:b,y2:P,color:g,linetype:w,linewidth:y,alpha:S,title:$,translateX:A,translateY:M,"marker-start":B,"marker-end":E,class:L,style:p},X=Object.fromEntries(n.map(H=>[H,U=>r(H,Object.assign(U,{_vhandled:!0}),t.getCoord(U),x)]));return[O,X]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(Ze,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},v6={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({x:h,y:d,size:m=4,label:f,title:g,color:y,stroke:w,linewidth:S,linetype:$,alpha:A,"anchor-x":M,"anchor-y":B,"dock-x":E,"dock-y":L,"translate-x":p=0,"translate-y":x=0,angle:N,"text-length":b,"font-family":k="sans-serif","text-anchor":P,class:O,style:X,$raw:H})=>{if(f==null)return null;const{h:U,v:D}=t.coord2pos({x:h,y:d});if(U<s||U>a||D<u||D>c)return null;if(typeof b=="object"){let{x:Q=0,y:K=0}=b,{h:_,v:W}=t.coord2pos({x:h+Q/2,y:d+K/2}),{h:nt,v:rt}=t.coord2pos({x:h-Q/2,y:d-K/2});b=Math.hypot(_-nt||0,W-rt||0)}if(typeof N=="object"){let{dx:Q=0,dy:K=0}=N,{h:_,v:W}=t.coord2pos({x:h+Q,y:d+K});N=Math.atan2(W-D,_-U)*180/Math.PI}let I={x:U,y:D,text:String(f),title:String(g??f),size:m,color:y,stroke:w,linetype:$,linewidth:S,alpha:A,angle:N,translateX:p,translateY:x,class:O,style:X,anchorX:M,anchorY:B,dockX:E,dockY:L,textLength:b,fontFamily:k,textAnchor:P},z=Object.fromEntries(n.map(Q=>[Q,K=>r(Q,Object.assign(K,{_vhandled:!0}),t.getCoord(K),H)]));return[I,z]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(pn,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},w6={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({x:h,xend:d,y:m,yend:f,size:g=4,label:y,title:w,color:S,stroke:$,linewidth:A,linetype:M,alpha:B,"translate-x":E=0,"translate-y":L=0,"anchor-x":p,"anchor-y":x=.5,"font-family":N="sans-serif","text-align":b="start",inset:k=0,class:P,style:O,$raw:X})=>{if(y==null)return null;const{h:H,v:U}=t.coord2pos({x:h,y:m}),{h:D,v:I}=t.coord2pos({x:d,y:f});if(H<s&&D<s||H>a&&D>a||U<u&&I<u||U>c&&I>c)return null;let z=Math.atan2(I-U,D-H),Q={text:String(y),title:String(w??y),color:S,alpha:B,size:g,stroke:$,linewidth:A,linetype:M,fontFamily:N,class:P,style:O},K=Object.fromEntries(n.map(nt=>[nt,rt=>r(nt,Object.assign(rt,{_vhandled:!0}),t.getCoord(rt),X)])),_,W;switch(b){case"stretch":_=(H+D)/2,W=(U+I)/2,p=.5,Q.textLength=Math.hypot(D-H||0,I-U||0);break;case"center":_=(H+D)/2,W=(U+I)/2,p??=.5;break;case"pre":_=H,W=U,E-=Math.cos(z)*k,L-=Math.sin(z)*k,p??=1;break;case"end":_=D,W=I,E-=Math.cos(z)*k,L-=Math.sin(z)*k,p??=1;break;case"post":_=D,W=I,E+=Math.cos(z)*k,L+=Math.sin(z)*k,p??=0;break;default:_=H,W=U,E+=Math.cos(z)*k,L+=Math.sin(z)*k,p??=0}return Object.assign(Q,{x:_,y:W,translateX:E,translateY:L,anchorX:p,anchorY:x,angle:z*180/Math.PI}),[Q,K]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(pn,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},k6={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({x:h,y:d,shape:m,size:f=6,color:g,stroke:y,linetype:w,linewidth:S,alpha:$,title:A,"translate-x":M=0,"translate-y":B=0,angle:E,class:L,style:p,$raw:x})=>{const{h:N,v:b}=t.coord2pos({x:h,y:d});if(N<s||N>a||b<u||b>c)return null;if(typeof E=="object"){let{dx:O=0,dy:X=0}=E,{h:H,v:U}=t.coord2pos({x:h+O,y:d+X});E=Math.atan2(U-b,H-N)*180/Math.PI}let k={x:N,y:b,shape:m,size:f,color:g,stroke:y,linetype:w,linewidth:S,alpha:$,title:A,angle:E,translateX:M,translateY:B,class:L,style:p},P=Object.fromEntries(n.map(O=>[O,X=>r(O,Object.assign(X,{_vhandled:!0}),t.getCoord(X),x)]));return[k,P]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(xr,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},N6={key:0},Xs={__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=o.computed(()=>({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":Ct(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,r)=>(o.openBlock(),o.createElementBlock("polygon",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",N6,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},S6={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({points:h,fill:d,color:m,linewidth:f,linetype:g,alpha:y,title:w,"translate-x":S=0,"translate-y":$=0,"marker-start":A,"marker-mid":M,"marker-end":B,class:E,style:L,$raw:p})=>{if(h=h.map(b=>(({h:k,v:P})=>({x:k,y:P}))(t.coord2pos(b))),h.every(b=>b.x<s)||h.every(b=>b.x>a)||h.every(b=>b.y<u)||h.every(b=>b.y>c))return null;let x={points:h,fill:d,color:m,linewidth:f,linetype:g,alpha:y,title:w,translateX:S,translateY:$,"marker-start":A,"marker-mid":M,"marker-end":B,class:E,style:L},N=Object.fromEntries(n.map(b=>[b,k=>r(b,Object.assign(k,{_vhandled:!0}),t.getCoord(k),p)]));return[x,N]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(Xs,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},Ys={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({xmin:h,xmax:d,ymin:m,ymax:f,fill:g,color:y,linewidth:w,linetype:S,alpha:$,title:A,"translate-x":M=0,"translate-y":B=0,class:E,style:L,$raw:p})=>{const{hmin:x,hmax:N,vmin:b,vmax:k}=t.coord2pos({xmin:h,xmax:d,ymin:m,ymax:f});if(x<s&&N<s||x>a&&N>a||b<u&&k<u||b>c&&k>c)return null;let P={x:(x+N)/2,width:N-x,y:(b+k)/2,height:k-b,fill:g,color:y,linetype:S,linewidth:w,alpha:$,title:A,translateX:M,translateY:B,class:E,style:L},O=Object.fromEntries(n.map(X=>[X,H=>r(X,Object.assign(H,{_vhandled:!0}),t.getCoord(H),p)]));return[P,O]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(m1,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},A6=Object.freeze(Object.defineProperty({__proto__:null,blank:u6,boxplot:g6,curve:Us,ellipse:b6,line:zs,markdown:v6,markdownsegment:w6,point:k6,polygon:S6,rect:Ys,shape:Us,stick:zs,text:{__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(l=>l.map(({x:h,y:d,size:m=4,label:f,title:g,color:y,stroke:w,linewidth:S,linetype:$,alpha:A,"anchor-x":M,"anchor-y":B,"dock-x":E,"dock-y":L,"translate-x":p=0,"translate-y":x=0,angle:N,"text-length":b,"font-family":k,"text-anchor":P,class:O,style:X,$raw:H})=>{if(f==null)return null;const{h:U,v:D}=t.coord2pos({x:h,y:d});if(U<s||U>a||D<u||D>c)return null;if(typeof b=="object"){let{x:Q=0,y:K=0}=b,{h:_,v:W}=t.coord2pos({x:h+Q/2,y:d+K/2}),{h:nt,v:rt}=t.coord2pos({x:h-Q/2,y:d-K/2});b=Math.hypot(_-nt||0,W-rt||0)}if(typeof N=="object"){let{dx:Q=0,dy:K=0}=N,{h:_,v:W}=t.coord2pos({x:h+Q,y:d+K});N=Math.atan2(W-D,_-U)*180/Math.PI}let I={x:U,y:D,text:String(f),title:String(g??f),size:m,color:y,stroke:w,linetype:$,linewidth:S,alpha:A,angle:N,translateX:p,translateY:x,class:O,style:X,anchorX:M,anchorY:B,dockX:E,dockY:L,textLength:b,fontFamily:k,textAnchor:P},z=Object.fromEntries(n.map(Q=>[Q,K=>r(Q,Object.assign(K,{_vhandled:!0}),t.getCoord(K),H)]));return[I,z]}).filter(h=>h!=null))});return(s,a)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([c,l])=>(o.openBlock(),o.createBlock(fn,o.mergeProps({ref_for:!0},c,o.toHandlers(l)),null,16))),256))],16))),256))]))}},textsegment:{__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 r=e,i=o.computed(()=>{let a=-t.layout.fullWidth*t.extendX-t.layout.l,u=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,l=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(h=>h.map(({x:d,xend:m,y:f,yend:g,size:y=4,label:w,title:S,color:$,stroke:A,linewidth:M,linetype:B,alpha:E,"translate-x":L=0,"translate-y":p=0,"font-family":x="sans-serif","text-align":N="justify",angle:b="auto",inset:k=0,class:P,style:O,$raw:X})=>{if(w==null)return null;const{h:H,v:U}=t.coord2pos({x:d,y:f}),{h:D,v:I}=t.coord2pos({x:m,y:g});if(H<a&&D<a||H>u&&D>u||U<c&&I<c||U>l&&I>l)return null;let z={color:$||null,fill:$||null,"fill-opacity":E==1?null:E,"font-size":y*4,stroke:A||null,"stroke-width":M,"stroke-dasharray":Ct(B).join(" ")||null,"stroke-opacity":E==1?null:E,"font-family":x,class:P,style:O},Q=Object.fromEntries(n.map(K=>[K,_=>r(K,Object.assign(_,{_vhandled:!0}),t.getCoord(_),X)]));if(["stretch","pre","start","center","end","post"].includes(N)){let K=Math.atan2(I-U,D-H),_,W,nt=String(w).replace(/\x01|\x02/g,""),rt=Math.cos(K)*k,ft=Math.sin(K)*k;switch(N){case"stretch":_=(H+D)/2,W=(U+I)/2,z["text-anchor"]="middle",z.textLength=Math.hypot(D-H||0,I-U||0),z.lengthAdjust="spacingAndGlyphs";break;case"center":_=(H+D)/2,W=(U+I)/2,z["text-anchor"]="middle";break;case"pre":_=H,W=U,L-=rt,p-=ft,z["text-anchor"]="end";break;case"start":_=H,W=U,L+=rt,p+=ft,z["text-anchor"]="start";break;case"end":_=D,W=I,L-=rt,p-=ft,z["text-anchor"]="end";break;case"post":_=D,W=I,L+=rt,p+=ft,z["text-anchor"]="start";break}let Rt=[];return(L||p)&&Rt.push(`translate(${L}, ${p})`),K&&Rt.push(`rotate(${K*180/Math.PI})`),Object.assign(z,{x:_,y:W,"dominant-baseline":"central","transform-origin":`${_} ${W}`,transform:Rt.join(" ")||null}),[z,Q,nt,String(S??String(w).replace(/\x01|\x02/g,""))]}else{b==="auto"&&(b=Math.atan2(I-U,D-H)*180/Math.PI);let K=s(String(w)),_=(D-H)/(K.length-1||1),W=(I-U)/(K.length-1||1),nt=K.map((rt,ft)=>[{x:H+ft*_,y:U+ft*W,"text-anchor":"middle","dominant-baseline":"central",rotate:b},rt]);return(L||p)&&(z.transform=`translate(${L}, ${p})`),[z,Q,nt,String(S??String(w).replace(/\x01|\x02/g,""))]}}).filter(d=>d!=null))});function s(a){let u=[];for(let c=0;c<a.length;c++)if(a[c]==""){let l=c+1;for(;l<a.length&&a[l]!="";)l++;u.push(a.slice(c+1,l)),c=l}else u.push(a[c]);return u}return(a,u)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,c=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c,([l,h,d,m])=>(o.openBlock(),o.createElementBlock("text",o.mergeProps({ref_for:!0},l,o.toHandlers(h,!0)),[o.createElementVNode("title",null,o.toDisplayString(m),1),u[0]||(u[0]=o.createTextVNode()),typeof d=="string"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(d.replace(/ /g,"\xA0")),1)],64)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(d,([f,g])=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[g?(o.openBlock(),o.createElementBlock("tspan",o.mergeProps({key:0,ref_for:!0},f),o.toDisplayString(g),17)):o.createCommentVNode("",!0)],64))),256))],16))),256))],16))),256))]))}},tile:Ys},Symbol.toStringTag,{value:"Module"})),E6={__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:A6,canvas:c6},r=o.computed(()=>{let u=t.render??t.defaultRender;return u=="auto"?t.data.map(l=>l.length).reduce((l,h)=>l+h,0)>1e3?"canvas":"svg":n[u][t.geom]!=null?u:"svg"}),i=o.useTemplateRef("layer"),s=o.computed(()=>r.value=="canvas"?"pointer-events: none;":"");e({render:r,dispatchEvent:u=>i.value?.dispatchEvent?.(u)});const a=o.computed(()=>r.value==="canvas"?t.dpi??t.defaultDpi:void 0);return(u,c)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n[r.value][t.geom]),{ref_key:"layer",ref:i,style:o.normalizeStyle(s.value),data:t.data,dpi:a.value},null,8,["style","data","dpi"]))}},C6={key:0},T6=["onPointerdown"],_s={__name:"CoreSelection",props:o.mergeModels({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:o.mergeModels(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=o.createPropsRestProxy(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function i({xmin:m,xmax:f,ymin:g,ymax:y,xreverse:w=!1,yreverse:S=!1}={}){if([m,f,g,y].every(A=>A==null))return null;m!=null&&f!=null&&m>f&&([m,f,w]=[f,m,!w]),g!=null&&y!=null&&g>y&&([g,y,S]=[y,g,!S]);let $={xreverse:w,yreverse:S};return m!=null&&isFinite(m)&&($.xmin=m),f!=null&&isFinite(f)&&($.xmax=f),g!=null&&isFinite(g)&&($.ymin=g),y!=null&&isFinite(y)&&($.ymax=y),$}const s=o.computed(()=>{if(n.value==null||n.value.hidden)return null;let m=i(n.value);if(m==null)return null;let{hmin:f,hmax:g,vmin:y,vmax:w}=t.coord2pos(m,{limited:!0}),S=t.coord2pos(m);return{hmin:f,hmax:g,vmin:y,vmax:w,pos:S}}),a=o.computed(()=>{if(!s.value)return null;let{translateH:m,translateV:f,scaleH:g,scaleV:y}=t.activeTransform,{hmin:w,hmax:S,vmin:$,vmax:A,pos:M}=s.value,B=S-w,E=A-$,L=t.layout.left,p=t.layout.top,x=1,N=1;if(M.hmin!=null&&M.hmax!=null)L+=m,x=g;else if(M.hmin!=null){let k=m+w*(g-1);x=1-k/B,L+=k*(1+w/B)}else if(M.hmax!=null){let k=m+S*(g-1);x=1+k/B,L+=k*(1-S/B)}if(M.vmin!=null&&M.vmax!=null)p+=t.activeTransform.translateV,N=t.activeTransform.scaleV;else if(M.vmin!=null){let k=f+$*(y-1);N=1-k/E,p+=k*(1+$/E)}else if(M.vmax!=null){let k=f+A*(y-1);N=1+k/E,p+=k*(1-A/E)}let b=[];return(L!=0||p!=0)&&b.push(`translate(${L}, ${p})`),(x!=1||N!=1)&&b.push(`scale(${x}, ${N})`),b.join(" ")||null}),u=o.computed(()=>t.activeTransform.translateH!=0||t.activeTransform.translateV!=0||t.activeTransform.scaleH!=1||t.activeTransform.scaleV!=1),c=o.computed(()=>{if(!s.value)return null;let{hmin:m,hmax:f,vmin:g,vmax:y,pos:w}=s.value,S=t.theme?.line_width??1;w.hmin==null&&(m-=S/2),w.hmax==null&&(f+=S/2),w.vmin==null&&(g-=S/2),w.vmax==null&&(y+=S/2);let $=Math.max(0,f-m),A=Math.max(0,y-g);return{x:m,y:g,width:$,height:A,fill:t.theme?.background??"transparent","fill-opacity":t.theme?.opacity,stroke:t.theme?.line_color??"none","stroke-width":t.theme?.line_width,"stroke-opacity":t.theme?.opacity,transform:a.value,style:{transition:t.transition,"pointer-events":"none"}}}),l=o.computed(()=>{if(!s.value||u.value)return null;let m=10,{hmin:f,hmax:g,vmin:y,vmax:w,pos:S}=s.value,$=Math.max(0,g-f),A=Math.max(0,w-y),M={};r.move&&(M.tblr={x:f,y,width:$,height:A,fill:"transparent",style:"cursor:move;"}),r.resize&&(S.hmin!=null&&(M.l={x:f-m/2,y,width:m,height:A,style:"cursor:ew-resize;",class:"vvplot-interactive"}),S.hmax!=null&&(M.r={x:g-m/2,y,width:m,height:A,style:"cursor:ew-resize;"}),S.vmin!=null&&(M.t={x:f,y:y-m/2,width:$,height:m,style:"cursor:ns-resize;"}),S.vmax!=null&&(M.b={x:f,y:w-m/2,width:$,height:m,style:"cursor:ns-resize;"}),S.hmin!=null&&S.vmin!=null&&(M.tl={x:f-m/2,y:y-m/2,width:m,height:m,style:"cursor:nwse-resize;"}),S.hmax!=null&&S.vmin!=null&&(M.tr={x:g-m/2,y:y-m/2,width:m,height:m,style:"cursor:nesw-resize;"}),S.hmin!=null&&S.vmax!=null&&(M.bl={x:f-m/2,y:w-m/2,width:m,height:m,style:"cursor:nesw-resize;"}),S.hmax!=null&&S.vmax!=null&&(M.br={x:g-m/2,y:w-m/2,width:m,height:m,style:"cursor:nwse-resize;"}));let B=t.layout.left,E=t.layout.top;if(B||E)for(let L in M)M[L].transform=`translate(${B}, ${E})`;return M}),h=e;function d(m,f){if(!f||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(W=>r[W]==m[W]))return;m.stopPropagation(),m.preventDefault(),m.target.setPointerCapture(m.pointerId);let{xreverse:g,yreverse:y,...w}=i(n.value),S=t.coord2pos(w),{h:$,v:A}=t.pos2coord({h:S.hmin,v:S.vmin}),{h:M,v:B}=t.pos2coord({h:S.hmax,v:S.vmax}),{hmin:E,hmax:L,vmin:p,vmax:x}=S,N=!1,b={min:r.xmin,max:r.xmax},k={min:r.ymin,max:r.ymax},[P=0,O=0]=t.flip?[r.minRangeY,r.minRangeX]:[r.minRangeX,r.minRangeY],X=t.coord2pos(r),H=0,U=0,D,I,z,Q,K=!1,_=!1;m.target.onpointermove=W=>{if(N=!0,H+=W.movementX,U+=W.movementY,f.includes("l")&&f.includes("r")){let nt=ht(H,{min:X.hmin-E,max:X.hmax-L}),rt=t.pos2coord({hmin:at(E,nt),hmax:at(L,nt)});$=rt.hmin,M=rt.hmax}else f.includes("l")?($=t.pos2coord({h:E+H}).h,$=ht($,$>M?{min:at(M,P)}:{max:at(M,-P)}),K=E+H>L):f.includes("r")&&(M=t.pos2coord({h:L+H}).h,M=ht(M,M>$?{min:at($,P)}:{max:at($,-P)}),K=L+H<E);if(f.includes("t")&&f.includes("b")){let nt=ht(U,{min:X.vmin-p,max:X.vmax-x}),rt=t.pos2coord({vmin:at(p,nt),vmax:at(x,nt)});A=rt.vmin,B=rt.vmax}else f.includes("t")?(A=t.pos2coord({v:p+U}).v,A=ht(A,A>B?{min:at(B,O)}:{max:at(B,-O)}),_=p+U>x):f.includes("b")&&(B=t.pos2coord({v:x+U}).v,B=ht(B,B>A?{min:at(A,O)}:{max:at(A,-O)}),_=x+U<p);D=ht(t.flip?A:$,b),I=ht(t.flip?B:M,b),z=ht(t.flip?$:A,k),Q=ht(t.flip?M:B,k),D>I&&([D,I]=[I,D]),z>Q&&([z,Q]=[Q,z]),h("selecting",{xmin:D,xmax:I,ymin:z,ymax:Q},t.theme)},m.target.onpointerup=W=>{if(W.currentTarget.onpointerup=null,W.currentTarget.onpointermove=null,r.buttons&1&&(W.currentTarget.onclick=ft=>{ft.currentTarget.onclick=null,h("click",ft)}),r.buttons&2&&(W.currentTarget.oncontextmenu=ft=>{ft.currentTarget.onclick=null,h("contextmenu",ft)}),!N)return;let nt={xmin:D,xmax:I,xreverse:!!(K^g),ymin:z,ymax:Q,yreverse:!!(_^y)},rt=new PointerEvent("select",m);n.value=$t(nt),h("selectend"),h("select",$t(nt),rt)}}return(m,f)=>c.value?(o.openBlock(),o.createElementBlock("g",C6,[o.createElementVNode("rect",o.normalizeProps(o.guardReactiveProps(c.value)),null,16),f[0]||(f[0]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,(g,y)=>(o.openBlock(),o.createElementBlock("rect",o.mergeProps({fill:"transparent"},{ref_for:!0},g,{onPointerdown:w=>d(w,y),class:"vvplot-interactive"}),null,16,T6))),256))])):o.createCommentVNode("",!0)}},M6=["height","width"],$6=["y1","y2"],B6=["y"],L6={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=o.computed(()=>{let{min:s,max:a}=t.limits;return t.breaks.map(u=>({position:(u-s)/(a-s),label:String(u)}))}),n=o.computed(()=>{let s=30,{min:a,max:u}=t.limits,c=(u-a)/(s-1),l=Array.from({length:s},(d,m)=>a+m*c),h=t.scales.map(d=>d(l));return l.map((d,m)=>Object.fromEntries(t.scales.map((f,g)=>[{color:"fill"}[f.aesthetics]??f.aesthetics,h[g][m]])))}),r=o.ref(0),i=o.useTemplateRef("svg");return o.watch(e,async()=>{await o.nextTick();let s=i.value?.getBBox?.();s&&(r.value=s.width+s.x)},{immediate:!0}),(s,a)=>(o.openBlock(),o.createElementBlock("svg",{height:n.value.length*3+20,width:r.value,ref:"svg"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(u,c)=>(o.openBlock(),o.createBlock(m1,o.mergeProps({width:10,height:3.1,x:10,y:10+(29-c+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},u),null,16,["y","alpha"]))),256)),a[1]||(a[1]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.value,(u,c)=>(o.openBlock(),o.createElementBlock("g",null,[o.createElementVNode("line",{x1:"15",x2:"18",y1:10+(1-u.position)*90,y2:10+(1-u.position)*90,stroke:"black"},null,8,$6),a[0]||(a[0]=o.createTextVNode()),o.createElementVNode("text",{x:"20",y:10+(1-u.position)*90,"alignment-baseline":"central"},o.toDisplayString(u.label),9,B6)]))),256))],8,M6))}},Gs=Object.freeze(Object.defineProperty({__proto__:null,curve:Fs,line:Ze,point:xr,polygon:Xs,text:fn,tile:m1},Symbol.toStringTag,{value:"Module"})),q6=["height","width"],O6=["transform"],P6={transform:"translate(10, 10)"},V6={x:"20",y:"10","alignment-baseline":"central"},D6={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=o.computed(()=>{let s=t.scales.map(l=>l(t.breaks)),a=t.breaks.map((l,h)=>({bind:Object.fromEntries(t.scales.map((d,m)=>[d.aesthetics,s[m][h]])),label:String(l)})),u=Dl(a.map(l=>l.bind)),c=Map.groupBy(a.map(l=>l.label),(l,h)=>u.categories[u[h]]);return Array.from(c).map(([l,h])=>{let d={tile:{},line:{},point:{},text:{}};for(let m in d)for(let f of Object.keys(Gs[m].props))l[f]&&(d[m][f]=l[f]);return{bind:d,label:h.join("; ")}})}),n=o.computed(()=>{let{text:s,line:a,point:u,tile:c}=t.appearances,l={};return c!=null&&(l.tile={width:10,height:10,fill:"none",...c}),a!=null&&(l.line={x1:-5,x2:5,color:"black",...a}),u!=null&&(l.point={size:6,...u}),s!=null&&(l.text={size:4,text:"a",...s}),l}),r=o.ref(0),i=o.useTemplateRef("svg");return o.watch(e,async()=>{await o.nextTick();let s=i.value?.getBBox?.();s&&(r.value=s.width+s.x)},{immediate:!0}),(s,a)=>(o.openBlock(),o.createElementBlock("svg",{height:e.value.length*20,width:r.value,ref:"svg"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.value,(u,c)=>(o.openBlock(),o.createElementBlock("g",{transform:`translate(0, ${c*20})`},[o.createElementVNode("g",P6,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(l,h)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(Gs[h]),o.mergeProps({ref_for:!0},{...l,...u.bind[h]}),null,16))),256))]),a[0]||(a[0]=o.createTextVNode()),o.createElementVNode("text",V6,o.toDisplayString(u.label),1)],8,O6))),256))],8,q6))}},j6=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:D6,gradientbar:L6},n=o.computed(()=>t.scales.reduce((s,[a])=>s??a.title,null)??t.scales.reduce((s,[a])=>s??a._title,null)),r=o.computed(()=>{let s=t.scales.map(([u])=>u),a=s.find(u=>u.breaks!=null);return Array.isArray(a?.breaks)?Array.from(a.breaks):(a=s.find(u=>u.level!=null),a?.level?a.level.apply(Array.from(a.level)):(a=s.find(u=>u.limits!=null),n1.number({minor:!0})(a.limits)))}),i=o.computed(()=>{let s={scales:t.scales.map(([a])=>a)};if(t.type=="legendkey")s.appearances={tile:Ot(...t.scales.flatMap(([a,u])=>[u.rect,u.tile,u.polygon,u.ellipse])),line:Ot(...t.scales.flatMap(([a,u])=>[u.line,u.linerange,u.curve])),point:Ot(...t.scales.flatMap(([a,u])=>[u.point])),text:Ot(...t.scales.flatMap(([a,u])=>[u.text,u.markdown]))};else if(t.type=="gradientbar"){let a=t.scales.map(([c])=>c.limits?.max).filter(c=>c!=null).reduce((c,l)=>Math.min(c,l),1/0),u=t.scales.map(([c])=>c.limits?.min).filter(c=>c!=null).reduce((c,l)=>Math.max(c,l),-1/0);s.limits={min:u,max:a},s.appearance=Ot(...t.scales.flatMap(([c,l])=>Object.values(l)))}return s});return(s,a)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("span",null,o.toDisplayString(n.value),1),a[0]||(a[0]=o.createTextVNode()),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e[t.type]),o.mergeProps(i.value,{breaks:r.value}),null,16,["breaks"]))],64))}}),R6={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=o.computed(()=>{let r=new Map(Array.from(t.scales).filter(([l])=>l.legend!==!1&&l.limits?.min!=l.limits?.max)),i=Array.from(r.keys()),s=i.map(l=>l.key),a=1;for(let l=0;l<s.length;l++){for(;s.includes("_guide_"+a);)a++;s[l]??=s.find((h,d)=>s[d]!=null&&be.isEqual(i[d].level,i[l].level))??"_guide_"+a}let u=i.map(l=>n(l)),c=jl(s,u);return Map.groupBy(r,(l,h)=>c.categories[c[h]])});function n(r){return r==null?null:["gradientbar","legendkey"].includes(r.guide)?r.guide:r.level?"legendkey":["color","fill","alpha"].includes(r.aesthetics)?"gradientbar":"legendkey"}return(r,i)=>t.scales?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vvplot-legend",style:o.normalizeStyle({gap:t.theme.spacing+"px"})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.value,([[s,a],u])=>(o.openBlock(),o.createBlock(j6,{key:s,type:a,scales:u},null,8,["type","scales"]))),128))],4)):o.createCommentVNode("",!0)}},I6=["id"],H6=["width","height"],F6=["transform","width","height","fill"],U6=["transform"],z6=["transform","clip-path"],X6=["transform"],Y6=["clip-path"],_6={key:1},G6=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:o.mergeModels({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:o.mergeModels(["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 r=o.useId(),i=o.createPropsRestProxy(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),s=n,a=o.inject("range"),u=o.inject("rangePreview"),c=o.useModel(t,"selectionPreview"),l=o.useModel(t,"selectionPreviewTheme");function h(q,V){c.value=q,l.value=V}const d=o.computed(()=>Object.assign({},t.theme?.selection,l.value));function m(){c.value={}}const f=o.useModel(t,"transition"),g=o.useTemplateRef("svg"),y=o.useTemplateRef("layers"),w=o.ref(0),S=o.ref(0);Kr(g,q=>{let{width:V,height:j}=q[0].contentRect;w.value=V,S.value=j});const $=o.computed(()=>new Q2(t.schema,i.layers)),A=o.computed(()=>$.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(a,t.expandAdd,i.minRange)),M=he(()=>{let q=Object.fromEntries(["left","right","top","bottom"].map(C=>[C,t.paddings[C]&&t.theme.plot.padding[C]||0])),V=+t.theme.plot.margin.left+q.left,j=+t.theme.plot.margin.right+q.right,F=+t.theme.plot.margin.top+q.top,v=+t.theme.plot.margin.bottom+q.bottom;return F+v>S.value&&(F=S.value*(F/(F+v)),v=S.value-F),V+j>w.value&&(V=w.value*(V/(V+j)),j=w.value-V),{l:V,r:j,t:F,b:v,left:V,right:w.value-j,top:F,bottom:S.value-v,width:w.value-V-j,height:S.value-F-v}}),B=he(()=>{let q=A.value.coordScales,V=t.expandMult,{min:j,max:F}=b(q.x.range,V.x),{min:v,max:C}=b(q.y.range,V.y),[T,R,Y,Z]=t.flip?[v,C,j,F]:[j,F,v,C],{width:it,height:tt}=M;return{left:it*T||0,right:it*(1-R)||0,top:tt*Z||0,bottom:tt*(1-Y)||0,l:it*T||0,r:it*R||0,t:tt*Z||0,b:tt*Y||0,width:it*(1-T-R),height:tt*(1-Z-Y),fullWidth:it,fullHeight:tt}});e({vplot:A,panel:M,svg:g});const E=o.computed(()=>{let q=_.value.translateH+B.left,V=_.value.translateV+B.top,j=_.value.scaleH,F=_.value.scaleV,v=[];return(q!=0||V!=0)&&v.push(`translate(${q}, ${V})`),(j!=1||F!=1)&&v.push(`scale(${j}, ${F})`),{transform:v.join(" ")||null}});function L({value:q,min:V,max:j},F,v,C){let T={};return q!=null&&(T.value=F.invert(v?1-q/C:q/C)),v?(j!=null&&(T.min=F.invert(1-j/C)),V!=null&&(T.max=F.invert(1-V/C))):(V!=null&&(T.min=F.invert(V/C)),j!=null&&(T.max=F.invert(j/C))),T}function p({h:q,hmin:V,hmax:j,v:F,vmin:v,vmax:C}={}){let T=A.value.coordScales,{width:R,height:Y}=B,Z={},[it,tt,pt]=t.flip?[F,v,C]:[q,V,j],[gt,st,ot]=t.flip?[q,V,j]:[F,v,C];if(it!=null||tt!=null||pt!=null){let{value:J,min:et,max:G}=L({value:it,min:tt,max:pt},T.x,t.flip!=t.reverse.x,t.flip?Y:R);Object.assign(Z,$t({x:J,xmin:et,xmax:G})),t.flip?Object.assign(Z,$t({v:J,vmin:et,vmax:G})):Object.assign(Z,$t({h:J,hmin:et,hmax:G}))}if(gt!=null||st!=null||ot!=null){let{value:J,min:et,max:G}=L({value:gt,min:st,max:ot},T.y,t.flip==t.reverse.y,t.flip?R:Y);Object.assign(Z,$t({y:J,ymin:et,ymax:G})),t.flip?Object.assign(Z,$t({h:J,hmin:et,hmax:G})):Object.assign(Z,$t({v:J,vmin:et,vmax:G}))}return Z}function x({value:q,min:V,max:j}={},{oob:F=A1}={},v,C,T,R){let Y={};return q!=null&&(Y.value=T?F(T*(C?1-v(q):v(q)),R):0),V==null&&j==null||(C?(j!=null&&(Y.min=T?F(T*(1-v(j)),R):0),V!=null&&(Y.max=T?F(T*(1-v(V)),R):0)):(V!=null&&(Y.min=T?F(T*v(V),R):0),j!=null&&(Y.max=T?F(T*v(j),R):0))),Y}function N({h:q,hmin:V,hmax:j,v:F,vmin:v,vmax:C,x:T,xmin:R,xmax:Y,y:Z,ymin:it,ymax:tt}={},{limited:pt=!1,oob:gt=A1}={}){let{width:st,height:ot,l:J,r:et,t:G,b:dt}=B,ct={},Tt=A.value.coordScales,Bt={min:-J,max:st+et},ge={min:-G,max:ot+dt};if((T!=null||R!=null||Y!=null)&&(t.flip?[F,v,C]=[T,R,Y]:[q,V,j]=[T,R,Y]),(Z!=null||it!=null||tt!=null)&&(t.flip?[q,V,j]=[Z,it,tt]:[F,v,C]=[Z,it,tt]),q!=null||V!=null||j!=null){let{value:ue,min:te,max:ee}=x({value:q,min:V,max:j},{oob:gt},Tt[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],st,Bt);Object.assign(ct,$t({h:ue,hmin:te,hmax:ee}))}if(F!=null||v!=null||C!=null){let{value:ue,min:te,max:ee}=x({value:F,min:v,max:C},{oob:gt},Tt[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ot,ge);Object.assign(ct,$t({v:ue,vmin:te,vmax:ee}))}return pt&&(ct.hmin==null&&(ct.hmin=Bt.min),ct.hmax==null&&(ct.hmax=Bt.max),ct.vmin==null&&(ct.vmin=ge.min),ct.vmax==null&&(ct.vmax=ge.max)),ct}function b({min:q,max:V}={},{min:j=0,max:F=0}={}){let v=V-q,C=+q-j*v,T=+V+F*v,R=T-C;return{min:R==0?0:(q-C)/R,max:R==0?0:(T-V)/R}}function k(q){let V=g.value.getBoundingClientRect(),j=V.width/g.value.clientWidth,F=V.height/g.value.clientHeight,v=q.clientX-V.left,C=q.clientY-V.top,T=v/j-(M.left+B.left),R=C/F-(M.top+B.top),Y=M.left+B.right-v/j,Z=M.top+B.bottom-C/F,{x:it,y:tt}=p({h:T,v:R});return{l:T,t:R,r:Y,b:Z,x:it,y:tt}}function P(q){let V=g.value.getBoundingClientRect(),j=V.width/g.value.clientWidth,F=V.height/g.value.clientHeight;return q.clientX-V.left>M.l*j&&V.right-q.clientX>M.r*j&&q.clientY-V.top>M.t*F&&V.bottom-q.clientY>M.b*F}function O(q){if(!y.value||q._vhandled||!P(q)||!Array.from(y.value).filter(v=>v.render=="canvas").length)return q;let j={};for(let v in q)j[v]=q[v];j.bubbles=!1;let F=new PointerEvent(q.type,j);for(let v of Object.keys(q)){let C=Object.getOwnPropertyDescriptor(F,v);C&&!C.writable&&!C.set||(F[v]=q[v])}for(let v=y.value.length-1;v>=0;v--)y.value[v].dispatchEvent(F)===!1&&q.preventDefault();for(let v of Object.keys(F)){let C=Object.getOwnPropertyDescriptor(F,v);C&&!C.writable&&!C.set||(q[v]=F[v])}return F._vhandled?F:q}let X,H=0,U=0;function D(q){let V=O(q),j=k(q);if(s("pointerdown",V,j),V.defaultPrevented&&q.preventDefault(),i.clip&&!P(q))return;let F=q.currentTarget,v=!1;function C(Y){(Math.abs(Y.screenX-q.screenX)>3||Math.abs(Y.screenY-q.screenY)>3)&&(v=!0,Y.currentTarget.removeEventListener("pointermove",C))}q.target.addEventListener("pointermove",C,{passive:!0}),q.target.addEventListener("pointerup",function(Y){if(q.target.removeEventListener("pointermove",C),!v){let Z=new PointerEvent("singleclick",Y);Y.target.dispatchEvent(Z)}},{once:!0});let T=i.selections.findLast(Y=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(Z=>Y[Z]==q[Z]));if(T){let{x:Y=!1,y:Z=!1,"min-range-x":it=0,"min-range-y":tt=0}=T;q.target.setPointerCapture(q.pointerId),F.style.userSelect="none";let pt=(({xmin:st,xmax:ot})=>({min:st,max:ot}))(T),gt=(({ymin:st,ymax:ot})=>({min:st,max:ot}))(T);q.target.onpointermove=st=>{if(!Y&&!Z||!v)return;let ot=k(st),J={};if(Y){let et=ht(j.x,pt),G=ht(ht(ot.x,ot.x>et?{min:at(et,it)}:{max:at(et,-it)}),pt);J.xmin=et>G?G:et,J.xmax=et>G?et:G,J.xreverse=et>G}if(Z){let et=ht(j.y,gt),G=ht(ht(ot.y,ot.y>et?{min:at(et,tt)}:{max:at(et,-tt)}),gt);J.ymin=et>G?G:et,J.ymax=et>G?et:G}c.value=J,l.value=T.theme},q.target.onpointerup=st=>{if(st.currentTarget.onpointerup=null,st.currentTarget.onpointermove=null,F.style.userSelect=null,c.value={},v&&(Y||Z)){T.buttons&1&&(st.currentTarget.onclick=G=>{G.currentTarget.onclick=null,ke(T.onClick,G)}),T.buttons&2&&(st.currentTarget.oncontextmenu=G=>{G.currentTarget.oncontextmenu=null,ke(T.onContextmenu,G)});let ot=k(st),J={},et=new PointerEvent("select",q);if(Y){let G=ht(j.x,pt),dt=ht(ht(ot.x,ot.x>G?{min:at(G,it)}:{max:at(G,-it)}),pt);if(G==dt)return;J.xmin=G>dt?dt:G,J.xmax=G>dt?G:dt,J.xreverse=G>dt}if(Z){let G=ht(j.y,gt),dt=ht(ht(ot.y,ot.y>G?{min:at(G,tt)}:{max:at(G,-tt)}),gt);if(G==dt)return;J.ymin=G>dt?dt:G,J.ymax=G>dt?G:dt,J.yreverse=G>dt}T["onUpdate:modelValue"]?.(J),ke(T.onSelect,$t(J),et)||s("select",$t(J),et)}if(!v&&T.dismissible!==!1){if(st.defaultPrevented)return;let ot=T.modelValue;if(T.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(G=>ot?.[G]==null))return;let J={},et=new PointerEvent("select",q);T["onUpdate:modelValue"]?.(J),ke(T.onDismiss,$t(J),et)||s("select",$t(J),et)}};return}let R=i.action.find(Y=>Y.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(Z=>Y[Z]==q[Z]));if(R){let Y=g.value.getBoundingClientRect(),Z=Y.width/g.value.clientWidth,it=Y.height/g.value.clientHeight;q.target.setPointerCapture(q.pointerId),F.style.userSelect="none",X=clearTimeout(X);let tt=0,pt=B.width,gt=0,st=B.height,ot,J,et,G,dt=N(R);q.target.onpointermove=ct=>{let{x:Tt=!1,y:Bt=!1}=R,[ge,ue]=t.flip?[Bt,Tt]:[Tt,Bt];if(ge){H+=ct.movementX;let Le=ht(-H/Z,{min:dt.hmin-tt,max:dt.hmax-pt});ot=tt+Le,J=pt+Le}if(ue){U+=ct.movementY;let Le=ht(-U/it,{min:dt.vmin-gt,max:dt.vmax-st});et=gt+Le,G=st+Le}let{xmin:te,xmax:ee,ymin:Zs,ymax:Qe}=p({hmin:ot,hmax:J,vmin:et,vmax:G});Object.assign(u,{xmin:te,xmax:ee,ymin:Zs,ymax:Qe})},q.target.onpointerup=ct=>{ct.currentTarget.onpointerup=null,ct.currentTarget.onpointermove=null,F.style.userSelect=null,X=setTimeout(()=>{W(R,ct),H=U=0},300)};return}}let I=0,z;function Q(q){let V=O(q),j=k(q);if(s("wheel",V,j),V.defaultPrevented&&q.preventDefault(),i.clip&&!P(q))return;let F=i.action.find(v=>["zoom","nudge"].includes(v.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(C=>v[C]==q[C]));!F||!F.x&&!F.y||(z=clearTimeout(z),q.preventDefault(),f.value="transform 0.1s ease-out",I+=q.deltaY,K(F,j,I),z=setTimeout(()=>{W(F,q),I=0},300))}function K(q,V,j){if(q.action=="zoom"){let{x:F=!1,y:v=!1,"min-range-x":C=0,"min-range-y":T=0,sensitivity:R=1.25}=q,Y=R**(I/100),[Z,it]=t.flip?[v,F]:[F,v],tt=N(q),pt,gt,st,ot;Z&&(pt=Math.max(V.l-Math.max(V.l,0)*Y,tt.hmin??-1/0),gt=Math.min(V.l+Math.max(V.r,0)*Y,tt.hmax??1/0)),it&&(st=Math.max(V.t-Math.max(V.t,0)*Y,tt.vmin??-1/0),ot=Math.min(V.t+Math.max(V.b,0)*Y,tt.vmax??1/0));let{xmin:J,xmax:et,ymin:G,ymax:dt}=p({hmin:pt,hmax:gt,vmin:st,vmax:ot});if(F&&Y<1&&et-J<C){let ct=(et+J)/2;J=ct-C/2,et=ct+C/2}if(v&&Y<1&&dt-G<T){let ct=(dt+G)/2;G=ct-T/2,dt=ct+T/2}Object.assign(u,{xmin:J,xmax:et,ymin:G,ymax:dt})}if(q.action=="nudge"){let{x:F=!1,y:v=!1,sensitivity:C=.1}=q,[T,R]=t.flip?[v,F]:[F,v],Y=N(q),Z=0,it=B.width,tt=0,pt=B.height,gt,st,ot,J;if(T){let Tt=C*B.width*(-j/120),Bt=ht(-Tt,{min:Y.hmin-Z,max:Y.hmax-it});gt=Z+Bt,st=it+Bt}if(R){let Tt=C*B.height*(-j/120),Bt=ht(-Tt,{min:Y.vmin-tt,max:Y.vmax-pt});ot=tt+Bt,J=pt+Bt}let{xmin:et,xmax:G,ymin:dt,ymax:ct}=p({hmin:gt,hmax:st,vmin:ot,vmax:J});Object.assign(u,{xmin:et,xmax:G,ymin:dt,ymax:ct})}}const _=o.computed(()=>{let q=0,V=B.width,j=0,F=B.height,{hmin:v=q,hmax:C=V,vmin:T=j,vmax:R=F}=N(u??{}),Y=V-q,Z=C-v,it=F-j,tt=R-T;return{scaleH:Y<1||Z<1||Math.abs(Y-Z)<1?1:Y/Z,translateH:(q*C-v*V)/(C-v)||0,scaleV:it<1||tt<1||Math.abs(it-tt)<1?1:it/tt,translateV:(j*R-T*F)/(R-T)||0}});o.watch(_,({translateH:q,translateV:V,scaleH:j,scaleV:F})=>{!q&&!V&&j==1&&F==1&&(f.value=null)},{deep:!0});function W(q,V){let j=$t(u)??{};if(!Object.keys(j).length)return;let F=new PointerEvent(V.type,V);ke(q.emit,j,F)||s(q.action,j,F),rt(j),Object.assign(u,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const nt={pointerdown:D,pointerup(q){let V=O(q),j=k(q);s("pointerup",V,j),V.defaultPrevented&&q.preventDefault()},pointerover(q){s("pointerover",q,k(q))},pointerout(q){s("pointerout",q,k(q))},pointerenter(q){s("pointerenter",q,k(q))},pointerleave(q){s("pointerleave",q,k(q))},click(q){s("click",O(q),k(q))},contextmenu(q){let V=O(q),j=k(q);s("contextmenu",V,j),V.defaultPrevented&&q.preventDefault()},singleclick(q){s("singleclick",O(q),k(q))},dblclick(q){let V=O(q),j=k(q);s("dblclick",V,j),V.defaultPrevented&&q.preventDefault()},pointermove(q){let V=O(q),j=k(q);s("pointermove",V,j),V.defaultPrevented&&q.preventDefault()},wheel:Q};function rt(q){let{xmin:V,xmax:j,ymin:F,ymax:v}=q,{xmin:C,xmax:T,ymin:R,ymax:Y}=a;V=V!=null?at(V,+t.expandAdd.x.min):C,j=j!=null?at(j,-t.expandAdd.x.max):T,F=F!=null?at(F,+t.expandAdd.y.min):R,v=v!=null?at(v,-t.expandAdd.y.max):Y,!(V==C&&j==T&&F==R&&v==Y)&&Object.assign(a,{xmin:V,xmax:j,ymin:F,ymax:v})}const ft=he(()=>{let q=u?.xmin??a?.xmin,V=u?.xmax??a?.xmax,j=u?.ymin??a?.ymin,F=u?.ymax??a?.ymax;return{x:q||V?{min:q,max:V}:void 0,y:j||F?{min:j,max:F}:void 0}}),Rt=o.computed(()=>{let q={x:A.value.coordScales.x,y:A.value.coordScales.y};return i.axes.filter(V=>V.coord in q).filter(V=>["h","v"].includes(V.orientation)).map(({coord:V,breaks:j,labels:F,titles:v,minorBreaks:C,...T})=>({coord:V,axis:new J2(q[V],{breaks:j,labels:F,titles:v,minorBreaks:C}),etc:T}))});function Wt(q){let{grid_color:V,grid_color_major:j=V,grid_color_minor:F=V,grid_width:v,grid_width_major:C=v,grid_width_minor:T=v,...R}=q;return j&&(R.grid_color_major=j),F&&(R.grid_color_minor=F),C&&(R.grid_width_major=C),T&&(R.grid_width_minor=T),R}const zt=o.computed(()=>Rt.value.map(({coord:q,axis:V,etc:j})=>{let{showGrid:F,breakSlot:v,orientation:C,...T}=j,R=Wt(t.theme.axis[C]??{}),Y=Wt(T.theme),Z=V.getBreaks({range:ft[q],expandMult:t.expandMult[q],breakSlot:v});for(let it of Z)it.theme=Object.assign({},R,Y,Wt(it.theme??{}));return{breaks:Z,showGrid:F,coord:q,orientation:C,bind:T}})),Ht=o.computed(()=>{let q=zt.value.filter(j=>j.showGrid&&j.orientation=="v"),V=zt.value.filter(j=>j.showGrid&&j.orientation=="h");return{h:S1(q.flatMap(j=>j.breaks),j=>j.value,(j,F)=>[j,F].find(v=>v.type=="major")??j),v:S1(V.flatMap(j=>j.breaks),j=>j.value,(j,F)=>[j,F].find(v=>v.type=="major")??j)}}),ce=o.computed(()=>zt.value.map(({orientation:q,coord:V,bind:j,breaks:F})=>{let{onMove:v=(...Z)=>s("move",...Z),onZoom:C=(...Z)=>s("zoom",...Z),onRescale:T=(...Z)=>s("rescale",...Z),onNudge:R=(...Z)=>s("nudge",...Z),...Y}=j;return{orientation:q,bind:{coord:V,orientation:q,ticks:F.filter(Z=>Z.type=="major"),layout:B,coord2pos:N,pos2coord:p,...Y},on:{zoom:C,move:v,rescale:T,nudge:R,rangechange:rt}}}));return(q,V)=>(o.openBlock(),o.createElementBlock("svg",o.mergeProps({ref:"svg",width:"100%",height:"100%"},o.toHandlers(nt,!0),q.$attrs),[o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:`${o.unref(r)}-plot-clip`},[o.createElementVNode("rect",{x:"0",y:"0",width:o.unref(M).width,height:o.unref(M).height},null,8,H6)],8,I6)]),V[6]||(V[6]=o.createTextVNode()),t.theme.plot.background?(o.openBlock(),o.createElementBlock("rect",{key:0,transform:`translate(${o.unref(M).left}, ${o.unref(M).top})`,width:o.unref(M).width,height:o.unref(M).height,fill:t.theme.plot.background},null,8,F6)):o.createCommentVNode("",!0),V[7]||(V[7]=o.createTextVNode()),o.createElementVNode("g",{transform:`translate(${o.unref(M).left}, ${o.unref(M).top})`,style:{"pointer-events":"none"}},[o.createVNode(r6,{breaks:Ht.value.h,layout:o.unref(B),activeTransform:_.value,coord2pos:N,transition:f.value},null,8,["breaks","layout","activeTransform","transition"]),V[2]||(V[2]=o.createTextVNode()),o.createVNode(i6,{breaks:Ht.value.v,layout:o.unref(B),activeTransform:_.value,coord2pos:N,transition:f.value},null,8,["breaks","layout","activeTransform","transition"])],8,U6),V[8]||(V[8]=o.createTextVNode()),o.createElementVNode("g",{transform:`translate(${o.unref(M).left}, ${o.unref(M).top})`,"clip-path":i.clip?`url(#${o.unref(r)}-plot-clip)`:null},[o.createElementVNode("g",o.mergeProps(E.value,{style:{transition:f.value}}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(A.value.layers,j=>(o.openBlock(),o.createBlock(E6,o.mergeProps({ref_for:!0,ref_key:"layers",ref:y,data:j.data},{ref_for:!0},j.vBind,{layout:o.unref(B),geom:j.geom,coord2pos:N,getCoord:k,"default-render":i.render,"default-dpi":i.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),V[3]||(V[3]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.selections,j=>(o.openBlock(),o.createBlock(_s,o.mergeProps({coord2pos:N,pos2coord:p,layout:o.unref(B),onSelecting:h,onSelectend:m,transition:f.value,activeTransform:_.value},{ref_for:!0},j,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),V[4]||(V[4]=o.createTextVNode()),o.createVNode(_s,{coord2pos:N,pos2coord:p,layout:o.unref(B),modelValue:c.value,transition:f.value,activeTransform:_.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,z6),V[9]||(V[9]=o.createTextVNode()),o.createElementVNode("g",{transform:`translate(${o.unref(M).left}, ${o.unref(M).top})`},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ce.value.filter(j=>typeof j.bind.position!="number"),j=>(o.openBlock(),o.createBlock(js,o.mergeProps({ref_for:!0},j.bind,o.toHandlers(j.on),{transition:f.value,"onUpdate:transition":V[0]||(V[0]=F=>f.value=F),activeTransform:_.value}),null,16,["transition","activeTransform"]))),256)),V[5]||(V[5]=o.createTextVNode()),o.createElementVNode("g",{"clip-path":i.clip?`url(#${o.unref(r)}-plot-clip)`:null},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ce.value.filter(j=>typeof j.bind.position=="number"),j=>(o.openBlock(),o.createBlock(js,o.mergeProps({ref_for:!0},j.bind,o.toHandlers(j.on),{transition:f.value,"onUpdate:transition":V[1]||(V[1]=F=>f.value=F),activeTransform:_.value}),null,16,["transition","activeTransform"]))),256))],8,Y6)],8,X6),V[10]||(V[10]=o.createTextVNode()),o.renderSlot(q.$slots,"default"),V[11]||(V[11]=o.createTextVNode()),i.legendTeleport?(o.openBlock(),o.createElementBlock("foreignObject",_6,[(o.openBlock(),o.createBlock(o.Teleport,{defer:"",to:i.legendTeleport},[o.createVNode(R6,{scales:A.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):o.createCommentVNode("",!0)],16))}}),d1={$_type:"action",$_props:{}},br={$_type:"layer"},vr={$_props:{geom:"tile",stat:"bar"},$_type:"layer",$_argnames:["width","height","position"]},wr={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},kr={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer",$_argnames:["width","height","position"]},Nr={$_props:{geom:"curve",stat:"curve",fill:"none",color:"black"},$_type:"layer",$_attrnames:["interpolate"]},Sr={$_props:{geom:"curve",stat:"density",fill:"none",color:"black"},$_type:"layer",$_argnames:["n","kernel","scale"]},Ar={$_props:{geom:"ellipse",stat:"ellipse",fill:"none",color:"black"},$_type:"layer",$_argnames:["CI"]},Er={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},Cr={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},Tr={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},Mr={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},$r={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},Br={$_props:{geom:"line",stat:"path"},$_type:"layer"},Lr={$_props:{geom:"point",stat:"point"},$_type:"layer"},qr={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},Or={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},Pr={$_props:{geom:"line",stat:"segment"},$_type:"layer"},Vr={$_props:{geom:"shape",stat:"shape",interpolate:"catmullRomClosed"},$_type:"layer",$_attrnames:["interpolate"]},Dr={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},jr={$_props:{geom:"text",stat:"text"},$_type:"layer"},Rr={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},Ir={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},Hr={$_props:{geom:"shape",stat:"violin"},$_type:"layer",$_argnames:["n","kernel","scale","width","height","position"]},W6=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:br,VVGeomBar:vr,VVGeomBlank:wr,VVGeomBoxplot:kr,VVGeomCurve:Nr,VVGeomDensity:Sr,VVGeomEllipse:Ar,VVGeomHistogram:Er,VVGeomLine:Cr,VVGeomLinerange:Tr,VVGeomMarkdown:Mr,VVGeomMarkdownsegment:$r,VVGeomPath:Br,VVGeomPoint:Lr,VVGeomPolygon:qr,VVGeomRect:Or,VVGeomSegment:Pr,VVGeomShape:Vr,VVGeomStick:Dr,VVGeomText:jr,VVGeomTextsegment:Rr,VVGeomTile:Ir,VVGeomViolin:Hr},Symbol.toStringTag,{value:"Module"})),Fr={$_type:"axis",$_props:{}},Ur={$_type:"axis",$_props:{coord:"x"}},zr={$_type:"axis",$_props:{coord:"y"}},Xr={$_type:"axis-break",$_props:{type:"major"}},K6=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:Fr,VVAxisBreak:Xr,VVAxisX:Ur,VVAxisY:zr},Symbol.toStringTag,{value:"Module"})),Z6={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},Ws=Object.assign({inheritAttrs:!1},{__name:"Plot",props:o.mergeModels({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:o.mergeModels(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const r={...W6,...K6,VVAction:d1,VVSelection:d1},i={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function s(v){return v==null?v:v===""||!!v}const a=n,u=o.useModel(t,"selectionPreview"),c=o.useModel(t,"selectionPreviewTheme"),l=o.useModel(t,"transition");function h(v){return{props:Object.fromEntries(v.props.map(T=>{try{if(T.type==7)return[T.arg.content,new Function("return "+T.exp.content)()];if(T.type==6)return[T.name,T.value?.content??""]}catch{}}).filter(T=>T!=null)),children:v.children.map(T=>()=>[h(T)]),type:r[v.tag]}}const d=o.useSlots(),m=o.useAttrs(),f=o.reactive({axis:{},layer:{},action:{},selection:{},dom:{}});for(let v in d)o.watch(()=>d[v]?.(),C=>{let T=tn(C).flatMap(Y=>Y.type?.template?Vl(Y.type.template,{decodeEntities:!0}).children.map(it=>h(it)):Y).filter(Y=>Y!=null),R=Object.groupBy(T,Y=>Y.type.$_type??"dom");for(let Y in R)f[Y][v]=R[Y]},{immediate:!0});const g=o.computed(()=>Object.values(f.layer).flat()),y=o.computed(()=>Object.values(f.axis).flat()),w=o.computed(()=>Object.values(f.action).flat()),S=o.computed(()=>Object.values(f.selection).flat()),$=o.computed(()=>Object.keys(f.dom).flatMap(v=>v=="panel"?[]:f.dom[v])),A=o.computed(()=>$.value.filter(v=>Zr(v.type))),M=o.computed(()=>$.value.filter(v=>!Zr(v.type))),B=o.computed(()=>{let v={},C={};for(let T in m)if(T.startsWith("on")){let R=Array.isArray(m[T])?m[T]:[m[T]];v[T]=R.filter(Y=>typeof Y=="function"),C[T]=R.filter(Y=>typeof Y!="function")}else T.startsWith("svg-")?v[T.slice(4)]=m[T]:C[T]=m[T];return{plot:v,wrapper:C}}),E=o.computed(()=>{let v=[gi,pi].concat(t.theme??[]);return Gl(_l(Yl(...v),t.flip))},{deep:!0}),L=he(()=>{let v=y.value.map(R=>({...R.type.$_props,...R.props})),C=v.filter(R=>R.coord==="x"),T=v.filter(R=>R.coord==="y");return{x:C.find(R=>s(R.primary))??C.find(R=>R.primary==null&&!s(R.secondary)),y:T.find(R=>s(R.primary))??T.find(R=>R.primary==null&&!s(R.secondary))}}),p={levels:o.reactive({}),extend:o.reactive({}),"min-range":o.reactive({}),"expand-add":o.reactive({}),"expand-mult":o.reactive({}),boundary:o.reactive({}),reverse:o.reactive({}),min:o.reactive({}),max:o.reactive({}),"min-preview":o.reactive({}),"max-preview":o.reactive({})};o.watch(L,v=>{for(let C of["x","y"])for(let T in p)p[T][C]=v?.[C]?.[T]},{immediate:!0});const x=he(()=>{let v={};for(let C of["x","y"]){let T=p.boundary[C];v[C]={min:T?.min??T?.[0],max:T?.max??T?.[1]}}return v}),N=o.computed(()=>({data:t.data,aes:t.aes,extendX:p.extend.x??t.extend?.x??0,extendY:p.extend.y??t.extend?.y??0})),b=o.computed(()=>g.value.map(v=>{let{geom:C,stat:T,scales:R,data:Y,"extend-x":Z,"extend-y":it,...tt}={...v.type.$_props,...v.props},pt=v.type.$_argnames||[],gt=v.type.$_attrnames||[],st={},ot={},J={},et={};for(let G in tt)G!="key"&&(pt.includes(G)?ot[G]=tt[G]:gt.includes(G)?J[G]=tt[G]:G.startsWith("on")?et[G]=tt[G]:typeof tt[G]=="function"?["item-class","item-style"].includes(G)?st[G.slice(5)]=tt[G]:st[G]=tt[G]:["class","style","group-class","group-style","dpi","render"].includes(G)?et[G]=tt[G]:["item-class","item-style"].includes(G)?J[G.slice(5)]=tt[G]:J[G]=tt[G]);return{geom:C,stat:T,data:Y,aes:st,attrs:J,scales:R,args:ot,extendX:Z,extendY:it,vBind:et}})),k=o.computed(()=>(({x:v,y:C,...T})=>T)(t.levels??{})),P=o.computed(()=>{let v={};for(let C of["x","y"])v[C]=p.levels[C]??t.levels?.[C];return v}),O=o.computed(()=>{let v={};for(let C of["x","y"]){let T=p.min[C]??t.range?.[C+"min"],R=p.max[C]??t.range?.[C+"max"];v[C+"min"]=isFinite(T)&&!Number.isNaN(T)?T:null,v[C+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return v}),X=o.computed(()=>{let v={};for(let C of["x","y"]){let T=p["min-preview"][C]??t.rangePreview?.[C+"min"],R=p["max-preview"][C]??t.rangePreview?.[C+"max"];v[C+"min"]=isFinite(T)&&!Number.isNaN(T)?T:null,v[C+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return v}),H=he(()=>({xmin:L?.x?.["onUpdate:min"],xmax:L?.x?.["onUpdate:max"],ymin:L?.y?.["onUpdate:min"],ymax:L?.y?.["onUpdate:max"]})),U=he(()=>({xmin:L?.x?.["onUpdate:minPreview"],xmax:L?.x?.["onUpdate:maxPreview"],ymin:L?.y?.["onUpdate:minPreview"],ymax:L?.y?.["onUpdate:maxPreview"]})),D=o.reactive({}),I=o.reactive({});o.watch(O,(v,C)=>{v?.xmin!==C?.xmin&&(D.xmin=v.xmin),v?.xmax!==C?.xmax&&(D.xmax=v.xmax),v?.ymin!==C?.ymin&&(D.ymin=v.ymin),v?.ymax!==C?.ymax&&(D.ymax=v.ymax)},{immediate:!0}),o.watch(X,(v,C)=>{v?.xmin!==C?.xmin&&(I.xmin=v.xmin),v?.xmax!==C?.xmax&&(I.xmax=v.xmax),v?.ymin!==C?.ymin&&(I.ymin=v.ymin),v?.ymax!==C?.ymax&&(I.ymax=v.ymax)},{immediate:!0}),o.watch(()=>({...D}),(v,C)=>{for(let T in H)H[T]?.(v[T]);a("rangechange",{...v},{...C}),a("update:range",{...v})},{deep:!0}),o.watch(()=>I,v=>{for(let C in U)U[C]?.(v[C]);a("update:rangePreview",{...v})},{deep:!0}),o.provide("range",D),o.provide("rangePreview",I);const z=o.computed(()=>({x:p["min-range"].x??t.minRange?.x??0,y:p["min-range"].y??t.minRange?.y??0})),Q=o.computed(()=>{let v=p["expand-add"].x??t.expandAdd?.x??0,C=p["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(v)?v={min:v[0],max:v[1]}:typeof v=="number"&&(v={min:v,max:v}),Array.isArray(C)?C={min:C[0],max:C[1]}:typeof C=="number"&&(C={min:C,max:C}),{x:v,y:C}}),K=o.computed(()=>{let v=p["expand-mult"].x??t.expandMult?.x??.05,C=p["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(v)?v={min:v[0],max:v[1]}:typeof v=="number"&&(v={min:v,max:v}),Array.isArray(C)?C={min:C[0],max:C[1]}:typeof C=="number"&&(C={min:C,max:C}),{x:v,y:C}}),_=he(()=>({x:s(p.reverse.x)??t.reverse?.x??!1,y:s(p.reverse.y)??t.reverse?.y??!1})),W={left:1,right:2,middle:4,X1:8,X2:16},nt=o.computed(()=>{let v=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},C=y.value.map(T=>({...T.type.$_props,...T.props,$_children:T.children??{}})).concat(t.axes??[]);return C.every(T=>T?.coord!="x")&&C.push({coord:"x"}),C.every(T=>T?.coord!="y")&&C.push({coord:"y"}),C.map(({coord:T,position:R,title:Y,breaks:Z,labels:it,titles:tt,"minor-breaks":pt,"show-grid":gt,theme:st=[],extend:ot,boundary:J,action:et,primary:G,secondary:dt,"expand-mult":ct,"expand-add":Tt,levels:Bt,limits:ge,min:ue,max:te,"onUpdate:min":ee,"onUpdate:max":Zs,$_children:Qe={},...Le})=>{let qe=v[T];R=R??"start",R=="start"?(R={h:"bottom",v:"left"}[qe],_[i[T]]&&(R=i[R])):R=="end"&&(R={h:"top",v:"right"}[qe],_[i[T]]&&(R=i[R]));let J6=Qe.breaks,th=Object.keys(Qe).filter(Et=>typeof Qe[Et]=="function"&&Et!="breaks").flatMap(Et=>tn(Qe[Et]())).map(Et=>({...Et.type.$_props,...Et.props})).concat(et??[]).flatMap(Et=>{let Qs=[];for(let g1 of["move","nudge","zoom","rescale"]){let Kt=Et[g1];if(Kt==null||Kt===!1)continue;let eh="on"+g1.charAt(0).toUpperCase()+g1.slice(1);Qs.push({action:g1,[qe+"min"]:Kt.min??Et.min??J?.min??J?.[0]??x?.[T]?.min,[qe+"max"]:Kt.max??Et.max??J?.max??J?.[1]??x?.[T]?.max,["min-range-"+qe]:Kt["min-range"]??Et["min-range"],ctrlKey:!!(Kt.ctrl??s(Et.ctrl)),shiftKey:!!(Kt.shift??s(Et.shift)),altKey:!!(Kt.alt??s(Et.alt)),metaKey:!!(Kt.meta??s(Et.meta)),buttons:Kt.buttons??W[Kt.button]??Et.buttons??W[Et.button]??1,emit:Et[eh]})}return Qs});return{coord:T,orientation:qe,position:R,title:Y,breaks:Z,labels:it,titles:tt,minorBreaks:pt,breakSlot:J6,showGrid:s(gt)??R!=="none",extend:ot??p.extend[T],theme:Object.assign({},...[E.value?.axis?.[R]??E.value?.axis?.[qe]].concat(st)),action:th,...Le}}).filter(T=>T!=null)}),rt=o.reactive({});o.watch(nt,v=>{for(let C of["left","right","top","bottom"])rt[C]=v.some(T=>T.position==C)},{immediate:!0});const ft=o.computed(()=>w.value.map(v=>({...v.type.$_props,...v.props})).concat(t.action??[]).flatMap(v=>{let C=[];for(let T of["select","move","nudge","zoom"]){let R=v[T];if(R==null||R===!1)continue;let Y=R.x==null&&R.y==null&&v.x==null&&v.y==null,Z="on"+T.charAt(0).toUpperCase()+T.slice(1);C.push({action:T,x:Y||!!(R.x??s(v.x)),y:Y||!!(R.y??s(v.y)),xmin:R.xmin??v.xmin??x?.x?.min,xmax:R.xmax??v.xmax??x?.x?.max,ymin:R.ymin??v.ymin??x?.y?.min,ymax:R.ymax??v.ymax??x?.y?.max,"min-range-x":R["min-range-x"]??v["min-range-x"],"min-range-y":R["min-range-y"]??v["min-range-y"],ctrlKey:!!(R.ctrl??s(v.ctrl)),shiftKey:!!(R.shift??s(v.shift)),altKey:!!(R.alt??s(v.alt)),metaKey:!!(R.meta??s(v.meta)),buttons:R.buttons??W[R.button]??v.buttons??W[v.button]??1,emit:v[Z]})}return C})),Rt=o.computed(()=>S.value.map(v=>({...v.type.$_props,...v.props})).map(({once:v,move:C,dismissible:T,resize:R,x:Y,y:Z,xmin:it,xmax:tt,ymin:pt,ymax:gt,ctrl:st,shift:ot,alt:J,meta:et,button:G,buttons:dt,modelValue:ct,"onUpdate:modelValue":Tt,theme:Bt=[],...ge})=>{let ue=Y==null&&Z==null;return s(v)?(ct=o.reactive({}),Tt=null):Tt==null&&(ct=o.reactive(ct??{}),Tt=te=>{for(let ee in ct)delete ct[ee];Object.assign(ct,te)}),{move:!!s(C),dismissible:T==null?void 0:T!==!1,resize:!!s(R),x:ue||!!s(Y),y:ue||!!s(Z),xmin:it??x?.x?.min,xmax:tt??x?.x?.max,ymin:pt??x?.y?.min,ymax:gt??x?.y?.max,ctrlKey:!!s(st),shiftKey:!!s(ot),altKey:!!s(J),metaKey:!!s(et),buttons:dt??W[G]??1,modelValue:ct,"onUpdate:modelValue":Tt,theme:Object.assign({},...[E.value?.selection].concat(Bt)),onSelect:(te,ee)=>a("select",te,ee),...ge}})),{pixelRatio:Wt}=ul(),zt=o.useTemplateRef("wrapper"),Ht=o.useTemplateRef("plot"),ce=o.useModel(t,"width"),q=o.useModel(t,"height");o.onMounted(()=>{o.watch(ce,v=>{zt.value.style.width=we(v,"px")??null},{immediate:!0}),o.watch(q,v=>{zt.value.style.height=we(v,"px")??null},{immediate:!0})});let V={width:0,height:0};Kr(Ht,v=>{let{width:C,height:T}=v[0].contentRect;zt.value.style.width&&(ce.value=C),zt.value.style.height&&(q.value=T),(C>0||T>0)&&(V.width>0||V.height>0)&&a("resize",{width:C,height:T},V),V={width:C,height:T}});const j=o.computed(()=>({position:"absolute",pointerEvents:"none",left:we(Ht.value?.panel?.left,"px"),top:we(Ht.value?.panel?.top,"px"),width:we(Ht.value?.panel?.width,"px"),height:we(Ht.value?.panel?.height,"px")})),F=o.computed(()=>{let v={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(v,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(v,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(v,{resize:"vertical"}),v});return e({get svg(){return Ht.value.svg},serialize(v){return Rl(Ht.value.svg,v)}}),(v,C)=>(o.openBlock(),o.createElementBlock("div",o.mergeProps({ref:"wrapper",class:"vvplot",style:F.value},B.value.wrapper),[o.createVNode(G6,o.mergeProps({ref:"plot",paddings:rt,schema:N.value,layers:b.value,"min-range":z.value,"expand-add":Q.value,"expand-mult":K.value,reverse:o.unref(_),flip:t.flip,"coord-levels":P.value,levels:k.value,scales:t.scales,axes:nt.value,theme:E.value,selections:Rt.value,transition:l.value,"onUpdate:transition":C[0]||(C[0]=T=>l.value=T)},B.value.plot,{"selection-preview":u.value,"onUpdate:selectionPreview":C[1]||(C[1]=T=>u.value=T),"selection-preview-theme":c.value,"onUpdate:selectionPreviewTheme":C[2]||(C[2]=T=>c.value=T),action:ft.value,clip:t.clip,render:t.render,dpi:t.dpi??96*o.unref(Wt),legendTeleport:t.legendTeleport,onSelect:C[3]||(C[3]=(T,R)=>a("select",T,R))}),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(A.value,T=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(T)))),256))]),_:1},16,["paddings","schema","layers","min-range","expand-add","expand-mult","reverse","flip","coord-levels","levels","scales","axes","theme","selections","transition","selection-preview","selection-preview-theme","action","clip","render","dpi","legendTeleport"]),C[4]||(C[4]=o.createTextVNode()),o.createElementVNode("div",{class:"vvplot-panel-container",style:o.normalizeStyle(j.value)},[f.dom.panel?.length?(o.openBlock(),o.createElementBlock("div",Z6,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.dom.panel,T=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(T)))),256))])):o.createCommentVNode("",!0)],4),C[5]||(C[5]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(M.value,T=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(T)))),256))],16))}}),Ks={$_type:"selection",$_props:{}},Q6=Object.freeze(Object.defineProperty({__proto__:null,VVAction:d1,VVAxis:Fr,VVAxisBreak:Xr,VVAxisX:Ur,VVAxisY:zr,VVGeom:br,VVGeomBar:vr,VVGeomBlank:wr,VVGeomBoxplot:kr,VVGeomCurve:Nr,VVGeomDensity:Sr,VVGeomEllipse:Ar,VVGeomHistogram:Er,VVGeomLine:Cr,VVGeomLinerange:Tr,VVGeomMarkdown:Mr,VVGeomMarkdownsegment:$r,VVGeomPath:Br,VVGeomPoint:Lr,VVGeomPolygon:qr,VVGeomRect:Or,VVGeomSegment:Pr,VVGeomShape:Vr,VVGeomStick:Dr,VVGeomText:jr,VVGeomTextsegment:Rr,VVGeomTile:Ir,VVGeomViolin:Hr,VVPlot:Ws,VVSelection:Ks},Symbol.toStringTag,{value:"Module"}));return lt.VVAction=d1,lt.VVAxis=Fr,lt.VVAxisBreak=Xr,lt.VVAxisX=Ur,lt.VVAxisY=zr,lt.VVGeom=br,lt.VVGeomBar=vr,lt.VVGeomBlank=wr,lt.VVGeomBoxplot=kr,lt.VVGeomCurve=Nr,lt.VVGeomDensity=Sr,lt.VVGeomEllipse=Ar,lt.VVGeomHistogram=Er,lt.VVGeomLine=Cr,lt.VVGeomLinerange=Tr,lt.VVGeomMarkdown=Mr,lt.VVGeomMarkdownsegment=$r,lt.VVGeomPath=Br,lt.VVGeomPoint=Lr,lt.VVGeomPolygon=qr,lt.VVGeomRect=Or,lt.VVGeomSegment=Pr,lt.VVGeomShape=Vr,lt.VVGeomStick=Dr,lt.VVGeomText=jr,lt.VVGeomTextsegment=Rr,lt.VVGeomTile=Ir,lt.VVGeomViolin=Hr,lt.VVPlot=Ws,lt.VVSelection=Ks,lt.components=Q6,lt.number_cut=_o,lt.oob=H2,lt.vvbreak=n1,lt.vvgeom=oe,lt.vvlabel=cr,lt.vvscale=Yo,lt.vvstat=ki,lt.vvtheme=Wl,Object.defineProperty(lt,Symbol.toStringTag,{value:"Module"}),lt})({},Vue);
24
+ `;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function J5(t,e,n){var r="<"+t;if(e&&e.length>0)for(var i=0,s;(s=e[i])!==void 0;)r+=" "+s[0]+'="'+this.esc(s[1])+'"',i++;return n&&(r+=" /"),r+=">",r}Ke.prototype=Object.create(qe.prototype),Ke.prototype.render=K5,Ke.prototype.out=Z5,Ke.prototype.cr=Q5,Ke.prototype.tag=J5,Ke.prototype.esc=c1;const th=["text-anchor","font-size"],eh={key:0},pn={__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 x5,n=o.useTemplateRef("ele"),r=o.reactive({width:0,height:0}),i=o.inject("vvplot-visible",!0);o.watch([n,i,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([u])=>{if(!u)return;await o.nextTick();let{width:a,height:l}=u.getBBox();r.width=a,r.height=l});const s=o.computed(()=>{let{width:u,height:a}=r,l=[],h=({start:-.5,end:.5}[t.textAnchor]??0)*u;if(t.dockX!=null||t.dockY!=null){let d={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),m={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(d)&&(d=.5),isNaN(m)&&(m=.5);let f=u*Math.abs(Math.cos(t.angle*Math.PI/180))+a*Math.abs(Math.sin(t.angle*Math.PI/180)),g=u*Math.abs(Math.sin(t.angle*Math.PI/180))+a*Math.abs(Math.cos(t.angle*Math.PI/180)),y=t.translateX,x=t.translateY;l.push(`translate(${f*(.5-d)+y},${g*(m-.5)+x})`),t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${h},${-a/2})`)}else{let d={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),m={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(d)&&(d=.5),isNaN(m)&&(m=.5);let f=u,g=a,y=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),x=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(${f*(.5-d)+y+h},${g*(m-.5)+x-a/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":Mt(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}`}}),c=o.computed(()=>{const u=e.parse(String(t.text)).walker(),a=[];let l=[],h=[1],d=0,m=!0,f;for(;f=u.next();){let{node:{type:g,literal:y},entering:x}=f,S=h.at(-1);if(x){if(g==="text"||g==="code"){let E=d+(m?1:0);const w=Object.assign({x:m?t.x:null,dy:Ne(E||null,"em")},...l,{"font-family":g==="code"?"monospace":null,"font-size":S===1?null:`${S}em`});d=0,m=!1,a.push({text:y,vbind:w})}else if(g==="strong")l.push({"font-weight":"bold"});else if(g==="emph")l.push({"font-style":"italic"});else if(g==="softbreak"||g==="paragraph")a.push({text:`
25
+ `}),m=!0;else if(g==="html_inline"){const E=y;if(E.includes("color=")){const w=E.match(/color=(['"])(.*?)\1/i)?.[2]??E.match(/color=(\S*)/)?.[1];w&&l.push({fill:w})}else E.includes("</font>")?l.pop():E.includes("<sup>")?(d-=.4*S,h.push(S*.7)):E.includes("</sup>")?(d+=.4*h.at(-1),h.pop()):E.includes("<sub>")?(d+=.25*S,h.push(S*.7)):E.includes("</sub>")&&(d-=.25*h.at(-1),h.pop())}}else["strong","emph"].includes(g)&&l.pop()}return a});return(u,a)=>(o.openBlock(),o.createElementBlock("text",o.mergeProps({ref_key:"ele",ref:n},s.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(o.openBlock(),o.createElementBlock("title",eh,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0),a[0]||(a[0]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,l=>(o.openBlock(),o.createElementBlock("tspan",o.mergeProps({ref_for:!0},l.vbind),o.toDisplayString(l.text),17))),256))],16,th))}},Ws={__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,r={pointerdown(i){n("pointerdown",i,t.getPosition(i),t.value)},pointerup(i){n("pointerup",i,t.getPosition(i),t.value)},pointerover(i){n("pointerover",i,t.getPosition(i),t.value)},pointerout(i){n("pointerout",i,t.getPosition(i),t.value)},pointerenter(i){n("pointerenter",i,t.getPosition(i),t.value)},pointerleave(i){n("pointerleave",i,t.getPosition(i),t.value)},dblclick(i){n("dblclick",i,t.getPosition(i),t.value)},click(i){n("click",i,t.getPosition(i),t.value)},singleclick(i){n("singleclick",i,t.getPosition(i),t.value)},contextmenu(i){n("contextmenu",i,t.getPosition(i),t.value)},pointermove(i){n("pointermove",i,t.getPosition(i),t.value)},wheel(i){n("wheel",i,t.getPosition(i),t.value)}};return(i,s)=>t.type=="markdown"?(o.openBlock(),o.createBlock(pn,o.mergeProps({key:0},o.toHandlers(r)),null,16)):(o.openBlock(),o.createBlock(fn,o.mergeProps({key:1},o.toHandlers(r)),null,16))}},nh=["transform"],rh=["x2"],ih={class:"vvplot-interactive",fill:"transparent"},oh=["width","cursor"],sh={key:1,class:"vvplot-interactive",fill:"transparent"},lh=["x"],ah={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),r=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),i=o.inject("rangePreview"),s=o.computed(()=>{let p=0,b={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof b=="string"&&b.endsWith("%")?p=r.value*(1-b.slice(0,-1)/100):p=t.activeTransform.translateV+t.coord2pos({v:+b}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${p})`}),c=o.computed(()=>{let p=t.theme.title_position??t.theme.tick_position,b=p,k=t.theme.title_dock_x,v=t.theme.title_dock_y,A=0;return typeof p!="number"&&(b={left:0,bottom:.5,top:.5,right:1}[p]??.5,k??={left:1,right:0}[p]??.5,v??={top:0,bottom:1}[p]??.5,A=({top:-1,bottom:1}[p]??0)*(t.theme.title_offset??0)),{x:n.value*b,y:A,angle:t.theme.title_angle,dockX:k,dockY:v,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),u=o.computed(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=o.computed(()=>{let p=[];for(let b of t.ticks){let{value:k,theme:v}=b,A=t.coord2pos({h:k}).h,j=A*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(A+=t.layout.l,A+j<0||A+j>n.value)continue;let O=(v.tick_position=="top"?-1:1)*v.tick_length;p.push({key:"line-"+k,y1:0,y2:O,x1:A,x2:A,stroke:v.tick_color,"stroke-width":v.tick_width,transform:j?`translate(${j},0)`:null,style:{transition:t.transition}})}return p.filter(b=>b.stroke!=null).sort((b,k)=>b.x1-k.x1)}),l=o.computed(()=>{let p=[];for(let b of t.ticks){let{type:k,value:v,label:A,title:j,theme:O,...Y}=b,H=(O.label_position??O.tick_position)=="top",I=t.coord2pos({h:v}).h,V=I*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(I+=t.layout.l,I+V<0||I+V>n.value)continue;let _=(H?-1:1)*(O.label_offset??O.tick_length),U,Z,W,z;O.label_anchor_x!=null||O.label_anchor_y!=null?(U=O.label_anchor_x??.5,Z=O.label_anchor_y??(H?0:1)):(W=O.label_dock_x??.5,z=O.label_dock_y??(H?0:1)),p.push({wrapper:{key:"text-"+v,transform:V?`translate(${V},0)`:null,style:{transition:t.transition}},text:{x:I,y:_,angle:O.label_angle,anchorX:U,anchorY:Z,dockX:W,dockY:z,type:O.label_type,text:A,title:j??A,fontSize:O.label_size,fill:O.label_color,"font-family":"sans-serif",value:v,...Y}})}return p.filter(b=>b.text.fill!=null).sort((b,k)=>b.text.x-k.text.x)}),h=o.useTemplateRef("i");function d(p){let b=h.value.getBoundingClientRect(),k=b.width/h.value.getBBox().width,v=p.clientX-b.left,A=v/k-t.layout.left,j=t.layout.left+t.layout.width-v/k,O={l:A,r:j},{x:Y,y:H}=t.pos2coord({h:A});return Y&&(O.x=Y),H&&(O.y=H),O}const m=e;let f,g=0;function y(p){let b=d(p);m("pointerdown",p,b);let k=!1;function v(V){(Math.abs(V.screenX-p.screenX)>3||Math.abs(V.screenY-p.screenY)>3)&&(k=!0,V.currentTarget.removeEventListener("pointermove",v))}p.target.addEventListener("pointermove",v,{passive:!0});let A=t.action.find(V=>V.action=="move");if(!A)return;p.preventDefault(),p.stopPropagation(),p.target.style.cursor="grabbing",f=clearTimeout(f);let j=0,O=t.layout.width,Y=t.coord2pos(A),I=h.value.getBoundingClientRect().width/h.value.getBBox().width;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=V=>{if(g+=V.movementX,!k)return;let _=ft(-g/I,{min:Y.hmin-j,max:Y.hmax-O}),{xmin:U,xmax:Z,ymin:W,ymax:z}=t.pos2coord({hmin:j+_,hmax:O+_});Object.assign(i,{xmin:U,xmax:Z,ymin:W,ymax:z})},p.target.addEventListener("pointerup",function(V){p.target.onpointermove=null,p.target.style.cursor=null,k&&(f=setTimeout(()=>{C(A,V),g=0},300))},{once:!0})}function x(p){let b=t.action.find(U=>U.action=="rescale");if(!b)return;p.preventDefault(),p.stopPropagation();let{"min-range-h":k=0}=b,v=d(p),A=t.coord2pos(v).h,j=A-v.l,O=A+v.r,Y=t.pos2coord({hmin:j,hmax:O}),H={min:t.coord2pos(b).hmin,max:t.coord2pos({hmin:Y.hmax-k,hmax:Y.hmin+k}).hmin},V=h.value.getBoundingClientRect().width/h.value.getBBox().width,_=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=U=>{_+=U.movementX;let{xmin:Z,xmax:W,ymin:z,ymax:K}=t.pos2coord({hmin:ft(O-(O-j)*v.r/Math.max(v.r-_/V,1),H),hmax:O});Object.assign(i,{xmin:Z,xmax:W,ymin:z,ymax:K})},p.target.addEventListener("pointerup",function(U){p.target.onpointermove=null,C(b,U)},{once:!0})}function S(p){let b=t.action.find(_=>_.action=="rescale");if(!b)return;p.preventDefault(),p.stopPropagation();let{"min-range-h":k=0}=b,v=d(p),A=t.coord2pos(v).h,j=A-v.l,O=A+v.r,Y=t.pos2coord({hmin:j,hmax:O}),H={min:t.coord2pos({hmin:Y.hmax-k,hmax:Y.hmin+k}).hmax,max:t.coord2pos(b).hmax};h.value.getBoundingClientRect().width/h.value.getBBox().width;let V=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=_=>{V+=_.movementX;let{xmin:U,xmax:Z,ymin:W,ymax:z}=t.pos2coord({hmin:j,hmax:ft(j+(O-j)*v.l/Math.max(v.l+V,1),H)});Object.assign(i,{xmin:U,xmax:Z,ymin:W,ymax:z})},p.target.addEventListener("pointerup",function(_){p.target.onpointermove=null,C(b,_)},{once:!0})}let E=0,w;function $(p){let b=d(p);m("wheel",p,b);let k=t.action.find(v=>["zoom","nudge"].includes(v.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(A=>v[A]==p[A]));k&&(w=clearTimeout(w),p.preventDefault(),p.stopPropagation(),m("update:transition","transform 0.1s ease-out"),E+=p.deltaY,T(k,b,E),w=setTimeout(()=>{C(k,p),E=0},300))}function T(p,b,k){if(p.action=="zoom"){let{"min-range-h":v=0,sensitivity:A=1.25}=p,j=A**(k/100),O=t.coord2pos(p),Y=Math.max(b.l-Math.max(b.l,0)*j,O.hmin??-1/0),H=Math.min(b.l+Math.max(b.r,0)*j,O.hmax??1/0),{[t.coord+"min"]:I,[t.coord+"max"]:V}=t.pos2coord({hmin:Y,hmax:H});if(j<1&&V-I<v){let _=(V+I)/2;I=_-v/2,V=_+v/2}i[t.coord+"min"]=I,i[t.coord+"max"]=V}if(p.action=="nudge"){let{sensitivity:v=.1}=p,A=t.coord2pos(p),j=0,O=t.layout.width,Y=v*t.layout.width*(-k/120),H=ft(-Y,{min:A.hmin-j,max:A.hmax-O}),{xmin:I,xmax:V,ymin:_,ymax:U}=t.pos2coord({hmin:j+H,hmax:O+H});Object.assign(i,{xmin:I,xmax:V,ymin:_,ymax:U})}}function C(p,b){let k=Et(i)??{};if(!Object.keys(k).length)return;let v=new PointerEvent(b.type,b);pe(p.emit,k,v)||m(p.action,k,v),m("rangechange",k),Object.assign(i,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(p){m("pointerup",p,d(p))},pointerover(p){m("pointerover",p,d(p))},pointerout(p){m("pointerout",p,d(p))},pointerenter(p){m("pointerenter",p,d(p))},pointerleave(p){m("pointerleave",p,d(p))},click(p){m("click",p,d(p))},singleclick(p){m("singleclick",p,d(p))},dblclick(p){m("dblclick",p,d(p))},contextmenu(p){m("contextmenu",p,d(p))},pointermove(p){m("pointermove",p,d(p))},wheel:$};return(p,b)=>(o.openBlock(),o.createElementBlock("g",{transform:s.value,style:o.normalizeStyle({transition:t.transition})},[u.value.stroke!=null?(o.openBlock(),o.createElementBlock("line",o.mergeProps({key:0,ref:"i",x1:0,x2:n.value,y1:0,y2:0},u.value),null,16,rh)):o.createCommentVNode("",!0),b[1]||(b[1]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,k=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},k),null,16))),256)),b[2]||(b[2]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,k=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},k.wrapper),[o.createVNode(Ws,o.mergeProps({ref_for:!0},k.text,{getPosition:d}),null,16)],16))),256)),b[3]||(b[3]=o.createTextVNode()),o.createElementVNode("g",ih,[o.createElementVNode("rect",o.mergeProps({width:n.value,height:10,y:-5},o.toHandlers(L,!0),{onPointerdown:y,cursor:t.action.some?.(k=>k.action=="move")?"grab":null}),null,16,oh)]),b[4]||(b[4]=o.createTextVNode()),t.action.some?.(k=>k.action=="rescale")?(o.openBlock(),o.createElementBlock("g",sh,[o.createElementVNode("rect",o.mergeProps({width:20,height:10,y:-5,style:{cursor:"ew-resize"}},o.toHandlers(L,!0),{onPointerdown:x}),null,16),b[0]||(b[0]=o.createTextVNode()),o.createElementVNode("rect",o.mergeProps({width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"}},o.toHandlers(L,!0),{onPointerdown:S}),null,16,lh)])):o.createCommentVNode("",!0),b[5]||(b[5]=o.createTextVNode()),c.value.text?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[t.theme.title_type=="markdown"?(o.openBlock(),o.createBlock(pn,o.normalizeProps(o.mergeProps({key:0},c.value)),null,16)):(o.openBlock(),o.createBlock(fn,o.normalizeProps(o.mergeProps({key:1},c.value)),null,16))],64)):o.createCommentVNode("",!0)],12,nh))}},ch=["transform"],uh=["y2"],hh={class:"vvplot-interactive",fill:"transparent"},fh=["height","cursor"],mh={key:1,class:"vvplot-interactive",fill:"transparent"},dh=["y"],gh={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),r=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),i=o.inject("rangePreview"),s=o.computed(()=>{let p=0,b={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof b=="string"&&b.endsWith("%")?p=n.value*b.slice(0,-1)/100:p=t.activeTransform.translateH+t.coord2pos({h:+b}).h*t.activeTransform.scaleH+t.layout.left,`translate(${p}, 0)`}),c=o.computed(()=>{let p=t.theme.title_position??t.theme.tick_position,b=p,k=t.theme.title_dock_x,v=t.theme.title_dock_y,A=0;return typeof p!="number"&&(b={bottom:0,left:.5,right:.5,top:1}[p]??.5,k??={left:1,right:0}[p]??.5,v??={top:0,bottom:1}[p]??.5,A=({left:-1,right:1}[p]??0)*(t.theme.title_offset??0)),{x:A,y:r.value*(1-b),angle:t.theme.title_angle,dockX:k,dockY:v,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),u=o.computed(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=o.computed(()=>{let p=[];for(let b of t.ticks){let{value:k,theme:v}=b,A=t.coord2pos({v:k}).v,j=A*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(A+=t.layout.t,A+j<0||A+j>r.value)continue;let O=(v.tick_position=="right"?1:-1)*v.tick_length;p.push({key:"line-"+b.value,y1:A,y2:A,x1:0,x2:O,stroke:b.color??v.tick_color,"stroke-width":b.width??v.tick_width,transform:j?`translate(0,${j})`:null,style:{transition:t.transition}})}return p.filter(b=>b.stroke!=null).sort((b,k)=>b.y1-k.y1)}),l=o.computed(()=>{let p=[];for(let b of t.ticks){let{type:k,value:v,label:A,title:j,theme:O,...Y}=b,H=(O.label_position??O.tick_position)=="right",I=t.coord2pos({v}).v,V=I*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(I+=t.layout.t,I+V<0||I+V>r.value)continue;let _=(H?1:-1)*((O.label_offset??O.tick_length)+3),U,Z,W,z;O.label_anchor_x!=null||O.label_anchor_y!=null?(U=O.label_anchor_x??(H?0:1),Z=O.label_anchor_y??.5):(W=O.label_dock_x??(H?0:1),z=O.label_dock_y??.5),p.push({wrapper:{key:"text-"+v,transform:V?`translate(0,${V})`:null,style:{transition:t.transition}},text:{y:I,x:_,angle:O.label_angle,anchorX:U,anchorY:Z,dockX:W,dockY:z,type:O.label_type,text:A,title:j??A,fontSize:O.label_size,fill:O.label_color,"font-family":"sans-serif",value:v,...Y}})}return p.filter(b=>b.text.fill!=null).sort((b,k)=>b.text.y-k.text.y)}),h=o.useTemplateRef("i");function d(p){let b=h.value.getBoundingClientRect(),k=b.height/h.value.getBBox().height,v=p.clientY-b.top,A=v/k-t.layout.top,j=t.layout.top+t.layout.height-v/k,O={t:A,b:j},{x:Y,y:H}=t.pos2coord({v:A});return Y&&(O.x=Y),H&&(O.y=H),O}const m=e;let f,g=0;function y(p){let b=d(p);m("pointerdown",p,b);let k=!1;function v(V){(Math.abs(V.screenX-p.screenX)>3||Math.abs(V.screenY-p.screenY)>3)&&(k=!0,V.currentTarget.removeEventListener("pointermove",v))}p.target.addEventListener("pointermove",v,{passive:!0});let A=t.action.find(V=>V.action=="move");if(!A)return;p.preventDefault(),p.stopPropagation(),p.target.style.cursor="grabbing",f=clearTimeout(f);let j=0,O=t.layout.height,Y=t.coord2pos(A),I=h.value.getBoundingClientRect().height/h.value.getBBox().height;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=V=>{if(g+=V.movementY,!k)return;let _=ft(-g/I,{min:Y.vmin-j,max:Y.vmax-O}),{xmin:U,xmax:Z,ymin:W,ymax:z}=t.pos2coord({vmin:j+_,vmax:O+_});Object.assign(i,{xmin:U,xmax:Z,ymin:W,ymax:z})},p.target.addEventListener("pointerup",function(V){p.target.onpointermove=null,p.target.style.cursor=null,k&&(f=setTimeout(()=>{C(A,V),g=0},300))},{once:!0})}function x(p){let b=t.action.find(U=>U.action=="rescale");if(!b)return;p.preventDefault(),p.stopPropagation();let{"min-range-v":k=0}=b,v=d(p),A=t.coord2pos(v).v,j=A-v.t,O=A+v.b,Y=t.pos2coord({vmin:j,vmax:O}),H={min:t.coord2pos(b).vmin,max:t.coord2pos({vmin:Y.vmax-k,vmax:Y.vmin+k}).vmin},V=h.value.getBoundingClientRect().height/h.value.getBBox().height,_=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=U=>{_+=U.movementY;let{xmin:Z,xmax:W,ymin:z,ymax:K}=t.pos2coord({vmin:ft(O-(O-j)*v.b/Math.max(v.b-_/V,1),H),vmax:O});Object.assign(i,{xmin:Z,xmax:W,ymin:z,ymax:K})},p.target.addEventListener("pointerup",function(U){p.target.onpointermove=null,C(b,U)},{once:!0})}function S(p){let b=t.action.find(U=>U.action=="rescale");if(!b)return;p.preventDefault(),p.stopPropagation();let{"min-range-v":k=0}=b,v=d(p),A=t.coord2pos(v).v,j=A-v.t,O=A+v.b,Y=t.pos2coord({vmin:j,vmax:O}),H={min:t.coord2pos({vmin:Y.vmax-k,vmax:Y.vmin+k}).vmax,max:t.coord2pos(b).vmax},V=h.value.getBoundingClientRect().height/h.value.getBBox().height,_=0;p.target.setPointerCapture(p.pointerId),p.target.onpointermove=U=>{_+=U.movementY;let{xmin:Z,xmax:W,ymin:z,ymax:K}=t.pos2coord({vmin:j,vmax:ft(j+(O-j)*v.t/Math.max(v.t+_/V,1),H)});Object.assign(i,{xmin:Z,xmax:W,ymin:z,ymax:K})},p.target.addEventListener("pointerup",function(U){p.target.onpointermove=null,C(b,U)},{once:!0})}let E=0,w;function $(p){let b=d(p);m("wheel",p,b);let k=t.action.find(v=>["zoom","nudge"].includes(v.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(A=>v[A]==p[A]));k&&(w=clearTimeout(w),p.preventDefault(),p.stopPropagation(),m("update:transition","transform 0.1s ease-out"),E+=p.deltaY,T(k,b,E),w=setTimeout(()=>{C(k,p),E=0},300))}function T(p,b,k){if(p.action=="zoom"){let{"min-range-v":v=0,sensitivity:A=1.25}=p,j=A**(k/100),O=t.coord2pos(p),Y=Math.max(b.t-Math.max(b.t,0)*j,O.vmin??-1/0),H=Math.min(b.t+Math.max(b.b,0)*j,O.vmax??1/0),{[t.coord+"min"]:I,[t.coord+"max"]:V}=t.pos2coord({vmin:Y,vmax:H});if(j<1&&V-I<v){let _=(V+I)/2;I=_-v/2,V=_+v/2}i[t.coord+"min"]=I,i[t.coord+"max"]=V}if(p.action=="nudge"){let{sensitivity:v=.1}=p,A=t.coord2pos(p),j=0,O=t.layout.height,Y=v*t.layout.height*(-k/120),H=ft(-Y,{min:A.vmin-j,max:A.vmax-O}),{xmin:I,xmax:V,ymin:_,ymax:U}=t.pos2coord({vmin:j+H,vmax:O+H});Object.assign(i,{xmin:I,xmax:V,ymin:_,ymax:U})}}function C(p,b){let k=Et(i)??{};if(!Object.keys(k).length)return;let v=new PointerEvent(b.type,b);pe(p.emit,k,v)||m(p.action,k,v),m("rangechange",k),Object.assign(i,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(p){m("pointerup",p,d(p))},pointerover(p){m("pointerover",p,d(p))},pointerout(p){m("pointerout",p,d(p))},pointerenter(p){m("pointerenter",p,d(p))},pointerleave(p){m("pointerleave",p,d(p))},click(p){m("click",p,d(p))},singleclick(p){m("singleclick",p,d(p))},dblclick(p){m("dblclick",p,d(p))},contextmenu(p){m("contextmenu",p,d(p))},pointermove(p){m("pointermove",p,d(p))},wheel:$};return(p,b)=>(o.openBlock(),o.createElementBlock("g",{transform:s.value,style:o.normalizeStyle({transition:t.transition})},[u.value.stroke!=null?(o.openBlock(),o.createElementBlock("line",o.mergeProps({key:0,ref:"i",x1:0,x2:0,y1:0,y2:r.value},u.value),null,16,uh)):o.createCommentVNode("",!0),b[1]||(b[1]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,k=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},k),null,16))),256)),b[2]||(b[2]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,k=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({ref_for:!0},k.wrapper),[o.createVNode(Ws,o.mergeProps({ref_for:!0},k.text,{getPosition:d}),null,16)],16))),256)),b[3]||(b[3]=o.createTextVNode()),o.createElementVNode("g",hh,[o.createElementVNode("rect",o.mergeProps({width:10,height:r.value,x:-5},o.toHandlers(L,!0),{onPointerdown:y,cursor:t.action.some?.(k=>k.action=="move")?"grab":null}),null,16,fh)]),b[4]||(b[4]=o.createTextVNode()),t.action.some?.(k=>k.action=="rescale")?(o.openBlock(),o.createElementBlock("g",mh,[o.createElementVNode("rect",o.mergeProps({width:10,height:20,x:-5,style:{cursor:"ns-resize"}},o.toHandlers(L,!0),{onPointerdown:x}),null,16),b[0]||(b[0]=o.createTextVNode()),o.createElementVNode("rect",o.mergeProps({width:10,height:20,x:-5,y:r.value-20,style:{cursor:"ns-resize"}},o.toHandlers(L,!0),{onPointerdown:S}),null,16,dh)])):o.createCommentVNode("",!0),b[5]||(b[5]=o.createTextVNode()),c.value.text?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[t.theme.title_type=="markdown"?(o.openBlock(),o.createBlock(pn,o.normalizeProps(o.mergeProps({key:0},c.value)),null,16)):(o.openBlock(),o.createBlock(fn,o.normalizeProps(o.mergeProps({key:1},c.value)),null,16))],64)):o.createCommentVNode("",!0)],12,ch))}},Ks={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:ah,v:gh};return(n,r)=>t.position!="none"?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):o.createCommentVNode("",!0)}},ph={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),n=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),r=o.computed(()=>{let c=[];for(let u of t.breaks){if(u.type!="major")continue;let a=t.coord2pos({v:u.value}).v;if(isNaN(a))continue;let l=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+l<0||a+l>n.value)&&c.push({key:"major-"+u.value,x1:0,x2:e.value,y1:a,y2:a,stroke:u.theme.grid_color_major,"stroke-width":u.theme.grid_width_major??0,transform:l?`translate(0,${l})`:null,style:{transition:t.transition}})}return c.filter(u=>u.stroke!==null)}),i=o.computed(()=>{let c=[];for(let u of t.breaks){if(u.type!="minor")continue;let a=t.coord2pos({v:u.value}).v;if(isNaN(a))continue;let l=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+l<0||a+l>n.value)&&c.push({key:"minor-"+u.value,x1:0,x2:e.value,y1:a,y2:a,stroke:u.theme.grid_color_minor,"stroke-width":u.theme.grid_width_minor??0,transform:l?`translate(0,${l})`:null,style:{transition:t.transition}})}return c.filter(u=>u.stroke!==null)}),s=o.computed(()=>i.value.concat(r.value).sort((c,u)=>c.y1-u.y1));return(c,u)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,a=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},yh={__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=o.computed(()=>t.layout.width+t.layout.l+t.layout.r),n=o.computed(()=>t.layout.height+t.layout.t+t.layout.b),r=o.computed(()=>{let c=[];for(let u of t.breaks){if(u.type!="major")continue;let a=t.coord2pos({h:u.value}).h;if(isNaN(a))continue;let l=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+l<0||a+l>e.value)&&c.push({key:"major-"+u.value,y1:0,y2:n.value,x1:a,x2:a,stroke:u.theme.grid_color_major,"stroke-width":u.theme.grid_width_major??0,transform:l?`translate(${l},0)`:null,style:{transition:t.transition}})}return c.filter(u=>u.stroke!==null)}),i=o.computed(()=>{let c=[];for(let u of t.breaks){if(u.type!="minor")continue;let a=t.coord2pos({h:u.value}).h;if(isNaN(a))continue;let l=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+l<0||a+l>e.value)&&c.push({key:"minor-"+u.value,y1:0,y2:n.value,x1:a,x2:a,stroke:u.theme.grid_color_minor,"stroke-width":u.theme.grid_width_minor??0,transform:l?`translate(${l},0)`:null,style:{transition:t.transition}})}return c.filter(u=>u.stroke!==null)}),s=o.computed(()=>i.value.concat(r.value).sort((c,u)=>c.x1-u.x1));return(c,u)=>(o.openBlock(),o.createElementBlock("g",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,a=>(o.openBlock(),o.createElementBlock("line",o.mergeProps({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},xh={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const a=document.createElement("canvas");a.style.width=s.value.width+"px",a.style.height=s.value.height+"px",a.width=s.value.width*t.dpi/96,a.height=s.value.height*t.dpi/96;const l=a.getContext("2d");l.clearRect(0,0,a.width,a.height),l.scale(t.dpi/96,t.dpi/96),l.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:m,xmin:f,xmax:g,y,ymin:x,ymax:S,lwisker:E,Q1:w,median:$,Q3:T,uwisker:C,outliers:L,$xmin:p,$xmax:b,$ymin:k,$ymax:v,fill:A="white",color:j="black",linewidth:O=1,linetype:Y,alpha:H,"translate-x":I=0,"translate-y":V=0,$raw:_}of t.data){const{hmin:U,hmax:Z,vmin:W,vmax:z}=t.coord2pos(m==null?{ymin:x,ymax:S,xmin:w,xmax:T}:{xmin:f,xmax:g,ymin:w,ymax:T}),{h:K,v:nt}=t.coord2pos(m==null?{y,x:E}:{x:m,y:E}),{h:st,v:Bt}=t.coord2pos(m==null?{y,x:C}:{x:m,y:C}),{h:Rt,v:ue}=t.coord2pos(m==null?{y:x,x:$}:{x:f,y:$}),{h:Ut,v:Ht}=t.coord2pos(m==null?{y:S,x:$}:{x:g,y:$}),{h:Jt,v:B}=t.coord2pos(m==null?{y:x*.25+S*.75,x:C}:{x:f*.25+g*.75,y:C}),{h:P,v:R}=t.coord2pos(m==null?{y:x*.75+S*.25,x:C}:{x:f*.75+g*.25,y:C}),{h:F,v:X}=t.coord2pos(m==null?{y:x*.25+S*.75,x:E}:{x:f*.25+g*.75,y:E}),{h:N,v:M}=t.coord2pos(m==null?{y:x*.75+S*.25,x:E}:{x:f*.75+g*.25,y:E});l.globalAlpha=H,l.setLineDash(Mt(Y));const q=new Path2D;q.moveTo(K+I,nt+V),q.lineTo(st+I,Bt+V);const D=new Path2D;D.moveTo(Jt+I,B+V),D.lineTo(P+I,R+V),D.moveTo(F+I,X+V),D.lineTo(N+I,M+V);const G=new Path2D;G.rect(U+I,W+V,Z-U,z-W),h.set(G,_);const rt=new Path2D;rt.moveTo(Rt+I,ue+V),rt.lineTo(Ut+I,Ht+V),j!=null&&j!=="none"&&(l.strokeStyle=j,l.lineWidth=O,l.stroke(q),l.stroke(D)),A!=="none"&&(l.fillStyle=A,l.fill(G)),j!=null&&j!=="none"&&(l.stroke(G),l.lineWidth=O*2,l.stroke(rt));for(let{x:it,y:ut,$raw:pt}of L){const{h:ct,v:ot}=t.coord2pos({x:it,y:ut}),tt=new Path2D;tt.arc(ct+I,ot+V,2,0,Math.PI*2),j!=null&&j!=="none"&&(l.fillStyle=j,l.fill(tt)),h.set(tt,pt)}}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)a.addEventListener(m,function(f){if(f._vhandled)return;const g=a.getBoundingClientRect(),y=(f.clientX-g.left)*a.width/g.width,x=(f.clientY-g.top)*a.height/g.height;for(const[S,E]of d)if(l.isPointInPath(S,y,x)){i(m,f,t.getCoord(f),E),f._vhandled=!0;break}});return a});return o.watch(u,a=>c.value.replaceChildren(a)),e({dispatchEvent:a=>u.value?.dispatchEvent?.(a)}),(a,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},Zs={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const l=document.createElement("canvas");l.style.width=s.value.width+"px",l.style.height=s.value.height+"px",l.width=s.value.width*t.dpi/96,l.height=s.value.height*t.dpi/96;const h=l.getContext("2d");h.clearRect(0,0,l.width,l.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,m=new Map;for(let{points:f,fill:g,color:y,linewidth:x,linetype:S,alpha:E,"translate-x":w=0,"translate-y":$=0,$raw:T,interpolate:C}of t.data){if(f=f.map(k=>(({h:v,v:A})=>({x:v,y:A}))(t.coord2pos(k))).filter(k=>k.x!=null&&k.y!=null),f.length===0)continue;const L=new Path2D;let b=(typeof C=="function"?C:a[C]??Jn)(L);b.lineStart();for(let k=0;k<f.length;k++)b.point(f[k].x+w,f[k].y+$);b.lineEnd(),d.set(L,T),h.lineWidth=x,h.globalAlpha=E,h.setLineDash(Mt(S)),g!=="none"&&(h.fillStyle=g,h.fill(L)),y!=null&&y!=="none"&&(h.strokeStyle=y,h.stroke(L))}for(let f of Array.from(d.keys()).reverse())m.set(f,d.get(f));for(let f of r)l.addEventListener(f,function(g){if(g._vhandled)return;const y=l.getBoundingClientRect(),x=(g.clientX-y.left)*l.width/y.width,S=(g.clientY-y.top)*l.height/y.height;for(const[E,w]of m)if(h.isPointInPath(E,x,S)){i(f,g,t.getCoord(g),w),g._vhandled=!0;break}});return l});o.watch(u,l=>c.value.replaceChildren(l)),e({dispatchEvent:l=>u.value?.dispatchEvent?.(l)});const a={cardinal:_o,cardinalClosed:Fo,catmullRom:Xo,catmullRomClosed:Go,linear:er,linearClosed:Ko,natural:Jn};return(l,h)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},bh={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const a=document.createElement("canvas");a.style.width=s.value.width+"px",a.style.height=s.value.height+"px",a.width=s.value.width*t.dpi/96,a.height=s.value.height*t.dpi/96;const l=a.getContext("2d");l.clearRect(0,0,a.width,a.height),l.scale(t.dpi/96,t.dpi/96),l.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:m,cy:f,A:g,B:y,C:x,fill:S,color:E,linewidth:w,linetype:$,alpha:T,"translate-x":C=0,"translate-y":L=0,$raw:p}of t.data){let b=Math.sqrt(x/(g*x-y*y)),k=Math.sqrt(g/(g*x-y*y));const{h:v,v:A}=t.coord2pos({x:m,y:f});let{h:j,v:O}=t.coord2pos({x:m-b,y:f-k}),{h:Y,v:H}=t.coord2pos({x:m+b,y:f+k}),I=(Y-j)/(2*b),V=(H-O)/(2*k);g/=I*I,y/=I*V,x/=V*V;const _=g+x,U=g*x-y*y,Z=Math.sqrt(Math.max(0,_*_/4-U));let W=1/Math.sqrt(_/2+Z),z=1/Math.sqrt(_/2-Z),K=Math.atan2(2*y,g-x)/2;const nt=new Path2D;nt.ellipse(v+C,A+L,W,z,K,0,2*Math.PI),h.set(nt,p),l.lineWidth=w,l.globalAlpha=T,l.setLineDash(Mt($)),S!=="none"&&(l.fillStyle=S,l.fill(nt)),E!=null&&E!=="none"&&(l.strokeStyle=E,l.stroke(nt))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)a.addEventListener(m,function(f){if(f._vhandled)return;const g=a.getBoundingClientRect(),y=(f.clientX-g.left)*a.width/g.width,x=(f.clientY-g.top)*a.height/g.height;for(const[S,E]of d)if(l.isPointInPath(S,y,x)){i(m,f,t.getCoord(f),E),f._vhandled=!0;break}});return a});return o.watch(u,a=>c.value.replaceChildren(a)),e({dispatchEvent:a=>u.value?.dispatchEvent?.(a)}),(a,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},Qs={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const a=document.createElement("canvas");a.style.width=s.value.width+"px",a.style.height=s.value.height+"px",a.width=s.value.width*t.dpi/96,a.height=s.value.height*t.dpi/96;const l=a.getContext("2d");l.clearRect(0,0,a.width,a.height),l.scale(t.dpi/96,t.dpi/96),l.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:m,y:f,xend:g,yend:y,color:x="black",linewidth:S,alpha:E,linetype:w,"translate-x":$=0,"translate-y":T=0,$raw:C}of t.data){const{h:L,v:p}=t.coord2pos({x:m,y:f}),{h:b,v:k}=t.coord2pos({x:g,y}),v=new Path2D;v.moveTo(L+$,p+T),v.lineTo(b+$,k+T),h.set(v,C),l.lineWidth=S,l.globalAlpha=E,l.setLineDash(Mt(w)),x!=null&&x!=="none"&&(l.strokeStyle=x,l.stroke(v))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)a.addEventListener(m,function(f){if(f._vhandled)return;const g=a.getBoundingClientRect(),y=(f.clientX-g.left)*a.width/g.width,x=(f.clientY-g.top)*a.height/g.height;for(const[S,E]of d)if(l.isPointInPath(S,y,x)){i(m,f,t.getCoord(f),E),f._vhandled=!0;break}});return a});return o.watch(u,a=>c.value.replaceChildren(a)),e({dispatchEvent:a=>u.value?.dispatchEvent?.(a)}),(a,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},vh={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s={triangle:l=>`M0-${l*2/3}L${l*.577},${l/3}L-${l*.577},${l/3}Z`,diamond:l=>`M0-${l*.707}L${l*.707},0L0,${l*.707}L-${l*.707},0Z`,square:l=>`M-${l/2}-${l/2}H${l/2}V${l/2}H-${l/2}Z`,plus:l=>`M-${l/10}-${l/2}V-${l/10}H-${l/2}V${l/10}H-${l/10}V${l/2}H${l/10}V${l/10}H${l/2}V-${l/10}H${l/10}V-${l/2}H-${l/10}Z`,cross:l=>`M-${l*.283}-${l*.424}L-${l*.424}-${l*.283}L-${l*.141},0L-${l*.424},${l*.283}L-${l*.283},${l*.424}L0,${l*.141}L${l*.283},${l*.424}L${l*.424},${l*.283}L${l*.141},0L${l*.424},-${l*.283}L${l*.283},-${l*.424}L0,-${l*.141}Z`,arrowhead:l=>`M0,0L${l},${-l*.38}V${l*.38}Z`},c=o.computed(()=>({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})),u=o.useTemplateRef("container"),a=o.computed(()=>{if(u.value==null)return;const l=document.createElement("canvas");l.style.width=c.value.width+"px",l.style.height=c.value.height+"px",l.width=c.value.width*t.dpi/96,l.height=c.value.height*t.dpi/96;const h=l.getContext("2d");h.clearRect(0,0,l.width,l.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,m=new Map;for(let{x:f,y:g,size:y=6,shape:x,color:S,stroke:E,linewidth:w,linetype:$,alpha:T,"translate-x":C=0,"translate-y":L=0,angle:p=0,$raw:b}of t.data){const{h:k,v}=t.coord2pos({x:f,y:g});if(typeof p=="object"){let{dx:j=0,dy:O=0}=p,{h:Y,v:H}=t.coord2pos({x:f+j,y:g+O});p=Math.atan2(H-v,Y-k)*180/Math.PI}const A=new Path2D;String(x).startsWith("path:")?A.addPath(new Path2D(x.slice(5)),new DOMMatrix().translateSelf(k+C,v+L).rotate(p)):x in s?A.addPath(new Path2D(s[x](y)),new DOMMatrix().translate(k+C,v+L).rotate(p)):A.arc(k+C,v+L,y/2,0,Math.PI*2),d.set(A,b),h.lineWidth=w,h.globalAlpha=T,h.beginPath(),S!=="none"&&(h.fillStyle=S,h.fill(A)),E!=null&&E!=="none"&&(h.strokeStyle=E,h.setLineDash(Mt($)),h.stroke(A))}for(let f of Array.from(d.keys()).reverse())m.set(f,d.get(f));for(let f of r)l.addEventListener(f,function(g){if(g._vhandled)return;const y=l.getBoundingClientRect(),x=(g.clientX-y.left)*l.width/y.width,S=(g.clientY-y.top)*l.height/y.height;for(const[E,w]of m)if(h.isPointInPath(E,x,S)){i(f,g,t.getCoord(g),w),g._vhandled=!0;break}});return l});return o.watch(a,l=>u.value.replaceChildren(l)),e({dispatchEvent:l=>a.value?.dispatchEvent?.(l)}),(l,h)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},c.value,{ref:"container"}),null,16))}},wh={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const a=document.createElement("canvas");a.style.width=s.value.width+"px",a.style.height=s.value.height+"px",a.width=s.value.width*t.dpi/96,a.height=s.value.height*t.dpi/96;const l=a.getContext("2d");l.clearRect(0,0,a.width,a.height),l.scale(t.dpi/96,t.dpi/96),l.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:m,fill:f,color:g,linewidth:y,linetype:x,alpha:S,"translate-x":E=0,"translate-y":w=0,$raw:$}of t.data){if(m=m.map(C=>(({h:L,v:p})=>({x:L,y:p}))(t.coord2pos(C))).filter(C=>C.x!=null&&C.y!=null),m.length===0)continue;const T=new Path2D;T.moveTo(m[0].x+E,m[0].y+w);for(let C=1;C<m.length;C++)T.lineTo(m[C].x+E,m[C].y+w);T.closePath(),h.set(T,$),l.lineWidth=y,l.globalAlpha=S,l.setLineDash(Mt(x)),f!=="none"&&(l.fillStyle=f,l.fill(T)),g!=null&&g!=="none"&&(l.strokeStyle=g,l.stroke(T))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)a.addEventListener(m,function(f){if(f._vhandled)return;const g=a.getBoundingClientRect(),y=(f.clientX-g.left)*a.width/g.width,x=(f.clientY-g.top)*a.height/g.height;for(const[S,E]of d)if(l.isPointInPath(S,y,x)){i(m,f,t.getCoord(f),E),f._vhandled=!0;break}});return a});return o.watch(u,a=>c.value.replaceChildren(a)),e({dispatchEvent:a=>u.value?.dispatchEvent?.(a)}),(a,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},Js={__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const a=document.createElement("canvas");a.style.width=s.value.width+"px",a.style.height=s.value.height+"px",a.width=s.value.width*t.dpi/96,a.height=s.value.height*t.dpi/96;const l=a.getContext("2d");l.clearRect(0,0,a.width,a.height),l.scale(t.dpi/96,t.dpi/96),l.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:m,xmax:f,ymin:g,ymax:y,fill:x,color:S,linewidth:E,linetype:w,alpha:$,"translate-x":T=0,"translate-y":C=0,$raw:L}of t.data){const{hmin:p,hmax:b,vmin:k,vmax:v}=t.coord2pos({xmin:m,xmax:f,ymin:g,ymax:y}),A=new Path2D;A.rect(p+T,k+C,b-p,v-k),h.set(A,L),l.lineWidth=E,l.globalAlpha=$,l.setLineDash(Mt(w)),x!=="none"&&(l.fillStyle=x,l.fill(A)),S!=="none"&&S!=null&&(l.strokeStyle=S,l.stroke(A))}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)a.addEventListener(m,function(f){if(f._vhandled)return;const g=a.getBoundingClientRect(),y=(f.clientX-g.left)*a.width/g.width,x=(f.clientY-g.top)*a.height/g.height;for(const[S,E]of d)if(l.isPointInPath(S,y,x)){i(m,f,t.getCoord(f),E),f._vhandled=!0;break}});return a});return o.watch(u,a=>c.value.replaceChildren(a)),e({dispatchEvent:a=>u.value?.dispatchEvent?.(a)}),(a,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},kh=Object.freeze(Object.defineProperty({__proto__:null,boxplot:xh,curve:Zs,ellipse:bh,line:Qs,point:vh,polygon:wh,rect:Js,shape:Zs,stick:Qs,text:{__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const a=document.createElement("canvas");a.style.width=s.value.width+"px",a.style.height=s.value.height+"px",a.width=s.value.width*t.dpi/96,a.height=s.value.height*t.dpi/96;const l=a.getContext("2d");l.clearRect(0,0,a.width,a.height),l.scale(t.dpi/96,t.dpi/96),l.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:m,y:f,color:g,size:y=4,label:x="",title:S,stroke:E,linewidth:w,linetype:$,alpha:T,"anchor-x":C,"anchor-y":L,"dock-x":p,"dock-y":b,"translate-x":k=0,"translate-y":v=0,angle:A,"text-length":j,"font-family":O="sans-serif",$raw:Y}of t.data){l.save();const{h:H,v:I}=t.coord2pos({x:m,y:f});l.textAlign="center",l.textBaseline="middle",l.lineWidth=w,l.globalAlpha=T,l.font=`${y*4}px ${O}`,l.setLineDash(Mt($)),l.translate(H+k,I+v);let{width:V,fontBoundingBoxAscent:_,fontBoundingBoxDescent:U}=l.measureText(x),Z=V,W=_+U;if(typeof j=="object"){let{x:z=0,y:K=0}=j,{h:nt,v:st}=t.coord2pos({x:m+z/2,y:f+K/2}),{h:Bt,v:Rt}=t.coord2pos({x:m-z/2,y:f-K/2});Z=Math.hypot(nt-Bt||0,st-Rt||0)}else j!=null&&(Z=j);if(typeof A=="object"){let{dx:z=0,dy:K=0}=A,{h:nt,v:st}=t.coord2pos({x:m+z,y:f+K});A=Math.atan2(st-I,nt-H)*180/Math.PI}if(p!=null||b!=null){let z={left:0,center:.5,right:1}[p]??+(p??.5),K={bottom:0,center:.5,top:1}[b]??+(b??.5);isNaN(z)&&(z=.5),isNaN(K)&&(K=.5);let nt=Z*Math.abs(Math.cos(A*Math.PI/180))+W*Math.abs(Math.sin(A*Math.PI/180)),st=Z*Math.abs(Math.sin(A*Math.PI/180))+W*Math.abs(Math.cos(A*Math.PI/180));l.translate(nt*(.5-z),st*(K-.5)),l.rotate(A*Math.PI/180)}else{let z={left:0,center:.5,right:1}[C]??+(C??.5),K={bottom:0,center:.5,top:1}[L]??+(L??.5);isNaN(z)&&(z=.5),isNaN(K)&&(K=.5);let nt=Z,st=W;l.rotate(A*Math.PI/180),l.translate(nt*(.5-z),st*(K-.5))}Z!=V&&l.scale(Z/V,1),g!=="none"&&(l.fillStyle=g,l.fillText(x,0,0)),E!=null&&E!=="none"&&(l.strokeStyle=E,l.strokeText(x,0,0)),l.restore()}for(let m of Array.from(h.keys()).reverse())d.set(m,h.get(m));for(let m of r)a.addEventListener(m,function(f){if(f._vhandled)return;const g=a.getBoundingClientRect(),y=(f.clientX-g.left)*a.width/g.width,x=(f.clientY-g.top)*a.height/g.height;for(const[S,E]of d)if(l.isPointInPath(S,y,x)){i(m,f,t.getCoord(f),E),f._vhandled=!0;break}});return a});return o.watch(u,a=>c.value.replaceChildren(a)),e({dispatchEvent:a=>u.value?.dispatchEvent?.(a)}),(a,l)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},textsegment:{__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 r=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const i=n,s=o.computed(()=>({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=o.useTemplateRef("container"),u=o.computed(()=>{if(c.value==null)return;const l=document.createElement("canvas");l.style.width=s.value.width+"px",l.style.height=s.value.height+"px",l.width=s.value.width*t.dpi/96,l.height=s.value.height*t.dpi/96;const h=l.getContext("2d");h.clearRect(0,0,l.width,l.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,m=new Map;for(let{x:f,xend:g,y,yend:x,size:S=4,label:E="",title:w,color:$,stroke:T,linewidth:C,linetype:L,alpha:p,"translate-x":b=0,"translate-y":k=0,"text-length":v,"font-family":A="sans-serif","text-align":j="justify",angle:O="auto",inset:Y=0,$raw:H}of t.data){const{h:I,v:V}=t.coord2pos({x:f,y}),{h:_,v:U}=t.coord2pos({x:g,y:x});if(h.save(),h.translate(b,k),h.textBaseline="middle",h.lineWidth=C,h.globalAlpha=p,h.font=`${S*4}px ${A}`,h.setLineDash(Mt(L)),["stretch","pre","start","center","end","post"].includes(j)){let Z=Math.atan2(U-V,_-I),W=String(E).replace(/\x01|\x02/g,""),z=Math.cos(Z)*Y,K=Math.sin(Z)*Y;switch(j){case"stretch":case"center":h.translate((I+_)/2,(V+U)/2),h.textAlign="center";break;case"pre":h.translate(I-z,V-K),h.textAlign="end";break;case"start":h.translate(I+z,V+K),h.textAlign="start";break;case"end":h.translate(_-z,U-K),h.textAlign="end";break;case"post":h.translate(_+z,U+K),h.textAlign="start";break}h.rotate(Z),j==="stretch"&&h.scale(Math.hypot(_-I||0,U-V||0)/h.measureText(W).width,1),$!=="none"&&(h.fillStyle=$,h.fillText(W,0,0)),T!=null&&T!=="none"&&(h.strokeStyle=T,h.strokeText(W,0,0))}else{let Z=O==="auto"?Math.atan2(U-V,_-I):O*Math.PI/180;h.textAlign="center";let W=a(String(E)),z=(_-I)/(W.length-1||1),K=(U-V)/(W.length-1||1);for(let nt=0;nt<W.length;nt++){h.save(),h.translate(I+nt*z,V+nt*K),h.rotate(Z);let st=W[nt];$!=="none"&&(h.fillStyle=$,h.fillText(st,0,0)),T!=null&&T!=="none"&&(h.strokeStyle=T,h.strokeText(st,0,0)),h.restore()}}h.restore()}for(let f of Array.from(d.keys()).reverse())m.set(f,d.get(f));for(let f of r)l.addEventListener(f,function(g){if(g._vhandled)return;const y=l.getBoundingClientRect(),x=(g.clientX-y.left)*l.width/y.width,S=(g.clientY-y.top)*l.height/y.height;for(const[E,w]of m)if(h.isPointInPath(E,x,S)){i(f,g,t.getCoord(g),w),g._vhandled=!0;break}});return l});o.watch(u,l=>c.value.replaceChildren(l)),e({dispatchEvent:l=>u.value?.dispatchEvent?.(l)});function a(l){let h=[];for(let d=0;d<l.length;d++)if(l[d]==""){let m=d+1;for(;m<l.length&&l[m]!="";)m++;h.push(l.slice(d+1,m)),d=m}else h.push(l[d]);return h}return(l,h)=>(o.openBlock(),o.createElementBlock("foreignObject",o.mergeProps({class:"vvplot-layer"},s.value,{ref:"container"}),null,16))}},tile:Js},Symbol.toStringTag,{value:"Module"})),Ah={class:"vvplot-layer"},Nh={__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,r)=>(o.openBlock(),o.createElementBlock("g",Ah))}},Sh={key:0},m1={__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=o.computed(()=>({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":Mt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,r)=>(o.openBlock(),o.createElementBlock("rect",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",Sh,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},Eh={key:0},Ch={key:0},xr={__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=o.computed(()=>{let r=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],i={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":Mt(t.linetype).join(" ")||null};if(r!=null){let s=[],c=t.x+t.translateX,u=t.y+t.translateY;(c!==0||u!==0)&&s.push(`translate(${c},${u})`),t.size!=1&&s.push(`scale(${t.size})`),t.angle&&s.push(`rotate(${t.angle})`),Object.assign(i,{d:r,transform:s.join(" ")||null,"stroke-width":t.linewidth/t.size})}else{let s=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(i,{cx:t.x,cy:t.y,r:t.size/2,transform:s,"stroke-width":t.linewidth})}return i});return(r,i)=>n.value.d?(o.openBlock(),o.createElementBlock("path",o.normalizeProps(o.mergeProps({key:0},n.value)),[t.title?(o.openBlock(),o.createElementBlock("title",Eh,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16)):(o.openBlock(),o.createElementBlock("circle",o.normalizeProps(o.mergeProps({key:1},n.value)),[t.title?(o.openBlock(),o.createElementBlock("title",Ch,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},Th={key:0},Ze={__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=o.computed(()=>({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":Mt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,r)=>(o.openBlock(),o.createElementBlock("line",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",Th,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},$h={class:"vvplot-layer"},Mh={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({x:h,xmin:d,xmax:m,y:f,ymin:g,ymax:y,lwisker:x,Q1:S,median:E,Q3:w,uwisker:$,outliers:T,$xmin:C,$xmax:L,$ymin:p,$ymax:b,fill:k="white",color:v="black",linewidth:A,linetype:j,alpha:O,title:Y,"translate-x":H=0,"translate-y":I=0,class:V,style:_,$raw:U})=>{const{hmin:Z,hmax:W,vmin:z,vmax:K}=t.coord2pos({xmin:C,xmax:L,ymin:p,ymax:b});if(Z<s&&W<s||Z>c&&W>c||z<u&&K<u||z>a&&K>a)return null;const{hmin:nt,hmax:st,vmin:Bt,vmax:Rt}=t.coord2pos(h==null?{ymin:g,ymax:y,xmin:S,xmax:w}:{xmin:d,xmax:m,ymin:S,ymax:w}),{h:ue,v:Ut}=t.coord2pos(h==null?{y:f,x}:{x:h,y:x}),{h:Ht,v:Jt}=t.coord2pos(h==null?{y:f,x:$}:{x:h,y:$}),{h:B,v:P}=t.coord2pos(h==null?{y:g,x:E}:{x:d,y:E}),{h:R,v:F}=t.coord2pos(h==null?{y,x:E}:{x:m,y:E}),{h:X,v:N}=t.coord2pos(h==null?{y:g*.25+y*.75,x:$}:{x:d*.25+m*.75,y:$}),{h:M,v:q}=t.coord2pos(h==null?{y:g*.75+y*.25,x:$}:{x:d*.75+m*.25,y:$}),{h:D,v:G}=t.coord2pos(h==null?{y:g*.25+y*.75,x}:{x:d*.25+m*.75,y:x}),{h:rt,v:it}=t.coord2pos(h==null?{y:g*.75+y*.25,x}:{x:d*.75+m*.25,y:x});let ut={rect:{x:(nt+st)/2,width:st-nt,y:(Bt+Rt)/2,height:Rt-Bt,fill:k,color:v,linetype:j,linewidth:A,alpha:O,title:Y,translateX:H,translateY:I,class:V,style:_},line:{x1:ue,y1:Ut,x2:Ht,y2:Jt,color:v,linetype:j,linewidth:A,alpha:O,translateX:H,translateY:I,class:V,style:_},midline:{x1:B,y1:P,x2:R,y2:F,color:v,linetype:j,linewidth:(A??1)*2,alpha:O,translateX:H,translateY:I,class:V,style:_},uwisker:{x1:X,y1:N,x2:M,y2:q,color:v,linetype:j,linewidth:A,alpha:O,translateX:H,translateY:I,class:V,style:_},lwisker:{x1:D,y1:G,x2:rt,y2:it,color:v,linetype:j,linewidth:A,alpha:O,translateX:H,translateY:I,class:V,style:_},outliers:T?.map(({x:ct,y:ot,$raw:tt})=>{const{h:et,v:Q}=t.coord2pos({x:ct,y:ot});let J={x:et,y:Q,shape:"circle",size:4,color:v,alpha:O,translateX:H,translateY:I,class:V,style:_},gt=Object.fromEntries(n.map(kt=>[kt,St=>r(kt,St,tt)]));return[J,gt]})},pt=Object.fromEntries(n.map(ct=>[ct,ot=>r(ct,Object.assign(ot,{_vhandled:!0}),t.getCoord(ot),U)]));return[ut,pt]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",$h,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createElementBlock("g",null,[o.createVNode(Ze,o.mergeProps({ref_for:!0},a.line),null,16),c[0]||(c[0]=o.createTextVNode()),o.createVNode(m1,o.mergeProps({ref_for:!0},a.rect,o.toHandlers(l)),null,16),c[1]||(c[1]=o.createTextVNode()),o.createVNode(Ze,o.mergeProps({ref_for:!0},a.midline),null,16),c[2]||(c[2]=o.createTextVNode()),o.createVNode(Ze,o.mergeProps({ref_for:!0},a.uwisker),null,16),c[3]||(c[3]=o.createTextVNode()),o.createVNode(Ze,o.mergeProps({ref_for:!0},a.lwisker),null,16),c[4]||(c[4]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.outliers,([h,d])=>(o.openBlock(),o.createBlock(xr,o.mergeProps({ref_for:!0},h,o.toHandlers(d)),null,16))),256))]))),256))],16))),256))]))}},Bh={key:0},tl={__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=o.computed(()=>{let r=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??Jn;return{d:J2().curve(r)(t.points.map(i=>[i.x,i.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":Mt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:_o,cardinalClosed:Fo,catmullRom:Xo,catmullRomClosed:Go,linear:er,linearClosed:Ko,natural:Jn};return(r,i)=>(o.openBlock(),o.createElementBlock("path",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",Bh,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},Lh={class:"vvplot-layer vvplot-layer-curve"},el={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({points:h,fill:d,color:m,linewidth:f,linetype:g,alpha:y,title:x,"translate-x":S=0,"translate-y":E=0,"marker-start":w,"marker-end":$,class:T,style:C,$raw:L,interpolate:p})=>{if(h=h.map(v=>(({h:A,v:j})=>({x:A,y:j}))(t.coord2pos(v))),h.every(v=>v.x<s)||h.every(v=>v.x>c)||h.every(v=>v.y<u)||h.every(v=>v.y>a))return null;let b={points:h,fill:d,color:m,linetype:g,linewidth:f,alpha:y,title:x,translateX:S,translateY:E,"marker-start":w,"marker-end":$,class:T,style:C,interpolate:p},k=Object.fromEntries(n.map(v=>[v,A=>r(v,Object.assign(A,{_vhandled:!0}),t.getCoord(A),L)]));return[b,k]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",Lh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(tl,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},qh={key:0},Oh={__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=o.computed(()=>{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":Mt(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,r)=>(o.openBlock(),o.createElementBlock("ellipse",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",qh,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},Ph={class:"vvplot-layer vvplot-layer-ellipse"},Vh={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({cx:h,cy:d,A:m,B:f,C:g,fill:y,color:x,linewidth:S,linetype:E,alpha:w,title:$,"translate-x":T=0,"translate-y":C=0,class:L,style:p,$raw:b})=>{let k=Math.sqrt(g/(m*g-f*f)),v=Math.sqrt(m/(m*g-f*f));const{h:A,v:j}=t.coord2pos({x:h,y:d});let{h:O,v:Y}=t.coord2pos({x:h-k,y:d-v}),{h:H,v:I}=t.coord2pos({x:h+k,y:d+v});if(O<s&&H<s||H>c&&O>c||Y<u&&I<u||I>a&&Y>a)return null;let V=(H-O)/(2*k),_=(I-Y)/(2*v);m/=V*V,f/=V*_,g/=_*_;const U=m+g,Z=m*g-f*f,W=Math.sqrt(Math.max(0,U*U/4-Z));let z={cx:A,cy:j,rx:1/Math.sqrt(U/2+W)||0,ry:1/Math.sqrt(U/2-W)||0,angle:Math.atan2(2*f,m-g)/2*180/Math.PI||0,fill:y,color:x,linetype:E,linewidth:S,alpha:w,title:$,translateX:T,translateY:C,class:L,style:p},K=Object.fromEntries(n.map(nt=>[nt,st=>r(nt,Object.assign(st,{_vhandled:!0}),t.getCoord(st),b)]));return[z,K]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",Ph,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(Oh,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},Dh={class:"vvplot-layer vvplot-layer-line"},nl={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({x:h,y:d,xend:m,yend:f,color:g="black",linewidth:y,linetype:x,alpha:S,title:E,"translate-x":w=0,"translate-y":$=0,"marker-start":T,"marker-end":C,class:L,style:p,$raw:b})=>{const{h:k,v}=t.coord2pos({x:h,y:d}),{h:A,v:j}=t.coord2pos({x:m,y:f});if(k<s&&A<s||k>c&&A>c||v<u&&j<u||v>a&&j>a)return null;let O={x1:k,x2:A,y1:v,y2:j,color:g,linetype:x,linewidth:y,alpha:S,title:E,translateX:w,translateY:$,"marker-start":T,"marker-end":C,class:L,style:p},Y=Object.fromEntries(n.map(H=>[H,I=>r(H,Object.assign(I,{_vhandled:!0}),t.getCoord(I),b)]));return[O,Y]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",Dh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(Ze,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},jh={class:"vvplot-layer"},Rh={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({x:h,y:d,size:m=4,label:f,title:g,color:y,stroke:x,linewidth:S,linetype:E,alpha:w,"anchor-x":$,"anchor-y":T,"dock-x":C,"dock-y":L,"translate-x":p=0,"translate-y":b=0,angle:k,"text-length":v,"font-family":A="sans-serif","text-anchor":j,class:O,style:Y,$raw:H})=>{if(f==null)return null;const{h:I,v:V}=t.coord2pos({x:h,y:d});if(I<s||I>c||V<u||V>a)return null;if(typeof v=="object"){let{x:Z=0,y:W=0}=v,{h:z,v:K}=t.coord2pos({x:h+Z/2,y:d+W/2}),{h:nt,v:st}=t.coord2pos({x:h-Z/2,y:d-W/2});v=Math.hypot(z-nt||0,K-st||0)}if(typeof k=="object"){let{dx:Z=0,dy:W=0}=k,{h:z,v:K}=t.coord2pos({x:h+Z,y:d+W});k=Math.atan2(K-V,z-I)*180/Math.PI}let _={x:I,y:V,text:String(f),title:String(g??f),size:m,color:y,stroke:x,linetype:E,linewidth:S,alpha:w,angle:k,translateX:p,translateY:b,class:O,style:Y,anchorX:$,anchorY:T,dockX:C,dockY:L,textLength:v,fontFamily:A,textAnchor:j},U=Object.fromEntries(n.map(Z=>[Z,W=>r(Z,Object.assign(W,{_vhandled:!0}),t.getCoord(W),H)]));return[_,U]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",jh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(pn,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},Ih={class:"vvplot-layer"},Hh={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({x:h,xend:d,y:m,yend:f,size:g=4,label:y,title:x,color:S,stroke:E,linewidth:w,linetype:$,alpha:T,"translate-x":C=0,"translate-y":L=0,"anchor-x":p,"anchor-y":b=.5,"font-family":k="sans-serif","text-align":v="start",inset:A=0,class:j,style:O,$raw:Y})=>{if(y==null)return null;const{h:H,v:I}=t.coord2pos({x:h,y:m}),{h:V,v:_}=t.coord2pos({x:d,y:f});if(H<s&&V<s||H>c&&V>c||I<u&&_<u||I>a&&_>a)return null;let U=Math.atan2(_-I,V-H),Z={text:String(y),title:String(x??y),color:S,alpha:T,size:g,stroke:E,linewidth:w,linetype:$,fontFamily:k,class:j,style:O},W=Object.fromEntries(n.map(nt=>[nt,st=>r(nt,Object.assign(st,{_vhandled:!0}),t.getCoord(st),Y)])),z,K;switch(v){case"stretch":z=(H+V)/2,K=(I+_)/2,p=.5,Z.textLength=Math.hypot(V-H||0,_-I||0);break;case"center":z=(H+V)/2,K=(I+_)/2,p??=.5;break;case"pre":z=H,K=I,C-=Math.cos(U)*A,L-=Math.sin(U)*A,p??=1;break;case"end":z=V,K=_,C-=Math.cos(U)*A,L-=Math.sin(U)*A,p??=1;break;case"post":z=V,K=_,C+=Math.cos(U)*A,L+=Math.sin(U)*A,p??=0;break;default:z=H,K=I,C+=Math.cos(U)*A,L+=Math.sin(U)*A,p??=0}return Object.assign(Z,{x:z,y:K,translateX:C,translateY:L,anchorX:p,anchorY:b,angle:U*180/Math.PI}),[Z,W]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",Ih,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(pn,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},_h={class:"vvplot-layer"},Fh={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({x:h,y:d,shape:m,size:f=6,color:g,stroke:y,linetype:x,linewidth:S,alpha:E,title:w,"translate-x":$=0,"translate-y":T=0,angle:C,class:L,style:p,$raw:b})=>{const{h:k,v}=t.coord2pos({x:h,y:d});if(k<s||k>c||v<u||v>a)return null;if(typeof C=="object"){let{dx:O=0,dy:Y=0}=C,{h:H,v:I}=t.coord2pos({x:h+O,y:d+Y});C=Math.atan2(I-v,H-k)*180/Math.PI}let A={x:k,y:v,shape:m,size:f,color:g,stroke:y,linetype:x,linewidth:S,alpha:E,title:w,angle:C,translateX:$,translateY:T,class:L,style:p},j=Object.fromEntries(n.map(O=>[O,Y=>r(O,Object.assign(Y,{_vhandled:!0}),t.getCoord(Y),b)]));return[A,j]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",_h,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(xr,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},Uh={key:0},rl={__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=o.computed(()=>({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":Mt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,r)=>(o.openBlock(),o.createElementBlock("polygon",o.normalizeProps(o.guardReactiveProps(e.value)),[t.title?(o.openBlock(),o.createElementBlock("title",Uh,o.toDisplayString(t.title),1)):o.createCommentVNode("",!0)],16))}},zh={class:"vvplot-layer"},Xh={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({points:h,fill:d,color:m,linewidth:f,linetype:g,alpha:y,title:x,"translate-x":S=0,"translate-y":E=0,"marker-start":w,"marker-mid":$,"marker-end":T,class:C,style:L,$raw:p})=>{if(h=h.map(v=>(({h:A,v:j})=>({x:A,y:j}))(t.coord2pos(v))),h.every(v=>v.x<s)||h.every(v=>v.x>c)||h.every(v=>v.y<u)||h.every(v=>v.y>a))return null;let b={points:h,fill:d,color:m,linewidth:f,linetype:g,alpha:y,title:x,translateX:S,translateY:E,"marker-start":w,"marker-mid":$,"marker-end":T,class:C,style:L},k=Object.fromEntries(n.map(v=>[v,A=>r(v,Object.assign(A,{_vhandled:!0}),t.getCoord(A),p)]));return[b,k]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",zh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(rl,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},Yh={class:"vvplot-layer"},il={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({xmin:h,xmax:d,ymin:m,ymax:f,fill:g,color:y,linewidth:x,linetype:S,alpha:E,title:w,"translate-x":$=0,"translate-y":T=0,class:C,style:L,$raw:p})=>{const{hmin:b,hmax:k,vmin:v,vmax:A}=t.coord2pos({xmin:h,xmax:d,ymin:m,ymax:f});if(b<s&&k<s||b>c&&k>c||v<u&&A<u||v>a&&A>a)return null;let j={x:(b+k)/2,width:k-b,y:(v+A)/2,height:A-v,fill:g,color:y,linetype:S,linewidth:x,alpha:E,title:w,translateX:$,translateY:T,class:C,style:L},O=Object.fromEntries(n.map(Y=>[Y,H=>r(Y,Object.assign(H,{_vhandled:!0}),t.getCoord(H),p)]));return[j,O]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",Yh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(m1,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},Gh={class:"vvplot-layer"},Wh={__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 r=e,i=o.computed(()=>{let s=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,u=-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,l=>l.$group)).map(l=>l.map(({x:h,y:d,size:m=4,label:f,title:g,color:y,stroke:x,linewidth:S,linetype:E,alpha:w,"anchor-x":$,"anchor-y":T,"dock-x":C,"dock-y":L,"translate-x":p=0,"translate-y":b=0,angle:k,"text-length":v,"font-family":A,"text-anchor":j,class:O,style:Y,$raw:H})=>{if(f==null)return null;const{h:I,v:V}=t.coord2pos({x:h,y:d});if(I<s||I>c||V<u||V>a)return null;if(typeof v=="object"){let{x:Z=0,y:W=0}=v,{h:z,v:K}=t.coord2pos({x:h+Z/2,y:d+W/2}),{h:nt,v:st}=t.coord2pos({x:h-Z/2,y:d-W/2});v=Math.hypot(z-nt||0,K-st||0)}if(typeof k=="object"){let{dx:Z=0,dy:W=0}=k,{h:z,v:K}=t.coord2pos({x:h+Z,y:d+W});k=Math.atan2(K-V,z-I)*180/Math.PI}let _={x:I,y:V,text:String(f),title:String(g??f),size:m,color:y,stroke:x,linetype:E,linewidth:S,alpha:w,angle:k,translateX:p,translateY:b,class:O,style:Y,anchorX:$,anchorY:T,dockX:C,dockY:L,textLength:v,fontFamily:A,textAnchor:j},U=Object.fromEntries(n.map(Z=>[Z,W=>r(Z,Object.assign(W,{_vhandled:!0}),t.getCoord(W),H)]));return[_,U]}).filter(h=>h!=null))});return(s,c)=>(o.openBlock(),o.createElementBlock("g",Gh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,u=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u,([a,l])=>(o.openBlock(),o.createBlock(fn,o.mergeProps({ref_for:!0},a,o.toHandlers(l)),null,16))),256))],16))),256))]))}},Kh={class:"vvplot-layer"},Zh=Object.freeze(Object.defineProperty({__proto__:null,blank:Nh,boxplot:Mh,curve:el,ellipse:Vh,line:nl,markdown:Rh,markdownsegment:Hh,point:Fh,polygon:Xh,rect:il,shape:el,stick:nl,text:Wh,textsegment:{__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 r=e,i=o.computed(()=>{let c=-t.layout.fullWidth*t.extendX-t.layout.l,u=t.layout.fullWidth*(1+t.extendX)-t.layout.l,a=-t.layout.fullHeight*t.extendY-t.layout.t,l=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:m,y:f,yend:g,size:y=4,label:x,title:S,color:E,stroke:w,linewidth:$,linetype:T,alpha:C,"translate-x":L=0,"translate-y":p=0,"font-family":b="sans-serif","text-align":k="justify",angle:v="auto",inset:A=0,class:j,style:O,$raw:Y})=>{if(x==null)return null;const{h:H,v:I}=t.coord2pos({x:d,y:f}),{h:V,v:_}=t.coord2pos({x:m,y:g});if(H<c&&V<c||H>u&&V>u||I<a&&_<a||I>l&&_>l)return null;let U={color:E||null,fill:E||null,"fill-opacity":C==1?null:C,"font-size":y*4,stroke:w||null,"stroke-width":$,"stroke-dasharray":Mt(T).join(" ")||null,"stroke-opacity":C==1?null:C,"font-family":b,class:j,style:O},Z=Object.fromEntries(n.map(W=>[W,z=>r(W,Object.assign(z,{_vhandled:!0}),t.getCoord(z),Y)]));if(["stretch","pre","start","center","end","post"].includes(k)){let W=Math.atan2(_-I,V-H),z,K,nt=String(x).replace(/\x01|\x02/g,""),st=Math.cos(W)*A,Bt=Math.sin(W)*A;switch(k){case"stretch":z=(H+V)/2,K=(I+_)/2,U["text-anchor"]="middle",U.textLength=Math.hypot(V-H||0,_-I||0),U.lengthAdjust="spacingAndGlyphs";break;case"center":z=(H+V)/2,K=(I+_)/2,U["text-anchor"]="middle";break;case"pre":z=H,K=I,L-=st,p-=Bt,U["text-anchor"]="end";break;case"start":z=H,K=I,L+=st,p+=Bt,U["text-anchor"]="start";break;case"end":z=V,K=_,L-=st,p-=Bt,U["text-anchor"]="end";break;case"post":z=V,K=_,L+=st,p+=Bt,U["text-anchor"]="start";break}let Rt=[];return(L||p)&&Rt.push(`translate(${L}, ${p})`),W&&Rt.push(`rotate(${W*180/Math.PI})`),Object.assign(U,{x:z,y:K,"dominant-baseline":"central","transform-origin":`${z} ${K}`,transform:Rt.join(" ")||null}),[U,Z,nt,String(S??String(x).replace(/\x01|\x02/g,""))]}else{v==="auto"&&(v=Math.atan2(_-I,V-H)*180/Math.PI);let W=s(String(x)),z=(V-H)/(W.length-1||1),K=(_-I)/(W.length-1||1),nt=W.map((st,Bt)=>[{x:H+Bt*z,y:I+Bt*K,"text-anchor":"middle","dominant-baseline":"central",rotate:v},st]);return(L||p)&&(U.transform=`translate(${L}, ${p})`),[U,Z,nt,String(S??String(x).replace(/\x01|\x02/g,""))]}}).filter(d=>d!=null))});function s(c){let u=[];for(let a=0;a<c.length;a++)if(c[a]==""){let l=a+1;for(;l<c.length&&c[l]!="";)l++;u.push(c.slice(a+1,l)),a=l}else u.push(c[a]);return u}return(c,u)=>(o.openBlock(),o.createElementBlock("g",Kh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,a=>(o.openBlock(),o.createElementBlock("g",o.mergeProps({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a,([l,h,d,m])=>(o.openBlock(),o.createElementBlock("text",o.mergeProps({ref_for:!0},l,o.toHandlers(h,!0)),[o.createElementVNode("title",null,o.toDisplayString(m),1),u[0]||(u[0]=o.createTextVNode()),typeof d=="string"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(d.replace(/ /g,"\xA0")),1)],64)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(d,([f,g])=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[g?(o.openBlock(),o.createElementBlock("tspan",o.mergeProps({key:0,ref_for:!0},f),o.toDisplayString(g),17)):o.createCommentVNode("",!0)],64))),256))],16))),256))],16))),256))]))}},tile:il},Symbol.toStringTag,{value:"Module"})),Qh={__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:Zh,canvas:kh},r=o.computed(()=>{let u=t.render??t.defaultRender;return u=="auto"?t.data.map(l=>l.length).reduce((l,h)=>l+h,0)>1e3?"canvas":"svg":n[u][t.geom]!=null?u:"svg"}),i=o.useTemplateRef("layer"),s=o.computed(()=>r.value=="canvas"?"pointer-events: none;":"");e({render:r,dispatchEvent:u=>i.value?.dispatchEvent?.(u)});const c=o.computed(()=>r.value==="canvas"?t.dpi??t.defaultDpi:void 0);return(u,a)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n[r.value][t.geom]),{ref_key:"layer",ref:i,style:o.normalizeStyle(s.value),data:t.data,dpi:c.value},null,8,["style","data","dpi"]))}},Jh={key:0},t6=["onPointerdown"],ol={__name:"CoreSelection",props:o.mergeModels({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:o.mergeModels(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=o.createPropsRestProxy(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function i({xmin:d,xmax:m,ymin:f,ymax:g,xreverse:y=!1,yreverse:x=!1}={}){if([d,m,f,g].every(E=>E==null))return null;d!=null&&m!=null&&d>m&&([d,m,y]=[m,d,!y]),f!=null&&g!=null&&f>g&&([f,g,x]=[g,f,!x]);let S={xreverse:y,yreverse:x};return d!=null&&isFinite(d)&&(S.xmin=d),m!=null&&isFinite(m)&&(S.xmax=m),f!=null&&isFinite(f)&&(S.ymin=f),g!=null&&isFinite(g)&&(S.ymax=g),S}const s=o.computed(()=>{if(n.value==null||n.value.hidden)return null;let d=i(n.value);if(d==null)return null;let{hmin:m,hmax:f,vmin:g,vmax:y}=t.coord2pos(d,{limited:!0}),x=t.coord2pos(d);return{hmin:m,hmax:f,vmin:g,vmax:y,pos:x}}),c=o.computed(()=>{if(!s.value)return null;let{translateH:d,translateV:m,scaleH:f,scaleV:g}=t.activeTransform,{hmin:y,hmax:x,vmin:S,vmax:E,pos:w}=s.value,$=x-y,T=E-S,C=t.layout.left,L=t.layout.top,p=1,b=1;if(w.hmin!=null&&w.hmax!=null)C+=d,p=f;else if(w.hmin!=null){let v=d+y*(f-1);p=1-v/$,C+=v*(1+y/$)}else if(w.hmax!=null){let v=d+x*(f-1);p=1+v/$,C+=v*(1-x/$)}if(w.vmin!=null&&w.vmax!=null)L+=t.activeTransform.translateV,b=t.activeTransform.scaleV;else if(w.vmin!=null){let v=m+S*(g-1);b=1-v/T,L+=v*(1+S/T)}else if(w.vmax!=null){let v=m+E*(g-1);b=1+v/T,L+=v*(1-E/T)}let k=[];return(C!=0||L!=0)&&k.push(`translate(${C}, ${L})`),(p!=1||b!=1)&&k.push(`scale(${p}, ${b})`),k.join(" ")||null}),u=o.computed(()=>{if(!s.value)return null;let{hmin:d,hmax:m,vmin:f,vmax:g,pos:y}=s.value,x=t.theme?.line_width??1;y.hmin==null&&(d-=x/2),y.hmax==null&&(m+=x/2),y.vmin==null&&(f-=x/2),y.vmax==null&&(g+=x/2);let S=Math.max(0,m-d),E=Math.max(0,g-f);return{x:d,y:f,width:S,height:E,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:c.value,style:{transition:t.transition,"pointer-events":"none"}}}),a=o.computed(()=>{if(!s.value)return null;let d=10,{hmin:m,hmax:f,vmin:g,vmax:y,pos:x}=s.value,S=Math.max(0,f-m),E=Math.max(0,y-g),w={};r.move&&(w.tblr={x:m,y:g,width:S,height:E,fill:"transparent",style:"cursor:move;"}),r.resize&&(x.hmin!=null&&(w.l={x:m-d/2,y:g,width:d,height:E,style:"cursor:ew-resize;"}),x.hmax!=null&&(w.r={x:f-d/2,y:g,width:d,height:E,style:"cursor:ew-resize;"}),x.vmin!=null&&(w.t={x:m,y:g-d/2,width:S,height:d,style:"cursor:ns-resize;"}),x.vmax!=null&&(w.b={x:m,y:y-d/2,width:S,height:d,style:"cursor:ns-resize;"}),x.hmin!=null&&x.vmin!=null&&(w.tl={x:m-d/2,y:g-d/2,width:d,height:d,style:"cursor:nwse-resize;"}),x.hmax!=null&&x.vmin!=null&&(w.tr={x:f-d/2,y:g-d/2,width:d,height:d,style:"cursor:nesw-resize;"}),x.hmin!=null&&x.vmax!=null&&(w.bl={x:m-d/2,y:y-d/2,width:d,height:d,style:"cursor:nesw-resize;"}),x.hmax!=null&&x.vmax!=null&&(w.br={x:f-d/2,y:y-d/2,width:d,height:d,style:"cursor:nwse-resize;"}));let $=t.layout.left,T=t.layout.top;if($||T)for(let C in w)w[C].transform=`translate(${$}, ${T})`;return w}),l=e;function h(d,m){if(!m||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(z=>r[z]==d[z]))return;d.stopPropagation(),d.preventDefault(),d.target.setPointerCapture(d.pointerId);let{xreverse:f,yreverse:g,...y}=i(n.value),x=t.coord2pos(y),{h:S,v:E}=t.pos2coord({h:x.hmin,v:x.vmin}),{h:w,v:$}=t.pos2coord({h:x.hmax,v:x.vmax}),{hmin:T,hmax:C,vmin:L,vmax:p}=x,b=!1,k={min:r.xmin,max:r.xmax},v={min:r.ymin,max:r.ymax},[A=0,j=0]=t.flip?[r.minRangeY,r.minRangeX]:[r.minRangeX,r.minRangeY],O=t.coord2pos(r),Y=0,H=0,I,V,_,U,Z=!1,W=!1;d.target.onpointermove=z=>{if(b=!0,Y+=z.movementX,H+=z.movementY,m.includes("l")&&m.includes("r")){let K=ft(Y,{min:O.hmin-T,max:O.hmax-C}),nt=t.pos2coord({hmin:at(T,K),hmax:at(C,K)});S=nt.hmin,w=nt.hmax}else m.includes("l")?(S=t.pos2coord({h:T+Y}).h,S=ft(S,S>w?{min:at(w,A)}:{max:at(w,-A)}),Z=T+Y>C):m.includes("r")&&(w=t.pos2coord({h:C+Y}).h,w=ft(w,w>S?{min:at(S,A)}:{max:at(S,-A)}),Z=C+Y<T);if(m.includes("t")&&m.includes("b")){let K=ft(H,{min:O.vmin-L,max:O.vmax-p}),nt=t.pos2coord({vmin:at(L,K),vmax:at(p,K)});E=nt.vmin,$=nt.vmax}else m.includes("t")?(E=t.pos2coord({v:L+H}).v,E=ft(E,E>$?{min:at($,j)}:{max:at($,-j)}),W=L+H>p):m.includes("b")&&($=t.pos2coord({v:p+H}).v,$=ft($,$>E?{min:at(E,j)}:{max:at(E,-j)}),W=p+H<L);I=ft(t.flip?E:S,k),V=ft(t.flip?$:w,k),_=ft(t.flip?S:E,v),U=ft(t.flip?w:$,v),I>V&&([I,V]=[V,I]),_>U&&([_,U]=[U,_]),l("selecting",{xmin:I,xmax:V,ymin:_,ymax:U},t.theme)},d.target.addEventListener("pointerup",function(z){if(z.currentTarget.onpointermove=null,r.buttons&1&&(z.currentTarget.onclick=st=>{st.currentTarget.onclick=null,l("click",st)}),r.buttons&2&&(z.currentTarget.oncontextmenu=st=>{st.currentTarget.onclick=null,l("contextmenu",st)}),!b)return;let K={xmin:I,xmax:V,xreverse:!!(Z^f),ymin:_,ymax:U,yreverse:!!(W^g)},nt=new PointerEvent("select",d);n.value=Et(K),l("selectend"),l("select",Et(K),nt)},{once:!0})}return(d,m)=>u.value?(o.openBlock(),o.createElementBlock("g",Jh,[o.createElementVNode("rect",o.normalizeProps(o.guardReactiveProps(u.value)),null,16),m[0]||(m[0]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(f,g)=>(o.openBlock(),o.createElementBlock("rect",o.mergeProps({fill:"transparent"},{ref_for:!0},f,{onPointerdown:y=>h(y,g),class:"vvplot-interactive"}),null,16,t6))),256))])):o.createCommentVNode("",!0)}},e6=["height","width"],n6=["y1","y2"],r6=["y"],i6={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=o.computed(()=>{let{min:s,max:c}=t.limits;return t.breaks.map(u=>({position:(u-s)/(c-s),label:String(u)}))}),n=o.computed(()=>{let s=30,{min:c,max:u}=t.limits,a=(u-c)/(s-1),l=Array.from({length:s},(d,m)=>c+m*a),h=t.scales.map(d=>d(l));return l.map((d,m)=>Object.fromEntries(t.scales.map((f,g)=>[{color:"fill"}[f.aesthetics]??f.aesthetics,h[g][m]])))}),r=o.ref(0),i=o.useTemplateRef("svg");return o.watch(e,async()=>{await o.nextTick();let s=i.value?.getBBox?.();s&&(r.value=s.width+s.x)},{immediate:!0}),(s,c)=>(o.openBlock(),o.createElementBlock("svg",{height:n.value.length*3+20,width:r.value,ref:"svg"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(u,a)=>(o.openBlock(),o.createBlock(m1,o.mergeProps({width:10,height:3.1,x:10,y:10+(29-a+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},u),null,16,["y","alpha"]))),256)),c[1]||(c[1]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.value,(u,a)=>(o.openBlock(),o.createElementBlock("g",null,[o.createElementVNode("line",{x1:"15",x2:"18",y1:10+(1-u.position)*90,y2:10+(1-u.position)*90,stroke:"black"},null,8,n6),c[0]||(c[0]=o.createTextVNode()),o.createElementVNode("text",{x:"20",y:10+(1-u.position)*90,"alignment-baseline":"central"},o.toDisplayString(u.label),9,r6)]))),256))],8,e6))}},sl=Object.freeze(Object.defineProperty({__proto__:null,curve:tl,line:Ze,point:xr,polygon:rl,text:fn,tile:m1},Symbol.toStringTag,{value:"Module"})),o6=["height","width"],s6=["transform"],l6={transform:"translate(10, 10)"},a6={x:"20",y:"10","alignment-baseline":"central"},c6={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=o.computed(()=>{let s=t.scales.map(l=>l(t.breaks)),c=t.breaks.map((l,h)=>({bind:Object.fromEntries(t.scales.map((d,m)=>[d.aesthetics,s[m][h]])),label:String(l)})),u=Wl(c.map(l=>l.bind)),a=Map.groupBy(c.map(l=>l.label),(l,h)=>u.categories[u[h]]);return Array.from(a).map(([l,h])=>{let d={tile:{},line:{},point:{},text:{}};for(let m in d)for(let f of Object.keys(sl[m].props))l[f]&&(d[m][f]=l[f]);return{bind:d,label:h.join("; ")}})}),n=o.computed(()=>{let{text:s,line:c,point:u,tile:a}=t.appearances,l={};return a!=null&&(l.tile={width:10,height:10,fill:"none",...a}),c!=null&&(l.line={x1:-5,x2:5,color:"black",...c}),u!=null&&(l.point={size:6,...u}),s!=null&&(l.text={size:4,text:"a",...s}),l}),r=o.ref(0),i=o.useTemplateRef("svg");return o.watch(e,async()=>{await o.nextTick();let s=i.value?.getBBox?.();s&&(r.value=s.width+s.x)},{immediate:!0}),(s,c)=>(o.openBlock(),o.createElementBlock("svg",{height:e.value.length*20,width:r.value,ref:"svg"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.value,(u,a)=>(o.openBlock(),o.createElementBlock("g",{transform:`translate(0, ${a*20})`},[o.createElementVNode("g",l6,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(l,h)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(sl[h]),o.mergeProps({ref_for:!0},{...l,...u.bind[h]}),null,16))),256))]),c[0]||(c[0]=o.createTextVNode()),o.createElementVNode("text",a6,o.toDisplayString(u.label),1)],8,s6))),256))],8,o6))}},u6=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:c6,gradientbar:i6},n=o.computed(()=>t.scales.reduce((s,[c])=>s??c.title,null)??t.scales.reduce((s,[c])=>s??c._title,null)),r=o.computed(()=>{let s=t.scales.map(([u])=>u),c=s.find(u=>u.breaks!=null);return Array.isArray(c?.breaks)?Array.from(c.breaks):(c=s.find(u=>u.level!=null),c?.level?c.level.apply(Array.from(c.level)):(c=s.find(u=>u.limits!=null),n1.number({minor:!0})(c.limits)))}),i=o.computed(()=>{let s={scales:t.scales.map(([c])=>c)};if(t.type=="legendkey")s.appearances={tile:Pt(...t.scales.flatMap(([c,u])=>[u.rect,u.tile,u.polygon,u.ellipse])),line:Pt(...t.scales.flatMap(([c,u])=>[u.line,u.linerange,u.curve])),point:Pt(...t.scales.flatMap(([c,u])=>[u.point])),text:Pt(...t.scales.flatMap(([c,u])=>[u.text,u.markdown]))};else if(t.type=="gradientbar"){let c=t.scales.map(([a])=>a.limits?.max).filter(a=>a!=null).reduce((a,l)=>Math.min(a,l),1/0),u=t.scales.map(([a])=>a.limits?.min).filter(a=>a!=null).reduce((a,l)=>Math.max(a,l),-1/0);s.limits={min:u,max:c},s.appearance=Pt(...t.scales.flatMap(([a,l])=>Object.values(l)))}return s});return(s,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("span",null,o.toDisplayString(n.value),1),c[0]||(c[0]=o.createTextVNode()),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e[t.type]),o.mergeProps(i.value,{breaks:r.value}),null,16,["breaks"]))],64))}}),h6={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=o.computed(()=>{let r=new Map(Array.from(t.scales).filter(([l])=>l.legend!==!1&&l.limits?.min!=l.limits?.max)),i=Array.from(r.keys()),s=i.map(l=>l.key),c=1;for(let l=0;l<s.length;l++){for(;s.includes("_guide_"+c);)c++;s[l]??=s.find((h,d)=>s[d]!=null&&Ae.isEqual(i[d].level,i[l].level))??"_guide_"+c}let u=i.map(l=>n(l)),a=Kl(s,u);return Map.groupBy(r,(l,h)=>a.categories[a[h]])});function n(r){return r==null?null:["gradientbar","legendkey"].includes(r.guide)?r.guide:r.level?"legendkey":["color","fill","alpha"].includes(r.aesthetics)?"gradientbar":"legendkey"}return(r,i)=>t.scales?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vvplot-legend",style:o.normalizeStyle({gap:t.theme.spacing+"px"})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.value,([[s,c],u])=>(o.openBlock(),o.createBlock(u6,{key:s,type:c,scales:u},null,8,["type","scales"]))),128))],4)):o.createCommentVNode("",!0)}},f6=["id"],m6=["width","height"],d6=["transform","width","height","fill"],g6=["transform"],p6=["transform"],y6=["clip-path"],x6=["transform","clip-path"],b6={key:1},v6=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:o.mergeModels({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:o.mergeModels(["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(t,{expose:e,emit:n}){const r=o.useId(),i=o.createPropsRestProxy(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),s=n,c=o.inject("range"),u=o.inject("rangePreview"),a=o.useModel(t,"selectionPreview"),l=o.useModel(t,"selectionPreviewTheme");function h(B,P){a.value=B,l.value=P}const d=o.computed(()=>Object.assign({},t.theme?.selection,l.value));function m(){a.value={}}const f=o.useModel(t,"transition"),g=o.useTemplateRef("svg"),y=o.useTemplateRef("layers"),x=o.ref(0),S=o.ref(0);Zr(g,B=>{let{width:P,height:R}=B[0].contentRect;x.value=P,S.value=R});const E=o.computed(()=>new h9(t.schema,i.layers)),w=o.computed(()=>E.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(c,t.expandAdd,i.minRange)),$=fe(()=>{let B=Object.fromEntries(["left","right","top","bottom"].map(N=>[N,t.paddings[N]&&t.theme.plot.padding[N]||0])),P=+t.theme.plot.margin.left+B.left,R=+t.theme.plot.margin.right+B.right,F=+t.theme.plot.margin.top+B.top,X=+t.theme.plot.margin.bottom+B.bottom;return F+X>S.value&&(F=S.value*(F/(F+X)),X=S.value-F),P+R>x.value&&(P=x.value*(P/(P+R)),R=x.value-P),{l:P,r:R,t:F,b:X,left:P,right:x.value-R,top:F,bottom:S.value-X,width:x.value-P-R,height:S.value-F-X}}),T=fe(()=>{let B=w.value.coordScales,P=t.expandMult,{min:R,max:F}=v(B.x.range,P.x),{min:X,max:N}=v(B.y.range,P.y),[M,q,D,G]=t.flip?[X,N,R,F]:[R,F,X,N],{width:rt,height:it}=$;return{left:rt*M||0,right:rt*(1-q)||0,top:it*G||0,bottom:it*(1-D)||0,l:rt*M||0,r:rt*q||0,t:it*G||0,b:it*D||0,width:rt*(1-M-q),height:it*(1-G-D),fullWidth:rt,fullHeight:it}});e({vplot:w,panel:$,svg:g});const C=o.computed(()=>{let B=z.value.translateH+T.left,P=z.value.translateV+T.top,R=z.value.scaleH,F=z.value.scaleV,X=[];return(B!=0||P!=0)&&X.push(`translate(${B}, ${P})`),(R!=1||F!=1)&&X.push(`scale(${R}, ${F})`),{transform:X.join(" ")||null}});function L({value:B,min:P,max:R},F,X,N){let M={};return B!=null&&(M.value=F.invert(X?1-B/N:B/N)),X?(R!=null&&(M.min=F.invert(1-R/N)),P!=null&&(M.max=F.invert(1-P/N))):(P!=null&&(M.min=F.invert(P/N)),R!=null&&(M.max=F.invert(R/N))),M}function p({h:B,hmin:P,hmax:R,v:F,vmin:X,vmax:N}={}){let M=w.value.coordScales,{width:q,height:D}=T,G={},[rt,it,ut]=t.flip?[F,X,N]:[B,P,R],[pt,ct,ot]=t.flip?[B,P,R]:[F,X,N];if(rt!=null||it!=null||ut!=null){let{value:tt,min:et,max:Q}=L({value:rt,min:it,max:ut},M.x,t.flip!=t.reverse.x,t.flip?D:q);Object.assign(G,Et({x:tt,xmin:et,xmax:Q})),t.flip?Object.assign(G,Et({v:tt,vmin:et,vmax:Q})):Object.assign(G,Et({h:tt,hmin:et,hmax:Q}))}if(pt!=null||ct!=null||ot!=null){let{value:tt,min:et,max:Q}=L({value:pt,min:ct,max:ot},M.y,t.flip==t.reverse.y,t.flip?q:D);Object.assign(G,Et({y:tt,ymin:et,ymax:Q})),t.flip?Object.assign(G,Et({h:tt,hmin:et,hmax:Q})):Object.assign(G,Et({v:tt,vmin:et,vmax:Q}))}return G}function b({value:B,min:P,max:R}={},{oob:F=S1}={},X,N,M,q){let D={};return B!=null&&(D.value=M?F(M*(N?1-X(B):X(B)),q):0),P==null&&R==null||(N?(R!=null&&(D.min=M?F(M*(1-X(R)),q):0),P!=null&&(D.max=M?F(M*(1-X(P)),q):0)):(P!=null&&(D.min=M?F(M*X(P),q):0),R!=null&&(D.max=M?F(M*X(R),q):0))),D}function k({h:B,hmin:P,hmax:R,v:F,vmin:X,vmax:N,x:M,xmin:q,xmax:D,y:G,ymin:rt,ymax:it}={},{limited:ut=!1,oob:pt=S1}={}){let{width:ct,height:ot,l:tt,r:et,t:Q,b:J}=T,gt={},kt=w.value.coordScales,St={min:-tt,max:ct+et},xe={min:-Q,max:ot+J};if((M!=null||q!=null||D!=null)&&(t.flip?[F,X,N]=[M,q,D]:[B,P,R]=[M,q,D]),(G!=null||rt!=null||it!=null)&&(t.flip?[B,P,R]=[G,rt,it]:[F,X,N]=[G,rt,it]),B!=null||P!=null||R!=null){let{value:be,min:he,max:te}=b({value:B,min:P,max:R},{oob:pt},kt[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ct,St);Object.assign(gt,Et({h:be,hmin:he,hmax:te}))}if(F!=null||X!=null||N!=null){let{value:be,min:he,max:te}=b({value:F,min:X,max:N},{oob:pt},kt[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ot,xe);Object.assign(gt,Et({v:be,vmin:he,vmax:te}))}return ut&&(gt.hmin==null&&(gt.hmin=St.min),gt.hmax==null&&(gt.hmax=St.max),gt.vmin==null&&(gt.vmin=xe.min),gt.vmax==null&&(gt.vmax=xe.max)),gt}function v({min:B,max:P}={},{min:R=0,max:F=0}={}){let X=P-B,N=+B-R*X,M=+P+F*X,q=M-N;return{min:q==0?0:(B-N)/q,max:q==0?0:(M-P)/q}}function A(B){let P=g.value.getBoundingClientRect(),R=P.width/g.value.clientWidth,F=P.height/g.value.clientHeight,X=B.clientX-P.left,N=B.clientY-P.top,M=X/R-($.left+T.left),q=N/F-($.top+T.top),D=$.left+T.right-X/R,G=$.top+T.bottom-N/F,{x:rt,y:it}=p({h:M,v:q});return{l:M,t:q,r:D,b:G,x:rt,y:it}}function j(B){let P=g.value.getBoundingClientRect(),R=P.width/g.value.clientWidth,F=P.height/g.value.clientHeight;return B.clientX-P.left>$.l*R&&P.right-B.clientX>$.r*R&&B.clientY-P.top>$.t*F&&P.bottom-B.clientY>$.b*F}function O(B){if(!y.value||B._vhandled||!j(B)||!Array.from(y.value).filter(X=>X.render=="canvas").length)return B;let R={};for(let X in B)R[X]=B[X];R.bubbles=!1;let F=new PointerEvent(B.type,R);for(let X of Object.keys(B)){let N=Object.getOwnPropertyDescriptor(F,X);N&&!N.writable&&!N.set||(F[X]=B[X])}for(let X=y.value.length-1;X>=0;X--)y.value[X].dispatchEvent(F)===!1&&B.preventDefault();for(let X of Object.keys(F)){let N=Object.getOwnPropertyDescriptor(F,X);N&&!N.writable&&!N.set||(B[X]=F[X])}return F._vhandled?F:B}let Y,H=0,I=0;function V(B){let P=O(B),R=A(B);if(s("pointerdown",P,R),P.defaultPrevented&&B.preventDefault(),i.clip&&!j(B))return;let F=B.currentTarget,X=!1;function N(D){(Math.abs(D.screenX-B.screenX)>3||Math.abs(D.screenY-B.screenY)>3)&&(X=!0,D.currentTarget.removeEventListener("pointermove",N))}B.target.addEventListener("pointermove",N,{passive:!0}),B.target.addEventListener("pointerup",function(D){if(B.target.removeEventListener("pointermove",N),!X){let G=new PointerEvent("singleclick",D);D.target.dispatchEvent(G)}},{once:!0});let M=i.selections.findLast(D=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(G=>D[G]==B[G]));if(M){let{x:D=!1,y:G=!1,"min-range-x":rt=0,"min-range-y":it=0}=M;B.target.setPointerCapture(B.pointerId),F.style.userSelect="none";let ut=(({xmin:ct,xmax:ot})=>({min:ct,max:ot}))(M),pt=(({ymin:ct,ymax:ot})=>({min:ct,max:ot}))(M);B.target.onpointermove=ct=>{if(!D&&!G||!X)return;let ot=A(ct),tt={};if(D){let et=ft(R.x,ut),Q=ft(ft(ot.x,ot.x>et?{min:at(et,rt)}:{max:at(et,-rt)}),ut);tt.xmin=et>Q?Q:et,tt.xmax=et>Q?et:Q,tt.xreverse=et>Q}if(G){let et=ft(R.y,pt),Q=ft(ft(ot.y,ot.y>et?{min:at(et,it)}:{max:at(et,-it)}),pt);tt.ymin=et>Q?Q:et,tt.ymax=et>Q?et:Q}pe(M.onSelecting,Et(tt),M.theme)||s("selecting",Et(tt),M.theme),a.value=tt,l.value=M.theme},B.target.addEventListener("pointerup",function(ct){if(ct.currentTarget.onpointermove=null,F.style.userSelect=null,a.value={},X&&(D||G)){M.buttons&1&&(ct.currentTarget.onclick=Q=>{Q.currentTarget.onclick=null,pe(M.onClick,Q)}),M.buttons&2&&(ct.currentTarget.oncontextmenu=Q=>{Q.currentTarget.oncontextmenu=null,pe(M.onContextmenu,Q)});let ot=A(ct),tt={},et=new PointerEvent("select",B);if(D){let Q=ft(R.x,ut),J=ft(ft(ot.x,ot.x>Q?{min:at(Q,rt)}:{max:at(Q,-rt)}),ut);if(Q==J)return;tt.xmin=Q>J?J:Q,tt.xmax=Q>J?Q:J,tt.xreverse=Q>J}if(G){let Q=ft(R.y,pt),J=ft(ft(ot.y,ot.y>Q?{min:at(Q,it)}:{max:at(Q,-it)}),pt);if(Q==J)return;tt.ymin=Q>J?J:Q,tt.ymax=Q>J?Q:J,tt.yreverse=Q>J}M["onUpdate:modelValue"]?.(tt),pe(M.onSelect,Et(tt),et)||s("select",Et(tt),et)}if(!X&&M.dismissible!==!1){if(ct.defaultPrevented)return;let ot=M.modelValue;if(M.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(Q=>ot?.[Q]==null))return;let tt={},et=new PointerEvent("select",B);M["onUpdate:modelValue"]?.(tt),pe(M.onDismiss,Et(tt),et)||s("select",Et(tt),et)}},{once:!0});return}let q=i.action.find(D=>D.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(G=>D[G]==B[G]));if(q){let D=g.value.getBoundingClientRect(),G=D.width/g.value.clientWidth,rt=D.height/g.value.clientHeight;B.target.setPointerCapture(B.pointerId),F.style.userSelect="none",Y=clearTimeout(Y);let it=0,ut=T.width,pt=0,ct=T.height,ot,tt,et,Q,J=k(q);B.target.onpointermove=gt=>{let{x:kt=!1,y:St=!1}=q,[xe,be]=t.flip?[St,kt]:[kt,St];if(xe){H+=gt.movementX;let ee=ft(-H/G,{min:J.hmin-it,max:J.hmax-ut});ot=it+ee,tt=ut+ee}if(be){I+=gt.movementY;let ee=ft(-I/rt,{min:J.vmin-pt,max:J.vmax-ct});et=pt+ee,Q=ct+ee}let{xmin:he,xmax:te,ymin:Qe,ymax:cl}=p({hmin:ot,hmax:tt,vmin:et,vmax:Q});Object.assign(u,{xmin:he,xmax:te,ymin:Qe,ymax:cl})},B.target.addEventListener("pointerup",function(gt){gt.currentTarget.onpointermove=null,F.style.userSelect=null,Y=setTimeout(()=>{K(q,gt),H=I=0},300)},{once:!0});return}}let _=0,U;function Z(B){let P=O(B),R=A(B);if(s("wheel",P,R),P.defaultPrevented&&B.preventDefault(),i.clip&&!j(B))return;let F=i.action.find(X=>["zoom","nudge"].includes(X.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(N=>X[N]==B[N]));!F||!F.x&&!F.y||(U=clearTimeout(U),B.preventDefault(),f.value="transform 0.1s ease-out",_+=B.deltaY,W(F,R,_),U=setTimeout(()=>{K(F,B),_=0},300))}function W(B,P,R){if(B.action=="zoom"){let{x:F=!1,y:X=!1,"min-range-x":N=0,"min-range-y":M=0,sensitivity:q=1.25}=B,D=q**(_/100),[G,rt]=t.flip?[X,F]:[F,X],it=k(B),ut,pt,ct,ot;G&&(ut=Math.max(P.l-Math.max(P.l,0)*D,it.hmin??-1/0),pt=Math.min(P.l+Math.max(P.r,0)*D,it.hmax??1/0)),rt&&(ct=Math.max(P.t-Math.max(P.t,0)*D,it.vmin??-1/0),ot=Math.min(P.t+Math.max(P.b,0)*D,it.vmax??1/0));let{xmin:tt,xmax:et,ymin:Q,ymax:J}=p({hmin:ut,hmax:pt,vmin:ct,vmax:ot});if(F&&D<1&&et-tt<N){let gt=(et+tt)/2;tt=gt-N/2,et=gt+N/2}if(X&&D<1&&J-Q<M){let gt=(J+Q)/2;Q=gt-M/2,J=gt+M/2}Object.assign(u,{xmin:tt,xmax:et,ymin:Q,ymax:J})}if(B.action=="nudge"){let{x:F=!1,y:X=!1,sensitivity:N=.1}=B,[M,q]=t.flip?[X,F]:[F,X],D=k(B),G=0,rt=T.width,it=0,ut=T.height,pt,ct,ot,tt;if(M){let kt=N*T.width*(-R/120),St=ft(-kt,{min:D.hmin-G,max:D.hmax-rt});pt=G+St,ct=rt+St}if(q){let kt=N*T.height*(-R/120),St=ft(-kt,{min:D.vmin-it,max:D.vmax-ut});ot=it+St,tt=ut+St}let{xmin:et,xmax:Q,ymin:J,ymax:gt}=p({hmin:pt,hmax:ct,vmin:ot,vmax:tt});Object.assign(u,{xmin:et,xmax:Q,ymin:J,ymax:gt})}}const z=o.computed(()=>{let B=0,P=T.width,R=0,F=T.height,{hmin:X=B,hmax:N=P,vmin:M=R,vmax:q=F}=k(u??{}),D=P-B,G=N-X,rt=F-R,it=q-M;return{scaleH:D<1||G<1||Math.abs(D-G)<1?1:D/G,translateH:(B*N-X*P)/(N-X)||0,scaleV:rt<1||it<1||Math.abs(rt-it)<1?1:rt/it,translateV:(R*q-M*F)/(q-M)||0}});o.watch(z,({translateH:B,translateV:P,scaleH:R,scaleV:F})=>{!B&&!P&&R==1&&F==1&&(f.value=null)},{deep:!0});function K(B,P){let R=Et(u)??{};if(!Object.keys(R).length)return;let F=new PointerEvent(P.type,P);pe(B.emit,R,F)||s(B.action,R,F),st(R),Object.assign(u,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const nt={pointerdown:V,pointerup(B){let P=O(B),R=A(B);s("pointerup",P,R),P.defaultPrevented&&B.preventDefault()},pointerover(B){s("pointerover",B,A(B))},pointerout(B){s("pointerout",B,A(B))},pointerenter(B){s("pointerenter",B,A(B))},pointerleave(B){s("pointerleave",B,A(B))},click(B){s("click",O(B),A(B))},contextmenu(B){let P=O(B),R=A(B);s("contextmenu",P,R),P.defaultPrevented&&B.preventDefault()},singleclick(B){s("singleclick",O(B),A(B))},dblclick(B){let P=O(B),R=A(B);s("dblclick",P,R),P.defaultPrevented&&B.preventDefault()},pointermove(B){let P=O(B),R=A(B);s("pointermove",P,R),P.defaultPrevented&&B.preventDefault()},wheel:Z};function st(B){let{xmin:P,xmax:R,ymin:F,ymax:X}=B,{xmin:N,xmax:M,ymin:q,ymax:D}=c;P=P!=null?at(P,+t.expandAdd.x.min):N,R=R!=null?at(R,-t.expandAdd.x.max):M,F=F!=null?at(F,+t.expandAdd.y.min):q,X=X!=null?at(X,-t.expandAdd.y.max):D,!(P==N&&R==M&&F==q&&X==D)&&Object.assign(c,{xmin:P,xmax:R,ymin:F,ymax:X})}const Bt=fe(()=>{let B=u?.xmin??c?.xmin,P=u?.xmax??c?.xmax,R=u?.ymin??c?.ymin,F=u?.ymax??c?.ymax;return{x:B||P?{min:B,max:P}:void 0,y:R||F?{min:R,max:F}:void 0}}),Rt=o.computed(()=>{let B={x:w.value.coordScales.x,y:w.value.coordScales.y};return i.axes.filter(P=>P.coord in B).filter(P=>["h","v"].includes(P.orientation)).map(({coord:P,breaks:R,labels:F,titles:X,minorBreaks:N,...M})=>({coord:P,axis:new f9(B[P],{breaks:R,labels:F,titles:X,minorBreaks:N}),etc:M}))});function ue(B){let{grid_color:P,grid_color_major:R=P,grid_color_minor:F=P,grid_width:X,grid_width_major:N=X,grid_width_minor:M=X,...q}=B;return R&&(q.grid_color_major=R),F&&(q.grid_color_minor=F),N&&(q.grid_width_major=N),M&&(q.grid_width_minor=M),q}const Ut=o.computed(()=>Rt.value.map(({coord:B,axis:P,etc:R})=>{let{showGrid:F,breakSlot:X,orientation:N,...M}=R,q=ue(t.theme.axis[N]??{}),D=ue(M.theme),G=P.getBreaks({range:Bt[B],expandMult:t.expandMult[B],breakSlot:X});for(let rt of G)rt.theme=Object.assign({},q,D,ue(rt.theme??{}));return{breaks:G,showGrid:F,coord:B,orientation:N,bind:M}})),Ht=o.computed(()=>{let B=Ut.value.filter(R=>R.showGrid&&R.orientation=="v"),P=Ut.value.filter(R=>R.showGrid&&R.orientation=="h");return{h:N1(B.flatMap(R=>R.breaks),R=>R.value,(R,F)=>[R,F].find(X=>X.type=="major")??R),v:N1(P.flatMap(R=>R.breaks),R=>R.value,(R,F)=>[R,F].find(X=>X.type=="major")??R)}}),Jt=o.computed(()=>Ut.value.map(({orientation:B,coord:P,bind:R,breaks:F})=>{let{onMove:X=(...G)=>s("move",...G),onZoom:N=(...G)=>s("zoom",...G),onRescale:M=(...G)=>s("rescale",...G),onNudge:q=(...G)=>s("nudge",...G),...D}=R;return{orientation:B,bind:{coord:P,orientation:B,ticks:F.filter(G=>G.type=="major"),layout:T,coord2pos:k,pos2coord:p,...D},on:{zoom:N,move:X,rescale:M,nudge:q,rangechange:st}}}));return(B,P)=>(o.openBlock(),o.createElementBlock("svg",o.mergeProps({ref:"svg",width:"100%",height:"100%"},o.toHandlers(nt,!0),B.$attrs),[o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:`${o.unref(r)}-plot-clip`},[o.createElementVNode("rect",{x:"0",y:"0",width:o.unref($).width,height:o.unref($).height},null,8,m6)],8,f6)]),P[6]||(P[6]=o.createTextVNode()),t.theme.plot.background?(o.openBlock(),o.createElementBlock("rect",{key:0,transform:`translate(${o.unref($).left}, ${o.unref($).top})`,width:o.unref($).width,height:o.unref($).height,fill:t.theme.plot.background},null,8,d6)):o.createCommentVNode("",!0),P[7]||(P[7]=o.createTextVNode()),o.createElementVNode("g",{transform:`translate(${o.unref($).left}, ${o.unref($).top})`,style:{"pointer-events":"none"}},[o.createVNode(ph,{breaks:Ht.value.h,layout:o.unref(T),activeTransform:z.value,coord2pos:k,transition:f.value},null,8,["breaks","layout","activeTransform","transition"]),P[2]||(P[2]=o.createTextVNode()),o.createVNode(yh,{breaks:Ht.value.v,layout:o.unref(T),activeTransform:z.value,coord2pos:k,transition:f.value},null,8,["breaks","layout","activeTransform","transition"])],8,g6),P[8]||(P[8]=o.createTextVNode()),o.createElementVNode("g",{transform:`translate(${o.unref($).left}, ${o.unref($).top})`},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(Jt.value.filter(R=>typeof R.bind.position!="number"),R=>(o.openBlock(),o.createBlock(Ks,o.mergeProps({ref_for:!0},R.bind,o.toHandlers(R.on),{transition:f.value,"onUpdate:transition":P[0]||(P[0]=F=>f.value=F),activeTransform:z.value}),null,16,["transition","activeTransform"]))),256)),P[3]||(P[3]=o.createTextVNode()),o.createElementVNode("g",{"clip-path":i.clip?`url(#${o.unref(r)}-plot-clip)`:null},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(Jt.value.filter(R=>typeof R.bind.position=="number"),R=>(o.openBlock(),o.createBlock(Ks,o.mergeProps({ref_for:!0},R.bind,o.toHandlers(R.on),{transition:f.value,"onUpdate:transition":P[1]||(P[1]=F=>f.value=F),activeTransform:z.value}),null,16,["transition","activeTransform"]))),256))],8,y6)],8,p6),P[9]||(P[9]=o.createTextVNode()),o.createElementVNode("g",{transform:`translate(${o.unref($).left}, ${o.unref($).top})`,"clip-path":i.clip?`url(#${o.unref(r)}-plot-clip)`:null},[o.createElementVNode("g",o.mergeProps(C.value,{style:{transition:f.value}}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(w.value.layers,R=>(o.openBlock(),o.createBlock(Qh,o.mergeProps({ref_for:!0,ref_key:"layers",ref:y,data:R.data},{ref_for:!0},R.vBind,{layout:o.unref(T),geom:R.geom,coord2pos:k,getCoord:A,"default-render":i.render,"default-dpi":i.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),P[4]||(P[4]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.selections,R=>(o.openBlock(),o.createBlock(ol,o.mergeProps({coord2pos:k,pos2coord:p,layout:o.unref(T),onSelecting:h,onSelectend:m,transition:f.value,activeTransform:z.value},{ref_for:!0},R,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),P[5]||(P[5]=o.createTextVNode()),o.createVNode(ol,{coord2pos:k,pos2coord:p,layout:o.unref(T),modelValue:a.value,transition:f.value,activeTransform:z.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,x6),P[10]||(P[10]=o.createTextVNode()),o.renderSlot(B.$slots,"default"),P[11]||(P[11]=o.createTextVNode()),i.legendTeleport?(o.openBlock(),o.createElementBlock("foreignObject",b6,[(o.openBlock(),o.createBlock(o.Teleport,{defer:"",to:i.legendTeleport},[o.createVNode(h6,{scales:w.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):o.createCommentVNode("",!0)],16))}}),d1={$_type:"action",$_props:{}},br={$_type:"layer"},vr={$_props:{geom:"tile",stat:"bar"},$_type:"layer",$_argnames:["width","height","position"]},wr={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},kr={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer",$_argnames:["width","height","position"]},Ar={$_props:{geom:"tile",stat:"col"},$_type:"layer",$_argnames:["width","height","position","orientation"]},Nr={$_props:{geom:"curve",stat:"curve",fill:"none",color:"black"},$_type:"layer",$_attrnames:["interpolate"]},Sr={$_props:{geom:"curve",stat:"density",fill:"none",color:"black"},$_type:"layer",$_argnames:["n","kernel","scale"]},Er={$_props:{geom:"ellipse",stat:"ellipse",fill:"none",color:"black"},$_type:"layer",$_argnames:["CI"]},Cr={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},Tr={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},$r={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},Mr={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},Br={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},Lr={$_props:{geom:"line",stat:"path"},$_type:"layer"},qr={$_props:{geom:"point",stat:"point"},$_type:"layer"},Or={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},Pr={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},Vr={$_props:{geom:"line",stat:"segment"},$_type:"layer"},Dr={$_props:{geom:"shape",stat:"shape",interpolate:"catmullRomClosed"},$_type:"layer",$_attrnames:["interpolate"]},jr={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},Rr={$_props:{geom:"text",stat:"text"},$_type:"layer"},Ir={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},Hr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},_r={$_props:{geom:"shape",stat:"violin"},$_type:"layer",$_argnames:["n","kernel","scale","width","height","position"]},w6=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:br,VVGeomBar:vr,VVGeomBlank:wr,VVGeomBoxplot:kr,VVGeomCol:Ar,VVGeomCurve:Nr,VVGeomDensity:Sr,VVGeomEllipse:Er,VVGeomHistogram:Cr,VVGeomLine:Tr,VVGeomLinerange:$r,VVGeomMarkdown:Mr,VVGeomMarkdownsegment:Br,VVGeomPath:Lr,VVGeomPoint:qr,VVGeomPolygon:Or,VVGeomRect:Pr,VVGeomSegment:Vr,VVGeomShape:Dr,VVGeomStick:jr,VVGeomText:Rr,VVGeomTextsegment:Ir,VVGeomTile:Hr,VVGeomViolin:_r},Symbol.toStringTag,{value:"Module"})),Fr={$_type:"axis",$_props:{}},Ur={$_type:"axis",$_props:{coord:"x"}},zr={$_type:"axis",$_props:{coord:"y"}},Xr={$_type:"axis-break",$_props:{type:"major"}},k6=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:Fr,VVAxisBreak:Xr,VVAxisX:Ur,VVAxisY:zr},Symbol.toStringTag,{value:"Module"})),A6={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},ll=Object.assign({inheritAttrs:!1},{__name:"Plot",props:o.mergeModels({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:o.mergeModels(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const r={...w6,...k6,VVAction:d1,VVSelection:d1},i={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function s(N){return N==null?N:N===""||!!N}const c=n,u=o.useModel(t,"selectionPreview"),a=o.useModel(t,"selectionPreviewTheme"),l=o.useModel(t,"transition");function h(N){return{props:Object.fromEntries(N.props.map(q=>{try{if(q.type==7)return[q.arg.content,new Function("return "+q.exp.content)()];if(q.type==6)return[q.name,q.value?.content??""]}catch{}}).filter(q=>q!=null)),children:N.children.map(q=>()=>[h(q)]),type:r[N.tag]}}const d=o.useSlots(),m=o.useAttrs(),f=o.reactive({axis:{},layer:{},action:{},selection:{},dom:{}});for(let N in d)o.watch(()=>d[N]?.(),M=>{let q=tn(M).flatMap(G=>G.type?.template?Gl(G.type.template,{decodeEntities:!0}).children.map(it=>h(it)):G).filter(G=>G!=null),D=Object.groupBy(q,G=>G.type.$_type??"dom");for(let G in f)D[G]==null?delete f[G][N]:f[G][N]=D[G]},{immediate:!0});const g=o.computed(()=>Object.values(f.layer).flat()),y=o.computed(()=>Object.values(f.axis).flat()),x=o.computed(()=>Object.values(f.action).flat()),S=o.computed(()=>Object.values(f.selection).flat()),E=o.computed(()=>Object.keys(f.dom).flatMap(N=>N=="panel"?[]:f.dom[N])),w=o.computed(()=>E.value.filter(N=>Qr(N.type))),$=o.computed(()=>E.value.filter(N=>!Qr(N.type))),T=o.computed(()=>{let N={},M={};for(let q in m)if(q.startsWith("on")){let D=Array.isArray(m[q])?m[q]:[m[q]];N[q]=D.filter(G=>typeof G=="function"),M[q]=D.filter(G=>typeof G!="function")}else q.startsWith("svg-")?N[q.slice(4)]=m[q]:M[q]=m[q];return{plot:N,wrapper:M}}),C=o.computed(()=>{let N=[pi,yi].concat(t.theme??[]);return sa(oa(ia(...N),t.flip))},{deep:!0}),L=fe(()=>{let N=y.value.map(D=>({...D.type.$_props,...D.props})),M=N.filter(D=>D.coord==="x"),q=N.filter(D=>D.coord==="y");return{x:M.find(D=>s(D.primary))??M.find(D=>D.primary==null&&!s(D.secondary)),y:q.find(D=>s(D.primary))??q.find(D=>D.primary==null&&!s(D.secondary))}}),p={levels:o.reactive({}),extend:o.reactive({}),"min-range":o.reactive({}),"expand-add":o.reactive({}),"expand-mult":o.reactive({}),boundary:o.reactive({}),reverse:o.reactive({}),min:o.reactive({}),max:o.reactive({}),"min-preview":o.reactive({}),"max-preview":o.reactive({})};o.watch(L,N=>{for(let M of["x","y"])for(let q in p)p[q][M]=N?.[M]?.[q]},{immediate:!0});const b=fe(()=>{let N={};for(let M of["x","y"]){let q=p.boundary[M];N[M]={min:q?.min??q?.[0],max:q?.max??q?.[1]}}return N}),k=o.computed(()=>({data:t.data,aes:t.aes,extendX:p.extend.x??t.extend?.x??0,extendY:p.extend.y??t.extend?.y??0})),v=o.computed(()=>g.value.map(N=>{let{geom:M,stat:q,scales:D,data:G,"extend-x":rt,"extend-y":it,...ut}={...N.type.$_props,...N.props},pt=N.type.$_argnames||[],ct=N.type.$_attrnames||[],ot={},tt={},et={},Q={};for(let J in ut)J!="key"&&(pt.includes(J)?tt[J]=ut[J]:ct.includes(J)?et[J]=ut[J]:J.startsWith("on")?Q[J]=ut[J]:typeof ut[J]=="function"?["item-class","item-style"].includes(J)?ot[J.slice(5)]=ut[J]:ot[J]=ut[J]:["class","style","group-class","group-style","dpi","render"].includes(J)?Q[J]=ut[J]:["item-class","item-style"].includes(J)?et[J.slice(5)]=ut[J]:et[J]=ut[J]);return{geom:M,stat:q,data:G,aes:ot,attrs:et,scales:D,args:tt,extendX:rt,extendY:it,vBind:Q}})),A=o.computed(()=>(({x:N,y:M,...q})=>q)(t.levels??{})),j=o.computed(()=>{let N={};for(let M of["x","y"])N[M]=p.levels[M]??t.levels?.[M];return N}),O=o.computed(()=>{let N={};for(let M of["x","y"]){let q=p.min[M]??t.range?.[M+"min"],D=p.max[M]??t.range?.[M+"max"];N[M+"min"]=isFinite(q)&&!Number.isNaN(q)?q:null,N[M+"max"]=isFinite(D)&&!Number.isNaN(D)?D:null}return N}),Y=o.computed(()=>{let N={};for(let M of["x","y"]){let q=p["min-preview"][M]??t.rangePreview?.[M+"min"],D=p["max-preview"][M]??t.rangePreview?.[M+"max"];N[M+"min"]=isFinite(q)&&!Number.isNaN(q)?q:null,N[M+"max"]=isFinite(D)&&!Number.isNaN(D)?D:null}return N}),H=fe(()=>({xmin:L?.x?.["onUpdate:min"],xmax:L?.x?.["onUpdate:max"],ymin:L?.y?.["onUpdate:min"],ymax:L?.y?.["onUpdate:max"]})),I=fe(()=>({xmin:L?.x?.["onUpdate:minPreview"],xmax:L?.x?.["onUpdate:maxPreview"],ymin:L?.y?.["onUpdate:minPreview"],ymax:L?.y?.["onUpdate:maxPreview"]})),V=o.reactive({}),_=o.reactive({});o.watch(O,(N,M)=>{N?.xmin!==M?.xmin&&(V.xmin=N.xmin),N?.xmax!==M?.xmax&&(V.xmax=N.xmax),N?.ymin!==M?.ymin&&(V.ymin=N.ymin),N?.ymax!==M?.ymax&&(V.ymax=N.ymax)},{immediate:!0}),o.watch(Y,(N,M)=>{N?.xmin!==M?.xmin&&(_.xmin=N.xmin),N?.xmax!==M?.xmax&&(_.xmax=N.xmax),N?.ymin!==M?.ymin&&(_.ymin=N.ymin),N?.ymax!==M?.ymax&&(_.ymax=N.ymax)},{immediate:!0}),o.watch(()=>({...V}),(N,M)=>{for(let q in H)H[q]?.(N[q]);c("rangechange",{...N},{...M}),c("update:range",{...N})},{deep:!0}),o.watch(()=>_,N=>{for(let M in I)I[M]?.(N[M]);c("update:rangePreview",{...N})},{deep:!0}),o.provide("range",V),o.provide("rangePreview",_);const U=o.computed(()=>({x:p["min-range"].x??t.minRange?.x??0,y:p["min-range"].y??t.minRange?.y??0})),Z=o.computed(()=>{let N=p["expand-add"].x??t.expandAdd?.x??0,M=p["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(N)?N={min:N[0],max:N[1]}:typeof N=="number"&&(N={min:N,max:N}),Array.isArray(M)?M={min:M[0],max:M[1]}:typeof M=="number"&&(M={min:M,max:M}),{x:N,y:M}}),W=o.computed(()=>{let N=p["expand-mult"].x??t.expandMult?.x??.05,M=p["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(N)?N={min:N[0],max:N[1]}:typeof N=="number"&&(N={min:N,max:N}),Array.isArray(M)?M={min:M[0],max:M[1]}:typeof M=="number"&&(M={min:M,max:M}),{x:N,y:M}}),z=fe(()=>({x:s(p.reverse.x)??t.reverse?.x??!1,y:s(p.reverse.y)??t.reverse?.y??!1})),K={left:1,right:2,middle:4,X1:8,X2:16},nt=o.computed(()=>{let N=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},M=y.value.map(q=>({...q.type.$_props,...q.props,$_children:q.children??{}})).concat(t.axes??[]);return M.every(q=>q?.coord!="x")&&M.push({coord:"x"}),M.every(q=>q?.coord!="y")&&M.push({coord:"y"}),M.map(({coord:q,position:D,title:G,breaks:rt,labels:it,titles:ut,"minor-breaks":pt,"show-grid":ct,theme:ot=[],extend:tt,boundary:et,action:Q,primary:J,secondary:gt,"expand-mult":kt,"expand-add":St,levels:xe,limits:be,min:he,max:te,"onUpdate:min":Qe,"onUpdate:max":cl,$_children:ee={},...S6})=>{let Oe=N[q];D=D??"start",D=="start"?(D={h:"bottom",v:"left"}[Oe],z[i[q]]&&(D=i[D])):D=="end"&&(D={h:"top",v:"right"}[Oe],z[i[q]]&&(D=i[D]));let E6=ee.breaks,C6=Object.keys(ee).filter(Tt=>typeof ee[Tt]=="function"&&Tt!="breaks").flatMap(Tt=>tn(ee[Tt]())).map(Tt=>({...Tt.type.$_props,...Tt.props})).concat(Q??[]).flatMap(Tt=>{let ul=[];for(let g1 of["move","nudge","zoom","rescale"]){let Wt=Tt[g1];if(Wt==null||Wt===!1)continue;let T6="on"+g1.charAt(0).toUpperCase()+g1.slice(1);ul.push({action:g1,[Oe+"min"]:Wt.min??Tt.min??et?.min??et?.[0]??b?.[q]?.min,[Oe+"max"]:Wt.max??Tt.max??et?.max??et?.[1]??b?.[q]?.max,["min-range-"+Oe]:Wt["min-range"]??Tt["min-range"],ctrlKey:!!(Wt.ctrl??s(Tt.ctrl)),shiftKey:!!(Wt.shift??s(Tt.shift)),altKey:!!(Wt.alt??s(Tt.alt)),metaKey:!!(Wt.meta??s(Tt.meta)),buttons:Wt.buttons??K[Wt.button]??Tt.buttons??K[Tt.button]??1,emit:Tt[T6]})}return ul});return{coord:q,orientation:Oe,position:D,title:G,breaks:rt,labels:it,titles:ut,minorBreaks:pt,breakSlot:E6,showGrid:s(ct)??D!=="none",extend:tt??p.extend[q],theme:Object.assign({},...[C.value?.axis?.[D]??C.value?.axis?.[Oe]].concat(ot)),action:C6,...S6}}).filter(q=>q!=null)}),st=o.reactive({});o.watch(nt,N=>{for(let M of["left","right","top","bottom"])st[M]=N.some(q=>q.position==M)},{immediate:!0});const Bt=o.computed(()=>x.value.map(N=>({...N.type.$_props,...N.props})).concat(t.action??[]).flatMap(N=>{let M=[];for(let q of["select","move","nudge","zoom"]){let D=N[q];if(D==null||D===!1)continue;let G=D.x==null&&D.y==null&&N.x==null&&N.y==null,rt="on"+q.charAt(0).toUpperCase()+q.slice(1);M.push({action:q,x:G||!!(D.x??s(N.x)),y:G||!!(D.y??s(N.y)),xmin:D.xmin??N.xmin??b?.x?.min,xmax:D.xmax??N.xmax??b?.x?.max,ymin:D.ymin??N.ymin??b?.y?.min,ymax:D.ymax??N.ymax??b?.y?.max,"min-range-x":D["min-range-x"]??N["min-range-x"],"min-range-y":D["min-range-y"]??N["min-range-y"],ctrlKey:!!(D.ctrl??s(N.ctrl)),shiftKey:!!(D.shift??s(N.shift)),altKey:!!(D.alt??s(N.alt)),metaKey:!!(D.meta??s(N.meta)),buttons:D.buttons??K[D.button]??N.buttons??K[N.button]??1,emit:N[rt]})}return M})),Rt=o.computed(()=>S.value.map(N=>({...N.type.$_props,...N.props})).map(({once:N,move:M,dismissible:q,resize:D,x:G,y:rt,xmin:it,xmax:ut,ymin:pt,ymax:ct,ctrl:ot,shift:tt,alt:et,meta:Q,button:J,buttons:gt,modelValue:kt,"onUpdate:modelValue":St,theme:xe=[],...be})=>{let he=G==null&&rt==null;return s(N)?(kt=o.reactive({}),St=null):St==null&&(kt=o.reactive(kt??{}),St=te=>{for(let Qe in kt)delete kt[Qe];Object.assign(kt,te)}),{move:!!s(M),dismissible:q==null?void 0:q!==!1,resize:!!s(D),x:he||!!s(G),y:he||!!s(rt),xmin:it??b?.x?.min,xmax:ut??b?.x?.max,ymin:pt??b?.y?.min,ymax:ct??b?.y?.max,ctrlKey:!!s(ot),shiftKey:!!s(tt),altKey:!!s(et),metaKey:!!s(Q),buttons:gt??K[J]??1,modelValue:kt,"onUpdate:modelValue":St,theme:Object.assign({},...[C.value?.selection].concat(xe)),onSelect:(te,Qe)=>c("select",te,Qe),...be}})),{pixelRatio:ue}=kl(),Ut=o.useTemplateRef("wrapper"),Ht=o.useTemplateRef("plot"),Jt=o.useModel(t,"width"),B=o.useModel(t,"height"),P=o.ref(null);o.provide("vvplot-visible",P),o.onMounted(()=>{o.watch(Jt,N=>{Ut.value.style.width=Ne(N,"px")??null},{immediate:!0}),o.watch(B,N=>{Ut.value.style.height=Ne(N,"px")??null},{immediate:!0})});let R={width:0,height:0};Zr(Ht,([N])=>{if(P.value=N.target.getClientRects().length>0,!P.value)return;let{width:M,height:q}=N.contentRect;Jt.value-M<.5&&B.value-q<.5||(Ut.value.style.width&&(Jt.value=M),Ut.value.style.height&&(B.value=q),(M>0||q>0)&&(R.width>0||R.height>0)&&c("resize",{width:M,height:q},R),R={width:M,height:q})});const F=o.computed(()=>({position:"absolute",pointerEvents:"none",left:Ne(Ht.value?.panel?.left,"px"),top:Ne(Ht.value?.panel?.top,"px"),width:Ne(Ht.value?.panel?.width,"px"),height:Ne(Ht.value?.panel?.height,"px")})),X=o.computed(()=>{let N={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(N,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(N,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(N,{resize:"vertical"}),N});return e({get svg(){return Ht.value.svg},serialize(N){return Zl(Ht.value.svg,N)}}),(N,M)=>(o.openBlock(),o.createElementBlock("div",o.mergeProps({ref:"wrapper",class:"vvplot",style:X.value},T.value.wrapper),[o.createVNode(v6,o.mergeProps({ref:"plot",paddings:st,schema:k.value,layers:v.value,"min-range":U.value,"expand-add":Z.value,"expand-mult":W.value,reverse:o.unref(z),flip:t.flip,"coord-levels":j.value,levels:A.value,scales:t.scales,axes:nt.value,theme:C.value,selections:Rt.value,transition:l.value,"onUpdate:transition":M[0]||(M[0]=q=>l.value=q)},T.value.plot,{"selection-preview":u.value,"onUpdate:selectionPreview":M[1]||(M[1]=q=>u.value=q),"selection-preview-theme":a.value,"onUpdate:selectionPreviewTheme":M[2]||(M[2]=q=>a.value=q),action:Bt.value,clip:t.clip,render:t.render,dpi:t.dpi??96*o.unref(ue),legendTeleport:t.legendTeleport,onSelect:M[3]||(M[3]=(q,D)=>c("select",q,D))}),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(w.value,q=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(q)))),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"]),M[4]||(M[4]=o.createTextVNode()),o.createElementVNode("div",{class:"vvplot-panel-container",style:o.normalizeStyle(F.value)},[f.dom.panel?.length?(o.openBlock(),o.createElementBlock("div",A6,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.dom.panel,q=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(q)))),256))])):o.createCommentVNode("",!0)],4),M[5]||(M[5]=o.createTextVNode()),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList($.value,q=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(q)))),256))],16))}}),al={$_type:"selection",$_props:{}},N6=Object.freeze(Object.defineProperty({__proto__:null,VVAction:d1,VVAxis:Fr,VVAxisBreak:Xr,VVAxisX:Ur,VVAxisY:zr,VVGeom:br,VVGeomBar:vr,VVGeomBlank:wr,VVGeomBoxplot:kr,VVGeomCol:Ar,VVGeomCurve:Nr,VVGeomDensity:Sr,VVGeomEllipse:Er,VVGeomHistogram:Cr,VVGeomLine:Tr,VVGeomLinerange:$r,VVGeomMarkdown:Mr,VVGeomMarkdownsegment:Br,VVGeomPath:Lr,VVGeomPoint:qr,VVGeomPolygon:Or,VVGeomRect:Pr,VVGeomSegment:Vr,VVGeomShape:Dr,VVGeomStick:jr,VVGeomText:Rr,VVGeomTextsegment:Ir,VVGeomTile:Hr,VVGeomViolin:_r,VVPlot:ll,VVSelection:al},Symbol.toStringTag,{value:"Module"}));return lt.VVAction=d1,lt.VVAxis=Fr,lt.VVAxisBreak=Xr,lt.VVAxisX=Ur,lt.VVAxisY=zr,lt.VVGeom=br,lt.VVGeomBar=vr,lt.VVGeomBlank=wr,lt.VVGeomBoxplot=kr,lt.VVGeomCol=Ar,lt.VVGeomCurve=Nr,lt.VVGeomDensity=Sr,lt.VVGeomEllipse=Er,lt.VVGeomHistogram=Cr,lt.VVGeomLine=Tr,lt.VVGeomLinerange=$r,lt.VVGeomMarkdown=Mr,lt.VVGeomMarkdownsegment=Br,lt.VVGeomPath=Lr,lt.VVGeomPoint=qr,lt.VVGeomPolygon=Or,lt.VVGeomRect=Pr,lt.VVGeomSegment=Vr,lt.VVGeomShape=Dr,lt.VVGeomStick=jr,lt.VVGeomText=Rr,lt.VVGeomTextsegment=Ir,lt.VVGeomTile=Hr,lt.VVGeomViolin=_r,lt.VVPlot=ll,lt.VVSelection=al,lt.components=N6,lt.number_cut=os,lt.oob=t9,lt.vvbreak=n1,lt.vvgeom=se,lt.vvlabel=cr,lt.vvscale=is,lt.vvstat=Oi,lt.vvtheme=la,Object.defineProperty(lt,Symbol.toStringTag,{value:"Module"}),lt})({},Vue);